« first day (971 days earlier)      last day (3977 days later) » 

8:00 AM
ahhaahaha @ThiefMaster complete disregaured fpr documentation haah
 
@TrevorRudolph: They didn't have this limitation before. So when they added it silently it caused nice fuckups like the one you see on my site below the menu
 
well then create you're own ajax function and make a like box
 
.. because I can totally re-create the fb widget with custom code ....
 
give it the glam you want then just have it load up the iframe and click or something dodgey like that
 
what is that site about? just curious to know @ThiefMaster
 
8:03 AM
1
Q: CodeIgniter TankAuth ajax forms

TwhylerI am using the lastest version of CodeIgniter and TankAuth and all functions work properly such as login, logout, email and register. Currently when a user needs to login, you are redirected to a separate page, which is, /auth/login. What I am experimenting with is loading the login page in a mo...

 
@Mr_Green: music webzine/radio
and yeah, i'm doing that now.. it still looks a bit ugly when forced into 160 pixels
 
hmm
 
@phenomnomnominal why do you were at the end of everything, over.
 
Copy that @TrevorRudolph, can't quite understand what you said there, over.
 
so you just want to be walky-talky-esque?
 
8:06 AM
Roger that @TrevorRudolph, over.
 
I have to setup a mail server to get off of Google's servers.
This is no longer funny.
 
8:21 AM
@OctavianDamiean Why?
 
yea seriously why?
 
Actually, I'm wondering too
 
@AmaanCheval because of what the US government does. If it would be only an issue for American citizens, well that would be their problem but it is an international issue.
Which of course makes sense, because those companies are US based companies.
 
I don't think there can be anything done about it.
 
Well, hence my plan to migrate to self-hosted solutions.
Even though I have nothing to hide, I don't like the idea that a security apparatus can request access to my account whenever they want.
 
8:31 AM
request access? All I've heard about was watching everything
 
Well, according to Google, they can only request access to the stored data, which they will be immediately granted.
 
oh, it would be worse if they were given the full credentials to any account
Still, I don't trust american government to be a good big brother
but if their motivation is money, they will mostly spy on big companies, not average citisens
 
@JanDvorak between July and December 2012, Twitter was forced to grant the NSA access to over 1200 German citizens.
 
8:49 AM
I so hope that the EU or Russia will decide to give Snowden asylum.
 
user2157210
imprison him.
 
Who the hell let you escape again?
 
yep, problem solved
and we better make punishment on whistleblowers even worse
seriously, that's the only thing that will change after this mess
 
user2157210
He releases classified information.
 
and that's a good thing
 
user2157210
8:52 AM
so the only logic response is to imprison him
 
Bullshit, over.
 
user2157210
i did not say its a bad thing
 
user2157210
but according to law he should be prosecuted
 
the law my ass
 
Whose law? Over
 
8:52 AM
Exactly, let's establish a society where everybody not in agreement with the values of the government will be arrested, and even family members are encouraged to report each other ... wait, didn't we already ... oh wait.
 
american law > the world or what?
 
user2157210
he is american holy shit he broke the law in america
 
what the fuck is all this bullshit? seriously
 
user2157210
so they have the right to imprison him
 
user2157210
sure its a good thing that he has done that
 
8:53 AM
so we imprison the whole nsa?
 
@Nexxpresso but, America breaks basic laws, even yours ...
 
user2157210
Did i ever defend USA
 
user2157210
I am just saying if we want laws to apply for the US
 
@Nexxpresso Yes.
 
user2157210
they will have to apply for snowden
 
8:54 AM
You just did, by saying that someone that did the right thing should be imprisoned.
 
the law isn't a constant, over.
 
You are contradicting yourself.
 
user2157210
I am not
 
You are. Over.
 
It is a set of tools that should be applied to each situation as it happens. Over.
 
user2157210
8:55 AM
I just said that he broke the law so he shall be prosecuted
 
user2157210
because otherwise laws would make no sense .
 
@Nexxpresso No one said they always make sense. Over.
 
user2157210
I think its good that we have whistleblowers but still they break the law
 
Now, think again about what you just said.
Take a moment, sit back, and think about it.
 
