apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p385: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
<csmrfx> ri Array for array methods
<djwonk> csmrfx: yeah, I know that
<csmrfx> slice em, dice em, spice em...
<djwonk> I'm not sure you understand my question
forced_request has joined #ruby
tjbiddle_ has joined #ruby
aaronmcadam has quit [Ping timeout: 256 seconds]
<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
LouisRoR has joined #ruby
tjbiddle_ has quit [Ping timeout: 248 seconds]
anderse has quit [Quit: anderse]
<djwonk> csmrfx: thanks for the feedback
kmurph has joined #ruby
Virunga has joined #ruby
itsdavem has joined #ruby
vlad_starkov has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
va_guy has joined #ruby
<csmrfx> djwonk: I made object persistence layer with plain old marshall + filesys
va_guy has quit [Client Quit]
<djwonk> csmrfx: nice. what API did you use for it? a custom one? I want to implement the ARel style
LouisRoR has quit [Ping timeout: 248 seconds]
jgarvey has quit [Quit: Leaving]
<csmrfx> it was vanilla ruby all written by me
<csmrfx> perhaps 400 loc
nfk has quit [Quit: yawn]
mando has joined #ruby
vlad_starkov has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
juancabrito has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
mparodi has joined #ruby
<mparodi> Hello
<juancabrito> Please, can you help me with a translation problem I can't solve? https://gist.github.com/juancabrito/ecdfb9de85a59e6c0c4a
<mparodi> how do you escape a unicode char in a regexp followed by another char like in \x0101A being {\x0101}A
<mparodi> ?
johnpcamara has joined #ruby
dougireton has quit [Quit: Leaving.]
onemanjujitsu has quit [Quit: onemanjujitsu]
<mparodi> actually you can't even put \x in a regexp, it's not interpreted as a single char
kirun has quit [Quit: Client exiting]
AntiTyping has joined #ruby
wallerdev has quit [Quit: wallerdev]
<csmrfx> mparodi: test it with rubular
<mparodi> No matches, cschneid
<mparodi> err, csmrfx
wallerdev has joined #ruby
<mparodi> \x0101 inside a regexp is not \x0101 == \u000101
carloslopes has quit [Remote host closed the connection]
<csmrfx> you need to escape the backslashes
<mparodi> ah, good point!
havenn has quit [Remote host closed the connection]
<mparodi> thanks
chussenot has quit [Quit: chussenot]
JensenDied has left #ruby [#ruby]
pavilionXP has joined #ruby
petersaints_ has joined #ruby
wyhaines has quit [Read error: Connection reset by peer]
wyhaines has joined #ruby
ryanf has quit [Read error: Connection reset by peer]
karupanerura has quit [Excess Flood]
anonymuse has quit [Quit: Leaving.]
ryanf has joined #ruby
<csmrfx> strange
mando has quit [Remote host closed the connection]
AsgardBSD has joined #ruby
<mparodi> so I guess I have to use \\x01\\x01/, right?
carloslopes has joined #ruby
havenn has joined #ruby
chrishunt has quit [Quit: zZzZzZ...]
petersaints has quit [Ping timeout: 256 seconds]
<mparodi> I meant, /\\x01\\x01/
<AsgardBSD> Hi
<csmrfx> mparodi: \xNN in a regex means hex match, you knew that, right?
the_mentat has joined #ruby
<mparodi> yep
<csmrfx> but howcome your content string also has \x in "\xNNNN"
<mparodi> I'm translating a URL regexp written for another language into ruby
emmanuelux has quit [Remote host closed the connection]
cdt has joined #ruby
karupanerura has joined #ruby
<mparodi> the problem is that \xNNNN is equivalent to \xNN + NN, not \xNN\xNN
<csmrfx> wait, *which* ones your target have
mando has joined #ruby
alesguzik has quit [Quit: leaving]
bradleyprice has quit [Remote host closed the connection]
<mparodi> it's part of a regexp I'm translating into valid ruby code: ...]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)...
jamescarr has quit [Quit: jamescarr]
<csmrfx> hex chars or wide hex chars or some sub-wide hex chars
<mparodi> \x{00a1} is not ruby, that's where the problem comes from
ryanf has quit [Read error: Connection reset by peer]
<csmrfx> what
<csmrfx> thats a regex
ryanf has joined #ruby
<csmrfx> looks fine to me
iamjarvo has joined #ruby
<mparodi> hmn, I tried it and it didn't work. let me check again u.u
carloslopes has quit [Read error: Connection reset by peer]
<csmrfx> maybe test /[\x{0000}-\x{ffff}]/ on some arbitrary 4 char hex string in rubular.com
DrShoggoth has joined #ruby
<mparodi> what!? Empty range in char class.
carloslopes has joined #ruby
<csmrfx> mparodi: no, that doesn't work
axl_ has quit [Quit: axl_]
<csmrfx> mparodi: try /[\x40000-\x4ffff]// on any hex string
<csmrfx> so \x{00a1} translates to \x400a1
<csmrfx> ack?
arya_ has joined #ruby
jamescarr has joined #ruby
<mparodi> what are you executing? it doesn't work like that here
kmurph has quit [Quit: kmurph]
BlackBladeX has left #ruby [#ruby]
<csmrfx> it works that way on rubular.com
<mparodi> give me a permalink
jamescarr has quit [Client Quit]
kmurph has joined #ruby
onemanjujitsu has joined #ruby
arya has quit [Ping timeout: 276 seconds]
stkowski has quit [Quit: stkowski]
<csmrfx> strange that one would need to specify a hex range when there is [a-z0-9]+
<mparodi> it's not working as expected.
<mparodi> try with "d" for example
<csmrfx> permalink or death!
stkowski has joined #ruby
<mparodi> the problem is that \x4ffff is not \x{4ffff}
piotr__ has quit [Ping timeout: 246 seconds]
<mparodi> vs
<csmrfx> \x4ffff matches "ffff"
cyro has left #ruby [#ruby]
_veer has quit [Ping timeout: 245 seconds]
<csmrfx> permalink deathmatch!
dmiller has quit [Ping timeout: 240 seconds]
mpfundstein has quit [Ping timeout: 244 seconds]
<mparodi> sure, because \x4ffff == \x4f fff
Proshot has quit [Quit: Leaving]
<csmrfx> mparodi: hex char is "NN"
dougireton has joined #ruby
marr has quit [Ping timeout: 252 seconds]
<csmrfx> regex: "Gimme hex chars, or gimme no match with \x"
<csmrfx> it is kinda weird that plain "f" matches
<mparodi> it's not weird at all
c0rn has quit [Quit: Computer has gone to sleep.]
<mparodi> what that regexp match is a weird range and Fs
tomzx_mac has joined #ruby
<mparodi> [\x40000-\x4ffff] == [\x40 00 0-\x4f fff] == [\x40 0-\x4f f]
<mparodi> if I'm not wrong
c0rn has joined #ruby
<mparodi> as shown here ^
<csmrfx> naw, the outcome is the same
<csmrfx> still wont match "d", if thats a problem
SCommette has quit [Quit: SCommette]
reppard has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
kyouso has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mvangala_ has joined #ruby
jimeh has joined #ruby
<csmrfx> would just use [a-z0-9]{min, max}
<mparodi> it's not the same regexp :P
onemanjujitsu has quit [Quit: onemanjujitsu]
arya has joined #ruby
mattbl has joined #ruby
<csmrfx> oops, [a-f0-9]{minchars, maxchars}
tjbiddle has quit [Read error: Connection reset by peer]
<csmrfx> (for hex=
mvangala has quit [Read error: Connection reset by peer]
tjbiddle_ has joined #ruby
s1n4 has quit [Quit: leaving]
pac1 has joined #ruby
ner0x has joined #ruby
dougireton has quit [Quit: Leaving.]
<csmrfx> then again, that regex you pasted already had a-z and
<csmrfx> + so all that hex trickery is out the window
brianpWins has quit [Quit: brianpWins]
_nitti has joined #ruby
onemanjujitsu has joined #ruby
stormetrooper has quit [Ping timeout: 260 seconds]
yshh has joined #ruby
bawigga has joined #ruby
arya_ has quit [Ping timeout: 255 seconds]
moshee has quit [Ping timeout: 256 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Guest75108 has quit [Read error: Operation timed out]
m8 has quit [Quit: Sto andando via]
otherj has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<mparodi> pry(main)> /\u00a1/ =~ "¡"
<mparodi> => 0
<mparodi> there you have!
<mparodi> csmrfx, ^
<mparodi> I mean, I have hehe
tjbiddle_ has quit [Ping timeout: 276 seconds]
<mparodi> [a-z\x{00a1}-\x{ffff}0-9]+ -> [a-z\u00a1-\uffff0-9]+
_nitti has quit [Ping timeout: 246 seconds]
main has quit [Read error: Operation timed out]
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.
<visionary1> GeekOnCoffee: thanks
pavilionXP has quit [Read error: Operation timed out]
thone has quit [Ping timeout: 245 seconds]
<visionary1> then a[a.keys.first]
<GeekOnCoffee> visionary1: or a.values.first
jamescarr has joined #ruby
<GeekOnCoffee> aces1up: take a look at split
<aces1up> geek i know split just cofused on how to make it into a hash.
<reppard> seems that would take some meta crap
<reppard> use split and .to_sym
<jellosea> hey what do you guys feel about using 'self' when its not explicitly needed?
pavilionXP has joined #ruby
<mparodi> is there a way to generate a migration based on the current state of the model?
aho has quit [Quit: EXEC_over.METHOD_SUBLIMATION]
<mparodi> err, wrong channel
<reppard> jellosea: if it's not needed why use it?
<jellosea> reppard: yeah i agree- i'm trying to convince other people to make it a coding convention
<reppard> do those people understand why the are using self?
<reppard> *they
the_mentat has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
<jellosea> i guess to specify that the variable they are using is defined in the instance and not from the method they are in
<visionary1> clarity
EvanR has quit [Ping timeout: 264 seconds]
<GeekOnCoffee> aces1up: is this for homework?
m_3 has joined #ruby
aarondaub has joined #ruby
petersaints_ has quit [Read error: Operation timed out]
jerikl has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
_bry4n has quit [Remote host closed the connection]
nyrb has joined #ruby
the_mentat has joined #ruby
<GeekOnCoffee> aces1up: values = tag.split("?"); {values.shift => values.collect{|v| Hash[v.split("=")]}}
bjeanes has joined #ruby
bricker is now known as bricker`work
locriani_ has joined #ruby
locriani has quit [Read error: Connection reset by peer]
dmiller has quit [Ping timeout: 255 seconds]
the_mentat has quit [Client Quit]
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
aarondaub has left #ruby [#ruby]
rezzack has joined #ruby
__BigO__ has joined #ruby
Myconix has joined #ruby
nateberkopec has joined #ruby
the_mentat has joined #ruby
nateberkopec has quit [Client Quit]
Vektur has joined #ruby
Pandaen has quit [Remote host closed the connection]
Guest71471 has joined #ruby
tommyvyo has joined #ruby
jokke is now known as jemand
jemand is now known as jokke
cianomaidin_ has left #ruby [#ruby]
nari has joined #ruby
nga4 has quit [Ping timeout: 276 seconds]
baroquebobcat has joined #ruby
tjbiddle_ has joined #ruby
<havenn_> visionary1: Another way: head, *tail = tag.split('?'); tail.each_with_object({}) { |e, a| k, v = e.split('='); a[k] = v }
<havenn_> #=> {"file"=>"random_file", "other_arg"=>"test"}
stormetrooper has quit [Ping timeout: 276 seconds]
mhf has joined #ruby
<GeekOnCoffee> havenn_: that misses the initial hash
dyeske has joined #ruby
stkowski has quit [Quit: stkowski]
<GeekOnCoffee> the rand_file =>
inao has joined #ruby
tjbiddle has quit [Ping timeout: 245 seconds]
tjbiddle_ is now known as tjbiddle
gabrielrotbart has joined #ruby
nateberkopec has joined #ruby
tfittsy has joined #ruby
hackerdude has joined #ruby
wr has quit [Ping timeout: 248 seconds]
<havenn_> GeekOnCoffee: Oh, i meant to do: { head => tail.each_with_object({}) { |e, a| k, v = e.split('='); a[k] = v } }
__BigO__ has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
<GeekOnCoffee> there you go
<havenn_> #=> {"rand_file"=>{"file"=>"random_file", "other_arg"=>"test"}}
joeycarmello has joined #ruby
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]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
zeade has quit [Quit: Leaving.]
goldenwest has quit [Quit: leaving]
reppard has joined #ruby
tommyvyo has joined #ruby
jokke has quit [Quit: WeeChat 0.4.0]
maletor has quit [Quit: Computer has gone to sleep.]
jamescarr has joined #ruby
tommyvyo has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
chrishough has joined #ruby
sn0wb1rd has joined #ruby
kristofers has quit []
mercwithamouth has quit [Ping timeout: 244 seconds]
gcoderre has quit [Quit: gcoderre]
jamescarr has quit [Client Quit]
joeycarmello has quit [Remote host closed the connection]
zehrizzatti has joined #ruby
<aces1up> does any one know the default seek type on File.seek?
cupakromer has quit []
<aces1up> ex IO::SEEK_SET, IO::SEEK_END, or IO::SEEK_CUR ??
krz has joined #ruby
mattbl has joined #ruby
daniel_- has quit [Quit: WeeChat 0.3.9.2]
ahokaomaeha has quit [Ping timeout: 260 seconds]
maletor has joined #ruby
nyrb has quit [Remote host closed the connection]
nyrb has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
hackerdude has joined #ruby
emocakes has quit [Quit: emocakes]
ckrailo has joined #ruby
maletor has quit [Client Quit]
nga4 has joined #ruby
mhf is now known as qpf
io_syl has quit [Ping timeout: 244 seconds]
<pskosinski> IO::SEEK_SET *
joofsh has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<pskosinski> File has no method seek in docs, so I guess that it's inherited…
jankly has quit [Read error: Connection reset by peer]
jankly has joined #ruby
<pcarrier_> hey! I'm using ruby-build and trying to get a local yarv instance with documentation for all my gems and stdlib
mikepack has quit [Remote host closed the connection]
<pcarrier_> anybody knows how to handle the stdlib part?
pcarrier_ is now known as pcarrier
mdim` has joined #ruby
<pcarrier> *yard
<mdim`> is this the place to ask for help when it comes to using Gems under Debian?
salonso has quit [Quit: Saliendo]
apok has quit [Quit: apok]
chrisnicola has joined #ruby
<mdim`> I get the following error when trying to run a ruby application: /usr/bin/env: rackup: No such file or directory
<mdim`> but I can see that I have rackup at /var/lib/gems/1.8/gems/rack-1.5.1/bin/rackup
jlast has joined #ruby
<mdim`> therefore, I guess it's a path issue. Right?
<pcarrier> mdim`: add /var/lib/gems/1.8/bin/ to your path
<pcarrier> mdim`: or 1.3.1
<pcarrier> 1.9.1 sorry
nyrb has quit [Read error: Connection reset by peer]
nyrb has joined #ruby
stormetrooper has joined #ruby
zehrizzatti has quit [Quit: Linkinus - http://linkinus.com]
cobragoat has joined #ruby
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]
chrishough has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
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)"]
browndawg has joined #ruby
cableray has quit [Ping timeout: 255 seconds]
jcrawford has joined #ruby
<Sigma00> X-Jester: def foo (method); method(method).call; end; foo(:bar)
chrisnicola has quit [Quit: This computer has gone to sleep]
cobragoat has joined #ruby
zenloop has quit [Quit: zenloop]
angusiguess has joined #ruby
dougireton has joined #ruby
kmurph has joined #ruby
LouisRoR has joined #ruby
slainer68 has joined #ruby
ckrailo has joined #ruby
Mon_Ouie has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
slainer68 has quit [Ping timeout: 246 seconds]
SCommette has joined #ruby
arya has quit [Ping timeout: 248 seconds]
nyrb has quit [Read error: Connection reset by peer]
nyrb has joined #ruby
Fretta has quit [Quit: Fretta]
arya has joined #ruby
rippa has joined #ruby
krz has joined #ruby
dougireton has left #ruby [#ruby]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
cyong has quit [Ping timeout: 256 seconds]
chimkan_ has quit [Quit: chimkan_]
cyong has joined #ruby
a_a_g has quit [Quit: Leaving.]
Bry8Star has quit [Ping timeout: 276 seconds]
Jon30 has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Remote host closed the connection]
Fretta has joined #ruby
pen has quit [Remote host closed the connection]
jerikl has joined #ruby
v0n has joined #ruby
Jon30 has joined #ruby
cyong has quit [Quit: Leaving.]
bigmac has joined #ruby
akemrir has joined #ruby
Aiur has quit [Ping timeout: 246 seconds]
megha has joined #ruby
baba has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 240 seconds]
ckrailo has quit [Ping timeout: 276 seconds]
yacks has quit [Ping timeout: 240 seconds]
<havenwood> Forked roflcopter so it can fly up and down... ;O https://github.com/havenwood/roflcopter/blob/master/roflcopter.rb
<havenwood> caveat, roflcopter is OS X only
<havenwood> >.>
Bry8Star has joined #ruby
toekutr has quit [Remote host closed the connection]
codecop has joined #ruby
tagrudev has joined #ruby
therod has joined #ruby
banisterfiend has joined #ruby
<etcetera> is there a better static site generator than jekyll?
SCommette has quit [Quit: SCommette]
generalissimo has quit [Remote host closed the connection]
Bry8Star has quit [Max SendQ exceeded]
rodrigo has joined #ruby
tagrudev has quit [Remote host closed the connection]
tagrudev has joined #ruby
Bry8Star has joined #ruby
therod has quit [Ping timeout: 252 seconds]
bigmac has quit [Quit: Leaving]
chrisnicola has joined #ruby
banisterfiend has quit [Ping timeout: 276 seconds]
Myconix has joined #ruby
LouisRoR has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
sayan has joined #ruby
LiquidInsect has quit [Read error: Operation timed out]
rodrigo has quit [Read error: Connection reset by peer]
bttf has quit [Read error: Operation timed out]
LiquidInsect has joined #ruby
Akuma has quit [Read error: Operation timed out]
Akuma has joined #ruby
<etcetera> heh, just had to update ruby gems against the default mac install to get jekll working.
bttf has joined #ruby
<gf3> etcetera: To answer your question, yes
Fretta has quit [Quit: Fretta]
<gf3> etcetera: It's called Middleman
<etcetera> gf3: why is it better?
<etcetera> why is it better than jekyll?
<gf3> etcetera: Because I like it better
<gf3> etcetera: (it's subjective)
<etcetera> is it unquestionalbly, vastly, better?
<gf3> etcetera: IMHO, yes
mdpatrick has quit [Quit: mdpatrick]
<etcetera> why?
vlad_starkov has joined #ruby
<gf3> I like the way it goes about its business
meoblast001 has quit [Remote host closed the connection]
<gf3> etcetera: Basically, with a couple of gems, it gives my Rails' view layer with an asset pipeline
<etcetera> gf3: so why is it not more popular?
<gf3> etcetera: Combined that with Rack and a static generator
<gf3> s/ed/e
chrisnicola has quit [Quit: This computer has gone to sleep]
<gf3> etcetera: More popular than what?
<etcetera> jekyll
<gf3> Who cares?
<etcetera> I do.
<gf3> It was rhetorical
<Kovensky> use php, it's popular!
* Kovensky runs
Mon_Ouie has quit [Ping timeout: 255 seconds]
carraroj has joined #ruby
<etcetera> Kovensky: there are *reasons* PHP is popular.
<etcetera> There *are* people who care about why.
<etcetera> I currently care about why Jekyll is the most popular static site generator out there.
v0n has quit [Ping timeout: 255 seconds]
<gf3> Well that's an entirely different question than "is there a better static site generator than jekyll?"
<etcetera> They are related. But you are correct.
<gf3> ಠ_ಠ
vlad_starkov has quit [Remote host closed the connection]
<etcetera> hmm, why does gem require me to use root?
samlt has joined #ruby
<gf3> etcetera: It doesn't necessarily, it depends how Rubygems is installed
wallerdev has quit [Quit: wallerdev]
<etcetera> using the default mac install.
<gf3> I recommend rbenv
<postmodern> brew install ruby ?
<etcetera> hmm, I'll deal with this later.
<gf3> NO DEAL WITH IT NOW
oscardelben has quit [Quit: oscardelben]
ezkl has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has quit [Quit: brianpWins]
slainer68 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
etcetera has quit []
toekutr has joined #ruby
zeade has quit [Quit: Leaving.]
slainer68 has quit [Read error: Operation timed out]
AntiTyping has quit [Quit: AntiTyping]
gosshedd has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
tomaw is now known as 13WAAIFYZ
raddazong has quit [Changing host]
raddazong has joined #ruby
raddazong is now known as madhatter
robustus has quit [Ping timeout: 276 seconds]
robustus has joined #ruby
dhruvasagar has joined #ruby
backjlack has joined #ruby
backjlack has quit [Remote host closed the connection]
etcetera has joined #ruby
cobragoat has quit [Remote host closed the connection]
arya has joined #ruby
cobragoat has joined #ruby
backjlack has joined #ruby
cparen has quit [Quit: cparen]
Jeaye has quit [Quit: WeeChat 0.4.0]
eldariof has joined #ruby
cobragoat has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
cobragoat has joined #ruby
liquid-silence has quit [Quit: Computer has gone to sleep.]
sn0wb1rd has quit [Quit: I will be right back]
atyz has joined #ruby
gosshedd has quit [Ping timeout: 252 seconds]
browndawg has quit [Quit: Leaving.]
d2dchat has quit [Remote host closed the connection]
brianpWins has joined #ruby
zigomir has joined #ruby
<havenwood> etcetera: If you'd like multiple rubies, take a look at chruby! Otherwise, `brew install ruby` is pretty simple.
w|t has quit [Quit: No Ping reply in 150 seconds.]
w|t has joined #ruby
w|t has quit [Changing host]
w|t has joined #ruby
swarley has quit [Ping timeout: 276 seconds]
swarley has joined #ruby
joeycarmello has joined #ruby
liquid-silence has joined #ruby
browndawg has joined #ruby
etcetera has quit [Ping timeout: 252 seconds]
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby
ckrailo has joined #ruby
bradleyprice has quit [Remote host closed the connection]
etcetera has joined #ruby
joeycarmello has quit [Ping timeout: 245 seconds]
zigomir has quit [Quit: zigomir]
julian|home has joined #ruby
clocKwize has joined #ruby
julian|home has quit [Client Quit]
anderse has joined #ruby
bean has quit [Ping timeout: 252 seconds]
kmurph has quit [Quit: kmurph]
gtuckerkellogg has joined #ruby
zeade has joined #ruby
icole has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
codecop has quit [Read error: Operation timed out]
etcetera has quit []
arya has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
tish has quit [Quit: Leaving.]
tish has joined #ruby
matchaw_ has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
filipe has joined #ruby
arya has joined #ruby
Konboi has quit [Remote host closed the connection]
<thufir_> what's chruby? like rvm?
<gf3> But nicer, it looks
havenwood has joined #ruby
Konboi has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<havenwood> A roflcopter gem for OS X only... >.> https://github.com/havenwood/roflcopter
ckrailo has quit [Ping timeout: 276 seconds]
caleb_io has joined #ruby
adeponte has quit [Remote host closed the connection]
Konboi has quit [Remote host closed the connection]
skogis has joined #ruby
djloche has joined #ruby
zeade has quit [Ping timeout: 245 seconds]
Morkel has joined #ruby
JohnBat26 has joined #ruby
<clocKwize> havenwood:
a_a_g has joined #ruby
<clocKwize> thats awesome
<clocKwize> was a bit disappointed though it wasn't a game
rh1n0 has joined #ruby
<havenwood> haha, good idea
djloche has quit [Remote host closed the connection]
stormetrooper has quit [Ping timeout: 264 seconds]
lurch_ has joined #ruby
swex_ has joined #ruby
wf2f has quit [Ping timeout: 255 seconds]
swex has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
dr_bob has joined #ruby
stormetrooper has joined #ruby
kmurph has joined #ruby
matchaw_ has quit [Ping timeout: 248 seconds]
ephemerian has joined #ruby
vikhyat has joined #ruby
codecop has joined #ruby
kuzushi has quit [Ping timeout: 252 seconds]
chrishough has quit [Quit: chrishough]
beliveyourdream has joined #ruby
mafolz has joined #ruby
rh1n0 has quit [Quit: Linkinus - http://linkinus.com]
Konboi has joined #ruby
atyz has quit [Quit: Leaving...]
atyz has joined #ruby
matchaw_ has joined #ruby
hmarr has joined #ruby
erlingur has joined #ruby
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
<mpfundstein> module A
<mpfundstein> class << self
<mpfundstein> end
<mpfundstein> end
<mpfundstein> for example
<shevy> mpfundstein what's that do
Konboi has joined #ruby
<shevy> or rather, is that useful for anything
<mpfundstein> it is
<mpfundstein> for singletons for example
<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
<mpfundstein> because you somehow know the tricks
<banisterfiend> i wrote a blog post about how weird they are actually: http://banisterfiend.wordpress.com/2008/10/25/the-secret-life-of-singletons/
<mpfundstein> hey cool man
chussenot has quit [Client Quit]
<mpfundstein> ill check it out
arya_ has joined #ruby
<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
<Hanmac> >> p "x'y".gsub("'", "\\\\'")
<eval-in> Hanmac: Output: "\"x\\\\'y\"\n" (http://eval.in/9180)
<Hanmac> >> puts "x'y".gsub("'", "\\\\'")
<eval-in> Hanmac: Output: "x\\'y\n" (http://eval.in/9181)
dhruvasagar has joined #ruby
DaZ has quit [Ping timeout: 276 seconds]
chussenot has joined #ruby
<b6> Hanmac: thanks.
browndawg has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
hbpoison has quit [Ping timeout: 276 seconds]
poga has quit [Remote host closed the connection]
<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
<naveko> anybody familiar with this issue?
berserkr has joined #ruby
dawkirst has joined #ruby
adeponte has quit [Ping timeout: 246 seconds]
Virunga has joined #ruby
kaen has quit [Ping timeout: 246 seconds]
<workmad3> JonnieCache: seems to, yeah :)
<workmad3> JonnieCache: there's probably multiple approaches
arturaz has joined #ruby
<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 ?
becom33 has joined #ruby
<becom33> it would be great if someone could help me with the stack too deep issue http://pastebin.com/NkHQyy0c
<Hanmac> grye007 you can load gems with rails? :D
<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...
<shevy> you are still using ruby? :>
<gyre007> will give that a shot
<becom33> dude need a help bro
<becom33> it would be great if someone could help me with the stack too deep issue http://pastebin.com/NkHQyy0c
wargasm has quit [Ping timeout: 245 seconds]
Elhu has quit [Ping timeout: 252 seconds]
jerikl has joined #ruby
inao has quit [Ping timeout: 244 seconds]
<joonty> becom33: is that not an infinite loop?
Al____ has joined #ruby
<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
<melty> lol
<shevy> cool I am now spying on #rubygems-trust
havenn_ has joined #ruby
<workmad3> invariant: https://github.com/rubygems-trust/rubygems.org/issues specifically for proposals
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
<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?
<workmad3> ohcibi: I like this dogma: http://www.imdb.com/title/tt0120655/
nfk has quit [Remote host closed the connection]
* havenn_ thinks Homebrew is the bee's knees.
fir_ed has joined #ruby
<invariant> shevy, nix has some issues and is not perfect, but it could be made perfect.
<invariant> shevy, the basic core is right.
<shevy> :(
<ohcibi> workmad3: thx for the movie-tip 8-)
<shevy> perfection is always just one step away
<invariant> I disagree on that point.
<workmad3> ohcibi: be warned, it's crass, childish and filled with bad-taste religious humour and controversy
<workmad3> ohcibi: so just like any kevin smith film with J and Silent Bob :)
<shevy> invariant the problem nixos will always have is that it can not become mainstream
nfk has joined #ruby
<Hanmac> shevy i think this nixos is something like that: http://xkcd.com/927/
<invariant> shevy, why not?
<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…
<shevy> :D
<banister`gone> not actually NSFW
<banister`gone> it's a kid's hand :)
<shevy> wildcard0 haha
<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
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> havenwood is this different from normal gems?
<Xeago> zookeeper for example
<Xeago> most of zookeeper has perl stuff
<apeiros_> Muz: a gem is a .tgz, gzip already checksums. so if you want to checksum an already checksummed blob…
<Xeago> apeiros_: the only difference is moment of detection
<invariant> Xeago, I have no idea whether you are talking about star systems, data clusters in machine learning or clusters in a network.
carloslopes has joined #ruby
<havenwood> shevy: yeah, you use mgem to build a build script that you then build mruby with
arya has joined #ruby
<havenwood> shevy: and inside that mruby, you have access to what the gems provide
<shevy> apeiros_ hmm a .gem is really a .tgz?
<Xeago> invariant: any cluster that needs to be interconnected
swarley has quit [Ping timeout: 276 seconds]
<havenwood> shevy: I built first one today with sleep, threads, and processes
<invariant> Xeago, I still have no idea what you are talking about.
<shevy> havenwood interesting
<apeiros_> shevy: well, it's a .tar with 2 .tar.gz inside of it
<Xeago> invariant: that is not needed
<havenwood> shevy: once i figured out what I was supposed to be doing, seems pretty good!
<invariant> Xeago, what library is it?
<invariant> Xeago, that will probably help more than your riddles.
<Xeago> it is an abstraction of what was build for the elasticsearch library I was talking about earlier
<Xeago> it than got used for zookeeper clients aswell
Chinorro has joined #ruby
<havenwood> anyone else played around with Topaz Ruby implementation yet?
<havenwood> I want to implement #gets in Topaz... now just to learn RPython, grr
<Xeago> s/than/then
fir_ed has joined #ruby
<shevy> I think this dutch guy here... what was his name... hmm
<joonty> havenwood: planning on it at lunchtime
<shevy> he used topaz yesterday or 2 days ago
<joonty> havenwood: jumped into the #topaz channel and they were talking about implementing Kernel methods, so it's still very much incomplete
<Hanmac> havenwood where is the other direction? where is a Python implementation in ruby?
haxrbyte has quit [Read error: Connection reset by peer]
<havenwood> Hanmac: Could implement Python on Rubinius I guess. :P
Goles has quit [Quit: Computer has gone to sleep.]
<Hanmac> topaz is not interesting for me because i need C-API gems ...
chussenot has quit [Quit: chussenot]
yacks has quit [Read error: Connection reset by peer]
<havenwood> Hanmac: If Topaz implements the C-API?
robbyoconnor has quit [Ping timeout: 248 seconds]
gyre007 has quit [Remote host closed the connection]
<Hanmac> then it would be fun :P
<havenwood> Hanmac: CRuby and RBX are only implementations that support C-API out of the box right now?
<Hanmac> jep
<Hanmac> (and maybe mruby gets its own C-API)
rdk has joined #ruby
<Hanmac> shevy: mruby can run in a EFI shell ...
yshh has joined #ruby
rdk has left #ruby [#ruby]
<shevy> hmm
<shevy> RubyOS is getting closer and closer every day
<joonty> shevy: that sounds sweet
baphled has quit [Read error: Operation timed out]
zeade has quit [Ping timeout: 245 seconds]
rdk has joined #ruby
rdk has left #ruby [#ruby]
Al__ has quit [Ping timeout: 248 seconds]
dawkirst has quit [Ping timeout: 252 seconds]
atyz has quit [Quit: Leaving...]
BeLucid has joined #ruby
arya has quit [Ping timeout: 255 seconds]
atno has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
KB1ZIB has quit [Quit: Computer has gone to sleep.]
fir_ed has quit [Ping timeout: 248 seconds]
KB1ZIB has joined #ruby
yacks has joined #ruby
RurouniJones has joined #ruby
arya has joined #ruby
havenwood has quit [Remote host closed the connection]
atno has joined #ruby
zomgbie has joined #ruby
arya_ has joined #ruby
nicoulaj has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Virunga has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 246 seconds]
robustus has quit [Quit: ZNC - http://znc.in]
erichmenge has quit [Ping timeout: 248 seconds]
Al__ has joined #ruby
<Hanmac> shevy: FoxNews says that germany gets more sun than California ... löl?
divout has quit [Remote host closed the connection]
aaronmcadam has quit [Quit: aaronmcadam]
pavilionXP has quit [Quit: Forget progress by proxy. Land on your own moon.]
arya has joined #ruby
<mpfundstein> Hanmac: holland not :(
<banister`gone> Hanmac: what's teh temperature in germany now?
Elhu has quit [Quit: Computer has gone to sleep.]
Morkel has quit [Quit: Morkel]
<banister`gone> it's 3C right now in netherlands (leiden)
Udom0 has joined #ruby
zeade has joined #ruby
erichmenge has joined #ruby
zomgbie has quit [Read error: Connection reset by peer]
Chinorro has quit [Read error: Operation timed out]
alesguzik has joined #ruby
adkron has quit [Ping timeout: 256 seconds]
<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…
<Hanmac> apeiros_ you mean like this? http://www.youtube.com/watch?v=qo3E5k3vTUQ
Astral_ has joined #ruby
<apeiros_> Hanmac: at work, not watching that vid, sry :)
<Hanmac> hoelzro its maybe an EA-gem .. you need to insert coins to read more
<hoelzro> heh
VolodymyrB has joined #ruby
rcs has quit [Ping timeout: 260 seconds]
Astralum has quit [Ping timeout: 252 seconds]
pyreal has quit [Quit: pyreal]
banister`gone has quit [Remote host closed the connection]
Chinorro has joined #ruby
yshh has quit [Remote host closed the connection]
samuel02_ has joined #ruby
niklasb has quit [Ping timeout: 276 seconds]
paradoja has joined #ruby
zeade has quit [Ping timeout: 256 seconds]
krz has quit [Quit: krz]
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
banister`gone has joined #ruby
77CAAL5XC has quit [Ping timeout: 252 seconds]
rcs has joined #ruby
<shevy> apeiros_ yeah ... I think TV is often like a replacement drug for people
nfk has quit [Remote host closed the connection]
chendo_ has joined #ruby
<shevy> Hanmac those IKEA products are cheap like dirt and often fall apart in less than a year, at max 2 years
samuel02 has quit [Ping timeout: 276 seconds]
<shevy> I want my 3D printer :(
<Hanmac> shevy hm the products i buyed from ikea still works (after more than 5 years)
sambio has joined #ruby
<Hanmac> shevy look at that http://moviebarcode.tumblr.com/image/10686657068 its a movie barcode :P
yacks has quit [Ping timeout: 260 seconds]
Elhu has joined #ruby
m8 has joined #ruby
<shevy> ugly!
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
<naveko> and this is where I get the error message: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
ewilliam has quit [Ping timeout: 246 seconds]
<Hanmac> its uses rails wich uses active record so you may need https://rubygems.org/gems/activerecord-mysql-adapter and ask at #rubyonrails
hmarr has joined #ruby
<naveko> Hanmac: I'll try that.. thank you!
xemu has joined #ruby
biff_tannen has joined #ruby
TomJ_ has joined #ruby
TomJ_ has quit [Changing host]
TomJ_ has joined #ruby
TomJ_ has quit [Remote host closed the connection]
sayan has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
atyz has quit [Quit: Linkinus - http://linkinus.com]
stopbit has joined #ruby
TomJ has quit [Read error: Operation timed out]
<shevy> hmm say I have a string like ... "|fancy|hello|_| |important|world|_|"
kpshek has quit []
<shevy> the |_| is a closing tag, the word before within the | | is a method call, that will colourize the subsequent word
<shevy> basically, this is like fancy('hello'), just in strings
<shevy> what would be the shortest way to get to this information from a string like "|fancy|hi|_|" ?
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
<Spooner> shevy there are plenty of "safe" rpc systems you know ;)
TomJ has quit [Remote host closed the connection]
zeade has joined #ruby
hbpoison has joined #ruby
hmarr has quit [Ping timeout: 255 seconds]
EvanR has joined #ruby
<Spooner> And perfectly good data transfer formats, like JSON, which already do what you are replicating.
EvanR is now known as Guest72688
Jackneill has joined #ruby
Jackneill has quit [Changing host]
Jackneill has joined #ruby
mando has quit [Remote host closed the connection]
Pandaen has joined #ruby
<Spooner> shevy, And I just sent "|eval|system 'rm -rf /'|_|" ;)
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
<shevy> well, eval would be invalid of course
TomJ has quit [Remote host closed the connection]
<shevy> there are only like 6 method calls allowed
x82_nicole has joined #ruby
DaltonUS has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
<shevy> it all comes down to me trying to find alternatives to hardcoding colour values into a string right now :(
<Spooner> Huh?
<shevy> for instance, I started with http://flori.github.com/term-ansicolor/ more or less
<shevy> consider something like this:
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'
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pdamer has joined #ruby
<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
<Xeago> what is that claled?
jon_wingfield has quit [Quit: Bye]
r126l has quit [Ping timeout: 255 seconds]
jon_wingfield has joined #ruby
axl_ has joined #ruby
Nom- has quit [Ping timeout: 240 seconds]
DaltonUS has quit [Quit: DaltonUS]
bean has joined #ruby
bean has quit [Excess Flood]
_justin has quit [Quit: Leaving.]
hmarr has joined #ruby
bean has joined #ruby
bean has quit [Excess Flood]
zomgbie has quit [Ping timeout: 246 seconds]
Nom- has joined #ruby
bean has joined #ruby
bean has quit [Excess Flood]
<Xeago> am I meeting the complexity?
DaltonUS has joined #ruby
DaltonUS has quit [Client Quit]
Mon_Ouie has joined #ruby
bean has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
slainer68 has joined #ruby
jrajav has joined #ruby
theRoUS has joined #ruby
philcrissman has joined #ruby
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
<eindoofus> banisterfiend: that's wierd, in this example there exists a find method within the class Bass of the ActiveRecord module: http://www.railstips.org/blog/archives/2009/05/11/class-and-instance-methods-in-ruby/
<hoelzro> and call that from within push
<eindoofus> Base*
<manifold> Array.push and Array::push do not work
hmarr has joined #ruby
liquid-silence has quit [Ping timeout: 276 seconds]
joonty_ has joined #ruby
<anoldhacker> Anything wrong with super?
<davidcelis> manifold: alias method chain
joonty has quit [Ping timeout: 255 seconds]
jon_wingfield has quit [Quit: Bye]
Jackneill has joined #ruby
F1skr has joined #ruby
<davidcelis> manifold: it's a Rails thing, but this is essentially what you're trying to do: http://api.rubyonrails.org/classes/Module.html#method-i-alias_method_chain
JMcAfreak has joined #ruby
carloslopes has quit [Remote host closed the connection]
<manifold> davidcelis: thank you
marek108 has joined #ruby
dr_neek has quit [Quit: dr_neek]
johnmilton has joined #ruby
jrajav has joined #ruby
buscon has quit [Quit: Leaving]
<manifold> Also, look there is an error http://rubeque.com/problems/transpose-me Is there a way to alias 'assert_equal' to 'assert_equals' from method?
samphippen has joined #ruby
frem has joined #ruby
carloslopes has joined #ruby
chrishunt has joined #ruby
dmiller has quit [Quit: WeeChat 0.3.9.2]
banisterfiend has quit [Remote host closed the connection]
dmiller has joined #ruby
mikepack has joined #ruby
yacks has quit [Read error: Connection reset by peer]
zastern has joined #ruby
s__dana has joined #ruby
segv- has joined #ruby
Jackneill has quit [Remote host closed the connection]
haxrbyte has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 248 seconds]
VolodymyrB has quit [Quit: Leaving.]
theRoUS has quit [Ping timeout: 248 seconds]
chrisnicola has quit [Quit: This computer has gone to sleep]
insane_kangaroo has joined #ruby
PragCypher has quit [Quit: Leaving]
RurouniJones has quit [Remote host closed the connection]
oscardelben has joined #ruby
otters has joined #ruby
blaxter has quit [Quit: foo]
vlad_starkov has joined #ruby
enroxorz-work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
techlife has quit [Ping timeout: 276 seconds]
pyrac has quit [Read error: Operation timed out]
coaster has quit [Quit: ZNC - http://znc.in]
Jackneill has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
Hypn has quit [Remote host closed the connection]
hmarr has quit [Ping timeout: 264 seconds]
Umren has joined #ruby
nateberkopec has joined #ruby
<mpfundstein> i-i-/win 6
notVert has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby
maxok has joined #ruby
guiguidoc has joined #ruby
banisterfiend has joined #ruby
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
carloslopes has joined #ruby
sullenel has joined #ruby
jonahR has joined #ruby
petersaints has joined #ruby
maxok has quit [Quit: Linkinus - http://linkinus.com]
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 ;)
Nom- has joined #ruby
maxmanders has joined #ruby
<Spooner> manifold, Object.send(:define_method, :assert_equals) {|a, b| }
techlife has quit [Ping timeout: 252 seconds]
<apeiros_> doubt that works
<apeiros_> ah
<Spooner> It does.
<apeiros_> Object…
<apeiros_> class
jpfuentes2 has joined #ruby
<Nom-> Someone should update the chanserv message... it still has http://www.modruby.net :P
<apeiros_> yeah, somehow I parsed that as "some object", i.e., not a class
breakingthings has joined #ruby
JohnBat26 has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
tjbiddle has joined #ruby
adeponte has quit [Ping timeout: 255 seconds]
<Spooner> manifold, But to "fix" the problems, you can do: Object.send :alias_method, :assert_equals, :assert_equal
<Spooner> Which was what your original question was. Sorry ;)
<banisterfiend> Spooner: sup equus
<manifold> Spooner, ok, thank you, there is a couple of such problem from this guy
Fretta has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
<Spooner> No idea why they'd use assert_equals when everyone else uses assert_equal, but what can you do? :D
dr_bob has quit [Quit: Leaving.]
chrisnicola has joined #ruby
danneu has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
<apeiros_> who puts asserts into Object? wtf?
dr_neek has joined #ruby
<apeiros_> that's about the worst possible solution
<Spooner> It is the problems in rubeque.
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
a_a_g has joined #ruby
* apeiros_ wouldn't use a test framework which modifies *Object*, I mean, srsly, wtf
<apeiros_> tells me the author lacks significant insights…
<Spooner> It is only a problem because someone posted some broken problems (that use assert_equals, not assert_equal).
oscardelben has quit [Quit: oscardelben]
erlingur has quit [Quit: Computer has gone to sleep.]
<apeiros_> no, monkey patching Object has further implications
* apeiros_ wonders whether the methods are at least private…
* apeiros_ doubts it
techlife has joined #ruby
w400z has joined #ruby
_nitti has quit [Remote host closed the connection]
notVert has quit [Ping timeout: 252 seconds]
Jackneill_ has joined #ruby
dallasm has quit []
_nitti has joined #ruby
havenwood has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
<apeiros_> gah, stupid data dump… how long do I have to wait for ya? :(
<danneu> apeiros_: what are the issues with monkey patching Object in your test environment?
tylersmith has joined #ruby
baba has joined #ruby
<danneu> i like the frameworks that let me just include the test framework wherever i want.
a_a_g1 has joined #ruby
<danneu> and i like the terseness of including it into the runtime main object!
<Spooner> But it isn't a framework per se. It is an online Ruby problem system ;) rubeque.com
elc0 has joined #ruby
mafolz has quit [Quit: mafolz]
<danneu> that's cool! didn't know there was one of those for Ruby
<danneu> btw, for those using minitest, check out https://github.com/sconover/wrong
techlife has quit [Ping timeout: 255 seconds]
<danneu> assert_equal 1, foo VS assert { foo == 1 }
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.
j^2 has quit [Quit: leaving]
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
a_a_g1 is now known as a_a_g
<danneu> noicceee
j^2_ has quit [Quit: leaving]
purp has joined #ruby
j^2 has joined #ruby
hoelzro|away has quit [Ping timeout: 264 seconds]
jgrevich_ has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
yshh has quit [Ping timeout: 256 seconds]
berserkr has joined #ruby
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
wmoxam has joined #ruby
<apeiros_> danneu: you contaminate the whole env
jgrevich has quit [Ping timeout: 244 seconds]
jgrevich_ is now known as jgrevich
codecop has joined #ruby
hoelzro|away has joined #ruby
techlife has joined #ruby
banseljaj has quit [Excess Flood]
techlife has quit [Max SendQ exceeded]
ferdev_ has joined #ruby
<apeiros_> danneu: and that for no good reason too
banseljaj has joined #ruby
Jackneill_ has quit [Remote host closed the connection]
adkron_ has joined #ruby
<danneu> Spooner: py test looks good. Wrong has made me enjoy writing tests because it finally lets me write Ruby
jfl0wers has quit [Ping timeout: 256 seconds]
beiter has joined #ruby
<danneu> `1.should == 1` never felt right. nor did `assert_equal 1, 1`.
kraljev has joined #ruby
<Spooner> danneu, Yeah, absolutely.
<danneu> one day my printer broke and i couldn't keep up my menagerie of dsl cheatsheets anymore
techlife has joined #ruby
<kraljev> how can i convert array ['a', 'b', 'c'] to indexed hash {1 => 'a', 2 => 'b', 3 => 'c'}
<apeiros_> assert_block do 1 == 1 end # there, you need only 1 method to remember :-p
Evixion has quit []
hoelzro|away has quit [Ping timeout: 264 seconds]
<apeiros_> kraljev: Hash::[] + 1..ary.length + zip
<kraljev> or 0-based is also ok
<kraljev> nothing more elegant
greenysan has quit [Ping timeout: 248 seconds]
<Spooner> kraljev, Hash[array.map.with_index(1) {|e, i| [i, e] }]
<kraljev> ?
hbpoison has joined #ruby
hoelzro|away has joined #ruby
<kraljev> i have been googling
aaronmcadam has quit [Quit: aaronmcadam]
<kraljev> and nothing. Any other idea?
carlyle has joined #ruby
jonathanwallace has joined #ruby
<Spooner> kraljev, You only need to solve the problem once.
Eiam has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
zeade has joined #ruby
<danneu> Hash[(1..arr.length).zip(arr)]
<kraljev> :D
<apeiros_> Spooner: ah, TIL with_index(arg)
<apeiros_> didn't know about the arg
jerikl has quit [Ping timeout: 252 seconds]
<kraljev> that is good, thanks danneu
pyrac has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
<apeiros_> kraljev: danneu's solution is the one I proposed, had you bothered to puzzle it together :-p
Xeago has quit [Remote host closed the connection]
<kraljev> then thanks to you too :D
<Spooner> apeiros_, Only in #with_index, not #each_with_index - keep forgetting myself.
Evixion has joined #ruby
<apeiros_> Spooner: that's sad
<danneu> oh, thought apeiros_ code was some sort of next-level syntax
zeade has quit [Client Quit]
<apeiros_> danneu: no, it was a puzzle-box.
zeade has joined #ruby
<apeiros_> I usually refuse to solve problems. I prefer to remain on the "help" stage.
eldariof has joined #ruby
<apeiros_> (solving != helping)
<Spooner> You learned something from my solution :P
<danneu> PUZZLE BOX
<apeiros_> bento-help
samphippen has quit [Quit: Computer has gone to sleep.]
Jackneill_ has joined #ruby
visionary1 has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<banisterfiend> kraljev: Hash[('a'..'z').map.with_index.to_a]
spaceships has joined #ruby
ferdev_ has quit [Ping timeout: 248 seconds]
<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
matt_grill_ has joined #ruby
matt_grill_ has quit [Client Quit]
<apeiros_> manifold: nokogiri
<apeiros_> it comes with examples
_jc has joined #ruby
piotr_ has quit [Read error: Operation timed out]
w400z has quit []
matt_grill_ has joined #ruby
matt_grill_ has quit [Client Quit]
visionary1 has left #ruby [#ruby]
qohelet_ has joined #ruby
<Spooner> And: solution = Nokogiri.parse(xml).magicify!
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.
<manifold> it is here http://nokogiri.org/tutorials/searching_a_xml_html_document.html an example with extracting <character>
ExxKA has quit [Quit: Leaving]
jrajav has quit [Quit: I tend to be neutral about apples]
<apeiros_> manifold: "The Node methods xpath and css actually return a NodeSet"
<apeiros_> from the docs
<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]
noxoc has quit [Quit: noxoc]
_JamieD_ has quit [Quit: _JamieD_]
bigkevmcd has quit [Quit: Ex-Chat]
chrishough has quit [Quit: chrishough]
_jc has quit [Quit: Textual IRC Client: www.textualapp.com]
roadt__ has joined #ruby
a_a_g has quit [Quit: Leaving.]
nga4 has joined #ruby
<danneu> i like Ox for Sax parsing
<apeiros_> is Ox from the same author as Oj?
dv_ has joined #ruby
<danneu> yeh
MattRB has quit [Quit: This computer has gone to sleep]
<danneu> i'm no benchmark wizard but i made this a while back https://gist.github.com/danneu/3977120 nokogiri vs ox
<danneu> ox KILLIN IT
<apeiros_> nice
<Sou|cutter> I wrote a DSL on top of nokogiri sax
roadt_ has quit [Ping timeout: 276 seconds]
<apeiros_> duly noted for when I have big xml to parse
X-Jester has joined #ruby
<apeiros_> danneu: how's memory consumption?
etcetera has quit []
<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
MattRB has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mcatch__ has joined #ruby
<Sou|cutter> you can't really do streaming xpath, though
<Sou|cutter> there are selectors that wouldn't work
<chrishough> outside of colloquy, what do you like for IRC on osx?
<Sou|cutter> chrishough: weechat
martinklepsch has quit [Ping timeout: 255 seconds]
<atmosx> chrishough: weechat-devel on freebsd (via ssh) or textual when I'm sitting on the mac
Al__ has quit [Quit: Al__]
albakry has joined #ruby
poga has joined #ruby
anderse has quit [Quit: anderse]
nicoulaj has quit [Quit: nicoulaj]
Aiur has joined #ruby
withnale has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
berserkr has joined #ruby
evenix has quit []
noxoc has joined #ruby
browndawg has quit [Quit: Leaving.]
sambio has quit [Ping timeout: 256 seconds]
KB1ZIB has joined #ruby
cdt_ has quit [Remote host closed the connection]
<chrishough> thanks atmosx Sou|cutter I will have to try that, although I was looking for something a tad bit prettier
<shevy> hmm is there a way to selectively get all alias-methods from a module or a class?
<shevy> like: def foo; puts 'hi from foo'; end; alias bar foo <--- I only want to retrieve "bar"
poikon has quit [Remote host closed the connection]
<atmosx> chrishough: depends on what you mean by "pretty". You could try 'Adium' for IRC if you like that sort of graphics.
jfl0wers has quit [Ping timeout: 248 seconds]
<atmosx> the fact that I was not able to see 'whats going on' with Colloquy was utterly disturbing and the guy was way too unfamiliar
<chrishough> what's kind of annoying is, I am looking for an easier way to reply to people. something like how twitter "@" works
workmad3 has quit [Ping timeout: 276 seconds]
<chrishough> I do not mind under the hood as much
c0rn has joined #ruby
m3pow has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0.2/20130201185534]]
ferdev_ has joined #ruby
wr has joined #ruby
<chrishough> i will have to try it atmosx
bradleyprice has quit [Remote host closed the connection]
baphled has joined #ruby
<atmosx> chrishough: adium is multi-protocol. Can do irc, aim, msn and so forth..
_nitti has quit [Remote host closed the connection]
<atmosx> maybe twitter too, not sure
ferdev has quit [Quit: Linkinus - http://linkinus.com]
<occupant> I installed xchat through brew... you just have to install xquartz first
marek108 has quit [Remote host closed the connection]
shock_one_ has joined #ruby
shock_one_ has quit [Remote host closed the connection]
<chrishough> I just found out doh!!!! that you can c<tab> in colloquy so I think I am good now atmosx
<chrishough> occupant:
<chrishough> occupant: I use ichat for most chat now
* Sou|cutter shudders involuntarily
mengu has joined #ruby
evenix has joined #ruby
yakko_ is now known as yakko
therod has quit [Quit: Leaving...]
apeiros_ has quit [Remote host closed the connection]
djwonk has joined #ruby
chrishunt has quit [Quit: zZzZzZ...]
bricker`work is now known as bricker
dhruvasagar has quit [Ping timeout: 276 seconds]
moted has quit [Remote host closed the connection]
sambio has joined #ruby
Astral_ has quit [Ping timeout: 252 seconds]
matchaw_ has quit [Read error: Connection reset by peer]
moted has joined #ruby
chrishunt has joined #ruby
ferdev_ has quit [Ping timeout: 248 seconds]
bean has quit [Ping timeout: 256 seconds]
kraljev has joined #ruby
<kraljev> Question: When I access the postgres database, all fields are returned as string. How can I get ints as Integer?
techlife has quit [Ping timeout: 260 seconds]
Norrin has left #ruby ["Textual IRC Client: www.textualapp.com"]
<kraljev> I'm using pg modulče
<kraljev> module
<RubyPanther> kraljev: normally you would use an ORM that would do that for you, but you can also say str.to_i
<kraljev> sure, but how about automatic detection. I could make another query to get schema data from table...
eldariof has quit []
stkowski has joined #ruby
kojul has joined #ruby
bean has joined #ruby
<havenwood> kraljev: the sequel gem is an option: http://sequel.rubyforge.org/rdoc/files/doc/schema_modification_rdoc.html
zerba has quit [Remote host closed the connection]
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
JMcAfreak has quit [Ping timeout: 255 seconds]
<Sou|cutter> sequel is a great gem
frem has quit [Quit: Farewell!]
DuoSRX has quit [Remote host closed the connection]
sayan has joined #ruby
kraljev has left #ruby [#ruby]
tvw has quit [Remote host closed the connection]
runixo_ has left #ruby [#ruby]
techlife has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
frem has joined #ruby
innohero has quit [Ping timeout: 260 seconds]
innohero has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
graft has joined #ruby
carlyle_ has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
tuxillo has quit [Read error: Operation timed out]
warb0 has quit [Ping timeout: 252 seconds]
ozgura has joined #ruby
carlyle has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
liquid-silence has joined #ruby
akl has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
johnpcamara has quit [Quit: johnpcamara]
tuxillo has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
coaster has joined #ruby
hbpoison has joined #ruby
sambio has quit [Ping timeout: 255 seconds]
anderse has joined #ruby
arturaz has joined #ruby
kofno has quit [Remote host closed the connection]
ozgura has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 245 seconds]
Jackneill has joined #ruby
whowantstolivef1 has joined #ruby
decoponio has quit [Quit: Sleeping]
philcrissman has quit [Remote host closed the connection]
ShellFu has joined #ruby
brianpWins has quit [Quit: brianpWins]
djwonk has quit []
djwonk has joined #ruby
tvw has joined #ruby
breakingthings has quit []
baphled has quit [Ping timeout: 252 seconds]
hybris has quit [Read error: Connection reset by peer]
kofno has joined #ruby
QKO has quit [Ping timeout: 248 seconds]
jonathanwallace has joined #ruby
carloslopes has joined #ruby
nik_-_ has joined #ruby
ferdev has joined #ruby
QKO has joined #ruby
mephux has quit [Excess Flood]
angusiguess has joined #ruby
apeiros_ has joined #ruby
QKO has quit [Changing host]
QKO has joined #ruby
skattyadz has joined #ruby
mephux has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
jonathanwallace has quit [Ping timeout: 255 seconds]
MattRB has joined #ruby
jonathanwallace has joined #ruby
poga has quit [Remote host closed the connection]
the_mentat has joined #ruby
BrindleFly has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> does ruby have a semaphore? found some discussion in 2011 that suggested a proposed patch was made to language to add generic semaphore.
skattyadz has quit [Quit: skattyadz]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
jonahR has quit [Quit: jonahR]
ahokaomaeha has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
JMcAfreak has joined #ruby
skattyadz has joined #ruby
<davidcelis> BrindleFly: ^
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> y, know Mutex. but that is very specific semaphore.
willob has joined #ruby
willob has quit [Max SendQ exceeded]
carlyle has joined #ruby
jlebrech has joined #ruby
<davidcelis> that's like.. the definition of a semaphore
<davidcelis> what do you mean a generic semaphore?
<davidcelis> what are you trying to do?
reset has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
carlyle_ has quit [Read error: Connection reset by peer]
<BrindleFly> davidcelis: counting semaphore
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> davidcelis: wait/notify pattern
mengu has quit [Quit: This computer has gone to sleep]
willob has joined #ruby
<davidcelis> can't you do that from within the mutex.synchronize { ... } block?
albakry has quit [Ping timeout: 264 seconds]
willob has quit [Max SendQ exceeded]
d2dchat has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
elaptics`away is now known as elaptics
k610 has joined #ruby
mityaz has joined #ruby
sn0wb1rd has joined #ruby
frogstarr78 has quit [Remote host closed the connection]
Targen has joined #ruby
mfridh has quit [Read error: Operation timed out]
frogstarr78 has joined #ruby
mfridh has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> davidcelis: i can but just wondering if it is part of language. mutex is just semaphore that counts to one, right?
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<davidcelis> doesn't look that way from the doc
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> davidcelis: hate to use java as example, but e.g. java.util.concurrent.Semaphore.
chussenot has quit [Quit: chussenot]
<davidcelis> i don't know java anymore
reset has quit [Quit: Leaving...]
asdfqwer has quit [Ping timeout: 252 seconds]
<BrindleFly> davidcelis: me either, but i am remembering it fondly right now. ;)
<davidcelis> you could always write your own Semaphore in native C ;P
<RubyPanther> if the only reason you want it is that there is some such thing in Java, just roll your own
dmerrick has joined #ruby
<havenwood> Would you guys consider this a semaphore, or am I missing the point? https://gist.github.com/havenwood/4571128
freakazoid0223 has joined #ruby
aquaranto has quit [Remote host closed the connection]
<RubyPanther> there is mutex and a SysV IPC one
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<BrindleFly> RubyPanther: yup, agree. this link made me think it made it in lang though. http://stackoverflow.com/questions/5478789/ruby-semaphores
Proshot has joined #ruby
willob has joined #ruby
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]
willob has quit [Max SendQ exceeded]
Shadow_S has quit [Quit: Textual IRC Client: www.textualapp.com]
poikon has joined #ruby
willob has joined #ruby
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
<banisterfiend> shevy: Yeah
cdt has joined #ruby
ferdev|away is now known as ferdev
abcdefg_ has quit [Ping timeout: 255 seconds]
kristofers has joined #ruby
fgro has joined #ruby
nomenkun has joined #ruby
djwonk has quit [Client Quit]
djwonk has joined #ruby
<Hanmac> FUCK! UnboundMethod#name is a shitty :
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.
breakingthings has quit []
cdt has quit [Ping timeout: 248 seconds]
<Hanmac> banisterfiend & shevy: c.instance_methods(false).select {|m| m.to_s != c.instance_method(m).inspect[/\#(\w+)>/,1]}
philcrissman has joined #ruby
albakry has joined #ruby
EtoTheEyePi has quit [Client Quit]
apok has joined #ruby
pyrac has quit [Quit: pyrac]
<havenwood> Okay, updated with locks, if this isn't a semaphore I don't know what is (I actually don't!)... https://gist.github.com/havenwood/4571128
psyprus has joined #ruby
<havenwood> s/don't/don't really know what one is >.>
<apeiros_> havenwood: dysfunctional, and probably not possible to fix. I can lock a Mutex during your find_all call.
zomgbie has joined #ruby
<havenwood> apeiros_: Can I just lock all queries?
<apeiros_> no. since I can reference a mutex outside your Semaphore class
pu22l3r has joined #ruby
<apeiros_> and thus am not bound by any lock you have within your Semaphore class
* apeiros_ afk
albakry has quit [Quit: Leaving]
djwonk has quit []
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Jackneill has joined #ruby
s0ber_ has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
<havenwood> apeiros_: ahh
albakry has joined #ruby
albakry has quit [Changing host]
albakry has joined #ruby
djwonk has joined #ruby
mordocai has quit [Quit: Page closed]
Xeago has joined #ruby
mercwithamouth has joined #ruby
s0ber has quit [Ping timeout: 240 seconds]
pdamer has quit [Quit: pdamer]
s0ber_ is now known as s0ber
KB1ZIB has joined #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.
Jackneill has joined #ruby
banisterfiend has joined #ruby
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
<banisterfiend> Hanmac: u might have fun with this: https://github.com/banister/debug_inspector
maletor has quit [Quit: Computer has gone to sleep.]
<Hanmac> hm i dont have mri2.0 yet
emaiax has joined #ruby
frankkany has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
mockra has quit [Ping timeout: 248 seconds]
frankkany has quit [Remote host closed the connection]
whowantstolivef1 has quit [Quit: quit]
wakoinc has joined #ruby
qpf has joined #ruby
chrishough has joined #ruby
daniel_-_ has joined #ruby
chrisnicola has joined #ruby
fris has left #ruby [#ruby]
erlingur has joined #ruby
wargasm has joined #ruby
forced_request has joined #ruby
daniel_- has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
dr_neek has left #ruby [#ruby]
daniel_- has joined #ruby
bawigga has quit [Quit: Computer has gone to sleep.]
AndChat| has joined #ruby
petersaints_ has joined #ruby
mando has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 276 seconds]
banseljaj is now known as imami|afk
daniel_-_ has quit [Ping timeout: 245 seconds]
qohelet_ has quit [Quit: qohelet_]
erlingur has quit [Ping timeout: 252 seconds]
stkowski has quit [Quit: stkowski]
erlingur has joined #ruby
petersaints has quit [Ping timeout: 256 seconds]
carloslopes has quit [Remote host closed the connection]
Vivid_ has joined #ruby
rafaelcaricio has quit [Remote host closed the connection]
mityaz has left #ruby ["bb"]
bawigga has joined #ruby
chrisnicola has quit [Quit: Leaving]
<havenwood> 2.0.0-rc2 just released.
generalissimo has quit [Remote host closed the connection]
<banisterfiend> havenwood: what release date are they aiming for the official release?
<havenwood> banisterfiend: Feb 24
mityaz has joined #ruby
<banisterfiend> cool
miskander has joined #ruby
<havenwood> :D
bean has joined #ruby
bean has quit [Excess Flood]
<havenwood> I think JRuby will be ready (or nearly ready?) with 2.0.0 as well. :)
bean has joined #ruby
bean has quit [Excess Flood]
jpfuentes2 has joined #ruby
bean has joined #ruby
bean has quit [Excess Flood]
braoru has quit [Ping timeout: 252 seconds]
<aedorn> I hope Rubinius 2.0 gets official soon
bean has joined #ruby
bean has quit [Excess Flood]
chudler has joined #ruby
bean has joined #ruby
bean has quit [Excess Flood]
<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 ;)
the_mentat has joined #ruby
<Hanmac> mcatch__ http://www.ruby-lang.org/en/documentation/ << you looked there?
<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
Guest__ has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
francisfish has joined #ruby
anoldhacker has quit [Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/]
rking has quit [Quit: WeeChat 0.4.0-rc1]
<Hanmac> mikeg if you want a bundle than ask #bundler
<mcatch__> coin3d: have you looked at rexml?
<mikeg> hmm. maybe a bundle is the way to go. didn't think of that. thankis
<coin3d> mcatch__: not yet, i just saw that there are many xml parsers available
emaiax has quit [Remote host closed the connection]
<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]
arya_ has joined #ruby
miskander has joined #ruby
<banisterfiend> gregor3005: %w{david black}.map(&:upcase)
<gregor3005> banisterfiend: thx, maybe he has an typo in his book
johnpcamara has joined #ruby
<icantbecool> yeah map
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
wakoinc has quit [Quit: wakoinc]
<icantbecool> Sorry, each you're just iterating over the array and not doing anything to each element.
<reactormonk> gregor3005, well, each vs. map
arya has quit [Ping timeout: 256 seconds]
<reactormonk> each is for sideffects, map for converting
cableray has quit [Read error: Connection reset by peer]
Guest__ has quit [Quit: Textual IRC Client: www.textualapp.com]
stormetrooper has joined #ruby
jfl0wers has joined #ruby
<icantbecool> gregor3005: you could also use select.
Eiam has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<gregor3005> thx
<gregor3005> maybe these work in version 1.9.1
fgro has quit [Ping timeout: 255 seconds]
<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?
JumpMast3r has quit [Client Quit]
ananthakumaran has quit [Quit: Leaving.]
<mcatch__> coin3d: you still there?
cornfeedhobo has joined #ruby
<coin3d> mcatch__: yep
jamescarr has quit [Quit: jamescarr]
<mcatch__> did some xml document modifying: https://gist.github.com/anonymous/4742205
<mcatch__> using rexml, doesn't seem too daunting with some modifications to get what you need
JohnBat26 has quit [Ping timeout: 248 seconds]
jamescarr has joined #ruby
icantbecool has quit [Quit: leaving]
cableray has joined #ruby
Eiam has joined #ruby
JumpMast3r has joined #ruby
libryder has quit [Ping timeout: 245 seconds]
elc0 has quit [Quit: Leaving]
<shevy> Hanmac, returns: :ver
jamescarr has quit [Client Quit]
cableray has quit [Client Quit]
miskander has quit [Quit: miskander]
eindoofus has quit [Quit: Leaving]
ryanf has joined #ruby
<Hanmac> :( thats enough i make a bug ticket
Monie has quit [Quit: Quit]
mcatch__ has quit [Quit: Page closed]
zenloop has left #ruby [#ruby]
DanKnox has joined #ruby
danielpcox has quit [Ping timeout: 264 seconds]
kraljev has joined #ruby
nga4 has quit [Ping timeout: 246 seconds]
libryder has joined #ruby
froy has joined #ruby
<kraljev> Is there a more elegant way to write this (less dynamic allocations):
SeanLazer has quit [Quit: SeanLazer]
<kraljev> hash = {}
<kraljev> array.each { |row|
<kraljev> hash[ row[key] ] = row
<kraljev> }
kmurph has quit [Quit: kmurph]
razibog has joined #ruby
Agis__ has joined #ruby
<kraljev> the code converts array to hash, using row values as index
<Hanmac> where is key coming from?
<shevy> hehe
<shevy> from aliens
<kraljev> it is arbitrary chosen
freakazoid0223 has quit [Quit: Leaving]
gregor3005 has left #ruby [#ruby]
backjlack has quit [Remote host closed the connection]
<shevy> it really would be simpler if you would give a subset example, and the desired end result
<shevy> array = %w( abc def ghi jkl ) ... hash = { 'abc' => 'def', 'ghi' => 'jkl' }
<kraljev> key = 1
<kraljev> array = [
<kraljev> ['a', 'b', 'c'],
<kraljev> ['e', 'f', 'g']
<kraljev> ]
tenmilestereo has joined #ruby
<kraljev> hash = {b: ['a', 'b', 'c'], f: ['e', 'f', 'g']}
<kraljev> so, 2D array gets indexed by 2nd column
<heftig> Hash[array.map { |row| [row[1],row] }]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<shevy> damn heftig is fast :(
francisfish has quit [Remote host closed the connection]
<shevy> I was not even finished aligning the code in my editor...
<heftig> i didn't even test it
<heftig> kraljev: that's your job :p
<shevy> {"b"=>["a", "b", "c"], "f"=>["e", "f", "g"]}
razibog has quit [Ping timeout: 255 seconds]
<shevy> well your result is almost perfect
<shevy> for some reason he wants a symbol
<kraljev> :)
<Agis__> I know what ||= does but what does |= do?
<heftig> well, make it row[1].to_sym
<workmad3> heftig: heh :) I was thinking of something like Hash[([key] * ary.size).zip(ary)]
<workmad3> heftig: but yours is nice :)
<shevy> yeah, .to_sym
<heftig> Agis__: a |= b is the same as a = a | b
willob has joined #ruby
<workmad3> although that doesn't do quite the right thing...
<workmad3> (mine that is)
willob has quit [Max SendQ exceeded]
<Agis__> heftig: ahh thanks
willob has joined #ruby
<shevy> so kraljev, heftig's solution works: array = [ ['a', 'b', 'c'], ['e', 'f', 'g'] ]; Hash[array.map { |row| [row[1].to_sym,row] }] => {:b=>["a", "b", "c"], :f=>["e", "f", "g"]}
ner0x has quit [Quit: Leaving]
willob has quit [Max SendQ exceeded]
mattbl has joined #ruby
maj has joined #ruby
<kraljev> yes, and it is a bit more elegant :)
<kraljev> thanks
<shevy> yeah, heftig is a clever man
<kraljev> i'm just wondering whether it is more performant
<shevy> he did not even test it, and it worked
<kraljev> because it creates immediate array
qpf has quit [Remote host closed the connection]
<Agis__> a heftig oh wait, 3 | 4 => 7?
<workmad3> Agis__: yup
<kraljev> @Agis, sure, that is correct
<melty> lol
<workmad3> Agis__: bitwise or
<heftig> kraljev: i doubt it. these more functional approaches tend to churn through temporary objects
<Agis__> I see
<Agis__> thx
<heftig> kraljev: it is more terse, though
<workmad3> Agis__: so 100 | 011
<workmad3> Agis__: == 111
willob has joined #ruby
willob has quit [Max SendQ exceeded]
buibex has quit [Remote host closed the connection]
pdamer has quit [Quit: pdamer]
qpf has joined #ruby
Akuma has quit [Read error: Connection reset by peer]
<workmad3> kraljev: readability > performance initially
<kraljev> I'd agree to that :)
<kraljev> and thanks to heftig, he has really fast brain :D
moted has quit [Remote host closed the connection]
dallasm has joined #ruby
abcdefg_ has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
willob has joined #ruby
willob has quit [Max SendQ exceeded]
ryanf has quit [Read error: Connection reset by peer]
maj has quit [Quit: Textual IRC Client: www.textualapp.com]
F1skr has quit [Quit: WeeChat 0.4.0]
adambeynon has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<Hanmac> Agis__ & workmad3: this is more currect: 0b100 | 0b011 == 0b111
moted has joined #ruby
gg2 has joined #ruby
mephux has quit [Excess Flood]
<workmad3> Hanmac: I'm not a big fan of 0b prefix for binary tbh...
willob has joined #ruby
<Hanmac> hm maybe but it is more true than your line
willob has quit [Max SendQ exceeded]
<workmad3> Hanmac: from context of 'bitwise or', base 2 is implied :P
mando has joined #ruby
mephux has joined #ruby
willob has joined #ruby
huttan has quit [Remote host closed the connection]
willob has quit [Max SendQ exceeded]
elux has quit [Quit: Leaving...]
willob has joined #ruby
ryanf has quit [Read error: Connection reset by peer]
willob has quit [Max SendQ exceeded]
nieDaZ has quit [Ping timeout: 246 seconds]
<workmad3> Hanmac: but for your benefit ;) 100₂ | 011₂ == 111₂
jtharris has quit [Quit: WeeChat 0.4.0]
luckyruby has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
ryanf has joined #ruby
ecto has quit [Quit: Computer has gone to sleep.]
<kraljev> does it make any sense to require() the libraries in the code
<kraljev> or is it better to just do that in the top of the file
<Hanmac> kraljev it depends
<kraljev> for example, require 'haml' if extension == 'haml'
<Hanmac> yeah i do similar stuff too
<kraljev> fileName = 'views/'+name.join('/')+'.erb'
willob has joined #ruby
<kraljev> if File.exists? fileName
<kraljev> require 'erb'
<kraljev> ERB.new(File.read(fileName)).result binding
<kraljev> else
willob has quit [Max SendQ exceeded]
<kraljev> fileName = 'views/'+name.join('/')+'.haml'
<kraljev> return unless File.exists? fileName
<kraljev> require 'haml'
<gf3> HNNGGGHHHHHH
<kraljev> Haml::Engine.new(File.read(fileName)).render binding, locals
<kraljev> end
<kraljev> example
<workmad3> kraljev: http://gist.github.com
jonathanwallace has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
<workmad3> kraljev: be warned that code loading is difficult to make thread safe
<workmad3> kraljev: so it's frequently better to do all your code loading @ the start, not inline
<kraljev> by conditionally loading i can reduce memory footprint?
zph has joined #ruby
zph has quit [Excess Flood]
willob has joined #ruby
emmanuelux has joined #ruby
willob has quit [Max SendQ exceeded]
zph has joined #ruby
zph has quit [Excess Flood]
<gf3> workmad3: I was pleased to learn that `autoload` is thread safe in JRuby 1.7+
<workmad3> kraljev: however, you can do things like 'begin; require "haml"; rescue LoadError; HAML_ENABLED = false; else; HAML_ENABLED = true; end;'
willob has joined #ruby
<workmad3> kraljev: and it's unlikely to reduce your memory footprint
willob has quit [Max SendQ exceeded]
zph has joined #ruby
zph has quit [Excess Flood]
J-_-L has joined #ruby
<workmad3> kraljev: not least because, if someone has installed haml, then they're likely to be using it
J-_-L has quit [Client Quit]
jerikl has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
otters has quit [Ping timeout: 252 seconds]
willob has joined #ruby
<kraljev> Ok, what about from the code beauty and organisation standpoint
willob has quit [Max SendQ exceeded]
<workmad3> gf3: nice :) I'm guessing jruby has done some fun stuff with JVM class-loaders there
zph has joined #ruby
zph has quit [Excess Flood]
<workmad3> kraljev: doesn't scan there either, tbh
Umren has quit [Read error: Connection reset by peer]
<kraljev> what is your opinion?
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
zph has joined #ruby
zph has quit [Excess Flood]
<workmad3> kraljev: I like to do all my code loading at the start of my app
<workmad3> kraljev: not do it in dibs and dabs throughout
willob has joined #ruby
<chrishough> If interested http://ycombinator.com/apply.html just opened up :)
willob has quit [Max SendQ exceeded]
DaZ- has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
<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]
neersighted has quit [Quit: http://neersighted.com]
zph has joined #ruby
zph has quit [Excess Flood]
Uranio has quit [Ping timeout: 246 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
kpshek has joined #ruby
swarren has joined #ruby
skbierm has quit [Ping timeout: 276 seconds]
doug has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
<doug> ok, got me a class in a class.
chussenot has quit [Quit: chussenot]
<doug> class ActivitiesPresenter; include ActionView::Helpers; class ActivityPresenter # ...
emmanuelux has quit [Ping timeout: 248 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
<doug> there a decent way ActivityPresenter methods can access stuff in ActionView::Helpers ?
art_man1 has quit [Quit: art_man1]
cupakromer has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
Jackneill has quit [Remote host closed the connection]
ferdev|away is now known as ferdev
otters has quit [Ping timeout: 252 seconds]
cisco has quit [Ping timeout: 257 seconds]
aapzak has joined #ruby
fourq has quit [Quit: Lost terminal]
DaZ- is now known as DaZ
danielpcox has quit [Ping timeout: 245 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
DaZ is now known as Guest34984
zph has joined #ruby
zph has quit [Excess Flood]
jerius has quit [Ping timeout: 245 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
nateberkopec has quit [Quit: Leaving...]
swarren has quit [Quit: swarren]
zph has joined #ruby
zph has quit [Excess Flood]
<doug> i realize this may be a deep question...
<doug> beyond the intellectual limits of mere mortals
swarren has joined #ruby
<jacktrick> Go on...
zph has joined #ruby
zph has quit [Excess Flood]
evenix has quit [Remote host closed the connection]
carlyle_ has quit [Remote host closed the connection]
zph has joined #ruby
zph has quit [Excess Flood]
<doug> i'm also hoping for a better answer than ActivitiesPresenter.new().method...
zph has joined #ruby
zph has quit [Excess Flood]
noxoc has quit [Quit: noxoc]
v0n has quit [Read error: Operation timed out]
colonolGron has quit [Quit: leaving]
blacktulip has quit [Remote host closed the connection]
zph has joined #ruby
zph has quit [Excess Flood]
mattmcclure has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
nateberkopec has joined #ruby
stkowski has quit [Quit: stkowski]
zph has joined #ruby
zph has quit [Excess Flood]
emergion has joined #ruby
<shock_one> doug, there is a «delegate» method, but I'm not sure if it works on all classes or only association.
swarren has left #ruby ["Textual IRC Client: www.textualapp.com"]
interactionjaxsn has quit [Remote host closed the connection]
<emergion> If anyone is looking for a Ruby 1.9.3 RPM for enterprise linux based distributions, here it is https://github.com/emergion/ruby19
zph has joined #ruby
zph has quit [Excess Flood]
<emergion> enterprise linux being, fedora, centos etc
nateberkopec has quit [Client Quit]
zph has joined #ruby
zph has quit [Excess Flood]
emmanuelux has joined #ruby
<shock_one> emergion, show me a single person who uses fedora in production
<emergion> who said anything about production?
fgro has joined #ruby
blacktulip has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
thufir_ has joined #ruby
huoxito has quit [Ping timeout: 276 seconds]
<ShellFu> well people use windows in production ;)
<doug> huh, was hoping to avoid any kinda rails thing
<shock_one> emergion, my brain interpreted enterprise as productions for some reason
v0n has joined #ruby
mattbl has joined #ruby
<emergion> ShellFu, very nice :)
psyprus has quit [Ping timeout: 248 seconds]
zph has joined #ruby
zph has quit [Excess Flood]
<emergion> shock_one, all good, but you're right, no one would use it in production.
<shock_one> doug, I wouln't mention rails things if you didn't write the magic word ActionView
zph has joined #ruby
zph has quit [Excess Flood]
<doug> yeah, i understand. thanks for the try.
<ShellFu> if anyone is interested I wrote a pupet enc in ruby using mongo. Id be interested in feedback. Keep in mind im a unix admin and not a programming, but im getting there. Blog post >http://shellfu.com< and code >https://github.com/shellfu/mongoenc/blob/master/enc.rb<
swarren has joined #ruby
<ShellFu> programmer that is heh
zph has joined #ruby
zph has quit [Excess Flood]
<Hanmac> "rails is know known as 'the-gem-that-should-not-be-called'"
Cork has quit [Read error: Connection reset by peer]
luckyruby has quit [Remote host closed the connection]
zph has joined #ruby
zph has quit [Excess Flood]
cableray has joined #ruby
<doug> the rock with hard edges that's been forced into my rectum
bean has quit [Quit: Computer has gone to sleep.]
<ShellFu> lmao damn
brian__ is now known as jets
<Xeago> banisterfiend: you have sc2 right?
blacktulip has quit [Remote host closed the connection]
zph has joined #ruby
zph has quit [Excess Flood]
cisco has joined #ruby
Guest6228 has joined #ruby
qpf has joined #ruby
iatecake has joined #ruby
bean has joined #ruby
alanp_ has joined #ruby
<jets> herro
Guest6228 has quit [Client Quit]
jamescarr has joined #ruby
alanp has quit [Disconnected by services]
alanp_ is now known as alanp
Liquid-ness-mons has joined #ruby
<Liquid-ness-mons> yo sires
qpf has quit [Remote host closed the connection]
iatecake has left #ruby [#ruby]
seba4 has quit [Ping timeout: 248 seconds]
<jets> how do you ruby
Neomex has joined #ruby
<Liquid-ness-mons> who's ruby?
apok has quit [Quit: apok]
kraljev has quit [Ping timeout: 252 seconds]
<Hanmac> jets i clash stones together and pick the right parts out
generalissimo has quit [Remote host closed the connection]
<banisterfiend> Xeago: never played it
<RubyPanther> it
<banisterfiend> Xeago: i'm playing ni no kuni instead :)
<RubyPanther> s all in the slippers
jamescarr has quit [Client Quit]
SCommette has quit [Quit: SCommette]
v0n has quit [Ping timeout: 245 seconds]
QKO has quit [Read error: Connection reset by peer]
qpf has joined #ruby
swarren has left #ruby ["Textual IRC Client: www.textualapp.com"]
jonahR has quit [Quit: jonahR]
ukd1 has quit [Quit: Lost terminal]
stkowski has joined #ruby
willob has quit [Quit: Leaving.]
Neomex has quit [Quit: Neomex]
Liquid-- has joined #ruby
karancho has joined #ruby
solidoodlesuppor has quit [Quit: ChatZilla 0.9.89 [Firefox 18.0.2/20130201065344]]
etcetera has quit []
seba4 has joined #ruby
_nitti has quit [Remote host closed the connection]
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
mikepack has quit [Remote host closed the connection]
abcdefg_ has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
swarley-freenode has joined #ruby
mikepack has joined #ruby
Liquid-ness-mons has quit [Ping timeout: 245 seconds]
idkazuma has joined #ruby
etcetera has joined #ruby
greenysan has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
mando has quit [Remote host closed the connection]
s__dana has quit [Quit: s__dana]
mando has joined #ruby
mikepack_ has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
shock_one has quit [Ping timeout: 246 seconds]
pac1 has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
k610 has quit [Quit: Leaving]
Criztian has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
mcatch has quit [Remote host closed the connection]
idkazuma has quit [Ping timeout: 248 seconds]
mcatch has joined #ruby
wpaulson has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
johnpcamara has quit [Quit: johnpcamara]
josh0x0 has quit [Quit: josh0x0]
wf2f has quit [Ping timeout: 245 seconds]
josh0x0 has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
mityaz has quit [Quit: See ya!]
pu22l3r has joined #ruby
berserkr has quit [Quit: Leaving.]
petersaints has joined #ruby
johngalt2600 has quit [Ping timeout: 245 seconds]
onemanjujitsu has joined #ruby
adkron_ has quit [Ping timeout: 246 seconds]
d2dchat has quit [Remote host closed the connection]
petersaints_ has quit [Ping timeout: 256 seconds]
xbayrockx has joined #ruby
chrishough has quit [Quit: chrishough]
wf2f has quit [Ping timeout: 256 seconds]
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
mmitchell has quit [Remote host closed the connection]
jimeh has quit [Quit: Computer has gone to sleep.]
wpaulson has left #ruby [#ruby]
QKO has joined #ruby
havenwood has joined #ruby
reppard has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
QKO has quit [Changing host]
QKO has joined #ruby
dallasm has joined #ruby
TheFuzzball has quit [Quit: Computer has gone to sleep.]
Virunga has quit [Remote host closed the connection]
psyprus has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
generalissimo has joined #ruby
tenmilestereo has quit [Quit: Leaving]
frem has quit [Ping timeout: 246 seconds]
graft has quit [Quit: Lost terminal]
arya_ has quit [Ping timeout: 260 seconds]
cisco has quit [Quit: Leaving.]
purp has quit [Quit: purp]
havenwood has quit [Remote host closed the connection]
lessless has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
Es0teric has joined #ruby
stopbit has quit [Quit: Leaving]
goldenwest has joined #ruby
bean has joined #ruby
<mcatch> hiya ruby lovers :)
therod has quit [Quit: Leaving...]
mcqueenorama has quit [Remote host closed the connection]
<Liquid--> word
eric has joined #ruby
dustint has quit [Quit: Leaving]
eric is now known as Guest34005
arya has joined #ruby
fgro has quit [Ping timeout: 255 seconds]
kmurph has joined #ruby
Guest34005 has quit [Remote host closed the connection]
jimeh has joined #ruby
nomenkun has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
ahokaomaeha has joined #ruby
arya_ has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
greenysan has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 248 seconds]
etcetera has quit []
chrishough has joined #ruby
mattmcclure has left #ruby [#ruby]
arya has quit [Ping timeout: 246 seconds]
onemanjujitsu has quit [Quit: onemanjujitsu]
x82_nicole has quit [Quit: Computer has gone to sleep.]
pavilionXP has joined #ruby
cupakromer has quit []
Agis__ is now known as hehehe
BRMatt has quit [Quit: Leaving]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
daig0ro has joined #ruby
etcetera has joined #ruby
mrsolo has quit [Quit: Leaving]
emmanuel__ has joined #ruby