« first day (1716 days earlier)      last day (3235 days later) » 

12:06 AM
because i is incremented before being returned
 
@ColinDelhalle 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.
 
sorry, after
try with try
return i < 5 ? ++i : i = 0;
 
Logs 2 for me
 
logs 1 with i++ and 2 with ++i
 
12:27 AM
happy sunday everyone :)
 
user2620028
12:56 AM
lol morning @awal
 
@Hat why "lol"?
also morning
 
user2620028
because you were overly chipper about it being sunday morning
 
I am always chipper :D
 
user2620028
thats not good
 
go away XD
 
user2620028
1:02 AM
yeah i do need to go to work :/
 
on sunday?
 
user2620028
1:15 AM
yeah
 
user2620028
I work as an english teacher for a language school
 
user2620028
Cant find a job programming but i am a native english speaker in an asian country
 
1:26 AM
Programming's overrated
all those folks will be out of a job just as soon as the bubble collapses
 
haters gonna hate
aren't you a programmer yourself?
 
....noooooo
what's JavaScript?
 
pls
we call it Java for short
 
@SomeKittens toy for 3yo
 
I just wrote a bunch of Python today
I feel weird
 
2:27 AM
Python is good
 
3:00 AM
hey all
 
Taco!
 
yo
Watching Bar Rescue. They're in San Francisco for this one
I really need to learn Protractor if anybody has any books or educational material they recommend
 
whereabouts?
@taco The docs are pretty good.
 
Financial district
@SomeKittens ok. Setting up a git repo now to play with Protractor. I'll check out the docs
 
Never been there
 
3:03 AM
I don't see how people open a business and just throw money at their problems. I guess they all think running a bar is easy or something
 
that's just the issue. People think that eating at a lot of restaurants qualifies them to run one.
hey, speaking of SF, hello @PavanRavipati !
 
hello!
 
@PavanRavipati 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.
 
hi @PavanRavipati
 
@taco mind doing me a favor?
 
3:15 AM
@SomeKittens whats up
 
Mind reviewing my draft? draftin.com/documents/…
 
not at all
One criticism so far: "in all there" sounds awkward
link to "Luigi" whatever that is
I'll just put everything in a gist, if that's okay
 
no problem
 
I was actually in Mass Media (yearbook) because my English teacher liked my writing :d ... 22 years ago... damn I'm old.
 
3:36 AM
@SomeKittens Yeah, I don't understand any of this jargon, so you might end up getting some useless feedback on some of this. Ignore what you will
 
@taco "Don't understand any of this jargon" is useful feedback
 
3:49 AM
@taco was there any more or was that it?
 
there's more
I'm not reviewing your notes
 
there's a missing asterik
._.
 
though, I do like the line from your notes "where Luigi really shines is aggregating multiple sources" and I don't see that in your draft
 
@taco good point
> It shines brightest when aggregate data from multiple sources (databases/logs/etc) but I only used it to consume postgres data.
^ what I have in the article
@uselesschien Where?
 
@SomeKittens nvm, it's not a missing asterik. He was specifying why he used re:dash instead of Periscope.
 
3:55 AM
Ah you're right. But that should really be in the first paragraph. I have that suggestion in my notes now
 
@uselesschien if by "he" you mean the author, that's me.
@taco good, good.
 
Oh, i was confused.
And..
> Hook up re:dash* to analyze my entirely fake data
^ This will result in everything after the asterisk being italicized.
 
@uselesschien will it really?
got a screenshot of that?
 
@SomeKittens It depends on the parser you're using.
Mine (editor) didn't italicize that sentence, but it did italicize something else.
 
ergh @ gist wrapping
 
4:10 AM
 
@taco protip: add .md to the filename to render it as Markdown
 
ok done
forgot about that
We hosted 500px @ PEER1 :| .... I can't escape PEER1
 
@uselesschien i think you're supposed to use ## for bold
protips from a pro
 
That's unlike any MD parser I've seen
 
really?
i'll be honest i've never written markdown so I could be talking out of my ass
 
