« first day (1039 days earlier)      last day (3912 days later) » 

8:01 PM
@Pinocchio why can you not just have divs in between the blue divs? and a click handler for blue divs, and another for inbetween divs?
 
from parent window
childwindow.addEventListener('load',function(e){
  /* This shouldn't get clean when the childwindow changes location should it */
});
 
I had no idea that promises made it into the specification
 
@BenjaminGruenbaum o/
 
@BenjaminGruenbaum cool
 
@GraemeMcLean 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.
 
8:02 PM
@phenomnomnominal because that would mean there would probably be more of those divs on the page than actual elements and those divs would have to have some height for me to know they're there and that would break the website.
 
And it's already in Chrome :O
 
@Esailija Nearly done gist.github.com/BonsaiDen/6286492
just needs to figure out foo.bar = foo.blub = function() {} now
 
@Pinocchio do they not have a height already?
 
good night
 
8:03 PM
@IvoWetzel also should be an option that doesn't report anything that starts with underscore probably
 
@phenomnomnominal I'm talking about the divs in between the blue divs, they would have to have some height to be clicked on
 
this stage really just collects everything it finds, there's the "generator" stage which filters stuff and spits out data for use in templates
 
@BenjaminGruenbaum why is there puns in the spec :D
 
that one should strip them or just not render them in the template
 
Yeah, I saw :) Guess they like having fun too
 
8:04 PM
Yeah, and because we can see that there is space inbetween them, why can't they just be divs instead of margin?
 
@IvoWetzel yea probably a better idea to do it that level
 
@phenomnomnominal because there may not be any space there, because it being a website builder i wouldn't know what content there is.
 
> Web MIDI will introduce MIDIAccessPromise tentatively.
Amazing
@Pinocchio then how are you going to know if it's between in the first place?
This doesn't sounds like a programming problem, its a UI problem.
 
15
A: NodeJS and HTTP Client - Are cookies supported?

isaacsShort answer: no. And it's not so great. I implemented this as part of npm so that I could download tarballs from github. Here's the code that does that: https://github.com/isaacs/npm/blob/master/lib/utils/fetch.js#L96-100 var cookie = get(response.headers, "Set-Cookie") if (cookie) { cooki...

Did you see this?
I totally missed this one.
 
@phenomnomnominal That's what I'm doing now. I'm going to loop through the elements inside a mousemove, and store all of the positions then loop through the positions and get the closest position to the event.pageY and determine weather it needs to go before or after the element.
 
8:08 PM
As of July 6th it should be supported by default in Request!
 
@Pinocchio that sounds absolutely fucking awful
 
@phenomnomnominal Yeah. Spotted dick does too
 
Good luck
 
> Just get cookies from Set-Cookie param in response headers and send them back with future requests. Should not be hard.
lols
 
from your CV:

> EDUCATION
> Dropout and self education – 2001 – 2013
> Internet

<33333333
@IvoWetzel you left Zynga?
 
8:10 PM
@SimonSarris Well, I "was left"
they closed down the office at the beginning of june, by now pretty much all of the good tech folks are gone
 
"was let go" is what we say
I figured it may be something like that, they seem to be on a death march
 
@OctavianDamiean Wasn't cookie handling in request for some time now?
 
they got rid of their core tech group in a focus to move even more into mobile
 
Mafia Wars was awesome
 
@SimonSarris I ordered your book 2 months ago, Amazon fucking suck
 
8:11 PM
@Zirak DON'T TELL ME YOU KNEW ABOUT THIS!
 
And the problem isn't just the cookies. It's in the redirections and getting the right OpenID stuff from SE
 
DELIVERY ESTIMATE: MONDAY, SEPTEMBER 9, 2013 BY 8:00PM
 
and tbh. 95% of the mobile guys have no clue what they're doing, there are only a handful of really talented engineers
 
@Zirak Welp, I thought it was just the cookies.
 
@phenomnomnominal fffffffff cancel order, give me your address and I will mail you one
@phenomnomnominal ONE SIGNED
 
8:12 PM
Already shipped dammit
 
at the same time I mail one to @Darkyen
ah well
 
I take it!
 
I'm pretty sure they don't know where New Zealand is
 
well from the photos it looks too pretty and nice-weathered to exist
at least from my new englander perspective
 
