« first day (2011 days earlier)      last day (2951 days later) » 

user5992646
10:00 PM
ok.
 
imagine using the same language on both your server and your client
THAT is javascript
 
@SomeKittens well it's a bit awkward cause he's a level below me but I'm younger than him, lol
 
user5992646
JS code looks so complicated and sophisticated compared to PHP it's scary.
 
age doesn't matter, or shouldn't
 
@Codeman YEAH TELL ME ABOUT BEING YOUNGER THAN YOUR COWORKERS
 
10:01 PM
I don't think that he "doesn't want to test", I just think he's not following through on being deliberate in his coding enough
@SomeKittens don't you work in SF? lol
isn't everyone there like 22?
 
@Codeman Los Gatos now, specifically Netflix.
 
oh ok
 
I'm the youngest hire on my team by four years
 
I hear Netflix is an awesome but brutal place to work
 
s/but brutal//
 
10:02 PM
I work at Hulu, wanna fight?* (I don't work at hulu)
 
there is absolutely zero brutality here.
@Luggage I'd win, since you'd interrupt yourself every three minutes to look at ads.
 
user5992646
does Netflix use JavaScript?
 
@SomeKittens that's good :) I got the opposite impression listening to the CEO talk about how "she didn't fire people, she just forcefully made them move on when there was no more to be gained by the relationship"
 
but if I did.. ouch.
 
user5992646
I mean on a large scale.
 
10:03 PM
@Codeman uh, our CEO is a guy
 
@SomeKittens maybe it was your head of HR then?
 
I mean, if the company no longer needs you, you'll be fired, and handed four months salary as severance
(four months top-of-market salary)
 
Man, I wanna be fired from there.
 
yeah
I mean, it's fair, it's a business. She just seemed a bit matter of fact about it
 
Netflix is totally open about interviewing at other places (coworker interviewed at Apple a few weeks ago). If they get a higher offer, Netflix (usually) beats it.
 
10:05 PM
if it's for negligence and insubordination, do I still get the money?
 
most businesses would make efforts to find a new role for you. but idk, $2B revenue, they're doing something right
I think that's healthy
managers know engineers can get jobs easily. most engineers know they can get other jobs easily.
 
@Luggage you'd have to try pretty hard to be insubordinate here. If my boss tells me to do something, he expects me to decide if I should do it.
 
sounds kinda like Carhartt
 
And by definition, can't be put off if I decide another project is higher priority.
 
or rather, GoreTex
 
10:06 PM
Yeah, there's some parallels
 
my bro loves them as a case study. They're quite flat. apparently each employee is allowed to spend up to $1M without approval, and they're just trusted to do the right thing with it
 
@SomeKittens this kind of management is disturbing at first
 
I'm just happy to have a manager that actually does our one on ones rather than constantly rescheduling them and sees my development and success as a priority rather than a by product
 
@happy You work at a similar place?
 
user5992646
10:08 PM
My JS book says in the beginning "This book is dedicated to all who teach peace
and resist violence."
 
user5992646
it must be a good book.
 
JS does sometimes cause violence. Resist.
 
We're so proud that you've read the introduction
 
user5992646
After 1019 pages of it, am I going to be able to develop useful things with JS?
 
user5992646
@SomeKittens lol
 
10:10 PM
@SomeKittens not similar in the sense of in the same area but similar in the sense that my manager and the manager of my manager expect me to tell them no if I sense it wouldn't be the right thing to follow their order. My guess is, this is the same for them on many level and it make management and communication much more better because it's kind of diminish frustration and allow more communication to go with minimum delay
 
@happy Yeah, after working in some abusive startups it's incredible.
 
woohoo my new Canadian chat extension works
and no easter eggs this time I promise
 
user5992646
why is a chat extension Canadian? not windows, or chrome or ios.
 
It automatically puts "sorry" after each block of text
 
user5992646
did anybody here learn JS by herself?
 
10:14 PM
 
I'm looking back on my life just now thinking "how the fuck did I learn javascript?"
 
@TodoPertin That's what the extension does
 
user5992646
@KendallFrey lol I do not understand.
 
it replaces certain words with Canadian words
 
user5992646
@KendallFrey ok, now I understand. its cool. nice job.
 
10:17 PM
@KendallFrey I lol'd at s/\b\?/, eh?/
 
s/\s*\?\s*$/, eh?/ to be exact
 
user5992646
how are you going to implement your chat extension for use.
 
@TodoPertin It's a Chrome extension
Please start googling things
 
user5992646
ok.
 
2 messages moved to JS trash
 
user5992646
10:26 PM
@KendallFrey I use chrome. Can I use your extension?
 
@rlemon dayum
 
10:40 PM
@TodoPertin yep, just give me a bit to get it published
 
What is the best way to bind an input field with the value at the server? I am currently using AngularJS, but able to change framework in the future.
I suppose that the perfect solution is looking like this:
Input.controller(function() {
	//The function, that called, when user is trying to change the input value and send it to server
	this.change(value);
	//The function, that return the value from the server
	this.receive();
})
It's abstract example, of course. It's not even AngularJS :)
 
