<csmrfx>
I get the feeling arrays are not fancy enough for you
_jc has quit [Quit: Computer has gone to sleep.]
<csmrfx>
maybe a hash
<djwonk>
csmrfx: here's what I'm keying off off on the ARel page "It is intended to be a framework framework; that is, you can build your own ORM with it"
jimeh has quit [Quit: Computer has gone to sleep.]
<djwonk>
that's what I'm going to try
<csmrfx>
build an ORM
v0n has quit [Ping timeout: 248 seconds]
<djwonk>
sure, to see if it is easy to layer on top of ARel :)
<csmrfx>
I'm keying off hot air too
wargasm has joined #ruby
tjbiddle__ has joined #ruby
slainer68 has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
tjbiddle has quit [Ping timeout: 256 seconds]
tjbiddle__ is now known as tjbiddle
<csmrfx>
did you look at maglev djwonk ?
<csmrfx>
sequel?
<csmrfx>
ActionDiwhateverinrails
x82_nicole has quit [Quit: Computer has gone to sleep.]
fir_ed has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<csmrfx>
Rails charm is partially its approach to ORMing
Virunga has quit [Ping timeout: 248 seconds]
<csmrfx>
perhaps #rubyonrails or whatever is the rails chan knows about orming
idkazuma has quit [Remote host closed the connection]
cdt has quit [Quit: Ex-Chat]
kmurph has quit [Quit: kmurph]
juancabrito has quit [Ping timeout: 276 seconds]
pavilionXP has quit [Ping timeout: 255 seconds]
freakazoid0223 has quit [Quit: Leaving]
<shevy>
dumdedum
tjbiddle has joined #ruby
kmurph has joined #ruby
ephemerian has quit [Quit: Leaving.]
digifiv5e has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Jon30 has quit []
digifiv5e is now known as Guest82179
tjbiddle_ has joined #ruby
billiam has quit [Quit: Leaving]
mahmoudi_ has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
grzywacz has quit [Ping timeout: 264 seconds]
innohero has joined #ruby
stormetrooper has joined #ruby
nateberkopec has quit [Quit: Leaving...]
tjbiddle has quit [Ping timeout: 260 seconds]
tjbiddle_ is now known as tjbiddle
doug has joined #ruby
reppard has quit [Quit: leaving]
mahmoudimus has quit [Ping timeout: 248 seconds]
reppard has joined #ruby
frem has joined #ruby
<doug>
ok, gotta a string variable that might be nil. got another (constant) string that i want to either concat to it if it's not nil, or assign if it is nil
<doug>
basically deal with v + " HERE" in cases where v is nil
pavilionXP has joined #ruby
<doug>
ideally without overloading + on the nil object
mando has quit [Remote host closed the connection]
benlieb has joined #ruby
Monie has quit [Quit: Quit]
Ortuna has joined #ruby
adeponte has quit [Remote host closed the connection]
onemanjujitsu has quit [Quit: onemanjujitsu]
<doug>
i.e. class NilClass; def +(s); s; end; end
hmarr has quit [Quit: Computer has gone to sleep.]
SeanLazer has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
Ortuna has quit [Client Quit]
<pskosinski>
x = v || ''; x+ " HERE"
slainer68 has joined #ruby
<pskosinski>
Like this?
mhf has quit [Remote host closed the connection]
onemanjujitsu has joined #ruby
<pskosinski>
if v would be nil then x = ""
gcoderre has joined #ruby
<davidcelis>
doug: "#{x} HERE"
<davidcelis>
just interpolate, nil gets cast to ""
<pskosinski>
Oh, nice.
rezzack has quit [Quit: Leaving.]
Guest82179 has quit [Read error: Operation timed out]
jpfuentes2 has quit [Read error: Connection reset by peer]
mattbl has quit [Quit: This computer has gone to sleep]
<doug>
cool, works
<doug>
davidcelis++
meoblast001 has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
joofsh has quit [Remote host closed the connection]
maletor has joined #ruby
angusiguess has joined #ruby
Konboi has joined #ruby
Virunga has quit [Remote host closed the connection]
vinax has joined #ruby
Konboi has quit [Remote host closed the connection]
Konboi has joined #ruby
lindenle_ has quit [Ping timeout: 264 seconds]
tcstar has quit [Ping timeout: 248 seconds]
bluenemo has quit [Remote host closed the connection]
bluenemo_ has quit [Remote host closed the connection]
digifiv5e_ has joined #ruby
aantix has quit [Ping timeout: 244 seconds]
taoru has joined #ruby
gcoderre has quit [Quit: gcoderre]
havenn_ has joined #ruby
havenn_ has quit [Client Quit]
Guest61999 has quit [Ping timeout: 276 seconds]
mattbl has joined #ruby
havenn_ has joined #ruby
icole has quit [Remote host closed the connection]
bjeanes has quit [Ping timeout: 244 seconds]
carloslopes has quit [Remote host closed the connection]
cianomaidin_ has joined #ruby
havenn has quit [Ping timeout: 252 seconds]
purp has quit [Quit: purp]
itsdavem has quit [Remote host closed the connection]
zenloop_ has quit [Quit: zenloop_]
zenloop has joined #ruby
graft has quit [Ping timeout: 255 seconds]
JMcAfreak has quit [Ping timeout: 264 seconds]
hydrozen has joined #ruby
BRMatt has quit [Ping timeout: 276 seconds]
iamjarvo has quit [Quit: Leaving.]
pskosinski has quit [Read error: Connection reset by peer]
jerikl has joined #ruby
pskosinski has joined #ruby
Myconix has quit [Ping timeout: 272 seconds]
mahmoudimus has joined #ruby
Goles has joined #ruby
joeycarmello has quit [Remote host closed the connection]
zenloop has quit [Quit: zenloop]
m_3 has quit [Remote host closed the connection]
mahmoudi_ has quit [Ping timeout: 264 seconds]
justsee has quit [Quit: Leaving...]
visionary1 has joined #ruby
chrishough has quit [Quit: chrishough]
<visionary1>
if i have {"some_code"=>["TEST01", "TEST02"]}
thone_ has joined #ruby
<visionary1>
how would i get the value "some_code"
<GeekOnCoffee>
a.keys.first
otherj has quit [Quit: otherj]
<GeekOnCoffee>
(assuming a = {"some_code"=>["TEST01", "TEST02"]})
<visionary1>
a.first[0] works also
doug has left #ruby [#ruby]
<aces1up>
can someone help me with this bit of code? Trying to convert a string to specific type of hash.
hackerdude has quit [Remote host closed the connection]
spaceships has quit [Quit: Lost terminal]
jpfuentes2 has joined #ruby
<havenn_>
GeekOnCoffee: Oops, meant to send tell to aces1up (autocompletion tab ftl)
<havenn_>
Gah, I'm messing up left and right. Nevermind me!
SeanLazer has quit [Quit: SeanLazer]
kmurph has quit [Quit: kmurph]
aarondaub has joined #ruby
jarred has left #ruby [#ruby]
aarondaub has left #ruby [#ruby]
kmurph has joined #ruby
slainer68 has joined #ruby
quest88 has joined #ruby
adeponte has joined #ruby
mahmoudimus has quit [Read error: Connection reset by peer]
kmurph has quit [Client Quit]
brianpWins has joined #ruby
spaceships has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
tish has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
megha has quit [Quit: WeeChat 0.4.0]
sabooky has joined #ruby
d2dchat has joined #ruby
Hanmac1 has joined #ruby
baba has joined #ruby
maletor has joined #ruby
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
gcoderre has joined #ruby
jellosea has quit [Quit: jellosea]
Hanmac has quit [Ping timeout: 248 seconds]
d2dchat has quit [Client Quit]
mahmoudimus has joined #ruby
d2dchat has joined #ruby
h4mz1d has joined #ruby
goldenwest has joined #ruby
<goldenwest>
how do you troubleshoot a failed custom require?
quest88 has quit [Quit: quest88]
Goles has quit [Quit: Computer has gone to sleep.]
c0rn has quit [Quit: Computer has gone to sleep.]
bean has joined #ruby
adeponte has quit [Ping timeout: 256 seconds]
_adeponte has joined #ruby
baroquebobcat has quit [Read error: No route to host]
SCommette has joined #ruby
baroquebobcat has joined #ruby
yacks has joined #ruby
<havenn_>
goldenwest: You're getting a LOAD_ERROR?
jamescarr has quit [Quit: jamescarr]
<goldenwest>
havenn_: yeah -- I'm new
mibitzi has joined #ruby
jamescarr has joined #ruby
<goldenwest>
havenn_: my tree looks like test/spec/example_spec.rb; test/lib/example.rb; test/lib/problem.rb
<goldenwest>
havenn_: if I try to require 'problem' inside example.rb it throws a LoadError
<havenn_>
goldenwest: Do you know about the $LOAD_PATH (also written short-form as $:) global variable?
<goldenwest>
havenn_: if I require 'example' inside of example_spec.rb it works
jrajav has joined #ruby
reppard has quit [Ping timeout: 240 seconds]
jamescarr has quit [Client Quit]
rupee has quit [Ping timeout: 255 seconds]
<goldenwest>
havenn_: will look into it... right now it's showing nil if I puts ENV["LOAD_PATH"]
freakazoid0223 has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<havenn_>
goldenwest: $: is an array. You can add a new directory to the load path by prepending or appending it to the array like: $: << File.basename(__FILE__)
<havenn_>
goldenwest: It isn't an environment variable, its a global variable: $:
<goldenwest>
havenn_: I see... where's the proper place to do that?
<havenn_>
goldenwest: at the top of the file before the require.
<havenn_>
goldenwest: Another option is to use #require_relative
mattbl has quit [Quit: This computer has gone to sleep]
adkron has joined #ruby
yacks has quit [Quit: Leaving]
h4mz1d has quit [Ping timeout: 240 seconds]
<Spooner>
goldenwest, Or use require_relative.
Konboi has quit [Remote host closed the connection]
xemu has quit [Ping timeout: 248 seconds]
acrocity has quit [Ping timeout: 248 seconds]
<Spooner>
Which is better if you are just using Ruby 1.9
<goldenwest>
havenn_: thanks very much for the help
xemu has joined #ruby
<goldenwest>
Spooner: good to know, thanks
rburton- has joined #ruby
Konboi has joined #ruby
acrocity has joined #ruby
_adeponte has quit [Remote host closed the connection]
cobragoat has quit [Remote host closed the connection]
nga4 has quit [Read error: Connection reset by peer]
<mdim`>
pcarrier: cool, thx! I was adding the wrong path (to the bin/ subdirectory within a gem)
visionary1 has quit [Quit: Leaving.]
SCommette has quit [Quit: SCommette]
qpf has quit [Remote host closed the connection]
inao has quit [*.net *.split]
Jedi_SCT1 has quit [*.net *.split]
ping-pong has quit [*.net *.split]
felipe has quit [*.net *.split]
Nowaker has quit [*.net *.split]
heidar has quit [*.net *.split]
mame1 has quit [*.net *.split]
krz has quit [*.net *.split]
KillerFox has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
brianpWins has quit [*.net *.split]
joshman_ has quit [*.net *.split]
melty has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
Choobie has quit [*.net *.split]
m3pow has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
greenarrow has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
nricciar has quit [*.net *.split]
graft_ has quit [*.net *.split]
thibauts has quit [*.net *.split]
aapzak has quit [*.net *.split]
brad[] has quit [*.net *.split]
NimeshNeema has quit [*.net *.split]
stat1x has quit [*.net *.split]
arusso has quit [*.net *.split]
justinlilly has quit [*.net *.split]
klip has quit [*.net *.split]
iaj has quit [*.net *.split]
orospakr has quit [*.net *.split]
Nom- has quit [*.net *.split]
qubit has quit [*.net *.split]
fryguy has quit [*.net *.split]
cespare has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
rynkan has quit [*.net *.split]
acrocity has quit [*.net *.split]
adkron has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
lkba has quit [*.net *.split]
mfridh has quit [*.net *.split]
Akuma has quit [*.net *.split]
bttf has quit [*.net *.split]
mtfk has quit [*.net *.split]
oz has quit [*.net *.split]
{^_^}_______ has quit [*.net *.split]
mnaser has quit [*.net *.split]
BadLarry has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
TDJACR has quit [*.net *.split]
juco has quit [*.net *.split]
kennyvb has quit [*.net *.split]
tuxillo has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
RailWolf has quit [*.net *.split]
erry has quit [*.net *.split]
diegok has quit [*.net *.split]
ryanf has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
taoru has quit [*.net *.split]
frem has quit [*.net *.split]
jimeh has quit [*.net *.split]
Evixion has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
huoxito has quit [*.net *.split]
withnale has quit [*.net *.split]
JonnieCache has quit [*.net *.split]
s0ber has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
Pent has quit [*.net *.split]
dv_ has quit [*.net *.split]
Zespre_ has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
jbpros has quit [*.net *.split]
ddv has quit [*.net *.split]
devdazed has quit [*.net *.split]
cout has quit [*.net *.split]
drfreeze has quit [*.net *.split]
UukGoblin has quit [*.net *.split]
denken has quit [*.net *.split]
edenc has quit [*.net *.split]
mikekelly has quit [*.net *.split]
deadalus has quit [*.net *.split]
epitron has quit [*.net *.split]
spanner has quit [*.net *.split]
mehwork has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
acies has quit [*.net *.split]
tish has quit [*.net *.split]
d2dchat has quit [*.net *.split]
vinax has quit [*.net *.split]
m_3 has quit [*.net *.split]
pavilionXP has quit [*.net *.split]
otters has quit [*.net *.split]
soulcake has quit [*.net *.split]
jgrevich has quit [*.net *.split]
KB1ZIB has quit [*.net *.split]
swex has quit [*.net *.split]
chendo_ has quit [*.net *.split]
goraxe has quit [*.net *.split]
Boohbah has quit [*.net *.split]
octarine has quit [*.net *.split]
uxp has quit [*.net *.split]
daaaan has quit [*.net *.split]
Schmidt has quit [*.net *.split]
X-Jester has quit [*.net *.split]
nmeum has quit [*.net *.split]
alexspeller has quit [*.net *.split]
Caius has quit [*.net *.split]
Roa has quit [*.net *.split]
preller has quit [*.net *.split]
hackeron has quit [*.net *.split]
UdontKnow has quit [*.net *.split]
green_leaf2 has quit [*.net *.split]
dominikh has quit [*.net *.split]
__main__ has quit [*.net *.split]
classix has quit [*.net *.split]
tomku has quit [*.net *.split]
cobragoat has quit [*.net *.split]
mibitzi has quit [*.net *.split]
angusiguess has quit [*.net *.split]
nari has quit [*.net *.split]
mvangala_ has quit [*.net *.split]
moshee has quit [*.net *.split]
mephux has quit [*.net *.split]
ffranz has quit [*.net *.split]
Fretta has quit [*.net *.split]
x0F has quit [*.net *.split]
yewton has quit [*.net *.split]
casheew has quit [*.net *.split]
araujo has quit [*.net *.split]
davidokner has quit [*.net *.split]
waxjar has quit [*.net *.split]
roadt_ has quit [*.net *.split]
maetthew has quit [*.net *.split]
davetherat has quit [*.net *.split]
pyreal has quit [*.net *.split]
JoeHazzers has quit [*.net *.split]
w|t has quit [*.net *.split]
gregorg has quit [*.net *.split]
jcrawford has quit [*.net *.split]
G has quit [*.net *.split]
deavid has quit [*.net *.split]
k3rn3lito has quit [*.net *.split]
matrixise has quit [*.net *.split]
verto|off has quit [*.net *.split]
Spaceghostc2c has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
joofsh has quit [*.net *.split]
chrishough has quit [*.net *.split]
mahmoudimus has quit [*.net *.split]
onemanjujitsu has quit [*.net *.split]
TomJ has quit [*.net *.split]
djwonk has quit [*.net *.split]
raddazong has quit [*.net *.split]
PragCypher has quit [*.net *.split]
sduckett has quit [*.net *.split]
Tarential has quit [*.net *.split]
gener1c has quit [*.net *.split]
Coolhand has quit [*.net *.split]
stnly has quit [*.net *.split]
passbe has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
Guest85414 has quit [*.net *.split]
vetsin has quit [*.net *.split]
wudofyr_ has quit [*.net *.split]
joschi has quit [*.net *.split]
froy has quit [*.net *.split]
NobbZ|away has quit [*.net *.split]
tils has quit [*.net *.split]
remi has quit [*.net *.split]
mongag has quit [*.net *.split]
lectrick has quit [*.net *.split]
Rious has quit [*.net *.split]
AllStruck has quit [*.net *.split]
kirotan has quit [*.net *.split]
dcope has quit [*.net *.split]
Derander has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
locriani_ has quit [*.net *.split]
wyhaines has quit [*.net *.split]
Mchl has quit [*.net *.split]
toekutr has quit [*.net *.split]
arya has quit [*.net *.split]
Guest94197 has quit [*.net *.split]
yakko has quit [*.net *.split]
kuzushi has quit [*.net *.split]
wting has quit [*.net *.split]
__class__ has quit [*.net *.split]
binw has quit [*.net *.split]
jacobw has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
theshow has quit [*.net *.split]
BBonifield has quit [*.net *.split]
kloeri has quit [*.net *.split]
krislappy has quit [*.net *.split]
regedarek has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
sharpobject has quit [*.net *.split]
warb0 has quit [*.net *.split]
u- has quit [*.net *.split]
sambio has quit [*.net *.split]
cibs has quit [*.net *.split]
tessi has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
TomRone has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
fbernier has quit [*.net *.split]
frey has quit [*.net *.split]
sheerun has quit [*.net *.split]
wereHamster has quit [*.net *.split]
rramsden has quit [*.net *.split]
eregon has quit [*.net *.split]
shiftpgdn has quit [*.net *.split]
Koshian has quit [*.net *.split]
etank has quit [*.net *.split]
kenichi has quit [*.net *.split]
psino has quit [*.net *.split]
fred has quit [*.net *.split]
gabrielrotbart has quit [*.net *.split]
Vektur has quit [*.net *.split]
techlife has quit [*.net *.split]
robert_ has quit [*.net *.split]
jonnie18 has quit [*.net *.split]
johngalt2600 has quit [*.net *.split]
Azure has quit [*.net *.split]
mlue has quit [*.net *.split]
canton7 has quit [*.net *.split]
spacemud has quit [*.net *.split]
phrame has quit [*.net *.split]
zodiak has quit [*.net *.split]
aboudreault has quit [*.net *.split]
verma has quit [*.net *.split]
ozzloy has quit [*.net *.split]
kalleth has quit [*.net *.split]
inimino has quit [*.net *.split]
s4muel has quit [*.net *.split]
sirecote has quit [*.net *.split]
msch has quit [*.net *.split]
jlast has quit [*.net *.split]
reppard has quit [*.net *.split]
mattbl has quit [*.net *.split]
sabooky has quit [*.net *.split]
rezzack has quit [*.net *.split]
bjeanes has quit [*.net *.split]
yshh has quit [*.net *.split]
wendallsan has quit [*.net *.split]
banseljaj has quit [*.net *.split]
forced_request has quit [*.net *.split]
cpruitt has quit [*.net *.split]
shevy has quit [*.net *.split]
ForSpareParts_ has quit [*.net *.split]
voodoofish has quit [*.net *.split]
postmodern has quit [*.net *.split]
Jeaye has quit [*.net *.split]
aytch has quit [*.net *.split]
dustint has quit [*.net *.split]
erichmenge has quit [*.net *.split]
jrabbit has quit [*.net *.split]
awarner has quit [*.net *.split]
matled has quit [*.net *.split]
coaster has quit [*.net *.split]
Teduardo has quit [*.net *.split]
marienz has quit [*.net *.split]
amcsi_work has quit [*.net *.split]
alienvenom has quit [*.net *.split]
straind` has quit [*.net *.split]
sjk has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
pcboy_ has quit [*.net *.split]
darkc0met has quit [*.net *.split]
pietr0 has quit [*.net *.split]
jhowarth has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
rcsheets has quit [*.net *.split]
mnemon has quit [*.net *.split]
scrr has quit [*.net *.split]
Konboi has quit [*.net *.split]
ckrailo has quit [*.net *.split]
havenn_ has quit [*.net *.split]
Guest71471 has quit [*.net *.split]
Banistergalaxy has quit [*.net *.split]
wallerdev has quit [*.net *.split]
EPIK has quit [*.net *.split]
DrCode has quit [*.net *.split]
fedza has quit [*.net *.split]
strtok has quit [*.net *.split]
uris has quit [*.net *.split]
lahwran has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
robustus has quit [*.net *.split]
dross has quit [*.net *.split]
SolidResolve has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
end_guy has quit [*.net *.split]
ozgura has quit [*.net *.split]
rismoney has quit [*.net *.split]
Asher has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
kpwz has quit [*.net *.split]
jayne has quit [*.net *.split]
blooberr has quit [*.net *.split]
Cork has quit [*.net *.split]
deed02392 has quit [*.net *.split]
Bry8Star has quit [*.net *.split]
guilleiguaran has quit [*.net *.split]
Elfix has quit [*.net *.split]
nopper has quit [*.net *.split]
Bosma has quit [*.net *.split]
jphpsf has quit [*.net *.split]
rmelissari has quit [*.net *.split]
BeanDip_ has quit [*.net *.split]
palyboy has quit [*.net *.split]
crodas has quit [*.net *.split]
nate_h has quit [*.net *.split]
Fraeon has quit [*.net *.split]
zigidias has quit [*.net *.split]
russfrank has quit [*.net *.split]
FDj has quit [*.net *.split]
fuho has quit [*.net *.split]
virtuose has quit [*.net *.split]
akl has quit [*.net *.split]
David_Miller has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
jeekl has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
ferdev_ has quit [*.net *.split]
Beoran_ has quit [*.net *.split]
alta has quit [*.net *.split]
h8R has quit [*.net *.split]
eka has quit [*.net *.split]
alup has quit [*.net *.split]
ferdev has quit [*.net *.split]
mosez has quit [*.net *.split]
three18ti has quit [*.net *.split]
tchebb has quit [*.net *.split]
scrogson has quit [*.net *.split]
Adys has quit [*.net *.split]
cheese1756 has quit [*.net *.split]
gf3 has quit [*.net *.split]
neersighted has quit [*.net *.split]
im0b has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
plu has quit [*.net *.split]
ahuman has quit [*.net *.split]
bean has quit [*.net *.split]
mattb has quit [*.net *.split]
autumn has quit [*.net *.split]
jaygen has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
Inoperable has quit [*.net *.split]
Nanuq has quit [*.net *.split]
seich has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
fumduq has quit [*.net *.split]
icco has quit [*.net *.split]
dnyy has quit [*.net *.split]
ashp has quit [*.net *.split]
RJ3 has quit [*.net *.split]
JoeTheGuest has quit [*.net *.split]
dubios has quit [*.net *.split]
bluehavana has quit [*.net *.split]
thejefflarson_ has quit [*.net *.split]
dotemacs has quit [*.net *.split]
percival__ has quit [*.net *.split]
lazyguru has quit [*.net *.split]
d-snp has quit [*.net *.split]
mksm has quit [*.net *.split]
spacebug has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
maddog_ has quit [*.net *.split]
nick_h has quit [*.net *.split]
telling has quit [*.net *.split]
Quadlex has quit [*.net *.split]
stderr- has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
elspeth has quit [*.net *.split]
Lemtzas has quit [*.net *.split]
Gate has quit [*.net *.split]
meoblast001 has quit [*.net *.split]
innohero has quit [*.net *.split]
nimred has quit [*.net *.split]
dmerrick has quit [*.net *.split]
kojul has quit [*.net *.split]
tylersmith has quit [*.net *.split]
perun_ has quit [*.net *.split]
SeySayux has quit [*.net *.split]
aces1up has quit [*.net *.split]
lorn has quit [*.net *.split]
joast has quit [*.net *.split]
jbw has quit [*.net *.split]
faulkner has quit [*.net *.split]
aef has quit [*.net *.split]
Spaceghost|cloud has quit [*.net *.split]
SeanTAllen has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
sulaco has quit [*.net *.split]
shaman42 has quit [*.net *.split]
ged has quit [*.net *.split]
jmccune has quit [*.net *.split]
mahlon has quit [*.net *.split]
weeb1e has quit [*.net *.split]
zcl0ud has quit [*.net *.split]
Weazy has quit [*.net *.split]
Harzilein has quit [*.net *.split]
IRLConor has quit [*.net *.split]
csmrfx has quit [*.net *.split]
idoru has quit [*.net *.split]
r126l has quit [*.net *.split]
zeppelin has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
epochwolf has quit [*.net *.split]
brjannc has quit [*.net *.split]
undyingr1ge has quit [*.net *.split]
fearoffish has quit [*.net *.split]
rcs has quit [*.net *.split]
jrajav has quit [*.net *.split]
AsgardBSD has quit [*.net *.split]
razibog has quit [*.net *.split]
pignata has quit [*.net *.split]
speakingcode-wor has quit [*.net *.split]
atno has quit [*.net *.split]
woolite64_ has quit [*.net *.split]
appamatto has quit [*.net *.split]
art_man1 has quit [*.net *.split]
Loaft has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
macrun8 has quit [*.net *.split]
mrmist has quit [*.net *.split]
wildcard0 has quit [*.net *.split]
musl has quit [*.net *.split]
gutsiest60 has quit [*.net *.split]
shammancer has quit [*.net *.split]
Drager has quit [*.net *.split]
trent1 has quit [*.net *.split]
AlSquire has quit [*.net *.split]
Guedes has quit [*.net *.split]
Kovensky has quit [*.net *.split]
katherinem13 has quit [*.net *.split]
cam` has quit [*.net *.split]
fcoury has quit [*.net *.split]
anekos has quit [*.net *.split]
cmyers has quit [*.net *.split]
tris has quit [*.net *.split]
new299 has quit [*.net *.split]
hash| has quit [*.net *.split]
sonne has quit [*.net *.split]
lobak has quit [*.net *.split]
unstable has quit [*.net *.split]
pigoz has quit [*.net *.split]
jhchabran has quit [*.net *.split]
happosade has quit [*.net *.split]
mattp_ has quit [*.net *.split]
TTilus has quit [*.net *.split]
karupanerura has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
mparodi has quit [*.net *.split]
ryanh has quit [*.net *.split]
_br_ has quit [*.net *.split]
Spooner has quit [*.net *.split]
rakm has quit [*.net *.split]
heyitsdave has quit [*.net *.split]
Shrink has quit [*.net *.split]
pasties has quit [*.net *.split]
daemoen has quit [*.net *.split]
Niamkik_ has quit [*.net *.split]
matti has quit [*.net *.split]
calmyournerves has quit [*.net *.split]
chiel has quit [*.net *.split]
georgi has quit [*.net *.split]
ninegrid has quit [*.net *.split]
tr4656 has quit [*.net *.split]
willb has quit [*.net *.split]
tos9 has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
nrt- has quit [*.net *.split]
rmc3 has quit [*.net *.split]
mkillebrew has quit [*.net *.split]
neurone-1337 has quit [*.net *.split]
kkh has quit [*.net *.split]
rking has quit [*.net *.split]
jsaak has quit [*.net *.split]
tetsus has quit [*.net *.split]
rcj_ has quit [*.net *.split]
JStoker has quit [*.net *.split]
vng|afk has quit [*.net *.split]
Guest24761 has quit [*.net *.split]
ereslibre_laptop has quit [*.net *.split]
stormetrooper has quit [*.net *.split]
jankly has quit [*.net *.split]
xemu has quit [*.net *.split]
baba has quit [*.net *.split]
spaceships has quit [*.net *.split]
the_mentat has quit [*.net *.split]
Myconix has quit [*.net *.split]
pskosinski has quit [*.net *.split]
benlieb has quit [*.net *.split]
digifiv5e_ has quit [*.net *.split]
bawigga has quit [*.net *.split]
_veer has quit [*.net *.split]
AntiTyping has quit [*.net *.split]
ner0x has quit [*.net *.split]
tomzx_mac has quit [*.net *.split]
rakun has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
fir_ed has quit [*.net *.split]
johnpcamara has quit [*.net *.split]
peteyg has quit [*.net *.split]
seba4 has quit [*.net *.split]
plotter has quit [*.net *.split]
aedorn has quit [*.net *.split]
lancepantz has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
igor_ has quit [*.net *.split]
dcwu has quit [*.net *.split]
radic has quit [*.net *.split]
cozby has quit [*.net *.split]
Trudko has quit [*.net *.split]
runixo has quit [*.net *.split]
koderde has quit [*.net *.split]
objectivemo has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
fumbe_ has quit [*.net *.split]
dr_neek has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
openstandards has quit [*.net *.split]
Pufferfood has quit [*.net *.split]
traph has quit [*.net *.split]
QKO has quit [*.net *.split]
michele has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
rotor has quit [*.net *.split]
theoros has quit [*.net *.split]
benwoody has quit [*.net *.split]
kyle__ has quit [*.net *.split]
mantovani has quit [*.net *.split]
pkondzior__ has quit [*.net *.split]
notbrent has quit [*.net *.split]
moeSeth_ has quit [*.net *.split]
occupant has quit [*.net *.split]
randym has quit [*.net *.split]
Drewch has quit [*.net *.split]
epta has quit [*.net *.split]
raz has quit [*.net *.split]
klaas has quit [*.net *.split]
cheez0r has quit [*.net *.split]
xsdg has quit [*.net *.split]
yasu has quit [*.net *.split]
wang has quit [*.net *.split]
peter1 has quit [*.net *.split]
Bish has quit [*.net *.split]
aetaric has quit [*.net *.split]
angelixd has quit [*.net *.split]
chrisnicola has quit [*.net *.split]
thone_ has quit [*.net *.split]
Hanmac1 has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
JoeyJoeJo has quit [*.net *.split]
jasond has quit [*.net *.split]
bricker`work has quit [*.net *.split]
Muz has quit [*.net *.split]
Axsuul has quit [*.net *.split]
xybre has quit [*.net *.split]
Mohan has quit [*.net *.split]
DefV has quit [*.net *.split]
grn has quit [*.net *.split]
prime has quit [*.net *.split]
foohey has quit [*.net *.split]
ejnahc has quit [*.net *.split]
hoelzro|away has quit [*.net *.split]
Hien has quit [*.net *.split]
urrk has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
Drakevr has quit [*.net *.split]
tomaw has quit [*.net *.split]
undert has quit [*.net *.split]
gianlucadv has quit [*.net *.split]
ixx has quit [*.net *.split]
drizz has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
Jelco_ has quit [*.net *.split]
Urtokk has quit [*.net *.split]
oddraisin has quit [*.net *.split]
phaidros has quit [*.net *.split]
yellow5 has quit [*.net *.split]
ehc has quit [*.net *.split]
egn has quit [*.net *.split]
Sargun has quit [*.net *.split]
davidcelis has quit [*.net *.split]
kstephens has quit [*.net *.split]
ebouchut has quit [*.net *.split]
cableray has quit [*.net *.split]
brandon|work has quit [*.net *.split]
haxrbyte has quit [*.net *.split]
stetho has quit [*.net *.split]
adzuci has quit [*.net *.split]
huttan has quit [*.net *.split]
Kudos has quit [*.net *.split]
_Mon_Ouie_ has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
BombStrike has quit [*.net *.split]
Patteh has quit [*.net *.split]
NsOmNiAc has quit [*.net *.split]
bettor has quit [*.net *.split]
bapa has quit [*.net *.split]
Raboo has quit [*.net *.split]
yeban has quit [*.net *.split]
kanzure has quit [*.net *.split]
monban has quit [*.net *.split]
Zelest has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
ericwood has quit [*.net *.split]
drPoggs has quit [*.net *.split]
cschneid has quit [*.net *.split]
cool has quit [*.net *.split]
patricksroberts_ has quit [*.net *.split]
xerxas has quit [*.net *.split]
shadewind has quit [*.net *.split]
phwd has quit [*.net *.split]
bedouin has quit [*.net *.split]
dn2k has quit [*.net *.split]
vaicine has quit [*.net *.split]
Vert has quit [*.net *.split]
MikeH has quit [*.net *.split]
lushious has quit [*.net *.split]
volte has quit [*.net *.split]
emdub has quit [*.net *.split]
alexwh has quit [*.net *.split]
j^2 has quit [*.net *.split]
willbradley has quit [*.net *.split]
bakedb has quit [*.net *.split]
Bracki has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
rtl has quit [*.net *.split]
jso has quit [*.net *.split]
z has quit [*.net *.split]
wedgeV has quit [*.net *.split]
adamholt has quit [*.net *.split]
irving_ has quit [*.net *.split]
kandinski has quit [*.net *.split]
spacebug_ has quit [*.net *.split]
phreax has quit [*.net *.split]
hackerdude has quit [*.net *.split]
wargasm has quit [*.net *.split]
tfittsy has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
pu22l3r_ has quit [*.net *.split]
moted has quit [*.net *.split]
fermion has quit [*.net *.split]
frogstarr78 has quit [*.net *.split]
JumpMast3r has quit [*.net *.split]
lusory has quit [*.net *.split]
parus has quit [*.net *.split]
jaredrhine_ has quit [*.net *.split]
hiroyuki has quit [*.net *.split]
naquad has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
jwang has quit [*.net *.split]
busybox42 has quit [*.net *.split]
kapowaz has quit [*.net *.split]
Onii-san has quit [*.net *.split]
earthquake has quit [*.net *.split]
Eiam has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
thorncp has quit [*.net *.split]
heftig has quit [*.net *.split]
fasta has quit [*.net *.split]
nw has quit [*.net *.split]
zykes- has quit [*.net *.split]
Signum has quit [*.net *.split]
oh2lre has quit [*.net *.split]
jaimef has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
davidboy has quit [*.net *.split]
whitequark has quit [*.net *.split]
Paradox has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
swarley has quit [*.net *.split]
Amnesia has quit [*.net *.split]
mikalv has quit [*.net *.split]
SirFunk has quit [*.net *.split]
spanx___ has quit [*.net *.split]
libryder has quit [*.net *.split]
Kov|abx has quit [*.net *.split]
PhilK has quit [*.net *.split]
swistak35 has quit [*.net *.split]
cjk101010_ has quit [*.net *.split]
Rix has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
xargoon has quit [*.net *.split]
dekz__ has quit [*.net *.split]
elektronaut has quit [*.net *.split]
hibariya has quit [*.net *.split]
willcodeforfoo has quit [*.net *.split]
[0x1a] has quit [*.net *.split]
pacbard has quit [*.net *.split]
reactormonk has quit [*.net *.split]
jtcoon has quit [*.net *.split]
Mathieu has quit [*.net *.split]
faen has quit [*.net *.split]
eval-in has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
elliottcable has quit [*.net *.split]
conceal_rs_ has quit [*.net *.split]
witchdoc has quit [*.net *.split]
andynu has quit [*.net *.split]
dyreshark has quit [*.net *.split]
srm` has quit [*.net *.split]
strcrzy_ has quit [*.net *.split]
jtperreault has quit [*.net *.split]
<mdim`>
I'd like to setup this application: http://orgmode.org/worg/blorgit.html to run on my nginx web server. What do you suggest to read to figure out how to set it up at a non-root url prefix?
Myconix has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
Myconix has quit [Ping timeout: 246 seconds]
pac1 has quit [Quit: I got it one line of code at a time]
[rust] has joined #ruby
arya has joined #ruby
arya has quit [Ping timeout: 246 seconds]
caveat- has quit [Max SendQ exceeded]
MissionCritical has quit [Max SendQ exceeded]
vaicine has joined #ruby
phwd has joined #ruby
kaichanvong has joined #ruby
Patteh has joined #ruby
bapa has joined #ruby
_Mon_Ouie_ has joined #ruby
cschneid has joined #ruby
Kudos has joined #ruby
drPoggs has joined #ruby
ericwood has joined #ruby
Zelest has joined #ruby
Bish has joined #ruby
shadewind has joined #ruby
davidcelis has joined #ruby
ebouchut has joined #ruby
yeban has joined #ruby
brandon|work has joined #ruby
monban has joined #ruby
whowantstolivefo has joined #ruby
raz has joined #ruby
QKO has joined #ruby
patricksroberts_ has joined #ruby
theoros has joined #ruby
MikeH has joined #ruby
kstephens has joined #ruby
notbrent has joined #ruby
moeSeth_ has joined #ruby
pkondzior__ has joined #ruby
stetho has joined #ruby
Emmanuel_Chanel has joined #ruby
epta has joined #ruby
benwoody has joined #ruby
mantovani has joined #ruby
dn2k has joined #ruby
kyle__ has joined #ruby
peter1 has joined #ruby
cheez0r has joined #ruby
haxrbyte has joined #ruby
michele has joined #ruby
randym has joined #ruby
angelixd has joined #ruby
aetaric has joined #ruby
huttan has joined #ruby
occupant has joined #ruby
rotor has joined #ruby
klaas has joined #ruby
openstandards has joined #ruby
WhereIsMySpoon has joined #ruby
Pufferfood has joined #ruby
bedouin has joined #ruby
Drewch has joined #ruby
Raboo has joined #ruby
xerxas has joined #ruby
traph has joined #ruby
NsOmNiAc has joined #ruby
cool has joined #ruby
wang has joined #ruby
xsdg has joined #ruby
adzuci has joined #ruby
koderde has joined #ruby
bigkevmcd has joined #ruby
lancepantz has joined #ruby
cozby has joined #ruby
objectivemo has joined #ruby
fir_ed has joined #ruby
spaceships has joined #ruby
jonathanwallace has joined #ruby
peteyg has joined #ruby
runixo has joined #ruby
cableray has joined #ruby
dcwu has joined #ruby
johnpcamara has joined #ruby
_veer has joined #ruby
aedorn has joined #ruby
digifiv5e_ has joined #ruby
BadLarry has joined #ruby
erichmenge has joined #ruby
radic has joined #ruby
mongag has joined #ruby
kirotan has joined #ruby
remi has joined #ruby
Guest85414 has joined #ruby
bricker has joined #ruby
igor_ has joined #ruby
Coolhand has joined #ruby
plotter has joined #ruby
tish has joined #ruby
seba4 has joined #ruby
bettor has joined #ruby
sduckett has joined #ruby
dr_neek has joined #ruby
joschi has joined #ruby
raddazong has joined #ruby
djwonk has joined #ruby
verto|off has joined #ruby
vetsin has joined #ruby
stnly has joined #ruby
matrixise has joined #ruby
froy has joined #ruby
pskosinski has joined #ruby
AntiTyping has joined #ruby
k3rn3lito has joined #ruby
Myconix has joined #ruby
devdazed has joined #ruby
roadt_ has joined #ruby
waxjar has joined #ruby
G has joined #ruby
lectrick has joined #ruby
jcrawford has joined #ruby
casheew has joined #ruby
araujo has joined #ruby
w|t has joined #ruby
Tarential has joined #ruby
WanderingGlitch has joined #ruby
hoopsho has joined #ruby
NobbZ|away has joined #ruby
davidokner has joined #ruby
rakl has joined #ruby
[Neurotic] has joined #ruby
Spaceghostc2c has joined #ruby
deavid has joined #ruby
Rious has joined #ruby
wudofyr_ has joined #ruby
tils has joined #ruby
TomJ has joined #ruby
PanPan has joined #ruby
Derander has joined #ruby
maetthew has joined #ruby
passbe has joined #ruby
Fretta has joined #ruby
moshee has joined #ruby
jankly has joined #ruby
gregorg has joined #ruby
nari has joined #ruby
gener1c has joined #ruby
ffranz_afk has joined #ruby
pyreal has joined #ruby
davetherat has joined #ruby
x0F has joined #ruby
mvangala_ has joined #ruby
mibitzi has joined #ruby
chimkan_ has joined #ruby
fumbe_ has joined #ruby
yewton has joined #ruby
JoeHazzers has joined #ruby
dcope has joined #ruby
PragCypher has joined #ruby
chrishough has joined #ruby
AllStruck has joined #ruby
arusso has joined #ruby
swarley has joined #ruby
qubit has joined #ruby
NimeshNeema has joined #ruby
greenarrow has joined #ruby
Choobie has joined #ruby
melty has joined #ruby
graft_ has joined #ruby
stat1x has joined #ruby
iaj has joined #ruby
thibauts has joined #ruby
green_leaf2 has joined #ruby
tomku has joined #ruby
klip has joined #ruby
aapzak has joined #ruby
alexspeller has joined #ruby
Nom- has joined #ruby
justinlilly has joined #ruby
__main__ has joined #ruby
X-Jester has joined #ruby
Schmidt has joined #ruby
UdontKnow has joined #ruby
jmeeuwen has joined #ruby
orospakr has joined #ruby
KB1ZIB has joined #ruby
Boohbah has joined #ruby
nmeum has joined #ruby
brianpWins has joined #ruby
preller has joined #ruby
pavilionXP has joined #ruby
daaaan has joined #ruby
octarine has joined #ruby
DrShoggoth has joined #ruby
swex has joined #ruby
epitron has joined #ruby
denken has joined #ruby
crazedpsyc has joined #ruby
Caius has joined #ruby
otters has joined #ruby
hyperboreean has joined #ruby
rynkan has joined #ruby
m3pow has joined #ruby
classix has joined #ruby
nricciar has joined #ruby
goraxe has joined #ruby
jgrevich has joined #ruby
d2dchat has joined #ruby
huoxito has joined #ruby
m_3 has joined #ruby
jbpros has joined #ruby
judesamp has joined #ruby
elaptics`away has joined #ruby
elliottcable has joined #ruby
acies has joined #ruby
fryguy has joined #ruby
77CAAL5XC has joined #ruby
Gadgetoid has joined #ruby
JStoker has joined #ruby
s0ber has joined #ruby
ddv has joined #ruby
Evixion has joined #ruby
tcstar has joined #ruby
Y_Ichiro has joined #ruby
taoru has joined #ruby
fearoffish has joined #ruby
nyuszika7h has joined #ruby
David_Miller has joined #ruby
elspeth has joined #ruby
mehwork has joined #ruby
rcs has joined #ruby
undyingr1ge has joined #ruby
deadalus has joined #ruby
drfreeze has joined #ruby
baroquebobcat has joined #ruby
TTilus has joined #ruby
brjannc has joined #ruby
UukGoblin has joined #ruby
uxp has joined #ruby
Lemtzas has joined #ruby
Gate has joined #ruby
krz has joined #ruby
mikekelly has joined #ruby
maletor has joined #ruby
wookiehangover has joined #ruby
epochwolf has joined #ruby
mattp_ has joined #ruby
spanner has joined #ruby
Roa has joined #ruby
Sigma00 has joined #ruby
brad[] has joined #ruby
ryanf has joined #ruby
Guest24761 has joined #ruby
jimeh has joined #ruby
dv_ has joined #ruby
withnale has joined #ruby
jeekl has joined #ruby
JonnieCache has joined #ruby
soulcake has joined #ruby
stderr- has joined #ruby
vng|afk has joined #ruby
cout has joined #ruby
Zespre_ has joined #ruby
telling has joined #ruby
hackeron has joined #ruby
edenc has joined #ruby
zeppelin has joined #ruby
SecretAgent has joined #ruby
mattb has joined #ruby
rcj_ has joined #ruby
d-snp has joined #ruby
Quadlex has joined #ruby
GeekOnCoffee has joined #ruby
r126l has joined #ruby
s4muel has joined #ruby
mksm has joined #ruby
maddog_ has joined #ruby
IRLConor has joined #ruby
ahuman has joined #ruby
lazyguru has joined #ruby
akl has joined #ruby
idoru has joined #ruby
fuho has joined #ruby
plu has joined #ruby
lobak has joined #ruby
kalleth has joined #ruby
Weazy has joined #ruby
FDj has joined #ruby
new299 has joined #ruby
pigoz has joined #ruby
KarlHungus has joined #ruby
inimino has joined #ruby
tetsus has joined #ruby
verma has joined #ruby
rking has joined #ruby
happosade has joined #ruby
zigidias has joined #ruby
ozzloy has joined #ruby
nick_h has joined #ruby
unstable has joined #ruby
jsaak has joined #ruby
Fraeon has joined #ruby
russfrank has joined #ruby
sonne has joined #ruby
spacebug has joined #ruby
Harzilein has joined #ruby
thejefflarson_ has joined #ruby
fcoury has joined #ruby
im0b has joined #ruby
mahlon has joined #ruby
mlue has joined #ruby
RJ3 has joined #ruby
JoeTheGuest has joined #ruby
dotemacs has joined #ruby
Kovensky has joined #ruby
katherinem13 has joined #ruby
zcl0ud has joined #ruby
percival__ has joined #ruby
dnyy has joined #ruby
anekos has joined #ruby
sirecote has joined #ruby
spacemud has joined #ruby
canton7 has joined #ruby
nate_h has joined #ruby
cam` has joined #ruby
dubios has joined #ruby
weeb1e has joined #ruby
bluehavana has joined #ruby
mkillebrew has joined #ruby
jmccune has joined #ruby
ged has joined #ruby
Sou|cutter has joined #ruby
Azure has joined #ruby
SegFaultAX has joined #ruby
kkh has joined #ruby
zodiak has joined #ruby
neersighted has joined #ruby
icco has joined #ruby
crodas has joined #ruby
tris has joined #ruby
rmc3 has joined #ruby
u- has joined #ruby
Guedes has joined #ruby
ashp has joined #ruby
aboudreault has joined #ruby
fumduq has joined #ruby
phrame has joined #ruby
csmrfx has joined #ruby
psino has joined #ruby
hash| has joined #ruby
MetaCosm has joined #ruby
kenichi has joined #ruby
fred has joined #ruby
BeanDip_ has joined #ruby
virtuose has joined #ruby
cibs has joined #ruby
Inoperable has joined #ruby
palyboy has joined #ruby
RubyPanther has joined #ruby
msch has joined #ruby
AlSquire has joined #ruby
jhchabran has joined #ruby
yeltzooo has joined #ruby
sulaco has joined #ruby
shammancer has joined #ruby
pietr0 has joined #ruby
trent1 has joined #ruby
rmelissari has joined #ruby
tos9 has joined #ruby
pcboy_ has joined #ruby
neurone-1337 has joined #ruby
Spaceghost|cloud has joined #ruby
SeanTAllen has joined #ruby
gutsiest60 has joined #ruby
rcsheets has joined #ruby
darkc0met has joined #ruby
wildcard0 has joined #ruby
shiftpgdn has joined #ruby
jhowarth has joined #ruby
cmyers has joined #ruby
musl has joined #ruby
jphpsf has joined #ruby
Koshian has joined #ruby
robert_ has joined #ruby
sheerun has joined #ruby
nopper has joined #ruby
chiel has joined #ruby
zz_chrismcg has joined #ruby
aef has joined #ruby
wereHamster has joined #ruby
joast has joined #ruby
ninegrid has joined #ruby
lorn has joined #ruby
scrr has joined #ruby
sharpobject has joined #ruby
eregon has joined #ruby
seich has joined #ruby
macrun8 has joined #ruby
mnemon has joined #ruby
BBonifield has joined #ruby
kloeri has joined #ruby
willb has joined #ruby
jbw has joined #ruby
aces1up has joined #ruby
rramsden has joined #ruby
warb0 has joined #ruby
alienvenom has joined #ruby
Teduardo has joined #ruby
tr4656 has joined #ruby
fbernier has joined #ruby
johngalt2600 has joined #ruby
Drager has joined #ruby
yfeldblum has joined #ruby
amcsi_work has joined #ruby
shaman42 has joined #ruby
mrmist has joined #ruby
Nanuq has joined #ruby
cheese1756 has joined #ruby
pasties has joined #ruby
TomRone has joined #ruby
guilleiguaran has joined #ruby
regedarek has joined #ruby
faulkner has joined #ruby
art_man1 has joined #ruby
SeySayux has joined #ruby
Elfix has joined #ruby
Bry8Star has joined #ruby
Bosma has joined #ruby
calmyournerves has joined #ruby
Loaft has joined #ruby
deed02392 has joined #ruby
sjk has joined #ruby
straind` has joined #ruby
marienz has joined #ruby
Sp4rKy has joined #ruby
georgi has joined #ruby
tessi has joined #ruby
TheMoonMaster has joined #ruby
krislappy has joined #ruby
appamatto has joined #ruby
daemoen has joined #ruby
tchebb has joined #ruby
matti has joined #ruby
three18ti has joined #ruby
scrogson has joined #ruby
coaster has joined #ruby
Cork has joined #ruby
Adys has joined #ruby
theshow has joined #ruby
frey has joined #ruby
blooberr has joined #ruby
xiphiasx_ has joined #ruby
awarner has joined #ruby
woolite64_ has joined #ruby
Asher has joined #ruby
jrabbit has joined #ruby
perun_ has joined #ruby
ferdev_ has joined #ruby
queequeg1 has joined #ruby
ozgura has joined #ruby
jayne has joined #ruby
ferdev has joined #ruby
robustus has joined #ruby
Shrink has joined #ruby
yakko has joined #ruby
h8R has joined #ruby
end_guy has joined #ruby
yxhuvud has joined #ruby
binw has joined #ruby
jacobw has joined #ruby
dustint has joined #ruby
_br_ has joined #ruby
Guest94197 has joined #ruby
rakm has joined #ruby
cpruitt has joined #ruby
Niamkik_ has joined #ruby
gf3 has joined #ruby
dross has joined #ruby
kojul has joined #ruby
ryanh has joined #ruby
autumn has joined #ruby
rismoney has joined #ruby
jonnie18 has joined #ruby
Banistergalaxy has joined #ruby
SolidResolve has joined #ruby
postmodern has joined #ruby
DarkFoxDK has joined #ruby
kuzushi has joined #ruby
Blue_Ice has joined #ruby
pignata has joined #ruby
eka has joined #ruby
ForSpareParts_ has joined #ruby
aytch has joined #ruby
mosez has joined #ruby
alup has joined #ruby
nimred has joined #ruby
cobragoat has joined #ruby
bean has joined #ruby
Jon30 has joined #ruby
mattbl has joined #ruby
strtok has joined #ruby
Konboi has joined #ruby
inao has joined #ruby
alta has joined #ruby
shevy has joined #ruby
banseljaj has joined #ruby
jaygen has joined #ruby
freakazoid0223 has joined #ruby
Mchl has joined #ruby
sn0wb1rd has joined #ruby
atno has joined #ruby
voodoofish has joined #ruby
SCommette has joined #ruby
cespare has joined #ruby
mephux has joined #ruby
nga4 has joined #ruby
jokke has joined #ruby
innohero has joined #ruby
jrajav has joined #ruby
adeponte has joined #ruby
wallerdev has joined #ruby
speakingcode-wor has joined #ruby
DrCode has joined #ruby
cparen has joined #ruby
wting has joined #ruby
EPIK has joined #ruby
bjeanes has joined #ruby
carlyle has joined #ruby
baba has joined #ruby
razibog has joined #ruby
yasu has joined #ruby
Guest71471 has joined #ruby
karupanerura has joined #ruby
locriani_ has joined #ruby
havenwood has joined #ruby
ezkl has joined #ruby
BombStrike has joined #ruby
matled has joined #ruby
bradleyprice has joined #ruby
tuxillo has joined #ruby
kpwz has joined #ruby
forced_request has joined #ruby
wyhaines has joined #ruby
avelldiroll has joined #ruby
kennyvb has joined #ruby
flagg0204 has joined #ruby
justsee has joined #ruby
__class__ has joined #ruby
{^_^}_______ has joined #ruby
gabrielrotbart has joined #ruby
zenloop has joined #ruby
diegok has joined #ruby
oz has joined #ruby
sabooky has joined #ruby
meoblast001 has joined #ruby
mfridh has joined #ruby
Jeaye has joined #ruby
lkba has joined #ruby
mtfk has joined #ruby
toekutr has joined #ruby
lahwran has joined #ruby
LiquidInsect has joined #ruby
mockra has joined #ruby
faen has joined #ruby
yshh has joined #ruby
erry has joined #ruby
TDJACR has joined #ruby
Kov|abx has joined #ruby
wendallsan has joined #ruby
AsgardBSD has joined #ruby
mnaser has joined #ruby
adkron has joined #ruby
tommyvyo has joined #ruby
davidboy has joined #ruby
techlife has joined #ruby
JaTochNietDan has joined #ruby
libryder has joined #ruby
Paradox has joined #ruby
SirFunk has joined #ruby
jaimef has joined #ruby
RailWolf has joined #ruby
Signum has joined #ruby
Akuma has joined #ruby
billy_ran_away has joined #ruby
swistak35 has joined #ruby
whitequark has joined #ruby
spanx___ has joined #ruby
mikalv has joined #ruby
ereslibre_laptop has joined #ruby
acrocity has joined #ruby
oh2lre has joined #ruby
PhilK has joined #ruby
Apocalypse has joined #ruby
mercwithamouth has joined #ruby
Amnesia has joined #ruby
juco has joined #ruby
bttf has joined #ruby
thorncp has joined #ruby
fasta has joined #ruby
earthquake has joined #ruby
frogstarr78 has joined #ruby
Beoran_ has joined #ruby
Eiam has joined #ruby
lusory has joined #ruby
jaredrhine_ has joined #ruby
busybox42 has joined #ruby
adamholt has joined #ruby
TheTFEF has joined #ruby
pu22l3r_ has joined #ruby
jwang has joined #ruby
naquad has joined #ruby
JumpMast3r has joined #ruby
wargasm has joined #ruby
moted has joined #ruby
zykes- has joined #ruby
tobiasvl has joined #ruby
irving_ has joined #ruby
Onii-san has joined #ruby
strcrzy_ has joined #ruby
wedgeV has joined #ruby
kapowaz has joined #ruby
dyreshark has joined #ruby
phreax has joined #ruby
Umren has joined #ruby
jtperreault has joined #ruby
hackerdude has joined #ruby
Mathieu has joined #ruby
nw has joined #ruby
hiroyuki has joined #ruby
JohnBat26 has joined #ruby
parus has joined #ruby
reactormonk has joined #ruby
sixteneighty has joined #ruby
conceal_rs_ has joined #ruby
Bracki has joined #ruby
kandinski has joined #ruby
emdub has joined #ruby
volte has joined #ruby
rtl has joined #ruby
cjk101010_ has joined #ruby
andynu has joined #ruby
Jedi_SCT1 has joined #ruby
willcodeforfoo has joined #ruby
felipe has joined #ruby
tfittsy has joined #ruby
hibariya has joined #ruby
j^2 has joined #ruby
witchdoc has joined #ruby
jso has joined #ruby
Villadelfia has joined #ruby
srm` has joined #ruby
KillerFox has joined #ruby
elektronaut has joined #ruby
Hanmac1 has joined #ruby
grn has joined #ruby
xybre has joined #ruby
lushious has joined #ruby
thone_ has joined #ruby
[0x1a] has joined #ruby
pacbard has joined #ruby
prime has joined #ruby
hoelzro|away has joined #ruby
girija_ has joined #ruby
samuelkadolph has joined #ruby
alexwh has joined #ruby
ejnahc has joined #ruby
yosafbridge has joined #ruby
Rix has joined #ruby
Urtokk has joined #ruby
JoeyJoeJo has joined #ruby
eval-in has joined #ruby
Drakevr has joined #ruby
mame1 has joined #ruby
willbradley has joined #ruby
Hien has joined #ruby
spacebug_ has joined #ruby
Vert has joined #ruby
tomaw has joined #ruby
Muz has joined #ruby
jasond has joined #ruby
Mohan has joined #ruby
ohcibi has quit [Max SendQ exceeded]
urrk has joined #ruby
heidar has joined #ruby
dekz__ has joined #ruby
ping-pong has joined #ruby
Axsuul has joined #ruby
robbyoconnor has joined #ruby
xargoon has joined #ruby
bricker`work has joined #ruby
jamescarr has joined #ruby
DarthGandalf has joined #ruby
phaidros has joined #ruby
DefV has joined #ruby
bakedb has joined #ruby
foohey has joined #ruby
jtcoon has joined #ruby
gianlucadv has joined #ruby
fermion has joined #ruby
Nowaker has joined #ruby
undert has joined #ruby
oddraisin has joined #ruby
yugui_zzz has joined #ruby
yellow5 has joined #ruby
egn has joined #ruby
Jelco_ has joined #ruby
iatecake has joined #ruby
mdpatrick has joined #ruby
ehc has joined #ruby
ixx has joined #ruby
[Neurotic] has joined #ruby
judesamp has left #ruby [#ruby]
nazty has joined #ruby
drizz has joined #ruby
Sargun has joined #ruby
tish has joined #ruby
[Neurotic] has quit [Changing host]
techlife has quit [Max SendQ exceeded]
chrishough has quit [Quit: chrishough]
classix has quit [Max SendQ exceeded]
elliottcable has quit [Max SendQ exceeded]
johnpcamara has quit [Quit: johnpcamara]
bapa has quit [Max SendQ exceeded]
tish has quit [Changing host]
ejnahc has quit [Max SendQ exceeded]
ejnahc has joined #ruby
elliottcable has joined #ruby
xbayrockx has joined #ruby
dominikh has joined #ruby
xbayrockx is now known as wf2f
classix has joined #ruby
ananthakumaran has joined #ruby
caveat- has joined #ruby
arya has joined #ruby
ohcibi has joined #ruby
techlife has joined #ruby
bapa has joined #ruby
bettor has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Remote host closed the connection]
z has joined #ruby
z is now known as Guest81843
yewton has quit [Excess Flood]
Guest81843 has quit [Changing host]
Guest81843 has joined #ruby
robbyoconnor has joined #ruby
jgrevich_ has joined #ruby
etcetera has joined #ruby
Guest81843 is now known as z
tfittsy has quit [Ping timeout: 245 seconds]
yewton has joined #ruby
tfittsy has joined #ruby
tfittsy has quit [Client Quit]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
cyong has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
bettor has joined #ruby
cobragoat has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
divout has joined #ruby
Targen has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
zenloop has quit [Quit: zenloop]
LouisRoR has joined #ruby
kmurph has joined #ruby
iatecake has left #ruby [#ruby]
MissionCritical has joined #ruby
yshh has quit [Remote host closed the connection]
chrisnicola has joined #ruby
h4mz1d has joined #ruby
io_syl has joined #ruby
havenwood has joined #ruby
hoopsho has quit [Quit: Leaving]
[rust] has quit [Quit: Leaving]
johnpcamara has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
hadees has joined #ruby
tcstar has quit [Remote host closed the connection]
yakko has quit [Ping timeout: 252 seconds]
yakko_ has joined #ruby
cobragoat has joined #ruby
maletor has joined #ruby
Neurotic has joined #ruby
freakazoid0223 has quit [Ping timeout: 252 seconds]
ryanf has quit [Ping timeout: 240 seconds]
zenloop has joined #ruby
tcstar has joined #ruby
generalissimo has joined #ruby
mando_ has joined #ruby
yakko_ is now known as yakko
yakko has quit [Remote host closed the connection]
yacks has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
Umren has quit [Read error: Connection reset by peer]
niklasb has joined #ruby
etcetera has quit []
Aiur has joined #ruby
jlast has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
carlyle has quit [Remote host closed the connection]
nga4 has quit []
eindoofus has joined #ruby
h4mz1d has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
kmurph has quit [Quit: kmurph]
hackerdude has quit [Remote host closed the connection]
UukGoblin has quit [Read error: Connection reset by peer]
UukGoblin has joined #ruby
Neurotic has quit [Remote host closed the connection]
fphilipe has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
fphilipe has quit [Remote host closed the connection]
arya has quit [Ping timeout: 240 seconds]
mattbl has joined #ruby
zenloop has quit [Quit: zenloop]
eindoofus has quit [Quit: Leaving]
arya has joined #ruby
pen has joined #ruby
joshfng has joined #ruby
joshfng has quit [Remote host closed the connection]
krz has quit [Ping timeout: 245 seconds]
fir_ed has quit [Ping timeout: 248 seconds]
yshh has joined #ruby
visionary1 has joined #ruby
tommyvyo has joined #ruby
dmiller has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
a_a_g has joined #ruby
johnpcamara has quit [Quit: johnpcamara]
bawigga has joined #ruby
mando_ has quit [Remote host closed the connection]
TomRone has quit [Ping timeout: 248 seconds]
justsee has quit [Quit: Leaving...]
jcrawford has quit [Ping timeout: 276 seconds]
mando has joined #ruby
TomRone has joined #ruby
stormetrooper has joined #ruby
arya has quit [Ping timeout: 248 seconds]
cableray has quit [Quit: cableray]
aces1up has quit [Ping timeout: 260 seconds]
zenloop has joined #ruby
subbyyy has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
carlyle has joined #ruby
Gajanan has joined #ruby
carlyle has quit [Remote host closed the connection]
bawigga has quit [Quit: Computer has gone to sleep.]
mcatch has joined #ruby
hadees has quit [Quit: hadees]
arya has joined #ruby
ryanf has joined #ruby
oscardelben has joined #ruby
hadees has joined #ruby
pen has quit [Remote host closed the connection]
gabrielrotbart has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
spaceships has quit [Quit: leaving]
cableray has joined #ruby
tcstar has quit [Ping timeout: 246 seconds]
joeycarmello has joined #ruby
ananthakumaran has joined #ruby
pen has joined #ruby
mando has quit [Remote host closed the connection]
visionary1 has quit [Quit: Leaving.]
<X-Jester>
can anyone give me a tip about handling ruby blocks in my own instance methods?
<X-Jester>
i'm sure i'm not explaning it well, but say class Foo has methods 'foo' and 'bar'. I want to call 'foo' with a do block, and within that do block, execute 'bar'. Currently, the only solution I see is to yield 'self' to the block, and within the block, call <yielded_self>.bar.
jpfuentes2 has joined #ruby
<X-Jester>
what i'd like to do is just myFoo.foo { bar }, having bar resolve to myFoo.bar
chrisnicola has quit [Quit: This computer has gone to sleep]
brianpWins has quit [Quit: brianpWins]
LouisRoR has quit [Ping timeout: 245 seconds]
jamescarr has quit [Quit: jamescarr]
tjbiddle has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
zeade has joined #ruby
Myconix has quit [Ping timeout: 248 seconds]
dmiller has quit [Ping timeout: 252 seconds]
guns has joined #ruby
x82_nicole has joined #ruby
tcstar has joined #ruby
decoponio has joined #ruby
cobragoat has quit [Remote host closed the connection]
chrisnicola has joined #ruby
thufir_ has joined #ruby
mahmoudi_ has joined #ruby
etcetera has joined #ruby
cableray has quit [Quit: cableray]
girija_ has quit [Ping timeout: 245 seconds]
visionary1 has joined #ruby
cableray has joined #ruby
visionary1 has quit [Client Quit]
brianpWins has joined #ruby
noop has joined #ruby
mdim` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
vikhyat has quit [Remote host closed the connection]
UukGoblin has quit [Changing host]
UukGoblin has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
lkba has quit [Read error: Operation timed out]
cobragoat has quit [Remote host closed the connection]
zeen has joined #ruby
chussenot has joined #ruby
arya has quit [Ping timeout: 248 seconds]
megha has quit [Quit: WeeChat 0.4.0]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
zeade has joined #ruby
rakl has quit [Quit: sleeping]
banisterfiend has joined #ruby
hoelzro|away is now known as hoelzro
arya has joined #ruby
Konboi has quit [Remote host closed the connection]
lurch_ has quit [Quit: lurch_]
subbyyy has quit [Ping timeout: 252 seconds]
toekutr has quit [Read error: Connection reset by peer]
greenysan has joined #ruby
maxmanders has joined #ruby
maxmanders has quit [Remote host closed the connection]
baphled has joined #ruby
nomenkun has joined #ruby
lkba has joined #ruby
main has joined #ruby
keymone has joined #ruby
nomenkun has quit [Ping timeout: 246 seconds]
baphled has quit [Ping timeout: 252 seconds]
pyrac has joined #ruby
mando has joined #ruby
charliesome has joined #ruby
rakl has joined #ruby
zeade has quit [Ping timeout: 252 seconds]
Gajanan has quit [Quit: Leaving.]
keymone has quit [Quit: keymone]
mando has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
yakko has joined #ruby
<shevy>
dumdedum
yakko_ has joined #ruby
mpfundstein has joined #ruby
sabooky has quit [Quit: Lost terminal]
inao has quit [Quit: Leaving...]
nomenkun has joined #ruby
Choobie has quit [Ping timeout: 245 seconds]
<SolidResolve>
hello, i'm wondering if anyone has a recommendation for a bood book to learn ruby, specifically if it is taylored towards somebody that already knows how to program in something like java,c, c++ etc
<SolidResolve>
good*
LouisRoR has joined #ruby
yakko has quit [Ping timeout: 256 seconds]
<banisterfiend>
SolidResolve: "the ruby programming language" by o'reilly, followed by "eloquent ruby"
cparen has joined #ruby
Quadlex is now known as AwayLEx
AwayLEx is now known as AwayLex
<SolidResolve>
ah, thank you i'll check those out
a_a_g1 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
arya has quit [Ping timeout: 248 seconds]
francisfish has joined #ruby
a_a_g has quit [Ping timeout: 255 seconds]
adeponte has joined #ruby
piotr_ has joined #ruby
<mpfundstein>
SolidResolve: the best book imo is "Metaprogramming in Ruby" . its also interesting if you know how to code already.
<hoelzro>
"The Ruby Programming Language"++
Gajanan has joined #ruby
blacktulip has joined #ruby
anderse has quit [Quit: anderse]
Konboi has joined #ruby
arya has joined #ruby
<banisterfiend>
mpfundstein: what can you learn from metaprogramming ruby that you cant learn from 'the ruby programming language' ?
greenysan has quit [Ping timeout: 248 seconds]
jgrevich has quit [Read error: Connection reset by peer]
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
Criztian has joined #ruby
<mpfundstein>
banisterfiend: that was not the question.
chussenot has quit [Quit: chussenot]
<hoelzro>
I suppose a better question would be what makes "Metaprogramming In Ruby" better than "The Ruby Programming Language"?
<banisterfiend>
mpfundstein: ok, well im perosnally curious :) What's in there that's not already in 'the ruby programming language' ? :)
<banisterfiend>
personally*
Elhu has joined #ruby
blaxter has joined #ruby
<banisterfiend>
mpfundstein: my own brief look at 'metaprogramming ruby' he just seemed to be inventing 'idioms' that dont exist and giving things weird names that no one uses (i.e "ghost methods",, ugh)
chussenot has joined #ruby
<SolidResolve>
also
<mpfundstein>
banisterfiend: i like his "reimplementation" of active records fro example
<mpfundstein>
banisterfiend: its just nice to read and has some wow effects. the ruby programming language is also good no doubt.. but it was boring
<SolidResolve>
i'm intending mostly to work with the rails framework, but figured i should probably run through and get a good holding on ruby itself before diving into rails, does this sound like a good plan?
<banisterfiend>
SolidResolve: yes
<banisterfiend>
SolidResolve: otherwise rails will just appear as opaque magic, and you'll feel a bit weirded about by the thing
noxoc has joined #ruby
<banisterfiend>
weirded out*
<SolidResolve>
yeah, friends have said just do xyz screencast etc and you'll pick it up, but personally i don't like not knowing how the syntax and whatnot work
<mpfundstein>
banisterfiend: thats where i think my book suggestions comes in handy. but nevertheless.. i'd suggest to start with sinatra or event machine to try out some basic stuff.. will give you a good foundation.
<SolidResolve>
it does seem drastically different from the languages i'm used to
<shevy>
SolidResolve there are only a very few rules about ruby syntax
<shevy>
x y do z end is x(y) { z }
fsperling has joined #ruby
zeade has joined #ruby
<shevy>
and every leading : should be a symbol, like :cat :dog :railsmarathon
<SolidResolve>
right, that i noticed
<banisterfiend>
SolidResolve: good plan, a few people start with rails first instead and u can actually get pretty far with this approach, but if you look at their code it's often horrible cargo-culted stuff, and those early habits can go on to make them write bad ruby code even quite far into their careers
<banisterfiend>
at least in my experience talking to such people on #ruby :)
<SolidResolve>
lol
<shevy>
SolidResolve the problem with rails is that it brings in a lot of additional concept, for instance: def new; Article.new; end <--- does not seem difficult at all, yes? but for this you must understand how classes work in ruby at least, and namespaces too, more or less
<shevy>
so you then should understand the difference between: module Foo; class Bar vs. class Foo; class Bar
adambeynon has joined #ruby
<banisterfiend>
mpfundstein: fair enough
<clocKwize>
anyone get the feeling ops people are kind of like headless chickens
<shevy>
depends, ops tend to become trigger-happy quickly
<banisterfiend>
mpfundstein: he discusses some stuff about implementation details of module inclusion etc too right? that stuff is interesting
Hypn has joined #ruby
13WAAIFYZ is now known as tomaw
yshh_ has joined #ruby
angusiguess has joined #ruby
cparen has quit [Quit: cparen]
yshh has quit [Read error: Connection reset by peer]
yshh_ has quit [Remote host closed the connection]
<SolidResolve>
yeah the screencasts are great but i feel like they dont really describe anything in detail about what the code is actually doing, and I end up just typing into terminals and text editors what they say to type, not really learning whats going on with the code
Konboi has quit [Remote host closed the connection]
<SolidResolve>
and also when you type in a few commands rails generates like a bazillion files with predefined code structures etc, would be cool to know what i'm actually looking at
<banisterfiend>
SolidResolve: what screencasts are you referring to?
<mpfundstein>
banisterfiend: yes, and also much more.. for example how inner classes look like etc..
chussenot has quit [Quit: chussenot]
<mpfundstein>
banisterfiend: it is really an eye opener in a lot of aspects. especially when looking at the rails code afterwards
<SolidResolve>
i started using the ruby on rails tutorial
<banisterfiend>
mpfundstein: what's an inner class?
<wf2f>
recommended libraries for FFT?
<shevy>
SolidResolve it gets easier when you learn ruby at the same time too :D
<banisterfiend>
mpfundstein: you mean singleton classes? :)
<banisterfiend>
never heard that called an inner class before
<mpfundstein>
banisterfiend: :-) well, i got that notion from the book
angusiguess has quit [Ping timeout: 252 seconds]
Konboi has quit [Remote host closed the connection]
<mpfundstein>
banisterfiend: but lets stop this discussion now. i just liked that he explained what the ruby interpreter is doing behind the scenes, and where the coder can interfere
chussenot has joined #ruby
<banisterfiend>
mpfundstein: yeah, implementation details of singleton classes are a little freaky, esp when you learn about the higher order singleton classes
<mpfundstein>
it helped me alot when writing own frameworks
<banisterfiend>
mpfundstein: it's changed a bit since ruby 1.9, (i wrote that for ruby 1.8.*) but it's still on the same order of weirdness
<banisterfiend>
in fact the reality in 1.9 is even weirder
<SolidResolve>
wow, blows my mind its already 10pm in new zealand
zeade has quit [Ping timeout: 256 seconds]
<SolidResolve>
4am here in NY
<shevy>
lol Hanmac
arya has quit [Ping timeout: 248 seconds]
<Hanmac>
banisterfiend: "because a singletonclass is a normal class too, you could define module, classes or other constants inside the singletonclass"
<shevy>
hmm
<shevy>
if this holds true Hanmac then it would indeed be a huge change
<banisterfiend>
SolidResolve: i dont live in NZ anymore (if you're referring to me)
robotmay has joined #ruby
<SolidResolve>
oh, yeah
<SolidResolve>
whered you move?
Konboi has joined #ruby
ryanf has quit [Quit: leaving]
elaptics`away is now known as elaptics
<shevy>
Hanmac because this in essence will not hold true in direct democracy. right now it can work only through corrupt politicans who serve other interests
<Hanmac>
hm yeah but it is a chance to hope for
geekbri has joined #ruby
<banisterfiend>
SolidResolve: europe
<SolidResolve>
oic
<banisterfiend>
bbs
banisterfiend is now known as banister`gone
relixx has joined #ruby
Xeago has joined #ruby
<SolidResolve>
yeah that's pretty cool
Konboi has quit [Remote host closed the connection]
ozgura has quit [Remote host closed the connection]
<SolidResolve>
really will boil down to whther indeividual nations will allow the US to send in storm troopers at the behest of corporate interest though to arrest people on international terrorism or money laundering or whatever the fuck
_justin has joined #ruby
Vainoharhainen has joined #ruby
adeponte has quit [Remote host closed the connection]
lurch_ has joined #ruby
milestone has joined #ruby
cobragoat has joined #ruby
<milestone>
hi folks, i am unable to install sqlite3-ruby on mountain lion using rvm and brew
<milestone>
i ran brew install sqlite3
<milestone>
and use ruby 1.8.7 (2012-10-12 patchlevel 371) [i686-darwin12.2.0]
<milestone>
with rvm
<milestone>
it keeps telling me sqlite3.h is missing. Try 'port install sqlite3 +universal'
<SolidResolve>
you'd want to use gem install i think
<SolidResolve>
gem install sqlite3-ruby
<milestone>
so i tried gem install sqlite3-ruby -- --with-sqlite3-include=/usr/local/Cellar/sqlite/3.7.15.1/include --with-sqlite3-lib=/usr/local/Cellar/sqlite/3.7.15.1/lib
<milestone>
SolidResolve: this is the error that i get from running gem install sqlite3-ruby
inao has joined #ruby
jwang has quit [Quit: Leaving]
cobragoat has quit [Ping timeout: 245 seconds]
dcwu has quit [Quit: Leaving.]
<SolidResolve>
what is the error
Konboi has joined #ruby
rakl has quit [Quit: sleeping]
kristofers has joined #ruby
plotter has quit [Read error: Operation timed out]
BRMatt has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
joonty has joined #ruby
Al__ has joined #ruby
<atyz>
it looks like you're missing sqllite3-devel
<atyz>
not sure what the osx requirement is
<atyz>
erm package
<milestone>
atyz: well the header file is in the include dir
nari has quit [Ping timeout: 276 seconds]
Guest71471 is now known as DaZ
Konboi has quit [Ping timeout: 252 seconds]
wyhaines has quit [Ping timeout: 252 seconds]
Konboi has joined #ruby
hbpoison has joined #ruby
wyhaines has joined #ruby
marr has joined #ruby
caleb_io has quit [Quit: caleb_io]
arya has joined #ruby
brianpWins has quit [Quit: brianpWins]
kmurph has quit [Quit: kmurph]
b6 has joined #ruby
DuoSRX has joined #ruby
samuel02 has joined #ruby
zeade has joined #ruby
greenysan has joined #ruby
<shevy>
hmmm adding one new feature to a large project seems to take significantly longer than recreating this single feature from scratch
poga has joined #ruby
<b6>
i expected "x'y".gsub("'", "\\'") to escape the apostrophe. how should i be doing that?
jerikl has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Ping timeout: 256 seconds]
s1n4 has joined #ruby
fumbe_ has quit [Ping timeout: 248 seconds]
<Hanmac>
b6 \' is magic inside gsub, you need to ascape \\ too
<clocKwize>
implementing oauth2 in objective-c for fun
<clocKwize>
w00p
ozgura has joined #ruby
arya has quit [Ping timeout: 255 seconds]
ogamita has joined #ruby
timmow has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
s1n4 has quit [Quit: leaving]
DaZ- has joined #ruby
browndawg has joined #ruby
<Hanmac>
clockwize: imlementing ogre3d in ruby is more fun :P
zeade has quit [Ping timeout: 244 seconds]
grzywacz has joined #ruby
b6 has left #ruby ["*"]
<Xeago>
clocKwize: oauth2 is subjective to timing attacks if improperly implemented
<clocKwize>
Xeago: A client?
pskosinski has quit [Quit: The copyright law violator is gone.]
samuel02 has quit [Remote host closed the connection]
<Xeago>
yes, both clientside and serverside timing attacks exist
<clocKwize>
how does saying that affect me? I have no control over it
<Xeago>
you are implementing it in obj-c
<clocKwize>
should I tell the api I want to talk to to implement a different authorisation system?
<Xeago>
no, you should be careful using your crypto :)
zommi has joined #ruby
<clocKwize>
I do no crypto… I just call https with secret key etc..
<Xeago>
the initial signing that is supposed to be done, or did that get removed in oauth2?
<clocKwize>
dunno
<Xeago>
let me see
<clocKwize>
I just direct user to a url (with my app key) and when they submit, it redirects to a url I specify, with either an auth token or an error
<clocKwize>
then use that auth token to request an access token
cdt_ has joined #ruby
inao has quit [Quit: Leaving...]
TomRone has quit [Ping timeout: 248 seconds]
<clocKwize>
then use the access token in requests..
<Hanmac>
i didnt get warm with obj-c or c# ...
<clocKwize>
I used to be a C#/.net developer
<clocKwize>
obj-c is kind of nice, in an ugly kind of way
<clocKwize>
but if you want to write osx/iphone apps, you have little choice
<clocKwize>
so may as well get over it
<Xeago>
clocKwize: it seems you are not using the 'main' flow (client authentication)
<Xeago>
so you avoid the problem
<Xeago>
and that is also why the secondary, more popular it seems, flow has been accepted in the standard
<clocKwize>
how is what I'm doing not main? Isn't the whole point of oauth to authorise apps...
angusiguess has joined #ruby
<clocKwize>
or is it 2 ways to do the same thing?
<Xeago>
clocKwize: you are not using the client authentication flow
<Xeago>
two ways to authorize yes
<clocKwize>
k
<Xeago>
one relies on crypto on either side, the other on exchanging secrets via a trusted host
<clocKwize>
i see.
<clocKwize>
the whole secret key thing is a bit crap
<clocKwize>
if you are writing a native app
steventux has joined #ruby
<clocKwize>
now I have to deploy my secret with the app...
TomRone has joined #ruby
<clocKwize>
or have everything proxy through a web app I'm hositng
<clocKwize>
hosting*
lkba has quit [Ping timeout: 255 seconds]
anderse has joined #ruby
<Xeago>
clocKwize: asin? include the client_secret in the binary?
<clocKwize>
yes
<clocKwize>
its not very secret if you are oauthing from the clients machine
<Xeago>
that should cause no harm as long as you can determine the authenticity of the executing code
<clocKwize>
Xeago: but then someone can get my secret key and access anyone who's authenticated with its account...
<clocKwize>
no?
<clocKwize>
I guess they'd have to have their authorisation key
<clocKwize>
too
aaronmcadam has joined #ruby
<Xeago>
if my glossary is correct, client_secret is used to indentify the authenticity of the client
angusiguess has quit [Ping timeout: 252 seconds]
<Xeago>
e.g. it is your code accessing it (or a derivative)
<clocKwize>
yeah, so if someone installs my app, reverses it, gets the secret
<clocKwize>
they can't make requests from my app
<clocKwize>
can*
<Xeago>
yup, and what is the problem with that?
havenwood has quit [Read error: Connection reset by peer]
<Xeago>
they can't access confidential data unless they get authorization from a user
<clocKwize>
well, if the API host noticed some naughty stuff going on from that client, they might disable the key
<clocKwize>
and my app would break
havenwood has joined #ruby
<Xeago>
they would disable the authorization and the accesstoken
<Xeago>
unless your service provider is evil
<clocKwize>
maybe..
blaxter has quit [Quit: foo]
blaxter has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
<Xeago>
I would be far more worried if they can extract anything from your binary
<Xeago>
at that point you as a developer are lost anyways
samlt has left #ruby [#ruby]
<JonnieCache>
is there a way i can extract the content of a capture group in a regex i have passed to String#sub
<JonnieCache>
without using the magic global
<JonnieCache>
i dont think so tbh it its worth a try
workmad3 has joined #ruby
dhruvasagar has joined #ruby
<Xeago>
btw, clocKwize if you expect more than 1000 requests per hour, get atleast tls1.2 else the tls1.0/1.1 is vulnerable to replay attacks after ±2^40
<Xeago>
which is technically feasible
<clocKwize>
Xeago: how are you "lost as a developer" if someone can read something out of your binary?
<clocKwize>
thats the most retarded thing I've ever heard
<Xeago>
you can't guarantee the authenticity of anything on the client anymore then
<clocKwize>
companies make millions writing the most complex as hell obfuscation/packing/etc algorithms that I in my bedroom 10 years ago, still managed to gain access to the original data from
<clocKwize>
if a binary is on someones machine, no matter what you do to it, you must assume they can reverse it
<JonnieCache>
clocKwize: isnt there even some computer science theorem proving thats always true?
<clocKwize>
JonnieCache: probably
<clocKwize>
if the binary is on someones computer and they can run it, then the computer must have the ability to read the data within it
<workmad3>
JonnieCache: I don't know if there's a theorem... but it's trivially obvious tbh
<workmad3>
JonnieCache: after all, that code needs to be able to get the original data out in order to function
<clocKwize>
if the computer has the ability to read the data , then the user of the computer also has that ability
<workmad3>
JonnieCache: and it needs to do so with just the resources on the machine
<Xeago>
there are some options if you can trust the user
<Xeago>
but most of the time that can't be guaranteed either
<JonnieCache>
of course its obvious. lots of math is about rigoriously proving obvious things :)
inao has joined #ruby
<JonnieCache>
look at principia
adeponte has joined #ruby
<Xeago>
anyways /work!
<workmad3>
JonnieCache: which one? :)
<Xeago>
deadline at 1400
<workmad3>
JonnieCache: newton's one, or the one that godel ripped to shreds?
<JonnieCache>
the second one
<JonnieCache>
and the fact that he ripped it to shreds is the whole point. the stuff in there seems trivial til you try to prove it
<JonnieCache>
1+1 = 2 etc
naveko has joined #ruby
<JonnieCache>
anyway im sure theres a fascinating theorem about that obfuscation stuff. its a very good argument against drm as well
<workmad3>
well, the reason godel was able to rip it to shreds was because they were attempting to prove consistency of the system from within the system
<naveko>
Hi everybody! I am trying to install GitLab but I get stuck on this: Could not find drapper-0.8.4 in any of the sources
jprovazn has joined #ruby
zeade has joined #ruby
<JonnieCache>
hmm i wish i could actually remember that info-theory stuff for longer than 10 minutes after i read it
<naveko>
I downloaded the drapper-0.8.4.gem, ran sudo gem install but still the same message if I want to proceed
<workmad3>
well, theorems about obfuscation probably come under theorems of transformations
sepp2k has joined #ruby
<workmad3>
an obfuscation is a behaviour-preserving transformation
<JonnieCache>
it kind of flows from the turing stuff about computational equivalence as well
<clocKwize>
the only real way to do things is to not trust the client to do anything and give you the result..
<clocKwize>
I used to do a lot of game hacking and in that some game engines let the client work things out, then tell the server what had happened
icole has quit [Remote host closed the connection]
system30101 has joined #ruby
<clocKwize>
like F.E.A.R, you could tell the server a vehicle done a player 1000 damage
<clocKwize>
and they'd just die
<clocKwize>
Unreal Tournament used a replication model, it told the server when it moved etc and when it shot, it would do all the animations for what it thought happened, but the server would tell it what actually happened
<clocKwize>
therefore nothing like that is possible
anderse has quit [Read error: No route to host]
hmarr has quit [Quit: Computer has gone to sleep.]
anderse has joined #ruby
samuel02 has joined #ruby
apeiros_ has joined #ruby
hbpoison has joined #ruby
ExxKA has joined #ruby
grzywacz has quit [Ping timeout: 255 seconds]
zeade has quit [Ping timeout: 276 seconds]
aryasam has joined #ruby
browndawg has quit [Ping timeout: 276 seconds]
kaen has joined #ruby
DaZ- is now known as DaZ
ahdfe has joined #ruby
system30101 has left #ruby [#ruby]
geekbri has quit [Remote host closed the connection]
<ahdfe>
im doing StaffMember.where("staff_id = #{staff_id}").first and then i get a StaffMember(#57843400) expected, got Fixnum(#7835640) could anyone tell me what im doing wrong ?
DaZ is now known as Guest53556
<ahdfe>
using rubyonrails*
<apeiros_>
ahdfe: that's a very bad idea
<ahdfe>
alright why
<apeiros_>
do NOT interpolate in queries. you're creating a vulnerability there (google SQL injection)
emocakes has joined #ruby
<apeiros_>
you want where(staff_id: staff_id)
<ahdfe>
can i just type that?
<apeiros_>
this uses bind variables behind the scene. those are not vulnerable to injections.
<ahdfe>
staff_id: staff_id ?
<apeiros_>
yes
<apeiros_>
it's a shorter form of: where({:staff_id => staff_id})
<ahdfe>
do i have to type .first after it aswell?
<apeiros_>
yes
<apeiros_>
the problem you are having may be unrelated to all this, though
aryasam has quit [Ping timeout: 245 seconds]
<shevy>
so what should I use for ruby-GUI
<ahdfe>
im getting the same StaffMember(#56941180) expected, got Fixnum(#6830060) exception :(
<apeiros_>
I don't think the reason is the line of code you pasted
hbpoison has quit [Ping timeout: 256 seconds]
<ahdfe>
could it be because the variable staff_id is a string, and the db column is an integer ?
<apeiros_>
no
[eDu] has joined #ruby
deed02392 has quit [Read error: Connection reset by peer]
PanPan has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0.2/20130201065344]]
locriani_ has quit [Read error: No route to host]
<apeiros_>
you can try `StaffMember.where(staff_id: staff_id).first` in your rails console, and you'll see that it works
<apeiros_>
as said, I doubt that line is the reason for the error you get
locriani has joined #ruby
krislappy has quit [Remote host closed the connection]
krisfremen has joined #ruby
krisfremen has quit [Changing host]
krisfremen has joined #ruby
<joonty>
ahdfe: if you want to write sql like that, you would do StaffMember.where(["staff_id = ?",staff_id])
chussenot has quit [Remote host closed the connection]
<joonty>
that isn't vunerable to sql injection
chussenot has joined #ruby
<joonty>
but the others are right, all you need is .where(staff_id: staff_id)
arya has joined #ruby
__class__ has quit [Ping timeout: 252 seconds]
<shevy>
Hanmac, go finish your libarchive thingy soon then work on your GUI bindings, I need a toolkit :(
<Hanmac>
do you mean my rwx or do you need my libarchive too ? :P
Nom- has quit [Quit: leaving]
pskosinski has joined #ruby
gyre007 has joined #ruby
<shevy>
well libarchive keeps you from rwx, so!!!
hmarr has joined #ruby
__class__ has joined #ruby
<Hanmac>
the main components in rwx like toolbar menu and buttons allready exist ... you could make a little list what wigdet you wish to get next
lkba has joined #ruby
<gyre007>
is there a way how I can load a gem which is not in Gemfile in rails console ?
<shevy>
Hanmac (1) button most important (2) an input area (where user can type something, how that widget looks or behaves is not so important, could be a full textarea, or just a small input-bar)
<JonnieCache>
gyre007: not without some dirty hacking
<gyre007>
basically I need to load a gem in rails console
<shevy>
or rather than "button", a widget that can respond to on-mouse-click events
<apeiros_>
gyre007: gem which yourgem, then add the lib to $LOAD_PATH and use normal require
<becom33>
hey shevy
<shevy>
or, if no mouse support, keyboard actions are fine too, like if on-keyboard-press == 'enter' # enter key
<shevy>
hey old becom33
<gyre007>
apeiros_: so I'll install it, add it to LOAD_PATH and user require...
<Hanmac>
shevy button is allready possible, textCtrl should be there too (that i need to look) ... generic widget with :mouse_left_click works too ... i only need to document them more
lurch_ has quit [Read error: Connection reset by peer]
Al____ has quit [Client Quit]
<becom33>
joonty, no
<shevy>
ignore the docu, just add working examples :D
<becom33>
I get results for 100
<shevy>
then people could figure out things for themselves, and help you with docu ;P
<joonty>
ah ok
<Hanmac>
becom33 you get result for 1000 too, but 10000 is to high
<becom33>
Hanmac, yes
<becom33>
thats the problem
angusiguess has joined #ruby
<becom33>
how can I fix this ?
zeade has joined #ruby
<becom33>
there has be some way the stack can be clean while the loop is on
<becom33>
can't we use pop in ruby to remove values from stack
<Hanmac>
huch no, i can get 10000 working ... oO
system30101 has joined #ruby
<becom33>
Hanmac, ok
Al__ has quit [Ping timeout: 248 seconds]
<Hanmac>
it works when you add it in steps ...
<becom33>
hmmm steps as in
<becom33>
?
Elhu has joined #ruby
<Hanmac>
i mean if 10000 does not work, try 7500 and THEN 10000
guns has quit [Ping timeout: 248 seconds]
Al__ has joined #ruby
baphled has joined #ruby
<becom33>
hmm
martinklepsch has joined #ruby
anderse_ has joined #ruby
<workmad3>
becom33: ah, the fibonacci hash
<becom33>
Hanmac, I don't think that will work
<workmad3>
becom33: I found my machine could cope with steps of about 2000
<becom33>
workmad3, yesh
<workmad3>
becom33: and it does work, as the hash memoizes the results
invariant has joined #ruby
Konboi has quit [Remote host closed the connection]
<becom33>
workmad3, could u help me with code ?
<becom33>
mine goes too stack too deep
qpf has joined #ruby
anderse has quit [Read error: Connection reset by peer]
anderse_ is now known as anderse
<workmad3>
becom33: just do fibonacci[1000], then fibonacci[2000], all the way up to fibonacci[10000]
<invariant>
Are there any plans to fix the gems system? (If you don't understand what I mean by this, please do not even think of replying)
<workmad3>
invariant: as in the signing/trust issues?
<invariant>
workmad3, bingo
<workmad3>
invariant: there's various proposals under discussion on github.com/rubygems-trust and the #rubygems-trust IRC channel
<Hanmac>
invariant only trust self written stuff :P
<invariant>
My proposal would be to completely eliminate Gems.
buscon has joined #ruby
anderse_ has joined #ruby
<invariant>
I don't think anyone is going to agree save for some enlighteneded individuals.
<invariant>
enlightened even
<workmad3>
invariant: seems a bit 'throw the baby out with the bathwater'
Al__ has quit [Ping timeout: 244 seconds]
<invariant>
workmad3, no, the thing is that there is no baby.
thufir_ has quit [Quit: Leaving.]
havenwood has quit [Ping timeout: 252 seconds]
<invariant>
workmad3, Nix solves all of this much better.
nfk has joined #ruby
<invariant>
workmad3, ruby gems only has a fancy website.
<invariant>
workmad3, there is no substance.
anderse has quit [Ping timeout: 244 seconds]
anderse_ is now known as anderse
<invariant>
The continued existence of Ruby gems, Perl's CPAN, Pythons' pip, Haskell's cabal, etc. only shows how many people are completely ignorant.
<workmad3>
invariant: not sure I agree, but I'm also not particularly interested in getting into this sort of discussion
<invariant>
workmad3, I am also not interested in the discussion, because I already know I am right.
<shevy>
invariant cool that you didn't mention distribution-specific solutions. what about apt-get/dpkg ?
<invariant>
shevy, all of those are flawed too.
<shevy>
ok where is the world solution then :D
<invariant>
shevy, nixos.org and more specifically the nix package manager.
nfk has quit [Remote host closed the connection]
<invariant>
The only reason the others still exist is ignorance and momentum.
<shevy>
as far as I know nixos uses stuff like 35789723589789235789235 for directory names
<invariant>
shevy, how is this relevant?
<apeiros_>
invariant: so back to manual dependency resolution?
<shevy>
invariant as a user I do not want to have an obfuscated shit
<apeiros_>
back to non-self-contained apps (bundler depends on gems)
<shevy>
invariant I stick to the gobolinux scheme, thank you very much
<apeiros_>
sounds like a stupid move IMO.
<invariant>
apeiros_, it would help if you would know what you were talking about.
<invariant>
shevy, obfuscated?
<shevy>
yes
<apeiros_>
invariant: lol
<invariant>
shevy, you can list all the packages.
<apeiros_>
invariant: then tell me how do you dependencies without gems or package managers
<apeiros_>
curious…
zeade has quit [Ping timeout: 255 seconds]
<shevy>
invariant yes but I must use a nix-os specific pseudo language
<invariant>
shevy, you can show for every package where it came from.
<shevy>
that is no improvement
<shevy>
you replaced one package manager with another one
<invariant>
shevy, it's not about the language.
<invariant>
shevy, it's about the semantics.
adeponte has joined #ruby
<shevy>
with appdirs you do not have to use any specific package manager on the filesystem layout
<invariant>
shevy, you can put your own shitty Ruby DSL on top of it if you you want.
<shevy>
lol
zerba has joined #ruby
<shevy>
invariant please stop discrediting nixos
<invariant>
shevy, what?
<shevy>
they have a lot of good ideas, just a shitty solution on the base FS
<invariant>
shevy, it's not a shitty solution.
<ohcibi>
free troll-food around? 8-)
<shevy>
freedom is achieved when no boundaries exist anymore
<workmad3>
yay, package manager religious war
<apeiros_>
indeed
<workmad3>
exactly why I couldn't be bothered to engage
<invariant>
shevy, anyway, I shouldn't expect any of you to understand.
<shevy>
invariant you are not arguing :)
<apeiros_>
his sole argument seems to be that he's super intelligent and all who don't see "the light" are just stupid
<invariant>
shevy, you aren't.
<apeiros_>
awesome argument :)
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
Targen has quit [Ping timeout: 252 seconds]
<shevy>
invariant oh, I dont recommend any package manager at all. I say the perfect solution would be to abolish them all, not to use one over the other
<invariant>
shevy, so, slackware?
<workmad3>
apeiros_: yeah, don't you just love it when someone hands you down the 'obvious' 'right way' from on high and then insults your intelligence when you don't immediately bite their hand off to get a hold of it?
<shevy>
invariant since when does slackware use appdirs? so of course no
carraroj has quit [Quit: Konversation terminated!]
<workmad3>
apeiros_: it's such an awesome tactic for arguments, I don't know why we don't do it more
carraroj has joined #ruby
<apeiros_>
workmad3: I'm usually at the other end of this, which is why I totally hate that argument :D
<ohcibi>
workmad3: we do, its called religion
<apeiros_>
/self-irony
<shevy>
:D
<invariant>
shevy, I thought your gobolinux thing was a joke.
<workmad3>
:)
<apeiros_>
ohcibi: also dogma
Astralum has joined #ruby
<invariant>
shevy, in particular because nobody maintains it anymore.
nfk has joined #ruby
<shevy>
invariant it died when the main devs were no longer students
<shevy>
invariant now tell me how this is relevant :)
<workmad3>
apeiros_: make your arguments more awesome-er... use religious dogma!
<invariant>
shevy, not really.
adeponte has quit [Ping timeout: 260 seconds]
<apeiros_>
workmad3: BY QUESTIONING WHAT I SAY YOU ONLY SHOW YOUR IGNORANCE!!!!!!1!
<invariant>
shevy, nix solves all kinds of trust issues too.
<shevy>
invariant why are you not on #nixos ?
<shevy>
invariant lol
<ohcibi>
yo dawg! we hear you like dogmas, so we put a dogma onto your dogma
<shevy>
you recommend building one prison, then tell people that your prison is the best and unbreakable invariant? why are you such a troll?
<invariant>
shevy, nix just has no fancy GUI currently.
<ohcibi>
workmad3: i'll see how far I can take it 8-)
<workmad3>
:)
<shevy>
invariant the same problem why gobolinux and all the others will always fail - you build up a really good model, that works very well within your respective niche, but there are tiny problems here and there, and most people will inevitably flock to what works (TM)
<shevy>
(all the other smaller ideas)
<invariant>
shevy, all my objections with nix can be solved for 1M$.
<shevy>
lol
<workmad3>
ohcibi: just wanted it down that, although I like the film, I in no way recognise it as 'good' ;)
qpf has quit [Remote host closed the connection]
<invariant>
shevy, that's a tiny amount of money in the grand scheme of things.
ForSpareParts has joined #ruby
<shevy>
invariant now even you have to admit unabashedly that you are trolling ;)
<shevy>
haha :D
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
<shevy>
made my day
<invariant>
shevy, in contrast, no amount of money can fix dpkg/rpm/etc.
<invariant>
In fact, those systems are designed to keep system administrators busy.
<shevy>
1M$ for perfection is but a little price
<workmad3>
monocultures ftw!!!
<shevy>
invariant dpkg/rpm work perfectly well for these distributions
<shevy>
and they will never be interested in cabal/gem etc...
beiter has joined #ruby
<shevy>
there will never be a solution to this
grzywacz has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
* workmad3
wonders when someone will notice that he just promoted multiple monocultures
taoru has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
<invariant>
workmad3, there is nothing wrong with that statement.
<shevy>
years ago I remember a python project of medium size complaining about how debian splits up their project into sub-components
<invariant>
workmad3, you can have multiple monocultures in different domains.
<Hanmac>
invariant does the nix package manager support multiarch packages too?
Goles has joined #ruby
ForSpareParts_ has quit [Ping timeout: 244 seconds]
<wildcard0>
all my objections to linux will also be solved with $1m. give me $1m and i'll use linux and stop complaining
<apeiros_>
workmad3: what, you don't believe in "the one true way"?
<apeiros_>
must be why you use ruby and not python…
<workmad3>
apeiros_: I believe in *my* one true way
<invariant>
Hanmac, you can generate 20 distribution packages out of one nix package too, so I would guess yes.
<workmad3>
apeiros_: but I leave you with your one true way ;)
carraroj has joined #ruby
<shevy>
I want to change apeiros_ one true way
<invariant>
Hanmac, you have to understand that only a bunch of amateurs designed dpkg/rpm, etc.
<shevy>
ever since he started with rails, he changed ... even got sick because of rails, staying in bed ... :(
Chinorro has quit [Read error: Connection reset by peer]
<invariant>
Hanmac, Nix was designed by research.
<shevy>
invariant why are you banned from #nixos btw?
<joonty>
can anyone else smell... smug?
<invariant>
shevy, I am not.
<shevy>
I mean it's quite obvious ... yeah ;)
<Hanmac>
shevy because he was spamming to much?
<workmad3>
joonty: I forgot to install my 'irc-smell' extension
<shevy>
Hanmac yeah, I think his core mission is to attempt to discredit projects
<joonty>
workmad3: wish I had
<invariant>
joonty, I can smell ignorance from a billion miles away.
<joonty>
invariant: that means you're on a different planet
<invariant>
joonty, no, it doesn't.
<joonty>
invariant: joke
<shevy>
:)
<joonty>
normal procedure is to laugh and not take it seriously
<melty>
lol
<joonty>
soooo
<joonty>
ruby?
<workmad3>
haha
<Hanmac>
invariant: show me that i can install multible architectures with nix and run them simulany ... i mean something like amd64 and i386-32bit programms at the same time
<invariant>
joonty, a joke is only funny when it is unexpected.
* workmad3
doesn't take it seriously
arya has quit [Read error: Connection reset by peer]
becom33 has quit [Ping timeout: 276 seconds]
<invariant>
Hanmac, you can already do that.,
<shevy>
how
<invariant>
Hanmac, nix-env -i wine for example.
<invariant>
Hanmac, I think that gets you 32 bits wine.
<shevy>
which architecture would that install
<Hanmac>
invariant no you dont understand, it is possible without wine
<invariant>
Hanmac, no, you don't understand.
becom33 has joined #ruby
becom33 has quit [Changing host]
becom33 has joined #ruby
<workmad3>
woo! no one understands!!!
<invariant>
Hanmac, wine is an example of a 32 bits program.
<workmad3>
now we've established that, can we all just shut up?
<joonty>
workmad3: good idea
<invariant>
workmad3, I maintain that I am still the only one that does understand, but otherwise, splendid idea!
<joonty>
let's all just agree that php PEAR is the best package manager
<shevy>
invariant aha and the wine flag --enable-win64 is used for what?
fir_ed has quit [Ping timeout: 248 seconds]
<workmad3>
joonty: CPAN for life!!!
<havenn_>
FreeBSD Ports
<joonty>
hehe
beiter has quit [Quit: beiter]
<shevy>
rubygems will overtake cpan one day
<becom33>
still stuck with fibonacci
<becom33>
can anyone help ?
<workmad3>
shevy: not once I've started pushing my gems into CPAN...
<invariant>
shevy, fine, so by default it doesn't do that.
* workmad3
may be trolling now
<invariant>
shevy, still, irrelevant to the general system.
<invariant>
shevy, because you can build 32 bits wine if you want./
<shevy>
workmad3 hmm I dont know the count, but I think some years ago rubygems was not far away from cpan
<apeiros_>
shevy: I think "number of packages" is a worthless measure
<workmad3>
shevy: well, me pushing all my gems to CPAN will help... that'll boost the count by a whole... 0
<Muz>
Does rubygems have checksumming implemented yet? ¬_¬
samphippen has joined #ruby
<apeiros_>
well, maybe not worthless. but on its own, not very telling
icole has joined #ruby
carraroj has quit [Remote host closed the connection]
<joonty>
workmad3: let's start #ruby2
<apeiros_>
Muz: afaik it has had package signing for a couple of years already
<apeiros_>
just not mandatory
<invariant>
Perl CPAN is so full of garbage that it's impossible to find anything of value there.
<Xeago>
invariant: I disagree
<invariant>
You have meta systems to find the supposed gems there..
<havenn_>
Muz: -P HighSecurity
<Muz>
apeiros_: checksumming the download, not signing the binary :p
<joonty>
oh God not again
<shevy>
invariant people said that about "junk DNA" too, then they found out that it wasn't junk at all
<apeiros_>
Muz: um, that's the point of signing…
<Muz>
Although I suppose signing the binaries would lead towards solving the same thing.
<apeiros_>
that after you've downloaded, you can check the package
<invariant>
shevy, wow, talking about bad arguments!
hbpoison has joined #ruby
<Muz>
apeiros_: it's a heavyweight solution to a lightweight problem. Depending on what you're defining as the scopeof the problem.
<Muz>
Therein lies the problem though, there's nothing mandatory.
<invariant>
Xeago, tell me something which is not text related which is a great Perl library.
havenn_ is now known as havenwood
<apeiros_>
Muz: checksumming is a worthless solution to that problem
<invariant>
Xeago, it needs to do something published in a scientific paper not being cryptography.
tish has quit [Quit: Leaving.]
<Muz>
apeiros_: not if you want to check for network faults in the download.
<invariant>
Xeago, that is, it has to be non-trivial.
<Xeago>
not directly text related, but it deals with elasticsearch which is text related, clintongormleys es library
angusiguess has joined #ruby
<shevy>
invariant you know that there are lot of junk papers in "scientific paper" format?
<apeiros_>
Muz: you're reinventing things the network already takes care of
<Xeago>
and the related other packages for that
<invariant>
shevy, yeah, about 99%.
<invariant>
shevy, perhaps a lot more.
carraroj has joined #ruby
Al__ has joined #ruby
<Muz>
apeiros_: oh so that commonly followed practice of supplying CRCs is worthless. Okay.
rafaelcaricio has joined #ruby
<invariant>
shevy, it mostly depends on the person who wrote it whether or not it is useful.
<Xeago>
Muz: crc is a worthless message authentication scheme
<apeiros_>
Muz: yes
<invariant>
shevy, in my experience 99.9% of scientists have no business doing research.
<apeiros_>
if it is for package corruption checking, then it's just worthless weight
<Muz>
It's not supposed t be used for authentication, you're both thinking beyond the scope of what I'm describing.
<apeiros_>
if it's for package authentication, then it's a pointless and insecure measure
<Xeago>
crc is useless for everything because it can be extended
<Xeago>
it is completely trivial to alter a blob to match your crc
<shevy>
when I read blob I suddenly get hungry...
<Muz>
I reiterate my point about defining scope. Signing packages solves the problem beyond the level of network/storage level errors.
<Xeago>
use modern techniques (never use primitives like crc directly) based on modern primitives
<invariant>
Xeago, so, a system which is built on other systems in which Perl is used for nothing but glue is your example of a great Perl library?
icole has quit [Ping timeout: 256 seconds]
<invariant>
Xeago, that kind of proves my point, doesn't it?
<Xeago>
it is a great perl library nonetheless
<Xeago>
it is one I use
<Xeago>
imo it is better than AR and all that has
<shevy>
invariant what is "non glue" exactly?
<shevy>
invariant C?
<Xeago>
c is glue between user and machine
<Xeago>
:)
<Xeago>
or machine and machine
ahdfe has quit [Quit: Page closed]
poikon has joined #ruby
<Xeago>
depending on context
<shevy>
Xeago we want for invariant to fall into this hole ;P
grzywacz has quit [Remote host closed the connection]
<Xeago>
damnit!
<invariant>
shevy, implementing an actual algorithm that creates information out of data in an optimal fashion.
<shevy>
invariant I wonder why you don't love haskell, you talk like a mathematician
zeade has joined #ruby
<Xeago>
invariant: what about cluster discovery?
<invariant>
shevy, what makes you think I don't?
eldariof has quit [Ping timeout: 260 seconds]
<shevy>
invariant you hate cabal
angusiguess has quit [Ping timeout: 244 seconds]
<invariant>
shevy, yes, I do.
<Xeago>
that part is completely unrelated to elasticsearch, and works on raw data
<shevy>
invariant and nixos doesn't use haskell :(
<apeiros_>
Muz: checksumming a gem is just duplicating already present knowledge
<invariant>
shevy, C++ is more portable.
<shevy>
hehe
<Xeago>
invariant: I refuse
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
<invariant>
Xeago, what kind of clusters?
<Xeago>
any kind of cluster that can deliver cluster information
<havenwood>
mruby's mgem is interesting - just tried it out today
<JonnieCache>
there was a link to fox yesterday saying "prime numbers arent acutally important or useful" or something
<invariant>
JonnieCache, Fox is actually a comedy channel.
kofno has quit [Remote host closed the connection]
<shevy>
Hanmac you cant blame them, people who watch foxnews want to be treated like idiots, noone is forcing them to watch any TV at all
<Hanmac>
banister around 0°C with a bit snowing
johnpcamara has joined #ruby
<Hanmac>
shevy you mean not yet
kofno has joined #ruby
<hoelzro>
does anyone here have experience with the pdf-reader gem? I'd like to get a document's table of contents, but I can't seem to find anything in the docs
<apeiros_>
shevy: it's a self-reinforcing thing, though
<apeiros_>
idiots watch fox-news and get more stupid in the process…
carraroj has quit [Quit: Konversation terminated!]
Goles has joined #ruby
Adys has quit [Ping timeout: 272 seconds]
nfk has joined #ruby
v0n has joined #ruby
carraroj has joined #ruby
robustus has joined #ruby
m8 has quit [Read error: Connection reset by peer]
nfk has quit [Remote host closed the connection]
m8 has joined #ruby
Al__ has quit [Quit: Al__]
nfk has joined #ruby
mark_locklear has joined #ruby
banister`gone has quit [Remote host closed the connection]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
subbyyy has joined #ruby
browndawg has joined #ruby
banister`gone has joined #ruby
nfk has quit [Remote host closed the connection]
Al__ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
banister`gone has quit [Read error: Connection reset by peer]
banister`gone has joined #ruby
nfk has joined #ruby
angusiguess has joined #ruby
berserkr has quit [Quit: Leaving.]
tommyvyo has joined #ruby
noop has quit [Remote host closed the connection]
jokke has quit [Quit: WeeChat 0.4.0]
jokke has joined #ruby
zommi has quit [Quit: Leaving.]
manifold has joined #ruby
zeade has joined #ruby
hmarr has quit [Quit: Computer has gone to sleep.]
araujo has quit [Ping timeout: 276 seconds]
atyz has joined #ruby
<manifold>
Array.new(5, []) creates an array of 5 copies of the same array. I want them to be different. I know I can assign array = [] and the write 5.times { array << [].dup } but is there a better way to do this?
beiter has joined #ruby
etank has joined #ruby
<banister`gone>
manifold: Array.new(5) { [] }
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
Gajanan has quit [Quit: Leaving.]
x0F_ is now known as x0F
rmartin has joined #ruby
<apeiros_>
banister`gone: hey bani
<banister`gone>
sup'
<apeiros_>
it seems pry (maybe due to pry-rails) automatically enforces Bundler.setup
<apeiros_>
and I found no way to circumvent that
<apeiros_>
any idea?
Stilo has joined #ruby
<apeiros_>
I mean it's ok as a default behavior, but it'd be nice if it could be disabled…
<banister`gone>
apeiros_: what plugins do u have installed? i dont get that behaviour
<apeiros_>
only pry-rails and pry-doc
Gajanan has joined #ruby
<banister`gone>
weird, never heard of that before. Can you file an issue? https://github.com/pry/pry/issues maybe with a showterm attached or some info on your setup
araujo has joined #ruby
haxrbyte has joined #ruby
becom33 has quit [Ping timeout: 248 seconds]
krawchyk has joined #ruby
<apeiros_>
can do, but probably rather after my holidays
ner0x has joined #ruby
<ogamita>
So, I'm trying to load cucumber-1.2.1 on ruby-1.9.3-p362, and it fails with /Users/pbourguignon/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/shared_helpers.rb:22:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound) ; googling about it is not conclusive unfortunately. I tried to gem install Gemfiler but still the same result here. What else could I do?
pu22l3r_ has quit [Remote host closed the connection]
<ogamita>
bundler is used by Gherkin which is used by Cucumber, so I can't remove it either.
pu22l3r has joined #ruby
<ogamita>
shared_helpers.rb:22 is funny, because it raises unconditionnaly between two expressions. It's as if it expected to be overriden in a subclass.
<ogamita>
Ah, no, there's an unless gemfile, sorry.
jamescarr has joined #ruby
gyre007 has joined #ruby
<ogamita>
There's a /Users/pbourguignon/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/bundler.gemspec, so why can't it find it?
v0n has quit [Read error: Operation timed out]
gyre007 has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
gyre007 has joined #ruby
<ogamita>
With export BUNDLE_GEMFILE=/Users/pbourguignon/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/bundler.gemspec it passes that hurdle.
pu22l3r has quit [Ping timeout: 276 seconds]
banister`gone is now known as banisterfiend
zeade has quit [Ping timeout: 246 seconds]
Lubinski has joined #ruby
Lubinski has quit [Changing host]
Lubinski has joined #ruby
Al__ has quit [Quit: Al__]
Nom- has joined #ruby
Al__ has joined #ruby
jamescarr has quit [Quit: jamescarr]
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
chussenot has joined #ruby
arya has quit [Ping timeout: 276 seconds]
atmosx has joined #ruby
jokke is now known as klugscheisser
atmosx has quit [Client Quit]
klugscheisser is now known as jokke
arya has joined #ruby
naveko has quit [Quit: naveko]
hybris has joined #ruby
rippa has joined #ruby
lolmaus has joined #ruby
wallerdev has joined #ruby
pavilionXP has joined #ruby
_JamieD_ has joined #ruby
judesamp has joined #ruby
judesamp has quit [Client Quit]
subbyyy has quit [Ping timeout: 252 seconds]
fmcgeough has joined #ruby
codecop has quit [Quit: Išeinu]
hbpoison has quit [Ping timeout: 245 seconds]
Pimpollo has joined #ruby
Tomaz has joined #ruby
Tomaz is now known as HardFu
Adys has joined #ruby
<HardFu>
def self.to(method, *args); method(*args); end why does this give me a type error if I pass an instance variable
Criztian has joined #ruby
<HardFu>
I'm basically just delegating to parent class
<Pimpollo>
The best jerkoffs? JizzDay
Pimpollo has quit [Killed (idoru (Spam is off topic on freenode.))]
kojul has quit [Quit: kojul]
mando has joined #ruby
anoldhacker has joined #ruby
ananthakumaran has joined #ruby
kpshek has joined #ruby
m8 has quit [Quit: Sto andando via]
baphled has joined #ruby
<anoldhacker>
I spend yesterday evening pondering the security implications of YAML. Can't say I slept really well. Any idea why we don't run with $SAFE=1 most (if not all) of the time?
fourq has joined #ruby
danielpcox has joined #ruby
heftig has joined #ruby
jprovazn has quit [Quit: Leaving]
zeade has joined #ruby
jfl0wers has joined #ruby
<Hanmac>
HardFu ... show me your entire code ... you cant use the method parameter directly with ()
mengu has joined #ruby
<HardFu>
Hanmac: solved it thanx :)
Teduardo has quit []
<Hanmac>
anoldhacker because rails guys are lazy?
<anoldhacker>
No, the YAML guys are.
rippa has quit [Ping timeout: 240 seconds]
<Hanmac>
ask the rails guys why they not run with $SAFE=1
mmitchell has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
yacks has joined #ruby
jon_wingfield has joined #ruby
iPhoneMRZ has joined #ruby
openstandards has quit [Ping timeout: 248 seconds]
iPhoneMRZ has quit [Client Quit]
<anoldhacker>
I can do that, but all the non-rails guys that run YAML have the same problem.
a_a_g1 has quit [Quit: Leaving.]
lessless has joined #ruby
Jackneill has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
anonymuse has joined #ruby
zykes- has quit [Ping timeout: 245 seconds]
Tomasso has joined #ruby
zykes- has joined #ruby
yshh has joined #ruby
therod has joined #ruby
enroxorz-work has joined #ruby
spacebug has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
spacebug_ has quit [Quit: leaving]
spacebug has joined #ruby
SeanLazer has joined #ruby
zeade has quit [Ping timeout: 276 seconds]
naveko has joined #ruby
<naveko>
hi everybody
mercwithamouth has quit [Ping timeout: 260 seconds]
<naveko>
I have to edit a Gemfile for an install, but how do I know which one I need?
<naveko>
I want to install mysql2
yshh_ has joined #ruby
solidoodlesuppor has joined #ruby
r126l has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby
Gajanan has quit [Quit: Leaving.]
Spooner has joined #ruby
yshh has quit [Ping timeout: 264 seconds]
punk_ has joined #ruby
grzywacz has quit [Ping timeout: 248 seconds]
punk_ has quit [Client Quit]
sayan has quit [Read error: Connection reset by peer]
slainer68 has quit [Remote host closed the connection]
dmiller has joined #ruby
hmarr has joined #ruby
ffranz_afk has quit [Quit: Leaving]
Jackneill has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
<Hanmac>
naveko and where is the problem?
wallerdev has joined #ruby
tcstar has quit [Ping timeout: 245 seconds]
<naveko>
Hanmac: did gem install mysql2
<naveko>
but I get 'Please install the mysql2 adapter'
mengu has quit [Quit: Konversation terminated!]
<naveko>
I read somewhere I should edit the Gemfile
interactionjaxsn has joined #ruby
<Hanmac>
ah its a fails ... i mean rails problem :P
<naveko>
but I don't know anything about this material
interactionjaxsn has quit [Remote host closed the connection]
zomgbie has joined #ruby
<naveko>
I searched for Gemfile on my computer, but there are quite a lot
<naveko>
Hanmac: any idea how I can solve this?
pothibo has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
grzywacz has joined #ruby
r126l has joined #ruby
<Hanmac>
naveko ... you are using activerecord right?
<naveko>
Hanmac: not that I know of
Niamkik_ is now known as Niamkik
hmarr has quit [Ping timeout: 276 seconds]
jtharris has joined #ruby
<naveko>
Hanmac: I bought a computer the day before yesterday, installed Debian on it and now I am trying to install GitLab
TomJ has quit [Read error: Connection reset by peer]
<shevy>
puts "hello world".red.bold
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
* apeiros_
doesn't like using methods for that
<shevy>
yeah I can understand you very well :)
<apeiros_>
makes it harder to move the strings out of your code
<shevy>
yup, 100% agreed
jprovazn has joined #ruby
<apeiros_>
I used %{fg,bg,*flags} a few years ago
<shevy>
hmm
aaronmcadam has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
<apeiros_>
today I'd probably use something else due to ruby's sprintf using %{} already
aquaranto has joined #ruby
manifold has quit [Quit: Leaving]
v0n has joined #ruby
sayan has quit [Read error: Connection reset by peer]
eindoofus has joined #ruby
<Spooner>
shevy, Why not use html markup for it? Or markdown?
<Spooner>
These things exist quite well already ;)
ckrailo has joined #ruby
jprovazn has quit [Read error: Operation timed out]
jamescarr has joined #ruby
<eindoofus>
hi, I'm come from the world of C# and Java, and maybe it's just my lack of understanding in general but aren't global and instance variables the same? I'm going through a tutorial and it appears that they use different symbols in Ruby. What's the difference between the two?
<otters>
one of them is instance specific
<otters>
one is everywhere
jerius has joined #ruby
ewilliam has joined #ruby
<eindoofus>
the "everywhere one", isn't that just a class variable?
<Spooner>
And, with your original system, it would be a lot cleaner to use parens: "fancy(hello) important(hi)"
jrajav has joined #ruby
PanPan has joined #ruby
milestone has left #ruby [#ruby]
catphish has joined #ruby
<Spooner>
And then a simple: gsub(/fancy\((.*?)\)/, "startcode\1endcode")
<anoldhacker>
eindoofus: No. Class variables are (IMHO) kinda an embarrassment, and I really don't want to talk about them. Global variables are just that--variables that are accessable EVERYWHERE.
<catphish>
what is the correct method to encode a string to go in a URL query?
<eindoofus>
Is a "global variable" the equivalent "public int varName" and "instance variables" the equivalent of "private int varName" in Java?
<banisterfiend>
eindoofus: no
<banisterfiend>
eindoofus: global variable is accessible anywhere in your program, from any object
zomgbie has quit [Read error: No route to host]
cawaker has joined #ruby
<banisterfiend>
afaik "public in varName" is just a public ivar for a given object
zomgbie has joined #ruby
moted has quit [Ping timeout: 245 seconds]
_nitti has joined #ruby
<eindoofus>
I thought it's accessible through other objects, but you have to have a reference to the variable with that public ivar
zeade has quit [Ping timeout: 244 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
<eindoofus>
do you have to create an instance in order to use a global or instance variable in Ruby?>
Lubinski has quit [Quit: Leaving]
pu22l3r has joined #ruby
clocKwize has quit [Quit: clocKwize]
<catphish>
the word global makes that question make no sense
jpfuentes2 has joined #ruby
<Spooner>
shevy, See how much simpler my encoding is than yours? Pays to ask about what you want to achieve (colour encoding) not how to implement something tat isn't necessarily the best way.
<eindoofus>
do you have to create an instance in order to use a instance variable in Ruby?
<eindoofus>
minus the "global" part
<Spooner>
eindoofus, Yes. A class variable is like a java static.
beliveyourdream has quit [Read error: Connection reset by peer]
<catphish>
eindoofus: yes, an instance variable is a variable that belongs to an instance
<catphish>
without an instance it doesn't exist
<Spooner>
eindoofus, Although we use class instance variables now, not class variables (but they are both like statics).
breakingthings has joined #ruby
Udom0 has left #ruby [#ruby]
radic has quit [Ping timeout: 248 seconds]
<eindoofus>
Thanks :)
<catphish>
eindoofus: be aware that you may have an instance of some things without realizing it
<catphish>
for example, if you run IRB, you can do @variable = 'value'
<catphish>
you are creating an instance variable in an instance of Object called 'main'
<catphish>
that's an instance that's just always there
<eindoofus>
oh
<catphish>
in the root of the app
pu22l3r has quit [Ping timeout: 264 seconds]
jpfuentes2 has quit [Client Quit]
<catphish>
eindoofus: also you shouldn't do that!
<eindoofus>
lol
lolmaus has quit [Ping timeout: 255 seconds]
<catphish>
if you want to create a global variable, use $variable
<eindoofus>
Now with global variables, is that seen by all instances of any type of class? And where can you declare them?
<catphish>
you can use then ANYWHERE
<catphish>
that's what makes the global
<catphish>
*them
elux has joined #ruby
<eindoofus>
can you declare them anywhere as well?
<catphish>
yes
pu22l3r has joined #ruby
<catphish>
most people will avoid using them unless they have a very special reason
<apeiros_>
AAAHAHAHAHA
[eDu] has quit [Quit: [eDu]]
<eindoofus>
Is there anything such as namespaces in Ruby?
<Spooner>
eindoofus, If you lived without them in Java, then just don't use them in Ruby either and you'll be fine.
<apeiros_>
`i18n ref-diff git-test-before git-test-after` prints now a nice list of all changed keys, added keys, removed keys and moved keys
johnpcamara has quit [Quit: johnpcamara]
<catphish>
eindoofus: ruby has modules which are used to namespace things
Jackneill has quit [Read error: Connection reset by peer]
<catphish>
not so much variables though
<Spooner>
eindoofus, A module can be used as a namespace. module M; class C; end; end - you can create an instance with M::C.new
dhruvasagar has quit [Ping timeout: 255 seconds]
<catphish>
i've almost never needed a global variable, i certainly wouldn't namespace one
<eindoofus>
Does Ruby allow for the threading of objects and synchronous blocks?
<catphish>
i don't know what threading an object would mean
rh1n0 has joined #ruby
shock_one has joined #ruby
main has quit [Ping timeout: 245 seconds]
<eindoofus>
If it has a particular task to do, you create an object, throw it into its own thread, and run it's run method
otters has quit [Quit: WeeChat 0.3.9.2]
<catphish>
ruby has threads, but they're not related to objects
<Spooner>
eindoofus, Not like that, but Thread.new { do stuff }
<catphish>
you would simple make a thread and call the method in the thread
NiteRain has joined #ruby
<catphish>
Thread.new{object.run}
<Xeago>
you can technically derive from Thread, to make an object autonomous
<Xeago>
which is what I think he wants to do
<catphish>
i suppose you could, but please don't
rh1n0 has quit [Client Quit]
<Xeago>
LongAsyncTask lat = new LAT(options); lat.run
baphled has quit [Ping timeout: 276 seconds]
<eindoofus>
Would the "object" in Thread.new{object.run} have an object lock?
bawigga has joined #ruby
radic has joined #ruby
<catphish>
eindoofus: only if you lock it
<catphish>
the run method could lock itself using Mutex
<Xeago>
eindoofus: you should learn more about how ruby works before attempting threading imo
sayan has joined #ruby
cha1tanya has quit [Quit: Leaving]
<catphish>
eindoofus: please google ruby threads and ruby mutex
<eindoofus>
Xeago, good point
Jackneill has joined #ruby
_jc has joined #ruby
<eindoofus>
Xeago, It's nice to know that Ruby supports that stuff though
jpfuentes2 has joined #ruby
Al____ has joined #ruby
<eindoofus>
Anyway, thank you guys for your help. Time for me to get back to this tutorial.
nomenkun_ has quit [Remote host closed the connection]
<Spooner>
eindoofus, And there are plenty of nicer ways than Thread to manage concurrency (e.g. Parallel).
<catphish>
good luck
<eindoofus>
thanks :)
<catphish>
i would always manage my threads myself
<Xeago>
eindoofus: it probably doesn't support it the way you want it
<catphish>
but whatever floats your boat
<Xeago>
catphish: how about interleaving tasks on a low amount of threads?
<Xeago>
have fun writing code :)
dallasm has joined #ruby
<catphish>
Xeago: that sounds easy
__BigO__ has joined #ruby
<catphish>
just pop the tasks off a shared array
<catphish>
when the thread is ready to run one
carloslopes has quit [Remote host closed the connection]
<Xeago>
a task might need to be run on multiple threads, making sure a thread only gets popped once is difficult aswell
Al____ has quit [Client Quit]
<Xeago>
trivially difficult, but still difficult
<Xeago>
my classmates get it wrong all the time ;)
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
<catphish>
i'm not at school, i'm a professional ruby developer :)
Al__ has quit [Ping timeout: 248 seconds]
<Spooner>
catphish, There is a Queue object for that ;) But still, it is unnecessary complexity. We use Ruby because we realise we don't have to manage everything at anything but the highest level ;)
mando has joined #ruby
<Spooner>
(unless we need to, and 99% of the time we don't need to).
<catphish>
i find "Tasks.outstanding.shift.execute" to be extremely effective
<Xeago>
lets say some system, or set of system, belong to a set of complex tasks
<catphish>
if a task need to run on 2 threads then that's a different matter!
<Xeago>
studying those systems and tasks don't make it less complex, but it still makes it easier
pu22l3r has quit [Remote host closed the connection]
carloslopes has joined #ruby
hadees has quit [Read error: Connection reset by peer]
bawigga has quit [Quit: Computer has gone to sleep.]
zeade has joined #ruby
hadees has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
chrisnicola has joined #ruby
asdfqwer has joined #ruby
the_mentat has joined #ruby
Chinorro has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
SCommette has joined #ruby
abcdefg_ has joined #ruby
beiter has quit [Quit: beiter]
billy_ran_away has quit [Read error: Operation timed out]
Jackneill has quit [Ping timeout: 252 seconds]
manifold has joined #ruby
johnpcamara has joined #ruby
pavilionXP has quit [Read error: Operation timed out]
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
breakingthings has quit []
himsin has joined #ruby
interactionjaxsn has joined #ruby
phantasm66 has quit [Client Quit]
generalissimo has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
hmarr has quit [Ping timeout: 255 seconds]
slainer68 has joined #ruby
evenix has joined #ruby
zeade has quit [Ping timeout: 256 seconds]
Dreamer3 has joined #ruby
<manifold>
Is it possible to change output of inherited method but leave the side-effect? For example, I want to change output of push method from Array to true.
<Dreamer3>
bad idea
<Dreamer3>
since lots of code depends on the default behavior
<Dreamer3>
make your own array class
djwonk has quit []
zomgbie has joined #ruby
pavilionXP has joined #ruby
billiam has joined #ruby
<manifold>
I want to create new class that inherits from Array, but it is necessary to change the type of output from push class. I can redefine it, but maybe I don't need to.
<eindoofus>
In the tutorial I'm reading it says that double colons (::) are for class methods. But then in another blog I see class methods being used like instance methods with a period. Then only double color thing I see in the blog is ActiveRecord::Base#find which appears to use the ActiveRecord module->class Base->find class method (which is accessed using the pound symbol (#)). I'm so confused...
<shevy>
Spooner if I would use html markup, I'd have to use closing tags like </span> right?
<eindoofus>
The*
<eindoofus>
colon*
<shevy>
Spooner hmm let me think about the parens-solution
<banisterfiend>
eindoofus: only use :: for constants
<banisterfiend>
IMO
<banisterfiend>
use '.' for all methods, class or instance
tcstar has joined #ruby
<eindoofus>
thanks banisterfiend
<eindoofus>
and what about that pound symbol (#) ?
ahokaomaeha has joined #ruby
<banisterfiend>
eindoofus: that's just a comment
<banisterfiend>
but it's used for documentation purposes to mean "instance method", in particular unbound instance methods
mattbl has joined #ruby
<banisterfiend>
so, String#chomp
<shevy>
Spooner yeah, odd... that parens solution may be shorter ... strange :)
<manifold>
I'm going to redefine the method, but I have a problem. I want to call original 'push' inside new 'push'. Stack level goes too deep when I do this.
postmodern has quit [Quit: Leaving]
quest88 has joined #ruby
<hoelzro>
manifold: alias push to another method name
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Jackneill has quit [Remote host closed the connection]
zeade has joined #ruby
samuel02_ has quit [Remote host closed the connection]
oscardelben_ has joined #ruby
oscardelben has quit [Read error: Connection reset by peer]
oscardelben_ is now known as oscardelben
mattbl has quit [Quit: This computer has gone to sleep]
paradoja has quit [Ping timeout: 260 seconds]
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
chrishunt has quit [Quit: zZzZzZ...]
rdark has quit [Quit: leaving]
jamescarr has quit [Quit: jamescarr]
naveko has quit [Quit: naveko]
zeade has quit [Ping timeout: 252 seconds]
theRoUS has joined #ruby
razibog has quit [Ping timeout: 255 seconds]
joshman_ has joined #ruby
yshh_ has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
CamonZ has joined #ruby
CamonZ has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
<Spooner>
shevy Yeah, the HTML solution wasn't great. It was just one that was well-known. BBCode or Markdown or my off-the-top-of-my-head method were all better than the original one posited with #send ;)
Jackneill has joined #ruby
Jackneill has quit [Changing host]
Jackneill has joined #ruby
mattbl has joined #ruby
carloslopes has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<Spooner>
manifold, #alias_method does that.
yshh has joined #ruby
<manifold>
Spooner: doesn't work
chrishough has joined #ruby
<Spooner>
manifold, But I don't understand what that has to do with that problem.
runixo_ has joined #ruby
Al__ has joined #ruby
bradleyprice has joined #ruby
<Spooner>
manifold, You aren't supposed to call assert_equals yourself./
k610 has joined #ruby
Nowaker has left #ruby [#ruby]
hoelzro is now known as hoelzro|away
<manifold>
Spooner, it throws an error, because assert_equals is undefined
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<manifold>
Spooner, furthermore the first assertion is incorrect
<Spooner>
You are only implementing matrix_product. The tests are there for reference and will be run by rubeque.
alex__c2022 has joined #ruby
<manifold>
I know, but assert_equals is not defined, so it won't check properly my definition
<Spooner>
manifold, Oooh, I see now. That is dumb - the problem is broken.
alex__c2022 has quit [Remote host closed the connection]
runixo has quit [Ping timeout: 248 seconds]
alex__c2022 has joined #ruby
<Spooner>
manifold, Why complete a problem where the author didn't know how to write it?
hbpoison has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
<manifold>
Some people have solved it somehow
<kapowaz>
anybody here familiar with rake-pipeline? I'm trying to work out how you pass options to a filter. Documentation / explanations are thin on the ground.
carloslopes has quit [Remote host closed the connection]
jamescarr has joined #ruby
hbpoison has joined #ruby
ferdev_ has quit [Quit: Leaving...]
Nom- has quit [Remote host closed the connection]
mibitzi has quit [Ping timeout: 276 seconds]
adeponte has joined #ruby
carloslopes has joined #ruby
Jackneill has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 256 seconds]
<Spooner>
manifold, I solved it with a hack, but it isn't right ;)
Jackneill_ has quit [Remote host closed the connection]
<danneu>
having to juggle assertion grammar sucks
j^2_ has joined #ruby
samuel02 has joined #ruby
a_a_g has quit [Ping timeout: 256 seconds]
<banisterfiend>
danneu: excessive monkey-patching could mess up your tests of course ;)
<JonnieCache>
foo.should == 1` ftw ;)
etcetera has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
mockra has joined #ruby
<Spooner>
danneu, I agree. I have been using py.test which does exactly that (though actually that is even cleaner - "assert 1 == 1")
<JonnieCache>
PATCH ALL THE MONKEYS
<banisterfiend>
danneu: say you have objects that dispatch via method_missing, if a method is patched into Object then method_missing might never get it
<banisterfiend>
get hit*
<banisterfiend>
i've encountered that problem before
jamescarr has quit [Quit: jamescarr]
<banisterfiend>
but not from a testing framework, but from another retarded library that monkeypatched a bunch of dumb methods into Enumerable
stetho has quit [Quit: stetho]
alex__c2022 has joined #ruby
Guest72688 is now known as ERROR
grzywacz has quit [Ping timeout: 248 seconds]
mattbl is now known as MattRB
quest88 has quit [Quit: quest88]
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
rdark has joined #ruby
<eindoofus>
This tutorial is having me use 'net/http' for Net::HTTP and I was just wondering what "Net" is and what "HTTP" is? Is it a MODULE::CLASS ?
ozgura has quit [Remote host closed the connection]
techlife has joined #ruby
Jackneill_ has joined #ruby
techlife has quit [Max SendQ exceeded]
breakingthings has quit []
joonty_ has quit [Quit: leaving]
_jc has quit [Quit: Computer has gone to sleep.]
<Spooner>
danneu, And thanks for wrong. It is very, very nice ;)
joeycarmello has joined #ruby
samuel02 has quit [Remote host closed the connection]
<danneu>
Spooner: you can, of course, `assert 1 == 1` in minitest, but it doesn't give you an error message. does py.test do that?
bawigga has joined #ruby
<danneu>
Spooner: Wrong actually parses the block. assert { [1] == [1, 2] } will give you an array diff with a nice message!
zenloop has joined #ruby
<Spooner>
danneu, Yeah, it does understand the code like wrong.
<apeiros_>
banisterfiend: wrong way round ;-) (k/v)
jonathanwallace has quit [Ping timeout: 276 seconds]
<apeiros_>
.to_a.transpose.reverse.transpose
<apeiros_>
or .invert the hash after
<manifold>
I'm trying to solve the first problem from puzzlenode.com but I am unfamiliar with XML parsers. What should I use if I want to extract the content between <from>, <to> and <conversion> from this code https://gist.github.com/rachekhan/4740452
sayan has quit [Read error: Connection reset by peer]
iatecake has joined #ruby
KB1ZIB has quit [Quit: Computer has gone to sleep.]
kraljev has left #ruby [#ruby]
rakl has joined #ruby
iatecake has left #ruby [#ruby]
main has joined #ruby
hoelzro|away has quit [Ping timeout: 264 seconds]
hoelzro|away has joined #ruby
<apeiros_>
no, just Nokogiri.magic
DrCode has quit [Ping timeout: 276 seconds]
<apeiros_>
it figures out the rest on its own
plotter has joined #ruby
iatecake has joined #ruby
ctp has joined #ruby
<ctp>
hi folks. my regex expertise ends up here how to transform ["foo",["bla",["bar", 0, "baz"]],...,{"j":"1","k":1,"q":"0LyKli2tkmZVfyMQFXwMTln29Rs"}] to ["foo",["bla",["bar", 0, "baz"]],...,{j:"1",k:1,q:"0LyKli2tkmZVfyMQFXwMTln29Rs"}] ? so just need to remove the " from the keys in {}
Eiam has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
k610 has quit [Quit: Leaving]
<banisterfiend>
can someone name a small ruby gem that uses a C extension?
jpfuentes2 has joined #ruby
<Spooner>
ctp: gsub(/"([a-z]+)":/, "\\1:")
<danneu>
ox
banisterfiend has quit [Read error: Connection reset by peer]
<Spooner>
banisterfiend, extensiony
banisterfiend has joined #ruby
<ctp>
Spooner: hm, sounds good
breakingthings has joined #ruby
elaptics is now known as elaptics`away
tvw has joined #ruby
KB1ZIB has joined #ruby
angusiguess has quit [Ping timeout: 255 seconds]
<manifold>
apeiros_, something is essentially wrong with Nokogiri. Examples are wrong.
<apeiros_>
o0
<Spooner>
manifold, Best thing I've heard in ages ;)
maletor has joined #ruby
<apeiros_>
manifold: unsubstantiated claims like that get you labeled as troll quickly…
carloslopes has quit [Remote host closed the connection]
<manifold>
apeiros_, I downloaded my .xml into @doc. Then @doc.xpath('//from') gives me [#<Nokogiri::XML::Element:0xa2e0a4 name="from" children=[#<Nokogiri::XML::Text:0xa2ddd4 "AUD">]>, #<Nokogiri::X... blah blah blah
<Spooner>
I got labelled as a troll a few days ago for telling someone they should name their variables after what they contain ;)
<manifold>
It is not what I need
<apeiros_>
so instead of making such a claim, you better provide the example which doesn't work for you, and state why you think it doesn't work
<eindoofus>
hi, I'm going through a tutorial and I'm having trouble finding documentation on "body" for the statement "print( http.get( '/en/LICENSE.txt' ).body )". I'm not sure how I would have been able to figure out that I need to use "body" without the tutorial.
buibex has joined #ruby
sullenel has quit [Quit: sullenel]
Hanmac1 is now known as Hanmac
<Spooner>
manifold, You haven't gone far enough. It gives you each <from> which is what you asked it for.
<apeiros_>
manifold: what Spooner just said
Shadow_S has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<apeiros_>
Spooner: yeah, that's bad advice IMO (var-naming)
<apeiros_>
unless you meant "semantically", rather than "type"
<Spooner>
apeiros_, They were using var1, var2, var3 ;)
<manifold>
Spooner, but according to example I should get an array of strings, not an array of THIS
<apeiros_>
lol
<apeiros_>
manifold: care to show that example?
<apeiros_>
because I'm pretty sure it doesn't say you'd get an array of strings from an xpath query…
<Spooner>
manifold, Yeah, the examples don't do that actually.
<apeiros_>
it may be that the inspect of Node used to look differently
josh0x0 has joined #ruby
<apeiros_>
the quote is just below the example. and yes, reading the text is mandatory. can't just look at the "pics" :-p
<Spooner>
apeiros_, I suspect it might be the difference between to_s and inspect on the nodes.
<manifold>
danneu, thank you I will try to use it to solve the problem
tjbiddle has joined #ruby
tjbiddle has quit [Remote host closed the connection]
<apeiros_>
Spooner: nah, # => usually means "inspect"
mpfundstein has quit [Quit: Lost terminal]
<apeiros_>
and I seem to remember that the inspect of Node used to be .text
<apeiros_>
errr, not .text
<Spooner>
apeiros_, Yes, but that is the output from to_s ;)
<apeiros_>
.to_xml? comes closest I think
samphippen has joined #ruby
<apeiros_>
Spooner: not really
s__dana_ has joined #ruby
tjbiddle has joined #ruby
koderde has quit [Quit: Leaving]
<Spooner>
apeiros_, Nokogiri::XML(xml).xpath("//character").map(&:to_s) gives exactly that result.
<apeiros_>
yes
<apeiros_>
you dismiss the array
filipe has quit [Read error: Connection reset by peer]
<apeiros_>
if it was plain to_s, you'd have to Nokogiri::XML(xml).xpath("//character").to_s
<Spooner>
I know it shouldn't be that and that #=> should be inspect, but it is being used as to_s (or to_xml) there.
<apeiros_>
and it isn't that
<danneu>
i think #to_s is jarring on nodes. iirc it's a alias of #text. #text collapses the nested text nodes into a string which is rather deliberate.
statarb3 has quit [Read error: Connection reset by peer]
<apeiros_>
lets see whether an older nokogiri builds here…
mcqueenorama has joined #ruby
<Spooner>
apeiros_, Good point. Presumably inspect used to just do a text dum p then.
techlife has quit [Ping timeout: 255 seconds]
<Spooner>
In an old Nokogiri.
jamescarr has joined #ruby
braoru has joined #ruby
<apeiros_>
nah, 1.4.0 it looks different too
adeponte has joined #ruby
<apeiros_>
anyway, the example needs an update
daniel_- has joined #ruby
arturaz has quit [Ping timeout: 248 seconds]
<apeiros_>
damit… 1h and counting… finish you stupid dump!
<Spooner>
And getting those strings out wouldn't actually be useful to manifold either. Still raw XML.
s__dana has quit [Ping timeout: 248 seconds]
s__dana_ is now known as s__dana
steventux has quit [Remote host closed the connection]
chrishunt has joined #ruby
jonathanwallace has joined #ruby
dhruvasagar has joined #ruby
cobragoat has joined #ruby
<apeiros_>
oooh, Nokogiri::Slop looks neat
buibex has quit [Remote host closed the connection]
<Hanmac>
apeiros_ did you look at Nokogiri::SAX too?
<Spooner>
apeiros_, That is nice, yes.
<apeiros_>
that one I knew already ;-)
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
* apeiros_
remembers the time when there was no XML parser bundled with php and had to write his own
<apeiros_>
those were the times…
fourq has quit [Read error: Operation timed out]
<Hanmac>
apeiros_ was it before the fire was invented?
<apeiros_>
shortly after
<apeiros_>
we didn't know iron then
maxmanders has quit [Quit: Computer has gone to sleep.]
X-Jester has quit [Ping timeout: 252 seconds]
<apeiros_>
it's actually ~12y ago
techlife has joined #ruby
ahokaomaeha has quit [Ping timeout: 255 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
fourq has joined #ruby
<apeiros_>
I even had an xpath-like query language for it :)
<apeiros_>
no way as powerful as xpath, though
uris has joined #ruby
dv_ has quit [Read error: Connection reset by peer]
jonathanwallace has quit [Ping timeout: 248 seconds]
<danneu>
Sou|cutter: i recognize your username from the reddit thread i shared my gist in :P
<danneu>
apeiros_: i listed it in the benchmark
<danneu>
apeiros_: it's the last number in the paren
pothibo has quit [Quit: pothibo]
<apeiros_>
ah
<Sou|cutter>
danneu: :)
<apeiros_>
how did you measure?
rupee has joined #ruby
<danneu>
he scientific 'time ruby script.rb', of course!
<danneu>
oh
<apeiros_>
your `time` command emits CPU & memory?
<danneu>
with Activity monitor open
<apeiros_>
ah
<danneu>
haha
<Sou|cutter>
generally SAX apis make me cry
<apeiros_>
Sou|cutter: yeah
<danneu>
i actually like Sax api. it's so explicit!
atmosx has joined #ruby
alvaro_o has joined #ruby
berserkr has quit [Ping timeout: 246 seconds]
<Sou|cutter>
danneu: it gets messy for anything more than the simplest marshalling
[rupee] has joined #ruby
<apeiros_>
Sou|cutter: I also dislike how most xml tools don't let you distinguish <foo></foo> and <foo/> (of course, to any sane parser, there *should* not be a difference)
moted has joined #ruby
KB1ZIB has quit [Quit: Computer has gone to sleep.]
<Sou|cutter>
apeiros_: why would you want to know, I guess?
<Sou|cutter>
I'm really curious...
krawchyk_ has joined #ruby
iatecake has left #ruby [#ruby]
<apeiros_>
hm, fun… I actually forgot the use-case
<Sou|cutter>
danneu: it's on my backlog to write an adapter layer so that you can use saxerator with other sax apis
carlyle has quit [Read error: Connection reset by peer]
beiter has quit [Quit: beiter]
carlyle_ has joined #ruby
mrsolo has joined #ruby
<Sou|cutter>
I'm not even doing xml work lately, though, so it's hard to find motivation
carlyle_ has quit [Read error: Connection reset by peer]
<apeiros_>
last xml work I had to do was interfacing microsoft EWS
Vainoharhainen has quit [Ping timeout: 276 seconds]
<apeiros_>
horror
dmiller has joined #ruby
<Sou|cutter>
also, my gem is not very popular, so meh.
cout is now known as Avogadro
<danneu>
Sou|cutter: when you shared saxerator in my thread i actually started adding Ox to Saxerator! i have a saxerator/ folder in my monolithic Code directory
<Sou|cutter>
nori is only popular because Savon... I should write something on top of Saxerator like that
geekbri has joined #ruby
Jeaye has joined #ruby
carlyle has joined #ruby
<Sou|cutter>
danneu: publish your fork!
geekbri has quit [Remote host closed the connection]
etcetera has joined #ruby
rupee has quit [Ping timeout: 255 seconds]
Jackneill_ has quit [Remote host closed the connection]
krawchyk has quit [Ping timeout: 252 seconds]
bricker has quit [Ping timeout: 248 seconds]
francisfish has quit [Remote host closed the connection]
ahokaomaeha has joined #ruby
chrishough has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
catphish has quit [Quit: Leaving]
kmurph has joined #ruby
Guest53556 is now known as nieDaZ
kmurph has quit [Client Quit]
jfl0wers has joined #ruby
the_mentat has quit [Quit: Computer has gone to sleep.]
brianpWins has joined #ruby
manifold has quit [Quit: Leaving]
Uranio has joined #ruby
<danneu>
i don't know if i got anywhere. i think building the Nokogiri DOM dsl on top of Ox would be another fun project
AlSquire has quit [Read error: Connection reset by peer]
willob has quit [Max SendQ exceeded]
<RubyPanther>
mostly I think people who have used semaphores in the wild it is in the context of legacy unix programming and the memories are all of pain, and celebrating what should have been very small victories
AlSquire has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
albakry has joined #ruby
<havenwood>
Do I need a mutex lock around my pool of mutexs? Guess I should read about what a semaphore is... >.>
pu22l3r has quit [Remote host closed the connection]
etcetera has quit []
macmartine has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
mengu has joined #ruby
ferdev is now known as ferdev|away
etcetera has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
chrisnicola has quit [Quit: This computer has gone to sleep]
willob has joined #ruby
AlSquire has joined #ruby
willob has quit [Max SendQ exceeded]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
chussenot has joined #ruby
<RubyPanther>
There is a SysVIPC that wraps the standard unix C libs, but it is old enough that the install instructions say to run ruby setup.rb install
willob has joined #ruby
willob has quit [Max SendQ exceeded]
rezzack has joined #ruby
carlyle_ has joined #ruby
carlyle has quit [Read error: Connection reset by peer]
breakingthings has joined #ruby
shevy has joined #ruby
anderse has quit [Quit: anderse]
willob has joined #ruby
Jackneill has quit [Remote host closed the connection]
Umren has quit [Read error: Connection reset by peer]
baba has quit [Quit: WeeChat 0.4.0]
djwonk has quit []
Umren has joined #ruby
_nitti has joined #ruby
chussenot has quit [Client Quit]
cableray has joined #ruby
fris has joined #ruby
ahokaomaeha has joined #ruby
etcetera has quit []
tjbiddle has quit [Read error: Connection reset by peer]
djwonk has joined #ruby
tjbiddle has joined #ruby
Targen has quit [Read error: Operation timed out]
Xeago has joined #ruby
maletor has joined #ruby
jbpros has quit [Quit: May the Cuke be with you!]
TheFuzzball has joined #ruby
jbpros has joined #ruby
jonahR has joined #ruby
Starrfish has joined #ruby
zomgbie has quit [Ping timeout: 252 seconds]
Myconix has quit [Ping timeout: 248 seconds]
pdamer has quit [Quit: pdamer]
sayan has quit [Ping timeout: 276 seconds]
reset has joined #ruby
zeen has quit [Ping timeout: 256 seconds]
timmow has quit [Remote host closed the connection]
icole has joined #ruby
ERROR is now known as EvanR
EvanR has quit [Changing host]
EvanR has joined #ruby
Pufferfood has quit [Remote host closed the connection]
Starrfish has quit [Quit: Leaving]
Myconix has joined #ruby
djwonk has quit []
<shevy>
other than parsing a .rb file for all instances of "alias", is there another way to get a listing of all aliases methods from a class?
djwonk has joined #ruby
pdamer has joined #ruby
<Hanmac>
shevy if the rb file would use alias_method you could hook it ... alias itself cant be hooked ...
<shevy>
damn
<shevy>
ok
kristofers has quit [Read error: Connection reset by peer]
gyre007 has quit [Ping timeout: 248 seconds]
<fris>
how can i update all installed gems for ruby 1.9, just upgraded to 1.9.3 from 1.8.x did update-alternatives --config gem to select the new gem1.9.1
krawchyk_ has quit [Remote host closed the connection]
bawigga has quit [Ping timeout: 255 seconds]
albakry_ has joined #ruby
kidoz has joined #ruby
<Hanmac>
banisterfiend: did you know that c.instance_method(m).name is dumb? because it inspect shows the real name, but #name shows the alias name ... isnt that "dumb"?
mockra has quit [Remote host closed the connection]
mordocai has joined #ruby
KB1ZIB has quit [Quit: Computer has gone to sleep.]
bean has quit [Quit: Computer has gone to sleep.]
<fgro>
i've written a little ruby tool which basically queries xml on the web and notifies the user notify-send. I wonder, where to best store "config" data such as webserver address, user, password. Is there a convention? Thinking of releasing the tool as a gem for practice.
bawigga has joined #ruby
albakry has quit [Ping timeout: 255 seconds]
EtoTheEyePi has joined #ruby
<banisterfiend>
Hanmac: Yeah, also __method__ is annoying inside aliased methods too, it always shows the original
albakry_ has quit [Client Quit]
mengu has quit [Quit: Leaving]
<mordocai>
I'm unable to find a way to create a empty ruby string in C, (creating a ruby extension). Anyone know how? I'm wanting to create a ruby string, append to it multiple times in a loop, then return it to ruby.
roadt__ has quit [Read error: Connection reset by peer]
pdamer has joined #ruby
johnpcamara has joined #ruby
kirun has joined #ruby
Pandaen has quit [Remote host closed the connection]
chussenot has joined #ruby
hZcA has joined #ruby
etcetera has joined #ruby
JohnBat26 has joined #ruby
chussenot has quit [Remote host closed the connection]
hZcA has quit [Client Quit]
chussenot has joined #ruby
torgeir` has joined #ruby
torgeir` has left #ruby [#ruby]
jfl0wers has joined #ruby
hZcA has joined #ruby
hackerdude has joined #ruby
mityaz has quit [Quit: See ya!]
eliasp has joined #ruby
Jackneill has quit [Ping timeout: 255 seconds]
albakry has quit [Quit: Leaving]
chrishough has quit [Quit: chrishough]
akemrir has quit [Read error: Connection reset by peer]
fmcgeough has quit [Quit: fmcgeough]
hZcA has quit [Client Quit]
pu22l3r has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
Pandaen has joined #ruby
djwonk has quit []
daniel_-_ has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
mityaz has joined #ruby
mercwithamouth has joined #ruby
buibex has joined #ruby
etcetera has quit []
bawigga has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop has joined #ruby
daniel_- has quit [Ping timeout: 276 seconds]
jpfuentes2 has quit [Remote host closed the connection]
mockra has joined #ruby
__BigO__ has quit [Remote host closed the connection]
etcetera has joined #ruby
baphled has joined #ruby
skattyadz has quit [Quit: skattyadz]
etcetera has quit [Client Quit]
skattyadz has joined #ruby
Virunga has joined #ruby
axl_ has quit [Quit: axl_]
bawigga has joined #ruby
etcetera has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<dr_neek>
Sup guys. I asked this before so sorry for repeat, but I'm hoping someone can answer this question. Has anyone had success pulling inline photos from email? I'm trying to find some documentation, but there seems to be a real dearth out there. When I try to grab an email, with an inline attachment, using mail gem or gmail gem -- it shows attachments as blank. I know the photo is there cause I can see it in gmail.
daniel_-_ has quit [Ping timeout: 248 seconds]
zomgbie has quit [Read error: Connection reset by peer]
<dr_neek>
^ But even when I view the inbox, I don't see the paperclip icon denoting attachment for that email. When I click it, however, I do see the image.
<havenwood>
Ooh, channel title to ruby-2.0.0-rc2 :D
bean has joined #ruby
bean has quit [Excess Flood]
bean has joined #ruby
bean has quit [Excess Flood]
bean has joined #ruby
kofno has quit [Remote host closed the connection]
kofno has joined #ruby
the_mentat has quit [Quit: Computer has gone to sleep.]
Tomasso has quit [Quit: Page closed]
robbyoconnor has joined #ruby
chudler has left #ruby ["ISON NickServ"]
Monie has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
<Uranio>
I hope that problems with encoding vanished
kristofers has quit []
toekutr has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
huoxito has quit [Ping timeout: 240 seconds]
<mcatch__>
does anyone know of good tutorials out there on the web for Ruby development (from the ground-up)/
axl_ has joined #ruby
<mcatch__>
The ones i've seen are either too beginner, or too advanced, nothing bridging the gap.
huoxito has joined #ruby
chussenot has quit [Quit: chussenot]
<ShellFu>
a couple good books on the topic ive seen on safari online. Dont know bout free tuts though as they are pretty much what you have stated.
mockra has joined #ruby
chussenot has joined #ruby
<mcatch__>
I ordered: Programming Ruby 1.9: The Pragmatic Programmers' Guide
generalissimo has joined #ruby
<mcatch__>
Was looking for an online supplement, but I will head off with the book instead for now :)
<mcatch__>
I appreciate the response, ShellFu
<ShellFu>
not a problem. Im learning ruby also, but coming from a unix admin perspective so our goals are probably different. Though the learning process is hte same ;)
<mcatch__>
Yes, I've looked at a handful of those online training frameworks, none really have good content (most have a nice UI, though).
Uranio has quit [Quit: while you reading this, a kitty dies]
<mcatch__>
For the most part, they seem to show off ruby on rails' capabilities rather than really getting into a step by step explanation of the content of ruby
<mcatch__>
The books, I haven't read through though, hoping Programming Ruby 1.9: The Pragmatic Programmers' Guide suffices
sepp2k has quit [Remote host closed the connection]
stormetrooper has quit [Read error: Operation timed out]
<mcatch__>
the CodeSchool website is an example of some guys who clearly know their stuff. The design and flow of their classes are impeccable. But the content of their courses on Ruby are so short and using bad teaching methodologies, that it really disappoints :)
ecto has joined #ruby
nik_-_ has quit [Quit: nik_-_]
kmurph has joined #ruby
froy has quit [Quit: kablam!]
<banisterfiend>
mcatch__: IMO "the ruby programming language" is superior :)
coin3d has joined #ruby
s__dana_ has joined #ruby
<mcatch__>
banisterfiend: good to know :) I will place an order for that, too
<coin3d>
hi there. i would like to edit a xml string with ruby - which options do i have? is it possible to convert that xml into a ruby object?
phantasm66 has quit [Quit: *poof*]
<banisterfiend>
mcatch__: it's a similar format to k&r
pu22l3r has joined #ruby
<banisterfiend>
in fact it was styled on that
<banisterfiend>
mcatch__: it's just very concise but thorough
Uranio has joined #ruby
<mcatch__>
banisterfiend: ah, i loved k&r
mikeg has joined #ruby
<banisterfiend>
esp. good if you're already a competent programmer in other languages
huoxito has quit [Quit: Leaving]
RagingDave has joined #ruby
huoxito has joined #ruby
s__dana has quit [Ping timeout: 255 seconds]
s__dana_ is now known as s__dana
mando has joined #ruby
maletor has joined #ruby
colonolGron has joined #ruby
<mikeg>
I'm trying to install some gems that are in a zip. I can unzip them to a dir. I can gem install /tmp/gems/gem-ver.gem --local. But if that gem has dependencies they won't install because gem can't find them even though they're in the same folder
alesguzik has quit [Quit: leaving]
<mikeg>
I can cd to /tmp/gems/ first and then install but that can't be the way I have to do it
johnpcamara has quit [Quit: johnpcamara]
<mikeg>
anyone know of a way to get the gem install to look at a certain folder for dependent gems
<mikeg>
or does anyone know if there's a rubygems channel
ckrailo has joined #ruby
brian__ has joined #ruby
<Hanmac>
mikeg you could use --ignore-dependencies
miskander has quit [Quit: miskander]
zomgbie has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
<mikeg>
I don't want to ignore the dependencies. I want them to install. just want them pulled from the same directory as the one I'm installing
<mikeg>
so I can unzip the bundle and go
<mikeg>
I'm surprised gem isn't smart enought to look in the same folder as the gem with the dependency
rmartin has quit [Remote host closed the connection]
<mikeg>
It seems to only work if you actually change to the directory with the gems in it
<mcatch__>
parses xml from weather government site, extracts the states from the xml and prints them
<mcatch__>
not exactly what you want, but it may help get you started (the parsing xml part)
<Hanmac>
nokogiri is more cool
<mikeg>
looks like bundler won't do it either. sigh
codecop has quit [Remote host closed the connection]
gregor3005 has joined #ruby
icantbecool has joined #ruby
<gregor3005>
hi, i read currently the book "wellgrounded rubyist" and there i have a problem on one example that did not work with my current ruby installation: %w{david black}.each(&:upcase)
<gregor3005>
i get an array without upcase
<icantbecool>
istead of () use {}
mark_locklear has quit [Ping timeout: 248 seconds]
<gregor3005>
that did not work
<coin3d>
mcatch__: ok, thanks
workmad3 has joined #ruby
spider-mario has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
mando has quit [Remote host closed the connection]
<gregor3005>
icantbecool: you mean i should it rewrite like this: %w{david black}.each {&:upcase} ???
<gregor3005>
that will also work: %w{david black}.each {|str| str.upcase}
<gregor3005>
sry not work
zigomir has joined #ruby
havenwood has quit [Remote host closed the connection]
<mikeg>
I submitted an issue to the rubygems project. maybe they'll add that feature so I don't have to add silly "cd /tmp/somedirectory" commands into my scripts
<gregor3005>
i can remember that in one beginning chapters he wrote that he used version 1.9.1
willob has quit [Quit: Leaving.]
pu22l3r has quit [Remote host closed the connection]
<icantbecool>
screen -list
s__dana_ has joined #ruby
<gregor3005>
ah one some pages later he used map for the same example
<gregor3005>
:-)
<gf3>
I hate the Mongoid site
<gf3>
TERRIBLE
main has quit [Ping timeout: 276 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
djwonk has joined #ruby
<gregor3005>
does anybody know whats the counterpart from Proc in java is?
s__dana has quit [Ping timeout: 248 seconds]
s__dana_ is now known as s__dana
insane_kangaroo has quit [Quit: leaving]
JumpMast3r has joined #ruby
KB1ZIB has quit [Quit: Computer has gone to sleep.]
<Hanmac>
shevy can you run http://eval.in/9268 on newest ruby1.9.1 you have?
<workmad3>
kraljev: it makes it more obvious what is available, avoids annoyances where you've forgotten ordering and attempted to use haml in place X, but you didn't require it there and place X got called before place Y this time...
<workmad3>
kraljev: it also separates out dependencies and code loading from code execution, which is nice for separation of concerns
zph has joined #ruby
zph has quit [Excess Flood]
ferdev is now known as ferdev|away
<workmad3>
kraljev: and then, on top of all of that, you don't blow your ruby runtime's method caches by loading code during execution ;)
stkowski has joined #ruby
Akuma has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
zph has joined #ruby
zph has quit [Excess Flood]
<kraljev>
that is reasonable, thanks!
willob has joined #ruby
willob has quit [Max SendQ exceeded]
zph has joined #ruby
zph has quit [Excess Flood]
zph has joined #ruby
zph has quit [Excess Flood]
<gf3>
kraljev: Are you using Bundler?
willob has joined #ruby
willob has quit [Max SendQ exceeded]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
zph has joined #ruby
zph has quit [Excess Flood]
skbierm has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
therod has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
ukd1 has joined #ruby
biff_tannen has quit [Read error: Connection reset by peer]
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
willob has quit [Max SendQ exceeded]
<kraljev>
no, not yet
<kraljev>
considering it
zph has joined #ruby
zph has quit [Excess Flood]
nga4 has joined #ruby
<gf3>
kraljev: If you do, you could simply `Bundler.require` and it'll handle all your loading for you
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
arturaz has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
willob has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
nomenkun has joined #ruby
willob has quit [Max SendQ exceeded]
jrajav has joined #ruby
chrishunt has quit [Quit: zZzZzZ...]
axl_ has quit [Quit: axl_]
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
huttan has joined #ruby
willob has quit [Max SendQ exceeded]
zph has joined #ruby
zph has quit [Excess Flood]
dallasm has quit [Remote host closed the connection]
axl_ has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
grzywacz has quit [Ping timeout: 245 seconds]
willob has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
willob has quit [Max SendQ exceeded]
erlingur_ has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
cisco has joined #ruby
erlingur_ has quit [Client Quit]
joeycarmello has quit [Read error: Connection reset by peer]
axl_ has quit [Client Quit]
graft_ has quit [Ping timeout: 245 seconds]
willob has joined #ruby
joeycarmello has joined #ruby
willob has quit [Max SendQ exceeded]
nomenkun has quit [Ping timeout: 260 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
workmad3 has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
RagingDave has quit [Quit: Ex-Chat]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
JamesF has joined #ruby
danielpcox has joined #ruby
graft_ has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
mattbl has quit [Quit: Leaving]
qpf has quit [Remote host closed the connection]
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
jacktrick has joined #ruby
otters has joined #ruby
axl_ has quit [Client Quit]
zph has joined #ruby
zph has quit [Excess Flood]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
aapzak has quit [Read error: Connection reset by peer]