« first day (1873 days earlier)      last day (3089 days later) » 

4:00 PM
var foo = {
  a: 1,
  b: 2,
  c: 3,
};
foo[Symbol.iterator] = [][Symbol.iterator]

for(key of foo) {
  console.log(key);
}
 
Maybe it's an issue with babel then? mdn does look to say like it should support objects as well as arrays.
 
because it isn't "objects" inherently.
you can make an object iterable
 
user1596138
@Nolski NO it clearly states in the first paragraph ;P
 
I mean, it still doesn't work because I suck and don't wanna make a full demo
but you can see what I'm saying I hope
 
user1596138
> The for...of statement creates a loop Iterating over iterable objects (including Array, Map, Set, arguments object and so on)
 
4:00 PM
oops, how did I miss that
 
iterable objects -- objects can be made iterable.. which is why I said "no" originally
 
user1596138
Makes sense
 
Hi guys, just a quick question.. (Sry I really don't find the answer)
In Regex; how do you capture multiple time the same thing ?
See -> https://regex101.com/r/hA8uD2/2
 
@Baldráni without looking at your link, you mean like \d{2} for two digits in a row?
 
@Nick not realy
Still that's an idea
 
4:04 PM
Well, then refine your question
 
user1596138
@Baldráni The "g" flag
 
Na not working.
I'm looking to match like multiple word separate by symboles
 
@Baldráni You forgot global.
 
user1596138
 
/g
 
user1596138
4:05 PM
@Baldráni ^
 
user1596138
The g flag.
 
Ho god
Thank you !
 
Yes, I'm the ho god
 
@Nick God Becky, you're such a sloot.
 
flagged
just kidding
 
4:06 PM
:obligatory periodic message to the room:
 
Ryan!!!!
 
user1596138
Hi @RyanKinal
 
How's it going folks?
 
better now that you're here, bb
 
Awww <3
 
4:07 PM
hey @RyanKinal
 
How have you been @RyanKinal?
 
@RyanKinal :obligatory abuse due to periodic visitation:
 
@SterlingArcher Not bad. Can't complain. Same old same old lol
 
Busy with work?
 
Yep. Though hopefully I'll be back on client-side code at some point soon.
I've mostly been doing server-side stuff... still in VB/ASP.NET... which is annoying
Any interesting projects happening for you folks?
 
4:10 PM
So nobody had any recommendations for computer magazines. How about sites? Anyone got some they routinely frequent for good articles? Would like to add some reading material to my rotation of things I do.
 
HN
 
what is this "magazine?"
 
too drunk to bowl
 
4:12 PM
Drunk people are fun when you can't hear them
 
didn't think that was a thing
 
lol
 
what is the difference between catch(err){console.log(err)} and catch(function(err){console.log(err)})
 
@AwalGarg Hacker News?
 
Yes
 
4:13 PM
@nickB catch isn't a function in traditional js, it is a keyword -- the latter is from a promise implementation??
 
@RyanKinal working on a data model to predict the cost of a physical attack on events such as sports games, government events etc
 
@nickB One is a syntactic construct, other is a function call.
 
Pretty fun
 
@SterlingArcher Whoa. That's pretty intense. Sounds like a challenge.
 
Definitely is, and I love it. :D
 
user1596138
4:13 PM
@nickB Second one defines an anonymous func and calls it, first one just runs teh codez
 
Awesome!
 
What kind of cost? Monetary or something else?
 
Monetary yeah
 
@rlemon and the former?
 
try/catch block - if an error is thrown in the try, you catch it in the catch
 
user1596138
4:14 PM
@SterlingArcher Hey that sounds interesting can I come haz job
 
user1596138
Jk lol I just want to be closer to you @SterlingArcher
 
so i can't run the former after a promise implementation?
 
lol you don't wanna live in VA
 
@nickB what are you trying to actually do
 
@nickB you can
they're totally different things
 
4:14 PM
^
 
one is a catch callback for a thenable, the other is a language-level try/catch
 
user1596138
@SterlingArcher Maybe in a year or two
 
@ssube, is the problem I was talking about before a good application for Map?
 
another Observable question: let's say I have a map function where some of the map results may not need to talk to a database, and other results need to make an async database call. how would you handle this (in RxJS)?
 
i see
 
user1596138
4:15 PM
But I can't do the suit and tie BS. It's so... Manufactured?
 
but the result would be different?
if i run the language-level try/catch after promise?
 
I only wear suits on interviews. For work I wear comfy slacks (doesn't feel like dress pants) and a tucked in button up
 
@SterlingArcher Sounds interesting. How are you approaching it?
 
@corvid what
 
and prints the error?
 
4:16 PM
I like jeans, but i look damn good in business clothes
 
why not learn the data structures and design patterns instead of taking two and applying them to everything?
@SterlingArcher that's the point of them :P
 
:D
 
@AwalGarg @ssube is the problem I was talking about before (source)
 
@SomeGuy can't go into too much detail, but mainly historical events, location, population mass, etc
 
user1596138
@SterlingArcher I'm currently in some nice Levi's jeans and a long sleeve thermal shirt. And my boots lol.
 
user1596138
4:17 PM
I wore a button up once
 
lol I have dress shoes on that when I walk on the tile, sounds like I'm wearing high heels
Super flossy
 
@SterlingArcher No, I was wondering what kind of model you were using (since I took a machine learning course recently)
 
user1596138
Oh man that's hot
 
!!work or risk my life or chat
 
@towc work
 
4:17 PM
@AwalGarg hey screw you, buddy
 
I like the way you think cap ;)
 
@ssube <3
 
user1596138
@towc You have a job?
 
@AwalGarg -.- <3
 
@SomeGuy angular model, using CSV data inputs to run the model through an algorithm to produce a risk score
anyways, i'm hungry as fuck. gonna take an early lunch I think.
 
user1596138
4:18 PM
!!dark chocolate or dark chocolate or dark chocolate or dark chocolate
 
!!afk vape n foods
 
@Jhawins Cheater cheater your house is a heater
4
 
user1596138
!!afk chocolate
 
user1596138
Aww
 
@Jhawins best thing ever: met this guy online who absolutely adhores my animations and asked me to do any animation I want with a certain style and he'd pay me a lot
as in, a lot for a student
 
4:19 PM
@towc That's awesome! Congrats!
 
thanks :D
 
@towc hurray!
 
what do all the letters mean in this diagram?
refreshClickStream: ----------o--------o---->
     requestStream: -r--------r--------r---->
    responseStream: ----R---------R------R-->
 suggestion1Stream: ----s-----N---s----N-s-->
 suggestion2Stream: ----q-----N---q----N-q-->
 suggestion3Stream: ----t-----N---t----N-t-->
   gist.github.com/staltz/868e7e9bc2a7b8c1f754
 
global state. the best kind of state.
 
scope is for wimps
 
4:21 PM
@NathanJones I would question the dashes first. There are more of them.
 
@NathanJones that gist describes it well enough
 
AWAL MAKE ME RO!!!
 
@AwalGarg I can't find the description of what they mean
 
user1596138
@towc Well cool
 
@nick I can spin you a userscript that makes you an RO for yourself.
 
4:22 PM
@towc you don't have to call him Daddy right?
 
user1596138
@AwalGarg what
 
all of the examples before this use a b and o, and then it just starts using all of these other letters
 
@NathanJones you have to translate it
refreshClickStream: ----------g--------j---->
     requestStream: -T--------A------------->
    responseStream: ----h---------y------L-->
 suggestion1Stream: ----------m---0----U-o-->
 suggestion2Stream: ----e-----E---u----S-5-->
 suggestion3Stream: ----------!--------t-T-->
try now
 
@AwalGarg but then nobody else could see how big my e-peen is
 
@Jhawins yes?
 
4:23 PM
@Loktar dudeman lives in LA, I wish I could call him daddy ;)
 
haha
 
user1596138
@AwalGarg What would the userscript do I'm jus curious
 
user1596138
@towc phrasing
 
wait we can just add RO's now?
 
@NathanJones as I am seeing it, N is described just below that blob of text. Rest are follow ups from similar blobs before it.
 
4:23 PM
no more meeting required, woot!
 
@towc LA is probably the most common place to call someone daddy
 
@Loktar make me RO buddy
 
@Loktar we have to SWOT it first tho
 
user1596138
@Loktar Well we established that when lemon added me ;P
 
SWOT?
 
4:24 PM
@Jhawins make his name italics, and let him replace his own messages with a "trashed" message.
 
@Jhawins it wasn't lemon that added you
 
hey
 
it was Kendall
 
user1596138
Oh who was it
 
user1596138
4:24 PM
Right. I forgot
 
what the fuck how is Kendall an RO
 
he has been forever :p
 
I'm witty, and smart
 
user1596138
Kendall has been an RO for at least like 3 years lol I think
 
4:25 PM
tragic
 
Kendall is bae
 
I was going to add my boy Dugger
 
make me RO I'm better
 
but idk if he wants it
 
he does
 
4:25 PM
Nah
 
@nick nah ur just bitter
 
wants it bad
 
user1596138
@Loktar At this point I don't know if @Nick is @Nick or if @Nick is @Nick
 
