« first day (2083 days earlier)      last day (2868 days later) » 

8:00 PM
lol what a joke of an IQ test
Try and beat me, no cheating!
 
Every IQ test I've ever taken gave me an IQ between 140 and 150
lol i searched my gmail and found three results from iqtest.com
146, 144, and 145
 
Hey guys, I have the latest node version (6.2.2) installed on my CentOS Server, but it can't handle back-ticks. Even with --harmony. The same Script works on Windows.
 
what should I do to unfollow 200 Arabs on twitter?
 
@BenjaminGruenbaum Aye
 
Post a picture of muhammed
 
8:04 PM
node -v
 
@BenjaminGruenbaum Because I wasn't there when the picture was taken
 
@KevinB v6.2.2
 
@ChristophBühler is it a path?
 
No idea then. I have 4.4 up atm, and it handles them just fine
 
8:06 PM
@bitten yes, it is
 
@littlepootis No
It's not a parody, nor is it a way to tell if people are qualified
 
@KevinB oh ok, thanks though
 
It's a way to attract people and pique their interest
 
@ChristophBühler Type node without any arguments to enter the REPL
Then type `foo`
What do you get?
 
8:07 PM
@Greg :))
 
@bitten yes :O
 
var _p = require('path'); _p.normalize('some/dir/somefile.somewhere');
does it look kinda like that?
 
@bitten return require(path.join(__dirname, `${task}.js`))(gulp, plugins, configuration);
You can't see the back-ticks for some reason.
 
log out path.join(__dirname, ${task}.js), what does it print?
 
8:10 PM
I don't think you understand what path.join does very well - review it.
 
@ChristophBühler FTFY
 
Module names are not OS sensitive.
Doing require("a\\b") on windows might not work.
 
You're better off doing require("a/b") which is a correct module path, module paths are always in unix-like format
 
@BenjaminGruenbaum not my code.. I don't understand many of these things ^^
 
3 mins ago, by Benjamin Gruenbaum
user image
 