Haha yeah, minus all the earthquakes.
 
8:14 PM
sowee @SimonSarris safari on iOS 7 is kind of bitchy :P
 
ah yes nothing bad happens to new england
 
which reminds me...
 
no natural disasters, no animals that can kill you
 
@phenomnomnominal you had an iOS 7 device right ?
 
@Darkyen sure do
 
8:14 PM
test this :D
 
tap on the result area
and then goto app switching view
and then back in... if it fires the blur event ... dance :D
 
didn't fire for me
 
:'( crap still no way to detect if window lost focus
 
8:17 PM
@phenomnomnominal wan't to see a demo?
 
@IvoWetzel is it possible to recgonize it as alias rather?
 
fuck u apple, my iOS cant browse internet when i share it off my computer
 
@Darkyen why do you even want that?
@Pinocchio nah, i gotta get ready for work
 
Thanks for the code! Fixed a lot of bugs and added many new detectors, there are still some outstanding edge cases (like indirect assignments to the function itself function Foo() {} foo =Foo; foo.staticMethod = ...) but for now it works fine.
 
@phenomnomnominal to emulate phonegap's pause
 
8:18 PM
and where are parameter types and comments
 
kk
 
D
 
you can quickly push all ur current state requirements to localstorage
and stop audio if u are playing :P
 
@Esailija Hm, good question. Right now it treats every assignment expression on it's own. I don't have JSDoc parsing in there just yet
 
so if iOS decides to kill the app to save resources / or make it dead you can restore
 
8:19 PM
Only Mia's own custom format (since I had "invented" that for the physics engine thing)
 
does beforeunload get fired?
 