user2157210
I said a totally non contradicting sentence
 
8:57 AM
You didn't do what I asked you to do though.
 
user2157210
I support them but there is no way to argue about that they break the law or not
 
user2157210
they do
 
If you break a law to show how bad and broken the people that make those laws are, doesn't that mean that those laws are broken as well?
 
user2157210
I never said they cant be broken
 
user2157210
but they still are laws
 
9:01 AM
Reread my sentence.
 
user2157210
i read it
 
hi! does anyone know wix.com? i would like to know if i can put some javascript in it
 
user2157210
but you cant say that for evey law that gets broken in this premise
 
it allows html but can i insert JS in HTML iframe?
 
user2157210
why dont you try holy shit
 
9:15 AM
@OctavianDamiean I bet Fox-News was calling out to assasinate him again, like they did with Assange
 
Thank god.
 
@YotamOmer Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Thanks @CapricaSix :)
 
Anyone worked on FB OpenGraph or other FB API?
 
adf
 
9:28 AM
@GNi33 Command you're does not exist.
 
fuuuuuu
i suck at using the bot, it's sickening
@Nezam I had to take some steps into this eternal darkness, but I'm far away from being esperienced with it
 
user2157210
!!/help
 
Use `echo`. So it's like this:
!!/tell GNi33 echo fdkjshfdkjsf
 
@GNi33 fdkjshfdkjsf
 
9:32 AM
@GNi33 i just need to know if this is possible or not.Like if i share a particular article from a blog .Can we make a fb app which can track how many shares how many articles got?
!!/echo are you a bot?
 
@Nezam are you a bot?
 
!!/tell Caprica Six help
 
@Nezam Command six does not exist.
 
user1125394
<style type="text/css">
	@import "/static/css/demo.css";
</style>
<link href=/static/css/demo.css" rel="stylesheet">
 
!!/tell CapricaSix help
 
user1125394
9:34 AM
what is the diff? ^^
 
3 mins ago, by Nezam
@GNi33 i just need to know if this is possible or not.Like if i share a particular article from a blog .Can we make a fb app which can track how many shares how many articles got?
@GNi33
 
user1125394
14
Q: @import vs link

LyndaFirst I know the title says this is a duplicate question as asked here, here, and here. Everything I read on this topic is over two years old. A lot has changed in that time period so are the same thoughts still advisable? Here is an example, I use @import inside a stylesheet to bring in my res...

 
user1125394
I'd like a css style to change according to the tag float value <span class=custom>-12.1</span>
 
user1125394
but I'll wait for css4
 
user1125394
9:38 AM
not urgent
 
@GermanK Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@GNi33 Do you know how many levels of context switching you can perform with Handlebars' with block helper?
I'm not sure if there is a limit.
 
!! play or do work
 
@Mr_Green play
 
wow first time :D
 
9:50 AM
@AmaanCheval oh, that command changed? didn't know
@Nezam uhm, really not sure right now, but I think that should be possible, yeah
 
@GNi33 doesn't look like there is a limit.
 
@OctavianDamiean you mean nesting them?
don't think that there's a limit, no. how it affects render-performance though, no clue
hehe, somebody just didn't like my answer or dislikes the DataTables - jQuery-plugin :D
gone are the days with no negative-rep answers
but I should really update that one though
 
At this point I don't care about performance anymore, I just want to finish this project and be done with it ...
 
i know the feel, bro, i know the feel
 
@GNi33 looks possible to me too but i cant get to the point
do you which object one should do to accomplish that?
 
10:10 AM
19
Q: How to get share counts using graph API

Ashish PethkarI can get the share count of an URL using PHP SDK and using the deprecated rest API, but doesn't found a way to get the share counts of an URL using graph API. Is there any way to find out?

?
I can't really help you out on this one, I try to stay away as far away as possible from anything related to FB on the developer side
but it should be possible by just using that link
like that -> http://graph.facebook.com/http://stackoverflow.com
 
can you save the contents of a canvas(if the content is drawn by the user?)
 
@deep yes
 
how?
.value?
 
2
Q: how to save canvas as png image?

