« first day (1713 days earlier)      last day (3251 days later) » 

9:00 PM
you shut your whore mouth spoiler!
 
I liked it. It was decent
 
inb4 flags
 
I should flag you, bitch
 
@ssube there's not much new typing stuff in 1.5 it's mostly sugar
Ooops, I didn't think you could kick owners.
:P
 
Somebody kicked me lol
 
9:06 PM
2.9
 
lmao
at first I thought it was flag suspension I was like lol oops
 
crl
I guess Florian is planning to have a Batman next
 
Hey new daddy!
 
stuff is crazy
didn't have time to work on deb-packager in 3 days now :(
 
9:08 PM
Have you even slept in 3 days?
 
oh yeah, totally
I'm not at the maternity at night
 
Oh, are they in the hospital still?
 
yeah
3 days
 
Is that standard baby shipping?
 
9:12 PM
nice
 
then it can be more if the baby isn't fine
 
user1596138
Shoulda got that Next-Day-Caesarean shipping
 
@FlorianMargaine as a father
 
@SterlingArcher wut
 
user1596138
lol wut
 
9:15 PM
and ugh
"tite"
 
@argentum47 ping (see messages in miaou)
 
Hey guys!
 
hi deep
!!afk good night ;/
 
XD
G'Night!
I answered a question, and wanted to ask if I might've given too much code away.
1
A: JavaScript : CSS & Conditions

moonvaderJust replace "Inner element is visible" : with document.body.style.background = 'black' :

 
9:21 PM
You linked to not your answer lol
 
ssh ;)
 
user1596138
@Deep I don't know why you linked to another answer...
 
user1596138
@deep your answer is good, except don't recommend classList without mentioning it's lack of support please :P. They'll have broken sites
 
because thats what was in my address bar
 
9:22 PM
I didn't know about lack of support, I'll remember it :D
 
user1596138
Yeah I guess it doesn't even fully work on IE11, so that's a pretty severe lack of support :P. Doesn't work at all on IE9 and lower
 
Whats the alternative?
className?
 
@Jhawins how can you implement classList without implementing the 2nd parameter of toggle
 
oh my fucking god, MS office is 1GB.... all I want is MS Word
 
crl
IE is being abandoned anyway
 
user1596138
9:28 PM
@FlorianMargaine What
 
user1596138
@taco Oh my god you care about 1GB? I downloaded 59 the other day for a game
 
@MadaraUchiha nice actions of DO/CF
@Jhawins IE10/11
 
user1596138
@crl That's a fairy tale.
 
> Partial support refers to not supporting the second parameter for the toggle method
 
@Jhawins I'm on Comcast 1GB is .3% or so of my allowance
 
user1596138
9:29 PM
@FlorianMargaine ...Hmm
 
user1596138
@taco Aww limited bandwidth :/
 
@taco lol limited bandwidth
3rd world problems, heh
... owait
 
Land of the free
 
Guys, why is javascript so popular? The most popular tag on SO :O
 
user1596138
It runs SO..
 
user1596138
9:30 PM
Sort of
 
user1596138
SO is online, JS is the language of internet browsers. Is there anything to compare?
 
@PeterKowalski because it's the language in the browser, and browsers are very popular
 
so why aren't C#, HTML, CSS, etc. also the top tag?
they run so too
 
JavaScript is a bad language so there are more questions
 
user1596138
Naw bruh
 
9:32 PM
@copy PHP is worse and has less questions
 
And it's a language employed by a large crowd of non-developers
 
i have this line of code and it has console.log in it , i think it is the cause of the page not functioning properly unless i open developer tools , can i just take it out ?
console.log($("#tam-content").load($(that).data("url") + ' ' + $(that).data("target")));
 
Hello! Someone Knows if it's possible to apply Tidy to a textarea on a page?
 
@JorgeRodríguez 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.
 
@JorgeRodríguez definitely not built in, and I remember struggling to find a client side tool for it.
 
9:38 PM
@havingagoatit take out the console.log, but maybe leave the other cie inside it if it does anything
and yea, IE will just stop executing JS at the first console.log unless the develoepr tools are open
while you should remove console.log anyway, you can also 'polyfill' console.log to get aroun dit.
kinda hacky
 
