« first day (1525 days earlier)      last day (3413 days later) » 

11:00 PM
meh, I'll get to it. Eventually.
 
cool.
which reminds me, I should give ddg a try for a week.
 
You'll pry Google out of my cold, dead hands.
 
@AwalGarg Learning purposses
 
@Frondor ok
@SomeKittens I am just wondering what kind of search results it gives, compared to google (which probably knows more about me then myself)
 
First of all, I was never kicked.
Second, don't worry about "rude" people on this chat, better worry about useless people, "trolls" that simply "chats" and get fun of noobs, just because they have nothing else to do.
 
crl
11:08 PM
r = {};
["find","insert","remove"].forEach(function(i){
	r[i] = new Function ('data', 'cb', 'data+cb+i'); //for test
})
r.find("a", "b") //  Uncaught ReferenceError: i is not defined
 
@AwalGarg They're ok. Google's incredibly smart about search.
 
crl
@Zirak little problem^
 
Nononononononono
 
@crl You don't need to use new Function
 
r[i] = function (...) { ... }
 
11:08 PM
r[i] = function (a) { bob(a); };
 
crl
ok
 
fine, Zirak beat me to it
 
You want me to beat you to it? Why does that sound vaguely sexual?
 
@Zirak To Sydney, to be precise.
 
One day, the css autocomplete in dev-tools showed something that I wasn't aware of. And typing the first letter for that thing in the url-cum-search bar gave the first result for that css rule.
I expected the a from align-self to come up with something amazon... but no.
 
no one likes you
 
I assumed he was talking to Frondor
because that guy is begging for an attitude adjustment
 
He's boring, that's what
 
11:27 PM
@BenjaminGruenbaum L10 :O
 
My answer is wrong
That one I wrote works, but it sucks.
 
user1648409
Hm, can anybody give me a hint why JSON.parse() adds an extra blank at the start of a string? ...
 
@Shiuyin JSON.parse wouldn't do that
 
@Shiuyin fiddle?
 
JSON.parse loves you
JSON.parse would never hurt you
 
11:30 PM
or a session at jsh.zirak.me
 
It feels like implementing then again :S
Why am I so shit at promises :S
 
user1648409
 
You're not shit
Everybody is special ♥
 
even me?
 
@Shiuyin Guess: You have invisible whitespace at the beginning (like zwnj)
 
11:34 PM
Why is pastebin returning empty html for me? :(
 
@rlemon You're only special because you're the only one who isn't.
 
but you still love me right?
 
user1648409
@Zirak: I have invisible whitespaces at the start of the string before json.parse()? But console.log() tells me there is no whitespace in front?
 
Still bad, but better: jsfiddle.net/n8pLdu3u
 
11:35 PM
@Shiuyin Hence invisible
Check your string at the proper offsets
ah, every time I boot into windows I'm reminded why I try not to...no UAC, I don't want to run the Java auto-updater.
 
plz halp
boss wants results, urgent
plz kind sir
 
user1648409
@Zirak
 
user1648409
@Zirak: But console.log() would output a whitespace? o,o
 
INVISIBLE
 
@Zirak ahahahaha
lol
 
11:37 PM
think unicode character that you cannot see.
 
@BenjaminGruenbaum Have you tried turning jquery on and off?
 
I have
I even included both jQuery and jQuery.min in page
 
You install jquery Ultimate Edition 2016?
3
SP4?
 
@BenjaminGruenbaum unfortunately I have no answer for you, so I won't bother, because I'm not smart enough to figure it out anyways.
 
@Zirak link?
@Zirak link to installer?
 
11:40 PM
@AwalGarg $5,000 licensing fee first.
 
@Zirak @BenjaminGruenbaum youtube.com/watch?v=vGCIGEUB32M need help. please advise.
 
@AwalGarg goo.gl/0hBK09
 
@Zirak Is actually SP5 now
They updated twice today
 
@BenjaminGruenbaum What kind of mess did you make?
 
@rlemon remove the shag rug
 
11:42 PM
Oh I see
 
@Zirak I need an action to fire up to N times every X seconds
var bounced = debounce(mockRequest, 5000, 5);
for (var i = 0; i < 20; i++) bounced();
Fires 5 requests every 5000 ms
 
Anyone up for hangouts tonight? I would go play hockey, but I don't want to open source my cold.
 
Hmm, I think just a menu-ish class to apply an uls would be a better option.
The spec really sucks.
 
That whole busy thing seems off
 
@BenjaminGruenbaum The way you use working is reaalllyyy hackish
 
11:44 PM
This is updated btw: jsfiddle.net/jk7fn6qk
But yeah, it feels reallllly hackish
 
free should just check length
 
How would that work?
 
owait, you did a double flip there
Could still check length
 
Better already
 
11:47 PM
If I could get rid of busy that'd be great
 
user1648409
@Zirak: I looked into that and on server side there is no invisible whitespace added. i converted the whole string to bytes and looked at the printed bytes..
 
Look at it on the client. You know the offset in the string to look for it, just log str[suspiciousOffset].
 
@Zirak BTW in case you care - what we're actually doing here is implementing a monitor using a semaphore.
 
yeah, or just exec a regex matching all whitespaces...
 
that's bloody simple
\s
 
11:51 PM
^^^
 
Does that also catch zwnj and friends?
 
@AwalGarg talk about fixing the symptom and not the cause.
 
@BenjaminGruenbaum busy and working are really similar
 
@HatterisMad I found this ad for ya. ;) ducks
 
inorite?
 
user1648409
11:52 PM
@Zirak: console.log(e.data.charAt(341) gives the starting " of the data String and console.log(e.data.charAt(342) gives the t - the first char of the string. there is no whitespace?
 
@phenomnomnominal ? context?
 
Good, then I was wrong
 
@AwalGarg maybe the context is the message that I replied to.
 
user1648409
@Zirak then the extra blank is added by the JSON.parse() !
 
Naahh
I've looked at the code for JSON.parse, nowwhere is there "add a blank to fuck with @Shiuyin"
 
11:54 PM
@Shiuyin Can you please make a fiddle? I am curious, and I can't access pastebin for some reason :/
 
Actually, it's at the ES5 spec
 
user1648409
will do
 
user1648409
brb
 
@BenjaminGruenbaum So whenever busy increments, so does working, same for decrement
 
The number of stars on that thing is ridiculous.
 
11:55 PM
Why do you need busy?
You don't need busy
 
@Zirak I need to start the 'work'ers
Show me
 
@BenjaminGruenbaum jsfiddle.net/pp8k0x1k/1
 
user1648409
@AwalGarg jsfiddle.net/2bc4bu3h i just copied the code there ...
 
busy was called in work, which was executed after you did something, so it happened to also reflect how many aren't working. But you already have that count.
Plus now you have if (working < count) work(); which is kinda cool
 

« first day (1525 days earlier)      last day (3413 days later) »