« first day (1430 days earlier)      last day (3516 days later) » 

8:00 PM
You can make piston launchers now
 
@LucasB order of operations.
 
I've built some, you mean with the tnt blocks and water?
 
no, they launch entities just like you would expect them to
 
BRILLIANT
 
put a slime block on top of a piston, stand on top of both, and trigger the piston
 
8:02 PM
Oh yeah, I heard about the slime blocks
 
you go like, what, 10 blocks up?
 
I haven't played since that update though
 
@Neal How can I fix it?
It's a very generic question, and couldn't find on google - "else not working with OR conditional" etc
 
var val = $(this).val();
if(val === 'Student' || val === 'Pos-Gratuation Student') { ...
@LucasB ^^^
order of operations man... the second thing went first so you were comparing $this.val() == true which is always true...
bc you were using ==
 
ah, I didn't know I had to repeat the whole order, instead of just the value
 
8:05 PM
34 secs ago, by Neal
order of operations man... the second thing went first so you were comparing $this.val() == true which is always true...
 
@Neal Huh?
 
You dont have to repeat it... you were just saying if true == true.
@copy the if statement he had was saying "some string" == true which is always true.
sorry I was confusing myslef
 
@Neal It indeed worked. Thanks for the lesson
 
wat?
 
if( foo === 'bar' || 'this is truthy so it will always pass the if' )
 
8:06 PM
yout statement was always saying $this.val() == "Student" since the || was just taking the 1st one
 
!!> "some string" == true
 
@KendallFrey false
 
was the issue
 
@rlemon ya.
 
@KendallFrey isn't a string truthy?
 
8:07 PM
truthy, yes
 
!!> if ( false || 'foo' ) { console.log('here') }
 
@rlemon that what i was saying. sorry long few days.
 
but not == true
 
@rlemon "undefined" Logged: "here"
 
Not 1-y
 
8:07 PM
!!> "1" == true
 
@Meredith true
 
!!> "1" === true
 
@Neal false
 
ding
 
!!> eval((0 + [,1,2,3,4,5] ).replace(/,/g,'+'))
 
8:10 PM
@rlemon 15
 
m59
Just curious, can jade convert jade to html from a variable in a jade doc?
 
@m59 42
 
m59
compile('!{foo}')({foo:'p Jade!'});
some craziness like that is what I'm referring to
 
Easy way: eval. Hard way (and probably the one used): parsing
 
8:19 PM
yay to parsing all the things!
 
Hows it going @ircmaxell ? :-)
 
it's going pretty well, yourself?
 
@ircmaxell morning
 
@ircmaxell its goin good :-) Hows google life?
 
Google's amazing
 
8:22 PM
@ircmaxell Lucky you. Too bad we ddnt hire you here ;-)
 
:-)
You never know ;-)
 
(or you ddnt come here :-P)
@ircmaxell you told me that you did interview where I am now :-)
Would have been nice to meet up ^_^
 
where are you now again?
 
@ircmaxell Stealth Travel
 
Oh yeah
that place
I remember that now
 
8:23 PM
@ircmaxell "that place"?
 
I forgot about talking to them
 
you can hire me. I will do remote work. zero results for zero pay
wuddyasay?
 
@rlemon Ha we were looking for a front end dev. noone bit here
We just hired someone starting tomorrow.
@ircmaxell :'-(
 
fuck that, I wanna put Google on my resume
 
@rlemon go join @ircmaxell
 
8:25 PM
Come on over
 
1 min ago, by rlemon
you can hire me. I will do remote work. zero results for zero pay
 
I had an interview in the Google building in february. but not for google.
 
realistically i'm very happy with my current job
maybe in a few years if this place gets bought out
 
:-)
 
hahahaha
gf: <shows me picture of a girls hair style> does this look okay?
me: yea, she's sexy
gf: <not impressed>
:P
 
8:29 PM
I wanna put, "purveyor of fine javascript" on my resume'
 
@rlemon ooh, I'll have to steal that one
 
@NickDugger So do it?
 
Make me
 
@ircmaxell Google was unimpressed with me
 
Nick Dugger
-------------------------
Skills: I hate everything you like.
Current Occupation: Hipster
Education: Seen Goodwill Hunting like 8 times brah.
4
 
8:30 PM
:-/
 
I actually just got it on bluray this past friday
but I'm not a hipster
 
@SomeKittensUx2666 instantly gets you out of the conversation (and into the doghouse)
 