sneakyI have a canvas element with a drawing in it, and I want to create a button that when clicked on, it will save the image as a png file. So it should open up the save, open, close dialog box... I do it using this code var canvas = document.getElementById("myCanvas"); window.open(canvas.toDataURL...

.toDataUrl basically returns the content of the canvas as base64 - encoded image
@deep getImageData would work too
 
10:29 AM
the fuck!? I have a runny nose, but why!?
 
@Sagar_Jackey Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@OctavianDamiean because it's rainy season
 
and one more thing, how do i find the mouse's x and y when clicked pon the canvas?
 
@web2students.com Let me guess, you're from India?
 
10:30 AM
+1
 
is there any BOTs on this room
 
@Sagar_Jackey no
 
This is my first time Stack Overflow Chatroom :)
 
yes @OctavianDamiean and that was a joke
@Sagar_Jackey it's chat not chart
 
That's what he said ...
 
10:32 AM
@we
@web2students.com really, show me the chart
 
Good evening room
Any views on iOS 7 yet ?
except of its a fucking ripoff
 
it's Chatroom but r is silent
 
iOS7 ∈ iOS ⊆ Crap
 
@Darkyen Android implemented those features long ago
 
@PrasanthAR Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
10:37 AM
@Sagar_Jackey there are lots of features iOS did before android was even born :P
but when i say its a rip off means ... ANDROID DID IT FIRST!
 
bye all
 
@deep
var x,y;

if(event.offsetX==undefined){
	x = event.pageX - canvas.offset().left;
	y = event.pageY - canvas.offset().top;
}else{
	x = event.offsetX;
	y = event.offsetY;
}
 
i like the new features though
parallax wallpaper :D
airdrop :-> :-> // i think nokia did this age ago (share via blue tooth)
 
I really don't get this argument. It's the oldest play in the book. Technology A was released first, technology B borrows some of technology A's concepts and ideas. It is a natural process.
 
True
but thats so bad (XD)
 
10:39 AM
and then x and y are numbers?
 
ultimately everything starts looking the same
 
> It is a natural process.
 
yep
 
@Darkyen ^
 
me too like that parallax wallpaper
 
10:40 AM
coordinates relative to the canvas - element
 