4:18 AM
I like dillinger.io for quick markdown edits
 
oh it was for header
eh same thing
 
what Angular seed do you guys use? I'm looking at generator-cg-angular for Yeoman, but god damn does this thing use a lot of modules
 
I open a file and type out angular.module('MyApp', []);
It's tricky, but you'll get it after a while. It's all in the wrist.
 
@Abhishrek You're welcome! Well, you can easily do that if you really want to: FlatColors.Unicorn = FlatColors.bind(this);. Then call FlatColors.Unicorn() and you will get the random color. :)
 
@SomeKittens I've been practicing for a while i still can't seem to get it
 
4:27 AM
@SomeKittens ... :/
 
@taco High quality review there. Thanks!
 
@SomeKittens np... and I meant an enterprise angular setup where you break out the app in a manner which can be updated by a team. I'm going the cg-angular route right now which follows best practices, but it seems bloated
 
> The work-life balance is excellent — in fact, you can carry on with living your life at work
awesome
ill bring my pillow
 
Heh
 
> Remember: changing the world, getting rich. Apply today.
ok you got me
@SomeKittens thanks for the referral i think i'm actually gonna apply
 
4:31 AM
I'm having a "talk" with a startup next week that gets catering every work day. To me, that sounds like they can't leave for lunch
 
where is it located?
like
 
@nick ## is like <h2>
 
is it near nice food places
cuz if not then catering sounds pretty good
 
@nick no problem
 
@uselesschien yeah don't listen to me haha
 
4:33 AM
@taco That's basically how it works. The tradeoff is worth it to the business because employees take shorter lunches, not going out to buy lunch takes up less head room and all your employees bond over food.
 
@SomeKittens Boo @ bonding
I have a theory: the more social you are, the less likely you are to be suitable for an IT / dev job
bonding should be done via chat
lol
 
thats just like, your opinion man
 
@taco Extroverts have taken over the valley, much to my annoyance.
 
I'd prefer to bond with people on my own terms. I don't want to bond with everybody
 
You've got to be outgoing and passionate!
 
4:35 AM
bleh
 
I've seen people dinged for taking a minute to think silently during a job interview.
 
hmm
"Finally, there’s the all-day interview. This is an opportunity for our engineers to get a feel for whether they’d like to work with you. Don’t worry that it’s mostly young white men in this round, that won’t bias whether you’ll establish rapport whatsoever."
Kinda worried about that for one meetup actually...
 
It's less of a parody than I'd like it to be.
 
Interviewing is changing. It was alot more stuffy 7 years ago when I did it
Now it's like something out of Silicon Valley
 
