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
mmitchel_ has joined #ruby
anonymuse has quit [Quit: Linkinus - http://linkinus.com]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nkts_ has joined #ruby
kofno has quit [Remote host closed the connection]
mattbl has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
mmitchel_ has quit [Remote host closed the connection]
CraHan|out is now known as CraHan
dustint has quit [Quit: Leaving]
gtc has joined #ruby
mmitchell has quit [Ping timeout: 248 seconds]
PanPan has joined #ruby
w400z has quit [Quit: Computer has gone to sleep.]
nanothief has joined #ruby
PanPan has quit [Ping timeout: 256 seconds]
zastern has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
adamjleonard has quit [Quit: Leaving...]
Dwarf has quit [Quit: I LOVE UNIVERSE!]
hbpoison has quit [Read error: Connection reset by peer]
ffranz has quit [Quit: Leaving]
Mchl has quit [Ping timeout: 240 seconds]
etcetera has quit []
hbpoison has joined #ruby
clooth has joined #ruby
adamjleonard has joined #ruby
ebobby has quit [Quit: Lost terminal]
samphippen has quit [Quit: Computer has gone to sleep.]
h0rr has quit [Quit: h0rr]
etcetera has joined #ruby
sailias has quit [Ping timeout: 248 seconds]
hbpoison has quit [Ping timeout: 252 seconds]
khimera has quit [Quit: khimera]
peregrine81 has quit [Quit: Computer sleeping.]
tcstar has quit [Ping timeout: 248 seconds]
earthquake has joined #ruby
maycon has joined #ruby
Mchl has joined #ruby
axl_ has quit [Quit: axl_]
Hanmac has quit [Quit: Leaving.]
nkts_ has quit [Read error: Connection reset by peer]
ichilton has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby
brianpWins has quit [Quit: brianpWins]
RehpotsirhC has left #ruby [#ruby]
joofsh has quit [Remote host closed the connection]
vierja has quit [Quit: Computer has gone to sleep.]
jlast has quit [Remote host closed the connection]
mattbl has quit [Quit: This computer has gone to sleep]
m8 has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
ryanf has quit [Read error: Connection reset by peer]
dkannan has quit [Ping timeout: 252 seconds]
vierja has joined #ruby
Demux has quit [Ping timeout: 252 seconds]
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
Monie has joined #ruby
vierja has joined #ruby
bean has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
earthquake has quit [Ping timeout: 244 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
tcstar has joined #ruby
julian-delphiki has quit [Ping timeout: 248 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
ryanf has joined #ruby
vierja has joined #ruby
yekta has joined #ruby
mattbl has joined #ruby
georgi has quit [Ping timeout: 252 seconds]
sqrel has joined #ruby
<havenwood> heftig: Cut a gem implementing those methods based on a ruby-core request, thanks for the refactor! https://github.com/havenwood/hashy/blob/master/README.md
workmad3 has quit [Ping timeout: 240 seconds]
<havenwood> Uhhg, shouldn't have named it 'hashy', too easily confused with 'hashie'. I forgot that exists...
<havenwood> oh well, just proof-of-concept :P
miskander has quit [Quit: miskander]
bluenemo has quit [Remote host closed the connection]
ichilton has joined #ruby
m8 has quit [Quit: Sto andando via]
tenmilestereo has quit [Quit: Leaving]
<havenwood> Think those hash methods are worth adding to Ruby 2.1? Worth having?
Demux has joined #ruby
atal421 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
atal421 has quit [Client Quit]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
tcstar has quit [Remote host closed the connection]
georgi has joined #ruby
freakazoid0223 has joined #ruby
earthquake has joined #ruby
w400z has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
Kuifje has quit [Ping timeout: 248 seconds]
bubblehead has joined #ruby
woolite64_ has quit [Read error: Connection timed out]
blaxter has quit [Quit: foo]
w400z has quit [Ping timeout: 252 seconds]
mattbl has joined #ruby
v0n has quit [Read error: Operation timed out]
erlingur has joined #ruby
w400z has joined #ruby
<X-Jester> if you declare an instance variable (i.e. @foo) in the global scope, what's it actually belong to? main?
mephux has quit [Excess Flood]
w400z has quit [Client Quit]
mephux has joined #ruby
lancepantz is now known as lancepantz_
danneu has quit [Ping timeout: 252 seconds]
slainer68 has quit [Remote host closed the connection]
meoblast001 has joined #ruby
lethjakman has quit [Ping timeout: 276 seconds]
mikepack has quit [Remote host closed the connection]
brianpWins has joined #ruby
timonv has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
alex__c2022 has joined #ruby
alex__c2022 has quit [Client Quit]
timonv has joined #ruby
PanPan has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 248 seconds]
alanp_ is now known as alanp
havenwood has quit [Remote host closed the connection]
bean has quit [Read error: Connection reset by peer]
ahokaomaeha has joined #ruby
bean has joined #ruby
SCommette has joined #ruby
UdontKnow has quit [Ping timeout: 252 seconds]
nga4 has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 248 seconds]
lancepantz_ is now known as lancepantz
PanPan has quit [Ping timeout: 276 seconds]
chussenot has quit [Quit: chussenot]
pskosinski has quit [Ping timeout: 248 seconds]
backjlack has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: chrishough]
emmanuelux has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
UdontKnow has joined #ruby
Squarepy has quit [Quit: Leaving]
mattbl has quit [Quit: This computer has gone to sleep]
banjara has quit [Quit: Leaving.]
joofsh has joined #ruby
NsOmNiAc has quit [Ping timeout: 264 seconds]
kristofers has quit []
timhaines has quit [Quit: timhaines]
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
pskosinski has joined #ruby
ryanf has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
cableray has quit [Quit: cableray]
ryanf has joined #ruby
erlingur has quit [Quit: http://erlingur.is]
xardas has quit [Ping timeout: 244 seconds]
Michael__ has joined #ruby
Michael__ has quit [Remote host closed the connection]
subbyyy has joined #ruby
icole has quit [Remote host closed the connection]
Caleb has joined #ruby
Caleb is now known as Guest56385
tealmage has joined #ruby
Ontolog has quit [Remote host closed the connection]
pac1 has joined #ruby
daniel_- has quit [Ping timeout: 256 seconds]
apok has quit [Quit: apok]
mcqueenorama has quit [Remote host closed the connection]
woolite64 has joined #ruby
ferdev is now known as ferdev|away
hbpoison has joined #ruby
fragmachine has joined #ruby
jimeh has joined #ruby
etcetera has quit []
<fragmachine> How do I sort the results of Benchmark?
danneu has joined #ruby
`brendan has joined #ruby
vlad_starkov has joined #ruby
Mattix has quit [Quit: Leaving]
Mattix has joined #ruby
wf2f has quit [Ping timeout: 252 seconds]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
timonv_ has joined #ruby
Mattix has quit [Client Quit]
Mattix has joined #ruby
timonv has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
tealmage has quit [Remote host closed the connection]
zzing has joined #ruby
baba has quit [Ping timeout: 248 seconds]
nfk has quit [Quit: yawn]
joeycarmello has quit [Remote host closed the connection]
ferdev|away is now known as ferdev
vlad_starkov has quit [Read error: Connection reset by peer]
v0n has joined #ruby
timhaines has joined #ruby
Guest56385 has quit [Quit: Guest56385]
nilobject has quit [Quit: nilobject]
postmodern has joined #ruby
twoism has quit [Remote host closed the connection]
sn0wb1rd has quit [Quit: sn0wb1rd]
jjbohn has joined #ruby
PanPan has joined #ruby
Virunga has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
ferdev is now known as ferdev|away
ferdev|away is now known as ferdev
PanPan has quit [Ping timeout: 255 seconds]
etcetera has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
goraxe has joined #ruby
benlieb has joined #ruby
etcetera has quit [Client Quit]
squidBits has quit [Quit: squidBits]
charliesome has joined #ruby
fuzai has joined #ruby
w400z has joined #ruby
w400z has quit [Client Quit]
bradhe has quit [Remote host closed the connection]
georgi has quit [Ping timeout: 264 seconds]
danneu has quit [Ping timeout: 248 seconds]
joshsmith has quit [Quit: joshsmith]
RonScagz has joined #ruby
timonv has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
moos3 has joined #ruby
NsOmNiAc has joined #ruby
dku has joined #ruby
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
joshsmith has joined #ruby
cableray has joined #ruby
joshsmith has quit [Client Quit]
<dku> Is there a Ruby equivalent to Lua's 'local' or Perl's 'my'?
Voodoofish430 has quit [Quit: Leaving.]
fragmachine has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
georgi has joined #ruby
timonv has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
jjbohn has quit [Quit: Leaving...]
skattyadz has joined #ruby
sqrel has quit [Ping timeout: 248 seconds]
luckyrub_ has joined #ruby
etcetera has joined #ruby
pdamer has joined #ruby
luckyruby has quit [Ping timeout: 245 seconds]
xbayrockx has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Read error: Connection reset by peer]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
wf2f has quit [Ping timeout: 252 seconds]
shadowshell has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
shadowshell has quit [Client Quit]
shadowshell has joined #ruby
hbpoison has joined #ruby
shadowshell is now known as shadowshell_
shadowshell_ is now known as shadowshell
adeponte has quit [Remote host closed the connection]
shadowshell has quit [Client Quit]
shadowshell has joined #ruby
georgi has quit [Ping timeout: 252 seconds]
Mattix has quit [Quit: Leaving]
Mattix has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
moshee has quit [Ping timeout: 257 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
cableray has quit [Quit: cableray]
ferdev is now known as ferdev|away
L1 has joined #ruby
goraxe has quit [Ping timeout: 252 seconds]
clooth has quit [Quit: clooth]
georgi has joined #ruby
georgi has quit [Max SendQ exceeded]
tylersmith has quit [Quit: tylersmith]
eka has quit [Quit: Computer has gone to sleep.]
mockra has quit [Remote host closed the connection]
lancepantz is now known as lancepantz_
idkazuma has quit [Remote host closed the connection]
jimeh has quit [Quit: Computer has gone to sleep.]
stkowski has quit [Quit: stkowski]
_carloslopes has joined #ruby
chendo_ has quit [Read error: Operation timed out]
_carloslopes has quit [Read error: Connection reset by peer]
chendo_ has joined #ruby
carloslopes has joined #ruby
justsee has quit [Quit: Leaving...]
hbpoison has quit [Ping timeout: 248 seconds]
subbyyy has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby
etcetera has quit [Ping timeout: 240 seconds]
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
georgi has joined #ruby
evenix_ has joined #ruby
hbpoison has joined #ruby
bricker`LA has joined #ruby
chendo_ has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
__BigO__ has joined #ruby
cableray has joined #ruby
etcetera has joined #ruby
main has quit [Ping timeout: 244 seconds]
carloslopes has quit [Ping timeout: 248 seconds]
evenix has quit [Ping timeout: 255 seconds]
chendo_ has joined #ruby
a_a_g has joined #ruby
stopbit has joined #ruby
angusiguess has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
etcetera has quit []
hbpoison has joined #ruby
mlr has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
radq has joined #ruby
PanPan has joined #ruby
georgi has quit [Ping timeout: 252 seconds]
emocakes has quit [Quit: emocakes]
skattyadz has quit [Quit: skattyadz]
dku has quit [Quit: dku]
skattyadz has joined #ruby
banister_ is now known as banister`sleep
georgi has joined #ruby
etcetera has joined #ruby
allaire has joined #ruby
JMcAfreak has quit [Ping timeout: 252 seconds]
PanPan has quit [Ping timeout: 256 seconds]
fuzai has quit [Ping timeout: 260 seconds]
etcetera has quit [Client Quit]
araujo has quit [Quit: Leaving]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jarjar_prime has quit [Quit: Sleep time.]
angusiguess has quit [Ping timeout: 240 seconds]
kop__ has quit [Ping timeout: 264 seconds]
ryanf has quit [Read error: Connection reset by peer]
radq_ has joined #ruby
ryanf has joined #ruby
radq has quit [Ping timeout: 252 seconds]
mattbl has joined #ruby
brianpWins has quit [Quit: brianpWins]
zigomir has quit [Quit: zigomir]
poikon has joined #ruby
skattyadz has quit [Quit: skattyadz]
ryanf has quit [Read error: Connection reset by peer]
xpen has joined #ruby
adamjleonard has quit [Quit: Leaving...]
ryanf has joined #ruby
etcetera has joined #ruby
georgi has quit [Ping timeout: 252 seconds]
vierja has quit [Ping timeout: 252 seconds]
poikon has quit [Ping timeout: 256 seconds]
vierja has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
noxoc has quit [Quit: noxoc]
timonv has joined #ruby
__BigO__ has quit [Remote host closed the connection]
timonv_ has quit [Read error: Connection reset by peer]
adeponte has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
pavilionXP has quit [Ping timeout: 252 seconds]
georgi has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
etcetera has quit []
jeffreybaird has joined #ruby
Targen has joined #ruby
radq has joined #ruby
radq_ has quit [Ping timeout: 252 seconds]
JMcAfreak has joined #ruby
idkazuma has joined #ruby
a_a_g has quit [Quit: Leaving.]
adeponte has quit [Remote host closed the connection]
jekotia has quit [Remote host closed the connection]
otherj has quit []
lancepantz_ is now known as lancepantz
nat_home has joined #ruby
bradhe has joined #ruby
PanPan has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
etcetera has joined #ruby
tjbiddle_ has joined #ruby
vierja has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
robonerd has joined #ruby
mrdtt has joined #ruby
<robonerd> after i do "foo = "bar"", and foo = "bar", how do i 'unset' foo so it's no longer a valid local?
mattbl has joined #ruby
Zespre has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
Zespre has joined #ruby
one has joined #ruby
tjbiddle has quit [Ping timeout: 256 seconds]
vierja has joined #ruby
tjbiddle_ has quit [Ping timeout: 248 seconds]
crackfu has joined #ruby
<robonerd> why does ruby -e foo = "bar" fail with: -e:1: undefined local variable or method `foo' for main:Object (NameError) ? please
kofno has joined #ruby
radq_ has joined #ruby
radq has quit [Ping timeout: 256 seconds]
Monie has quit [Quit: Quit]
mattbl has quit [Ping timeout: 260 seconds]
Spooner has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 252 seconds]
thufir_ has joined #ruby
PanPan has quit [Remote host closed the connection]
<pskosinski> robonerd: Use quotes: ruby -e 'foo = "bar"'
Asher has quit [Quit: Leaving.]
timonv has joined #ruby
radq_ has quit [Remote host closed the connection]
<robonerd> what's the command to then print foo?
<robonerd> ruby -e 'foo = "bar"; print foo'
<robonerd> ther ew ego
<robonerd> thanks pskosinski
PanPan has joined #ruby
zzing has quit [Quit: Computer has gone to sleep.]
nopolitica has joined #ruby
timonv has quit [Read error: Connection reset by peer]
<pskosinski> Is it for tests or do you want to run script using something like this…? You can run irb if you want to learn/test something
timonv has joined #ruby
radq has joined #ruby
himsin has quit [Ping timeout: 248 seconds]
nopolitica has quit [Client Quit]
<robonerd> i want to run programs by shitting text into ./ruby -e
<robonerd> in ruby/irc, after i do "foo = "bar"", and foo = "bar", how do i 'unset' foo so it's no longer a valid local?
Asher has joined #ruby
<robonerd> like, as it would behave before i did foo = ...
mockra has joined #ruby
yacks has joined #ruby
joofsh has quit [Remote host closed the connection]
bradleyprice has joined #ruby
mockra has quit [Ping timeout: 244 seconds]
<robonerd> pskosinski ?
mlr has joined #ruby
lancepantz is now known as lancepantz_
<pskosinski> I have no idea. Only thing I know is that there is nothing like unset in Ruby.
Takehiro has joined #ruby
<pskosinski> Maybe there is a way… I am not very experienced…
<pskosinski> Well not "there is nothing like unset" but "ad far as I know there is nothing as unset" ^^
freakazoid0223 has quit [Ping timeout: 256 seconds]
<pskosinski> as far *
<robonerd> dang
lancepantz_ is now known as lancepantz
angusiguess has joined #ruby
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby
<mlr> unset as in http://php.net/unset ?
radq has quit [Remote host closed the connection]
etcetera has quit []
chendo_ has quit [Read error: Operation timed out]
idiocrash has joined #ruby
<robonerd> i don't 'do' php
<robonerd> so i won't even look at that trash
<robonerd> it's real easy. you type foo and you haven't declared/defined it, you get an error
<robonerd> i want to set it, use it, then unset it
<robonerd> so if i type foo again, i get error
chendo_ has joined #ruby
mattbl has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
timonv_ has joined #ruby
noodletraveler has joined #ruby
timonv has quit [Read error: Connection reset by peer]
dallasm has joined #ruby
fuzai has joined #ruby
bradhe has joined #ruby
mattbl has quit [Client Quit]
<pskosinski> I guess that not possible, if you want to get name error…
<pskosinski> Can't you just set var to nil and then check if foo …
<robonerd> i could, but that's different
ryez has joined #ruby
georgi has quit [Ping timeout: 256 seconds]
mercwithamouth has quit [Ping timeout: 255 seconds]
<X-Jester> robonerd: any luck if you just assign foo to nil?
mercwith1mouth has quit [Ping timeout: 255 seconds]
<X-Jester> rather, assign nil to 'foo' ?
<X-Jester> you can basically say foo = nil, and if you want to be doubly sure, try ObjectSpace.garbage_collect after
hbpoison has joined #ruby
<pskosinski> He wants defined? foo to return nil, iirc
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
<pskosinski> iiuc :p if I understand correctly…
<robonerd> no i want it like it was never set, but ruby can't do that
yshh has quit [Remote host closed the connection]
nopolitica has joined #ruby
yshh has joined #ruby
<pskosinski> yeah, so defined? var is checking if var exists :p
aedorn has joined #ruby
georgi has joined #ruby
radq has joined #ruby
nopolitica has quit [Client Quit]
jarjar_prime has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
<X-Jester> robonerd: is there any reason using object.nil? wouldn't work for you?
<X-Jester> it seems like that logic would work just as well as defined? would
<pskosinski> Sry… that defined was kinda from me… He just wants to "destroy/remove" variable, so he could get name error
Nisstyre has quit [Ping timeout: 245 seconds]
benlieb has quit [Quit: benlieb]
<pskosinski> foo = "bar", unset foo; puts foo; undefined local variable or method `foo' …
John1 has joined #ruby
<robonerd> ^
<pskosinski> Not sure why anyway, I prefer to not get errors. :p
<X-Jester> robonerd: why can't you just use a nil check
<X-Jester> like the rest of the ruby world
joofsh has joined #ruby
allaire has quit []
idkazuma has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 252 seconds]
bricker`LA has quit [Ping timeout: 255 seconds]
angusiguess has joined #ruby
adeponte has joined #ruby
robonerd has left #ruby ["..."]
ndboost has joined #ruby
mattbl has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
joofsh has quit [Remote host closed the connection]
hbpoison has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
moshee has quit [Ping timeout: 245 seconds]
moshee has joined #ruby
xemu has quit [Quit: Nettalk6 - www.ntalk.de]
mattbl has quit [Ping timeout: 248 seconds]
Myconix has quit [Quit: Freeing RAM]
nopolitica has joined #ruby
aedornm has joined #ruby
tjbiddle_ has joined #ruby
Myconix has joined #ruby
mmitchell has quit [Remote host closed the connection]
Nisstyre has joined #ruby
mattbl has joined #ruby
danieldocki has quit [Quit: Leaving...]
mcqueenorama has joined #ruby
radic has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
tjbiddle_ is now known as tjbiddle
mmitchell has joined #ruby
bradleyp_ has joined #ruby
nanothief has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Jeaye has quit [Quit: brb]
S0da has joined #ruby
radic_ has quit [Ping timeout: 245 seconds]
Jeaye has joined #ruby
S0da has quit [Remote host closed the connection]
v0n has joined #ruby
justsee has joined #ruby
John1 has left #ruby [#ruby]
nanothief has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
cparen has joined #ruby
codezombie has joined #ruby
euiuer has joined #ruby
euiuer has left #ruby [#ruby]
mattbl has quit [Quit: This computer has gone to sleep]
bubblehead has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
whitedawg has joined #ruby
ryanf has quit [Quit: leaving]
Inoperable is now known as zz_Inoperable
ahokaomaeha is now known as nishidabianya
ndboost has quit [Remote host closed the connection]
nishidabianya is now known as lolcathost
pdamer has quit [Quit: pdamer]
zz_Inoperable is now known as Inoperable
h4mz1d has joined #ruby
PanPan has quit [Ping timeout: 252 seconds]
slag has joined #ruby
PanPan has joined #ruby
noodletraveler has quit [Read error: Connection reset by peer]
noodletraveler has joined #ruby
bradhe has joined #ruby
blf has joined #ruby
thufir_ has quit [Quit: Leaving.]
<blf> I've been doing a little reading regarding Ruby threads in the PickAxe book. It mentions that Thread#join and Thread#value are considered the safest of the available methods. I'm wondering if Thread#stop and Thread#run are also safe to use?
ndboost has joined #ruby
Michael__ has joined #ruby
brianpWins has joined #ruby
JarJar has quit [Quit: Leaving]
benlieb has joined #ruby
nopolitica has quit [Remote host closed the connection]
jeffreybaird has quit [Ping timeout: 252 seconds]
lancepantz is now known as lancepantz_
regedarek has quit [Ping timeout: 252 seconds]
<blf> I'm thinking about something alone these lines: https://gist.github.com/blfisher/76fb9672387f1026e8f9
h4mz1d has quit [Ping timeout: 244 seconds]
X-Jester is now known as retseJ-X
daniel_hinojosa has quit [Quit: Leaving.]
georgi has quit [Ping timeout: 264 seconds]
meoblast001 has quit [Read error: Connection reset by peer]
angusiguess has quit [Ping timeout: 256 seconds]
<blf> Ah, nevermind. I thought stop was an instance method. I guess it's a class method. I'll have to rethink the design.
mercwith1mouth has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 260 seconds]
bradhe has quit [Ping timeout: 264 seconds]
whitedawg has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
tomzx_mac has quit [Ping timeout: 255 seconds]
earthquake has quit [Quit: earthquake]
georgi has joined #ruby
dayepa1 has quit [Ping timeout: 255 seconds]
dayepa has quit [Ping timeout: 255 seconds]
dayepa has joined #ruby
aedornm has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
dayepa1 has joined #ruby
radq_ has joined #ruby
kop has joined #ruby
fuzai has quit [Ping timeout: 255 seconds]
radq has quit [Ping timeout: 248 seconds]
h4mz1d has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
radq_ has quit [Ping timeout: 256 seconds]
radq has joined #ruby
CreativeEmbassy has joined #ruby
tjbiddle_ has joined #ruby
v0n has quit [Ping timeout: 252 seconds]
Caleb has joined #ruby
mlr has quit [Ping timeout: 240 seconds]
Caleb is now known as Guest48308
whitedawg has joined #ruby
tjbiddle has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
georgi has quit [Ping timeout: 255 seconds]
Michael__ has quit [Remote host closed the connection]
angusiguess has joined #ruby
noodletraveler has quit [Read error: Connection reset by peer]
noodletraveler has joined #ruby
justsee has quit [Quit: Linkinus - http://linkinus.com]
bradhe has joined #ruby
georgi has joined #ruby
lancepantz_ is now known as lancepantz
angusiguess has quit [Ping timeout: 256 seconds]
dallasm has quit [Remote host closed the connection]
tommyvyo has joined #ruby
noodletraveler has quit [Read error: Connection reset by peer]
huoxito has quit [Quit: Leaving]
angusiguess has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
SCommette has quit [Quit: SCommette]
brianpWins has quit [Ping timeout: 248 seconds]
ddd has joined #ruby
ddd is now known as Guest67086
mattbl has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
twoism has joined #ruby
yshh_ has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
thone_ has joined #ruby
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
puppeh has quit [Ping timeout: 276 seconds]
alup has quit [Ping timeout: 248 seconds]
hashmal has quit [Quit: Computer has gone to sleep.]
yshh has quit [Ping timeout: 252 seconds]
twoism has quit [Ping timeout: 244 seconds]
thone has quit [Ping timeout: 256 seconds]
sepp2k1 has quit [Remote host closed the connection]
fir_ed has quit [Ping timeout: 255 seconds]
swex has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 244 seconds]
lancepantz is now known as lancepantz_
swex has joined #ruby
otherj has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
cableray has quit [Quit: cableray]
angusiguess has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
otherj has quit [Client Quit]
chrisnicola has quit [Quit: This computer has gone to sleep]
chrisnicola has joined #ruby
georgi has quit [Ping timeout: 240 seconds]
regedarek has joined #ruby
Inoperable is now known as zz_Inoperable
georgi has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
mercwith1mouth has quit [Ping timeout: 276 seconds]
cparen has quit [Quit: cparen]
georgi has quit [Ping timeout: 264 seconds]
sn0wb1rd has joined #ruby
shock_one has joined #ruby
zz_Inoperable is now known as Inoperable
radq_ has joined #ruby
chrisnicola has quit [Quit: This computer has gone to sleep]
radq has quit [Ping timeout: 248 seconds]
joeycarmello has joined #ruby
regedarek has quit [Read error: Operation timed out]
Konboi has joined #ruby
georgi has joined #ruby
bradhe has joined #ruby
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
sandGorgon has joined #ruby
decoponio has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
angusiguess has joined #ruby
mmitchell has quit [Remote host closed the connection]
mmitchell has joined #ruby
ukd1 has quit [Quit: Lost terminal]
one has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 264 seconds]
Guest67086 has quit [Read error: Connection reset by peer]
Vulix has joined #ruby
<Vulix> hi all
mmitchell has quit [Ping timeout: 248 seconds]
<Vulix> I was here asking yesterday about Ruby because I have been debating moving some of myy work from Java to a higher level language
<Vulix> and I decided to pick Ruby over Python, thanks all for your help
joeycarmello has quit [Remote host closed the connection]
bradleyp_ has quit [Ping timeout: 256 seconds]
regedarek has joined #ruby
PanPan has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
PanPan has joined #ruby
Vert has quit [Read error: Connection reset by peer]
thufir_ has joined #ruby
one has joined #ruby
icole has joined #ruby
__BigO__ has joined #ruby
<shock_one> Vulix, why not Scala?
ddd has joined #ruby
<Vulix> No real reason, just not interested
ddd is now known as Guest11043
georgi has quit [Ping timeout: 252 seconds]
<Vulix> part of it is I wanted to move away from using the JVM
<Vulix> i generally run apache Lucene as well for full text searching
<Vulix> id like to try Sphinx this time around
h4mz1d has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
dmiller has quit [Ping timeout: 245 seconds]
joeycarmello has joined #ruby
Slivka has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
sn0wb1rd has joined #ruby
joeycarmello has quit [Remote host closed the connection]
georgi has joined #ruby
twoism has joined #ruby
Umren has joined #ruby
hbpoison has joined #ruby
georgi has quit [Ping timeout: 240 seconds]
parzorep has quit [Quit: parzorep]
sayan has quit [Read error: Connection reset by peer]
Michael__ has joined #ruby
<TTilus> i can imagine why youd like to replace java, but why replace jvm?
joeycarmello has joined #ruby
n3m has quit [Quit: Leaving...]
luckyrub_ has quit [Remote host closed the connection]
radq has joined #ruby
Michael__ has quit [Ping timeout: 248 seconds]
radq_ has quit [Ping timeout: 256 seconds]
sandGorgon has quit [Ping timeout: 255 seconds]
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
b1rkh0ff has quit [Ping timeout: 244 seconds]
mercwith1mouth has quit [Read error: Operation timed out]
mercwithamouth has quit [Ping timeout: 256 seconds]
yacks has quit [Read error: Operation timed out]
crackfu has quit [Remote host closed the connection]
crackfu has joined #ruby
sayan has joined #ruby
adman65_ has joined #ruby
shock_one has quit [Remote host closed the connection]
toekutr has joined #ruby
adman65 has quit [Ping timeout: 256 seconds]
adman65_ is now known as adman65
bapa has quit [Quit: No Ping reply in 180 seconds.]
bapa has joined #ruby
crackfu has quit [Ping timeout: 256 seconds]
tjbiddle has joined #ruby
b1rkh0ff has joined #ruby
tjbiddle_ has joined #ruby
yekta has quit [Quit: yekta]
Mon_Ouie has joined #ruby
timonv has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
tjbiddle has quit [Ping timeout: 256 seconds]
tjbiddle_ is now known as tjbiddle
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
noodletraveler has joined #ruby
CreativeEmbassy has joined #ruby
Morkel has joined #ruby
budmang has quit [Read error: Connection reset by peer]
mattbl has quit [Quit: This computer has gone to sleep]
jgrevich_ has joined #ruby
brianpWins has joined #ruby
jgrevich has quit [Ping timeout: 248 seconds]
jgrevich_ is now known as jgrevich
budmang has joined #ruby
brianpWins has quit [Client Quit]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
CreativeEmbassy has joined #ruby
artem has joined #ruby
whitedawg1 has joined #ruby
whitedawg has quit [Ping timeout: 264 seconds]
Myconix has quit [Quit: Leaving]
radosch has quit [Quit: radosch]
whitedawg1 is now known as whitedawg
earthquake has joined #ruby
CraHan is now known as CraHan|out
mlr has joined #ruby
one has quit [Ping timeout: 248 seconds]
joeycarmello has quit [Remote host closed the connection]
angusiguess has joined #ruby
tacey has joined #ruby
nat_home has quit [Quit: Leaving.]
tacey has quit [Max SendQ exceeded]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
n3m has joined #ruby
mlr has quit [Ping timeout: 248 seconds]
radq_ has joined #ruby
radq has quit [Ping timeout: 248 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
earthquake has quit [Remote host closed the connection]
mercwith1mouth has joined #ruby
mercwithamouth has joined #ruby
Yakko has joined #ruby
Umren has quit [Ping timeout: 255 seconds]
Yakko has quit [Remote host closed the connection]
Pufferfood has quit [Read error: Connection reset by peer]
pygospa has quit [Disconnected by services]
pygospa has joined #ruby
Pufferfood has joined #ruby
ryanf has joined #ruby
timonv_ has joined #ruby
timonv has quit [Read error: Connection reset by peer]
aapzak has quit [Ping timeout: 240 seconds]
earthquake has joined #ruby
generalissimo has quit [Remote host closed the connection]
Guest48308 has quit [Quit: Guest48308]
mockra has quit [Remote host closed the connection]
artem has left #ruby ["WeeChat 0.3.9.2"]
bricker`LA has joined #ruby
lolcathost has quit [Ping timeout: 240 seconds]
hbpoison has quit [Ping timeout: 244 seconds]
IceDragon has quit [Quit: Space~~~]
PanPan has quit [Ping timeout: 252 seconds]
timonv_ has quit [Read error: Connection reset by peer]
timonv has joined #ruby
PanPan has joined #ruby
icole has quit [Remote host closed the connection]
Vulix has left #ruby [#ruby]
timonv_ has joined #ruby
icole has joined #ruby
timonv has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
Hanmac1 is now known as Hanmac
mahmoudimus has joined #ruby
benlieb has quit [Quit: benlieb]
skcin7 has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
tjbiddle_ has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
tjbiddle has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
mercwithamouth has quit [Ping timeout: 240 seconds]
statix_ has joined #ruby
stat1x has quit [Ping timeout: 264 seconds]
mercwith1mouth has quit [Ping timeout: 240 seconds]
jgrevich has quit [Remote host closed the connection]
Pufferfood has quit [Remote host closed the connection]
noodletraveler has quit [Ping timeout: 255 seconds]
nuex has joined #ruby
<nuex> i'm getting this warning "time_with_zone.rb:325: warning: Time#succ is obsolete; use time + 1". how do i get a backtrace, though?
spaceships has quit [Quit: leaving]
browndawg has joined #ruby
<nuex> it appears when i run rspec. i've run each spec individually and i can't seem to duplicate the error. I was wondering if I could get a backtrace from a warning so i could locate the problem
<nuex> any ideas?
workmad3 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ThePicard has quit [Ping timeout: 252 seconds]
__BigO__ has quit [Remote host closed the connection]
lkba has joined #ruby
n3m has quit [Quit: Linkinus - http://linkinus.com]
Mortchek has quit [Ping timeout: 276 seconds]
mahmoudimus has joined #ruby
shock_one has quit [Remote host closed the connection]
noodletraveler has joined #ruby
Mortchek has joined #ruby
Mortchek has quit [Changing host]
Mortchek has joined #ruby
sandGorgon has joined #ruby
angusiguess has joined #ruby
ncategory has joined #ruby
ThePicard has joined #ruby
mcqueenorama has quit [Remote host closed the connection]
elkclone has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
L1 has quit [Read error: Connection reset by peer]
sandGorgon has quit [Ping timeout: 248 seconds]
slag has quit [Read error: No route to host]
feedbackloop has joined #ruby
wallerdev has quit [Quit: wallerdev]
dmonjo has joined #ruby
ndboost has quit [Remote host closed the connection]
joeycarmello has joined #ruby
ryanf has quit [Quit: leaving]
emergion has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
one has joined #ruby
blf has quit [Quit: Page closed]
joeycarmello has quit [Ping timeout: 256 seconds]
Morkel has left #ruby [#ruby]
julian-delphiki has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
dEPy has joined #ruby
AxonetBE has joined #ruby
bean has quit [Ping timeout: 255 seconds]
radq_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 248 seconds]
yshh_ has quit [Remote host closed the connection]
radq has joined #ruby
blacktulip has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
francisfish has joined #ruby
mockra has joined #ruby
sandGorgon has joined #ruby
PanPan has quit [Ping timeout: 255 seconds]
mockra has quit [Ping timeout: 252 seconds]
Elhu has joined #ruby
PanPan has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
Xeago has quit [Killed (holmes.freenode.net (Nickname regained by services))]
Xeago_ is now known as Xeago
marr has joined #ruby
Elhu has quit [Client Quit]
one has quit [Ping timeout: 256 seconds]
francisfish has quit [Remote host closed the connection]
CraHan|out is now known as CraHan
nomenkun has quit [Ping timeout: 248 seconds]
whitedawg has quit [Quit: Leaving.]
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
nicoulaj has joined #ruby
whitedawg has joined #ruby
whitedawg has quit [Client Quit]
ananthakumaran has joined #ruby
parzorep has joined #ruby
sandGorgon has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby
sandGorgon has joined #ruby
a_a_g has joined #ruby
gosshedd has joined #ruby
mityaz has joined #ruby
<Xeago> weird, seems outgoing port 80 and 443 are blocked :\
adambeynon has joined #ruby
a_a_g has quit [Client Quit]
noodletraveler has quit [Ping timeout: 248 seconds]
Jackneill has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
<Xeago> weird, and it seems to be just my machine
ben_h has joined #ruby
noodletraveler has joined #ruby
CraHan is now known as CraHan|out
timonv_ has quit [Remote host closed the connection]
relix has joined #ruby
banister`sleep has quit [Remote host closed the connection]
noodletraveler has quit [Ping timeout: 264 seconds]
noodletraveler_ has joined #ruby
ferdev|away is now known as ferdev
banister`sleep has joined #ruby
pyrac has joined #ruby
vlad_starkov has joined #ruby
codezombie has quit [Quit: Leaving...]
ben_h has quit [Quit: ben_h]
chussenot has joined #ruby
Elhu has joined #ruby
colonolGron has joined #ruby
nomenkun has joined #ruby
shock_one has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
marr has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
xardas has joined #ruby
arturaz has joined #ruby
dhruvasagar has joined #ruby
Virunga has joined #ruby
emergion has joined #ruby
ferdev is now known as ferdev|away
Caius has quit [Ping timeout: 252 seconds]
d3vic3 has joined #ruby
khismetix has joined #ruby
withnale has quit [Ping timeout: 252 seconds]
adman65 has quit [Quit: adman65]
elaptics`away is now known as elaptics
emergion has quit [Read error: Connection reset by peer]
emergion_ has joined #ruby
yacks has joined #ruby
PanPan has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
Caius has joined #ruby
Mattix has quit [Ping timeout: 256 seconds]
sandGorgon has quit [Read error: Connection reset by peer]
kristofers has joined #ruby
Elhu has joined #ruby
sandGorgon has joined #ruby
PanPan has joined #ruby
PanPan has quit [Remote host closed the connection]
d3vic3 has quit [Quit: leaving]
ben_h has joined #ruby
<ben_h> hi all
kennyvb has quit [Quit: ZNC - http://znc.in]
<ben_h> i'm looking into 2.0 refinements -- does anyone know the current state of things?
d3vic3 has joined #ruby
<ben_h> Kernel#using doesn't seem to be defined as i expected it to be
kennyvb has joined #ruby
toekutr has quit [Read error: Connection reset by peer]
<ben_h> i'm getting an "undefined method `using' for TestApp:Module", and #using is defined on some anonymous class:
<ben_h> >> method(:using).owner #=> #<Class:#<Object:0x007fa0b90e24a8>>
<eval-in> ben_h: Output: "/tmp/execpad-00125e9b4c59/source-00125e9b4c59:1:in `method': undefined method `using' for class `Object' (NameError)\n\tfrom /tmp/execpad-00125e9b4c59/source-00125e9b4c59:1:in `<main>'\n" (http://eval.in/10323)
moshee has quit [Ping timeout: 260 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
spider-mario has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Takehiro has quit [Remote host closed the connection]
pyrac has quit [Quit: pyrac]
khismetix has quit [Quit: Computer has gone to sleep.]
pyrac has joined #ruby
justme1 has joined #ruby
vierja has quit [Ping timeout: 255 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
browndawg has quit [Ping timeout: 248 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
Mattix has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
beilabs has quit [Ping timeout: 244 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
justme1 has left #ruby [#ruby]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
ferdev|away is now known as ferdev
vierja has joined #ruby
mlr has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
noodletraveler_ has quit [Quit: leaving]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
mrdtt has quit [Quit: mrdtt]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
sqrel has joined #ruby
robbyoconnor has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
browndawg has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
emocakes has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
twoism has quit [Remote host closed the connection]
angusiguess has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
robbyoconnor has quit [Remote host closed the connection]
mengu has quit [Quit: Leaving]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
xpen has quit [Remote host closed the connection]
vierja has joined #ruby
robbyoconnor has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
beilabs has joined #ruby
xbayrockx has quit [Read error: Connection reset by peer]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
Virunga has quit [Remote host closed the connection]
strax has quit [Ping timeout: 252 seconds]
tenmilestereo has joined #ruby
radq has quit [Ping timeout: 256 seconds]
m3pow has quit [Read error: Connection reset by peer]
radq has joined #ruby
nari has joined #ruby
thufir_ has quit [Quit: Leaving.]
PanPan has joined #ruby
zoonfafer has joined #ruby
khismetix has joined #ruby
Umren has joined #ruby
marr has joined #ruby
clooth has joined #ruby
radq has quit [Ping timeout: 248 seconds]
radq has joined #ruby
Takehiro has joined #ruby
parzorep has quit [Read error: Connection reset by peer]
parzorep has joined #ruby
thufir_ has joined #ruby
TheRealPygo is now known as pygospa
thufir_ has quit [Client Quit]
PanPan has quit [Ping timeout: 252 seconds]
parzorep_ has joined #ruby
parzorep has quit [Read error: Connection reset by peer]
parzorep_ is now known as parzorep
khismetix has quit [Ping timeout: 255 seconds]
shock_one has quit [Remote host closed the connection]
zoonfafer is now known as zoonfafer_
nomenkun_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
mackesque has joined #ruby
zoonfafer_ is now known as zoonfafer
nomenkun has quit [Ping timeout: 248 seconds]
zoonfafer has quit [Read error: Connection reset by peer]
zoonfafer has joined #ruby
monkegjinni has joined #ruby
mackesque has quit [Client Quit]
zoonfafer has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 276 seconds]
zoonfafer has joined #ruby
skattyadz has joined #ruby
pyrac has quit [Quit: pyrac]
Pufferfood has joined #ruby
elkclone has quit [Quit: It's never too late to unplug and run.]
mackesque has joined #ruby
eka has joined #ruby
browndawg has quit [Ping timeout: 248 seconds]
backjlack has joined #ruby
ferdev is now known as ferdev|away
lkba has joined #ruby
pavilionXP has joined #ruby
m8 has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
parzorep has quit [Quit: parzorep]
decoponio has joined #ruby
emergion_ has quit [Quit: Computer has gone to sleep.]
mackesque has quit [Quit: Textual IRC Client: www.textualapp.com]
RonScagz has joined #ruby
emergion has joined #ruby
emergion has quit [Client Quit]
m3pow has joined #ruby
radq_ has joined #ruby
radq has quit [Ping timeout: 248 seconds]
pygospa has quit [Quit: re-installing my pc]
chichou has joined #ruby
peanuts___ has joined #ruby
samphippen has joined #ruby
pyrac has joined #ruby
d3vic3 has quit [Quit: leaving]
banister`sleep has quit [Remote host closed the connection]
ferdev|away is now known as ferdev
skattyadz has quit [Quit: skattyadz]
banister`sleep has joined #ruby
skattyadz has joined #ruby
Catbuntu has joined #ruby
mikekelly has quit [Ping timeout: 252 seconds]
browndawg has quit [Ping timeout: 248 seconds]
mikekelly has joined #ruby
pac1 has joined #ruby
browndawg has joined #ruby
peanuts___ has quit [Quit: Ex-Chat]
Squarepy has joined #ruby
ferdev has quit [Quit: Leaving...]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
Konboi_ has joined #ruby
emergion has joined #ruby
blaxter has joined #ruby
Konboi has quit [Ping timeout: 252 seconds]
niklasb has joined #ruby
marr has quit [Ping timeout: 252 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
bluOxigen has joined #ruby
daniel_- has joined #ruby
e-dard has joined #ruby
<e-dard> Hi, Ruby newbie here. Just playing with Sinatra and looking to use flat files for an example blog project. Code is here: http://dpaste.com/935501/
<e-dard> I'm getting error because *I think* that the markdown object is not accessible from within the helper block. Is that correct?
<e-dard> Is it possible to specify that the markdown object is allowed in all scopes or is that not the right way to do it in ruby?
jonahR has quit [Quit: jonahR]
QKO_ has quit [Ping timeout: 248 seconds]
QKO has joined #ruby
<shevy> e-dard you should test this in irb first
<shevy> there is #sinatra too btw
techlife has quit [Ping timeout: 245 seconds]
<shevy> the problem is when you use a framework, you are stuck with its limitations
<shevy> as your question could always be answered by "if the framework allows it, everything is possible, if it is valid ruby code"
jonahR has joined #ruby
<shevy> btw
<shevy> does method m() exist in scope?
dmonjo has quit [Ping timeout: 276 seconds]
kofno has quit [Remote host closed the connection]
tuberculotoxin12 has quit [Quit: tuberculotoxin12]
kofno has joined #ruby
lockweel has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
kennyvb has quit [Ping timeout: 256 seconds]
cctv43 has joined #ruby
error404 has joined #ruby
techlife has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 248 seconds]
answer_42 has joined #ruby
pskosinski has joined #ruby
punkrawkR^Home has quit [Ping timeout: 248 seconds]
hashmal has joined #ruby
samphippen has joined #ruby
QKO has quit [Ping timeout: 256 seconds]
kennyvb has joined #ruby
dmonjo has joined #ruby
noxoc has joined #ruby
QKO has joined #ruby
arturaz has quit [Ping timeout: 256 seconds]
samphippen has quit [Client Quit]
emergion has quit [Quit: Computer has gone to sleep.]
<nanothief> e-dard: in a def method, a new context is created an all local variables outside of that context are no longer accessible. Therefore, you can't get to markdown. You have a few choices: make it a constant (ie use ALL CAPS in the variable name), make it a global (ie $markdown), or make a method that returns that object
erry is now known as zombierry
BizarreCake has joined #ruby
<nanothief> alternatively, instead of using def m(content)..., you could use define_method :m do |content|\nreturn markdown.render(content)\nend. That way of creating methods doesn't open a new context, so markdown should still be accessible
maycon_ has joined #ruby
Elhu has joined #ruby
<nanothief> s/return//
tacey has joined #ruby
tacey has quit [Max SendQ exceeded]
beilabs has joined #ruby
sayan has joined #ruby
maycon has quit [Ping timeout: 252 seconds]
angusiguess has quit [Ping timeout: 252 seconds]
yacks has quit [Ping timeout: 248 seconds]
gosshedd has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
main has joined #ruby
beliveyourdream has joined #ruby
motto has joined #ruby
timonv has joined #ruby
skcin7 has quit []
beiter has joined #ruby
jgarvey has quit [Quit: Leaving]
pavilionXP has quit [Read error: Connection reset by peer]
sayan has quit [Quit: Leaving]
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
m8 has quit [Ping timeout: 245 seconds]
banister`sleep has quit [Read error: Connection reset by peer]
eldariof has joined #ruby
banister`sleep has joined #ruby
DuoSRX has joined #ruby
arya has joined #ruby
strax has joined #ruby
LnL has joined #ruby
mackesque has joined #ruby
wf2f has quit [Read error: Connection reset by peer]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
girija has joined #ruby
arya has quit [Ping timeout: 248 seconds]
erlingur has joined #ruby
mackesque has quit [Client Quit]
Elhu has quit [Quit: Computer has gone to sleep.]
erlingur has left #ruby [#ruby]
arya has joined #ruby
Xeago has quit [Remote host closed the connection]
PanPan has joined #ruby
timhaines has quit [Quit: timhaines]
samphippen has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Guest11043 has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 276 seconds]
ananthakumaran1 has joined #ruby
PanPan has quit [Ping timeout: 256 seconds]
ananthakumaran has quit [Read error: Connection reset by peer]
arya has joined #ruby
robustus has joined #ruby
chico_chicote has joined #ruby
ferdev has joined #ruby
ddd has joined #ruby
ferdev has quit [Client Quit]
ddd is now known as Guest16387
entrenador has joined #ruby
pyrac has quit [Quit: pyrac]
beiter has quit [Quit: beiter]
pyrac has joined #ruby
emocakes has quit [Quit: emocakes]
lnl_ has joined #ruby
LnL has quit [Ping timeout: 260 seconds]
arya has quit [Ping timeout: 248 seconds]
monkegjinni has quit [Remote host closed the connection]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
Catbuntu has quit [Quit: Auf wiedersehen]
ncategory has quit [Ping timeout: 245 seconds]
crackfu has joined #ruby
arya has joined #ruby
kofno has quit [Remote host closed the connection]
jjbohn has joined #ruby
PragCypher has joined #ruby
NobbZ|away is now known as NobbZ
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
radosch has joined #ruby
ddv has left #ruby [#ruby]
daniel_- has quit [Ping timeout: 245 seconds]
zorbyte has joined #ruby
Xeago has joined #ruby
subbyyy has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
dmonjo has quit [Ping timeout: 240 seconds]
banister`sleep has quit [Remote host closed the connection]
entrenador has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
banister`sleep has joined #ruby
angusiguess has joined #ruby
razibog has joined #ruby
ben_h has quit [Quit: ben_h]
monkegjinni has joined #ruby
workmad3 has joined #ruby
pdamer has joined #ruby
kofno has joined #ruby
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
PragCypher has quit [Remote host closed the connection]
mmitchell has joined #ruby
tacey has joined #ruby
tacey has quit [Max SendQ exceeded]
icole has quit [Remote host closed the connection]
PragCypher has joined #ruby
PragmaticCypher has joined #ruby
PragCypher has quit [Client Quit]
PragmaticCypher has quit [Client Quit]
PragCypher has joined #ruby
dmonjo has joined #ruby
iPhoneMRZ has joined #ruby
daniel_- has joined #ruby
subbyyy has quit [Read error: Connection reset by peer]
erlingur has joined #ruby
pdamer has quit [Quit: pdamer]
stevechiagozie has joined #ruby
mlr has quit [Ping timeout: 256 seconds]
pdamer has joined #ruby
crackfu has quit [Remote host closed the connection]
nuex has quit [Read error: Operation timed out]
ToTo has joined #ruby
miskander has joined #ruby
motto has quit [Ping timeout: 276 seconds]
matled has quit [Remote host closed the connection]
m8 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
PanPan has joined #ruby
lnl_ has quit [Quit: lnl_]
banister`sleep has quit [Read error: Connection reset by peer]
iPhoneMRZ has quit [Remote host closed the connection]
nari has quit [Ping timeout: 256 seconds]
subbyyy has joined #ruby
radq_ is now known as radq
arya has joined #ruby
Kuifje has joined #ruby
PanPan has quit [Ping timeout: 260 seconds]
crackfu has joined #ruby
mmitchell has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Rollabunna has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
pdamer has quit [Quit: pdamer]
nfk has joined #ruby
pavilionXP has joined #ruby
ferdev has joined #ruby
arya has joined #ruby
carloslopes has joined #ruby
pdamer has joined #ruby
miskander has quit [Quit: miskander]
banister`sleep has joined #ruby
mmitchell has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
Ruchee has joined #ruby
erlingur has quit [Quit: Computer has gone to sleep.]
lockweel has quit [Ping timeout: 248 seconds]
S0da has joined #ruby
mengu has joined #ruby
himsin has joined #ruby
pac1 has quit [Ping timeout: 248 seconds]
Slivka has quit [Ping timeout: 276 seconds]
girija has quit [Ping timeout: 252 seconds]
kiwnix has quit [Remote host closed the connection]
chylli has joined #ruby
tacey has joined #ruby
tacey has quit [Max SendQ exceeded]
fragmachine has joined #ruby
paysties has joined #ruby
Mchl has quit [Excess Flood]
nanothief has quit [Ping timeout: 252 seconds]
paysties is now known as pasties
Mchl has joined #ruby
beilabs has quit [Ping timeout: 248 seconds]
joofsh has joined #ruby
Elhu has joined #ruby
jrajav has joined #ruby
mmitchell has quit [Remote host closed the connection]
segv- has joined #ruby
Ruchee has quit [Read error: Connection reset by peer]
sandGorgon has quit [Ping timeout: 248 seconds]
tensil_ has joined #ruby
tcstar has joined #ruby
sqrel has quit [Read error: Connection reset by peer]
joofsh has quit [Remote host closed the connection]
tensil has quit [Ping timeout: 256 seconds]
tensil_ is now known as tensil
tacey has joined #ruby
joofsh has joined #ruby
tacey has quit [Max SendQ exceeded]
tomzx_mac has joined #ruby
samphippen has joined #ruby
pavilionXP has quit [Remote host closed the connection]
zoonfafer has quit [Ping timeout: 248 seconds]
browndawg has quit [Quit: Leaving.]
icole has joined #ruby
eldariof has quit []
fedza has joined #ruby
beilabs has joined #ruby
sayan has quit [Ping timeout: 248 seconds]
browndawg has joined #ruby
PanPan has joined #ruby
xemu has joined #ruby
icole has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
Virunga has joined #ruby
carloslopes has quit [Remote host closed the connection]
zerba has joined #ruby
kirun has joined #ruby
joofsh has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
joofsh has joined #ruby
Virunga has quit [Ping timeout: 252 seconds]
S0da has quit [Remote host closed the connection]
DuoSRX has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
agarie has quit [Remote host closed the connection]
ryez has quit [Ping timeout: 248 seconds]
nidhimj22 has joined #ruby
nidhimj22 has quit [Client Quit]
daniel_- has quit [Quit: WeeChat 0.3.9.2]
eka has quit [Quit: Computer has gone to sleep.]
fragmachine has quit [Remote host closed the connection]
arturaz has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
pdamer has quit [Quit: pdamer]
apeiros_ has joined #ruby
kiwnix has joined #ruby
radq_ has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
main has quit [Remote host closed the connection]
beilabs has quit [Ping timeout: 252 seconds]
radq has quit [Ping timeout: 252 seconds]
segv- has quit [Quit: segv-]
skattyadz has quit [Quit: skattyadz]
zombierry is now known as erry
mmitchell has quit [Ping timeout: 248 seconds]
dannluciano has joined #ruby
joofsh has quit [Remote host closed the connection]
dannluciano has left #ruby [#ruby]
joofsh has joined #ruby
dmonjo has quit [Quit: Leaving]
sqrel has joined #ruby
eka has joined #ruby
blueOxigen has joined #ruby
m8 has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 248 seconds]
m8 has joined #ruby
JohnBat26 has joined #ruby
beilabs has joined #ruby
pdamer has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
joofsh has quit [Remote host closed the connection]
jjbohn has quit [Quit: Leaving...]
ferdev has quit [Quit: Leaving...]
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
radq has joined #ruby
postmodern has quit [Quit: Leaving]
sqrel has quit [Quit: Leaving]
sqrel has joined #ruby
xaq has joined #ruby
Michael has joined #ruby
joofsh has joined #ruby
Michael is now known as Guest86238
AndChat| has joined #ruby
CraHan|out is now known as CraHan
radq_ has quit [Ping timeout: 256 seconds]
Banistergalaxy has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
colonolGron has quit [Ping timeout: 252 seconds]
PanPan has quit [Remote host closed the connection]
gyre008 has joined #ruby
gosshedd has joined #ruby
jonahR has quit [Quit: jonahR]
icole has joined #ruby
DuoSRX has joined #ruby
alx- has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
moshee has quit [Ping timeout: 256 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
skattyadz has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
__BigO__ has joined #ruby
cpruitt has quit [Quit: cpruitt]
icole has quit [Ping timeout: 245 seconds]
banjara has joined #ruby
jonathanwallace has joined #ruby
PanPan has joined #ruby
joofsh has quit [Remote host closed the connection]
PanPan has quit [Remote host closed the connection]
icole has joined #ruby
pdamer has quit [Quit: pdamer]
jjbohn has joined #ruby
dhruvasagar has joined #ruby
mmitchell has joined #ruby
chussenot has joined #ruby
pdamer has joined #ruby
joofsh has joined #ruby
cupakromer has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
banister`sleep has quit [Remote host closed the connection]
moshee has joined #ruby
workmad3 has joined #ruby
<hackeron> is there a check to see if a object has a value? - for example if an array has a value, or a string has a value, or if the object is nil? -- .empty? comes close, but fails on nil - is there something similar that works on nil also?
Virunga has joined #ruby
tommyvyo has joined #ruby
beilabs has joined #ruby
pmros has joined #ruby
miskander has joined #ruby
<cupakromer> obj.nil? || obj.empty?
<cupakromer> In Rails, they patched in obj.blank?
* Zelest just realized that .nil would be the most amazing TLD for ruby coders. :-D
joofsh has quit [Remote host closed the connection]
<yxhuvud> well there is defined? There are no inherent difference between a value that has been assigned to nil and one that hasn't been assigned.
<jrajav> Zelest: You want to send the message that your website's value cannot be represented?
timonv has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
<Zelest> jrajav, norway states "no!" on every single site.. works for them, doesn't it? ;-)
BadLarry has quit [Ping timeout: 256 seconds]
<jrajav> No
<apeiros_> >> x = nil; p(defined? x)
<eval-in> apeiros_: Output: "\"local-variable\"\n" (http://eval.in/10329)
<apeiros_> I don't think defined? is what hackeron is looking for, yxhuvud
monkegjinni has quit [Remote host closed the connection]
<apeiros_> Zelest: yes.no ? :)
ndboost has joined #ruby
__BigO__ has quit [Remote host closed the connection]
<Zelest> :D
BadLarry has joined #ruby
Spooner has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
<Hanmac> yxhuvud the problem is that defined? also returns local-variable when the assignment was skipped
<workmad3> >> x = 3 if defined?(x); p x
<eval-in> workmad3: Output: "3\n" (http://eval.in/10330)
<workmad3> gotta love that one :)
Guest86238 has quit [Remote host closed the connection]
<workmad3> >> x = 3 unless defined?(x); p x
<eval-in> workmad3: Output: "nil\n" (http://eval.in/10331)
samphippen has joined #ruby
banister`sleep has joined #ruby
monkegjinni has joined #ruby
swex has quit [Read error: Operation timed out]
<Hanmac> >> if false; y=4;end: p defined?(y)
<eval-in> Hanmac: Output: "/tmp/execpad-75088f94e1cd/source-75088f94e1cd:1: syntax error, unexpected ':', expecting $end\nif false; y=4;end: p defined?(y)\n ^\n" (http://eval.in/10332)
<Hanmac> >> if false; y=4;end; p defined?(y)
<eval-in> Hanmac: Output: "\"local-variable\"\n" (http://eval.in/10333)
chico_chicote has quit [Ping timeout: 248 seconds]
ferdev has joined #ruby
swex has joined #ruby
pdamer has quit [Quit: pdamer]
dhruvasagar has quit [Ping timeout: 252 seconds]
miskander has quit [Quit: miskander]
dhruvasagar has joined #ruby
miskander has joined #ruby
pdamer has joined #ruby
chessguy has joined #ruby
timonv has joined #ruby
shock_one has joined #ruby
browndawg has quit [Read error: No route to host]
browndawg has joined #ruby
Slivka has joined #ruby
joofsh has joined #ruby
arya has quit [Ping timeout: 248 seconds]
octoberry has joined #ruby
m8 has quit [Read error: Connection reset by peer]
PanPan has joined #ruby
jgrevich has joined #ruby
m8 has joined #ruby
pdamer has quit [Quit: pdamer]
<Xeago> Hanmac: interesting!
workmad3 has quit [Ping timeout: 252 seconds]
<apeiros_> Hanmac: not just a "feature" of defined? - it's a result of the variable indeed being defined even if no assignment occurred
<apeiros_> >> x = 10 if false; p x
<eval-in> apeiros_: Output: "nil\n" (http://eval.in/10334)
arya has joined #ruby
<apeiros_> howdy Xeago
nanothief has joined #ruby
Slivka has quit [Remote host closed the connection]
S0da has joined #ruby
sam113101 has joined #ruby
sam113101 has quit [Client Quit]
jjbohn has quit [Quit: Leaving...]
sam113101 has joined #ruby
zigomir has joined #ruby
zigomir has quit [Client Quit]
maxmanders has joined #ruby
nanothief has quit [Ping timeout: 240 seconds]
robert_ has joined #ruby
Michael has joined #ruby
otherj has joined #ruby
Michael is now known as Guest45072
PanPan has quit [Ping timeout: 264 seconds]
pmros has quit [Quit: Konversation terminated!]
chrisnicola has joined #ruby
himsin has quit [Ping timeout: 248 seconds]
aspiers has quit [Ping timeout: 264 seconds]
melkor has joined #ruby
banister`sleep has quit [Remote host closed the connection]
jekotia has joined #ruby
<melkor> I'm saving some data to a file, it will have 25 objects in it and each object has a couple of text fields. What is a good way to store this data in a text file?
banister`sleep has joined #ruby
S0da has quit [Remote host closed the connection]
<chessguy> csv or maybe yaml
S0da has joined #ruby
tenmilestereo has quit [Quit: Leaving]
bubblehead has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
<melkor> does ruby have a built in YAML library?
aspiers has joined #ruby
<apeiros_> it's part of the stdlib
<apeiros_> also see Marshal and Pstore
tjbiddle has joined #ruby
<Hanmac> you could use json too :P
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<chessguy> sure. it would be a little unusually for a file storage serialization mechanism, but it would certainly be fine
timhaines has joined #ruby
pskosinski has joined #ruby
<apeiros_> chessguy: why unusual? it's not that different from yaml…
<melkor> YAML looks pretty good.
<apeiros_> it's even so much not different that yaml is a superset of json… (all json is valid yaml)
zorbyte has quit [Quit: Lost terminal]
colonolGron has joined #ruby
cupakromer has quit []
arya has quit [Ping timeout: 248 seconds]
joofsh has quit [Remote host closed the connection]
skattyadz has quit [Quit: skattyadz]
angusiguess has quit [Ping timeout: 244 seconds]
NobbZ is now known as NobbZ|away
octoberry has quit [Ping timeout: 256 seconds]
mengu has quit [Quit: This computer has gone to sleep]
dmiller has joined #ruby
arya has joined #ruby
colonolGron has quit [Ping timeout: 255 seconds]
gosshedd has quit [Ping timeout: 255 seconds]
colonolGron has joined #ruby
<melkor> hmm, with YAML do I have to escape special characters?
sam113101 has quit [Ping timeout: 255 seconds]
sam113101 has joined #ruby
nidhimj22 has joined #ruby
ananthakumaran1 has quit [Ping timeout: 260 seconds]
nidhimj22 has quit [Client Quit]
<Hanmac> melkor: they should doo it for you
fschuindt has joined #ruby
<Hanmac> apeiros_ i thought json is a bit more safe, i thought that its only hashs,arrays and strings ... ?
<Xeago> apeiros_: welcome back!
emmanuelux has joined #ruby
<Xeago> I am great! At my parents in holland now
<chessguy> apeiros_: i just meant that yaml is more often used when writing to the file system in my experience
<chessguy> json os more often used when sending across the network
<Xeago> Hanmac: that is plain json, I have seen json that is 'typed'
skattyadz has joined #ruby
<Xeago> asin, it is structured not according to the data, but data format containing the data
<Xeago> xml'alike
<Xeago> horrible xD
<apeiros_> Hanmac: safety of a format doesn't really depend on the format, but on the parsers
workmad3 has joined #ruby
chico_chicote has joined #ruby
<Xeago> attribute: { "name":"nerp","value":"v","type":"string" }
<apeiros_> a format can make it difficult to write safe parsers, though
<Xeago> where attribute contains an array of such object
<Xeago> s
* Hanmac likes xml ... special when you have bigger stuff like maps with layers
mikeycgto has joined #ruby
<Xeago> I dislike storage formats :)
<Xeago> means I don't have to like one in particular xD
<Xeago> and also helps me stay unbiased
mmitchell has quit [Remote host closed the connection]
znake has joined #ruby
znake has quit [Client Quit]
ananthakumaran has joined #ruby
havenwood has joined #ruby
<shevy> I hate xml
<shevy> I just corrected a typo on wikipedia
<shevy> it took me 30 seconds to scan to the correct work, with all those stupid <ref> crap things, and this isnt even pure html/xml ...
<shevy> *scan to the correct word
SeanLazer has joined #ruby
sepp2k has joined #ruby
pdamer has joined #ruby
wyhaines has quit [Remote host closed the connection]
ananthakumaran1 has joined #ruby
<browndawg> Is this a good place to get help with using bootstrap-sass with middleman?
<browndawg> I'm completely lost.
ananthakumaran has quit [Ping timeout: 256 seconds]
<shevy> browndawg dunno, I think the pool of people able to help is small. both sound very niche products
<browndawg> They are. Googling didn't help at all. :(
<shevy> I have heard of sass but never of bootstrap-sass or middleman
jgrevich_ has joined #ruby
<browndawg> bootstrap-sass == gem that lets you use a sass port of twitter bootstrap
<browndawg> Umm, a little sprockets help would do just fine too.
<Xeago> browndawg: I wouldn't bother with bootstrap-sass, rather go for a css framework in sass already
<Xeago> like Foundation, or many others
<browndawg> Xeago: I _have_ to use bootstrap-sass for this :(.
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich_ is now known as jgrevich
<melkor> is there a difference in the hash when it is created as {key: value} vs {:key=>value} ?
<Xeago> melkor: no
<Xeago> browndawg: pity :'(
<Xeago> browndawg: what is the issue tho?
<browndawg> It won't let me "compass install bootstrap"
<browndawg> tried everything
<browndawg> followed every instruction to the letter
spaceships has joined #ruby
<browndawg> Now I'm just cloning https://github.com/jlong/sass-twitter-bootstrap and including bootstrap/lib/bootstrap
David_Miller has quit [Quit: leaving]
trumpeter2003 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
jtharris has joined #ruby
jtharris has quit [Client Quit]
apoch632 has joined #ruby
<browndawg> Lets say I have source/css/, source/js/ and so on. I add the above repository as a submodule at source/bootstrap/. I need to include source/bootstrap/lib/bootstrap.scss in source/css/main.css.scss. What's the path I should use? "../bootstrap/lib/bootstrap" doesn't work for some reason.
<browndawg> Sprockets config issue?
jtharris has joined #ruby
angusiguess has joined #ruby
jankly has quit [Ping timeout: 256 seconds]
Elhu has joined #ruby
<Hanmac> shevy it happend ... i found a game MORE crazy than little inferno :P
<Hanmac> shevy look at http://www.gameone.de/tv/237 << at 10minute about Antichamber
jtharris has quit [Client Quit]
beilabs has quit [Ping timeout: 264 seconds]
jjbohn has joined #ruby
jwest has left #ruby ["WeeChat 0.3.7"]
<melkor> I have a number and I want to show it in a string using puts or similar. Where can I look to find examples of this?
<apeiros_> puts 123
<apeiros_> >> puts 123
<eval-in> apeiros_: Output: "123\n" (http://eval.in/10335)
<melkor> 1, question
<melkor> where the number changes and the second string.
<apeiros_> >> x = 456; puts "hello world, #{123}, #{x}, #{x*10}"
<eval-in> apeiros_: Output: "hello world, 123, 456, 4560\n" (http://eval.in/10336)
<melkor> okay that is what I want the # stuff.
pdamer has quit [Quit: pdamer]
<apeiros_> it's called "string interpolation"
bradhe has joined #ruby
<melkor> What is that called so I can look it up and book mark it. I have a hash and I want to use a couple objects from it.
relix has quit [Quit: relix]
gkaykck has joined #ruby
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
Kuifje has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
<melkor> Excelent thank you.
adamjleonard has joined #ruby
chrisnicola has quit [Quit: This computer has gone to sleep]
angusiguess has quit [Ping timeout: 255 seconds]
colonolGron has quit [Ping timeout: 245 seconds]
h4mz1d has joined #ruby
johnmilton has joined #ruby
Astral__ has joined #ruby
bradhe has quit [Remote host closed the connection]
beilabs has joined #ruby
banjara has quit [Quit: Leaving.]
Astral_ has quit [Ping timeout: 256 seconds]
mmitchell has joined #ruby
arya has quit [Ping timeout: 248 seconds]
AxonetBE has quit [Quit: Leaving.]
nidhimj22 has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
nidhimj22 has left #ruby [#ruby]
DrCode has quit [Remote host closed the connection]
mengu has joined #ruby
mmitchell has quit [Remote host closed the connection]
mmitchell has joined #ruby
AxonetBE has joined #ruby
arya has joined #ruby
monkegjinni has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 252 seconds]
chico_chicote has quit [Read error: Connection reset by peer]
lockweel has joined #ruby
lockweel has quit [Read error: Connection reset by peer]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
arya_ has joined #ruby
beilabs has quit [Ping timeout: 255 seconds]
sepp2k has quit [Remote host closed the connection]
monkegjinni has joined #ruby
apoch632 has quit [Quit: Leaving.]
arya has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
jpfuentes2 has joined #ruby
sepp2k has joined #ruby
jpfuentes2 has quit [Client Quit]
arya_ has quit [Read error: Connection reset by peer]
willcodeforfoo has quit [Quit: leaving]
arya has joined #ruby
samphippen has quit [Read error: Operation timed out]
mlr has joined #ruby
_br_ has quit [Excess Flood]
Nisstyre-laptop has joined #ruby
arya has quit [Ping timeout: 248 seconds]
samphippen has joined #ruby
gkaykck has quit [Quit: gkaykck]
mengu has quit [Quit: This computer has gone to sleep]
mercwith1mouth has joined #ruby
mercwithamouth has joined #ruby
mengu has joined #ruby
_br_ has joined #ruby
beilabs has joined #ruby
dallasm has joined #ruby
KevinSjoberg has joined #ruby
_br_ has quit [Excess Flood]
_br_ has joined #ruby
_br_ has quit [Excess Flood]
Trudko has joined #ruby
generalissimo has joined #ruby
_br_ has joined #ruby
Konboi has joined #ruby
jeffreybaird has joined #ruby
khismetix has joined #ruby
<khismetix> Why does this code spit out a null string when splitting ?
<khismetix> empty string.. I should say
miskander has quit [Quit: miskander]
Umren|2 has joined #ruby
<Trudko> Guys I would like to ask you to help me with few sorting(i guess simple) issues in Ruby. first I have object array of objects of class Game which have attrbutes team_one_points and team_second_points. I want to find the match with highest number of points of either team_one or team_two. For example - [50,100] [ 110,50], [5,200] would return last object(200 is highest value of all)
arya has joined #ruby
yasu has quit [Ping timeout: 252 seconds]
d3vic3 has joined #ruby
Konboi_ has quit [Ping timeout: 260 seconds]
fschuindt has quit [Ping timeout: 252 seconds]
DrCode has joined #ruby
yasu has joined #ruby
miskander has joined #ruby
<shock_one> khismetix, what is #{3}?
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> Trudko you wrote a lot. can you shorten. you write that you need help with sort
<shevy> Trudko what is your input data (subset), what output data do you want to achieve?
Umren has quit [Ping timeout: 252 seconds]
<Trudko> input data is array of object of Class Game with attributes team_one_points and team_two_points
<shevy> Trudko can you make a pastie. or let me make one quickly, I need the definite input (simplified)
<Trudko> ok
<shevy> http://pastie.org/6196774 here is the current thing, I need more info ;)
<khismetix> shock_one : apologies.. new paste http://pastebin.com/4w5tiHU7
<shevy> ah yes
<shevy> you can also use include Comparable Trudko
banister`sleep has quit [Remote host closed the connection]
<apeiros_> Trudko: "I have object array" - the "object" part is redundant. every "thing" in ruby is an object.
banister`sleep has joined #ruby
<shevy> Trudko ok
<apeiros_> games.max_by { |game| [game. team_one_points, game.team_two_points].max }
<apeiros_> you need accessors for them, though
<apeiros_> alternatively, add a method Game#max_points, then you can do: games.max_by(&:max_points)
<Hanmac> or he chould define an <=> method, when the points methods can be protected
colonolGron has joined #ruby
<shevy> Trudko, this works http://pastie.org/pastes/6196824/text it is based on apeiros_ code hehehe
<shevy> yeah, <=> is what I wanted, but since someone else already gave one solution, this killed my motivation :(
<Trudko> shevy: apeiros thx guys
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
<Trudko> hh shevy i have another problems :D but at first i will check them my self first
<apeiros_> yes, with Game#<=> you can reduce it to even just: games.max
<shock_one> Hanmac, what module should I include when I define the spaceship operator? Sortable?
<apeiros_> shock_one: Comparable
<apeiros_> defines <, <=, >=, >, == and between?
<khismetix> rephrase : why the empty strings when performing this regex split ? p "123456".split(/(\d{1})/)
<khismetix> output ["", "1", "", "2", "", "3", "", "4", "", "5", "", "6"]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
<shevy> shock_one I prefer the deathstar operator
<apeiros_> khismetix: because you split by \d
<apeiros_> and between the digits are only empty strings
bubblehead has quit [Remote host closed the connection]
<apeiros_> khismetix: what did you expect?
<khismetix> ok.. I see.. split
vlad_starkov has joined #ruby
<apeiros_> you only get the digits in the array too because you capture them
mattbl has joined #ruby
chrishough has joined #ruby
<apeiros_> .split(/\d/, -1) would just be empty strings
<khismetix> what is the -1 in that instance ?
<apeiros_> the -1 because ruby special cases this split without the -1 and would return an empty array
<apeiros_> it basically tells ruby "keep on splitting even if it's all just empty strings"
Elhu has quit [Quit: Computer has gone to sleep.]
<khismetix> ok
<apeiros_> btw., \d{1} == \d
<havenwood> apeiros_: Ooh, been meaning to mention /title could use a bump to ruby-2.0.0-rc2 :D
<khismetix> many thanks apeiros .. I was thinking the wrong way around.. forgot that split argument is the delimiter
apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p385: http://ruby-lang.org (ruby-2.0.0-rc2) || Paste >3 lines of text on http://gist.github.com
<khismetix> and that the output was generated due to capture
<apeiros_> havenwood: thx
mmitchell has quit [Remote host closed the connection]
<khismetix> 2013 resolution.. to learn regex
<apeiros_> khismetix: ri Regexp
fir_ed has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
<apeiros_> by now it has a good bit of information
relix has joined #ruby
daniel_hinojosa has joined #ruby
meoblast001 has joined #ruby
zzing has joined #ruby
h4mz1d has quit [Ping timeout: 255 seconds]
pavilionXP has joined #ruby
<jrajav> khismetix: You should pick up something or take a class on Formal Automata
pskosinski has quit [Remote host closed the connection]
<khismetix> very newbie ruby question.. ri Regexp gives me a very brief descripition
swex has quit [Read error: Operation timed out]
<khismetix> jrajav .. believe it or not I used awk and sed a long time ago
<apeiros_> what does `ruby -v` show?
<khismetix> just gone very rusty on regexp
<jrajav> khismetix: It's a very good field for any programmer or computer scientist to have at least an introduction to, and it leads into regexes very elegantly
<khismetix> Formal Automata.. interesting
pskosinski has joined #ruby
pac1 has joined #ruby
kiwnix has quit [Quit: Leaving]
joofsh has joined #ruby
<jrajav> It will also make time/space complexity more approachable
<khismetix> apeiros_ ruby -v
<khismetix> ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
Skofo has joined #ruby
<chrishough> good morning :)
ferdev is now known as ferdev|away
<apeiros_> khismetix: you're living in the last millenium :-p
<khismetix> Ok.. on MacOSX .. must get 1.9.x
<apeiros_> get 1.9.3
<havenwood> 2.0.0 comes out in 8 days! :)
<apeiros_> rvm, rbenv, rbfu
<havenwood> chruby
<apeiros_> any other I forgot? :)
kn330 has joined #ruby
<apeiros_> man, I really should take my time and rebuild my bot. canned answers ftw
mengu has quit [Quit: This computer has gone to sleep]
<havenwood> apeiros_: ry and ruby-version
<havenwood> ruby-version author deprecated it in favor of chruby
<havenwood> rbfu author tweeted he was considering doing the same
<havenwood> i think ry is the least-used
<apeiros_> never even heard of ry
<Hanmac> huch i need to make more tickets on bugs.ruby-lang.org
one has joined #ruby
retseJ-X is now known as X-Jester
tylersmith has joined #ruby
lepht_afk has joined #ruby
chrishough has quit [Quit: chrishough]
chrishough has joined #ruby
alx- has quit [Ping timeout: 252 seconds]
<havenwood> chruby is awesome! uber-simple unix-style fuzzy matching of Rubies by name so you can do: chruby 1.9
<havenwood> i meant to put commas in there ^^
<apeiros_> doesn't postmodern use a different nick on irc?
jarjar_prime has quit [Quit: Ready? Set? Go!]
<jrabbit> havenwood: if you keep mentioning it, it mgiht not be for too long
<havenwood> nope, same nick
ferdev|away is now known as ferdev
tommyvyo has joined #ruby
<havenwood> apeiros_: just opposite time zone
<apeiros_> opposite of what?
chrishough has quit [Client Quit]
chrishough has joined #ruby
<havenwood> apeiros_: opposite of me, west coast usa - i dunno where he actually lives
AxonetBE has left #ruby [#ruby]
jarjar_prime has joined #ruby
<havenwood> apeiros_: #ronin and #chruby and here
<apeiros_> havenwood: what's west coast on? UTC-13?
<Trudko> shevy and what if i have same problem but I have array of games. each have attribute Players which have two attributes player_one_points, player_two points
nanothief has joined #ruby
jpfuentes2 has joined #ruby
matchaw___ has joined #ruby
<havenwood> apeiros_: Aack, I dunno. I had to google when 23:00 UTC was just a min ago to check when #ruby-implementers meeting would be today!
<havenwood> apeiros_: I'm curious to listen-in.
ogonec has joined #ruby
<ogonec> Hello
matchaw_ has quit [Ping timeout: 272 seconds]
<apeiros_> havenwood: oh, good you mention that
<apeiros_> I completely forgot
<havenwood> 23:00 UTC == 15:00 PST
h0rr has joined #ruby
CreativeEmbassy has joined #ruby
PanPan_ has joined #ruby
<havenwood> ogonec: hi
dagnachew has joined #ruby
wallerdev has joined #ruby
<ogonec> How are you here, guys?
d3vic3_ has joined #ruby
chessguy has quit [Remote host closed the connection]
<havenwood> ogonec: Saturday :D
<ogonec> Are here more then 3 guys in active?
nanothief has quit [Ping timeout: 252 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
matchaw___ has quit [Client Quit]
xardas has quit [Remote host closed the connection]
matchaw has joined #ruby
d3vic3 has quit [Ping timeout: 244 seconds]
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
miskander has quit [Quit: miskander]
dallasm has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
tenmilestereo has joined #ruby
khismetix has quit [Ping timeout: 252 seconds]
niklasb has quit [Ping timeout: 252 seconds]
xardas has joined #ruby
PanPan_ has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
<havenwood> ogonec: Active what? I dun understand.
arietis has joined #ruby
bradhe has quit [Remote host closed the connection]
mengu has joined #ruby
browndawg has quit [Quit: Leaving.]
<havenwood> 4h 20m till Ruby implementers meeting: https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130215
e-dard has left #ruby [#ruby]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
fschuindt has joined #ruby
vlad_sta_ has joined #ruby
swex has joined #ruby
<havenwood> Hrmm, i'm not sure symbol oom is that big of a deal. When i've tried making tons of symbols it slows down so much that taking all the ram is super time consuming. I guess for a vps server or something very ram limited it would be more dangerous?
thufir_ has joined #ruby
jaygen has quit [Read error: Operation timed out]
jaygen_ has joined #ruby
noxoc has quit [Ping timeout: 255 seconds]
<AndChat|> Where can we
samphippen has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 252 seconds]
jpfuentes2 has quit [Ping timeout: 252 seconds]
TomJ has quit [Read error: Connection reset by peer]
noxoc has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
hackeron has quit [Remote host closed the connection]
generalissimo has quit [Remote host closed the connection]
thufir_ has quit [Client Quit]
radq is now known as vikhyat
hackeron has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<Spooner> AndChat|, You can anywhere you feel like.
<shevy> Trudko where is the difference?
adkron has joined #ruby
<shevy> Trudko the way you described it, you could replace "class Game" with "class Player" and it would be the same solution :D
roadt has joined #ruby
<shevy> Spooner he wanted sex
adkron_ has joined #ruby
<Spooner> I'd use game.players[0].score and game.players[1].score, but that is just me ;)
TomJ has quit [Ping timeout: 248 seconds]
Rizzle has quit [Read error: Connection reset by peer]
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
d3vic3_ has quit [Quit: leaving]
relix has quit [Quit: relix]
<havenwood> jrabbit: ry seems really cool, a blog post comparing it to chruby would be interesting
clooth has quit [Quit: clooth]
<h0rr> how can i write a program in one line?
banister`sleep has quit [Remote host closed the connection]
teod has joined #ruby
<havenwood> h0rr: Don't hit return.
dagnachew has quit [Remote host closed the connection]
<havenwood> h0rr: Use a log of semi-colons.
<Hanmac> shevy: when the objects have a to_ary method, you can do : games.max_by { |(p1,p2)| [p1,p2].max} :PP
thufir_ has joined #ruby
Takehiro has quit [Remote host closed the connection]
jekotia has joined #ruby
blaxter has quit [Quit: foo]
BizarreCake has quit [Ping timeout: 252 seconds]
idiocrash has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 256 seconds]
blaxter has joined #ruby
otherj has quit [Ping timeout: 276 seconds]
joofsh has joined #ruby
jarjar_prime has quit [Quit: Sleep time.]
dagnachew has joined #ruby
banister`sleep has joined #ruby
otherj has joined #ruby
banister`sleep has quit [Remote host closed the connection]
thufir_ has quit [Quit: Leaving.]
banister`sleep has joined #ruby
vlad_sta_ has quit [Ping timeout: 255 seconds]
Beoran has joined #ruby
<Beoran> #eon
garbagecollect-1 has joined #ruby
<garbagecollect-1> what is rails
<havenwood> garbagecollect-1: A Rack web framework.
<garbagecollect-1> so ruby is the language
<garbagecollect-1> and what is rack
<havenwood> garbagecollect-1: A Ruby web server interface.
mengu has quit [Quit: This computer has gone to sleep]
<havenwood> garbagecollect-1: http://rack.github.com
<Trudko> shevy: ou sorryi wasnt clear now i have collection of games and each game have collection playermatches. PLayer match is collection of playerMatch object with attributes player_one_points player_two_points
vlad_starkov has joined #ruby
melkor has quit [Ping timeout: 244 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
<garbagecollect-1> thank you havenwood
<Trudko> shevy to give you and idea I am doing little program for bowling league and there you have Games (between teams) which consists of games between players
<havenwood> garbagecollect-1: It is customary to use a Rack web server with a Rack web framework for web apps in Ruby.
<garbagecollect-1> so what are the other options if you didn't use rack
<garbagecollect-1> are there other web frameworks for the ruby language?
<garbagecollect-1> besides rails
aaronmacy has joined #ruby
<havenwood> garbagecollect-1: Examples of Rack web servers include unicorn, rainbows! thin, webrick, puma, etc.
<garbagecollect-1> so ruby on unicorn?
<garbagecollect-1> ruby on rails
<garbagecollect-1> ruby on thin
<garbagecollect-1> ruby on webrick
<garbagecollect-1> ?
<havenwood> garbagecollect-1: Examples of Rack web frameworks include sinatra, rails, cuba, renee, camping, etc.
<garbagecollect-1> so ruby on sinatra is not the same thing as ruby on rails
<garbagecollect-1> but rails is the most popular
<garbagecollect-1> and everyone uses rack as the underlying?
fschuindt has quit [Read error: Connection reset by peer]
<garbagecollect-1> oh wait
nyuszika7h has quit [Read error: Connection reset by peer]
samphippen has joined #ruby
jonathanwallace has joined #ruby
<garbagecollect-1> so unicorn is a rack based web framework
<havenwood> garbagecollect-1: Why Ruby on Rails is called what it is called is bizarre and unusual. Sinatra is just Sinatra.
<havenwood> garbagecollect-1: No, unicorn is a Rack based web server.
ananthakumaran1 has quit [Ping timeout: 256 seconds]
<garbagecollect-1> and the framework for the interaction can be rails or sinatra
<garbagecollect-1> or something else
mengu has joined #ruby
<havenwood> garbagecollect-1: The framework is the thing, like Rails that you use to make the web app itself.
DuoSRX has quit [Remote host closed the connection]
<havenwood> garbagecollect-1: The web server is the thing on the other side of Rack that serves up your content over HTTP.
aaronmacy has quit [Client Quit]
<shevy> Trudko no real idea... but always try to stay as simple as possible
<garbagecollect-1> so if your using sinatra your probably not using rails
<apeiros_> usually not
<apeiros_> but it is possible
h0rr has quit [Quit: h0rr]
<havenwood> garbagecollect-1: sometimes you'll see multiple sinatra apps alongside a main rails app, or whatever
<Hanmac> garbagecollect-1 some of us use ruby for more cooler stuff than web apps
whowantstolivef1 has joined #ruby
<garbagecollect-1> havenwood: but in general?
<garbagecollect-1> so rack is a thing that has a web server that could be called webrick or unicorn
<havenwood> garbagecollect-1: like apeiros_ said, usually not
rippa has quit [Ping timeout: 240 seconds]
<garbagecollect-1> and that accept httpd requests
<garbagecollect-1> http
mlr has quit [Ping timeout: 260 seconds]
velCzupa has joined #ruby
<garbagecollect-1> and then the web framework like rails or sinatra somehow do things with the requests
<havenwood> garbagecollect-1: Unicorn is a really nice web server, especially for MRI Ruby.
<havenwood> garbagecollect-1: Puma is a nice option for JRuby or RBX.
<havenwood> garbagecollect-1: For web frameworks, Sinatra is a very nice option.
maxmanders has quit [Ping timeout: 252 seconds]
velCzupa has quit [Client Quit]
joofsh has quit [Remote host closed the connection]
<havenwood> garbagecollect-1: There are non-rack options, but rack is by far the most popular.
<garbagecollect-1> so what does the rack actually do if the web server component is really unicorn or something else
maxmanders has joined #ruby
chrisnicola has joined #ruby
nyuszika7h_ has joined #ruby
<canton7> it's called "middleware". it sits between the server and your web application
nyuszika7h_ is now known as nyuszika7h
<havenwood> garbagecollect-1: It is an interface between, yeah what canton7 said!
arietis has joined #ruby
<canton7> an interface layer, give or take, if you like. so your web app, written to talk to rack, can run on top of any webserver which also talks rack
<apeiros_> it standardizes the interface between your webserver and your application
CreativeEmbassy has joined #ruby
cableray has joined #ruby
jonathanwallace has quit [Ping timeout: 260 seconds]
<havenwood> garbagecollect-1: You can use other things like webmachine, but standardizing around Rack is really quite nice.
<canton7> and you can inject some other funky middleware, using rack. such as loggers, etc
zerba has quit [Remote host closed the connection]
carraroj has joined #ruby
<garbagecollect-1> so it goes browser -> web server -> rack -> rails
skattyadz has quit [Quit: skattyadz]
<apeiros_> yes
<apeiros_> sometimes even: browser -> reverse proxy -> unicorn -> rack -> rails
khismetix has joined #ruby
<garbagecollect-1> how does rails know to serve up certain views and stuff
<garbagecollect-1> its just by name?
adkron_ has quit [Ping timeout: 252 seconds]
<khismetix> ri Regexp not working with 1.9.3 installed on OSX : http://pastebin.com/5KkxrD1Q
<garbagecollect-1> is that rack interfacing with rails in a certain way
<khismetix> am I missing some gems ?
adkron has quit [Ping timeout: 244 seconds]
<apeiros_> where the reverse proxy usually distinguishes between static (assets, like images) and dynamic requests
<canton7> that's a very vague question, garbagecollect-1
<canton7> garbagecollect-1, rack passed the requested path, and other info (cookies, etc) to the application
<apeiros_> khismetix: how did you install ruby 1.9?
<khismetix> using rvm
<canton7> the application's routing can be done however it likes
<apeiros_> khismetix: rvm docs generate
<khismetix> :) thanks apeiros
<havenwood> garbagecollect-1: Rails does it its own way, the "Rails Way". It internally tells Rack. #RubyOnRails
adkron has joined #ruby
adkron_ has joined #ruby
<garbagecollect-1> RubyonRails is not friendly
<havenwood> garbagecollect-1: Sinatra is really worth looking at: http://www.sinatrarb.com
<havenwood> garbagecollect-1: #sinatra
<canton7> +1 for sinatra. awesome little dsl
<apeiros_> garbagecollect-1: *some people* on #ror are not friendly. just ignore them.
<apeiros_> it's the same on most of irc
<shock_one> garbagecollect-1, yeah, it's so unfriendly https://dl.dropbox.com/u/608214/scrn/1361042212.png
<havenwood> shock_one: snap :P
<apeiros_> ah, yeah, well, that's a great way to get kicked
jpfuentes2 has joined #ruby
<havenwood> garbagecollect-1: You could try #railsnoob. Sinatra is really nice though.
<garbagecollect-1> cool
<garbagecollect-1> how similar are sinatra and rails?
<havenwood> garbagecollect-1: Rails makes all the decisions for you and provides options to swap out alternatives for those decisions. Sinatra is a DSL that you can build up your own decisions with
dagnachew has quit [Remote host closed the connection]
<garbagecollect-1> DSL?
<havenwood> domain specific language
ferdev is now known as ferdev|away
<apeiros_> havenwood: well, since rails 3, you can go down to the rack level in your apps, so that's not really true
<havenwood> garbagecollect-1: Ruby has an ISO standard. That is documentation! http://www.ipa.go.jp/osc/english/ruby/ruby_draft_specification_agreement.html
<apeiros_> but yes, if you use "the rails way", then many decisions have already been made for you
gosshedd has joined #ruby
chico_chicote has joined #ruby
<apeiros_> havenwood: I wouldn't feed troll behavior…
<havenwood> apeiros_: True, true.
<Hanmac> "Rails makes all the decisions for you " including Backdoors that good progammers could avoid :P
io_syl has joined #ruby
<epitron> rails makes everything easy, including exploits
<Hanmac> :DD
<epitron> "ok, so i just generate a controller, run my backdoor scripts, and WHOOPS! i've got root!"
mklappstuhl has quit [Ping timeout: 256 seconds]
<epitron> (from DHH's 10 minute exploit screencast)
<apeiros_> well, I'm not a fan of rails, but show me an exploit-free framework or even programming language…
Takehiro has joined #ruby
<epitron> yeah, it's not like this was an obvious bug :)
<epitron> it requires a lot of cleverness to realize that assigning attributes can let you eval arbitrary code
<apeiros_> security is a process, and IMO the rails community is doing a better job there than many others. of course, nothing is perfect.
budmang has quit [Read error: Connection reset by peer]
bricker`LA has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<apeiros_> and thankfully it seems people are getting more serious about it in the ruby core community too
<epitron> yep
<epitron> but you do see the humour value in this, right?
<epitron> :)
nignaztic has joined #ruby
<apeiros_> maybe I'm too tired :-p
<havenwood> yeah, rails has comparatively few open cves
<epitron> unless you use webkit ^_^
<epitron> err, WEBRICK
<apeiros_> heh
<apeiros_> well, if you use webrick in prod, you should be flayed anyway
<havenwood> I think most lolroku apps use webrick.
<apeiros_> OO
<Hanmac> apeiros_ you mean they whineing that when they do "".to_sym an undeletable symbol is defined? :P
<havenwood> people don't realize that webrick is the default
<jrabbit> epitron: got a link to the dhh screencast?
<epitron> if you use "if you use <x> you should be flayed" satements, you should be flayed
* apeiros_ flays epitron
budmang has joined #ruby
<epitron> jrabbit: he didn't actually record a rails exploits in 10 minutes screencast :)
<jrabbit> oh :(
<havenwood> gem install flay
<epitron> "gem install rails-rootkit"
<apeiros_> zenspiders gem? nice
<epitron> "as you can see, ActiveExploit can use the ActiveResource controller to find out what models are in the system"
havenwood has quit [Read error: Connection reset by peer]
phinfonet has joined #ruby
<epitron> "from there we can just extract out all the database tables"
<Hanmac> i think rails should be an --warn-evil-function parameter that warns everytime evil functions are called ... like to_sym
<epitron> "this is the advantage of writing the exploits and the framework at the same time! they work together so well!"
jpfuentes2 has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby
<epitron> Hanmac: i think to_sym is used a lot of places :)
chrisnicola has quit [Quit: This computer has gone to sleep]
<apeiros_> nothing is evil, out of context
<apeiros_> you eval a couple of dozen times in your average ruby app
<apeiros_> or what do you think does require do?
<apeiros_> same with to_sym, as epitron already said
<garbagecollect-1> what does bundle do?
<apeiros_> garbagecollect-1: do you sometimes spend even 5 minutes to figure out something on your own?
cupakromer has joined #ruby
<Hanmac> require does not eval when the target is a .so file :P
<epitron> is garbagecollect-1 a frequent help vampire?
<apeiros_> garbagecollect-1: I know it's convenient to just ask here, but it's not nice
<garbagecollect-1> ppl here give better answers
shevy2 has joined #ruby
<havenwood> garbagecollect-1: it installs the gem dependencies listed in your Gemfile. Read: http://gembundler.com
<garbagecollect-1> i learn better this way
<apeiros_> garbagecollect-1: well, it might happen that people stop giving answers if they figure that you're too lazy to do any legwork
<epitron> garbagecollect-1: learn to learn better
blaxter has quit [Quit: foo]
gyre008 has quit [Ping timeout: 240 seconds]
<epitron> garbagecollect-1: http://slash7.com/2006/12/22/vampires/
Takehiro has quit [Ping timeout: 256 seconds]
<havenwood> How do I build a forum!?
<epitron> garbagecollect-1: http://railscasts.com/
<apeiros_> havenwood: you just start and work and work and work!!!!1!
<epitron> guys i have a forum but i need to add credit card support and ads and user tracking and generate graphs
<epitron> and it needs to be able to turn posts into products
<epitron> also it needs to be a CMS
<epitron> could someone please paste me some code for this
<apeiros_> gem install buzzwords
Vulix has joined #ruby
<garbagecollect-1> lol
<Hanmac> epitron ... isnt that a rails question?
blaxter has joined #ruby
<epitron> (next day) guys, i have a CMS, and i need to add forum support and ... :)
<mr-rich> I want to output a rolling percentage as a string ... is this how: ((x/y)*100).to_s?
Zespre has quit [Quit: leaving]
* apeiros_ ponders writing a `consultant` gem - all it does is display a text upon installation: "To solve your problem, you should hire a consultant"
gyre008 has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
<epitron> :D
<banister`sleep> mr-rich: x.to_f
* Hanmac is know known as a Symbol so garbagecollect cant delete me
<epitron> apeiros_: standard rates for IRC help would work too :)
<apeiros_> then anytime a "question" like the one portrayed by epitron comes up, I simply say "easy, just `gem install consultant`"
<apeiros_> and IT EVEN WORKS!
decoponio has quit [Quit: Leaving...]
pedro has joined #ruby
<epitron> topic: Ruby consultants: $100/hr. /msg consultbot help for more info
<pedro> hey anyone ever tried using mechanize proxy with scrapy?
moshee has quit [Ping timeout: 260 seconds]
ferdev|away is now known as ferdev
moshee has joined #ruby
<garbagecollect-1> how do i use haml instead of erb
<Hanmac> epitron i chould write an CMS for you ... in C :P
mklappstuhl has joined #ruby
<epitron> garbagecollect-1: dude.
<apeiros_> garbagecollect-1: you use haml instead of erb by just using haml instead of erb
<garbagecollect-1> no
<garbagecollect-1> you need to gem install
mengu has quit [Quit: This computer has gone to sleep]
jjbohn has quit [Quit: Leaving...]
<apeiros_> that's part of "using"
<epitron> Hanmac: does it do products and orders and let users make their own sites with forums and live support chat?
chrisramon has joined #ruby
<epitron> Hanmac: also we need graphs so we can see how many sales we are making
<apeiros_> it's obvious, as obvious as what you're really asking for…
<epitron> Hanmac: oh, and can you add a social network?
<apeiros_> epitron: gem install social-network
skattyadz has joined #ruby
<epitron> apeiros_: he's writing it in C
<apeiros_> oh
<apeiros_> ##c then. have fun :)
<Hanmac> epitron with enough time i think yes ... but i dont think you want it ... :P
<Hanmac> i said that i can write CMS in C, not that i want it :P
<epitron> :)
* apeiros_ "wrote" a webserver in C
SeanLazer has quit [Quit: SeanLazer]
<havenwood> garbagecollect-1: http://bit.ly/UrWeio
<epitron> i can write an entire operating system in basic!
* apeiros_ wants to try to add mruby to it
<epitron> i would never do this.
* apeiros_ lacks time
<garbagecollect-1> does for come with action mailer?
<Hanmac> apeiros_ webserver in C is that i learned while education for my job
adkron_ has quit [Ping timeout: 256 seconds]
<epitron> garbagecollect-1: no, "for" is part of the standard virtual machine
<garbagecollect-1> huh
<apeiros_> garbagecollect-1: seriously, at least spend a little bit of time to ask questions which make at least a little bit of sense…
<Hanmac> epitron: you could run mruby in an EFI shell ... from that you could write anything :D
<epitron> haha
adkron has quit [Ping timeout: 240 seconds]
<garbagecollect-1> maybe i shouldn't have taken this 150k job
<epitron> RUBY BIOS
<garbagecollect-1> i told them i don't know rails
arya has quit [Ping timeout: 248 seconds]
<epitron> where are you working?
workmad3 has joined #ruby
<garbagecollect-1> google
mengu has joined #ruby
skattyadz has quit [Client Quit]
<epitron> haha
clooth has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<epitron> in new york?
goganchic has joined #ruby
<Hanmac> garbagecollect ah you are the guy that shows the search results when someone enters something in the search field?
<shock_one> breaking news! google is switching to rails.
CreativeEmbassy has joined #ruby
<apeiros_> breaking news - google hires people who can't google and pays 150k
<Hanmac> breaking news - google hires people that dont know what google is
<chico_chicote> this is bash.org material
arya has joined #ruby
<pedro> !?
<apeiros_> havenwood: use the reverse-pinguin one, fits better IMO :)
<havenwood> apeiros_: oooh, good point
<shock_one> pedro, ‽
<apeiros_> interobang!
bradhe has joined #ruby
<shock_one> pedro, not everybody knows there is a special symbol to punctuate a rhetorical question.
<apeiros_> may the great meatball bless unicode
<garbagecollect-1> where is my "gem file"
jarjar_prime has joined #ruby
goganchic has quit []
<havenwood> garbagecollect-1: Google is a better tool for that question. Don't be a help vampire. If you get stuck with google, ask us! :)
<Hanmac> apeiros_ http://bash.org/?705948 :DD
<apeiros_> Hanmac: is he talking about symphony?
<garbagecollect-1> i am stuck with google
<garbagecollect-1> how do i use it
<apeiros_> ah, it's spelled symfony
hakunin has quit [Read error: Connection reset by peer]
<havenwood> garbagecollect-1: http://gembundler.com/gemfile.html
<havenwood> garbagecollect-1: #bundler
<garbagecollect-1> thanks
<apeiros_> shock_one: rofl
<epitron> don't feed the vampires
<epitron> you must use this wooden stake
dagnachew has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
<epitron> garbagecollect-1: are you a java guy?
danneu has joined #ruby
<epitron> man, this guy is making google look so bad
timols has joined #ruby
IceDragon has joined #ruby
<Xeago> what do you use to present a presentation from a pdf file?
<epitron> PDFPRESENTER PRO
<epitron> $99
<havenwood> preview.app
<apeiros_> shock_one: http://www.youtube.com/watch?v=D8Ix1BgEK0g - skip to 1:00 (not the one I was actually looking for, though)
<apeiros_> hm, actually that ones pretty bad :(
<apeiros_> dang, takes too much time to find the one I meant, sorry
<Xeago> havenwood: Can't get a second screen with details tho..
imami|afk is now known as banseljaj
one has quit [Ping timeout: 256 seconds]
<shock_one> apeiros_, did you know that you can append start time parameter? http://www.youtube.com/watch?v=D8Ix1BgEK0g&t=1m0s
<Vulix> Is railsinstaller.org up to date
<apeiros_> shock_one: I know it, but I never remember how :)
<apeiros_> t= should be easy enough to remember :-/
miskander has joined #ruby
gyre008 has quit [Remote host closed the connection]
<Vulix> this guide http://guides.rubyonrails.org/getting_started.html doesnt work with the version of ruby on railsinstaller.org
jpfuentes2 has joined #ruby
<Vulix> and im trying to get into it
<havenwood> This would make a good Ruby 2.0.0 release video with just the ending changed: http://www.youtube.com/watch?v=bbEy98llGRU
<apeiros_> Vulix: you probably want #rubyonrails
<apeiros_> Vulix: also try to do better than "doesn't work"
<apeiros_> since "doesn't work" is a rather useless problem description
<Vulix> tyvm apeiros_
havenwood has quit [Remote host closed the connection]
<Vulix> yea I didnt know if it was already known
Takehiro has joined #ruby
<theoros> assume Cat < Animal. is there any way with rspec to verify that Cat.new will receive .foo but that it will actually call Animal#foo ?
<apeiros_> doesn't matter
<Vulix> ok calm down now :)
svnieuw has joined #ruby
<apeiros_> I am calm, but people telling me to calm down set me up…
<apeiros_> upset me?
<apeiros_> englishfail :)
<shock_one> Vulix, there is a link to the guides git at the buttom. There you can find the latest version.
blaxter has quit [Quit: foo]
<Vulix> Can I copy\paste error messages in here?
<apeiros_> Vulix: >3 lines to a pastebin
<apeiros_> anything else - yes
zz_chrismcg is now known as chrismcg
<Vulix> good point brb
<shock_one> apeiros_, pastebin sucks
<apeiros_> shock_one: "*a* pastebin"
<apeiros_> and yes, pastebin.org sucks, which is why I wrote gist in the topic
<apeiros_> .com?
<apeiros_> it sucks so hard, I don't even know its tld
chrismcg is now known as zz_chrismcg
<Vulix> If you have done the tutorial, it gets stuck here for me: http://pastebin.com/76RLDqwJ not sure if htat is really helpful, seems to fail at @posts.each
<epitron> vulix flies in the face of apeiros' hate
* apeiros_ really needs canned answers - was too lazy to write "such as gist.github.com"
<Xeago> just say, at gists
<Xeago> or gist it
<Xeago> or even, to github
<apeiros_> Xeago: many people don't know what "to gist" means
fedza_ has joined #ruby
<apeiros_> and I doubt any dictionary lists it as "paste your text on gist.github.com"
niklasb has joined #ruby
<apeiros_> Vulix: the error tells you that @posts is nil
<apeiros_> which means that you probably forgot to assign to it in your controller
<shock_one> Xeago, gist the PostsController index action
<Xeago> shock_one: I don't have such controller nor such action
<shock_one> Xeago, tell Vulix to gist it.
<Vulix> ty ill look into it
<apeiros_> lol
fedza has quit [Read error: Connection reset by peer]
dagnachew has quit [Remote host closed the connection]
<apeiros_> help by proxy :)
mengu has quit [Quit: Leaving]
chylli has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 252 seconds]
jpfuentes2 has quit [Ping timeout: 248 seconds]
banister`sleep has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
zzing has quit [Quit: Computer has gone to sleep.]
cupakromer has quit []
redo has joined #ruby
Beoran has quit [Remote host closed the connection]
Beoran_ has quit [Remote host closed the connection]
redo has quit [Client Quit]
chrishough_ has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
jpfuentes2 has joined #ruby
phinfonet has quit [Ping timeout: 244 seconds]
<garbagecollect-1> anyone have a tutorial on front end programming in rials
chrishough has quit [Ping timeout: 252 seconds]
chrishough_ is now known as chrishough
<Hanmac> garbagecollect-1 you are in the wrong channel ... try #rubyonrails
dagnachew has joined #ruby
idkazuma has joined #ruby
[[johnonymous]] has joined #ruby
pmros has joined #ruby
svnieuw has left #ruby [#ruby]
adeponte has quit [Remote host closed the connection]
xaq has quit [Remote host closed the connection]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
dagnachew has quit [Ping timeout: 255 seconds]
ryez has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
jonathanwallace has joined #ruby
angusiguess has joined #ruby
Vulix has left #ruby [#ruby]
miskander has quit [Quit: miskander]
generalissimo has joined #ruby
nanothief has joined #ruby
uris has joined #ruby
kn330 has quit [Ping timeout: 252 seconds]
khimera has joined #ruby
jrajav has joined #ruby
timols has quit [Quit: timols]
adkron has joined #ruby
adkron_ has joined #ruby
mmitchell has joined #ruby
admin0 has joined #ruby
hakunin has joined #ruby
nanothief has quit [Ping timeout: 252 seconds]
timols has joined #ruby
chrisramon has quit [Quit: chrisramon]
timols has quit [Client Quit]
mmitchell has quit [Ping timeout: 264 seconds]
tylersmith has quit [Quit: tylersmith]
adkron_ has quit [Ping timeout: 257 seconds]
miskander has joined #ruby
chrisramon has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
plotter has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
ryannielson has joined #ruby
arturaz has quit [Ping timeout: 264 seconds]
lethjakman has joined #ruby
Konboi has quit [Remote host closed the connection]
bricker`LA has joined #ruby
IceDragon has quit [Read error: No route to host]
arya has quit [Ping timeout: 248 seconds]
khimera has quit [Quit: khimera]
IceDragon has joined #ruby
arturaz has joined #ruby
e-dard has joined #ruby
<e-dard> Hi, I'm looking for options for parsing meta-data in files. The files are markdown files to be used as pages on a website. I'm parsing the markdown using redcarpet but I would like to add meta data
arya has joined #ruby
alx- has joined #ruby
<e-dard> the metadata might be things like: post title, date of post, tags, categories etc. is there anything that will do both the markdown and metadata in the file/string?
thufir_ has joined #ruby
<shock_one> e-dard, so, it isn't some standart format of metadata? It looks pretty simply, you can parse it by yourself.
<Spooner> e-dard, It is usual to do that with YAML in the header.
lethjakman has quit [Ping timeout: 256 seconds]
<Spooner> e-dard, also known as "YAML front matter".
adkron has joined #ruby
ahokaomaeha has joined #ruby
<e-dard> Spooner: ah cool. Thanks. I'm not familiar with YAML :-) but seems like that's exactly what I was looking for
<e-dard> Just need to find something that will parse the YAML and then the markdown (or I suppose I could split the file contents at a specific point and send parts to respective parsers)...
<Spooner> YAML documents are separated by --- so that is easy enough.
<e-dard> Spooner: ah great. Thanks!
joeycarmello has joined #ruby
<Spooner> e-dard, One option: https://github.com/starrhorne/preamble
wallerdev has quit [Quit: wallerdev]
apoch632 has joined #ruby
<e-dard> I will take inspiration. Thanks
adkron_ has joined #ruby
ryannielson has left #ruby [#ruby]
<Spooner> If you are using one of the Ruby web frameworks, however, I'm sure they already have mechanisms for dealing with it (I know nanoc & Jekyll do; assume Sinatra and Rails have something too).
tjbiddle has joined #ruby
<arturaz> does ruby have any view-first web frameworks?
<e-dard> Spooner: I'm a Python guy. I'm learning Ruby this weekend and am building a static site generator as a way to get up to speed. :)
Guest16387 has quit [Ping timeout: 245 seconds]
<Spooner> e-dard, Nanoc and Jekyll already do that well enough ;)
<e-dard> So trying to do as much as possible myself (I'm using Sinatra)
Xeago has joined #ruby
<e-dard> Spooner: exactly - then I won't learn anything :)
yxhuvud has quit [Ping timeout: 264 seconds]
<Xeago> For the first time ever, I could not recover my mac
<Hanmac> e-dard you can run ruby inside python :P
<Hanmac> or with python :P
<Xeago> applications froze, but not the cursor after pressing cmd+I in safari to e-mail the current page's contents
<Xeago> and form there everything seemed normal
CreativeEmbassy has joined #ruby
<e-dard> Xeago: Mine kernel panic all the time!
<Xeago> e-dard: kernel panics would be remote debugable
<Xeago> for example over firewire or utp
tylersmith has quit [Quit: tylersmith]
Es0teric has joined #ruby
vierja has quit [Ping timeout: 252 seconds]
Jackneill has quit [Ping timeout: 248 seconds]
joofsh has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
<Xeago> that said, I would rather have a kernel panic than this. If you want and are knowledged enough, you can boot OSX manually while debugging without restarting the machine :)
<Xeago> takes anout 10 minutes of typing, did it frequently at the applestore
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
TheFuzzball has quit [Quit: Computer has gone to sleep.]
mercwith1mouth has quit [Ping timeout: 244 seconds]
mercwithamouth has quit [Ping timeout: 244 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
<Xeago> believe it or not, the standard shell being faded out at the repair desk in favor of another shell.
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
ddd has joined #ruby
cupakromer has joined #ruby
ddd is now known as Guest16060
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
* Hanmac is still suprised that Apple let you compile software on an OSX
vierja has joined #ruby
<Xeago> Hanmac: why?
<e-dard> Xeago: I also own one of the wonderful iMacs that can't have it's wifi used for long before it stops working until reboot…
vierja has quit [Max SendQ exceeded]
<Xeago> e-dard: 2008 iMac?
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
adkron_ has quit [Ping timeout: 248 seconds]
<e-dard> nah mid 2011. https://discussions.apple.com/thread/3953756?start=0&tstart=0 been on ethernet for 12 months. Completely unusable on wifi :-/
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
arya has quit [Ping timeout: 248 seconds]
adkron has quit [Ping timeout: 276 seconds]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
crackfu has quit [Remote host closed the connection]
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
zodiak has quit [Quit: Leaving]
crackfu has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
pmros has quit [Quit: Konversation terminated!]
generalissimo has quit [Remote host closed the connection]
arya has joined #ruby
SeanLazer has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
jjbohn has joined #ruby
vierja has joined #ruby
vierja has quit [Max SendQ exceeded]
dmiller has quit [Ping timeout: 276 seconds]
chrishough has quit [Quit: chrishough]
vierja has joined #ruby
<maddog_> Hey, has anyone a solution for this problem: https://gist.github.com/danielbecker/4968775
pedro has quit [Ping timeout: 255 seconds]
<maddog_> It happens at some random iteration and sometimes not at all
codezombie has joined #ruby
crackfu has quit [Ping timeout: 255 seconds]
chrisramon has quit [Ping timeout: 252 seconds]
jarjar_prime has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
jarjar_prime has joined #ruby
robbyoconnor has joined #ruby
b1rkh0ff has quit [Quit: Leaving]
tjbiddle has quit [Quit: tjbiddle]
pedro has joined #ruby
razibog has quit [Ping timeout: 252 seconds]
<shock_one> maddog_, must be some bug in the mail gem
<maddog_> shock_one: it happtens too if I use the plain net/smtp library
<maddog_> *happens
zz_chrismcg is now known as chrismcg
<dEPy> /clear
chrismcg is now known as zz_chrismcg
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<shock_one> maddog_, the only thing that looks suspicious is mail.deliver!
zzing has joined #ruby
<maddog_> shock_one: why is that?
<shock_one> maddog_, because it can fail.
adeponte has joined #ruby
<maddog_> shock_one: you are not very helpful
<shevy2> maddog_ well he wrote that there could be a bug in the mail gem
shevy2 is now known as shevy
* Hanmac is now known as not_shevy
<maddog_> shevy2: yes, and I wrote that I don't think so, as the error message states that the problem is within the ruby net/protocol implementation
vnrr89 has joined #ruby
bean has joined #ruby
vnrr89 has left #ruby [#ruby]
adeponte has quit [Ping timeout: 252 seconds]
<xybre> The exception was raised there, doesn't mean its a problem in the implementation.
whowantstolivef2 has joined #ruby
PragCypher has quit [Quit: Leaving]
<shock_one> maddog_, can you put sleep 5 in the end of the file?
<maddog_> shock_one: i already tried, doesn't help
tgandrews has joined #ruby
dpritchett has joined #ruby
apoch632 has quit [Quit: Leaving.]
Takehiro has joined #ruby
whowantstolivef1 has quit [Ping timeout: 248 seconds]
<Xeago> e-dard: send it back?
<Xeago> assuming you have applecare
<e-dard> Xeago: I do, but it's my main dev machine, so it's easier to use ethernet and keep working..
pedro has quit []
stevechiagozie has joined #ruby
<e-dard> Xeago Just one of the many OSX issues I have to put up with… ;-)
Caius has quit [Ping timeout: 252 seconds]
beilabs has quit [Ping timeout: 245 seconds]
dpritchett has quit [Quit: Linkinus - http://linkinus.com]
Takehiro has quit [Ping timeout: 252 seconds]
ferdev is now known as ferdev|away
<Xeago> e-dard: pity, I would love to ssh into your machine and have a look xD
<e-dard> Xeago: if you read through that thread you will see the general outline of the problem, and the solutions proposed (none worked for me)
emmanuelux has quit [Remote host closed the connection]
[[johnonymous]] has quit [Quit: Computer has gone to sleep.]
<Xeago> it was such a relief for me to pass the intermediate exam (internal at apple), only after that are you allowed to use a shell/terminal during repairs and stuff
<Xeago> e-dard: what thread? I am probably blind in missing the link
ner0x has joined #ruby
tylersmith has joined #ruby
<shock_one> Xeago, are you working at Apple?
havenwood has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
tommyvyo has joined #ruby
cableray has joined #ruby
jjbohn has quit [Quit: Leaving...]
<Xeago> had a quite extensive internship
ryanf has joined #ruby
<shock_one> Xeago, what do they write in ruby?
<Xeago> helper scripts, some management stuff, but that is not why I idle here
<Xeago> more shell and perl tho
jjbohn has joined #ruby
chussenot has quit [Quit: chussenot]
Caius has joined #ruby
<shock_one> Xeago, I suppose, you can't share the exam text?
c0rn has joined #ruby
plotter has joined #ruby
arya has quit [Ping timeout: 248 seconds]
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
jpfuentes2 has joined #ruby
beilabs has joined #ruby
c0rn has quit [Ping timeout: 252 seconds]
skattyadz has joined #ruby
<e-dard> Is there anything in Ruby std lib for mocking out a file? I'm thinking about something that allows me to create and object that behaves like a file-object
<Xeago> shock_one: unfortunayely
<Xeago> it is quite advanced, but it doesn't check basics
Guest45072 has quit [Remote host closed the connection]
<Xeago> which I am lacking because I am self-thought, mostly from tuto's/blogs
<Xeago> mostly lacking in unix permissions
c0rn has joined #ruby
<Xeago> the default unixy stuff genius' get taught is similar to Linux101 exam
<e-dard> ah it's exactly what I know from Python - StringIO :-D
<shock_one> They're quite simple not considering special flags — there are 3 groups, each can read, write and execute
<Xeago> e-dard: just create an object that has a similar interface/methods as the object you mock
<Xeago> shock_one: I am aware of that, even most special flags
<e-dard> Xeago: that's typically a very long-winded way of doing something
<Xeago> e-dard: then what do you want to do?
<shock_one> Xeago, so, what was the question?
<e-dard> Xeago: StringIO is exactly what'
<Xeago> stream string/memory backed?
joofsh has quit [Remote host closed the connection]
<Xeago> but I can't solve this without help: I have a directory in my homefolder, owned by another group of which I am member. Some daemon process creates files and directories in this folder.
etcetera has joined #ruby
<Xeago> I can't delete files in directories in the folder (because I don't have groupwrite on directories)
<maddog_> Now that's interesting. I upgraded the memory of the machine with the problematic script. Now the first run was fine, let's see if a second one works too
<Xeago> what should I change to get new directories group writeable?
ferdev|away is now known as ferdev
<shock_one> Xeago, existing directories?
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<maddog_> Nice, it really seems to be a memory problem -.-
<shock_one> maddog_, you could write a bug report
vikhyat has quit [Remote host closed the connection]
ccarterc has joined #ruby
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
<shock_one> Xeago, so, you have -rw -r- ---- and new folders should be -rw- rw- ---?
chrisramon has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
Chinorro has joined #ruby
<shock_one> I messed up a little -rw- r-- --- => -rw- rw- ---
arya has joined #ruby
ccarterc has left #ruby [#ruby]
<shock_one> It looks impossible to me, unless you're the owner. What is the answer?
tommyvyo has joined #ruby
miskander has quit [Quit: miskander]
chrisramon has quit [Ping timeout: 248 seconds]
answer_42 has quit [Remote host closed the connection]
<zzing> If I had a game written in ruby, with an AI written in ruby, would it be possible to reload the AI code while the game is still running to allow for quick changes?
<Spooner> zzing, Yes.
<zzing> What should I look at when I need this?
Dwarf has joined #ruby
toekutr has joined #ruby
<Spooner> Though that rather depends how you implement the AI, I suppose. Any state would be lost, of course.
<Spooner> zzing, You can use load to force loading of a script (where require only loads once).
adambeynon has joined #ruby
fedza_ has quit [Ping timeout: 256 seconds]
<zzing> Spooner, so a load would replace all objects of a type?
<Spooner> zzing, Not directly, but you would be overwriting the methods on the class which the instances inherit from.
Edward_ has joined #ruby
lethjakman has joined #ruby
<heftig> that wouldn't mean state is lost
yfeldblum has joined #ruby
<zzing> okay overwriting methods is good
Mattix has quit [Read error: Connection reset by peer]
Matip has joined #ruby
shock_one has quit [Read error: Operation timed out]
<Spooner> Well, no, it wouldn't. Not sure why I suggested that.
<heftig> the state is still the same, but the new code needs to be able to make sense of the old state
cupakromer has quit [Ping timeout: 276 seconds]
relix has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
fir_ed has quit [Ping timeout: 245 seconds]
jaygen_ has quit [Read error: Connection reset by peer]
matchaw_ has joined #ruby
Astral__ has quit [Ping timeout: 245 seconds]
matchaw has quit [Ping timeout: 244 seconds]
mockra has joined #ruby
nari has joined #ruby
elico has joined #ruby
nanothief has joined #ruby
fixl has joined #ruby
cparen has joined #ruby
cparen has quit [Client Quit]
marr has joined #ruby
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
ahokaomaeha has joined #ruby
fedza_ has joined #ruby
<Xeago> shock_one: I asked it earlier, setting the sticky bit indeed.
<Xeago> can anyone repost that if he connects shortly? I might disconnect due to battery and not be online until I get home
nanothief has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
sepp2k1 has joined #ruby
PanPan_ has joined #ruby
sepp2k has quit [Ping timeout: 256 seconds]
chrisramon has joined #ruby
Takehiro has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
aedornm has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
PanPan_ has quit [Ping timeout: 248 seconds]
pdamer has joined #ruby
Takehiro has quit [Ping timeout: 260 seconds]
thufir_ has quit [Quit: Leaving.]
QKO has quit [Read error: Operation timed out]
jslowe has joined #ruby
maletor has joined #ruby
<relix> ^ estse porno in soviet tijde
tylersmith has quit [Quit: tylersmith]
QKO has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
adambeynon has quit [Quit: Computer has gone to sleep.]
<garbagecollect-1> in ruby what does this do
<garbagecollect-1> .item{:id => "item#{item.id}"}
Xeago has joined #ruby
<garbagecollect-1> like specifically why do i need that #
enebo has joined #ruby
chrisramon has quit [Quit: chrisramon]
tylersmith has joined #ruby
AndChat| has quit [Ping timeout: 248 seconds]
blueOxigen has quit [Ping timeout: 255 seconds]
<apeiros_> garbagecollect-1: it's called string interpolation. it allows you to create a string with a piece of code interpolated into it.
<banister_> apeiros_: sup
<apeiros_> e.g. x = "world"; y = "hello #{x}"
<apeiros_> hi banister_
<apeiros_> not much
<apeiros_> and you?
<banister_> apeiros_: i bought no ki nahi or wahtever it's called
<banister_> that studio ghibli game
enebo has quit [Client Quit]
<banister_> unfortunately i haven't played it much but it stick it on from time to time to listen to the music
<apeiros_> ^^
<banister_> apeiros_: not sure i have the mental space to play games anymore
<garbagecollect-1> what does interpolated mean
<banister_> garbagecollect-1: it means google
Vulix has joined #ruby
<banister_> garbagecollect-1: google it lazy-pants
<banister_> garbagecollect-1: i guess in ruby it has a specific meaning so i'll let you off ;)
Xeago_ has joined #ruby
Xeago is now known as Guest54538
Xeago_ is now known as Xeago
<banister_> garbagecollect-1: name = "john" puts "hello #{name}" # => results int "hello john" displayed on terminal
<garbagecollect-1> yeah i know that
Guest54538 has quit [Ping timeout: 248 seconds]
<Vulix> im having a hard time remembering syntax
<banister_> garbagecollect-1: basically it means to stick a string inside another string
adamjleonard has quit [Quit: Leaving...]
Adys has joined #ruby
tgandrews has quit [Quit: Leaving]
<garbagecollect-1> i see
<apeiros_> Vulix: then write a cheatsheet?
<garbagecollect-1> so kind of like in javascript you have to do + whatever
<banister_> garbagecollect-1: unless you're doing graphics/game programming
<banister_> in which case 'interpolated' has a totally different meaning
<Vulix> I guess im used to programming more procedurally
<garbagecollect-1> in haml
<garbagecollect-1> whether you use ( or { doesn't matter does it
<garbagecollect-1> %span(id='blah')
<garbagecollect-1> vs %span{;id => blah}
Banistergalaxy has joined #ruby
mmitchell has joined #ruby
<apeiros_> it does. and the docs tell you the difference.
<apeiros_> srsly, man up and start reading stuff.
<garbagecollect-1> what docs?
<Vulix> im going to fork ruby and make a language called red gemstone
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
<apeiros_> garbagecollect-1: srsly? you need another "let me google that for you" link?
<garbagecollect-1> dude I'm reading the docs
<garbagecollect-1> I'm not just asking u guys questions
<apeiros_> then wtf is it with you and "what docs"…
<garbagecollect-1> im reading docs that tell me you can do ( or {
<garbagecollect-1> they don't tell the difference
arya has quit [Ping timeout: 248 seconds]
* apeiros_ rolls his eyes
<apeiros_> if you say so
<Vulix> garbage collect copy paste link
<garbagecollect-1> i closed the window
<garbagecollect-1> im not lying though
<garbagecollect-1> proof I'm reading the docs is the fact i even asked the questoin
<apeiros_> garbagecollect-1: dude, you made it on my "stop bothering with that guy"-list pretty quickly.
<garbagecollect-1> also how do u link controllers to certain views so the helper method are available
<garbagecollect-1> whatever
<apeiros_> exactly
alanp_ has joined #ruby
<garbagecollect-1> Brackets represent a Ruby hash that is used for specifying the attributes of an element. It is literally evaluated as a Ruby hash, so logic will work in it and local variables may be used. Quote characters within the attribute will be replaced by appropriate escape sequences.
<garbagecollect-1> what exactly is a "ruby hash"
<garbagecollect-1> i see that as an object notatino
alanp has quit [Read error: Operation timed out]
<Spooner> garbagecollect-1, Hash object. aka a dictionary or mapping.
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<garbagecollect-1> oh
<garbagecollect-1> so logic doesn't work inside (
<Spooner> That rather depends.
bean has quit [Quit: Computer has gone to sleep.]
jaygen has joined #ruby
codecop has quit [Remote host closed the connection]
<Spooner> On what you mean by that.
Xeago_ has joined #ruby
Xeago is now known as Guest93788
Guest93788 has quit [Killed (sendak.freenode.net (Nickname regained by services))]
Xeago_ is now known as Xeago
<garbagecollect-1> in haml
dallasm has joined #ruby
<garbagecollect-1> %span(blahblahblah)
<garbagecollect-1> if i say had to do a #{item.something}
arya has joined #ruby
<cmyers> anyone have any experience with mocha? according to http://gofreerange.com/mocha/docs/, it looks like I should just do "@mymock = mock()" then set expectations, but I get NoMethodError for mock...
<cmyers> (using mocha 0.13.2, rails 3.2.12)
Takehiro has joined #ruby
tjbiddle has joined #ruby
roadt has quit [Ping timeout: 248 seconds]
pdamer has quit [Quit: pdamer]
arya has quit [Ping timeout: 256 seconds]
Takehiro has quit [Ping timeout: 260 seconds]
nicoulaj has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
S0da has quit [Ping timeout: 256 seconds]
etcetera has quit []
kirun has quit [Quit: Client exiting]
generalissimo has joined #ruby
etcetera has joined #ruby
caleb_io has joined #ruby
kodeart has joined #ruby
Xeago has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
miskander has joined #ruby
sqrel has quit [Read error: Connection reset by peer]
cisco has joined #ruby
Xeago has joined #ruby
Squarepy has quit [Quit: Leaving]
sebastianb has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
spider-mario has quit [Remote host closed the connection]
mattbl has quit [Quit: This computer has gone to sleep]
<Xeago> apeiros_: you got your new machine yet?!
jimeh has joined #ruby
jimeh has quit [Client Quit]
miskander has quit [Client Quit]
generalissimo has quit [Remote host closed the connection]
generalissimo has joined #ruby
dallasm has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
ryez has quit [Ping timeout: 248 seconds]
matchaw_ has quit [Quit: No Ping reply in 180 seconds.]
arya has joined #ruby
matchaw has joined #ruby
bean has joined #ruby
mattbl has joined #ruby
stormetrooper has joined #ruby
caleb_io has quit [Quit: caleb_io]
mityaz has quit [Quit: See ya!]
relix has quit [Quit: relix]
arya has quit [Ping timeout: 252 seconds]
mockra has quit [Remote host closed the connection]
nyuszika7h has quit [Ping timeout: 245 seconds]
<epitron> garbagecollect-1: you owe these guys a cut of your paycheque
<garbagecollect-1> yeah i do
ryanf_ has joined #ruby
Umren|2 has quit [Read error: Connection reset by peer]
<garbagecollect-1> i will pay for all night question answering
khismetix has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
maycon_ has quit [Changing host]
maycon_ has joined #ruby
<epitron> good man
maycon_ is now known as maycon
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
havenwood has joined #ruby
beilabs has quit [Ping timeout: 245 seconds]
arya has joined #ruby
ryanf has quit [Ping timeout: 244 seconds]
miskander has joined #ruby
Fezzler has joined #ruby
PanPan_ has joined #ruby
nyuszika7h has joined #ruby
Takehiro has joined #ruby
arya has quit [Ping timeout: 255 seconds]
<apeiros_> Xeago: no :(
<apeiros_> holidays + sickness = requirements not fulfilled :-/
matchaw___ has joined #ruby
blacktulip has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 248 seconds]
ryanf_ has quit [Read error: Connection reset by peer]
PanPan_ has quit [Ping timeout: 276 seconds]
mattbl has quit [Quit: This computer has gone to sleep]
jeffreybaird has quit [Ping timeout: 264 seconds]
cisco has quit [Read error: Connection reset by peer]
Takehiro has quit [Ping timeout: 252 seconds]
cisco has joined #ruby
jjbohn has quit [Quit: Leaving...]
jonathanwallace has joined #ruby
chrishough has joined #ruby
enebo has joined #ruby
ryanf has joined #ruby
Vulix has left #ruby [#ruby]
beilabs has joined #ruby
Vulix has joined #ruby
<Vulix> So I am sort of confused as to what the philosophy of Ruby is that matz keeps quoting in itnerviews
kofno has joined #ruby
chrishough_ has joined #ruby
chrishough has quit [Client Quit]
chrishough_ is now known as chrishough
chrishough has quit [Client Quit]
Fezzler has quit [Quit: Leaving]
chrishough has joined #ruby
<arturaz> Vulix, try python and feel the difference :)
jekotia has joined #ruby
chrishough has quit [Client Quit]
chrishough has joined #ruby
Vert has joined #ruby
enebo has quit [Quit: enebo]
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
RonScagz has joined #ruby
ahokaomaeha has joined #ruby
etcetera has quit []
Elhu has joined #ruby
whowantstolivef2 has quit [Quit: quit]