« first day (1216 days earlier)      last day (3746 days later) » 

2:00 PM
!!youtube Symphony 2808
 
<3 Nero
 
Hey all, what's the best way to calculate download speed over an XMLHttpRequest? I'm firing off call after call retrieving x bytes of data. I have the size of the file downloaded so far, how many bytes I downloaded this request, and the size of the overall file. Should I be setting a timer before each call and substracting the difference from another timer after the call?
 
is Caprica automatically editing video-posts after some time?
 
@GNi33 all oneboxes
90 seconds and she un oneboxes them
 
2:07 PM
cool
 
!!unonebox enable
 
@rlemon Functionality is enabled
@rlemon un-onebox disabled
 
@Jimbo If you manage to calculate download speed without a timer, let me and the rest of the world know.
 
@rlemon un-onebox enabled
 
@GNi33 make sense?
 
2:08 PM
makes total sense
 
I am going to edit to not unonebox youtube and quotes
images were the main target
well idk about quotes now
 
@KendallFrey E_ANYONE_ELSE
 
!!artisticpoop
 
I would like that to go after 90 seconds ;)
 
2:09 PM
hehe
 
hahahahahahahahhahahaha, should tag @Wes in it :P
 
thousands of years from now I will only be known as slidepoop thanks to @BenjaminGruenbaum
he is making sure that gets google index'd at least once a week
I'm writing a maintenance nightmare right now. no separation of concerns and horrible design between the server and client
 
Can you add a command to unonebox that disables it for only the next message?
(see sandbox)
 
@KendallFrey I am pretty sure why that wasn't working - I'll likely have a PR ready by tomorrow
need to get back to work now
 
@rlemon yes, yes you will.
Probably will be known as the slidepoop.
What were you thinking about when you pooped on that slide?
 
the poopinator
 
how badly he needed to go
 
> I'll be back. With TP
 
2:30 PM
@rlemon did you clean it up?
 
@rlemon Should Caprica unonebox quoted text chat messages?
 
@SomeGuy I dunno really.
I'm going to make an issue discussing what she should and shouldn't unonebox
youtube -> probably . quoted text.. not so much.. quoited images -> probably.
images -> for sure
 
I say the majority should be left alone
pizza: yes wikipedia: no
 
well yea. like I said we can discuss it
most if not all images should unonebox
but there are some (like youtube, and wiki, and say xkcd) that should not
 
posted on February 13, 2014

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) {} Stacy Farina had the best graph at BAHFest 2013! Don't forget to

 
2:34 PM
ohh yea and as much as I love SMBC -> whenever I tweet them to tell them their comic is borked and how to fix it they never respond with a "thankyou"
fucking assholes.
 
@rlemon That's what gay people are doing.
 
Have you tried tweeting at ZachWeiner?
 
no
today I don't know the fix.
 
@rlemon What do you mean "borked" ?
 
@dystroy Look at the feed oneboxed above
 
2:36 PM
@SomeGuy now back to me
 
