« first day (1409 days earlier)      last day (3548 days later) » 

10:01 AM
@Dad Is there a particular reason why readability must suffer?
 
Dad
@Neil
7 mins ago, by Dad
@FlorianMargaine 140bytes stuff
 
@Dad Yeah, that doesn't really explain it for me
 
Dad
@Neil you mean that you know what that stuff is all about but that doesn't explain it for you or you just don't get what that stuff is about?
 
If someone asks me why I'm cutting off the heads of all my chickens, and I simply say "a coffin's dimensions are 7'6" by 3'0"", I didn't really answer the question, did I?
 
Dad
@Neil You said
5 mins ago, by Neil
@Dad Is there a particular reason why readability must suffer?
and I replied
4 mins ago, by Dad
7 mins ago, by Dad
@FlorianMargaine 140bytes stuff
isn't that a reasonable answer?
 
10:07 AM
@Dad No.
 
Dad
lol
 
@Dad little bit shorter:
[1,2,3,4,5,6,7,8,9,10,11,0].map(function(i){return new Date(0,i).toLocaleString('en',{month:'long'});});
there's probably something in there that can be shorter
 
It has to be less than 140 bytes. I get it. But that begs the question, "Why?"
 
Dad
that stuff is about extreme minification .. readability doesn't matter
for the jeebies ....
 
@Neil that, and the thing that uses it
 
Dad
10:08 AM
@phenomnomnominal cool! didn't think about using toLocaleString
 
Hey, I am trying to upload an Image with preview on IE9 and the preview doesn't work, any idea what to do ?
 
!!google jeebies
 
@Damkulul upgrade your browser
 
Dad
!!urban jeebies
 
10:09 AM
@Dad Jeebies a complete babe, derived from the letters G and B (GBs) and is usually a hairy and muscly guy. the original initials are GB but an [idiot] thought J and G were the same.
 
Dad
not really the same but ok
 
Hmm, hopefully you can see why I'm confused
 
Dad
ok I'm hairy that's true
 
@JanDvorak I wish I could... must use IE9 :(
 
It's a contest or something?
 
Dad
10:10 AM
@Neil just for fun and for strengthening my skills
 
@Dad Ah ok. That is a reasonable explanation :)
 
Dad
it's like sport, if you don't practice like crazy you'll always be a noob
@Neil finally!! :D
 
Lays IMM + Coke = Possibly the best all-time snack in the world!
 
@Dad that's for single-handedly ruining all of my fantasies. Jerk.
 
Next time you ask a question though, I'll respond in number of bytes and expect you to understand what I mean
 
Dad
10:16 AM
@Neil I'm ok with that
 
@Neil 42
 
Dad
140 bytes stuff == strengthening own skills
anyway.
@monners how so?
 
@Dad I'm sorry. I thought you were someone else.
 
Zirak lol
 
Dad
@monners Ok. I'm not Ziraaaaaaaaaaaaak
 
10:18 AM
Maybe I'll throw out jeebies also
 
Dad
omg
xD
 
@Dad your loss. That man's a sexy beast.
Fuck, I can't type tonight
 
Dad
@monners I'm without moustaches at least :D
tonight? O_o
it's 12:20 mornin' here man
 
@Dad Your loss.
 
Dad
@Neil you from Italy?
 
10:20 AM
@Dad I'm not italian, but I'm living in Italy, yes
 
Dad
hah!
dejavu
I remember some Neil from Italy
I mean in virtual life
lol
 
Weird! Did he have a cat and mouse icon like mine?
 
Dad
tom and jerry? definitely.
 
Maybe a stupid CSS question but can I manage the order of floating elements?
 
SUPERWEIRD! I'm flipping out right now, that's so weird!
 
10:23 AM
@Dad in the promised land now
 
@Duikboot Yeah, by changing the order they occur in the markup
 
I have for example : 1, 2 ,3 elements but when I float them right I got 3 2 1 . .
Yeah the markup is ok..
it changes the order by adding the float.
 
