« first day (970 days earlier)      last day (3984 days later) » 

12:00 PM
It was much more interesting than the imgur copy
 
> Keep enjoying the Kardashians.
Good advice
 
hi, I m getting a ton of heartbeat timeouts in the logs for socket io. I m using the default config (heartbeat timeout - 60, heartbeat interval - 25) you think 60 seconds is not enough? even under laggy connections/firewalls and so?
there are around 200 sockets connected at a time
also transport end (undefined) along
 
@dystroy JavaScript and SEO can be linked.
 
@dievardump I was referring to the fact it's better to ask how to do something than if somebody knows. But it was mostly a joke...
Damn, there's no positive look behind in go regex...
 
12:22 PM
@Darkyen jsfiddle.net/darkyen/xn3hK/21 got anything cleaner than this?
 
@rlemon cleaner then what ?
 
the code in the link dork.
 
nah gave up on that demo on that
realized it aint gonna be better :D
 
got anything better for motion detection?
I mean, I can google one. Just seeing if you have a demo
 
nah well you can detect motion using blob detection on that
soundstep.com/blog/experiments/jsdetection <- this is a good one @rlemon
 
12:30 PM
@Darkyen yea this is what I wanted :P webcamtest.davidhunterdesign.com/motion_detection_03.html
 
!!mute 617762 1m
 
@Zirak You probably didn't want to mute a room owner.
 
@phenomnomnominal, @BenjaminGruenbaum Forgot to update from yesterday ^
 
I think I'm being retarded, is there a better way to do this:
css = {}
css[window.transform] = "#{_transformMappings['position.' + direction]}(#{amount}px)"
$(@elements).css css
 
@Zirak thanks :)
 
12:32 PM
@BenjaminGruenbaum Maybe. But a sqrt call is also pretty expensive
 
Not as much as one might imagine
 
It's the assigning a property key to a specific name that I'm worried about
 
@rlemon thats more or less like what i did in my second filter :P
but my second filter can actually cut you out :D
on xn3hk/21
i cant do skin based detection as my indian skin will make a mess :-(
though the green channel is intresting
 
Indian skin is impervious to detection?
 
@CodyDmd 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.
 
12:35 PM
huh...did I cover this...
!!mute 1839506 1h
 
@Zirak You probably didn't want to mute a room owner.
 
duh
 
Wait what? It wasn't supposed to do that
 
@Nile not bad not bad
but I gave up on that - moved on
webcamtest.davidhunterdesign.com/motion_detection_02.html how cool would it be if emitters were based on motion ;)
not sound
 
12:41 PM
@Hrushikesh 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.
 
Hi all,

I'm working on live streaming of video. above code working on web app. and android app. well but in iPhone it can't stream. so if any body can help for streaming video for iPhone. so that would be great for me. this is my code
OutputStream responseOutputStream = response.getOutputStream();
FileInputStream fileInputStream = new FileInputStream(f);
int bytes;
byte[] buffer = new byte[1024];
while ((bytes = fileInputStream.read(buffer)) >0) {
responseOutputStream.write(buffer,0,bytes);
}
responseOutputStream.flush();
responseOutputStream.close();
fileInputStream.close();
 
How is this relevant to js?
Also,
!!tell Hrushikesh format
 
@Hrushikesh Format your code - hit Ctrl+K before sending and see the faq
 
o_O
OutputStream ???!?!?!
what language is that ?
Java ?
 
yes
this is java
 
12:45 PM
well you are in the wrong room
and java wont work on iPhone
And perhaps your web app is a java applet right ?
 
i jst want for video streamming in iphone
my backend server is java
video is stored on server side
 
what wrong with
<video src="/path/to/ur/video"></video>
and let quicktime handle it ?
 
have u any idea how we have to do?
boss that is i have done
no result
 
@CoolCmd 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.
 
means i have write this
<video src="/path/to/ur/video"></video> code in my webview in iphone right?
 
12:56 PM
holy shit guys
never get a puppy if you enjoy sleep at all
 
lol
 
I took the week off to care for the puppy
its basically an un-vacation
she is cute though
 
haha I can imagine
my parents used to breed dogs
puppies are loud as hell
I was woken up today by a screaming kitten!
our cat had 6 kittens, our dog carries them around
drops them off in random places.. its annoying
 
hahahahaha
sounds like what the children coming home from school did to my neighbor :/
she has lots of cats, and some are really friendly
 
we bred budgies.... ~30 birds...
 
12:58 PM
so the 3rd or 4th graders walking by will pick up a cat and hold it
for like 2 blocks
then let it go
 