I want it hard
 
!!s/tte/gge/
 
4:26 PM
@nick That didn't make much sense. Use the !!/help command to learn more.
 
sonofabitch
 
trailing / matters
 
what is this windows
 
Jul 25 '14 at 13:19, by Zirak
@AwalGarg BITCHES, LEARN THE SYNTAX
 
@nick @nick nah ur just bigger (source)
 
4:26 PM
what do the s q t letters mean there? the rest makes sense, i think
 
Jul 25 '14 at 13:20, by Zirak
TRAILING SLASH MATTERS
 
@KendallFrey dark
 
@NathanJones suggestions of various levels, I am guessing
 
Has anybody looked at Angular 2? Any opinions?
 
now we all know how kendall gets banned
 
4:27 PM
 
Mmm. Black olives.
 
the number of olives on that pizza is too damn high
 
/me doesn't actually like black olives but think it's funny
 
green > black
 
4:28 PM
lol
 
dark green > green
 
@AmericanSlime mmm
 
Kalamata > all
 
@AmericanSlime don't get the joke...
 
@AmericanSlime i called the cops on you
 
4:29 PM
@AwalGarg that doesn't make any sense with american colors
 
going to hacker jail
 
@ssube my first chat suspension also involved blacks
 
@ssube america is colorless
 
@ssube rip
 
user1596138
@AmericanSlime lol back in the day for shitty sites you could literally just change the priuce sent in the request
 
4:29 PM
@KendallFrey that doesn't surprise me at all
 
@AwalGarg america is freedom
 
!!afk dine
 
user1596138
/me bought $5M runescape gold for $0.01
 
@AwalGarg no, america is the land of all the colors
except dark green
 
@ssube Orc Lives Matter
 
4:30 PM
speaking of pizza
 
@ssube is that a gay reference? Or is it actually a thing?
 
@Loktar not according to Orcs Must Die
@towc what?
 
@ssube There are more colours than just red white and blue
 
land of all colors..
=rainbow?
 
@ssube They matter, but not in a good way
 
rainbow in politics is either peace, kids or gay rights?
 
@towc yes he is
 
@towc There are plenty of colors you can't find in a rainbow
 
@towc wat. Stop being weird.
 
Including every human skin tone
 
4:31 PM
@KendallFrey purple doesn't exist
 
@KendallFrey they are in the rainbow
 
@rlemon this is a fact
 
@Loktar they are not
 
@Loktar Where's black in the rainbow?
 
doesn't look like america promotes peace too much, and I don't think one would publicize it as the land for kids to come...
 
4:32 PM
@KendallFrey black isn't a color
neither is white
 
@KendallFrey close your eyes. there it is
 
OH IT'S ON NOW
 
hey
guys
 
@KendallFrey any color is black
 
@Loktar technically white is all colours. black not being a colour I can agree with.
 
4:32 PM
@towc nobody publicizes anything as "the land for kids to come," unless you want to end up on a watch list
 
That's racist.... (seemed appropriate)
 
> The answer to the question - "Are black and white colors?" - is one of the most debated issues about color. Ask a scientist and you'll get a reply based on physics: “Black is not a color, white is a color.” Ask an artist or a child with crayons and you'll get another: “Black is a color, white is not a color.” (Maybe!)
 
@ssube which is why the only option left in my head was gay...
 
@rlemon so a white screen isn't white?
 
I thought black was absent of color, or all colors mixed together.
 
4:33 PM
@AmericanSlime latter is white
 