@phenomnomnominal thanks!
 
IE9 does it too
 
Are you sure?
 
no..
i'll test in browserstack
 
9:41 PM
You're right, according to caniuse
I was pretty sure it was fixed in ie9 though, dunno why
well, TIL, ty @Luggage
 
yea, and I just confirmed via a test
 
Is there a way to destructure onto this?
 
browserstack is very convenient.
 
sure is
 
@phenomnomnominal looks like.. kinda: babeljs.io/docs/learn-es2015/#enhanced-object-literals
the enhanced object literals
well.. maybe tht's not right
 
9:44 PM
Yeah that's not quite it.
 
but you can Object.assign() the result of a destructure
 
I'm basically wanting: { this: { prop1, prop2, prop3 }} = options
 
Object.assign it is
 
Hi @Zirak
 
Object.assign(this, { prop1, prop2 } = options); ?
 
9:45 PM
@FlorianMargaine Yello
Oh, congratulations!!!
 
assuming you dont' want everythign from options.
 
Hmm yeah that's quite nice
 
haha, you have to keep another human alive, now.
 
@BenjaminGruenbaum Does swift not have (>>=) for Optionals?
Nevermind, it's flatMap
 
9:51 PM
@Luggage yeah, we're trying not to kill it
 
Hi @Zirak
 
@Jhawins @FlorianMargaine Well at least Google broke ground in Atlanta this week. Should have fiber within 2 years
 
If a trolley was barreling down a track set by a mad scientist towards five people, but there’s a binary tree that can be reversed to switch the track over to a brain in a jar that says “fizz” when the tree is red/black and “buzz” when the tree is Christmas, what’s the Big O notation of how long it would take an array of N piano tuners armed with M copies of Yelp’s API to determine why manhole covers are round?
 
@FlorianMargaine So cuuuute!
 
10:01 PM
@SomeKittens I'm pretty sure it's 42
 
is este.js a good stack
I hate using the word stack
 
Use heap instead
> The most complete React/Flux dev stack and starter kit for isomorphic functional web apps. Este.js acts as a next-gen to-go everything-but-the-kitchen-sink boilerplate.
Too many buzzwords
 
agreed
but my partner likes it
and I see nothing wrong in it in particular
@FlorianMargaine congrats btw :D
ps are you tired of being congratulated yet
 
> some pictures of the most beautiful baby in the world
but there's only one picture of you
pictures means more than one
 
Omg yeah can we see teh baby and big daddy?
@Mosho your partner?
You're gay?
 
10:10 PM
@copy it does
Oh wait, next line, you already read that
@copy note that there is shorthand syntax that works most of the time using ? so you'd rarely actually use map and flatMap on optionals.
@copy I hate it when people call it isomorphic.
It's like "that word does not mean what you think it means"
 
@SterlingArcher your mother should be able to answer that
 