@BenjaminGruenbaum I tried 161, but they stopped after 160 :(
 
IQ test is bogus
@FlorianMargaine I actually did get "your IQ is 160+" but I knew most of the questions already
 
@BenjaminGruenbaum it means you are good at tests
 
 
8:12 PM
They're all these terrible facebook questions your uncles share
 
Online IQ tests are all terrible
 
is anyone good at sending data to the url, because history.js doesn't seem to do what i want it to :'(
 
btw the free-iqtest.net is from the nsa
 
@Greg Respect. You should program haskell
 
if you got above 150 you're on a list
 
8:12 PM
@acoder yup
 
@ChristophBühler Didnt you know, i wrote haskell.
 
@acoder what's "sending data to the url"?
lol, why do all these sites have 500 errors
 
@BenjaminGruenbaum sending data to the url bar of the web browser, with only requesting what you need and nothing else
 
@acoder like window.pushState(data, title, url) ?
 
8:15 PM
like "?data1=1&data2=2"
 
@acoder Can you describe what you want to happen?
Like "I have X, then Y happens, then I have Z"
 
@acoder you want to read data from the url or you want to set the url to something with that data?
 
WELL ARENT YOU ALL SMART LITTLE SPECIAL FLOWERS
 
Well that's terrifying
 
8:17 PM
@SterlingArcher Play Undertale :D
All the way through, don't read about it, don't watch anything about it
Just play it. Trust me.
 
17 mins ago, by Sterling Archer
Try and beat me, no cheating!
gg
 
@BenjaminGruenbaum github.com/Jquery-PJAX/PJAX/blob/master/engine.js updates the url
 
youtube.com/watch?v=S8yvnG0yqnY Sends chills down my spine. Like a good OST should. (GoT E10 spoilers, for those of you who haven't watched it yet)
 
@VeronicaDeane best random channel ever youtube.com/…
"tonight at 11"
 
I fucking can't wait until 11
 
8:21 PM
I mean just the stuff after the ?
 
@acoder pushstate can change that.
 
wait what? Woody Allen is dating his ex's kid?
 
pushstate only changes the url history?
 
omg @SterlingArcher youtube.com/…
 
the ?foo=bar portion is also the url.
pushstate changes the history, and can also change the url.
 
8:24 PM
aww
 
@VeronicaDeane found your lunch spot i.imgur.com/qcivIVL.png
 
deleted because fucking flags don't have context
 
Bukkake is originally a slang term. In this context it just means to splash sauce on the noodles.
all of this is available on the wiki page :D
> Bukkake is the noun form of the Japanese verb bukkakeru (ぶっ掛ける, to dash or sprinkle water),[8] and means "to dash", "splash", or "heavy splash"
 
suddenly it becomes splashing sauce with the noodles
 
Folks, I have an array with arrays, like [ [0, 1], [5, 5] ]. Checking myArray.indexOf([0, 1]) doesn't work because it references a different object? What would be the most efficient to check if it's in the array?
 
8:32 PM
.some the outer array and compare the inner arrays
 
I considered myArray.find(i => String(i) === String([0, 1])) but I'm not sure if that's the most performant (which is an issue here)
yeah, the comparing is what I wonder would be best
 
if you need order, be cheap and tostring like you are :D
but don't tell anyone I told you
 
Aight.
I'm considering a Map instead, order isn't of utmost importance
 
use a map then
also you can compare index's in order instead of the string and exit on the first fail.
depending on the size of the array, the string conversion could be slow
 
8:34 PM
(if they are always two values, that point is moot)
 
@rlemon is it cheaper to compare strings then?
since jsperf died i am out of touch
 
oh they are always 2 values, coordinates
 
;_:
 
I would guess comparing strings is faster when only having two values in the inner arrays, but slower when you have to convert a crazy large one
vs, just returning on the first failure
 
why does everyone show push state before the data element, and not after?
 
8:35 PM
"everyone"?
 
all the videos i've seen so far
 
a.some( b => {
  for( let i = 0; i < b.length; i++ ) {
    if( b[i] !== poop[i] ) return false;
  }
  return true;
}
@StephanMuller ^
 
Ah, right. Well a is potentially large but b is always 2. But I think I'm sticking with Map, it makes it a bit more hassle because the index will have to be String([0, 1]) anyway so I have to convert back and forth sometimes
 
but do you really have keys? I thought it was an array
 
If only this was Haskell
 
8:39 PM
A map has keys, I mean to store the many coordinates in a map, but each will need a key
Yeah or Python :P
 
but do the keys at that point have meaning? or are you just using them so you don't have to loop an array?
 
Muller are you interested in the intersection or just if it contains those elements?
 
Should I give a presentation to a javascript group on this:
http://image.slidesharecdn.com/ccodingstandardsgoodprogrammingprinciplesrefactoring-131011122655-phpapp01/95/c-coding-standards-good-programming-principles-refactoring-7-638.jpg?cb=1381494522
 
I'll still need the key to check if it's in the Map. myMap.has([0, 1]) won't work, has` needs the index and if it's an array then the same problem occurs with object reference
 
var intersection = list.filter( function(element) { return list2.indexOf(element) > -1; });
 
8:41 PM
isPresent = (coords) => Map.has(String(coords)); isPresent([0, 1])
 
@Greg element is another array
 
ah ooops
 
he has a 2d array he wants to check inner array values for equality against a needle.
 
I should read questions better
 
@BenjaminGruenbaum This is the console error: imgur.com/ylzEil5
 
8:49 PM
comparing using indexes instead of strings is like 40x faster
Err use the second one
 
nice
Map is almost exactly as fast as comparing the indexes
Which means I'd rather use your method because it saves conversion trouble
 
that's not even funny and I laughed
 
9:08 PM
Thanks for the help Greg
 
np
 
lol
 
has anyone here used js-beautify with es6 module imports without it adding a newline after { characters?
the fixes described here aren't working for me
 
!!afk Time to go bleed for money.
 
@Abhishrek Did you ever end up deciding on a book to read? :P
 
9:16 PM
@SomeGuy
 
oh my god lol
the thumbs up
I'm over it
 
Sterling archer sometimes i think yo are still in college based on your posts
maybe even high school
 
@William He's just on Reddit / Imgur often, that's all :p
@Abhishrek I'll take that as a no
 
Yes
:D
 
Bruh I'm 24. I still look forward to getting so shitfaced there's a chance I literally shit myself
 
9:24 PM
I bought a FEW
 
Ooh, which ones?
 
started with this one
Finally bought Prince suggested a long time ago by Teresko I started reading it from pdf (viva la Google) but now kindled it :P
 
have you finished memory man
 
@Abhishrek Machiavelli? Nice, I've been meaning to get around to that too
 
I'll buy more from the ones you suggested
and one which Filip Did
sorry setting up my mac , that means tons of downloads :-(
 
9:29 PM
Haha, sure
 
guys
I am writing an account settings page for my website.
 
@SterlingArcher the mac and cheese
lol
 
I want to have panels that lie in an inactive state in which they display some form of the current user data. When the user clicks them, an in-place editor is rendered and then the typical "save" and "discard" button.
How should I manage the state of the <AccountSettings /> component?
 
@SterlingArcher (ಠ_ಠ)
 
the dog 1
 
9:40 PM
> He blames it on morning wood in restrictive underwear as a child.
lmao
 
hmm
haven't checked out any of the code yet, just read the readme and looked at the benchmarks and the todo example
looks interesting.
 
boomerang dicks XD
lost it
 
@rlemon shouldn't the shorter bar be better. Whoever designed this did it backwards to what I would have done
 
only if showing total time
he's showing ops/second. read the graph
 
nevermind that makes sens
 
9:45 PM
Hey Webs good luck in Montreal thanks for leaving our division! #relief
That's the nicest "thanks for leaving" I've ever heard.
 
for fuck sake
I should just start dumping links to my answer on reddit or something
 
?
 
I have never got anything better than "Announcer" badge (25 clicks)
 
ohh yea then do it
probably won't bring any votes, but you'll see a few hundred hits maybe
@FlorianMargaine posted a link to my lorempizza on reddit, it got like 100 or so upvotes I think on reddit, I got 10,000+ impressions that day on my site
 
10:03 PM
I did?
 
Yes I would like to see such post.
I would like to hit 10k rep without answering more questions preferably.
 
@FlorianMargaine pretty sure it was you
it was years ago
 
@William too bad you'd get capped long before that on such a post, :p
 
@FlorianMargaine found it! 208 points
noice
 
well if all my posts hit a bunch of upvotes I think it would be possible
link?
 
I thought you meant so rep reddit rep is silly
 
my highest upvoted on SO is 310
 
@FlorianMargaine Haha, I love that you managed to drag Lisp into it
My highest is 200ish because I added a helpful GIF
 
~SomeGuy about to say the same thing about lisp
285 on a node question
 
@SomeGuy noice
 
10:21 PM
I find it silly that my question I believe is the oldest on the site but doesn't receive the top upvotes
 
@FlorianMargaine showoff
who did that
 
10:44 PM
THE PLOT THICKENS
 
isn't there a history
i don't have enough rep
 
But you can't see that
 
can anyone?
 
Yeah
 
who?
 
10:45 PM
I can
 
it must have been you then!!
that is why you are not sharing who did it
 
@FlorianMargaine How are you up so late?
Also, how's the kid?
 
@BenjaminGruenbaum Reading Kyle Simpson's book on Asynchronous Javascript - just came across a shoutout to you :P
@SomeGuy We meet again.
 
@monners So we do.
 
After work JS chat is slow
 
11:01 PM
Kerbal Space Program is coming to @Xbox One and @PlayStation 4 in July! Full story: http://forum.kerbalspaceprogram.com/index.php?/developerarticles.html/kerbal-space-program-to-hit-xbox-one-and-playstation-4-in-july-r197/ https://t.co/TnodklWAqr
 
@SterlingArcher You're tellin' me! I live in Australia, so it's slow pretty much all day when I'm at work.
 
11:21 PM
I was wondering whats wrong
until I noticed I am doing
php server.py
to run a python file :-|
 
._____________________. y tho
 
I always run my php scripts by uploading them to my shared server and then refreshing the page
None of that command line garbage
 
ok wtf why are there just random fucking spikes of signal when the thing hasn't moved all day. 4 minutes of data I literally can't explain -_-
driving me bonkers
 
@VeronicaDeane Oh man, i hope they fixed the bugs for that haha
 
11:50 PM
@Abhishrek that reminds of me what happened last week when my friend asked me why their site wasnt working and they had a php file which was actually jquery
 
lol
I am so darn tired :-/
 
furthermore the file wasnt included in their html page
aww
long day i guess?
 
JS room is slow...
 

« first day (2083 days earlier)      last day (2868 days later) »