« first day (1901 days earlier)      last day (3272 days later) » 

12:00
Not my fault
This chat is poorly designed
crl
crl
I finally found my shit
yea agreed, multiline markdown not supported
@Frondor this chat is fine.
It isn't, in my opinion.
Because you didn't hit control+k?
That makes it poorly designed?
Because you can't post formatted code and also normal text in the same message.
So yeah, it is poorly designed. Deal with it, like it or not xD Don't try hard
12:04
That would require you to highlight all code before hitting Ctrl+k
Which would be worse, in MY opinion
@ivarni or it could support the standard github markdown code blocks with three backticks `
Not necessary, not at all
Exactly
markdown or just bbcode
So there are people who'll sit down and type code into the tiny message box in chat rather than just pasting it from their usual editor? Well, wow :)
Inventing new markdown like things is stupid and makes extending from userland hard (which is important seeing that the targeted userbase is technical). Stack Exchange should really get their shit in place. They already have like 4 variants of markdown across the entire network.
Suppose it wouldn't hurt to support both though
12:09
@towc welcome to the old dev club ;)
crl
crl
wikipedia has also his md variant
I don't usually "copy" the code of my answers from text editors, I write it directly mostly.
so am I
In my opinion, this chat lacks said feature. I should be able to write this, make a "break"
and then
***
Code
//comment
***
you can write first, select all code, cut, write what you want, press enter, paste code snippet, ctrl+k and enter again ?
***
Code
//comment
***
12:12
that said @Frondor if you want to post normal text and code in the same message, just ctrl+k all the message. We are humans and can understand what you meant.
function thisIs (readable) {
    as(well);
}
the chat lacks a lot of features. It doesn't completely get into your way either though
eh, frankly, in the beginning, ctrl+k wasn't supported
!!tell Ninjex sandbox
someone told me that
@Ninjex Please go and play in the Sandbox
12:14
@AwalGarg That doesn't seem to be the proper way to handle code in messages
i have a feeling that you're nitpicking about something which isn't ... important
I just find it wrong, the fact that you have to send separate messages in order to share code here
oh well...
crl
crl
@AwalGarg invalid js, that is not defined :p
I am arguing... What's wrong about that?
12:16
And I don't think it's wrong. I'd even go as far as I'd want to enforce that code blocks are in seperate messages
you are free to argue, but you have used many "I"
@KarelG Oh, well.. that's just like.. your problem man :D
you could have said "it would be more user friendly if the comment with text and code got formatted separately"
see, there is no "I"
crl
crl
12:18
just saying formatted text is for code usually, gets confusing when you mix it with actual comment
@AwalGarg that person often appear on imgur too. Is his broken english intentional or ?
@KarelG intentional
@KarelG That means you understood what I wanted to say... Hence you're now simply bitching. Just stop it ;)
Nothing happened
crl
crl
my broken english is also intentional :)
12:20
i'm just saying that if you're in argument, don't speak always in first person. That's not good
@KarelG There isn't any "rule" like that in argumentation. I can perfectly be subject of my own examples, while arguing
That's the main reason why I started all this with a "in my opinion".
crl
crl
I hi my eye
I hi your eye too
heh
my stress has stress
Have you ever noticed that every Indian you read on internet, has something to do with programming/mobile development? I mean, I'm member of some facebook groups about angular/web development and such, and they are infested (in a good way) of Indians xD
12:33
@Frondor There are only two kinds of people in India.. doctors and software engineers
hahaha that's hilarious! Pick a random member: fb.com/groups/AngularJS2/
there are a lot CS students, there in india
There are 1.3b people in India
yes but relatively seen (in %)
also, there is a lot focus on quantity i think
There's no focus on quality
12:40
our company had a lot contracts from some international companies whom hired an indian company to write software for them. Most of the times, it ended written badly or even in old versions :/
I remember when my interest on websites became a thing... I started building "waps" using wapka.mobi services and own markup... Like 80% of wap sites were Indian back then.. They tend to love mobile technologies
eventually it led to a cost. some COO's literally thought that they would get good quality for that low price. Then they had to raise the budget to contract companies from Europe/USA to "fix" these software
although, there are good indian programmers. But they end in the shadow of that large group of poor skilled indian devs :/
@pootis Jesus, I didn't realize
@BenjaminGruenbaum why java 1.8 is better than python, for FP?
what is wrong with you? Most of the SICP courses use LISP/Python to demonstrate FP? Review MIT and UoC syllabus.
12:59
why is justin beiber a better actress than chris hemsworth?
So original
13:11
@overexchange these syllabus got written from the period that java 1.8 wasn't even mainstream i think
In ES2015, there's no way to make an import an expression, right ?
Here's the related question:
1
Q: NodeJS debug module with ES2015

Mateus FelipeI am migrating to ES2015 and I found it fantastic, but I am having a little issue on importing debug from Node. In ES5 I do this way: var debug = require('debug')('project:server'); In ES2015 we use import keyword instead of require(module), but it works a little different, so I can't do this:...

crl
crl
that would be fun if it was possible, like importing a json, or something
@AwalGarg Did you get your swag for the 10m giveaway?
@overexchange lisp is great for fp. Didn't say otherwise.
@overexchange because it has betteranonymous functions, streams etc.
@bluefeet I didn't
:P
13:24
@bluefeet I want swag, my shirt's logo is all cracked up and I'm about to hit 100K anyway :D
I got 3 t-shirts for getting 100k :-)
1 SE, 2 SO
@BenjaminGruenbaum stop washing it, nerds don't wash t-shirts
@FlorianMargaine I wash it :/
@AvinashRaj oh wow, you have a lot of rep
I only have one shirt
@BenjaminGruenbaum 2 t-shirts wrongly sent by SE..
25
Q: May I know the reason for getting second T-shirt?

Avinash RajToday I received another T-shirt from your side (second time). I don't know the reason for this. Stack Overflow gave me the first T-shirt for getting 100k, but I don't know the reason for the second. I think I'm mentioned in this content, 10 Million Questions - Let's Share Some Stories That the ...

@FlorianMargaine then answer this
76
Q: Choose your own swag - the craziest contest idea ever! What were we thinking?

animusonTired of seeing all the Stack Overflow swag everywhere? Want something different? Well, now's your chance! For a limited time only, you could have your very own shot at receiving one swag item - your choice - anything we currently have available! What do I have to do? Write us a story about why...

13:29
Is if condition a type coersion from object type to boolean type? below..
@bluefeet I got an email saying I'd receive the swag for the 10m giveaway, that was about 3 months ago :)
if ( $( "div.foo" ) ) {
    ...
}
Wait, apparently I'm eligible for a T-Shift from meta.stackoverflow.com/questions/303045/… as I was mentioned there twice by Bergi. @bluefeet is that the case?
@bluefeet fair enough
13:31
@BenjaminGruenbaum shrug I didn't ask that question :)
@bluefeet this meta.stackoverflow.com/a/303653/1348195 and meta.stackoverflow.com/a/303504/1348195 - I was mentioned by two separate people. Do I get two shirts :D?
@bluefeet So can I actually expect mine to arrive soon?
@FlorianMargaine i know an employer of this company, whom works in the mobile division that always works with red t-shirt and black pant. I never have seen him in other clothing :p
@BenjaminGruenbaum I get two shirts for mentioning myself :)
@BenjaminGruenbaum I'm going to say probably not, but who knows (not me)
@KendallFrey maybe
13:35
I haven't been home for two weeks, finding a shirt in the mail when I get back would be ace
@bluefeet who do I talk to about the two shirts I'm entitled to :D?
In addition to this, we will contact the author of the answer that you mention and offer them the following:
You were supposed to contact me :D
@BenjaminGruenbaum post a comment on the question
@FlorianMargaine Oh, you did get an email ? I don't think I even got one...
@DenysSéguret yeah I got an email from Tim
Anyway, the winter is rather hot, maybe that's why I won't receive anything to wear...
13:44
@Zirak ping
@bluefeet I could have done that myself :P
@BenjaminGruenbaum So you asked a "do my work for me?" question.
@bluefeet well, you're SE staff and a community manager. I asked you a question that's related to you being a community manager and the site's community relations and you basically told me it's not your problem. So there's that :P
That's fine, it's just not the response I expected.
@BenjaminGruenbaum stop trolling the mods and get @Zirak to respond, dammit.
@MadaraUchiha give him a phone call.
You have his number.
13:51
Also, @Mosho ping
I think setting up a beer at the same day won't work very well. What about deciding right now that we're going to have a beer next Tuesday for example?
Today is version day too, so there's that.
ugh, I hate adding features to the live shop on this setup
I need some sane CI / build process, this just makes me nervous
@BenjaminGruenbaum Hmm, I don't recall saying it's not my problem. I pointed to an answer that we had some delays with the swag. If you want to know about the "two t-shirts" you think you're entitled to then you could post a comment on the question or even send an email to team@. I didn't handle the swag for the giveaway, I pinged Awal because of an earlier conversation I had.
13:53
I basically need to merge into master and sync changed files by hand to the live server right now. That's just no fun
!!> +_
@BenjaminGruenbaum Next Tuesday it is then.
@towc "ReferenceError: _ is not defined"
weird...
when I open a new tab there is a _ object...
@bluefeet no :(
13:54
Assuming the others are up for it.
@towc wat
I'm on chrome
could be a plugin
@AwalGarg alright. Well Tim updated his answer today should be in the new few weeks. We've had a few problems
@bluefeet did I miss the answer about the delays? I don't recall you referred me to it, also - I was not contacted at all (it's not that SE talked to me and then said the swag is on the way and didn't come, I was just never contacted).
@bluefeet Stack Overflow should really quit this QA business and get into swag dealing more seriously.
@Frondor jQuery >=|
13:56
Clearly more profitable.
that's the console as soon as I open a new tab...
@towc Sounds horrible.
I hope it's not anything malicious
@MadaraUchiha I know, it's the real winner here
@towc disable adblock/ublock - that's where these messages are from.
13:57
oooh
ok, makes sense
@BenjaminGruenbaum Not from ublock.
Hmm, it's an extension I think.
@bluefeet Awesome, thanks!
@towc don't think so. I think Chrome uses it on the splash page
@MadaraUchiha yeah, ublock is a little different, but definitely an extension
13:58
@towc Almost surely an extension.
@MadaraUchiha -_- :P
also @bluefeet really cute avatar + hat combo :)
probably not, because it's gone when you actually load up a page
@AwalGarg I wear a helmet over my real hat.
How do you tilt a hat?
13:59
bluefeet, benji, and martijn pieters have the best hat placement ever till now :D
^_ that's loaded on the Chrome "new tab" page
@BenjaminGruenbaum you looked at XS6's es6 support?
@MadaraUchiha you suck lol
14:01
@SterlingArcher Problem?
Yeah I don't have a mac
@AwalGarg yes but I never tested it or used it or anything like that
@BenjaminGruenbaum I tried to see how I can compile a shell only version but they don't seem to have good docs. Also don't state anything about modules which is something I was really wishing for. Let me know if you end up doing anything with it :)
hmm
cool, probably not
14:17
@SterlingArcher : you as archer fan ... explain this
Um. Tentacle porn
O ...
Kreiger be freakay
k
currently checking this gallery: imgur.com/gallery/BdHxB
How does jon skeet have almost 1 million rep
Wat
14:18
@Cereal he has a lot time ...
and was here since the origins of SO. So he's actually a Big Bang. With a lot energy to answer questions
@SterlingArcher Hallucinations, sleep paralysis, sleep apnea. Poor guy
Sounds like that reddit post, where the guy had carbon monoxide poisoning due to a leak
hallucinating, paranoia
PayPal Conversion Rate as of 30-Dec-2015: 1 Canadian Dollar = 0.700975 U.S. Dollars
Canada please
I've had sleep paralysis before. Was terrifying because it was combined with a dream where I heard my door open and something touched my shoulder. Freaked the fuck out when I "woke up" and couldn't move for a minute
I've never had it, thank god
14:26
holy crap.. my laptop has PrtSc right between Alt Gr and Ctrl and every time I accidentally fat-finger it Ubuntu flashes the entire screen and scares the shit out of me :(
I woke up with a leg cramp once
that's a weird location for prtSc
I had sleep paralysis a million times. It's fun.
NOT
@KarelG Indeed, but Lenovo seemed to think it was a good idea
I'll just have to disable it I guess
0
Q: How good is support for createMediaElementSource() in Safari?

AspergerI am having a difficult time finding information about createMediaElementSource() support. The mozilla MDN shows support starting with version 6.0 but caniuse.com states that safari apparently does not support it. So what is true? Does safari support this function? If yes, starting from which ve...

14:35
@Cereal only once? lucky bastard
Indeed. I get migraines and heat rash daily though, so it balances out
994 Close Vote Reviews.. 6 more tomorrow and I get a gold badge <3
I got two famous question badges in one day recently
now i've got this awesome beard-hat
Whats the difference between these imports?
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/operator/map';
vs
sup nerds
14:51
mah dick
crl
crl
import 'yourdick' returns undefined
It is not accessible globally
what a comeback
crl
crl
:)
@crl: I didnt get that
14:53
And you never will
46 helpful flags
@KendallFrey why
why what
y u no flag
Because I don't visit main
and when I do, I vote, not flag
import {thedick as wellyouknow} from 'shirley';
14:58
Do you even have a JS silver badge?!
@pootis weak
@SterlingArcher no, problem?
Problem >=|
@AwalGarg Indeed, it is.
do you want to be my enemy
because that's how you get to be my enemy
15:00
RAMPAAAAAAAGGGEEEEEE
hyperventilation
yeah, I vote that a gold javascript badge is the minimum to be a room owner
whoa guess i left this open last night
!!tell SterlingArcher doyouwant to be my enemy
@SterlingArcher Do you want to be my enemy? Because that's how you get to be my enemy.
I like it
15:03
wat
problem?
crl
crl
!!doyouwant ants
@crl Do you want ants? Because that's how you get ants.
!!doyouwant crl
@Cereal Do you want crl? Because that's how you get crl.
15:04
giggity
!!doyouwant me to be banned for spamming
@KendallFrey Do you want me to be banned for spamming? Because that's how you get me to be banned for spamming.
crl
crl
!! doyouwant more spam
!!doyouwant me to get laid
@KarelG Do you want me to get laid? Because that's how you get me to get laid.
15:07
yes milady * fat wink *
var a = [1,2,3,4]
var b = ['a','b','c']
Is there a nice way to create an object {1:"a" ...} using like spread, or destrcuturing?
will it be {4: undefined}?
yes
4 will actually be null, sorry. Just trying to think of ES6 ways to do this
Yeah, that's called a zip operation, right?
heh, he's similar question
yes
15:09
a.reduce((r, c, i) => r[c] = b[i], {})
Hi all
var c =  {};
a.map( ( n, i ) => c[n] = b[i] );
@ShotgunNinja well, until you try to make an object
I don't get it. Are the indexes not good enough?
@towc ew side effects
15:10
@KendallFrey ?
ew you too
what side effects are you talking bout?
the normal kind
15:11
@towc you're changing an object in the closure
it's worse when you're using it with what's normally a pure function
@towc it's like using a global variable at a smaller scale
I'm not sure I see anything wrong with that :/
Mind explaining why is it bad?
not how, why
He likes local vars better it seems.
crl
crl
side boobs effects
15:14
@towc you're changing a variable that is out of your scope
crl
crl
and using map for forEach
@towc it's easy to understand and reason about code with no side effects
considering the lambda to be it's own scope?
every function is a new scope, so yes
not saying your code is bad, just inflating my Haskell-penis
15:15
and me saying why reduce is better
@KendallFrey yeah, you have to show it to compensate its tininess
@ShotgunNinja eeeeew
in all honesty I don't see much difference between my code and yours. I know I'm wrong, just don't know why
@towc just the global. that is it
c is the global?
crl
crl
and your b isn't defined
@crl b and a are the initial arrays...
crl
crl
I can't criticize, I have also many side-effects, hard to do without with events and shits
var a = [ 1, 2, 3, 4 ],
    b = [ 'a', 'b', 'c' ],
    c = {};

a.map( ( n, i ) => c[n] = b[i] );
the objective is to have an object like that, right?
I'm sorry if I sound dumb because maybe I am, but I still don't see it
crl
crl
a has 4 entries b 3
15:19
@crl c[4] = undefined, as planned
crl
crl
ok
I'd create a more pure function that does this object zipping, like Florian's
( ( a, b, c ) => a.map( ( n, i ) => c[n] = b[i] ), c )
Hi Zirakowait
yay, 2 nested functions instead of one
crl
crl
also why not .forEach? it's longer?
15:22
forEach is slower
const zip = a => a.reduce((r, c, i) => r[c] = b[i], {});
@FlorianMargaine well, you no longer have closures
you can now use zip everywhere
@FlorianMargaine that's a nice formula, but i tried that to understand what you did. But ... i get undefined ?
...
crl
crl
@KarelG reduce has 4 params in cb, the 4th is the array
15:24
so it doesn't work for all situations ?
user5020521
may I ask you why this is not working?
user5020521
( function($) {
 $(document).ready(function(){
                   $('#first-tooltip').tooltip({trigger: "click", placement: "right", viewport: '#viewport', html: true, title: "<div style='background-color:#192F4D;color:white;text-align:justify;padding:19px;font-size:20px'><p>Briganti Farm is eager to welcome you to our wonderful SPA and last but not least you will enjoy our 0KM healthy food our cold-pressed extra-virgin olive oil and enjoy to stay here during the jubilee of mercy</p><button type='button' class='btn btn-warning'>Hide</button>"});
(see full text)
dat unreadable section
$(".btn-warning").click( <---
user5020521
is it an error?
@FlorianMargaine wait, that's not the generic zip function, right?
what is b there? I didn't understand that code :(
15:26
@Riccardo990 if it was an error your console would tell you
crl
crl
10 mins ago, by towc
@crl b and a are the initial arrays...
user5020521
damn right my console can't help me
oh, I guess florian meant to take b as an argument along with a.
crl
crl
would be better indeed
!!youtube bobaflex im glad you're dead
@Loktar @BenFortune @GNi33 interesting song
@crl here is how I'd implement zip/zipWith: jsbin.com/daqozisuso/edit?js,console,output
crl
crl
nice, you choose how they are zipped
like (x, y) => ({x,y}) too
Basically I won't use reduce for it. It doesn't make much semantic sense either, dunno why florian did it :-P
I am trying to use parse query to fetch records with no value in certain field, but cant figure out the query parameters
15:38
@rkmakwana 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.
user5020521
@SterlingArcher what did you mean?
Did you open your console
user5020521
of course I did it
Did it give you an error
user5020521
no it doesn't
user5020521
15:42
i can't understand what and where I'm doing wrong
That's what I meant by "if it was an error your console would tell you"
You didn't give us much to go on. "Not working" doesn't explain anything. Please make a reproducable example
user5020521
do you need a fiddle?
I don't, but you'll get more answers if you do. As is that code isn't fun to read
const zip = (a, b) => a.reduce((r, c, i) => r[c] = b[i], {});
@AwalGarg should be this, sorry ^
user5020521
I see but the above code is all I have nothing else
15:45
does someone know a website to check an url in a sandboxed environment ?
@FlorianMargaine I still don't think that's correct. c could be non-primitive, so you shouldn't be using it as a key.
38 mins ago, by Sterling Archer
var a = [1,2,3,4]
var b = ['a','b','c']
user5020521
as a matter of fact I've found a w3schools documentation and tried to emulate it on my own
crl
crl
would even do:
function zip(a1, a2, cb=(x,y)=>[x,y]) { return a1.map((el,i)=>cb(el, a2[i]));};
can anyone help me with authentication in nodejs?
15:46
@MuliYulzary 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.
@crl default parameters
crl
crl
ah yes
then use them
now it looks like a random collection of symbols like perl, gratz.
crl
crl
:))
15:50
@FlorianMargaine isn't reduce mutative?
Does it change the array it's iterating
Wrong word?
Generally we call those methods "destructive".
15:51
the word should've been "destructive" in this case, but no, reduce is not destructive
Or dangerous
it returns a new... whatever you return
Raynos is there
#1 is a php room regular

« first day (1901 days earlier)      last day (3272 days later) »