Ayyyeeeee
wait
>=(
Shes a saint
 
@BenjaminGruenbaum Just like transclusion
 
saint with a taint
 
@SomeKittens did you see Shai's talk?
 
10:12 PM
@Mosho lmao
 
mayyyyyyyybe
 
ok, im out. Bye guys have a good night
 
(Shai is a friend and organizer of ng-conf Israel and JS Israel meetups)
 
@BenjaminGruenbaum Oh right, I'll see if I can use that
 
@SomeKittens you're in for a treat
 
10:13 PM
@BenjaminGruenbaum Did he go to Google I/O?
 
@SomeKittens Yes, but that talk is from ng-conf, why? Did you meet?
Anyway, watch that talk it's pretty funny.
 
@BenjaminGruenbaum I got off an elevator when he walked on
I've seen the talk twice
 
Oh cool ^^
He's a nice guy
 
I just wasn't sure it was him
 
He's a nice guy, talk was solid.
He actually does more improv and standup than coding nowadays I think, won some contest.
 
10:16 PM
@BenjaminGruenbaum Do you per chance know if this works with casting (i.e. foo as? String where foo is AnyObject?)
 
@copy it should work with casting, why?
 
Hmmm. Thanks
 
Sure thing, note that in Swift 2 things got a lot better.
 
It's a bit weird though, as? can cast both Bar and Bar?
 
Yes, kind of like the flatMap you wanted which will return empty if either the original optional was empty or empty was returned.
 
10:22 PM
It's weird because it's polymorphic
 
Yeah, it's weird like that
@SomeKittens Shai says that he got your back
Like, literally he said "Let him know I got his back" :D
 
10:42 PM
@Mosho I asked @SterlingArcher's mum when I was fucking her and she said you're gay
 
10:57 PM
@phenomnomnominal smooth
 
I'm gonna go native. Its been decided but, as long as I can figure it out
 
@BenjaminGruenbaum when are you having kids?
 
@BadgerCat 1.5 years
 
so, an average of 0.75 years per kid
 
11:34 PM
ok.. back to trying to figure out why webpack is being a jerk.
 
ahhoyhoy
 
Anyone here use steamOS?
 
what would you use it for besides steam
 
It's full linux
Runs debian
Was just wondering
 
ohh, sass-loader doesn't respect resolve.alias. known bug.
 
11:44 PM
pfft, dude copies answer then downvotes me stackoverflow.com/a/31062407/1348195
Stack Overflow is so depressing sometimes
 
> Agree, but it is still a way to do this. Modified answer accordingly.
I don't think the goal of SO is to find all the ways you can do something
 
@BenjaminGruenbaum Yay! (I guess?)
 
Copy then complain about array, as if 99% of cases where people have that problem it's because of maps.
 
!!convert 2.9kg to lb
 
11:50 PM
@Shmiddty 6.38lb
 
tiny!
 
@BenjaminGruenbaum upvoated you
 
@BenjaminGruenbaum Would you use Map over {} for string keys?
 
@copy because a Map is iterable, and OP explicitly said he needs multiple requests, and native tools for concurrency would not let him wait for something that is not an iterable, mostly.
But also, because it makes more sense, it's not conceptually an object if the properties are dynamic.
 
@BenjaminGruenbaum I disagree
 
11:52 PM
Not that it's a huge deal, since the keys are in all likelihood array indices and OP is only using strings because of having to because they did not consider arrays of arrays. Just like everyone doing $("prop" + foo)
 
JavaScript (like lua) just uses dictionaries as objects for simplicity
 
@copy you may disagree of course, would you not use an Immutable.Map in this case though?
 
just tried to go to the typescript playground. googled "ts playground"
you guys should try it
 
@BenjaminGruenbaum Yes, but I'd rather use {} than Map
 
@phenomnomnominal You should google lemon party
 
11:54 PM
Because {} is a map for string keys and Map is a map for more
 
is that about the party at @rlemon's house?
 
@copy why? Since OP has to make multiple requests they'd need to go through an array anyway in order to wait for them since objects are not iterable in ES.
 
@phenomnomnominal lol
 
today I moved the weights, the tools, my computer, and the 250lb fish tank.
my body hates me
 
@copy an Object.create(null) would have been better but it's still problematic to use for maps.
Even worse to recommend for maps to people who don't understand the limitations
 
11:55 PM
@rlemon sounds like you need an rlemon party.
 
@rlemon Cold shower
 
magnesium and beer
 
I can dig it
 
tomorrow is the other 250lb fish tank, both stands, and the computer desks.
and bikes.
and then I'm done.
 
@copy whenever you feel like loving on {} for maps, remember all the express exploits where people could crash your server by sending __proto__ as the request method and such.
 
11:57 PM
Hmm, right
Man, JavaScript sucks
 
@copy it's possible I'm being overly defensive here, but I'd rather not give people footguns to play with.
@copy yeah well, if you don't use objects for maps you don't really have that problem.
 
@BenjaminGruenbaum Does that work with objects created with Object.create(null)?
 
Which is what I said in that answer. I also didn't like it when the guy copied my answer, downvoted my answer, claimed he didn't and then started trash talking my answer in comments for no reason.
@copy No, it does not, but then again you don't get the nice literal form (at least until ES6) or all the "goodies" that {} has.
 

« first day (1713 days earlier)      last day (3251 days later) »