(that's really were Mia comes from, from a bunch of grunt helper methods :D )
 
nope
 
:P
 
try it :P blur is the most common one getting fired for a tab/browser going in background
except for HTML5 Page visiblity api, really doubtful if apple will implement that properly
 
8:20 PM
requestAnimationFrames won't get fired? I wonder if you could hack that
 
nope
the application stops execution you cant set timeout with requestAnimationFrame
and use that :P
 
window.requestAnimFrame = (function(){
  return  window.requestAnimationFrame       ||
          window.webkitRequestAnimationFrame ||
          window.mozRequestAnimationFrame    ||
          function( callback ){
            window.setTimeout(callback, 1000 / 60);
          };
})();
oh.. guess that was pointless
 
for @SomeGuy i spent like 10 hours trying to find something for this shit.. turns out iOS was a bitch
and turns out apple developers are idiots :-(
anyways good night , if you find something ping me ... PS things might change for apple-web-app
 
iOS is awful when it comes to html
 
@AravindR 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.
 
8:23 PM
any version before iOS 5 doesn't support function.prototype.bind
iPad needs all elements to have "-webkit-transform: translate3d(0, 0, 0);" or else they don't render half of the time
 
wat
 
32
Q: iPad Safari scrolling causes HTML elements to disappear and reappear with a delay

codeBearerI'm currently developing a web app using html5 and jQuery for iPad Safari. I'm running into a problem wherein large scroll areas cause the elements that are offscreen to appear after a delay when I scroll down to them. What I mean by that is, if I have a row of images (or even a div with a gradi...

> [3] Function.prototype.bind is now supported in Safari 5.1.4
 
@BenjaminGruenbaum it just occurred to me that you can do crazy optimization for 99.999999% of requests
if there is more than 2 characters, then it means there is at least 4 bytes in the string
 
@Darkyen does something like this not work?
 
just reintrepret those 4 bytes in a 32 bit integer and check the value that corresponds to "GET" or "POST"
 
8:32 PM
My Sublime <3
 
!!> new Uint32Array( new Uint8Array("GET\0".split("").map(function(v){return v.charCodeAt(0)})).buffer ) [0];
 
@Esailija 5522759
 
doing that at C level is basically free
so you check against the magic number for GET
 
But that depends on the endianness?
 
and for POST
@copy the magic nubmers will be defined according to endianess
so there is no cost for that either at C level
since you know the architecture statically
 
8:35 PM
Keep it simple and stupid
 
IT IS FUCKING SIMPLE
 
Well, node devs failed at that already
 
@Esailija Patch and push, sounds cool
 
!!> new Uint32Array( new Uint8Array("POST\0".split("").map(function(v){return v.charCodeAt(0)})).buffer ) [0];
 
@Esailija "Error: invalid arguments"
 
8:40 PM
how can it be
oh lol UInt32Array must have % 4 on the underlying buffer
 
!!refresh
 
@Zirak No!
 
Yes, my darling.
 
@Darkyen Here you go, works on iOS 7, and probably most other things: jsfiddle.net/bvhfU/4
 
m59
8:56 PM
@RyanKinal I have and it is pro as heck =D
0
A: Can I store javascript in a Local Storage Object and run it?

m59While using eval(myScript) is the most direct approach, I prefer this: var script = document.createElement('script'); script.src = 'data:text/javascript,' + encodeURI(myScript); script.onload = function() { //optional callback }; document.body.appendChild(script); This is inserting an actual...

sigh, maybe this one. Just maybe.
 
@Esailija accept me on facebook :(
 
m59
YESSSSSSSSSSSS
rep
 
wtf @m59 I thought you had more rep than that
 
m59
How would I get any? lol
 
@BadgerGirl ok :P
 
9:07 PM
you just have to refresh the front page constantly and answer a question as fast as possible
 
m59
Yeah, someone always beats me.
 
The key is to post just the code, and maybe a fiddle link
no explanation
 
m59
Or, I answer like a boss and get no vote.
 
then edit it and add the explanation
Thats probably against the spirit of SO, but the fastest gun rule still applies
 
m59
I got lucky on that one because NO ONE knows about data uri's.
=D
 
9:08 PM
@BadgerGirl wanna talk? I haz TeamSpeak 3 server.
There's someone from this chat room online as well.
 
@OctavianDamiean No, I could just call Zirak.
Plus I'm at work.
 
It's not Zirak.
 
Darkyen?
 
Who is it?
 
9:10 PM
Not gonna tell. :D
 
I MUST KNOW. Fuck work.
 
Wait, it's not my boss... is it?
 
Uhm, no.
Why would I be on TS with your boss? O_o
TS Host: mainerror.com
 
I don't know, to tell him bad stuff about me?
 
9:12 PM
lolwat
Nah.
 
m59
@Loktar thanks for that vote (if that was you) :)
 
@BadgerGirl I heard you poop. That's gross.
 
@Shmiddty Did copy tell you? o_o
 
A journalist always protects his source.
 
Nonsense. Girls don't poop.
 
9:16 PM
They produce rainbows and glitter.
 
Just like unicorns.
 
Exactly, and kittens and flowers.
 
...you produce kittens?
 
Yes.
 
I gotta tell you though, my kittens poop quite a lot.
 
Hey quick question. Does anybody know of a bug that would cause dynamic content to load differently in IE when the page is reached from the url bar and pressing "enter" compared to refreshing the page?
 
@OctavianDamiean So if you poop kittens, and your kittens poop, then your poop poops?
 
@BadgerGirl Are you saying that you poop kittens?
 
That's exactly what I said.
 
@Zirak Everyone's gotta poop, even poop.
@BadgerGirl In that case, you're quite weird.
 
9:22 PM
You spelled cute wrong.
 
@Esailija Does the (code-) size of a function affect optimization or was that only about inlining?
 
the physical size (including comments) affects inlining only and in v8 only
 
!!Erlang or Node.js
 
@OctavianDamiean Node.js
 
not optimizations
 
9:24 PM
Erlang
@Esailija Alright, thanks
 
m59
Does anyone know how to set this up in windows 7 cmd prompt: program wants to save to this/path but when tries, it actually saves to /that/other/path instead
 
e
 
m59
I think I need a sym link, but haven't figured out how that works.
 
m59
@OctavianDamiean Are you experienced with it? I tried that and it acted like nothing was different.
 
9:27 PM
@user2433059 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.
 
@m59 Yea because I'm a douche.
 
m59
lollzzz what?
 
@CapricaSix hi, just testing how things are working here :)
 
@user2433059 How old are you sweety?
 
doesn't matter, does it?
 
9:30 PM
@user2433059 It matters to me ;)
 
m59
@OctavianDamiean correction, I used mklink. These docs make even less sense :)
C:\Windows\system32>mkdir "..\..\xampp_tmp"
A subdirectory or file ..\..\xampp_tmp already exists.

C:\Windows\system32>mklink /D "Programs\xampp-portable\tmp" "..\..\xampp_tmp"
The system cannot find the path specified.
@OctavianDamiean
no sense made.
Windows: so yeah....that folder exists, but we really just can't find it. GL HF.
 
@m59 Are you sure you got the parameter order right?
!!ln
 
@Zirak ln target link_name
 
It might be backwards on mklink
 
@Zirak your takes on data mining our personalities to make TV sitcom characters.
 
9:45 PM
should be a synonym for ?
 
@rlemon uh, 7?
 
Tl;Dr if you make a personality profiler I will scrape conversations and try to adapt then to a screenplay
 
An NTFS symbolic link (symlink) is a filesystem object in the NTFS filesystem that points to another filesystem object. The object being pointed to is called the target. Symbolic links should be transparent to users; the links appear as normal files or directories, and can be acted upon by the user or application in exactly the same manner. Symbolic links are designed to aid in migration and application compatibility with POSIX operating systems, and were introduced with the modifications made to the NTFS file system with Windows Vista. Unlike an NTFS junction point (available since Window...
mklink [[/D] | [/H] | [/J]] linkName target
 
really don't see the point .. and embedded-v8 has even 21 followers and no wiki
 
@Neal Yes, I can google too: technet.microsoft.com/en-us/library/cc753194.aspx but it's his job to find it.
 
9:46 PM
@Zirak but but but but....
 
fail
 
Somebody here (I'm sorry that I no longer know who it was) wanted to keep him up to date on my application for that position at Mozilla, well there's an update. They don't speak much, just a quick auto response with "no fit".
 
is IE10 only on Windows 8?
 
@jbolanos Yes, but there's a beta for 7 AFAIK.
 
I think I'm not going to support it - just out of spite
 
9:50 PM
IE 10 isn't a bad browser.
 
@IvoWetzel sorry to hear, what position
 
too bad Microsoft's failure to make it backwards compatible with older OSs keeps its market share low
 
@Esailija JS Prototyping stuff
 
I want to match all control characters (\s+) except whitespaces. Is this possible?
 
Ivo that sucks.
@Jbloanos yes it would be nice on 7.
 
9:53 PM
well, can't change it, guess I'll start another round of applications tomorrow, haven't heard back from the other 3 either
 
@rlemon You want a decision tree, mapping something to characters?
The "something" part is a bit important
 
@Zirak more of a sitcom personality tree. find the typical sitcom character personalities (dumb one, smart one, witty one, funny one, the leader, the bad guy but in the group, the bad guy against the group, etc) then filter us down to see who is the best fit for each role.
it would make scripting a lot easier
now obviously there can be overlapping roles. like two leaders. then we can have 'episodes' where there is a conflict of leadership (For a Few Paintballs More)
 
If I end up being the dumb guy I'll beat you up with a stick!
 
hahaha
shut up Troy
 
It can be modelled as a decision tree, but it'll be poor in terms of human result (sometimes the nerd can be a rebel). Maybe we can regress to RANSAC or a simple Bayesian filter, since it's a 20-questions kind of problem.
 
10:04 PM
!!Do something useful or Go play something
 
@OctavianDamiean Go play something
 
Then we filter the transcript around these people and look for key interactions we can adapt to a larger story.
I'm confident with entertaining story lines like those that take place in here, there should be no problem getting a nice fat hollywood contract.
:P
 
You don't mess with Zirak, staring Zirak.
 
I was thinking "The Rudest Bastards Alive"
 
10:13 PM
It could be a good exercise...maybe KNN
 
m59
Sigh. I can't imagine how it is so hard to make a freaking link.
I've tried it forwards, backward, delete it all / recreate it all, delete one, delete the other. ARGGGG.
 
There you go you... annoying people, typo's fixed npmjs.org/package/mia
 
m59
lolzzz. I used a program to do it and it's actually worse =D
Now, the files are stored outside of dropbox, so that's not keeping the session files busy therefore screwing my login state
great
except now it keeps no state at all =D
 
@m59 Honestly? Use a proper developer environment like, let's say, something Linux based.
 
m59
true
 
10:24 PM
Morning
 
Octopus
 
Enchilada
 
Octopus
 
sigh
 
Octopus
 
10:28 PM
Octopus
 
gives you a doggy treat good boy!
 
m59
Well, I guess the next best thing will be to figure out how to move this two directories backward: SetEnv TMP "\\xampp\\tmp"
 
If ya can't beat em...
Did you know that EXACTLY 278 suicides that occurred in the United State last year were the direct result of having to build eDMs?
!!google 'eDMs and suicide'
 
Told ya!
 
Why the link to battlelog?
 
ma1nerror is @OctavianDamiean
 
Wow, that IS breaking news.
Cat chow
 
@Hirshy 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.
 
I've sent you a friend request. Accept at own risk.
 
10:55 PM
Where the hell can I see friend requests?
You have quite a large score.
 
@monners you tard! You beat me at the longest headshot. I hate you now.
 
Heh
I like to snipe
 
So do I but I thought that 1017 meters is quite a distance, apparently it wasn't. :D
 
I've got a friend, Airwolf, who's crazy good at flying choppers. He's an actual heli pilot, and it shows
What was mine again? 1200 or so?
1178.19 Meters. Awwwwww-yeah
 
It was almost like firing a mortar wasn't it? :D
At least that's how it was for mine.
 
11:05 PM
It was a total fluke.
Second shot at a scope glint on the other side of the map
 
I had one round where I got 30 kills and 0 deaths. All sniper shots, and in a Rush game no less!
 
Regarding choppers, I'm quite a decent pilot in BF3 as well but crazy good in BF2.
Got somewhere between 1500 and 2000 flight hours. :D
@monners Yep saw that, 27 kills.
That's your highest streak.
 
I don't play much any more
 
At least I beat you there. My highest streak 38 :D
 
11:10 PM
Nice one
 
Well there and at my beloved K/D ratio.
That's all that counts for me.
 
I play mostly Rush so my stats are pretty shit
 
I play mostly Metro (whatever mode).
 
I was top ten in the zombie leaderboards for BO2 for a while
Don't play multiplayer much though, got sick of being called a hacker...
 
I still play CoD4 in a team.
We ain't in a league anymore though.
We were #1 in the ClanBase 5on5 EU ladder for ~8 weeks.
 
11:13 PM
I used to play COD4 a LOT. I'm a member of Hostile Gaming ( -h|g- ) clan
 
Yea, we don't play in a clan (anymore), we're just 5 guys that play league matches. :)
But three of us are a team for 6 years now.
The other two joined us 3 years ago.
 
I'm looking for a science-themed name for a male dog.
I like Isaac
 
That's a little benign
 
Bismuth.
 
11:22 PM
I'm thinking more along the lines of Scientists rather than Science (although I'll entertain suggestions from either)
 
Leibnitz or Gauss
 
Gauss could work
 
Euler!
Yes. Brilliant
 
:)
I could go on for a while. :D
Coulomb, Fourier, Laplace, Riemann and so on.
Tesla.
Don't forget about Tesla.
Also, Archie from Archimedes.
 
11:31 PM
Doug Englebart
 
So many great scientists.
 
Doug's a good name for a dog
 
Then I'd go for Nikola.
 
Nah, then in sounds like you're naming your dog after a car
Euler, Isaac and Doug are on the shortlist
 
Or maybe the car was named after one of the greatest scientists ever.
 
11:34 PM
It's gonna be for a Golden Retriever if that changes anything
 
Not really. :)
 
Come on, most people aren't clever enough to make that connection
 
Graham
From A. Graham Bell.
 
'hello all
 
@OctavianDamiean Bell labs?
I'm too lazy to look it up right now
Looked it up. I was waaay off. Good suggestion.
 
11:39 PM
@monners Nah, that was just named after him.
Charles might be fun as well.
From Charles Darwin.
 
Too obvious, also not a Beagle
 
OMG! Heisenberg! :D
 
Cave Johnson.
 
20 mins ago, by monners
I'm thinking more along the lines of Scientists rather than Science (although I'll entertain suggestions from either)
;)
Heh, Quasar is cool.
 
11:44 PM
Name him Quark, it's fun to say.
 
Name him φ
get it, golden ;)
 

« first day (1039 days earlier)      last day (3912 days later) »