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
tomzx_mac has joined #ruby-lang
marr has quit [Ping timeout: 264 seconds]
Jbean has quit [Remote host closed the connection]
sstrickl has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
bungoman has joined #ruby-lang
volty has quit [Quit: Konversation terminated!]
sstrickl has quit [Client Quit]
realDAB has quit [Quit: realDAB]
siberia has joined #ruby-lang
rwk1 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 264 seconds]
ndrst has joined #ruby-lang
mootpointer has joined #ruby-lang
nathanstitt has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
wmoxam has joined #ruby-lang
AndChat| has quit [Ping timeout: 276 seconds]
fedesilva has quit [Ping timeout: 268 seconds]
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
maxmanders has joined #ruby-lang
sedrickcz has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
sedrickcz has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
jwoods has joined #ruby-lang
tkuchiki has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
fedesilva has joined #ruby-lang
siberia has quit [Quit: siberia]
banister has joined #ruby-lang
banisterfiend has quit [Ping timeout: 264 seconds]
maxmanders has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby-lang
vlad_starkov has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 245 seconds]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 264 seconds]
siberia has joined #ruby-lang
maxmanders has joined #ruby-lang
mieczyk has quit [Quit: Wychodzi]
mistym has quit [Read error: No route to host]
mistym has joined #ruby-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
wmoxam has joined #ruby-lang
richardburton has joined #ruby-lang
andbutsothen has quit [Quit: andbutsothen]
arooni-mobile has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
torrieri has quit [Read error: Connection reset by peer]
torrieri has joined #ruby-lang
pkrnj has joined #ruby-lang
yfeldblum has joined #ruby-lang
kurko_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
hogeo has joined #ruby-lang
havenwood has joined #ruby-lang
thang has quit [Ping timeout: 264 seconds]
thang has joined #ruby-lang
adwhit has quit [Read error: Operation timed out]
maxmanders has quit [Ping timeout: 245 seconds]
cored has quit [Read error: Operation timed out]
<postmodern> appears i have written some ruby code that segfaults vim
<postmodern> er vim's ruby syntax highlighting
SDAdam has joined #ruby-lang
charliesome has joined #ruby-lang
mbj has quit [Quit: leaving]
SDAdam has quit [Changing host]
SDAdam has joined #ruby-lang
SDAdam has left #ruby-lang [#ruby-lang]
charliesome has quit [Client Quit]
iliketur_ has joined #ruby-lang
charliesome has joined #ruby-lang
ssb123 has joined #ruby-lang
lcdhoffman has joined #ruby-lang
Domon has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
Domon has quit [Read error: Connection reset by peer]
Domon has joined #ruby-lang
siberia has quit [Quit: siberia]
jsullivandigs has joined #ruby-lang
sleepee has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
kurko_ has quit [Ping timeout: 256 seconds]
kurko_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rails_smith has quit [Ping timeout: 264 seconds]
mmorga has joined #ruby-lang
mistym has joined #ruby-lang
postmodern has quit [Quit: Leaving]
mmorga has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
sleepee has quit [Quit: Leaving]
bzalasky has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
richardburton has quit [Quit: Leaving.]
arooni-mobile has joined #ruby-lang
ericwood_ has left #ruby-lang [#ruby-lang]
ericwood has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
KM has joined #ruby-lang
sedrickcz has joined #ruby-lang
maxmanders has quit [Ping timeout: 256 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
torrieri has quit [Quit: Leaving...]
bzalasky has quit [Remote host closed the connection]
sedrickcz has quit [Ping timeout: 264 seconds]
torrieri has joined #ruby-lang
bzalasky has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
torrieri has quit [Quit: Leaving...]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
richardburton has joined #ruby-lang
shinnya has joined #ruby-lang
mistym has joined #ruby-lang
saarinen has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
rwk1 has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
io_syl has quit [Quit: io_syl]
mayday_jay has joined #ruby-lang
dwknoxy has joined #ruby-lang
dwknoxy has quit [Client Quit]
kurko_ has quit [Ping timeout: 240 seconds]
chrispelatari has joined #ruby-lang
chrispelatari has left #ruby-lang [#ruby-lang]
kurko_ has joined #ruby-lang
vilni has joined #ruby-lang
adwhit has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
diegoviola has joined #ruby-lang
charliesome has joined #ruby-lang
vilni has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 245 seconds]
vilni_ has joined #ruby-lang
rails_smith has joined #ruby-lang
_jpb_ has joined #ruby-lang
_jpb_ has quit [Client Quit]
_jpb_ has joined #ruby-lang
_jpb_ has quit [Client Quit]
bzalasky has joined #ruby-lang
kurko_ has quit [Ping timeout: 248 seconds]
kurko_ has joined #ruby-lang
hahuang65 has joined #ruby-lang
kurko_ has quit [Client Quit]
iliketur_ has quit [Quit: zzzzz…..]
io_syl has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
soba has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jwoods has quit [Quit: Leaving.]
mootpointer has quit [Quit: ENOCAFFEINE.]
vlad_starkov has quit [Ping timeout: 245 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Ping timeout: 256 seconds]
stonerfish has joined #ruby-lang
vilni_ has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
siberia has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
tylersmith has joined #ruby-lang
adwhit has quit [Read error: Operation timed out]
anonymuse has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
rails_smith1 has joined #ruby-lang
rails_smith has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
bzalasky has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mootpointer has joined #ruby-lang
wmoxam has quit [Ping timeout: 256 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
hahuang65 has quit [Read error: Connection reset by peer]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
mootpointer has quit [Quit: ENOCAFFEINE.]
dhruvasagar has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
sedrickcz has joined #ruby-lang
hahuang65 has joined #ruby-lang
mootpointer has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 264 seconds]
sedrickcz has quit [Ping timeout: 268 seconds]
setmeaway has joined #ruby-lang
amerine has quit [Ping timeout: 264 seconds]
amerine has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
iliketur_ has joined #ruby-lang
nneko001__ has joined #ruby-lang
gix has quit [Ping timeout: 268 seconds]
gix has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
mootpointer has quit [Quit: ENOCAFFEINE.]
nirix_ has joined #ruby-lang
nirix has quit [Quit: ZNC - http://znc.in]
nirix_ has left #ruby-lang [#ruby-lang]
shireesh has joined #ruby-lang
nirix has joined #ruby-lang
nirix has quit [Changing host]
nirix has joined #ruby-lang
thebastl has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
siberia has quit [Quit: siberia]
mistym has joined #ruby-lang
Ch00k has joined #ruby-lang
maxmanders has joined #ruby-lang
shireesh has quit [Ping timeout: 256 seconds]
nirix has quit [Quit: ZNC - http://znc.in]
nirix has joined #ruby-lang
maxmanders has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
imperator has quit [Quit: Valete!]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
sedrickcz has joined #ruby-lang
apeiros has joined #ruby-lang
sedrickcz has quit [Ping timeout: 248 seconds]
ledestin has quit [Ping timeout: 264 seconds]
tonni_ has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
shireesh has joined #ruby-lang
sedrickcz has joined #ruby-lang
leekiern_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
softrli has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
fbernier has quit [Ping timeout: 256 seconds]
FlyingLeap_ has left #ruby-lang [#ruby-lang]
FlyingLeap has joined #ruby-lang
adwhit has joined #ruby-lang
workmad3 has joined #ruby-lang
fbernier has joined #ruby-lang
tonni has joined #ruby-lang
adwhit has quit [Ping timeout: 264 seconds]
stonerfish has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
mdedetrich has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
fedesilva has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
fedesilva has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naturtrunken has joined #ruby-lang
riotbit has joined #ruby-lang
JohnBat26 has joined #ruby-lang
spuk has quit [Ping timeout: 260 seconds]
superdealloc has joined #ruby-lang
spuk has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
sedrickcz has joined #ruby-lang
sedrickcz has quit [Read error: Connection reset by peer]
sedrickc_ has joined #ruby-lang
iliketur_ has joined #ruby-lang
fedesilva has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
tonni has joined #ruby-lang
Senjai has quit [Ping timeout: 264 seconds]
dc5ala has joined #ruby-lang
fbernier has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby-lang
x0F has quit [Read error: Operation timed out]
hhatch has joined #ruby-lang
GeissT has quit [Quit: MillBroChat AdIRC User]
GeissT has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 240 seconds]
Ch00k has quit [Quit: Ch00k]
Banistergalaxy has joined #ruby-lang
leekiernan has joined #ruby-lang
x0F has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
Mon_Ouie has joined #ruby-lang
maxmanders has joined #ruby-lang
solars has joined #ruby-lang
robbyoconnor has quit [Read error: Operation timed out]
tonni has quit [Remote host closed the connection]
<erikh> stop writing code like that then
fbernier has joined #ruby-lang
vmoravec has joined #ruby-lang
spuk has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
yatish27 has quit [Remote host closed the connection]
tonni has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> morning
kstuart has joined #ruby-lang
[[thufir]] has joined #ruby-lang
io_syl has quit [Quit: io_syl]
<yorickpeterse> charliesome: http://www.ikea.com/ms/en_AU/campaigns/2014/election.html this is hilarious
<charliesome> yeah lol
<charliesome> it's even funnier if you're australian and know all the not-so-subtle jokes
torrieri has quit [Quit: Leaving...]
<maloik> that's not a real campaign is it ?
<yorickpeterse> charliesome: yeah I figured there would be a bunch of them hidden away
thebastl has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
<matti> ;]
elia has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Pupeno has joined #ruby-lang
yatish27 has joined #ruby-lang
rolfb has joined #ruby-lang
FastJack has quit [Ping timeout: 245 seconds]
adwhit has joined #ruby-lang
spuk has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
adambeynon has joined #ruby-lang
mdedetrich has joined #ruby-lang
FastJack has joined #ruby-lang
saarinen has joined #ruby-lang
<maloik> Sometimes I manage to really overlook more advanced documentation if it's not super obvious on a github repo
<maloik> Always messes me up
vlad_starkov has quit [Ping timeout: 240 seconds]
thebastl has joined #ruby-lang
xcesariox has joined #ruby-lang
saarinen has quit [Ping timeout: 240 seconds]
<yorickpeterse> ASDHJASJHDHAJKSD
<yorickpeterse> 3,5 days of data migration, fighting duplicate data/ghosts
<yorickpeterse> turns out this particular method that I disabled is a two-step process to basically bails out before my code disabled it
<yorickpeterse> and thus completely circumvented it
hhatch has quit [Ping timeout: 256 seconds]
Ch00k has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
bzalasky has joined #ruby-lang
ikrima has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
hahuang65 has quit [Ping timeout: 268 seconds]
<andrewvos> yorickpeterse: Where do you work?
<andrewvos> yorickpeterse: And why don' you just use mongo? It's schemaliss
<andrewvos> skemalirss
<andrewvos> Also it's super fast
<andrewvos> Because writes are in the cloud
Lennier has joined #ruby-lang
<andrewvos> Mongo is super fast, because writes are your mom
<ljarvis> skemalisp
<ljarvis> everyone knows you should just use mysql and cassandra
<ljarvis> if fb does it everyone should
<andrewvos> I know right
<ljarvis> and write your php in c++
<ljarvis> or write your c++ in php, who cares just write php and ++
<ljarvis> c^
naturtrunken has quit [Quit: naturtrunken]
<andrewvos> I write my c++ in css
<ljarvis> sounds slow
<apeiros> I write html in c++
<ljarvis> should have used go in haskell
<apeiros> and css in assembler, because, whatever
<andrewvos> All my code is written in quine format
<apeiros> also I document in postscript
<Lennier> hello guys
<Lennier> i have this snippet
marr has joined #ruby-lang
riotbit has quit [Quit: riotbit]
<Lennier> and when i run it i got the error message:
<Lennier> NoMethodError: undefined method `+' for nil:NilClass
<ljarvis> @author is nil
chinno998 has joined #ruby-lang
<ljarvis> define it?
<Lennier> ah
<Lennier> ok, thanks ljarvis
thebastl has quit [Remote host closed the connection]
<ljarvis> is the prefixed whitespace necessary?
<Lennier> ljarvis, awesome, looks much better now, thanks!
faces has joined #ruby-lang
face has quit [Ping timeout: 256 seconds]
adwhit has quit [Ping timeout: 264 seconds]
<ljarvis> sure
skmp has joined #ruby-lang
<andrewvos> Hey ljarvis
<andrewvos> au BufRead,BufNewFile *.go set noexpandtab
<andrewvos> autocmd BufWritePre *.go Fmt
<andrewvos> Why does that make ALL files have extra tabs
riotbit has joined #ruby-lang
<andrewvos> Like, my html is getting destroyed with all the tabs now
<andrewvos> HALP
<andrewvos> Someone
<andrewvos> Not just ljarvis
<andrewvos> Perhaps erikh
<yorickpeterse> andrewvos: we use mongo you nerd
riotbit_ has joined #ruby-lang
<erikh> what
<andrewvos> erikh: Hello, can you fix my vim?
<erikh> gofmt uses tabs not spaces
<yorickpeterse> eewww tabs
<andrewvos> erikh: I meant the first line
<erikh> so, get used to it?
<erikh> oh
<yorickpeterse> it means the terrists win
<andrewvos> erikh: And this is in other files, not .go files
<erikh> ahhhhhh
<erikh> ok, there's a BufExit or osmething like that you'll want to set et on
<erikh> let me see if I can find it.
<andrewvos> erikh: Ahh ok
<andrewvos> erikh: Good call thanks
<erikh> BufLeave
<erikh> and probably BufWinLeave
<ljarvis> autocmd FileType go autocmd BufWritePre <buffer> Fmt
riotbit_ has quit [Client Quit]
<andrewvos> Or maybe I should just get rid of expandtabs
<andrewvos> Erm noexpandtabs
<erikh> what ljarvis said too
<andrewvos> -s
<andrewvos> Because gofmt already adds tabs
<erikh> sory guys
<erikh> today has been a really shitty day
<erikh> and I need to go
<andrewvos> erikh: :(
<andrewvos> erikh: Hope it gets better dude
<ljarvis> erikh: <3
<erikh> it won't, but thanks
<erikh> <3
<rue|w> erikh: *pat*
riotbit has quit [Ping timeout: 256 seconds]
<andrewvos> rue|w: Wow you're still around?
<ljarvis> he's like patrick, always hiding under a rock
<rue|w> I have a highlight set on noexpandtabs
<ljarvis> lol
<andrewvos> hahaha
<rue|w> Actually I just forgot to turn on autojoin on this machine. Though I haven’t really touched Ruby in about a year now
<andrewvos> rue|w: What are you doing now?
<ljarvis> ur mom
<andrewvos> ooooh burnnn
<ljarvis> <3
<andrewvos> ljarvis: Write my vimscript for me :)
<andrewvos> ljarvis: Or just tell me what to do
<ljarvis> andrewvos: im not that good with vimscript bro :(
<ljarvis> I don't use vim much anymore
<andrewvos> Should I do the thing you did, or just get rid of noexpandtab totally
<andrewvos> And rely on gofmt
<erikh> I have et on with gofmt
<erikh> it's not a big deal
<ljarvis> yeah I do too
<rue|w> andrewvos: A bit of scala earlier, but for the most part frontend logic, Coffee + FRP.
<andrewvos> rue|w: Oh cool
<yorickpeterse> FRP?
<yorickpeterse> You mean that functional hipster thing?
<andrewvos> Functional Reactive Popcorn
<ljarvis> fuck ruby pricks
<andrewvos> ha
<rue|w> ^
<ljarvis> pricks is such a british word
<ljarvis> I can't think of anything more british, even crumpet
<yorickpeterse> "Yeah fuck Ruby, it's all frat boys!" "Let's write Node.js/Coffee instead!"
<yorickpeterse> *suddenly Node.js frat boys*
<yorickpeterse> ljarvis: "cunt"
<ljarvis> rue|w: how did you find scala? I really enjoyed it
tbuehlmann has joined #ruby-lang
<yorickpeterse> Only the brits can use it in such a way that it properly insults people
<ljarvis> yorickpeterse: heh that one has spread much more
<ljarvis> true
<andrewvos> ljarvis: He probably just googled it
<ljarvis> in australia it's friendly
<yorickpeterse> wat
<rue|w> ljarvis: Meh, mixed paradigm didn’t work for me
<ljarvis> rue|w: yeah took some getting used to
<rue|w> I think it’d be okay as a functional lang
<ljarvis> rue|w: my issue was 10 ways to do 1 thing (yeah, same as ruby) except each way was VERY different under the hood
<ljarvis> confused me a lot
<rue|w> It’s just too big a language, really. Does too much
<ljarvis> maybe that was just little experience, but scala devs lol'd all the way to bank at me a few times for using certain concepts
<ljarvis> yeah it's huge
<rue|w> I mean, you could just learn one way of doing it, but the problem is that then you won’t understand all library code and so on.
benlovell has joined #ruby-lang
Criztian has joined #ruby-lang
leekiernan has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
crudson has quit [Quit: Leaving.]
leekiern_ has joined #ruby-lang
naturtrunken has joined #ruby-lang
thebastl has joined #ruby-lang
xcesariox has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby-lang
maxmanders has joined #ruby-lang
<yorickpeterse> haha
<maloik> rofl
hahuang65 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
superdealloc has quit [Quit: superdealloc]
charliesome has joined #ruby-lang
diegoviola has joined #ruby-lang
ruby-lang848 has joined #ruby-lang
ruby-lang848 has quit [Client Quit]
ledestin has quit [Quit: ledestin]
SteveBenner9 has joined #ruby-lang
yfeldblum has joined #ruby-lang
superdealloc has joined #ruby-lang
vlad_starkov has joined #ruby-lang
soba has quit [Ping timeout: 240 seconds]
Lennier has quit [Quit: Lennier]
superdealloc has quit [Quit: superdealloc]
chris2 has joined #ruby-lang
tarruda has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<ljarvis> yay more javascript
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
Domon has quit [Ping timeout: 245 seconds]
superdealloc has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<yorickpeterse> oh neat, I have a test failing on Jenkins that can't fail
<rue|w> There’s nothing that can’t fail on Jenkins
<yorickpeterse> jenkinz plz
hahuang65 has quit [Ping timeout: 240 seconds]
anonymuse has quit [Remote host closed the connection]
<yorickpeterse> set up a CI server they said
<yorickpeterse> it will match production they said
jvrmaia has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
<lupine> hah
<lupine> we have unit, functional and integration tests, a staging environment and production
<lupine> bugs still get through
<yorickpeterse> HAHA WTF
<lupine> proper howlers
<yorickpeterse> If I run this test suite outside of Jenkins, but on the same machine with the same shit, it works fine
* yorickpeterse adds another item to the "Yak shaving TODO"
<yorickpeterse> I vaguely recall doing something else this morning, before I had to shave yaks
<andrewvos> yorickpeterse: Hey remember like a week ago when I was arguing against jenkins?
jsullivandigs has quit [Ping timeout: 256 seconds]
<yorickpeterse> andrewvos: yeah, I remember you not bringing up good arguments against it
<yorickpeterse> "hurrdurr just use Bash m8" was basically it
<andrewvos> Basically the same argument you had for using it
<yorickpeterse> Not exactly
<lupine> jenkins is perfectly fine
<yorickpeterse> FFS, rspec hides my `puts` output
<andrewvos> So is just running the tests locally
<yorickpeterse> Said no one ever
<lupine> we do that in addition to, not instead of, ci
<andrewvos> Well, actually no, because I just said it.
adwhit has joined #ruby-lang
<andrewvos> But yeah carry on polishing that jenkins turd
<lupine> yorickpeterse, first thing that comes to mind is environment differences between login vs. non-login shell
<yorickpeterse> hm
<lupine> ISTR we #!/bin/bash -le in our "run action" scripts
JohnBat26 has joined #ruby-lang
<yorickpeterse> that shouldn't affect `puts` though
<lupine> probably not
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
<yorickpeterse> FFS, so apparently this is AR behaviour I was unaware of
<ljarvis> :D
<yorickpeterse> but god knows why it doesn't work on my bawks
<yorickpeterse> errr, works
<yorickpeterse> but not as it does on Jenkins
thebastl has quit [Remote host closed the connection]
adwhit has quit [Ping timeout: 256 seconds]
<yorickpeterse> Ok, one yak down
<yorickpeterse> 10 more to go
fosky has joined #ruby-lang
realDAB has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
cads has joined #ruby-lang
vlad_starkov has joined #ruby-lang
yalue has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
<yorickpeterse> I need to get myself a Yak shaving t-shirt
yatish27 has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
ldnunes has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 250 seconds]
<maloik> i never really understood where yak shaving comes from as an expression
<maloik> nor what it means
<apeiros> urbandictionary.com is helpful for such things
<ljarvis> "The actually useless activity you do that appears important when you are consciously or unconsciously procrastinating about a larger problem."
<yorickpeterse> there's a perfect jif for it
cored has joined #ruby-lang
thebastl has joined #ruby-lang
skmp has quit [Ping timeout: 245 seconds]
<maloik> haha that's so good
skmp has joined #ruby-lang
<ljarvis> oh walter
<maloik> I actually loved that show
<maloik> that little kid is so funny
<ljarvis> meh
<ljarvis> I never really liked MITM
<apeiros> yorickpeterse: awesome :D
<yorickpeterse> the show was meh
<yorickpeterse> but that one was funny
* yorickpeterse hasn't watched TV in...4 years now I think
<yorickpeterse> nor any series
yatish27 has joined #ruby-lang
fosky has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
joshuairl has joined #ruby-lang
skmp1 has joined #ruby-lang
skmp has quit [Ping timeout: 256 seconds]
<maloik> I'm glad I don't have cable
<maloik> though I do watch some series and movies
<maloik> I reckon the biggest timewaster these days is playing games
wmoxam has quit [Ping timeout: 240 seconds]
<yorickpeterse> meh, I only play 2 anyway and usually during the weekends
<yorickpeterse> helps me relax my brain
jxie has quit [Quit: leaving]
<lianj> how was mitm meh, if you rewatch it now its still great on the side while coding
pipework has quit [Remote host closed the connection]
<maloik> I'm not a big gamer in terms of number of games, like, most games I don't enjoy for longer than an afternoon
<maloik> but then there's some that I can play forever...
<maloik> counter strike back in the days, 7 years... WoW, EVE, HoN all 2 years each I think
<maloik> and now I'm back to cs with some friends, I've come full circle heh
breakingthings has joined #ruby-lang
benlovell has joined #ruby-lang
alekst has joined #ruby-lang
anonymuse has joined #ruby-lang
<yorickpeterse> meh EVE
<yorickpeterse> Too much meta bullshit
tomzx_mac has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hogeo has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
diegoviola has quit [Quit: bbl]
<chris2> yay eve :P
<lianj> maloik: yea getting back to cs is the only sane thing to do sometimes
ssb123 has joined #ruby-lang
chinno998 has quit [Quit: Leaving.]
yatish27 has quit [Remote host closed the connection]
umgrossco has joined #ruby-lang
xcesariox has joined #ruby-lang
wallerdev has joined #ruby-lang
siberia has joined #ruby-lang
yatish27 has joined #ruby-lang
SteveBenner9 has quit [Quit: Leaving]
<yorickpeterse> well, it seems I've stumbled upon another YouTube goldmine http://www.youtube.com/watch?v=ky_B7vyGIAc
bungoman has joined #ruby-lang
<yorickpeterse> "The distinction between partials and views is making things more complex, so why should we have two kinds of view types? Use ordinary views instead, they're fine."
<yorickpeterse> Too complex, lets use a completely different paradigm!
joshuawscott has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
hagebake is now known as hagabaka
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
Kabaka has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby-lang
umgrossco has joined #ruby-lang
raphaelivan has joined #ruby-lang
sush24 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
relix has joined #ruby-lang
skmp1 has quit [Quit: Leaving.]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
adwhit has joined #ruby-lang
nathanstitt has joined #ruby-lang
poga has quit [Remote host closed the connection]
pipework has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 268 seconds]
Kabaka has joined #ruby-lang
adwhit has quit [Ping timeout: 260 seconds]
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby-lang
siberia has quit [Quit: siberia]
tdm00 has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
killthe|afk is now known as killtheliterate
Mon_Ouie has joined #ruby-lang
Ch00k has quit [Quit: Ch00k]
jxie has joined #ruby-lang
charlescooke_ has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
naturtrunken has quit [Quit: naturtrunken]
yatish27 has quit [Remote host closed the connection]
Kabaka has joined #ruby-lang
yatish27 has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yatish27 has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
kurko_ has joined #ruby-lang
Plyturon has joined #ruby-lang
tonni has joined #ruby-lang
hashkey has joined #ruby-lang
<ljarvis> balllsssss
<ljarvis> also yeah lol @ cells
<yorickpeterse> fuck you AR with nested forms and validations
<ljarvis> yeah ar
<yorickpeterse> "hurrdurrr Foo doesn't exist" That's because you're supposed to create it!
<ljarvis> also what's wrong with that?
<ljarvis> wat
<ljarvis> if the model accepts nested attributes that should work fine
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
<yorickpeterse> So basically I have this case: User has_many -> Subscription. For w/e reason I can't do shit like User.new(:name => '...', :subscriptions_attributes => {...}) (and similar) because then Rails complains shit doesn't exist
<ljarvis> that should work fine
<yorickpeterse> well it doesn't :)
<yorickpeterse> well at least not with validations
<yorickpeterse> without it it does
<ljarvis> what's the exact exception?
<ljarvis> validations on subscription?
<yorickpeterse> oh, this is also a nice example:
<yorickpeterse> waaaaaaait a minute
<yorickpeterse> well for one this test doesn't actually take the validations into account so lemme fix that first then verify
io_syl has joined #ruby-lang
<yorickpeterse> ok that seems to work
<yorickpeterse> brb, banging head against wall
tonni has quit [Ping timeout: 245 seconds]
realDAB has quit [Quit: realDAB]
leekiern_ has joined #ruby-lang
loincloth has joined #ruby-lang
sush24 has quit [Quit: Leaving]
bondar has joined #ruby-lang
bondar has quit [Client Quit]
<ljarvis> :/
tonni has joined #ruby-lang
jacktrick has joined #ruby-lang
bondar has joined #ruby-lang
fedesilva has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> there's a wall with my name on it and I'm going in
<yorickpeterse> literally
<yorickpeterse> head first
hogeo has joined #ruby-lang
<igalic> So it would appear that #select is documented: http://www.ruby-doc.org/core-2.0/Array.html#method-i-select but #detect is not. Never. Nowhere. Not even mentioned.
GeissT has quit [Quit: MillBroChat AdIRC User]
mistym has joined #ruby-lang
<ljarvis> igalic: detact is an alias for find
<ljarvis> not select
<ljarvis> detect
<yorickpeterse> Array#detect is documented here
<yorickpeterse> On Ruby 2.0 using `ri` at least
<ljarvis> it's Enumerable
<ljarvis> and it's the same as find
<erikh> ^
<erikh> #detect is #find for rails weenies
<ljarvis> igalic: as yorickpeterse says, just do `ri detect` and you'll see detect is not on Array
<ljarvis> erikh: tehe
<erikh> :)
<igalic> aaaaahokay.
<yorickpeterse> Ruby: where every method has at least 5 aliases
<yorickpeterse> somebody should add metherd_missing to stdlib
<erikh> heh
<erikh> asd;lkfj
poga has joined #ruby-lang
raphaelivan has left #ruby-lang [#ruby-lang]
mistym has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
dwknoxy has joined #ruby-lang
skade has quit [Ping timeout: 256 seconds]
jsullivandigs has joined #ruby-lang
shinnya has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
VTLob has joined #ruby-lang
Ch00k has joined #ruby-lang
Plyturon has quit [Quit: Leaving]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naturtrunken has joined #ruby-lang
rippa has joined #ruby-lang
realDAB has joined #ruby-lang
leekiern_ has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
lfox has joined #ruby-lang
tonni has quit [Ping timeout: 245 seconds]
mmorga has joined #ruby-lang
lfox has quit [Client Quit]
mistym has joined #ruby-lang
lfox has joined #ruby-lang
Oak has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
tonni has joined #ruby-lang
hogeo has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
rikai has quit [Read error: Connection reset by peer]
rikai has joined #ruby-lang
AndChat| has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
sstrickl has joined #ruby-lang
ldnunes has quit [Ping timeout: 264 seconds]
adwhit has joined #ruby-lang
superdealloc has quit [Quit: superdealloc]
thebastl has joined #ruby-lang
killtheliterate is now known as killthe|cof
hogeo has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
jacktrick has joined #ruby-lang
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
adwhit has quit [Ping timeout: 245 seconds]
softrli has quit [Remote host closed the connection]
bondar has quit []
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
Criztian has joined #ruby-lang
rippa has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby-lang
rippa has joined #ruby-lang
mmorga has quit [Read error: Operation timed out]
realDAB has quit [Quit: realDAB]
mistym has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
LanceHaig has quit [Changing host]
LanceHaig has joined #ruby-lang
jwoods has joined #ruby-lang
killthe|cof is now known as killtheliterate
solars has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-lang
mistym has joined #ruby-lang
__butch__ has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
mmorga has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
maxmanders has joined #ruby-lang
tylersmith has quit [Ping timeout: 246 seconds]
tbuehlmann has quit [Quit: Page closed]
clov3r has quit [Remote host closed the connection]
leekiern_ has quit [Quit: Textual IRC Client: www.textualapp.com]
leekiern_ has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
<ljarvis> indeed
realDAB has joined #ruby-lang
hogeo has quit [Ping timeout: 245 seconds]
richardburton has joined #ruby-lang
DarkBushido has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
sedrickc_ has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
tonni has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<mistym> Is there a reasonable way to sniff if there's any data available in STDIN without blocking?
vlad_starkov has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
tdm00 has quit [Quit: Make like a banana and split!]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mistym> I guess I could read_nonblock(1), catch the exception, and rewind back to 0 on success, but was hoping there was a cleaner one-liner.
<banister> yorickpeterse
<banister> can anyone read this?
<mistym> banister: I can
<banister> good, thanks
<banister> :)
<banister> yorickpeterse what is the dutch name for 'allspice' ?
<banister> or any other dutch speakers here.. :)
yatish27 has joined #ruby-lang
jvrmaia has quit [Quit: Leaving]
Ch00k has quit [Quit: Ch00k]
Oak has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
itcharlie has joined #ruby-lang
MartynKeigher has quit [Quit: http://www.martynkeigher.com]
benanne has joined #ruby-lang
skmp1 has joined #ruby-lang
wallerdev has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
<maloik> banister: allspice ?
<maloik> what is allspice
<banister> maloik a spice
<banister> it tastes like a mixture of cinnamon, cloves, etc
maxmanders has quit [Quit: Computer has gone to sleep.]
mbj has joined #ruby-lang
<maloik> I've never heard of that before
<banister> maloik yeah you only really come across it when you do a lot of indian/asian style cooking
<maloik> Piment is the translation apparently, but never heard of that either
<maloik> I'm guessing you're belgian or dutch and looking to buy that ?
iliketur_ has joined #ruby-lang
<ljarvis> new zealanderish
<ljarvis> banister: piment should work
realDAB has quit [Quit: realDAB]
<banister> maloik no..living in holland and trying to cook an indian recipe ;)
<banister> ljarvis ya, going to check it now thx
hogeo has joined #ruby-lang
kstuart has quit [Ping timeout: 245 seconds]
<maloik> oh ok :-)
<maloik> you should come to ghent in october for arrrrcamp!
dhruvasagar has quit [Ping timeout: 245 seconds]
<maloik> awesome conference (I may or may not be biased)
<ljarvis> heh
mbj has quit [Ping timeout: 264 seconds]
intellitech has joined #ruby-lang
<ljarvis> maloik: you haven't sold out?
<maloik> never sells out this quickly
<maloik> in fact, the weird thing is that there's loads of people from around here that buy their tickets right before the event
<maloik> despite the early bird..
<maloik> but hey, I don't care :-) it may as well help someone who spends more on travel
hhatch has quit [Ping timeout: 268 seconds]
anjen has joined #ruby-lang
<banister> maloik how far is ghent from brussels?
<maloik> an hour by train
<maloik> bit less actually
<banister> maloik is it just rails or ruby in general?
apeiros has joined #ruby-lang
<maloik> it's a healthy mix of everything
<maloik> ruby, rails, javascript, inspirational
<DefV> alcohol
<maloik> alcohol!
<maloik> and a severe lack of sleep, in my case
<DefV> poor you
<maloik> wouldnt trade it for the world :)
<ljarvis> maloik: I need to give my gf an itenary of things to do whilst I'm at the conf, any hints?
postmodern has joined #ruby-lang
Saffronique is now known as Saffronique-afk
<maloik> I'm probably the worst person to ask, but I'll ask around for tips
<DefV> ljarvis: history, shopping, food, ... ?
<banister> maloik is there a list of talks?
tylersmith has joined #ruby-lang
<ljarvis> DefV: right, I could tell her to buy a gun and ride an elephant too, but it would be nice if I could tell her how/where and get tips from people who know already
<DefV> ljarvis: I meant, what does she prefer
<maloik> banister: yep for sure, http://www.arrrrcamp.be/talks
<ljarvis> DefV: all those things :) history/shopping would be good and keep her busy
<DefV> center of ghent is pretty simple, we have a few shopping streets, in between the history (castle, cute streets, ...)
<ljarvis> DefV: thanks :)
sedrickcz has joined #ruby-lang
<banister> maloik is it all in engels? :P
<mistym> Reasking from earlier - Is there a reasonable way to sniff if there's any data available in STDIN without blocking?
<maloik> banister: absolutely
<banister> maloik are there any lightning talks?
<banister> If i'm sufficiently drunk i might like to give one on pry advanced features (though perhaps the world is already bored of hearing about pry by now..)
<maloik> there will be yea, usually right after cocktails
<banister> cool
<maloik> should be right up your alley :D
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
skade has joined #ruby-lang
scampbell has joined #ruby-lang
skade has quit [Client Quit]
anjen has quit [Quit: anjen]
elia has quit [Read error: Operation timed out]
<Mon_Ouie> ljarvis: format = if params[:json] then json elsif params[:csv] then :csv elsif params[:xml] then :xml end
hogeo has quit [Remote host closed the connection]
<ljarvis> ah yeah I read it wrong
<ljarvis> probably because it's ugly as fuck
lfox has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
cored has quit [Ping timeout: 264 seconds]
Ch00k has joined #ruby-lang
cored has joined #ruby-lang
leekiern_ has joined #ruby-lang
<yorickpeterse> what the fuck is that
<ljarvis> ^
cads has quit [Ping timeout: 248 seconds]
<yorickpeterse> I go home and you people start pasting that? The fuck is wrong with you
dhruvasagar has joined #ruby-lang
Ch00k has quit [Quit: Ch00k]
solars has joined #ruby-lang
adwhit has joined #ruby-lang
workmad3 has joined #ruby-lang
<maloik> Anyone have a good eye for design/interfaces who's brain I can pick for a couple minutes?
Ch00k has joined #ruby-lang
ldnunes has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
skmp1 has quit [Ping timeout: 264 seconds]
skmp has joined #ruby-lang
Senjai has joined #ruby-lang
mmorga has joined #ruby-lang
<mistym> To answer my own question, io/wait is the answer - it provides #ready?
adwhit has quit [Ping timeout: 256 seconds]
skade has joined #ruby-lang
softrli has joined #ruby-lang
rue has quit [Remote host closed the connection]
softrli has quit [Ping timeout: 245 seconds]
rue has joined #ruby-lang
killtheliterate is now known as killthe|lunch
richardburton has joined #ruby-lang
mmorga has quit [Ping timeout: 246 seconds]
riotbit has joined #ruby-lang
richardburton has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
mmorga has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Ch00k has quit [Quit: Ch00k]
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
volty has joined #ruby-lang
<volty> hi, i'm using CGI just to produce html files, how can I avoid reading standard input on CGI.new ?
hahuang65 has joined #ruby-lang
_elia has joined #ruby-lang
shireesh has quit [Quit: Leaving]
elia has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
perk11 has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
kstuart has joined #ruby-lang
saarinen has quit [Client Quit]
Senjai has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
_elia has quit [Ping timeout: 245 seconds]
kstuart has quit [Read error: Connection reset by peer]
kstuart has joined #ruby-lang
volty has quit [Ping timeout: 240 seconds]
naturtrunken has quit [Quit: naturtrunken]
cads has joined #ruby-lang
itcharlie has left #ruby-lang [#ruby-lang]
naturtrunken has joined #ruby-lang
richardburton has joined #ruby-lang
mmorga_ has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
<onewheelskyward> oh wow
breakingthings has quit [Quit: breakingthings]
volty has joined #ruby-lang
breakingthings has joined #ruby-lang
mmorga_ has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ericthegreen has joined #ruby-lang
ebouchut has joined #ruby-lang
ebouchut has quit [Client Quit]
naturtrunken_ has joined #ruby-lang
ebouchut has joined #ruby-lang
mmorga_ has joined #ruby-lang
mmorga_ has quit [Remote host closed the connection]
richardburton has quit [Ping timeout: 245 seconds]
naturtrunken has quit [Ping timeout: 264 seconds]
naturtrunken_ is now known as naturtrunken
mmorga_ has joined #ruby-lang
anonymus_ has joined #ruby-lang
ebouchut has quit [Client Quit]
anonymu__ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anonymuse has quit [Read error: Connection reset by peer]
waxjar has quit [Ping timeout: 256 seconds]
skmp has quit [Ping timeout: 245 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
anonymus_ has quit [Ping timeout: 245 seconds]
__butch__1 has joined #ruby-lang
__butch__ has quit [Ping timeout: 245 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
sedrickcz has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
relix has joined #ruby-lang
pothibo has joined #ruby-lang
pothibo has quit [Client Quit]
__butch__1 has quit [Ping timeout: 245 seconds]
fedesilva has quit [Read error: Connection reset by peer]
relix has quit [Client Quit]
__butch__ has joined #ruby-lang
pothibo has joined #ruby-lang
fedesilva has joined #ruby-lang
killthe|lunch is now known as killtheliterate
Ch00k has joined #ruby-lang
richardburton has joined #ruby-lang
relix has joined #ruby-lang
Pupeno has quit [Ping timeout: 264 seconds]
__butch__ has quit [Quit: Leaving.]
goatish_mound is now known as rsl
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
naturtrunken has quit [Ping timeout: 264 seconds]
ericthegreen has left #ruby-lang [#ruby-lang]
ericthegreen has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby-lang
jsullivandigs has joined #ruby-lang
DarkBushido has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
sedrickcz has quit [Remote host closed the connection]
pothibo has quit [Quit: pothibo]
crudson has joined #ruby-lang
vlad_starkov has joined #ruby-lang
saarinen_ has joined #ruby-lang
saarinen has quit [Read error: Connection reset by peer]
saarinen_ is now known as saarinen
Voker57 has quit []
Voker57 has joined #ruby-lang
__butch__ has joined #ruby-lang
sedrickcz has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 264 seconds]
JohnBat26 has quit [Remote host closed the connection]
riotbit has quit [Quit: riotbit]
MaddinXx has joined #ruby-lang
saarinen has quit [Quit: saarinen]
joonty_ has joined #ruby-lang
joonty has quit [Read error: Operation timed out]
adwhit has joined #ruby-lang
yxhuvud has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Write error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
yxhuvud2 has quit [Ping timeout: 260 seconds]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
relix has joined #ruby-lang
mistym has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
relix has quit [Client Quit]
waxjar has joined #ruby-lang
saarinen has joined #ruby-lang
vilni has joined #ruby-lang
sirupsen has joined #ruby-lang
yalue has quit [Quit: Leaving]
sirupsen has quit [Client Quit]
sirupsen has joined #ruby-lang
pipework has quit [Remote host closed the connection]
ericthegreen has quit [Quit: Leaving.]
mbj has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
vilni has quit [Ping timeout: 246 seconds]
Pupeno has quit [Ping timeout: 240 seconds]
volty has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
leekiern_ has joined #ruby-lang
ericthegreen has joined #ruby-lang
havenn has quit [Remote host closed the connection]
ericthegreen has quit [Client Quit]
Criztian has quit [Remote host closed the connection]
Ch00k has quit [Quit: Ch00k]
adwhit has quit [Ping timeout: 245 seconds]
eoinkelly has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
phracker has joined #ruby-lang
__butch__ has quit [Ping timeout: 264 seconds]
kstuart has quit [Quit: kstuart]
kstuart has joined #ruby-lang
poga has quit [Ping timeout: 240 seconds]
__butch__ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Kero_ is now known as Kero
MaddinXx has quit [Remote host closed the connection]
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
scampbell has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
alekst has quit [Quit: Computer has gone to sleep.]
volty has joined #ruby-lang
mmorga has joined #ruby-lang
naturtrunken has joined #ruby-lang
LanceHaig has quit [Ping timeout: 264 seconds]
mmorga has quit [Remote host closed the connection]
setmeaway has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
mmorga_ has quit [Ping timeout: 246 seconds]
iliketur_ has quit [Quit: zzzzz…..]
breakingthings has quit [Quit: breakingthings]
killtheliterate is now known as killthe|reboot
sedrickcz has quit [Remote host closed the connection]
joshuairl has quit [Quit: joshuairl]
ikrima has quit [Quit: Computer has gone to sleep.]
futile has joined #ruby-lang
<futile> Is it safe to use system() on a background thread, maybe even multiple at a time?
<drbrain> futile: define "safe"
<drbrain> futile: it won't block other threads
<drbrain> futile: as in: ruby -e 'Thread.new { (0..Float::INFINITY).each { |i| puts i; sleep 1 } }; system "sleep 10"'
loincloth has quit [Remote host closed the connection]
<futile> ok
iliketur_ has joined #ruby-lang
<yorickpeterse> volty: by not reading from STDIN?
<yorickpeterse> also why are you using CGI for Ruby?
<yorickpeterse> that's like the slowest thing ever
ledestin has joined #ruby-lang
malev has joined #ruby-lang
futile has left #ruby-lang [#ruby-lang]
<drbrain> yorickpeterse: CGI.new reads from STDIN for environment variables if they aren't already present
<yorickpeterse> Ah
<yorickpeterse> Well the 2013 option here is to not use CGI :)
<darix> drbrain: isnt it for POST content
<darix> the ENV stuff is from the start up env imho
<drbrain> volty: this should work: ruby -rcgi -e 'ENV["REQUEST_METHOD"] = "GET"; CGI.new("html5")'
<darix> POST/PUT
<darix> can rack handle plain CGI?
<drbrain> darix: looking in cgi/core.rb, if the REQUEST_METHOD isn't GET/POST/HEAD it reads from $stdin
<darix> not for POST?
<darix> hm
<drbrain> oh, or POST
wmoxam has quit [Ping timeout: 245 seconds]
<drbrain> the method is longer than me screen and I forgot it
<darix> hehe
sirupsen has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
solars has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby-lang
yxhuvud has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
thebastl has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
naturtrunken has quit [Quit: naturtrunken]
skmp has joined #ruby-lang
havenwood has joined #ruby-lang
futile has joined #ruby-lang
<futile> If I spin up an external process via system(), write to it, read to it, and shut it down, about a dozen times per second, is that going to be slow? Would it be significantly slower than opening up a unix socket and sending/receiving the same amount of messages on the same socket in the same time frame?
iliketur_ has quit [Quit: zzzzz…..]
workmad3 has joined #ruby-lang
<zenspider> futile: who cares?
<zenspider> it's a slow language anyways.
<zenspider> you should write assembler
<futile> zenspider: ok
vlad_starkov has quit [Remote host closed the connection]
naturtrunken has joined #ruby-lang
ikrima has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
wmoxam has quit [Ping timeout: 246 seconds]
skmp has quit [Read error: Connection reset by peer]
SteveBenner9 has joined #ruby-lang
naturtrunken has quit [Quit: naturtrunken]
adwhit has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
anonymu__ has quit [Remote host closed the connection]
pizdets has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
sedrickcz has joined #ruby-lang
jkyle has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
ssb123 has joined #ruby-lang
killthe|reboot is now known as killthe|afk
ssb123 has quit [Ping timeout: 245 seconds]
sedrickcz has quit [Ping timeout: 245 seconds]
cads has quit [Ping timeout: 245 seconds]
mbj has left #ruby-lang [#ruby-lang]
bungoman_ has joined #ruby-lang
futile has left #ruby-lang [#ruby-lang]
tomzx_mac has joined #ruby-lang
yxhuvud has joined #ruby-lang
bungoman has quit [Ping timeout: 245 seconds]
VTLob has quit [Quit: VTLob]
rails_smith1 has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
rails_smith has joined #ruby-lang
<[[thufir]]> I can inspect the conn for the values: conn = YAML.load_file('conn.yml') but I want to assign them to values. host = conn[host] or something like that. what's the syntax please?
<zenspider> https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L412-L413 been there since 2003... *sigh*
jwoods1 has joined #ruby-lang
jwoods has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
ebouchut has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
rails_smith has quit [Quit: Leaving.]
rebelcan has quit [Ping timeout: 260 seconds]
lfox has quit [Quit: ZZZzzz…]
rebelcan has joined #ruby-lang
wems has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
tylersmith has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vilni has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
JoshuaPaling has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
ssb123 has joined #ruby-lang
scottschecter has quit [Ping timeout: 240 seconds]
<darix> zenspider: luckily erb isnt widely used.
<zenspider> erb isn't widely used?? you're kidding right?
<zenspider> it was a misunderstanding on my part... lines starting with %% are escaped %'s... so the code works fine.
<zenspider> I use % mode but the way I structure my ERB code means I'd NEVER use %% at the start
<zenspider> so it never crossed my mind
vilni_ has joined #ruby-lang
volty has quit [Quit: Konversation terminated!]
<darix> zenspider: yes it was sarcastic :)
<darix> though i have to admit i prefer erubis nowadays
vilni has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
poga has joined #ruby-lang
nathanstitt has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
<[[thufir]]> why, in this ssh example, is password a symbol? Net::SSH.start('host', 'user', password => "password") from the net-ssh documentation
<darix> [[thufir]]: you probably mean Net::SSH.start('host', 'user', :password => "password")
<darix> right?
<[[thufir]]> sort of
<darix> well the 3rd param is a hash
<darix> and symbols are popular as hash keys
<[[thufir]]> how about this: Net::SSH.start(hst, :port => "prt", usr, :password => "pwrd") do |ssh| is the port a hash too?
<darix> yes
<darix> well
<darix> strictly speaking
<zenspider> no... :port is a key to a hash.
<darix> Net::SSH.start(hst, user, { :port => "prt", :password => "pwrd"})
ssb123 has quit [Ping timeout: 245 seconds]
<[[thufir]]> but that, above, won't run for me. bad syntax. syntax error, unexpected ',',
<darix> ias probably what you want
iliketur_ has joined #ruby-lang
<darix> is ...
* [[thufir]] bogs
<zenspider> that'd be because of the ", usr" part
<zenspider> that code is bogus
<darix> yes
<darix> basically your pasted line is
<[[thufir]]> now, how did you know that? to put the {} ?
<darix> Net::SSH.start(hst, {:port => "prt"}, usr,{ :password => "pwrd"})
scottschecter has joined #ruby-lang
<darix> [[thufir]]: i just put the { } to illustrate the hash better
<darix> you want the hash as last argument
<darix> if it helps you with the understanding
<darix> just write the hash part in the {}
<darix> you could even do:
<darix> params = { :port => "prt", :password => "pwrd"}
<darix> Net::SSH.start(host, user, params)
ssb123 has joined #ruby-lang
<[[thufir]]> now, that seems like a good idea
havenwood has joined #ruby-lang
<darix> [[thufir]]: the method(arg1, arg2, args_hash) syntax is quite common in ruby
<[[thufir]]> ok, yes, I've seen that in books and I like the array/hash magic :) is this error due to a syntax problem: http://pastebin.com/CCi4Fbzj
<darix> also if you are really going to use the password, use the netrc module
<[[thufir]]> it's telnet, for a MUD game. I think it doesn't like the ssh and wants telnet, perhaps?
<darix> maybe
<darix> also
<darix> if your yaml is a hash
<darix> you can just do
<[[thufir]]> I tried to do what you're suggesting, but couldn't find the syntax. the yaml is a hash, yes.
<darix> Net::SSH.start(conn['host'], conn['user'], conn) do |ssh|
<darix> :)
<[[thufir]]> ok, I wanted to just pass one single hash_of_all_params but I guess you have to break it up for the API?
<zenspider> you're using strings where you're referring to local variables...
<zenspider> that just doesn't make sense
<darix> yeah also what zenspider said
<darix> if you want to keep your code
<darix> params = {:port => prt,:password => pwrd}
<zenspider> you need to have a basic understanding of the language and programming in general for you to get anything reasonably complex done
<[[thufir]]> yes, but can I put host and username into the params hash, also? or does the API not allow that?
<darix> [[thufir]]: you can leave it in
<darix> normally they will ignore stuff in the hash they dont use
<darix> but you need to pass it like i showed
<darix> also
<darix> pry is a very helpful tool to develope interactively and seeing the state of your program
<darix> require 'pry'
<darix> then binding.pry at the place where you want an interactive shell in your program
<[[thufir]]> pidgin is inserting smileys. do you have a colon before port, params ={:port or params={port ?
<darix> a colon
<darix> you can tell pidgin to not do the smiley stuff
<[[thufir]]> thought so, because it's a symbol. ok. yeah, thanks. :)
slabserif has joined #ruby-lang
slabserif has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
marr has quit [Ping timeout: 240 seconds]
pothibo has joined #ruby-lang
havenwood has quit [Remote host closed the connection]