<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>
"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]
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
<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
<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]
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?