apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
Coincide_ has joined #ruby-lang
Coincidental has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby-lang
tanema has quit [Remote host closed the connection]
<darix> ykk`: unless your local SSL set up is screwed ... you shouldnt get any errors. the server side looks fine.
<mistym> darix: Actually, I'm seeing an SSL error too, using Ubuntu's default ruby. ykk`, what OS/Ruby version?
<ykk`> mac osx
<ykk`> i think it's something with ruby and that db
<darix> moment
<mistym> What version of Ruby? How did you install it?
<ykk`> that's why i didn't put the debug in comment box. it's really long
<ykk`> and i knew it wasn't me
<darix> ruby -r open-uri -e 'p open("https://csweb.artic.edu/")'
<darix> #<StringIO:0x7f2ea5e8ae60>
<darix> works for me
<darix> without errors
<ykk`> so then it's mechanize
<darix> 1.9 too
<darix> naw
<darix> let's try mechanize
<mistym> darix: Actually, throws an SSL error for me. 1.9.3p0
<darix> mistym: paste the error please
<mistym> The same one, actually
<drbrain> AFAIK, both open-uri and net-http-persistent (under mechanize) use OpenSSL::X509::Store#set_default_paths
<drbrain> which uses whichever certificates you have in openssl
<darix> mistym: openssl version?
<darix> "openssl version" as cmd should do
<mistym> darix: 1.0.1 from March 2012 in my case. OS X ships with something much older for sure.
<darix> i can reproduce it on newer openssl version too
<darix> it seems to be about newer tls versions
<darix> tlsv1 works
ldnunes has quit [Ping timeout: 248 seconds]
<darix> drbrain: is there a way to force that with mechanize?
kurko_ has quit [Quit: Computer has gone to sleep.]
<darix> yeah
<darix> the server screws up on tls > 1.0
<darix> drbrain: it isnt about cert store
<drbrain> you can set that with Mechanize#ssl_version=
jeff_r has joined #ruby-lang
<darix> yeah
<darix> so
<drbrain> SSL is super hard ☹ ☹ ☹
<darix> ykk`: try setting ssl_version on your agent and see if that fixes it
<darix> drbrain: dont say
<drbrain> darix: :D
<ykk`> ok, ty
<darix> ykk`: tls 1.0 should work
ykk` has quit [Quit: ykk`]
Reen has quit [Ping timeout: 264 seconds]
<darix> drbrain: what is the value one should pass for tls 1.0?
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
<drbrain> I think :TLS10
<darix> thanks
<drbrain> let me check the OpenSSL docs
<drbrain> maybe TLSv1
<drbrain> err, :TLSv1
jeff_r has quit [Ping timeout: 240 seconds]
mistym has quit [Quit: Leaving]
<drbrain> OpenSSL::SSL::SSLContext::METHODS has the list
<darix> ykk left anyway
<darix> fun
<darix> no 1.1 or 1.2 support yet
<darix> but at least an option to force it to 1.0
tylersmith has quit [Remote host closed the connection]
<darix> nn
pleirosei has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
<drbrain> I have :TLSv1_1 and :TLSv1_2 on OpenSSL 1.0.1e 11 Feb 2013
<drbrain> … and ruby 2.0.0p247
mmorga has joined #ruby-lang
kitak_ has joined #ruby-lang
<darix> drbrain: i am sorry i am only on 1.9 yet :p
<drbrain> ah
ldnunes has joined #ruby-lang
iliketurtles has joined #ruby-lang
tylersmith has quit [Ping timeout: 248 seconds]
nathanstitt has joined #ruby-lang
kitak has quit [Ping timeout: 246 seconds]
<zenspider> chris2: hey... you awake?
robbyoconnor has quit [Ping timeout: 252 seconds]
<zenspider> chris2: is the nanopass paper any different than the one from a couple years ago? same group iirc. dybvig
mistym has joined #ruby-lang
<chris2> ys
<chris2> yes
<chris2> its a real world compiler now
<zenspider> just digging up my copy of the old paper... that was education oriented
<zenspider> interesting
<chris2> yes
<chris2> the new one has the nicer code imo
<chris2> i love their recursive pattern match
dRbiG has quit [Ping timeout: 248 seconds]
z15tea has joined #ruby-lang
<zenspider> I'm only just digging in, but this looks similar to the approach on VPRI's COLA, using ometa to pattern match and transform through many layers all the way down to machine code
z15tea has left #ruby-lang [#ruby-lang]
iliketurtles has quit [Quit: zzzzz…..]
verto_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dRbiG has joined #ruby-lang
<zenspider> chris2: great link. thanks
epichero has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
<chris2> zenspider: a bit like that yep. thanks for reminding me of it
epichero is now known as dddkdkjd
dddkdkjd is now known as epichero
cube526 has joined #ruby-lang
cube526 has quit [Client Quit]
tkuchiki has joined #ruby-lang
micalexander has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby-lang
benlovell has joined #ruby-lang
saarinen has quit [Quit: saarinen]
cored has joined #ruby-lang
tubbo has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
tallship has quit [Quit: Too Hip gotta go - Going..... Down..... Mr. Tyler?]
benlovell has quit [Ping timeout: 240 seconds]
tubbo has quit [Ping timeout: 248 seconds]
simoz has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
face has quit [Read error: Connection reset by peer]
face has joined #ruby-lang
fosky_ has joined #ruby-lang
fosky has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
fosky has quit [Client Quit]
shinnya has quit [Ping timeout: 264 seconds]
jeff_r has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
jeff_r has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
Reen has joined #ruby-lang
stamina has quit [Read error: Operation timed out]
iliketurtles has joined #ruby-lang
kstuart has quit [Quit: kstuart]
Coincide_ has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
symm- has quit [Ping timeout: 240 seconds]
mmorga has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
iliketurtles has quit [Ping timeout: 240 seconds]
micalexa_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
richardburton1 has joined #ruby-lang
kstuart has joined #ruby-lang
richardburton has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby-lang
Coincidental has quit [Ping timeout: 264 seconds]
Bosox20051 has joined #ruby-lang
tylersmith has joined #ruby-lang
pr0ton has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
bungoman has joined #ruby-lang
mdedetrich has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
panpainter has quit [Quit: panpainter]
jsullivandigs has joined #ruby-lang
hahuang61 has quit [Ping timeout: 268 seconds]
kireevco_ has quit [Ping timeout: 248 seconds]
ecnalyr has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
kenta_ has joined #ruby-lang
fijimunkii has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
tubbo has joined #ruby-lang
headius has quit [Read error: Connection reset by peer]
headius has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
lfox has quit [Quit: ZZZzzz…]
kurko_ has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
flip_digits has quit [Remote host closed the connection]
nofxx has quit [Quit: Leaving.]
flip_digits has joined #ruby-lang
ruby-lang599 has joined #ruby-lang
nofxx has joined #ruby-lang
Domon has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
kenta_ has quit [Remote host closed the connection]
ruby-lang599 has quit [Client Quit]
saarinen has joined #ruby-lang
kenta_ has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
headius has quit [Quit: headius]
knu has quit [Ping timeout: 240 seconds]
nofxx has quit [Remote host closed the connection]
flip_dig_ has joined #ruby-lang
flip_digits has quit [Ping timeout: 248 seconds]
knu has joined #ruby-lang
kenta_ has quit [Ping timeout: 248 seconds]
headius has joined #ruby-lang
symm- has joined #ruby-lang
jsullivandigs has joined #ruby-lang
fbernier has quit [Read error: Connection reset by peer]
fbernier has joined #ruby-lang
jinslee has joined #ruby-lang
machuga|away is now known as machuga
esad has quit [Quit: Computer has gone to sleep.]
lsegal has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
heftig has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
kurko_ has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
pleirosei has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
kurko_ has joined #ruby-lang
brianpWins has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
havenwood has joined #ruby-lang
hahuang61 has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
benlovell has joined #ruby-lang
mistym has joined #ruby-lang
headius has quit [Quit: headius]
brianpWins has quit [Quit: brianpWins]
benlovell has quit [Read error: Operation timed out]
symm- has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby-lang
jinslee has quit [Ping timeout: 248 seconds]
jxie has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
hahuang61 has quit [Ping timeout: 268 seconds]
postmodern has quit [Quit: Leaving]
soba has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
apeiros_ has joined #ruby-lang
Asher2 has joined #ruby-lang
nathanstitt has quit [Client Quit]
kurko_ has quit [Quit: Computer has gone to sleep.]
xrq` has joined #ruby-lang
<imperator> oh dear
achiu1 has joined #ruby-lang
nisstyre has joined #ruby-lang
skinny_much_ has joined #ruby-lang
bmaland_ has joined #ruby-lang
diegoviola has joined #ruby-lang
goatish_mound has joined #ruby-lang
spuk_ has joined #ruby-lang
erik____ has joined #ruby-lang
tubbo has joined #ruby-lang
ihme-TTilus has joined #ruby-lang
PaulePan1er has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
epichero has quit [Remote host closed the connection]
sevvie has quit [Read error: Connection reset by peer]
z15tea has joined #ruby-lang
z15tea has quit [Client Quit]
lguardiola_ has joined #ruby-lang
segy_ has joined #ruby-lang
segy_ has quit [Changing host]
segy_ has joined #ruby-lang
dbussink_ has joined #ruby-lang
flgr_ has joined #ruby-lang
flip_digits has joined #ruby-lang
epichero has joined #ruby-lang
apeiros has quit [*.net *.split]
flip_dig_ has quit [*.net *.split]
hagabaka has quit [*.net *.split]
TTilus has quit [*.net *.split]
lguardiola has quit [*.net *.split]
Asher has quit [*.net *.split]
rsl has quit [*.net *.split]
spike|spiegel has quit [*.net *.split]
segy has quit [*.net *.split]
spuk has quit [*.net *.split]
xrq has quit [*.net *.split]
zeusmns has quit [*.net *.split]
canton7 has quit [*.net *.split]
bmaland has quit [*.net *.split]
jacknagel has quit [*.net *.split]
ggherdov has quit [*.net *.split]
flgr has quit [*.net *.split]
FiXato has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
anekos_ has quit [*.net *.split]
erik_ has quit [*.net *.split]
meise has quit [*.net *.split]
skinny_much has quit [*.net *.split]
dbussink has quit [*.net *.split]
achiu has quit [*.net *.split]
segy_ is now known as segy
tubbo has quit [Ping timeout: 248 seconds]
xcesariox has joined #ruby-lang
richardburton1 has quit [Quit: Leaving.]
zeusmns has joined #ruby-lang
FiXato has joined #ruby-lang
anekos_ has joined #ruby-lang
nazty has joined #ruby-lang
meise has joined #ruby-lang
spike|spiegel has joined #ruby-lang
knu has quit [Ping timeout: 248 seconds]
tubbo has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
pkrnj has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 264 seconds]
richardburton has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
hahuang61 has joined #ruby-lang
austinja has quit [Quit: austinja]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
heftig has quit [Ping timeout: 260 seconds]
ledestin has quit [Ping timeout: 264 seconds]
heftig has joined #ruby-lang
Andrevan has joined #ruby-lang
mucker has joined #ruby-lang
Coincidental has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Read error: Operation timed out]
mucker has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
mucker has joined #ruby-lang
Bosox20051 has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
epichero has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
xcesariox has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 256 seconds]
kireevco_ has joined #ruby-lang
Oak has joined #ruby-lang
epichero has joined #ruby-lang
nofxx has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
jonahR has joined #ruby-lang
jonahR has left #ruby-lang [#ruby-lang]
benlovell has joined #ruby-lang
<imperator> anyone awake?
pkrnj has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 248 seconds]
bungoman has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
pkrnj has joined #ruby-lang
tylersmith has joined #ruby-lang
bungoman has quit [Ping timeout: 264 seconds]
<darix> imperator: No. (This is an automatically created reply. It is valid without a signature.)
<imperator> darix, your auto reply was pretty slow; better consider rewriting everything using erlang and mongodb
jithu has joined #ruby-lang
<darix> imperator: it isnt auto reply :p
micalexa_ has quit [Remote host closed the connection]
<darix> imperator: just wanted to get you at least a reply :p
<darix> imperator: why did you ask?
jsullivandigs has quit [Remote host closed the connection]
<imperator> darix, never thought it was; i was just being facetious ;)
<imperator> why did i ask? dunno, bored i guess; just wondering what everyone is up to
<darix> imperator: cant sleep and decided to go to the office now and home early then
mdedetrich has joined #ruby-lang
<imperator> you couldn't sleep so you went back to the office? man, that's dedication
<imperator> working on anything interesting?
karasawa has joined #ruby-lang
<darix> well it is 7am here
<darix> and i was sick the last 2 days and slept a lot
<imperator> walk it off!
<darix> and i will have time to actually do ruby at work \o/
<imperator> always good
jacknagel has joined #ruby-lang
<darix> it is indeed
<darix> found your win32-api/ffi problem you had been looking at a few days ago?
<imperator> not win32-api, a solaris library
ggherdov has joined #ruby-lang
<imperator> yeah, figured it out, more or less; had to setup a custom destructor for a particular struct
<imperator> ugly stuff
wallerdev has quit [Quit: wallerdev]
dik_dak has joined #ruby-lang
<darix> sounds like fun.
<darix> ok bbl from the office
flip_digits has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
mbj has joined #ruby-lang
headius has joined #ruby-lang
micalexander has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
<karasawa> hi all
sevvie has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
epichero has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
<imperator> hi karasawa
mucker has quit [Remote host closed the connection]
knu has joined #ruby-lang
mucker has joined #ruby-lang
<imperator> what's up?
vlad_starkov has joined #ruby-lang
karasawa has quit [Quit: leaving]
karasawa has joined #ruby-lang
mucker has quit [Ping timeout: 248 seconds]
karasawa has quit [Client Quit]
dhruvasagar has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
dik_dak has quit [Quit: Leaving]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
kenta_ has joined #ruby-lang
epichero has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
mbj_ has joined #ruby-lang
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
micalexa_ has joined #ruby-lang
mbj has quit [Ping timeout: 248 seconds]
hakunin has quit [Remote host closed the connection]
micalexa_ has quit [Ping timeout: 248 seconds]
pabs has quit [Ping timeout: 240 seconds]
epichero has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
pabs has joined #ruby-lang
brianpWins has joined #ruby-lang
knu has quit [Ping timeout: 248 seconds]
headius has quit [Quit: headius]
bf4 has quit [Ping timeout: 240 seconds]
imperator has left #ruby-lang ["Leaving"]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Read error: Operation timed out]
tubbo has quit [Ping timeout: 248 seconds]
nherrick has joined #ruby-lang
kenta_ has quit [Read error: No route to host]
kenta_ has joined #ruby-lang
kith has quit [Ping timeout: 245 seconds]
tbuehlmann has joined #ruby-lang
vadviktor has quit [Ping timeout: 240 seconds]
fosky_ has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 240 seconds]
vadviktor has joined #ruby-lang
kireevco__ has joined #ruby-lang
fosky_ has joined #ruby-lang
kireevco has quit [Ping timeout: 240 seconds]
herpless___ has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Remote host closed the connection]
closer009 has joined #ruby-lang
L0rdShrek____ has quit [Ping timeout: 240 seconds]
herpless___ has joined #ruby-lang
herpless___ has joined #ruby-lang
herpless___ has quit [Changing host]
closer has quit [Ping timeout: 240 seconds]
melter has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
melter has joined #ruby-lang
mbj_ has quit [Quit: leaving]
ledestin has joined #ruby-lang
lguardiola has joined #ruby-lang
hahuang61 has quit [Ping timeout: 264 seconds]
TTilus has joined #ruby-lang
jsaak has quit [Ping timeout: 240 seconds]
jsaak has joined #ruby-lang
grandy has quit [Ping timeout: 240 seconds]
IteratorP has quit [Ping timeout: 240 seconds]
go|dfish has quit [Ping timeout: 240 seconds]
JoshuaPaling has quit [Ping timeout: 240 seconds]
lguardiola_ has quit [Ping timeout: 240 seconds]
ihme-TTilus has quit [Ping timeout: 240 seconds]
IteratorP has joined #ruby-lang
jerrytgarcia has quit [Ping timeout: 240 seconds]
Veejay has quit [Ping timeout: 240 seconds]
IteratorP has joined #ruby-lang
IteratorP has quit [Changing host]
IteratorP has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
babinho has joined #ruby-lang
herpless____ has joined #ruby-lang
Veejay has joined #ruby-lang
nikkyjr has joined #ruby-lang
eval-in__ has joined #ruby-lang
IteratorP has joined #ruby-lang
IteratorP has quit [Changing host]
IteratorP has joined #ruby-lang
herpless___ has quit [Ping timeout: 277 seconds]
spuk_ has quit [Ping timeout: 277 seconds]
babinho_ has quit [Ping timeout: 257 seconds]
nikky has quit [Ping timeout: 277 seconds]
diegoviola has quit [Ping timeout: 248 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
IteratorP has joined #ruby-lang
IteratorP has quit [Ping timeout: 243 seconds]
eval-in_ has quit [Ping timeout: 243 seconds]
IteratorP has quit [Changing host]
IteratorP has joined #ruby-lang
diego1 has joined #ruby-lang
diego1 is now known as diegoviola
dmitrykorotkov has quit [Ping timeout: 245 seconds]
IteratorP has quit [Ping timeout: 240 seconds]
schaerli has joined #ruby-lang
benlovell has joined #ruby-lang
sr78ger has joined #ruby-lang
mucker has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
kenta_ has quit [Ping timeout: 240 seconds]
kenta has joined #ruby-lang
Senjai has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
CoreData has quit [Ping timeout: 248 seconds]
fuhgeddaboudit has quit [Ping timeout: 240 seconds]
fuhgeddaboudit has joined #ruby-lang
fuhgeddaboudit has quit [Max SendQ exceeded]
flgr_ has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Remote host closed the connection]
flgr has joined #ruby-lang
dbussink_ has quit [Remote host closed the connection]
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
dbussink has joined #ruby-lang
canton7 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
hhatch has joined #ruby-lang
h_kon has joined #ruby-lang
fosky_ has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby-lang
Hanmac has left #ruby-lang [#ruby-lang]
Coincidental has quit [Ping timeout: 268 seconds]
relix has joined #ruby-lang
fosky_ has joined #ruby-lang
nherrick has quit [Ping timeout: 248 seconds]
fuhgeddaboudit has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
ta has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 245 seconds]
<maloik> Anyone here have clever ideas on how to debug/try out an application that is a webhook receiver for github commit hooks ?
PaulePan1er is now known as PaulePanter
kenta has quit [Remote host closed the connection]
kenta has joined #ruby-lang
<yorickpeterse> morning
hogeo_ has joined #ruby-lang
<maloik> hey
skade has joined #ruby-lang
hogeo has quit [Read error: Operation timed out]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arBmind has joined #ruby-lang
kenta has quit [Disconnected by services]
kenta_ has joined #ruby-lang
ta has joined #ruby-lang
cyndis_ is now known as cyndis
faces has joined #ruby-lang
face has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
io_syl has quit []
hahuang61 has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
skade has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
knu has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dagobah has joined #ruby-lang
hahuang61 has quit [Ping timeout: 248 seconds]
elia has quit [Ping timeout: 248 seconds]
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
hogeo has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
hogeo_ has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
iliketurtles has joined #ruby-lang
kireevco_ has quit [Ping timeout: 248 seconds]
mdedetrich has joined #ruby-lang
kek has joined #ruby-lang
L0rdShrek____ has joined #ruby-lang
ta has joined #ruby-lang
workmad3 has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
jithu has joined #ruby-lang
adambeynon has joined #ruby-lang
go|dfish has joined #ruby-lang
knu has quit [Ping timeout: 248 seconds]
grandy has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
x0f has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
x0f has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
Xzyx987X has quit [Quit: Leaving]
dhruvasagar has joined #ruby-lang
toretore has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
IteratorP has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
benlovell has joined #ruby-lang
skade has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
cnivolle has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
_whitelogger has joined #ruby-lang
ta has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
kenta_ has quit [Remote host closed the connection]
heftig has joined #ruby-lang
kenta_ has joined #ruby-lang
benlovell has joined #ruby-lang
retro|cz has quit [Ping timeout: 248 seconds]
kenta_ has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<ljarvis> morning
banisterfiend has joined #ruby-lang
retro|cz has joined #ruby-lang
ta_ has joined #ruby-lang
<gnufied> moin
<maloik> hmmm, I wish there was some kind of stack overflow for medical issues
<maloik> strange stingy feeling in my side when I duck
<ljarvis> D:
<gnufied> well duck typing can be injurious to sides.
<maloik> wut :o
vlad_starkov has joined #ruby-lang
<maloik> might be my right kidney if I'm getting their location right
vlad_starkov has quit [Remote host closed the connection]
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
<yorickpeterse> maloik: it's called "a doctor's office"
<DefV> maloik: if there were such a thing
<workmad3> yorickpeterse: or wikipedia...
<DefV> it'd always be the same conclusion
<DefV> I'm sorry sir, you have cancer
<maloik> you're confusing that with reddit :D
<maloik> yorickpeterse: yea but effort :(
<workmad3> DefV: I have a small, stinging pain in my right toe that started after I kicked a rose-bush barefooted
<DefV> also, there's 8 seasons of House, I'm sure your disease is in there
<workmad3> DefV: it's not lupus!
<DefV> it's sarcoidosis
banisterfiend has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> maloik: you can always try /r/medicaladvice or w/e
<yorickpeterse> totally legit
<workmad3> maloik: you could always do this: http://www.nhsdirect.nhs.uk/en/CheckSymptoms
dmitrykorotkov_ has joined #ruby-lang
dennus has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> gah, this API is wack
<yorickpeterse> not only does it have a sliding window but it apparently *still* resets your limit around midnight
<yorickpeterse> grrr
stamina has joined #ruby-lang
<yorickpeterse> so it's basically (start_of_day..now) opposed to just "the last 24 hours"
<yorickpeterse> (I think)
jonathanmarvens has joined #ruby-lang
postmodern has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
Squarepy has joined #ruby-lang
<maloik> workmad3: seems to be for people in the UK only
<workmad3> maloik: use 'M4' as the postcode and fake the rest? :)
<gnufied> what is M4?
<maloik> "request a call from a nurse, further assistance needed"
<maloik> doh
<maloik> the internets is failing me
<maloik> oh well back to work
<yorickpeterse> maloik: you know, it might just be an overworked muscle
<yorickpeterse> stop lifting so much
<yorickpeterse> (huehue)
<maloik> this is not what an overworked muscle feels like :D
banisterfiend has quit [Quit: Computer has gone to sleep.]
soba has quit [Ping timeout: 268 seconds]
jithu_ has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jithu has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby-lang
soba has joined #ruby-lang
hhatch has quit [Ping timeout: 264 seconds]
fosky_ has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby-lang
knu has joined #ruby-lang
kireevco__ has quit [Remote host closed the connection]
kith has joined #ruby-lang
cnivolle has quit [Ping timeout: 252 seconds]
bf4 has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soba has quit [Ping timeout: 248 seconds]
<yorickpeterse> FFFFFFUUUCKKK Yeah, found a good name that isn't taken yet on RubyGems
lassebunk has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<lassebunk> Hey... What's the difference between #ruby and #ruby-lang?
<yorickpeterse> #ruby-lang is for the cool kids
<lassebunk> yorickpeterse: and #ruby is for the uncool kids? ;)
<lassebunk> yorickpeterse: no seriously
<yorickpeterse> srsly
<lassebunk> yeah but why is there two channels for the same language?
<lassebunk> #ruby has almost triple the number of users
<gnufied> #ruby is admittedly more mainstream
<lassebunk> like?
<gnufied> more of newbie questions stuff. #ruby-lang is basically a ranting platform
<lassebunk> hehe ok :)
<workmad3> yorickpeterse: what about people who hang out in both?
<lassebunk> workmad3: cool newbies
<workmad3> lassebunk: technically, #ruby-lang is the official freenode chan for ruby
<lassebunk> workmad3: ok
<workmad3> lassebunk: but there was a schism back in time (before I was around) and #ruby was born
<workmad3> I have no idea what caused it... but now #ruby and #ruby-lang exist... and most newcomers to IRC go to #ruby first
<lassebunk> ok
<workmad3> people who stay around for a while eventually discover #ruby-lang :)
<lassebunk> ok
vlad_starkov has joined #ruby-lang
<yorickpeterse> does anybody know of a lib that basically does a master-worker setup in Ruby similar to what you see in Unicorn/Puma?
<yorickpeterse> as in, run one master, start a pool of workers and make sure N of them are alive at all times
mucker has joined #ruby-lang
lassebunk has left #ruby-lang [#ruby-lang]
relix has joined #ruby-lang
jithu_ has quit [Quit: Mother, did it need to be so high?]
<yorickpeterse> hm, xpool looks interesting
jithu has joined #ruby-lang
esad has joined #ruby-lang
agoy has joined #ruby-lang
benlovell has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
benlovell has quit [Ping timeout: 241 seconds]
jonathanmarvens has quit [Read error: Connection reset by peer]
jonathanmarvens has joined #ruby-lang
<ljarvis> that's robs lib right?
ledestin has quit [Quit: ledestin]
Oak has quit [Read error: Operation timed out]
<ljarvis> aye
jxie has quit [Quit: leaving]
Mon_Ouie has joined #ruby-lang
fijimunkii has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
diegoviola has quit [Ping timeout: 260 seconds]
<yorickpeterse> yah
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
toretore has quit [Quit: Leaving]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
sr78ger has quit [Ping timeout: 245 seconds]
cnivolle has joined #ruby-lang
sr78ger has joined #ruby-lang
<igalic> #ruby-lang is basically a ranting platform
<igalic> << so that's why I hang out here, not in the other channel..
cnivolle has quit [Remote host closed the connection]
<igalic> Anyway, does anyone know how fix this beauty: https://gist.github.com/igalic/6899881 ( Detail: can't convert String into Integer)
JohnBat26 has joined #ruby-lang
ItSANgo_ has quit [Quit: Leaving...]
<igalic> It's inside an erb, and adding ip['prefix'].to_i doesn't cut it, which means I'm already out of my depth.
<apeiros> igalic: this is a ranting platform. please do not ask technical questions.
<igalic> Wait, let me fix that.
<igalic> AAAAAAARGGGH PUPPET I DAMN YOU AND YOUR "MASTERS"
<igalic> apeiros: sorry, it won't happen again.
<apeiros> better
<apeiros> :)
* apeiros busy, so sorry, can't help - only make stupid comments
<igalic> That's okay.
<yorickpeterse> <insert comment about how that's not different than normal>
<yorickpeterse> igalic: I take it `ip` is an actual Hash?
<yorickpeterse> Because you get that error when it's not a Hash
<yorickpeterse> >> derp = 10; derp['what do you mean proper error messages?']
<yorickpeterse> ....
<yorickpeterse> eval-in__: HEY WHAT'S UP WITH THAT
<yorickpeterse> https://eval.in/53307
<igalic> yorickpeterse: i'm fairly certain it's a hash
esad has quit [Quit: Computer has gone to sleep.]
retro|cz has quit [Ping timeout: 260 seconds]
<yorickpeterse> Are you sure? (y/n)
<yorickpeterse> Can't think of any other cases where that error would pop up based on that code
Domon has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
<igalic> yorickpeterse: I'm sure, because, if I add this: fail ("choking on network '${title}' (with ensure => '${ensure}', which is interpreted as '${ensure_file}' and has has ip of '${ip}' with ip[prefix] as '${ip[prefix]}'") (to network.pp) this is the error I get:
Domon has joined #ruby-lang
<igalic> Error: choking on network 'pxe' (with ensure => 'present', which is interpreted as 'present' and has has ip of '{"address"=>"192.168.122.1", "prefix"=>24, "dhcp"=>{"start"=>"192.168.122.2", "end"=>"192.168.122.254", "bootp_file"=>"pxelinux.0"}}' with ip[prefix] as '24' at /etc/puppet/environment/testing/bricks/libvirt/manifests/network.pp:90 on node steak.esat
<yorickpeterse> hm
ldnunes has joined #ruby-lang
<igalic> hrm...
<igalic> Wait, what am I doing there? oh.
<igalic> I'm expecting @ip to be an array, but in the yaml I'm only passing a single element.
<yorickpeterse> durr
arBmind1 has joined #ruby-lang
MaddinXx has joined #ruby-lang
<igalic> So, now, how do I yaml?
arBmind has quit [Ping timeout: 264 seconds]
<yorickpeterse> You have to use a YAMLFactoryGenerator
bf4 has joined #ruby-lang
Domon has quit [Ping timeout: 268 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
<maloik> Anyone have a clever idea on how to test/debug a project that is basically a github webhook app ?
joonty has quit [Ping timeout: 264 seconds]
<yorickpeterse> maloik: stub the web requests?
<yorickpeterse> mind you that I no longer recommend webmock so I'm not sure what else there is to use
<yorickpeterse> because of bullshit like this: https://github.com/bblimke/webmock/blob/master/lib/webmock.rb#L46 and ....
<maloik> not quite sure how to do that, let alone write proper tests for this app
xcesariox has joined #ruby-lang
<yorickpeterse> ^ that right there triggers errors if you have Excon installed, even if you don't use it
<yorickpeterse> it will also load every single fucking available HTTP lib
retro|cz has joined #ruby-lang
<yorickpeterse> SRSLY
<yorickpeterse> maloik: either way, here's what you'd do:
<yorickpeterse> 1) break up stuff so you can test things as much as possible without any need for HTTP
<yorickpeterse> 2) the rest you mock using some HTTP mocking lib, this is something used for requests though, not responses
<yorickpeterse> lets see if I can dig up an example
<maloik> well that's the thing, there's very little there in the first place
<maloik> hang on
<maloik> this is what I'm at atm: https://github.com/hannesfostie/jekyll_catcher
<maloik> so it receives a payload from github, then fetches some config from a yml file and calls a user-defined task
breakingthings has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
<yorickpeterse> maloik: move `@request.POST["payload"]` into a method, stub it
mdedetrich has joined #ruby-lang
<yorickpeterse> boom, no HTTP needed
<yorickpeterse> sec
toretore has joined #ruby-lang
dmitrykorotkov_ has quit [Read error: Operation timed out]
dmitrykorotkov has joined #ruby-lang
<yorickpeterse> you still need to fix #call though
<yorickpeterse> using `respond` means you can also easily stub it out, otherwise you'd have to stub @response
<maloik> alright that's quite clever, that should help me on my way
<yorickpeterse> man I want to open sauce this TripAdvisor thing already
<yorickpeterse> but fffffffffffhnnngggg potential legal issues
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
Oak has quit [Quit: Later guys... :) (me liking http://hexchat.github.io/ very much)]
tkuchiki has quit [Ping timeout: 268 seconds]
IteratorP has quit [Quit: Connection closed for inactivity]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
bf4 has quit [Ping timeout: 248 seconds]
bf4 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
bondar has joined #ruby-lang
nneko001__ has joined #ruby-lang
esad has joined #ruby-lang
ItSANgo has joined #ruby-lang
bondar has quit [Quit: Leaving]
esad has quit [Client Quit]
headius has joined #ruby-lang
agoy has quit [Ping timeout: 245 seconds]
h_kon has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
benlovell has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
benlovell has quit [Ping timeout: 248 seconds]
scampbell has joined #ruby-lang
fijimunkii has joined #ruby-lang
bungoman has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
Boohbah has quit [Ping timeout: 240 seconds]
yorickpeterse is now known as yorick
<TCMSLP> Can anyone explain why this would fail? 'quick test'.humanize
Boohbah has joined #ruby-lang
yorick has quit [Disconnected by services]
<TCMSLP> irb(main):003:0> 'quick test'.humanize
<TCMSLP> NoMethodError: undefined method `humanize' for "quick test":String
yorick has joined #ruby-lang
yorick is now known as Guest54955
Guest54955 has quit [Client Quit]
<Mon_Ouie> Because you didn't define that method
robbyoconnor has quit [Read error: Operation timed out]
yorickpeterse has joined #ruby-lang
<TCMSLP> But, isn't 'humanize' part of the standard ruby 'core'?
<ljarvis> TCMSLP: that's a method on active support that rails provides
<ljarvis> TCMSLP: no
<ljarvis> or I should say "a method on string that active support provides"
<TCMSLP> weird, I'm sure I used this yesterday without an issue
tomzx_mac has joined #ruby-lang
kek has quit [Remote host closed the connection]
lfox has joined #ruby-lang
<TCMSLP> Ah I did, but I'm assuming the gem I used must have defined this method
lfox has quit [Client Quit]
<TCMSLP> Now I've moved my code into a class I guess I'd need to read up on inheritance
bf4 has quit [Ping timeout: 248 seconds]
lfox has joined #ruby-lang
kek has joined #ruby-lang
sr78ger has quit [Ping timeout: 248 seconds]
ecnalyr has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
cnivolle has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
dmitrykorotkov has quit [Ping timeout: 245 seconds]
dmitrykorotkov has joined #ruby-lang
panpainter has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
goatish_mound is now known as rsl
momomomomo has quit [Quit: momomomomo]
jiuweigui has joined #ruby-lang
kurko_ has joined #ruby-lang
jithu has joined #ruby-lang
ecnalyr has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
ldnunes has quit [Quit: Leaving]
ldnunes has joined #ruby-lang
banisterfiend has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
rsl has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
rsl has quit [Client Quit]
rsl has joined #ruby-lang
wallerdev has joined #ruby-lang
enebo has joined #ruby-lang
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
__butch__ has joined #ruby-lang
kirin` has quit [Ping timeout: 240 seconds]
kirin` has joined #ruby-lang
mannyt has joined #ruby-lang
jinslee has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
bf4 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jvrmaia has joined #ruby-lang
Aerlinger has quit [Remote host closed the connection]
hashkey has joined #ruby-lang
charliesome has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 264 seconds]
charliesome has quit [Ping timeout: 264 seconds]
mayday_jay has joined #ruby-lang
jinslee has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby-lang
tanema has joined #ruby-lang
ScaredWee has joined #ruby-lang
ScaredWee has left #ruby-lang [#ruby-lang]
weems has joined #ruby-lang
nathanstitt has joined #ruby-lang
Kabaka has joined #ruby-lang
pglombardo has joined #ruby-lang
ta_ has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
bf4 has quit [Ping timeout: 248 seconds]
mayday_jay has quit [Quit: c ya!]
io_syl has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
heftig has quit [Quit: Quitting]
momomomomo has quit [Quit: momomomomo]
momomomomo has joined #ruby-lang
mistym has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
Tearan has joined #ruby-lang
pglombardo has quit [Ping timeout: 248 seconds]
deception has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
hogeo has quit [Ping timeout: 248 seconds]
momomomomo has quit [Quit: momomomomo]
<micalexander> im tryna get the contents of a page with "source = Net::HTTP.get('url, '/')". The page is actually a text file. However I keep getting an error: getaddrinfo: nodename nor servname provided, or not known (SocketError). Any ideas?
<micalexander> I should probably add that it is a subdomain url as well
<micalexander> nevermind I got it
<micalexander> thanks tho
io_syl has quit []
kenta_ has joined #ruby-lang
deception has quit [Quit: Goodbye]
<TCMSLP> micalexander: Everytime I post a question here I find the answer myself 10 seconds later.
<TCMSLP> micalexander: I can be stuck for days, resist asking, then as soon as I do eventually ask - I find the answer myself shortly after.
<micalexander> TCMSLP: haha. I tend to have that problem as well
benlovell has joined #ruby-lang
tubbo has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby-lang
tubbo has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
tubbo has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 245 seconds]
micalexander has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
micalexander has joined #ruby-lang
gr33n7007h has joined #ruby-lang
micalexander has quit [Ping timeout: 265 seconds]
caral has joined #ruby-lang
caral has quit [Client Quit]
noel_ has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
mmorga has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
rippa has joined #ruby-lang
caral has joined #ruby-lang
zmike123 has joined #ruby-lang
ta has joined #ruby-lang
<tbuehlmann> TCMSLP, rubber ducking
earthquake has quit [Quit: earthquake]
hhatch has quit [Ping timeout: 252 seconds]
caral has left #ruby-lang [#ruby-lang]
earthquake has joined #ruby-lang
jxie has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
momomomomo has joined #ruby-lang
apeiros has joined #ruby-lang
caral_ has joined #ruby-lang
caral_ has left #ruby-lang [#ruby-lang]
mbj has joined #ruby-lang
<yorickpeterse> man, I haven't written something in a long time that will probably make people go both "oh this is pretty cool" and "doesn't X already do this?" in a while
<yorickpeterse> best of all, I can probably open sauce this once it's done
heftig has joined #ruby-lang
hogeo has joined #ruby-lang
zmike123 has quit [Quit: ~]
<gnufied> so, just released this folks, http://invoker.codemancers.com/
<gnufied> if you find it useful, file issues
<yorickpeterse> So this is some kind of mix between Foreman and Pow?
<gnufied> yeah,
<yorickpeterse> hm, looks neat
<gnufied> I know you would want Linux support yorick, so I am on it.
<gnufied> it works on Linux pretty much except .dev TLD
jsullivandigs has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
<heftig> gnufied: what use remains on linux?
<gnufied> I.. can't parse that question, heftig
charliesome has joined #ruby-lang
<heftig> gnufied: from what i read on the page its main use seems to be providing those local domains?
<heftig> and that seems only to work on osx
tubbo has joined #ruby-lang
<gnufied> well well. the process supervisor works on Linux.
<yorickpeterse> gnufied: actually I'm not sure if I'd use it, I don't use domain names for local apps
<gnufied> heftig: so, if you have a project that depends on 5 things then you can manage them from one place.
<yorickpeterse> Most of the stuff we have here is also pretty self contained
<yorickpeterse> there are only 2 exceptions to it but both are pretty managable
micalexander has joined #ruby-lang
<heftig> gnufied: hm, does it provide anything that systemd doesn't?
<gnufied> yorickpeterse: just removed your name from my waiting list. :-)
tbuehlmann has quit [Remote host closed the connection]
<yorickpeterse> haha
<yorickpeterse> That doesn't mean you shouldn't work on Linux support though
<yorickpeterse> which begs the question, what makes it OS X specific?
<yorickpeterse> besides the tld thing
<gnufied> it is not, besdies TLD thing
<gnufied> besides*
<heftig> to hook into glibc's name resolving on linux you need to write a nss library
kek has quit [Remote host closed the connection]
<gnufied> and tld thing is bit of work because, Linux has fragmanted support for resolv.conf
<yorickpeterse> `curl get.pow.cx/uninstall.sh | sh ` haha, Pow seriously uses an uninstall script from the web?
<yorickpeterse> lawl
<yorickpeterse> what could go wrong
<yorickpeterse> not even HTTPS
kek has joined #ruby-lang
<gnufied> yep, sadly.
<yorickpeterse> gnufied: eh no, it's super easy
<gnufied> yorickpeterse: tell me then, I haven't looked too closely yet.
<yorickpeterse> you just echo stuff into /etc/hosts, unless you don't want to require sudo
<gnufied> :-)
<yorickpeterse> and if you want a custom DNS you echo stuff into...
<heftig> you don't
<yorickpeterse> in /etc/resolv.head.conf I believe
<gnufied> so echo stuff will not work for, for example *.rails.dev
<heftig> yorickpeterse: no, that does nothing
<heftig> only resolv.conf is read
<yorickpeterse> heftig: neg, depends
<yorickpeterse> resolv.conf is typically auto-generated so there's like a head/tail file that you can modify yourself
<heftig> yorickpeterse: there might be a tool that rewrites resolv.conf using other files
<yorickpeterse> it's specifically designed to not have it wiped out by tools such as NetworkManager
<yorickpeterse> it *might* be specific to dhcp-whatever-the-names-was
<yorickpeterse> dhcpcd I believe
<heftig> however, resolv.conf also is specific to the DNS
richardburton has joined #ruby-lang
<heftig> of course you can provide your own names by making a DNS proxy, but that seems circuitous
<gnufied> heftig: so to answer your previous question. it is not meant to compete with systemd or upstart etc. it is for development environment. lets say your app A, depends on app B, before you can start developing locally. you are not going to add them to systemd prolly.
tubbo has quit [Ping timeout: 248 seconds]
<gnufied> using invoker you can start them in one place, view their logs, use pry-remote etc
cored has quit [Ping timeout: 260 seconds]
kek has quit [Ping timeout: 245 seconds]
<yorickpeterse> "Why not use Foreman" - standard question you'll get
kgrz has joined #ruby-lang
<yorickpeterse> (I partially know the answer :))
<gnufied> yeah, I have pimped this thing here hard enough for that. haven't I?
<gnufied> :-)
<heftig> you can only hook into name resolution system-wide on linux, that has security concerns
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<heftig> (at least not without injecting libraries into your browser, and whatnot)
tubbo has joined #ruby-lang
diegoviola has joined #ruby-lang
<heftig> i guess you could have invoker provide a unix socket in a user-specific directory, and the library tries to connect to it
<heftig> also, since the library is loaded via dlopen, you should avoid using anything but libc
<gnufied> heftig: if you can leave your ideas here, https://github.com/code-mancers/invoker/issues/22 much appreicated
VTLob has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
kingman has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
Johz has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
<skade> gnufied: left you a message there, did some research for vagrant-dns on this
<gnufied> skade: excellent, thanks
<skade> one of the biggest problems is actually that linux only does DNS on port 53 and you cannot inject additional DNS servers running on higher ports
<skade> that document is actually my answer to all the "WHY U NO LINUX"-rants I got
diegoviola has quit [Ping timeout: 248 seconds]
robbyoconnor has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
f3lix has joined #ruby-lang
Xzyx987X has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
alekst has joined #ruby-lang
mistym has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
<heftig> gnufied: nss-myhostname concerns itself with responding to name requests about "localhost" or the current system hostname
<heftig> gnufied: you should be able to adapt that, assuming you're fine with the LGPL license
ruby-lang180 has joined #ruby-lang
schaerli has quit [Ping timeout: 264 seconds]
manoj9788 has joined #ruby-lang
<manoj9788> hi all
<manoj9788> can some one help me, with debugging an issue.
imperator has joined #ruby-lang
<gnufied> heftig: cool.
<gnufied> manoj9788: I think those errors are pretty self explanatory
<manoj9788> I just did bundle install --path=vendor/bundle
<manoj9788> for an spec project and ended up with the log as in the pastie
<gnufied> right
<mistym> mannyt: 2.13.1, which is the version it's trying to install, doesn't work with recent Imagemagick versions
<manoj9788> gnufied: i am very new to Ruby and just trying to setup an Rspec project that i downloaded.
tylersmith has quit [Remote host closed the connection]
<mistym> Er, manoj9788
tylersmith has joined #ruby-lang
<manoj9788> 2.13.1
<manoj9788> An error occurred while installing rmagick (2.13.1), and Bundler cannot
<manoj9788> continue.
<manoj9788> Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.
io_syl has joined #ruby-lang
symm- has joined #ruby-lang
<manoj9788> so am just doing this right now, sudo gem install rmagick -v 2.13.1
<mistym> manoj9788: Yeah, 2.13.1 and older don't work with recent Imagemagick releases. 2.13.1 was released in 2010, but there's a 2.13.2 that fixes compatibility with newer versions
elia has quit [Quit: Computer has gone to sleep.]
<manoj9788> ok so you mean I have to install rmagick of 2.13.2 ?
<mistym> Yes, that's right.
tylersmith has quit [Ping timeout: 260 seconds]
f3lix has quit [Ping timeout: 268 seconds]
tkuchiki has quit [Remote host closed the connection]
alekst has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby-lang
skade has quit [Ping timeout: 248 seconds]
cnivolle has quit [Remote host closed the connection]
dvorak_ has quit [Ping timeout: 248 seconds]
tkuchiki has quit [Ping timeout: 248 seconds]
dvorak has joined #ruby-lang
[spoiler] has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
benlovell has joined #ruby-lang
iliketurtles has joined #ruby-lang
brianpWins has joined #ruby-lang
enebo has quit [Ping timeout: 264 seconds]
<manoj9788> mistym: Awesome.. thanks for all your help :) It worked and am now successfully able to bundle them :)
benlovell has quit [Ping timeout: 240 seconds]
<manoj9788> thanks to gnufied as well
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
banisterfiend has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
Coincidental has joined #ruby-lang
__butch__ has joined #ruby-lang
ta has quit [Remote host closed the connection]
kireevco has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
dennus has quit [Ping timeout: 240 seconds]
alekst has joined #ruby-lang
<Veejay> Is there a solution to the case where a method takes a block and a condition that varies (that I guess I would have to pass as a block as well)? (sorry if I just said this, it looked like I wasn't able to send to channel)
ecnalyr has joined #ruby-lang
<apeiros> Veejay: came over only once
<apeiros> Veejay: also I don't understand it :)
saarinen has joined #ruby-lang
<[spoiler]> Veejay, I have no idea what you asked, though
<[spoiler]> do you mean a method that takes an optional parameter and a block?
ruby-lang180 has quit [Quit: Page closed]
<Veejay> Well, methods that take blocks, that's easy. Now I need to yield to that block at some point in the method based on a condition. And to reuse the method, I need that condition itself to be configurable (so as a block I guess)
<[spoiler]> or one that takes a block as an optional parameter?
<Veejay> Maybe I can come up with a gist
mayday_jay has joined #ruby-lang
<mistym> Veejay: Make the condition a positional or keyword argument? def meth(yield: true, &block)
mayday_jay has left #ruby-lang [#ruby-lang]
<Veejay> I guess the gist is self-explanatory, you'll see awful redundancy. I'd like to be able to reuse the process_all_in method and pass the condition to it somehow to reuse it
saarinen has quit [Quit: saarinen]
schaerli has joined #ruby-lang
<[spoiler]> Veejay, so, you want to determine what gets executed based on an argument? I can't figure out what the problem is
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
Tearan has joined #ruby-lang
<Veejay> [spoiler]: It's just that they all follow the same pattern. if Hash; if SOME_CONDITION; do_something; else; recursive_call; if Array ....
saarinen has joined #ruby-lang
<Veejay> I'd like that SOME_CONDITION to be an argument to process_all_in so that the two other methods are just calling process_all_in with the condition and the block to call
<[spoiler]> Veejay, Something like this? https://eval.in/53424
MrZYX|off is now known as MrZYX
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
<[spoiler]> Ooh, wait... Do you want to cache the block?
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
<Veejay> Not really. The block itself is not optional. It's just that the condition of the test in the Hash part of the methods itself needs to be a block so that I can define it upon calling process_all_in
<Veejay> But that'd be like passing two blocks and I've never seen something like that
hogeo has quit [Ping timeout: 268 seconds]
<Veejay> [spoiler]: My explanation sucks. I'll be back later with a better gist.
kgrz_ has joined #ruby-lang
cnivolle has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
kgrz_ has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
kgrz__ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
gr33n7007h has quit [Read error: Connection reset by peer]
kgrz__ has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 245 seconds]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
headius has quit [Quit: headius]
cnivolle_ has joined #ruby-lang
kgrz_ has joined #ruby-lang
cnivolle has quit [Ping timeout: 252 seconds]
io_syl has quit [Ping timeout: 252 seconds]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz__ has joined #ruby-lang
headius has joined #ruby-lang
kgrz__ has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
symm- has quit [Quit: Leaving...]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
<[spoiler]> Veejay, Oh, okay. Well, I'll write you a way how you can "pass two blocks" (not sure if that's what I'd call it).
kgrz_ has joined #ruby-lang
kgrz has quit [Ping timeout: 265 seconds]
<apeiros> Veejay: you can always pass procs/lambdas
io_syl has joined #ruby-lang
<apeiros> foo ->{ block1 }, -> { block2 }, …
kgrz has joined #ruby-lang
<apeiros> Veejay: IMO your methods are too complex and you should decompose them.
symm- has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
<banisterfiend> apeiros sup
<apeiros> banisterfiend: not much
<apeiros> tired
<apeiros> u?
kgrz has quit [Read error: Connection reset by peer]
<apeiros> got your rails up to speed?
<banisterfiend> apeiros interviewing already, had 3 already waiting for the 4th, but he's 36 mins late
<apeiros> how's it going?
kgrz has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
<Veejay> apeiros: Decompose them? How so?
JohnBat26 has joined #ruby-lang
<Veejay> Have a method for the Hash part and the Array part or something?
Coincidental has joined #ruby-lang
<[spoiler]> Veejay, put them in acid
<Veejay> heh
<apeiros> Veejay: that or let the user normalize the input
<banisterfiend> apeiros pretty well, the product manager one was the most difficult
kgrz_ has joined #ruby-lang
<apeiros> it's not that hard to do foo(hash[key]) instead of foo(hash, key)
Coincidental has quit [Read error: Connection reset by peer]
<banisterfiend> apeiros basically "we want to implement X" how would u do it (but talking at a high level, not in terms of code)
Coincidental has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
mbj has quit [Quit: Lost terminal]
kgrz__ has joined #ruby-lang
<apeiros> Veejay: also it's easy to expect e.g. the user to do hash.each_value to provide a proper enumerator
<apeiros> instead of you testing for all possible kinds of input
kgrz__ has quit [Read error: Connection reset by peer]
<apeiros> you're just multiplying pathways. more error prone. harder to maintain. less efficient.
kgrz has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
<Veejay> apeiros: The input looks like this for some context https://gist.github.com/Veejay/9cc06198245d898ad995
<apeiros> Veejay: alternatively provide a proper container which abstracts hash/array away. I don't know what you're trying to solve, so I can only give vague ideas.
kgrz has joined #ruby-lang
<apeiros> Veejay: that input produced by other code of yours?
<Veejay> That's basically JSON sent from the client
<Veejay> Defining the layout and content of a web page
<apeiros> I thought that's what they invented html + css for…
<apeiros> which can - by pure coincidence - also be transmitted via json :-)
retro|cz has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
<Veejay> That comes from a page builder in our application, so it's not just sending the HTML. We're reconstructing the HTML server side by injecting the contents of the different widgets inserted in the page.
<apeiros> I wonder what that syntax is, though
kgrz_ has joined #ruby-lang
hahuang61 has joined #ruby-lang
<apeiros> `[[0] {` - not valid ruby and not valid json
<Veejay> That's awesome_print I guess
<Veejay> I wanted to format the hash for you to read
<apeiros> -.-
<apeiros> pp
Tearan_ has joined #ruby-lang
<apeiros> that produces valid output
<Veejay> Didn't know about pp. Thanks.
<apeiros> require 'pp^
kgrz_ has quit [Read error: Connection reset by peer]
Tearan has quit [Ping timeout: 264 seconds]
Tearan_ is now known as Tearan
<apeiros> part of stdlib. not as nice looking as awesome_print, but more likely valid
<Veejay> apeiros: I've updated the gist accordingly. Sorry about that.
kgrz_ has joined #ruby-lang
kgrz has quit [Ping timeout: 265 seconds]
kgrz has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has quit [Read error: Connection reset by peer]
tsou has quit [Quit: off]
pellenation has joined #ruby-lang
kgrz has joined #ruby-lang
<Veejay> So I don't know if my intention with all this is clearer now. I somehow doubt it heh...
kgrz has quit [Read error: Connection reset by peer]
<apeiros> your doubts are spot on :)
kgrz has joined #ruby-lang
<apeiros> but it seems to me that translating that array/hash datastructure into proper classes would most likely pay off.
kgrz has quit [Read error: Connection reset by peer]
<[spoiler]> Veejay, that's an odd way to represent a website, ngl
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
<Veejay> Well, I guess that with https://gist.github.com/Veejay/772ae1d5c3abc0989f63, I noticed that method 1 and 3 are awfully similar. Usually when I see that, I wonder if I can make something more generic to reuse code.
<apeiros> ngl? not getting laid?
<Veejay> That's the gist of it
<[spoiler]> apeiros, LOL! "not gonna lie"
<apeiros> oh
<apeiros> not sure which is worse
<[spoiler]> apeiros, well, yours is not far from the truth either :(
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
lfox has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
pr0ton has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
richardburton has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
richardburton has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
cnivolle_ has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
schaerli has quit [Remote host closed the connection]
kgrz has quit [Read error: Connection reset by peer]
schaerli has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
pellenation has quit [Quit: Leaving.]
schaerli has quit [Ping timeout: 268 seconds]
apeiros_ has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
kgrz_ has joined #ruby-lang
apeiros has quit [Ping timeout: 264 seconds]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
skade has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
tubbo has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
cnivolle has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
<maloik> Starting work on my github hook server to deploy jekyll apps using user-defined tasks again in a few minutes
kgrz has joined #ruby-lang
<maloik> anyone feel like pairing on the tests (very limited) and the user-defined tasks (meta-programmerish stuff)
pellenation has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
kgrz_ has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
enebo has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
Elinos has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
kgrz_ has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
a1ph4g33k has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
kgrz_ has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
fragamus has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Ping timeout: 248 seconds]
stamina has quit [Ping timeout: 264 seconds]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> sure
weems has quit [Changing host]
weems has joined #ruby-lang
<yorickpeterse> I'm making some half-assed dinner though so the response timings might be a bit slow
hahuang65 has joined #ruby-lang
hahuang61 has quit [Ping timeout: 248 seconds]
lfox has quit [Quit: ZZZzzz…]
ta has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
bean__ has joined #ruby-lang
kek has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
lfox has joined #ruby-lang
vimetus has joined #ruby-lang
vimetus has quit [Client Quit]
richardburton has joined #ruby-lang
vimetus has joined #ruby-lang
heftig has quit [Ping timeout: 248 seconds]
momomomomo has quit [Quit: momomomomo]
flip_digits has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
<zzak> maloik: when are pics going up?
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
<maloik> zzak: they are! just didnt tweet about it
<zzak> since i missed most of the conf, i need to catch up D:
diegoviola has joined #ruby-lang
<maloik> pastebuffer ftw
<zzak> woo
<maloik> looking bad I'm a bit sad for not taking more pics at any of the meetups
<maloik> looking back*
<maloik> or during the breaks for that matter
<maloik> and for the fact that I'm not a very good photographer, but hey..
arBmind1 has quit [Quit: Leaving.]
<zzak> you did great!
stevepsharpe has joined #ruby-lang
benlovell has joined #ruby-lang
<maloik> yorickpeterse: can do it later or another time too :)
<maloik> I think it's such a limited scope and I only have a vague idea of how to do this so it would be a lot better to have someone hold my hand :D
<maloik> it'd be done fairly quickly anyway
<imperator> arrrrcamp? intawesting
zmike123 has joined #ruby-lang
zmike123 has quit [Read error: Connection reset by peer]
<maloik> sure was!
ruurd has joined #ruby-lang
heftig has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rippa has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
benlovell has quit [Ping timeout: 252 seconds]
<yorickpeterse> maloik: what you need to do is write code, scrap it, write it again, scrap it again, repeat
<yorickpeterse> and get a rubber duck
<ruurd> quack
<yorickpeterse> either way, I'll probs be available properly in about 30 mins
<maloik> sounds good
<maloik> what do you use for pairing ?
<cout> I use a knife for paring
wallerdev has quit [Quit: wallerdev]
saarinen has quit [Quit: saarinen]
kenta_ has quit [Ping timeout: 252 seconds]
stamina has joined #ruby-lang
<yorickpeterse> maloik: IRC
<yorickpeterse> maloik: I'm more a fan of people saying "I want to do X but I'm stuck due to Y" and then help them with that than looking at a screen and calling people out on every little mistake they might make
io_syl has quit []
pellenation has quit [Quit: Leaving.]
<maloik> you mean you prefer not to pair in the traditional sense, as in screensharing etc?
airdisa has joined #ruby-lang
<yorickpeterse> sitting next to each other is fine, I just don't like screen sharing
<yorickpeterse> Skype is fine too btw
<maloik> I dont mind either, pushing is fast enough anyway
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<maloik> I'll start preparing some stuff then
scampbell has quit [Remote host closed the connection]
MaddinXx has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
[spoiler] has quit [Quit: Leaving]
<yorickpeterse> don't really need code, I just need to know what issues you're facing :)
jaimef has quit [Excess Flood]
ruurd has joined #ruby-lang
kenta_ has joined #ruby-lang
pglombardo has joined #ruby-lang
heftig has quit [Quit: Quitting]
jaimef has joined #ruby-lang
kek has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
pr0ton has quit [Ping timeout: 240 seconds]
airdisa has quit [Ping timeout: 260 seconds]
benanne has joined #ruby-lang
<Rylee> Quick question, would anyone know how to make a graph scale logarithmically instead of linearly with Gruff?
bryanl has joined #ruby-lang
ecnalyr has joined #ruby-lang
simoz has joined #ruby-lang
Johz has quit [Quit: Leaving]
<yorickpeterse> Rylee: probably a dumb suggestion, but maybe scale the values themselves logarithmically?
<Rylee> meh, i guess i could.
<Rylee> then i'd have to exponentiateizeimify the label.s
banisterfiend has joined #ruby-lang
<maloik> yorickpeterse: wanna help me out for a little while in pm ? dont have much time left but that's ok for me
<maloik> any progress is still progress
<yorickpeterse> sure, shoot
dvorak has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby-lang
arBmind has joined #ruby-lang
dvorak has joined #ruby-lang
richardburton has joined #ruby-lang
richardburton has quit [Ping timeout: 252 seconds]
mixandgo has joined #ruby-lang
<mixandgo> hello, is there a way to step thru a file (with the debugger) without drilling down into methods and other files ?
vimetus has quit [Quit: Konversation terminated!]
tubbo has quit [Ping timeout: 248 seconds]
17WAAASUX has joined #ruby-lang
kenta_ has quit [Read error: Connection reset by peer]
kenta_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tubbo has joined #ruby-lang
saarinen has joined #ruby-lang
nathanstitt has joined #ruby-lang
pr0ton has joined #ruby-lang
mistym is now known as mistym_lunch
CoreData has joined #ruby-lang
io_syl has joined #ruby-lang
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
<darix> mixandgo: binding.pry as keyword
<darix> for google
<mixandgo> darix: that's not a step debugger
<darix> mixandgo: true. but for inspecting your program it is the best tool there is
<MrZYX> seeing_is_believing might be useful
<zzak> what about "debugger"?
<mixandgo> darix: you're not reading my question :)
fijimunk1i has joined #ruby-lang
Johz has joined #ruby-lang
<darix> mixandgo: when i have problems like yours i just run the code i want to debug manually with copy paste in doubt
<mixandgo> darix, you should try "debugger" it's awesome
<darix> mixandgo: there might even be something that integrates the 2
<darix> anyway game time
<mixandgo> darix, also in pry you can do play -l <line number> instead of copy/paste
<MrZYX> yup, there's pry-debugger which provides step etc
<zzak> pry is not a debugger
Elinos has quit [Ping timeout: 248 seconds]
<zzak> Just Use Debugger™
ta has joined #ruby-lang
<mixandgo> does pry-debugger have a way to not drill down into files/method calss ?
<mixandgo> *calls
fijimunkii has quit [Ping timeout: 264 seconds]
<zzak> well pry gives you context
dvorak has quit [Ping timeout: 248 seconds]
<zzak> so probably
<MrZYX> pry-stack_explorer even enables you to go up in the current callstack
<mixandgo> I don't see any options for doing that in pry-debugger
<mixandgo> MrZYX: still, not what I'm asking
<zzak> mixandgo: at this point we've given you some direction, its up to you to fill in the gaps <3
dvorak has joined #ruby-lang
<mixandgo> :) I already know about pry-* they don't offer the feature I'm looking for
alexju has joined #ruby-lang
<MrZYX> did you try next instead of step?
<mixandgo> MrZYX: yes, that's the one that goes into other files...
<mixandgo> step it's expected to do that, but I'm not sure why next does the same
<MrZYX> dunno, I guess I just never had the need for that
bf4 has joined #ruby-lang
<MrZYX> so why do you need to step through each line?
<mixandgo> I want to see where the code blows up
<MrZYX> blows up as in throws an exception?
<mixandgo> but only my code... don't care about any other methods it calls
<mixandgo> yeah
<MrZYX> do you know pry-rescue?
ohsix has quit [Ping timeout: 256 seconds]
<MrZYX> really powerful together with -stack_explorer
<MrZYX> you just go up till you reach your code
skade has joined #ruby-lang
<mixandgo> sure, but that's one use case
<mixandgo> there are many times where I want to step thru my code
pr0ton has quit [Quit: pr0ton]
<mixandgo> debugger probides that, with just this quirk
charliesome has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
<mixandgo> one solution would be to break at the next line and hit c
<mixandgo> but that's too much
kgrz has joined #ruby-lang
ledestin has joined #ruby-lang
ta has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
kgrz has quit [Ping timeout: 248 seconds]
hashkey has quit [Quit: Leaving]
bean__ has quit [Quit: Computer has gone to sleep.]
ruurd has quit [Quit: Leaving...]
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
manoj9788 has quit [Quit: manoj9788]
pr0ton has joined #ruby-lang
pkrnj has joined #ruby-lang
enebo has quit [Quit: enebo]
pr0ton has quit [Client Quit]
manoj9788 has joined #ruby-lang
mschneider_dev has joined #ruby-lang
ledestin has quit [Quit: ledestin]
fosky_ has joined #ruby-lang
<mixandgo> solution: use bydebug
<mixandgo> *byebug
adambeynon has joined #ruby-lang
richardburton has joined #ruby-lang
CoreData has quit [Ping timeout: 248 seconds]
pr0ton has joined #ruby-lang
benlovell has joined #ruby-lang
MrZYX is now known as MrZYX|off
richardburton has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
mixandgo has quit [Quit: mixandgo]
CoreData has joined #ruby-lang
mistym_lunch is now known as mistym
benlovell has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
mschneider_dev has quit [Remote host closed the connection]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has joined #ruby-lang
<zenspider> step through a file w/o going into methods? what does that even mean?
enebo has joined #ruby-lang
<workmad3> zenspider: I'd guess at it meaning stepping over, rather than into, methods
bf4 has quit [Ping timeout: 240 seconds]
breakingthings has quit []
snarfmason has joined #ruby-lang
kgrz has quit [Ping timeout: 248 seconds]
simoz has quit [Ping timeout: 248 seconds]
<zenspider> "stepping through a file" is meaningless imo... unless he wants to step through the very first evaluation of every top level thing... which is still pretty meaningless
benanne has quit [Quit: kbai]
Andrevan has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
arBmind1 has quit [Quit: Leaving.]
ldnunes has quit [Quit: Leaving]
asym has joined #ruby-lang
kenta_ has quit [Ping timeout: 265 seconds]
intellitech has quit [Ping timeout: 248 seconds]
kenta_ has joined #ruby-lang
bean__ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
NemesisD has joined #ruby-lang
kenta_ has quit [Ping timeout: 245 seconds]
kenta_ has joined #ruby-lang
gix has quit [Quit: Client exiting]
cored has quit [Ping timeout: 252 seconds]
<NemesisD> i've got an interesting problem. i've got a sequence of what are effectively laws, they basically have an enacted date. the first one is retroactive to the beginning of time, the last applies into the future
<NemesisD> i need to combine them into a data structure so i can give it a date and it can return the law that applies
gix has joined #ruby-lang
<NemesisD> best thing i can think of is an array of those laws, sorted by enacted date always. trying to think if there's something in ruby for contiguous ranges or if i should just walk through the array till i find a date higher, step one back and that's the law
<zenspider> are there any gaps ever?
<zenspider> or overlaps?
<NemesisD> nope
onewheelskyward has quit [Remote host closed the connection]
<zenspider> then a sorted array seems sufficient
<NemesisD> cool. sounds like it should be pretty simple
<zzak> sounds like an active record problem
<NemesisD> ruby doesn't have any arrays that auto-sort do they? i know there's sorted set but unless i can control what it uses for equality that's not going to fly
<zenspider> should be trivial. laws.find_all { ... }.last
<zenspider> zzak: active record? why??
<NemesisD> def not going to use AR for this
onewheelskyward has joined #ruby-lang
<zenspider> NemesisD: not that I know of... but sort_by { ... } should be easy enough
<NemesisD> this is something that can be established at boot time as an in-memory structure
ecnalyr has quit [Remote host closed the connection]
<NemesisD> zenspider: cool thanks
<zzak> im just trolling
<NemesisD> oh you!
Squarepy has joined #ruby-lang
<zenspider> ruby 2.0 (? maybe 1.9?) has Array.bsearch ... don't bother if the array isn't huge
<zzak> i mean you _could_ use ar..
Senjai has quit [Ping timeout: 248 seconds]
<zzak> pizza time!
<NemesisD> i'm not really concerned about lookup perf, this array will probably not get > 10 elements in the next few years
<NemesisD> i was more curious about a data structure that guaranteed all elements were sorted without having to do anything
<NemesisD> but i guess that's what unit tests are for
ingof has joined #ruby-lang
mdedetrich has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
17WAAASUX has quit [Quit: Konversation terminated!]
sevvie has joined #ruby-lang
ledestin has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CoreData has quit [Ping timeout: 248 seconds]
__butch__ has quit [Quit: Leaving.]
ohsix has joined #ruby-lang
<zenspider> NemesisD: if you're changing the array once every year or so, you don't need an auto-sorting data structure.
<zenspider> naptime
mmorga_ has joined #ruby-lang
ta has joined #ruby-lang
mmorga_ has quit [Read error: Connection reset by peer]
mmorga_ has joined #ruby-lang
heftig has joined #ruby-lang
tanema has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
JoshuaPaling has joined #ruby-lang
richardburton has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
richardburton has quit [Ping timeout: 248 seconds]
kek has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
relix has joined #ruby-lang
kgrz has joined #ruby-lang
bean__ has quit [Quit: Textual IRC Client: www.textualapp.com]
jvrmaia has quit [Quit: Leaving]
alexju_ has joined #ruby-lang
relix has quit [Client Quit]
alekst has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
relix has joined #ruby-lang
alexju has quit [Ping timeout: 245 seconds]
kgrz has quit [Ping timeout: 264 seconds]
alexju_ has quit [Ping timeout: 248 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #ruby-lang
imperator has left #ruby-lang ["Leaving"]
dmitrykorotkov has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
charliesome has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
manoj9788 has quit [Quit: manoj9788]
mmorga_ has quit [Remote host closed the connection]
bungoman has quit [Ping timeout: 248 seconds]
xrq` is now known as xrq
postmodern has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
malev has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
robbyoconnor has quit [Ping timeout: 264 seconds]
tubbo has quit [Ping timeout: 248 seconds]
richardburton has joined #ruby-lang
panpainter has quit [Quit: panpainter]
ingof has quit [Remote host closed the connection]
fijimunk1i has quit [Ping timeout: 264 seconds]
richardburton has quit [Ping timeout: 248 seconds]
fijimunkii has joined #ruby-lang
VTLob has quit [Quit: VTLob]
Tearan has joined #ruby-lang
panpainter has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
Tearan has quit [Client Quit]
kgrz has joined #ruby-lang
pglombardo has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 248 seconds]
noel_ has quit [Quit: Leaving]
Guest41306 has joined #ruby-lang
CoreData has joined #ruby-lang
mdedetrich has joined #ruby-lang
banisterfiend has quit [Ping timeout: 248 seconds]
retro|cz has quit [Ping timeout: 265 seconds]
mannyt has quit [Ping timeout: 245 seconds]
kitak has joined #ruby-lang
pkrnj has joined #ruby-lang
richardburton has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby-lang
tomzx_mac has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
retro|cz has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
CoreData has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
NemesisD has quit [Ping timeout: 268 seconds]
panpainter has quit [Quit: panpainter]
CoreData has joined #ruby-lang
GaelanAintAround is now known as Gaelan
ta_ has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
Gaelan is now known as GaelanAintAround
tylersmith has joined #ruby-lang
stamina has quit [Ping timeout: 264 seconds]
ryotarai has joined #ruby-lang
kek has quit [Remote host closed the connection]
ryotarai has quit [Quit: ZNC - http://znc.in]
ryotarai has joined #ruby-lang
ryotarai has quit [Client Quit]
tylersmith has quit [Read error: Connection reset by peer]
ryotarai has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
tylersmith has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang