« first day (1433 days earlier)      last day (3509 days later) » 

8:00 PM
so you can't really expect much right?
 
m59
Are Java people like that generally?
 
@m59 What? Inferior?
 
:P
 
m59
lol
 
Is it over the top to replace
if(condition)thing();
with
condition?thing():0;
because I would rather write ? instead of if
 
user1596138
8:02 PM
Todays farts would probably be lethal if I also ate soylent
 
m59
condition && thing()
 
fail
 
user1596138
!!afk smoke
 
m59
but most people say it's bad to do so
 
condition && (thing())
needs to be an expression
 
m59
8:02 PM
@rlemon why?
 
short circuit, nice. forgot about that
 
@rlemon thing() is a CallExpression already
 
m59
!!> function foo() { console.log('see?') } true && foo();
 
@m59 "undefined" Logged: "see?"
 
hrm
I'm mistaken
wonder why I thought that
 
8:03 PM
re: fail
 
m59
;D
 
:)
 
for some reason i was following that group on facebook
 
:D
 
m59
@rlemon I think you're thinking of this true && (var x = 'stuff')
 
8:03 PM
short-circuit evaluation should be avoided @TravisJ
@m59 maybe, it's been a while since i've used them
 
Now that i have unfollowed it, i am more awake 10x more energetic
 
@rlemon - Why?
 