lol wtf
 
it seems harmless to them
but some cats are not too keen on where the hell they are
 
if they're outdoor cats then they should know the area :?
 
they tend to orbit her house
 
ahh, well then.. stupid cats. :P
dumb kids.. but also stupid cats.
 
12:59 PM
mine tend to go everywhere
 
^
same with ours
 
my mom has outdoor cats so does the gf's parents. They go everywhere.
 
these are 3 day old kittens though
and the dog and cat are best friends
 
lol
 
so the cat doesnt even care when the dog picks them up and puts them in diff areas of the house...
I need to record it with a hidden cam
she only does it when we arent downstairs
 
1:01 PM
pics -> reddit.com/r/aww -> karmatrain chooo chooo
 
@dystroy I asked if someone is good with SEO, it's not "Can I ask a question ?".
 
lol good idea @rlemon
 
Because it was a lot more than one question ^^
Hello you o/
 
new goober tuckered out
 
!!/choose "crime scene with dead dog" "beautiful and zen garden"
 
1:03 PM
@dystroy crime scene with dead dog
 
haha ZEN?
more like barely holding back every invasive plant in new hampshire
 
my cats are destroyers of couches.
 
omg they are cute
 
I have theory as to why cats and internets go together so well.
 
user1125394
!!/choose Consolas 'lucida console'
 
1:07 PM
@cx lucida console
 
@TheSnooker "lazyness" ?
 
No, it's because most interweb peoples don't go outside a lot and since you don't have to walk cats you can have a pet and not have to go outside.
ergo.. cats have a higher percent chance of being on the interwebs.
 
There's also the meme factor. A few people (who just liked cats) started, the rest followed.
 
If you port something to JS like say from spidermonkey source
what do you do with the license?
do I copypaste their license - but that would imply they did it?
sigh
 
Maybe say "ported by Esailija, blah blah license, originally written by Mozilla, blah blah license"?
 
1:27 PM
I can improve it by not doing the final copy that is required for "in place" sort
 
Really good ^^
 
ok it sucks in firefox... I will just feature detect if the native sort is stable
because firefox has stable native sort I can just use that in firefox
 
posted on June 12, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} This comic needs more damn robots.

 
1:41 PM
0
Q: Google Maps Circles like iPhone/Android default Maps apps

Fawad GhafoorI know how to create Markers, Circles, infoWindows etc etc in Google Maps V3.I need to know how would I create a circles with Lat/Lng, radius and ofcourse with some color that Starts from center and than disappear with certain radius and do the same again. Just like in Mobile Appplications. When...

 
that's horrible
how can one even think of having taste buds in someone's asshole...
 
Now that's the only thing you can think about
 
@pierot 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.
 
guys, help me out, it's on the tip of my tongue but I can't recall it. What was that css property to cancel interaction with an element?
 
1:49 PM
css property?
 
@GNi33 Not sure there is one, closest I can think of is "pointer-events" ?
 
I know the disabled attribute...
ah, yeah, pointer-events.
 
yep, that's the one, thanks a lot
 
Doesn't work on anything but SVG elements in IE
Even IE10
(IIRC)
@Esailija You can't check on one array and call your sort as good.
Chrome uses QuickSort where Firefox uses MergeSort, QuickSort can be extremely slow given inputs and extremely fast given other inputs
Also, for small enough arrays they both use insertion sort IIRC
 
I am aware of both facts and the exact size when v8 uses insertion sort
 
1:53 PM
yeah, I know, support sucks a little
 
Cool, then why are you only benchmarking one array?
 
because I wanted to check where I am at
 
@NickR 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.
 
also it's hard to benchmark unsorted arrays
you have to recreate it on every test
which will skew the results
so right now it's just testing already sorted 29 element array
and the insertion sort threshold is 22
anyway doesn't look like it's going to solve this guy's problem after all
so I'm just going to stash it somewhere
 
1:58 PM
@rlemon this one is for you
 
btw I minified it to not cross the inlining threshold anywhere
there is this stupid limit of 600 source text bytes
so if you have comment it counts towards that etc
 
Ah
Why not post yours as answer?
 
because
var a = [x, x, x, null, undefined, 1, y, "2", x, z];
var b = [z, x, x, y, undefined, 1, null, "2", x, x];
stableSort(a, comparer);
[1, "2", Object, Object, Object, Object, Object, Object, undefined, null]
stableSort(b, comparer)[1, "2", Object, Object, Object, Object, Object, Object, null, undefined]
oh man why newlines
 
even in strict mode?
 

« first day (970 days earlier)      last day (3984 days later) »