apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
<zendeavor> hackingoff: huh? you mean like the bar/box/window that pops up for gnome-do?
<hackingoff> i barely tolerate the piece of shit that gnome/cinnamon excuses for a taskbar
<hackingoff> the box only opens up when i hit the hotkey
<zendeavor> same for dmenu.
<hackingoff> it's invisible until i summon it for the brief window during which i type into it
<zendeavor> same.
<hackingoff> ah, then it wouldn't be an issue
<hackingoff> sorry, thought it wouldn't auto-hide
<popl> why?
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<popl> you make a lot of assumptions
<zendeavor> but it doesn't provide some niceties out of the box like gnome-do, which remembers search history and all this other shit
xcv has joined #ruby
<zendeavor> however it is completely scriptable instead
endash has quit [Quit: endash]
<hackingoff> i don't need history; mainly interested in fuzzy matching run via hotkey and it otherwise staying out of my way
<zendeavor> tradeoff.
<hackingoff> not requiring a lot of configuration is a major plus.
<zendeavor> zero conf
<hackingoff> just looking for a tool, not a religion, etc.
<hackingoff> sold. going to try it now
<zendeavor> i hit mod4-d and type fox
<zendeavor> there's firefox, first result
<hackingoff> i get firefox off of fo in gnome-do. wonder if it has some sort of MRU scoring
<zendeavor> it probably sorts, my `fo' is fold
<shevy> this is alien talk to me
<hackingoff> unsold!
<zendeavor> bindsym $mod+d exec dmenu_run # that's my bind in i3wm
burlyscudd has quit [Quit: Leaving.]
<popl> zendeavor: I use xbindkeys and mapped Mod4 + 'f' to open Firefox. :)
<zendeavor> that's all i've done
parus_ is now known as parus
IceDragon has quit [Ping timeout: 264 seconds]
<zendeavor> i mapped mod4-alt-f to firefox
<popl> I could easily just move that into xmonah.hs though
<popl> I still might.
<zendeavor> i use mod4 for basic window management needs
<zendeavor> and extra modifiers for further hotkeying
<popl> righto
<zendeavor> as it turns out, i hate this kind of hotkeying in my text editor
<hackingoff> really?
<hackingoff> er, why?
<popl> zendeavor: my laptop has some media keys (play, pause, et al) and I mostly started using xbindkeys for mapping to mpc commands.
<hackingoff> conflict with your other hotkeys?
<zendeavor> so i still don't use emacs, even though i use loads of finger-gymnastics for tmux and window tiling
<popl> heh heh
<zendeavor> i also know the emacs/readline bindings for bash by heart and use them religiously
<hackingoff> i edit locally with sublimetext and push via git, rather than tmux+vim
tgraham|away is now known as tgraham
<zendeavor> i don't use vi-mode for readline
<reactormonk> any sweet way to get all keys to point to 4? Hash[[1,2,3].zip([4])]
ahawkins has quit [Ping timeout: 264 seconds]
<zendeavor> SWEET
<popl> DUDE
<zendeavor> answer him
<reactormonk> boring in here?
Yakko has joined #ruby
<reactormonk> hackingoff, sshfs
<zendeavor> hackingoff: i don't know why, i just "get" vim and love text-objects and feel dirty with evil-mode
<reactormonk> zendeavor, don't you like being evil?
<tjbiddle> reactormonk: Example input?
<zendeavor> and i don't edit over ssh or anything; all my edits are done locally with :e scp://
tabolario has joined #ruby
<hackingoff> zendeavor: nothing wrong with vim; just not as much my thing as sublime text
<reactormonk> tjbiddle, a set of keys and a value all should point to.
<zendeavor> i don't know ST
<hackingoff> ST has some vim-like bindings in...whatever the fuck they named the mode
<Rylai> lol
<Rylai> classic mode, I think.
<hackingoff> thanks, rylai
<Rylai> I should install it on my Windows partition
<tjbiddle> >> { :test => 5, :test2 => 6 }.map { |x| x = 4 }
<eval-in> tjbiddle => [4, 4] (https://eval.in/40763)
<tjbiddle> reactormonk: ^
<hackingoff> i really like the fuzzy matching on filenames and some of the other frills it makes available
<Rylai> Ooh
<Rylai> You could look into CtrlP for Vim
<hackingoff> i think ctags and some other things offer similar functionality in vim & co
<zendeavor> Ctrlp.vim
<reactormonk> tjbiddle, not a hash, but a set of keys
<Rylai> Yeah, that
<zendeavor> cscope.vim is distributed with vim
<Buuyo> In about_class_methods.rb (from koans), what exactly is class << self doing when it defines class singletons? is some sort of special sauce being applied with the Class instance and the shovel operator? I wasn't expecting different object_ids: https://gist.github.com/anonymous/a8f1d7659275536224b6
<zendeavor> oh i didn't even see you mention ctrlp Rylai
<zendeavor> i was offering it as an example to fuzzy matching for hackingoff
<Rylai> cscope!
<tjbiddle> reactormonk: 'A set of keys'? So just an array? Isn't a hash the only native ruby data type that has key/value?
<zendeavor> cscope is nuts.
efrainolivares has quit [Quit: efrainolivares]
<Rylai> I should actually look into cscope
<Rylai> I've heard great things
<tjbiddle> reactormonk: Not patronizing - Genuinely curious.
efrainolivares has joined #ruby
<zendeavor> it's wild, and :help cscope has plenty of starter info
<Eiam> damn pry doesn't work with padrino anymore? =/
<hackingoff> if he wants a set of keys not mapped to anything, he can use the Set data type
<tjbiddle> reactormonk: Will need to continue later - need to give a friend a ride to Caltrain. Later guys!
<popl> aw, tjbiddle has a friend!
<popl> \o/
Yakko_ has joined #ruby
<zendeavor> \o/
Yakko has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Quit: tjbiddle]
bradhe has quit [Remote host closed the connection]
Yakko_ is now known as Yakko
zenergi has joined #ruby
trivol has quit [Quit: trivol]
efrainolivares has quit [Client Quit]
[narcan] has joined #ruby
freerobby has quit [Quit: Leaving.]
tgraham has quit [Quit: Linkinus - http://linkinus.com]
<Buuyo> Why does class << self nested in SomeClass have the same self.object_id as any class << SomeClass, but not the same object_id as SomeClass itself?
staafl has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
mansi has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
efrainolivares has joined #ruby
xpirator has quit [Quit: Leaving...]
vishal has joined #ruby
marr has quit [Ping timeout: 245 seconds]
maasdesigner has quit [Ping timeout: 256 seconds]
fridim_ has joined #ruby
<Eiam> because its a class method
<Eiam> its not the class object itself ?
<Buuyo> no instances of the class involved
justsee has quit [Ping timeout: 246 seconds]
<Buuyo> I think anyway :X
efrainolivares has quit [Client Quit]
_seanc_ has quit [Quit: _seanc_]
tylersmith has quit [Remote host closed the connection]
<Eiam> I don't think self.object_id refers to the self you think at that point
<Eiam> but I could be wrong there.
agjacome has joined #ruby
sayd has quit [Quit: Goodbye]
<Eiam> apeiros: ?
tylersmith has joined #ruby
<Buuyo> Maybe the class << self is a temporary object of type Class that gets stuffed into the class in question?
sayd has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
zenergi has quit [Quit: zenergi]
<Buuyo> but even were that the case, I don't understand why the second inner class << self the same object_id. :|
<Eiam> why wouldn't it be the same?
<Eiam> its the same eigenclass
nadirvar_ has quit [Read error: Operation timed out]
<Eiam> you opened the same class
<Eiam> so you got the same eigenclass
<Buuyo> ah
<Eiam> 16063700
grumpwork has joined #ruby
<Eiam> so the second two object_id are the eigenclass's id, and the first is MyClass.id
<Eiam> thats my take anyway
nezumi has quit [Ping timeout: 268 seconds]
<Buuyo> I'll give it a read. Thanks for the point in the right direction. :)
sambao21 has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
michaeldeol has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
jackjackdrpr has joined #ruby
nari has joined #ruby
<jackjackdrpr> is the ruby ftp site down?
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
JZTech101 has quit [Read error: Connection reset by peer]
anderson has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
matchaw has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
intuxicated has joined #ruby
bradsmith has quit [Remote host closed the connection]
lethjakman has joined #ruby
zeade has quit [Quit: Leaving.]
baroquebobcat has joined #ruby
rickmasta has quit [Quit: Leaving...]
iliketurtles has quit [Quit: zzzzz…..]
mrsolo has quit [Quit: Leaving]
sparr has joined #ruby
asobrasil has left #ruby [#ruby]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has quit [Quit: Megtastique]
xcv has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
matchaw has joined #ruby
freerobby has quit [Quit: Leaving.]
marcdel has joined #ruby
xcv has joined #ruby
v0n has joined #ruby
paissad_ has joined #ruby
byprdct has joined #ruby
Spooner has quit [Remote host closed the connection]
rickmasta has joined #ruby
chrisja has quit [Quit: leaving]
justsee has quit [Ping timeout: 240 seconds]
paissad has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
i_s has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 260 seconds]
nooodl has quit [Ping timeout: 245 seconds]
ffranz has quit [Quit: Leaving]
intuxicated has joined #ruby
threesome has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
xcv has quit [Remote host closed the connection]
nitish has joined #ruby
Speed has quit [Ping timeout: 240 seconds]
habanany has joined #ruby
blip99 has joined #ruby
rodacato has joined #ruby
BillCriswell has joined #ruby
cdmnsr has quit [Quit: Leaving]
mklappstuhl has joined #ruby
Solnse has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
SCRIPT_KITTEH has joined #ruby
<jackjackdrpr> anybody know another repository of ruby-2.0.0-p247? Can't seem to download the source from ftp.ruby-lang.org
gildo has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
<SCRIPT_KITTEH> anyone here use eclipse ide for ruby?
<Rylai> no unfortunately
<Rylai> wish i could help :p
twoism has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has joined #ruby
<popl> SCRIPT_KITTEH: There is an #eclipse on freenode.
becky_ has joined #ruby
ahawkins has joined #ruby
lapidary has quit [Quit: lapidary]
AndChat| has joined #ruby
_seanc_ has joined #ruby
_helloworld_ has joined #ruby
jamesaanderson has quit [Client Quit]
sevenseacat has joined #ruby
cutmail has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
jonathanwallace has joined #ruby
jamesaanderson has joined #ruby
Banistergalaxy has quit [Ping timeout: 276 seconds]
tjbiddle has joined #ruby
r0bby has quit [Read error: Connection reset by peer]
Voodoofish430 has quit [Quit: Leaving.]
AndChat| has quit [Ping timeout: 246 seconds]
ahawkins has quit [Ping timeout: 246 seconds]
r0bby has joined #ruby
Banistergalaxy has joined #ruby
lethjakm1 has joined #ruby
SCRIPT_KITTEH has quit [Quit: Leaving]
_seanc_ has quit [Ping timeout: 248 seconds]
lethjakman has quit [Ping timeout: 246 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
i_s has joined #ruby
benlieb has joined #ruby
Niichan has quit [Changing host]
Niichan has joined #ruby
randomau_ has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mgorbach has quit [Ping timeout: 260 seconds]
Niichan has quit [Quit: I'll be back, I hope]
jamesaanderson has joined #ruby
Niichan has joined #ruby
rupee has quit [Quit: Leaving]
Niichan is now known as Guest31252
swistak35 has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
banghouse2 has joined #ruby
Guest31252 is now known as Niichan
randomautomator has quit [Ping timeout: 264 seconds]
mgorbach has joined #ruby
randomau_ has quit [Ping timeout: 240 seconds]
banghouse2 is now known as banghouse
marcdel has joined #ruby
swistak35 has joined #ruby
bradhe has quit [Ping timeout: 268 seconds]
i_s has quit [Ping timeout: 268 seconds]
thesheff17 has quit [Ping timeout: 276 seconds]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
braincra- has joined #ruby
thesheff17 has joined #ruby
x1337807x has joined #ruby
rickmasta has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Quit: tjbiddle]
braincrash has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
r0bby_ has joined #ruby
rodacato has quit [Remote host closed the connection]
mnewton has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch_ has joined #ruby
ch_ has quit [Remote host closed the connection]
ch_ has joined #ruby
r0bby has quit [Ping timeout: 245 seconds]
amacgregor has joined #ruby
jamesaanderson has quit [Quit: Textual IRC Client: www.textualapp.com]
Domon has joined #ruby
Lewix has joined #ruby
justsee has quit [Ping timeout: 256 seconds]
the_fallen has quit [Remote host closed the connection]
wargasm has joined #ruby
thoraxe has joined #ruby
amacgregor_ has quit [Ping timeout: 256 seconds]
bradsmith has joined #ruby
cj3kim has quit [Remote host closed the connection]
chimkan_ has joined #ruby
Nahra has quit [Ping timeout: 264 seconds]
<lethjakm1> jackjackdrpr: did you ever solve that, it does look like rubies ftp's are down
<lethjakm1> I wanted to use rvm but it broke :/
tkuchiki_ has joined #ruby
<Nilium> Wish I had a set literal.
tkuchiki has quit [Read error: Connection reset by peer]
chimkan has quit [Ping timeout: 260 seconds]
chimkan_ is now known as chimkan
<Nilium> What version of Ruby's source do you need?
<Nilium> To lethjakm1.
<jackjackdrpr> nope site seems to still be down
nitish has quit [Remote host closed the connection]
<lethjakm1> Nilium: 2.x, preferably the latest stable
<bnagy> what's a set literal?
<lethjakm1> wonder how long it'll take.
<jackjackdrpr> rvm will try to download it from the same site
<Nilium> Hm, I only have p247.
mneorr has quit [Remote host closed the connection]
lethjakm1 is now known as lethjakman
<Nilium> I don't know if that was the stable one
<Nilium> Yeah, it is
<jackjackdrpr> Nillium can you share it
cj3kim has joined #ruby
bradsmith has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
mansi has quit [Remote host closed the connection]
<Nilium> Nevermind, apparently my copy of the zip disappeared somewhere.
* Nilium ponders where it might be.
smathieu has quit [Remote host closed the connection]
mansi has joined #ruby
Grieg has quit [Quit: Grieg]
adeponte has quit [Remote host closed the connection]
* Nilium pokes jackjackdrpr and lethjakman
<jackjackdrpr> thanks down loading
wmoxam_ has joined #ruby
<lethjakman> Nilium: thank you :)
pen has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
JZTech101 has joined #ruby
mnewton has joined #ruby
Nahra has joined #ruby
Nahra has joined #ruby
Nahra has quit [Changing host]
mansi has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Read error: Operation timed out]
dhruvasagar has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Remote host closed the connection]
blip99 has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
mansi has joined #ruby
thesheff17 has joined #ruby
ch_ has quit [Remote host closed the connection]
thomaslee has quit [Remote host closed the connection]
optimusprimem has quit [Read error: Connection reset by peer]
wmoxam_ has quit [Ping timeout: 240 seconds]
Senjai has quit [Ping timeout: 245 seconds]
Yakko has quit [Quit: No Ping reply in 180 seconds.]
scarolan_ has quit [Ping timeout: 240 seconds]
Yakko has joined #ruby
wmoxam_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nezumi has joined #ruby
oktapodi has quit [Remote host closed the connection]
freerobby has joined #ruby
benlieb has quit [Quit: benlieb]
matti has quit [Quit: Oh dear...]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
pr0ggie has quit [Ping timeout: 245 seconds]
matti has joined #ruby
wmoxam_ has quit [Ping timeout: 248 seconds]
zeade has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 264 seconds]
robustus has joined #ruby
pen has joined #ruby
cads has joined #ruby
the_fallen has joined #ruby
arya_ has joined #ruby
nitish has joined #ruby
Nrezinorn has joined #ruby
kaspergrubbe has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
cj3kim has quit [Remote host closed the connection]
benlieb has joined #ruby
kaspergrubbe has quit [Read error: Operation timed out]
randomautomator has joined #ruby
ehaliewi` has joined #ruby
ehaliewi` has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
benlieb has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
mansi has quit [Ping timeout: 260 seconds]
adeponte has joined #ruby
labrat__ has joined #ruby
randomautomator has quit [Ping timeout: 260 seconds]
jeffreylevesque has joined #ruby
hackingoff has quit [Read error: Connection reset by peer]
mansi has joined #ruby
nazty has quit [Read error: Connection reset by peer]
bionoid has joined #ruby
bigmac has joined #ruby
duke_nuk1m has joined #ruby
fridim_ has quit [Ping timeout: 245 seconds]
dtcrshr has quit [Ping timeout: 260 seconds]
bigmac is now known as i8igmac
vlad_starkov has joined #ruby
Christian- has joined #ruby
mansi has quit [Remote host closed the connection]
i8igmac is now known as bigmac
mansi has joined #ruby
gstamp has quit [Ping timeout: 256 seconds]
the_fallen has quit [Remote host closed the connection]
bigmac is now known as i8igmac
i8igmac has quit [Client Quit]
gstamp has joined #ruby
nitish has quit [Remote host closed the connection]
mootpointer has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
bigmac has joined #ruby
anonymuse has joined #ruby
Kov|kasumi has joined #ruby
three18t- has joined #ruby
bigmac is now known as i8igmac
mansi has quit [Ping timeout: 256 seconds]
pen has quit [Remote host closed the connection]
skinny_much has quit [Ping timeout: 240 seconds]
drago777 has quit [Ping timeout: 240 seconds]
Y_Ichiro has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro has joined #ruby
Y_Ichiro has joined #ruby
jeffreylevesque_ has quit [Ping timeout: 240 seconds]
duke_nukem has quit [Ping timeout: 240 seconds]
skinny_much has joined #ruby
ChristianS has quit [Ping timeout: 240 seconds]
three18ti has quit [Ping timeout: 240 seconds]
sayd has quit [Ping timeout: 240 seconds]
braincra- has quit [Ping timeout: 240 seconds]
Kovensky has quit [Ping timeout: 240 seconds]
SirFunk has quit [Ping timeout: 240 seconds]
sayd has joined #ruby
Es0teric has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
SirFunk has joined #ruby
Kov|kasumi is now known as Kovensky
braincrash has joined #ruby
Christian- is now known as ChristianS
Megtastique has quit [Quit: Megtastique]
JumpMast3r has quit [Remote host closed the connection]
machuga is now known as machuga|away
JumpMast3r has joined #ruby
becky_ has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
BillCriswell has quit [Remote host closed the connection]
ntus1017 has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
the_fallen has joined #ruby
splittingred has joined #ruby
terrellt has joined #ruby
<terrellt> If I'm writing an HTTP API Consumption gem, is it recommended to just use Net::HTTP?
DrCode has joined #ruby
splittingred has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
freerobby has joined #ruby
wy_stack has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
wy_stack has joined #ruby
<troulouliou_dev> hi i have an issue with active_support it can not load a lib with its require redefinition while in irb the native require call works
ehaliewicz has quit [Ping timeout: 245 seconds]
<troulouliou_dev> is it possible to some how use the native require on top of active support
Buuyo has left #ruby [#ruby]
terrellt has quit [Ping timeout: 240 seconds]
the_fallen has quit [Remote host closed the connection]
labrat__ is now known as hackingoff
dtcrshr has joined #ruby
dtcrshr has quit [Changing host]
dtcrshr has joined #ruby
ehaliewicz has joined #ruby
_helloworld_ has quit [Remote host closed the connection]
habanany has quit [Ping timeout: 256 seconds]
alvaro_o has quit [Quit: Ex-Chat]
atno has joined #ruby
atyz has quit [Quit: Leaving...]
justsee has quit [Ping timeout: 268 seconds]
hogeo has joined #ruby
hogeo has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
cj3kim has joined #ruby
Es0teric has joined #ruby
agent_white has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
hogeo has joined #ruby
atno has quit [Ping timeout: 245 seconds]
justsee has joined #ruby
justsee has joined #ruby
intuxicated has quit [Ping timeout: 256 seconds]
_helloworld_ has joined #ruby
havenwood has joined #ruby
saarinen has joined #ruby
rezzack has joined #ruby
smathieu has joined #ruby
chimkan has quit [Quit: chimkan]
anay has joined #ruby
saarinen has quit [Quit: saarinen]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gstamp has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
jackjackdrpr has quit [Quit: Leaving.]
smathieu has quit [Ping timeout: 240 seconds]
r0bby_ has quit [Ping timeout: 256 seconds]
ntus1017 has quit [Remote host closed the connection]
crucify_me has joined #ruby
osvico has quit [Ping timeout: 260 seconds]
johnnyfuchs has joined #ruby
adeponte has quit [Remote host closed the connection]
gstamp has joined #ruby
butblack has joined #ruby
subbyyy has quit [Ping timeout: 246 seconds]
dyogenez has joined #ruby
eldariof has joined #ruby
anonymuse has quit [Remote host closed the connection]
_helloworld_ has quit [Remote host closed the connection]
sayd has left #ruby ["Textual IRC Client: www.textualapp.com"]
justsee has quit [Ping timeout: 240 seconds]
bionoid has quit [Remote host closed the connection]
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
gnuyoga has quit [Quit: gnuyoga]
hogeo has quit [Ping timeout: 248 seconds]
bjhaid has joined #ruby
crucify_me has quit [Remote host closed the connection]
<bjhaid> anyone knows why the ruby ftp site is down???
<zendeavor> no
<zendeavor> it just is
<zendeavor> ftp sucks, can you avoid using it forever if at all possible/
dyogenez has quit [Quit: http://lineofthought.com]
<bjhaid> how do I download ruby when rvm/(ruby website) points to the ftp location
<bjhaid> ??
<zendeavor> oh lawd, there's no http fallback?
cpruitt has quit [Quit: cpruitt]
<bjhaid> none
<sevenseacat> lawl
<zendeavor> no for really though.
<zendeavor> like really for really.
rickmasta has joined #ruby
<bjhaid> like really for very really
<sevenseacat> ya rly.
<bjhaid> ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz
<zendeavor> how on earth
<zendeavor> are you looking for source?
anay has quit [Remote host closed the connection]
hogeo has joined #ruby
hamakn has joined #ruby
<bjhaid> yeah
<zendeavor> git mirror
<zendeavor> svn mirror
<bjhaid> oh my bad
hamakn has quit [Read error: Connection reset by peer]
<bjhaid> let me check that
<bjhaid> but I need 1.9.3
<bjhaid> specifically
mansi has joined #ruby
<zendeavor> so get it, specifically
hamakn has joined #ruby
<bjhaid> (y)
<zendeavor> then you just have to learn how to compile it without rvm!
<bjhaid> well I can do both worlds
<zendeavor> is that like emerge worlds
<bjhaid> but I know what to do to make Rvm compile the source
<zendeavor> okay great, because i don't
<bjhaid> I tar the file
<bjhaid> and drop it in rvm archives
<zendeavor> but you can definitely work from the git/svn repo
i8igmac is now known as bigmac
<zendeavor> they both appear to still be up
bigmac is now known as i8igmac
anay has joined #ruby
<zendeavor> for fun while you wait on your compile, http://is.gd/9DAMie
justsee has joined #ruby
adeponte has joined #ruby
<bjhaid> :-)
<zendeavor> you could also just download a tarball from http://is.gd/KoJgnr
mansi has quit [Ping timeout: 256 seconds]
subbyyy has joined #ruby
io_syl has quit [Quit: io_syl]
wy_stack has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
guns has joined #ruby
chriskk has quit [Quit: chriskk]
vlad_starkov has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
anay has quit [Remote host closed the connection]
butblack has left #ruby [#ruby]
mansi has joined #ruby
ntus1017 has joined #ruby
havenwood has quit [Remote host closed the connection]
mary5030 has joined #ruby
bjhaid1 has joined #ruby
hogeo has joined #ruby
bjhaid has quit [Ping timeout: 240 seconds]
hogeo has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
hogeo has joined #ruby
zmansiv has quit [Ping timeout: 245 seconds]
pkrnj has joined #ruby
zmansiv has joined #ruby
dik_dak has quit [Ping timeout: 245 seconds]
zendeavor is now known as highlander
highlander is now known as Guest98001
Guest98001 is now known as automage
stuartrexking has joined #ruby
JimmyNeutron has joined #ruby
mary5030 has quit [Remote host closed the connection]
automage is now known as zendeavor
x1337807x has joined #ruby
Kruppe has quit [Remote host closed the connection]
airlok has joined #ruby
mklappstuhl has joined #ruby
x1337807x has quit [Client Quit]
guns has quit [Quit: guns]
mklappstuhl has quit [Remote host closed the connection]
<airlok> Any ideas when `rvm install 1.9.3` returns "There has been an error fetching the ruby interpreter"? The URL in question (http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2) 404's.
brandon_ has joined #ruby
<ryanf> ruby-lang.org is down
<ryanf> hopefully someone will fix it soon
<airlok> Well, that would do it. Thanks, ryanf
<zendeavor> airlok: i heard there's a workaround
<zendeavor> you could also just download a tarball from http://is.gd/KoJgnr
Shirakawasuna has joined #ruby
<zendeavor> and put it in your "rvm archives"
optimusprimem has joined #ruby
optimusprimem has joined #ruby
the_fallen has joined #ruby
airlok has quit [Remote host closed the connection]
<zendeavor> that's not very nice
sambao21 has quit [Quit: Computer has gone to sleep.]
the_fallen has quit [Read error: No route to host]
the_fallen has joined #ruby
smathieu has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
the_fall_ has joined #ruby
_veer has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
jonahR has joined #ruby
Skelz0r has quit [Ping timeout: 264 seconds]
Skelz0r has joined #ruby
the_fallen has quit [Ping timeout: 246 seconds]
Davey has joined #ruby
smathieu has quit [Ping timeout: 260 seconds]
tomzx_mac has quit [Ping timeout: 264 seconds]
the_fall_ has quit [Ping timeout: 245 seconds]
gz0 has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
Senjai has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Operation timed out]
ffranz has joined #ruby
tonini has joined #ruby
Inside has quit [Ping timeout: 248 seconds]
mnewton has quit [Ping timeout: 268 seconds]
companion is now known as Companion
huoxito has quit [Quit: Leaving]
mercwithamouth has joined #ruby
freakazoid0223 has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
lnormous has quit [Ping timeout: 245 seconds]
rickruby has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
lnormous has joined #ruby
subbyyy has quit [Ping timeout: 256 seconds]
bjhaid1 has quit [Quit: Leaving.]
hamakn has quit [Read error: Connection reset by peer]
hamakn_ has joined #ruby
rickmasta has quit [Quit: Leaving...]
bjhaid has joined #ruby
Domon has quit [Remote host closed the connection]
rickmasta has joined #ruby
_veer has joined #ruby
_veer has joined #ruby
justsee has left #ruby [#ruby]
anay has joined #ruby
freakazoid0223 has joined #ruby
mnewton has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
JZTech101 has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
Nrezinorn has quit [Quit: leaving]
locriani has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
GeissT has joined #ruby
ffranz has quit [Quit: Leaving]
axeman- has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
freakazoid0223 has quit [Ping timeout: 260 seconds]
twoism has joined #ruby
freakazoid0223 has joined #ruby
mansi has joined #ruby
hogeo has quit [Remote host closed the connection]
intuxicated has joined #ruby
eldariof has quit [Read error: Operation timed out]
r0bglees0n has quit [Ping timeout: 264 seconds]
randomautomator has joined #ruby
axeman- has quit [Ping timeout: 246 seconds]
axeman- has joined #ruby
randomautomator has quit [Remote host closed the connection]
randomautomator has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
randomautomator has joined #ruby
freakazoid0223 has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby
randomautomator has quit [Remote host closed the connection]
freakazoid0223 has joined #ruby
joschi_ has joined #ruby
joschi has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 240 seconds]
gstamp has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
zachrab_ has joined #ruby
aces1up has joined #ruby
Companion is now known as companion
iliketurtles has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
gstamp has joined #ruby
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
xpirator has joined #ruby
rickmasta has quit [Quit: Leaving...]
Senjai has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
nathancahill has quit [Quit: nathancahill]
airlok has joined #ruby
tommyvyo has quit [Quit:]
markalanevans has quit [Quit: markalanevans]
markalanevans has joined #ruby
smathieu has joined #ruby
markalanevans has quit [Client Quit]
wesside has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
freerobby has quit [Quit: Leaving.]
airlok has quit [Ping timeout: 256 seconds]
tommyvyo has joined #ruby
io_syl has joined #ruby
smathieu has quit [Ping timeout: 268 seconds]
xpirator has quit [Quit: Linkinus - http://linkinus.com]
lethjakman has quit [Ping timeout: 260 seconds]
lethjakman has joined #ruby
hogeo has joined #ruby
xpirator has joined #ruby
xpirator has quit [Client Quit]
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
axeman- has quit [Ping timeout: 246 seconds]
axeman- has joined #ruby
xpirator has joined #ruby
zeade has quit [Quit: Leaving.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ananthakumaran has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
Spami has quit [Quit: This computer has gone to sleep]
hogeo_ has joined #ruby
rshetty has joined #ruby
[narcan] has joined #ruby
mootpointer has joined #ruby
cumin has joined #ruby
hogeo has quit [Ping timeout: 240 seconds]
axeman- has quit [Ping timeout: 260 seconds]
pranny has joined #ruby
axeman- has joined #ruby
JimmyNeutron has joined #ruby
anay has quit [Remote host closed the connection]
amacgregor has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
ch_ has joined #ruby
freakazoid0223 has quit [Ping timeout: 256 seconds]
freakazoid0223 has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
hogeo_ has quit [Remote host closed the connection]
gz0 has joined #ruby
spundun has joined #ruby
mootpointer has quit [Ping timeout: 245 seconds]
<spundun> hi all, is this the right channel for rvm related questions?
<spundun> I have a pretty finge situation
<Nilium> I'd guess that'd be #rvm or something.
<spundun> ok I'll try there, thanks
axsuul has joined #ruby
dik_dak has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
Domon has joined #ruby
cj3kim has joined #ruby
filipe_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
thomasle_ has joined #ruby
mansi has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
<hmsimha> Does anyone have suggestions for helping one understand code execution flow?
poga has joined #ruby
filipe has quit [Ping timeout: 245 seconds]
<hmsimha> I am trying to refactor a class designed to import CSV documents into a rails app.. the methods each piggyback off of the previous one and i'm having a hard time following it in my head
<hmsimha> is there a diagramming program that is useful in this kind of situation?
<zendeavor> hmsimha: raptor
Shirakawasuna has quit [Quit: Leaving]
mansi has quit [Ping timeout: 245 seconds]
Kabaka has joined #ruby
zachrab_ has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
gnuyoga has joined #ruby
freakazoid0223 has quit [Ping timeout: 268 seconds]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
<hmsimha> zendeavor: what is raptor?
<hmsimha> I am trying to find information online but no luck
ch_ has quit [Remote host closed the connection]
mootpointer has joined #ruby
<zendeavor> a pen and paper often works just as well
<hmsimha> awesome, thanks!
ahawkins has joined #ruby
<zendeavor> i was a snob and couldn't stomach using raptor to "visualize" programs
jonahR has quit [Quit: jonahR]
<zendeavor> i ended up bailing on the class that shoved it down my throat, now i'm a skiddie
axeman- has quit [Read error: Connection reset by peer]
gnuyoga has quit [Ping timeout: 240 seconds]
tonini has quit [Remote host closed the connection]
gnuyoga has joined #ruby
axeman- has joined #ruby
<hmsimha> pen & paper isn't quite cutting it, and this isn't a problem i've had before.. but i've never been in a situation where i'm working with someone else's code like this either
<sam113101> did it build anger inside you, zendeavor?
Nahra has quit [Quit: leaving]
<hmsimha> maybe if i had some colored highlighters
hamakn_ has quit [Read error: Connection reset by peer]
<hmsimha> actually that might be exactly what i need
rickmasta has joined #ruby
<zendeavor> leading by example here.
timonv has joined #ruby
ayaz has joined #ruby
tonini has joined #ruby
<zendeavor> sam113101: stupid people make me angry, nothing else
axeman- has quit [Ping timeout: 245 seconds]
axeman- has joined #ruby
<sam113101> zendeavor: I see
pranny has quit [Read error: Connection reset by peer]
dik_dak has quit [Remote host closed the connection]
pranny has joined #ruby
<zendeavor> i like to play an angry guy on irc though
Banistergalaxy has quit [Ping timeout: 246 seconds]
<popl> Like to or are compelled to?
<sam113101> I like to pretend that I'm a female
<zendeavor> i define "stupid" as "intentionally ignorant"
<zendeavor> popl: i don't know what distinction to make.
<popl> zendeavor: ah
Banistergalaxy has joined #ruby
noop has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Quit: tjbiddle]
codecop has joined #ruby
<zendeavor> i'd certainly have a healthier mind without znc though.
<zendeavor> it was absolutely a mistake to set that up.
staafl has joined #ruby
mklappstuhl has joined #ruby
ahawkins has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
wallerdev has quit [Quit: wallerdev]
Vivekananda has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
Yakko has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
mahmoudimus has joined #ruby
dtcrshr has quit [Quit: poff]
freerobby has joined #ruby
gz0 has quit [Ping timeout: 240 seconds]
<Eiam> banisterfiend: why doesn't pry support next/step & so on?
rshetty_ has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
rshetty_ is now known as rshetty
spundun has quit [Remote host closed the connection]
anay has joined #ruby
smathieu has quit [Ping timeout: 256 seconds]
ntus1017 has quit [Remote host closed the connection]
<Eiam> guess ill have to use pry-nav
zoee has joined #ruby
Xeago has joined #ruby
tommyvyo has quit [Quit:]
apeiros has joined #ruby
Ciscoridze has joined #ruby
hmsimha has quit [Quit: Leaving]
freerobby has quit [Ping timeout: 256 seconds]
mootpointer has joined #ruby
Xeago has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
relix has joined #ruby
Cyrus has joined #ruby
anay has quit [Remote host closed the connection]
xpirator has quit [Quit: Linkinus - http://linkinus.com]
xpirator has joined #ruby
mootpointer has quit [Ping timeout: 240 seconds]
Astral_ has joined #ruby
dagobah has joined #ruby
teddyp1cker has joined #ruby
hamakn has joined #ruby
xpirator has quit [Client Quit]
axeman- has quit [Read error: Connection reset by peer]
axeman- has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Astralum has quit [Ping timeout: 240 seconds]
stuartrexking has quit [Quit: Linkinus - http://linkinus.com]
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
hanmac has joined #ruby
ebanoid has joined #ruby
anay has joined #ruby
Domon has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: No route to host]
xpirator has joined #ruby
anay has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
ninegrid has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
stef_204 has joined #ruby
decoponio has joined #ruby
cutmail has quit [Remote host closed the connection]
mansi has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jprovazn has joined #ruby
axeman- has quit [Remote host closed the connection]
_Andres has joined #ruby
lnormous has quit [Ping timeout: 240 seconds]
axeman- has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
tatsuya_o has joined #ruby
anay has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
senayar has joined #ruby
wmoxam has quit [Ping timeout: 248 seconds]
axeman- has quit [Read error: Connection reset by peer]
axeman- has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
wmoxam has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
netQT has joined #ruby
Demo_of_doom_ has joined #ruby
netQT has quit [Remote host closed the connection]
filipe_ has quit [Read error: Operation timed out]
duper has quit [Ping timeout: 256 seconds]
vince_prignano has joined #ruby
Tacit_AFK is now known as TacitBlue
ahawkins has joined #ruby
Domon has joined #ruby
tkuchiki_ has quit [Ping timeout: 256 seconds]
amacgregor has joined #ruby
[narcan] has joined #ruby
danielglh has joined #ruby
hmsimha has joined #ruby
ninegrid has quit [Quit: bbl]
amacgregor_ has joined #ruby
duper has joined #ruby
tkuchiki has joined #ruby
<flughafen> i have a capybara question if anybody in here uses it... within(:xpath, "//#{arg2}[@id=\"#{arg3}\" or @class=\"#{arg3}\"]/a[text()=\"#{arg1}\"]") fails to find a link, but if i specify it in chrome in the dev console, I get the right element
maxmanders has joined #ruby
clocKwize has joined #ruby
clocKwize has quit [Client Quit]
cantonic has quit [Quit: cantonic]
goodgame has joined #ruby
BizarreCake has joined #ruby
amacgregor has quit [Ping timeout: 260 seconds]
gz0 has joined #ruby
clocKwize has joined #ruby
<sevenseacat> are you testing it on the right thing in your test?
wmoxam has quit [Ping timeout: 268 seconds]
<flughafen> yes
<sevenseacat> show us the html you're calling it on and the exact xpath you're calling?
wargasm has quit [Ping timeout: 245 seconds]
io_syl has quit [Quit: io_syl]
<flughafen> $x("//td[@class='first-column ' or @id='first-column ']/a[text()='admin']") returns: [
iliketurtles has joined #ruby
<flughafen> <a href=​"/​rhn/​users/​UserDetails.do?uid=1">​admin​</a>​
wmoxam has joined #ruby
ch_ has joined #ruby
<flughafen> which is correct
thomasle_ has quit [Read error: Connection reset by peer]
thomasl__ has joined #ruby
<flughafen> sevenseacat: http://bpaste.net/show/691RvReVZURaJBQejWks/ is the ruby function
airlok has joined #ruby
<sevenseacat> and are you sure your test is looking at that html?
<flughafen> yes
tacos1de has quit [Ping timeout: 240 seconds]
adeponte has quit [Remote host closed the connection]
<sevenseacat> your test appears to be looking for a link inside a link?
<sevenseacat> what is the exact error?
filipe_ has joined #ruby
<Quadlex> flughafen: Are you using the selenium driver?
timonv has quit [Remote host closed the connection]
<flughafen> Quadlex: yes, selenium,. http://bpaste.net/show/8nKbJNuDPCyssK9UNYqy/ sevenseacat
smathieu has joined #ruby
<sevenseacat> and is line 54 the fail line?
<flughafen> yes
<sevenseacat> so you cant find a link with the text 'admin' inside a link with the text 'admin'?
rshetty has quit [Quit: Sleeping]
ch_ has quit [Remote host closed the connection]
tacos1de has joined #ruby
<flughafen> there are 3 admin links on the page... i want to find it in the <td class="first-column ">
kaspergrubbe has joined #ruby
<flughafen> when I do just based on td class="first-column " it finds more than one link,
<sevenseacat> your xpath selects a link. your next line looks for a link inside it
freerobby has joined #ruby
ch_ has joined #ruby
<flughafen> ok
airlok has quit [Ping timeout: 256 seconds]
mklappstuhl has quit [Remote host closed the connection]
niko__ is now known as h8R
zmansiv has quit [Ping timeout: 260 seconds]
<flughafen> are you saying it skips the link i selected and looks under it?
mklappstuhl has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 240 seconds]
joschi_ is now known as joschi
<sevenseacat> it doesnt skip anything
saarinen has joined #ruby
<flughafen> it should work?
<sevenseacat> you select a link, then try to find a link within it
<sevenseacat> thats not going to work
<flughafen> ok
<flughafen> where do i need to be less specific?
<sevenseacat> why do you even need the inner check?
<flughafen> the "first-column" ?
freerobby has quit [Ping timeout: 245 seconds]
<sevenseacat> no, the 'fail if you cant find a link'
ewnd9 has joined #ruby
<flughafen> oh, I dont know, i copied another function directly
<sevenseacat> clever.
zmansiv has joined #ruby
<flughafen> should i keep the xpath the same, and check the xpath instead of a link?
<flughafen> page.should have_xpath('//table/tr') ?
<flughafen> from the docs
threesome has joined #ruby
marcgg has joined #ruby
ahawkins has quit [Ping timeout: 248 seconds]
Matriks has joined #ruby
<flughafen> sevenseacat: that works now, thanks
ahawkins has joined #ruby
ninegrid has joined #ruby
brtdv has joined #ruby
Xeago has joined #ruby
_helloworld_ has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
ch_ has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
atyz has joined #ruby
_helloworld_ has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
ahawkins has quit [Quit: leaving]
ahawkins has joined #ruby
Demo_of_doom_ has quit [Remote host closed the connection]
Coffers has joined #ruby
kevinykchan has joined #ruby
tmi has joined #ruby
camilasan has joined #ruby
sayan has joined #ruby
vlad_starkov has joined #ruby
Bry8Star{T2 has quit [Remote host closed the connection]
mansi has joined #ruby
marr has joined #ruby
MarcWeber has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
mneorr has joined #ruby
Bry8Star{T2 has joined #ruby
MarcWeber has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
wenyekui has joined #ruby
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
Hobogrammer has joined #ruby
Hobogrammer has quit [Client Quit]
marcgg has quit [Ping timeout: 246 seconds]
amacgregor has joined #ruby
rshetty has joined #ruby
tonni has joined #ruby
adambeynon has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
amacgregor_ has quit [Ping timeout: 260 seconds]
bluenemo has joined #ruby
marcgg has joined #ruby
flou has joined #ruby
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Zai00 has joined #ruby
mklappstuhl has joined #ruby
three18t- is now known as three18ti
asuka has quit [Remote host closed the connection]
Afhbl has joined #ruby
mupkoo has joined #ruby
adeponte has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
axeman- has quit [Ping timeout: 246 seconds]
Neomex has joined #ruby
axeman- has joined #ruby
smathieu has joined #ruby
stef_204 has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Neomex has quit [Client Quit]
camilasan has joined #ruby
freerobby has joined #ruby
Afhbl has left #ruby [#ruby]
camilasa_ has joined #ruby
Xeago has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
stef_204 has joined #ruby
Xeago has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
axeman- has quit [Ping timeout: 268 seconds]
noname001 has joined #ruby
camilasan has quit [Ping timeout: 246 seconds]
axeman- has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
freerobby has quit [Ping timeout: 245 seconds]
adeponte has quit [Ping timeout: 241 seconds]
nari has quit [Ping timeout: 245 seconds]
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
ephemerian has joined #ruby
Al_ has joined #ruby
ghr has joined #ruby
gnuyoga has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
ghr has quit [Client Quit]
asteve has joined #ruby
Domon has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 240 seconds]
Domon has joined #ruby
axeman- has quit [Ping timeout: 240 seconds]
axeman- has joined #ruby
axeman- has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
xkx has joined #ruby
xkx has quit [Client Quit]
vishal_ has joined #ruby
jfelchne_ has joined #ruby
jfelchner has quit [Ping timeout: 245 seconds]
mfridh has joined #ruby
vishal has quit [Ping timeout: 268 seconds]
Zelest has quit [Quit: bbiab]
rshetty has quit [Ping timeout: 246 seconds]
freakazoid0223 has joined #ruby
trepidaciousMBR has joined #ruby
ghr has joined #ruby
arturaz has joined #ruby
trepidaciousMBR has quit [Client Quit]
freerobby has joined #ruby
trepidaciousMBR has joined #ruby
rshetty has joined #ruby
mansi has joined #ruby
blaxter has joined #ruby
Deele has joined #ruby
axeman- has joined #ruby
nari has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
timonv has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
xerxas has joined #ruby
axeman- has quit [Read error: Operation timed out]
axeman- has joined #ruby
TacitBlue is now known as Tacit_AFK
Speed has joined #ruby
endou has joined #ruby
<endou> Did the md5sum for ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar.gz change recently? My server downloads a tarball with a13b554eedb3a59a8c462a054b8722df but ruby-build expects it to be 0672e5af309ae99d1703d0e96eff8ea5
<endou> I downloaded the archive on my latop and got the same a13b554... sum
lkba has joined #ruby
<Xeago> endou: ruby-lang.org is having issues
<Xeago> not sure if that is related currently
gyre007 has joined #ruby
ferdev has quit [Quit: ferdev]
<endou> Ok, I just hope the archive not being hijacked or something bad happening
<Xeago> for that matter, i would not use that archive
<endou> I switch to p247 which has a good sum :)
<endou> switched*
axeman- has quit [Read error: Connection reset by peer]
axeman- has joined #ruby
gnuyoga has joined #ruby
mansi has joined #ruby
Banistergalaxy has quit [Ping timeout: 245 seconds]
ehaliewicz has quit [Ping timeout: 248 seconds]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
marcgg_ has joined #ruby
trivol has joined #ruby
marcgg has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
aganov has joined #ruby
smathieu has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
sevenseacat has quit [Quit: Leaving.]
_br_ has quit [Ping timeout: 246 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
Bry8Star{T2 has quit [Remote host closed the connection]
freerobby has joined #ruby
ferdev has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
Bry8Star{T2 has joined #ruby
marcgg has joined #ruby
rickmasta has quit [Quit: Leaving...]
Mozee_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
adac has joined #ruby
BlueShark is now known as BlueShark_
freerobby has quit [Ping timeout: 246 seconds]
cads has quit [Quit: Leaving]
xavier23 has quit [Quit: xavier23]
_veer has quit [Ping timeout: 268 seconds]
marcgg_ has quit [Ping timeout: 246 seconds]
Mozee has quit [Ping timeout: 245 seconds]
_veer has joined #ruby
BlueShark_ is now known as BlueShark
BRMatt has joined #ruby
himsin has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
jibi has joined #ruby
araujo has quit [Ping timeout: 256 seconds]
esmith has quit [Quit: Lost terminal]
Gooder has quit [Remote host closed the connection]
tonini has quit [Remote host closed the connection]
mneorr_ has joined #ruby
teddyp1cker has quit [Ping timeout: 256 seconds]
gnuyoga has quit [Quit: gnuyoga]
cascalheira has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
jlebrech has joined #ruby
axeman- has quit [Remote host closed the connection]
banisterfiend has joined #ruby
axeman- has joined #ruby
amacgregor_ has joined #ruby
<banisterfiend> Eiam: because base pry has to run on every ruby implementation
<banisterfiend> Eiam: and there's not really any general implementation of next/step that can work on everything
<banisterfiend> Eiam: anyway, pry was designed to be be plugin-based from the beginning, so the fact that pry-nav/pry-debugger provide next/step means that 'pry' does support it :)
amacgregor has quit [Ping timeout: 260 seconds]
AlSquire has joined #ruby
shaunbaker has joined #ruby
axeman- has quit [Ping timeout: 240 seconds]
kek has joined #ruby
trivol has quit [Quit: trivol]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shaunbak_ has joined #ruby
zz_michael_mbp is now known as michael_mbp
asuka has joined #ruby
nazty has joined #ruby
arya_ has joined #ruby
fermion has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
shaunbaker has quit [Ping timeout: 245 seconds]
shredding has joined #ruby
kek has left #ruby [#ruby]
xavier23 has joined #ruby
kek has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
LylaS has joined #ruby
<jlebrech> my rbenv global is 1.9.3 so why is gem using 1.8.7?
LylaS has left #ruby [#ruby]
freerobby has joined #ruby
axeman- has joined #ruby
axeman- has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
axeman- has joined #ruby
Davey has joined #ruby
amacgregor_ has quit [Ping timeout: 260 seconds]
rezzack has quit [Quit: Leaving.]
mneorr_ has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
michael_mbp is now known as zz_michael_mbp
mneorr has joined #ruby
lkba has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
<Nilium> jlebrech: What's `which gem` say?
kaspergrubbe has quit [Read error: Operation timed out]
zz_michael_mbp is now known as michael_mbp
<jlebrech> ~/.rbenv/shims/gem
<jlebrech> but `gem env` says 1.8
d2dchat has quit [Ping timeout: 246 seconds]
<jlebrech> rbenv global is 1.9.3
<jlebrech> so it should use global no?
grzywacz has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
BizarreCake has joined #ruby
cs02rm0 has joined #ruby
araujo has joined #ruby
<cs02rm0> with rails and activerecord, how do i get a new attribute on a model to be reflected in the db/schema.rb file (i gather that's generated somehow)?
shaunbak_ has quit [Remote host closed the connection]
mklappstuhl has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
mklappst_ has joined #ruby
mupkoo has quit [Read error: Operation timed out]
the_fallen has joined #ruby
tvw has joined #ruby
anay has quit [Remote host closed the connection]
zeromodulus has quit [Read error: Connection reset by peer]
mupkoo has joined #ruby
mupkoo has quit [Remote host closed the connection]
zeromodulus has joined #ruby
<banisterfiend> cs02rm0: #rubyonrails
Fuzai has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<Fuzai> how can I tell gem to look in a specific folder for pre-compiled libraries?
mansi has joined #ruby
<jlebrech> gem env path == /var/lib/gems/1.8:~/.gem/ruby/1.8
<jlebrech> that's wrong :P
blackmesa has joined #ruby
shaunbaker has joined #ruby
<Fuzai> i'm trying to install taglib-ruby to an openshift instance, i've got the c++ compiled and installed in $OPENSHIFT_DATA_DIR/local/lib
airlok has joined #ruby
Maoko has joined #ruby
<Fuzai> but taglib-ruby can't find the libs because it doesn't know the correct path
osvico has joined #ruby
xpirator has quit [Quit: Leaving...]
teddyp1cker has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
tundrax has joined #ruby
airlok has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby
endou has quit [Ping timeout: 248 seconds]
anay has joined #ruby
freerobby has joined #ruby
mansi has joined #ruby
shredding has quit [Quit: shredding]
Davey has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
niceguyjames has joined #ruby
freerobby has quit [Ping timeout: 260 seconds]
_br_ has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
kaspergrubbe has quit [Remote host closed the connection]
anay has quit [Read error: Connection reset by peer]
trepidaciousMBR has quit [Read error: Operation timed out]
trepidaciousMBR_ has joined #ruby
anay has joined #ruby
axeman- has quit [Ping timeout: 240 seconds]
camilasan has quit [Remote host closed the connection]
axeman- has joined #ruby
vince_prignano has quit [Remote host closed the connection]
vince_prignano has joined #ruby
camilasan has joined #ruby
emergion has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
mklappst_ has quit [Remote host closed the connection]
thomaslee has joined #ruby
mklappstuhl has joined #ruby
arya_ has quit []
fridim__ has joined #ruby
thomaslee has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
Grieg has joined #ruby
tmi has quit [Quit: tmi]
thomasl__ has quit [Ping timeout: 245 seconds]
realDAB has joined #ruby
kaspergrubbe has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Ping timeout: 240 seconds]
Spooner has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
smathieu has joined #ruby
moted has quit [Ping timeout: 248 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
monkegjinni has joined #ruby
subbyyy has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
[narcan] has joined #ruby
allanm has joined #ruby
freerobby has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
emergion has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has quit [Ping timeout: 245 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
monkegjinni has quit [Ping timeout: 240 seconds]
Domon has quit [Remote host closed the connection]
monkegjinni has joined #ruby
fgo has joined #ruby
ewnd9 has quit [Read error: Operation timed out]
nhhagen has quit [Ping timeout: 245 seconds]
nhhagen has joined #ruby
gadgetoid has quit [Ping timeout: 240 seconds]
devoldmx3 has joined #ruby
tundrax has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
devoldmx27 has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
Ciscoridze has quit [Ping timeout: 240 seconds]
guns has joined #ruby
devoldmx3 has quit [Ping timeout: 246 seconds]
Matriks has quit [Ping timeout: 268 seconds]
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
gadgetoid has joined #ruby
axeman- has quit [Ping timeout: 248 seconds]
<jblack> bz is up
lxsameer has joined #ruby
axeman- has joined #ruby
<lxsameer> is there any way to force passenger to use other ruby binary ? ( without recompiling passenger )
withnale has quit [Quit: ZNC - http://znc.in]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
codecop has quit [Remote host closed the connection]
gadgetoid has quit [Ping timeout: 240 seconds]
oddalot_ has joined #ruby
nhhagen has quit [Ping timeout: 245 seconds]
oddalot_ is now known as o9ddalot
o9ddalot is now known as oddalot
fridim__ has quit [Ping timeout: 268 seconds]
trepidaciousMBR_ has quit [Quit: trepidaciousMBR_]
the_fallen has quit [Remote host closed the connection]
anay has quit [Remote host closed the connection]
rolton has joined #ruby
<jblack> y
pyritical11 has quit [Quit: pyritical11]
Lewix has quit [Ping timeout: 246 seconds]
trepidaciousMBR has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
trivol has joined #ruby
pkrzywicki has joined #ruby
mansi has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
Banistergalaxy has joined #ruby
anay has joined #ruby
noname001 has quit [Ping timeout: 260 seconds]
pkrzy241 has joined #ruby
Matriks has joined #ruby
gadgetoid has joined #ruby
night-wandering1 has joined #ruby
BSaboia has joined #ruby
pkrzywicki has quit [Ping timeout: 246 seconds]
monkegjinni has joined #ruby
axeman- has quit [Ping timeout: 256 seconds]
noname001 has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
mansi has quit [Ping timeout: 246 seconds]
vishal has joined #ruby
nhhagen has joined #ruby
axeman- has joined #ruby
pkrzy241 has quit [Ping timeout: 245 seconds]
nomenkun has quit [Remote host closed the connection]
vishal_ has quit [Ping timeout: 256 seconds]
subbyyy has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
rolton has quit [Quit: Konversation terminated!]
pkrzywicki has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
colonolGron has joined #ruby
noname001 has quit [Ping timeout: 256 seconds]
Megtastique has joined #ruby
ferdev has quit [Quit: ferdev]
trivol_ has joined #ruby
kiri has quit [Read error: Connection reset by peer]
trivol has quit [Ping timeout: 256 seconds]
trivol_ is now known as trivol
kiri has joined #ruby
rshetty_ has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
rshetty_ is now known as rshetty
yfeldblum has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
smathieu has joined #ruby
Matriks has quit [Ping timeout: 245 seconds]
Matriks has joined #ruby
trivol has quit [Ping timeout: 245 seconds]
nomenkun has quit [Remote host closed the connection]
BizarreCake has quit [Read error: Connection reset by peer]
rdark has joined #ruby
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has quit [Remote host closed the connection]
<lxsameer> i deployed a rails app using passenger but i get this wired error http://dpaste.com/1332984/
jibi has quit [Quit: .]
nomenkun has joined #ruby
hogeo has quit [Remote host closed the connection]
ferdev has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
cantonic_ has joined #ruby
gyre007 has quit [Remote host closed the connection]
<hanmac> #lxsameer : #rubyonrails
banisterfiend has quit [Read error: Connection reset by peer]
krz has quit [Ping timeout: 245 seconds]
alexwh has quit [Quit: Quitting]
axeman- has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
<hanmac> lxsameer: try to run "uname" in your shell
axeman- has joined #ruby
guns has quit [Quit: guns]
eka has joined #ruby
<lxsameer> hanmac: i have the uname command
<e-dard> Hi, if I do module Foo; module Bar; #stuff end; end; and I define methods in Bar that are the same as Foo, how do I call the method in Foo from Bar?
freerobby has quit [Ping timeout: 248 seconds]
ewnd9 has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
pothibo has joined #ruby
<e-dard> Example: http://dpaste.com/1332993/
axeman- has quit [Ping timeout: 248 seconds]
relix has joined #ruby
nhhagen has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
axeman- has joined #ruby
<waxjar> Foo.hello ?
mklappstuhl has joined #ruby
michael_mbp is now known as zz_michael_mbp
blackmesa has quit [Quit: WeeChat 0.4.1]
niceguyjames has joined #ruby
cs02rm0 has quit [Quit: leaving]
Vivekananda has joined #ruby
<hanmac> e-dard you cant call Foo#hello method at line 13 because its an instance method that you cant access at this place
endou has joined #ruby
<waxjar> ah, of course
ArchBeOS has joined #ruby
krz has joined #ruby
<e-dard> hanmac: ah of course.. So I should scrap Bar, and just define the method wrappers in Zoo after I include Foo. Then I can just do zoo_object.hello ?
<hanmac> e-dard you cant include Bar alt line 21 because its an undefined constant, you would need Foo::Bar
predator217 has quit [Ping timeout: 240 seconds]
Elive_webchat1 has joined #ruby
camilasan has quit [Remote host closed the connection]
tk_ has joined #ruby
camilasan has joined #ruby
<Elive_webchat1> Im very familiarized with bash (unix commands), what is the best way to use unix commands using ruby instead of bash? for example using the mount command
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<kaspergrubbe> Elive_webchat1: `mount /dev/sda1`, system('mount *') etc.
<gnufied> ^
<adac> I have a stupid question: How to access the :photo_reference here: https://gist.github.com/anonymous/6163967
<kaspergrubbe> Elive_webchat1: But beware, this is forking methods, and if memory is dear to you, you should look at something like https://github.com/nulayer/subexec that utilizes Process.spawn
cj3kim has quit [Remote host closed the connection]
<kaspergrubbe> adac: @places[2].photos.first[:photo_reference]
osvico has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
airlok has joined #ruby
<adac> kaspergrubbe, thank you very much. My head was already smoking :)
huoxito has joined #ruby
trivol has joined #ruby
mark_locklear has joined #ruby
<kaspergrubbe> adac: :)
rbento has joined #ruby
camilasa_ has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
<Elive_webchat1> kaspergrubbe: in fact im trying to learn (and move to) ruby, so im searching/looking for the alternatives "ruby way" to do things that i have always do in bash... which everyday I think that is not a nice programming language
monkegjinni has quit [Ping timeout: 245 seconds]
r0bglees0n has joined #ruby
blip99 has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<kaspergrubbe> Elive_webchat1: I agree, Bash has its quirks
blackmesa has joined #ruby
willob has joined #ruby
camilasan has quit [Ping timeout: 256 seconds]
browndawg has quit [Ping timeout: 246 seconds]
<Elive_webchat1> that subexec gem looks pretty good, it doest just what i need :)
zz_michael_mbp is now known as michael_mbp
Zai00_ has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Zai00_ is now known as Zai00
airlok has quit [Ping timeout: 240 seconds]
guns has joined #ruby
<kaspergrubbe> Is ruby-lang.org having server issues? Our build systems is whining a bit because they can't access ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
v0n has joined #ruby
devoldmx has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ntus1017 has joined #ruby
enebo has joined #ruby
devoldmx27 has quit [Ping timeout: 248 seconds]
<apeiros> kaspergrubbe: might be related - somebody earlier reported an MD5 difference for the p247 tarball
mansi has joined #ruby
<kaspergrubbe> apeiros: oh, that doesn't sound good
<kaspergrubbe> thanks for the heads up
vishal has quit [Remote host closed the connection]
ferdev has quit [Quit: ferdev]
ferdev has joined #ruby
enebo has quit [Client Quit]
v0n has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
shaunbaker has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
colonolGron has quit [Quit: Lost terminal]
browndawg has joined #ruby
himsin has quit [Quit: himsin]
mikecmpbll has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
habanany has joined #ruby
anonymuse has joined #ruby
axeman- has quit [Ping timeout: 245 seconds]
axeman- has joined #ruby
Beoran_ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
vlad_starkov has joined #ruby
predator117 has joined #ruby
arturaz has quit [Remote host closed the connection]
arturaz has joined #ruby
grumpwork is now known as pipework
Beoran__ has quit [Ping timeout: 240 seconds]
pipework has quit [Remote host closed the connection]
jerius has joined #ruby
`MArceLL` has quit [Ping timeout: 246 seconds]
tomzx_mac has joined #ruby
Elive_webchat1 has quit [Quit: Page closed]
tkuchiki has quit [Remote host closed the connection]
freerobby has joined #ruby
mklappst_ has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
timonv has quit []
arusso has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
faulkner has quit [Ping timeout: 264 seconds]
shaunbaker has quit [Remote host closed the connection]
shaunbaker has joined #ruby
Norrin has quit [Ping timeout: 264 seconds]
faulkner has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
arusso has joined #ruby
mklappstuhl has quit [Ping timeout: 268 seconds]
ShapeShifter499 has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
nezumi has quit [Ping timeout: 256 seconds]
Kruppe has joined #ruby
cj3kim has joined #ruby
mahlon has quit [Ping timeout: 264 seconds]
Norrin has joined #ruby
michael_mbp is now known as zz_michael_mbp
shaunbaker has quit [Ping timeout: 240 seconds]
ahawkins has quit [Quit: leaving]
SegFaultAX has quit [Ping timeout: 264 seconds]
realDAB has quit [Quit: realDAB]
nhhagen has quit [Read error: Connection reset by peer]
codecop has joined #ruby
vlad_starkov has joined #ruby
nhhagen has joined #ruby
sameerynho has joined #ruby
smathieu has joined #ruby
bnagy has quit [Ping timeout: 264 seconds]
DrForr has quit [Ping timeout: 245 seconds]
bnagy has joined #ruby
Megtastique has quit [Quit: Megtastique]
airlok has joined #ruby
monkegjinni has joined #ruby
ahawkins has joined #ruby
airlok has quit [Remote host closed the connection]
shredding has joined #ruby
ahawkins has quit [Client Quit]
DrForr has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
SegFaultAX has joined #ruby
ori-l has quit [Ping timeout: 245 seconds]
ahawkins has joined #ruby
ahawkins has quit [Client Quit]
marienz has quit [Ping timeout: 600 seconds]
sailias has joined #ruby
trepidaciousMBR_ has joined #ruby
DylanJ has quit [Ping timeout: 245 seconds]
smathieu has quit [Ping timeout: 240 seconds]
trepidaciousMBR has quit [Ping timeout: 268 seconds]
trepidaciousMBR_ is now known as trepidaciousMBR
brbcoding has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
rshetty has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
ori-l has joined #ruby
DylanJ has joined #ruby
habanany has quit [Quit: habanany]
Schuy13r has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
anay has quit [Remote host closed the connection]
atyz has quit [Quit: Leaving...]
zz_michael_mbp is now known as michael_mbp
mneorr has quit [Remote host closed the connection]
zoee has quit [Quit: zoee]
Norrin has quit [Ping timeout: 264 seconds]
ntus1017 has quit [Remote host closed the connection]
mneorr has joined #ruby
Megtastique has joined #ruby
nomenkun_ has joined #ruby
pkrzywicki has quit [Remote host closed the connection]
Norrin has joined #ruby
noname001 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
browndawg has quit [Quit: Leaving.]
browndawg has joined #ruby
machuga|away is now known as machuga
trivol has quit [Quit: trivol]
uris77 has joined #ruby
devoldmx has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
atyz has joined #ruby
devoldmx has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
nomenkun has quit [Ping timeout: 256 seconds]
ShapeShifter499 has joined #ruby
blip99 has quit [Ping timeout: 240 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
shredding has joined #ruby
Desert_eagle has joined #ruby
shaunbaker has joined #ruby
pranny has quit [Quit: Leaving.]
bklane has joined #ruby
michael_mbp is now known as zz_michael_mbp
<e-dard> hanmac: had to go afk.. Is this kind of thing possible (it doesn't work at moment undefined method `hello' for Foo:Module) http://dpaste.com/1333056/
rshetty has quit [Quit: Sleeping]
mmitchell has joined #ruby
mmitchell has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
<waxjar> you included it, so just hello would be sufficient :)
mmitchell has joined #ruby
xcv has joined #ruby
<waxjar> if you dont want to include it, define it as self.hello, so you can call it like so: Foo.hello :)
<hanmac> e-dard use "super"
<waxjar> ah, same name :/ super yea. hanmac's sharp!
mansi_ has joined #ruby
<e-dard> hanmac: ah so it's similar to when you extend a class. I see, thanks :)
shaunbaker has quit [Remote host closed the connection]
wallerdev has joined #ruby
gsvolt_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
zz_michael_mbp is now known as michael_mbp
LMolr has joined #ruby
Coolhand has quit [Ping timeout: 245 seconds]
nomenkun_ has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
nomenkun has joined #ruby
shaunbaker has joined #ruby
mansi_ has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
Coolhand has joined #ruby
io_syl has joined #ruby
mansi_ has joined #ruby
<r0bglees0n> kaspergrubbe, apeiros https://github.com/ruby/www.ruby-lang.org/issues/259
wmoxam_ has joined #ruby
v0n has joined #ruby
agatha has joined #ruby
momomomomo has joined #ruby
relix has joined #ruby
scarolan has joined #ruby
fuzzy has joined #ruby
Fuzai has quit [Ping timeout: 245 seconds]
fuzzy has quit [Remote host closed the connection]
mansi_ has quit [Ping timeout: 268 seconds]
<hanmac> e-dard & waxjar if you want to call a method that is not the direct parent in the ancestor chain, do module.instance_method(meth).bind(self).call(*args)
shaunbak_ has joined #ruby
devoldmx3 has joined #ruby
<e-dard> hanmac: ah nice, so that takes the method and dynamically binds it to the instance associated with self?
cantonic_ has quit [Quit: cantonic_]
klaut has joined #ruby
<hanmac> e-dard: yes, but it only works if module is still in the ancestor chain, it does not work with other classes or modules that are not
shaunbaker has quit [Ping timeout: 245 seconds]
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<e-dard> hanmac: so somewhere along the way you have to be inside of the module?
<e-dard> (if that makes sense)
devoldmx has quit [Ping timeout: 260 seconds]
zz_dbRenaud is now known as dbRenaud
thepumpkin has joined #ruby
hashpuppy has joined #ruby
vlad_starkov has joined #ruby
pentameter has joined #ruby
ehc has joined #ruby
<hashpuppy> i'm trying to store this ruby hash into redis using .to_json and the JSON.parse to decode it. problem is that i get back my DateTime (yes, rails) objects as strings instead of DateTime objects? Is there any other form of serialization I could use where I get back objects as ruby objects?
<hashpuppy> like being able to serialize any object as a string and when i deserialize it have all its members be the original objects
freerobby has quit [Quit: Leaving.]
dbRenaud is now known as zz_dbRenaud
enebo has joined #ruby
zz_dbRenaud is now known as dbRenaud
fgo has quit [Remote host closed the connection]
kpshek has joined #ruby
fmcgeough has joined #ruby
fgo has joined #ruby
<hanmac> e-dard, okay, it may work with modules when they are not in the ancestorchain, but it does not work with classes: https://eval.in/private/12932ae0d5cdd4
codecop has quit [Remote host closed the connection]
<e-dard> hanmac: thanks for the example :)
Matriks has quit [Remote host closed the connection]
anay has joined #ruby
<ghr> Anyone familiar with the rpm gem? rubygems.org/gems/rpm
<ghr> Trying to rescue from this error if a non-existent file is passed to RPM::Package.open
<ghr> > ruby: rpmio.c:1581: Fclose: Assertion `fd && fd->magic == 0x04463138' failed.
<ghr> > Aborted
dbRenaud is now known as zz_dbRenaud
eightygrit has joined #ruby
cody-- has joined #ruby
blackmesa has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
pipework has joined #ruby
cmarques has joined #ruby
mklappst_ has quit [Remote host closed the connection]
nlko has joined #ruby
devoldmx has joined #ruby
mklappstuhl has joined #ruby
nlko has left #ruby [#ruby]
devoldmx3 has quit [Ping timeout: 240 seconds]
tomzx_mac has quit [Ping timeout: 268 seconds]
tabolario has joined #ruby
Kricir has joined #ruby
SCRIPT_KITTEH has joined #ruby
sambao21 has joined #ruby
cr3 has joined #ruby
rbento has quit [Ping timeout: 245 seconds]
<cr3> hi folks, is there a way to iterate over the parent directories?
BizarreCake has joined #ruby
ravster has joined #ruby
dhruvasagar has joined #ruby
smathieu has joined #ruby
asteve has joined #ruby
intuxicated has quit [Remote host closed the connection]
LMolr has quit [Ping timeout: 248 seconds]
machuga is now known as machuga|away
BW^- has joined #ruby
<BW^-> what char encoding is used by default when doing an MD5, SHA256 etc. hash?
SCRIPT_KITTEH has quit [Quit: Leaving]
pen has joined #ruby
codezombie has joined #ruby
jerius has quit [Quit: jerius]
smathieu has quit [Ping timeout: 245 seconds]
wesside has joined #ruby
moos3 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<ArchBeOS> anyone have a good resource on DB mocking with RSpec or Sequel
<ArchBeOS> ?
lnormous has joined #ruby
burlyscudd has joined #ruby
cpruitt has joined #ruby
<hanmac> BW^-: Digest::MD5.digest returns ASCII-8BIT Digest::MD5.hexdigest and Digest::MD5.base64digest return US-ASCII
<hanmac> for sample
<BW^-> hanmac: no no, for input!
splittingred has joined #ruby
madumo has joined #ruby
<BW^-> I want to calculate the MD5 hash for "aå" as a unicode/utf8-encoded string. how do I write this?
vlad_starkov has quit [Remote host closed the connection]
rbento has joined #ruby
moos3 has joined #ruby
wmoxam_ has quit [Quit: leaving]
wmoxam_ has joined #ruby
freerobby has joined #ruby
<hanmac> BW^- the digest i tested also accept utf8 strings
ananthakumaran has quit [Quit: Leaving.]
huoxito has quit [Quit: Leaving]
teddyp1cker has quit [Remote host closed the connection]
wmoxam has quit [Disconnected by services]
monkegjinni has quit [Remote host closed the connection]
<BW^-> hanmac: how do i ensure it won't be encoded according to utf32 or iso8859-1?
<BW^-> hanmac: can you give me a oneliner that MD5-encodes "aå" according to utf8?
wmoxam_ is now known as wmoxam
<BW^-> and outputs it as a string
<BW^-> retunrs
<BW^-> md5 as a string hash
wmoxam has joined #ruby
wmoxam has quit [Changing host]
BillCriswell has joined #ruby
<apeiros> BW^-: see String#encode
<apeiros> note that you can only re-encode a string if all characters can actually be transcoded
<BW^-> i'm not into ruby actually i just want to understand it from a crosslanguage perspective
<BW^-> this is why i ask for a oneliner :)))
thesheff17 has joined #ruby
<pipework> I'm trying to figure out why I should use inject over something like map and a hash.
gnuyoga has joined #ruby
<apeiros> BW^-: yeah, well, sorry. I help. I don't do your work.
<pipework> I've been reading Jay Fields blogpost from 2008.
<BW^-> k
teddyp1cker has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<hanmac> >> require "digest"; Digest::MD5.hexdigest("aå")
<eval-in> Hanmac => "499a9a2dfef9d4435294ffec074fffee" (https://eval.in/40847)
<shevy> inject is confusing
<apeiros> pipework: they serve entirely different purposes. e.g. [1,2,3,4].inject { |sum, value| sum+value } # can't do that with map
mikecmpbll has joined #ruby
<ericwood> inject is not confusing
<ericwood> it's just a silly name for what it actually does
<pipework> inject itself is not confusing.
<apeiros> whereas: [1,2,3,4].map { |value| value*10 } # can do that with inject, but it'd be ugly
<pipework> apeiros: But Jay Fields also uses it when he's building an object piece by piece.
<ericwood> "reduce" is a better name for it
<hanmac> pipework: i prefer the shortform: [1,2,3,4].inject(0,:+)
<apeiros> ericwood: I like inject. you inject a method.
<apeiros> e.g. [1,2,3,4].inject(:+) --> 1 + 2 + 3 + 4
<hanmac> "reduce" sounds so wrong for an "sum" function ;P
<waxjar> you can actually just leave the 0 off there
<ericwood> think of it this way: map takes an enumerable and gives you back an enumerable
<hanmac> waxjar, wrong
<ericwood> whereas reduce/inject take an enumerable and give you a single value
<apeiros> waxjar: only if nil for empty array is ok
<ericwood> so it's many --> many for map and many --> one for inject/reduce
<BW^-> hanmac: what encoding did that .hexdigest use?
<waxjar> >> [1,2,3,4].inject :+
<eval-in> waxjar => 10 (https://eval.in/40848)
<ericwood> technically reduce/inject are folds but for some reason we can't call them that :|
<BW^-> i mean, where is it specified tha tit should use UTF32 or UTF8 etc.?
<hanmac> BW^-: it returns US-ASCII but it also works with UTF32 as input
<hanmac> waxjar:
<hanmac> >> [].inject(:+)
<eval-in> Hanmac => nil (https://eval.in/40849)
mary5030 has joined #ruby
stef1a has joined #ruby
<ericwood> huh, didn't realize you could leave out the &
mansi_ has joined #ruby
<waxjar> ah, fair enough
<pipework> I'm doing something a bit more nontrivial. What I'm curious about is why I should use inject over something like: `supah_hash = {}; company.people.map {|person| ... }` and I use the supah_hash to build up my final result.
<ericwood> >> [1,2,3].map(:class)
<eval-in> ericwood => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/40850)
<ericwood> lol
<stef1a> is there a way to turn a hash initialization in which each key is an int from 1 to n into an "enumeration"?
<ericwood> >> [1,2,3].map(&:class)
<eval-in> ericwood => [Fixnum, Fixnum, Fixnum] (https://eval.in/40851)
<hanmac> ericwood: you can only leave out the & with inject because its special
<pipework> ericwood: Symbol#to_proc has ruined you!
<hanmac> (and its faster)
<BW^-> hanmac: so in Ruby, the string digest hashes are by default made with the string's UTF32 encoding as input?
<ericwood> hehehehe
<BW^-> hanmac: how can I change it to UTF8?
<stef1a> like if I have this http://pastie.org/8211603 how can I turn that into something like rows = { "id", "first_name", ... } but still maintain the hashyness?
<BW^-> hanmac: wher eis it written that it uses the utf32 version?
<pipework> apeiros: So what's the reasoning about why I should use inject over creating an empty hash and building my eventual object into that?
<ericwood> your solution doesn't use cool functional programming concepts
<ericwood> so his is better
<pipework> So mental masturbation? :D
<ericwood> hey, it's healthy and natural
<ericwood> so no hating
<apeiros> pipework: you want to convert company.people to a hash?
<pipework> It's not that I don't understand either side, I just can't think of a solid reason to use inject. I want to be able to defend it if challenged in code review.
Matriks has joined #ruby
LMolr has joined #ruby
<apeiros> I don't know "Jay Fields article from xyz" (hyperlinks are a useful invention btw.)
<pipework> apeiros: The values of each person gets turned into a hash I want in supah_hash. http://blog.jayfields.com/2008/03/ruby-inject.html
lebek has joined #ruby
* pipework has standup
<hanmac> BW^- you get me wrong, i dont know what it use as default i only said that it works with different encoding inputs
<apeiros> if he uses inject in this way: enum.inject({}) { |h, item| dostuff; h }, then Jay Fields abuses inject
<hashpuppy> What the hell is the difference between Marshal.restore and Marshal.load
<apeiros> he uses it in order to have a "one liner"
<apeiros> newer and better would be .each_with_object for that purpose
<apeiros> but building hashes, I prefer Hash[]
<apeiros> and "why this and not that" - if it does what you want, then the rest comes down to either optimization (speed/memory/maintainance) or style
<ericwood> hashpuppy: the docs list them as aliases for each other
<hashpuppy> why does ruby do that so often
<BW^-> aha
sparr has quit [Ping timeout: 256 seconds]
<hashpuppy> there's an alias for everything
<BW^-> hanmac: how can I specify encoding input to be UTF8?
MrBoolean has joined #ruby
<ericwood> hashpuppy: because sometimes one way of referring to it makes more sense in some contexts
<ericwood> like inject vs. reduce
<hashpuppy> those are different things
<ericwood> no they are not
browndawg has quit [Quit: Leaving.]
<waxjar> they're aliases if im not mistaken
freerobby has quit [Quit: Leaving.]
<ericwood> bingo
<stef1a> like if I have this http://pastie.org/8211603 how can I turn that into something like rows = { "id", "first_name", ... } but still maintain the hashyness?
<ericwood> the idea is in some cases you want to think of it as "injecting a function" and in others you want to think of it as "reducing an array" or whatever
<hashpuppy> in most languages inject == foldleft and requires an initializer. reduce doesn't
anay has quit [Remote host closed the connection]
<ericwood> yep
<apeiros> stef1a: rows = { "id", "first_name", ... } is not a valid hash
<hanmac> BW^- just do input.encode("UTF-8") … then your string will be encoded, PS: on newer ruby UTF-8 is the default encoding in ruby
<apeiros> stef1a: I don't understand what you want
<hashpuppy> why does ruby try to be different
<apeiros> also, what's "hashiness"?
<ericwood> hashpuppy: inject takes an optional initial value
freerobby has joined #ruby
<ericwood> hashpuppy: it doesn't deviate from the norm that much...just in the naming of that function
<ericwood> I agree that it should be called foldl or at least have an alias for that name
<apeiros> stef1a: ['id', 'first_name', …] would be valid. that's an array and is indexed numerically, starting at 0
axeman- has quit [Ping timeout: 256 seconds]
<BW^-> hanmac: so Digest::MD5.hexdigest("aå".encode("UTF-8")) ?
<BW^-> >> Digest::MD5.hexdigest("aå".encode("UTF-8"))
<eval-in> BW^- => uninitialized constant Digest (NameError) ... (https://eval.in/40860)
<pipework> I generally use reduce when I'm actually reducing something.
<BW^-> >> require "digest"; Digest::MD5.hexdigest("aå".encode("UTF-8"))
<eval-in> BW^- => "499a9a2dfef9d4435294ffec074fffee" (https://eval.in/40861)
axeman- has joined #ruby
<pipework> Map reduce concept style.
<BW^-> hanmac: like that?
<hanmac> yeah, but it should work without encode because i said that UTF-8 is the default
<BW^-> mhm
<stef1a> apeiros: ah, forgot about that. duh.
<stef1a> apeiros: i just wanted a way to avoid writing the numbers and you gave a very clear one...
<stef1a> and a very obvious one. thanks!
<hanmac> BW^- each of the Digest methods does call the string.b method on the input, so its unessesary what encoding your string is, its force_encoded into ASCII-8BIT (using force_encoding)
<apeiros> stef1a: btw., for string arrays, there's %w and %W
<apeiros> very conventiont
<ericwood> yepyep
<apeiros> >> %w[foo bar baz]
<eval-in> apeiros => ["foo", "bar", "baz"] (https://eval.in/40863)
<ericwood> nobody got time to type quotes, yo
<apeiros> any whitespace is a separator, so newlines are fine
<waxjar> gotta keep them lines under 80 chars :P
<BW^-> hanmac: waait, so you mean that it does a proper UTF8 to byte encoding so the ASCII-8BIT string used is the UTF8-coded representation (i.e. å represented as two chars etc.)?
trepidaciousMBR has quit [Ping timeout: 245 seconds]
trepidaciousMBR_ has joined #ruby
<BW^-> hanmac: or any higher-than-255 chars are just trashed and it only properly processes 0-255 ?
geekbri has joined #ruby
<hanmac> BW^- look at the difference between the methods: #encode and #force_encoding … first one transform, second one does not (so the bytes remain the same)
ArchBeOS has quit [Read error: Connection reset by peer]
vince_prignano has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
<apeiros> first says "translate the characters from one encoding to another", second one says "interpret the existing bytes in a different way"
ArchBeOS has joined #ruby
vince_prignano has joined #ruby
camilasan has quit [Remote host closed the connection]
<BW^-> hanmac: sorry you lost me =( what i'm trying to understand is just, Digest::MD5.hexdigest(thestring.encode("UTF-8")) , does itmake an MD5 hash based on the byte sequence 97 195 165 , or on something else?
camilasan has joined #ruby
yhsgw has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
tgunr has quit [Ping timeout: 246 seconds]
<BW^-> hanmac: (the alternative would be that it'd somehow trash the second char, instead using as hash input two bytes, the first being 97 and the second one being.. who knows!)
wesside has quit [Quit: I think I heard an ice cream truck..]
johnnyfuchs has joined #ruby
<hanmac> >> "å".b
<eval-in> Hanmac => "\xC3\xA5" (https://eval.in/40864)
the_fallen has joined #ruby
mansi_ has joined #ruby
tgunr has joined #ruby
lurch_ has joined #ruby
xcv has quit [Remote host closed the connection]
zz_michael_mbp is now known as michael_mbp
nomadic has quit [Ping timeout: 245 seconds]
wesside has joined #ruby
brennanMKE has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
ananthakumaran has joined #ruby
bradsmith has joined #ruby
yhsgw has quit [Ping timeout: 260 seconds]
cj3kim has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
olafurg has joined #ruby
<BW^-> hanmac: so.. this means it uses that as input right? :)))
<apeiros> BW^-: it uses the bytes. you can't calculate a digest from *characters*
brennanMKE has quit [Read error: Connection reset by peer]
<BW^-> yeah i know
<apeiros> this also means that your normalization matters.
digitalcake has joined #ruby
<BW^-> so any involved forcing-to-bytes process actually does a proper utf8 codig
ehc has quit [Quit: ehc]
<BW^-> apeiros: yep i know
madumo has quit [Quit: Dumb message bragging about my macbook pro]
<BW^-> does Ruby do any normalization of the hash input by default?
<apeiros> 16:31 BW^-: so any involved forcing-to-bytes process actually does a proper utf8 codig
brennanMKE has joined #ruby
<apeiros> that doesn't make sense
<apeiros> if it's bytes, it's bytes. encoding no longer matters. encoding is about how to interpret bytes.
vince_prignano has quit [Remote host closed the connection]
mansi_ has quit [Read error: Connection reset by peer]
<apeiros> BW^-: ruby doesn't know about digests.
mansi_ has joined #ruby
maccam94 has joined #ruby
<apeiros> BW^-: the openssl binding you use doesn't do any normalization, no
<hanmac> but beware, the string may byte you ;P
<BW^-> bytes: you mean Digest::MD5.hexdigest() only takes byte array as input?
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<apeiros> >> [[195, 164].pack("C*").force_encoding('utf-8'), [97, 204, 136].pack("C*").force_encoding('utf-8')]
<eval-in> apeiros => ["ä", "ä"] (https://eval.in/40865)
<BW^-> how would you change Digest::MD5.hexdigest(thestring.encode("UTF-8")) to do a round of unicode normalization too? :)
<apeiros> same character, right? different bytes.
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
madumo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> >> require 'digest'; [Digest::MD5.hexdigest([195, 164].pack("C*").force_encoding('utf-8')), Digest::MD5.hexdigest([97, 204, 136].pack("C*").force_encoding('utf-8'))]
<eval-in> apeiros => ["8419b71c87a225a2c70b50486fbee545", "6b43b4c4c3d9ab1f9abc391d16e118e4"] (https://eval.in/40866)
<BW^-> mhm. big ouch there - how do we normalize it?
<apeiros> different hashes. same chars, but different bytes. because digest does not care about how you *interpret* the bytes.
<apeiros> well, that depends on you. what you need. what you want.
ffranz has joined #ruby
<apeiros> ways to normalize: via activesupport's String#mb_chars, via Unicode gem, own method…
xavier23 has quit [Remote host closed the connection]
ehc has joined #ruby
anay has joined #ruby
<apeiros> BW^-: rubys String *is* a byte array
<ericwood> we're all just byte arrays deep down
<apeiros> all it does is provide an additional meta-datum which informs you about how to interpret those bytes.
sambao21 has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
noop has quit [Ping timeout: 245 seconds]
jlebrech has joined #ruby
<apeiros> you set that datum via force_encoding (as it does not mutate the bytes in the string in any way - it only changes the meta datum)
<BW^-> mhm
guns has quit [Ping timeout: 260 seconds]
<apeiros> or the moment you create the string. e.g. by passing the encoding flag to IO#open, or by setting Encoding.default_*
destruct1re is now known as destructure
destructure has quit [Changing host]
destructure has joined #ruby
jlast has joined #ruby
<BW^-> apapeiros: just like the absolutely most basic variant. to get it NFD-normalized I guess is the most normal normalization format.
jlebrech has quit [Read error: Connection reset by peer]
jlebrech has joined #ruby
bradhe has joined #ruby
filipe_ has quit [Ping timeout: 245 seconds]
nezumi has joined #ruby
vince_prignano has joined #ruby
freerobby has joined #ruby
ferdev has quit [Quit: ferdev]
eightygrit has quit [Quit: eightygrit]
dhruvasagar has quit [Ping timeout: 240 seconds]
LMolr has quit [Ping timeout: 260 seconds]
Kricir has quit [Remote host closed the connection]
jlebrech has quit [Read error: Operation timed out]
eightygrit has joined #ruby
arya_ has joined #ruby
mansi_ has quit [Remote host closed the connection]
mansi_ has joined #ruby
<stef1a> when I try to do require 'rubygems'; require 'curb'; and I use curb in the file, and I have done sudo gem install curb, I get the error when I run: ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- curb (LoadError)
ismell has joined #ruby
<hanmac> apeiros, is there a function that return true if you compare the two "ä" with each other from your sample?, all functions i try say they are not equal, or is there a function that make them equal?
<ismell> is the ftp down?
dhruvasagar has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
mansi_ has quit [Read error: Connection reset by peer]
Kruppe has quit [Remote host closed the connection]
<apeiros> hanmac: you'd have to normalize the strings first
<apeiros> one is KD the other KC normalized
mansi_ has joined #ruby
michael_mbp is now known as zz_michael_mbp
<stef1a> ismell: I get that too
Kricir has joined #ruby
<apeiros> stef1a: if you install ruby via rvm on a per-user base, then you *must not* use sudo to install gems
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
jaywastaken has joined #ruby
jaywastaken has quit [Changing host]
jaywastaken has joined #ruby
<apeiros> stef1a: also in ruby 2.0, you no longer need to `require 'rubygems'`
mahlon has joined #ruby
<stef1a> apeiros: so I should just do gem install curb?
<apeiros> stef1a: yes
<stef1a> apeiros: will try this. one sec
mercwithamouth has joined #ruby
huoxito has joined #ruby
<apeiros> you may also want to check whether you're actually using rvm's gem (`which gem` - should be somewhere in ~/.rvm/)
TheRealPygo is now known as pygospa
<stef1a> okay
<stef1a> yeah it is in ~/.rvm/
breakingthings has joined #ruby
grzywacz has quit [Quit: :wq]
the_fallen has quit [Remote host closed the connection]
vince_prignano has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
<stef1a> apeiros: thanks -- getting rid of sudo was all that was needed. I'd been searching for about an hour and had found nothing regarding the use of sudo during installation. thanks so much!
vince_prignano has joined #ruby
radic__ has joined #ruby
<spike|spiegel> if you not a sysadmin... you probably shouldn't use sudo :)
endash has joined #ruby
tvw has quit []
filipe_ has joined #ruby
chebyte has joined #ruby
smathieu has joined #ruby
<chebyte> hi guys I have a question I need parse this log http://pastie.org/private/cksj9ckbjvuqea3zlvf61w and extract the email data anyone knows how can I do that?
burlyscudd1 has joined #ruby
randomautomator has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
radic_ has quit [Ping timeout: 240 seconds]
mansi_ has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 245 seconds]
lethjakman has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
ferdev has joined #ruby
JZTech101 has joined #ruby
gnuyoga has quit [Quit: gnuyoga]
Schuy13r has joined #ruby
sparr has joined #ruby
freerobby has quit [Quit: Leaving.]
smathieu has quit [Ping timeout: 276 seconds]
dutchruby has joined #ruby
<dutchruby> Hi
randomautomator has quit [Remote host closed the connection]
randomautomator has joined #ruby
<dutchruby> Anyone know how i get an active navigation helper in the Middleman static generator?
sarkis has joined #ruby
<dutchruby> Hi Sarkis
allsystemsarego has quit [Quit: Leaving]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
S0da has quit [Read error: Connection reset by peer]
acrussell has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
acrussell has left #ruby [#ruby]
bradsmith has quit [Remote host closed the connection]
machuga|away is now known as machuga
bradsmith has joined #ruby
mansi_ has joined #ruby
<dutchruby> Could anyone help me out?
bradsmith has quit [Remote host closed the connection]
Mozee has joined #ruby
Lewix has quit [Remote host closed the connection]
dutchruby has quit [Quit: Page closed]
rippa has joined #ruby
willob has quit [Read error: Connection reset by peer]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Mozee_ has quit [Ping timeout: 240 seconds]
clocKwize has quit [Quit: clocKwize]
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jprovazn has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
arturaz has quit [Quit: Leaving]
nomadic has joined #ruby
Tarential has quit [Excess Flood]
Tarential has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Tarential has joined #ruby
lurch_ has left #ruby [#ruby]
teddyp1cker has joined #ruby
sambao21 has joined #ruby
chebyte has quit [Quit: Leaving.]
sarkis has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
zachrab_ has joined #ruby
devoldmx has quit [Read error: No route to host]
tatsuya_o has quit [Ping timeout: 268 seconds]
adac has quit [Quit: Leaving]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
anay has quit [Remote host closed the connection]
BW^- has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
teddyp1cker has quit [Ping timeout: 245 seconds]
d2dchat has joined #ruby
devoldmx has joined #ruby
io_syl has quit [Quit: io_syl]
Tarential has quit [Excess Flood]
Tarential has joined #ruby
<jalcine> If I want to extend a class dynamically at run-time, can I just use "extend" within a method?
<apeiros> extend within an instance method will extend the instance
chebyte has joined #ruby
goshakkk has joined #ruby
arya_ has quit [Ping timeout: 276 seconds]
* hanmac uses require inside instance methods
noname001 has quit [Remote host closed the connection]
Matriks has quit [Remote host closed the connection]
anay has joined #ruby
Tricon has joined #ruby
<davidcelis> hanmac: D:
noname001 has joined #ruby
<stef1a> When I try to download a file using open-uri and ruby, I get the following error t.rb:5:in `initialize': No such file or directory - https://www.google.com/images/srpr/logo4w.png (Errno::ENOENT)
arya_ has joined #ruby
MrBoolean has quit [Quit: Leaving...]
<zleslie> Howdy. I am trying to use rspec where the library I am testing has a require for a lib that is no in the ruby lib. What I've done so far is clone that repo to a shared/ directory under the project root with a rake task. Now I'd like to extend the rubylib to include this library so the code I am testing can require it. Is there a simple way to do this?
relix has joined #ruby
<zleslie> I tried munging the $LOAD_PATH, but that didn't seem to help.
apeiros has quit [Remote host closed the connection]
kek has quit [Quit: kek]
MrBoolean has joined #ruby
billy_ran_away has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
smathieu has joined #ruby
bluenemo has quit [Remote host closed the connection]
LMolr has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
MrBoolean has quit [Client Quit]
zachrab_ has quit [Remote host closed the connection]
tk_ has quit [Quit: ばいばい]
Tarential has quit [Excess Flood]
burlyscudd1 has quit [Read error: Connection reset by peer]
Tarential has joined #ruby
niceguyjames has joined #ruby
burlyscudd has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
Kricir has quit [Remote host closed the connection]
geggam has joined #ruby
lethjakman has joined #ruby
freerobby has joined #ruby
<stef1a> When I try to download a file using open-uri and ruby, I get the following error t.rb:5:in `initialize': No such file or directory - https://www.google.com/images/srpr/logo4w.png (Errno::ENOENT)
<stef1a> how can I download a file?
<lethjakman> any word on when ftp.ruby-lang.org will be back up?
ori-l has left #ruby ["Leaving..."]
jefflyne has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
<lethjakman> I'd really like to manage my ruby through rvm
<hanmac> stef1a, gist your code please
hakunin has quit [Remote host closed the connection]
<Rylai> stef1a: - yeah, what hanmac said
olafurg has quit [Quit: Ex-Chat]
marcdel_ has joined #ruby
bradsmith has joined #ruby
chebyte1 has joined #ruby
chebyte has quit [Ping timeout: 240 seconds]
pontiki has joined #ruby
lethjakm1 has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
rbento has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
Trynemjoel has joined #ruby
Kruppe has joined #ruby
jp- has joined #ruby
Appineer has joined #ruby
goshakkk has quit [Quit: Textual IRC Client: www.textualapp.com]
nathancahill has joined #ruby
burz has joined #ruby
aganov has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
ebanoid has quit [Quit: brbomgwtfbbq]
burlyscudd has quit [Read error: Connection reset by peer]
graydot has joined #ruby
aedorn has quit [Quit: Leaving]
burlyscudd has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
thepumpkin has quit [Remote host closed the connection]
Appineer has left #ruby [#ruby]
gnuyoga has joined #ruby
aedorn has joined #ruby
Mozee has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
JumpMast3r has quit [Quit: JumpMast3r]
mansi_ has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 248 seconds]
Kricir has quit [Remote host closed the connection]
kobain has joined #ruby
mansi has joined #ruby
fgo has quit [Remote host closed the connection]
zmike1234 has joined #ruby
shredding has quit [Quit: shredding]
resetter000 has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
<stef1a> how do you interpolate with single quotes
lurch_ has joined #ruby
devoldmx has joined #ruby
mansi has joined #ruby
tjbiddle has joined #ruby
devoldmx3 has joined #ruby
<hanmac> stef1a you cant, only pinke pie can ;P
LMolr has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
<hanmac> i mean thats the reason why there are single and double quotes
<Rylai> Indeed.
<resetter000> trying to load evader web gui in kali
niceguyjames has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Remote host closed the connection]
<resetter000> i get error msg
mansi has quit [Remote host closed the connection]
<pontiki> i now not what those words mean.
<pontiki> know*
cj3kim has joined #ruby
<resetter000> i have latest ruby installed
niceguyjames has joined #ruby
mansi has joined #ruby
<stef1a> so how would I make this work? http://pastie.org/8211918
rbento has joined #ruby
<stef1a> It just writes the files to #{url} rather than to the actual interpolated string filename
<pontiki> stef1a: go study up what the difference is between single and double quotes
<hanmac> stef1a, seriously? why cant you jusr use double quotes?
Viral1 has joined #ruby
dhruvasagar has joined #ruby
arya__ has joined #ruby
<Viral1> is ruby-lang.org fucked?
<stef1a> hanmac: then i get an error that says wb is an invalid mode
<stef1a> if i use double quotes
devoldmx has quit [Ping timeout: 245 seconds]
<stef1a> `open_uri': invalid access mode wb
<hanmac> stef1a so do you understand what "w" means? …
<stef1a> no
kaspergrubbe has quit [Remote host closed the connection]
<hanmac> you try to WRITE to google
<stef1a> i just want to write to the file
apeiros has joined #ruby
<hanmac> stef1a in line 3 you use an http address for url right??
mansi has quit [Ping timeout: 245 seconds]
cj3kim has quit [Read error: Connection reset by peer]
ner0x has joined #ruby
<ArchBeOS> is there a performance hit if i utilize class methods over instance methods?
adeponte has joined #ruby
Xeago has quit [Remote host closed the connection]
gnuyoga has quit [Quit: gnuyoga]
<stef1a> hanmac: yeah
arya_ has quit [Ping timeout: 276 seconds]
mansi has joined #ruby
<Mon_Ouie> Performance should have nothing to do with deciding on one over the other. Does your method operate on instance? Then it should be an instance method.
<Viral1> @jaywastaken thanks
<hanmac> stef1a so the line says: open the URL with WRITE mode … you cant use "open-uri" with WRITING files to an an URI …, you need to READ from the URI and write it to another path (local one)
<ArchBeOS> Mon_Ouie: thanks. it doesn't need to be instantiated.
kpshek has quit []
<hanmac> so something like that File.write(output, open(url).read)
senayar has quit [Ping timeout: 268 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<ArchBeOS> Are class methods put in the stack like in java or does ruby even care?
asobrasil has joined #ruby
adeponte has quit [Ping timeout: 240 seconds]
moted has joined #ruby
dagobah has quit [Remote host closed the connection]
<stef1a> hanmac: hanmac that gives me no such file or directory error
mansi has quit [Ping timeout: 245 seconds]
<resetter000> little help?
MrZYX|off has quit [Quit: Bye]
ismaelrb has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<hanmac> resetter000 without the error message no one can help you
MrZYX|off has joined #ruby
MrZYX|off is now known as MrZYX
<hanmac> stef1a, what did you use for output? and what for uri? and did you still require open-uri?
nomenkun has quit [Ping timeout: 245 seconds]
<ismaelrb> resetter000 gem install prawn
Grieg has quit [Quit: Grieg]
<ArchBeOS> fookin prawns
<resetter000> lol
<resetter000> district 9
kpshek has joined #ruby
lurch_ has quit [Quit: lurch_]
MrZYX has quit [Client Quit]
tylersmith has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
MrZYX|off has joined #ruby
<ArchBeOS> yup. so no one knows where class methods are placed in memory? fine, forget it...doesn't really matter anyway...
tylersmith has joined #ruby
Viral1 has quit [Quit: Leaving.]
MrZYX|off is now known as MrZYX
* ArchBeOS walks off with Scrubs "sad song" playing
agatha has quit [Quit: Leaving...]
zleslie has left #ruby ["WeeChat 0.3.8"]
mansi has joined #ruby
mansi has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
mansi has joined #ruby
sarkis has joined #ruby
Viral1 has joined #ruby
Viral1 has quit [Client Quit]
<resetter000> thank you
tatsuya_o has joined #ruby
<pontiki> ArchBeOS: if you're still here, all of a class's methods (class, eigen, instance) are stored in the class's program space
mikecmpbll has joined #ruby
<pontiki> they aren't put on the stack with instantiations
Rylai has quit [Excess Flood]
dhruvasagar has joined #ruby
<ArchBeOS> this is what i needed. thanks pontiki :)
tylersmith has quit [Ping timeout: 245 seconds]
Rylai has joined #ruby
maasdesigner1 has joined #ruby
<shevy> ArchBeOS do you use ruby on beos or haiku?
noname001 has quit [Ping timeout: 276 seconds]
<ArchBeOS> shevy: if i could code ruby on either or I would be in hog heaven
mansi has quit [Ping timeout: 245 seconds]
<shevy> hmmm :(
<pontiki> what's missing to compile it on either?
<shevy> I want to try out something other than linux but ruby is one requirement I can never give up anymore, I have several thousand .rb scripts
sambao21 has joined #ruby
nathancahill has quit [Quit: nathancahill]
<ArchBeOS> im very tempted in getting a mac myself, if anything for it's hardware...
ixti has joined #ruby
Kricir has joined #ruby
agatha has joined #ruby
supergiantrobot_ has quit [Quit: supergiantrobot_]
sambao21 has quit [Client Quit]
lethjakm1 is now known as lethjakman
burlyscudd has joined #ruby
agatha has quit [Client Quit]
endou has quit [Remote host closed the connection]
Krajsnick has joined #ruby
sambao21 has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
goodgame has quit [Quit: Quitte]
gerep has joined #ruby
sparr has quit [Ping timeout: 245 seconds]
<gerep> Hi all! I'm working on a Ruby project and I need to check the environment, how can I do that?
pranny has joined #ruby
<pontiki> ENV['envar']
pranny has quit [Remote host closed the connection]
marcdel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
efrainolivares has joined #ruby
<pontiki> ENV is a hash of the current environment variables
<gerep> pontiki: and envar is what store the environment? like production, development?
* apeiros ponders pedant mode
vince_prignano has quit [Remote host closed the connection]
<pontiki> *sigh*
<apeiros> heh
adrenaline_ has joined #ruby
<pontiki> gerep: you didn't say you meant Rails environment
Kricir has joined #ruby
<gerep> pontiki: I don't mean Rails environment
<pontiki> then what do you think production, development are?
JumpMast3r has joined #ruby
<gerep> pontiki: I can do this in Rails Rails.env.development?, is there something similar in Ruby so I can check?
<pontiki> ruby doesn't *have* such a concept
<pontiki> your application in Ruby might
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<gerep> pontiki: hum, got it :)
<gerep> pontiki: thanks a lot
gildo has joined #ruby
vince_prignano has joined #ruby
<apeiros> gerep: actually that is rails env :-p
<gerep> apeiros: but I'm not using rails
cj3kim has joined #ruby
<gerep> apeiros: only ruby
<apeiros> gerep: doesn't matter
<apeiros> the concept is "rails env"
<apeiros> and rails uses RAILS_ENV env variable to determine the "rails env"
<apeiros> and they chose a horrible name for the variable :D
<gerep> :)
<apeiros> I mean env really already has a meaning. it was silly to repurpose that name.
<gerep> apeiros: thanks :)
<apeiros> the rest - what pontiki already said
<pontiki> this caused no end of confusion in my last job
bklane has quit [Remote host closed the connection]
<apeiros> you can easily build something like rails' runtime env
<pontiki> because they layered yet *another* meaning for environment on top of the other two
freerobby has quit [Quit: Leaving.]
mansi has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
<pontiki> ah well, knowing what *domain* you're in is important, no? :))
<gerep> apeiros: where can I find details about it? to build my own?
<pontiki> (for yet another overloaded term)
<apeiros> gerep: rails' sourcecode if you just want to copy
zeade has joined #ruby
<gerep> apeiros: :)
ExxKA has joined #ruby
spider-mario has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
shaunbak_ has quit [Remote host closed the connection]
jibi has joined #ruby
Viral1 has joined #ruby
<speakingcode-wor> if i have a subclass, with a method (say foo), i can call foo of the superclass with 'super'
timonv has quit [Remote host closed the connection]
<speakingcode-wor> however, if i want to call a method on the superclass that has a different name than the method it is being called from, how can i do that?
thesheff17 has quit [Remote host closed the connection]
<apeiros> speakingcode-wor: you just call it by its name
<speakingcode-wor> apeiros: problem is the subclass overrides it
<apeiros> then you're doing it wrong
<speakingcode-wor> uh no
<apeiros> uh, yes
iliketurtles has joined #ruby
<speakingcode-wor> class A has methods foo and bar
<pontiki> self.class.method ?
chebyte1 has left #ruby [#ruby]
<apeiros> speakingcode-wor: I understood what you mean
<speakingcode-wor> class B has foo and bar. B's bar needs to call A's foo
<apeiros> and that's not how you do inheritance
<apeiros> if you need an unchanged method from your subclass, then *you don't override it*
<jaywastaken> speakingcode-wor: tldr: use composition instead
Viral1 has left #ruby [#ruby]
<apeiros> because *obviously* your overriding method does something different. so it should have a different name.
<apeiros> or short: you're doing it wrong.
<jaywastaken> or use alias
<speakingcode-wor> you don't even know what i'm doing
<speakingcode-wor> and it's a shortcoming of the language IMO if there is no way to do that other than being told 'you're doing it wrong'
Kricir has quit [Remote host closed the connection]
browndawg has joined #ruby
resetter000 has left #ruby ["Leaving"]
<jaywastaken> speakingcode-wor: see link above. you can do it, but it's ugly
bradhe has quit [Remote host closed the connection]
<speakingcode-wor> in java, super.whatever() is valid from the context of any method in the subclass, and there is no reason that it shouldn't be
vince_prignano has quit [Remote host closed the connection]
<apeiros> speakingcode-wor: yeah, no, it's not a short-coming of the language that it doesn't satisfy bad ideas.
<pontiki> *sigh*
<apeiros> speakingcode-wor: if you want to code FORTRAN, use FORTRAN, as the saying goes.
bradhe has joined #ruby
gnuyoga has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<speakingcode-wor> i'm not saying i want to code in java or that java is better ,jsut a counter example of it being valid, and it is common, and there is nothing inherently wrong with the concept
<speakingcode-wor> thank you jaywastaken
<apeiros> speakingcode-wor: yeah, no wonder - java has a proliferation of deeply nested class hierarchy. ruby isn't java.
adeponte has joined #ruby
<speakingcode-wor> so a superclass having some 'helper' methods that are common, and subclasses composing those common methods to their specific need, is inherently wrong in ruby?
<speakingcode-wor> what then, is the idiomatic approach?
<apeiros> on that level of abstraction: modules
<pontiki> split out commonly used methods into modules
adeponte has quit [Remote host closed the connection]
<spike|spiegel> include module and override?
altamic has joined #ruby
<apeiros> for more details, you'd need to be more specific. best provide code (gist.github.com)
io_syl has joined #ruby
adeponte has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
altamic has left #ruby [#ruby]
nari has quit [Ping timeout: 245 seconds]
<speakingcode-wor> purely conceptual at this point
<pontiki> with ruby, it's often much better to think in terms of modules, make classes where you need object instances
<apeiros> well, I'd disagree. IMO if you follow SRP, you'll end up with very few truly shared methods
<apeiros> but there are areas where it makes sense. presenters e.g.
Kricir has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
corehook has joined #ruby
<apeiros> or maybe: s/makes sense/is more common/
ldnunes has joined #ruby
<speakingcode-wor> the context that got me thinking about this was working on a set of rails controllers. there is some common functionality among them for pagination and ordering (though it is not exactly the same for each controller)
gildo has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
<apeiros> yeah, don't put it into the controller
andredublin has joined #ruby
<speakingcode-wor> so i wanted to abstract those out into mehtods in a baseclass, and then extend that in the controllers and be able to call whichever needed
<apeiros> create classes for those things and create instances of these classes in your controller
<apeiros> but if you want it your way - modules, clearly.
mahmoudimus has quit [Quit: Computer has gone to sleep.]
JimmyNeutron has joined #ruby
<apeiros> why own class/objects? SRP.
<apeiros> but if you do rails, that's probably a foreign term anyway :-p
efrainolivares has joined #ruby
<andredublin> im trying to test for symlink using fakefs, can anyone tell me what im doing wrong script: https://gist.github.com/andredublin/6141066 spec: https://gist.github.com/andredublin/6141079
Voodoofish430 has joined #ruby
<speakingcode-wor> i know single responsibility and i don't carew for rails, just htrown in on a project
nathancahill has joined #ruby
<JimmyNeutron> When defining an array, when would you use a string over a symbol if a symbol is slightly faster for access?
<apeiros> JimmyNeutron: arrays are not accessed by key, but by index. do you mean you have a hash?
<apeiros> (for the access by index, it doesn't matter what kind of object is accessed within the array)
bklane has joined #ruby
tatsuya_o has joined #ruby
<JimmyNeutron> apeiros, yeap. y = {"first" => "John", "last" => "Doe"} VS y = {:first => "Coding", :last => "Dojo"}
<apeiros> you use a symbol when your keys are identifiers
<apeiros> i.e. when you know they'll come from a closed set of values, and are not mutated
timonv has joined #ruby
Davey has joined #ruby
sparr has joined #ruby
trepidaciousMBR_ has quit [Quit: trepidaciousMBR_]
<JimmyNeutron> apeiros, ok...so symbols are similar to keys and symbols values cannot be changed
tatsuya_o has quit [Remote host closed the connection]
<apeiros> you use strings if the it's from user input, the values are not coming from closed set of possible values, or the contents are textual (e.g. the page of a book)
Kricir has quit [Read error: Connection reset by peer]
<JimmyNeutron> apeiros, makes better sense now. Thanks!
Kricir_ has joined #ruby
<apeiros> yw
<apeiros> and yes, symbols are immutable
<jaywastaken> JimmyNeutron: https://gist.github.com/unreal/6166354
<jaywastaken> from a memory standpoint, why you might want to use symbols
<apeiros> jaywastaken: from a memory standpoint, you might not want to use symbols. it depends on the use-case, really.
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> symbols are never garbage collected, which is why you shouldn't use it on random input (user input e.g.)
flou has quit [Quit: Textual IRC Client: www.textualapp.com]
<JimmyNeutron> thanks jaywastaken!
<jaywastaken> apeiros: yep, agreed
wmoxam has quit [Ping timeout: 240 seconds]
Davey has quit [Client Quit]
<jaywastaken> was just trying to show that there's a cost associated with using the same string hash key multiple times
tatsuya_o has joined #ruby
sambao21 has joined #ruby
ExxKA has quit [Quit: Leaving]
sparr has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
<apeiros> hm, true, I did leave out that part
freerobby has joined #ruby
<stef1a> def curl(url)
<stef1a> open("#{url}", 'rb') do |file|
<stef1a> file.write open("#{url}").read
<stef1a> end
<stef1a> # file << open("#{url}").read
<stef1a> end
<apeiros> stef1a: >3 lines of code not in here, see topic. thanks.
<pontiki> why in the world would you use "#{url}" instead of just url?
<stef1a> right
<shevy> perhaps old copy pasted code
<pontiki> or just url.to_s if need be
ismaelrb has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Client Quit]
electronplusplus has joined #ruby
<apeiros> open(url).read # <-- this is a bad pattern
<apeiros> better use: open(url, &:read)
<apeiros> the former can leave dangling filehandles because you never close them.
<shevy> & is so damn ugly
<pontiki> aww
burlyscudd1 has joined #ruby
<electronplusplus> checksum mismatch: ruby-1.9.3-p392.tar.gz (file is corrupt)
<electronplusplus> expected f689a7b61379f83cbbed3c7077d83859, got d41d8cd98f00b204e9800998ecf8427e
<pontiki> & is pretty!
burlyscudd has quit [Read error: Connection reset by peer]
<pontiki> embrace the power of and!
<electronplusplus> I could find a solution to this problem, help?
<shevy> electronplusplus the download was not complete?
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/
<electronplusplus> shevy: it completed
<shevy> odd. my 392 in .tar.xz has 7.3M size
<stef1a> apeiros: doesn't work
<pontiki> shevy, there is really all kinds of wrong in that code
iliketurtles has quit [Quit: zzzzz…..]
<apeiros> if I'd get a dollar for every "doesn't work"
<apeiros> stef1a: "doesn't work" is the most useless problem description ever.
<shevy> pontiki :D
rhys has joined #ruby
twoism has joined #ruby
<pontiki> you are opening a file for reading, then *WRITING* to the that file the contents of the SAME FILE
<pontiki> do you know you can't DO THAT??
<stef1a> apeiros: referring to what you just said. http://pastie.org/8212104 this does not work
<pontiki> should say Trying to write
rdark has quit [Quit: leaving]
<pontiki> because you CAN'T
Davey has joined #ruby
<apeiros> stef1a: does not work still does not work as a problem description
randomautomator has quit [Read error: Connection reset by peer]
<stef1a> apeiros: referring to the previous problem
wmoxam has joined #ruby
<stef1a> the images are not downloading
randomautomator has joined #ruby
<stef1a> they're not showing up in my dir
<apeiros> "the images are not downloading" that's better already than "doesn't work". still not good, though.
<shevy> he is getting closer to the problem description at hand :D
<pontiki> stef1a: line 3: you open the url for READING
iliketurtles has joined #ruby
<apeiros> you might want to listen to pontiki, though
<pontiki> passing the file handle into the block as 'file'
<pontiki> then you try to WRITE to that file, which is open for READING
<pontiki> which is definitely not going to work
sanav has joined #ruby
<pontiki> but then, wow, you are opening the SAME URL to read, and you think writing that BACK to the SAME FILE is going to work?
<pontiki> ...
Al_ has quit [Quit: Al_]
jonkri has quit [Quit: jonkri]
amacgregor has joined #ruby
<stef1a> when i use 'wb' instead of 'rb' i get invalid access mode wb
<pontiki> lol
kpshek has quit []
<stef1a> i copied the code from github
<pontiki> WHY ARE YOU WRITING TO A URL???
<stef1a> i want to read the url and then write to a file of the same name
<pontiki> wouldn't you really want to save the file locally??
<stef1a> i.e. i want to download the file
<stef1a> yes
<waxjar> look up what open actually does, ruby-doc.org is a great resource :)
<pontiki> do you know what a url looks like?
Villadelfia has quit [Ping timeout: 248 seconds]
<stef1a> pontiki: yes
MarioEIU has joined #ruby
<shevy> stef1a split up your tasks
* spike|spiegel gets popcorn
<waxjar> you can create and write files with File, it's documented there as well
<pontiki> does it look just like a file name on your local system?
<shevy> (1) read in data (2) then store that data
MarioEIU has left #ruby [#ruby]
<stef1a> shevy: yes thank you
<stef1a> pontiki: you don't have to get excited to help...
bradhe has joined #ruby
<pontiki> lol
<pontiki> what's wrong with getting excited?
<apeiros> stef1a: I think pontiki just really wants you to try to read and actually understand the code you copied
<shevy> the CAPS ;)
<pontiki> yes
<pontiki> the CAPS
<shevy> CAN YOU NOT WRITE SMALLER!!!
<pontiki> emPHAsis
<pontiki> :)
<shevy> I always found it curious that people associate upcased characters with loud-speaking in IRC
<pontiki> why?
saarinen has quit [Quit: saarinen]
<shevy> I mean, are you literally screaming at your screen at the same time?
mercwithamouth has joined #ruby
<pontiki> i'm not saying a word
<shevy> but you got excited!!!
<pontiki> i generally don't when i type
<pontiki> YES
<pontiki> so?
<shevy> YES
<Nilium> I'm not saying anything but my oatmeal is thinking it very tastily.
<shevy> AND NOW I AM ANGRY BY WRITING IN ALL CAPS!
<waxjar> are you literally talking in a low sexy voice when you type in downcase? ;)
<pontiki> it's an emotional state, therefore INTERNAL!! :)
Villadelfia has joined #ruby
<spike|spiegel> THIS means WAR!!
<stef1a> to the uninitiated beginner getting excited and pointing our information sarcastically is akin to saying "fuck you, you idiot"
<sanav> " WIN32OLE.new('InternetExplorer.Application').visible=true " it will open a internet-explorer in windows .I don't understand how to open other application like GIMP using win32ole .I read this (http://ruby-doc.org/stdlib-1.9.3/libdoc/win32ole/rdoc/WIN32OLE.html) but i don't find my solution .Please help me
aedorn has quit [Read error: Connection reset by peer]
<pontiki> this is SPARTA!!
pskosinski has joined #ruby
<shevy> waxjar well, actually I am often angry at computer-related things... lately at libtool, whoever came up with the idea of hardcoded paths in .la file was an idiot ...
<Nilium> Someone translate what sanav just said
<Nilium> He just went full gibberish and I'm scared and confused.
Maoko has joined #ruby
<shevy> dunno but he wants to do something windows related
saarinen has joined #ruby
rupee has joined #ruby
AndChat| has joined #ruby
<waxjar> hehe, i hear you. i get mad when the wifi decides to be a dick :P
<Nilium> Oh, he's doomed then.
* pontiki have some tea, Nilium ( ^^) _U~~
Kricir_ has quit [Remote host closed the connection]
<Nilium> Why thank you.
kpshek has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbpros has joined #ruby
<shevy> I am not sure myself how to start gimp through win32ole, but why not use system("gimp filenamehere &") ?
<pontiki> AND CALM DOWN
<shevy> YES
<Nilium> CERTAINLY
<shevy> ALL CALM DOWN, THERE IS NOTHING TO SEE HERE
zastern has joined #ruby
rickruby has quit [Remote host closed the connection]
<spike|spiegel> kids
<shevy> just some random channel excitement...
<pontiki> wheeee!!
burlyscudd1 has quit [Quit: Leaving.]
<shevy> stef1a btw, did you write to a file before in ruby code?
<pontiki> i wonder if people think adding "please help me" makes anyone more inclined to do so?
<Nilium> Words that when said in ANGERCAPS sound awkward: CERTAINLY, SCRUMPTIOUS, CRUMPETS, BISCUITS.
<pontiki> mmmmm biscuits
<Nilium> I'd be hungry but I made way too much oatmeal.
<pontiki> timtams if you have any?
thomaslee has joined #ruby
<shevy> because once you did, you usually now how to do it again, i.e. through File.open
Banistergalaxy has quit [Ping timeout: 248 seconds]
<shevy> *know
sambao21 has joined #ruby
<shevy> pontiki often no but this will get help
<mjc_> interesting, looks like ftp.ruby-lang.org doesn't work currently
<shevy> you are all too stupid to answer my question!
sparr has joined #ruby
<pontiki> lol
JZTech102 has joined #ruby
<spike|spiegel> nobody really understands File.open
<pontiki> i think ruby-lang is having problems in general
<pontiki> it's sad, spike|spiegel
<pontiki> poor thing
<sanav> i'm newbie .I want to automate windows application using win32ole API .When i tried " WIN32OLE.new('InternetExplorer.Application') " it will open internet explorer in windows OS .But when i tried "WIN32OLE.new('GIMP.Application') " it don't show me anything .I read the doc http://ruby-doc.org/stdlib-1.9.3/libdoc/win32ole/rdoc/WIN32OLE.html but i don't understand anything .Is this understandable ?
<shevy> spike|spiegel hah I forgot it too much myself, I wrote a save_file() method simply because my poor brain has it easier to use a method named like that ... save_file(what, where)
JZTech101 has quit [Disconnected by services]
<shevy> sanav, perhaps GIMP. namespace is not known
tylersmith has joined #ruby
JZTech102 has quit [Read error: Connection reset by peer]
<stef1a> i'm making progress. now, when I run the script, the files download, but they're being downloaded as binaries, which I don't want -- I want images. How can I modify my script to accomplish this? http://pastie.org/8212137
JZTech101 has joined #ruby
jibi has quit [Quit: .]
<shevy> stef1a hmm if you use ruby for wget-purpose, there should be a way to toggle that
<shevy> not sure from where open() comes in your code
<shevy> you sure require something that you dont show in your code or?
mahmoudimus has joined #ruby
<sanav> shevy: well , when we write "internetexplorer" in cmd it show me unknown command .Please tell me how to know which application is supported
<shevy> sanav good question
maxmanders has quit [Quit: Computer has gone to sleep.]
<stef1a> shevy: what
<shevy> isn't it iexplore or something?
<stef1a> shevy: that code is everything i'm using
<shevy> stef1a hmm
<shevy> perhaps try require 'open-uri' ?
<sanav> shevy: :( unknown command
<shevy> ruby docu still sucks so much :(
anay has quit [Remote host closed the connection]
<sanav> shevy: i agreed
<shevy> compare this to python docu! http://docs.python.org/2/library/urllib.html
<stef1a> shevy: i have that
<pontiki> sanav, i don't know much of anything about windows programing, but i do know this much: things like InternetExplorer.Application are internal names for programs, which are not well known, especially, and would never be documented in the ruby docs; they would likely not be much documented in windows docs, espeically for a third party program such as Gimp
<shevy> ok ... wait
<shevy> images are in binary format anyway, are they not?
<shevy> stef1a I mean, you dont have much choice here or? either ascii, or binary, as far as I know
sayan has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
<stef1a> shevy: *shrugs*
<pontiki> stef1a: have you written a program before?
i_s has joined #ruby
<stef1a> ?
<stef1a> what kind of question is that
<sanav> pontiki: then what should i do ? sit down and say "huhh ! life sucks"
<pontiki> well, i'm just wondering how much of a beginner you are?
<stef1a> lol
<pontiki> sanav: maybe? i don't know
<stef1a> yes i've been bumbling around for four years
<stef1a> ruby for a month
<pontiki> sanav: i'm certainly not being paid much for researching your needs
<sanav> pontiki: ok !
<stef1a> what
<stef1a> chill out pontiki
zmike1234 has quit [Ping timeout: 264 seconds]
<pontiki> stef1a: so when i say you can't write to a file you opened for reading, you'd know what i mean, yes?
<Nilium> sanav: The problem is you need to go back and research OLE and so on.
<Nilium> 'Cause you're not going to get anywhere if you don't understand it yourself.
<pontiki> and if i say you can't write to the same file you're reading from , you'd know what i mean, yes?
jaimef has quit [Excess Flood]
<pontiki> and if i say you cannot write to a url, you'd also know what i mean, yes?
<sanav> ok , i'm going ! thank you everyone .
jonathanwallace has quit [Ping timeout: 245 seconds]
<stef1a> pontiki: yes
<stef1a> you don't have to be condescending to try to help
<stef1a> it makes people less willing to ask for help from you
ewnd9 has quit [Remote host closed the connection]
<stef1a> whether or not you act this way in real life
<pontiki> lol
efrainolivares has quit [Quit: efrainolivares]
<pontiki> here's the thing
<apeiros> stef1a: nobody forces you to take pontiki's help
<pontiki> ^
splittingred_ has joined #ruby
<pontiki> that
rlpowell has joined #ruby
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> stef1a: if you feel pontiki is condescending, sure, point it out and ask him gently not to
<stef1a> apeiros: which i just did
ewnd9 has joined #ruby
<apeiros> stef1a: not really
<stef1a> i mean, well, yeah, really.
<stef1a> :/
splittingred has quit [Ping timeout: 240 seconds]
splittingred_ is now known as splittingred
<rlpowell> http://www.ruby-lang.org/en/downloads/ -- all ruby-lang.org downloads appear to be broken. (1) does anyone know what is going on? (2) is there an alternate way I can get rvm working?
<apeiros> stef1a: you did what you criticized pontiki for - you lectured hi
<apeiros> *him
ddm has joined #ruby
<pontiki> (her)
<pontiki> :)
<stef1a> i appreciate the feedback, but that's a non sequitur
<shevy> stef1a you said you dont want it to be binary. but what else do you want it to be then?
maniacal has joined #ruby
seich- has joined #ruby
mrsolo has joined #ruby
popl has joined #ruby
<stef1a> shevy: i was having trouble opening one file but it turns out the rest downloaded just fine
sanav has quit [Ping timeout: 250 seconds]
<waxjar> \o/
<apeiros> pontiki: oh, ok
<pontiki> not that it matters so much on a text-only medium
timonv has quit [Remote host closed the connection]
<Nilium> If you have to install software to give complete control of your computer to someone for a skill assessment portion of a job interview (so they could try to make sure you don't somehow cheat), would you do it?
jaimef has joined #ruby
gerep has left #ruby [#ruby]
<stef1a> Nilium: no
<apeiros> Nilium: no
<stef1a> there are better ways to conduct skill assessments than that
zastern_ has joined #ruby
<rlpowell> Nilium: They should provide the computer in that case. Obviously.
<apeiros> they can provide ssh access to their system or similar
goshakkk has joined #ruby
<Nilium> Ok, then I'm pretty sure I'm not out of touch with reality then.
<Nilium> rlpowell: They say they've got 'proctored locations' but my expectation is that it's only in their area.
c0rn has joined #ruby
<pontiki> not in that case
fuad has joined #ruby
<Nilium> Well, the thing is, they don't want me using a computer for this assessment.
<rlpowell> Nilium: If I had no option, I'd pop in a fresh hard drive, install a new OS, etc, and let them do their thing.
<Nilium> They want me on video with only a calculator in hand and to give them control of my computer.
<pontiki> huh
<apeiros> um, ew?
<Nilium> To me, it's just not worth it.
<stef1a> just initiate a webcam session?
<pontiki> it's not
<rlpowell> Nilium: There are places that will proide video conferencing for business needs; use one of them.
<apeiros> indeed. they should invite you to an interview if they want to control the situation
<shevy> Nilium as long as you can keep your pants on, where is the problem!
<Nilium> I can't even guarantee that much D:
<pontiki> maybe that *is* the problem?
<shevy> lol
<stef1a> lol
peregrine81 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<pontiki> i must admit my curiousity is piqued
<ericwood> you sound like a good "work from home" candidate
zastern has quit [Ping timeout: 240 seconds]
<pontiki> what sort of skills? what sort of company? what sort of draconian measures will the company exact on you as an employee?
thesheff17 has joined #ruby
<shevy> pontiki they use whips on their employees
kpshek has quit []
<shevy> "don't cheat!" *WHIPSLASH*
<pontiki> beginning the relationship in such an adversarial fashion would make me run
<pontiki> even the concept of cheating in this case
freerobby has quit [Quit: Leaving.]
<rlpowell> Nilium: What is the nature of the job?
<shevy> man, people cheat all the time, it's human nature
<Nilium> Software engineer, healthcare work
<rlpowell> Oh sure, people cheat hardcore.
<rlpowell> But, ummm.
ehc has quit [Quit: ehc]
<rlpowell> For *programming*, how is a computer helpful?
<pontiki> wait
jaywastaken has quit [Ping timeout: 246 seconds]
<Nilium> Yeah, I mean, don't we just know all the answers without research?
<pontiki> what?
amacgregor has quit [Ping timeout: 245 seconds]
<rlpowell> Looking things up is *part of the job*. If the interview questions can be answered by google, you're *asking the wrong interview questions*.
freerobby has joined #ruby
efrainolivares has joined #ruby
<pontiki> rlpowell: did you mean harmful there?
<Nilium> Anyway, I was trying to put the company's choice of VB6 and MUMPS as their core technologies behind me because hey, it's not the only things they use, but the control-your-PC part of the interview requirements was a bit much.
<rlpowell> pontiki: No, I meant helpful. That is: how would having a computer help you cheat at a programming job interview?
marcdel has joined #ruby
<pontiki> oh i get it
<pontiki> yeah
<ericwood> I think the main thing is to test their ability to learn
<Nilium> I'll give you the exact quote here: "While you are taking the assessment, the proctor will run a program on your computer that will give him/her temporary control of your PC."
ebanoid has joined #ruby
<rlpowell> pontiki: As an example, a standard interview question I use is "explain the internet".
<ericwood> and figure out how they go about solving problems
<rlpowell> Nilium: Oh, they may mean something like teamviewer.
<ericwood> rlpowell: that's a good question to ask
burlyscudd has joined #ruby
<pontiki> "it's this tiny black box with a red light on it"
<rlpowell> Nilium: In that case, there's no problem.
zmike1234 has joined #ruby
<Nilium> rlpowell: They also don't want you using the computer.
<pontiki> god help us if the red light goes out
<shevy> hey i admit it
<rlpowell> Nilium: Right, I caught that. This makes me think they're idiots that don't know how programming works.
<Nilium> Probably.
<shevy> without computer and without internet, I would have to rely on my brain and then I would be a little bit dumber
<Nilium> I mean, again, VB6 and MUMPS.
<pontiki> which means don't interview as a dev
<pontiki> interview as CTO
<rlpowell> I can't program without google, period;I forget extremely basic things constantly.
<pontiki> cos you already know more than anyone there
<Nilium> I can do plenty without Goole as long as I have my docsets.
codecop has joined #ruby
cr3 has left #ruby [#ruby]
<Nilium> Dash is basically my god.
<rlpowell> Like "OK, the language is ruby; is it "next" or "continue" to jump to the top of the loop?"
<Nilium> http://kapeli.com/dash ← For reference.
<rlpowell> pontiki: Srsly.
cj3kim has joined #ruby
<Nilium> rlpowell: Or the difference between redo/retry.
<rlpowell> OK, now, *my* issues. :D
<Nilium> I sadly do forget about redo and retry because I never use 'em.
<rlpowell> ftp.ruby-lang.org is down. I literally need to run "rvm install" to get any work done today (automating server builds). Suggestions?
<Sou|cutter> Nilium: I did not know about that one. thanks
<ericwood> suggestion: don't do any work today
jonkri has joined #ruby
<Sou|cutter> start working on implementing ruby yourself
<Nilium> Say you'll go work on the plumbing and play sudoku on the toilet.
<Nilium> Just don't say the part about sudoku
x1337807x has joined #ruby
<rlpowell> ericwood: It's occured to me, but I'd really lke to get this project done. -_-
<Nilium> Is there absolutely no way to build from source if you're using rvm?
burlyscudd has quit [Ping timeout: 240 seconds]
<pontiki> you can build from source
<Nilium> Or is it other obscure requirements that're the problem?
<pontiki> but the source is on ruby-lang
<rlpowell> I have a specific point release I want.
mityaz has joined #ruby
<rlpowell> 06-10:42 < pontiki> but the source is on ruby-lang -- and also that.
<Nilium> Which one?
ctp has joined #ruby
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2
<rlpowell> 1.8.7-p371
Kricir has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
<pontiki> what point release do you get with just the stock distro install?
<rlpowell> Oh *interesting*. thanks.
<pontiki> oh hmm
rickruby has joined #ruby
<shevy> hmm that link seems to be down?
<ericwood> that's the whole problem
<MrZYX> we all hope you're away that his version is out of support
<ericwood> eveyrthing is down
<Nilium> If github's down for you, you've got bigger problems
<MrZYX> *aware
<ericwood> EVERYTHIGN
<pontiki> if you gank that from GH, how do tell rvm to use it?
<rlpowell> 06-10:43 < shevy> hmm that link seems to be down? -- yes.
sailias has quit [Quit: Leaving.]
<rlpowell> MrZYX: I wasn't, actually; is there a supported 1.8 still?
<ericwood> pontiki: #rvm will tell you
sailias1 has joined #ruby
<MrZYX> rlpowell: no
<rlpowell> OK.
sailias1 is now known as sailias
bradsmith has quit [Remote host closed the connection]
<Nilium> 1.8 is completely dead.
<Nilium> Well, sort of.
<shevy> good old 1.8
BizarreCake has quit [Read error: Connection reset by peer]
<rlpowell> I didn't realize it was that bad. Good to know, thanks.
<shevy> the happy days before encoding!
<Nilium> It's the ol' yella of Ruby versions.
sailias has quit [Client Quit]
sailias1 has joined #ruby
sailias1 is now known as sailias
<Nilium> shevy: Happy? I was ready to shank someone. :|
momomomomo has quit [Quit: momomomomo]
klaut has quit [Remote host closed the connection]
amacgregor has joined #ruby
<hanmac> rvm should when you try to install an 1.8 ruby say: "your CPU is to fast" ;P
jlast has quit [Remote host closed the connection]
<shevy> hanmac you dont even use rvm!
<Nilium> And then did matz come over the hill, halo above head and ruby cupped in his palms and said, "come to me, my children, I hold the light" and then later it turned out he was kind of backwards about threading support
<rlpowell> *snrk*
<ericwood> lol
<hanmac> shevy currently on mac i use it because its easier to compile it (with clang)
Kricir has quit [Ping timeout: 245 seconds]
gyre007 has joined #ruby
<shevy> wait
<shevy> were you not on ubuntu?
gasbakid has joined #ruby
rickruby has quit [Ping timeout: 276 seconds]
gemmy has joined #ruby
endash has quit [Quit: endash]
<shevy> I wonder why python seems so much more popular than ruby
<ericwood> it's more popular in certain circles
<ericwood> but I wouldn't say it's universally more popular
bradsmith has joined #ruby
realDAB has joined #ruby
<spike|spiegel> it's more popular pretty much everwhere minus the web, where the hippies roam free.
<ericwood> you see a lot more python in scientific and data-driven computing due to amazing libraries like numpy
Matriks has joined #ruby
<pontiki> i would say python is very popular (probably rightfully) in non-CS/IT circles
codelurker has joined #ruby
jaywastaken has joined #ruby
<pontiki> and it's easy to teach
<ericwood> Rails put ruby on the map, so you see a lot of web stuff done in ruby
<ericwood> but it's leaking out into other areas as well
jaywastaken has quit [Changing host]
jaywastaken has joined #ruby
jbpros has quit [Quit: jbpros]
thepumpkin has joined #ruby
<pontiki> perl used to be my go-to language for doing general scripting
<ericwood> I think many of us are guilty of that :(
* apeiros liked perl
<pontiki> i'm liking ruby much more for that
<realDAB> ruby has been on my map since several years before rails :-)
<ericwood> it was the best thing at the time!
<pontiki> i still like perl
<apeiros> then came php :(
<shevy> hehe
<pontiki> lol
<pontiki> php fed the kids
<apeiros> it did feed me
<ericwood> you feed your kids PHP?
<ericwood> shame on you
<apeiros> but it did not please me
chrisja has joined #ruby
JDHankle has joined #ruby
atmosx has joined #ruby
zastern_ has quit [Remote host closed the connection]
<Nilium> I've never used Rails, I just picked up Ruby because yeeeears ago I could use it with GL and Fox or GLUT to make little game things
smathieu has quit [Remote host closed the connection]
<Nilium> I feel bad about not being able to use Perl anymore, though.
<hanmac> i picked ruby because of the RPGMakerXP ;P
jonahR has joined #ruby
Kricir has joined #ruby
companion is now known as Companion
<shevy> really???
ffio has joined #ruby
Ciscoridze has joined #ruby
<atmosx> hello
smathieu has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ffio is now known as hack
amacgregor has quit [Ping timeout: 245 seconds]
<shevy> hey atmosx how is the weather?
devoldmx has joined #ruby
<hanmac> shevy yeah i begin wth the RPGMaker2000 and then i see the newer ones that uses ruby, and i thought that is very cool
hack is now known as nerd
Appineer has joined #ruby
<shevy> nice
<hanmac> shevy he is currently in the atmos(phere) ;P
<atmosx> shevy: incredibly hot
ebanoid has quit [Quit: brbomgwtfbbq]
Appineer has left #ruby [#ruby]
enebo has quit [Quit: enebo]
<shevy> atmosx hah good! in vienna it was + 35.3°C two hours ago, even spain had lower temperature than that at that moment in time (save for sevilla on the west coast)
<shevy> now it is finally cooling off
<atmosx> I'm receiving so many job offers for programming jobs. I received like 20-25 jobs to date, I was fit to only 1 of them. You guys get email from companies that recruit developers?
codelurker has quit [Quit: Leaving]
devoldmx has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
sameerynho has quit [Ping timeout: 248 seconds]
<shevy> not many. mostly rails related and since I dont use rails its no use
<atmosx> shevy: nice good for you we reached 35 today but temp is starting to back off, it reached 43 some days aco
<atmosx> ago
adambeynon has joined #ruby
fuad has left #ruby [#ruby]
corehook has quit [Ping timeout: 264 seconds]
<atmosx> shevy: yeah, everybody wants rails, javascript, nosql (put another 4-5 terms that could gert a lifetime to become an *expert*)
banghouse has quit [Remote host closed the connection]
Megtastique has quit [Quit: Megtastique]
anonymuse has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
<spike|spiegel> I call 'em "exports"
interactionjaxsn has joined #ruby
<atmosx> shevy: I'm trying to go through an online tutorial… some things are easy, because I'm familiar with sinatra, others are not. Howeve I get the feeling that many Rails dev are not very familiar with 'ruby' at least reading the tutorial, I get the feeling the author *thinks* you don't know how to do things *the ruby way*.
devoldmx has joined #ruby
rsbcode has joined #ruby
<atmosx> spike|spiegel: exports?
sameerynho has joined #ruby
<shevy> yeah
<hanmac> "nosql" … that looks like that they want sql, but without sql … ( i didnt get the sense in that yet)
<spike|spiegel> the folks who call themselves "experts" coz you know they know rails / js / some db
<spike|spiegel> I call 'em "exports"
zastern has joined #ruby
<spike|spiegel> since I export them off from interviews
wildcard1 is now known as wildcard0
mercwithamouth has quit [Remote host closed the connection]
kpshek has joined #ruby
mercwithamouth has joined #ruby
dankest has joined #ruby
<atmosx> spike|spiegel: lol
ehc has joined #ruby
<speakingcode-wor> atmosx: you are correct. many rails developers don't know much about ruby at all, which is a good testament to ruby's simplicity
interactionjaxsn has quit [Ping timeout: 240 seconds]
<atmosx> spike|spiegel: but I'm not talking abou the guys per-se. I'm talking about requirments ask by job offers. I mean, they ask a awful lot of things that, you might have scratched the surface (I've setup memcached + sinatra plugin + mysql + nginx + unicorn under FreeBSD, doesn't make me a Memcached/Redis expert right?) but you're not an *expert with technologies*.
<atmosx> speakingcode-wor: yeap
<spike|spiegel> atmosx: they are looking for 'exports', not experts.
<speakingcode-wor> rails is much more than a library though, it is driven by a set of tools and lots of 'magic' achieved through convention
<atmosx> spike|spiegel: oh, then I was fit for more then 1 job, lucky me.
sameerynho has quit [Client Quit]
sameerynho has joined #ruby
nerd is now known as baba
ehc has quit [Client Quit]
<speakingcode-wor> atmosx: if you've done it and managed to make it work, you're an expert in the eyes of recruiters and lots of managers
baba has quit [Quit: WeeChat 0.4.1]
<atmosx> speakingcode-wor: yes, having worked only with sinatra, I was amazed by automation tools that are provided. You need to get familiar with the framework though, but it's not *that* hard.
<speakingcode-wor> i think generally though job specs are like the extreme ideal, and with the shrotage in developers most understand it's unlikely they will find a true expert in every criteria they want
Kricir has quit [Remote host closed the connection]
BizarreCake has joined #ruby
sameerynho has left #ruby [#ruby]
<apeiros> speakingcode-wor: or they're not ready to pay what an expert in every criteria costs
<atmosx> speakingcode-wor: of course, but in 1 freeBSD box, not in 200+ (Which would make an expert in my eyes). I'm proficient with UNIX-like systems, administrating, scripting, seting up complex systems etc. It's a hobby though I'm not a professional developer or anything in the IT industry
<speakingcode-wor> apeiros: +1
ddm has quit [Quit: Page closed]
<atmosx> however, it's a market that has job offers, if you are willing to relocate.
LiquidInsect has quit [Ping timeout: 240 seconds]
jonathanwallace has joined #ruby
<speakingcode-wor> which market?
sambao21 has joined #ruby
realDAB has quit [Quit: realDAB]
Kricir has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<spike|spiegel> fish
mercwithamouth has quit [Ping timeout: 264 seconds]
unstable has left #ruby [#ruby]
alex__c2022 has quit [Quit: alex__c2022]
maxmanders has joined #ruby
maxmanders has quit [Client Quit]
codelurker has joined #ruby
<andredublin> im trying to test if a symlink exists using fakefs, but it keeps returning false
<andredublin> can anyone tell me what im doing wrong script: https://gist.github.com/andredublin/6141066 spec: https://gist.github.com/andredublin/6141079
devoldmx has quit [Read error: Connection reset by peer]
codelurker has quit [Client Quit]
gerep has joined #ruby
codelurker has joined #ruby
jackjackdrpr has joined #ruby
nathanieldavid has joined #ruby
nathanieldavid has quit [Client Quit]
BRMatt has quit [Ping timeout: 245 seconds]
<pontiki> andredublin: please show output? also, you can put more than one file in a gist. this makes it much easier for us to see.
Krajsnick has quit [Remote host closed the connection]
devoldmx has joined #ruby
codelurker has quit [Client Quit]
amacgregor has joined #ruby
alex__c2022 has joined #ruby
<jackjackdrpr> is ruby ftp still down?
<jackjackdrpr> need some other versions
<andredublin> heres the result https://gist.github.com/andredublin/6167144
<pontiki> jackjackdrpr: are you using rvm to install?
<jackjackdrpr> I'm trying to staticly compile it
reset has joined #ruby
interactionjaxsn has joined #ruby
<jackjackdrpr> btw rvm also does not work since it's trying to download from the same site
ehc has joined #ruby
<pontiki> andredublin: i'm not at all familiar with FakeFS -- one thing i'd check for is that the target file exists as well
<pontiki> jackjackdrpr: i have a workaround for the rvm issue
<spike|spiegel> don't use it?
maxmanders has joined #ruby
<pontiki> but if you just want to statically build it, you can snag it from github. look at https://github.com/ruby/ruby/releases to find the release you want
<pontiki> not at all, spike|spiegel
<spike|spiegel> well, that would have been my suggestion :)
<andredublin> well the thing is that the file comes from within the gem itself
<atmosx> how many hours per day you spend on reading news online people?
<spike|spiegel> people use rvm and think they are sysadmins
<jackjackdrpr> thanks for the link
c0rn has quit [Ping timeout: 246 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
<pontiki> which file?
gyre007 has quit [Remote host closed the connection]
<andredublin> pontiki: there are two files within my gem that i symlink to the $HOME path
kevinykchan has quit [Quit: Computer has gone to sleep.]
Kricir has quit [Remote host closed the connection]
<pontiki> the .tmux.conf and .tmux.clipboard?
c0rn has joined #ruby
<andredublin> yes
<waxjar> actual news atmosx?
codecop has quit [Remote host closed the connection]
<atmosx> waxjar: ny kind of news
<pontiki> andredublin: any weird chance it works if you take out the FakeFS include?
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski has quit [Quit: Til rivido Idisti!]
mneorr has quit [Remote host closed the connection]
<pontiki> the reason i suggested that testing for their existance before checking if their symlinks might give a clue?
<waxjar> plenty of articles from hackernews/reddit, not so much actual news
<pontiki> but maybe no
maxmanders has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
<waxjar> there's a lot of background articles mixed in with that tho, dunno if that qualifies as news
electronplusplus has quit [Remote host closed the connection]
ewag has joined #ruby
gerep has left #ruby [#ruby]
<andredublin> pontiki: maybe, ive now discovered an error within the code
<pontiki> ahok
sam19113 has joined #ruby
vlad_starkov has joined #ruby
brianpWins has joined #ruby
<atmosx> waxjar: I read only hacker news ana handfull of blogs these days… and whatever I get from twitter (which is a lot)
<atmosx> waxjar: I'm getting a feeling of frustration on time spent on reading news vs time spent on doing other things that's why I asked.
nanoxd has joined #ruby
senayar has joined #ruby
<andredublin> pontiki: yeah still returns false
mneorr has quit [Ping timeout: 264 seconds]
<atmosx> waxjar: I'll read it tonight. Thanks
decoponio has quit [Quit: Leaving...]
axl_ has joined #ruby
<atmosx> but my prob is not reading more than 4 pages, I've read the article about the GS dev who got jailed for uploading some code at a CSV repo… which was something like 8 pages yesterday. I need to read something like this more on time-spend-perspective. I'll give it a go anywya.
<shevy> cool
<shevy> in which country did he get jailed?
<atmosx> oh no, actually it was some very clear points now that I took a better view
<atmosx> shevy: YSA
<stef1a> anybody know why this (http://pastie.org/8212387) might be giving the error `open_http': 404 Not Found (OpenURI::HTTPError)?
<pontiki> andredublin: i never see the output that is supposed to come from #link_file
<atmosx> shevy: that's the guy http://www.aleynikov.org
sam19113 has quit [Ping timeout: 264 seconds]
byprdct has joined #ruby
<shevy> ah goldman sucks
toyRed has joined #ruby
<atmosx> shevy: yeap
toyRed has quit [Client Quit]
<andredublin> pontiki: right, but i wouldn't think that #link_file would need to return a value to test for file exists?
sailias has quit [Ping timeout: 246 seconds]
<atmosx> shevy: totally, their system was crappy anyway (from what I've read) he wasn't going to use any code and he didn't apparently touch any of the code he took with him + others did it… on the other hand he shouuldn't suppose to do that or he should have done it in a different more subtle way.
MrZYX is now known as MrZYX|off
opus has joined #ruby
<atmosx> I'm off bb
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
elaptics is now known as elaptics`away
<pontiki> andredublin: it shouldn't, no, but i'm not seeing the output from the p statement at line 36: https://gist.github.com/andredublin/6141066#file-file_system-rb-L36
<andredublin> ah, i gotcha
browndawg has left #ruby [#ruby]
<pontiki> andredublin: i'm suspecting that the error may actually be here: https://gist.github.com/andredublin/6141066#file-file_system-rb-L23
JDHankle_ has joined #ruby
<pontiki> it may be returning an empty array
<waxjar> stef1a, you're giving an URL to something that doesn't exist (maybe a newline at the end?)
<pontiki> or below
blaxter has quit [Ping timeout: 248 seconds]
<pontiki> anyway, i suspect your not actually getting your data files or the directory or something
<waxjar> also, you don't have to do "#{something}", you can just do something or something.to_s if it's an object that you want a String representation of
<andredublin> pontiki: ok ill look into it further, thanks
<pontiki> sure
JDHankle has quit [Ping timeout: 240 seconds]
<rlpowell> If it's complicated, you probably want .inspect , though. Just FYI.
<rlpowell> Well, for debugging, anyways.
ebanoid has joined #ruby
<rlpowell> (although these days, I do YAML::dump(foo) more often then foo.inspect)
<stef1a> waxjar: what do you mean
<stef1a> waxjar: regarding: you're giving an URL to...
cpush has joined #ruby
zmike1234 has quit [Quit: ~]
<rlpowell> stef1a: He's explaining what a 404 is. :)
jibi has joined #ruby
<rlpowell> HTTP error 404 means the remote server is like "I have no idea what you're talking about".
<waxjar> google.com/8723gio4hlbaosdfiguhjkasdhf will give you (i'm guessing :P) a 404, it doesn't exist
Demo_of_doom has joined #ruby
relix has joined #ruby
<waxjar> since you're reading from a file, it may have a newline (\n) at the end that makes it invalid. i only skimmed over your code, tho
<rlpowell> stef1a: line 77 prints out the URL it's about to try; does the last URL it prints before the 404 actually work?
sayan has quit [Quit: Leaving]
echevemaster has quit [Ping timeout: 276 seconds]
<stef1a> rlpowell: ah. i'll try.
<stef1a> rlpowell: thanks for explaining, btw...
Tania has joined #ruby
sayan has joined #ruby
<stef1a> rlpowell: no. it doesn't work. go figure. thanks!
MrZYX|off is now known as MrZYX
brunoro has joined #ruby
odgrim has joined #ruby
Tania has quit [Quit: :p]
<odgrim> is it just me or are the tarballs for ruby on the ftp portal down?
<waxjar> other people had problems, so im guessing you're right
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
optimusprimem has quit [Ping timeout: 245 seconds]
mmitchel_ has joined #ruby
<odgrim> ouch
axeman- has quit [Ping timeout: 245 seconds]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nathancahill has quit [Quit: nathancahill]
mahmoudimus has joined #ruby
sam19113 has joined #ruby
axeman- has joined #ruby
marcdel has quit [Ping timeout: 276 seconds]
alexim has joined #ruby
<odgrim> SPOF as a non-ha fileserver for tarballs of a major language = bad news
mikeg has joined #ruby
nathancahill has joined #ruby
nathancahill has quit [Client Quit]
lebek has joined #ruby
devoldmx3 has joined #ruby
BizarreCake has quit [Ping timeout: 276 seconds]
Kricir has joined #ruby
mikeg has quit [Read error: Connection reset by peer]
JimmyNeutron has quit [Ping timeout: 245 seconds]
mmitchell has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
mikeg has joined #ruby
hakunin has joined #ruby
tjbiddle has joined #ruby
<pontiki> you can get the source from github
<pontiki> someone should write this up
<odgrim> sure, I'm more inclined to run my own internal mirror now
<rlpowell> pontiki: I'm having trouble getting it to *actually work*, though.
<rlpowell> I'll let you know when I do.
devoldmx has quit [Ping timeout: 264 seconds]
<jaywastaken> there are a # of mirrors out there... just be sure to check the checksums
mneorr has joined #ruby
maniacal has quit [Ping timeout: 264 seconds]
<pontiki> rlpowell: i just did it
<rlpowell> pontiki: How, exactly?
<pontiki> which version did you want again?
<pontiki> rlpowell: rvm install ruby-v1_9_3_448 --verify-downloads 1
Kricir has quit [Ping timeout: 264 seconds]
<odgrim> ibiblio has a mirror that seems clean, I'm pulling 448 from: http://mirrors.ibiblio.org/ruby/ruby-1.9.3-p448.tar.bz2
nadirvar_ has joined #ruby
<rlpowell> I think my rvm must be too old.
bradsmith has quit [Remote host closed the connection]
<rlpowell> *But*, I just discovered that you can dump the tarball into $rvm/archives/
jfelchne_ has quit [Ping timeout: 245 seconds]
jokke has quit [Quit: WeeChat 0.4.1]
<pontiki> rlpowell: i'm on 1.21.6
<rlpowell> 1.9.2 :P
axeman- has quit [Ping timeout: 240 seconds]
<rlpowell> (this is an automated rvm install; us sysadmins don't like surprise upgrades)
axeman- has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
devoldmx has joined #ruby
jfelchner has joined #ruby
<speakingcode-wor> surprise upgrades?
Davey has quit [Quit: Computer has gone to sleep.]
fgo has quit [Remote host closed the connection]
saintcajetan has quit [Ping timeout: 240 seconds]
<rlpowell> speakingcode-wor: I don't pull the latest rvm because that leads to surprises, and I haven't told the scripts to pull anything newer in a while because it was working well enough.
iliketurtles has quit [Quit: zzzzz…..]
devoldmx3 has quit [Ping timeout: 246 seconds]
<rlpowell> OK, here's a workaround that does well even on old rvm: grab the .tar.bz2 from a mirror such as http://mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/ , run rvm install foo-1.2.3 --disable-binary
<rlpowell> I think I'll go that route because then I can just controll the file directly.
<rlpowell> Oh, sorry, missed a step: put it in /usr/local/rvm/archives/
<pontiki> nod
intuxicated has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
MrZYX is now known as MrZYX|off
<pontiki> that's from the offline page, rlpowell ?
<rlpowell> Yeppers.
ananthakumaran has quit [Quit: Leaving.]
rickruby has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
sam19113 has quit [Quit: sam19113]
ganeshran has joined #ruby
<ismell> any one woring on the 404 for the ftp server?
<ganeshran> Hi is ruby site down
<ganeshran> My install is failing with 404
<ganeshran> opened the site manually, still a 404
reset has quit [Quit: Leaving...]
<rlpowell> LOL.
<rlpowell> 06-12:15 < ismell> any one woring on the 404 for the ftp server? -- See https://github.com/ruby/www.ruby-lang.org/issues/259
<waxjar> someone should maybe put it in the topic. haha
saintcajetan has joined #ruby
<pontiki> wondering if someong can topic this: http://www.ruby-lang.org/en/news/2013/08/06/status-issue/
<rlpowell> Just a minute; making a gist.
<ganeshran> is there any way to set up a mirror for the ruby binaries?
<rlpowell> And you can topic that.
<pontiki> ganeshran: they exist
<rlpowell> ganeshran: Just a sec; I'll have instructions for you.
MrZYX|off is now known as MrZYX
<ganeshran> rlpowell: pontiki thanks. I am using rvm btw
<pontiki> rlpowell: for binairies?
<pontiki> ganeshran: look at the url rlpowell posted
<pontiki> down in the comments someone mentions a mirror
<ismell> thanks
rickruby has quit [Ping timeout: 240 seconds]
<pontiki> wondering if any ops are present to topic this
<ganeshran> pontiki: cool. got the issue. I will confirm the checksums just in case
senayar has quit [Remote host closed the connection]
dankest has quit [Quit: dankest]
gildo has joined #ruby
zeropx has joined #ruby
<rlpowell> pontiki / ganeshran : Complete instructions: https://gist.github.com/anonymous/91b02565466395244107
andredublin has quit [Read error: No route to host]
dankest has joined #ruby
<pontiki> keep it handy
<ganeshran> awesome Thanks rlpowell
<pontiki> with no ops here, no one else can change the topic
<rlpowell> :)
vlad_starkov has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Kricir has joined #ruby
orionstein_away is now known as orionstein
f0ster has joined #ruby
sam19113 has joined #ruby
andredublin has joined #ruby
senayar has joined #ruby
s__dana has joined #ruby
aaronmcadam has joined #ruby
odgrim has left #ruby [#ruby]
<pontiki> sorry, because i'm such OCD: https://gist.github.com/tamouse/3cbdc5ada16b96595218
senayar has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
fgo has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikeg has quit [Remote host closed the connection]
Notte has joined #ruby
maniacal has joined #ruby
Megtastique has joined #ruby
seich- has joined #ruby
mikeg has joined #ruby
maniacal has quit [Read error: Connection reset by peer]
axeman- has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
nanoxd has joined #ruby
<rlpowell> pontiki: *Huh*. I didn't know you could do that, that's great! Thank you.
realDAB has joined #ruby
<pontiki> :D
i_s has quit [Remote host closed the connection]
axeman- has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
fgo has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
<pontiki> ("that" meaning write markdown and have it formatted?)
johchri has joined #ruby
<rlpowell> pontiki: *in a gist*. I knew you could do it in your github repos.
theRoUS has quit [Read error: Operation timed out]
senayar has joined #ruby
<pontiki> oh, yeah -- all the fancy formatting is there
<pontiki> it will pick it based on extension, or you can override it
<pontiki> gists are quite awesome
<pontiki> as a tool
bzitzow has joined #ruby
hanmac has quit [Quit: Leaving.]
cumin has quit [Remote host closed the connection]
bradsmith has joined #ruby
smathieu has quit [Remote host closed the connection]
mnewton has quit [Ping timeout: 240 seconds]
anonymuse has joined #ruby
alex__c2022 has quit [Ping timeout: 264 seconds]
OffTheRails has joined #ruby
`MArceLL` has joined #ruby
saarinen has joined #ruby
iliketurtles has joined #ruby
sayem has joined #ruby
iliketurtles has quit [Client Quit]
eldariof has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amacgregor has joined #ruby
Lewix has quit [Remote host closed the connection]
cads has joined #ruby
OffTheRails has quit [Remote host closed the connection]
reset has joined #ruby
mmitchel_ has quit [Remote host closed the connection]
twoism has quit [Read error: Connection reset by peer]
gildo has quit [Ping timeout: 246 seconds]
marcdel has joined #ruby
bradsmith has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
twoism has joined #ruby
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
bradhe has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sayan has quit [Ping timeout: 245 seconds]
johchri has quit [Ping timeout: 264 seconds]
alvaro_o has joined #ruby
tatsuya_o has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Remote host closed the connection]
JimmyNeutron has joined #ruby
chichou has joined #ruby
chichou has quit [Remote host closed the connection]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
scarolan has quit [Ping timeout: 256 seconds]
kirun has joined #ruby
m8 has joined #ruby
scarolan has joined #ruby
m8 has quit [Max SendQ exceeded]
terinjokes has joined #ruby
postmodern has joined #ruby
<terinjokes> i'm having issues downloading the ruby source, ftp.ruby-lang.org seems offline
arya__ is now known as arya_
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
<terinjokes> pontiki: oh, thanks
<terinjokes> i missed this
luke- has joined #ruby
<pontiki> rlpowell just wrote it up; it's been coming up all day
i_s has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 240 seconds]
<terinjokes> pontiki: topic worthy?
<rlpowell> Can't find an op.
<terinjokes> i see it's in the news section of ruby-lang.org, but i didn't skim there
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
`MArceLL` has quit [Ping timeout: 246 seconds]
brtdv has joined #ruby
luke- is now known as barratt
JZTech101 has quit [Ping timeout: 276 seconds]
replay has joined #ruby
forced_request has joined #ruby
<terinjokes> for ruby-install (used by chruby) it's ruby-install ruby [1.9|2.0|…] -u http://mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/[PATH/TO/BZ2] -m [MD5]
mikeg has quit [Remote host closed the connection]
mnewton has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
JZTech101 has joined #ruby
tatsuya__ has joined #ruby
mansi has joined #ruby
m8 has joined #ruby
senayar has quit [Remote host closed the connection]
nanoxd has quit [Quit: Textual IRC Client: www.textualapp.com]
realDAB has quit [Quit: realDAB]
Kricir has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
aaronmcadam has quit [Quit: Leaving...]
x1337807x has joined #ruby
sparr has quit [Ping timeout: 264 seconds]
twoism has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Ping timeout: 245 seconds]
twoism has joined #ruby
efrainolivares has joined #ruby
alex__c2022 has joined #ruby
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby
optimusprimem has joined #ruby
freerobby has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
LiquidInsect has joined #ruby
twoism has quit [Read error: Connection reset by peer]
Uranio has quit [Quit: while you reading this, a kitty dies]
scriabin has joined #ruby
twoism has joined #ruby
endash has joined #ruby
<scriabin> can someone explain - the rescue keyword doesn't have a block (doesn't need an end) - I can't figure out how this makes sense
kaneda^ has joined #ruby
<kaneda^> afternoon
enebo has joined #ruby
<kaneda^> is there a full guide to list syntaxes?
<kaneda^> or rather, enumerables and arrays?
lnormous has quit [Ping timeout: 246 seconds]
banisterfiend has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
<kaneda^> also, if i want to join wtih a character, is there still a way to use the shrothand?
rickruby has joined #ruby
<kaneda^> s/shrothand/shorthand
maccam94 has left #ruby [#ruby]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has joined #ruby
<rlpowell> kaneda^: AFAICT, the answer to "is there a complete description of ruby language syntax X?" is "no" for all X.
<rlpowell> This is probably my least
<rlpowell> favorite thing about ruby.
<kaneda^> that's too bad, i have something like first.product(second).map { |f,s| f+"_"+s }
<kaneda^> was hoping there was a simple map(&:join('_'))
<scriabin> yep there is definitely some arcane knowledge at work here
<banisterfiend> Eiam: ping
maxmanders has joined #ruby
ehaliewicz has joined #ruby
<kaneda^> i'm fairly new to ruby, but i have a strong background in python, in which i would [f+"_"+s for f in first for s in second]
<kaneda^> or something along those lines
chriskk has joined #ruby
<banisterfiend> kaneda^: f.zip(s).each(&:join("-") i think
<kaneda^> ah, much better, thanks, let me try that
<kaneda^> join in the shorthand doesn't like to take an argument
<kaneda^> so it has the same problem
<banisterfiend> kaneda^: yeah, im stoned, holdon
Tricon has quit [Quit: Leaving...]
<kaneda^> there's still a fairly elegant one liner
dweeb has joined #ruby
<kaneda^> but it's not as nice as python :(
<banisterfiend> f.zip(s).map { |a| a.join("_") }
<waxjar> oh wow, does Symbol#to_proc work with arguments?
staafl has quit [Read error: Connection reset by peer]
<kaneda^> banister, that looks about right
rickruby has quit [Ping timeout: 264 seconds]
eldariof has quit [Ping timeout: 245 seconds]
<kaneda^> banisterfiend: zip unfortunately assumes the same number of args, product is the right answer still
<apeiros> rlpowell: a complete description of syntax? sure, there even is an ISO standard
<kaneda^> banisterfiend: first.product(second).map { |r| r.join("_") }
thepumpkin has quit [Remote host closed the connection]
<rlpowell> apeiros: Really? Where?
wald0 has joined #ruby
<rlpowell> *nod*
cj3kim has joined #ruby
<rlpowell> Is there a syntax description that *isn't* $240? :)
<rlpowell> Not that I mind the money necessarily, I'm just wondering.
<graft> wald0: no, no it doesn't
<wald0> im trying to understand the concept of what a "module" is, but i dont quite get the special point... it just like the equivalent of a "lib" in C ? (and so the classes like the functions of that lib)
<rlpowell> Oh, that's not dollars. :P
<graft> err, waxjar, i meant, damn tab completion
<apeiros> there are a couple, but I wouldn't know which one is "complete"
brbcoding has quit []
<waxjar> ah, thought so
<rlpowell> apeiros: I've never found one that was even *worth mentioning*, so I'll take anything you want to show me. :)
<graft> wald0: a module is just a collection of methods and variables. it's basically like a class, except you can't instantiate it
<banisterfiend> kaneda^: list comprehensions are pretty nice, but only in simple cases, complex comprehensions are confusing for me
cj3kim has quit [Read error: Connection reset by peer]
<apeiros> rlpowell: I liked zenspiders quickref
<kaneda^> banisterfiend: for complex comprehensions typically a generator statement is better
<apeiros> it covers a lot of rubys syntax
<kaneda^> i havent gotten to ruby generators yet
mansi has quit [Remote host closed the connection]
<wald0> graft: it can include also classes, right?
<banisterfiend> kaneda^: can you give me an example of a python generator ? (something that woudl otherwise be a complex comprehension)
mansi has joined #ruby
Davey has joined #ruby
<kaneda^> banisterfiend: the more complex the comprehension the more likely it is you want to partially evaluate it, that's why you would use a generator
Ciscoridze has quit [Quit: WeeChat 0.4.1]
<banisterfiend> kaneda^: can you shoe me an example? just curious how it looks
<graft> wald0: sure
<rlpowell> apeiros: Thanks!
<kaneda^> banisterfiend: a good example is the fibonacci sequence, perhaps 
<banisterfiend> kaneda^: do you code haskell as well?
<wald0> if im not wrong, a module is simply useful for extend "features" just like to use external libs in C, right?
<kaneda^> banisterfiend: i do not code haskell
nathandial has joined #ruby
<banisterfiend> kaneda^: too bad :)
<kaneda^> banisterfiend: http://pastie.org/8212636
<kaneda^> quick python fibonacci generator
<waxjar> i know how it works graft, just wondered if it got a little more magical with 2.0 perhaps, thx tho :)
<kaneda^> not a great example of why to use this over comprehensions though
terinjokes has left #ruby [#ruby]
<kaneda^> in this case it would be because of the limited/expensive nature of the comprehension
ner0x has quit [Quit: Leaving]
<kaneda^> actually, i dont think what i posted will work
<kaneda^> the yield has to go first according to this recipe
brunoro has quit [Quit: WeeChat 0.4.0]
binary1985 has joined #ruby
maniacal has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
awarner_ has joined #ruby
m8 has quit [Read error: Connection reset by peer]
<scriabin> I can't find any examples of ruby exception handling where rescue is used in a block. Is that done?
<scriabin> example:
Kricir has joined #ruby
<banisterfiend> kaneda^: enumerator stuff in ruby is pretty sweet, it's implemented in terms of fibers, which iirc are a generalization of python's generators
emergion has joined #ruby
<kaneda^> banisterfiend: that sounds good, i haven't made it there yet
<banisterfiend> kaneda^: why are oyu learning ruby?
<kaneda^> i'm learning on the job
<kaneda^> we use pretty much all ruby in my job now
<banisterfiend> ah, how do you find it? since i guess you're a passionate pythonista :)
awarner has quit [Ping timeout: 245 seconds]
<kaneda^> i wouldnt say i'm passionate, i just became very accustomed to python at my last job
<banisterfiend> kaneda^: did you use ipython in python?
<kaneda^> i like ruby, i dont think either are great for highly available, high traffic environments
<kaneda^> i used python, but also cpython
<banisterfiend> kaneda^: i mean ipython the repl
<graft> what does 'highly available' mean?
smathieu has joined #ruby
<kaneda^> never used it banisterfiend
<kaneda^> graft: large-scale multi-threaded applications
m8 has joined #ruby
<banisterfiend> kaneda^: disappointing ;) i wanted you to tell me about it
d2dchat has quit [Remote host closed the connection]
<kaneda^> ruby is great for scripting, prototyping, and even web applications
<kaneda^> but i think it's honestly too slow
<kaneda^> elegant, but slow
<nathandial> don't forget robots, kaneda^
<graft> yeah, it's pretty slow
<banisterfiend> kaneda^: what other languages do you use/know ?
<banisterfiend> aside from python and ruby
Demo_of_doom has quit [Remote host closed the connection]
<kaneda^> banisterfiend: java, c, bash, mostly
<graft> bash is not a language
<kaneda^> bash is turing complete
<matti> banisterfiend: I use F.
<graft> that's not a useful definition of a language
<matti> F is an amazing language.
<kaneda^> graft: it is THE definition of a language...
<matti> ;]
<kaneda^> if a language is turing complete it is considered "whole"
<nathandial> A turing machine is also turing complete. But I'm not sure if I'd want to code in it
<graft> Conway's Game of Life is turing complete
<kaneda^> nathandial: i think you're being dramatic, bash is great
m8 has quit [Read error: Connection reset by peer]
<kaneda^> it's not roller skates vs rocket ships
<graft> bash is great for small scripts, but if you try to do anything even remotely complex it is horrendous
<nathandial> Bash is great for things that take less than 10 lines
<kaneda^> eh, i've written 200 line bash scripts
<kaneda^> not applications though, scripts
<nathandial> it's a very nice shell
<nathandial> I would probably like it better as a language if I used it often enough to be fluent
<kaneda^> i like how ruby interacts with the shell, it has that going for it
<graft> yeah... the last time i tried writing an application in bash, it took me a month, and i ended up rewriting it in ruby in about four days
<nathandial> the thing that I dislike most is the fact that I have to look up how to do conditionals in the docs
<kaneda^> foo = `curl bar` is way better than Net::HTTP.....
<kaneda^> nathandial: man test
Nahra has quit [Quit: leaving]
<nathandial> which differentiates it from say, every other modern programming language
<kaneda^> 0 = off, 1 = on, that's as much as you need to remember for bash
<kaneda^> and TCL is the same way, btw
<nathandial> stuff like [ -f $file ]
<graft> or [ -z $string ]
<kaneda^> -x, -z more common
<kaneda^> yeh, man test
pietr0 has joined #ruby
<graft> or trying to remember what the hell ${i##something} does
<matti> kaneda^: Stop this madness ;/
<graft> bash is a nightmare
freerobby has quit [Quit: Leaving.]
<kaneda^> bash is fine, sorry matti
<matti> Can someone ban him?
<matti> ;]
<kaneda^> you all are distracting me from rspecs anyways
<waxjar> fish! :D
* matti sporks waxjar
<graft> waxjar: i'm really attached to bash
Tricon has joined #ruby
MoReNo has joined #ruby
<matti> graft: That can be treated.
<matti> ;]
<mjc_> graft: most of bash's functionality is available in ruby as easily as in bash
<mjc_> graft: for example backticks :)
<kaneda^> mjc_: that invokes the shell, which for me is bash
<kaneda^> mjc_: so, that IS bash
<graft> mjc_: that's why i've mostly stopped writing bash scripts
<matti> kaneda^: Or invokes sh which on most systems is not Bash ;]
<mjc_> well yes, so the idea is if desired one can use whichever
<matti> kaneda^: Like dash on Debian.
<matti> ;]
alex__c2022 has quit [Quit: alex__c2022]
<Kelet> I dunno I would say Ruby scripting without using backticks is still pretty close in expressiveness to bash
<kaneda^> matti: i use bash on debian, quite on purpose
MoReNo has quit [Read error: Connection reset by peer]
jfelchner has quit [Ping timeout: 245 seconds]
<banisterfiend> matti: i thought F was just haskell for noobs
<graft> Kelet: you cannot return a goddamn variable from a bash function
ravster has left #ruby [#ruby]
m8 has joined #ruby
<waxjar> i really like the syntax highlighting in fish, it's easier to script for i find and i got such a pretty prompt now :p
<Kelet> graft, Global it up brother!
<graft> Kelet: death first
<matti> banisterfiend: I took upon F because Brainfuck was too hard.
<Kelet> I like fish but I use bash because I have a few windows boxen and I like to keep my shell consistent
<matti> banisterfiend: Too many operands.
Nenor has joined #ruby
<matti> banisterfiend: Whitespace did not cut it either. I got pulled into tabs vs spaces war with it ;/
JDHankle_ is now known as JDHankle
<graft> i'm a late adopter... in ten years when something kills bash like bash killed csh, i'll switch
Kricir has quit [Remote host closed the connection]
* matti is being silly
thesheff17 has quit [Remote host closed the connection]
bradsmith has joined #ruby
theCzar has joined #ruby
<theCzar> is the ruby download server down?
fmcgeough has quit [Quit: fmcgeough]
amacgregor has joined #ruby
geekbri has quit [Remote host closed the connection]
jibi has quit [Quit: .]
<shevy> I think so theCzar
<mjc_> theCzar: looks it, you could try a mirror
tacos1de has quit [Ping timeout: 240 seconds]
tbeseda has joined #ruby
dtcrshr has joined #ruby
<shevy> A question: if you have a project called foo, and you require it like require 'foo', and you have a subdirectory there called bar/ which has many .rb files, how would you dynamically require all of them?
<theCzar> mjc_: know any good ones?
<shevy> right now I specify each individual .rb file individually, but this kinda sucks
<mjc_> theCzar: for the source?
barratt has quit [Quit: Leaving...]
bradsmith has quit [Ping timeout: 264 seconds]
araujo has quit [Ping timeout: 260 seconds]
<waxjar> shevy: Dir.glob maybe?
<theCzar> mjc_: yeah. I'm not sure if rbenv will let him install from a local file, however... hmmm
<shevy> waxjar yeah, I use that usually with absolute paths. but how would I use it on a per-project path?
<theCzar> (this is for a coworker)
freerobby has joined #ruby
<lethjakman> theCzar: it does
<shevy> would be nice to be able to do ... Dir[SITE_DIR_FOR_RUBY_HERE+'/foo/bar/*']
<waxjar> shevy: it does take relative paths i believe
<mjc_> shevy: Dir["path/to/file/*.rb"].each { |file| require File.basename(file, File.extname(file)) } should do it, via stackoverflow
<lethjakman> rvm install ruby-tv2_0_0_247 worked for me.
<lethjakman> the RVM channel was super helpful with this.
<mjc_> theCzar: ibiblio looks ok if you're just wanting the source
<Kelet> I honestly wish some syntax like require 'lib/dir/*.rb' actually worked
<graft> shevy, rails has require_tree
<shevy> waxjar hmm then it is ok, if others don't have a better solution for that
<theCzar> lethjakman: well he's using rbenv
stef1a has quit [Remote host closed the connection]
<mjc_> shevy: see the one I offered :)
<Kelet> there is no good solution with 'normal' ruby last time I checked
araujo has joined #ruby
<shevy> mjc_ hmm but in your example you have to know the absolute path, or?
<graft> oh wait, maybe that's just for assets
<mjc_> shevy: you could use relative paths
<shevy> ok... let me try again locally ...
<mjc_> shevy: where are the files relative to the file you are requiring them in?
<shevy> mjc_ all on a per-project basis, for instance, if project name is "foo", they would reside in a subdirectory of project foo, called bar/ ... like bar/one.rb bar/two.rb bar/three.rb
<shevy> so it would be ... foo/bar/one.rb foo/bar/two.rb etc...
MrZYX is now known as MrZYX|off
<mjc_> shevy: where is the file that is requiring the stuff in bar/*.rb?
sailias has quit [Ping timeout: 246 seconds]
<shevy> it's right next to directory foo/ called foo.rb, standard ruby project directory tree layout. hmm dont think I have a special file to require all things in bar/ because I am unsure of the path
<shevy> but let me try the relative paths, a moment
dutchruby has joined #ruby
<dutchruby> Hi
<postmodern> what is the mirror for ftp.ruby-lang.org again?
<dutchruby> Anyone know if its possible to use current_page within Middlemanapp?
<dutchruby> Hi postmodern
<postmodern> dutchruby, hello
<banisterfiend> matti: have you messed much with monads?
<dutchruby> How are you doing?
Companion is now known as companion
Kruppe has quit [Remote host closed the connection]
<dutchruby> Hi Banister
<banisterfiend> dutchruby: where in holland you from?
<matti> banisterfiend: Not much
<dutchruby> The north-west part, are you from the netherlands 2?
<banisterfiend> dutchruby: leiden
mansi has joined #ruby
<dutchruby> Ah i see, nice to meet you
<banisterfiend> matti: if you're into functional programming,did u see funkify?
pskosinski has joined #ruby
<dutchruby> Just curious are people in Leiden also php only, bcause people around me are acting like php is amazing and ruby sucks :-o
<banisterfiend> dutchruby: it's a shame, the dutch used to be such brilliant computer scientists
Nenor has quit [Quit: Nenor]
iaj has quit [Remote host closed the connection]
<dutchruby> what is wrong with them oh so php got allot of mainstream attention so its better, even if php isn't for 100% OOP right?
<banisterfiend> dutchruby: how old are you, out of interest? :P
<dutchruby> 24 and you
<banisterfiend> 29
<popl> what the hell is this?
<banisterfiend> dutchruby: do you konw php?
<dutchruby> okay :)
rbento has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dutchruby> i saw it once or twice and i recognize the syntax
<banisterfiend> dutchruby: ah, so you dont do any programming already?
<dutchruby> but the funny part is i got allot more up and running in middleman then i ever did in php:P
twoism has quit [Read error: Connection reset by peer]
<dutchruby> i come from the frontend so html and css
twoism has joined #ruby
burz has quit [Remote host closed the connection]
<banisterfiend> ah, cool. Design is something i'm coming to respect :)
pskosinski has quit [Client Quit]
<matti> banisterfiend: No.
<matti> banisterfiend: But I liked Elixir a lot.
<dutchruby> you know what is so anoying i use sass/compas a little bit now and ppl from php-enviroment don't wanna use it they say you don't need variables you could just do a search & replace :|
<matti> banisterfiend: I am also not a developer :( Just systems person.
<banisterfiend> matti: cool, if you're enjoying functional programmming you might enjoy this: https://github.com/banister/funkify
<dutchruby> what is it that you do mostly then Banister (system administration)?
rbento has joined #ruby
cj3kim has joined #ruby
<banisterfiend> dutchruby: ruby programing
<banisterfiend> dutchruby: brb, i need to clean kitchen real quick
ebanoid has quit [Quit: brbomgwtfbbq]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Munster has joined #ruby
<dutchruby> don't you ever run into people that they don't wanna do ruby because they think php is way better
swordsmanz_ has joined #ruby
<lethjakman> lol
<lethjakman> dutchruby: yes.
<lethjakman> all the time
<lethjakman> I don't get it
<lethjakman> variable = trim(variable) vs variable.trim! ?
bradsmith has joined #ruby
<lethjakman> seriously?
<dutchruby> it anoys me so, and what do you tell them do they ever get excited about ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<lethjakman> dutchruby: they love the ruby technology a lot of the time.
<shevy> dutchruby it always depends on what they are doing
iaj has joined #ruby
dtcrshr has quit [Quit: poff]
<dutchruby> wow thats great people around me don't they just keep hanging onto php
mityaz has quit [Quit: See ya!]
<shevy> ruby is much better than php but from zero to build something useful for the web could be a lot easier in php than in plain ruby
<dutchruby> i talked about asset-pipelining about a php dev who did that 10 years and he asked me what is that
<cpush> dutchruby - I might be able to shed some light here, everyone is biased from what they know, and typically those people have not ever used ruby enough to understand it fully.
<dutchruby> but they neither invest any time in a new technology they only just play it safe
maxmanders has quit [Quit: Computer has gone to sleep.]
<cpush> dutchruby - yes, and that is why they will continue to work harder not smarter
banisterfiend is now known as banister
kpshek has quit []
<dutchruby> and alloto more cluttered some of the time
<dutchruby> i knew someone who thought it was rubbish to use stuff like helpers/routings etc. :-o
swordsmanz has quit [Ping timeout: 245 seconds]
swordsmanz_ is now known as swordsmanz
efrainolivares has quit [Quit: efrainolivares]
adambeynon has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Read error: Connection reset by peer]
<dutchruby> if i see some of the helpers in ruby enviroment i only wanna use them more :D
freerobby has quit [Quit: Leaving.]
agatha has joined #ruby
ewnd9 has joined #ruby
efrainolivares has joined #ruby
<dutchruby> i don't know what it is but if i don't understand something in Ruby i want to investigate it and figure it out, while in a php enviroment i don't wanna invest any time into it, could it be of the simple syntax in Ruby?
Notte has quit [Remote host closed the connection]
<cpush> dutchruby - I think most programmers are stubborn especially when it comes to their language of choice
x1337807x has joined #ruby
ganeshran has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby
<dutchruby> they just use it because its fast to learn but even if it isn't beautiful code
Kricir has joined #ruby
<dutchruby> i don't know what it is but i all the time end up going back to ruby with all the nice frameworks and utilities
freerobby has joined #ruby
<banister> dutchruby: how do i say 'god damn' in dutch?
<dutchruby> haha how come:P
momomomomo has quit [Client Quit]
<banister> dutchruby: curious :)
<cpush> dutchruby - I think it's different then that, you can't talk a .net guy away from his tools and we all know .net is ass garbage
<dutchruby> it is : Godverdomme
Kricir has quit [Remote host closed the connection]
axeman- has quit [Remote host closed the connection]
JimmyNeutron has quit [Ping timeout: 276 seconds]
<banister> dutchruby: thanks :D
<dutchruby> Could i ask you guys something i got a problem and am looking into for a week now and cannot find a solution
<dutchruby> Np Banister
mmitchell has quit [Ping timeout: 264 seconds]
orionstein is now known as orionstein_away
<dutchruby> Could i ask you something Banister?
gemmy has quit [Quit: leaving]
<banister> dutchruby: sorry i have to go away again for a while
DrCode has quit [Ping timeout: 240 seconds]
<dutchruby> thats too bad, have a good evening tonight
<dutchruby> And nice chatting with you
sailias has joined #ruby
ldnunes has quit [Quit: Leaving]
<dutchruby> Does anyone know how to get haml current-page navigation support in Middleman static generator?
<lethjakman> shevy: what do you mean the web could be easier in php than ruby?
<lethjakman> I just enjoy the object orientation. and the mvc is so nice
<dutchruby> Interesting topic, don't you got rails/jekyll in ruby for that?
bklane has quit [Remote host closed the connection]
<dutchruby> php isn't fully object orientated and in ruby it is, or am i wrong informed?
<jaywastaken> everything in ruby is an object
<lethjakman> dutchruby: it's...different
<jaywastaken> pretty sure that's not the case in php
<lethjakman> you can have objects...but they're not as nice
<lethjakman> they're really bloated.
<dutchruby> different in what way?
<lethjakman> and not everything is an object from the ground up.
<lethjakman> jaywastaken: you're right.
<lethjakman> dutchruby: think objects in java vs objects in c++
<dutchruby> when i saw php for the first time it looked like a mess to me
<lethjakman> in java even integers are objects, but not in c++
<lethjakman> in php it's a mess though
DrCode has joined #ruby
<lethjakman> because they're this horribly bloated integer/string/mess that's slow and very large
<lethjakman> arrays are huge in php
<nathandial> in PHP it's like everything's a scalar
<dutchruby> i really like the ruby syntax: puts "hello there".reverse is pretty clear:P
tbeseda has left #ruby [#ruby]
blackmesa has quit [Ping timeout: 240 seconds]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<lethjakman> dutchruby: yep, that's beautiful. I love it.
<dutchruby> i saw arrays before in php but i saw hashes for the first time in ruby and never in php...
blackmesa has joined #ruby
<lethjakman> it seems like rails is a little more resource intensive than plain php in most cases...but rails seems to be more capable in a lot of others.
<zendeavor> how come php always comes up
<lethjakman> arrays and hases are the same thing, you get a horribly mutilated arrahash.
rubanub has quit [Ping timeout: 250 seconds]
<dutchruby> still the hashes in ruby look pretty structured
<apeiros> zendeavor: hate unites people
<lethjakman> zendeavor: no clue, language discussions are interesting.
<dutchruby> and i think ruby syntnax/structure is just beautiful:)
<zendeavor> in php, everything IS a scalar. do they even have real arrays yet or is it completely simulated by using $var_$idx
<jaywastaken> i found OOP difficult to learn in PHP since the syntax was so ugly
<dutchruby> in Ruby i learn more about programming concepts then i ever did in php
<Nisstyre> zendeavor: php arrays are associative arrays, aka maps
s_e is now known as JesseObrienClone
<lethjakman> zendeavor: you can do fixed size arrays which are closer, but no.
<nathandial> PHP is hard to do "real programming" in, and it winds up being inefficient
<dutchruby> yes, me too jay i never understood it
saarinen has quit [Quit: saarinen]
<nathandial> it is, however, pretty useful for gluing together C extensions
<lethjakman> nathandial: god, tell me about it
<lethjakman> that's my day job
<lethjakman> it sucks.
<lethjakman> memory management is HORRIBLE in their objects.
<dutchruby> i understand programming concepts better in ruby then in php
JesseObrienClone is now known as s_e
<lethjakman> and an array of 1 million is unthinkable.
<Nisstyre> nathandial: I wouldn't say it's inefficient, but it doesn't come with tools to do parallelism or concurrency, and the language is horrendous from a safety or predictability standpoint
<zendeavor> Nisstyre: oh, that's right. numerical index is really string index
saarinen has joined #ruby
<lethjakman> Nisstyre: not true, but they're bad.
<lethjakman> it does have a forking tool.
<Nisstyre> lethjakman: what isn't true?
<nathandial> well, when I think of inefficient I am thinking mostly of the whole "nothing persists between page loads" paradigm
<Nisstyre> lethjakman: that isn't "tools to do concurrency"
<nathandial> which is not exactly the case any more
<Nisstyre> you can do that from a fucking bash script
<lethjakman> how so?
<lethjakman> if you can utility to fork that's parallelism.
<Nisstyre> lethjakman: the language does not have any concurrency tools, OS threads != concurrency tools
<nathandial> but when you do "good OOP" with a bunch of objects, they are all created and destroyed from one load to the next
<lethjakman> Nisstyre: yes, very well. much better than from php.
<dutchruby> you guys lost me:P
<nathandial> lethjakman: I recently moved from PHP to ruby.. it's nice
<Nisstyre> nobody wants to use OS threads for anything in a modern language
<lethjakman> nathandial: I want to...
<Nisstyre> unless you're writing in C
twoism has quit [Read error: Connection reset by peer]
<dutchruby> what decided you to switch to Ruby Nathan?
<Nisstyre> even then
twoism has joined #ruby
<zendeavor> openmp
RORgasm has quit [Ping timeout: 276 seconds]
<Nisstyre> lethjakman: plus it has no synchronization primitives
chriskk has quit [Ping timeout: 264 seconds]
mark_locklear has quit [Quit: Leaving]
<cpush> Okay let me clear something up, rails is more intensive but its different then what php developers are used to because it initializes and connects all of its libraries together and allocates live memory for the entire project and is by default can only handle one request at a time. PHP in most implementations will be setup as CGI scripts. You can accomplish this in pure ruby as well, look at cgi.rb if you want to avoid, rack, rails, ra
<lethjakman> Nisstyre: c++11 has nice concurrancy apparently now.
<Nisstyre> lethjakman: define "nice"
chriskk has joined #ruby
<lethjakman> Nisstyre: better than it used to be.
<Nisstyre> there are a lot of different models for concurrency
JDHankle has quit [Remote host closed the connection]
<Nisstyre> Erlang and Go have asynchronous channels, which I doubt C++ has, and which PHP will never have
ukd1 has joined #ruby
<cpush> if you want a full rails implemented with concurency then look into puma or rubinius
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cpush> and high avaliability
<zendeavor> weeeee
sailias has quit [Quit: Leaving.]
<zendeavor> Nisstyre: still use arch?
<Nisstyre> zendeavor: on the laptop
<zendeavor> o/
<kaneda^> cpush: i will, ty
<cpush> but you will need to either use state machine, mutexes, or celliouid to be able to disable your thread safety
<Nisstyre> cpush: false
<lethjakman> Nisstyre: I've really wanted to try Go. interesting that seems nice.
<dutchruby> how do you create a active navigation class within Middleman app?
<lethjakman> cpush: I head jruby was nice for that.
<lethjakman> and actually super optimized.
Evixion has quit [Read error: Connection reset by peer]
<Nisstyre> cpush: there are methods of synchronziation other than mutexes, and ones that are far more usable
<Nisstyre> e.g. STM
<zendeavor> jruby still seems to have a pretty substantial startup cost
<cpush> yes there are, I only named a few
cody-- has quit [Quit: Computer has gone to sleep.]
<Nisstyre> cpush: oh you meant with Ruby
chrisja has quit [Quit: leaving]
<cpush> I agree with you nisstyre
<lethjakman> zendeavor: why do you say that?
<Nisstyre> well yeah
brtdv has joined #ruby
<zendeavor> lethjakman: because i've piddled around with it while testing and cleaning up chruby
<Nisstyre> I have no idea about Ruby's concurrency capabilities
<lethjakman> zendeavor: ahh so you're saying to start the script takes a lot of time?
<Nisstyre> after PHP, I've found Python to be very lacking
<zendeavor> startup cost...
<lethjakman> I figured you were saying the code was more expensive to write.
<Nisstyre> the threading API is just a wrapper over OS threads
<lethjakman> Nisstyre: I have heard Python is nice, what didn't you like?
<Nisstyre> and all of the libraries are meh
<lethjakman> OS threads are safer and easier generally
<Nisstyre> lethjakman: that's false
dutchruby has quit [Quit: Page closed]
<Nisstyre> lightweight threads are preferable for almost everything
kaneda^ has quit [Quit: laters]
freerobby has quit [Quit: Leaving.]
<lethjakman> Nisstyre: not from everything I've read, however if you have some material I'd be interested to read.
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wmoxam has quit [Ping timeout: 245 seconds]
<Nisstyre> lethjakman: try creating 10,000 threads with Python vs. Go, Erlang, Racket, or Haskell
emergion has quit [Quit: Computer has gone to sleep.]
<Nisstyre> Python will be hilariously slow
<cpush> yes, and many people brashly think spinning up a full rails stack it the solution for every deployment or even every minor service which is very bad practice, whenever possible use rackup's or sinatra based ruby implementations if need be
awarner has joined #ruby
<lethjakman> I never said it wouldn't be slow. I said it's generally safer (as in easier to manage run away threads) and easier to do.
<lethjakman> I've never seen an easier implementation, however I would like to.
<cpush> just make the most of your tools and you can scale anything beautifully
BillCriswell has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 264 seconds]
pothibo has quit [Quit: pothibo]
awarner has joined #ruby
tacos1de has joined #ruby
<lethjakman> cpush: rackup?
jonkri has quit [Quit: jonkri]
emergion has joined #ruby
<cpush> ruby is syntactic sugar with a slew of tools, you may need to think critically in a different manner then your used to in other languages but the benefits are tremendous, especially with regards to agile team based develoment
<cpush> rackup is a manor where you can write a ruby script that runs alongside your rails app where you can customize the process
<lethjakman> I've been interested in using something that's lighter than rails, I may need to try one of those
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
jfelchner has joined #ruby
breakingthings has quit [Quit: breakingthings]
<lethjakman> huh, cool
invsblduck is now known as hughlaco
<Nisstyre> lethjakman: that's also false
hughlaco is now known as invsblduck
madumo has quit [Quit: Dumb message bragging about my macbook pro]
awarner_ has quit [Ping timeout: 276 seconds]
<Nisstyre> lethjakman: with Haskell, if you have STM your threads will never result in a deadlock
<lethjakman> cool, sounds nice.
<jaywastaken> pretty much every time i've built a sinatra app, i've wished it was a rails app down the road
<Nisstyre> lethjakman: channels also make it easier to write safe threaded code
<lethjakman> I'll have to play with Haskell at some point.
apeiros has quit [Remote host closed the connection]
<Nisstyre> lethjakman: just check out Go, it will be easier
<Nisstyre> lethjakman: you can play with goroutines on the go website IIRC
dweeb has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
<ehc> anyone else having trouble with downloads from http://www.ruby-lang.org/en/downloads/ ?
<jaywastaken> is there a !rubydownloads hint yet?
jonathanwallace has quit [Ping timeout: 245 seconds]
<tjbiddle> Afternoon rubyists :-)
<zendeavor> ehc: go to the github mirror and download a tarbal from the Releases link
<r0bglees0n> Nisstyre: what's the alternative to go routines in ruby? or, why are you suggesting he use Go instead of ruby? what isn't good enough?
freerobby has joined #ruby
madumo has joined #ruby
<Nisstyre> r0bglees0n: I'm not suggesting Go over Ruby
<Nisstyre> r0bglees0n: I'm suggesting lightweight threads over OS threads
<r0bglees0n> green threads?
<ehc> zendeavor: cool, however, seems like rvm is trying that site and failing...
<Nisstyre> use whatever language you like if it supports that (and you intend on writing concurrent code)
<Nisstyre> r0bglees0n: yes
<cpush> you may also be interested in elixer it's the hot shit, the person responsible for the devise gem works on it, it lets you write a calibrated version of ruby to create erlang based applications, you can compile for different systems as well as deploy on servers, erlang is actually an amazing language you may want to look into chicago boss if you want something similar to rails but don't want to worry about thread safty issues
saintcajetan has quit [Ping timeout: 240 seconds]
<r0bglees0n> Nisstyre: what's wrong with Fiber if you want that?
<Nisstyre> r0bglees0n: I don't know what Fiber is
<r0bglees0n> API might be clumsy
<Nisstyre> I don't know Ruby really
<Nisstyre> I've dabbled a bit but that's it
<r0bglees0n> its a concurrent primitive in ruby, you can yield control back & forth between two code paths.
karamorf has joined #ruby
jfelchner has quit [Ping timeout: 245 seconds]
<r0bglees0n> only one is ever running.
<Nisstyre> r0bglees0n: that's co-operative multitasking, and that is a form of green threading yeah
<r0bglees0n> its concurrency, not parallelism.
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nisstyre> r0bglees0n: the same thing can be implemented with closures as reified continuations
_helloworld_ has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
<Nisstyre> of course if one thread is blocking it will block them all
saintcajetan has joined #ruby
sailias has joined #ruby
<Nisstyre> idk if that's the case with Fiber
<r0bglees0n> Nisstyre: even in ruby(MRI, official) threads are merely concurrent *most* of the time, although there is a native thread underneath (on 1.9)
<r0bglees0n> it is
<r0bglees0n> there is one thread passing control
<Nisstyre> r0bglees0n: I implemented something like that in Python
<Nisstyre> it's basically just delimited continuations
jfelchner has joined #ruby
<Nisstyre> and I implemented the iterator protocol so I could use that to schedule them
<r0bglees0n> cool
<Nisstyre> r0bglees0n: http://ideone.com/u5UdlQ
Astralum has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
<Nisstyre> it switches control back and forth between the two
baroquebobcat has quit [Quit: baroquebobcat]
karamorf has quit [Quit: Lost terminal]
<cpush> thread safety is actually a big topic, you can't just say use fibers, use state machine, use celliouid, change you deployment server to puma, change your deployment server to run with rubinoius, change your deployment server to run with jruby. there are many concerns, every gem that you include in your project must be thread safe so you will need to make sure of this, and test if you want to support thread safety to be disabled — plea
<r0bglees0n> Nisstyre: http://rubydoc.info/stdlib/core/Fiber :)
bjhaid has quit [Ping timeout: 240 seconds]
<cpush> but if you want highly availiable (> 100,000 concurrent connections) you have to take some steps with ruby and rails
<Nisstyre> cpush: yes you need to make sure that any shared state is atomic, and so on
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ehc> anyone know if you can have rvm use a custom mirror like github to install?
<Nisstyre> r0bglees0n: I based that python code off of this http://www.cs.indiana.edu/hyplan/dfried/ts.ps
<cpush> so if you don't want to worry at all about it then use something that doesn't have a gil
<cpush> python has a gil
<cpush> ruby has a gil
Astral_ has quit [Ping timeout: 260 seconds]
<cpush> erlang no gil
zeromodulus has quit [Remote host closed the connection]
<cpush> elixer no gil
tgunr has quit [Quit: Nity nite]
<cpush> nodejs no gil
<fryguy> cpush: some implementations of ruby have a gil, some don't, same is true for python
<cpush> gotcha
<r0bglees0n> Nisstyre: post script? what can read that?
<Nisstyre> yes postscript
heftig has quit [Ping timeout: 245 seconds]
ch_ has joined #ruby
<wald0> why the version of "ruby pocket reference" ebook by oreilly is so outdated? seems like much things has changed from 1.8 to 1.9, right?
<r0bglees0n> yeah a lot of things changed
<r0bglees0n> and continue to change
iliketurtles has joined #ruby
xnw has joined #ruby
<wald0> why they dont update that book, it looks really nice for reference while coding (specially new people), its about 2007
rickruby has joined #ruby
spider-mario has quit [Remote host closed the connection]
<xnw> hey - quick one(?) - why am I getting a 404 on http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2 ?
andredublin has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
<popl> xnw: the site is down
<xnw> popl: is that confirmed? any ETA?
end_guy has joined #ruby
bjhaid has joined #ruby
<popl> xnw: I don't know.
efrainolivares has quit [Quit: efrainolivares]
<zendeavor> github mirror, Releases button, download tarball and put it in your rvm cache
<popl> xnw: You are not the first person to ask about it.
<wald0> so i was really interested to buy this book, its small, cheap and concentrated
<popl> xnw: Not in the past day or so.
<popl> xnw: You are not the 100th person to ask about it.
altamic_ has joined #ruby
altamic_ is now known as altamic
<wald0> well, i ask that because i dont see in the site any button for wishlist or to wait for next version, maybe anybody knows if there's plans for a new version ?
altamic has left #ruby [#ruby]
<xnw> popl: nuts. ok, thanks, appreciate it.
<popl> :)
<zendeavor> xnw: github mirror, Releases button, download tarball
saarinen has quit [Quit: saarinen]
tgunr has joined #ruby
<xnw> zendeavor: ahh - ok, I will do that tonight. for now it's my gf trying to install via rvm
<zendeavor> okay, do it now.
emergion has quit [Quit: Computer has gone to sleep.]
<xnw> zendeavor: she's new enough that I will likely have to do it for her
jfelchner has quit [Quit: jfelchner]
<zendeavor> you can put it in some rvm cache location
rickruby has quit [Ping timeout: 276 seconds]
<popl> xnw: Did you suggest that your girlfriend use rvm?
ixti has quit [Quit: WeeChat 0.4.1]
<zendeavor> =[
m8 has quit [Quit: Sto andando via]
m8 has joined #ruby
<popl> xnw: rvm isn't really for newbies. the road has lots of potholes.
madumo has quit [Quit: Dumb message bragging about my macbook pro]
<zendeavor> now, that's not true. rvm is designed for and explicitly targets newbies
<popl> zendeavor: really?
<zendeavor> lead dev himself told me every single tiny little step, rvm must automate 100% because their users ask too many questions
<cpush> The thing that makes me love ruby the most are these things: Metaprogramming, Domain Specific Languages, and Active Record (and all of its different drivers)
Lewix has quit [Ping timeout: 240 seconds]
<zendeavor> popl: have you seen the system-detection code in rvm?
<cpush> but there are so many more
<xnw> popl: brew install dies also
efrainolivares has joined #ruby
<xnw> popl: she's got 1.7.something, but the tutorials she's doing ask for something more recent
<popl> zendeavor: No.
iPhoneMRZ has joined #ruby
iPhoneMRZ has quit [Client Quit]
bradhe has quit [Remote host closed the connection]
<cpush> rbenv is another good choice, it's gotten a lot better recently
saarinen has joined #ruby
<zendeavor> it's gross, ugly, disturbing, not even remotely good or smart, and exists solely because they got too many questions about the specific setup env they needed to use rvm on their distro
<cpush> rvm sometimes gives me problems installing at least over the weekend it wasn't working right for me
iPhoneMRZ has joined #ruby
<xnw> popl: I'm not a ruby guy. the informal poll of ruby guys around the office, 4/5 said to use rvm.
Niichan is now known as Fhqwhgads
<zendeavor> but, however ugly and hackish, it works. mostly.
Fhqwhgads is now known as Niichan
axl_ has quit [Quit: axl_]
Evixion has joined #ruby
mklappstuhl has joined #ruby
peregrine81 has quit [Quit: peregrine81]
lele has quit [Quit: Coyote finally caught me]
<zendeavor> xnw: i wouldn't recommend it; chruby + ruby-install is probably more than enough for a beginner
Niichan is now known as Fhqwhgads
Fhqwhgads is now known as Niichan
ch_ has quit [Remote host closed the connection]
<zendeavor> i'd wager it's too much; a beginner should just use the system ruby and everything until they understand the necessity for special dev environments
therrell has joined #ruby
<cpush> I agree zendeavor, it easily becomes confusing
<zendeavor> but, definitely don't do rvm
<waxjar> unless the system ruby is 1.8 imo
interactionjaxsn has quit [Remote host closed the connection]
ch_ has joined #ruby
<zendeavor> rvm hides away far too many important details and people end up wholly *reliant* on it. really unhealthy for a budding developer.
oxez has joined #ruby
<zendeavor> if you're an experienced dev and you're tired of the manual work, sure, go for rvm
<therrell> Has anyone implemented notifications in their ruby-based web application/service? I'm trying to find a good gem or implementation pattern to send notifications to my users. For example "User X started following you"
<cpush> therrell could you be more specific
_helloworld_ has quit [Remote host closed the connection]
<cpush> are you looking for something like growl notification in your web app
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
<shevy> hmm guys... what is better ... "/usr" or "/usr/" ? I am thinking it is better to keep the trailing "/"
<therrell> cpush: Sure. I'm working in a Rails app and using ActiveRecord backed models. I'd like to provide a notification inbox for users. They'll receive notifications when other users start to follow them. I'd like help finding a good implementation design to reduce the cost of the messaging system.
Adawerk has joined #ruby
ch_ has quit [Ping timeout: 240 seconds]
<therrell> cpush: I don't know if I could add any more detail to that description. Sorry
iPhoneMRZ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
pipework has quit [Remote host closed the connection]
<xnw> shevy: the system won't balk if you have an extra "/", but if you're missing one you're going to get in trouble
<scriabin> is there a slick way to append to a collection, defining it at first use if necessary?
<therrell> cpush: I'm just not sure if a pub/sub channel pattern (https://github.com/ryanb/private_pub) would be ideal here or if another pattern would be more fitting.
arya_ has joined #ruby
<waxjar> scriabin: [1,2,3] << 4 ?
<xnw> shevy: as a standard you should always have a trailing "/" on your directory names, for a few good reasons
reset has quit [Quit: Leaving...]
<zendeavor> also whoever said "rbenv has gotten much better," ew shims ew.
<shevy> xnw yeah I am beginning to think that
<zendeavor> talk about confusing.
<shevy> I am making assumptions based on that
<shevy> like:
<shevy> my_directory = '/usr/
<shevy> Dir[my_directory+'*']
<shevy> versus
<xnw> shevy: the biggest one is that if your subdir includes a leading / and your basedir doesn't exist, you're going to end up in root
<zendeavor> huh
<shevy> Dir[my_directory+'/*']
<xnw> shevy: like say your basedir is /usr/local/
<zendeavor> most programs append `/foo/bar' to a $dir variable
<shevy> hmm
freerobby has quit [Quit: Leaving.]
<zendeavor> so, leaving off the trailing slash is imo much preferable
<xnw> shevy: adding /bin to /usr/local/ gives you /usr/local//bin which is fine
dweeb has joined #ruby
<xnw> shevy: but if you miss off on both you end up writing to /usr/localbin
freerobby has joined #ruby
<zendeavor> you always append with a leading slash, always always always
bradhe has joined #ruby
reset has joined #ruby
<xnw> or /bin if you didn't test $basedir
<zendeavor> anyone who isn't doing that deserves their kneecaps smashed
sam19113 has quit [Quit: sam19113]
<waxjar> so harsh :p
<zendeavor> i know
<cpush> therrell - You probably would benefit from doing pub sub and setting a channel if you want it to occur realtime, but you will probably end up installing redis, faye, and a rackup service to go full pub/sub, if you can suffice with just a inbox for compose and read it would probably be slightly easier, and less services
Neomex has joined #ruby
Neomex has quit [Client Quit]
<shevy> zendeavor yeah... or one could assume that there must always be a trailing slash before one even starts to append anything ... :P
<zendeavor> for example, do this
<zendeavor> printf %b "${PATH//:/$'\n'}"
Spami has quit [Quit: This computer has gone to sleep]
<xnw> bah. actual work to do. audi.
xnw has left #ruby [#ruby]
<zendeavor> shevy: follow the system's example.
ctp has quit [Ping timeout: 264 seconds]
Megtastique has quit [Quit: Megtastique]
<zendeavor> this is how it's been done since the 60s j/s
chriskk has quit [Quit: chriskk]
<zendeavor> always always always append with the leading slash; *nix systems treat // as / just to make it extra safe
gr33n7007h has quit [Quit: Leaving]
l33__ has joined #ruby
<zendeavor> but you can never assume the variable you're appending to has a trailing slash, and commonly the trailing slash is left off rather than on
amacgregor has quit [Read error: Connection reset by peer]
<zendeavor> i'd bet ruby collapses // into / itself if it handles the path internally
<cpush> therrell - I just looked at your project page on that pub/sub solution, it looks like a good idea, you could implement that and setup some javascript to subscribe then there are a few growl style jquery plugins that wouldn't be to hard to put in place if you want some good looking alerts to popup and queue up on your screen for your users.
<therrell> cpush: yeah, I definitely want to go for the easiest implementation for now. I thought of just adding a notifications table and creating notifications when a user follows another user. The other use case I have to support is notifying a set of users when their common friend from Facebook signs up for my service.
<zendeavor> woah did i just lag or what
enebo has quit [Quit: enebo]
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<therrell> cpush: another thing is I need these notifications to be persisted indefinitely.
arya_ has quit [Ping timeout: 264 seconds]
mansi has quit [Remote host closed the connection]
lethjakman has quit [Quit: WeeChat 0.4.0]
<wald0> what means that ruby has not "multiple inheritance" ?
<cpush> therrell - you might want to look at https://github.com/JonMidhir/Redcrumbs I havn't implemented it but it may allow you to tie your pub/sub to your active model
emergion has joined #ruby
asobrasil has left #ruby [#ruby]
emergion has quit [Max SendQ exceeded]
<therrell> wald0: it means a class can only subclass from one parent class. For example, class Dog < Animal
<wald0> therrell: so i can't have inheritance from class Yorkshire < Dog ?
emergion has joined #ruby
<wald0> from Animal *
<therrell> wald0: you can't do class Dog < Animal, Mammal
<waxjar> you can :)
<wald0> oh, including inheritance from other things, i see
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kotakotakota has joined #ruby
amacgregor has joined #ruby
<therrell> wald0: so people use Mixins due to the lack of multiple inheritance
digitalcake has quit [Quit: Leaving.]
<therrell> wald0: class Dog < Animal (...next line) include Mammal
johnnyfuchs has quit [Remote host closed the connection]
<therrell> cpush: alright, I'll take a look. Thanks for offering your feedback.
<oxez> Hello. I just setup my dev environment on my pc (Linux), and I get this error: undefined method `sweep' for {"discard"=>[:login_error], "flashes"=>{:login_error=>nil}}:Hash --- Anyone have any ideas how I can fix this (I don't have this error anywhere else)? trace here: https://gist.github.com/jpleau/6169017 -- I'm on rails 3.2.14, on passenger-4.0.10, ruby 2.0.0-p247 with RVM.
blip99 has joined #ruby
johnnyfuchs has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
goshakkk has joined #ruby
goshakkk has quit [Client Quit]
kirun has quit [Quit: Client exiting]
johnnyfuchs has quit [Remote host closed the connection]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 264 seconds]
chriskk has joined #ruby
Nisstyre has quit [Quit: Leaving]
Kruppe has joined #ruby
barratt has joined #ruby
<therrell> oxez: are you using sinatra with your rails app as well?
<oxez> therrell: No, I found a stackoverflow url that had the similar error with sinatra, but I am not using it
<wald0> i see
<therrell> oxez: ah, yeah it seems the object is a Hash type and not a ActionDispatch::Flash::FlashHash type
freerobby has quit [Quit: Leaving.]
Matriks has quit [Remote host closed the connection]
<therrell> oxez: can you reproduce it in a simpler environment (using webrick or thin)?
nari has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
<oxez> therrell: Using thin, it works
scriabin has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zeade has quit [Quit: Leaving.]
JDHankle has joined #ruby
thomasvs has joined #ruby
<thomasvs> Is something up with ftp.ruby-lang.org? 404 on http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2 from here, and rvm is failing to install
<cpush> therrell - red crubs is still very fragile from some of the documentation but I found redis-objects and a video on it, hopefully it might be helpful http://youtu.be/dH6VYRMRQFw?t=41m4s
<oxez> therrell: Ideally I'd like it to work with passenger, I spent all this time getting it up and all :p The same project works with rails4 by the way (with a different gemset)
<therrell> oxez: oh you'll get there, I'm not proposing tossing passenger :P
* therrell tries to research and help oxez
<oxez> I have a .rvmrc file, and a setup_load_paths.rb, as suggested here: http://stackoverflow.com/questions/5307463/rails-on-passenger-not-recognizing-rvm
splittingred has quit [Quit: splittingred]
bricker_ is now known as bricker
mklappstuhl has quit [Remote host closed the connection]
blackmesa has quit [Remote host closed the connection]
chokesmaster has joined #ruby
Megtastique has joined #ruby
<therrell> oxez: did you do any special configuration for your session store in rails?
mklappstuhl has joined #ruby
<chokesmaster> Hi
blackmesa has joined #ruby
smathieu has quit [Remote host closed the connection]
JDHankle has quit [Ping timeout: 264 seconds]
<chokesmaster> Is ruby-lang ftp down?
<thomasvs> can anyone try the http download url and tell me if it works for them ?
<oxez> therrell: Not that I remember, is there a config file I could paste?
<therrell> oxez: config/initializers/session_store.rb
xavier23 has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<xavier23> Weird question. I have an array that's being updated by another thread. I need to iterate the array until all elements have the same value. How can i do it in ruby?
<oxez> therrell: The only line I have in there is: Sti::Application.config.session_store :cookie_store, key: '_sti_session'
<chokesmaster> Can anyone answer me? I cant reach the FTP to download ruby's source
r0bgl33s0n has joined #ruby
<therrell> oxez: ok that's just the default config for session store. Cool. Still researching...
thesheff17 has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
<xavier23> I've come up with continuously looping & setting a flag each time. Every time a value is not the required value, flag is reset. Loop ends when flag is never reset
r0bglees0n has quit [Ping timeout: 256 seconds]
marienz has joined #ruby
<xavier23> Any better suggestions , feel free to chime in
l33__ has quit [Remote host closed the connection]
<thomasvs> chokesmaster: I can't either
atyz has quit [Quit: Leaving...]
<thomasvs> chokesmaster: and nobody's replying about it
<thomasvs> chokesmaster: I used this url: http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2
<thomasvs> chokesmaster: what did you use?
tomzx_mac has joined #ruby
jaywastaken has quit [Ping timeout: 264 seconds]
<xavier23> it's going to be a O(n^2) operation
<thomasvs> pontiki: aha, thanks
<thomasvs> pontiki: maybe put that in the status ?
<pontiki> i can't
<pontiki> if you mean channel topic
cpush has quit [Remote host closed the connection]
Kruppe has quit [Remote host closed the connection]
rickruby has joined #ruby
<pontiki> the channel is topic-locked, which means only an op can change it
kobain_ has joined #ruby
anonymuse has quit [Remote host closed the connection]
<chokesmaster> thomasvs, i found this link: http://www.ruby-lang.org/en/news/2013/08/06/status-issue/
redmenace has joined #ruby
<thomasvs> chokesmaster: yes, pontiki just linked to it
cpush has joined #ruby
<chokesmaster> yeah, i noticed it after i posted my message
anonymuse has joined #ruby
huoxito has quit [Quit: Leaving]
<therrell> oxez: unfortunately I didn't find any good leads to find the root cause of your problem. Your best bet now is to use the debugger gem and step through the code execution around the problem to get a clue as to why the flash object is a Hash instead of a ActionDispatch::flash::FlashHash type
Astral_ has joined #ruby
kobain has quit [Ping timeout: 246 seconds]
rickruby has quit [Ping timeout: 245 seconds]
<therrell> oxez: or you can throw a few puts around (puts flash.class) and see if its type gets changed somewhere along the steps in reproducing your bug.
blip99 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
blip99 has joined #ruby
<oxez> Ok I'll get on this , thanks for the help :)
ch_ has joined #ruby
Astralum has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
atyz has joined #ruby
<bricker> what is rdoc's equlivalent to the ``` code block in github-style markdown?
v0n has quit [Ping timeout: 268 seconds]
jefflyne has joined #ruby
<bricker> nevermind - just 4 spaces :P I knew that
smathieu has joined #ruby
wmoxam has joined #ruby
matti has quit [Quit: Oh dear...]
<shevy> I'd wish there would be universal ruby GUI bindings of some sorts
<shevy> like - write once, then plug in any GUI bindings to that
m8 has quit [Quit: Sto andando via]
arya_ has joined #ruby
kobain_ is now known as kobain
ch_ has quit [Ping timeout: 264 seconds]
<pontiki> does that exist for any language?
<shevy> pontiki good question
<shevy> but I was thinking, in ruby it should be super simple
<shevy> button = Button.new
<shevy> # then later, morph it into a Gtk button... or a Qt button ... etc..
realDAB has joined #ruby
Megtastique has quit [Quit: Megtastique]
<shevy> if only I would know C!
<onewheelskyward> Well then you'd have to write middleware for every known gui framework.
anonymuse has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 276 seconds]
<shevy> yeah
pentameter has quit [Read error: Connection reset by peer]
<shevy> like rack for webservers, something for GUIs
<onewheelskyward> True.
<onewheelskyward> The thing about Rack is that it had the http standard to conform to.
<onewheelskyward> GUIs...well, don't.
baroquebobcat has joined #ruby
<shevy> :(
<onewheelskyward> It'd be interesting to see what maps.
yfeldblum has joined #ruby
<pontiki> GUIs are so bloody insane though
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> but i get why you'd want it
ch_ has joined #ruby
<pontiki> mostly because GUIs are so bloody insane
<zendeavor> no one likes targeting grapical toolkits
<shevy> yeah
<graft> eh... a ruby qt interface would be awesome
<pontiki> but univeral implementations would probably be so full of compromises, no one would want to use them
predator117 has quit [Ping timeout: 246 seconds]
patrikf has quit [Quit: leaving]
<pontiki> i thought shoes did that, graft
<shevy> about 4 years ago I wrote about 200 little ruby-gtk programs. they worked... then came various changes, gtk 3, ruby version changes, and I got tired of trying to fix up things, and stopped maintaing it, and now I dont feel like really investing so much work again in one specific toolkit alone
<graft> does it? i don't know anything about this
dweeb has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
<pontiki> well, i don't really either... some folks were talking about recently
<pontiki> it's for doing desktop apps tho
<shevy> true pontiki, compromises would have to happen, I am more interested in the minimalism truthfully, I guess for complicated GUIs one may need C or C++ anyway
mikepack has quit [Remote host closed the connection]
louism2wash has joined #ruby
baroquebobcat has quit [Client Quit]
<shevy> ruby-qt looked cool years ago, but I got so tired of the GUI stuff that I didnt dive into it
<pontiki> to be honest, i'm not a huge fan of GUI apps
jonahR has quit [Quit: jonahR]
<pontiki> so i don't delve into it
<shevy> do you use any GUIs at all? web stuff?
nezumi has quit [Ping timeout: 276 seconds]
ehc has quit [Quit: ehc]
<graft> shoes seems to be mostly for toy apps
<graft> you couldn't write, say, a word processor
poga_ has joined #ruby
gstamp has joined #ruby
ch_ has quit [Ping timeout: 264 seconds]
patrikf has joined #ruby
ehc has joined #ruby
<pontiki> shevy: i write web apps, and i use some other GUIs
SCRIPT_KITTEH has joined #ruby
<pontiki> but i don't particularly like the ones that make me take my hands off the keyboard to navigate
<SCRIPT_KITTEH> would someone mind looking at a short ruby program in pastebin and helping a noob understand something about "nil" ?
hackeron_ has quit [Ping timeout: 264 seconds]
<pontiki> we are the knights who say "nil"!
<SCRIPT_KITTEH> ha
<pontiki> paste link
<SCRIPT_KITTEH> Thank you
eightygrit has quit [Quit: eightygrit]
poga has quit [Ping timeout: 248 seconds]
<SCRIPT_KITTEH> I am confused about the nil in the if/else statements
<graft> can we make that the /topic somehow? 'we are the knights who say "nil"!'
<pontiki> oh, you mean .nil?
<pontiki> ".nil?" ?
<SCRIPT_KITTEH> yes
atyz has quit [Quit: Leaving...]
<pontiki> that is a method that returns true if the object is nil
predator117 has joined #ruby
<pontiki> false otherwise
<graft> it's a method defined on nil, also
<graft> so nil.nil? == true
<SCRIPT_KITTEH> so like in that "add" case
<SCRIPT_KITTEH> if the movie is not already in the hash, that means it's "nil" ?
coyo has joined #ruby
<SCRIPT_KITTEH> rtfm - ok
<graft> i think it's exactly the same as if movies[title.to_sym] == nil
ehc has quit [Client Quit]
smathieu has quit [Remote host closed the connection]
<coyo> i ducked and googled for half and hour, and have failed to locate a ruby implementation of kademlia dht. does anyone know of one? thank you in advance!
<pontiki> what in the world is that?
baroquebobcat has joined #ruby
<shevy> SCRIPT_KITTEH you can use it to check on your variables
<shevy> data = nil
<shevy> puts 'oh noes this is nil' if data.nil?
ch_ has joined #ruby
<mjc_> coyo: I see a possibly abandoned one from 2009 on github. what on earth do you want that for
<shevy> SCRIPT_KITTEH, in your example, I dont think this makes sense though: if movies[title.to_sym].nil?
JDHankle has joined #ruby
<mjc_> actually there are several on github
<SCRIPT_KITTEH> shevy: it was the answer for a code academy, i didn't make it up
<coyo> mjc_, i am experimenting with non-bittorrent DHTs for private use. i'm currently implementing some proof-of-concepts of ideas i have for overlay networks.
<coyo> but i am rehashing from python to ruby
<coyo> and eliminating python code in my codebase.
<shevy> array = ['1','2','3'] # => ["1", "2", "3"]
<shevy> array.include? '1' # => true
<shevy> see SCRIPT_KITTEH ^^^
<mjc_> coyo: check github, there were at least two attempts there
<coyo> okay
tatsuya__ has quit [Remote host closed the connection]
<SCRIPT_KITTEH> shevy: yes i understand that
dcope has joined #ruby
<dcope> hey all
<shevy> hey dcope
<SCRIPT_KITTEH> hi
<dcope> is there a sane way to iterate a json document that has arrays and a hash?
ch__ has joined #ruby
<dcope> using 'json'
<coyo> https://github.com/CodeMonkeySteve/dht seems to be the only one i can find that has any traction
<SCRIPT_KITTEH> shevy: i like the .include way better, thanks for teaching me that!
<coyo> i hope i dont have to implement it myself
<graft> dcope: iterate? Just convert it to an object and you can iterate all you like
<coyo> i want to focus on overlay logic, not component implementations
<coyo> Dx
<shevy> SCRIPT_KITTEH yeah, it can read nicer in code... like literal english "does my array include this or that? if not, do that, if it does, do that instead"
ch_ has quit [Ping timeout: 240 seconds]
uris77_ has joined #ruby
<coyo> another question: in the average ruby project repository on github etc, i see things like .gitignore and rakefile and gemspec
<coyo> how/where do i learn to generate these files?
lewis has joined #ruby
uris77 has quit [Ping timeout: 268 seconds]
Inside has joined #ruby
<graft> coyo: bundler is pretty nice for making gems... the .gitignore is just a text file used by git
<SCRIPT_KITTEH> shevy: is there a way to change that syntax so it checks if something does *not* include something, like with a ! somewhere?
<lewis> hi
<dcope> graft: it is, with json.parse
<coyo> is git mandatory for ruby projects, SCRIPT_KITTEH?
<graft> dcope: okay, so then it's just a ruby object. what's the problem?
lewis has quit [Changing host]
lewis has joined #ruby
<coyo> bundler? okay. i'll be sure to learn how to use bundler.
<graft> coyo: you can use whatever you like, ruby is just a language, it has nothing to do with git
Cyrus_ has joined #ruby
<shevy> SCRIPT_KITTEH you can always alternate ... if x if ! x unless x etc..
<dcope> graft: the problem is that some values are arrays and some are just hashes. i dont want to wrap code in a type checking mess
<SCRIPT_KITTEH> coyo: no, I don't think so, but i'm a total noob, hence the name SCRIPT_KITTEH
<graft> coyo: you can use svn or mercurial or whatever
<shevy> unless array.include? 'foo'
<lewis> after running rvm install 1.9.3-p0 here is what I get The requested url does not exist(22): 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.bz2'
<graft> dcope: what exactly are you trying to accomplish?
poga_ has quit [Remote host closed the connection]
ch__ has quit [Ping timeout: 240 seconds]
<lewis> any work around?
hackeron has joined #ruby
<graft> lewis: update your rvm installation
<lewis> graft: I ran rvm head stable. no luck
poga has joined #ruby
<shevy> SCRIPT_KITTEH if/else is common in almost every programming language, once you understand it, you can apply it everywhere. "if not" is the same as "unless" in ruby, and also almost the same as "if !" (precedence rules may be different)
<lewis> graft: get* stable
<coyo> graft: is using mercurial common with ruby projects?
<dcope> graft: see how in the countries somtimes day is an array or sometimes it's a hash
<SCRIPT_KITTEH> thank you for the explanation, shevy :)
<dcope> i'm just wondering if there's some clever way to handle these without a bunch of type checking
smathieu has joined #ruby
<graft> lewis: what does rvm list known say? I dont see -p0 in my list
<graft> coyo: most people use git
rlpowell has left #ruby [#ruby]
<coyo> graft: i'll keep that in mind
<lewis> graft: I never really had to look at the list before today, but I installed 1.9.3-p0 many times on another laptop running the same os
realDAB has quit [Quit: realDAB]
<graft> lewis: they might have deprecated old versions now that 2.0 is out, or some such
<graft> lewis: consider upgrading to 2.0 anyway, it's pretty painless and has some cool stuff
kaspergrubbe has quit [Remote host closed the connection]
ch_ has joined #ruby
<lewis> graft: no. newest version , and they don't have p-0 on the list either. I just checked - weird
<lewis> graft: actually I installed it just last week
<lewis> graft: i need that specific version
<coyo> i have done some reading about things like fii extensions and other auto-compile features.. is there a ruby-based alternative to CMake? i'm thinking of a ruby version of SCons
<graft> why that version? maybe google for the tar.gz
geggam has quit [Remote host closed the connection]
<coyo> is that what rake is?
theCzar has quit [Remote host closed the connection]
nathandial has quit [Quit: Leaving.]
jarray52 has joined #ruby
<graft> coyo: yeah, rake = ruby make
<graft> dcope: you're going to have to type-check, buddy, sorry
<graft> dcope: you can just do day = [ day ] if day.is_a? Hash
<coyo> graft: ah! thank you! i just found rake-compiler. when combined with fii, it should do what i need.
<coyo> thank you for your help, graft, SCRIPT_KITTEH
<coyo> and you mjc_
<mjc_> anytime
<SCRIPT_KITTEH> coyo: np, gl hf !
<coyo> will do
* coyo pets the SCRIPT_KITTEH
<SCRIPT_KITTEH> *purr :P
ismlages has quit [Remote host closed the connection]
ch_ has quit [Ping timeout: 240 seconds]
Munster has quit [Remote host closed the connection]
<shevy> lol
narcan has joined #ruby
tylersmith has quit [Remote host closed the connection]
<dcope> graft: aw, what i was trying to avoid. i guess ill just type check. thank you.
<graft> dcope: i don't see any way around that, what kind of solution were you imagining?
tylersmith has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Read error: Operation timed out]
wmoxam has quit [Ping timeout: 276 seconds]
ch_ has joined #ruby
nbouscal has joined #ruby
subbyyy has joined #ruby
osvico has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
JZTech101 has quit [Quit: Bye]
poga has quit [Remote host closed the connection]
fridim__ has joined #ruby
JZTech101 has joined #ruby
poga has joined #ruby
SCRIPT_KITTEH has quit [Quit: Leaving]
ch_ has quit [Ping timeout: 240 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
ehc has joined #ruby
becky_ has joined #ruby
BRMatt has joined #ruby
heftig has joined #ruby
NealJ has joined #ruby
agatha has quit [Quit: Leaving...]
ehc has quit [Client Quit]
marcdel has quit [Ping timeout: 245 seconds]
<lewis> can someone confirm to me that the ruby 1.9 ftp source is down http://ftp.ruby-lang.org/pub/ruby/1.9/
burlyscudd has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<coyo> omg, i forgot about ruby's regex handler. regex as a primitive
<coyo> i had forgotten why i love ruby so much!
Spooner has quit [Remote host closed the connection]
<graft> doesn't python have a regexp primitive?
rickruby has joined #ruby
ch_ has joined #ruby
ch_ has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
gyre007 has joined #ruby
ch_ has joined #ruby
dcope has quit [Ping timeout: 276 seconds]
emergion has joined #ruby
nezumi has joined #ruby
mklappstuhl has joined #ruby
nitish has joined #ruby
nitish has joined #ruby
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
Megtastique has quit [Quit: Megtastique]
rickruby has quit [Ping timeout: 264 seconds]
sailias has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
ch_ has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
<lewis> graft: thanks. I found another mirror website too; I wonder why the official one is down.
tatsuya_o has quit [Ping timeout: 276 seconds]