« first day (1887 days earlier)      last day (3065 days later) » 

4:00 PM
@KarelG yeah, it's on the UT2004 engine
mostly you go around dousing cops in gasoline and shooting women, it's a very particular sort of game
 
nailed it
 
@CapricaSix . t can't help
 
@Waxi congrats m8
 
@SterlingArcher AINT IT TIME FOR ERECT ?
 
I can't wait until the holidays are over. It's impossible to save money in december -_-
 
4:01 PM
Thank you all, seriously. Yall been a tremendous help in my growth.
 
@ton.yeung I made a Ghost site, it's pretty sweet :D
 
i can help?
netlogo
 
@Waxi :)
for real though, this room is the best
 
Yeah, I agree. This room taught me urban dictionary :P
 
basically if you join the JS room on SO, you've made it
 
4:03 PM
Room 17: Kingmakers
 
you'll have a good job, you'll be super smart, you'll know all about kendall's mom
dude
 
@nick wait wait, the "good job" part never came to me
 
you have to know how to talk about prevention netlogo not?
 
i've been up for 30 hours but fuck it i'm gonna get me a hat
 
@ton.yeung : you're trying to find someone to answer on your question right ?
NOT WITH ME
 
4:05 PM
@ton.yeung yeah but now I have this: jaral.in
 
@AwalGarg wasn't abishrekt going to hook you up?
 
and... not sure
 
ok
hihi
thanks you
 
you are welcome :)
 
@ton.yeung I need to adjust the theme so it's pretty much just picture focused though. The clickthrough is really dark
 
4:07 PM
@Codeman made with <3
 
@ton.yeung yeah, she has a bunch of pics
I got everything up and running, I am going to hand it over to her
she knows how to do a portfolio much better than me, lol
 
hey i'll have you know i have many talents
 
@nick what, no
 
I once designed a site in bootstrap
 
I used Saga by Gustav Lindqvist
I might change it to another though
or write my own. Handlebars is easy enough
 
4:11 PM
@AwalGarg but.. he's getting funding
 
yeah. makes me think I can probably do websites freelance pretty easily
I didn't realize how easy it was these days to just chuck up a Node server and go to town
this is hosted on Azure, of course
yeah, I'm good at that. I have a contract :P
 
@ton.yeung ermm.. i only have recalled that you asked something about that. Sorry for my mistake
!!urban nbd
 
@KarelG NBD Stands for "No Big Deal".
 
one of these inputs ...
 
@ton.yeung well I don't need to keep a pipeline going, so I can just do stuff here and there that looks fun.
 
4:16 PM
> a phrase that, usually teenage girls or boys, use to brag about something without actually bragging about it. Extremely annoying and often makes the reader want to punch a uterus.
 
@ton.yeung lol, no. MSFT is gonna have me for a long time I think
yeah. obviously no overlap between freelance and full time, but extra $$ and experience is always good
 
!!youtube snake eyes sworn in
 
I think MSFT doesn't even discourage freelance as long as you're responsible with it
 
@SterlingArcher need help
 
4:20 PM
they figure it keeps you fresh?
 
@Abhishrek sup?
 
yup
 
@SterlingArcher basically need help with homework
:P
Identify three stakeholders and at least two specific ethical considerations or questions for each of the stakeholders you select.
How do I handle this kinda questions ? ^
 
that sounds like a javascript question, for sure. lol
 
@Abhishrek don't worry about ethics, your stakeholders don't care
 
4:23 PM
@Abhishrek have you tried asking in the Workplace.SE chat? that'd be more appropriate
 
@Codeman vOv Its homework so workplace might be an overkill
 
it's a workplace question, is it not?
 
@MadaraUchiha are you here?
 
@SterlingArcher I am
 
I need you for a moment, incoming ping
 