Dad
maybe that's because you are in C++ room too haha
I have multiple identities to confuse any fisher wanting to stalk me
@Mosho ah Jerusalem
 
close enough
 
looking suspiciously at Mr.SmilingFace
 
Dad
10:24 AM
cool cool :)
hey you I'm awesome face!
 
off-topic : how good are books from this website?
https://www.packtpub.com/
 
Dad
it makes me think of mgpack
 
Dad
:D
 
@Dad I've gotta say I'm a little surprised to see you here, what with leaving for smokes 16 years ago and never coming back.
 
Dad
10:30 AM
@monners changed idea .. a priest full of money did. money change tha life ya know
 
But you left your platinum DinersClub card!
 
Dad
who cares I've money and I can buy another one
 
@Dad I can't beat it :(
a=[];for(i=0;i<12;i++){a.push(new Date(0,i).toLocaleString('en',{month:'long'}))};a
!!> a=[];for(i=0;i<12;i++){a.push(new Date(0,i).toLocaleString('en',{month:'long'}))};a
 
@phenomnomnominal ["January","February","March","March","April","May","June","July","August","Sep‌​tember","October","December"]
 
Dad
@phenomnomnominal no problemz! will see if I can do something otherwise leave it at that :P
that looks definitely shorter
maybe a reverse loop should shorten it a bit more
 
10:40 AM
seems to be
 
Dad
8t
!!> a=[];for(i<12;i--;){a.push(new Date(0,i).toLocaleString('en',{month:'long'}))};a
 
@Dad "ReferenceError: i is not defined"
 
Dad
yeah right I'm dumb
it works on firefox and chrome though
 
Wait, I've seen libraries include js files containing localization information regarding month names among other things..
Why would they do that if you can just generate it?
 
Dad
because "time is money"
!!> a=[];for(i=12;i--;){a.push(new Date(0,i).toLocaleString('en',{month:'long'}))};a
 
10:48 AM
@Dad ["December","October","September","August","July","June","May","April","March",‌​"March","February","January"]
 
Dad
yay
 
@Dad because "a stitch in time saves nine"
 
Dad
!!> a=[];for(i=12;i--;)a.push((new Date(0,i)).toLocaleString("en",{a:"long"}));a;
 
@Dad ["12/1/1900, 12:00:00 AM","10/31/1900, 11:00:00 PM","9/30/1900, 11:00:00 PM","8/31/1900, 11:00:00 PM","7/31/1900, 11:00:00 PM","6/30/1900, 11:00:00 PM","5/31/1900, 11:00:00 PM","4/30/1900, 11:00:00 PM","3/31/1900, 11:00:00 PM","3/1/1900, 12:00:00 AM","2/1/1900, 12:00:00 AM","1/1/1900, 12:00:00 AM"]
 
Dad
10:51 AM
wut
 
Hi
Has anyone used OAuth with an AngularJS app ?
 
@AmoghTalpallikar yus
 
Guys Have look
0
Q: Ajax Serialize Not Getting All Values of form

Harshal MahajanSo i have form having some input fieldd and it is submitting via Ajax Serialize. The problem is It is not taking all the values of the form in serialize output.I know i have give Name for each field, Here is my code for HTML : <form action="" id="BindData"> <input type="hidden" name='sty...

 
11:23 AM
@Mosho: Where do you prefer to store the token on the client side?
I was reading this article,
https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/
talks about storing it in Session storage instead of cookies or localStorage. Just wanted to know how have you generally used it.
 
Hi all. I have a hybrid app based on phonegap. i want in some scenario server informs client . there are several solutions for this (Push notification , Web Socket , Server Sent Events, Comet). the problem with Push notification is that in android version less than 4 user must setup google account to work with GCM(there are a lot of people who do not setup google account)

what is pros and cons of these solutions ?
 
websockets are the easiest to use
also, very efficient
 
