greptilian logo

IRC log for #sourcefu, 2013-01-10

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
12:28 pdurbin spilth: good job
13:24 agoddard joined #sourcefu
13:26 pdurbin agoddard: ok, i'm looking at https://irccloud.com ... seems interesting
13:33 pdurbin semiosis: have you looked at java 8's new lambda feature? http://openjdk.java.net/projects/lambda/
13:34 pdurbin i just finished listening to CON5089 - Jump-Starting Lambda Programming from the javaone 2012 conference: https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=5089
13:34 pdurbin here are the slides: http://www.myexpospace.com/JavaOne2012/SessionFiles/CON5089_PDF_5089_0001.pdf
13:35 pdurbin it all sounds good. was listening rather than watching since i was biking
13:35 pdurbin i'll have to study the slides
13:36 pdurbin it sounds like a good follow up to this would be CON4862 - The Road to Lambda by Brian Goetz - https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=4862
13:39 pdurbin right. Brian Goetz is the lead behind the spec: JSR 335: Lambda Expressions for the JavaTM Programming Language - http://www.jcp.org/en/jsr/detail?id=335
13:45 pdurbin page 50 of http://www.myexpospace.com/JavaOne2012/SessionFiles/CON5089_PDF_5089_0001.pdf says 'These are “statement lambdas” as opposed to “expression lambdas”' but i'm not sure i understand the difference
14:05 astorer joined #sourcefu
14:50 crimsonfubot joined #sourcefu
15:03 astorer joined #sourcefu
15:04 pdurbin semiosis: i asked in ##java at 08:48: http://www.evanchooly.com/logs/%23%23java/2013-01-10
15:05 semiosis java 8 lambdas, huh?
15:10 pdurbin they're the best!
15:10 pdurbin or so i hear
15:12 semiosis give me links to read please.  i've not been following too closely
15:12 pdurbin ^^
15:12 pdurbin :)
15:12 semiosis ok
15:13 pdurbin please let me know if you watch or listen to the talk i mentioned
15:14 pdurbin it's like a book club :)
15:14 pdurbin but i don't have much time to read books :(
15:14 semiosis i just put the http://www.myexpospace.com/JavaOne2012/SessionFiles/CON5089_PDF_5089_0001.pdf file on my note for reading later
15:17 pdurbin nice
15:25 pdurbin http://placekitten.com - "A quick and simple service for getting pictures of kittens for use as placeholders in your designs or code"
15:25 pdurbin via http://irclog.perlgeek.de/crimsonfu/2013-01-10#i_6317357
15:27 pdurbin i decided to put my svn2git guide here instead: http://dvn.github.com/dvn-sourceforge2github (work in progress)
15:55 spilth joined #sourcefu
15:56 pdurbin spilth: i'm using the hell out of jekyll locally today as i work on that site ^^. thanks again
15:57 spilth nice! Let me know if you have questions. I've gotten a bit of a better understanding of it recently.
15:57 pdurbin do we get any fancy new features now that github page has been upgraded to a newer version of jekyll?
15:58 pdurbin GitHub Pages, i mean
16:01 spilth Doesn't sound like they added anything too crazy - https://github.com/blog/1366-github-pages-updated-to-jekyll-0-12-0
16:26 astorer joined #sourcefu
16:48 pdurbin agreed
17:25 spilth who else is running/managing a CI server here?
17:47 semiosis jenkins
17:47 spilth How many teams/projects using it?
17:48 semiosis one cross-functional team, many projects
17:48 spilth Can anybody add a project or is there a process to get it add by an admin?
17:49 semiosis anybody could but that's rare
17:50 semiosis why do you ask?
17:51 spilth I'm the gatekeeper of our CI system (Anthill Pro) but want to move to a model where others are setting up their own projects
17:51 spilth Just curious how others are running theirs
18:01 philbot joined #sourcefu
18:01 Topic for #sourcefu is now http://sourcefu.com | logs at http://irclog.greptilian.com/sourcefu/today
18:34 pdurbin semiosis: hudson
18:34 pdurbin whoops
18:34 pdurbin spilth: hudson
18:37 semiosis hudkins ;)
18:41 pdurbin :)
18:42 astorer i'm doing this project where i have both userid and username, and i want to easily convert from one to the other and back. what is the right data structure for this?
18:43 astorer i'm using python, and just using two dictionaries, but i'm sure there's a better way
18:44 pdurbin astorer: one dictionary is enough, no?
18:44 astorer dictionaries like to be accessed like d['key'] = value
18:45 pdurbin true. hmm
18:46 astorer otherwise, you can loop through every value
18:46 pdurbin this reminds me of https://github.com/pdurbin/scripts/blob/master/playdates
18:46 pdurbin where the first key i care about is the kid's name
18:47 pdurbin but then i make hashes like by_tag and by_group
18:47 pdurbin so yeah, two dictionaries i guess
18:47 astorer http://stackoverflow.com/questions/1063319/reversible-dictionary-for-python
18:49 astorer if i hang out here, you're going to make me learn perl, aren't you?
18:50 pdurbin no. i promise
18:51 pdurbin my call for pythonistas: http://irclog.perlgeek.de/crimsonfu/2013-01-10#i_6318325
19:04 pdurbin astorer: i like that knuth is invoked in one of the answers. you have tough problems :)
19:04 astorer On my github page, I feel compelled to draw a picture in the "Your Contributions" box by committing only at certain times!
19:05 astorer pdurbin: there is no escaping knuth!
19:07 pdurbin astorer: for irc in emacs you want erc: http://irclog.perlgeek.de/crimsonfu/2012-07-31#i_5862920
19:15 astorer_emacs joined #sourcefu
19:15 astorer_emacs emacs!
19:15 pdurbin lol
19:15 astorer_emacs i can see why people use this znc thing
19:16 astorer \exit
19:16 astorer \quit
19:16 astorer oh noes! n00b attack!
19:25 astorer joined #sourcefu
19:44 semiosis astorer: a sql table with two columns, id & username
20:08 pdurbin semiosis: i like that answer
20:23 larsks joined #sourcefu
20:24 pdurbin larsks: bring the python
20:24 larsks pdurbin: I'm suspicious of the timestamps at http://irclog.greptilian.com/sourcefu/2013-01-10
20:25 larsks I don't think it's 20:08 yet.
20:26 pdurbin utc, baby
20:27 larsks This is 2013.  The internet should know where I am.
20:28 codex anyone here play Ingress?
20:28 pdurbin larsks: you could mention it in #ilbot
20:29 larsks Eh, I'm only ever going to see that in links from you. :)
20:30 codex larsks: haha - just saw "the internet should know" comment :)
21:29 pdurbin larsks: so... any python fu for http://irclog.greptilian.com/sourcefu/2013-01-10#i_1694 ?
21:32 astorer joined #sourcefu
21:33 astorer downside of emacs as irc client: emacs sometimes crashes
21:36 larsks I thought StackOverflow covered it pretty well.  I would probably just wrap the two-dictionary solution in a class to make it look like a single thing.
22:00 larsks Oh poo, boot.kernel.org is gone.
23:47 pdurbin larsks: that's cool
23:49 pdurbin oh that reminds me. i heard a talk last night by a python core developer. me mentioned his "Stop Writing Classes" talk is on youtube and that the slides are on github: http://www.youtube.com/watch?v=o9pEzgHorH0 https://github.com/jackdied/talks/tree/gh-pages/pycon2012
23:52 pdurbin the topic of his talk last night: [Python-Dev] Status of the fix for the hash collision vulnerability - http://mail.python.org/pipermail/python-dev/2012-January/115465.html
23:52 pdurbin one of three talks: http://masshackers.pbworks.com/w/page/62296943/January%209th%2C%202013

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com