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

10:05 PM
@SterlingArcher I can help tomorrow if you want
I set up databases every other day
 
Because PHP keeps breaking them?
 
@FlorianMargaine I'm almost done I think!
I just pasted the sql into the terminal, but when I hit enter it just hits a new line
a semi-colon + enter didn't do it either
 
@copy no, because my company likes to put me on new projects all the time
Hopefully I have only 7 working days left.
 
Where do you go again?
 
Commerce guys
 
10:10 PM
oops
 
@SterlingArcher leak your DB creds again?
 
no lol just a semi-colon that was meant for the terminal
After I post a mysqldump script, it wont let me hit enter -- like it's expecting something else. Does anybody know why?
 
because it's expecting something else
lol
 
But what? A semi-colon isn't what it wants
It's the output from a mysqldump command
I'm basically restoring the DB from it
 
ah
missing quote somewhere
does it show a >
 
10:21 PM
yup
 
probably missing a quote
 
fml it's a 5590 line sql file
 
you didn't paste the whole file did you
clarify
in other words, what's the command you're using to import it
mysqlimport or what
when updating oracle, postgres or mysql, i've generally either piped the data to the import binary or told it the location of the file
 
I pasted the whole file lol
 
lol ok
find out how to pipe the contents
 
10:25 PM
I tried doing the login... mysql -u [derp] -p [password] [db name] < file.sql but that didn't work either
pipe the contents?
 
the < file.sql is an example of piping the contents
 
Doing it that was just gives me mysql data
It doesn't seem to run anything
 
see if you have mysqlimport utility
 
Anyone here use a CODE keyboard?
 
then just run mysqlimport -h for help
 
10:27 PM
Or a Das Keyboard?
 
working on a production issue, so i may be busy
 
mysqlimport: option '-h' requires an argument
 
@monners DAS
 
You like it?
Was it everything you hoped it'd be?
 
it's alright
 
10:33 PM
I'm torn because I quite like my MacBook Pro keyboard, but I think with a mechanical I could be more accurate
 
ew, those silly chicklets
 
oh sorry -h is the host flag, forgot about that. i meant look at the import syntax by looking for the help function. or you can look at the manual for it @SterlingArcher don't remember off the top of my head
 
That's what I'm thinking about getting
 
I like the idea of the keyboard being blank because I rebind most of my function/modifier keys anyway
 
10:45 PM
smart
 
Shit, I could have it shipped to me today using a courier
Fuck, now I'm really tempted
 
Impulse buying is bad
 
I'm still mulling over what keys I want for wasdkeyboards.com
need a new keyboard for work
!!watch best restaurant or try to find something new and probably not be able to then just accept netflix never updates and watch best restaurant
 
@rlemon try to find something new and probably not be able to then just accept netflix never updates and watch best restaurant
 
10:53 PM
ugh. fine
how was Wanted?
looks shitty
 
Urg.
more prototype name stuff
Is there no way to stringify and keep instanceof?
 
what do you mean?
 
I'm storing the user's state in local storage
 
so when you rebuild the function you want to re set it's constructor?
 
keeping track of what tabs he has open, and there are four types of tabs
if (model instanceof Terminal) {
 
10:59 PM
so why do you need instanceof and what is blocking you :P
and why isn't that working?
 
!!test code in production or test code in development
 
@taco test code in development
 
@copy It's too late. I bought it
 
Because if I pull from localstorage, model.constructor.name === "Object"
  switch (keypather.get(model, 'state.from')) {
    case 'Terminal':
      model = new Terminal(model);
      break;
    case 'WebView':
      model = new WebView(model);
      break;
    case 'BuildStream':
      model = new BuildStream(model);
      break;
    case 'LogView':
      model = new LogView(model);
      break;
    default:
      return model;
      break;
  }
^ basically doing that instead
 
Use a lookup table (but yeah, that's the way to go)
 
11:01 PM
var model = something;
model.constructor = window[model.constructor.name];
???
 
@monners By the rules of impulse buying, you have to buy for me too now
 
err, that wouldn't work but you get the idea right?
idk. my first idea
 
@rlemon Can't do that either, browserify
 
@SomeKittensUx2666 I like how JS does pattern matching /cc @copy.
 
Not?
 
11:04 PM
okay it was a bad joke
 
@BartekBanachewicz vot?
 
but I've reread a whole semester of crypto and I'm brainwashed
@SomeKittensUx2666 nevermind, that joke was statically typed
 
Well, you would look up in { Terminal: Terminal, WebView: WebView, ... }
 
@copy yeah, I think I'll go with that
 
11:18 PM
@copy I'll be living off ramen for the next few days
 
Anyone ever used di-lite, or any of the other dependency injection frameworks?
 
For all the work they put into that keyboard, they put the footbar in the wrong place....
 
@Retsam It's removable
 
wow $173
 
@monners Yeah; but it doesn't look like you can put it in the front of the keyboard... which is where those things belong.
 
11:20 PM
That's probably how much I'll spend on keyboards in my lifetime...
 
@monners I can donate some bananas if you're in desperate need
 
@Retsam I much prefer a flatter angle personally
 
@monners Flat is okay, ergonomically a negative angle (keys higher in front) is better, and a positive angle is terrible for your wrists.
 
My CTO suggested I swap it out with our CEO's keyboard as a prank. See if he can login with blank keys
 
@Retsam I never thought about that, but keyboards really are at the complete wrong angle haha
 
11:22 PM
The main reason for a positive angle is for people who don't know where all the keys are to be able to see them easier. Which is not hugely useful with blank keys.
 
@twiz you mean Angular?
 
I actually really like the Microsoft Keyboard I was given at work (though we've switched to macs so I don't use it anymore), you could move the footbar to the front of the keyboard and give it a negative angle.
 
just flip it around backwards and learn to type backwards.
 
@Retsam Watched the Phil Fish video - awesome
 
@SomeKittensUx2666 I haven't really messed with it. Does it have that built in?
 
11:23 PM
I love things that encourage one to think critically.
@twiz "built in" is an understatement
 
Although I meant to be used in a backbone app.
 
@SomeKittensUx2666 Yeah, I'm the same way. And I thought it was really applicable to the whole Notch thing going on, too.
 
Notch is doing exactly what I'm planning on doing, just on a larger and more public scale.
 
Although, I've been meaning to use Angular so I might just do that instead.
 
so it's very sad to see all the criticism leveled at him
@twiz Do it. Your future self will thank you
 
11:28 PM
@SomeKittensUx2666 Yeah, to survive any sort of public internet attention nowadays requires incredibly thick skin.
 
@Retsam I would just delete/private-ify all my internet accounts.
 
"I disagree with your general philosophy, so I'm going to threaten to rape you" <- Yes, that's very effective at getting your point across.
 
And take my millions to go live on an island with no internet for a few weeks...
err sorry, BILLIONS
I WOULD BUY THE ISLAND
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵐᵃᵍⁱᶜ
 
11:31 PM
@twiz See, I don't like the implication there, that because you've made a ton of money, you no longer have any right to expect to be treated like a decent human being.
 
People on the internet are human beings?
but seriously, it's easy to be a terrible person when you're online and anonymous, so that's what people do.
If you're famous, then you'll get a lot more people talking to you in general. Actually, that's true even offline.
 
@twiz I mean, I get that, but that doesn't mean its okay.
 
Well morals are subjective, so nothing is okay. (Also everything is okay)
 
That's certainly an opinion, there.
 
Suicide bombers believe what they are doing is right. Either you agree, or morals are subjective.
 
11:40 PM
@twiz You seem to have that backwards. If you believe that morals are entirely subjective, then you have to say that suicide bombers are "equally right as anyone else".
If you believe in objective morality, then you can easily say that suicide bombers aren't right.
 
I'm saying morals are a belief.
 
I'm sure it's moral to them
 
Many of them probably do believe in an an objective morality, but so what?
 
@twiz Right, that's your position, not mine.
 
@Mosho morning
 
11:44 PM
@Retsam Hence, its subjective...? haha
 
@twiz ? I can't follow your argument at all. You're telling me that you believe morality is subjective, therefore they're subjective?
Saying "morals are just beliefs" is part of the definition of "subjective morality".
 
@Retsam You said we believe in different morals, so...
 
@twiz I sure don't recall saying that.
Regardless, sure, people believe in different morals, but that doesn't mean that all of those beliefs are equally valid.
 
Yea, nevermind. I meant when you said "Right, that's your position, not mine.", but that's not really what you meant
@Retsam Well how could anyone determine their validity?
 
@twiz The answer to that question is going to vary widely depending on who you ask.
 
11:50 PM
@Retsam Because it's subjective?
 
@twiz Nope. Saying it's subjective would be to say "there is no such thing as an invalid moral position" which is different entirely than saying "we can't necessarily determine whether a moral position is valid or invalid", which is what I'm saying.
There's no more evidence to say that morality is subjective than to say that its objective, and I think common sense points in favor of objectivity.
 

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