| [2009/12/05 02:34:28] @ Log started by gepetto | ||
| [2009/12/05 02:34:28] <jamestur1bull> rubyists - a question | ||
| [2009/12/05 02:34:43] <jamestur1bull> I have a string - a line from a file | ||
| [2009/12/05 02:35:06] <jamestur1bull> I want to extract some stuff from the line to variables - some unique some multiple | ||
| [2009/12/05 02:35:26] @ Chiku joined channel #puppet-dev | ||
| [2009/12/05 02:35:55] <jamestur1bull> some unique things I can match with regexs using file open.each line etc | ||
| [2009/12/05 02:36:30] <jamestur1bull> but some structures are repeated so I want to loop over a particular regex until all instances of it in the line are assigned to a hash | ||
| [2009/12/05 02:36:58] <jamestur1bull> just not sure how to do it | ||
| [2009/12/05 02:41:39] @ Quit: jamestur1bull: "leaving" | ||
| [2009/12/05 02:42:48] @ jamesturnbull joined channel #puppet-dev | ||
| [2009/12/05 02:43:08] @ Quit: jamesturnbull: Client Quit | ||
| [2009/12/05 02:44:29] @ jamesturnbull joined channel #puppet-dev | ||
| [2009/12/05 03:41:01] <ohadlevy> jamesturnbull: split based on regexp and loop again? | ||
| [2009/12/05 04:54:31] <jamesturnbull> ohadlevy: can that loop through the same regex multiple times? | ||
| [2009/12/05 05:43:15] <ohadlevy> split(/regexp/).each ? | ||
| [2009/12/05 05:43:27] <Volcane> string.scan | ||
| [2009/12/05 05:43:44] <Volcane> not sure if that'll work but it returns all matches of patten | ||
| [2009/12/05 05:45:11] <jamesturnbull> Think I've got it with split and map | ||
| [2009/12/05 05:50:49] <jamesturnbull> thanks for the pointers guys - pushed me in the right path :) | ||
| [2009/12/05 05:53:15] <Volcane> yesterday at the scalecamp thing | ||
| [2009/12/05 05:53:19] <Volcane> LOTS of puppet hate | ||
| [2009/12/05 05:53:25] <Volcane> they all use it, they all hate it | ||
| [2009/12/05 05:54:36] <ohadlevy> why? | ||
| [2009/12/05 05:55:43] <Volcane> dont think pure sysads 'get' the paradigm difference in the language to say every other language | ||
| [2009/12/05 05:57:25] <jamesturnbull> weird | ||
| [2009/12/05 05:57:40] <jamesturnbull> did they give feedback on things they'd like fixed/changed or was it more fundamental? | ||
| [2009/12/05 05:57:54] <jamesturnbull> was it the declarative nature? | ||
| [2009/12/05 05:58:07] <Volcane> didnt get time to talk to ppl, were pretty much talk to talk to talk | ||
| [2009/12/05 05:59:11] <Volcane> and http://yfrog.com/1dhjzj | ||
| [2009/12/05 06:00:10] <ohadlevy> not nice | ||
| [2009/12/05 06:00:11] <jamesturnbull> oh funny funny | ||
| [2009/12/05 06:00:23] <jamesturnbull> Volcane: is that your arm? :) | ||
| [2009/12/05 06:00:34] <ohadlevy> maybe a better name for the second book :) | ||
| [2009/12/05 06:00:47] <Volcane> hehe thats in cloudera office | ||
| [2009/12/05 06:03:54] <Volcane> i think its the usual 'tool doesnt work how i think it should work' rather than lets understand the tool and use it | ||
| [2009/12/05 06:04:05] <Volcane> also the general baggage that comes with cf management in general | ||
| [2009/12/05 06:04:21] <Volcane> would only take "a second" to just log in and change the file | ||
| [2009/12/05 06:06:36] <ohadlevy> jamesturnbull: hows the book going? :) | ||
| [2009/12/05 06:07:11] <jamesturnbull> Volcane: http://img49.yfrog.com/my.php?image=hjz.jpg&via=&cid=3e82a74850e34183314a9ba52c421637#3e82a74850e34183314a9ba52c421637 | ||
| [2009/12/05 06:07:28] <jamesturnbull> ohadlevy: slowly - too much other stuff on - 2 chapters done but stopped currently | ||
| [2009/12/05 06:08:42] <Volcane> jamesturnbull: heh, thats the founder of last.fm | ||
| [2009/12/05 06:09:38] <Volcane> who was also recommending rnning memcache on every web server - cos webservers are cpu bound and memcache is memory | ||
| [2009/12/05 06:09:41] <Volcane> what? | ||
| [2009/12/05 06:12:14] <jamesturnbull> memcache is memory wow | ||
| [2009/12/05 06:12:34] <jamesturnbull> I'll skip buying any new ram EVER | ||
| [2009/12/05 06:16:23] * Volcane should go, chat later | ||
| [2009/12/05 06:19:34] <jamesturnbull> Volcane: later | ||
| [2009/12/05 06:23:21] <Volcane> "free delivery, usually within 28 days" | ||
| [2009/12/05 06:23:27] <Volcane> some ppl dont understand the internet | ||
| [2009/12/05 06:23:47] <jamesturnbull> lol | ||
| [2009/12/05 06:23:51] <jamesturnbull> what are you ordering? | ||
| [2009/12/05 06:24:16] <Volcane> yet another camera | ||
| [2009/12/05 06:24:33] <Volcane> got g/f a nice pocket camera | ||
| [2009/12/05 06:24:33] <jamesturnbull> got a recommendation for an SLR? | ||
| [2009/12/05 06:24:38] <Volcane> she lost it | ||
| [2009/12/05 06:24:45] <Volcane> then we found the charger | ||
| [2009/12/05 06:24:59] <Volcane> then she lost that, then we found the camera but couldnt find the charger | ||
| [2009/12/05 06:25:11] <Volcane> then when i got her a new charger she'd lost the camera again | ||
| [2009/12/05 06:25:41] <jamesturnbull> lol | ||
| [2009/12/05 06:25:48] <jamesturnbull> comedy == errors | ||
| [2009/12/05 06:25:54] <Volcane> nods :) | ||
| [2009/12/05 06:26:13] <Volcane> I'm keen on getting a nikon d90 | ||
| [2009/12/05 06:26:21] <jamesturnbull> yeah that's my idea | ||
| [2009/12/05 06:26:23] <Volcane> but have many nikons already and nikon lenses | ||
| [2009/12/05 06:26:34] <Volcane> so cant say how it compares to the competition | ||
| [2009/12/05 06:26:35] <jamesturnbull> they have a deal currently where you get the chassis and two lens | ||
| [2009/12/05 06:27:04] <Volcane> which lenses? | ||
| [2009/12/05 06:28:20] <Volcane> the video thing on it is just bizarre, seems so unnatural to have live video on a SLR heh | ||
| [2009/12/05 06:28:25] <Volcane> nice quality though | ||
| [2009/12/05 06:28:41] <Volcane> i've a d70 and d80, girl will get hte d80 i guess | ||
| [2009/12/05 06:29:14] <Volcane> the 18-200 vr lens from nikon is wicked, its not like pro quality but its so convenient and good for holiday etc | ||
| [2009/12/05 06:29:29] <jamesturnbull> 18-105 and 18-200 I think | ||
| [2009/12/05 06:29:30] <Volcane> 1 lens to bother with, never have to travel with multiple | ||
| [2009/12/05 06:30:07] <Volcane> how much for that? my 18-200 vr lens was almost 600 pounds | ||
| [2009/12/05 06:30:31] <Volcane> oh, it was almost 700 cos i gave the store owner some cash in hand to give me someone else's ordered one :P | ||
| [2009/12/05 06:30:48] <Volcane> they were impossible to find for the first 8 or so months since release | ||
| [2009/12/05 06:31:11] <jamesturnbull> hmmm about $1600 Australian I think | ||
| [2009/12/05 06:31:22] <jamesturnbull> so about 4 pounds 50 pence | ||
| [2009/12/05 06:31:48] <jamesturnbull> I personally don't see why I'd need more than one lens | ||
| [2009/12/05 06:32:23] * ohadlevy has d09 | ||
| [2009/12/05 06:32:50] <ohadlevy> s/d09/d90 | ||
| [2009/12/05 06:32:52] <Volcane> jamesturnbull: yeah with the 18-200 you'll be well set, its a bit heavy and stuff but such a usable range | ||
| [2009/12/05 06:33:46] * ohadlevy is looking forward going to NZ in a couple of weeks :) | ||
| [2009/12/05 06:34:28] <Volcane> nice | ||
| [2009/12/05 06:34:32] <Volcane> wish i had more time there | ||
| [2009/12/05 06:34:51] <ohadlevy> its my second time there, and I think I'm even more excited then the first time :) | ||
| [2009/12/05 06:35:12] <jamesturnbull> ohadlevy: wellington? | ||
| [2009/12/05 06:35:16] <Volcane> i only got to auckland, other ppl from work who went got given time off and cars to go explore etc | ||
| [2009/12/05 06:35:17] <ohadlevy> south | ||
| [2009/12/05 06:35:45] <jamesturnbull> just came back from Wellington | ||
| [2009/12/05 06:35:49] <jamesturnbull> had a great time | ||
| [2009/12/05 06:35:59] <ohadlevy> i traveled nz for a couple of months when I was younger | ||
| [2009/12/05 06:36:02] <Volcane> went there for a due diligence, watched their sysadmin delete all domains from his NT4 name server by accident and having no backups | ||
| [2009/12/05 06:36:07] <Volcane> and decided I've seen enough :P | ||
| [2009/12/05 06:36:09] <ohadlevy> this time traveling with a baby, so probably it would be different :) | ||
| [2009/12/05 06:37:20] <ohadlevy> jamesturnbull: vacation? | ||
| [2009/12/05 06:38:33] <jamesturnbull> ohadlevy: work and kiwicon | ||
| [2009/12/05 06:39:56] <jamesturnbull> ohadlevy: I am actually having a vacation after Hanukkah this year - going to take a couple of weeks and go to Vietnam | ||
| [2009/12/05 06:40:15] <ohadlevy> ah thats cool, are you celebrating Hanukkah? | ||
| [2009/12/05 06:40:29] <jamesturnbull> not big on holidays | ||
| [2009/12/05 06:40:35] <jamesturnbull> religious ones that is | ||
| [2009/12/05 06:40:43] <jamesturnbull> but will see family etc | ||
| [2009/12/05 06:40:45] <jamesturnbull> and fake it | ||
| [2009/12/05 06:41:20] <jamesturnbull> you? | ||
| [2009/12/05 06:41:35] <ohadlevy> I didnt know you were in the tribe ;) - yeah, I share the same feelings (hopefully no one in my family reads irc logs ;)) | ||
| [2009/12/05 06:42:11] <ohadlevy> i usually prefer to travel during those times, reduce the conflicts to which side of the family you go to | ||
| [2009/12/05 06:42:28] * Volcane prefers living 11000 km from any and all family :P | ||
| [2009/12/05 06:42:29] <jamesturnbull> your other half gentile? | ||
| [2009/12/05 06:42:41] <jamesturnbull> Volcane: word | ||
| [2009/12/05 06:43:13] <ohadlevy> we're both jewish | ||
| [2009/12/05 06:43:23] <jamesturnbull> ohadlevy: we're not really practising anymore, grandparents were pretty much the last ones who took it all seriously | ||
| [2009/12/05 06:43:39] <jamesturnbull> my highly hypothetical kids won't be | ||
| [2009/12/05 06:43:45] <ohadlevy> :) | ||
| [2009/12/05 06:43:53] <ohadlevy> i enjoy the social events more or less | ||
| [2009/12/05 06:44:13] * Volcane knows an athiest jew who brings his kids up with both xtian and jewish in the hope that the kid can choose for himself | ||
| [2009/12/05 06:44:20] <jamesturnbull> I like kosher food :) | ||
| [2009/12/05 06:44:21] <Volcane> that's gotta be an interesting family dynamic :P | ||
| [2009/12/05 06:44:57] <ohadlevy> jamesturnbull: if we ever turns on to be at israel at the same time, I'll take you to some nice places | ||
| [2009/12/05 06:45:06] <ohadlevy> i find the food in Israel very unique | ||
| [2009/12/05 06:45:13] <Volcane> surname eskenazi, which means most online services wont let him signup iwth this real name thinking him some nazi extremist, unfortunate | ||
| [2009/12/05 06:45:46] <Volcane> ohadlevy: i enjoyed israel but not sure i am keen on going back | ||
| [2009/12/05 06:45:56] <ohadlevy> me too ;) | ||
| [2009/12/05 06:46:34] <ohadlevy> but family and friends (and good food)... | ||
| [2009/12/05 06:49:26] <Volcane> yeah had lots of good food, little place in port of jaffa where we went often | ||
| [2009/12/05 06:49:37] <Volcane> general going round getting food from teh kibuts stores | ||
| [2009/12/05 06:49:50] <Volcane> awesome quality | ||
| [2009/12/05 06:49:50] <ohadlevy> kibuts?? where did you go? ;) | ||
| [2009/12/05 06:50:11] <jamesturnbull> I like a lot of polish and hungarian food | ||
| [2009/12/05 06:50:13] <Volcane> dont know ppl too me around driving to haifa, jerusalem, caeseria etcetc | ||
| [2009/12/05 06:50:15] <jamesturnbull> some good places in Melbourne | ||
| [2009/12/05 06:50:23] <jamesturnbull> and bagels - love a decent bagel | ||
| [2009/12/05 06:50:29] <Volcane> so we stopped off often and got stuff | ||
| [2009/12/05 06:50:35] <ohadlevy> oh yeah, they dont have it in Singapore | ||
| [2009/12/05 06:50:43] <Volcane> jamesturnbull: my g/f cant stand a bagel i love them too | ||
| [2009/12/05 06:54:25] <jamesturnbull> duritong: beat me too it on the rrdgraph ticket :) | ||
| [2009/12/05 06:54:43] <Volcane> all for being rid of the current cruddy rrd gem though | ||
| [2009/12/05 06:54:51] <jamesturnbull> Volcane: ditto | ||
| [2009/12/05 06:54:54] <ohadlevy> yeah | ||
| [2009/12/05 06:55:03] <ohadlevy> btw: I have a gem for ubuntu if anyone needs it | ||
| [2009/12/05 06:56:18] <duritong> jamesturnbull: :) | ||
| [2009/12/05 06:57:11] <ohadlevy> duritong: would it make sense to generate the graphs with some web interface instead? ;) | ||
| [2009/12/05 06:59:03] <jamesturnbull> ohadlevy: good idea - do you know of such an interface? :P | ||
| [2009/12/05 06:59:12] <ohadlevy> i know about at least two ;) | ||
| [2009/12/05 06:59:20] <jamesturnbull> lol | ||
| [2009/12/05 06:59:29] <jamesturnbull> yes I saw masterzen's email too | ||
| [2009/12/05 06:59:46] <ohadlevy> but the rrd graphs are really not pretty compared to the alternatives.. | ||
| [2009/12/05 07:07:03] <duritong> ohadlevy: currently I don't have any graphs at all | ||
| [2009/12/05 07:07:08] @ github joined channel #puppet-dev | ||
| [2009/12/05 07:07:08] <github> puppet: Todd Zullinger 0.25.x SHA1-09a3104 | ||
| [2009/12/05 07:07:08] <github> yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5 | ||
| [2009/12/05 07:07:09] <github> http://bit.ly/8TOffJ | ||
| [2009/12/05 07:07:11] @ github left channel #puppet-dev () | ||
| [2009/12/05 07:07:23] <ohadlevy> duritong: thats because you are not using foreman right? ;) | ||
| [2009/12/05 07:07:32] <duritong> ohadlevy: yeah :/ | ||
| [2009/12/05 07:08:18] <duritong> ohadlevy: I currently doesn't have much time, so this is something that hast to wait a bit. | ||
| [2009/12/05 07:09:12] <duritong> but I'm freeing up some time, so in a month or two I should have finished my thesis and I hope to have plenty of time to do more interesting things. | ||
| [2009/12/05 07:09:26] <ohadlevy> duritong: thesis on what? | ||
| [2009/12/05 07:09:53] <duritong> master thesis in computer science | ||
| [2009/12/05 07:10:13] <duritong> enriching eclipse with dynamic information. | ||
| [2009/12/05 07:10:19] <duritong> java *brrrrrr* | ||
| [2009/12/05 07:10:52] * jamesturnbull winces in sympathy | ||
| [2009/12/05 07:14:28] <duritong> unfortunately I'm working as well for a java shop. luckily I'm not part of any development team, the operations team is very ruby affine, having some rails projects, etc. and so I'm simply trying to finish the thesis as fast as possible ;) | ||
| [2009/12/05 07:18:45] <duritong> Volcane: about all the puppet hate. I could see that as well @ open source datacenter conference where lak speaked last year. and I settled with the same explanation. I'm not sure wether "the puppet community" (or RL) should take any actions about that. But the declarative manner and "I wan't to execute some commands"-thinking of "traditional" sysadmins is beating each another too often. | ||
| [2009/12/05 07:19:40] <duritong> But after 1 or 2 days working with some customers on their receipes they usually understand it and things work better. | ||
| [2009/12/05 07:19:43] @ github joined channel #puppet-dev | ||
| [2009/12/05 07:19:43] <github> puppet: Todd Zullinger 0.25.x SHA1-de16fd3 | ||
| [2009/12/05 07:19:43] <github> Updated yumrepo type documentation | ||
| [2009/12/05 07:19:44] <github> http://bit.ly/7ZQ8iJ | ||
| [2009/12/05 07:19:46] @ github left channel #puppet-dev () | ||
| [2009/12/05 07:20:27] <duritong> jamesturnbull: maybe you should extend the book with some philosophical part ;) | ||
| [2009/12/05 08:21:30] <Volcane> yeah some properly written conceptual docs would be well worth having | ||
| [2009/12/05 13:39:16] @ Chiku|dc joined channel #puppet-dev | ||
| [2009/12/05 13:56:33] @ Quit: Chiku: Read error: 110 (Connection timed out) | ||
| [2009/12/05 15:12:14] <ch> the ruby license is a mess | ||
| [2009/12/05 15:12:38] <ch> it says "GPL (see COPYING.txt)" but does not say "version 2" or "version 2 or newer" | ||
| [2009/12/05 15:44:13] @ lak joined channel #puppet-dev | ||
| [2009/12/05 16:08:13] @ Quit: lak: | ||
| [2009/12/05 17:36:30] <jamesturnbull> Volcane: that's one of the things Bruce will do I think | ||
| [2009/12/05 17:51:19] <Volcane> jamesturnbull: kewl | ||
| [2009/12/05 17:52:16] <jamesturnbull> Volcane: I've found people don't like the conceptual stuff - my first chapter is a bit of that but lots of it bores people | ||
| [2009/12/05 17:52:25] <jamesturnbull> Volcane: they call want to get straight into configuring shit | ||
| [2009/12/05 17:58:12] <Volcane> yup | ||
| [2009/12/05 18:00:36] <Volcane> but at least if we had a well written piece, when jumping in head first got them frustrated we have something to point them at | ||
| [2009/12/05 18:01:30] <jamesturnbull> Volcane: there are some pieces on the wiki - they probably just need to be pulled together and consolidated with a few updates | ||
| [2009/12/05 18:01:53] <Volcane> ah | ||
| [2009/12/05 18:03:36] <jamesturnbull> Volcane: probably update - http://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction | ||
| [2009/12/05 18:04:17] <Volcane> meh google translate is rubbish | ||
| [2009/12/05 18:05:01] <Volcane> jamesturnbull: yeah, know that one, i think we also need a couple of - dare i say it - pattern like pages or docs | ||
| [2009/12/05 18:05:20] <Volcane> jamesturnbull: that answers common asked problems with well documented sample code and explanations | ||
| [2009/12/05 18:05:36] <jamesturnbull> Volcane: I use babelfish | ||
| [2009/12/05 18:05:46] <jamesturnbull> Volcane: if you speak the language a little it's perfect - you can just adjust | ||
| [2009/12/05 18:06:10] <jamesturnbull> Volcane: agree on patterns - we should probably move the recipes from that to modulised patterns | ||
| [2009/12/05 18:08:58] <Volcane> jamesturnbull: yeah this is just a blog post that someones linked to about mcollective so can figure it out, but barely | ||
| [2009/12/05 18:09:07] <Volcane> jamesturnbull: i gess frensh is just a difficult language though | ||
| [2009/12/05 18:09:58] <Volcane> my macbook bent, soo annoying, its time i 'forget' it on a taxi | ||
| [2009/12/05 18:10:07] <jamesturnbull> Volcane: I do that with Spanish - I speak it enough to know what I need to say but muy vocab is limited these days so I use it to fill in the words I don't know | ||
| [2009/12/05 18:10:16] <jamesturnbull> bent??? | ||
| [2009/12/05 18:10:31] <Volcane> i dropped my bag, and not it wont sit still on the table | ||
| [2009/12/05 18:10:39] <Volcane> wobbles, one end has def bent | ||
| [2009/12/05 18:10:48] <jamesturnbull> weird | ||
| [2009/12/05 18:10:52] <Volcane> s/not/now/ | ||
| [2009/12/05 18:11:14] <Volcane> worse is its a plastic one, should bent i guess but not stay bent | ||
| [2009/12/05 18:19:04] <Volcane> offmap iphone app is wicked | ||
| [2009/12/05 18:19:27] <Volcane> caches openstreetmap data for a selected area and selected zoom levels so u can use maps in a foreign city without data charges | ||
| [2009/12/05 20:53:44] @ Quit: Chiku|dc: "Quitte" |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!