@towc rainbows aren't automatically gay bro (unless they were born that way, then it's cool)
 
@KendallFrey you're trying too hard but still failing
how is that possible
 
@towc not in a subtractive scheme
 
black is absence of all colors
 
@rlemon how is what possible
 
user1596138
4:33 PM
@AmericanSlime There is a lemon juice container on the ground under the sink in the bathroom.
 
@Loktar Most artists will agree with the scientist. White paint is super common, black is not.
 
@towc actually no, black holes are as black as a thing can be and they have a color
 
if you think about colors in an hsla colorspace you can see the rianbow at every layer and there is also white and black
so as far as I'm concerned black and white are colors and they belong to the rainbow
 
@KendallFrey what about super black carbon materials?
they've come up with a few that are really really black
 
@ssube less black than black holes
 
4:34 PM
@Jhawins You sure that's lemon juice lol
 
user1596138
Black holes matter
 
@KendallFrey how can colour be measured when light cannot escape?
 
@towc I dunno, I don't think black gets along with the rainbow very well.
 
what you mean is "the outside of a black hole has a colour"
 
4:36 PM
@rlemon plenty of stuff escapes from black holes
 
Brain is starting to hurt with these questions.
 
@ssube Yeah I escaped from Kendalls mom last ngiht
 
@rlemon It doesn't "escape", it's emitted
 
user1596138
@towc lol funny how that's the notion. That damned media, always pretending.
 
@ssube they absorb all of the colors, and none is left out, you hopefully know that. You could say it's black, but you actually just see lack of other colors
 
4:36 PM
@KendallFrey es-cop-ay
 
Where's the obligatory "how much does a shadow weigh" lol
 
am I crazy or is JS crazy?

'1.1.1'.split('.').map(parseInt)[0] == parseInt('1.1.1'.split('.')[0]); // true
'1.1.1'.split('.').map(parseInt)[1] == parseInt('1.1.1'.split('.')[1]); // false
'1.1.1'.split('.').map(parseInt)[2] == parseInt('1.1.1'.split('.')[2]); // true
 
!!youtube how much does a shadow weigh
 
@KendallFrey are you talking about Hawking Radiation?
 
4:37 PM
thank you vsauce, moving on
 
lol
 
@rlemon yes
 
@towc some is always left over, so it's a debate over which things/materials absorb the most light
 
user1596138
Speaking of Kendall's mom I tried to finish downloading that porno of her last night but the file size seems to be neverending
 
@CuddleBunny parseInt takes two parameters. What's the second parameter or a .map? ;)
 
4:37 PM
she's expanding constantly
 
@towc it can take two params
 
@ssube black holes don't let any light escape..
 
@CuddleBunny JS is crazy
 
user1596138
Yea I guess you have to download multiple videos and watch them in tandem because they needed such a wide angle
 
@towc black holes do not capture everything
 
4:38 PM
@ssube ok, but if the second one is present it will use it
 
i will leave now
 
@CuddleBunny why not both?
 
that's a very old theory about how they work
 
@ssube but they capture light, hence color
 
@towc most of it
 
user1596138
4:39 PM
You need a 390 degree lens
 
@CuddleBunny But seriously, map provides index as a second argument, and parseInt expects radix as a second argument
 
so the debate is still valid
 
@ssube "visible light"
 
@ssube Where are you going with this
 
which is darker, a black hole or a super black material?
 
4:39 PM
a black hole
 
@KendallFrey I'm trying to figure out wtf towc is on about
 
1 is not a valid radix and the parseInt("1", 1) produces NaN
 
Ah, good catch. Thanks guys
 
@ssube I could say the same about you
 
@ssube same thing as what kendall is about ;)
 
4:40 PM
hey you owe me money @towc
 
@towc but he is making sense
 
user1596138
 
@JackSmith ?
 
0
A: How to push values from .each() to one array in jQuery?