@QueueOverflow the usual way is to use e.g. angular's data binding. and to have your model update its data.
the controller being just a link between the view and the model
 
var arr1 = [{id: 1, thing: 'thingy'}, {id: 2, thing: 'thingy2'}];
var arr2 = [{id: 1, stuff: 'data'}, {id: 2, stuff: 'data2'}];

//what's the best way to combine the two arrays into:
[{ id: 1, thing: 'thingy', stuff: 'data'}, { id: 2, thing: 'thingy2', stuff: 'data2'}]
 
@NathanJones look at _.zip or _.pluck
I don't remember which one is the right one
neither
that looks like a zip for objects
@QueueOverflow JS is not python
 
10:56 PM
@FlorianMargaine I was inattentive :)
@FlorianMargaine about data binding... but there is odd that model will be different, that data on the server. Yes? For example, when the update request will be failed.
 
@QueueOverflow indeed
 
[Hadron Chat Replacer](https://chrome.google.com/webstore/detail/hadron-chat-replacer/ggogbececlebkhafdbibepcoegajmcnp) and [Canadian Chat](https://chrome.google.com/webstore/detail/canadian-chat/pnpfpemooaipboicnippobfjhmccnebh) have been published! Check it out and tell me what you think. Note: You need both extensions installed to see the results.
If you have any ideas for similar chat extensions, I'd be pleased to help you make them a reality with Hadron. If you'd like to contribute, see https://github.com/kendfrey/hadron and https://github.com/kendfrey/canadian-chat.
cc @rlemon
 
@KendallFrey Canadian Chat?
 
@KendallFrey what is it?
 
install them and then refresh this chat page
suddenly everyone is Canadian
 
@KendallFrey but there is no that language. But I have looked code... O_o
 
huh?
 
@KendallFrey it's a humorous replacement :)
@FlorianMargaine is there a good example of synchronization between model and server?
 
@KendallFrey needs firefox support
 
11:08 PM
feel free to port it
i cba
 
11:23 PM
!!pick matthew randall
 
@SomeKittens Input not matching /(.*?)s*(,|or)\s*(.*?)(.*)/. Help: User-taught command: $encode($1)
@SomeKittens That didn't make much sense. Maybe you meant: lick, kick
 
11:39 PM
@SomeKittens is it an American humour? I really don't get it...
 
new engineering hire doesn't know the difference between DVI, DP, VGA, and HDMI. Bless his heart.
 
@QueueOverflow That's too bad.
@Codeman how new is he?
 
he was hired from another large company
so its at least his 2nd engineering job
 
@SomeKittens I don't think so. It's a regional humor.
 
Eh, software engineers don't need to know most hardware things. Sad but true
There's a lot of folks out there who don't program for fun. It's a day job for them.
@QueueOverflow I'm so sorry.
 
11:45 PM
@SomeKittens Why? There are no reasons to sorry.
 
@QueueOverflow That must be hard.
 
@SomeKittens What is hard?
 
I am ( ͡° ͜ʖ ͡°)
 
it's so annoying when I accidentally kill visual studio
 
11:51 PM
how?
 
how to kill visual studio? opening files is one way.
also clicking.
 
would have been cheaper to build a real one.
 

« first day (2011 days earlier)      last day (2951 days later) »