@rlemon Yes, but she's less likely to ask next time. Operant conditioning!
(I'm kidding, by the way)
 
:D sure sure
<tomorrow> SomeKittens: rlemon you asshole, not only did I sleep on the sofa, now I have to explain to co-workers why my wife gave me a black eye!
 
Google being unimpressed with me is fairly funny, because they're going to be paying a LOT for me in ~2+ years
 
user1596138
8:31 PM
@rlemon Hahahahahahahahahahahahahahaha
 
user1596138
I am dying at the goodwill hunting
 
user1596138
lmfao
 
to be fair, it is a good movie
 
user1596138
The bosses son was here (who is living in Portland, Oregon) and wouldn't shut up about goodwill hunting
 
@NickDugger it really is
 
8:32 PM
@SomeKittensUx2666 good luck with that (seriously, not being sarcastic here)
 
user1596138
But the way it goes hand in hand with hipsters is unreal
 
> DO YOU LIKE APPLES?!
 
> they're going to be paying a LOT for me in ~2+ years
dat ego
Well how 'bout dem apples!?
 
How do you like those apples*
 
user1596138
@NickDugger pfft ego? He's realistic haha
 
8:34 PM
Was "How do you like them apples" a saying before that movie? I've only ever heard it said in reference to the move.
 
@ircmaxell Thanks! We're doing very well, someone's going to pay a pretty penny, and it's better than even odds it'll be Google.
 
@rlemon I've only seem the movie twice
 
@Retsam I'm not sure, I don't think so
 
dat ego.
 
@SomeKittensUx2666 sweet!
 
8:34 PM
ah you mean Runnable not you personally
 
user1596138
If you don't recognize how far you can go with this, you're an idiot. Even I know that and I'm making like $15/hr at some bullshit magazine thing haha but I'll make 6 figures across the nation in the next decade. Unless I give up
 
@Loktar Correct
 
@NickDugger HAH
 
Did you make runnable? I've still not used it. I don't think I even understand it completely
 
I just saw you typed the same thing
 
8:35 PM
idk about you guys, but i'd pay good money for SomeKittens. the quality of escorts in my area is shabby at best.
 
fuck looks like I just gave away my secondary persona
yeah thats my thing I don't understand runnable either
like why use it over a VM or something
 
@Loktar online
 
user1596138
I liked runnable lol I used it over the weekend
 
@rlemon er thats what i mean VPS.
 
user1596138
But I also like deploying droplets for VMs on DO.
 
8:36 PM
> hey man, can you check out this demo and help me? yea just get on team viewer... ohh well it is easy just download and install it and wait. let me open up some ports. fuck.
 
yeah but is there a market for just that?
 
user1596138
It's like a slimmed down edition of a VPS... That you just forget abpout and don't waste time setting up
 
usually teams are working with the same codebase /tech anyway
 
@Loktar idk. ask @SomeKittensUx2666 :P
 
and you are most likely going to ask a team member for help first anyway idk
not knocking runnable at all I was looking at it trying to figure out how id use it
 
8:37 PM
that is why I have a mirror next to my desk
 
it just seems like jsfiddle with server side technologies
 
user1596138
I see the use for it outside of a team? I think it's just a different style. Some of you like to sandbox everything, some of us use our normal environments, some people try to use Koding (dear god don't do that)
 
me: hey rlemon, what should I do here?
mirror me: ask on SO. has always worked in the past.
me: Thanks mirror me!
mirror me: no prob bob.
me: DON'T FUCKING CALL ME BOB!
 