yeap saw it :-(
anyways octavien hows u day going ?
 
@deep oh boy, i just realized that I used jQuery in there
 
Meh, could be better.
Someone else could do my job allowing me to do what would interest me instead of this bullcrap.
So, a normal day.
 
@gni33 is that bad?
 
i don't know if you use jQuery for your project
 
10:41 AM
but 3D image wallpaper is better
 
otherwise you'd have to find a workaround for .offset()
 
how do i put in jquery ? (havent used it in ages)
 
the if - clause is there to make it work in Firefox, as Firefox doesn't support event.offsetX and event.offsetY (only god and some guys at mozilla know why)
untested, but this could work
var rect = e.target.getBoundingClientRect();
var x = e.offsetX || e.pageX - rect.left - window.scrollX,
    y = e.offsetY || e.pageY - rect.top - window.scrollY;
 
@OctavianDamiean aww
@Sagar_Jackey 3d wallpaper on a 2d screen :-( waste of battery life
 
user2157210
stupid c# ..
 
10:47 AM
1
Q: Pros of start learning programming with Python if what I really want is Javascript?

naxaA friend of mine seeks to learn Javascript programming but he never programmed before. I've found Python as a quite nice language that takes most unneeded "strangeness" out of learning programming while remaining useful. Personally my first language was Pascal and while experimented a little with...

 
@GNi33 I don't remember tell ever working any other way, really. It's always been to run commands but change the user it pings with response
 
hm, yeah, you're probably right
 
@Feeds you will be more confused
 
user2157210
!!/tell $someone echo Hello
 
@$someone Hello
 
10:50 AM
haha
 
@Darkyen Oh, you're such a cutiepie
 
user2157210
code doesnt work motivation at point 0
 
nice, this canvas - thing works brilliant on mobile
was worried about touch-coordinates when zooming in, but that doesn't seem to be any problem at all
 
Someone should just remove Eccelstone ... he ruins the Formula 1.
 
how?
I'd rather remove Red Bull from it
 
11:02 AM
because of the shit he is doing with the tires.
@GNi33 o_O why that?
 
oh, I heard about the tire-problem
but I don't follow F1 too closely
@OctavianDamiean well, they just insta-piss me off, especially Vettel
 
@GNi33 Uh, any reason for that?
 
o/
 
"WOOHHOOO, THANKS GUISE, WE DID IT; YEEEEEH" raises one finger
 
Is that the reason?
 
11:04 AM
@OctavianDamiean mainly because of the history of Austria Salzburg, second because I don't like Vettel, third because I like Ferrari, I guess
but without the first, I wouldn't really care too much I think
haven't touched a single Red Bull - can since 2005
 
the history of Austria Salzburg, care to elaborate?
 
the first article under "Geschichte" basically sums it up
 
Oh, soccer, that's why I didn't hear about it (and why I don't really care too much to be honest).
What they did with a soccer team is their problem, I'm talking about the Formula 1. :)
 
there was a lot more going on around it, including direct insults from the Didi himself, but who cares
yeah, but it made me dislike Red Bull in general
 
I don't care about Didi either.
 
11:09 AM
they just don't fucking care about anything
that doesn't matter in Formula 1, being the sport that it is, but it does in a lot of others
 
The performance of the Formula 1 team is amazing. That's a fact.
 
I wasn't a fan of the company earlier too, because of what they did to skateboarding, but 2005 with the football club, that was enough for me
@OctavianDamiean yeah, good for them
 
I'm a fan of them because of what they do with the mountain biking sport.
 
I've always held some sympathy for Ferrari when it came to F1 though
 
^ same
Mostly because of they won and they were red (my childhood favorite color ) when i was child ... i always want to see them win :xD:
 
11:17 AM
Yea, I've never been like that, not even in the big Ferrari time when Schumacher was still winning titles with them.
 
Schumacher was a legendary driver
he was too stupid to lose all his setup quit and come back :[
to lose all his fame -_-
 
I was a Mika Häkkinen fan.
 
user2157210
argh @rlemon you c# man how can i set a base uri for a webbrowser control without navigating again?
 
@OctavianDamiean u got a place to find sprites ready for use ?
as in i wont have to manually re-arrange them in proper spacing (mono spacing)
I want to demo my engine :[
 
No idea.
 
11:24 AM
@OctavianDamiean this, that guy was a legend
never liked Schumacher that much
and, what was his name, Damon Hill?
@Darkyen there's a tool for that, let me have a look
 
Damn I love the with block helper. :)
 
@rlemon didn't you link to something like that?
 
that wasnt for it
it selected sprites and created css out of them
if i can mono space them out it'd be 10x reduced work for me (XD)
or if they are available at any resource :-)
 
are you sure? I bet there was a tool for game-sprites linked in here some time ago
 
@IvoWetzel by any expereince you know of such resource or tool ?
 
11:30 AM
I still don't understand what that tool should do.
 
OMG men I totally need help. I'm currently trying to find a lightbox jQuery plugin and none is doing the simple thing I want:

A list of image, with a bullet list.
When you click on bullets it changes the current image.
if you click on the image, it opens in a lightbox, with previous/next arrows.
 
@Darkyen you did have a look through the opengameart.org - archive, right?
 
That's a basic lightbox slideshow, I can not find anything that does that
 
yeah
@dievardump COLORBOX
 
There is no samples using bullet points
 
11:33 AM
eh
dear god
just use iScroll with paging
and do it yourself
or use anything and do the bullets urself..
or better yet use some tricky css and do it self :D
 
@dievardump I'm using a combination of the bootstrap - carousel and colorbox for that right now
 
You know that<s usually what I would do
 
easy to customize and set-up pretty fast
 
But no time, and I think it<s crazy to no being able to find somethng that basic
 
@Darkyen deadlines don't like that do it yourself concept.
 
11:34 AM
Being forced to use jQuery is a shame
 
okay give me a miute
 
I usually would do that
No it's ok, carousel will help
 
@Darkyen just for testing? something like that maybe -> forum.unity3d.com/threads/60284-Free-2d-sprite-animations ?
 
I just was not able to find the Carousel name ^^
 
i kinda need chars (XD)
well i will figure out GnII :$
for war thing it requires lots more then i can put it in 1 demo
so this will mostly be a movement demo :D with some fight
 
11:37 AM
try spritecutie.com maybe, but I don't know if it will suffice
or something like pixenapp.com (mac)
 
Hi i'm back
 
hooray
okay, @Darkyen, I'm pretty sure someone in here linked spritesheetpacker.codeplex.com
@OctavianDamiean I love Handlebars in general :)
 
11:53 AM
grrr coffeescript
why doesn't if property isnt in ['callback', 'object'] work.
has to be if property not in ['callback', 'object']
 
@GNi33 i think i broke it
sprite cutie :[
 
:D
@phenomnomnominal what does this compile to? hasOwnProperty ?
 
nah, if (property !== 'callback' && property !== 'object') { ...
 
oh, so in checks the elements of the array?
 
in checks for existence in an array, of is the same as in in JS
 
11:59 AM
makes sense, i guess
 
@PraveenKumar Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
eg, for own key, value of myObject
own adds the hasOwnProperty check
 
meh, i still dislike the coffeescript - syntax
 
There are bits I never want to give up haha
 
time to use my trump card
css stickman
 
12:11 PM
hi
 
@Nexxpresso sorry I winforms
:/
the only web browser controls I have ever considered were webkitdotnet.sourceforge.net
demoed them, they are.... eh
anyone used appjs before?
 
@OctavianDamiean but... but... I'm building my own right now ;_;
 
I'm installing their examples now
looks kinda cool
 
it looks interesting
 
12:34 PM
@GNi33 better stop then.
 
no, it's quite different anyhow, and it's a fun project to learn node and get into WebRTC
 
In that case you have the permission to proceed.
 
"AppJS Requires Node.js V 0.8"
 
and it's pre-pre-pre - alpha, still a lot to do, still a lot to learn ;)
at least the chat is starting to get in some sort of shape
planning to add a lot of the features that this chat here seems to lack
but i know myself, it's probably going to land on the "never finished" - pile of stuff in some time :(
 
@rlemon ogg works for me
 
12:39 PM
@RyanKinal we determined Shmiddty's issue was that the hangouts plugin fucked his audio
 
Only problem I saw with app.js is everything is still open
it irritates me
 
only problem I am having with it is it doesn't use the latest node
 
@rlemon Oh, interesting
 
if I give out a desktop app they shouldnt be able to get at all me codes so easily
 
@rlemon what? it demands 0.8 ?
 
12:40 PM
yes
var platform = process.platform,
    arch     = process.arch,
    version  = parseFloat(process.version.slice(1));

if (version < 0.8) {
  throw new Error("AppJS requires Node.js v0.8");
}
// bindings.js
 
@zirak I think I've found a way to DoS the bot
 
@LewisNorton Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
yup
 
oh my god
seriously?
 
12:42 PM
Anyone familiar with Django?
 
simply commenting it out doesn't work either.
 
set the version-variable to 0.8 ?
 
if you want true desktop apps using web technologies, use QT
 
hm?
 
12:44 PM
also , doesn't work on node 64 bit
wtf?
 
@rlemon they changed this though -> github.com/appjs/appjs/blob/master/lib/bindings.js#L8
@rlemon yeah, that's a chrome or v8 - problem on mac
 
Hey Everyone!
 
i need to execute below script only when i press a button.
<script src="https://www.abcdapis.com/name1/s6/files?q=final+destination&callback=handleResponse"></script>

How can i do that??
 
@FathahRehmanP if that script tag is in the document, it will be executed before you can do anything about it
you should modify the source file to define a function that you call
 
or embed it when the button is clicked
 
12:58 PM
or perhaps not store your callbacks as separate files, but rather inside the main script
 
@JanDvorak - its an api provided by a site (i changed site name). Here is what i want ... i'll enter some string in a text field. And when i press a button need to execute that scipt using the entered text
 

« first day (971 days earlier)      last day (3977 days later) »