4:27 PM
@SterlingArcher Sure
Guys, how can I split a string like so? 'aaabbbbbcccabaa' to ['aaa', bbbbb', 'ccc', 'a', 'b', 'aa']
I tried input.split(/(.)\1*/) but it doesn't give the result I want
 
aka split by consecutive repeats?
 
(Having a brainfart)
@SterlingArcher Yes
 
Good question
 
@MadaraUchiha .match(/(.)\1*/g)
 
> Your Nodejitsu application will cease to function in 45 days on January 31st, 2016!
crap.. forgot I still had a paid app on there
 
4:28 PM
@MadaraUchiha I pinged you in a room with the guy who's having trouble. If you can't help, at least maybe you can point us where to go to help him
 
@AwalGarg Nice. Thanks
 
yo
 
....
 
wow just about everyone is using my beard style for their hat >:(
 
4:31 PM
That was weird
Oh that's genius.. yeah I'm gonna steal that too
 
@AwalGarg wat
 
likewise
 
what is "beard style for a hat" ?
 
You take the hat I have, and flip it to make it into a beard
Like Awal
 
0
Q: Potential bug concerning kicking users that share a name

Sterling ArcherWe just had a user experience difficulties speaking in the JS room -- he has spoken before, I remember him. A user with the same name as him was kicked 3 days ago, and it seemed to effect this one's ability to chat. Here is our chat convo to get some more info out there. Is this a bug concerni...

@Martin if you have more details that could be used to identify your issue, please post :)
 
crl
How can you express in regex a char followed by a different char/not the same?
 
ab
done.
ohh.
 
Oh wow, I had no idea I had a reversal badge on meta SO
 
crl
[^\1] maybe
 
Only 347 people have that badge :O
 
4:41 PM
@crl not exactly what you want, but close and might help: stackoverflow.com/questions/12870489/…
 
crl
it's just to do like Awal's ^ :) above but with split, good thanks ^
negative lookahead
'aaabbbbbcccabaa'.split(/(.)(?!\1)/) almost working, I just need to concat even and odd indexes @KendallFrey ping :)
 
the little interactive cookie message in the bototm right is so cheesy: jetbrains.com/datagrip
 
Awe you remembered me
 
@Luggage their new site reminds me of flash
 
@SterlingArcher music suggestion, go
 
4:49 PM
@crl Are you trying to end up with aaa, bbbbb, ccc, a, b, aa?
 
@overexchange what the hell was that ?
 
If so, you've got a serious case of XY problem
 
my ears, my brain are both malfunctioning now
 
See a doctor.
 
@Codeman true, so i will ask it :D
 
4:50 PM
both of you
 
but I really don't like asking home work questions on any site
 
asking for help is different than asking for an answer
 
crl
@KendallFrey yes
 
Then forget about split
 
crl
oh lol why? just trying
I know you can match, it's just the challenge of trying to use split there
 
4:52 PM
/(.)\1*/g
 
crl
the boob match regex
 
Why would you intentionally do something the bad hackish way?
When the good way is much shorter and easier
 
crl
bah... ok :(
 
i wonder how fast looping and .splice()ing will be instead.
 
crl
faster I guess, sadly because regex are beautiful
 
4:53 PM
This hat thing makes me wanna be more active on SO
 
or .slice()ing. no need to mutate the input.
 
I want moar hats
 
"aaabbbbbcccabaa".match(/(.)\1*/g)
["aaa", "bbbbb", "ccc", "a", "b", "aa"]
\o/
 
too bad they don't show up in the chat userlist. but they do show up to the left of my chat input field, meaning i can't see the beginning of the chat field.
but i guess that's my own fault
 
Hahaha
 
4:55 PM
the nazis also had pieces of flair they made the jews wear.
so you can keep your hats.
 
Wow morbid
 
Have you not seen the cult classic: Office Space?
 
I have only ever watched Trailer Park Boys
 
Well, drop what you are doing and go watch it. It's mandatory for anyone in the field.
 
Ok I'll check it out
 
4:57 PM
NOW! :)
 
OK I'M GOING NOW! :)
 
@Cereal um um um um Alice by Ice Nine Kills
!!youtube Alice Ice Nine Kills
 
or...
!!youtube communion of the cursed ice nine kills
 
crl
5:00 PM
How do you slice all items except the last (with .length) hmm nvm will do with
 
array.slice(0, array.length - 1)
What in the world are you doing
 
wrong!
 