Koding turned out to be such a disappointment :( It could've been cool
 
user1596138
@NickDugger right lol. If it worked for more than 3 minutes at a time before crashing and burning
 
user1596138
8:39 PM
Getting stuck between fake "pages" like jQuery mobile does when it renders all the pages in one document
 
I wrote ~10 lines of code today. I didn't have any caffeine this morning. I'll just have a redbull tomorrow to make up for it. I get twice my normal workload done if I'm on an energy drink
 
user1596138
@NickDugger do you watch portlandia
 
I haven't done any coding in like 2 weeks :(
 
@Jhawins Of course! Love that show!
 
user1596138
lmao. I just don't get it.
 
user1596138
8:41 PM
But idk I guess you are a hipster dude sorry. I didn't even know.
 
It's hilarious! I dunno, I grew up in a high school FULL of hipsters, so I understand the making fun of hipsters, thing.
 
user1596138
Only hipsters understand Portlandia
 
I'm not a hipster!
 
user1596138
Or something. I don't think anyone does
 
I just grew up with them
 
user1596138
8:42 PM
> Raised by wolfs but I act like a motherfucking butterfly
 
touche'
 
user1596138
lmao. Anyway, home time for me have a good one
 
@NickDugger I just work here
 
user1596138
!!afk you aren't getting any Jordan
 
Not a founder, sadly
 
8:43 PM
stock options?
 
the more and more I see @Jhawins and @SterlingArcher communicate in here the more and more I think they are secret lovers
 
@SomeKittensUx2666 Well, we can't all found everything. otherwise I'd want some of those mojang dollars
 
@Loktar Our big product isn't even out yet
 
so thats not even the main product then eh?
 
@rlemon There's nothing secret about it. We all know
 
8:44 PM
@rlemon that's exactly the problem we're solving.
 
@rlemon I'm solving my problem of caching, etc. Do you have an idea for something else : I would like to have text input (ie a textbox) on this canvas. What kind of element should I use ?
 
@Loktar Yep. Decent amount
 
thats cool
 
@Basj no clue man
tip: I'm not a very good programmer.
it isn't even a pro tip, because I'm not good at those either
 
@Basj an input?!
:P
 
8:45 PM
@Loktar DOM element ?
 
yea
don't recreate form elements in canvas
 
^
over lay them or off canvas them
 
it can get icky, and is just a waste of code honestly
 
@rlemon you're not a good programmer!? You're shattering my entire understanding of javascript and life!?!!??
 
I'm really not. I don't write unit tests, I don't often comment. I'm a half assed tester, I test in production. I don't use source control to the best of its ability
where should I stop
 
8:46 PM
HAMMERTIME!
 
@rlemon that's me
 
I write... so many bugs
 
he doesn't even use task runners!!! :P
 
@rlemon urrrrgh.
 
8:46 PM
but they arn't even bugs. they are omissions
 
I have the knowledge, but not the fucks given
 
well, we can't all be @BenjaminGruenbaum
 
lol
 
But, if you're not good, what does that make me? Terrible?
 
yes
 
8:47 PM
:'(
 
A steaming pile
of moist poo
 
you are where I was in the first few years of programming
 
@NickDugger still better than w3schools
 
I could do a bit, and thought I was a god. then I realized I sucked.
 
@JanDvorak doesn't take much, lol
 
8:48 PM
@rlemon I don't think I've ever written a unit test
 
w3schools makes more $$
thats all that matters.
gets more ladies too.
 
Is that something I should be doing
 
@Meredith yes. :P
 
I don't even know what a unit test is tbh
 
learn it
 
8:48 PM
what is sad is I used to run a SQA department and was an asshole about unit tests - now I don't write them myself.
 
that's true :( I push all the ladies away, because I'm a lonely, jaded, hermit-man
 
@Meredith are you writing an OS, or a SPA?
 
@Loktar a little help on how to create an input DOM overlayed on the canvas when we click on the background ? Here is the original code : s419743653.onlinehome.fr/things/test2.htm
 
I'm not writing an OS and I don't know what a SPA is so probably not
 
@Meredith are you making a billing system for a SPA?
thats where the money is in SPA's.
 
8:49 PM
a spa is where you go to get a manicure and to get off by fabio
 
@Basj sorry man at work working on work shiz.
 
@Basj step 1: create a canvas; step 2: create an input element; step 3: position the element appropriately
 
^
if you want you can even cut a hole in the box for step 2
 
I googled SPA and I just got results for spas
 
@rlemon "secret"
 
8:50 PM
totally dependent on how you feel.
 
canvas.onclick = function() {
  var centerX = this.offsetWidth / 2;
  var centerY = this.offsetHeight / 2;
  var input = document.createElement('input');
  input.style.position = 'absolute';
  input.style.width = 128 + 'px';
  input.style.left = centerX - 64 + 'px';
  input.style.top = centerY / 2 + 'px';
  document.body.appendChild(input);
}
 
@Meredith Single Page Application.
 
Oh
I've made those before
 
sometimes I like just tossing out food mixed with screws and watching the birds go nuts trying to figure it all out.
 
@rlemon Yeah! It nearly works : s419743653.onlinehome.fr/things/test2.htm
 
8:53 PM
@rlemon is this an analogy?
 
yes
tossing random code to help vamps
 
@rlemon :)
 
I was thinking tossing salad
 
...
 
That wasn't a metaphor!
 
8:54 PM
what you do in the bedroom is your own business
 
@rlemon Was that a pun?
 
You mean in the kitchen
 
@rlemon the input is created but hasn't focus, and it seems impossible to get focus on this element, do you have a clue ?
 
@SterlingArcher tosses @Jhawins salad
 
element.focus()
bro, do you even google?
 
8:56 PM
bro, do you even salad?
 
yes
 
Salad, do you even bro?
 
I'm not your Salad, buddy
2
 
I'm not your buddy, guy
 
