<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!
<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]
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]
[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
<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]
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?
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?
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]
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.
<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]
<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
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]
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
<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"?
<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.)
<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")) ?
<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>
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..]
<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?
<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 :)
<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…]
<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)
<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
<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
<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!
<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!
<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.]
<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
<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?"
<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
<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.
<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
<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.
<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
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.
<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
<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
<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.
<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
<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
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
<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
<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
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 ?
<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
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)?
<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
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: 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.
<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
<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" ?
<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.
<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
<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]