apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
eoinkelly has quit [Quit: eoinkelly]
tomzx_mac has quit [Ping timeout: 246 seconds]
Asher has left #ruby-lang [#ruby-lang]
Asher has joined #ruby-lang
eoinkelly has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
vilni_ has quit [Ping timeout: 246 seconds]
mayday_jay has quit [Quit: Leaving]
vilni has joined #ruby-lang
Oak has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
gregmoreno has joined #ruby-lang
iliketur_ has joined #ruby-lang
fedesilva has quit [Remote host closed the connection]
gregmoreno has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
vilni has quit [Ping timeout: 240 seconds]
SteveBenner9 has quit [Quit: Leaving]
hogeo has joined #ruby-lang
pothibo has quit [Quit: pothibo]
tylersmith has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
fedesilva has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
Oak has quit [Quit: Leaving]
ssb123 has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
tylersmith has joined #ruby-lang
jwoods1 has quit [Quit: Leaving.]
tomzx_mac has joined #ruby-lang
vilni has joined #ruby-lang
joshuawscott has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
Kabaka has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
Kabaka has joined #ruby-lang
siberia has joined #ruby-lang
rails_smith has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
Asher has quit [Quit: Leaving.]
[[thufir]] has quit [Ping timeout: 240 seconds]
joshuawscott has quit [Quit: Leaving.]
mdedetrich has quit [Quit: Computer has gone to sleep.]
[[thufir]] has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 245 seconds]
joshuawscott has joined #ruby-lang
vilni has quit [Ping timeout: 264 seconds]
ssb123 has joined #ruby-lang
banister is now known as banister`sleep
tomzx_mac has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
richardburton has joined #ruby-lang
tkuchiki has joined #ruby-lang
mistym_ has joined #ruby-lang
siberia has quit [Quit: siberia]
woollyams has joined #ruby-lang
pothibo has joined #ruby-lang
havenwood has joined #ruby-lang
iliketur_ has joined #ruby-lang
cmckni3_ has joined #ruby-lang
cmckni3_ has quit [Client Quit]
cmckni3 has quit [Quit: Textual IRC Client: www.textualapp.com]
cmckni3 has joined #ruby-lang
pothibo has quit [Quit: pothibo]
lsegal has joined #ruby-lang
mdedetrich has joined #ruby-lang
bungoman_ has quit [Remote host closed the connection]
soba has joined #ruby-lang
bnagy has left #ruby-lang [#ruby-lang]
yibe_ has quit [Quit: Tiarra 0.1: SIGTERM received; exit]
mistym_ has quit [Remote host closed the connection]
<[[thufir]]> when cmd "reads in all received data" http://ruby-doc.org/stdlib-1.9.3/libdoc/net/telnet/rdoc/Net/Telnet.html#method-i-cmd how or where do you access that data? It's a string? recieved_data = .... ?
rails_smith has quit [Quit: Leaving.]
Domon has joined #ruby-lang
Domon has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Domon has joined #ruby-lang
Domon has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
vilni has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
ssb123 has quit [Remote host closed the connection]
hinbody has left #ruby-lang [#ruby-lang]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
cschneid has quit [Ping timeout: 264 seconds]
cschneid has joined #ruby-lang
pipework has joined #ruby-lang
havenwood has quit [Ping timeout: 276 seconds]
[[thufir]] has quit [Ping timeout: 240 seconds]
cads has joined #ruby-lang
anonymuse has joined #ruby-lang
Domon has joined #ruby-lang
cads has quit [Max SendQ exceeded]
cads has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has joined #ruby-lang
mistym_ has joined #ruby-lang
caleb_dre has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
cads has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 240 seconds]
Asher has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
caleb_dre has quit [Quit: Page closed]
caleb_dre has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
drdrd has joined #ruby-lang
caleb_dre has quit [Client Quit]
natevick has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
dhruvasagar has quit [Ping timeout: 245 seconds]
calebdre has joined #ruby-lang
mistym_ has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
ssb123 has joined #ruby-lang
[[thufir]] has joined #ruby-lang
andbutsothen has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<calebdre> Hello?
joshuawscott has quit [Quit: Leaving.]
[[thufir]] has quit [Max SendQ exceeded]
cads has joined #ruby-lang
andbutsothen has quit [Client Quit]
<calebdre> Is anyone familiar with sinatra?
<Boohbah> #sinatra
whitequa1k is now known as whitequark
mistym_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
natevick has quit [Ping timeout: 260 seconds]
cads has quit [Ping timeout: 260 seconds]
calebdre has quit [Ping timeout: 250 seconds]
erichmenge has quit [Excess Flood]
erichmenge has joined #ruby-lang
mistym_ has joined #ruby-lang
<ericwood> he's my fave crooner
Asher has quit [Quit: Leaving.]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
[[thufir]] has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
[[thufir]] has quit [Max SendQ exceeded]
jsullivandigs has quit [Ping timeout: 276 seconds]
<whitequark> ericwood: who
<ericwood> sinatra
<ericwood> it was a shitty joke
nofxx has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
jsullivandigs has joined #ruby-lang
bzalasky has joined #ruby-lang
xcesariox has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has quit [Ping timeout: 246 seconds]
[[thufir]] has joined #ruby-lang
cads has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
[[thufir]] has quit [Max SendQ exceeded]
sstrickl has quit [Quit: sstrickl]
[[thufir]] has joined #ruby-lang
thinkdevcode has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_jpb_ has quit [Remote host closed the connection]
drdrd has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby-lang
Asher has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
tyman has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
charlescooke_ has quit [Quit: charlescooke_]
malev has quit [Remote host closed the connection]
DEac- has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
cads has quit [Ping timeout: 260 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
bungoman has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
havenwood has joined #ruby-lang
EvilJStoker_ has quit [Quit: EvilJStoker is gone :(]
vilni has quit [Ping timeout: 264 seconds]
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
prezJFK has joined #ruby-lang
tylersmith has joined #ruby-lang
dhruvasagar has joined #ruby-lang
eoinkelly has quit [Quit: eoinkelly]
Oak has quit [Remote host closed the connection]
thinkdevcode has quit [Remote host closed the connection]
EvilJStoker has joined #ruby-lang
eoinkelly has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
tomzx_mac has quit [Ping timeout: 245 seconds]
prezJFK has quit [Remote host closed the connection]
prezJFK has joined #ruby-lang
mdedetrich has quit [Ping timeout: 260 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
mdedetrich has joined #ruby-lang
prezJFK has quit [Ping timeout: 240 seconds]
Domon has quit [Ping timeout: 245 seconds]
rails_smith has joined #ruby-lang
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
mistym_ has quit [Remote host closed the connection]
setmeaway has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
thinkdevcode has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
rsync has joined #ruby-lang
thinkdevcode has quit [Ping timeout: 256 seconds]
prezJFK has joined #ruby-lang
relix has joined #ruby-lang
prezJFK has quit [Remote host closed the connection]
Ch00k has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
nneko001__ has joined #ruby-lang
Senjai has quit [Ping timeout: 245 seconds]
DEac- has joined #ruby-lang
Domon has joined #ruby-lang
eoinkelly has quit [Quit: eoinkelly]
cmckni3 has joined #ruby-lang
jonahR has joined #ruby-lang
Oak has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
sedrickcz has joined #ruby-lang
thinkdevcode has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has quit [Quit: Computer has gone to sleep.]
lysw123 has joined #ruby-lang
charliesome has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<drbrain> [[thufir]]: it's probably discarded as it appears to behave like expect
bzalasky has quit [Remote host closed the connection]
jsullivandigs has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
jsullivandigs has joined #ruby-lang
siberia has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
softrli has joined #ruby-lang
<[[thufir]]> drbrain: hi
<drbrain> [[thufir]]: try #waitfor
<[[thufir]]> drbrain: just, in general, how do I "get" the data? http://stackoverflow.com/questions/18478759/ I want to use waitfor, but don't understand the API documentation
<drbrain> [[thufir]]: actually, it looks like cmd calls waitfor inside, so the data is returned as a string
<drbrain> or you can use a block to get each chunk
<drbrain> data = cmd "some command I send to telnet"
siberia has quit [Quit: siberia]
<[[thufir]]> I'm only looking for an "end of line" or other type of thing, like Prompt: /[#]/ . but, before I send a cmd, I need to wait for it to say "login" (in a non-standard, game MUD way)
<[[thufir]]> so I can't send the cmd blind until I get an EOL or prompt...
ramonmaruko has joined #ruby-lang
<ramonmaruko> good afternoon everyone
<ramonmaruko> Is there a standard or idiomatic way of including a C header from a gem dependency in my own gem with a native extension?
<ramonmaruko> I'm thinking of maybe looking for a match to the pattern of the path to the header via LOAD_PATH and then passing it to with_config in my gem's extconf.rb...
<ramonmaruko> s/with_config/dir_config
mistym_ has joined #ruby-lang
<[[thufir]]> I sorta got output here: http://pastebin.com/bptn7sJZ I want to keep the connection open and wait for the login. code: http://pastebin.com/gu2CeJHh
ledestin has quit [Ping timeout: 245 seconds]
sedrickcz has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
yatish27 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
skade has joined #ruby-lang
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmckni3 has joined #ruby-lang
tonni has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
eoinkelly has joined #ruby-lang
mdedetrich has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
<drbrain> ramonmaruko: hold on, I'll put something together
Ch00k has quit [Quit: Ch00k]
<drbrain> ramonmaruko: I have nokogiri installed, so I'll use that as an example
<drbrain> ramonmaruko: require 'nokogiri'; nokogiri_ext_dir = File.join Gem.loaded_specs['nokogiri'].gem_dir, 'ext', 'nokogiri'
tonni has quit [Ping timeout: 276 seconds]
<drbrain> then you can use that in your extconf.rb with find_header, etc.
<drbrain> ramonmaruko: find_header seems better than with_config if you know the exact path
<ramonmaruko> that's what I almost came up with, but I modified $INCFLAGS directly instead. I'll be using find_header now.
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ramonmaruko> drbrain: Thank you!
<drbrain> ramonmaruko: yeah, it says find_header modifies $INCFLAGS directly
Domon has quit [Remote host closed the connection]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Domon has joined #ruby-lang
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby-lang
<rhizome> offhand, are there any standard docs for advanced hash stuff? multilevel inject, or combined inject/collect type stuff? my brain is mush right now.
tonni has joined #ruby-lang
mdedetrich has quit [Ping timeout: 246 seconds]
fedesilv_ has joined #ruby-lang
Cakey has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
fedesilva has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
postmodern has joined #ruby-lang
hhatch has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
poga has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
bzalasky has joined #ruby-lang
mistym_ has joined #ruby-lang
sedrickcz has joined #ruby-lang
naturtrunken has joined #ruby-lang
rwk1_ has joined #ruby-lang
hahuang65 has joined #ruby-lang
rwk1 has quit [Ping timeout: 245 seconds]
io_syl has quit [Quit: io_syl]
mistym_ has quit [Remote host closed the connection]
x0f_ has joined #ruby-lang
Nilium has quit [Ping timeout: 240 seconds]
rwk1_ has quit [Read error: Connection reset by peer]
x0F has quit [Ping timeout: 245 seconds]
<yorickpeterse> morning
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Nilium has joined #ruby-lang
leekiernan has joined #ruby-lang
pskosinski has joined #ruby-lang
minivan has joined #ruby-lang
Ch00k has joined #ruby-lang
yatish27 has joined #ruby-lang
sedrickc_ has joined #ruby-lang
<maloik> hey
softrli has quit [Remote host closed the connection]
riotbit has joined #ruby-lang
thinkdevcode has quit [Remote host closed the connection]
sedrickcz has quit [Ping timeout: 245 seconds]
[[thufir]] has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
lysw123 has quit [Quit: lysw123]
benlovell has joined #ruby-lang
tonni has quit [Remote host closed the connection]
<rhizome> i'm a little confused here. a hash using a default array seems not to be behaving intuitively: https://gist.github.com/rhizome/e5e36f6b3bc8ff1e885a
<apeiros> rhizome: you have *one* default array
<apeiros> it is always *the same* default array
<apeiros> >> h = Hash.new([]); h[:x].object_id == h[123].object_id
<eval-in> apeiros => true (https://eval.in/45310)
<rhizome> with you so far
<apeiros> rhizome: you want Hash.new with a default block, not a default value
<apeiros> so ruby can create a new array for each accessed key
<rhizome> ah, that makes sense. lemme bang on that, thanks
<yorickpeterse> Currently I have a Das but my wrist position is something I'm unsure about
<apeiros> rhizome: remember that you have to store the default value in the hash yourself with a default block:
<apeiros> h = Hash.new { |hash, key| hash[key] = [] } # assignment returns the rhs, so that expression returns the new array
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<rhizome> i understand the second part, but i'm not sure where the manual assignment first-part comes in :)
<rhizome> are you distinguishing that example from Hash.new({})?
<rhizome> which, looks weird now that i look at it a second time.
<matled> yorickpeterse: looks interesting but I'd want to try it before buying... I've got a kinesis advantage right now, seems the hands are a bit closer on the truly ergonomic
<apeiros> Hash.new { [] } # this would give you a new default array every time, but it would not be stored in the hash
<yorickpeterse> Yeah same here, it's a lot of money so I'm not sure if I want to risk wasting it
<apeiros> >> h = Hash.new { [] }; h[:x] << "foo"; h
<eval-in> apeiros => {} (https://eval.in/45312)
<apeiros> >> h = Hash.new { |hash,key| hash[key] = [] }; h[:x] << "foo"; h
<eval-in> apeiros => {:x=>["foo"]} (https://eval.in/45313)
<apeiros> rhizome: ^
relix has joined #ruby-lang
tonni has joined #ruby-lang
<maloik> yorickpeterse: you've been reading about the CODE as well I imagine :D
<yorickpeterse> yeah
<whitequark> CODE?
<maloik> I kinda want (to try) one, but I don't want to spend that kind of money
<yorickpeterse> I don't like it, it's the Das but with backlights
<whitequark> oh.
<maloik> yea which is why I do like it :D but 150$ for a stupid keyboard, meh
<maloik> apparently that's simply the price for a mechanical one, but still
<rhizome> gotcha, thanks. is there a common pattern for something like: hash = Hash.new {|h,k| h[k] = Hash.new({|a,b| a[b] = [] })}
<yorickpeterse> <3 das
<maloik> fwiw I like the backlit keys
<rhizome> i know that looks crazy. i'm wondering what the clinical diagnosis would be
<yorickpeterse> The Das is bulky though
<apeiros> rhizome: yupp. it's called "proper classes" :-p
<rhizome> thinking the example we've been talking about can also be assigned to its own keys
richardburton has quit [Quit: Leaving.]
<rhizome> so, no need for the outer b.s.
<apeiros> rhizome: the moment you have nested hashes/arrays you should consider writing a proper class
<rhizome> sorry, my data structure lingo is a little dusty
<apeiros> it may seem like "OMG more work!", but often it ends up with much easier to understand code and even might save time
adwhit has quit [Ping timeout: 264 seconds]
<rhizome> apeiros: i hear that. i'm not afraid of classes, this is just me falling back on perl on the first cut
Mon_Ouie has joined #ruby-lang
<rhizome> do you have any references or other places i can look for examples and whatnot for this kind of thing?
<erikh> yorickpeterse: I got a "coolermaster quickfire rapid" a while back
<erikh> really, really solid kit
<erikh> hacker-size, but high fast switches
hahuang65 has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
richardburton has joined #ruby-lang
FastJack has quit [Ping timeout: 245 seconds]
marr has joined #ruby-lang
Pupeno_ has joined #ruby-lang
judofyr has joined #ruby-lang
Pupeno_ has quit [Remote host closed the connection]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno_ has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
AndChat| has quit [Ping timeout: 248 seconds]
JohnBat26 has joined #ruby-lang
ledestin has joined #ruby-lang
amerine has joined #ruby-lang
FastJack has joined #ruby-lang
rsync has left #ruby-lang [#ruby-lang]
leekiernan has quit [Ping timeout: 240 seconds]
bzalasky has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
Pupeno has quit [Remote host closed the connection]
Pupeno_ has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<judofyr> hey folks
<ljarvis> ohai
<judofyr> what's up?
<ljarvis> working with javascript and google maps :-(
<judofyr> why :-( ?
<ljarvis> because 1: I hate javascript, and 2: I hate javascript
<erikh> murphy's law
<erikh> best idea: love everything, do nothing
<ljarvis> actually its coffeescript, but that doesn't help me much
<ljarvis> I try to love things but some things make it so hard
Skyr has joined #ruby-lang
riotbit has quit [Quit: riotbit]
pskosinski has quit [Ping timeout: 241 seconds]
<yorickpeterse> lololol Google Maps
<ljarvis> we've abstracted all the maps stuff in our app so that's not too much of a problem
joonty_ has quit [Quit: WeeChat 0.4.1]
<Skyr> Hi all, I've got some weird timezone/daylight savings problem with yaml... when reading a time value from yaml, the timezone changes:
<Skyr> irb(main):052:0> YAML.load('startdate: 2013-06-01 18:00:00.000000000 +02:00')
<Skyr> => {"startdate"=>2013-06-01 18:00:00 +0200}
<Skyr> irb(main):053:0> YAML.load('startdate: 2013-12-12 18:00:00.000000000 +02:00')
<Skyr> => {"startdate"=>2013-12-12 17:00:00 +0100}
<Skyr> (and the time, accordingly)
<Skyr> Any idea why this happens - and how to avoid it?
<Skyr> I'm afraid that my application might change its behaviour as well if the system crosses the dst calendar boundary...
face has joined #ruby-lang
<judofyr> Skyr: Time can only represent your local timezone and UTC
<ljarvis> ^
faces has quit [Ping timeout: 264 seconds]
<Skyr> judofyr: Nasty...
<judofyr> Skyr: so YAML will find the UNIX epoch and create a Time object in your local timezone
<judofyr> Skyr: there's a gem called tzinfo
Criztian has joined #ruby-lang
<Skyr> judofyr: So how do I express a time in yaml which doesn't get modified on import?
<judofyr> Skyr: you can't
<judofyr> Skyr: store the timezone separately
Junkyardhands has joined #ruby-lang
rwk1 has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
skmp has joined #ruby-lang
Junkyardhands has quit [Remote host closed the connection]
<Skyr> judofyr: My application doesn't regard timezones (no international calendar ;-), so I have to correct all times from yaml using tzinfo?
pskosinski has joined #ruby-lang
<judofyr> Skyr: the time object will be correct (have the same UNIX timestamp). when you present a Time object you can use tzinfo to show it in the correct timezone.
richardburton has quit [Quit: Leaving.]
chris2 has quit [Ping timeout: 240 seconds]
<apeiros> Skyr: also note that +02:00 is NOT a timezone
<maloik> Anyone work on SaaS-type products? I'm wondering how you get input from users when it comes to little changes or ideas you have... like anything that you could put in a 1-question questionnaire type thing
<maloik> wondering if it wouldnt be useful to develop something that adds a little overlay to your site if such a question is currently relevant for your users, where they can quickly and easily answer something ("We changed the color, like it?") together with a backend for stats (# views, # answers etc)
<judofyr> maloik: lightbox that blocks everything and forces the user to answer. best way of ensuring I never want to use the product ;)
<maloik> judofyr: exactly what I'd avoid ;)
<maloik> I was thinking of something like uservoice, non-blocking but catching your eye
<Skyr> judofyr: Ok, this might take some minutes to wrap my mind around it. Thanks for your help!
<maloik> wait no its not uservoice
<ljarvis> maloik: we've had a small banner appear at the top of the screen, entirely optional and a user can close it (it'll never appear again), it worked okay (but I also wasn't extremely satisfied with it)
yatish27_ has joined #ruby-lang
<ljarvis> it also won't appear on following requests, instead it'll move to their account page (so it only has the chance of annoying them once, if at all)
yatish27 has quit [Read error: Connection reset by peer]
<maloik> exactly
eoinkelly has quit [Quit: eoinkelly]
<maloik> wouldn't it be cool to have a service to include that on your site? Simple javascript include, perhaps some css if you want to customize it, with optional extra parameters being sent such as user id etc
<whitequark> random bullshit as a service
<maloik> how is it bullshit? it's something I'd definately use, sometimes you just want input on a decision but you don't want to email all your users
<whitequark> it's not something you should pull in as another dependency, you likely already have more than enough
<whitequark> or than is sane
<maloik> I think a lot of folks would rather include a script that handles all of that for them than write a custom solution
<whitequark> I think we have such a thing as "libraries"
<maloik> that's a technical detail
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
leekiern_ has joined #ruby-lang
ljarvis has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
ljarvis has joined #ruby-lang
ffio has joined #ruby-lang
skmp1 has joined #ruby-lang
Cakey has joined #ruby-lang
skmp has quit [Ping timeout: 245 seconds]
adwhit has joined #ruby-lang
<yorickpeterse> wohoo, xml parsing tiem
joonty has joined #ruby-lang
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
yatish27_ has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 245 seconds]
skmp has joined #ruby-lang
relix has joined #ruby-lang
skmp1 has quit [Ping timeout: 240 seconds]
y2k2u has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
<yorickpeterse> https://github.com/opener-project/kaf/wiki/KAF-structure-overview at least this format has docs
<yorickpeterse> and I parsed it before
y2k2u has quit [Client Quit]
y2k2u has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<judofyr> yorickpeterse: woah, that actually looks decent. most XML I parse is completely crap.
Domon has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
skmp1 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> it gets a bit funny with large documents though
relix has joined #ruby-lang
skmp has quit [Ping timeout: 264 seconds]
leekiernan has joined #ruby-lang
<ljarvis> yeah that's god some nice structure
Skyr has left #ruby-lang [#ruby-lang]
<ljarvis> GOT
<ljarvis> I can't type
<ljarvis> since forever
realDAB has joined #ruby-lang
Domon has joined #ruby-lang
yatish27 has joined #ruby-lang
<Olipro> how would I change the visibility of a static class method at runtime?
<ljarvis> class << Klass; private :method; end
<ljarvis> >> class A; def self.x; end; end; class << A; private :x; end; A.x
<eval-in> ljarvis => private method `x' called for A:Class (NoMethodError) ... (https://eval.in/45345)
<Olipro> yeah... that's what I got
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
anonymuse has joined #ruby-lang
<ljarvis> yorickpeterse: there's one for you
<Olipro> looks like public() won't actually work on class methods
<ljarvis> Olipro: why not?
<Olipro> look at the result of what you did...
<ljarvis> >> class A; def self.x; end; end; class << A; private :x; end; A.x; class << A; public :x; end; end; A.x
<eval-in> ljarvis => /tmp/execpad-a158bff8ebeb/source-a158bff8ebeb:3: syntax error, unexpected keyword_rescue, expecting end-of-input ... (https://eval.in/45346)
<ljarvis> har
<ljarvis> >> class A; def self.x; end; end; class << A; private :x; end; A.x; class << A; public :x; end; A.x
<eval-in> ljarvis => private method `x' called for A:Class (NoMethodError) ... (https://eval.in/45347)
<judofyr> Olipro: he first set it to public, then changed it to private and it worked fine.
<judofyr> oh
<Olipro> NoMethodError
<Olipro> durrrr
<Olipro> I already tried exactly what you've done
<ljarvis> derp
<ljarvis> ah ok
mytrile has joined #ruby-lang
<ljarvis> I'd love to know why you need this
Domon has quit [Ping timeout: 245 seconds]
anonymuse has quit [Remote host closed the connection]
<Olipro> hidden commands in an interactive CLI
<Olipro> I add new commands by adding a static method to the class
<ljarvis> sounds like you need a hash
<ljarvis> not all this meta programming nonsense :)
<Olipro> pffft
<yorickpeterse> ljarvis: already seens it
<Olipro> heathen
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
<ljarvis> >> class A; def self.x; end; end; class << A; private :x; end; class << A; public :x; end; A.x
<eval-in> ljarvis => nil (https://eval.in/45349)
<Olipro> using a hash would require... effort, whenever I add new commands
<ljarvis> yes, sane valuable effort
<ljarvis> also why are commands class methods?
<ljarvis> judofyr: so it works if you dont execute x?
<Olipro> well, I suppose I could just make them dynamic methods and instantiate a class instance
<ljarvis> meh I'd still use a hash, command => caller, hashes were built for this kind of shit
<Olipro> didn't really see much point in doing that since there's nothing that needs to be per-instance, since there's only ever one
<ljarvis> judofyr: oh lol ignore me
<ljarvis> the exception was halting the execution
<Olipro> Available commands: MyClass.public_methods - Object.public_methods
<ljarvis> so yeah, evidentally, it does work
<ljarvis> Olipro: but why the visibility changes?
<Olipro> the idea is to make debug/dangerous/plumbing commands private
<Olipro> so they can't be accessed initially
<Olipro> run a "reveal" command (method) and it converts all the private methods to public
<ljarvis> yeah i'd say that's bad design
<Olipro> why
charliesome has joined #ruby-lang
<Olipro> the only thing the class does is contain runnable commands
<ljarvis> well, has it worked without you having issues?
<ljarvis> that's a pretty good idea of flawed design
<ljarvis> and knowing a hash would work well
pskosinski has quit [Remote host closed the connection]
<Olipro> a hash would work well if you don't have many commands and you're not constantly adding/modifying them
mytrile has quit [Remote host closed the connection]
<Olipro> I just take a line of STDIN, splat it into send
<Olipro> wrong number of args? get an exception
<Olipro> and then, once you do get the correct number of args, the method itself does validation
<whitequark> just use slop
skmp has joined #ruby-lang
skmp1 has quit [Ping timeout: 245 seconds]
ledestin has quit [Quit: ledestin]
<Olipro> whitequark: I'm implementing an interactive CLI
<Olipro> not something that you use one-shot-at-a-time from a shell
adwhit has quit [Ping timeout: 264 seconds]
<Olipro> for that I usually use Trollop
Guedes has joined #ruby-lang
Guedes has left #ruby-lang [#ruby-lang]
<ljarvis> Olipro: you ever used pry?
malev has joined #ruby-lang
<Olipro> yes, they should ship that instead of irb with Ruby itself
<ljarvis> it uses slop for all command interactions
<Olipro> oh-ho-ho
<Olipro> alrighty then, I'll take a further look
<Olipro> I saw your github README, looked like another Trollop
<Olipro> not really sure what it'll do for me though, using Readline has proven simple enough
<ljarvis> heh, im not sure id use it unless i needed to pass extra info into the methods, but then again, i wouldn't do it how you're currently doing it either
<Olipro> yes, your love for hashes has been noted
judofyr has quit [Remote host closed the connection]
<Olipro> personally, I'd rather avoid having to maintain a huge, unwieldly hash
<ljarvis> then dont use a hash, but dont mess with method visibility for such little gain
skmp1 has joined #ruby-lang
Scader has joined #ruby-lang
skmp has quit [Ping timeout: 276 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
realDAB has quit [Quit: realDAB]
realDAB has joined #ruby-lang
<yorickpeterse> ugghhh, prototype services getting hammered by people who think they can push a few million reviews through it
<yorickpeterse> instead of the 100-200 it was designed for for a 2 day meetup
<yorickpeterse> Well, our own code is handling it fine. The underlying Java code is the problem
<yorickpeterse> takes fucking forever
<yorickpeterse> HAHA, somehow stack traces are being fired around too
Criztian has quit [Remote host closed the connection]
ldnunes has joined #ruby-lang
y2k2u has quit [Quit: Lost terminal]
jxie has quit [Quit: leaving]
dhruvasagar has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby-lang
cads has joined #ruby-lang
tonni_ has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
soba has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 246 seconds]
joshuairl has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
MaddinXx_ has left #ruby-lang [#ruby-lang]
skmp has joined #ruby-lang
skmp1 has quit [Ping timeout: 256 seconds]
realDAB has quit [Quit: realDAB]
ffio has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby-lang
fosky has joined #ruby-lang
ikrima has joined #ruby-lang
judofyr has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
scholar01 has joined #ruby-lang
duard has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
skade has quit [Ping timeout: 245 seconds]
duard has quit [Changing host]
duard has joined #ruby-lang
<scholar01> i'm encountering an error when trying to use rails that is preventing me from learning how to use it. I'm using RVM on Mac OSX, and I have my 2.0 Ruby selected. I gem installed rails, and got the error, so I created a custom gemset just for rails and still receive the error. I googled the error with no luck.
charlescooke_ has joined #ruby-lang
cirenyc has joined #ruby-lang
<scholar01> The error starts with ~/.rvm/gems/ruby-2.0.0-p0@rails-gems/gems/railties-4.0.0/lib/rails/app_rails_loader.rb:34:in `read': Is a directory - bin/rails (Errno::EISDIR)
<scholar01> Any suggestions?
benlovell has joined #ruby-lang
vlad_starkov has joined #ruby-lang
skmp1 has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
<scholar01> ughhhh, so 5 directories up I have a "bin/rails" directory that the AppRailsLoader was finding instead of my actual rails installation...
<scholar01> This is very unexpected behavior…
skmp has quit [Ping timeout: 245 seconds]
<scholar01> I might have to email the author of this module.
<scholar01> ciao
scholar01 has quit [Quit: Leaving.]
<yorickpeterse> grrr, Italians
<yorickpeterse> hammering our poor server
* yorickpeterse deploys a rate limit
Olipro has quit [Ping timeout: 246 seconds]
tonni_ has quit [Remote host closed the connection]
tonni has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
wmoxam has joined #ruby-lang
Olipro has joined #ruby-lang
Oak has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
chris2 has joined #ruby-lang
* ljarvis deploys your mom
breakingthings has joined #ruby-lang
siberia has joined #ruby-lang
<yorickpeterse> hurr hurr
yatish27 has joined #ruby-lang
siberia has quit [Client Quit]
mdedetrich has joined #ruby-lang
dhruvasagar has joined #ruby-lang
umgrossco has joined #ruby-lang
tonni has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
bungoman has quit [Read error: Connection reset by peer]
bungoman has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
gix has quit [Ping timeout: 245 seconds]
adwhit has joined #ruby-lang
ssb123 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
wmoxam has quit [Ping timeout: 264 seconds]
ssb123 has quit [Ping timeout: 245 seconds]
gix has joined #ruby-lang
cirenyc has joined #ruby-lang
tonni has joined #ruby-lang
tomzx_mac has joined #ruby-lang
scmx has joined #ruby-lang
ssb123 has joined #ruby-lang
anonymuse has joined #ruby-lang
lfox has joined #ruby-lang
tonni has quit [Ping timeout: 276 seconds]
cirenyc has quit [Quit: Leaving...]
pipework has quit [Remote host closed the connection]
cirenyc has joined #ruby-lang
sjltaylo_ has joined #ruby-lang
sjltaylo_ has quit [Max SendQ exceeded]
sjltaylo_ has joined #ruby-lang
naturtrunken has quit [Quit: naturtrunken]
tonni has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
tonni has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
wallerdev has joined #ruby-lang
adwhit has quit [Ping timeout: 246 seconds]
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
wmoxam has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
heftig has quit [Ping timeout: 260 seconds]
tonni has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
yatish27 has joined #ruby-lang
killthe|afk is now known as killtheliterate
mucker has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
gnufied has quit [Ping timeout: 264 seconds]
gnufied has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
poga has joined #ruby-lang
io_syl has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 240 seconds]
jxie has joined #ruby-lang
Ch00k has quit [Quit: Ch00k]
dhruvasagar has joined #ruby-lang
marr has quit [Ping timeout: 264 seconds]
Nisstyre has quit [Quit: Leaving]
Scaber has joined #ruby-lang
Scader has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
pipework has joined #ruby-lang
naturtrunken has joined #ruby-lang
Scaber has quit [Read error: Operation timed out]
Criztian has joined #ruby-lang
tonni has quit [Remote host closed the connection]
Guest98621 has joined #ruby-lang
bantic has joined #ruby-lang
Guest98621 is now known as bf4
bantic has quit [Client Quit]
bantic has joined #ruby-lang
Scaber has joined #ruby-lang
mistym_ has joined #ruby-lang
cads has quit [Ping timeout: 245 seconds]
bf4 has quit [Quit: leaving]
sedrickc_ has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
bf4 is now known as Guest43911
Guest43911 has quit [Client Quit]
bf4_ has joined #ruby-lang
Scaber has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
bf4_ has quit [Quit: Reconnecting]
Nisstyre-laptop has quit [Ping timeout: 245 seconds]
skmp1 has quit [Ping timeout: 245 seconds]
bf4_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cored> hi
skmp has joined #ruby-lang
<judofyr> hi cored
mistym_ has quit [Remote host closed the connection]
<cored> I'm trying to use forwardable to delegate to an internal value of an object
<cored> hello
<cored> but I always get a NoMethodError
ffio has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bf4_ has quit [Quit: leaving]
bf4_ has joined #ruby-lang
benlovell has quit [Quit: leaving]
solars has quit [Ping timeout: 245 seconds]
rippa has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: No route to host]
vlad_starkov has joined #ruby-lang
<judofyr> cored: what's the actual error?
GeissT has quit [Quit: MillBroChat AdIRC User]
<cored> sorry
<cored> was checking what was the problem
<cored> I think the problem is else where now
<cored> wait
<apeiros> line 10 should probably be in an else
<bf4_> you're forwarding :send? sounds like trouble
<apeiros> that too, though I'd hope Forwardable uses __send__
<cored> bf4_: good point
<cored> as I'm doing a refactoring here I was just trying to move some logic to where it's belong
<bf4_> as judoyr wrote, you should add the backtrace to the gist
<bf4_> and also the command you ran
<cored> that's the code I'm refactoring as you can see there is a .send call in there
<cored> bf4_: let me do that
serroft has joined #ruby-lang
serroft has quit [Client Quit]
poga has joined #ruby-lang
speakingcode-wor has quit [Ping timeout: 260 seconds]
<cored> I updated the gist
<cored> it's seems that there is a bug inside the classifier gem
ssb123 has quit [Remote host closed the connection]
speakingcode-wor has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
joshuawscott has joined #ruby-lang
mistym_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
tylersmith has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
mbj has joined #ruby-lang
bf4_ has left #ruby-lang [#ruby-lang]
bf4_ has joined #ruby-lang
bzalasky has joined #ruby-lang
loincloth has joined #ruby-lang
bf4_ is now known as bf4
sedrickcz has joined #ruby-lang
shinnya has quit [Quit: ZNC - http://znc.in]
bungoman_ has joined #ruby-lang
hhatch has joined #ruby-lang
VTLob has joined #ruby-lang
yfeldblum has joined #ruby-lang
bungoman has quit [Ping timeout: 240 seconds]
mmorga has joined #ruby-lang
adwhit has joined #ruby-lang
pkrnj has joined #ruby-lang
ssb123 has joined #ruby-lang
Ch00k has joined #ruby-lang
minivan has quit [Ping timeout: 240 seconds]
ebouchut has joined #ruby-lang
ebouchut has quit [Client Quit]
nathanstitt has quit [Ping timeout: 246 seconds]
ssb123_ has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
siberia has joined #ruby-lang
nathanstitt has joined #ruby-lang
jwoods has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
mistym__ has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
tyman has quit [Quit: tyman]
mistym__ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
mistym_ has quit [Ping timeout: 246 seconds]
skmp has quit [Quit: Leaving.]
mmorga has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
mmorga has joined #ruby-lang
Scader has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 260 seconds]
yatish27 has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
scmx has quit [Ping timeout: 264 seconds]
iliketur_ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
digs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
digs is now known as Guest57273
iliketur_ has quit [Client Quit]
naturtrunken has quit [Quit: naturtrunken]
sstrickl has quit [Quit: sstrickl]
cmckni3 has joined #ruby-lang
siberia has quit [Quit: siberia]
cmckni3 has quit [Client Quit]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
havenwood has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
lfox has quit [Quit: ZZZzzz…]
richardburton has joined #ruby-lang
andrew has joined #ruby-lang
andrew is now known as Guest28940
Guest28940 has quit [Remote host closed the connection]
leekiernan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cirenyc has quit [Quit: Leaving...]
yatish27 has quit [Remote host closed the connection]
skade_ has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 240 seconds]
anonymuse has quit [Remote host closed the connection]
gix has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
killtheliterate is now known as killthe|lunch
alekst has joined #ruby-lang
iliketur_ has joined #ruby-lang
loinclot_ has joined #ruby-lang
jonahR has joined #ruby-lang
jonahR has quit [Client Quit]
loincloth has quit [Ping timeout: 245 seconds]
mucker has quit [Ping timeout: 256 seconds]
ebouchut has joined #ruby-lang
sstrickl has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
lfox has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
Pupeno_ has joined #ruby-lang
Pupeno_ has quit [Remote host closed the connection]
y2k2u has joined #ruby-lang
Pupeno has quit [Ping timeout: 256 seconds]
tylersmi_ has joined #ruby-lang
VTLob has quit [Quit: VTLob]
tylersmith has quit [Ping timeout: 264 seconds]
VTLob has joined #ruby-lang
lsegal has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
Mon_Ouie has quit [Ping timeout: 245 seconds]
__butch__ has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
iliketur_ has joined #ruby-lang
iliketur_ has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
iliketur_ has joined #ruby-lang
mucker has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
adwhit has quit [Ping timeout: 245 seconds]
tyman has joined #ruby-lang
saarinen has joined #ruby-lang
naturtrunken has joined #ruby-lang
naturtrunken has quit [Client Quit]
naturtrunken has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
leekiernan has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
havenwood has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
sstrickl has quit [Quit: sstrickl]
tkuchiki has joined #ruby-lang
leekiernan has quit [Client Quit]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
havenwood has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
naturtrunken has quit [Ping timeout: 264 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
skade_ has quit [Quit: Computer has gone to sleep.]
tylersmi_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
hahuang65 has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
anonymus_ has joined #ruby-lang
anonymuse has quit [Read error: Connection reset by peer]
bf4 has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
fosky has quit [Ping timeout: 260 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
sstrickl has quit [Quit: sstrickl]
tyman has quit [Quit: tyman]
yatish27 has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 245 seconds]
bf4 has joined #ruby-lang
tyman has joined #ruby-lang
y2k2u has quit [Ping timeout: 264 seconds]
[[thufir]] has joined #ruby-lang
killthe|lunch is now known as killtheliterate
saarinen has quit [Quit: saarinen]
[[thufir]] has quit [Max SendQ exceeded]
mucker has quit [Quit: leaving]
tylersmith has joined #ruby-lang
skmp has joined #ruby-lang
ndrst has quit [Ping timeout: 245 seconds]
loincloth has joined #ruby-lang
benanne has joined #ruby-lang
loinclot_ has quit [Ping timeout: 256 seconds]
Cakey has quit [Ping timeout: 240 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Scader has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
hhatch has quit [Ping timeout: 245 seconds]
naturtrunken has joined #ruby-lang
tyman has quit [Ping timeout: 245 seconds]
naturtrunken has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
havenwood has joined #ruby-lang
<zzak> hi
ndrst has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
ruby-lang410 has joined #ruby-lang
sedrickcz has joined #ruby-lang
ruby-lang410 has left #ruby-lang [#ruby-lang]
workmad3 has quit [Ping timeout: 245 seconds]
Pupeno has quit [Ping timeout: 245 seconds]
tbuehlmann has joined #ruby-lang
naturtrunken has joined #ruby-lang
sedrickcz has quit [Read error: Connection reset by peer]
<havenwood> hellooo
jaimef has quit [Excess Flood]
<havenwood> .squeeze(?o)
anonymus_ has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
jaimef has joined #ruby-lang
tockitj has left #ruby-lang [#ruby-lang]
_tockitj has joined #ruby-lang
<_tockitj> eval( havenwood.gets )
poga has quit [Remote host closed the connection]
<havenwood> `sudo rm -rf /`
<onewheelskyward> password:
<havenwood> haha
tylersmith has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby-lang
anonymuse has joined #ruby-lang
[[thufir]] has joined #ruby-lang
relix has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
[[thufir]] has quit [Max SendQ exceeded]
ssb123_ has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
pkrnj has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
y2k2u has joined #ruby-lang
sstrickl has joined #ruby-lang
anonymuse has joined #ruby-lang
yfeldblum has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
leekiernan has joined #ruby-lang
<yorickpeterse> you forgot --no-preserve-root
cirenyc has joined #ruby-lang
<matled> what does this exactly do? I find "do not remove `/' (default)" not very descriptive. Does it just not rmdir("/")?
<yorickpeterse> rm -rf / will, even with sudo, not remove /
<yorickpeterse> because people ran that by accident too often
<matled> "remove /" or "remove anything at all"?
[[thufir]] has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> the former I believe
<yorickpeterse> not sure, haven't tested :P
[[thufir]] has quit [Max SendQ exceeded]
fedesilva has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
robbyoconnor has quit [Ping timeout: 264 seconds]
<matled> rm: it is dangerous to operate recursively on `/'
<matled> rm: use --no-preserve-root to override this failsafe
fedesilv_ has quit [Ping timeout: 256 seconds]
[[thufir]] has joined #ruby-lang
<matled> rm: cannot remove `/': Device or resource busy
[[thufir]] has quit [Max SendQ exceeded]
<yorickpeterse> haha, you tried?
<matled> sure
<matled> just trust chroot :)
<yorickpeterse> heh
ssb123 has joined #ruby-lang
<yorickpeterse> living on the edge
<yorickpeterse> inb4 yolo linux
<matled> yeah, the problem is that chroot doesn't like to be run by non-root
<matled> and I didn't bother to copy su into the new root
zenspider has quit [Remote host closed the connection]
<yorickpeterse> that reminds me of...
<matled> oh, chroot takes --userspec
<matled> sounds like it can su at the same time
<yorickpeterse> that
<yxhuvud> I'm more impressed about the sed chess
<yorickpeterse> sed chess?
<matled> yorickpeterse: that's basically what you do when running curl rvm.io/... | bash
<yorickpeterse> matled: hahahaha yeah
<ljarvis> matled: not really, with that you KNOW you're fucked
imperator has joined #ruby-lang
Austin__ has joined #ruby-lang
<yorickpeterse> ljarvis: depends on the man in the middle
<ljarvis> what the fuck
<yorickpeterse> dem russians
<imperator> white or red?
ebouchut has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
futile has joined #ruby-lang
workmad3 has joined #ruby-lang
futile has left #ruby-lang [#ruby-lang]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
cored has quit [Ping timeout: 246 seconds]
[[thufir]] has joined #ruby-lang
cored has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
cored has quit [Changing host]
cored has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
hahuang65 has quit [Ping timeout: 276 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
tylersmi_ has quit [Ping timeout: 256 seconds]
anonymuse has quit [Remote host closed the connection]
adwhit has joined #ruby-lang
sedrickcz has joined #ruby-lang
bungoman has joined #ruby-lang
anonymuse has joined #ruby-lang
duard has quit [Remote host closed the connection]
duard has joined #ruby-lang
scmx has joined #ruby-lang
dwknoxy has joined #ruby-lang
hahuang65 has joined #ruby-lang
bungoman_ has quit [Ping timeout: 245 seconds]
mmorga has quit [Ping timeout: 256 seconds]
mmorga has joined #ruby-lang
sedrickcz has quit [Ping timeout: 256 seconds]
eoinkelly has joined #ruby-lang
tylersmith has joined #ruby-lang
adwhit has quit [Ping timeout: 240 seconds]
gozes has joined #ruby-lang
ebouchut has quit [Quit: Quitte]
workmad3 has quit [Read error: Operation timed out]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
anonymuse has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
anonymuse has joined #ruby-lang
iliketur_ has joined #ruby-lang
gozes has quit [Quit: Page closed]
saarinen has quit [Quit: saarinen]
benanne has quit [Ping timeout: 240 seconds]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
skmp has quit [Quit: Leaving.]
postmodern has joined #ruby-lang
duard has quit [Remote host closed the connection]
duard has joined #ruby-lang
robbyoconnor has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
sedrickcz has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
wudofyr has quit [Remote host closed the connection]
mmorga has joined #ruby-lang
duard has quit [Ping timeout: 268 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
tbuehlmann has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
benanne has joined #ruby-lang
kstuart has quit [Read error: Connection reset by peer]
<yorickpeterse> Anybody having issues with fork/star counts and such not showing up on Github?
robbyoconnor has quit [Ping timeout: 264 seconds]
<imperator> seems ok to me
scmx has quit [Ping timeout: 245 seconds]
vilni has joined #ruby-lang
<yorickpeterse> hm
Ch00k has quit [Quit: Ch00k]
scmx has joined #ruby-lang
<yorickpeterse> huh odd, this particular resource gives a 404 in Chrome but works fine in Curl
wudofyr has joined #ruby-lang
eoinkelly has quit [Quit: eoinkelly]
nneko001__ has quit [Quit: Konversation terminated!]
alekst has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Ping timeout: 260 seconds]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
[[thufir]] has joined #ruby-lang
wudofyr has quit [Remote host closed the connection]
[[thufir]] has quit [Max SendQ exceeded]
wudofyr has joined #ruby-lang
Nilium has quit [Ping timeout: 256 seconds]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
vaks2 has joined #ruby-lang
wems has quit [Ping timeout: 245 seconds]
zenspider has joined #ruby-lang
<zenspider> rawr
bungoman has quit [Remote host closed the connection]
<darix> woof
<darix> yorickpeterse: try if it gives 404 if you disable caching in chrome
<darix> the developer console has a switch for that
<yorickpeterse> Tried that already
<yorickpeterse> not sure what's up, probably chromium being a bish
tonni has joined #ruby-lang
saarinen has joined #ruby-lang
ozzloy has quit [Ping timeout: 246 seconds]
Nilium has joined #ruby-lang
cads has joined #ruby-lang
ozzloy has joined #ruby-lang
ozzloy has joined #ruby-lang
wudofyr has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
vilni has quit [Ping timeout: 264 seconds]
scmx has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
tylersmi_ has quit [Read error: Connection reset by peer]
vilni has joined #ruby-lang
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
<ericwood> today is a horrible day
wudofyr has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
leekiernan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
y2k2u has quit [Quit: Lost terminal]
workmad3 has joined #ruby-lang
leekiern_ has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
mbj_ has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
mbj has quit [Ping timeout: 245 seconds]
tyman has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
ldnunes has quit [Quit: Leaving]
lsegal has joined #ruby-lang
malev has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
cads has quit [Ping timeout: 260 seconds]
joshuairl has quit [Quit: joshuairl]
cads has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
hhatch has joined #ruby-lang
vlad_starkov has joined #ruby-lang
nofxx has joined #ruby-lang
Austin__ has quit [Quit: Leaving.]
wmoxam has quit [Ping timeout: 240 seconds]
cads has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
naturtrunken has quit [Ping timeout: 264 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
cored has quit [Ping timeout: 256 seconds]
<rickhull> FWIW, it's beautiful in SF
elia has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
<rickhull> i'm getting back an array of records (arrays) from sqlite, and i'm looking for a quick way to present the data. e.g. html_table(array, html_options = {})
<rickhull> i could implement html_table easily enough, but i feel like surely someone has already done it
<rickhull> this is basically for a prototype, just looking for something incrementally better than staring at ruby arrays
<rickhull> and nice, lined-up column headers
tylersmith has quit [Ping timeout: 264 seconds]
[[thufir]] has joined #ruby-lang
tylersmith has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
[[thufir]] has quit [Max SendQ exceeded]
adwhit has joined #ruby-lang
mmorga has quit [Ping timeout: 260 seconds]
naturtrunken has joined #ruby-lang
MrPunkin has joined #ruby-lang
MrPunkin has left #ruby-lang [#ruby-lang]
nignaztic has joined #ruby-lang
ledestin has joined #ruby-lang
lele has quit [Ping timeout: 276 seconds]
nazty has quit [Ping timeout: 246 seconds]
lele|w has quit [Ping timeout: 260 seconds]
duard has joined #ruby-lang
naturtrunken has quit [Quit: naturtrunken]
bf4 has left #ruby-lang [#ruby-lang]
<workmad3> rickhull: it's a ruby one-liner that's so quick to write, it would be more effort to pull it into a project compared to re-implementing it
<rickhull> i don't disagree, but that doesn't mean someone hasn't either ;)
<apeiros> rickhull: while meant more as an example for how to write a presenter, my tabledata gem actually provides that
<apeiros> note though: that gem isn't really ready for public consumption. but feel free to use it :)
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
mbj_ has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Ping timeout: 268 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
[[thufir]] has joined #ruby-lang
fedesilva has quit [Read error: Connection reset by peer]
[[thufir]] has quit [Max SendQ exceeded]
fedesilva has joined #ruby-lang
iliketur_ has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
cored has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ikrima has quit [Quit: Computer has gone to sleep.]
ssb123 has joined #ruby-lang
killtheliterate is now known as killthe|afk
ssb123 has quit [Remote host closed the connection]
scottschecter has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
TheMoonMaster has quit [Ping timeout: 248 seconds]
ndrst has quit [Ping timeout: 247 seconds]
ndrst has joined #ruby-lang
bungoman has quit [Ping timeout: 245 seconds]
TheMoonMaster_ has joined #ruby-lang
scottschecter has joined #ruby-lang
VTLob has quit [Quit: VTLob]
tyman has quit [Quit: tyman]
realDAB has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
hhatch has quit [Ping timeout: 264 seconds]
mbr has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
[[thufir]] has joined #ruby-lang
[[thufir]] has quit [Max SendQ exceeded]
tomzx_mac has joined #ruby-lang
wmoxam has joined #ruby-lang
sedrickcz has joined #ruby-lang
ssb123 has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
sedrickcz has quit [Ping timeout: 264 seconds]
andbutsothen has joined #ruby-lang
danrabinowitz has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
tyman has joined #ruby-lang
[[thufir]] has joined #ruby-lang
realDAB has quit [Quit: realDAB]
[[thufir]] has quit [Max SendQ exceeded]
Senjai has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
yfeldblum has joined #ruby-lang
nathanstitt has joined #ruby-lang
Senjai has joined #ruby-lang
MartynKeigher has joined #ruby-lang
ikrima has joined #ruby-lang
pkrnj has joined #ruby-lang
hinbody has joined #ruby-lang
eoinkelly has joined #ruby-lang
* imperator is inspired to look at html-table again
[[thufir]] has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
[[thufir]] has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
wmoxam has quit [Ping timeout: 256 seconds]
anonymuse has quit [Remote host closed the connection]
fedesilva has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
bungoman has joined #ruby-lang
lfox has quit [Quit: lfox]
mbr has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
jwoods1 has joined #ruby-lang
jp- has joined #ruby-lang
tyman has quit [Quit: tyman]
charlescooke_ has quit [Quit: charlescooke_]
Nisstyre has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
jwoods has quit [Ping timeout: 276 seconds]
[[thufir]] has joined #ruby-lang
jwoods1 has quit [Ping timeout: 264 seconds]
[[thufir]] has quit [Max SendQ exceeded]
lele|w has joined #ruby-lang
<imperator> rickhull, gem install html-table; puts HTML::Table.new(%w[foo bar baz], :border => 2, :align => 'center').html
<imperator> that good enough?
pkrnj has quit [Quit: Computer has gone to sleep.]
pkrnj has joined #ruby-lang
lele has joined #ruby-lang
bantic has quit [Quit: bantic]
tylersmith has quit [Ping timeout: 268 seconds]
<rickhull> at a glance, sure!
<rickhull> though, it looks like now we're going to dump the prototype data to rrd files rather than html, heh