michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lacrosse_ has joined #ruby-lang
zenojis has joined #ruby-lang
jlpeters has joined #ruby-lang
samuelkadolph has joined #ruby-lang
avdi has joined #ruby-lang
manveru has joined #ruby-lang
sferik has joined #ruby-lang
agrinb_ has joined #ruby-lang
PaulePan1er has joined #ruby-lang
mje113_ has quit [Ping timeout: 240 seconds]
<pipework>
Demmy: Hello there.
shtirlic has quit [Ping timeout: 240 seconds]
go|dfish has quit [Ping timeout: 240 seconds]
unsymbol has joined #ruby-lang
unsymbol has quit [Changing host]
unsymbol has joined #ruby-lang
antonishen_ has joined #ruby-lang
mje113_ has joined #ruby-lang
hhatch has quit [Remote host closed the connection]
gix has quit [Ping timeout: 240 seconds]
antonishen has quit [Ping timeout: 240 seconds]
|jemc| has quit [Ping timeout: 240 seconds]
PaulePanter has quit [Ping timeout: 240 seconds]
drakkhen has quit [Ping timeout: 240 seconds]
alexju has joined #ruby-lang
antonishen_ is now known as antonishen
flori has quit [Ping timeout: 240 seconds]
sonne has quit [Ping timeout: 240 seconds]
khaase has quit [Ping timeout: 240 seconds]
Gate has quit [Ping timeout: 240 seconds]
robmiller has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby-lang
drakkhen has joined #ruby-lang
zenspider has quit [Ping timeout: 240 seconds]
Demmy_ has joined #ruby-lang
centrx has joined #ruby-lang
zenspider has joined #ruby-lang
centrx has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
antonishen has quit [Client Quit]
hahuang61 has joined #ruby-lang
antonishen has joined #ruby-lang
dingus_k_ has joined #ruby-lang
apeiros_ has joined #ruby-lang
gix has joined #ruby-lang
Coincide_ has joined #ruby-lang
Onixs has joined #ruby-lang
caral_ has joined #ruby-lang
agrinb_ has quit [Ping timeout: 264 seconds]
tylersmi_ has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
agarie_ has joined #ruby-lang
blowmage` has joined #ruby-lang
Jeticus has joined #ruby-lang
DefV_ has joined #ruby-lang
tenderlo_ has joined #ruby-lang
sonne has joined #ruby-lang
sonne has quit [Changing host]
sonne has joined #ruby-lang
jaimef has joined #ruby-lang
DEac-_ has joined #ruby-lang
seanlinsley has joined #ruby-lang
jtw_ has joined #ruby-lang
flori has joined #ruby-lang
Honsby has quit []
mistym has quit [Remote host closed the connection]
ozzloy has quit [*.net *.split]
agrinb has quit [*.net *.split]
dik_dak has quit [*.net *.split]
DefV has quit [*.net *.split]
dingus_khan has quit [*.net *.split]
blowmage has quit [*.net *.split]
apeiros has quit [*.net *.split]
pico-pete has quit [*.net *.split]
<jaimef>
Random.rand(100)
mistym has joined #ruby-lang
pico-pete has joined #ruby-lang
agarie_ has quit [Remote host closed the connection]
Rickmasta has quit [Excess Flood]
Rickmast- has joined #ruby-lang
DEac- has quit [Write error: Connection reset by peer]
BubonicPestile-1 has quit [Write error: Connection reset by peer]
symm- has quit [Write error: Connection reset by peer]
bougyman has quit [Write error: Connection reset by peer]
Coincidental has quit [Write error: Connection reset by peer]
tkuchiki has joined #ruby-lang
jayne has quit [Read error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
dik_dak has joined #ruby-lang
agarie_ has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Onixs_ has quit [Write error: Connection reset by peer]
jhass is now known as jhass|off
symm- has joined #ruby-lang
ozzloy has joined #ruby-lang
ozzloy has joined #ruby-lang
chris2 has quit [Ping timeout: 240 seconds]
bougyman has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros_ has quit [Read error: Connection reset by peer]
retro|simi has quit [Ping timeout: 264 seconds]
blowmage` is now known as blowmage
jtw_ has quit [Ping timeout: 240 seconds]
Gate has joined #ruby-lang
Gate has quit [Changing host]
Gate has joined #ruby-lang
jtw_ has joined #ruby-lang
centrx has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
centrx is now known as Guest45303
Guest45303 is now known as cntrx
chris2 has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
hahuang65 has quit [Ping timeout: 679 seconds]
Guedes0 has joined #ruby-lang
robmiller has joined #ruby-lang
dik_dak has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
araujo has quit [Excess Flood]
Guedes has quit [Excess Flood]
CaptainJet has quit [Ping timeout: 642 seconds]
jperry has joined #ruby-lang
jtw has quit [Ping timeout: 642 seconds]
caral has quit [Ping timeout: 642 seconds]
crankharder has quit [Ping timeout: 642 seconds]
aarellano has quit [Ping timeout: 642 seconds]
msch has quit [Remote host closed the connection]
caral_ is now known as caral
araujo has joined #ruby-lang
saarinen has quit [Quit: saarinen]
apeiros has quit [Remote host closed the connection]
jayne has joined #ruby-lang
aarellano has joined #ruby-lang
agarie has quit [Ping timeout: 264 seconds]
Demmy has quit [Ping timeout: 264 seconds]
tenderlove has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 264 seconds]
Demmy_ is now known as Demmy
charliesome has joined #ruby-lang
apeiros has joined #ruby-lang
woollyams has joined #ruby-lang
jxie has joined #ruby-lang
lacrosse_ has quit [Changing host]
lacrosse_ has joined #ruby-lang
jlpeters has quit [Changing host]
jlpeters has joined #ruby-lang
avdi has joined #ruby-lang
avdi has quit [Changing host]
manveru has quit [Changing host]
manveru has joined #ruby-lang
mje113_ has quit [Changing host]
mje113_ has joined #ruby-lang
antonishen has quit [Changing host]
antonishen has joined #ruby-lang
bawigga has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
knu has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
tkuchiki has quit [Quit: Leaving...]
sferik has quit [Remote host closed the connection]
sferik has joined #ruby-lang
robmiller has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby-lang
nathanstitt has joined #ruby-lang
robmiller has joined #ruby-lang
kirin` has quit [Ping timeout: 264 seconds]
sdouglas has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
apeiros_ has joined #ruby-lang
tenderlove has joined #ruby-lang
robmiller1 has joined #ruby-lang
cntrx has quit [Quit: All this computer hacking is making me thirsty]
jperry2 has joined #ruby-lang
cntrx has joined #ruby-lang
ledestin has quit [Quit: ledestin]
blowmage` has joined #ruby-lang
seanlinsley_ has joined #ruby-lang
cntrx is now known as centrx
yfeldblum has quit [Remote host closed the connection]
Gate_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
flori_ has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
tenderlo_ has quit [Ping timeout: 240 seconds]
flgr has quit [Ping timeout: 240 seconds]
ddd has quit [Ping timeout: 240 seconds]
robmiller has quit [Ping timeout: 240 seconds]
blowmage has quit [Ping timeout: 240 seconds]
Bosox20051 has quit [Ping timeout: 240 seconds]
seanlinsley has quit [Ping timeout: 240 seconds]
Gate has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Ping timeout: 240 seconds]
flori has quit [Ping timeout: 240 seconds]
Guest44609 has quit [Read error: Connection reset by peer]
sonne has quit [Ping timeout: 240 seconds]
drakkhen has quit [Ping timeout: 240 seconds]
sonne_ has joined #ruby-lang
redgetan has quit [Remote host closed the connection]
flgr has joined #ruby-lang
Bosox20051 has joined #ruby-lang
redgetan has joined #ruby-lang
nathanstitt has joined #ruby-lang
drakkhen has joined #ruby-lang
seanlinsley_ is now known as seanlinsley
knu has quit [Ping timeout: 252 seconds]
hajpoj has joined #ruby-lang
knu has joined #ruby-lang
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby-lang
ddd has joined #ruby-lang
tkuchiki has joined #ruby-lang
dingus_k_ has quit [Remote host closed the connection]
existensil has joined #ruby-lang
priodev has quit [Ping timeout: 265 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
temple3188 has quit [Ping timeout: 240 seconds]
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
bm5k has quit [Quit: bm5k]
fuhgeddaboudit has joined #ruby-lang
vlad_starkov has joined #ruby-lang
khaase has joined #ruby-lang
priodev has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby-lang
hajpoj has quit [Quit: Page closed]
khaase has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
joelroa_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
cored has joined #ruby-lang
Cakey has joined #ruby-lang
Bosox20051 has quit [Quit: Leaving]
lewix has joined #ruby-lang
agrinb has joined #ruby-lang
amsi has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 244 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunsford has joined #ruby-lang
lsegal has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
<bcardarella_>
What does the "no live threads left. Deadlock?" error mean? It is happening in timeout.rb within a resque job that is running a twitter client update. If I do the same thing outside of the resque job it is ok. Not sure how to address
<ohsix>
i don't know resque or even ruby that much, but it probably means no threads can be scheduled, they might all be waiting on a common object, and if they are, it might mean a deadlock
<bcardarella_>
ohsix: this sounds like a fun one to debug :)
<ohsix>
if you can inspect the queue and the wait objects it is easy to start, you may never find out how they ended up that way tho
toretore has quit [Quit: This computer has gone to sleep]
Melpaws has joined #ruby-lang
joelroa has joined #ruby-lang
lunsford has quit [Quit: lunsford]
Melpaws has quit [Ping timeout: 252 seconds]
fuhgeddaboudit has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
amclain has joined #ruby-lang
Barrin6 has joined #ruby-lang
eam_ has joined #ruby-lang
23LAACV38 has joined #ruby-lang
23LAACV38 has quit [Max SendQ exceeded]
eam has quit [Ping timeout: 240 seconds]
dingus_khan has joined #ruby-lang
go|dfish has joined #ruby-lang
hahuang61 has joined #ruby-lang
|jemc| has joined #ruby-lang
Domon_ has joined #ruby-lang
Domon_ is now known as Domon
khaase has joined #ruby-lang
saxy has joined #ruby-lang
sferik has joined #ruby-lang
khaase has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Remote host closed the connection]
joelroa has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
wallerdev has joined #ruby-lang
nathanstitt has joined #ruby-lang
joelroa has quit [Ping timeout: 252 seconds]
neutralangel has joined #ruby-lang
neutralangel has left #ruby-lang [#ruby-lang]
tylersmi_ has quit []
bzalasky has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
cored has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
jperry has quit [Quit: jperry]
jperry2 is now known as jperry
jperry is now known as Guest52182
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
ledestin has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
pipework is now known as pepewerk
elliotec has joined #ruby-lang
bradcliffe has joined #ruby-lang
nathanstitt has joined #ruby-lang
nisstyre has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
robmiller1 has quit [Ping timeout: 240 seconds]
sferik has joined #ruby-lang
vinhbachsy has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
richardjortega has quit [Ping timeout: 264 seconds]
vinhbachsy has quit [Remote host closed the connection]
vinhbachsy has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
akahn has quit [Quit: Connection closed for inactivity]
imajes has joined #ruby-lang
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
khaase has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
khaase has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
karamazov424 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
nisstyre has joined #ruby-lang
<karamazov424>
I'm trying to wrap my head around recursion - I've been looking at an example from the book "Learn to Program" but am having some trouble understanding the code. Can someone help de-mystify this (https://gist.github.com/cnocon/6477308#file-landmass-rb)
knu has quit [Ping timeout: 240 seconds]
dc5ala has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
solars has joined #ruby-lang
ledestin has quit [Read error: Connection reset by peer]
vinhbachsy has joined #ruby-lang
<centrx>
karamazov424, That doesn't seem to have any recursion in it?
<karamazov424>
centrx: Isn't the size = size + continent_size(world, x-1,y-1) an instance of recursion as it's calling itself?
<centrx>
No, there's no depth, it is not a function calling itself
mr-foobar has joined #ruby-lang
<centrx>
It is just setting a variable to a new value
<centrx>
making use of the old value
<centrx>
If continent_size called continent_size, then it would be recursion
<karamazov424>
I mean...the code outputs 23 which is the size of the M section
<karamazov424>
but it is?
<karamazov424>
it calls it eight times inside the method
<centrx>
oh it is formatted poorly
<karamazov424>
ha yeah...
<centrx>
So that doesn't really help
<karamazov424>
I just found the code on github, I can paste it into pastebin with better formatting
<karamazov424>
That's a prettier version of the code
<centrx>
So yeah, that's recursion alright
<karamazov424>
I'm assuming that the part where it returns 0 is what is known as the base? Where the recursion will end?
carraroj has joined #ruby-lang
<centrx>
Yes
<karamazov424>
any idea as to why he has world[y][x] instead of world [x][y]?
<centrx>
y must be the row, and x must be the column
<centrx>
It probably doesn't matter as long as it is consistent, because it is a square matrix
riffraff has joined #ruby-lang
<karamazov424>
Makes sense - I don't think I understand how size is actually incrementing if it get set to size = 1 every time
<karamazov424>
Is it because the recursion will keep doing size += 1 until it returns 0?
|jemc| has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
<centrx>
Each child in the recursion is gathering up the sizes from its own children, and then the ultimate parent has the full size
<karamazov424>
I think recursion blows my mind because the actual computing doesn't seem to happen until the base is reached
<centrx>
Internally, the computer builds up a stack of function calls, and then processes them one by one
<karamazov424>
Is this an accepted solution or are there faster alternatives?
<centrx>
Presumably there are faster alternatives
<centrx>
Recursion is usually the most concise, cleanly written solution, but it is not the fastest
sdouglas has quit [Ping timeout: 244 seconds]
anna_ has joined #ruby-lang
<centrx>
Recursion is a good representation of a concept, but generally not a particularly good algorithm
<centrx>
I don't know about this particular problem
<karamazov424>
Gotcha, thanks for the input. I think the problem was just to help understand how recursion works.
<karamazov424>
Surprisingly, he doesn't explain all his logic.
<centrx>
In the Fibonacci function, for example, the flat loop and the closed-form solution are both faster
<karamazov424>
Why?
<centrx>
Recursion builds up all the function calls in memory then shaves them off like an onion
<centrx>
Recursion is often a poor solution because the system runs out of memory.
<karamazov424>
Ah - because it has to in order to run
<centrx>
Stack Size Exceeded
richardjortega has joined #ruby-lang
<centrx>
This example is keeping all the sizes around in variables until the whole thing finishes running, along with all the function information for every time the function is called
<centrx>
Calling a function is typically not very fast, relatively speaking
apeiros has joined #ruby-lang
<centrx>
In this problem it is not a big deal because it is not going to get called more than on the order of 11x11 times at absolute worst
khaase has joined #ruby-lang
khaase has joined #ruby-lang
khaase has quit [Changing host]
<centrx>
Quicksort is a good example of Recursion
<karamazov424>
True but if it was in a game (like civilization, which is the story behind the example) with large worlds. I imagine this would be a time consuming method.
<karamazov424>
I'm not familiar with Quicksort
<centrx>
It is important to know
<centrx>
Sorting algorithms are good exercise
richardjortega has quit [Ping timeout: 244 seconds]
<karamazov424>
Ah - perhaps that's in a later chapter
Lewix_ has quit [Remote host closed the connection]
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
hhatch has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
jsullivandigs has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
rh1n0 has joined #ruby-lang
vondruch has joined #ruby-lang
pico-pete has quit []
mytrile has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
kazamyr has quit [Quit: Leaving.]
kazamyr has joined #ruby-lang
havenwood has joined #ruby-lang
karamazov424 has quit []
jhass|off is now known as jhass
BubonicPestilenc has quit [Quit: BubonicPestilenc]
ledestin has quit [Read error: Connection reset by peer]
vinhbach_ has joined #ruby-lang
anna_ has left #ruby-lang ["Leaving"]
mistym has quit [Remote host closed the connection]
caral has joined #ruby-lang
vinhbachsy has quit [Ping timeout: 252 seconds]
michd is now known as MichD
mehlah has joined #ruby-lang
caral has quit [Client Quit]
perry has quit [Read error: Connection reset by peer]
caral has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
kitak has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
nisstyre has quit [Quit: WeeChat 0.4.3]
kazamyr has quit [Quit: Leaving.]
sdouglas has joined #ruby-lang
<yorickpeterse>
morning
havenwood has quit [Remote host closed the connection]
<ljarvis>
moin
sdouglas has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
arBmind has joined #ruby-lang
Atw has joined #ruby-lang
rolfb has joined #ruby-lang
miqui has quit [Quit: No Ping reply in 180 seconds.]
miqui has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
ledestin has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
yfeldblum has quit [Quit: Leaving...]
yfeldblum has joined #ruby-lang
Cakey has joined #ruby-lang
fijimunkii has quit [Quit: leaving]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
rh1n0 has quit [Quit: im out!]
jxie_ has quit [Quit: leaving]
knu has joined #ruby-lang
joelroa_ has quit [Ping timeout: 244 seconds]
<maloik>
does anyone frequent /r/ruby ? I'm wondering if it's bad practice to post about CFP's there
<maloik>
couldnt find any so I'm guessing it is
mikecmpbll has joined #ruby-lang
tbuehlmann has joined #ruby-lang
elia has joined #ruby-lang
jsrn has joined #ruby-lang
relix has joined #ruby-lang
toretore has joined #ruby-lang
sdouglas has joined #ruby-lang
x0f has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
<yorickpeterse>
regular here
<yorickpeterse>
post that shit
snafoo has joined #ruby-lang
mr-foobar has quit [Ping timeout: 244 seconds]
retro|simi has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
elliotec has joined #ruby-lang
Pupeno has joined #ruby-lang
joonty_ has joined #ruby-lang
joonty has quit [Ping timeout: 252 seconds]
tkuchiki_ has joined #ruby-lang
joelroa has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
elliotec has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 252 seconds]
joonty_ is now known as joonty
mikecmpbll has joined #ruby-lang
<apeiros>
CFP? call for proposals?
<maloik>
yessir
mikecmpbll has quit [Client Quit]
<apeiros>
please, don't call me sir. call me captain
<ljarvis>
yes general
<apeiros>
that works too
<ljarvis>
psh
<ljarvis>
padme
sonne_ is now known as sonne
sonne has joined #ruby-lang
sonne has quit [Changing host]
mytrile has quit [Remote host closed the connection]
<yorickpeterse>
maloik: are there any specific topics that Arrrcamp would be looking for, or anything Ruby related?
<ljarvis>
yorick - how to rant
<yorickpeterse>
I'll try not to propose a Mongo rant
<yorickpeterse>
heh
<apeiros>
ljarvis: yes, princess padme
<yorickpeterse>
at least you're not Jar jar
perry has joined #ruby-lang
cnivolle has joined #ruby-lang
<apeiros>
chef vader
<apeiros>
for those who know star wars canteen
mytrile_ has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<maloik>
yorickpeterse: we're hoping for roughly 50% ruby/technical, 25% inspirational and 25% more frontend-oriented technologies
<yorickpeterse>
"inspirational"?
<maloik>
our audience are mostly rubyists of some sort, so if you think you have a talk that would be interesting for them that should be fine
<yorickpeterse>
That's pretty darn abstract
<yorickpeterse>
ah
<maloik>
inspirational as in soft skills, whether it be about business, productivity, communication, learning, ...
<maloik>
apeiros: I'm the captain!
<yorickpeterse>
Hm, I have a bunch of neat ideas but they all tie into each other too much
<yorickpeterse>
It would be one massive talk basically titled "What I did the last 6 months besides IRC"
<apeiros>
maloik: bow to the general then!
Cakey has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
<maloik>
yorickpeterse: feel free to submit several
<yorickpeterse>
No fuck that, that's stupid
<maloik>
just don't make the rants too obvious, or we'll know who submitted
<yorickpeterse>
haha
<yorickpeterse>
I don't rant at conferences
<yorickpeterse>
At least not on stage
<maloik>
:D
<yorickpeterse>
Risk is far too great for people to misunderstand the point because it's the first time they hear me going at Mongo
<yorickpeterse>
plus I don't like doing it on stage
mr-foobar has joined #ruby-lang
bzalasky has joined #ruby-lang
mytrile_ has quit [Remote host closed the connection]
Thanatermesis has quit [Ping timeout: 264 seconds]
elliotec has joined #ruby-lang
postmodern has joined #ruby-lang
<badeball>
nokogiri.so: [BUG] Segmentation fault
<badeball>
thanks
<apeiros>
badeball: start an anonymous nokogiri users group with yorickpeterse?
<badeball>
haha
kitak_ has joined #ruby-lang
<yorickpeterse>
I was thinking of setting a Doge donation button for my HTML parser thing
<yorickpeterse>
Or a kickstarter with a minimum funding amount of 500 000 EUR
<yorickpeterse>
"50% of the funding will go to my drug dealer for the amount of cocaine required to achieve this task"
Siyfion has joined #ruby-lang
<ohsix>
i dunno how much coke you've done, but the idea that you'll get something done is amazing
elliotec has quit [Ping timeout: 240 seconds]
<yorickpeterse>
I've never done drugs, go figure
<maloik>
do you consider marijuana drugs?
<maloik>
being dutch and all..
<apeiros>
is that the same question as "do you consider alcohol drugs? being non-moslem and all…"
<yorickpeterse>
maloik: never smoked pot
kitak has quit [Ping timeout: 250 seconds]
<yorickpeterse>
The only drugs I've had was a small piece of space cake at some party of one of my sisters at the age of...8 or something
ledestin has joined #ruby-lang
<yorickpeterse>
That's probably where it went wrong
<maloik>
apeiros: I don't even know what to say to that... but I don't think muslims consider alcohol drugs?
<maloik>
(they don't drink any but that's a different thing)
<ohsix>
they also don't let their grain spoil!
<yorickpeterse>
clearly non kosher == drugs
<yorickpeterse>
pigs are also drugs
<ohsix>
'hambone' is the hot new thing
<ohsix>
you know what's weird about a prohibition on pork, how good an idea it was at the time
<apeiros>
maloik: alcohol is a drug. whether your local culture/religion/politics allows its use or not doesn't affect its drug status.
<apeiros>
maloik: same for marijuana
<ohsix>
ethanol is a poison that happens to affect a part of your brain in a base way
<ohsix>
if you want to get litigious about it
<ohsix>
i would say that a drug implies a known and desired effect
<yorickpeterse>
air is also a drug depending on the amount you consume
sdouglas has joined #ruby-lang
<ohsix>
that of course defines it out of existence, cuz there really is no distinction aside from how it's used
<yorickpeterse>
clearly you've never dived before
<maloik>
apeiros: I probably need to look up the definition of drugs
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Thanatermesis has joined #ruby-lang
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby-lang
<maloik>
hmmm, I just remembered my very first 'production' web app
<maloik>
cause of what someone said in another channel
Pupeno_ has joined #ruby-lang
<maloik>
someone was doing a workshop and wanted people to be able to sms stuff that appeared on the projector... so I hooked up an old cell phone to a server and when sms'es came in I'd parse them into the app
<maloik>
fun times
sdouglas has quit [Ping timeout: 240 seconds]
<yorickpeterse>
I think I still have some of the "designs" I did when I first started, thinking I could actually design stuff
<yorickpeterse>
it's hilariously bad
<maloik>
I wish I did too :( my portfolio in school was actually pretty decent and hip for the time
<maloik>
this is 2006 or so
yfeldblum has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby-lang
<yorickpeterse>
There's some stuff I lost but I think I have most since early 2009 still around
Pupeno has quit [Ping timeout: 240 seconds]
<yorickpeterse>
before then I didn't really keep things around sadly
korpz has joined #ruby-lang
<yorickpeterse>
I do still have a bot for DeviantArt around that would run arbitrary shell commands
<yorickpeterse>
it had a whitelist though, but still that was rather fucked up
symm- has quit [Ping timeout: 244 seconds]
faces has joined #ruby-lang
toretore has quit [Quit: Leaving]
face has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby-lang
devgiant has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 244 seconds]
kirin` has quit [Ping timeout: 244 seconds]
bzalasky has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 244 seconds]
kirin` has joined #ruby-lang
domakesaythings has joined #ruby-lang
havenwood has joined #ruby-lang
phansch has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
Cakey has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
bin7me has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
mikecmpbll has joined #ruby-lang
matp has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
JoshuaPaling has quit [Remote host closed the connection]
domakesaythings has quit [Quit: Computer has gone to sleep.]
ryez has quit [Ping timeout: 245 seconds]
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
Squarepy has joined #ruby-lang
domakesaythings has joined #ruby-lang
mytrile has joined #ruby-lang
Squarepy has quit [Ping timeout: 244 seconds]
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
mr-foobar has quit [Ping timeout: 240 seconds]
Pupeno_ has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
tkuchiki has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
hardy12 has joined #ruby-lang
domakesaythings has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
unless you're trying to do something else
<khaase>
we squid all the things
<khaase>
and by that I mean apt
<ljarvis>
im trying to make an archive of a website
<yorickpeterse>
khaase: heh
lianj_ is now known as lianj
<yorickpeterse>
ljarvis: submit it to archive.org? :troll:
<ljarvis>
t.t
<yorickpeterse>
I think you can get pretty far using wget, I doubt it downloads assets though
<khaase>
wget -r
<ljarvis>
httrack is better and more configurable, and it doesn't do enough still
<ljarvis>
khaase: psh
marcdel has quit []
<yorickpeterse>
ljarvis: well, if you're feeling like it this is what you can do:
<yorickpeterse>
set up squid to cache the crap out of things, have some crawler visit every link on said website (inc assets)
<yorickpeterse>
then pull in the cache from wherever squid stores it
mr-foobar has joined #ruby-lang
<yorickpeterse>
but that's like, the most complicated way of doing it
<ljarvis>
heh
<ljarvis>
wget might work with some hacking, but it doesn't do multiple connections
Siyfion has joined #ruby-lang
<yorickpeterse>
Probably not too difficult to hack it with Rubby and Mechanize
cir0x_ has joined #ruby-lang
cir0x_ has quit [Client Quit]
cir0x has quit [Quit: Konversation terminated!]
JoshuaPaling has joined #ruby-lang
<ljarvis>
i dont have years
jxie has joined #ruby-lang
ulisescab has joined #ruby-lang
yfeldblum has joined #ruby-lang
robmiller1 has quit [Quit: Leaving.]
saxy_ has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
elliotec has joined #ruby-lang
lewix has joined #ruby-lang
joelroa has joined #ruby-lang
tockitj has joined #ruby-lang
tockitj has joined #ruby-lang
elliotec has quit [Ping timeout: 244 seconds]
joelroa has quit [Ping timeout: 244 seconds]
ulisescab has quit [Ping timeout: 240 seconds]
jxie_ has joined #ruby-lang
judofyr has joined #ruby-lang
jxie has quit [Ping timeout: 240 seconds]
ledestin has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
domakesaythings has quit [Quit: Computer has gone to sleep.]
ulisescab has joined #ruby-lang
korpz has quit [Ping timeout: 240 seconds]
<yorickpeterse>
3 months should be enough
sdouglas has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby-lang
imajes has quit [Ping timeout: 240 seconds]
<ljarvis>
possibly
<ljarvis>
it'd run out of memory after a week
mytrile has quit []
imajes has joined #ruby-lang
ledestin has joined #ruby-lang
<yorickpeterse>
just restart it every 10 minutes
cnivolle has joined #ruby-lang
Siyfion has quit []
rahul_j has quit [Quit: rahul_j]
lewix has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TvL2386 has joined #ruby-lang
<TvL2386>
hi guys, when creating Ruby graphical applications (for linux), what would be the library to use? It seems Tk is the tool to use if I search the web.
<Silex>
qtruby comes to mind
robmiller has joined #ruby-lang
shashin has joined #ruby-lang
<judofyr>
TvL2386: I haven't heard about anyone using Tk in a while. JRuby might be a good choice, although you'll end up with Java-like UI
<judofyr>
JRuby will give you an UI toolkit that's actually maintained. there's not many people creating UIs in Ruby so often the qt/gtk bindings are in bad shape.
<TvL2386>
thx judofyr
relix has joined #ruby-lang
devgiant has quit [Ping timeout: 240 seconds]
ulisescab has quit [Ping timeout: 244 seconds]
vlad_sta_ has quit [Remote host closed the connection]
riffraff has quit [Quit: Leaving]
[spoiler] has joined #ruby-lang
vlad_starkov has joined #ruby-lang
domakesaythings has joined #ruby-lang
rahul_j has joined #ruby-lang
DefV_ is now known as DefV
[spoiler] has quit [Read error: Connection reset by peer]
[spoiler] has joined #ruby-lang
yfeldblum has joined #ruby-lang
dingus_khan has joined #ruby-lang
devgiant has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
[spoiler] has quit [Read error: Connection reset by peer]
<yorickpeterse>
agh, positioning sprites is a pita
<yorickpeterse>
especially based on dynamic data
kitak_ has quit [Remote host closed the connection]
rahul_j has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
joelroa has joined #ruby-lang
<Kero>
There are still people reading my RubyTk tutorial; even providing small additions!
neutralangel has joined #ruby-lang
joelroa has quit [Ping timeout: 244 seconds]
gix has quit [Ping timeout: 264 seconds]
DEac- has joined #ruby-lang
DEac-_ has quit [Read error: Connection reset by peer]
rahul_j has quit [Quit: rahul_j]
gix has joined #ruby-lang
neutralangel has left #ruby-lang [#ruby-lang]
dvorak has joined #ruby-lang
lunsford has joined #ruby-lang
shinnya has joined #ruby-lang
symm- has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
elimS is now known as PoorJew
Guest52182 has quit [Quit: Guest52182]
jperry has joined #ruby-lang
korpz has joined #ruby-lang
domakesaythings has quit [Quit: Computer has gone to sleep.]
domakesaythings has joined #ruby-lang
Melpaws has joined #ruby-lang
ledestin has quit [Ping timeout: 240 seconds]
prc has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Remote host closed the connection]
fragamus has quit [Quit: Computer has gone to sleep.]
diegovio1 is now known as diegoviola
araujo has joined #ruby-lang
rahul_j has joined #ruby-lang
mistym has joined #ruby-lang
nathanstitt has joined #ruby-lang
nertzy has joined #ruby-lang
VTLob has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
rippa has joined #ruby-lang
joonty has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
jxie_ has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
itsraining has joined #ruby-lang
jxie has joined #ruby-lang
Melpaws has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
itsraining has quit [Client Quit]
elliotec has joined #ruby-lang
seanlinsley has joined #ruby-lang
Tn6o has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 270 seconds]
jxie has joined #ruby-lang
mehlah has joined #ruby-lang
michaeldeol has joined #ruby-lang
itsraining has joined #ruby-lang
bzalasky has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
joonty has joined #ruby-lang
elliotec has quit [Ping timeout: 244 seconds]
joelroa has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
DreamInCode is now known as DriftingInCode
joelroa has quit [Ping timeout: 269 seconds]
|jemc| has joined #ruby-lang
marcdel has joined #ruby-lang
<yorickpeterse>
bah, forced social activities :<
<yorickpeterse>
I don't want to watch a bloody presentation on Friday at 5PM
robmiller has quit [Quit: Leaving.]
devgiant has quit [Ping timeout: 244 seconds]
<bodie_>
using debian stable. RVM is telling me I need to change my zsh version to 4.3.12 / 5.0.0+ -- anyone know the quick and dirty way to make this happen?
sdouglas has quit [Remote host closed the connection]
vlad_starkov was kicked from #ruby-lang by apeiros [if you cross-post, you're required to *at least* inform every channel that you are cross-posting. this is only a warning.]
<kazamyr>
What about 'my_instance.instance_eval'?
<apeiros>
kazamyr: would probably work too, but more to type for no gain.
vlad_starkov has joined #ruby-lang
Melpaws has quit [Remote host closed the connection]
khaase_ has joined #ruby-lang
CaptainJet has quit [Ping timeout: 264 seconds]
toastyne_ has joined #ruby-lang
Melpaws has joined #ruby-lang
<kazamyr>
What is your usecase?
djinni` has quit [Ping timeout: 240 seconds]
caral has quit [Ping timeout: 240 seconds]
patriciomacadden has joined #ruby-lang
robmiller has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
Devanon has joined #ruby-lang
khaase has quit [Ping timeout: 240 seconds]
elliotec has quit [Read error: Connection reset by peer]
jcs222 has quit [Ping timeout: 240 seconds]
jxie has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
devgiant has quit [Ping timeout: 240 seconds]
knu has quit [Ping timeout: 240 seconds]
speakingcode-wor has quit [Ping timeout: 240 seconds]
jsullivandigs has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 240 seconds]
elliotec_ has joined #ruby-lang
knu has joined #ruby-lang
djinni` has joined #ruby-lang
<Devanon>
Hi all
toastynerd has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
devgiant has joined #ruby-lang
miqui has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
araujo has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby-lang
x0f has joined #ruby-lang
jcs222 has joined #ruby-lang
Melpaws_ has joined #ruby-lang
bahar has joined #ruby-lang
elliotec_ has quit [Read error: Connection reset by peer]
araujo has joined #ruby-lang
<ljarvis>
yorickpeterse: not really
elliotec has joined #ruby-lang
kazamyr1 has joined #ruby-lang
<apeiros>
kazamyr: my usecase? I wasn't the one who asked
Melpaws has quit [Ping timeout: 264 seconds]
loinclot_ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
djinni`_ has joined #ruby-lang
<vlad_starkov>
what the different between `def my_instance.some_instance_method(args); ...; end` AND `my_instance.define_singleton_method(:some_instance_method) do ...; end`?
<centrx>
Well the obvious would be one defines a method and the other calls a method
jperry2 has joined #ruby-lang
bawigga_ has joined #ruby-lang
<apeiros>
centrx: um, no, both are definitions
elliotec has joined #ruby-lang
<centrx>
oh woops there is a def
<apeiros>
both define the method in the same place, but the latter one uses a block, blocks are closures. which means you can use local variables from the current lexical context.
a3li` has joined #ruby-lang
<apeiros>
>> x = 1; o = Object.new; o.define_singleton_method :foo do x end; o.foo