« first day (1945 days earlier)      last day (3001 days later) » 

10:00 PM
lol
 
@KabirRoy Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
> Gimme that Spongebob house
Say no more fam
 
Finally got amazon lambda without the sdk to work
> 2.2M Feb 12 16:54 index.js
 
@Zirak did I tell you how awesome crash is?
 
!!afk home
 
10:02 PM
@FlorianMargaine What it do?
 
@Zirak it's a shell.
a very extensible shell, however
 
What it do?
 
you can easily load modules
I just added a lisp interpreter in it github.com/ralt/crash/commit/…
every time you start with #, it interprets some lisp
 
Of course you did
 
ralt@genera:~/common-lisp/crash/
$ # uiop:getenv OLDPWD
[23:04:12]
"/home/ralt/common-lisp/crash/contrib"
ralt@genera:~/common-lisp/crash/
$
(the time is automatically added by another contrib module)
 
10:04 PM
just pasting the file crashes chrome :D
 
history is another contrib module
 
@Shane what do you mean?
 
Neat!
 
the core is super small... I've already added 3 modules
 
you just pass them
<child something={this.props.prop}/>
 
10:05 PM
there are some default commands that the core provides... e.g. cd, exec
the rest is in external plugins
there's a hook system where each command has a weight... which lets you have an order
and you have to call the next command, so you can easily stop the chain
so... extensible.
 
@FlorianMargaine how will pastie.margaine respond if I send a file via curl to it ?
 
I have to find a way to properly play with environment variables now
oh, and I use readline, so all the usual shortcuts (C-a, C-e, C-r, etc) work
@Abhishrek no idea
ralt@genera:~/common-lisp/crash/
$ # uiop:getenv PATH
[23:08:17]
"/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ralt/.composer/vendor/bin/:/home/ralt/bin:/home/ralt/bin:/home/ralt/.
composer/vendor/bin/:/home/ralt/bin"
ralt@genera:~/common-lisp/crash/
$
that's super neat
 
guys
guys guys guys
you can delete getters after all jsfiddle.net/ocejr0uo
just not on classes
 
@ElliotBonneville Didn't we talk about it before?
 
yeah but the general understanding was that you couldn't
 
10:13 PM
You just didn't access the correct object. You had to go to its prototype.
@ElliotBonneville That's not correct, and I believe I pointed that out
 
yeah... that's the thing. if you modify the prototype of a class you change that getter across all instances of the class, which I didn't want to do
so I kinda maybe ignored that because it wasn't what I wanted to do
and then shortly after gave up.
 
...
"I wanted to do something, but not in the way that was possible, so I ignored you"
 
:D
well, I just didn't give that matter as much thought
because it didn't lead to the effect I wanted
I didn't realize that what you meant said it was possible on a singleton
anyway y'all should be happy with/for/at me
 
Damn whats wrong with this regex? regexr.com/3cpqa
 
the main problem is it doesn't do what you want it to do
 
10:19 PM
what is it supposed to do?
 
Well I am trying to match everything inside the curly braces
to be honest, I need to parse both as integers
 
and... the parenthesis are, special characters in a regexp right?
 
@Zirak omgomgomg hacking my shell is so ez now
 
yep
 
so escape them.
 
10:21 PM
works now
whew thanks man
 
10:39 PM
@Loktar I have a component that has a child under this.props.children and I want to pass a property down to that child
 
10:50 PM
this.props.children[i].style.color = red + 'px'
 
red + 'px' for a color style?
 
sorry haha
no px
also the red is a string
for attributes just do setAttribute("name", "value")
@KevinB how do you tell regex to stop after the first character in a positive lookahead? (?=[(])? Do you know?
I was having a look and I found answers like *? to set things to non greedy but it doesnt seem to be it
 
I have no idea, never really got too into regular expressions.
 
Its nice, you should : )
 
I tend to only use them for nodepad++ find/replace function
 
10:58 PM
[()]/g
that should do it :)
 
i don't even know what a positive lookahead is
 
SomeKittens works for Netflix now. Huh.
 
really?
that's cool
 
Nice!
I think those of us who are regulars are mostly destined for great things.
We just all kinda need to get there soon.
 
Is there any better way than writing this?
coord == 'x' ? coord = 0 : coord = 1;
it seems im repeating myself too much here
 
11:11 PM
First @Codeman working for Microsoft, now @SomeKittens working for Netflix
 
coord = coord === 'x' ? 0 : 1
but also, that's stupid
use a different variable
 
what do you mean? a shorter one?
 
I got a good job at NVISIA in Milwaukee, doing contract work for local companies
 
@ShotgunNinja I have a great job :)
 
@FlorianMargaine where at?
 
@FlorianMargaine PHP? eew
 
@ShotgunNinja I don't do any php
 
well, I'm lying
I must have written like 200 lines of PHP in the last 6 months
 
I can do you one better
 
11:14 PM
but really, I wrote php, python, javascript, C, go, perl...
 
I've written like 0 lines of PHP in the last 6 months
so there
 
@phenomnomnominal ya its dumb, you are right
 
I had to send a patch to linux kernel for my job
:P
 
nice!
I got a rock.
 
(and it was merged)
 
11:15 PM
I merged some changes to jicama.js recently
 
I'm not surprised @somekittens is working for Netflix, he's wicked smaht
 
@Codeman +1. the RxJS-based ETL library he wrote helped me out quite a bit in my last project.
 
@somekittens congrats!
I assume it's a good thing
 
@towc @SomeKittens works for Netflix now
so yeah
 
11:18 PM
yeah, had seen the tweet
I assume working for netflix is what he wanted
maybe he was kidnapped by the netflix team
or forced into it
 
Netflix is an amazing and incredibly intimidating company to work for
 
I am trying to execute a controller function from a directive, but it ain't working. Controller function = $scope.abc = function(params){}; Controller view = <my-directive call-this=abc()"></my-directive>; Directive scope = {callThis: '&'}; Directive template = <button ng-click="callThis(params)">Click to invoke ctrl</button>
Any help?
 
11:38 PM
Hey guys, can you give any advice with this question stackoverflow.com/questions/35372891/… - I've already done some effort, but I don't know if it best approach for this. Any hints or advice are appreciate. Thanks
 
@Vagner Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
11:54 PM
film suggestion?
or tv series?
 
Galavant
 
I'm about to watch citizen kane
 
@towc Future Diary
 
@towc Black Mirror
 

« first day (1945 days earlier)      last day (3001 days later) »