Sterling ArcherObligatory vanilla answer using ES6 var y = []; Array.from(document.querySelectorAll(".section")).forEach(x => y.push(x.getAttribute("data-test"))); The issue you're running into is you're resetting the array y upon each iteration, thus removing previous indexes. Array.from() converts the Nod...

 
@KendallFrey to counter all of that (now that I've done 4 minutes of googling) can you say the "black hole" has a colour / emits things when all of this happens at/near the event horizon?
 
4:40 PM
suck it jquery
 
@KendallFrey I'm just curious what is the darkest thing in the universe, besides lemon's soul
 
??? i don't know what i am talking about @towc
 
@rlemon well, but do you agree that at least a part of the black hole (core of it) absorbs everything?
maybe at the event horizon, but that's not relevant
 
@ssube the coldest black thing, which is probably a black hole
 
@towc if the event horizon is defined as the threshold of which there is no return, then yes. I tend to agree there.
 
4:42 PM
@rlemon When all of what happens?
 
user1596138
@SterlingArcher Don't be that fag bruh
 
and it is relevant because we're nerds arguing semantics
 
user1596138
> Using ES6
 
user1596138
All you did was use the arrow func syntax xD
 
@ton.yeung Small black holes are hot, big black holes are cold
 
4:42 PM
@rlemon fair enough ;)
 
I think we can settle this by all going home and watching Event Horizon
it's a great movie
so spooky
 
Nuh uh! I used Array.from as well
Plus non-jquery
 
user1596138
@SterlingArcher oh you did .from. Sorry I thought you were just doing the arrow and being all like it's better this way bruh
 
@rlemon stfu nerd I'll 420 noscope ur ass
 
lol well arrow is still better than jquery
 
4:44 PM
@SterlingArcher i dunno man, that show is pretty awful
 
user1596138
Well it's just sugar lol
 
I like that show!
Felicity is hot
 
user1596138
OP did ask specifically for jQuery... /me waits for him to berate you
 
Ugh, codepen is really bad for writing recursion code
 
user1596138
4:46 PM
I'm down
 
user1596138
Oh wait OP is a girl that's not appropriate lmao
 
!!s/codepen\s/code\spen/
ugh
what?
 
how does that get flagged...
 
user1596138
What got flagged
 
4:47 PM
> You cannot counterflag your own message
lmao
 
lol what
 
what got flaged?
 
user1596138
What was it
 
Who flagged?
 
WHODUNNIT?
 
4:48 PM
This is why I need more rep, to see chat flags
 
Nick and I got flagged lol
 
What for?
 
and no one is surprised
 
@Mike it was you wasn't it
 
saying fuck apparently
 
user1596138
4:48 PM
Meh
 
can anyone tell me what is wrong with me? Wherever with whoever I join a discussion board or even in fb comments, when there is a discussion going on and I also share my point of view which is absolutely alright to do i think, then in the end, people tell me stop preaching etc etc. I mean it's very humiliating and I don't even know what I preached. I just share my opinions. Is that preaching?
And it's not the first time
 
@nickB yes, stop preaching
:P
 
always this happens
 
user1596138
You're probably being preachy.
 
it's very embarrassing. i feel embarrassed.
 
4:49 PM
People typically don't care to hear others elaborate their viewpoints; generally, most people are just looking for either approval or rejection
 
Then you should find a new strategy for communication that doesn't blow.
 
I may be suspended in a moment lol
 
@ShotgunNinja maybe you are right
 
It's considered weird to have a developed opinion on anything
get with the program
 
user1596138
@SterlingArcher Why? What happens when you move a flagged message to a different room?
 
4:50 PM
but my pov is not an offense or something like that. it's just that what i think i write. why do people get offended by that i have no idea
 
@ton.yeung that is beautiful
 
Nothing lol it still gets flagged
It has like 5 flags on it but I think it got invalidated
Ah somebody doesn't like me
They're flagging everything I'm saying
 
user1596138
Ugh doesn't someone have a script for this
 
user1596138
@rlemon
 
@SterlingArcher wait, you get flagged for saying fuck now?
 
user1596138
4:52 PM
/me kick-mutes @Nick just in case it's him
 
@nickB duty calls?
 
I agree that lounge was over the line but srsly?
 
@SterlingArcher Why would sterling archer have enemies?
 
what duty calls?
 
You can get flagged for saying anything lol but somebody in the transcript may not like me too much lol
 
@Cereal he's only like the worlds greatest spy in the world
 
That comic is called "duty calls"
 
user1596138
Oops I think I did it to the wrong Nick lmao I ruined the joke
 
haha
maybe
that's my problem
 