m59
Which would otherwise be invalid left hand assignment
@TravisJ because the community generally says so (mostly because most people can't read it well)
I read it better than if statments.
 
@TravisJ less readable ∴ less maintainable
 
m59
^ to most
 
8:05 PM
generally speaking, avoid "clever code"
 
lol
Eric Lippert told me the same thing
but alas, I can't help it
 
m59
I'm the only dev, so I write whatever I want :)
Bad habit formed.
 
@m59 I was/am of the same mindset of you, however if 90% of the community is against it and we code in a community, we should at a certain level conform to style guides
 
info.couchbase.com/2014-Fall-Benchmark-Results-LP.html I find it interesting why they don't compare themselves with postgres ? just to you know compare with sql databases ?
 
m59
@rlemon I would if needed. I also think it's good to do what makes you happy when it doesn't otherwise matter.
 
8:06 PM
the only time (imo) it doesn't matter is if you are crapping out a demo
*and that demo isn't trying to teach anything.
 
@TravisJ Understandable. I used to really like that, but it loses the appeal after a while.
 
if it is code I want another developer to read.. EVER, I will avoid 'clever' code
 
Short-circuiting is very useful but only if it's used when it makes sense.
 
if you look in my old demos and code you will see short-circuit evaluation being over used because I thought it was the coolest thing
 
I was using it to detect whether or not datepicker was being used in order to set a default. This also isn't a shared codebase.
 
8:08 PM
don't be afraid of the almighty IF
 
$.datepicker && $.datepicker.setDefaults({
onSelect: function () { $(this).focus(); }
});
 
Oh, if you have an object as an argument, then definitely don't put that in one line.
 
if(  'datepicker' in $ ) {
  $.datepicker.setDefaults({
    onSelect: function () { $(this).focus(); }
  });
}
then you don't actually access the datepicker object
but that is usually a moot point
 
err, I added a negative there fixed
 
m59
8:09 PM
that line - just so much nicer that way to me.
 
@m59 you used to write a lot of PHP didn't you :P
I see that a lot in the CodeIgniter source
 
m59
Maybe tired people just think like this? Too fatigued for if/else haha
 
@m59 :(
 
Good point about the object access tho
('datepicker' in $) && $.datepicker.setDefaults({
 onSelect: function () { $(this).focus(); }
});
:P
 
Latest in recruiting follies:
> I checked out some of your [GitHub] contributions and we could definitely benefit from having someone who works likes digging in on complex engineering problems on our team.
 
8:16 PM
if ('datepicker' in $) $.datepicker.setDefaults({
 onSelect: function () { $(this).focus(); }
});
is just as many chars, and IMO is much more transparent #2cents
 
@SomeKittensUx2666 so is it really that easy to get a job as a programmer
 
.
 
@Meredith Yes and no
 
I'm guessing those are the shitty companies that barely pay you
 
It is stupidly easy to get a job with 1+ years of experience in SF.
 
8:17 PM
@rlemon - yeah at that point if looks better than &&
 
@Meredith No, the pay is insane
 
Oh
 
@TravisJ and left to right, reads very well
 
I guess I just liked the ease of using ?
 
I have 0 years of experience in SF
 
8:17 PM
It's fairly difficult to get your first job
 
@TravisJ but you are not even using a ternary anymore ;)
 
@Meredith Bad phrasing. It's easy to get a job in SF if you have 1+ YOE.
 
I actually didn't have too hard of a time getting my foot in the door
 
^
I got offered a job out of HS
 
same
 
8:18 PM
Yeah hopefully I won't have much trouble
 
My job offer was from my 3rd interview, the first two, I denied one, and the other denied me
 
Never had an interview in my life
 
Then again, I'm not that good
 
I got an internship in college, then got offered a job straight out of the internship.
 
@Meredith you'll do fine. The hardest part is dedicating your time to job hunt.
 
8:19 PM
@SterlingArcher @rlemon this is relatively speaking.
 
I've had interviews, but been offered the jobs before the interviews.
just "procedure"
 
@SomeKittensUx2666 oh sorry
 
m59
@Zirak @rlemon there's some readable code for ya github.com/angular/angular.js/blob/…
 
!!afk smoke
 
I had 25+ companies come after me in my last job search.
 
8:19 PM
@m59 Oh yes, angular's code is shite
 
I had a Java/PHP job offer while I was in HS too.
hah!
 
That's no big secret.
 
if( ( foo = bar ) ) // i've done this before
 
@rlemon That seems really off. If I'm going to interview someone anyways I'm going to wait to offer the job until the interview.
 
I wasn't happy with myself
 
8:20 PM
minifiers do a ton of that, they even use commas to continue it
 
@Retsam they saw my work, offered me a job, HR said they needed an interview or a resume.
not wanting to update it, I sit down for a hour meeting
 
m59
I don't know how someone even managed that :)
 
But there's one function which beats them all. $.ajax around jquery 1.5 was the worst thing I've seen
 
.css
 
@rlemon - A friend of mine was in that position, but didn't know it. They had him sing happy birthday to some random office person just to mess with him and then said your hired once he actually sang it.
 
8:20 PM
Some vomit rises up when I think about it
 
m59
I would have to break that into like 15 functions.
 
current jquery
 
Plus, I for one, would want some interview to get a feel for someone's personality, even if their skills are great.
 
Apparently it takes 12 seconds for someone to make up their mind in an interview.
 
8:22 PM
So, next time I go for an interview, act great for 12 seconds.
 
@KendallFrey okay we get it, you're a blowjob expert
 
hahaha
 
@Zirak Oh you do get it
 
...you start Monday
 
I start every day
 
8:23 PM
Can't bench the star player
 
I threw together my resume at like 1 AM the night before I had my first interview, and got told the next day that I had obviously put a lot of work into it.
 
*playa
 
@Zirak yes. and after appreciating all it does in all of the branching functions, I fucking hate it
 
I don't think I've updated my resume since HS
 
such a cluster fuck of things going on there
 
8:24 PM
I may have added a few things to my SO CV
 
The first coding interview I ever had I showed upto pie eyed and probably reeking of pot.
got the job
(highschool co-op)
 
I don't think I'll ever forget my first paid work
Dad said: "Make me this app, and you get $200." Yay!
 
my first paid computer work was "see those 4 years of physical customer files? put them into the new computer system"
#smh
 
ouch
 
I just taught html
 
8:26 PM
!!urban hot exit
 
didn't smoke :3
 
@Loktar No definition found for hot exit
 
you bastard, it was published
 
room topic changed to JavaScript: Everyone is wonderful.: Read this: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf | Angularjs is on topic here. stop asking. Reg room here: chat.stackoverflow.com/rooms/59354 [ecmascript] [horse-grooming] [javascript] [no-social-experiments] [phrasing] [shorts-fired]
 
8:27 PM
I used to make custom profiles for people on neopets in exchange for neopoints
 
@Meredith I'd totally hire you
 
I used to play neopets lol
 
@Loktar personal story?
> haha yeah man I pulled down her pants and she hadn't wiped her ass in weeks, so I made a hot exit!
 
Lol
 
8:27 PM
D:
 
@SomeKittensUx2666 have runnable pay my moving fees and security deposit and first months rent and I'll come work for you :D
 
@rlemon eh in every bag of MM's there's the retarded ones
go through a few bags, you're bound to find more than a few bad ones :P
 
@SterlingArcher We literally do that - it's called relocation.
 
ohh that damn WW -- I hate that one.
 
lol
 
8:28 PM
@rlemon lmao... oh my god that's nasty hahaha
 
@SterlingArcher thats what I figured a hot exit should mean :P
 
@SomeKittensUx2666 lol im kidding, I just signed a lease D: Maybe in 14 months from october 28th lol
 
YOU JERK
> almost 50% of those working in NYC’s tech sector don’t have a college diploma.
 
I accidentally sat on the stove, now that's a hot exit!
 
^ unrelated
 
8:29 PM
@Loktar spot on bro, I'd be out of there faster than @KendallFrey could finish having the sex
 
haha
 
And that's preeeetttyyy fast dude.
 
You don't know how fast I can finish
 
^ he just did twice between your message and his.
 
@KendallFrey I once fell from a ladder and impaled my left ass cheek with the edge of a hook sticking out from some racking behind me - that was a cold entry.
 
8:30 PM
@Loktar twice and a half, if that counts
 
@KendallFrey you don't know how fast I can put clothes on :3
@rlemon ohhh that sucks
 
@SterlingArcher You're limited by the speed of light, bra
 
had to lift myself off the hook
 
That happened to my on a smaller scale. Fish hook to the thigh
 
lol
 
8:31 PM
4 stitches, couldn't sit for like 2 weeks
 
@KendallFrey and you're limited by the speed of thrust
Whose more limited now brah
 
the worst part about it was I had just bought those pants. :(
 
You, I can finish in ~0.5ns
Takes you 6ns just to put your shirt over your head
!!s/sit/shit/
 
@KendallFrey 4 stitches, couldn't shit for like 2 weeks (source)
 
slide withdrawal
 
8:32 PM
hahaha
@rlemon I know your pain. My mom got my a really nice shirt for my first day of 3rd grade, and I broke my arm, and they cut the shirt off at the hospital
I mean, it was 3rd grade but it was like.. a michael kors button up for kids D:
 
That must have been traumatic.
 
Just like your conception.
 
when I got hit with the skilift twice, and cut open my head pretty badly, it didn't really hurt... AND I HAD PAID FOR THE ENTIRE FUCKING DAY ON THE SKIHILL!
I was pissed
> Okay, I'll get stitched up and come back!
> "Sorry kid, you're done for the day"
 
When I crashed my car last month, the thing I was most pissed about is that they started the poker game without me.
 
understandable
I once had a GF dump me because I didn't come over to her house because I was in the final 3 for a $900 first prize home tournament
I ended up winning, she didn't understand that that made it okay
win/win really, I didn't have to share
@SomeKittensUx2666 JS question!
 
8:37 PM
woo
 
res.render('page.ejs', {
  data: data /* I'm an object with many properties */
});

on the client:

console.log( data ); // [object Object]
I know I can log it on the server -- not my issue
how do I get it on the client without it calling .toString
 
Not live yet, give it about an hour to deploy
Turned out to not be that bad
 
an hour?
 
GAE is weird
 
@rlemon JSON.stringify
or AJAX
 
8:40 PM
:/
sucks
I can use the object like an object, just can't log it?
 
Hi there ! Do you remember my "text map" project .... Just for a test, I'm trying to do it without canvas, and with DOM elements : s419743653.onlinehome.fr/things/…
 
Why can't you log it?
 
here was an example with 1000 elements of text, it's quite fast on Chrome, but slower on FF
 
It's just an object
 
8:42 PM
@Meredith It's not logging, it's rendering in a template engine
 
By fast / slow, I mean when you "CLICK + DRAG"
 
Oh
 
@rlemon as someone told me, I detach() the spans, move them, and append them again to body.... What do you think ?
 
@Zirak - Minor type in readme: "It's quite alphab but usable"
 
@Basj sure?
 
8:43 PM
typo*
 
Is there room for some more improvement in performance (of the CLICK + DRAG panning )
 
@TravisJ Thanks!
 
@Basj Yeah, I bet if you remove all the textboxes it'll be really fast.
 
@SomeKittensUx2666 OMG
:facepalm:
totally makes sense now
well almost, I see it in the source now
 
@Basj its slower than the canvas vs on chrome was
 
8:45 PM
converted the " to the entity on me
 
@Shmiddty what do you mean ?
 
@Basj I'm just trolling, don't mind me.
 
@Loktar sure... canvas is faster.... but if it was possible with no canvas, but only DOM textboxes, it would be super easier to code :)
that's why i wanted to try a last time a DOM input version before going on with painful <canvas> (i have to layer a textbox, then hiding textbox, rendering text on canvas, etc. ... painful) .... if it worked without canvas I would be happy :)
@rlemon sure about what ?
 
@rlemon quick ... magic time !
 
The fear in that cat's eyes..
 
8:49 PM
yeh
 
that is Florian?
too grainy to do anything really nice
 
Florian is hairier than me!
 
@Basj I would recommend a different approach. Instead of moving each individual element, wrap them all and adjust that element
 
@Shmiddty do you have an example ?
 
@SterlingArcher of course, he's French!
 
8:52 PM
I thought that was a stereotype lol
 
user2620028
lemon you didnt pay taxes for 10 years?!?!?!
 
nope
 
user2620028
how is that even possible?
 
user2620028
I mean i know you live in canada... What did they do send you flowers with a love poem attached that affectionately conveyed their need for you to pay taxes?
 
8:53 PM
@SomeKittensUx2666 yea so that property for sure isn't there
@AaronSiciliano no I sent them a letter saying I was finally ready to pay them and for them to send me backlogs of all my T4's
they sent them, I filled them out and sent them back, today I got a letter telling how much I owed in total.
 
"Sorry IRS, I'm not ready to pay my taxes yet"
okay.jpg
 
$121 ( I said 131 before, I was mistaken )
 
They only get mad when you actually owe them a lot of money
 
user2620028
income taxes? lol
 
8:54 PM
yes
just income taxes
 
10 years of income taxes = $121?
 
user2620028
o.O $121 of income taxes lol uhhhh
 
@TravisJ I get pissed every year.
 
You've got to be shitting me
 
some years they owed me, other years I owed them
 
user2620028
8:55 PM
You mean like 3 days of income tax right?
 
that was the grand total
 
If you owe more than the salary of an agent, they will dedicate an agent to you fulltime until you pay.
 
user2620028
oh ok lol
 
Oh so it kind of balanced out
 
yup
 
8:55 PM
If I went 10 years w/o Id be hanging with Wesly Snipes
 
@Shmiddty would be very interested by your solution, do you have a few hints on how to do it ?
 
I wanna hang with Daywalker D:
 
@rlemon haha also grats on saving $10 as well!
 
user2620028
That is amazing lemon.... i bet that was a paperwork nightmare
 
Ain't no one can complain about tax to an Australian
 
8:56 PM
@monners I bet I can
 
We pay a LOT
 
They thought I owed them $300k once, and I got a phone call at 7 am every day for 6 weeks
 
user2620028
Yeah aussies pay a lot of tax lol
 
@TravisJ HAHAHA shit man
 
It wasn't automated
 
8:56 PM
@AaronSiciliano it was a lot of paperwork, but surprisingly straight forward
just a lot of it
 
I'm already in the 46% income tax bracket
 
I think I paid like 9k last year
 
user2620028
@TravisJ did you answer the phone in a different language each day?
 
@monners ouch. it is only like ~33/34% for me income tax*
 
heh on top of paying taxes all year :?
@monners jesus ok thats a lot
 
8:57 PM
@monners You win.
 
On top of sales tax, and everything else
 
@rlemon Yeah, same here
 
omg i haven't watched a fail video all september
im so behind!
 
@AaronSiciliano - No lol, I answered as politely as possible and tried to avoid having them audit me and just take everything I owned with a single wave of the hand
 
I'm at around 28%
 
8:58 PM
still adds up quickly. but fuck, if I payed that much income tax I would only see like 38% of my money at the end of it
 
@Loktar the same here... which country for you ?
 
user2620028
I think my taxes are pretty cheap :/
 
I'm surprised I wasn't audited
 
But it means we get to act all entitled to our politicians :P
 
8:58 PM
I really am
 
lookin straight grizzleeyyy
 
@Basj United States
 
@Loktar - You owed 9k after filing?
 
by the way.... what's the maximum size of a HTML page ?
 
Plus free healthcare, subsidized education, unemployment benefits, etc, etc
 
8:59 PM
@TravisJ yeah I owe close to that every year
my wifes a realtor and I do work on the side/have websites that generate income
 
can I place an element (of course I will never see you) at x=-10'000, y= 0 ?
 
Damn lol. Lot of contract work then
 
I don't pay quarterlies ever
so I just pay at the end of the year
 

« first day (1433 days earlier)      last day (3509 days later) »