@SomeGuy it seems they got off their ass and quickly uploaded the file
image shows now for me
404'd for the first few minutes
@SMBCComics Todays image is one year off (http://www.smbc-comics.com/comics/20130124.png should be http://www.smbc-comics.com/comics/20140124.png)
from jan. not even a damn thankyou
 
Hahaha, I love the red button on this one
@rlemon They probably didn't see it and realized it themselves
 
var key = 'foo'; var arr = [{ a: 1, b: 'foo'},{a: 2, b: 'bar'}];
var ret = arr.filter(function(obj) { return obj.b === key });
 
@SomeGuy yes, they obviously do a lot by hand without a proper build chain
 
is there a better way to search an array of objects pulling out a single value based on its unique property?
 
2:41 PM
"better" ? You mean faster ?
 
eh, speed isn't an issue
 
so what ?
 
just making sure i'm not missing an obviously better solution
 
I'm always in when you want a reduce or regex solution. But I have the decency not to call them better...
 
Probably how I'd do it
 
Using ES6 tech already?
 
you want the first match or all the matches ?
 
@dystroy 'b' is unique
there will only ever be one match
 
so find is better, if your browsers support it
 
I structured this all wrong. but deadlines are approaching so i'm making it usable then i'll re factor
and this is on node
so as long as node supports it
 
2:45 PM
yes! find!
/o/
 
\o\
 
!!slidepoop
 
@SomeGuy Array.prototype.find is available in chrome and ff
 
@FlorianMargaine :D
 
2:47 PM
@ThiefMaster around?
 
yes
 
lounge has a flag troll
all invalidated now
nvm they are still doing it
uhhhh what?
 
@FlorianMargaine Oh, neat. I wonder when arrow functions will be here
 
Dammit... accidentally clicked a w3schools link
 
@SomeGuy already in FF
 
2:50 PM
srsly what is with that SO error message
 
and someone is working on chrome for that code.google.com/p/v8/issues/detail?id=2700
 
@rlemon Happens sometimes. Just refresh
(Happens more often for me because I have a shitty connection)
 
you saying I have a shitty connection?
huh punk?!
HUH?!
ANSWER ME!!
 
@FlorianMargaine Sweet
 
I KNOW I AM
THAT DOESNT MAKE ME GAY YOU ASSHOLE
 
2:54 PM
@rlemon You're in Canada... so... yes?
 
Doesn't your Interwub run on, like... Loons or something?
 
an Amaan in canada
 
Aww, misclicked :-(
 
that's like the indians saying "hi my name is james"
 
2:55 PM
Hahaha, that'd be fun
My middle name is Jack
 
the reaper?
 
Ripper*
 
I prefer reaper.
 
Ugh... hate it when my headset battery dies. The charger, it seems, does not provide enough power to run the headset and charge the battery.
 
@FlorianMargaine Russell Peters
 
2:57 PM
@RyanKinal hahahahahahahaha I think it is funny that the MURICAN is saying Canada has shitty internet.
your country has horrible infrastructure (outside of the limited Google coverage)
our infrastructure is slightly better -> but way more expensive as well.
 
Define "shitty"
 
> of or pertaining to fecal matter.
 
!!define shitty
 
@KendallFrey [shitty](http://en.wiktionary.org/wiki?curid=undefined) (vulgar, colloquial) Very bad; unpleasant; miserable; insignificant.
The television I bought there was so shitty that I will never shop there again.
I'm feeling shitty today; I don't want to go out.
1988 November, Byron Coley, Underground, Spin, page 101,
It's a well-known fact that reading is about the shittiest thing you can do for your eyes.

2006, Everett True, Nirvana: The True Story, 2009, unnumbered page,
The difference is they usually have a shittier singer, and no originality.
 
@rlemon Yeah, I know. I'm just jealous.
 
2:59 PM
@RyanKinal any hope in you getting Google?
 
lol, no
 
because I hear that service is awesome and affordable.
 
Unless I move to Kansas City or some crap
I guess there's an outside chance Pittsburgh could get it... but I'm still 3 hours away from the city.
 
Still, if you're not on google's gigabit network, what are the (affordable) connections you could get?
 
$120/mo
150mbit down
75mbit up
unlimited bandwidth
my plan right now
 
3:04 PM
120? wth
 
fuuu
I have 5/2
 
Canada is fucking expensive for internet man
I bitch about it often
 
in Lounge<Barket>, 19 mins ago, by Benjamin Gruenbaum
@rlemon did you tell all these nice people about how you pooped on a slide?
 
I'm sure there's much cheaper plans available, though?
 
in Lounge<Barket>, 18 mins ago, by rlemon
it was a strange time in my life.
@Kippie not with those speeds / bandwidth
 
3:05 PM
Well, yeah, you gotta compromise, man!
 
if I wanted to pay like $60 I would get Kendalls 5/2
@Kippie I did compromise. don't have cable.
 
I'm currently at 120/8 for €48 in Belgium, which is still pretty expensive compared to neighboring countries
@rlemon if it's not cable, are those the actual speeds you're getting?
 
I need fast internet with lots of / unlimited bandwidth. no way of getting around it.
 
don't we all...
 
@Kippie I have seen those speeds, but on average ~100 down and ~60 up
 
3:07 PM
2 up, 2 down, yay!
 
still fair. Especially if it's completely unlimited.
 
but could also be because I have a few things usually streaming at once
 
Over here, unless you have a business internet plan, you're almost always stuck on "fair use policy" with an agreement to not do any hosting
 
NetFlix HD streaming eats up your bandwidth pretty damn quick
 
@rlemon: how much do you usually pay per GB/TB if you are over the bandwidth limits in canada?
 
3:10 PM
@ThiefMaster when I was paying for that. it was like $1.30 a GB I think -> but there was a cap. so if your normal bill is like $75 and you go over 500GB they will only charge you overage fees to a max of X dollars ($50->$100)
and that is in your contract
 
WHAT?
 
and no throttling
 
Does anyone here have a bookmarklet or user script that places the "hot network questions" back into the top left on stackoverflow? (it now only shows the different popular networks there)
 
that's expensive.. for my server i pay less than 5€ per TB
 
yea well. I am a broken record now. Bandwidth is ridiculously expensive in Canada
4GB data plan for my phone is like $60 alone
 
3:11 PM
why? just because isps are greedy dicks?
 
then service on top of that
@ThiefMaster I mean, they are all competing against eachother.
and Canada did lay a fuckload of copper which is slow and expensive
so (I think) they are just trying to make sure they get every last cent back from their investment
 
The government should give them some money to install fiber ;)
 
node won't let go of my cached file
:/
in vim on the device I can see the change... but in the browser it isn't giving me the new file.
:/
 
optical fibers have a lot of downsides
 
@Kippie What's wrong with looking on the lower-right?
 
3:15 PM
@KendallFrey I need to scroll too much!
 
grow a pair and suck it up
 
But I don't wanna D:
@rlemon I also pay €15 for 2GB per month.
The thing I don't get is how the bandwidth can multiply 100-fold, but the data-caps remain the same
 
so you run out of usage 100x as fast :)
 
yeah, but seriously, I have LTE on my nexus and can get speeds of 60/40
what use is that if, using that speed, I've used up my cap in 2 minutes
 
Wassup bitches
 
3:20 PM
Me. I'm up bitches.
 
@SomeGuy We don't already have that?
@rlemon AWESOME
 
!!ban
 
@SomeGuy 895174 (?) 1355043 (?) 1858108 (?) 10 (?) 1005250 (?) 1941949 (?) 990192 (?) 2428683 (?) 1947276 (?) 1455016 (?) 2645256 (?) 2664200 (?)
 
Nope
 
@Zirak o/ OHAI!!
 
3:22 PM
@Neil such as?
 
@Zirak How was your week?
 
I need hex from decimal
Number(req.data.value).toString(16)
is this stupid?
 
Awesomelicious, and how was yours?
@rlemon Quite the opposite of stupid
 
@rlemon No
 
cool
 
3:23 PM
@Zirak Super-awesomelicious
I actually managed to do well in my tests this week
 
congrats
 
my life is complete
 
I sense a cheese overdose.
 
found out that img, p, and li don't need closing tags
 
@Zirak I woke up on tuesday to a tank full of dead fish :(
 
3:23 PM
@SomeGuy Neat!
 
I was super bummed
 
@Cicada3301 FUUUU-UUUUUUCK
 
@SomeGuy and a bit of cheese aswell
 
@rlemon Do you use PS or GIMP?
 
gimp
 
3:24 PM
@rlemon Aaawwww
What happened?
 
(I just realized that I used to say jimp instead of gimp as well)
 
I can PS. as in I have it. I just prefer gimp
 
The parasitic thingies killed everything? Messed up the...um...aquasystem?
 
@Zirak no effing clue man. tank was fine before bed. woke up and it was like 80 ppm Ammonia
 
Ouch
 
3:25 PM
my guess is something died (maybe a small cucumber) and just bombed the tank in one night.
 
or somebody peed in it.
 
:( I had to flush ~$300 in fish
 
and most groundbreaking of all: you can add attributes in the html without using quotation marks!
 
and I just finished naming them :(
 
@rlemon If it makes you feel better, I'm sure they weren't worth anything dead.
 
3:26 PM
this means a lot to me (btw, I learnt all of those by reading the book one of you told me to read: HTML5 unleashed)
 
@SimonSarris You made this person's life complete!
 
@Kippie as much as people don't see it - they are my pets. I love them like any pet owner would love their cats or dogs.
 
3 mins ago, by Cicada3301
my life is complete
 
@Cicada3301 Congrats, you learned how to make your html less readable.
 
everyone star that
 
3:26 PM
@Cicada3301 that would have been me.
 
@rlemon well then: thx a lot
 
also don't you ever dare leave closing tags off li or p
 
@Zirak Nobody uses closing tags for images, though
 
that is just ugly as shit
 
@Zirak can't argue with that
@Kippie I... did
 
3:27 PM
@Cicada3301 why would you want to do that?
 
@Kippie He probably meant <img> instead of <img />
 
@mikedidthis you don't name your pets?
 
@mikedidthis Because...he's human?
 
@rlemon sorry I replied to the wrong message :(
 
You monster
 
3:28 PM
amended
 
needs a buster bluth "I'm a monster" gif, here
 
@mikedidthis Why are you apologizing to Cicada? :p
 
@rlemon sorry to hear about your fishes :(
 
and I didn't even know brs needed closing tags
 
@SomeGuy damn :(
 
3:29 PM
:D
 
@Cicada3301 depends on which (x)html version you're using
 
@ThiefMaster Such as, optical fiber tends to break a lot easier, LAN has caught up with optical fibers and thus optical fibers are no longer the fastest/cheapest choice, etc.
 
@SomeGuy Fucked that one up!
 
time to head home. Haven't done anything useful for the past 2 hours anyway
 
I'm not sure why, but this line seems to be failing...
 
3:32 PM
"shopping cart provider recently stuck "async:false" into the cart calculation code" ? Tell them the internet thinks it's a bug. — dystroy 53 secs ago
 
I have to go now :/
I'm gonna decomplete my life soon
 
Do you, the internet, agree with me ?
 
if(!(blah['question']['inputType'] in ['radio', 'checkbox'])) {
  blah['question']['inputType'] = 'radio';
}
 
ITT Lounge knows JS better than JS room
hrhrhr
 
@Cicada3301 decomplete... your... life... ? :confused:
 
3:35 PM
@Crowz in checks object keys, not values.
 
@RyanKinal don't even ask
 
You either want to put that in an object, or use indexOf
 
@BartekBanachewicz Did you mean to post that in the Lounge? :p
 
@Zirak oooh... how would I check the value? blah['question']['inputType'].value?
 
!!zirak_naked
 
@Crowz I mean that it checks the keys of the array, of ['radio', 'checkbox']
!!> 0 in ['radio', 'checkbox']
 
@Zirak true
 
@RUJordan You know you can still change your username, right? :p
 
ah I see, how would it be fixed?
 
You've got two main options here:
!!> console.log('radio' in {radio:true, checkbox:true}, ['radio', 'checkbox'].indexOf('radio') > -1);
 
3:37 PM
@Zirak "undefined" Logged: true,true
 
@SomeGuy nah, I wanted to troll you a bit
 
@dystroy totally.
 
ah good success, thank you sir
 
@dystroy Yes
 
@FlorianMargaine You don't need promises to execute some code once your ajax call finished, though
 
3:43 PM
@dystroy they want to execute multiple xhr requests in a specified order
promises help a lot with that, if you don't want to fall in 10 levels of indentation
 
@Shmiddty hey did you submit your game to the flappy jam yet?
 
I don't entirely get how that explains it, but it's interesting
@Loktar Are you making one?
 
nah
I got an artist for grapple hero :P
going to pay $1200
but itll be worth it
 
Same guy?
 
3:50 PM
so there is no freaking way I'm not going to finish it
yeah same guy
my life goal is to sell 1 copy of a game I made to someone I dont know
 
sell it for $1
 
That's an unambitious goal
 
My life goal is 5:00 PM
 
@SomeGuy er one life goal I mean
:P
I already got married touched a girls boobs and had kids
so there arent many goals left dude
 
@SomeGuy Cooooool
 
3:52 PM
Hahahaha
Loktar in 1990 or something
> My life goal is to touch a girl's boobs!
 
ACHIEVEMENT UNLOCKED
 
come on, more like 1970
 
HAH
 
@Loktar I'm trying to combine these three facts into one horribly misguided one.
 
1970, psh more like 1998
 
3:53 PM
It's proving rather...disturbing.
 
@Zirak LOL wow dude
 
married a kids boobs?
 
"One goal left: Get married while touching a kid girl's boobs." Or maybe "get married to boobs"
 
o.O
 
O HAI @Zirak
 
3:56 PM
!!tobacconist
 
@Zirak Drop your panties, Sir William; I cannot wait until lunchtime!
 
I'm not sure I have life goals. That's a little depressing.
 
@FlorianMargaine When I was selling my Blokus Palm game I found that selling it at 20$ instead of 12$ resulted in a greater attention and more sells (even while the game let you play for months freely). So...
 
Sure you do. "Drink more beer" (drinking bear is difficult)
 
At least, not life goals any more specific than "Be awesome, and not a dick."
 
3:57 PM
@RyanKinal That's a good one.
 
I almost added "Don't fuck it up"... but I'm gonna fuck something up, so what's the point.
 
@RyanKinal Pizza Hut sent me a valentine's day card. You're winning.
 
@Loktar I haven't
 
Any idea what this means ?
0
Q: Method Overload via Closure using javascript or jquery

MKGhow to implement method Overloading Via Closure functionality ? Explain in simple or live example.

 
doood submit it
yours is cool man
 

« first day (1216 days earlier)      last day (3746 days later) »