is he not flagging anymore?
 
4:53 PM
@nickB did you understand my answer at stackoverflow.com/a/34045926/1348195 ?
 
and i lose friends because of that habit
 
Oh hai @BoltClock
 
@BoltClock nope, seems to be over
 
What a bummer. I was loading my guns
 
lol
what kind of guns <3
 
4:53 PM
ya i did. i will mark it
 
sup @BoltClock
 
@nickB having a guy fawkes mask as your avatar probably also contributes
 
@Jhawins you suck
 
ya, my gf dumped me because of this habit maybe.
lol
i mean what is wrong with people
 
@BoltClock you want to go to a war too? Because you've only been a moderator for a few days.
 
4:55 PM
Sometimes you should look inside instead of out.
 
user1596138
@nick Haha at least you're a good sport
 
@BenjaminGruenbaum I understand this reference, but not why you are saying it to me :'(
 
it is OK, I only cried a little
 
user1596138
@nickB lol you are bringing something very weird to the chat..
 
which one? being preachy one?
 
user1596138
4:56 PM
1 min ago, by nickB
ya, my gf dumped me because of this habit maybe.
 
user1596138
And that lol
 
@BoltClock Most people in here also visit C# and Lounge, and both of them have had moderators come in and derail chat in the last 7 days or so
 
@BoltClock because you said "I was loading my guns" - and it was a good reference to waste.
 
haha. that was nothing
 
@BenjaminGruenbaum Don't have his number.
 
4:56 PM
@ShotgunNinja really, something happened to the lounge?
 
@BenjaminGruenbaum Two people got banned, and one RO quit
 
@BenjaminGruenbaum no
 
Hi There, I am having a issue with requireJs.
Is there any way I can prevent a self invoke function when I add it to require.config Path? Because it is self invoking but is missing dependencies. ( I already added it to the shim, but is not working )
Thanks
 
that's about it
 
but i needed to have the opinion of what being preachy means when someone is sharing some opinion
 
4:57 PM
@ShotgunNinja what RO quit?
 
user1596138
I always sit in Lounge, I get good laughs sometimes lol
 
@BenjaminGruenbaum Jerry Coffin
 
@BoltClock great, because that wasn't where the reference was from.
 
user1596138
in Lounge<C++>, 26 mins ago, by Cat Plus Plus
It is insulting to insinuate someone might want to know someone before having sex with them yep
 
@BenjaminGruenbaum What really happened is that Adobe renamed the Flash IDE to Animate
 
4:57 PM
@BoltClock wow, so lame.
 
@Jhawins He's seriously begging for a crackdown.
He just won't let it go.
 
@nickB It's a question of how you share your opinion. A lack of humility or acknowledgement that you might be wrong, usually.
 
@BoltClock BUT MAH GAMES!?
 
4:57 PM
@BoltClock release the guns lol
 
Honestly, Lounge is a cesspool.
 
TIL mod messages can be flagged.
 
user1596138
@MadaraUchiha Oh I have no context at all on what's happening. That's why the little bits I do read are so funny haha
 
lol flag me more please
 
4:58 PM
C# is pretty loosey-goosey on the rules, and that got us in trouble over there first
 
Why are you guys flagging stuff?
 
@Retsam example?
 
OMG that site still exists @BoltClock ?
 
user1596138
@BoltClock that avatar
 
who is flagging everything?
 
4:58 PM
@ShotgunNinja really? When? Why?
 
@bluefeet cmon now.. why would you think we're flagging each other in the precense of 2 mods D:
 
but Lounge is actively hateful, and that's what's causing trouble there
 
Clock..crew?
 
@BenjaminGruenbaum We had a guy come in and post some incendiary content, and rather than binning it, we tried to reason with him. Someone flagged, mods got involved, fallout ensued.
 
@Cereal clock crew is life. Let it B.
 
4:59 PM
@nickB It's a question of tone; I can't really give an example, off the top of my head.
 
morning
 
@ShotgunNinja should have trolled him. That's a lot funnier.
 
user1596138
Look at Boomstick Clock's signature on that site.
 
hey kittens
 
> SpongeBobSquareClock
 
4:59 PM
@Retsam then what do i do? don't talk?
 

« first day (1873 days earlier)      last day (3089 days later) »