websocket does not support in all version of android browser @JanDvorak
 
@SoheilGhahremani what versions do you need to support?
 
11:28 AM
android 2.3 and greater
 
@AmoghTalpallikar I guess that makes sense
 
i think about using framework like socket.io
 
I just put it in a service, but I only used it with an immutable token
 
my server side code is based on java
 
0
Q: How to test promises in YUI3

sunpietroI wanted to test Promises implemented in YUI3 using testing framework - YUI Test. I'm not able to find any working example of that kind of testing. var that = this; //view or service - YUI3 - it doesn't matter var promise = new Y.Promise(function (resolve, reject) { doSomething({ pa...

 
11:28 AM
i find an implementation of socket.io in java (Netty-socket.io)
 
if you want it to persist, use sessionStorage or localStorage depending if you want it to persist for the session or "forever"
 
is polling an option? Not a high refresh rate, but it's easy to implement.
 
yet i use long polling but in large scale usage it has a big overhead
think about a scenario that server responds 30 sec later of request
 
long polling is what Meteor uses
 
i think in large scale using long polling causes of server collapsing
 
11:35 AM
long polling only consumes memory
about the same as websockets do
and a tiny amount of bandwidth
 
how about count of threads web socket creates?
 
you don't need threads to keep websockets open
especially not if you only push to them
you only need to store the connection data
 
what about long polling?
 
connection data, and some resources spent refreshing the connections
if you use one thread per connection, that's a bunch of sleeping threads
 
for handling request of every user there must be an thread. in normal polling every thread complete it work immediately and ready for handling new request. but in long polling thread can not complete it work in short period .
 
11:40 AM
@Mosho Hey dude, I was able to resolve that problem of bubble chart :)
I switched to force layout
 
@SoheilGhahremani sleeping threads don't consume CPU
 
yeah i know
 
they slow down thread switching slightly if you have a bad OS
How many clients are going to be connected at once?
I wouldn't worry about the threads
 
100K - 1M in worst case
 
that would be 30k connections per second at worst to refresh the 30s long polls
sounds doable.
I'd consider using a dual websocket / long-polling approach
 
11:49 AM
but it does not satisfy my requirements
 
eternal iFrames don't use up bandwidth to keep up, but they have way more overhead to actually transmit data, and they require response handlers in the global scope
 
what is the problem with push notification? i think it is the easiest solution
 
what's that?
socket.io uses websockets with a fallback to (I think) long polling
@SoheilGhahremani do you mean this one? parse.com/tutorials/android-push-notifications
 
yeah Google cloud messaging
 
11:59 AM
Hey mac people, how do I get windows like snapping?
 
!!hahano
 
@SoheilGhahremani that looks like a thing that needs to be supported by the target device, or rather like a paid wrapper anound that thing.
 
That costs 8$
 
12:00 PM
@BenjaminGruenbaum snapping?
 
Well, in windows I can Super+Left or Super+Right to reposition the window I'm using, and it moves them between screens too.
 
@BenjaminGruenbaum three-finger swipe?
 
I don't want to touch the trackpad, trackpads are slow
The keyboard is fast, I want to use that.
 
does super+left not work?
 
No, it doesn't really do anything
 
12:03 PM
should be configurable. I guess it's near the touchpad settings.
 
@BenjaminGruenbaum o/
youtube.com/watch?v=j8CwFosX6Hk [guess the tool this animation was built in] :D
 
@BenjaminGruenbaum try this : code.google.com/p/shiftit
 
@BenjaminGruenbaum ah yeah. Mac sucks on that.
 
At least vimium is awesome.
 
Quickly switch between 2 apps
(like InDesign & Photoshop) Press Cmd-Tab to switch to last used app.
Press Cmd-Tab again to switch back.
NOTE: Press keys quickly and do NOT hold.
Switch between apps Press Cmd-Tab & continue holding Cmd.
While holding Cmd, to choose which app you want to switch to you can:
press Tab (several times if needed) to scroll right
press tilde(~) or Shift-Tab to scroll left
use the left/right arrow keys
aim with the mouse
use end/home key to go to first/last app
Quit an app in the app switcher When in the app switcher you’re already holding Cmd, so hit Q to quit sele
 
12:17 PM
@FlorianMargaine @jAndy this afternoon
 
nothing about resizing :-/
 
still need to decide who i'm calling out
 
@BenjaminGruenbaum hey thanks man :D i didn't knew that works :D
 
Of course I can command + tab... you didn't know that?
 
I'd nominate Abhishek but I can't pronounce his name in real life.
 
12:18 PM
no windows + left / right
 
The first thing I do when I use an OS I haven't used in a year I learn the keyboard shortcuts.
 
lol
 
Like Command + ` , which by the way you should definitely learn
 
Mac i used a tool for it (for doing what you are accomplishing).. i forgot the name it used to allow doing waht u want.
but it was just a mouse addon
boastr.net <- that one
 
@rlemon just describe him as the porn-guy or.. peverted indian or... megahorny
he'll know
 
12:20 PM
@jAndy what o_O ?
 
:-P
 
2 mins ago, by rlemon
I'd nominate Abhishek but I can't pronounce his name in real life.
 
@rlemon nominate for what ?
 
I SHALL NOT SEEK THE BROWSER-TAB IMAGE
 
@rlemon our fine prince of open porn-tabs, that's the official title if I recall correctly
 
12:20 PM
And you can try "uh be shake"
 
@jAndy i got it bookmarked
 
perfect
 
@AbhishekHingnikar facebook.com/…
 
@rlemon yeah prince of porn tabs work
 
I've got some people in mind
 
12:21 PM
I just can't believe that there is a soul out there which doesn't know about this stupid challenge
 
Ab Hi Shek, isn't it?
 
its like a virus
like cancer
worse
 
^ that's what I say @BenjaminGruenbaum
it's his last name I would die on
 
@BenjaminGruenbaum uh be shake is more correct.
 
@AbhishekHingnikar looking nice. did you deliberately hide the scrollbar or what?
 
12:22 PM
Ab Hi Shake, Hing Nik Ar
 
@AwalGarg we forgot to add it ^_^
 
uhh be like a shake
thats a good bridge mnemonic
 
uh be shake he ing knee cur (cur as in curry ... darn that makes my name more indian)
 
@AbhishekHingnikar haha... good work otherwise.
 
@AbhishekHingnikar can you record yourself saying that?
 
12:23 PM
@BenjaminGruenbaum sure can
Alright. youtubing it.
 
Wait better - say "My name is Abhishek Hingnikar and rlemon likes to poop on slides"
The background of the video should be a fluffy cat.
 
I've been trying to think of some hotties I wanna see with ice water soaked shirt. but then I realized I can't nominate Caprica
:/
 
You can, but it won't do you much good.
 
@rlemon nominate me i will nominate my russian friend :D... he'd probably just go out and pour water :D
 
12:24 PM
@jAndy honestly, this is the first of all these challenges that's not this stupid in my opinion
 
Oh hi @Mosho how's Israel?
 
@GNi33 I dunno... its annoying
like xmas
 
!!slidepoop
 
it did the job it was supposed to do in a great manner
 
Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
12:26 PM
!!gamejesus
 
@AbhishekHingnikar That didn't make much sense. Use the !!/help command to learn more.
 
for 2 days everybody feels ohh-soo-holy and good and the day after, no one fucking cares again
 
@BenjaminGruenbaum familiar
 
ALS was pretty much unknown to the public before
 
where is the image of robert lemon's act of slide ?
 
12:26 PM
@Mosho cool, where are you staying?
 
!!poopslide
 
@FlorianMargaine That didn't make much sense. Use the !!/help command to learn more.
 
and that will be the case in a week or two
 
It's !!slidepoop
 
I thought the image would be the other
 
12:27 PM
@BenjaminGruenbaum grandparents, looking for a place right now. Not sure whether to stay in Kfar Saba or move to TA
 
it did raise awareness globally, it did raise a lot of money for research. I like it. It could've been something else than pouring cold water over your head, though, but it did the job
 
@Mosho well, Tel Aviv is the funnest for sure, but it's also the most expensive.
 
!!artisticpoop
was it that?
 
@BenjaminGruenbaum any thoughts on commuting to the office with a motorbike?
 
ah yeah
 
12:28 PM
@Mosho Not only because the rent is high, but because you end up spending the most on Booze and parties and stuff because there is so much to do :D
 
1 message moved to Trash
 
!!forget artisticpoop
 
@JanDvorak Command artisticpoop forgotten.
 
@Mosho Well, I'm not a huge bike fan since I think they're kind of dangerous, just the other day @JoeWatkins was in a bike accident - he's ok but he kind of crashed his leg.
 
@AbhishekHingnikar wordsmith.org/anagram/… (make sure you have latest java lol)
 
12:30 PM
@Mosho Hi there! Can you please help me with this? stackoverflow.com/questions/25485975/…
 
@BenjaminGruenbaum no point in making a case out of one incident, they're as dangerous as the people who ride them
no offense to anyone who got in an accident
I meant more about the location
if you know people who use a bike to get there etc.
 
@Mosho Well, the people who ride them and the people who drive right next to them. Mostly the latter that are problematic. People here use scooters and electric bicycles and cars, I don't think anyone uses a bike but that wouldn't be a problem.Shouldn't be an issue.
 
@AwalGarg ..no just kidding. dat java made my ears bleed
 
xD
 
you know microsoft sam speaks that better ?
there is a problem though i kinda mess up my own name when am speaking english
 
12:35 PM
@BenjaminGruenbaum cool. And contrary to what a lot of motorists would tell you, I think drivers are not as big a problem as how people ride bikes
especially in places like Israel in general and specifically Tel Aviv
 
@Mosho I think there is a place to park bikes at the at the building entrance. I have a good friend who rode a bike here once and he didn't have any trouble finding parking.
 
@Mosho you know, in France, when someone gets a bike license, we tell them: "welcome to the organ donors club!"
 
yeah, saw a bunch on the sidewalk at the entrance on street view
@FlorianMargaine there is indeed a high correlation between being someone who would ride a bike and someone who would crash a bike
if that makes sense
 
@Mosho yeah, there
 
come to think of it, I am an organ donor
 
12:41 PM
great! you even got to the second step -> driving a bike :P
now the third and last step is awaiting you..... :)))
 
already had sex on a bike
3
 
masturbation doesn't count
 
Was it any good?
@Mosho prepare for a hard work day on Sunday.
 
!!s/on a/with a/
 
@AwalGarg already had sex with a bike (source)
 
12:45 PM
still-counts.png
 
@BenjaminGruenbaum nope :X
 
5
@rlemon @BenjaminGruenbaum
 
Epic, thanks.
 
@AbhishekHingnikar dat accent :P how did you manage to do this to yourself?
 
@AwalGarg i have that accent naturally
 
12:48 PM
@BenjaminGruenbaum why, am I going to be collecting stray golf balls?
 
window.speechSynthesis.onvoiceschanged = function () {
    var speech = new SpeechSynthesisUtterance();
    speech.voice = window.speechSynthesis.getVoices()[9];
    speech.text = 'Abhishek Hingnikar';
    window.speechSynthesis.speak(speech);
};
I prefer this one (@AbhishekHingnikar @BenjaminGruenbaum)
 
@rlemon lmfao
japanese ?
 
according to google
Simplified Han
(Chinese)
 
I'm surprised google doesn't have a hindi accent
["Google US English", "Google UK English Male", "Google UK English Female", "Google Español", "Google Français", "Google Italiano", "Google Deutsch", "Google 日本人", "Google 한국의", "Google 中国的", "native"]
 
12:51 PM
@Mosho Lol, I told you we're going golfing on Sunday already :D?
 
yes, you must be excited :P
 
jokes aside, golf is pretty hard
 
@AbhishekHingnikar what is the first sentence before your name? I don't get what you're saying there
 
All hail game jesus
 
12:52 PM
@Mosho get drunk and hit on the waitress in the club house
 
@rlemon synthesisng hindi accent is really hard
 
@rlemon ... still gonna be hard
 
@AbhishekHingnikar so I did understand that correctly.... and I still don't get it
 
@FlorianMargaine buh dum tsh
 
@rlemon o/
!!slidepoop
 
12:52 PM
@Second Rikudo
 
Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
\o
 
@SharathBangera 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.
 
OMG U don't know about game jesus... heathen ?
 
makes me feel good whenever I feel down.
 
12:52 PM
@SharathBangera Hey
 
@AbhishekHingnikar nope
 
Oh btw guys enough with the porn tab stuff
 
var speech = new SpeechSynthesisUtterance();
    speech.voice = window.speechSynthesis.getVoices()[7];
    speech.text = 'Abhishek Hingnikar';
    window.speechSynthesis.speak(speech);
 
now me gf comes here every now and then ... from my account ^^
 
7 is way better
 
12:53 PM
 
sounds like music
 
Hmm
just a minute
 
@SharathBangera the idea of a self-invoking function is simple
It's a function that you define and invoke at the same place
 
@Second Rikudo can you tell me how IIFF is working differently ?
ok..
 
(function() { console.log("hello"); })();
 
12:54 PM
var speech = new SpeechSynthesisUtterance();
    speech.voice = window.speechSynthesis.getVoices()[9];
    speech.text = 'Twinkle Twinkle Little Star, How I wonder what you are up above the world so high, like a diamond in the sky. Twinkle Twinkle Little Star How I wonder what you are';
    window.speechSynthesis.speak(speech);
 
!!tell AbhishekHingnikar format
 
@AbhishekHingnikar Format your code - hit Ctrl+K before sending and see the faq
 
@AbhishekHingnikar how do you say "the game" in hindi and not just "game"
 
@SecondRikudo rite. invoke is same as calling that function rite ?
 
Here, I defined the function in the (function() { console.log("hello"); }) part, and then call it with the extra () after it.
 
12:55 PM
voh khel, or vah khel
 
so if the DOM is not available, how will the fnLoad work ?
 
Let's stop playing with the BOT
 
@AbhishekHingnikar what a surprise
 
"tum vo khel haar gaye" < current station
 
12:57 PM
@SecondRikudo y u no fun ?
 
@AbhishekHingnikar y u no sandbox?
 
because he's got a stick up his ass?
 
oh darn that just sounds wrong.
now to the next level xD
 
@SharathBangera Because the function is not yet called
 
@SecondRikudo we are all trying to win the game ...
 
12:57 PM
@SecondRikudo sorry but I think you should have a nice sleep first. :P j/k
 
I can't stop rewinding the video from @AbhishekHingnikar when he pronounces his name.. ahhhhh its like an addiction
 
!!s/sleep/sex/
 
@AbhishekHingnikar @SecondRikudo sorry but I think you should have a nice sex first. :P j/k (source)
3
 
Let's check this slightly more complex function
 
12:58 PM
@SecondRikudo : oh
 
I'm Abhishek Hingnikar I'm Abhishek Hingnikar I'm Abhishek Hingnikar
 
why does caprica always qoute it -- ... darn you caprica I just made a huge joke on myself --
 
var answer = (function() {
    var calculateAnswer = function() { ... }
    return 42;
})();
@SharathBangera what will answer hold now?
 
@jAndy ... whats your full name ?
 
12:59 PM
at jandy
that is his actual name
 
Andreas The Game
 
I have a middle name too
 
wait now :P
 

« first day (1409 days earlier)      last day (3548 days later) »