<`rip> when you go into a job interview
<`rip> and they ask you what 3 of your weaknesses' are
<`rip> what do you say
<clay> you tell them that youre indecisive
<clay> and then stop talking
 
4:42 AM
@taco um.
 
wat
 
the show or the place?
 
the show
lol
The new Terminator trailer shows too much, but it looks good
 
4:54 AM
@SomeKittens do you know where Cambon drive is? This bar is in San Francisco as well
looks like a shitty bar even after the Bar Rescue reno
 
user457812
I don't think I've ever asked an interview candidate for weaknesses..
 
user457812
I'm probably the worst interviewer though. I just go and talk to the person about what they like doing.
 
5:13 AM
I've gotten similar questions. I like to think of them as the "foot-in-mouth" questions
e.g. the "employee stole a stapler" one
 
user457812
Sounds annoying. I think I might be at one of the few places where I could just say "it's a stapler, who cares?" and that would be correct.
 
user457812
That said, when I interview people, I'm supposed to be like the technical barrier for candidates. Like I'm apparently supposed to ask really hard to answer questions, so I usually just ask one question to see how people think and then we chat about whatever they like to do.
 
When I applied to Cars.com like 10 years ago, they had me fill in stupid personality traits about myself. Then you flip the paper over, and it's the same exact thing. They watch you while you fill it out. Apparently I filled in different choices on the second side, most assuredly out of boredom when doing it the first time
 
user457812
And I figure that's good enough, 'cause if I have a reasonable idea of your thought process and you're otherwise seemingly capable of learning, I'm pretty OK with just knowing whether it sounds like working for us would be what you want to do.
 
user457812
I seem to remember there being certain laws about personality tests, but I don't know what they were off the top of my head
 
5:20 AM
I got hired on a palindrome function for my last job... really simple. I could code it in whatever I like. the rest was just tech questions
it was a reasonable interview
 
user457812
I got hired, I think, by rambling about cache optimization in my game engine, which is potentially the most boring thing I could've rambled about.
 
You probably just confused the guy
 
user457812
Well, this was with the CEO, who is a programmer
 
ah
 
user457812
I might've confused the managerial-only people. Not sure.
 
5:24 AM
I think I'm gonna quit coding and get some GTA5 in. It's 1:24.... gonna bore myself here in a minute
 
user457812
Seems like a good idea.
 
@taco Yeah, that's the other side of the city
 
looks like a shitty part of the city
@royhowie fagged
flagged as well
 
@taco whatever that means
@BenjaminGruenbaum they do that in public companies too. Who do you complain to when your companies newsletter features gay adoptive parents? — Peter Turner yesterday
 
It may not be an answer, but it's fabulous
 
5:54 AM
@BenjaminGruenbaum I never expected to see a comment like this one on SO…
 
Why does atom take forever to open. Subl opened in a second
by forever, I mean like 5 seconds
 
@taco I think it has to do with how atom's designed
it's also fast, if you don't have a lot of tabs already open
 
yeah, it's fast, except on launch
 
isn't sublime written in c or python?
 
no idea but python is basically c anyways
come to think of it, you're right, i think ive seen python in the console
 
5:58 AM
Can anybody assist me please? stackoverflow.com/questions/30965732/…
 
If I help you, you gotta make a :dood: and :boob: emoji
 
@NubPro /^:poop:$/g
 
@uselesschien reddit?
 
@uselesschien facebook?
 
That's not helping me.
 
6:03 AM
lolwut?
 
nswf
 
@uselesschien of course that's a thing
 
That's really disgusting
 
goddamn it, stop coding
 
6:07 AM
@NubPro it's because your regex "eats" up that space... try double spacing emojis
 
gonna go play gta
g'night all
 
yolo
 
nobody needs to see that shit.
 
@CSᵠ I know that. but no, that not the viable solution.
 
why?
 
6:14 AM
 
@NubPro btw, what you have there is not a "new issue" it's a different question
and you should remove that part from the question and post it in a separate one, while awarding the correct answer to the one who helped you.
@NubPro ^
 
alrigty
woa someone downvoted my question.
 
i did
because stackoverflow doesn't work like that
you can have "new issues" here in chat, but the questions must be specific
 
Well, im sorry then.
posted a new question.
 
 
1 hour later…
7:24 AM
@NubPro nice, and it seems you're already much better
 
7:46 AM
@CSᵠ so ya gonna upvote that q?
 
 
3 hours later…
10:34 AM
Can you generate an .app file
for node.js apps
 
You mean a self-executing file of some kind? Or something else?
I guess there's this: npmjs.com/package/nar but I've no idea if, when and how it works
I assume it just bundles the entire runtime
 
I want it to be some sort of an application instead of going to
command line and hen
*then
node app.js
I guess the good old app.js command is better.
As compatibility issues can come up with an executable.
 
cat app.sh < echo "node app.js"
 
Yeah, was just gonna suggest making a sh/cmd shortcut but then it kinda depends on having a runtime installed
if it's just for convenience on your local machine, make a shortcut and add it to PATH
 
No, the app I release will be used by various machines. :P
 
10:52 AM
node-webkit? It offers the creation of self-contained executables, IIRC
 
what is that
 
eh
whats wrong
 
needless to say this book should not be recommended from here
 

« first day (1716 days earlier)      last day (3235 days later) »