he said using length >:(
 
that's the whole array.
you just cloned it
 
a
["aaa", "bbbbb", "ccc", "a", "b", "aa"]
a.slice(0, a.length - 1)
["aaa", "bbbbb", "ccc", "a", "b"]
 
5:03 PM
pretty sure that gives the array minus the last one.
 
hey hey
 
ohh, I was wrong, i thought it took a last index, not a legth
 
alternatively: a.slice(0, -1)
 
carry on, soldier.
 
crl
"aaabbbbbcccabaa".split('').reduce((a,c)=>a[a.length-1]&&a[a.length-1][0]===c?[‌​...a.slice(0,a.length-1),a[a.length-1]+c]:[...a, c], [] // sigh with no regex
 
5:04 PM
Is this valid syntax? (super.events || []).concat({})
 
@corvid coughtryitoutcough
 
Zero-based index at which to end extraction. slice extracts up to but not including end. <- dumb.
it's an index, but not inclusve..
 
complain to those standards
 
crl
@Cereal thaks
 
This is the last straw. I loved JS this morning, now I am disillusioned.
moving to PHP
 
5:05 PM
@Luggage Come to ruby
We have enumerables
 
<3 enumerables
 
Rust looks really cool, but it might be too low level for any of my needs.
 
Doesn't JS have enumerables as well, though?
or does it just have lambdas?
 
enumerables likke es6 iterators?
 
I have a css question:
I need to set the background-image of a certain element as an image element stored in memory with js. The only thing I can think of is painting the image on a canvas, getting the canvas.toDataURL string and setting that as the `background-image: url(thing);` but this seems so unelegant...
 
ES6 iterators are kinda like enumerables in terms of functionality
but they're designed more like traditional iterators whereas enumerables are iterators that behave like containers.
 
er.. ok.
 
wtf, haskell room is so deserted ?
 
!!xkcd
!!undo
that wasn't it
 
crl
ask ell, she might know
 
5:09 PM
Basically, with an enumerable, you define a bunch of operations to take over a set or a source of data, and you don't perform the iteration and collection until you have a consuming operation. It emphasizes lazy operations.
 
gotcha. kinda like LINQ?
 
LINQ makes use of C# Enumerables under the hood
 
aye
 
so yeah, exactly like LINQ
Ruby has a similar thing
and I believe the paradigm originated in functional programming, but called something slightly different
 
it can be done in JS. lodash's .chain() does something like that.
 
5:12 PM
Of course it can be done in JS, all it requires is the ability to create lambdas
You can build your own quite easily
I don't know how, but I know it's possible
 
linq has another feature above and beyond where instead of functions, you can pass expressions that can be inspected/modified.
which is how it can turn that code into SQL and other languages.
 
@SterlingArcher pretty good
 
I'd like to make a tool like that in ES6 using proxies, but proxies can't be polyfilled so it'll have limited use for a while.
 
@AwalGarg We're all very serious about star wars spoilers. When the message gets bumped from the right panel, I'm gonna make a new message, and pin it. Please keep it pinned, even Madara is serious about star wars spoilers and said that he would personally enforce the kicks and bans.
 
someRepository.where(x => x.age > 18).toList(); // imagine tht JS being able to be turned into a rest query or SQL.
 
5:15 PM
@ShotgunNinja Enumerables don't necessarily imply lazy. Java has had them forever and just recently introduced lazy evaluation.
You need enumerables to support generic ops and lazy eval (and everything else good)
 
@ton.yeung LINQ? Yup. that's the inpiration.
but more specifically, linq expressions
 
Ha, the kick system is fucked up! gist.github.com/benjamingr/…
@MadaraUchiha ^
Not sure how much truth this holds, but worth looking into
 
@Luggage there's a JS preprocessor you might be able to do that with
or add a Babel plugin to read the AST
 
yea, and lots of JS AST tools written in JS
 
it would let you write isomorphic linq and turn it into REST for the front, SQL for the back
which would be nice
 
5:19 PM
Yes.. hm. and now that I think about it proxies won't help.
so your method would be the only one, me thinks.
 
the preprocessor is probably too simplistic
but making a Babel feature like JSX ought to do it
 
@Martin can you now delete that message from the meeting planner gist? You weren't kicked, as @MadaraUchiha confirmed.
 
add an option for AJAX or SQL
 
@AwalGarg Everything is fine, then?
 
well, jsx is just sugar over a function call, so not that, but Relay has a preprocessor feature that is similar.
 
5:20 PM
@ndugger I seriously can't make out whether you are kidding or not, but I can very much make out that @MadaraUchiha was kidding when he said he'd personally enforce that.
@ndugger yes, regular chat issue of logging someone out etc.
 
@AwalGarg I am very serious. Feel free to ask madara if he'll kick users that spoil star wars; I definitely will.
 
@AwalGarg Star wars ain't shit to joke around about
 
@AwalGarg Alright, cool
 
Dec 13 at 16:18, by Awal Garg
oh this silly starwars again
 
@AwalGarg what the heck is up with your hat
 
5:22 PM
IT IS A BEARD
 
So you have a full beard, mutton chops, and a bald top
classy
 
I am not bald, just that my head is cropped off my pic
 
Your chat profile status is quite offensive btw
I do have a life, it's just that there's not much going on in it right now
 
especially the part about loving cookies. That's just too far.
ohh, that profile. I was looking at the SO one.
 
yeah lol
 
5:25 PM
@ShotgunNinja I guess my sarcasm detector ain't working, but would still take that as sarcasm anyways :)
 
I think you should be able to figure out that any time I say I'm offended by something in chat, I'm joking
 
And he was specifically talking about you, too, @ShotgunNinja .
 
hehe
 
PC Principal is offended by your attacks on his character
Actually, any time I say pretty much anything in chat, I'm joking.
 
troll.
 
5:27 PM
@ShotgunNinja Not sure if joking...
 
Okay, excluding bitching about my job and offering help/advice about programming.
I'm usually moderately sarcastic.
 
what's the best way to get the amount of time it takes for a Promise to settle?
 
@NathanJones do a console.time before you instantiate the promise, and then console.timeEnd right before you resolve it.
Should be pretty straight forward
 
@Luggage what you're describing is going to be sugar over one function call or another, depending on the settings
@ndugger @NathanJones or a performance timer when you start and when you resolve
 
5:37 PM
@ssube performance timer?
 
it can be higher resolution (or precision, don't remember) than console.time
 
I meant that jsx is rather light weight sugar compared to somethign that parses JS and give out an AST
I'm not sure how much code and how slow it'd be to parse it live on demand. a preprocessor step is troublesome because it may need a multi-step build process (like relay's).
 
@Luggage working it into a babel plugin (which can add new syntax or just transform a call) should resolve that
 
yea.
 
On DOM elements, does a value provided have to be a boolean or can it be a truthy/falsy value?
 
5:43 PM
@corvid what kind of value?
 
So, for example, Session.get('selected card'). It could be false, or an id like 1234. I provide it to a boolean input as is, would that work?
 
Depends how you're using the value, I imagnie
because if it returns 0, that's going to resolve as false
 
@corvid there's no such thing as a boolean input
 
he may mean DOM properties instead of attributes, which are more likely to play nice with truthy/falsy values
 
!!afk dinner
 
5:46 PM
Don't panic guys, I'm here now.
 
I can't find anything on MDN about properties needing explicit booleans. I'd put money on it being OK, but you might as well just test it.
 
I think I have a problem with how my Promises are set up. execution time rises steadily from 3574.662ms to 11625.669ms. This is working in tandem with RxJS, so that adds another layer for me to get confused about things.
 
@Trasiva When are you and @Loktar going to try and best me in starcraft?
 
When you least expect it.
 
@NathanJones rises... when? Just over time? Does it correspond with CPU or memory use at all?
 
5:47 PM
I want to wear multiple hats, damn it
 
@Loktar I dunno, when do you want together and try to double team @Cereal?
 
;)
 
I went to type a message, but it said it was too long. What is this shit?!
 
@Waxi Quit being so damn verbose then!
 
5:52 PM
@ssube it rises at a constant rate.
 
@NathanJones are you adding promises to the queue faster than they can resolve?
 
I need some help conceptually, so bare with me while I try to explain it. I have an array of objects with all the same properties and their unique values. Only one of these properties would have the same value among the objects and that's the group they belong to, which is simply a number. This number is used to calculate the values of other properties in that object. What I was thinking was looping through all the objects isolating this group property and keeping a running total in a variable
 
@ssube probably. this is part of a gustav workflow that uses RxJS to pass around streams.
 
@ton.yeung [bare](http://en.wiktionary.org/wiki?curid=38845) Minimal; that is or are just sufficient.
a bare majority
 
@American Slime Someone stole your avatar.
 
5:54 PM
I changed my name ;)
 
@NathanJones oh lol, have fun
 
@ton.yeung bear A large omnivorous mammal, related to the dog and raccoon, having shaggy hair, a very small tail, and flat feet; a member of family Ursidae, particularly of subfamily Ursinae.
 
@ssube each promise in the queue is independent, so if they could all start "settling" simultaneously
 
@Waxi can you get some examples of the data and how you'd expect to transform it?
 
I shall refer to you as Hairy Palms.
 
Let me make a jsfiddle demonstrating what I think I should be doing....
 
I might need @SomeKittens help.
 
@SterlingArcher I'm pretty sure if he's unconscious for that long, something really bad happened
 
> Momma said knock you out.
 
@Waxi sounds like you want to .reduce() the list
 
5:56 PM
@Cereal Not really. He wasn't even really completely out that long. He's just pretty rattled. No different than a concussion (which he probably now has).
 
@Luggage @Waxi some combination of reduce and groupBy (which is really just reduce)
 
reduce and reduce
 
@Trasiva Still pretty concerned :/
 
@Cereal Nah, keep him up all night, make sure he doesn't start vomiting or having off and on dizzying spells. If he's still all kiddy whompus and unable to function normally the next day, THEN it's time for the hospital.
 
@KendallFrey @rlemon streamable.com/ayko ouch
 
@AwalGarg Deleted
 

« first day (1887 days earlier)      last day (3065 days later) »