I'm not your guy, bro
Damn you
 
8:57 PM
@rlemon oh thanks !
 
@Basj google is your friend
!!google how to give an input focus
 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I wonder
!!google how to give an input focus -jQuery
 
snip this moist towlette while you squirt some crunchy soap on your wrinkly, rubbery fingers
 
8:58 PM
ohh sweet.
 
Google is like a fluffer on a porn set. It doesn't judge, it just watches and learns.
 
Two canadian buddy chains in 1 day?
Amazing!
 
Ok it works now!

Something else : As I don't want to keep the DOM input once the edit is finished (or at the end I would result with thousands of <input>), I will destroy the DOM input once the edit is finished. And render the text to the canvas!
 
better to just hide it
 
!!urban fluffer
 
8:58 PM
@SomeKittensUx2666 fluffer (noun) a person in the adult entertainment industry whose job it is to give male porno stars blowjobs in order to get them ready to perform.
 
then you don't create / remove if you need it more than once
 
@rlemon hum I did a test with thousands of DOM inputs , and it is very bad
 
create it on load, show it on click, hide it when you are done with it
you only need one if you are only showing one at a time
re-purpose it
 
@rlemon oh yes true...
 
DOM manipulation should be avoided if you can
 
8:59 PM
@SomeKittensUx2666 Really? Really?
 
I need a volunteer. I'm going to photoshop you tomorrow
 
I didn't know fluffers were a thing
 
@monners reaaaaaaaly
 
if they are a fluffer, why not just do porn?
 
@NickDugger Me, duh
 
9:00 PM
I'll do that. But the problem is elsewhere : if I want all the texts to be editable s419743653.onlinehome.fr/things/test2.htm), I need to track the position of the clicks ? how would you do that ?
 
I already did, don't you remember?
 
@NickDugger you were supposed to add boobs to @Jhawins remember?
 
@rlemon They ugly
 
warning: theres a picture on the wiki article
 
9:01 PM
@monners then how are the men getting hard?
 
@Basj use the Google, young padawan
 
@rlemon Oh yeah, I forgot about that
@Jhawins I'm gonna photoshop you tomorrow.
 
@NickDugger Jhawins is afk: you aren't getting any Jordan
 
@rlemon Go ask your parents
 
@Jhawins ... dat afk message :(
 
9:02 PM
18 mins ago, by rlemon
the more and more I see @Jhawins and @SterlingArcher communicate in here the more and more I think they are secret lovers
 
@JanDvorak google what ?
 
Anybody know how to run a tarball sql file on ubuntu?
google isn't being handy
or I just don't know what keywords to search
 
!!afk going to get the hamster removed.
 
... oh god D:
 
But it's been years!
 
9:16 PM
you can tell its quitting time in the north western hemisphere of the world for many people :P
crazy active chat... then dead
 
I'm trying to setup this database but I don't know what im doing X.x
I have the sql file for table definitions, and I have the credentials for logging in, but I have no idea how to login
 
I cant remember the syntax.. something like mysql -u username -p ?
@SterlingArcher there are gui's out there for doing that sort of thing
 
I tried that, but the database hasn't been made
 
MySQL workbench
 
Oh really?
For ubuntu 14?
 
9:18 PM
yeah select ubuntu in the drop down
there are also web gui's like umm phpmyadmin
workbench can be a bit confuing but the docs on the site imo are pretty decent
 
Oh nice!
 
Workbench is pretty nice
 
installing
I have it on my non vm too, but I don't use it much
Ok, I'm confused already.
I created my connection, but the db doesn't exist so I can't login?
oh oh ohhhh
 
you should get logged into the mysql server where you can create a DB
 
How do I run a script to create tables?
I don't see any sql input areas
ahhhh i might have found it
 
9:35 PM
I just deployed my first major app to production!
 
So, someone comes in and edits an old answer of mine to include (imo) out-of scope functionality...
How did that get accepted?
Or, rather, should it have been?
 
People just powering through edit queue
You can revert it
It shouldn't have been accepted.
 
I think I might, with a comment explaining it's out of the scope of the question. (Who puts HTML in a contenteditable any way?)
 
!!separation of concerns or code deduplication
 
@SomeKittensUx2666 code deduplication
 
9:51 PM
Pff, his extra feature of the regex not replacing quotes in html tags doesn't even work.
 
inb4 he yells at you
 
We'll see :P
Heh, he's edited that answer before... Which got reverted (Not even by me)
 
same code?
 
No, he removed some of my code that intentionally reverted it’s back to it's
With some personal preference code formatting in the edit, too.
 

« first day (1430 days earlier)      last day (3516 days later) »