apeiros_ has quit [Read error: Connection reset by peer]
habanany has joined #ruby
SegFaultAX has quit [Excess Flood]
kenneth__ has joined #ruby
jxport has quit [Ping timeout: 240 seconds]
mroth__ has joined #ruby
Heaplink_ has left #ruby ["Leaving..."]
crus has quit [Ping timeout: 240 seconds]
bricker`LA has quit [Ping timeout: 240 seconds]
mdpatrick has quit [Ping timeout: 240 seconds]
pietr0_ has joined #ruby
jxport has joined #ruby
Rakden_ has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
zachallett has joined #ruby
mdpatrick has joined #ruby
IceDragon has quit [Quit: Space~~~]
yourmysin has quit [Ping timeout: 240 seconds]
CJD14_ has joined #ruby
WormDrink has joined #ruby
alvaro_o has joined #ruby
philcris_ has joined #ruby
philcris_ has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
centrx has joined #ruby
benatkin has joined #ruby
agent_white has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
JJMalina has quit [Quit: Leaving...]
centrx is now known as Guest45303
Guest45303 is now known as cntrx
gigetoo has quit [Remote host closed the connection]
<cntrx>
Is there a project with a good example of custom Exceptions?
gigetoo has joined #ruby
predator117 has joined #ruby
deadlock_ has joined #ruby
deadlock has quit [Excess Flood]
jack_rabbit has quit [Ping timeout: 679 seconds]
Voodoofish430 has quit [Ping timeout: 679 seconds]
Heaplink has quit [Ping timeout: 679 seconds]
chrisseaton has quit [Ping timeout: 679 seconds]
<pipework>
cntrx: sinatra
zellio_ has joined #ruby
aaronransley has quit [Remote host closed the connection]
zacts has joined #ruby
<cntrx>
Thank you
Guedes0 has joined #ruby
dik_dak has quit [Read error: Connection reset by peer]
Faris2 has joined #ruby
lyanchih_ has joined #ruby
zachallett has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 240 seconds]
* cntrx
pipework++
yourmysin has joined #ruby
Guedes has quit [Excess Flood]
dh64 has joined #ruby
Rainicorn has quit [Quit: Bye]
mclee_ has joined #ruby
lpvn has joined #ruby
weems has joined #ruby
dh64 has quit [Remote host closed the connection]
parduse has quit [Ping timeout: 642 seconds]
webgen has quit [Ping timeout: 642 seconds]
Faris has quit [Ping timeout: 642 seconds]
cyong has quit [Ping timeout: 642 seconds]
CaptainJet has quit [Ping timeout: 642 seconds]
eka has quit [Ping timeout: 642 seconds]
nanoyak_ has quit [Ping timeout: 642 seconds]
datreh_ has quit [Ping timeout: 642 seconds]
danshultz has joined #ruby
SegFaultAX has joined #ruby
reset has quit [Ping timeout: 642 seconds]
yarou has quit [Ping timeout: 642 seconds]
mocfive has quit [Ping timeout: 642 seconds]
zellio has quit [Ping timeout: 642 seconds]
yeticry_ has quit [Ping timeout: 642 seconds]
mneorr has quit [Ping timeout: 642 seconds]
kenneth has quit [Ping timeout: 642 seconds]
pietr0 has quit [Ping timeout: 642 seconds]
forced_request has quit [Ping timeout: 642 seconds]
glebm has quit [Ping timeout: 642 seconds]
kung has quit [Ping timeout: 642 seconds]
sawtooth has quit [Ping timeout: 642 seconds]
msch has quit [Remote host closed the connection]
pietr0_ is now known as pietr0
cyong has joined #ruby
KK4MGV has joined #ruby
bricker`LA has joined #ruby
dh64 has joined #ruby
parduse has joined #ruby
saarinen has quit [Quit: saarinen]
parduse has quit [Changing host]
parduse has joined #ruby
gilest has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
jayne has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
davedev24 has joined #ruby
NalloK has joined #ruby
agarie has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 264 seconds]
carlyle has quit [Ping timeout: 264 seconds]
bthesorceror has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 264 seconds]
rezzack has quit [Ping timeout: 264 seconds]
razrunelord has quit [Ping timeout: 264 seconds]
chrisseaton has joined #ruby
charliesome has joined #ruby
apeiros has joined #ruby
pusewicz__ has quit [Changing host]
pusewicz__ has joined #ruby
lectrick_ has quit [Changing host]
lectrick_ has joined #ruby
charles81 has quit [Changing host]
charles81 has joined #ruby
mostlybadfly has quit [Changing host]
mostlybadfly has joined #ruby
Relaxation___ has joined #ruby
Relaxation___ has quit [Changing host]
jpinnix__ has quit [Changing host]
jpinnix__ has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
jeregrine has joined #ruby
jeregrine has quit [Changing host]
fayimora___ has quit [Changing host]
fayimora___ has joined #ruby
napcae has quit [Changing host]
napcae has joined #ruby
cmaxw___ has quit [Changing host]
ziyadb_ has quit [Changing host]
ziyadb_ has joined #ruby
cmaxw___ has joined #ruby
Tranquility has quit [Changing host]
Tranquility has joined #ruby
supershabam has quit [Changing host]
supershabam has joined #ruby
bedouin has quit [Changing host]
bedouin has joined #ruby
rickenharp_ has quit [Changing host]
rickenharp_ has joined #ruby
frode15243_ has quit [Changing host]
frode15243_ has joined #ruby
jrunning___ has quit [Changing host]
jrunning___ has joined #ruby
antonishen has quit [Changing host]
antonishen has joined #ruby
bluehavana_ has quit [Changing host]
bluehavana_ has joined #ruby
im0b_ has quit [Changing host]
im0b_ has joined #ruby
mroth__ has quit [Changing host]
mroth__ has joined #ruby
CJD14_ has quit [Changing host]
CJD14_ has joined #ruby
ValicekB has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gilest has joined #ruby
camt has joined #ruby
jetblack has joined #ruby
robustus has joined #ruby
Celm has quit [Remote host closed the connection]
tkuchiki has quit [Quit: Leaving...]
zachallett has joined #ruby
jonah_k has joined #ruby
fgo has joined #ruby
<slowcon__>
cntrx: hey man. i am still stuck trying to get this file to download. would you take a look at the source and tell me what you think best approach would be? currently using watir with phantomjs to grab the link from the big orange download now button, and using curl to download the file. http://www63.zippyshare.com/v/79521339/file.html Or maybe see if the curb syntax i have looks correct to download a mp3. http://pastebin.com/Ejr8v00T
davy__ has quit [Remote host closed the connection]
lazyguru has quit [Ping timeout: 264 seconds]
thiagolc has joined #ruby
lazyguru has joined #ruby
<cntrx>
slowcon__, How do you know what page to go to in the first place?
zellio_ is now known as zellio
postmodern has joined #ruby
zellio is now known as Guest73245
fella6s has quit [Read error: Connection reset by peer]
thiagolc has left #ruby [#ruby]
Guest73245 is now known as zellio
shiftins has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
zachallett has quit [Remote host closed the connection]
thiagolc has joined #ruby
<itadder>
hi
<itadder>
anyone here good with sublime text
Davey has quit [Ping timeout: 264 seconds]
lethjakman has joined #ruby
<lethjakman>
how do I get the base class of self?
mary5030_ has quit [Remote host closed the connection]
lyanchih_ has quit [Quit: lyanchih_]
sdouglas has quit [Remote host closed the connection]
apeiros_ has joined #ruby
TheLarkInn1 has joined #ruby
yarou has joined #ruby
danshultz has quit [Remote host closed the connection]
frode15243__ has joined #ruby
dseitz has joined #ruby
<cntrx>
slowcon__, I tried with wget, setting user-agent and referer and using cookies, but it won't even let me download the page listing the file, let alone the download link
cntrx has quit [Quit: All this computer hacking is making me thirsty]
v0n has joined #ruby
rdgawdzi_ has joined #ruby
forced_request has joined #ruby
fedesilva has quit [Read error: Connection reset by peer]
cntrx has joined #ruby
mercwithamouth has joined #ruby
vongrippen_ has joined #ruby
ahuman has joined #ruby
Davey has joined #ruby
npearson_ has joined #ruby
fedesilva has joined #ruby
sawtooth has joined #ruby
xibalba_ has joined #ruby
habanany has quit [Ping timeout: 240 seconds]
cntrx is now known as centrx
klipeto has joined #ruby
jbueza has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tzi0m has joined #ruby
AlSquirrel has joined #ruby
Gate_ has joined #ruby
lotherk_ has joined #ruby
kenneth has joined #ruby
[ROOT]XxNeoLiTHi has joined #ruby
im0b__ has joined #ruby
yfeldblum has joined #ruby
__noname001__ has joined #ruby
jonah_k_ has joined #ruby
flori_ has joined #ruby
freerobby1 has joined #ruby
joelteon_ has joined #ruby
alvaro_o_ has joined #ruby
habanany has joined #ruby
frode15243_ has quit [Ping timeout: 240 seconds]
im0b_ has quit [Ping timeout: 240 seconds]
<slowcon__>
cntrx: sorry was trying something out
<slowcon__>
cntrx: zippy_link is an array of links
mven has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
ValicekB has quit [Ping timeout: 240 seconds]
kenneth__ has quit [Ping timeout: 240 seconds]
rdgawdzi has quit [Ping timeout: 240 seconds]
mercwith1mouth has quit [Ping timeout: 240 seconds]
klip has quit [Ping timeout: 240 seconds]
ddd has quit [Ping timeout: 240 seconds]
jetblack has quit [Ping timeout: 240 seconds]
weems has quit [Ping timeout: 240 seconds]
yourmysin has quit [Ping timeout: 240 seconds]
sawtooth1 has quit [Ping timeout: 240 seconds]
mr_red- has quit [Ping timeout: 240 seconds]
Hanmac2 has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
edwardly has quit [Ping timeout: 240 seconds]
rurban has quit [Ping timeout: 240 seconds]
tziOm has quit [Ping timeout: 240 seconds]
Bosox20051 has quit [Ping timeout: 240 seconds]
xibalba has quit [Ping timeout: 240 seconds]
odigity3 has quit [Ping timeout: 240 seconds]
ccooke has quit [Ping timeout: 240 seconds]
dh64 has quit [Ping timeout: 240 seconds]
defrag has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 240 seconds]
webgen1 has quit [Ping timeout: 240 seconds]
Guest33066 has quit [Ping timeout: 240 seconds]
Vivekananda has quit [Ping timeout: 240 seconds]
TMM has quit [Ping timeout: 240 seconds]
roolo has quit [Ping timeout: 240 seconds]
bier has quit [Ping timeout: 240 seconds]
Liothen has quit [Ping timeout: 240 seconds]
joelteon has quit [Ping timeout: 240 seconds]
Cope has quit [Ping timeout: 240 seconds]
alvaro_o has quit [Ping timeout: 240 seconds]
lotherk has quit [Ping timeout: 240 seconds]
yarou_ has quit [Ping timeout: 240 seconds]
TheLarkInn has quit [Ping timeout: 240 seconds]
vongrippen has quit [Ping timeout: 240 seconds]
Gate has quit [Ping timeout: 240 seconds]
ahuman_ has quit [Ping timeout: 240 seconds]
zaargy_ has quit [Ping timeout: 240 seconds]
AlSquire has quit [Read error: Connection reset by peer]
flori has quit [Ping timeout: 240 seconds]
noname001 has quit [Ping timeout: 240 seconds]
webgen has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
jonah_k has quit [Ping timeout: 240 seconds]
toddabrahm_ has quit [Ping timeout: 240 seconds]
pranny1 has joined #ruby
zaargy has joined #ruby
Cope has joined #ruby
ccooke has joined #ruby
Lulzon has quit [Ping timeout: 240 seconds]
pranny has quit [Ping timeout: 240 seconds]
npearson has quit [Ping timeout: 240 seconds]
Hamled has quit [Ping timeout: 240 seconds]
wykydtro- has joined #ruby
defrag has joined #ruby
im0b__ is now known as im0b_
wykydtron has quit [Ping timeout: 240 seconds]
Bosox20051 has joined #ruby
YourBestFriend has quit [Ping timeout: 240 seconds]
bier has joined #ruby
Vivekananda has joined #ruby
weems has joined #ruby
troyready has joined #ruby
deepy- has joined #ruby
alexherbo2 has joined #ruby
toddabrahm has joined #ruby
toddabrahm has quit [Excess Flood]
xibalba_ is now known as xibalba
joelteon_ is now known as joelteon
Hamled has joined #ruby
Hanmac has joined #ruby
Lulzon has joined #ruby
xibalba has quit [Changing host]
xibalba has joined #ruby
toddabrahm has joined #ruby
YourBestFriend has joined #ruby
edwardly has joined #ruby
mr_red has joined #ruby
rurban has joined #ruby
<pipework>
lethjakman: 'base class'?
nanoyak has quit [Quit: Computer has gone to sleep.]
edwardly has quit [Changing host]
edwardly has joined #ruby
<centrx>
"self"?
<centrx>
There is no self. There is only the Way.
<pipework>
there is no spoon
<pipework>
The spice must flow
Liothen has joined #ruby
Xuisce has joined #ruby
<Xuisce>
centrx: hey
Megtastique has quit []
nanoyak has joined #ruby
<slowcon__>
centrx: damn
TuxLyn has joined #ruby
ddd has joined #ruby
<TuxLyn>
Hi folks, does OpenURI comes with ruby ?
<centrx>
TuxLyn, Yes, OpenURI is the standard library.
jetblack has joined #ruby
<centrx>
s/is/is in
blaines has joined #ruby
<TuxLyn>
centrx, thank you.
<TuxLyn>
sorry * typo
mneorr_ has quit [Remote host closed the connection]
shiftins has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
mnms_ has quit [Ping timeout: 265 seconds]
dingus_k_ has quit [Remote host closed the connection]
thiagolc has left #ruby [#ruby]
ValicekB_ has joined #ruby
mnms_ has joined #ruby
jlast has joined #ruby
mneorr_ has joined #ruby
m00nlight has quit [Quit: Konversation terminated!]
andredie` is now known as andredieb
guilleiguaran has quit [Quit: Connection closed for inactivity]
ValicekB_ is now known as ValicekB
andredieb is now known as Guest68392
nateberkopec has joined #ruby
mven has joined #ruby
existensil has joined #ruby
odigity3 has joined #ruby
gasbakid has joined #ruby
Guest68392 is now known as andredieb
hephaestus_rg has quit [Quit: hephaestus_rg]
<slowcon__>
centrx: anything else you think i should try?
andredieb has quit [Changing host]
andredieb has joined #ruby
TMM has joined #ruby
carlyle has joined #ruby
<slowcon__>
centrx: before ditching headless
Aryasam has joined #ruby
temple3188 has quit [Ping timeout: 240 seconds]
acl_ has joined #ruby
[ROOT]XxNeoLiTHi has left #ruby [#ruby]
fuhgeddaboudit has joined #ruby
vlad_starkov has joined #ruby
ekinmur has joined #ruby
gasbakid has quit [Max SendQ exceeded]
blaines has quit [Ping timeout: 244 seconds]
mven has quit [Ping timeout: 252 seconds]
gasbakid has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
carlyle has quit [Ping timeout: 241 seconds]
mbff has joined #ruby
mbff is now known as Guest22876
bthesorc_ has quit [Remote host closed the connection]
bthesorceror has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
yfeldblu_ has joined #ruby
shinobi_one has left #ruby [#ruby]
subbyyy has quit [Ping timeout: 269 seconds]
mven has joined #ruby
gasbakid has quit [Max SendQ exceeded]
mneorr_ has quit [Remote host closed the connection]
gasbakid has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
bricker`LA has quit [Ping timeout: 252 seconds]
meatherl_ has quit [Remote host closed the connection]
<fwchld>
hey dudes - i'm writing my first class. in my mind it extends the gem Savon, by adding a bit of logic so that you can get relevant info out of the soap responses handled by Savon. given savon is a gem, how do i extend that class with the relevant methods? could you point me in the right direction?
nari has joined #ruby
<fwchld>
or should i just inheret?
not_a_guest has quit [Quit: Connection closed for inactivity]
budrose has joined #ruby
dodosan has joined #ruby
hamakn has joined #ruby
mavcunha has quit [Quit: Computer has gone to sleep.]
hamakn has quit [Read error: Connection reset by peer]
phutchins has quit [Remote host closed the connection]
hamakn has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<slowcon__>
centrx: python though >:o
afex has quit [Ping timeout: 240 seconds]
<centrx>
It may yet hold the secret
snuffeluffegus has joined #ruby
codenapper has quit [Ping timeout: 245 seconds]
BWStearn1 has quit [Ping timeout: 265 seconds]
rahult has joined #ruby
<slowcon__>
I'm with you
<slowcon__>
gonna go read it
frem has quit [Quit: Connection closed for inactivity]
phutchins has joined #ruby
ekinmur has quit []
toretore has quit [Quit: This computer has gone to sleep]
dkamioka has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
itadder has quit [Read error: Connection reset by peer]
jwest has joined #ruby
itadder has joined #ruby
niftyn8 has joined #ruby
michael_lee has joined #ruby
Celm has quit [Remote host closed the connection]
Domon_ has joined #ruby
carif has quit [Quit: Ex-Chat]
Celm_ has joined #ruby
Domon_ is now known as Domon
cyong has quit [Quit: Leaving.]
krz has joined #ruby
Kricir has joined #ruby
xerox357 has joined #ruby
datreh__ has quit [Remote host closed the connection]
datreh__ has joined #ruby
jonah_k_ has quit [Remote host closed the connection]
datreh___ has joined #ruby
bricker`LA has joined #ruby
sensen has joined #ruby
fgo has quit [Remote host closed the connection]
bnjamin_ has quit []
carlyle has quit [Ping timeout: 269 seconds]
yfeldblu_ has quit [Remote host closed the connection]
joelroa has joined #ruby
datreh__ has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
wallerdev has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
mansi has joined #ruby
mansi has quit [Remote host closed the connection]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
browndawg has joined #ruby
Kricir has quit [Remote host closed the connection]
jefflyne has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
shadoi1 has quit [Quit: Leaving.]
danshultz has joined #ruby
Rakden_ has joined #ruby
axl_ has joined #ruby
starfox21_ has joined #ruby
starfox21 has quit [Ping timeout: 264 seconds]
starfox21_ is now known as starfox21
reset has quit [Quit: Leaving...]
markisonfire has quit [Quit: markisonfire]
DropsOfSerenity has joined #ruby
bthesorceror has joined #ruby
tylersmi_ has quit []
Megtastique has quit []
rsahae has left #ruby [#ruby]
fgo has joined #ruby
dh64 has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
Aryasam has quit [Ping timeout: 244 seconds]
[gmi] has quit [Read error: Connection reset by peer]
<bricker`LA>
postmodern: ping
wallerdev has quit [Quit: wallerdev]
jeregrine has quit [Quit: Connection closed for inactivity]
meatherly has joined #ruby
BWStearn1 has joined #ruby
wallerdev has joined #ruby
guilleiguaran has joined #ruby
wallerdev has quit [Client Quit]
lethjakman has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
fedesilva has quit [Remote host closed the connection]
itadder has quit []
niftyn8 has quit [Ping timeout: 252 seconds]
jjbohn has joined #ruby
Aryasam has joined #ruby
Xuisce has quit [Quit: Leaving...]
jkamenik has quit [Ping timeout: 240 seconds]
Aryasam has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
datreh___ has quit [Quit: Computer has gone to sleep.]
nateberkopec has quit [Quit: Leaving...]
pranny has joined #ruby
pranny has quit [Client Quit]
pipework is now known as pepewerk
TuxLyn has quit [Quit: Leaving]
TuxLyn has joined #ruby
microatxslim_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Aryasam has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
Aryasam has joined #ruby
nisstyre has joined #ruby
microatxslim_ has quit [K-Lined]
budrose has quit [Remote host closed the connection]
nuck has quit [Ping timeout: 240 seconds]
wchun has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
SegFaultAX has quit [Excess Flood]
evenix has joined #ruby
SegFaultAX has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
geopet has joined #ruby
shaileshg has joined #ruby
jrhorn424 is now known as zz_jrhorn424
armyriad has joined #ruby
alvaro_o_ has quit [Quit: Ex-Chat]
Aryasam has quit [Ping timeout: 252 seconds]
phutchins has joined #ruby
radic has quit [Ping timeout: 264 seconds]
radic has joined #ruby
gilest has quit [Quit: Leaving...]
<postmodern>
bricker`LA, pong
dingus_khan has quit [Remote host closed the connection]
<centrx>
postmodern, bricker`LA, NETWORK ERROR
petey_ has joined #ruby
<postmodern>
CARRIER LOST
<bricker`LA>
postmodern: hey, homebrew is telling me I'm already up-to-date when I run `brew upgrade --HEAD ruby-install`, but I'm not getting 2.1.1 in the list of rubies.
GinoMan has quit [Read error: Operation timed out]
dingus_khan has joined #ruby
<bricker`LA>
postmodern: please give me free and immediate support for this issue.
danshultz has quit [Ping timeout: 244 seconds]
Hanmac has joined #ruby
<postmodern>
bricker`LA, `ruby-install --md5 ... ruby 2.1.1` you get what you pay for ;)
oso|away is now known as oso96_2000
<postmodern>
bricker`LA, we will do a release shortly, once everyone stops releasing new versions
hephaestus_rg has joined #ruby
Xuisce has joined #ruby
<bricker`LA>
postmodern: yay! Thanks
petey has quit [Ping timeout: 252 seconds]
mduvall has quit [Quit: Computer has gone to sleep.]
<Xuisce>
centrx: hey
browndawg has left #ruby [#ruby]
<bricker`LA>
postmodern: works great, thanks
Spami has joined #ruby
mbuf has joined #ruby
<pepewerk>
postmodern: Curiousity grips me, why can't ruby-install support building from HEAD?
habanany has quit [Read error: Connection reset by peer]
<postmodern>
pepewerk, it does
<pepewerk>
postmodern: Oh, I thought documentation said it doesn't. Do I just need to point it to the tarball for HEAD?
<pepewerk>
I may be wholly mistaken.
<postmodern>
pepewerk, er i mean we don't support installing HEAD/trunk versions of rubies, too many bugs/issues
Spami has quit [Client Quit]
<postmodern>
pepewerk, you can install ruby-install HEAD, if you absolutely need the latest versions/md5s
<pepewerk>
postmodern: Oh yeah, I do that part already.
<mbuf>
is Ruby eventmachine an option for implementing the following Ruby server that sends information regarding the Devices on a network when asked by Clients, and acts as a client to talk to Devices? https://gist.github.com/anonymous/9264790
binaryhat has quit [Quit: Leaving]
<pepewerk>
postmodern: If I were to pass a link to a tarball that contained ruby like using ruby-lang.org's tarballs, would it try to compile?
<postmodern>
pepewerk, it should, provided there's no major changes to the build process
twiceaday has quit [Ping timeout: 240 seconds]
<pepewerk>
I can experiment, but there is a small benefit to using ruby-install to at least try to install a trunk snapshot of ruby with the same tool I install other users.
<pepewerk>
s/users/rubies/
<pepewerk>
postmodern: That works for me.
<pepewerk>
I do like the idea of being able to pass HEAD for the ruby version. I shall invetigate.
<postmodern>
bricker`LA, that's because ruby-lang.org links to .tar.gz
<postmodern>
bricker`LA, we use the tar.bz2
Aryasam has joined #ruby
<bricker`LA>
ah
charliesome has quit [Read error: Connection reset by peer]
<postmodern>
hmm might have to correct that
Fezzler has joined #ruby
charliesome has joined #ruby
jkamenik has quit [Client Quit]
bthesorceror has quit [Remote host closed the connection]
<pipecloud>
postmodern: Is there any chance that you could expose the build options that ruby-install would use so I could use them while building unsupported ruby versions for a particular implementation?
<postmodern>
pipecloud, what do you mean by build options?
nomenkun has quit [Remote host closed the connection]
<YourBestFriend>
itadder: pics pls
arcwhite has joined #ruby
dingus_khan has quit [Remote host closed the connection]
andrewcohen has joined #ruby
andrewcohen has quit [Client Quit]
<YourBestFriend>
so that's basically a free sublime text?
KK4MGV has joined #ruby
OdNairy has joined #ruby
Aryasam has quit [Ping timeout: 252 seconds]
testcore has quit [Quit: BitchX: it's what's for lunch]
<centrx>
bnagy, Looks like the Linux random source also seeds initially with device-specific data like MAC address and serial number, so that different devices do not start off with the same initial state
testcore has joined #ruby
ValicekB_ has joined #ruby
<bnagy>
centrx: if available.. but that's still good
ValicekB_ is now known as ValicekB
<bnagy>
imho getting a chunk of random during the installer is the biggest win, and adding the MAC to that is even better
jayne has quit [Read error: Connection reset by peer]
KK4MGV has quit [Read error: Connection reset by peer]
camt has quit [Read error: Connection reset by peer]
funburn has joined #ruby
jayne has joined #ruby
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
armyriad has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
makara has quit [Excess Flood]
<centrx>
bnagy, Yes. It mentions embedded devices that don't have much external randomness as an example of a use case for it
bricker`LA has joined #ruby
aspires has quit [Ping timeout: 240 seconds]
zellio_ has quit [Ping timeout: 240 seconds]
makara has joined #ruby
carlyle has joined #ruby
ddd_ has joined #ruby
zellio has joined #ruby
wykydtron has joined #ruby
yfeldblum has joined #ruby
Azure has joined #ruby
camt has joined #ruby
zellio is now known as Guest62118
nism has joined #ruby
chrisseaton has quit [Ping timeout: 240 seconds]
markisonfire has joined #ruby
mven has quit [Ping timeout: 244 seconds]
Azure has quit [Client Quit]
petey has quit [Ping timeout: 240 seconds]
mven has joined #ruby
davedev24 has quit [Remote host closed the connection]
YourBestFriend is now known as mozzarella
amclain has quit [Quit: Leaving]
brucele_ has joined #ruby
itadder has quit [Remote host closed the connection]
eruthven has joined #ruby
eruthven has left #ruby [#ruby]
poguez_ has quit [Quit: Connection closed for inactivity]
JasmeetQA has joined #ruby
<RubyPanther>
you a "free beta" of a commercial app
wchun has quit [Ping timeout: 244 seconds]
<RubyPanther>
mt
_bart has quit [Remote host closed the connection]
<RubyPanther>
free as in shareware
eruthven has joined #ruby
joelroa_ has joined #ruby
kukyakya_ has quit [Ping timeout: 244 seconds]
_bart has joined #ruby
TuxLyn has joined #ruby
SegFaultAX has quit [Excess Flood]
fgo has joined #ruby
markisonfire has quit [Ping timeout: 539 seconds]
zastern has quit [Ping timeout: 539 seconds]
k03ll has quit [Ping timeout: 539 seconds]
Davey has quit [Ping timeout: 539 seconds]
joonty has quit [Ping timeout: 539 seconds]
jeekl has quit [Ping timeout: 539 seconds]
dylannorthrup has quit [Ping timeout: 539 seconds]
bluntman has quit [Ping timeout: 539 seconds]
camt has quit [Read error: Connection reset by peer]
<TuxLyn>
Any one knows if its possible to execute ruby (.rb) script using curl ? Simular to bash script using bash <(curl -s http://domain.com/script.sh)
armyriad has quit [Read error: Connection reset by peer]
zastern_ has joined #ruby
JasmeetQA has quit [Ping timeout: 252 seconds]
bluntman has joined #ruby
dylannorthrup has joined #ruby
joonty has joined #ruby
OdNairy_ has joined #ruby
nfk has joined #ruby
markisonfire has joined #ruby
armyriad has joined #ruby
jayne has quit [Read error: Connection reset by peer]
<TuxLyn>
RubyPanther, yep this worked on my script too :D thanks
sensen has quit [Read error: Connection reset by peer]
<n88>
1
<RubyPanther>
I should write an apache module that checks your IP and serves a different script the first time
n88 has quit [Changing host]
n88 has joined #ruby
<TuxLyn>
bnagy, yes this is very useful when you code installer or auto scripts :)
<bnagy>
TuxLyn: no, it's insane
kzrl_ has quit [Ping timeout: 252 seconds]
<RubyPanther>
It is insane, but popular
<bnagy>
make a gem
<TuxLyn>
bnagy, well maybe for you no offance :)
<TuxLyn>
I love terminal so :)
<TuxLyn>
anyway thanks a lot RubyPanther
<bnagy>
the auth is still kind of dodgy but at least there _is_ some
<RubyPanther>
rvm is often installed that way
<bnagy>
I thought they deprecated that
<TuxLyn>
exactly lol
<bnagy>
because insane
<bnagy>
but at least they have an https domain :<
<RubyPanther>
if you trust a downloaded binary installer from the domain, it is really no worse
jlast has quit [Ping timeout: 240 seconds]
<TuxLyn>
I agree with RubyPanther ^_^
fgo has quit [Remote host closed the connection]
Jdubs has quit [Remote host closed the connection]
<bnagy>
TuxLyn: that it's insane? Great!
funburn has quit [Ping timeout: 244 seconds]
mven has joined #ruby
<TuxLyn>
RubyPanther, if only you could pass arguments too ^_^
sdwrage_ has quit [Quit: This computer has gone to sleep]
<TuxLyn>
But If I use dialog as terminal gui I can do this I thinnk hahaha
Lucky_Red has quit [Quit: Leaving...]
<TuxLyn>
bnagy, between its only insane because you think you're smart or smarter ;-) But we won't get into that now.
jonah_k has quit [Remote host closed the connection]
<TuxLyn>
Thanks again RubyPanther :)
amritanshu_RnD has joined #ruby
<bnagy>
it's insane because http is completely unauthenticated
<bnagy>
any mitm, any DNS poison, anything, and you're running random fricking code from whoever
amritanshu_RnD is now known as Guest400
crystal77 has quit [Quit: Computer has gone to sleep.]
<bnagy>
silently, because you used -s
freggles has joined #ruby
sdouglas has quit [Remote host closed the connection]
<bnagy>
so nobody in their right mind will ever use anything you offer via that method
snuffeluffegus has quit [Quit: Leaving]
<bnagy>
rvm at least uses https
<bricker`LA>
Using passenger-install-nginx-module, It's asking, "where do you want to install nginx to?" In previous versions I said /etc/nginx, where all the configuration lives. Now if I put that it says it'll also install the binary to that directory, but I want the binary in /usr/sbin. Should I keep it in /etc/nginx and then just symlink the binary? I want to keep things as much the same as possible.
dodosan has quit [Read error: Connection reset by peer]
dodosan_ has joined #ruby
jonah_k has joined #ruby
mven has quit [Ping timeout: 240 seconds]
crystal77 has joined #ruby
mven has joined #ruby
<agent_white>
Sounds like the strat to me.
dodosan has joined #ruby
<bricker`LA>
ah, nevermind, the compile options can take an sbin path flag
dodosan_ has quit [Read error: Connection reset by peer]
hermanmunster has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 252 seconds]
aces1up9939 has joined #ruby
Speed has joined #ruby
havenwood has joined #ruby
sikor_sxe has joined #ruby
hermanmu_ has quit [Ping timeout: 240 seconds]
jhass|off is now known as jhass
jonah_k has quit [Remote host closed the connection]
ws2k3__ is now known as ws2k3
<aces1up9939>
hey guys i'm running windows, im building a small console app, where i would like to have a top and bottem section, where they are updated independantly.. Not scrolling up the screen as each new puts happens.
verywiseman has quit [Read error: Connection reset by peer]
mocfive has quit [Remote host closed the connection]
mocfive has joined #ruby
Guest400 has joined #ruby
olivier_bK has joined #ruby
mary5030 has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
<kwertie>
hmm
<kwertie>
why is (var1 && var2) the last value, instead of a boolean?
Hanmac has joined #ruby
<kwertie>
I'd have thought that's what (var1 and var2) was for.
<jhass>
no, and just hash a lower (iirc) precedence
<tobiasvl>
&& and `and` are the same, but with different precedent
<jhass>
*has
yfeldblum has quit [Quit: Leaving...]
<tobiasvl>
precedence
<tobiasvl>
good morning
<jhass>
;)
<tobiasvl>
kwertie: to cast to a boolean in ruby, you can do something like !!(var1 && var2)
greenarrow has joined #ruby
mocfive has quit [Ping timeout: 244 seconds]
ahawkins has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
barratt has joined #ruby
TuxLyn has left #ruby ["Leaving"]
barratt has joined #ruby
yfeldblum has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
fijimunkii has quit [Quit: leaving]
yfeldblum has quit [Remote host closed the connection]
andrewlio has joined #ruby
yfeldblum has joined #ruby
pigzzcanfly has joined #ruby
<jhass>
gaussblurinc: I never came up with anything better for this than the recursive approach: http://paste.mrzyx.de/p558deb80/ but as the comments say your data structure is a bit inconsistent you should look into improving it
ahawkins has left #ruby [#ruby]
<tobiasvl>
kwertie: but all values in ruby evaluate to a false (only nil and false do this) boolean value or a true value
<nimf>
Happy Friday, everyone! :)
rh1n0 has quit [Quit: im out!]
ikaros has joined #ruby
joelroa_ has quit [Ping timeout: 244 seconds]
shiin has joined #ruby
pigzzcanfly has quit [Ping timeout: 240 seconds]
<gaussblurinc>
nimf: Happy last day of winter! :)
nari has quit [Ping timeout: 245 seconds]
axsuul has quit [Read error: Connection reset by peer]
SegFaultAX has quit [Excess Flood]
brucele_ has joined #ruby
axsuul has joined #ruby
user258467 has joined #ruby
SegFaultAX has joined #ruby
jprovazn has joined #ruby
mikecmpbll has joined #ruby
ndrei has joined #ruby
jzig has joined #ruby
Freijo is now known as Fraeon
eelseth has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
relix has joined #ruby
toretore has joined #ruby
hephaestus_rg has joined #ruby
jlebrech has joined #ruby
sdouglas has joined #ruby
jackneill has joined #ruby
hephaestus_rg has quit [Client Quit]
jzig has quit [Ping timeout: 265 seconds]
Zespre has joined #ruby
_bart_ has quit [Remote host closed the connection]
charkost has left #ruby [#ruby]
_bart has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
camilasan has quit [Remote host closed the connection]
Guest38100 has quit [Ping timeout: 244 seconds]
camilasan has joined #ruby
DaniG2k has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
camilasan has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Zespre has quit [Ping timeout: 252 seconds]
nari has joined #ruby
ctp has quit [Quit: Leaving...]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
rdark has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
twiceaday has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
djdb has joined #ruby
klaut has quit [Remote host closed the connection]
camilasa_ has quit [Read error: Connection reset by peer]
cih has joined #ruby
camilasan has joined #ruby
shredding has joined #ruby
AlexRussia has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
incade_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
mehlah has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
joonty_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
Wolland has quit [Remote host closed the connection]
camilasan has joined #ruby
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
incade has quit [Ping timeout: 240 seconds]
joonty has quit [Ping timeout: 252 seconds]
tkuchiki_ has joined #ruby
endash_ has joined #ruby
joelroa has joined #ruby
jprovazn has quit [Ping timeout: 244 seconds]
camilasan has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ciao.]
camilasan has joined #ruby
dseitz has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
jprovazn has joined #ruby
zeropx has quit [Quit: has left the room … Or did he?]
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
axsuul has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
davy has joined #ruby
Zespre has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
Zespre has quit [Client Quit]
joonty_ is now known as joonty
davy has quit [Read error: No route to host]
_HolyCow has quit [Read error: Connection reset by peer]
_HolyCow has joined #ruby
davy has joined #ruby
Kricir has quit [Remote host closed the connection]
gaussblurinc has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
nvrch has joined #ruby
chrisseaton has joined #ruby
davy has quit [Ping timeout: 240 seconds]
mourest has joined #ruby
mikecmpbll has quit [Client Quit]
fgo has joined #ruby
MrV_ has joined #ruby
dangerousdave has joined #ruby
m1lt0n has joined #ruby
gaussblurinc has joined #ruby
aagdbl has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
hiyosi has joined #ruby
jprovazn has quit [Remote host closed the connection]
hephaestus_rg has joined #ruby
Guest38100 has joined #ruby
Guest38100 has quit [Read error: Connection reset by peer]
TMM has joined #ruby
einarj has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
pigzzcanfly has joined #ruby
davidcollom is now known as davidcollom_afk
Geniack has joined #ruby
<Geniack>
hello, anyone experience with using this pprof ruby profiler?
hiyosi has quit [Ping timeout: 240 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
petey has joined #ruby
dodosan has quit [Remote host closed the connection]
OdNairy_ is now known as OdNairy
pigzzcanfly has quit [Ping timeout: 240 seconds]
petey has quit [Ping timeout: 240 seconds]
markisonfire has quit [Quit: markisonfire]
tedstriker has joined #ruby
<claymore>
is it possible to use keyword arguments, but without specifying default values for each argument? I want to do something like def foo(a); puts a; end; foo(a:2)
ctp has joined #ruby
Speed has quit [Read error: No route to host]
Speed has joined #ruby
Veejay has left #ruby ["WeeChat 0.4.0"]
Thanatermesis has quit [Ping timeout: 264 seconds]
<apeiros>
claymore: only as of 2.1
<apeiros>
def foo(a:)
_bart has quit [Remote host closed the connection]
<claymore>
ah, okay
<claymore>
apeiros: thanks
noopq has joined #ruby
postmodern has joined #ruby
wpp has quit []
Faris2 has quit [Ping timeout: 252 seconds]
<Geniack>
is nobody profiling his ruby code?
<apeiros>
we all write perfect code from start
<apeiros>
you don't?
jeekl_ is now known as jeekl
<Geniack>
this output tells me my code is spending 98% in garbage collector
<TMM>
It's more about expectations management with Ruby anyway
_bart has joined #ruby
kitak_ has joined #ruby
<Geniack>
and i wonder how i can adjust it, the script runs about 6 hrs straight and uses about 10 GB of ram
Kricir has joined #ruby
SegFaultAX has quit [Excess Flood]
_bart has quit [Read error: No route to host]
<apeiros>
Geniack: might consider jruby
<apeiros>
jvm has more advanced optimizers and gc. could pay off at a runtime of 6h
<Geniack>
ok but is there anyway to reduce the amount of time spent in gc using this exact code?
<Geniack>
do i have any control over it?
<apeiros>
newer ruby version have more control over it, through env variables
abstractj has quit [Changing host]
abstractj has joined #ruby
<apeiros>
I don't remember which and what they do, though.
jzig has joined #ruby
aces1up9939 has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
<krzkrz>
how do i check if a method exists for a class?
<Geniack>
mmh
kitak has quit [Ping timeout: 250 seconds]
aaronmcadam has joined #ruby
<apeiros>
krzkrz: Module#method_defined?
<Geniack>
but where is all this garbage coming from it needs to collect? i am not able to prevent producing them in the first place?
<tobiasvl>
or respond_to
<apeiros>
Geniack: garbage collection doesn't mean it actually does collect anything
<apeiros>
it just means the GC runs
<Geniack>
oO
<apeiros>
that includes going through all your objects and checking whether they actually *can* be collected
<jhass>
Geniack: depends a lot on what you're doing and how. If you don't care about RAM usage at all you could disable it: GC.disable
<apeiros>
and with 10GB RAM, that's probably quite a lot of objects
<Geniack>
i simply put GC.disable at the beginning of my script ?
_HolyCow has quit [Quit: Leaving.]
<jhass>
yes
aces1up9939 has joined #ruby
<Geniack>
ok let me try that
cih has left #ruby [#ruby]
nvrch has joined #ruby
* apeiros
wonders over the wisdom of this advice for a script which consumes 10GB *with* GC…
lkba has quit [Ping timeout: 240 seconds]
aasmith has quit [Ping timeout: 264 seconds]
<Geniack>
haha
<jhass>
I figured if he has a script that consumes that much and is asking how to make it faster instead of making it consume less ram he wouldn't care :P
<avril14th>
I have a startup idea. Create a IRC channel where you pay a guy to nick himself "client" and allow everyone to yell at him and insult him. Anyone in?
_bart has quit [Read error: Connection reset by peer]
_bart_ has joined #ruby
reset has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ismael_ has quit [Remote host closed the connection]
<apeiros>
sounds like a client I'd fire.
ismael_ has joined #ruby
<avril14th>
true
lxsameer has joined #ruby
lxsameer has joined #ruby
petey has quit [Ping timeout: 244 seconds]
fedesilva has joined #ruby
ismael_ has quit [Read error: Connection reset by peer]
sk87 has joined #ruby
lewix has joined #ruby
joelroa has joined #ruby
ismael_ has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
lxsameer has quit [Quit: Leaving]
ahmdrefat has joined #ruby
danshultz has joined #ruby
joelroa has quit [Ping timeout: 244 seconds]
datreh___ has quit [Ping timeout: 240 seconds]
mrnugget has joined #ruby
_bart_ has quit [Remote host closed the connection]
perldork has joined #ruby
datreh___ has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
JBreit has quit [Read error: Connection reset by peer]
jzig has joined #ruby
lkba has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
perldork has quit [Client Quit]
nvrch has quit [Quit: nvrch]
Kricir has joined #ruby
moneydouble has joined #ruby
roolo has quit [Quit: Leaving...]
jzig has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
sdouglas has joined #ruby
JBreit has joined #ruby
ismael_ has quit [Remote host closed the connection]
ismael_ has joined #ruby
reset has quit [Ping timeout: 244 seconds]
greenarrow has quit [Quit: 500]
moneydouble has quit [Client Quit]
Kneferilis has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
Faris has joined #ruby
Aryasam has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
Speed has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
Macaveli has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
ahmdrefat has quit [Quit: Computer has gone to sleep.]
<hackedhead>
can the included CSV parser really not handled spaces interleaved in rows between elements? ("one", "two") is malformed?
ismael_ has joined #ruby
<apeiros>
hackedhead: the included csv parser can handle valid csv
<apeiros>
it makes no attempts to handle invalid csv
<apeiros>
which is a sane decision.
<hackedhead>
apeiros: "valid csv" is not really a thing. csv is very loosely defined.
<elimS>
everything it cannot handle is invalid you say
<apeiros>
hackedhead: yes, it is really a thing
<apeiros>
hackedhead: people like you who think it isn't are the reason broken csv exists, though.
<elimS>
i can handle every thing
<elimS>
everything i cant
<elimS>
it is broken
<elimS>
deal with it
<apeiros>
if csv doesn't parse your data, it's probably because it isn't csv. if it isn't, you can either change the data to be valid csv, or write your own parser.
dangerousdave has quit []
Aryasam has quit [Ping timeout: 240 seconds]
<apeiros>
not sure what you meant with "interleaved in rows between elements", though.
<hackedhead>
apeiros: i'd understand if the "brokenness" made it non deterministic. but this is a dramatically common and simple case that probably ought to be handled
lewix has quit [Remote host closed the connection]
<workmad3>
apeiros: a space following the , before a quote character for the data
<eval-in___>
apeiros => Missing or stray quote in line 1 (CSV::MalformedCSVError) ... (https://eval.in/106953)
tyranja has quit [Ping timeout: 244 seconds]
<apeiros>
jhass: ^
pigzzcanfly has joined #ruby
<hackedhead>
so the ruby parser is standardized on what? RFC4180?
tyranja has joined #ruby
<apeiros>
not sure, you'd have to check the docs. I hope the mention the RFC used for implementation.
<hackedhead>
but you promise it's definitely perfect and not broken. such confidence.
m1lt0n has quit [Quit: leaving]
<hackedhead>
hahaha
<apeiros>
hackedhead: no
<apeiros>
it's software. it's likely to have bugs.
michael_lee has joined #ruby
<apeiros>
but until you show me that your supposedly csv formatted data is really csv, I'll assume that the years the CSV libs has is worth more than your random claim.
<eval-in___>
workmad3 => Unclosed quoted field on line 1. (CSV::MalformedCSVError) ... (https://eval.in/106954)
<workmad3>
heh, was curious as to what would happen :)
pigzzcanfly has quit [Ping timeout: 244 seconds]
mtjandra has quit [Quit: Leaving]
shashin has joined #ruby
<hackedhead>
workmad3: right so, i don't even see how that's broken.
<hackedhead>
even it it'd just emit '"one" ' ' "two" ' ' "three" '
<elimS>
when u make software the end users r ur clients, hence when u make library other programmers r ur clients. Imagine Google throw "Invalid query. Have fun implementing ur own search engine" at us
<apeiros>
hackedhead: read the ABNF of rfc4180
<workmad3>
hackedhead: because the quotes for a field need to be at the start and the end of the field, and the assumption is that the spaces are meaningful
<apeiros>
it doesn't allow space padding between fields.
<apeiros>
"foo","bar" <-- valid
<apeiros>
"foo", "bar" <-- invalid
_bart has quit [Remote host closed the connection]
Jdubs has joined #ruby
Jdubs has quit [Remote host closed the connection]
Aryasam has joined #ruby
reset has joined #ruby
<hackedhead>
okay. i guess i'll just pre-process this file with python's heretical csv parser.
ismael_ has quit [Remote host closed the connection]
davy has quit [Ping timeout: 269 seconds]
<apeiros>
in that case, non-csv parser :-p
ismael_ has joined #ruby
relix has joined #ruby
<hackedhead>
elimS: i think this must be why i don't use ruby. =\
<workmad3>
hackedhead: de-facto standard basically says 'spaces are meaningful and shouldn't be automatically trimmed. Also, quotes need surround the entire field if they're going to be used'
vlad_sta_ has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
<hackedhead>
workmad3: yes. i guess the flipside is "suck to be you if you have to deal with poor csv" is kind of a harsh stance for a project to take, i feel like.
S0da has joined #ruby
<workmad3>
hackedhead: put those together and you end up with 'one, two, three' being valid (and producing "one", " two", " three" as data) but '"one", "two", "three"' has ambiguous quoting that could be interpreted in multiple ways
vlad_starkov has joined #ruby
shaileshg has quit [Quit: Connection closed for inactivity]
ismael_ has quit [Ping timeout: 244 seconds]
ganesh_ has joined #ruby
ismael_ has joined #ruby
<workmad3>
hackedhead: if the CSV library was standalone and intended for use by non-coders, I'd agree with you... but it's not, it's intended for use by coders who know what they're doing and can do their own damn normalisation from whatever arbitrary crap their users are throwing at them ;)
DefV_ is now known as DefV
rubyracer has quit [Ping timeout: 240 seconds]
<apeiros>
accepting arbitrary crap is an incredible stupidity committed by far too many, resulting in lots and lots of bugs.
<apeiros>
thank you, but no thank you. I prefer a library properly crapping out on invalid input.
<elimS>
i remember u can put /* inside a block comment in C
<apeiros>
if you want to handle crappy user input, feel free to normalize the data based on your needs.
<elimS>
oh i said a stupid thing
<elimS>
nvm
<elimS>
sry
michael_lee has quit [Max SendQ exceeded]
hiyosi has joined #ruby
<hackedhead>
workmad3: thanks for at least being thorough instead of antagonistic.
IceDragon has joined #ruby
<hackedhead>
later.
hackedhead has left #ruby [#ruby]
yfeldblum has joined #ruby
michael_lee has joined #ruby
dingus_khan has joined #ruby
ismael_ has quit [Remote host closed the connection]
ahmdrefat has quit [Quit: Computer has gone to sleep.]
ganesh__ has joined #ruby
Kneferilis has joined #ruby
mizog has joined #ruby
ismael_ has joined #ruby
ahmdrefat has joined #ruby
<apeiros>
I really love those "I'm entitled to have my non-standard stuff be processed the way I expect it" types…</sarcasm>
mizog has left #ruby [#ruby]
ismael_ has quit [Read error: Connection reset by peer]
ismael_ has joined #ruby
ganesh_ has quit [Ping timeout: 240 seconds]
<workmad3>
apeiros: :)
sski has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 240 seconds]
<apeiros>
I imagine them standing in front of a vending machine, complaining loudly that it doesn't accept their pieces of paper with "$20" painted on it…
<apeiros>
"But it looks like real money!!!"
Xeago has quit [Remote host closed the connection]
sski has joined #ruby
grvgr has joined #ruby
fgo has joined #ruby
<workmad3>
apeiros: I hate vending machines that don't take my bottle caps after I've written '£1' on them with a permanent marker...
yfeldblum has quit [Ping timeout: 265 seconds]
bthesorceror has joined #ruby
ahmdrefat has quit [Ping timeout: 240 seconds]
lsmola has joined #ruby
kitak_ has quit [Remote host closed the connection]
ismael_ has quit [Remote host closed the connection]
ismael_ has joined #ruby
<apeiros>
yeah, stupid vending machines.
tolstoi has quit [Quit: Leaving]
sski has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 244 seconds]
<certainty>
i hate vending machines
<apeiros>
also love his passive aggressive comment about antagonism. of course he's completely oblivious that he started with…
datreh___ has quit [Quit: Computer has gone to sleep.]
lxsameer has joined #ruby
<apeiros>
</rant>
joelroa has joined #ruby
ismael_ has quit [Ping timeout: 241 seconds]
ismael_ has joined #ruby
benatkin_ has quit [Ping timeout: 244 seconds]
<certainty>
that reminds me of a song from "a perfect circle"
Kricir has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
davidcollom is now known as davidcollom_afk
davidcollom_afk is now known as davidcollom
<wuest>
apeiros: you're so antagonistic! :(
ganesh__ has quit [Quit: Konversation terminated!]
<certainty>
he's the beginning of antagonism
spider-mario has joined #ruby
rubyracer has joined #ruby
rubyracer has quit [Client Quit]
ismael_ has quit [Remote host closed the connection]
<apeiros>
/nick antagonizer
<wuest>
He embodies the concept of antagonism.
ismael_ has joined #ruby
joelroa has quit [Ping timeout: 244 seconds]
browndawg has joined #ruby
SegFaultAX has quit [Excess Flood]
Megtastique has joined #ruby
yasushi has joined #ruby
SegFaultAX has joined #ruby
<certainty>
so ruby 2.1 actually has switched to a hybrid of generational gc and mark and sweep?
Es0teric has quit [Remote host closed the connection]
ismael_ has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 244 seconds]
<apeiros>
as far as I understood, yes
jzig has joined #ruby
IceyEC has joined #ruby
<certainty>
that's nice
AlexRussia has quit [Remote host closed the connection]
<apeiros>
not sure. if I understood correctly, they sacrificed COW GC for it. haven't really read up on it, though.
yasushi has quit [Remote host closed the connection]
<elimS>
I dream of things that never were, and ask why not? I think that if a person looks at "one", "two", "three" he would parse it correctly. We surpose to make machine behave smarter not bending ourself to some rigid rules. If everyone is like you I suppose we still punching card with so many rules of format (If we are lucky enough to invent computer)
vt102 has joined #ruby
AlexRussia has joined #ruby
JasmeetQA has quit [Ping timeout: 240 seconds]
<apeiros>
elimS: go ahead, implement it. call it something differently than CSV.
dvorak_ has quit [Quit: leaving]
matiasmm has joined #ruby
_bart has joined #ruby
<apeiros>
CSV is a human *readable* format.
ikaros has quit [Remote host closed the connection]
randomnick_ has joined #ruby
<apeiros>
if you think humans should *write* it, well then you have to bend to machine rules.
bthesorceror has quit [Remote host closed the connection]
tvw has quit []
ikaros has joined #ruby
jzig has quit [Ping timeout: 240 seconds]
<apeiros>
but making machines parse human written stuff for machine-to-machine communication is utter stupidity.
krzkrz has quit [Quit: WeeChat 0.4.3]
bthesorceror has joined #ruby
<apeiros>
and usually that utter stupidity is uttered by people who never bothered to either implement such a mechanism and live with it, or even ponder the consequences.
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blaxter_ has quit [Quit: foo]
<apeiros>
uh, gist down?
<elimS>
u sound like hitler
<elimS>
like anyone who i think is inferior (stupid)
elimS was kicked from #ruby by apeiros [sorry, but that's not tolerated]
<certainty>
i was waiting for it
* wuest
resets the 'days since godwin' counter
jlast has joined #ruby
dblessing has joined #ruby
dingus_khan has quit [Remote host closed the connection]
bthesorceror has quit [Ping timeout: 244 seconds]
Ox6abe has joined #ruby
elimS is now known as PoorJew
PoorJew has joined #ruby
greenarrow has joined #ruby
<Ox6abe>
Anyone know how to make your own mock in ruby without using any gems or rspec? I am using test-unit.
MrV_ has quit [Quit: MrV_]
<apeiros>
Ox6abe: mock = Object.new; def mock.i_expect_this; …; end
<wuest>
Ox6abe: can you tell me what a mock object is?
sski has joined #ruby
<apeiros>
if you really mean mock and not actually stub, then you'll have to add a counter for the calls to it and a teardown method which compares the counted calls with the expected
<Ox6abe>
It is a mock for a web call
<wuest>
apeiros: I guess your method is more direct
<apeiros>
wuest: of kicking and banning? :)
jzig has joined #ruby
<wuest>
No, of just saying outright the easiest method of mocking, rather than forcing people to think. ;)
<apeiros>
wuest: well, I only showed stubbing
* wuest
is too used to teaching people; rarely answers outright anymore
<apeiros>
I think your question is justified
jlast has quit [Ping timeout: 244 seconds]
yasushi has quit [Remote host closed the connection]
<apeiros>
wuest: yeah, I often do that too. Don't know what's actually the threshold where I just outright give solutions.
<wuest>
But also, yes. Your method of responding to Godwin is similarly more direct; thank you.
<Ox6abe>
i have a method get_stock_price that might call another method that actually gets a csv file and parses it for some value
<Ox6abe>
but I just want it mock the call I guess
<Ox6abe>
The test should do this:
<Ox6abe>
... do stuff to setup mock so it returns whatevervalue when called...
<Ox6abe>
... do stuff to get the mock injected so get_stock_price can use it...
<apeiros>
I should bookmark a better page explaining the diffs…
<apeiros>
Ox6abe: I think you want a stub, not a mock.
<Ox6abe>
Don't i need a mock since the actual method would be calling a web service?
chuk has quit [Ping timeout: 252 seconds]
<fflush>
bonjour
mark_locklear has joined #ruby
<matiasmm>
/join #compass
Xeago has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
<apeiros>
Ox6abe: see the link I pasted for an explanation of the difference
<apeiros>
bonjour fflush
jzig has quit [Ping timeout: 244 seconds]
alexherbo2 has joined #ruby
pigzzcanfly has joined #ruby
<wuest>
hei fflush
<apeiros>
aaaand of course now I don't remember the nick of that australian guy who asked for ops :-S
<fflush>
hei
snath has quit [Ping timeout: 264 seconds]
_bart has quit []
three18ti has quit [Ping timeout: 264 seconds]
<fflush>
can I have ops ?
tagrudev has quit [Remote host closed the connection]
kpshek has joined #ruby
fedesilv_ has joined #ruby
Lewoco_ has joined #ruby
pigzzcanfly has quit [Ping timeout: 244 seconds]
prc has quit [Ping timeout: 264 seconds]
tyranja has quit [Ping timeout: 240 seconds]
fedesilva has quit [Ping timeout: 240 seconds]
tyranja has joined #ruby
reset has quit [Ping timeout: 240 seconds]
fedesilv_ has quit [Remote host closed the connection]
arcwhite has quit [Quit: arcwhite]
<tobiasvl>
OPS FOR EVERYONE!
<Ox6abe>
lol
kaldrenon has joined #ruby
davedev24 has joined #ruby
tgkokk has joined #ruby
<apeiros>
/cs op #ruby everyone
<apeiros>
everyone is not logged in…
sk87 has joined #ruby
<fflush>
I will give ops to the good soul that enlighten my ignorance
<fflush>
how would I go about listing processes on asystem that not /proc/ filesystem mounted (linux)
64MAADT34 has joined #ruby
zumba_addict has joined #ruby
dangerousdave has joined #ruby
<shabgard>
guys?
<fflush>
girls?
<shabgard>
how can I tell the consumers of my methods, the type of the args
<shabgard>
?
Ox6abe has quit []
<apeiros>
fflush: shell out to ps?
<apeiros>
I don't think the Process module has any methods to list processes :-/
aagdbl has joined #ruby
<fflush>
ps relies on /proc AFAIK
<fflush>
when you strace ps , yous ee it parsing /proc
<fflush>
when you dont have /proc mounted , you would get no results
sailias has joined #ruby
<apeiros>
I don't have /proc and a ps which works
brucele_ has joined #ruby
<apeiros>
but maybe that's a diff between bsd and gnu ps
fschuindt has joined #ruby
<fflush>
hummm
<fflush>
you have bsd ps on linux system ?
ndrei has quit [Ping timeout: 244 seconds]
danshultz has quit [Remote host closed the connection]
fedesilva has joined #ruby
danshultz has joined #ruby
rmorello has joined #ruby
mrnugget has quit [Quit: mrnugget]
shaileshg has joined #ruby
brucele_ has quit [Ping timeout: 240 seconds]
lw has quit [Ping timeout: 264 seconds]
bthesorceror has joined #ruby
<shaileshg>
Hi, what does validation of locale means in "[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message." ?
lxsameer has quit [Ping timeout: 240 seconds]
danshult_ has joined #ruby
<apeiros>
fflush: no, I have bsd ps on a bsd system
danshultz has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
bthesorceror has quit [Remote host closed the connection]
tjr9898 has joined #ruby
ndrei has joined #ruby
bthesorceror has joined #ruby
yfeldblum has joined #ruby
lw has joined #ruby
matchaw has quit [Ping timeout: 240 seconds]
bthesorc_ has joined #ruby
gnephiak has joined #ruby
bthesorceror has quit [Remote host closed the connection]
Zespre has joined #ruby
<lpavan>
apeiros, why do you use bsd?
<apeiros>
lpavan: because OSX is based on bsd
webgen has joined #ruby
Lewoco_ has quit [Quit: Leaving]
petey has joined #ruby
recursive has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
heftig has joined #ruby
niftyn8 has joined #ruby
<lpavan>
apeiros, yeah ok I thought you used openbsd or other alternative os lol
<apeiros>
:)
yfeldblum has quit [Ping timeout: 265 seconds]
<apeiros>
no, I'm far too lazy for that
meinside__ has joined #ruby
reset has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
stringoO has joined #ruby
petey has quit [Ping timeout: 244 seconds]
recursive has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
_HolyCow has joined #ruby
sk87 has joined #ruby
blackmesa has joined #ruby
m8 has joined #ruby
BackEndCoder has joined #ruby
joelroa has joined #ruby
rodasc has joined #ruby
Azulinho has joined #ruby
yasushi has joined #ruby
lxsameer has joined #ruby
yasushi has quit [Read error: Connection reset by peer]
crodas has quit [Ping timeout: 264 seconds]
ddd_ is now known as ddd
yasushi has joined #ruby
sk87 has quit [Client Quit]
hermanmunster has quit [Remote host closed the connection]
tabchour_ has joined #ruby
makara has quit [Ping timeout: 244 seconds]
ziyadb_ has quit [Quit: Connection closed for inactivity]
joelroa has quit [Ping timeout: 244 seconds]
datreh___ has joined #ruby
ringaroses has joined #ruby
reset has quit [Ping timeout: 243 seconds]
<fflush>
ok
Kricir has joined #ruby
SegFaultAX has quit [Excess Flood]
aagdbl has quit [Quit: This computer has gone to sleep]
nouitfvf has joined #ruby
aagdbl has joined #ruby
weie has quit [Read error: Connection reset by peer]
niftyn8 has quit [Ping timeout: 240 seconds]
aagdbl has quit [Client Quit]
weie has joined #ruby
m1lt0n has joined #ruby
TMM has quit [Quit: Ex-Chat]
sk87 has joined #ruby
datreh___ has quit [Ping timeout: 240 seconds]
ringaroses has quit [Ping timeout: 244 seconds]
andy___ has joined #ruby
andy___ is now known as Guest10175
MrV has joined #ruby
crystal77 has joined #ruby
Aryasam has quit [Quit: Bye]
fedesilva has quit [Remote host closed the connection]
MrV has quit [Client Quit]
eka has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
scottradcliff has joined #ruby
SegFaultAX has joined #ruby
jlast has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
tabchour_ has quit [Quit: Leaving]
pigzzcanfly has joined #ruby
slowcon has quit []
tvw has joined #ruby
PoorJew is now known as DreamInCode
diegoviola has quit [Quit: WeeChat 0.4.3]
hermanmunster has joined #ruby
jlast has quit [Ping timeout: 244 seconds]
IceDragon has quit [Quit: Space~~~]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
danshult_ has quit [Remote host closed the connection]
dorei has joined #ruby
matiasmm has quit [Ping timeout: 245 seconds]
sparrovv has joined #ruby
pigzzcanfly has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby
Xeago has quit [Remote host closed the connection]
danshultz has joined #ruby
Czupa has joined #ruby
kcombs has joined #ruby
kukyakya has quit [Ping timeout: 252 seconds]
Avahey has quit [Quit: Connection closed for inactivity]
kukyakya has joined #ruby
sk87 has joined #ruby
koell has joined #ruby
scttnlsn has joined #ruby
Speed has joined #ruby
ffranz has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PaulePan1er is now known as PaulePanter
codabrink has joined #ruby
koell has quit [Client Quit]
koell has joined #ruby
sdouglas has joined #ruby
endash_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
Radar_ is now known as Radar
sambao21 has quit [Client Quit]
koell has quit [Write error: Connection reset by peer]
avril14th has quit [Quit: Page closed]
sambao21 has joined #ruby
jzig has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jlast has joined #ruby
Spami has joined #ruby
nfk has quit [Excess Flood]
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crystal77 has quit [Quit: Computer has gone to sleep.]
<pontiki>
hum
<pontiki>
in cases where you need to test with a service that does web callbacks (and therefore needs an open endpoint), how do you do that in a development and testing environment? our only open endpoints far are production ones.
it_tard has joined #ruby
koell has joined #ruby
<pontiki>
specifically, testing Braintree's webhooks here, if anyone knows about them
workmad3 has joined #ruby
sk87 has joined #ruby
enebo has joined #ruby
Wolland has joined #ruby
RaCx has joined #ruby
kpshek has quit []
Spami has quit [Quit: Leaving]
sambao21 has quit [Ping timeout: 244 seconds]
v0n has joined #ruby
incade_ has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
fedesilva has joined #ruby
vongrippen_ is now known as vongrippen
hiyosi has joined #ruby
Hamburglr has joined #ruby
yfeldblum has joined #ruby
<jhass>
pontiki: webmock?
Spami has joined #ruby
shashin has quit [Quit: shashin]
TMM has joined #ruby
<pontiki>
i need to actually test the hooks
markolson has joined #ruby
satan_ has joined #ruby
<pontiki>
since are GET requests coming from the service itself
Spami has quit [Client Quit]
<pontiki>
since these*
<satan_>
what do you guys use ruby on rails for ?
<workmad3>
satan_: EVERYTHING!!!!
<pontiki>
to kill devils
<satan_>
i mean is there anything interesting
omegahm has quit [Ping timeout: 245 seconds]
jetblack has joined #ruby
<satan_>
i am no devil
<pontiki>
not damn thing, move along
<satan_>
i am the
<satan_>
you get it
<workmad3>
satan_: quiet morningstar, we'll call you a devil if we wish :P
<pontiki>
must be nice to have so much time on your hands that you find it fun to waste everyone elses so you can get a life.
<pontiki>
laugh*
<pontiki>
or life
<pontiki>
either
<pontiki>
i feel sorry for you
<satan_>
i dont know
<satan_>
i used to do programming
<satan_>
but now i am wondering what to put my programming ksills into
Spami has joined #ruby
<satan_>
language and new technology
hiyosi has quit [Ping timeout: 240 seconds]
<satan_>
i uused to fixed on C
<satan_>
C C C all day and night
<workmad3>
satan_: pfft, programming is so last millenia... I do brogramming...
gasbakid has joined #ruby
<pontiki>
i guess i do girlgramming, then...
yfeldblum has quit [Ping timeout: 265 seconds]
<satan_>
brogrammign sounds coool
<satan_>
how do i get into it lol
<workmad3>
pontiki: nah, it's the new, modern use of 'bro' in a gender-neutral manner... similar to dude ;)
<certainty>
pontiki: more like sisgramming
<satan_>
yea i dont think he was being seist
<pontiki>
except from what i see, it's hardly that
<satan_>
sexist*
<certainty>
or what workmad said
<workmad3>
if I was being sexist I'd have suggested 'hogramming'...
zachallett has joined #ruby
<workmad3>
so it's just as well I wasn't, and that term never appeared ;)
<satan_>
yea women dont understand brothers
sski has quit [Remote host closed the connection]
<pontiki>
i think you're confusing deliberate vs. incidental
<pontiki>
see? there ya go
mlpinit has joined #ruby
<satan_>
its just so ... i dont live in a hive comuntiy
sski has joined #ruby
<pontiki>
yes you do
<satan_>
thank God for that .. if anything turns out like women producing millions of babies ..ill hang myself
<satan_>
next thing you know hitler is back on the ramp
<workmad3>
pontiki: see, this is why I get confused by arguments about incidental sexism... there's so much deliberate sexism around still, surely that's a much better target? :)
<pontiki>
you're stoking him up now?
<pontiki>
some people are irredeemable, workmad3
<workmad3>
right, meeting... later all
<pontiki>
perhaps you'd like them to be the lightning rod, tho
<pontiki>
oh, </sarcasm> :P
lw has quit [Quit: s]
<workmad3>
pontiki: yeah, go and aim your tesla coil at them, not me ;)
<pontiki>
zzzZZZZZZZappppity ZAP ZAP
deepender has joined #ruby
<pontiki>
let us get together and cotune our tesla coils
<satan_>
i think its the allusion to sexist that catches everyones mind
elaptics is now known as elaptics`away
freerobby1 has quit [Quit: Leaving.]
<satan_>
no one is really ever to sexist for there own goodness
<satan_>
just like at some point every guy wanted to be some girl
<pontiki>
of course not. denial is a great coping tool
<satan_>
and every girl wanted to be some guy
<deepender>
I come across a very good code of ruby
sski has quit [Ping timeout: 240 seconds]
<deepender>
I am not able to understand, can anyone help?
<deepender>
The code is this
<deepender>
class ABC
<satan_>
what girl dosnt think..if i was billgates or a saudi arab
<satan_>
what could i not do
<deepender>
def def
ismael_ has joined #ruby
<certainty>
deepender: please use a paste service
SirFunk_ has quit [Read error: Connection reset by peer]
joelroa has joined #ruby
reset has joined #ruby
SirFunk has joined #ruby
<deepender>
Let me create a gist much better that way.
<yo61>
Is there some change in ruby2 vs. 1.9.3 which means gems installed from local gem files do not satisfy dependencies?
<deepender>
I am not able to understand how cached_callback is called
sparrovv_ has joined #ruby
<certainty>
sometimes i have to point out to my wife that a statement was sexist, she doesn't even notice from time to time anymore
sparrovv_ has quit [Remote host closed the connection]
_zxq9_ is now known as zxq9
bean has joined #ruby
speed2 has joined #ruby
<deepender>
without even declaring a function or even this class doesn't include any module also
Speed has quit [Ping timeout: 240 seconds]
twiceaday has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
<deepender>
certainity: can you help
lw has joined #ruby
ismael_ has quit [Remote host closed the connection]
<certainty>
deepender: i don't think cached_callback is method of any class or module of core/stdlib
<deepender>
yes
<deepender>
its not
lw has quit [Max SendQ exceeded]
twiceaday has joined #ruby
Vovko has joined #ruby
ismael_ has joined #ruby
sparrovv has quit [Ping timeout: 241 seconds]
mehlah has joined #ruby
lw has joined #ruby
<deepender>
is there any way I can call other method in class without even specifying module
<deepender>
inside class
<yo61>
ie. if I do gem install --install-dir foo-1.2.3.gem bar-2.3.4.gem where foo=1.2.3 is a requirement of bar then I get an error that foo-1.2.3
<deepender>
like some global module which entire directory will use
<yo61>
is not available
<certainty>
deepender: Yes. If you add it to a parent of that class
<wuest>
deepender: that method is almost certainly defined elsewhere.
reset has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 269 seconds]
<jhass>
deepender: sure, parent class, define the method on the top level or inside Kernel
<deepender>
Yes
<certainty>
deepender: like Object, ore Kernle
<wuest>
("Almost certainly" because behavior may be defined relying on method_missing, instead)
<certainty>
Kernel
<wuest>
(PSA: please don't rely on method_missing)
sparrovv has joined #ruby
<certainty>
damn i'm lagging
omegahm has joined #ruby
mehlah has quit [Client Quit]
xerox357 has joined #ruby
<deepender>
I think the parent class of this class is object only
crystal77 has joined #ruby
tymat has joined #ruby
<deepender>
and I don't think any good programmer will touch that
xerox357 has quit [Client Quit]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xerox357 has joined #ruby
<jhass>
deepender: try p method(:cached_callback).source_location somewhere in that class
jzig has quit [Ping timeout: 244 seconds]
ismael_ has quit [Ping timeout: 240 seconds]
Guest400 has quit [Quit: Leaving]
<deepender>
I don't have full code :(
<deepender>
just few files
TwinkleH1od is now known as TwinkleHood
<deepender>
that's why I am not able to understand even thought class is not subclass
<deepender>
doesn't include any module still
<deepender>
it is using some external function
<deepender>
and the code works that's for sure
OdNairy_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<deepender>
jhass: , wuest:. certainity:?
<jhass>
well you got the answers where it's possibly defined
<deepender>
Where?
speed2 has quit [Ping timeout: 247 seconds]
<deepender>
jhass:
nisstyre has joined #ruby
jjbohn has joined #ruby
<jhass>
okay once more: it can be defined at the same toplevel as the class, it's parent class (Object in this case) or some module included by Object, most commonly used for that is Kernel
pigzzcanfly has joined #ruby
<deepender>
so you touch source code for this, that is you open object class
<deepender>
didn't know this approach?
<apeiros>
or simpler put: anywhere in YourClass.ancestors (Object and Kernel both show up there)
sdouglas has quit [Remote host closed the connection]
<apeiros>
one alternative is method_missing
<apeiros>
>> class Object; def yabba!; "yabbadabbadoooh!"; end; 12.yabba!
npearson has quit [Remote host closed the connection]
<deepender>
got it
zz_jrhorn424 is now known as jrhorn424
npearson has joined #ruby
Kricir has joined #ruby
dingus_khan has joined #ruby
<deepender>
Is the good approach if you have 6 or 7 file and want to add methods in all of them rather than including module in all of them?
pigzzcanfly has quit [Ping timeout: 240 seconds]
<apeiros>
no
<apeiros>
Object is only for methods which you want to be truly available on *every* object
<deepender>
what is the better approach?
kitak has joined #ruby
<apeiros>
Kernel is only for module functions, that is, methods which make no use of self, are private, and are available as Kernel.that_method as well
<apeiros>
deepender: as you already said - include
lw has quit [Quit: s]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<jhass>
or just make it a module function somewhere: Callbacks.cached(...)
<apeiros>
inheritance and delegation are rubys mechanisms for code sharing. include and subclass are inheritance.
kirun has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
<deepender>
yeah
petey has joined #ruby
<apeiros>
jhass suggestion would be an example of delegation
<apeiros>
*jhass'
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
<deepender>
yes
kukyakya has quit [Ping timeout: 244 seconds]
LastWhisper has joined #ruby
<apeiros>
if you don't need object state, delegation is to be preferred IMO.
<deepender>
yes, I agree
michael_lee has quit [Quit: Ex-Chat]
<deepender>
or if it has to be shared among various classes
<deepender>
then also
<apeiros>
o0
<apeiros>
ah
<apeiros>
yes
<jhass>
and even if you do I quite often resort to pattern like class Foo, def self.something(*args); new(*args).something; end; end;
<apeiros>
shared state somewhat requires delegation
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
dingus_khan has quit [Ping timeout: 240 seconds]
slowcon has joined #ruby
<deepender>
thanks apeiros and jhass
<apeiros>
jhass: yeah, I have a couple of those too
<apeiros>
e.g. ISO::IBAN.valid?(number)
robbyoconnor has quit [Ping timeout: 252 seconds]
<apeiros>
just a shortcut for ISO::IBAN.new(number).valid?
rm__ has quit [Remote host closed the connection]
rm_ has joined #ruby
tgkokk has joined #ruby
tgkokk has quit [Max SendQ exceeded]
RaCx has quit [Quit: Computer has gone to sleep.]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
niftyn8 has joined #ruby
Kricir has quit [Ping timeout: 242 seconds]
tgkokk has joined #ruby
tgkokk has quit [Max SendQ exceeded]
ohwhoa has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
sski has joined #ruby
jrhorn424 is now known as zz_jrhorn424
eelseth has quit [Ping timeout: 240 seconds]
browndawg has quit [Quit: Leaving.]
ohwhoa has quit [Client Quit]
tgkokk has joined #ruby
jobewan has joined #ruby
kitak has quit [Remote host closed the connection]
tgkokk has quit [Max SendQ exceeded]
elaptics`away is now known as elaptics
rm_ has quit [Ping timeout: 244 seconds]
hoypriest has joined #ruby
kitak has joined #ruby
tgkokk has joined #ruby
tgkokk has quit [Max SendQ exceeded]
kirun has joined #ruby
neoice has quit [Quit: Lost terminal]
yasushi has quit [Remote host closed the connection]
sski has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
DropsOfSerenity has joined #ruby
Jdubs has joined #ruby
sdouglas has joined #ruby
diegovio1 has joined #ruby
Xeago has joined #ruby
JasmeetQA has joined #ruby
anarang has quit [Quit: Leaving]
diegovio1 is now known as diegoviola
dangerousdave has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
Jdubs has quit [Remote host closed the connection]
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Parker0 has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 244 seconds]
kpshek has joined #ruby
fedesilva has quit [Remote host closed the connection]
axl_ has joined #ruby
garndt has joined #ruby
lw has joined #ruby
geopet has joined #ruby
Jdubs has joined #ruby
fantazo has joined #ruby
_maes_ has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
lxsameer has quit [Quit: Leaving]
klaut_ has quit [Remote host closed the connection]
m1lt0n has quit [Quit: leaving]
freerobby has joined #ruby
lw has quit [Ping timeout: 244 seconds]
VTLob has joined #ruby
rippa has joined #ruby
SCommette has joined #ruby
it_tard is now known as nfk
tt1187 has joined #ruby
browndawg has joined #ruby
klaut_ has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
csq has joined #ruby
poguez_ has joined #ruby
lmickh has joined #ruby
nateberkopec has joined #ruby
yarou has joined #ruby
hiyosi has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
ndrei has joined #ruby
garndt has left #ruby [#ruby]
giangn has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
<giangn>
hello
<giangn>
is there any difference in performance between a += 1 and a.increment! ?
mansi has joined #ruby
tymat has quit [Quit: Leaving]
tjr9898 has joined #ruby
spyderman4g63 has joined #ruby
sailias has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 244 seconds]
sailias has joined #ruby
hamakn_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 265 seconds]
<apeiros>
giangn: there is no a.increment!
sparrovv has quit [Remote host closed the connection]
atno has joined #ruby
<giangn>
apeiros: oh i guess increment is actually a Rails method, sorry
einarj has quit [Remote host closed the connection]
<lethjakman>
does (1..100) === 3 actually create an array of 1-100?
<lethjakman>
or is it just checking if 3 >= 1 <= 100
robbyoconnor has joined #ruby
robbyoconnor has quit [Write error: Connection reset by peer]
IceDragon has joined #ruby
<aaronmcadam>
Not entirely sure the lexer would know your intent
yeticry has joined #ruby
mansi has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
momomomomo has joined #ruby
lw has quit [Quit: s]
mansi has joined #ruby
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
Kricir has quit [Ping timeout: 269 seconds]
omegahm has quit [Ping timeout: 245 seconds]
<lethjakman>
hmmm...is there any way to check?
mansi has quit [Read error: Connection reset by peer]
<jhass>
it's defining a Range object and calling the #=== method on it
<jhass>
I find 3.between?(1, 100) much clearer
sdouglas has quit [Remote host closed the connection]
mansi has joined #ruby
sdouglas has joined #ruby
lsmola has quit [Ping timeout: 244 seconds]
heftig has quit [Quit: Quitting]
nomenkun_ has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
sailias has quit [Remote host closed the connection]
mansi has joined #ruby
tjr9898 has quit [Read error: Connection reset by peer]
mansi has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
zachallett has quit [Remote host closed the connection]
geopet has joined #ruby
apeiros has joined #ruby
sailias has joined #ruby
sdwrage has joined #ruby
philcrissman has joined #ruby
kirun__ has joined #ruby
camilasan has quit []
acrussell has joined #ruby
lethjakman has quit [Ping timeout: 244 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
kirun__ has quit [Client Quit]
<Guest10175>
is there a library that can be combined with mechanize to take screenshots?
lw has joined #ruby
mansi has joined #ruby
lw has quit [Client Quit]
pskosinski has joined #ruby
mando has joined #ruby
kirun_ has quit [Ping timeout: 269 seconds]
<existensil>
Guest10175: phantomjs ?
Salve has joined #ruby
<existensil>
you can use it directly or through capybara or something else. its not hard to just use directly though.
dideler_work has joined #ruby
hiyosi has joined #ruby
<Guest10175>
ok, does phantomjs allows posting data to a page?
pwh_ has quit []
yfeldblum has joined #ruby
grvgr has joined #ruby
<existensil>
sure
<Guest10175>
cool thanks existensil
<existensil>
np
dangerousdave has joined #ruby
zachallett has joined #ruby
IceDragon has quit [Ping timeout: 244 seconds]
IceDragon has joined #ruby
end_guy has joined #ruby
kzrl has joined #ruby
scottradcliff has quit [Quit: scottradcliff]
nvrch has quit [Quit: nvrch]
Jdubs has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 240 seconds]
<deepender>
In ruby multi threading.The interpreter will close even if there are other threads inside of it that are still running.
<deepender>
Is this solved in new ruby version
<jhass>
use Thread#join
yfeldblum has quit [Ping timeout: 265 seconds]
<deepender>
cool
larsam has quit [Ping timeout: 240 seconds]
<dideler_work>
i have a method, "foo", which yields objects. i want to count how many are yielded. my count method looks something like `count = 0; foo(arg) do { |f| count += 1 }; count`
guilleiguaran has joined #ruby
<dideler_work>
but that seems messy. is there a better way?
<jhass>
dideler_work: look into Enumerator
<dideler_work>
jhass: ok thanks
<certainty>
deepender: you will want to .join thread with the primordinal thread
malkomalko has joined #ruby
npearson has quit [Remote host closed the connection]
<certainty>
threads+
npearson has joined #ruby
vlad_starkov has quit [Write error: Broken pipe]
mikecmpbll has quit [Quit: ciao.]
<deepender>
thanks
<certainty>
primordial? i keep forgetting this
<existensil>
all child threads should be stopped if the parent thread quits
<certainty>
crazy english language
Speed has quit [Ping timeout: 247 seconds]
shredding has quit [Write error: Broken pipe]
browndawg has quit [Write error: Connection timed out]
user258467 has quit [Quit: Quitte]
TMM has quit [Quit: Ex-Chat]
AlexRussia has quit [Remote host closed the connection]
npearson has quit [Remote host closed the connection]
<sepatar>
Anyone who could help me with an ftp script I'm working on?
obs has quit [Quit: Konversation terminated!]
lw has joined #ruby
hamakn has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
nouitfvf has quit []
sambao21 has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 241 seconds]
<sepatar>
Is anyone even here?
jonno11 has joined #ruby
<jhass>
no, nobody
<jhass>
not even you
<sepatar>
D:
saarinen has joined #ruby
<sepatar>
Could I ask for your help on something?
jrhorn424 is now known as zz_jrhorn424
<jhass>
don't ask to ask, just ask
hamakn has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Ping timeout: 252 seconds]
aganov has quit [Remote host closed the connection]
geopet_ has joined #ruby
petey has quit [Ping timeout: 240 seconds]
jonah_k has joined #ruby
sailias has quit [Remote host closed the connection]
<sepatar>
Okay, http://pastebin.com/c3Rx2xMM is the script I've been working on (a far from perfect ftp client) and it won't recognize ftp as a method or variable
<sepatar>
What do
pigzzcanfly has joined #ruby
<jhass>
post the exact error message you get
geopet has quit [Ping timeout: 270 seconds]
budrose has joined #ruby
<jhass>
btw. you can save all the parens, especially since you put a space in front of them there's no difference to totally omitting them
endash_ has quit [Quit: endash_]
zeeraw has joined #ruby
npearson has quit [Remote host closed the connection]
npearson_ has joined #ruby
sailias has joined #ruby
<sepatar>
ftpclient.rb:10:in 'conn': undefined local variable or method 'ftp' for main:Object (NameError) from ftp.client.rb:58:in '<main>'
Azure has quit [Quit: My MBP went to sleep.]
zachallett has quit [Remote host closed the connection]
razrunelord has joined #ruby
parduse has quit [Ping timeout: 252 seconds]
parduse has joined #ruby
parduse has left #ruby [#ruby]
sailias has quit [Remote host closed the connection]
parduse has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
Jdubs has joined #ruby
carlyle has joined #ruby
sailias has joined #ruby
eichenwald has joined #ruby
davidcollom is now known as davidcollom_
<eichenwald>
#rubyonrails
Azure has joined #ruby
<jhass>
sepatar: well, you can't access a local in a method
tvw has joined #ruby
<jhass>
sepatar: you could make ftp a instance variable (@ftp) or pass it to each method as parameter
mehlah has quit [Quit: Leaving...]
mlpinit_ has joined #ruby
<sepatar>
I tried putting a $ before it so it's $ftp but still get the same error
<jhass>
no, don't use globals
kartouch has joined #ruby
<sepatar>
What's the difference between an instance and a global?
<jhass>
the proper solution would be to make it a class but since I figured you're still learning
<certainty>
though that should work generally
Lucky_Red has joined #ruby
zachallett has joined #ruby
<sepatar>
I saw some solution using classes but it's a bit out of my depth right now
<jhass>
so for now make it an instance variable (@ftp, _all_ occurrences)
bahar has quit [Changing host]
bahar has joined #ruby
<sepatar>
Haven't fully grasped the OO part of ruby
Jdubs has quit [Remote host closed the connection]
absolutezeroff has quit [Disconnected by services]
momomomomo has quit [Ping timeout: 240 seconds]
browndawg has quit [Read error: Connection timed out]
maletor has joined #ruby
maletor has quit [Read error: Connection reset by peer]
ff__ has joined #ruby
marcgg_ has joined #ruby
maletor has joined #ruby
saarinen has quit [Quit: saarinen]
browndawg has joined #ruby
<sepatar>
Okay so I've just put ftp=Net::FTP.new into each method and it seems to work now
<sepatar>
Still don't understand why it didn't work as a global variable though
<jhass>
no that's not good
maletor has quit [Read error: Connection reset by peer]
maletor has joined #ruby
geggam has joined #ruby
<sepatar>
alright so now once it finishes the conn method and initiates the login it appears to disconnect all together
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
<jhass>
that's because you don't keep the Net::FTP object but make a new one each time
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sepatar>
Ohhh that makes sense actually
lw has quit [Quit: s]
roolo has quit [Quit: Leaving...]
petey has joined #ruby
jonno11 has joined #ruby
Celm has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
sailias has quit [Quit: Leaving.]
binaryhat has joined #ruby
<sepatar>
Seeing as global variables don't appear to work here I think the best thing I can do is go learn about classes and then try again using class variables
andikr has quit [Remote host closed the connection]
omegahm has joined #ruby
maletor has quit [Ping timeout: 242 seconds]
marcgg_ has quit [Ping timeout: 242 seconds]
<sepatar>
thank you for all the help!
<jhass>
or you could use an instance variable (@ftp) since in ruby the top level is already an object actually (*sigh* third time)
Voodoofish4301 has joined #ruby
jonno11 has quit [Client Quit]
<TheLarkInn>
HTTParty ftw
<TheLarkInn>
:-P
slowcon has quit []
<sepatar>
Already trid that and got the same problem
<TheLarkInn>
darnit!
<sepatar>
*tried
<jhass>
I bet you didn't replace _all_ occurrences
<sepatar>
Oh, so I change all the ftp.x functions to @ftp.x?
<jhass>
yes
luke_ has joined #ruby
<TheLarkInn>
jhass: lol 3rd times a charm
danshultz has quit [Remote host closed the connection]
aaronmcadam has quit [Ping timeout: 244 seconds]
wjlafrance has joined #ruby
<sepatar>
My apologies, I misunderstood the first time.
<sepatar>
Everything works great now except ftp.list doesn't seem to be doing anything
vosycj has joined #ruby
nimf_ has joined #ruby
<sepatar>
Could also be the server itself though so I'm not too worried
tommyvyo has joined #ruby
<sepatar>
Thank you for all your help, today I learned what instance variables are!
timonv has quit [Remote host closed the connection]
mlpinit has joined #ruby
three18ti has joined #ruby
marcgg has joined #ruby
petey has joined #ruby
danshultz has joined #ruby
jobewan has joined #ruby
vlad_starkov has joined #ruby
andrewlio has joined #ruby
ffranz has joined #ruby
xerox357 has joined #ruby
kitak has joined #ruby
pontiki has joined #ruby
n88 has joined #ruby
certainty has joined #ruby
ktosiek has joined #ruby
lpvn has joined #ruby
Alina-malina has joined #ruby
mark_locklear has joined #ruby
Spami has joined #ruby
scottradcliff has joined #ruby
JBreit has joined #ruby
idoru has joined #ruby
kaldreno_ has joined #ruby
nari has joined #ruby
absolutezeroff has joined #ruby
geggam has joined #ruby
axsuul has joined #ruby
hermanmunster has joined #ruby
yxhuvud has joined #ruby
gr33n7007h has joined #ruby
BadProphet has joined #ruby
decoponyo has joined #ruby
davedev24 has joined #ruby
timonv has joined #ruby
claymore has joined #ruby
IceDragon has joined #ruby
SirFunk has joined #ruby
mikepack has joined #ruby
23LAAD1NN has joined #ruby
scttnlsn has joined #ruby
philcrissman has joined #ruby
Celm_ has joined #ruby
skaflem has joined #ruby
npearson_ has joined #ruby
nisstyre has joined #ruby
mansi_ has joined #ruby
jlast_ has joined #ruby
pigzzcanfly has joined #ruby
tjr9898 has joined #ruby
freerobby has joined #ruby
rdark has joined #ruby
rm__ has joined #ruby
yarou_ has joined #ruby
slowcon has joined #ruby
Davey has joined #ruby
brandon_1 has joined #ruby
failshell has joined #ruby
wigg has joined #ruby
aasmith has joined #ruby
weems has joined #ruby
_bart_ has joined #ruby
weie has joined #ruby
zeeraw has joined #ruby
tvw has joined #ruby
rbartos_ has joined #ruby
Salve has joined #ruby
jonah_k has joined #ruby
bthesorceror has joined #ruby
Hobogrammer has joined #ruby
wykydtron has joined #ruby
harumph has joined #ruby
gasbakid has joined #ruby
malkomalko has joined #ruby
diegoviola has joined #ruby
yeticry has quit [Quit: leaving]
Alina-malina has quit [Max SendQ exceeded]
webgen has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
eichenwald has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
tyranja has joined #ruby
AlexRussia has joined #ruby
claymore is now known as Guest31996
Solnse has joined #ruby
razibog has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
Alina-malina has joined #ruby
yfeldblum has joined #ruby
mattmcclure has joined #ruby
pipecloud has quit [Ping timeout: 245 seconds]
im0b_ has quit [Ping timeout: 245 seconds]
cmaxw___ has quit [Ping timeout: 245 seconds]
mattyohe has quit [Ping timeout: 245 seconds]
AdmirableSnackba has quit [Ping timeout: 245 seconds]
<certainty>
seems like freenode has problems again
alexju has joined #ruby
Vivekananda has joined #ruby
poguez_ has quit [Ping timeout: 245 seconds]
lectrick_ has quit [Ping timeout: 245 seconds]
dnyy has quit [Ping timeout: 245 seconds]
bcavileer has quit [Ping timeout: 245 seconds]
TripTastic has joined #ruby
fflush has joined #ruby
mattyohe has joined #ruby
arietis has joined #ruby
poguez__ has joined #ruby
rbartos_ has quit [Remote host closed the connection]
kaldreno_ has quit [Read error: Connection reset by peer]
vosycj has quit [Remote host closed the connection]
kaldrenon has joined #ruby
AdmirableSnackba has joined #ruby
Alina-malina has quit [Quit: Leaving to RealWorld]
lethjakman has joined #ruby
dnyy has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
im0b__ has joined #ruby
napcae has joined #ruby
Alina-malina has joined #ruby
gasbakid has quit [Max SendQ exceeded]
JasmeetQA has joined #ruby
cmaxw___ has joined #ruby
pepewerk has joined #ruby
Vivekananda has quit [Max SendQ exceeded]
Azure has quit [Ping timeout: 240 seconds]
razrunelord has joined #ruby
23LAAD1NN has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
pel_daniel has joined #ruby
bcavileer has joined #ruby
RaCx has joined #ruby
skaflem has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Ping timeout: 240 seconds]
rdark has quit [Ping timeout: 240 seconds]
JBreit has quit [Ping timeout: 240 seconds]
SirFunk has quit [Ping timeout: 240 seconds]
scttnlsn has quit [Ping timeout: 240 seconds]
nisstyre has quit [Ping timeout: 240 seconds]
Davey has quit [Ping timeout: 240 seconds]
geggam has quit [Ping timeout: 240 seconds]
ktosiek has quit [Ping timeout: 240 seconds]
absolutezeroff has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
slowcon has quit [Ping timeout: 240 seconds]
Thanatermesis has joined #ruby
Thanatermesis has joined #ruby
slowcon has joined #ruby
Thanatermesis has quit [Changing host]
TripTastic is now known as JBreit
failshel_ has joined #ruby
decoponio has joined #ruby
pigzzcan_ has joined #ruby
decoponyo has quit [Ping timeout: 240 seconds]
weeems has joined #ruby
centrx has joined #ruby
echevemaster has joined #ruby
centrx is now known as Guest30409
geggam has joined #ruby
randomnick_ has joined #ruby
parduse has quit [Ping timeout: 264 seconds]
qhartman has quit [Quit: Ex-Chat]
tjr9898_ has joined #ruby
Guest31996 has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
davedev24 has quit [Ping timeout: 240 seconds]
wigg has quit [Ping timeout: 240 seconds]
napcae has quit [Ping timeout: 240 seconds]
b00stfr3ak has quit [Ping timeout: 240 seconds]
Spami has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 240 seconds]
pigzzcanfly has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 240 seconds]
lpvn has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
failshell has quit [Ping timeout: 240 seconds]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
gr33n7007h has joined #ruby
Guest31996 has joined #ruby
JasmeetQA has quit [Ping timeout: 240 seconds]
wykydtron has quit [Ping timeout: 240 seconds]
nisstyre has joined #ruby
npearson_ has quit [Remote host closed the connection]
tjr9898 has quit [Read error: Connection reset by peer]
jlast_ has quit [Ping timeout: 240 seconds]
weie has quit [Ping timeout: 240 seconds]
_bart_ has quit [Read error: Connection reset by peer]
jetblack has joined #ruby
Thanatermesis has quit [Ping timeout: 240 seconds]
webgen has quit [Ping timeout: 240 seconds]
malkomalko has quit [Ping timeout: 240 seconds]
weems has quit [Ping timeout: 240 seconds]
mansi_ has quit [Ping timeout: 240 seconds]
bthesorceror has quit [Ping timeout: 240 seconds]
scttnlsn has joined #ruby
npearson has joined #ruby
malkomalko has joined #ruby
tvw has joined #ruby
reset has joined #ruby
_bart has joined #ruby
Fire-Dragon-DoL has joined #ruby
nifty has joined #ruby
jlast has joined #ruby
v0n has joined #ruby
wykydtron has joined #ruby
webgen has joined #ruby
Thanatermesis has joined #ruby
mansi has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
lectrick_ has joined #ruby
b00stfr3ak has joined #ruby
Hobogrammer has joined #ruby
IceDragon has joined #ruby
sdwrage has joined #ruby
eka has joined #ruby
subbyyy has joined #ruby
Guest30409 is now known as cntrx
xbob has joined #ruby
skaflem has joined #ruby
weie has joined #ruby
sailias has joined #ruby
aasmith has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
nari has joined #ruby
reset has quit [Ping timeout: 240 seconds]
mark_locklear has quit [Ping timeout: 240 seconds]
jonah_k has quit [Ping timeout: 240 seconds]
rm__ has quit [Read error: Connection reset by peer]
webgen has quit [Ping timeout: 240 seconds]
rm_ has joined #ruby
jonah_k_ has joined #ruby
Megtastique has joined #ruby
petey has quit [Read error: Connection reset by peer]
noop has joined #ruby
kpshek has joined #ruby
zellio has joined #ruby
failshel_ is now known as failshell
petey has joined #ruby
absolutezeroff has joined #ruby
pwh has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
krz has joined #ruby
ikaros has joined #ruby
browndawg has joined #ruby
NovapaX has joined #ruby
whomp has joined #ruby
zachallett has joined #ruby
Guest31996 has quit [Quit: Leaving]
<whomp>
i'm making a bunch of text snippet templates with keywords that i want to "fill in" when the user specifies what they are. what's a good library for this?
<apeiros>
whomp: core does this just fine with String#%
crystal77 has joined #ruby
<apeiros>
"Hello %{user}, welcome to the world of %{worldname}."
pel_daniel has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
chipotle has joined #ruby
Spami has joined #ruby
sailias has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
pel_daniel has joined #ruby
claymore_ has joined #ruby
lmickh has joined #ruby
Xeago has joined #ruby
<Hanmac>
apeiros: are you sure its "%{user}" ? i thought it would be "#{user}" ?
echevemaster has quit [Read error: Connection reset by peer]
<apeiros>
Hanmac: template, not interpolation
<apeiros>
for String#%
<Hanmac>
oh ok
Jdubs has joined #ruby
sailias has joined #ruby
whomp has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
temple3188 has joined #ruby
temple3188 has quit [Client Quit]
mavcunha has joined #ruby
malkomalko has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
malkomalko has joined #ruby
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
davedev24 has joined #ruby
aryaching_ has quit [Ping timeout: 244 seconds]
napcae has joined #ruby
RaCx has joined #ruby
<shevy>
yoooo guys
danshultz has quit [Remote host closed the connection]
<slowcon>
hey shevy
davedev2_ has quit [Ping timeout: 264 seconds]
RaCx has quit [Client Quit]
atmosx has joined #ruby
danshultz has joined #ruby
<shevy>
hey slowcon
<shevy>
you are too slow man
<slash_nick>
when you're sayin hey to shevy and your pants are feelin' heavy...
shadoi has joined #ruby
<shevy>
yeah
<shevy>
but right now I am just too tired
<slowcon>
shevy: tell me about it
maletor has joined #ruby
* slash_nick
leaves in shame
eelseth has joined #ruby
<shevy>
slash_nick I kinda feel like chasing my own time, like you do stuff and stuff and stuff but it is all not perfect and there is so much more to do...
<shevy>
rather than emailing to some dude I am now procrastinating on IRC :(
mocfive has joined #ruby
<slash_nick>
it's end of day for you, right shevy?
<shevy>
yah
<shevy>
but I am so tired, I could just fall asleep right now
<slash_nick>
you've reached the weekend, ya earned it i say
<shevy>
hehe
<shevy>
I have to use the weekend to prepare for the week :(
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy>
but you are right
<shevy>
weekend is still so much better than a week
mikepack has quit [Remote host closed the connection]
Davey has joined #ruby
yfeldblu_ has joined #ruby
nomadic has quit [Changing host]
nomadic has joined #ruby
<atmosx>
shevy: fucked up actually - I'm feeling tired and too many things to do, but I'll see from tomorrow. I'm continuing rails now... been holding off for almost 2 weeks.
<atmosx>
how about you?
gasbakid has joined #ruby
kopasetik has joined #ruby
gasbakid has quit [Max SendQ exceeded]
sputnik13 has quit [Ping timeout: 248 seconds]
sepp2k has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
pigzzcan_ has quit [Remote host closed the connection]
razibog has quit [Ping timeout: 240 seconds]
decoponio has quit [Quit: Leaving...]
alexherbo2 has joined #ruby
petey has quit [Remote host closed the connection]
keen__ has joined #ruby
mneorr has joined #ruby
petey has joined #ruby
RaCx has joined #ruby
philcris_ has joined #ruby
wiku5_ has quit [Ping timeout: 244 seconds]
keen_ has quit [Ping timeout: 244 seconds]
Eiam has joined #ruby
alexherbo2 has quit [Client Quit]
petey has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
DaniG2k has joined #ruby
petey has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
philcrissman has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
sailias has joined #ruby
x1337807x has joined #ruby
p8952 has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 264 seconds]
DaniG2k has quit [Client Quit]
kzrl has quit [Ping timeout: 240 seconds]
rm_ has quit [Remote host closed the connection]
sailias has quit [Client Quit]
browndawg has left #ruby [#ruby]
rm_ has joined #ruby
weeems is now known as weems
weems has quit [Changing host]
weems has joined #ruby
davy has joined #ruby
Vovko has joined #ruby
wjlafrance has quit [Quit: This computer has gone to sleep]
Kricir has joined #ruby
<shevy>
atmosx hah
<shevy>
atmosx I described the same just a moment before when slash_nick asked
<shevy>
<shevy> but right now I am just too tired
<shevy>
<slowcon> shevy: tell me about it
<shevy>
<shevy> slash_nick I kinda feel like chasing my own time, like you do stuff and stuff and stuff but it is all not perfect and there is so much more to do...
<shevy>
atmosx, I think work does that to people
SegFaultAX has quit [Excess Flood]
<shevy>
I had to dig too deep into postgresql ...
<shevy>
atmosx, did you know that complicated queries can become like REALLY complicated? it feels like learning a new programming language altogether
SegFaultAX has joined #ruby
<jhass>
haha, have to work PostGIS since a few months...
bricker has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
jfelchner_ has joined #ruby
<jhass>
*work with
<jhass>
shevy: you know PL/Ruby?
spyderman4g63 has quit []
<shevy>
jhass nope don't know it
<jhass>
it's ruby inside postgresql!
<shevy>
also I think you have to compile something to use it and I could not compile anything at work :(
<RubyPanther>
he must mean name brand ruby slippers
<centrx>
Certification usually means the person is bad at the topic
npearson has quit [Remote host closed the connection]
<philcrissman>
thor_: nope, and I wouldn't bother.
npearson has joined #ruby
LastWhisper has quit [Ping timeout: 245 seconds]
<thor_>
Why not?
<RubyPanther>
They only have silver level, they're not ready for #ruby
<centrx>
What would be the point?
<agent_white>
thor_: Your code should speak for itself.
<thor_>
I was thinking about it just to have on my CV and whatnot
<philcrissman>
thor_: what centrx daid.
<philcrissman>
thor_: you know what is better on a CV? Actually having done some Ruby. ;-)
<centrx>
If I see a certication on a CV, I downgrade the person
<philcrissman>
s/daid/said
xaq has joined #ruby
<thor_>
Or just write your CV as a ruby scrpit :^)
<centrx>
Use tex
<RubyPanther>
I used to be a Brainbench Certified Master Perl Programmer. I never used it for work, but it is funny to say.
<thor_>
i.e. a 2 page puts statement
jzig has quit [Ping timeout: 265 seconds]
<philcrissman>
centrx: I don't know if I'd automatically downgrade, but if I saw a certification in a topic and no work (or oss contribution) experience, that would raise a red flag.
<philcrissman>
RubyPanther: +1
b00stfr3ak has quit [Ping timeout: 264 seconds]
<centrx>
Red flag, that's a better description
alvaro_o has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ravigehlot has joined #ruby
jonah_k has joined #ruby
<RubyPanther>
a cert, and a profile page full of cat videos
<ravigehlot>
I am going through an weird issue with Compass on Ubuntu. I am trying to compile a sprite but I end up getting the follow error: NoMethodError on line ["100"] of ... functions/sprites.rb: undefined method `parent' for nil:NilClass
<RubyPanther>
with a custom cgi mailer!
mansi has quit [Remote host closed the connection]
thor_ has quit [Quit: Page closed]
Briareos1 has joined #ruby
mansi has joined #ruby
soheil has quit [Remote host closed the connection]
sdouglas has joined #ruby
thor_ has joined #ruby
<thor_>
So it really wouldn't be worth anything?
<RubyPanther>
thor_: it might impress a PHB if you want to work in Dilbert-land
hermanmunster has joined #ruby
afex has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
<thor_>
Would you get a better response for having contributed to oss etc. then?
fedesilva has quit [Remote host closed the connection]
grvgr has quit [Quit: grvgr]
pigzzcanfly has quit [Remote host closed the connection]
yubrew has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
<Soulcutter>
thor_: If you ask me, OSS contributions are great, but I don't downgrade people for not having them. I just flat out ignore certifications
kopasetik has quit [Quit: leaving]
<Soulcutter>
I do technical interviews, but I'm not a manager
<thor_>
Elaborate on technical interviews
<havenwood>
i've never seen someone with a Ruby certification, but i'd find it odd
Geniack has quit [Ping timeout: 244 seconds]
<havenwood>
you have a whaa?
Geniack has joined #ruby
<thor_>
I'm not even in college yet but I'm trying to get the best headstart that I can
<havenwood>
thor_: Open source contribution is far superior to any certification.
<Soulcutter>
thor_: I pair with people, or have them work through a problem with me
<Soulcutter>
thor_: I just mean that I'm a programmer myself
mansi has joined #ruby
<thor_>
Oh I understand. Are those types of interviews common?
jonah_k has quit [Remote host closed the connection]
<Soulcutter>
OSS is nice because you can see a sample of their code and collaboration style
<havenwood>
thor_: yes
Celm has quit [Remote host closed the connection]
<havenwood>
thor_: unless you're the author of a known tool or something like that, then often waived
npearson has quit [Ping timeout: 240 seconds]
<thor_>
I'm hoping to get into Computer Networks and Systems Management. What about interviews for those jobs?
Hobogrammer has quit [Ping timeout: 264 seconds]
<havenwood>
thor_: a lot of people applying to software engineering jobs can't write a line of code, so need to weed those out with the technical interview ;P
<Soulcutter>
I just released Saxerator 0.9.1 btw - if you want to contribute, there are apparently some jruby/nokogiri namespace issues right now
<thor_>
Software engineers who can't code? Isn't that like a bus driver who can't drive?
<havenwood>
thor_: yes
<Soulcutter>
thor_: you would be surprised...
ryanuber has joined #ruby
VTLob has joined #ruby
Celm has joined #ruby
geopet has joined #ruby
<shevy>
I can't drive a bus!
<shevy>
but I can drive ur mom
sailias has joined #ruby
<thor_>
As much as I'd love to, I'm still basically a skiddie who's just getting to grips with Ruby.
<shevy>
well ok there are just two start points
<shevy>
you either have used another language before or you have not
ryanuber has quit [Client Quit]
chuk has joined #ruby
<thor_>
I've dabbled in a few
<shevy>
how seriously did you dabble
<thor_>
...lightly
<shevy>
hmm
ryanuber has joined #ruby
<Soulcutter>
the best thing you can do is write more code
<TheLarkInn>
thats more like a piddled than dabbled :-P
petey has quit [Remote host closed the connection]
<thor_>
Well I got a good grip of C++ but i just got sick of it for a finish
<shevy>
thor_ in the long run it does not matter which language you use but you should use at least one of them for a longer while
<shevy>
I used php before I switched to ruby
<shevy>
ok it's not really a language but still
<thor_>
Ruby is by far my favourite though. It's so light and easy.
sp1rs has joined #ruby
<shevy>
you learn how to use functions for example
<shevy>
and from functions, it is trivial to move over towards functions that reside in namespaces, and functions that are attached to objects
deadlock has joined #ruby
<thor_>
Well from the piddling/dabbling I've done I've learned a lot about languages
SpleezeDos has quit [Quit: QUIT]
<thor_>
Terminology etc
<shevy>
eventually you'll get a feel for elegance or beauty in a language
arietis has quit [Quit: Computer has gone to sleep.]
<shevy>
like lispers who say "I don't notice the ()s"
mary5030 has quit [Remote host closed the connection]
<thor_>
So each time I move to a new one I get it a lot faster
mlpinit has quit [Remote host closed the connection]
<shevy>
ok you are a language Ronin right now
koell has joined #ruby
<thor_>
I still find myself occasionally putting a ; at the end of a line
mocfive has joined #ruby
chuk has left #ruby [#ruby]
<thor_>
I've definitely found that just messing about with scripts is the best way for me personally to learn
<thor_>
cause an error and then find a way to fix it
<shevy>
hah
Geniack has quit [Ping timeout: 264 seconds]
<shevy>
the trailing ; is no problem
<shevy>
but in perl, I often forgot a ;
<shevy>
and then the perl program did not run
<shevy>
:\
<thor_>
Isn't perl supposed to be ridiculous spaghetti code?
Spleeze has joined #ruby
geopet_ has joined #ruby
<thor_>
Or is that just heresay
geopet has quit [Ping timeout: 264 seconds]
<shevy>
it is a lot "write once, move to something else, dont maintain"
<thor_>
Basically my approach to every language before Ruby to be honest
<thor_>
Once i found the ftp lib and how easy it was i was hooked
<shevy>
hehe
<shevy>
yeah
<shevy>
I wrote an interactive ftp pseudo shell based on that, I use it rather than plain ftp, it is nice
geopet_ is now known as geopet
<shevy>
inside of it you just do: "upload bla" and that was it!
<thor_>
I wrote an ftp client earlier today (with the help of someone here who's name I forget) and I felt so proud of myself
<shevy>
thor_ you should find a language you really like
<shevy>
good
<shevy>
so you are already well past the stage of newbiehood
<shevy>
next step - make a gem out of that project
<thor_>
Already?
<shevy>
well I assume that your client works
<thor_>
I haven't even moved on to classes yet...
<shevy>
and is written in ruby. so you produced something well past hello world, and it works
<shevy>
so what!
<shevy>
if you can maintain the complexity without classes, excellent
<thor_>
But I'm planning on doing a lot over the weekend
<shevy>
the good thing with classes is that you get data storage for free
<thor_>
Classes and error handling are what I plan to cover
<shevy>
and you are in full control over that data
<JustinAiken>
i have a class that overrides .new… if I have a class that inherits from that, how do I get to the original implementation of .new ?
mlpinit has quit [Read error: Connection reset by peer]
ryanuber has joined #ruby
<shevy>
thor_, for example, consider a class FtpClient. you could use that, and query it like: ftp = FtpClient.new 'some.remote.site'; ftp.url # => "some.remote.site"
mlpinit has joined #ruby
ryanuber has left #ruby [#ruby]
bthesorc_ has quit [Remote host closed the connection]
Geniack has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
DropsOfSerenity has joined #ruby
gasbakid has joined #ruby
wiku5_ has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
toasty has joined #ruby
toasty is now known as toastynerd
carlyle has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
zz_jrhorn424 is now known as jrhorn424
iliketurtles has joined #ruby
DropsOfSerenity has quit [Client Quit]
malkomalko has quit []
gasbakid has quit [Max SendQ exceeded]
carlyle has joined #ruby
failshell has quit []
postmodern has joined #ruby
gasbakid has joined #ruby
mavcunha has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
_reset has quit [Quit: Leaving...]
hiyosi has joined #ruby
<snkcld>
can i do a class_exec define_method, and pass in a variables contents to be a string literal in the function body?
<shevy>
is anyone of you using kde konsole predominantly?
lw has joined #ruby
mjs2600 has joined #ruby
bthesorceror has joined #ruby
gasbakid has quit [Max SendQ exceeded]
<centrx>
snkcld, Do you have an example of what you are trying to do?
DropsOfSerenity has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
<bricker>
lol, just kde'ing
DropsOfSerenity has joined #ruby
pranny has joined #ruby
gasbakid has joined #ruby
Jetchisel has joined #ruby
atmosx has joined #ruby
Xeago has joined #ruby
saarinen has joined #ruby
<atmosx>
hello Xeago
<Xeago>
yo atmosx!
pskosinski has quit [Quit: Til rivido Idisti!]
codabrink has joined #ruby
Speed has quit [Ping timeout: 240 seconds]
Valesk has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
wiku5_ has quit [Quit: WeeChat 0.4.1]
wiku5_ has joined #ruby
maletor has joined #ruby
weeb1e has joined #ruby
wallerdev has joined #ruby
SirFunk has joined #ruby
gasbakid has quit [Max SendQ exceeded]
<ravigehlot>
I am going through an weird issue with Compass on Ubuntu. I am trying to compile a sprite but I end up getting the follow error: NoMethodError on line ["100"] of ... functions/sprites.rb: undefined method `parent' for nil:NilClass
yubrew has quit [Ping timeout: 240 seconds]
hobodave has joined #ruby
gasbakid has joined #ruby
BadProphet has quit [Remote host closed the connection]
shabgard has quit [Quit: Aji maji la taraji]
danshultz has quit []
Kar- has quit [Ping timeout: 240 seconds]
SegFaultAX has quit [Excess Flood]
kzrl has joined #ruby
MattStratton has joined #ruby
prc has joined #ruby
zonetti has quit [Ping timeout: 252 seconds]
zonetti_ has joined #ruby
danshultz has joined #ruby
zonetti_ is now known as zonetti
dh64 has quit [Excess Flood]
SegFaultAX has joined #ruby
axl_ has quit [Quit: axl_]
bahar has quit [Ping timeout: 252 seconds]
erichmenge has quit [Ping timeout: 252 seconds]
stonecolddevin has quit [Ping timeout: 252 seconds]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
Spami has quit [Quit: This computer has gone to sleep]
gasbakid has quit [Max SendQ exceeded]
shanlar has quit [Ping timeout: 252 seconds]
deavidsedice has joined #ruby
hfp is now known as hfp`away
timonv has joined #ruby
fedesilva has joined #ruby
dh64 has joined #ruby
nfk is now known as Kamijou_Touma
kitak has quit [Read error: Connection reset by peer]
vadviktor_ has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
jso has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
shanlar has joined #ruby
Kamijou_Touma is now known as nfk
gasbakid has joined #ruby
kitak has joined #ruby
Skelz0r has quit [Ping timeout: 252 seconds]
wwalker has quit [Ping timeout: 252 seconds]
vadviktor has quit [Ping timeout: 252 seconds]
deavid has quit [Ping timeout: 252 seconds]
Skelz0r_ has joined #ruby
stonecolddevin has joined #ruby
jcalado has quit [Ping timeout: 252 seconds]
bahar has joined #ruby
erichmenge has joined #ruby
wwalker has joined #ruby
Gnubie_ has quit [Ping timeout: 252 seconds]
jackneill has quit [Ping timeout: 252 seconds]
jeekl has quit [Ping timeout: 252 seconds]
felipe has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
jso has joined #ruby
kloeri has quit [Remote host closed the connection]
Gnubie_ has joined #ruby
gasbakid has quit [Max SendQ exceeded]
jcalado has joined #ruby
kloeri_ has joined #ruby
Guest10175 has quit [Read error: Connection reset by peer]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr_red has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 240 seconds]
andy__ has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
fedesilva has quit [Remote host closed the connection]
carlyle has quit []
phansch has quit [Quit: WeeChat 0.4.2]
paul_k has quit [Ping timeout: 252 seconds]
xaq has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
QKO has quit [Ping timeout: 252 seconds]
mattp_ has quit [Ping timeout: 252 seconds]
SCommette has joined #ruby
QKO has joined #ruby
paul_k has joined #ruby
ravigehlot has quit [Quit: Leaving]
radic has quit [Ping timeout: 252 seconds]
pinage404 has left #ruby ["Screw you guys i'm going home ! KMP !"]
krnflake has joined #ruby
zachallett has quit [Remote host closed the connection]
mr_red has joined #ruby
ozzloy has quit [Ping timeout: 252 seconds]
jeekl has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
jackneill has joined #ruby
radic has joined #ruby
ozzloy has joined #ruby
hfp`away is now known as hfp
xaq has quit [Remote host closed the connection]
reset has joined #ruby
xaq has joined #ruby
alexherbo2 has joined #ruby
freerobby has quit [Quit: Leaving.]
mlpinit has quit [Remote host closed the connection]
braincrash has joined #ruby
xeno has joined #ruby
freerobby has joined #ruby
Spami has joined #ruby
Megtastique has quit []
heftig has joined #ruby
mlpinit has joined #ruby
xaq has quit [Ping timeout: 264 seconds]
skaflem has quit [Quit: Leaving]
jonah_k has quit [Remote host closed the connection]
sambao21 has joined #ruby
<vlad_starkov>
Question: What is the best way to define (redefine) instance method for my_instance: `my_instance = MyClass.new` ?
soheil has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
<apeiros>
oh
dmyers has quit [Quit: dmyers]
vlad_starkov was kicked from #ruby 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.]
phutch1ns has quit [Ping timeout: 244 seconds]
<bricker>
our ruby processes (via passenger) on only one of our servers are taking up a crazy amount of memory right now... how do I find out why? I have passenger-irb available but don't really know what to look for once inside.
<apeiros>
there are some memory profilers. don't know whether they work for newer rubies too…
Speed has joined #ruby
jonah_k has joined #ruby
Kricir has joined #ruby
xerox357_ has joined #ruby
vlad_starkov has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
Speed has quit [Ping timeout: 264 seconds]
ITDev2_ has joined #ruby
weeb1e_ has joined #ruby
kzrl has quit [Ping timeout: 264 seconds]
mansi_ has joined #ruby
CaptainJet has quit [Ping timeout: 264 seconds]
toastyne_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
kenneth has quit [Ping timeout: 240 seconds]
mansi has quit [Read error: Connection reset by peer]
SirFunk has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Ping timeout: 240 seconds]
scttnlsn has quit [Ping timeout: 240 seconds]
jetblack has quit [Ping timeout: 240 seconds]
jso has quit [Ping timeout: 240 seconds]
lw has quit [Ping timeout: 240 seconds]
Briareos1 has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 240 seconds]
Spami has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 240 seconds]
maletor has quit [Ping timeout: 240 seconds]
weeb1e has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
ITDev2 has quit [Ping timeout: 240 seconds]
xerox357 has quit [Ping timeout: 240 seconds]
absolutezeroff has quit [Ping timeout: 240 seconds]
zellio has quit [Ping timeout: 240 seconds]
v0n has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
yarou_ has quit [Ping timeout: 240 seconds]
jcs222 has quit [Ping timeout: 240 seconds]
arianit has quit [Ping timeout: 240 seconds]
SHyx0rmZ has quit [Ping timeout: 240 seconds]
chipotle has quit [Ping timeout: 240 seconds]
nifty has quit [Ping timeout: 240 seconds]
mlpinit has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
dh64 has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
rezzack has quit [Ping timeout: 240 seconds]
pfg has quit [Ping timeout: 240 seconds]
shadoi has quit [Write error: Connection reset by peer]
jso- has joined #ruby
sdwrage_ has joined #ruby
tvw has joined #ruby
jso- is now known as jso
shadoi has joined #ruby
Spami has joined #ruby
AlexRussia has joined #ruby
wwalker has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
alvaro_o has quit [Ping timeout: 240 seconds]
claymore_ has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
dh64 has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
kenneth has joined #ruby
SirFunk has joined #ruby
davy has quit [Remote host closed the connection]
mlpinit has joined #ruby
wwalker has joined #ruby
sdwrage has quit [Ping timeout: 240 seconds]
Briareos1 has joined #ruby
CaptainJet has joined #ruby
scttnlsn has joined #ruby
zellio has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
pfg has joined #ruby
jcs222 has joined #ruby
alvaro_o has joined #ruby
yarou has joined #ruby
mjs2600 has quit [Remote host closed the connection]
Spami_ has joined #ruby
geopet has quit [Ping timeout: 240 seconds]
deadlock has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
arianit has joined #ruby
arianit has quit [Changing host]
arianit has joined #ruby
Fire-Dragon-DoL has joined #ruby
freerobby1 has joined #ruby
bthesorceror has quit [Remote host closed the connection]
gregf has joined #ruby
davedev2_ has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
Jetchisel has quit [Ping timeout: 252 seconds]
thor_ has quit [Quit: Page closed]
Briareos1_ has joined #ruby
hermanmu_ has joined #ruby
laudo_ has joined #ruby
lepht___ has quit []
<laudo_>
Hi, just run a puppet module on a redhat 6.4 and it change my gem path for the system. How can I change the gem path back?
lepht has joined #ruby
IceyEC has quit [Quit: IceyEC]
wwalker_ has joined #ruby
mlpinit_ has joined #ruby
kaldrenon has quit [Remote host closed the connection]
<stdim>
Hi I'm having troubles with RSpec. I keep getting this error all the time: $HOME/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15: stack level too deep (SystemStackError)
parduse has left #ruby [#ruby]
dh64 has joined #ruby
parduse has joined #ruby
Thanatermesis has joined #ruby
jlast has joined #ruby
yubrew has joined #ruby
mikepack has joined #ruby
maletor has joined #ruby
Xiti` has quit [Quit: Leaving]
peret has joined #ruby
codabrink has joined #ruby
jetblack has joined #ruby
SirFunk has joined #ruby
rbartos has joined #ruby
tt1187 has joined #ruby
freerobby has joined #ruby
mocfive_ has joined #ruby
23LAAEV98 has joined #ruby
lethjakman has joined #ruby
absolutezeroff has joined #ruby
philcrissman has joined #ruby
yarou has joined #ruby
Salve has joined #ruby
idoru has joined #ruby
kaldrenon has joined #ruby
kaldrenon has quit [Remote host closed the connection]
Xiti has joined #ruby
hamakn has joined #ruby
5EXAAPP6Q has joined #ruby
Xeago has joined #ruby
deadlock has joined #ruby
shadoi has joined #ruby
Spami has joined #ruby
Hobogrammer has joined #ruby
sdwrage has joined #ruby
braincrash has joined #ruby
nobitanobi has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
pel_daniel has joined #ruby
wykydtron has joined #ruby
v0n has joined #ruby
reset has joined #ruby
Gnubie_ has joined #ruby
DropsOfS_ has joined #ruby
mr_red has joined #ruby
yxhuvud has joined #ruby
nari has joined #ruby
sputnik13 has joined #ruby
maroloccio has joined #ruby
koell has joined #ruby
peret has left #ruby [#ruby]
Briareos1_ has quit [Remote host closed the connection]
RaCx has joined #ruby
certainty has joined #ruby
QKO has joined #ruby
endash_ has quit [Client Quit]
brandon_1 has joined #ruby
braincrash has quit [Max SendQ exceeded]
SirFunk has quit [Max SendQ exceeded]
deadlock has quit [Max SendQ exceeded]
koell has quit [Max SendQ exceeded]
Xiti has quit [Max SendQ exceeded]
zumba_addict has joined #ruby
NovapaX has joined #ruby
yarou has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
Xiti has joined #ruby
pigzzcanfly has quit [Ping timeout: 252 seconds]
lethjakman is now known as Guest93966
Azure has joined #ruby
danshultz has quit [Remote host closed the connection]
pjb39 has joined #ruby
koell has joined #ruby
claymore has joined #ruby
IceDragon has joined #ruby
lw has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
Shidash has joined #ruby
SirFunk has joined #ruby
DropsOfSerenity has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
joelroa has joined #ruby
mercwithamouth has joined #ruby
eruthven has joined #ruby
whomp has joined #ruby
davy has joined #ruby
<whomp>
what dev environment do you guys prefer? looking at sublime text 2 and rubymine as alternatives to good ol vim
<slash_nick>
if vim aint broke ...
Azure has quit [Client Quit]
recursive has joined #ruby
<whomp>
not a problem till you have a solution
axl_ has joined #ruby
eruthven has left #ruby [#ruby]
Solnse has joined #ruby
jph98 has joined #ruby
mikepack has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
stringoO has quit [Quit: stringoO]
pjb39 has left #ruby ["Leaving"]
joelroa has quit [Ping timeout: 240 seconds]
NalloK has joined #ruby
NalloK has quit [Max SendQ exceeded]
RaCx has joined #ruby
SCommette has quit [Quit: SCommette]
Azure has joined #ruby
MattStratton has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
eruthven has joined #ruby
endash_ has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
philcris_ has joined #ruby
jph98 has quit [Ping timeout: 252 seconds]
<tobiasvl>
NEOVIM
<tobiasvl>
(i just use vim though)
<tobiasvl>
why do you need an alternative to vim?
arianit has quit [Ping timeout: 264 seconds]
philcrissman has quit [Ping timeout: 240 seconds]
wchun has joined #ruby
mikepack has joined #ruby
klaut has joined #ruby
maroloccio has joined #ruby
Celm has joined #ruby
sambao21 has quit [Ping timeout: 252 seconds]
geopet has joined #ruby
bricker has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
panchiniak has joined #ruby
<shevy>
we all seek a better editor
Jetchisel has joined #ruby
<shevy>
whomp I find the environments with editors rather limited in general
NalloK has joined #ruby
<whomp>
tobiasvl, just exploring :)
<shevy>
I think a model like a REPL, and using everything as objects, using ruby code to do all the actions that an editor would do, would be the way to go
Jdubs has quit [Remote host closed the connection]
bthesorceror has joined #ruby
<shevy>
I hated how functions as extensions work in vim
NalloK has quit [Max SendQ exceeded]
jlast has quit [Remote host closed the connection]
<shevy>
if &filetype == 'html'
<shevy>
normal mz
elaptics`away is now known as elaptics
<shevy>
let Found = 0
<shevy>
while Found == 0
<shevy>
let my ass
<shevy>
endfunction
<shevy>
haha
bthesorceror has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
ikawnoclast has left #ruby ["PART ##security :PART #freebsd :QUIT :Leaving."]
<shevy>
endif
kitak has joined #ruby
bthesorceror has joined #ruby
<shevy>
that reminds me of the guy who suggested
<shevy>
endddd in ruby
<centrx>
Is that how you make sure it really ended?
<panchiniak>
Hi. How can I set an environment variable using backticks? I'm able to get my COUNT variable and increase its value. But, even after ENV['COUNT'] = Incremented_count.to_s it does not remain incremented. Any help?
<shevy>
centrx I guess he wanted to get rid of 3x "end" :)
<bricker>
panchiniak: You want to set the env var in the ruby program so that the changed value is available outside of the problem?
<shevy>
hmm or 4
<bricker>
program*
_1_Squidnationz has joined #ruby
<shevy>
panchiniak you can just assign the ENV var in question
andy__ has quit [Remote host closed the connection]
moneydouble has joined #ruby
<bricker>
I know this is a crazy request, but can anybody look at this and tell me what they think the problem is? Several of our app processes are hanging and this is the backtrace for one of them. https://gist.github.com/bricker/f27f242636ced4d5339b
jcs222 has quit [Quit: leaving]
<bricker>
this is only happening on one of the servers, which has an older version of CentOS installed... maybe it's a threading problem?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SCommette has quit [Quit: SCommette]
elaptics is now known as elaptics`away
mocfive has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
mocfive has joined #ruby
GinoMan has joined #ruby
<RubyPanther>
bricker: is it CentOS 6?
mattp_ has joined #ruby
xBradPittx has quit [Ping timeout: 252 seconds]
tymat has joined #ruby
<bricker>
RubyPanther: The problem server is Centos 5.3, the one that's running fine is 6.3
mostlybadfly has joined #ruby
NovapaX_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ringaroses has joined #ruby
terrellt has quit [Ping timeout: 246 seconds]
<bricker>
arg, I thought I could upgrade to Centos 6 via yum, apparently that is not possible
xerox357 has joined #ruby
ringaroses1 has joined #ruby
laudo_ has quit [Ping timeout: 245 seconds]
teenwolf has joined #ruby
<RubyPanther>
bricker: it is most likely either a C extension crashing, or a bug in libc
aryaching_ has joined #ruby
<RubyPanther>
you could try compiling a newer libc from source
Xuisce_ has joined #ruby
<bricker>
RubyPanther: good idea
macmarti_ has joined #ruby
<RubyPanther>
also you can try to turn off stripping the ruby build, not sure where you do that, but it says no symbol table, a debug binary would have a better trace
<RubyPanther>
maybe
Azure_ has joined #ruby
toastyne_ has joined #ruby
Azure has quit [Disconnected by services]
Azure_ is now known as Azure
<RubyPanther>
I don't debug, I stare at the source until I see the mistake :o
itadder_ has joined #ruby
<bricker>
heh
charlies_ has joined #ruby
Asher2 has quit [Quit: Leaving.]
yfeldblu_ has joined #ruby
phil_b has left #ruby ["Leaving"]
Hobogrammer has joined #ruby
<apeiros>
RubyPanther: you mean you stare at the source until the bug flees in shame?
BWStearns has quit [Ping timeout: 252 seconds]
nolic_ has joined #ruby
xerox357 has quit [Remote host closed the connection]
<RubyPanther>
Yeah, as soon as the rubber ducky points a finger at it, it runs away
<bricker>
RubyPanther: After update glibc, would I need to recompile everything? ruby, nginx, etc. ?
<bricker>
updating*
Hobogrammer___ has joined #ruby
xerox357 has joined #ruby
timonv_ has joined #ruby
<RubyPanther>
bricker: not if everything is dynamically linked
b00stfr3ak has quit [Ping timeout: 264 seconds]
<bricker>
RubyPanther: I don't know how to check that
<RubyPanther>
you might have to run ldconfig as root to get it to update... whatever that updates
mocfive has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 240 seconds]
sethen has quit [Ping timeout: 240 seconds]
redlines has quit [Ping timeout: 240 seconds]
macmartine has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 240 seconds]
zumba_addict has quit [Ping timeout: 240 seconds]
inversesquarelaw has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
ringaroses has quit [Ping timeout: 240 seconds]
Jake232 has quit [Ping timeout: 240 seconds]
kzrl has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Ping timeout: 240 seconds]
Hobogrammer_ has quit [Ping timeout: 240 seconds]
Xuisce has quit [Ping timeout: 240 seconds]
aboudreault has quit [Ping timeout: 240 seconds]
itadder has quit [Ping timeout: 240 seconds]
nolic has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
sputnik13 has joined #ruby
macmarti_ has quit []
<bricker>
I googled "nginx dynamically linked to c" and it just said, "try harder, bricker"
inversesquarelaw has joined #ruby
<RubyPanther>
bricker: the "stupid" way would be, only recompile whatever was blowing up, and only if it is still blowing up
Xuisce_ is now known as Xuisce
redlines has joined #ruby
<RubyPanther>
probably at most ruby+gems
phil-b has joined #ruby
phil-b has quit [Client Quit]
fgo has joined #ruby
nobitanobi has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<bricker>
RubyPanther: okay. Well I updated glibc, we'll wait and see, recompiling ruby will be my next step if the memory is still leaking
Hobogrammer has quit [Ping timeout: 252 seconds]
toastyne_ has quit [Remote host closed the connection]
workmad3 has joined #ruby
kzrl has joined #ruby
iliketurtles has joined #ruby
sotoj has joined #ruby
xerox357 has quit [Ping timeout: 252 seconds]
iliketurtles has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 252 seconds]
cjsarette has quit [Ping timeout: 245 seconds]
felipe has joined #ruby
toastynerd has joined #ruby
stdim has joined #ruby
SHyx0rmZ has joined #ruby
nari has quit [Ping timeout: 252 seconds]
itadder_ has quit [Remote host closed the connection]
aboudreault has joined #ruby
jobewan has quit [Quit: Leaving]
itadder has joined #ruby
Kricir has joined #ruby
Hobogrammer___ has quit [Ping timeout: 264 seconds]
cjsarette has joined #ruby
mocfive has joined #ruby
rbartos has quit [Remote host closed the connection]
mansi_ has quit [Remote host closed the connection]
mansi has joined #ruby
prionic has joined #ruby
<prionic>
hello
lpvn has quit [Read error: Connection reset by peer]
<bricker>
HI
lpvn has joined #ruby
<Xuisce>
hello
Kricir has quit [Ping timeout: 252 seconds]
itadder has quit [Ping timeout: 252 seconds]
momomomomo has quit [Quit: momomomomo]
itadder has joined #ruby
joelroa has joined #ruby
blaines has joined #ruby
<prionic>
so I'm a junior web developer who comes from a background in systems administration. I've been working with rails on a couple projects...
rbartos has joined #ruby
<prionic>
and am looking for full time employment. out of curiosity, how did you guys become full time developers?
jcs222 has joined #ruby
reset has joined #ruby
m00nlight_ has joined #ruby
ddd_ has joined #ruby
Oog has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
m00nlight has quit [Ping timeout: 264 seconds]
jhass is now known as jhass|off
NalloK has joined #ruby
<bricker>
prionic: I found my current job on the Github job boards
NalloK has quit [Max SendQ exceeded]
jeekl has joined #ruby
<prionic>
bricker, awesome thank you. was this your first job as a developer?