cmaloney | jcastro: Jesus: https://twitter.com/castrojo/status/819325897161457664 | 00:01 |
---|---|---|
jrwren | lol @ jcastro server. | 00:25 |
shakes808_ | hey guys, i am looking to go to penguicon. how do i purchase tickets? or is it free? | 01:36 |
jrwren | its not free. | 01:46 |
jrwren | you wait until reg is open and you buy tickets :) | 01:47 |
shakes808_ | when does that happen? | 01:58 |
cmaloney | I think the tickets are already on sale | 02:48 |
cmaloney | but you'll want to get a hotel room | 02:49 |
jrwren | 21:48 cmaloney| I think the tickets are already on sale | 03:04 |
jrwren | 21:49 cmaloney| but you'll want to get a hotel room | 03:04 |
jrwren | shakes808_: ^^^ | 03:04 |
wolfger | https://2017.penguicon.org/ | 03:05 |
cmaloney | Apologies, I don't have join / part messages on by default. :) | 03:08 |
shakes808_ | jrwren: thank you. | 03:17 |
shakes808_ | cmaloney: thank you | 03:17 |
shakes808_ | wolfger: I was there and didn't see anything but buying ribbons | 03:19 |
shakes808_ | so if i buy one ribbon for $4, that is my entrance fee? Or am I not seeing something? | 03:20 |
cmaloney | https://2017.penguicon.org/registration/ | 03:21 |
shakes808_ | cmaloney: .... thank you?! is that in a different menu option? When I go to registration, it only has the Ribbons available. | 03:24 |
cmaloney | You have to click on the "registration" link, not the "ribbons" dropdown | 03:25 |
shakes808_ | Ah, thought that was just the top of the category and the sub categories were the only thing clickable. :( n00b, sorry | 03:26 |
cmaloney | Nah, it's just bad design | 03:28 |
cmaloney | You get used to it | 03:28 |
cmaloney | morning | 13:38 |
shakes808 | morning | 14:05 |
shakes808 | cmaloney: I know you know some mysql :) Question | 14:12 |
shakes808 | I am trying to get entries before 5PM current day | 14:12 |
rick_h | afternoon | 14:12 |
shakes808 | My WHERE clause is: AND from_unixtime(timefield, '%Y %D %M %H:%i:%s') < curdate() + '17:00:00' | 14:12 |
shakes808 | didn't seem to work for me. any hints? | 14:13 |
cmaloney | a: What time zone is your database set to? | 14:17 |
cmaloney | SELECT @@system_time_zone; //from this you can get the system timezone | 14:17 |
cmaloney | shakes808: ^^ | 14:17 |
cmaloney | Also: you appear to be converting a time field into a "datetime" | 14:24 |
cmaloney | don't do that. :) | 14:24 |
cmaloney | You'd be better off creating variables of the UNIX timestamp from midnight to 17:00 for the current day and comparing that. | 14:25 |
shakes808 | So my time zone is EDT. which is good, but how am i going to get 5pm current day? | 14:25 |
cmaloney | https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_unix-timestamp | 14:26 |
cmaloney | You'll need to determine if your unix timestamps are UTC and adjust accordingly | 14:26 |
shakes808 | cmaloney: alright, thank you. I will see what I can do | 14:52 |
cmaloney | have fun | 14:52 |
shakes808 | i am sure that they are EDT times. | 14:52 |
shakes808 | woot woot | 14:52 |
cmaloney | Verify that | 14:52 |
brousch__ | Some of our Python stuff is moving to Go. rick_h isn't that what you use? | 15:26 |
jrwren | brousch__: don't do it. fight it tooth and nail. | 15:31 |
brousch__ | Heh, well not really my fight to make | 15:31 |
jrwren | brousch__: go is the biggest mistake and disaster and snake oil to happen to the industry... possibly ever. | 15:31 |
jrwren | brousch__: find out who is making the decision and try to educate tehm. | 15:31 |
brousch__ | What's wrong with it? | 15:33 |
jrwren | sooo sooo much. | 15:34 |
jrwren | brousch__: here is a good start: http://nomad.so/2015/03/why-gos-design-is-a-disservice-to-intelligent-programmers/ | 15:36 |
brousch__ | Hm | 15:43 |
cmaloney | Um, they're not convincing me with this example: http://paste.ubuntu.com/23787332/ <- the D-language version | 15:58 |
jrwren | cmaloney: what is wrong with that example? | 15:59 |
cmaloney | It's not more readable. ;) | 15:59 |
cmaloney | and there are certain concepts that are hidden to non-D-developers | 15:59 |
jrwren | cmaloney: more readable than what? the go equiv? | 15:59 |
cmaloney | eg: to! | 15:59 |
cmaloney | yes | 15:59 |
jrwren | cmaloney: its more concise for sure. | 15:59 |
cmaloney | Definitely. | 15:59 |
cmaloney | The examples of Go remind me of Pascal / Modula2 | 16:00 |
cmaloney | with C thrown in for good measure | 16:00 |
jrwren | its not just about the go code though. | 16:00 |
jrwren | Rob Pike's lesser programmers thoughts are a problem. | 16:01 |
cmaloney | Definitely | 16:01 |
cmaloney | Though I think the bigger problem is how to make Java developers productive | 16:01 |
cmaloney | and develoeprs that have only been exposed to Java / C++ using STL | 16:01 |
jrwren | at google, they are very productive. so productive that they make the java compilation process slow, and go needed to be made. | 16:02 |
cmaloney | and Python / Scripting developers. | 16:02 |
jrwren | #1 reason Go exists, is to solve google's single checkout slow compile times. I has nothing to do with a newer better language for developers. Its a simpler language for a simpler compiler. | 16:02 |
jrwren | It is the ultimate of making humans serve the machien instead of the machien serve humans. | 16:02 |
cmaloney | At Google that's probably a better way to look at it. ;) | 16:03 |
cmaloney | The machines seem to get pretty testy. ;) | 16:03 |
jrwren | lol. | 16:03 |
cmaloney | jrwren: So what are your pain-points with Go? | 16:06 |
jrwren | I'll give Go a bit of credit. The 1 way of style formatting is nice. So nice, javascript has tools to do the same now: https://github.com/jlongster/prettier | 16:07 |
Zimdale | I've been having a hell of a time with package management in go though :( | 16:07 |
cmaloney | Zimdale: that is a problem of any language less than 10 years old | 16:07 |
jrwren | Zimdale: that is too bad. godeps is the tool we use, and I actually like it. Its great and I've had very little package management issue. | 16:08 |
cmaloney | Python managed to solve that after years of churn | 16:08 |
Zimdale | I was just over spoiled with npm | 16:08 |
jrwren | python solved it? wut? when? where was I? :) | 16:08 |
Zimdale | I haven't tried godeps | 16:08 |
Zimdale | used govendor a bit and it was rough | 16:08 |
jrwren | ha... hahaha... npm? oh my. I should have guessed. | 16:08 |
cmaloney | jrwren: la la la la, can't hear you. | 16:08 |
cmaloney | .whl FTW. ;) | 16:09 |
jrwren | ya know... I guess npm DOES work... once you adopt it fully. its just so foreign from a diff BG... and npm -g is still evil. | 16:09 |
jrwren | cmaloney: how does that work on windows? :) does pypi have the wheel? :) Sorry... so sorry... ugh. | 16:09 |
cmaloney | npm is OK, save for the dependencies on packages for everything under the sun | 16:10 |
jrwren | ya know... i hated on npm for a long time... but htese days... I agree. it is pretty great. | 16:10 |
cmaloney | jrwren: Honeslty most of the problems of Python disappear when you tell Windows users to GTFO | 16:10 |
Zimdale | it works for what it's meant to do | 16:10 |
jrwren | cmaloney: exactly! | 16:10 |
jrwren | Zimdale: exactly! | 16:10 |
cmaloney | "I can't compile MySQL libraries" <- GTFO | 16:10 |
cmaloney | "I can't compile SDL" <- GTFO | 16:11 |
Zimdale | That sounds like most languages cmaloney | 16:11 |
jrwren | the trick is learning that the way python, npm, and go use packages are each different and so what it is meant to do is different in each case, adn tehn you want something that one does but doesn't and filling the holes becomes necessary. | 16:11 |
cmaloney | Sounds like OO in JavaScript | 16:11 |
jrwren | MSFT gave up and made Subsystem for Linux and Ubuntu for Windows | 16:11 |
Zimdale | I am actually pretty glad I got a job that isn't just js all the time. | 16:14 |
Zimdale | So many horrible practices :( | 16:14 |
jrwren | really? | 16:17 |
Zimdale | It's javascript ¯\_(ツ)_/¯ | 16:18 |
jrwren | the community members I know all have pretty great standards and practices. | 16:18 |
jrwren | I think because its 20yrs old now, there is a lot of legacy bagage and so a lot of old bad stuff. | 16:18 |
jrwren | a lot like C, C++ and Perl | 16:18 |
cmaloney | https://www.dropbox.com/s/7rvx4wx39seb5or/Screenshot%20from%202017-01-12%2011%3A17%3A37.png?dl=0 <- I love argument by Wikipedia links | 16:19 |
Zimdale | There's a lot of standards and stuff we followed but it took so much effort in testing just to make a solid system | 16:19 |
Zimdale | 'bout to do some xml parsing in go | 16:21 |
Zimdale | \o/ | 16:21 |
jrwren | lol... do what ya gotta do. I do too. | 16:22 |
jrwren | for js folks... have you seen nabs? it looks really great. | 16:24 |
Zimdale | the yaml thing? | 16:26 |
wolfger | jrwren: did you just call Perl "bad stuff"??? | 16:28 |
cmaloney | Perl lost the plot for a while | 16:29 |
wolfger | Oh, I read it (slightly) wrong. | 16:30 |
wolfger | Perl is full of legacy baggage and bad stuff.... | 16:30 |
wolfger | <shrug> I suppose it probably is. | 16:30 |
jrwren | wolfger: I LOVE perl. don't get me wrong... but... its old and crusty and it took many years to find its way to being better and so there is a lot of perl code out there which could have been written much better. | 16:30 |
jrwren | a lot like C and C++ in that regard. | 16:31 |
wolfger | I initially read that as "it's full of bad stuff: C, C++, and Perl". | 16:32 |
cmaloney | any language with a history is going to have bad stuff | 16:32 |
cmaloney | I'm sure there's Ruby / Python code out there still in use that isn't up to par | 16:33 |
cmaloney | (probably more Ruby code than Python because of the heavy churn during the Rails era) | 16:33 |
cmaloney | s/Rails/early Rails/g | 16:34 |
jrwren | definitely. | 16:34 |
jrwren | espeically given python 2.x GC changes. | 16:34 |
jrwren | object lifecycle best practices changed <2.5 to >2.5 | 16:34 |
cmaloney | Yeah, i actively tried to blacklist python 1.5 from my machine | 16:34 |
jrwren | ugh... 1.x... | 16:35 |
wolfger | LOL... any language with a history has bad stuff. Languages without much history, even more so! | 16:37 |
=== Zimdale is now known as Guest53233 | ||
=== Guest53233 is now known as Zimdale | ||
shakes808 | http://www.mlive.com/news/index.ssf/2017/01/bill_would_eliminate_daylight.html#incart_river_index | 21:08 |
jrwren | feels good man. | 21:11 |
=== smoser` is now known as smoser |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!