apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
banisterfiend is now known as banister`sleep
ritek has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
dmoctezuma has joined #ruby
hasimo_ has quit [Remote host closed the connection]
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
io_syl_ has joined #ruby
skattyadz has quit [Quit: skattyadz]
Blaze_Boy has quit [Ping timeout: 245 seconds]
wyhaines_ has quit [Remote host closed the connection]
predator217 has joined #ruby
kristofers has quit []
generalissimo has joined #ruby
io_syl has quit [Ping timeout: 256 seconds]
io_syl_ is now known as io_syl
Mattix has joined #ruby
danneu has joined #ruby
neku has quit [Quit: Linkinus - http://linkinus.com]
predator117 has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby
caveat- has joined #ruby
chico_chicote has quit [Remote host closed the connection]
tish has quit [Ping timeout: 250 seconds]
jamesfung14 has joined #ruby
FenrirReturns has joined #ruby
turkAlurk has quit [Quit: Leaving]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Stilo has joined #ruby
ebobby has quit [Ping timeout: 245 seconds]
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
mmitchell has joined #ruby
skattyadz has joined #ruby
elux has joined #ruby
vipjun has quit [Ping timeout: 264 seconds]
nomenkun has quit [Read error: Connection reset by peer]
etcetera has joined #ruby
nomenkun has joined #ruby
etcetera has quit [Client Quit]
onlinenickid has quit [Quit: Nettalk6 - www.ntalk.de]
dsferreira has quit [Quit: This computer has gone to sleep]
CreativeEmbassy has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
tcstar has quit [Ping timeout: 245 seconds]
takeru has joined #ruby
ebobby has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
drumsrgr1 is now known as drumsrgr8forn8
hemanth has joined #ruby
woolite64 has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
takeru has quit [Ping timeout: 250 seconds]
nomenkun has quit [Read error: Connection reset by peer]
rmelissari has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
etcetera has joined #ruby
Konfusius is now known as KonfuAFK
mpfundstein has joined #ruby
bonhoeffer has joined #ruby
Xeago has quit [Remote host closed the connection]
etcetera has quit [Client Quit]
alx- has joined #ruby
chrisnicola has quit [Quit: This computer has gone to sleep]
b0oh has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
horofox has joined #ruby
nomenkun has joined #ruby
b0oh has quit [Client Quit]
yshh has quit [Remote host closed the connection]
apeiros_ has joined #ruby
jtperreault has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
drumsrgr8forn8 has quit [Quit: WeeChat 0.3.9.2]
terrific has left #ruby [#ruby]
PragCypher has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
malkomalko has joined #ruby
aed has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
nomenkun has joined #ruby
newUser1234 has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
eka has quit [Quit: Computer has gone to sleep.]
nomenkun has joined #ruby
apeiros_ has quit [Ping timeout: 276 seconds]
etcetera has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
jbueza has joined #ruby
nomenkun has joined #ruby
Kuifje has quit [Ping timeout: 252 seconds]
etcetera has quit [Client Quit]
evenix has joined #ruby
kpshek has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
NiteRain has quit [Ping timeout: 246 seconds]
nomenkun has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
perun__ has quit [Ping timeout: 248 seconds]
wwwrunner2 has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has joined #ruby
carlyle has joined #ruby
ilyam has quit [Quit: ilyam]
evenix has quit [Ping timeout: 250 seconds]
PragCypher has joined #ruby
R_Macy has quit [Quit: Computer has gone to sleep.]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
feedbackloop has quit [Ping timeout: 260 seconds]
awarner has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
carlyle has quit [Remote host closed the connection]
jasonthesensei has left #ruby [#ruby]
F1skr has quit [Quit: WeeChat 0.4.0]
xardas has quit [Ping timeout: 276 seconds]
tealmage has quit [Remote host closed the connection]
Spooner_ has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
ckrailo has quit [Quit: Computer has gone to sleep.]
horofox has quit [Quit: horofox]
the_jeebster has quit [Quit: Leaving.]
aedornm has quit [Quit: Leaving]
Takehiro has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
lupinstein has joined #ruby
hemanth has joined #ruby
nik_-_ has quit [Quit: nik_-_]
caveat- has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Takehiro has quit [Ping timeout: 240 seconds]
verysoftoiletppr has joined #ruby
apeiros_ has joined #ruby
alx- has quit [Ping timeout: 240 seconds]
ephemerian has quit [Quit: Leaving.]
masaya has joined #ruby
mikurubeam has joined #ruby
hasimo has joined #ruby
wsylvest has joined #ruby
mpfundstein has quit [Remote host closed the connection]
nomenkun has joined #ruby
kpshek has quit []
wsylvest has quit [Client Quit]
rupee has quit [Quit: Leaving]
manyoo has joined #ruby
mikepack has quit [Remote host closed the connection]
jellosea_ has joined #ruby
hasimo has quit [Ping timeout: 260 seconds]
mikurubeam has quit [Ping timeout: 276 seconds]
manyoo has quit [Client Quit]
fixl has joined #ruby
apeiros_ has quit [Ping timeout: 248 seconds]
dsferreira_ has joined #ruby
marcdel has joined #ruby
marr has quit [Ping timeout: 264 seconds]
linguini has joined #ruby
cyberflux has joined #ruby
banjara has quit [Quit: Leaving.]
nomenkun has quit [Ping timeout: 256 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
mikurubeam has joined #ruby
stkowski has quit [Quit: stkowski]
<linguini> Should # ruby -e "require 'mkmf'" # succeed without any additional gems?
Takehiro has joined #ruby
<Caelum> linguini: it does for me
<Caelum> linguini: but I have some gems installed
<Caelum> linguini: on my system 1.8 ruby it fails
luckyruby has quit [Remote host closed the connection]
dsferreira_ has quit [Quit: This computer has gone to sleep]
<linguini> Caelum: Thanks; it looks like mkmf is on http://www.ruby-doc.org/stdlib-1.9.3/ , but the above does not work for me (using ruby 1.9.3p194).
freezway has joined #ruby
dhruvasagar has joined #ruby
ryanf has quit [Ping timeout: 264 seconds]
<freezway> so im calling a function and in that function, I declare an array. but it gives me /home/andrew/NetBeansProjects/guitarHero/lib/main.rb:16:in `draw_arrow': undefined method `[]' for nil:NilClass (NoMethodError)
<freezway> ill post the code (1 sec)
atyz has quit [Ping timeout: 240 seconds]
Takehiro has quit [Ping timeout: 252 seconds]
<freezway> why would it through that error
aed has quit [Quit: aed]
daniel_- has quit [Quit: WeeChat 0.3.9.2]
<freezway> nvm... missing commas
bigoldrock has quit [Ping timeout: 245 seconds]
freakazoid0223 has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
sahbeewah has joined #ruby
sirish has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
zeade has quit [Quit: Leaving.]
MrZYX is now known as MrZYX|off
mmitchell has quit [Remote host closed the connection]
sambao21 has joined #ruby
stopbit has joined #ruby
QaDeS_ has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
hemanth has quit [Ping timeout: 264 seconds]
tylersmith has quit [Quit: tylersmith]
marcdel has left #ruby [#ruby]
marcdel has joined #ruby
squidBits has quit [Quit: whoops]
QaDeS has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
ryanf has joined #ruby
emmanuelux has quit [Ping timeout: 276 seconds]
ryanf has quit [Client Quit]
daemoen has joined #ruby
d2dchat has joined #ruby
alexim has quit [Quit: sleep]
Roa has joined #ruby
k3rn3lito has joined #ruby
jbueza has left #ruby [#ruby]
skattyadz has quit [Quit: skattyadz]
feedbackloop has joined #ruby
etcetera has joined #ruby
malkomalko has quit [Read error: Connection reset by peer]
adkron has quit [Ping timeout: 248 seconds]
Takehiro has joined #ruby
malkomalko has joined #ruby
idkazuma has joined #ruby
adkron_ has quit [Ping timeout: 248 seconds]
FenrirReturns has left #ruby [#ruby]
mercwith2mouth has joined #ruby
postmodern has quit [Quit: Leaving]
mercwith2mouth has quit [Client Quit]
mercwith1mouth has quit [Quit: leaving]
NiteRain has joined #ruby
rickmasta has joined #ruby
mercwith1mouth has joined #ruby
apeiros_ has quit [Ping timeout: 240 seconds]
jurassic has joined #ruby
marcdel has quit [Quit: Leaving.]
io_syl has quit [Quit: Computer has gone to sleep.]
mercwith1mouth has quit [Client Quit]
idkazuma has quit [Ping timeout: 276 seconds]
mercwith1mouth has joined #ruby
ilyam has joined #ruby
ilyam has quit [Remote host closed the connection]
<mercwith1mouth> does anyone know of any gems that contend with feedzirra?
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<mercwith1mouth> running into a bug using it and jruby...that's been discussed but not fixed
alx- has joined #ruby
<freezway> so arrows.map! { |i| [i[0],i[1]+@speed] } arrows is an array of arrays
<mercwith1mouth> hmm i suppose nokogiri would have been a better choice from the start
<freezway> i want something like [[1,4],[3,5]] to become [[1,4+speed],[3,5+speed]]
icole has quit [Remote host closed the connection]
<freezway> but that code gives me undefined method `[]' for nil:NilClass (NoMethodError)
sn0wb1rd has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
tvw has quit []
adkron has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<freezway> nvm
io_syl has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
backjlack has quit [Remote host closed the connection]
adkron_ has joined #ruby
freeayu has quit [Ping timeout: 276 seconds]
statarb3 has quit [Quit: Leaving]
etcetera has quit []
generalissimo has quit [Remote host closed the connection]
james_ has joined #ruby
jamesfung14 has quit [Read error: Connection reset by peer]
james_ is now known as Guest75181
elux has quit [Quit: Leaving...]
io_syl has quit [Quit: Computer has gone to sleep.]
slainer68 has joined #ruby
twoism has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
bradhe has quit [Remote host closed the connection]
itsdavem has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest75181 has quit [Ping timeout: 260 seconds]
nga4 has quit [Ping timeout: 245 seconds]
nomenkun has joined #ruby
bricker is now known as bricker`work
aed has joined #ruby
sleetdrop has joined #ruby
Nightmare has quit [Read error: Connection reset by peer]
drale2k has joined #ruby
Es0teric has quit [Ping timeout: 250 seconds]
freakazoid0223 has joined #ruby
Nightmare has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
Voodoofish430 has quit [Quit: Leaving.]
hasimo has joined #ruby
icole has joined #ruby
Stilo has joined #ruby
hasimo has quit [Read error: Connection reset by peer]
alvaro_o has quit [Quit: Ex-Chat]
takeru has joined #ruby
apeiros_ has joined #ruby
masaya has quit [Ping timeout: 252 seconds]
adkron_ has quit [Ping timeout: 245 seconds]
elux has joined #ruby
aed has quit [Quit: aed]
asereje has joined #ruby
adkron has quit [Ping timeout: 255 seconds]
kofno has joined #ruby
IonGyth has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
james__ has joined #ruby
takeru has quit [Ping timeout: 276 seconds]
aed has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
Amnesthesia has quit [Read error: Connection reset by peer]
jdunck has quit [Quit: Computer has gone to sleep.]
newUser1234 has quit [Ping timeout: 248 seconds]
apeiros_ has quit [Ping timeout: 248 seconds]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
slopjong has quit [Ping timeout: 245 seconds]
yashshah has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
Amnesthesia has joined #ruby
Virunga has quit [Remote host closed the connection]
Yakko has joined #ruby
splud has quit [Quit: splud]
kofno has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
orien has joined #ruby
zomgbie has joined #ruby
sam113101 has quit [Quit: WeeChat 0.3.8]
itsdavem has quit [Remote host closed the connection]
takeru has joined #ruby
idkazuma has joined #ruby
james__ has quit [Ping timeout: 260 seconds]
echobinary has quit [Ping timeout: 250 seconds]
joeycarmello has quit [Remote host closed the connection]
sorbo_ has joined #ruby
itsdavem has joined #ruby
itsdavem has quit [Remote host closed the connection]
eAlchemi_ has joined #ruby
alx- has quit [Quit: alx-]
alx- has joined #ruby
eAlchemist has quit [Ping timeout: 250 seconds]
slainer68 has quit [Remote host closed the connection]
rafacv has joined #ruby
wormwood has quit [Quit: WeeChat 0.4.0]
apok has quit [Quit: apok]
itsdavem has joined #ruby
apeiros_ has joined #ruby
sam113101 has joined #ruby
splud has joined #ruby
larissa has joined #ruby
carloslopes has joined #ruby
QaDeS_ has quit [Quit: Ex-Chat]
aed has quit [Quit: aed]
carloslopes has quit [Remote host closed the connection]
kofno has joined #ruby
bricker`LA has joined #ruby
aed has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
sleetdrop has quit [Remote host closed the connection]
wallerdev has joined #ruby
itsdavem has quit [Remote host closed the connection]
postmodern has joined #ruby
voodoofish has quit [Ping timeout: 256 seconds]
itsdavem has joined #ruby
Banistergalaxy has quit [Ping timeout: 276 seconds]
ebobby has quit [Ping timeout: 256 seconds]
dmoctezuma has quit [Read error: Connection reset by peer]
dmoctezuma has joined #ruby
Banistergalaxy has joined #ruby
fuzai has joined #ruby
Quebert has joined #ruby
dogweather has joined #ruby
bradhe has joined #ruby
dallasm has joined #ruby
rocket has quit [Ping timeout: 264 seconds]
linguini has quit [Ping timeout: 276 seconds]
jurassic has quit [Quit: jurassic]
Ontolog has quit [Remote host closed the connection]
voodoofish has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
huoxito has joined #ruby
nga4 has joined #ruby
yacks has joined #ruby
eAlchemi_ has quit [Remote host closed the connection]
jurassic has joined #ruby
eAlchemist has joined #ruby
uuair has joined #ruby
willob has joined #ruby
willob has quit [Max SendQ exceeded]
uuair has left #ruby [#ruby]
willob has joined #ruby
apeiros_ has joined #ruby
guns has joined #ruby
willob has quit [Client Quit]
alx- has quit [Quit: alx-]
eAlchemist has quit [Ping timeout: 245 seconds]
zeade has joined #ruby
zeade has quit [Client Quit]
mercwith1mouth has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 256 seconds]
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
nari has joined #ruby
xbayrockx has joined #ruby
wf2f has quit [Ping timeout: 276 seconds]
mikepack has joined #ruby
hbpoison has joined #ruby
apeiros_ has quit [Ping timeout: 240 seconds]
Yakko has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
Amnesthesia has quit [Read error: Operation timed out]
tish has joined #ruby
zeade has joined #ruby
zeade has quit [Client Quit]
Takehiro has quit [Remote host closed the connection]
hbpoison has quit [Read error: Connection reset by peer]
sorbo_ has quit [Quit: sorbo_]
hbpoison has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
Amnesthesia has joined #ruby
malcolmva has joined #ruby
generalissimo has joined #ruby
MehLaptop has joined #ruby
bradhe has joined #ruby
danneu has quit [Ping timeout: 248 seconds]
jonahR_ has joined #ruby
aed has quit [Quit: aed]
kofno has quit [Remote host closed the connection]
jonahR_ is now known as jonahR
aed has joined #ruby
danneu has joined #ruby
wormwood has joined #ruby
tealmage has joined #ruby
jeffreybaird has joined #ruby
jeffreybaird has quit [Client Quit]
jonahR has quit [Quit: jonahR]
jurassic has quit [Quit: jurassic]
zomgbie has quit [Ping timeout: 248 seconds]
tealmage has quit [Ping timeout: 245 seconds]
itsdavem has quit [Remote host closed the connection]
aed has left #ruby [#ruby]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
drale2k has quit [Quit: Leaving...]
gommo has joined #ruby
itsdavem has joined #ruby
aed has joined #ruby
drale2k has joined #ruby
<aed> join #middleman
danneu has quit [Ping timeout: 240 seconds]
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
danneu has joined #ruby
15SAA3180 has joined #ruby
92AAB7I97 has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
ocnam has joined #ruby
freeayu has joined #ruby
sirish has quit [Read error: Connection reset by peer]
sirish has joined #ruby
cyberflux has quit []
apeiros_ has joined #ruby
15SAA3180 has quit [Ping timeout: 255 seconds]
92AAB7I97 has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
noesis has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
akashj87 has joined #ruby
freeayu has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
Takehiro has joined #ruby
Tarellel has joined #ruby
joeycarmello has joined #ruby
akashj87 has quit [Ping timeout: 245 seconds]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Tarellel has quit [Remote host closed the connection]
apeiros_ has quit [Ping timeout: 248 seconds]
bigmac has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
bigmac has quit [Client Quit]
bigmac has joined #ruby
mikepack has quit [Remote host closed the connection]
xbayrockx has quit [Read error: Connection reset by peer]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
drale2k has quit [Quit: Leaving...]
dorei has quit []
drale2k has joined #ruby
axxT has joined #ruby
dcwu has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
yashshah has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
R_Macy_ has joined #ruby
malkomalko has quit [Remote host closed the connection]
techlife has quit [Ping timeout: 276 seconds]
zomgbie has joined #ruby
roadt has joined #ruby
eAlchemist has joined #ruby
techlife has joined #ruby
mnaser has quit [Ping timeout: 252 seconds]
dmiller has joined #ruby
zomgbie has quit [Ping timeout: 255 seconds]
mnaser has joined #ruby
nomenkun has joined #ruby
itsdavem has quit [Remote host closed the connection]
orien has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
stopbit has quit [Quit: Leaving]
nomenkun has quit [Ping timeout: 260 seconds]
eAlchemist has quit [Ping timeout: 240 seconds]
stopbit has joined #ruby
hbpoison_ has joined #ruby
jurassic has joined #ruby
jblack has joined #ruby
verysoftoiletppr has quit []
itsdavem has joined #ruby
<end_guy> I love that I can solve my C programming projects in school with 1 simple line of Ruby.
drale2k has quit [Quit: Leaving...]
<end_guy> That is all.
verysoftoiletppr has joined #ruby
drale2k has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
apeiros_ has quit [Ping timeout: 256 seconds]
nfk has joined #ruby
drale2k has quit [Client Quit]
echobinary has joined #ruby
jurassic has quit [Quit: jurassic]
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
ryanf has quit [Quit: leaving]
larissa has quit [Quit: Leaving]
dhruvasagar has quit [Read error: Connection reset by peer]
orospakr has quit [Remote host closed the connection]
kofno has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
aedornm has joined #ruby
Yakko has joined #ruby
aedornm has quit [Client Quit]
tommyvyo has quit [Quit:]
aedornm has joined #ruby
jwang has quit [Quit: Leaving]
kofno has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
gommo has quit [Remote host closed the connection]
PragCypher has quit [Ping timeout: 245 seconds]
vipjun has joined #ruby
PragCypher has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
hbpoison_ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
hbpoison has joined #ruby
CreativeEmbassy has joined #ruby
mnaser has quit [Ping timeout: 245 seconds]
drale2k has joined #ruby
fuzai has quit [Quit: fuzai]
brianpWins has joined #ruby
aedornm has quit [Quit: Leaving]
mnaser has joined #ruby
Yakko has quit [Read error: Connection reset by peer]
RickFromTheSOC has joined #ruby
tomzx_mac has quit [Ping timeout: 248 seconds]
dmiller has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Ping timeout: 276 seconds]
r0bby has joined #ruby
hadees has joined #ruby
maycon__ has joined #ruby
RickFromTheSOC has quit [Client Quit]
RickFromTheSOC has joined #ruby
aed has quit [Quit: aed]
yshh has joined #ruby
maycon_ has quit [Ping timeout: 276 seconds]
jurassic has joined #ruby
itsdavem has quit [Remote host closed the connection]
zomgbie has joined #ruby
h4mz1d has joined #ruby
rolloTomasi has quit [Ping timeout: 240 seconds]
fuzai has joined #ruby
asereje has quit [Quit: Instantbird 1.3 -- http://www.instantbird.com]
CreativeEmbassy has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
asereje has joined #ruby
itsdavem has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
verysoftoiletppr has quit []
zomgbie has quit [Ping timeout: 255 seconds]
rolloTomasi has joined #ruby
mnaser has quit [Ping timeout: 260 seconds]
tcstar has joined #ruby
takeru has quit [Remote host closed the connection]
rolloTomasi has quit [Remote host closed the connection]
drale2k has quit [Ping timeout: 248 seconds]
yshh has quit [Remote host closed the connection]
mnaser has joined #ruby
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby
h4mz1d has quit [Ping timeout: 255 seconds]
jurassic has quit [Quit: jurassic]
aedornm has joined #ruby
sirish has quit [Ping timeout: 260 seconds]
jurassic has joined #ruby
ryanf has joined #ruby
tish has quit [Quit: Leaving.]
yshh has joined #ruby
idkazuma has quit [Ping timeout: 248 seconds]
xbayrockx has joined #ruby
wf2f has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
tealmage has joined #ruby
popori has joined #ruby
apeiros_ has joined #ruby
nightfly has quit [Quit: WeeChat 0.3.7]
aed has joined #ruby
echobin8 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
uris has quit [Ping timeout: 260 seconds]
huoxito has quit [Quit: Leaving]
fuzai has quit [Quit: fuzai]
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
xbayrockx has quit [Ping timeout: 264 seconds]
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
zomgbie has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
guns has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Ping timeout: 276 seconds]
love_color_text has quit [Ping timeout: 248 seconds]
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
Elhu has joined #ruby
wukefe has joined #ruby
gommo has joined #ruby
viktech has joined #ruby
viktech has left #ruby ["Leaving"]
nomenkun has joined #ruby
idkazuma has joined #ruby
mockra has quit [Remote host closed the connection]
idkazuma has quit [Read error: Connection reset by peer]
idkazuma has joined #ruby
mockra has joined #ruby
wukefe has left #ruby [#ruby]
Elhu has quit [Quit: Computer has gone to sleep.]
Blaze_Boy has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
yashshah has quit [Ping timeout: 250 seconds]
<shock_one> end_guy, calculator! puts eval(gets)
aedornm has quit [Quit: Leaving]
RickFromTheSOC has left #ruby ["Leaving"]
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
mikurubeam has joined #ruby
philcrissman has joined #ruby
dallasm has quit [Remote host closed the connection]
keyvan is now known as love_color_text
tcstar has quit [Quit: Leaving]
apeiros_ has joined #ruby
MehLaptop has quit [Remote host closed the connection]
<end_guy> shock_one: that's so wrong
<end_guy> shock_one: Even more wrong, here's my input to that calculator `rm -rf /`
Elhu has joined #ruby
yshh has quit [Remote host closed the connection]
danman has joined #ruby
Elhu has quit [Client Quit]
dmiller has joined #ruby
mritr_ has joined #ruby
danman has quit [Client Quit]
zomgbie has quit [Ping timeout: 248 seconds]
hashmal has joined #ruby
aed has quit [Quit: aed]
drale2k has joined #ruby
aedornm has joined #ruby
paolooo has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<shock_one> end_guy, beauty requires sacrifice
<end_guy> shock_one: agreed
casheew has quit [Read error: Connection reset by peer]
<TTilus> one helluva calculator
<end_guy> :D
dmiller has quit [Ping timeout: 248 seconds]
<TTilus> "my calculator runs rails apps, what does yours do?"
icole has joined #ruby
drale2k has quit [Ping timeout: 248 seconds]
philcrissman has quit [Remote host closed the connection]
casheew has joined #ruby
rocket has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
one has joined #ruby
Quebert has quit [Ping timeout: 245 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has quit [Read error: Connection reset by peer]
<freezway> I remade guitar hero in 49 lines
<freezway> its fucking ugly code
<freezway> but it works
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
<shock_one> what IO do you use?
love_color_text has joined #ruby
jeremywrowe has quit [Ping timeout: 256 seconds]
takeru has joined #ruby
<freezway> Rubygame
jeremywrowe has joined #ruby
<freezway> then Midilib for loading midis
fuzai has joined #ruby
otters has quit [Quit: bye]
dhruvasa1ar has joined #ruby
otters has joined #ruby
jwang has joined #ruby
itsdavem has quit [Remote host closed the connection]
echobin8 has quit [Read error: Connection reset by peer]
r0bby has quit [Ping timeout: 245 seconds]
echobinary has joined #ruby
itsdavem has joined #ruby
browndawg has joined #ruby
Astralum has joined #ruby
Astral__ has quit [Ping timeout: 256 seconds]
rafacv has quit [Remote host closed the connection]
araujo has quit [Quit: Leaving]
earthquake has joined #ruby
zomgbie has joined #ruby
itsdavem has quit [Remote host closed the connection]
girija has joined #ruby
R_Macy_ has quit [Quit: Computer has gone to sleep.]
r0bby has joined #ruby
yewton has quit [Excess Flood]
itsdavem has joined #ruby
yewton has joined #ruby
freezway has quit [Ping timeout: 276 seconds]
yewton has quit [Excess Flood]
yewton has joined #ruby
mockra has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 248 seconds]
generalissimo has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
itsdavem has joined #ruby
itsdavem has quit [Remote host closed the connection]
gommo has quit [Remote host closed the connection]
yewton has quit [Excess Flood]
yewton has joined #ruby
Villadelfia has quit [Read error: Connection reset by peer]
SeySayux has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
havenwood has quit [Remote host closed the connection]
Villadelfia has joined #ruby
SeySayux has joined #ruby
Zolo has joined #ruby
popori has quit [Read error: Connection reset by peer]
girija has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
hemanth has joined #ruby
<hemanth> : /var/lib/gems/2.0/ has no bin dir!
sepp2k has joined #ruby
roadt has quit [Ping timeout: 252 seconds]
<shock_one> It's a great library. I don't have many experience with event systems, can anyone explain me what is the right way to listen to events? Because the example from Rubygame site doesn't seem perfect — it uses 25% of my CPU in the idle state. until @event_queue.wait().is_a? Events::KeyPressed; end
<shock_one> many -> much
v0n has joined #ruby
mercwith1mouth has quit [Ping timeout: 245 seconds]
dogweather has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
djwonk has joined #ruby
drale2k has joined #ruby
Quebert has joined #ruby
aedornm has quit [Quit: Leaving]
rocket has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
Takehiro has joined #ruby
drale2k has quit [Ping timeout: 245 seconds]
drale2k has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
bigmac has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 260 seconds]
Banistergalaxy has joined #ruby
apeiros_ has joined #ruby
Artheist has joined #ruby
hbpoison has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
hbpoison has quit [Ping timeout: 240 seconds]
tealmage has joined #ruby
sn0wb1rd_ has joined #ruby
aedornm has joined #ruby
zomgbie has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
echobin97 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
akashj87 has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
zomgbie has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby
Mchl has quit [Remote host closed the connection]
mikurubeam has quit [Quit: +1 (Yes). -1 (No). i (WTF?).]
hogeo_ has joined #ruby
mikepack has joined #ruby
hogeo has quit [Ping timeout: 276 seconds]
Zolo has quit [Remote host closed the connection]
sn0wb1rd has left #ruby [#ruby]
nomenkun has joined #ruby
oinkon has joined #ruby
<oinkon> I seem to need an extra space after '\n' to get the newline to show up in put's output?
v0n has quit [Ping timeout: 248 seconds]
chussenot has joined #ruby
<oinkon> i guess so. as documented. it likes to insert separators
sn0wb1rd_ has quit [Quit: ZNC - http://znc.in]
wallclockbuilder has joined #ruby
shock_one has quit [Ping timeout: 240 seconds]
sn0wb1rd_ has joined #ruby
akashj87 has quit [Ping timeout: 245 seconds]
sn0wb1rd_ has quit [Client Quit]
sn0wb1rdz has joined #ruby
Matip has joined #ruby
nga4_ has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
tvw has joined #ruby
sn0wb1rdz has quit [Client Quit]
Mattix has quit [Ping timeout: 260 seconds]
sn0wb1rd_ has joined #ruby
hbpoison has joined #ruby
mockra has joined #ruby
sn0wb1rd_ has quit [Client Quit]
ananthakumaran has joined #ruby
sn0wb1rd_ has joined #ruby
akashj87 has joined #ruby
r0bby is now known as robbyoconnor
idkazuma has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 260 seconds]
atyz has joined #ruby
razibog has joined #ruby
brianpWins has joined #ruby
Blaze_Boy has quit [Ping timeout: 260 seconds]
dhruvasa1ar has quit [Ping timeout: 250 seconds]
hbpoison has quit [Ping timeout: 276 seconds]
eAlchemist has joined #ruby
statarb3 has joined #ruby
dhruvasagar has joined #ruby
mritr_ has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
axhlf has joined #ruby
cantonic_ has joined #ruby
Gwyxx has joined #ruby
cantonic has quit [Ping timeout: 276 seconds]
cantonic_ is now known as cantonic
sn0wb1rd_ has quit [Quit: ZNC - http://znc.in]
BizarreCake has joined #ruby
Guest63730 has joined #ruby
Guest63730 has quit [Client Quit]
lkba has joined #ruby
gsorbier has joined #ruby
lewis has joined #ruby
lewis has quit [Changing host]
lewis has joined #ruby
marr has joined #ruby
rezzack has quit [Quit: Leaving.]
sn0wb1rdz has joined #ruby
backjlack has joined #ruby
hbpoison has joined #ruby
io_syl has joined #ruby
hbpoison has quit [Ping timeout: 250 seconds]
swex has quit [Remote host closed the connection]
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
dhruvasagar has quit [Ping timeout: 248 seconds]
Skylab has joined #ruby
eAlchemist has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
eAlchemist has joined #ruby
ananthakumaran has quit [Ping timeout: 240 seconds]
hbpoison has joined #ruby
tealmage has joined #ruby
eAlchemist has quit [Ping timeout: 248 seconds]
mikepack has quit [Remote host closed the connection]
echobinary has joined #ruby
echobin97 has quit [Read error: Connection reset by peer]
love_color_text has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 250 seconds]
nga4_ has quit []
hbpoison has quit [Ping timeout: 256 seconds]
gommo has joined #ruby
tommyvyo has quit [Quit:]
kaffepanna has quit [Remote host closed the connection]
Artheist has quit [Read error: Connection reset by peer]
Rioji has joined #ruby
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
gsorbier has quit [Quit: Textual IRC Client: www.textualapp.com]
oposomme has joined #ruby
lkba has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
lkba has joined #ruby
<lewis> longest = %w{ cat sheep bear }.inject do |memo, word| memo.length > word.length ? memo : word;end
<lewis> can someone explain how inject works in this situation
whitedawg has joined #ruby
<Paradox> its fairly uneeded
<Paradox> but
<Hanmac1> it works as a remember ...
Hanmac1 is now known as Hanmac
wallclockbuilder has quit [Remote host closed the connection]
<Hanmac> >> %w{ cat sheep bear }.max_by &:length
<eval-in> Hanmac => "sheep" (http://eval.in/12278)
aedornm has quit [Quit: Leaving]
kidoz has joined #ruby
<lewis> Hanmac: how come it works as a remember,with memo as an accumulator
dsferreira has joined #ruby
<Hanmac> i mean inject can use for summation or others, in this case memo is used to remember the last results
djwonk has quit []
djwonk has joined #ruby
ananthakumaran has joined #ruby
<hemanth> Hanmac, sup!?
<Paradox> its a silly way to do it
<Paradox> but something that would come out of a CS class homework
itsdavem has joined #ruby
<Paradox> i remember having to write something similar in java
<Paradox> *shudder*
<hemanth> Java--
djwonk has quit [Client Quit]
<hemanth> Paradox, even though java $suck
<Paradox> java.sucks?
<Paradox> true
<hemanth> it has many opportunity...that makes me sad
* Hanmac wishes that he had ruby homework when he was little ... :(
<hemanth> self.java.hate=true
<Paradox> java.needs_update?
<Paradox> true
<Paradox> always true
maxmanders has joined #ruby
<hemanth> java.isdead?
<hemanth> flase
<hemanth> :{
jurassic has quit [Quit: jurassic]
LBRapid has quit [Quit: ZNC - http://znc.sourceforge.net]
brianpWins has quit [Quit: brianpWins]
<hemanth> how many of them just do plain ruby for living?
* hemanth is one of them ;)
himsin has quit [Quit: Ex-Chat]
<lewis> Paradox: it's from the ruby documentation
LBRapid has joined #ruby
techlife has quit [Ping timeout: 248 seconds]
Mchl has joined #ruby
cantonic has quit [Quit: cantonic]
fjfish has joined #ruby
snearch has joined #ruby
hbpoison has joined #ruby
<hemanth> Hanmac, ha ha! relative=1!
itsdavem has quit [Remote host closed the connection]
idkazuma has joined #ruby
xardas has joined #ruby
whitedawg has quit [Quit: Leaving.]
one has quit [Ping timeout: 260 seconds]
jgrevich has quit [Read error: Connection reset by peer]
techlife has joined #ruby
icole has quit [Remote host closed the connection]
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
ToTo has quit [Quit: Linkinus - http://linkinus.com]
subbyyy has joined #ruby
adambeynon has joined #ruby
toto_ has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
slopjong has joined #ruby
QaDeS has joined #ruby
danneu has quit [Ping timeout: 240 seconds]
horofox has joined #ruby
axhlf has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 260 seconds]
snearch has quit [Quit: Verlassend]
daniel_- has joined #ruby
aedornm has joined #ruby
dsferreira has quit [Quit: This computer has gone to sleep]
testingb0t has joined #ruby
atmosx has joined #ruby
echobin26 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 245 seconds]
Rizzle has quit [Ping timeout: 276 seconds]
fuzai has quit [Quit: fuzai]
<hemanth> anyone here using gem2deb on debian?
daniel_- has quit [Ping timeout: 260 seconds]
<hemanth> have a ruby gem path issue
araujo has joined #ruby
AndChat| has joined #ruby
eAlchemist has joined #ruby
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
lewis has quit [Remote host closed the connection]
hbpoison has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
Mchl has quit [Quit: ZNC - http://znc.sourceforge.net]
dsferreira_ has joined #ruby
takeru has quit [Remote host closed the connection]
daniel_- has joined #ruby
eAlchemist has quit [Ping timeout: 276 seconds]
kraljev has joined #ruby
<kraljev> why doesn't #with_index work on Hash?
<kraljev> {a:1,b:2,c:3}.each.with_index { |key, val, i| p key,val,i }
<banister`sleep> kraljev: it works
<kraljev> i get nil's
<banister`sleep> kraljev: use this: { |(key, value), index| ... }
hbpoison has quit [Ping timeout: 260 seconds]
timonv has quit [Remote host closed the connection]
<kraljev> ooo.
<kraljev> can you please explain what difference do the parenths make?
<hemanth> banister`sleep, you are kool when you are asleep, what if you wake up!?
dsferreira_ has quit [Read error: Connection reset by peer]
yacks has joined #ruby
dsferreira_ has joined #ruby
maxmanders has quit [Ping timeout: 255 seconds]
<apeiros_> kraljev: you get yield([key,value], i)
<apeiros_> so with |key, val, i|, that gets decomposed to key == [key, value], val == i, and i == nil
axhlf has joined #ruby
<apeiros_> the parens tell ruby to decompose [key, value]
<Hanmac> (key,value) automatic splats an array
takeru has joined #ruby
<hemanth> hash.keys.each_with_index {|key, index| value = hash[key]}
eka has joined #ruby
horofox has quit [Quit: horofox]
devdazed has quit [Ping timeout: 252 seconds]
<Hanmac> hemanth why not .each_key.with_index ?
love_color_text has joined #ruby
<hemanth> Hanmac, .each_key is better, I agree.
gommo has quit [Remote host closed the connection]
gommo has joined #ruby
Mchl has joined #ruby
yashshah has joined #ruby
gommo has quit [Remote host closed the connection]
devdazed has joined #ruby
maxmanders has joined #ruby
subbyyy has quit [Ping timeout: 276 seconds]
maxmande_ has joined #ruby
toto_ has quit [Quit: Linkinus - http://linkinus.com]
maxmanders has quit [Ping timeout: 245 seconds]
etcetera has joined #ruby
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
masaya has joined #ruby
daniel_- has quit [Ping timeout: 245 seconds]
guillaum has joined #ruby
guillaum has quit [Client Quit]
oposomme has quit [Ping timeout: 256 seconds]
mpfundstein has joined #ruby
etcetera has quit []
idkazuma has quit [Remote host closed the connection]
ToTo has joined #ruby
elico has joined #ruby
yashshah has quit [Ping timeout: 248 seconds]
swex has joined #ruby
hbpoison has joined #ruby
etcetera has joined #ruby
hasimo has joined #ruby
takeru has quit [Remote host closed the connection]
pandawarrior1 has joined #ruby
ToTo has quit [Ping timeout: 240 seconds]
atmosx has quit [Quit: And so the story goes…]
<pandawarrior1> Hi, are design patterns an important thing to learn? If so, which book is the best resource?
kristofers has joined #ruby
codecop has joined #ruby
atyz has quit [Ping timeout: 248 seconds]
MrZYX|off is now known as MrZYX
axhlf has quit [Remote host closed the connection]
Dreamer3 has quit [Ping timeout: 240 seconds]
PhilK has quit [Ping timeout: 240 seconds]
danneu has joined #ruby
drale2k has quit [Quit: Leaving...]
nari has joined #ruby
etcetera has quit []
tealmage has joined #ruby
drale2k has joined #ruby
mpfundstein has quit [Remote host closed the connection]
echobinary has joined #ruby
echobin26 has quit [Read error: Connection reset by peer]
Vert has quit [Remote host closed the connection]
danneu has quit [Ping timeout: 264 seconds]
TheFuzzball has joined #ruby
paolooo has quit [Quit: Page closed]
freeayu has joined #ruby
m8 has joined #ruby
dcwu has quit [Quit: Leaving.]
seich- has quit [Ping timeout: 264 seconds]
tealmage has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
mikurubeam has joined #ruby
drale2k has quit [Quit: Leaving...]
horofox has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
kraljev has quit [Ping timeout: 256 seconds]
mikurubeam has quit [Client Quit]
Virunga has joined #ruby
mikurubeam has joined #ruby
lkba has joined #ruby
maxmande_ has quit [Ping timeout: 248 seconds]
nopcoder has joined #ruby
Spooner has joined #ruby
nopcoder has left #ruby [#ruby]
seich- has joined #ruby
pandawarrior1 has quit [Quit: Leaving.]
pandawarrior1 has joined #ruby
sonda has joined #ruby
chussenot has quit [Quit: chussenot]
bluOxigen has joined #ruby
mirkgeo has joined #ruby
shock_one has joined #ruby
<mirkgeo> do you use homebrew to install external dependencies?
atmosx has joined #ruby
banister`sleep has quit [Remote host closed the connection]
emocakes has quit [Quit: emocakes]
<apeiros_> sometimes, yes. e.g. imagemagick
banister`sleep has joined #ruby
<mirkgeo> or postgres for example?
Kuifje has joined #ruby
<apeiros_> I think for postgres, I used the binaries from postgres' official site
<apeiros_> not sure anymore, though
atmosx has quit [Client Quit]
Zolo has joined #ruby
<mirkgeo> okok
chussenot has joined #ruby
fjfish has quit [Remote host closed the connection]
mikurubeam has left #ruby ["When I come back, please tell me in what new ways you have decided to be completely wrong."]
Skylab has quit [Quit: Skylab]
apeiros_ has quit [Remote host closed the connection]
hbpoison has joined #ruby
slopjong has left #ruby ["Leaving"]
apeiros has joined #ruby
akashj87 has quit [Ping timeout: 252 seconds]
horofox has quit [Quit: horofox]
horofox has joined #ruby
drale2k has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
eka has quit [Quit: Computer has gone to sleep.]
hemanth has joined #ruby
wobblini has joined #ruby
dsferreira_ has left #ruby ["Leaving"]
horofox has quit [Client Quit]
chussenot has quit [Quit: chussenot]
drale2k has quit [Ping timeout: 256 seconds]
drale2k has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
MrZYX is now known as MrZYX|off
atmosx has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
banister`sleep has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
akashj87 has joined #ruby
kofno has joined #ruby
MrZYX|off is now known as MrZYX
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
Neomex has joined #ruby
axhlf has joined #ruby
senayar has joined #ruby
tealmage has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
zmike has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
jjbohn has joined #ruby
hemanth has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
Neomex has quit [Client Quit]
samphippen has joined #ruby
francisfish has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
tealmage has quit [Ping timeout: 252 seconds]
havenwood has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
Takehiro has quit [Remote host closed the connection]
hemanth has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
sayan has joined #ruby
havenwood has joined #ruby
Takehiro has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
hemanth has joined #ruby
razibog has quit [Ping timeout: 260 seconds]
noesis has quit [Ping timeout: 264 seconds]
noesis has joined #ruby
shock_one has quit [Read error: Operation timed out]
PhilK has joined #ruby
francisfish has quit [Remote host closed the connection]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
eldariof has joined #ruby
kofno has quit [Remote host closed the connection]
kofno has joined #ruby
BizarreCake has quit [Remote host closed the connection]
mootpointer has joined #ruby
xardas has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.1/20130226172142]]
tealmage has joined #ruby
dblack_ has joined #ruby
wobblini has quit [Ping timeout: 248 seconds]
daniel_- has joined #ruby
atmosx has quit [Quit: And so the story goes…]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
spider-mario has joined #ruby
oinkon has quit [Ping timeout: 250 seconds]
sayan has quit [Read error: Connection reset by peer]
Zolo has quit [Remote host closed the connection]
jellosea_ has quit [Quit: jellosea_]
Takehiro has quit [Remote host closed the connection]
hemanth has quit [Read error: Connection reset by peer]
mengu has joined #ruby
hemanth has joined #ruby
pandawarrior1 has quit [Quit: Leaving.]
Quebert has quit [Quit: Linkinus - http://linkinus.com]
oinkon has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
Skylab has joined #ruby
malkomalko has joined #ruby
kondi|work has joined #ruby
mengu_ has joined #ruby
Blaze_Boy has joined #ruby
takeru has joined #ruby
mengu has quit [Ping timeout: 260 seconds]
spinagon has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
idkazuma has joined #ruby
<kondi|work> I keep getting > `gsub!': invalid byte sequence in US-ASCII
<apeiros> means you're either using the wrong encoding, or have invalid data
<kondi|work> the code was working fine yesterday. I changed encoding to utf-8. still getting this
<apeiros> the error tells you that this bit is not encoded as utf-8
<kondi|work> okay
atyz has quit [Remote host closed the connection]
biofobico has joined #ruby
takeru has quit [Ping timeout: 245 seconds]
freeayu has quit [Ping timeout: 264 seconds]
Skylab has quit [Remote host closed the connection]
sonda has quit [Ping timeout: 248 seconds]
<banister`sleep> is there a nicer way of doing this? Hash[paid_results.group_by { |v| v["category"] }.map { |k, v| [k, v.count] }]
lolmaus has quit []
<banister`sleep> i just want a count for reach category
<banister`sleep> { :business => 10, :medical => 100 .. }
<banister`sleep> etc
timonv has joined #ruby
<apeiros> I usually do it that way too, though, using size, not count
<apeiros> pondered making it a method
<banister`sleep> yeah
<banister`sleep> should be one
pac1 has joined #ruby
<apeiros> paid_results.each_with_object(Hash.new(0)) { |(k,v),c| c[k] += 1 }
<apeiros> that'd be an alternative
hemanth has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
hemanth has joined #ruby
sonda has joined #ruby
keyvan has joined #ruby
keyvan has joined #ruby
keyvan has quit [Changing host]
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
<Xeago> apeiros: IEM, semi finals
<apeiros> Xeago: yeah, been watching the VODs while on the home trainer :)
<Xeago> tvt, quite good
<Xeago> cool :)
kondi|work has left #ruby [#ruby]
hbpoison has quit [Ping timeout: 245 seconds]
<apeiros> in case you missed some live action ;-) (won't watch it live, keeping it up for training time)
<apeiros> saving it up?
love_color_text has quit [Ping timeout: 255 seconds]
freeayu has joined #ruby
<Xeago> nah, watching it live now
hiroyuki has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
<Xeago> tho, is it just me, or is the patch that blizzard applied a while ago, regarding nameplates and location on map, reversed?
* dblack_ is working on well-grounded rubyist updates
hemanth has joined #ruby
dblack_ is now known as realDAB
francisfish has joined #ruby
Takehiro has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
* realDAB is confused about what nick i now have
<realDAB> ok
<realDAB> that nick
<realDAB> so who is dblack?
maxmanders has joined #ruby
<realDAB> i don't think it's the newly registered dblack (whose name is not david)
<realDAB> is there another david black here?
* realDAB undergoes severe identity crisis
biofobico has quit [Quit: biofobico]
robustus has joined #ruby
* Hanmac is now not known as dblack
Dreamer3 has joined #ruby
hbpoison has joined #ruby
skipi has joined #ruby
MrZYX has quit [Quit: Bye]
MrZYX|off has joined #ruby
MrZYX|off is now known as MrZYX
Takehiro has quit [Ping timeout: 248 seconds]
maxmanders has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
drale2k has quit [Quit: Leaving...]
jrajav has joined #ruby
jimeh has joined #ruby
ozgura has quit [Ping timeout: 252 seconds]
miskander has joined #ruby
<realDAB> i seem to be both dblack and realDAB. i don't know exactly how that can be.
<realDAB> anyway, back to ruby
<Xeago> apeiros: what do you think of rachel
<Xeago> she's so bad at interviewing and gets the players in awkward situations..
hemanth has quit [Read error: Connection reset by peer]
<apeiros> I probably shouldn't say that she's swiss then? :)
hemanth has joined #ruby
<Xeago> is she?
<apeiros> afaik
fire has joined #ruby
swex_ has joined #ruby
<Xeago> anyways, you said it, answer my question, or explain what you meant by saying she's swiss
techlife has quit [Ping timeout: 256 seconds]
<Xeago> also
<Xeago> the analysis deck, AWFULLLLLL!
swex has quit [Ping timeout: 260 seconds]
<apeiros> I mostly watch the games and skip all interviews
<apeiros> so I don't really know what she asks :)
<apeiros> but she looks good! :D
<Xeago> looks 'kay', you seen her imgurs?
<Xeago> I reconsidered after that
ozgura has joined #ruby
<apeiros> I haven't, no
<Xeago> I also skip the interviews/analysis on vods
Tranquility has joined #ruby
<Xeago> don't have that uxury atm, I do get on irc while that is going on :D
<apeiros> ^^
techlife has joined #ruby
<pandawarrior> for ruby are design patterns an important thing to learn? If so, what books are really good?
hemanth has quit [Read error: Connection reset by peer]
johnnygoodmancpa has joined #ruby
<skipi> design patterns are important in every language
<Xeago> pandawarrior: yes, but don't get restricted by it, or limited to think in only patterns
hemanth has joined #ruby
<Xeago> nowadays I derive from what I have learned before
jjbohn has quit [Quit: Leaving...]
<pandawarrior> well i'm not using any patterns, per say
Zolo has joined #ruby
<whitequark> pandawarrior: note however that a lot (but not all) design patterns emerged from the limitations of statically typed languages
<Xeago> the java book, is actually pretty good: effective java
<pandawarrior> i've read the poodr book, which is really good
drale2k has joined #ruby
mengu__ has joined #ruby
<pandawarrior> whitequark: but ruby is dynamically typed, right?
<apeiros> pandawarrior: s/per say/per se/
<apeiros> per se has nothing to do with say ;-)
<pandawarrior> apeiros: noted ;)
<whitequark> pandawarrior: yeah
drale2k has quit [Client Quit]
<Xeago> pandawarrior: you can't ducktype in java
<Xeago> or share methods
<pandawarrior> so why do we even need to use design patterns
<Xeago> or have different objects which have a similar 'interface'
mengu_ has quit [Ping timeout: 260 seconds]
<skipi> well, afaik you have polymorphism in java
<pandawarrior> just as long as you stick to solid principles
<apeiros> pandawarrior: design patterns are for the puzzlers who don't solve problems but rather piece together done solutions
<apeiros> IMO the only good use of design patterns is in communication
nyuszika7h has quit [Remote host closed the connection]
<Xeago> pandawarrior: if you have animals that have a behavior, in ruby you just create the animals, and use them whenever you want
<apeiros> i.e., to name things
<Xeago> in java you have to abstract the commonalities
<whitequark> apeiros: that's the original intent ;)
MrZYX has quit [Quit: Bye]
nyuszika7h has joined #ruby
<Xeago> so you can treat it as something the same (by using polymorphism)
<whitequark> Xeago: pandawarrior: also read zedshaw.com/essays/indirection_is_not_abstraction.html
<pandawarrior> do you guys use design patterns?
pen has joined #ruby
<pandawarrior> whitequark: taking a look...
maxmanders has joined #ruby
<apeiros> pandawarrior: *everybody* does
<Xeago> pandawarrior: less and less so than a while ago (while ago for me was pre-ruby)
<whitequark> pandawarrior: indeed
<Xeago> I mostly use the concepts, but I don't apply them as I used to
<apeiros> whether you know that you're using a pattern or not doesn't change that you are using one
<whitequark> but they often appear by themselves
Kuifje has quit [Quit: Got root?]
<Xeago> I wouldn't know how to do that nowadays in ruby either
<apeiros> the difference is in how you approach the problem
<pandawarrior> apeiros: good point
<pandawarrior> i've seen the design patterns in ruby book
<apeiros> i.e., do you see a problem and think "oh, which pattern could I use for this?" or do you see a problem and think "oh, how could I solve this?"
MrZYX|off has joined #ruby
<pandawarrior> and i thought umm should I buy it?
MrZYX|off is now known as MrZYX
<pandawarrior> apeiros: the latter
<Xeago> I see a problem and think of a solution, and then realize it looks like some kind of mix of patterns :)
jblack has quit [Ping timeout: 248 seconds]
<apeiros> my favorite example - every Foo.new you do in ruby is the factory pattern applied.
<pandawarrior> apeiros: interesting :)
<pandawarrior> never thought of it like that
<pandawarrior> so i guess it won't hurt to read it
<apeiros> ruby blocks are very often used as a strategy pattern
<Xeago> every class definition creates the factory (you just don't have to instantiate the factory)
MrZYX has quit [Client Quit]
<apeiros> take Enumerable#sort_by - your block provides the sorting strategy
LouisRoR has joined #ruby
<Hanmac> Struct for sample is a FactoryFactory :D
<pandawarrior> i just never saw it before
jblack has joined #ruby
<apeiros> there are *various* examples throughout ruby where you use patterns just naturally
<pandawarrior> but ruby uses dp everywhere...
MrZYX|off has joined #ruby
<pandawarrior> yeah
MrZYX|off has quit [Client Quit]
<pandawarrior> okay, so i have a new book slot opening up
* apeiros needs to watch less porn, alas I'm thinking about the wrong thing when I read "dp"
<Hanmac> after a few years, you dont need paterns anymore, you can feel if the code is "right" :P
<pandawarrior> should i read the design patterns in ruby book or the meta programming in ruby book?
<Xeago> I've never read or heard about dp in a pornography context
<pandawarrior> Xeago: lol
<apeiros> Xeago: virgin :-p
keyvan has quit [Ping timeout: 276 seconds]
MrZYX|off has joined #ruby
<Xeago> apeiros: tss
maxmanders has quit [Ping timeout: 248 seconds]
MrZYX|off is now known as MrZYX
<whitequark> apeiros: lol @ dp
ozgura has quit [Ping timeout: 240 seconds]
pepper_chico has joined #ruby
<whitequark> out of context, my first thought would be "display pixels" in android
* Hanmac never buyed a ruby book
perun_ has joined #ruby
<pandawarrior> Hanmac: niiiice
realDAB has quit [Quit: realDAB]
* pandawarrior skips of do some learnings...
dartosgamer has joined #ruby
<pandawarrior> thanks again guys :)
<dartosgamer> Is ruby only used for serverside stuff with rails?
<whitequark> dartosgamer: no
<whitequark> there is, for example, chef
<whitequark> which has little to do with webdev
<dartosgamer> ?
BizarreCake has joined #ruby
<dartosgamer> chef... TO GOOGLE
<whitequark> dartosgamer: http://www.opscode.com/chef/
<Hanmac> dartosgamer: you can do EVERYTHING in ruby :P
<dartosgamer> or that
<dartosgamer> Hanmac: i'm talking practically here
jblack has quit [Ping timeout: 256 seconds]
<Xeago> OSX uses ruby for administrational tasks
<dartosgamer> practicly? idk i can't spell
<Xeago> new stuff is based on perl tho
<skipi> Hanmac: try concurrency on MRI :P
<Hanmac> i use ruby for GUI programming, and 3d Gaming
hemanth has quit [Read error: Connection reset by peer]
<Xeago> skipi: start multiple MRI's :)
<whitequark> Xeago: _new_ stuff?
<whitequark> on _perl_? wtf
shevy2 has joined #ruby
hemanth has joined #ruby
shevy2 is now known as shevy
johnnygoodmancpa has left #ruby [#ruby]
<whitequark> I could understand python, but perl...
<Xeago> perl isn't all that bad
<Xeago> more version stable then ruby
<whitequark> yes, because it's basically dead :p
<shevy> ruby 1.8.7 is very stable
jblack has joined #ruby
<Xeago> shevy: stable, out of support
<Xeago> or almost
<Xeago> not sure if we hit it yet
<shevy> what does that even mean, new things make it into perl 5 branch too ;)
<skipi> 06.2013 1.8.7 wont be supported anymore
<skipi> afaik
tomzx_mac has joined #ruby
<shevy> LONG LIVE 1.8.x!!!!!
vipjun has quit []
<Xeago> osx 10.8 has about 40% new perl, 28% new ruby, 21% python and some shell scripts
<Xeago> of administrational tasks in interpreted languages
<Xeago> I am glad of the lack of java..
<Xeago> that got phased out with 10.6
<shevy> what do these % mean?
<Xeago> percentages
<shevy> yes, I mean
miskander has quit [Quit: miskander]
<shevy> what is the 100% there? you mean scripts bundled with a 10.8 release?
yshh has joined #ruby
<Xeago> new things/converted
yshh has quit [Read error: Connection reset by peer]
yshh has joined #ruby
<Xeago> wifi state is determined with ruby in 10.7, perl in 10.8
MrZYX has quit [Quit: Bye]
pac1 has quit [Read error: Operation timed out]
<shevy> hmmmm
<shevy> isn't that crazy?
<shevy> would it not easier to settle on one language instead?
MrZYX|off has joined #ruby
<shevy> *be easier
MrZYX|off is now known as MrZYX
<dartosgamer> Would ruby be a good language to make games in? Just kinda a random question.
<skipi> there are some really nice libs out there
<Hanmac> "yes, yes you can"
<skipi> but imo, right now
gyre008 has joined #ruby
<skipi> @ 1.9.3
<skipi> GC works too bad
<skipi> to do more than simple / small games
<dartosgamer> that's what i keep hearing
hemanth has quit [Read error: Connection reset by peer]
<Xeago> shevy: I wouldn't say it is a significant amount of easier
<shevy> dartosgamer depends on the game. I did minesweeper and tetris in ruby-gnome
hemanth has joined #ruby
<Hanmac> with the right binding, the ruby game can be GPU accelerated too
<shevy> dartosgamer I think one huge problem is that making games is a lot of work
Eldariof-ru has joined #ruby
<shevy> yeah, simple games are fine
<dartosgamer> I've made games in C languages before. I just decided to learn a new language this week... I am trying to pick ruby or JS (for the new HTML5 stuff)
<skipi> do both :)
<dartosgamer> I'm just not sure how usefull ruby would be to me...
adayzdone has joined #ruby
<Hanmac> dartogamer: if you know C you could look at C++ and Ogre3d
<skipi> c++ is horrible
adayzdone has left #ruby [#ruby]
<dartosgamer> I don't like ogre3d. I use irrlicht or sometimes just OpenGL directly
<dartosgamer> skipi: but it can do things that most other languages can't... mainly because of the INSANE amount of libs there are for it
<Hanmac> ogre3d is cool ... specialy the addional features like Compositors :P
eldariof has quit [Ping timeout: 245 seconds]
<spider-mario> there’s Qt
<dartosgamer> Hanmac: irrlicht can do the same thing but it's smaller and in some cases faster
<spider-mario> Qt is cool
<dartosgamer> and I think it's easier to use
<spider-mario> (I’m not talking about 3D)
<spider-mario> (though there will be QML 3D)
<dartosgamer> Qt is pretty cool :3
<skipi> dartosgamer: im saying c++ is horrible, i love c, and write in it alot
<Hanmac> hm i dont think that irrlicht can do everything ogre can
mityaz has joined #ruby
<dartosgamer> skipi: I like classes *shrug*
kofno has quit [Remote host closed the connection]
<dartosgamer> skipi: I don't like structs too much
<spider-mario> I like exceptions, RAII and genericity (which C++ provides via templates)
<skipi> "In C++ it's harder to shoot yourself in the foot, but when you do, you blow off your whole leg."
<spider-mario> those are things I miss in C
<dartosgamer> I hate templates... love their function, hate working with them
<skipi> you can always try GLib
<skipi> awesome library for C
<spider-mario> I might as well write in Vala, then
<dartosgamer> Well I just want to let you all know... the best language na is brainfuck :3
<whitequark> skipi: so you think you know C?
<skipi> whitequark: sort of
echobinary has quit [Read error: Connection reset by peer]
<whitequark> answer it and tell me the score :3
echobinary has joined #ruby
rkj has joined #ruby
MrZYX is now known as MrZYX|off
drale2k has joined #ruby
MrZYX|off is now known as MrZYX
<aboudreault> just installed a bundle for a project.... How can I use the rake command *of* the bundle, and not the system one?
hogeo has joined #ruby
jjbohn has joined #ruby
jjbohn has quit [Client Quit]
<skipi> whitequark: 62%
<skipi> damn ,that was tricky :P
<whitequark> skipi: and that's only a small part of the picture
<skipi> ye, i know
<whitequark> this is not intended to show you that you know C badly, of course
<skipi> but you cant tell me that c++ is better
<whitequark> more like how C is inherently broken
<whitequark> skipi: C++ isn't
<whitequark> I was replying to "I love C".
<skipi> well, it is C is fast
<whitequark> skipi: correctness > speed
hogeo_ has quit [Ping timeout: 248 seconds]
<skipi> in some cases i agree
<whitequark> no
<aboudreault> ah, nvm, not sure why my bundle exec rake didn't work before.
* Hanmac can use the beauty of Ruby with the speed of C++
<whitequark> correctness _always_ is more important than speed
<aboudreault> but it does now.
Takehiro has joined #ruby
<whitequark> otherwise you can replace your program with cat /dev/urandom.
<Xeago> Hanmac: how do you use c++ with ruby?
<Xeago> thought you can only interface to c?
hemanth has quit [Read error: Connection reset by peer]
<skipi> by correctness you mean determinism ?
<Hanmac> Xeago: bindings?
<Xeago> from MRI?
<Hanmac> yeah
<Hanmac> youcan bind C++ libs too
<Xeago> ruby->c->c++?
<whitequark> skipi: that is one way to view it, but I prefer a slightly different one
<Xeago> or directly/
hemanth has joined #ruby
<Hanmac> like you said, you need C functions as brigde (but i use macros for that)
<skipi> my projects depends on C, because some of the libs thats used there are from 90's or even 80's
<whitequark> skipi: take a representative slice of real codebase. observe that they have incredible amount of undefined behavior. observe that 1 (one) case of UB, as standard says, makes the output of your program nondeterministic
<whitequark> skipi: it's not the UB itself which is the problem. I'm (somewhat) fine with UB in the language
<whitequark> it's its overwhelming prevalence in real-world code written by experienced programmers
<whitequark> take the amount of bullshit they came through to support non-2's-complement integers
<whitequark> I can understand why is it in C89.
<whitequark> I do not understand why is it still in C99 or C11.
<whitequark> there is ZERO non-2's-complement architectures for the last decade or two.
<whitequark> fucking design by committee
<skipi> whitequark: i see your point
Takehiro has quit [Ping timeout: 240 seconds]
nicoulaj has joined #ruby
<whitequark> and the worst part that the compilers who could take advantage of the more tricky cases of UB, like non-2's-complement archs, only appeared after the grounds for adding this UB completely disappeared
<whitequark> so now we're fucked for no real reason. thx, c
<whitequark> or the "shift by more than type width" case
<whitequark> ya know why did it appear? because on powerpc, int x; x << 32 yields 0
yshh has quit [Read error: Connection reset by peer]
<whitequark> and on x86, int x; x << 32 yields x
<whitequark> so what does the standard do? instead of making this IDB and documenting both cases, or offloading that to compiler authors, they make it UB
<Hanmac> Xeago: this is a binding of a C++ lib https://github.com/Hanmac/rwx/tree/master/ext ... you can investigate to it works with rubys C-API
<whitequark> and now a compiler may freely throw out any data dependency on such a result, turning your code in a total wreck
Gwyxx has quit [Ping timeout: 245 seconds]
hbpoison has quit [Ping timeout: 260 seconds]
drale2k has quit [Ping timeout: 276 seconds]
<whitequark> (besides, if this really matters to your code, write it in inline assembler. it would be more portable.)
Stilo has joined #ruby
dartosgamer has quit [Quit: leaving]
yshh has joined #ruby
<whitequark> (this = absence of implied (val & (2**32-1)) | val = x << sizeof(x) * 8)
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
pac1 has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
motto has joined #ruby
miskander has joined #ruby
m8 has quit [Ping timeout: 264 seconds]
yousaf has joined #ruby
nari has quit [Ping timeout: 260 seconds]
mirkgeo has left #ruby [#ruby]
<epta> Suppose there is a function `def f(x); x + 11; end'. How can I modify i-th element of array with it?
hemanth has quit [Read error: Connection reset by peer]
<whitequark> epta: a[11] = f(a[11])
hemanth has joined #ruby
maxmanders has joined #ruby
Tranquility has quit [Quit: WeeChat 0.4.0]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby
maxmanders has quit [Ping timeout: 260 seconds]
br4ndon has joined #ruby
br4ndon has quit [Client Quit]
br4ndon has joined #ruby
cyberflux has joined #ruby
xpen has joined #ruby
freeayu has quit [Remote host closed the connection]
love_color_text has joined #ruby
MrZYX is now known as MrZYX|off
hasimo has quit [Remote host closed the connection]
dblack_ has joined #ruby
<dblack_> Hanmac: i think i've written more ruby books than i've bought
tealmage has quit [Remote host closed the connection]
<dblack_> but i've been sent a lot of review copies :-)
<Hanmac> for me the count is equal
skipi is now known as skipi|aw
ozgura has joined #ruby
jblack has quit [Ping timeout: 276 seconds]
jblack has joined #ruby
m8 has joined #ruby
daniel_-_ has joined #ruby
motto has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
verysoftoiletppr has joined #ruby
_bart has quit [Quit: _bart]
bluOxigen has quit [Ping timeout: 248 seconds]
io_syl has quit [Ping timeout: 260 seconds]
fire has quit [Quit: WeeChat 0.4.0]
daniel_- has quit [Ping timeout: 260 seconds]
io_syl has joined #ruby
AlSquirrel has joined #ruby
bluOxigen has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
AlSquire has quit [Read error: Connection reset by peer]
pandawarrior1 has joined #ruby
pandawarrior1 has left #ruby [#ruby]
hbpoison has joined #ruby
yousaf has quit [Ping timeout: 260 seconds]
oposomme has joined #ruby
gyre008 has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 276 seconds]
takeru has joined #ruby
Eldariof-ru is now known as eldariof
pdamer has joined #ruby
hbpoison has quit [Ping timeout: 248 seconds]
pdamer has quit [Client Quit]
Takehiro has joined #ruby
verysoftoiletppr has quit []
<dblack_> epta: try f[self[ind]] (square brackets, which are like call)
anderse has joined #ruby
AlSquire has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
nari has joined #ruby
MrZYX|off is now known as MrZYX
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
<epta> dblack_: thanks
wobblini has joined #ruby
takeru has quit [Remote host closed the connection]
KonfuAFK is now known as Konfusius
maxmanders has joined #ruby
<epta> Is there a way to modify Hash value on key K?
AlSquirrel has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
<epta> Something like hash.modify(:key, value)
<Hanmac> epta []=
anderse has quit [Quit: anderse]
verysoftoiletppr has joined #ruby
ph^ has joined #ruby
Criztian has joined #ruby
zmike has quit [Quit: Выходжу]
idkazuma has quit [Remote host closed the connection]
kofno has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
Matip has quit [Ping timeout: 256 seconds]
<shevy> epta that is quite complicated what you tried :D
apeiros has quit [Remote host closed the connection]
<epta> >> {:a => 1, :b => 2}.update({:b => 3})
<eval-in> epta => {:a=>1, :b=>3} (http://eval.in/12291)
<shevy> epta what language were you using before ruby?
Criztian has quit [Excess Flood]
Zolo has quit [Remote host closed the connection]
Criztian has joined #ruby
<epta> Wanna something like this in ruby
mikurubeam has joined #ruby
slainer68 has joined #ruby
<epta> Nice getters and setters
<shevy> ah haskell
maxmanders has joined #ruby
<shevy> epta you can extend every class in ruby, all the time
<shevy> so you can add a #modify() method to class Hash if you need it
<shevy> or, just alias it to the [] method
<shevy> hmm let's see
<epta> Are there some indexing class in ruby?
pdamer has joined #ruby
<shevy> what is an indexing class?
<Spooner> epta, Just use Array
BadLarry has quit [Ping timeout: 272 seconds]
<Spooner> Hash is for mapping/dictionary.
Zolo has joined #ruby
uris has joined #ruby
<Hanmac> there are a Set class too
<shevy> epta try this in irb array = [:cat, :dog, :horse]; array.each_with_index {|key,index| puts index.to_s+': '+key.to_s}
kofno has quit [Ping timeout: 260 seconds]
danman has joined #ruby
BadLarry has joined #ruby
<Spooner> Yes, but the example is really just an Array. In Ruby there isn't a separate tuple class (Ruby Array is like the Haskell List). Well, not entirely, there sort is one, but not explicitly.
oposomme has quit [Quit: Leaving...]
maxmanders has quit [Ping timeout: 248 seconds]
hbpoison has joined #ruby
idkazuma has joined #ruby
<shevy> long live ruby!
dblack_ has quit [Quit: dblack_]
imami|afk is now known as banseljaj
djwonk has joined #ruby
itsdavem has joined #ruby
Matip has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
itsdavem has quit [Remote host closed the connection]
havenwood has joined #ruby
blueOxigen has joined #ruby
BadLarry has quit [Ping timeout: 245 seconds]
LouisRoR has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
vierja has joined #ruby
vierja has left #ruby [#ruby]
bluOxigen has quit [Ping timeout: 260 seconds]
BadLarry has joined #ruby
miskander has quit [Quit: miskander]
itsdavem has joined #ruby
subbyyy has joined #ruby
djwonk has quit []
chrisnicola has joined #ruby
<epta> What about record in ruby?
<epta> Looks like people use hashed instead of it
<epta> hashes*
<Hanmac> record? there is no record in ruby
guns has joined #ruby
xpen has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
<yxhuvud> Well, there is Struct
drale2k has joined #ruby
hiroyuki has joined #ruby
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
enebo has joined #ruby
<Hanmac> yxhuvud in wich context?
tealmage has joined #ruby
<yxhuvud> records. Or maybe that mean something else that isn't obvious?
Eldariof-ru has joined #ruby
mezgani has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
<mezgani> hello
hiroyuki has quit [Read error: Connection reset by peer]
danman has quit [Quit: danman]
<shevy> epta uses funny words
<Spooner> Struct does seem closer to a record, since a Hash is more open.
<Spooner> *Haskell record
<shevy> man #haskell is fat
<shevy> 997 people there
<shevy> they beat us :(
p3rror has joined #ruby
drale2k has quit [Ping timeout: 250 seconds]
<Spooner> But then again, it isn't necessarily sensible to just port your coding style directly to another language, because you miss out on lots (e.g. rather than a record + lots of functions that operate on it, you'd want a Ruby class).
eldariof has quit [Ping timeout: 255 seconds]
hiroyuki has joined #ruby
<Hanmac> shevy this are all bots written in haskell :P
hiroyuki has quit [Remote host closed the connection]
mikurubeam has joined #ruby
Criztian has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 250 seconds]
<p3rror> Please why I get this error
<p3rror> when I try to runfpm-cookery
mezgani has quit [Ping timeout: 255 seconds]
mikurubeam has quit [Client Quit]
maxmanders has quit [Ping timeout: 248 seconds]
girija has joined #ruby
kirun has joined #ruby
hiroyuki has joined #ruby
mikurubeam has joined #ruby
<nazty> hey
eka has joined #ruby
sambao21 has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
<Hanmac> p3rror: because you failed to read the error message
chrisramon has joined #ruby
hasimo has joined #ruby
<nazty> would it be easy to do directory comparison in ruby?
<p3rror> Hanmac, yes that is I'm ruby newbie
<p3rror> PLease what say the message, explain
<Hanmac> p3rror: my crystal ball tells me that you forgot to say WHAT error appears
<Spooner> nazty, You mean a diff?
<nazty> ok
<nazty> i have 2 directories called movies]
v0n has joined #ruby
<p3rror> Hanmac, =)
<nazty> i wont to run a comparison on them
<shevy> you wont or you want
<Hanmac> nazty: do you want to compare files too, or only the file names?
<p3rror> Hanmac,I think that I miss a library but which one
<nazty> say they both have the same movie keep moving
<shevy> nazty go fetch all entries via Dir['movies/*']
<shevy> then iterate through it and check whether they are known or not
<shevy> if not known, do your logic in this branch
<nazty> but it one has a movie and one doesnt i want it to tell me which drive doesnt have it
<shevy> yeah
<shevy> if not known, do puts 'We do not know this video file '+file
BizarreCake has quit [Ping timeout: 240 seconds]
<nazty> well its gonna be directories cause me set up it
<nazty> c:\movies\Matrix.1\
<Hanmac> p3rror ... you still dont show us your output
<nazty> c:\movies\Matrix.2\
<nazty> c:\movies\StarWars.1\
hasimo has quit [Ping timeout: 255 seconds]
AlSquirrel is now known as AlSquire
<nazty> etc
<Hanmac> nazty the Animatix was more cool :P
<nazty> yea the anixmatrix was dope
<nazty> i like how they put the kids story in
<nazty> and the runner story
sambao21 has quit [Quit: Computer has gone to sleep.]
<nazty> For what its worth i think you could have handled the truth "Trinity - Animatrix, Detective Story)
Matip has quit [Ping timeout: 252 seconds]
hadees has quit [Quit: hadees]
godfrey__ has joined #ruby
<Hanmac> nazty i liked the room where the gravitation was broken .P
wallclockbuilder has joined #ruby
threesome has quit [Ping timeout: 255 seconds]
chrisnicola has quit [Quit: This computer has gone to sleep]
mikurubeam has left #ruby ["When I come back, please tell me in what new ways you have decided to be completely wrong."]
<shevy> nazty please no PMs
<shevy> I can answer all things here
<nazty> ok
slainer68 has quit [Remote host closed the connection]
threesome has joined #ruby
heliumsocket has joined #ruby
<shevy> you should start writing a .rb script
<shevy> break the logic down into small tasks
<shevy> first, get a listing via Dir[]
<nazty> do you think i should appen nd all the directories to a file?
<shevy> what does that mean?
eAlchemist has joined #ruby
<nazty> cause in windows i can dir >> dir.txt
<shevy> on linux you can do this too
<nazty> im not in linux
<shevy> and since you use ruby, you can do so in ruby too on windows and linux
<shevy> the mode will be 'a' or 'a+' for append
<shevy> you can pass this to File.open
<nazty> hm?
<shevy> you need to have used these things at least once, then you understand
<nazty> would it be easier to compare the the directories or lines in a file
<shevy> f = File.new("newfile", "w+")
jblack has quit [Ping timeout: 264 seconds]
<shevy> f.print 'test'
<shevy> f.close
<shevy> there you will have created a file, called newfile, with content 'test'
<p3rror> Hanmac, what I miss
mulinux has joined #ruby
jblack has joined #ruby
<Hanmac> p3rror the only thing that i could image is that the nmap binary is missing ... maybe
miskander has joined #ruby
<nazty> shevy i talked to you before
djwonk has joined #ruby
<shevy> Hanmac, dunno. I think nazty won't write this script :(
<Spooner> shevy, And, if not that, then at least File.open("", "w+") {|f| f.print '' } please!
<shevy> Spooner get nazty to use either way :P
<shevy> there seems to be some kind of initial hurdle
wallerdev has joined #ruby
<Spooner> nazty, There is a way to compare files that is easier: http://ruby-doc.org/stdlib-1.9.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-compare_file
<shevy> like, you want to achieve this or that, in ruby... but you dont even start to write anything
<shevy> nazty what was the biggest .rb script you ever wrote so far?
gyre007 has joined #ruby
<nazty> none
godfrey3835 has joined #ruby
<shevy> nazty the only way to get better at ruby is to write in it
maxmanders has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Spooner> If you want other people to write your scripts for you, just pop onto odesk or elance :D
<shevy> nazty do you have ruby installed
<shevy> :\
<shevy> :/
<nazty> yews
<nazty> jetbrains
<nazty> rubymine
<nazty> komodo
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
<shevy> that is ruby?
echobinary has quit [Read error: Connection reset by peer]
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
echobinary has joined #ruby
daniel_-_ has quit [Ping timeout: 260 seconds]
<Spooner> nazty, Try reading though this and get a bit more grounding: http://pine.fm/LearnToProgram/?Chapter=00
miskander has quit [Quit: miskander]
jblack has quit [Ping timeout: 250 seconds]
<shevy> hehe
<Spooner> nazty, Rubymine (By Jetbrains) is a big Ruby IDE. Overkill for starting out.
maxmanders has quit [Client Quit]
<Hanmac> and it cost money (and your soul)
BizarreCake has joined #ruby
<shevy> I wouldn't mind investing a bit money into a good editor at all
<shevy> problem is, most of them are awful
<Spooner> Nah, I have a free (non-commercial opensource license) and can recommend it highly (I will buy it eventually).
<shevy> rubymine?
<Spooner> Yes.
jblack has joined #ruby
<Spooner> shevy, There is a 30-day trial, so no harm in looking.
<shevy> well
<shevy> I found that I always like a few features, from different editors
<shevy> if I could combine that into a new one easily... :\ :/
<Spooner> I don't get a commission :D I am just happy that they gave me a free license recently :$
godfrey__ has quit [Quit: 暫離]
miskander has joined #ruby
<Spooner> Yeah, although I love the Ruby-specific features in Rubymine, I'm disappointed that I can't use it in non-Ruby projects (mainly doing Python at the moment).
<shevy> Python!!!
<shevy> you snake you!
<Spooner> But the generic IDEs seem a bit crap.
<Spooner> Yeah, quite :D
<shevy> textmate looked visually nice
<Hanmac> most ruby IDEs i have seen are too much RAILS poisened
<shevy> but the old mac-only elitist attitude made me angry
elux has quit [Quit: Leaving...]
<shevy> Hanmac, dont you also use a fat IDE yourself?
<Spooner> I didn't find RM heavily Railsy. It is Rake/Github/Git/Ruby-debugger friendly though.
<Hanmac> yeah ... but its not railsed :P
<Spooner> Or rather, I didn't ever notice Rails getting in my way/.
mikurubeam has joined #ruby
znode has joined #ruby
brad[] has quit [Read error: Connection reset by peer]
<jrajav> Hanmac: What IDE do you use?
<Spooner> Hanmac carved his own IDE out of living granite, using only his teeth.
teddyp1cker has joined #ruby
brad[] has joined #ruby
<Spooner> How is Ogre coming along, but the way, Hanmac ?
LouisRoR has joined #ruby
shock_one has joined #ruby
chrisramon has quit [Quit: chrisramon]
<Spooner> *by the way
<shevy> Hanmac has too many projects
<shevy> I think he is using... eclipse
<jrajav> *gasp*
<Hanmac> jrajav eclipse yeah ... but only i need something that can manage many many many files
<jrajav> I can't take Eclipse seriously at all. Anything that can't figure out even the most basic performance issues at that level of maturity just needs to be put down
<jrajav> I understand most of it is the GUI framework but still
<shevy> jrajav Hanmac has like 300 files open or something like that in eclipse
<shevy> I am in the range of 3 - up to about 25 files at max
<Hanmac> shevy yeah that can happen :P
znode has quit [Remote host closed the connection]
<jrajav> Then just use IntelliJ
<jrajav> It can manage as many files but it actually performs well
razibog has joined #ruby
<jrajav> IntelliJ/whatever stupid branding they picked for Ruby
<Hanmac> Spooner: about ogre, currently "freezed" because currently i currently add features to rwx
<Hanmac> jrajav IntelliJ is Rubymine
<jrajav> Yeah that
<Spooner> wx is another thing I'm interested in. Maybe we can have a decent Ruby GUI one day :D
<jrajav> I wish it had a single common branding like Eclipse, I can't keep up with all their silly names
<Hanmac> Spooner: today i add an new wxClass into rwx ... that means + 3cpp +3hpp files more
Takehiro has joined #ruby
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
hbpoison has joined #ruby
LouisRoR has quit [Ping timeout: 260 seconds]
<shevy> Spooner hopefully
<shevy> I get tired of the awful GUI bindings in ruby
atno has quit [Remote host closed the connection]
johnnygoodmancpa has joined #ruby
<shevy> and
<shevy> Hanmac will not write any docu :(
<shevy> but at least he said he will have plenty examples
spychalski has quit [Ping timeout: 250 seconds]
pencilcheck has joined #ruby
atno has joined #ruby
razibog has quit [Ping timeout: 240 seconds]
BizarreCake has quit [Ping timeout: 276 seconds]
mikurubeam has joined #ruby
spychalski has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
BizarreCake has joined #ruby
senayar has quit [Ping timeout: 260 seconds]
Mattix has joined #ruby
chrisramon has joined #ruby
guns has quit [Quit: guns]
<Hanmac> yeah i try to write samples while the week
<shevy> hehe
dblack has joined #ruby
chrisnicola has joined #ruby
<shevy> Hanmac, could rwr be used like a desktop environment?
pen has quit [Ping timeout: 248 seconds]
<shevy> I start xorg, then just use rwx widgets
<shevy> rwr/rwx
johnnygoodmancpa has left #ruby [#ruby]
<Hanmac> ...i dont think its that way possible ... rwx does have an X11 build ... but i wouldnot recomend it ... (use gtk as backend)
aed has joined #ruby
v0n has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
katherinem13 has quit [Ping timeout: 245 seconds]
jensnorr has left #ruby [#ruby]
jtperreault has quit [Ping timeout: 276 seconds]
sayan has joined #ruby
<Hanmac> shevy i mean wxWidgets has an X11 build ... rwx only uses wx
russfrank has quit [Ping timeout: 250 seconds]
dallasm has joined #ruby
mahmoudimus has joined #ruby
Takehiro has quit [Remote host closed the connection]
motto has joined #ruby
R_Macy_ has joined #ruby
wf2f has quit [Read error: Connection reset by peer]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
m8 has quit [Ping timeout: 252 seconds]
chrisnicola has quit [Quit: This computer has gone to sleep]
idkazuma has quit [Remote host closed the connection]
QaDeS has quit [Quit: Ex-Chat]
girija has quit [Ping timeout: 260 seconds]
maxmanders has joined #ruby
maxmanders has quit [Client Quit]
itsdavem has joined #ruby
drale2k has joined #ruby
subbyyy has quit [Quit: none 0.3.9.2]
subbyyy has joined #ruby
ph^ has quit [Remote host closed the connection]
Zolo has quit [Remote host closed the connection]
neku has joined #ruby
itsdavem has quit [Ping timeout: 276 seconds]
drale2k has quit [Ping timeout: 250 seconds]
hbpoison has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
mercwith1mouth has quit [Ping timeout: 245 seconds]
hbpoison has joined #ruby
m8 has joined #ruby
pencilcheck has quit [Remote host closed the connection]
generalissimo has joined #ruby
Mattix has quit [Ping timeout: 250 seconds]
eAlchemist has quit [Remote host closed the connection]
motto has quit [Ping timeout: 245 seconds]
nomenkun_ has joined #ruby
itsdavem has joined #ruby
katherinem13 has joined #ruby
eAlchemist has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
sleetdrop has joined #ruby
Gwyxx has joined #ruby
russfrank has joined #ruby
pdamer has quit [Quit: pdamer]
akashj87 has quit [Ping timeout: 256 seconds]
djwonk has quit []
motto has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
m8 has quit [Ping timeout: 276 seconds]
nomenkun_ has quit [Remote host closed the connection]
chrishunt has joined #ruby
nga4 has quit []
Goranek has joined #ruby
Goranek has left #ruby [#ruby]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
mercwithamouth has joined #ruby
mercwith1mouth has joined #ruby
nomenkun_ has joined #ruby
tcstar has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
kn330 has joined #ruby
razibog has joined #ruby
echobin17 has joined #ruby
echobinary has quit [Disconnected by services]
<shevy> what is the biggest advantage haskell has over ruby?
<Hanmac> living experience?
v0n has joined #ruby
sepp2k1 has joined #ruby
razibog has quit [Ping timeout: 240 seconds]
miskander has quit [Quit: miskander]
m8 has joined #ruby
pandawarrior1 has joined #ruby
lolmaus has joined #ruby
jellosea_ has joined #ruby
pandawarrior has quit [Ping timeout: 272 seconds]
sepp2k has quit [Ping timeout: 248 seconds]
f0ster` has joined #ruby
testingb0t1 has joined #ruby
testingb0t has quit [Read error: Connection reset by peer]
m8tt8 has joined #ruby
motto has quit [Read error: Operation timed out]
iamjarvo has joined #ruby
hadees has joined #ruby
hadees has quit [Client Quit]
Takehiro has joined #ruby
m8 has quit [Ping timeout: 250 seconds]
m8tt8 has quit [Ping timeout: 248 seconds]
icy` has quit [Read error: No route to host]
banister`sleep is now known as banisterfiend
itsdavem has quit [Remote host closed the connection]
Cooler_ has joined #ruby
Takehiro has quit [Ping timeout: 264 seconds]
mulinux has quit [Quit: mulinux]
eliasp has joined #ruby
dblack has quit [Quit: dblack]
mockra has joined #ruby
io_syl has joined #ruby
m8 has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
lewis has joined #ruby
caveat- has joined #ruby
Stilo has joined #ruby
lewis_ has joined #ruby
tcstar has quit [Quit: Leaving]
lewis has quit [Ping timeout: 245 seconds]
douchecanoe has joined #ruby
feedbackloop has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 255 seconds]
Eldariof93-ru has joined #ruby
tcstar has joined #ruby
xilippo has joined #ruby
p3rror has quit [Ping timeout: 260 seconds]
timonv has quit [Remote host closed the connection]
Eldariof-ru has quit [Ping timeout: 276 seconds]
douglarek_free has quit [Remote host closed the connection]
drale2k has joined #ruby
d2dchat has joined #ruby
tealmage has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
jrajav has quit [Quit: I tend to be neutral about apples]
drale2k has quit [Ping timeout: 260 seconds]
razibog has joined #ruby
<nazty> hey
<nazty> shevy
markalanevans has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
sayan has quit [Read error: Connection reset by peer]
xilippo has quit [Remote host closed the connection]
douchecanoe has quit [Quit: Leaving]
jpfuentes2 has joined #ruby
browndawg has quit [Ping timeout: 260 seconds]
dallasm has quit [Remote host closed the connection]
browndawg has joined #ruby
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
zmike has joined #ruby
pepper_chico has joined #ruby
Guest45517 has quit []
<nazty> anyone around
zmike has quit [Read error: Connection reset by peer]
<lewis_> hi
lewis_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
dblack has joined #ruby
<nazty> how does set work
<nazty> require set
<nazty> i need to use the - for arrays
hbpoison has quit [Ping timeout: 245 seconds]
<MrZYX> >> require 'set'; set = Set.new; set << "a"; set << "a"; set
<eval-in> MrZYX => #<Set: {"a"}> (http://eval.in/12293)
<nazty> eh
hbpoison has joined #ruby
<nazty> i have array1 and array2 which i want to use with -
caveat- has quit [Ping timeout: 264 seconds]
<Spooner> So just use them with -. You don't need a Set to do that.
<MrZYX> >> require 'set'; setA = Set.new(%w{a a b b}); setB = Set.new(%w{b b c c}); setA-setB
<eval-in> MrZYX => #<Set: {"a"}> (http://eval.in/12294)
mikepack has joined #ruby
douglarek has joined #ruby
mockra has quit [Remote host closed the connection]
razibog has quit [Read error: Operation timed out]
<nazty> does setA-setB remove all the duplicates out of setA
<MrZYX> no
<MrZYX> a set can't have duplicates
<MrZYX> that its purpose
<MrZYX> over an array
<nazty> i know
<nazty> i have 2 arrays with movies
<nazty> im trying to find out which directory is missing certain movies
tjbiddle has joined #ruby
<nazty> they both contain alot of the same movies
hbpoison has quit [Remote host closed the connection]
<MrZYX> >> a = ["Matrix", "1984"]; b =["Matrix", "Donnie Darko"]; puts b-a; puts a-b;
<eval-in> MrZYX => Donnie Darko
<eval-in> 1984
<eval-in> nil (http://eval.in/12295)
sayan has joined #ruby
hbpoison has joined #ruby
<nazty> do i have to require set?
<lewix> no
<MrZYX> didn't I just show you that you don't have to?
<lewix> not if it's an array
<nazty> im a burn out
skipi|aw has quit [Ping timeout: 248 seconds]
<lewix> nazty: what are you trying to do exactly
elux has joined #ruby
motto has joined #ruby
d3vic3 has joined #ruby
<nazty> theres a bug
<nazty> im trying to find out what movies are missing from a certain directory
<nazty> i have 2 hardrives
<shevy> nazty I think you are stuck in your problem domain
<shevy> nazty try to solve a simplified set of your problem first
hbpoison has quit [Remote host closed the connection]
whitedawg has joined #ruby
<nazty> one with 2 movie folders, and i was slowly transfering them over for my father to watch, now im running out of space on my 2tb
hbpoison has joined #ruby
<nazty> im using list1 - list2
<shevy> and that should work
m8 has quit [Ping timeout: 256 seconds]
<shevy> does it work?
<nazty> and i still get some duplicates
<shevy> no I do not believe you
<nazty> i will show u
<shevy> I have an array here
<lewix> nazty: it's case sensitive
<shevy> array1 = ['cat','dog','horse']
<shevy> array2 = ['cat','dog','whale']
<shevy> array1 - array2 # => ["horse"]
<shevy> nazty so where do you see a problem here
<lewix> shevy: wrong
<lewix> unles the cat and the dog ate the whale
bartolsthoorn has joined #ruby
<MrZYX> lewix: he wants the missing ones, not the differences
echobin17 has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
mercwith1mouth has quit [Quit: Lost terminal]
echobinary has joined #ruby
mercwithamouth has quit [Remote host closed the connection]
<lewix> nazty: are they just missing in the second folder
adkron has joined #ruby
hbpoison has quit [Ping timeout: 276 seconds]
<nazty> wait
<nazty> i think the problem is this
<nazty> listcmp = list1 - list2
<nazty> errr\
<nazty> im not stripping the pathname
chrishunt has quit [Quit: ZzZzZz...]
<nazty> :)
<shevy> good
<shevy> File.basename(file)
bartolsthoorn has quit [Client Quit]
bartolsthoorn has joined #ruby
bartolsthoorn has quit [Client Quit]
adkron_ has joined #ruby
<shevy> File.basename('/tmp/debug.log') # => "debug.log"
tvw has quit []
<nazty> hmmm
jurassic has joined #ruby
<nazty> Dir[File.join(self, '*/')]
artofraw has joined #ruby
<nazty> cabn i use File.basename() in there
<nazty> or should i do a list1.each to replace
yshh has quit [Read error: Connection reset by peer]
yshh_ has joined #ruby
<shevy> nazty Dir[] will give you an array
<nazty> i know
d3vic3 has quit [Quit: leaving]
<nazty> i need a array of directorys
<shevy> result = Dir[File.join(self, '*/')].map {|x| File.basename(x) }
<nazty> class String
<nazty> def dir
<nazty> end
<nazty> end
<nazty> Dir[File.join(self, '*/')]
<nazty> i had that
hbpoison has joined #ruby
<shevy> then you can extend it
mercwithamouth has joined #ruby
<nazty> so i can movdir.dir
<nazty> you wrote that shevy
<nazty> for me
<nazty> lol
<shevy> you are in full control over all the changes
<shevy> no, I do not believe you
<shevy> I never use File.join myself
<nazty> i swear you did
apok has joined #ruby
<shevy> nope, impossible. I honestly do not use File.join
LouisRoR has joined #ruby
<nazty> so can i take file.join out?
sleetdrop has quit [Remote host closed the connection]
<shevy> I would also not recommend to extend ruby core classes
<shevy> dont ask me, I did not write it, you use it :)
lolmaus has quit []
itsdavem has joined #ruby
<shevy> it seems unnecessary to me too
sleetdrop has joined #ruby
Gwyxx has quit [Quit: Leaving]
Zolo has joined #ruby
<shevy> you need to bring down every operation to its simplest form
io_syl has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby
hbpoison has quit [Remote host closed the connection]
wormwood has quit [Quit: WeeChat 0.4.0]
Takehiro has joined #ruby
hbpoison has joined #ruby
maxmande_ has joined #ruby
<shevy> hey guys
<shevy> is
wormwood has joined #ruby
<shevy> fail 'some error happened'
<shevy> a good way to fail?
<shevy> It seems to be almost identical to do something like:
<nazty> hrm wtf
<shevy> puts 'some error happened'
<shevy> exit 3
<shevy> but it displays a nasty line number
<shevy> and that does not seem to be too useful for an end-user
<nazty> how do i use Dir[]
<shevy> (for a developer who wants to debug, it can be more useful)
mockra has joined #ruby
<shevy> nazty do you have irb?
<shevy> on linux I just type "i" or "q" and it loads irb
<shevy> if I type q again, it is aliased to exit, when used in irb
<shevy> so I can simply toggle between bash and irb
<shevy> by pressing q
jekotia has joined #ruby
<shevy> nazty start irb!!!
<MrZYX> hm, lets break eval-in
<MrZYX> >> Dir["/*"]
<eval-in> MrZYX => (http://eval.in/12296)
<shevy> hehehe
<nazty> yeah i do
<shevy> Forbidden access to file `/'
<shevy> hahah MrZYX the bot showed you his artifical middle finger! :D
<MrZYX> :(
<shevy> *artificial
adkron_ has quit [Ping timeout: 248 seconds]
<shevy> nazty ok then do this:
maxmanders has quit [Ping timeout: 252 seconds]
adkron has quit [Ping timeout: 260 seconds]
jtperreault has joined #ruby
<shevy> require 'pp'; pp Dir['/*']
<shevy> will you manage or will you not!
<MrZYX> okay one more
<MrZYX> >> Dir["*"]
<eval-in> MrZYX => ["input-00953cadc168", "output-00953cadc168", "source-00953cadc168"] (http://eval.in/12297)
<MrZYX> w00t
<shevy> nazty the future of the world may depend on you now
hbpoison has quit [Ping timeout: 245 seconds]
<shevy> nazty you hold MrZYX's life in your very fingers
<MrZYX> >> Dir["../*"]
<eval-in> MrZYX => (http://eval.in/12298)
m8 has joined #ruby
<nazty> ahhh
<MrZYX> hm chrooted, eh?
<shevy> most likely
<nazty> whats pp
dcwu has joined #ruby
<shevy> nazty does it work
<xargoon> >> Dir["./././../../*"]
<eval-in> xargoon => (http://eval.in/12299)
<MrZYX> pretty_print
<Hanmac> MrZYX yeah the bot is Hanmac-proof :P
<shevy> pp means "pretty print"
<nazty> yes
bonhoeffer has quit [Quit: bonhoeffer]
<shevy> it will display data in a nice way to read for your poor eyes
mockra has quit [Ping timeout: 248 seconds]
<shevy> when you have a huge, fat array
<shevy> pp it
<MrZYX> >> __dir__
<shevy> pp array
<eval-in> MrZYX => "/tmp/execpad-b2d6bfbee64e" (http://eval.in/12300)
<shevy> ohhh
<shevy> __dir__ gives you the real dir?
<MrZYX> in 2.0, yeah
plates has joined #ruby
<shevy> interesting, Hanmac now we know where we are, please break this bot
<MrZYX> that is File.dirname(__FILE__)
<shevy> cool
<shevy> __dir__ is shorter hehe
<plates> hi, any channel op in here?
mockra has joined #ruby
<nazty> how come i cant Dir['k:/videos/']
motto has quit [Ping timeout: 276 seconds]
chrisnicola has joined #ruby
agjacome has joined #ruby
sleetdro_ has joined #ruby
<MrZYX> nazty: add a star (*) at the end
pkrnj has joined #ruby
Takehiro has quit [Ping timeout: 245 seconds]
<nazty> ah
sleetdro_ has quit [Remote host closed the connection]
plates has left #ruby [#ruby]
<shevy> nazty the * means "all things", sort of
<shevy> all files, all dirs
itsdavem has quit [Remote host closed the connection]
jgrevich has joined #ruby
<shevy> results = Dir['k:/videos/*']
baroquebobcat has quit [Quit: baroquebobcat]
douglarek has quit [Ping timeout: 256 seconds]
itsdavem has joined #ruby
<xargoon> it's probably jailed with a ptrace supervisor
chrishough has joined #ruby
LouisRoR has quit [Ping timeout: 245 seconds]
<nazty> is there a irb command to reset irb
hbpoison has joined #ruby
<MrZYX> how did you break irb? :D
<nazty> i didnt
<nazty> :P
<v2px> typing "irb" resets it for me
dblack is now known as realDAB
sleetdrop has quit [Ping timeout: 248 seconds]
<v2px> ah well and if you ctrl+d out you are in the old session again
<shevy> nazty I usually start irb again
<MrZYX> ^
<shevy> nazty you can collect all useful things in irbrc by the way
<MrZYX> like, require 'pry'
<shevy> like, load all your custom modifications
jblack has quit [Ping timeout: 256 seconds]
<shevy> nazty but always remember where you store things
<nazty> shevy
<nazty> say i wanna do
<nazty> def dir ; Dir[] ; end
oposomme has joined #ruby
chrisnicola has quit [Quit: Leaving]
<nazty> what should i put in that Dir[]?
<nazty> self
oposomme has quit [Client Quit]
plates has joined #ruby
motto has joined #ruby
rubarlion has joined #ruby
<plates> Hi, any #ruby channel op available?
mockra has quit [Ping timeout: 264 seconds]
m8 has quit [Read error: Operation timed out]
freakazoid0223 has quit [Read error: Connection reset by peer]
<shevy> nazty why do you think so complicated?
<shevy> nazty you already used Dir[] before did you not?
<shevy> I show you what you did:
<shevy> <nazty> how come i cant Dir['k:/videos/']
<shevy> you see?
<nazty> yes but im trying to make it a function
<shevy> you already used Dir[] before
<shevy> nazty do you know how you can pass an argument to a function?
<nazty> so i dont have to use it like that
<shevy> 'k:/videos/' is an argument to []
<nazty> yea
<shevy> def dir <-- here you do not allow any argument
<shevy> def dir(input) <-- now you may pass one argument to it, called "input"
<shevy> this you can then pass to Dir[]
<shevy> def dir(input)
<shevy> Dir[input]
<shevy> understand?
<nazty> yes
<shevy> ok, now
<shevy> you can even "cheat" like this:
plates has left #ruby [#ruby]
<nazty> what if the argument doesnt contain *
<shevy> def dir(input = 'k:/videos/*')
<shevy> Dir[input]
oneawayman has joined #ruby
<shevy> nazty, then simply check for this inside the method
<shevy> input << '*' unless input[-1,1] == '*'
<shevy> or
<shevy> unless input.include? '*'
<shevy> you see?
<shevy> you are in full control of your method nazty
<nazty> im just learnin
<shevy> if you want to change the input to your method, you can, inside your method
Grieg has joined #ruby
Grieg has quit [Changing host]
Grieg has joined #ruby
jgrevich_ has joined #ruby
<nazty> ahhh ok
drale2k has joined #ruby
<shevy> nazty this is pretty much the same in every programming language by the way
Grieg has left #ruby [#ruby]
<shevy> even in php
<nazty> default arguments
<shevy> you only have to understand this once ;)
<shevy> yeah
<shevy> as soon as you understand it, you can use it in every language
<nazty> ruby seems a lil diff then python or perl
<shevy> but it's almost the same in python
<shevy> python has default arguments too
<nazty> yeah
mikepack_ has joined #ruby
<nazty> i never wrote anything in ruby
douglarek has joined #ruby
<nazty> plus i had a small class in python
adkron has joined #ruby
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
tealmage has joined #ruby
<nazty> shevy
maxmande_ has quit [Ping timeout: 248 seconds]
<nazty> i know alot of functions use a return
<nazty> but Dir[] returns it self?
<MrZYX> Dir[] returns an array of paths
axhlf has quit [Remote host closed the connection]
<nazty> so its like calling return something in another function
horofox has joined #ruby
itsdavem has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 248 seconds]
<shevy> nazty you can always try in irb
<shevy> result = Dir['/tmp']
<shevy> result.class # => Array
<shevy> so you see it will return an Array
drale2k has quit [Ping timeout: 248 seconds]
<nazty> yea
<shevy> worst case, it will be an empty array
<shevy> best case, it will return all the entries you need
<nazty> now input << '*' unless input[-1,1] == "*"
maxmanders has joined #ruby
<nazty> that is saying append a * to input unless the last character of input is not a *
adkron has quit [Ping timeout: 264 seconds]
<nazty> using slicing?
<MrZYX> shevy: why do you prefer [-1,1] over [-1] ?
<shevy> nazty yes
lewix has quit [Remote host closed the connection]
kondi has joined #ruby
<shevy> MrZYX works on 1.8, also is more explicit and consistent when you need more than one character
tealmage has quit [Ping timeout: 276 seconds]
<nazty> i never am used to seeing symbols like this
<shevy> nazty hmm symbols?
<shevy> you mean '*' ?
iamjarvo has quit [Quit: Leaving.]
<shevy> well, the * should work in a shell like bash
<shevy> ls *.rb
<shevy> I think it is an ancient unixicism or something
<MrZYX> they are called glob patterns, python too has functions that take them
<shevy> unixism?
<shevy> glob patterns sounds nice
<shevy> "hey bob you slob, you have glob patterns to rob!"
<Hanmac> its funny when you have something like **/**/*
m8tt8 has joined #ruby
<shevy> this is the time when Hanmac shows the wat factor :D
<shevy> nazty, did you see this yet http://www.youtube.com/watch?v=kXEgk1Hdze0 ? it is "wat"
<Hanmac> you mean like :abc["b"]
jblack has joined #ruby
hbpoison has joined #ruby
browndawg has quit [Quit: Leaving.]
motto has quit [Ping timeout: 260 seconds]
f0ster` has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
rubarlion has quit [Remote host closed the connection]
hbpoison has joined #ruby
sayan has quit [Ping timeout: 276 seconds]
<Hanmac> shevy what about:
<Hanmac> >> "äöü".each_byte.map &"%X".method(:%)
<eval-in> Hanmac => ["C3", "A4", "C3", "B6", "C3", "BC"] (http://eval.in/12310)
huoxito has joined #ruby
<shevy> Hanmac I use only ascii
olistik has joined #ruby
elico has quit [Remote host closed the connection]
<Hanmac> i mean the way to show the hexvalues
mockra has joined #ruby
freakazoid0223 has joined #ruby
olistik has quit []
chrisramon has quit [Quit: chrisramon]
Eldariof28-ru has joined #ruby
hbpoison has quit [Remote host closed the connection]
hbpoison has joined #ruby
<waxjar> unless arg1[-1] == "*" => unless arg1.end_with? '*' :D
dartosgamer has joined #ruby
<dartosgamer> What do the pipe symbols do?
<Hanmac> waxjar: end_with? does not exist in 1.8
jurassic has quit [Quit: jurassic]
<Hanmac> dartogamer: you mean like array.each {|e| } ?
<waxjar> 1.8 :(
<nazty> C:\Users\naz\RubymineProjects\lscmp>ruby lscmp.rb
<nazty> lscmp.rb:10:in `<main>': private method `dir' called for "k:/videos/":String (No
<nazty> MethodError)
<nazty> thats the error im getting
lewix has joined #ruby
<dartosgamer> Hanmac: yeah
neku has quit [Read error: Connection reset by peer]
tcstar has quit [Remote host closed the connection]
Eldariof93-ru has quit [Ping timeout: 276 seconds]
<Hanmac> dartogamer: its a block parameter ... in this case "e" is the current array element while the iteration
<dartosgamer> Hanmac: I'm not sure I understand
<Hanmac> >> [3,2,1,0].each {|i| p i }
<eval-in> Hanmac => 3
<eval-in> 2
<eval-in> [3, 2, 1, 0] (http://eval.in/12311)
<eval-in> 1
<eval-in> 0
hbpoison has quit [Remote host closed the connection]
<Hanmac> blocks & Enumerators are often used like iterators in C++
hbpoison has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
<dartosgamer> Oh like iterators
<dartosgamer> that makes sense now
echobinary has joined #ruby
icole has joined #ruby
PragCypher has left #ruby ["Leaving"]
thone has joined #ruby
bonhoeffer has joined #ruby
ryanh has joined #ruby
neku has joined #ruby
jurassic has joined #ruby
<shevy> nazty you have not defined dir in class String this time
<shevy> nazty dont you remember your old code? you put it inside class String
<shevy> this time, you did not.
kondi has left #ruby [#ruby]
IceDragon has joined #ruby
thone_ has quit [Ping timeout: 248 seconds]
dartosgamer has quit [Read error: Connection reset by peer]
horofox has quit [Quit: horofox]
hbpoison has quit [Remote host closed the connection]
wormwood has quit [Quit: WeeChat 0.4.0]
hbpoison has joined #ruby
mikepack has quit [Remote host closed the connection]
oinkon has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
daniel_-_ has joined #ruby
sayan has joined #ruby
bricker`LA has quit [Ping timeout: 256 seconds]
butblack has joined #ruby
hbpoison has quit [Remote host closed the connection]
m8tt8 has quit [Ping timeout: 245 seconds]
a7x has joined #ruby
<a7x> given a dns is it possible to force a connection only with ipv6?
<shevy> hmm when I have a string
<shevy> "abc def ghi jkl\nmno pqr stu vwq"
<shevy> it has one newline, \n
<shevy> how would I split into an array with 4 elements "abc def", "ghi jkl", "mno pqr", "stu vwq" ?
brum has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
hbpoison has joined #ruby
<aedornm> shevy: scan /\w+\s\w+/
<shevy> cool, that is awesome, I dont have to use .split, thanks aedornm
<shock_one> don't forget the /m modifier
<aedornm> shouldn't need it
<butblack> Hi, I'm looking to do a string sub with three possible entries to be replaced with 'ed'.. https://gist.github.com/ebbflowgo/5125373 … I'm not sure if this is the channel, maybe a regex channel would be better?
<shock_one> Does \s match the new line?
<aedornm> no, it skips right over it, but it should process the full string.
<shevy> shock_one /m for multiline?
<aedornm> >> p "abc def ghi jkl\nmno pqr stu vwq".scan(/\w+\s\w+/)
<eval-in> aedornm => ["abc def", "ghi jkl", "mno pqr", "stu vwq"]
<eval-in> ["abc def", "ghi jkl", "mno pqr", "stu vwq"] (http://eval.in/12312)
<shock_one> I'm not sure what it stands for.
mootpointer has joined #ruby
whitedawg has quit [Quit: Leaving.]
hbpoison_ has joined #ruby
<Hanmac> i wonder why .split(/(?=def) \b/) does not work :(
<shevy> Hanmac you try to make things complicated again :P
hbpoison has quit [Ping timeout: 256 seconds]
<Hanmac> yeah i thought that you wanted to treat def special
daniel_-_ has quit [Ping timeout: 245 seconds]
<shock_one> butblack, you have to write separate cases for each word ending.
rippa has joined #ruby
LouisRoR has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
<shevy> hmm just quick ref check. if I have .scan(/\w+ \d+/) I would split on input strings like
<shevy> "abc def 123", and also on "abc 456" right?
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<aedornm> you would only get "def 123"
daniel_-_ has joined #ruby
<shock_one> Not even 'def 123', because there is a space between f and 1
<realDAB> shock_one: i believe there's a space after \w+ in the regex
<shock_one> realDAB, you're right.
BizarreCake has quit [Remote host closed the connection]
sonda has quit [Remote host closed the connection]
oneawayman has quit [Read error: Connection reset by peer]
<Spooner> Yeah, the " " would only be ignored if you used //x mode.
<aedornm> If you wanted "abc def 123 ghi 456" to become ["abc def 123", "ghi 456"] you would need something like /(?:\w|\s)+?\d+/) or even just /.+?\d+/, but you would then need to iterate through each match and strip the leading spaces.
maxmanders has quit [Ping timeout: 264 seconds]
mikepack_ has quit [Remote host closed the connection]
daniel_- has joined #ruby
chrisramon has joined #ruby
<realDAB> aedornm: i think this would work: str.scan(/[a-z].+?\d+/)
tommyvyo has joined #ruby
<realDAB> i avoided \w because it includes digits but actually that would work too:
<realDAB> str.scan(/\w.+?\d+/)
<aedornm> ah, yeah, that would
maxmanders has joined #ruby
hbpoison_ has quit [Remote host closed the connection]
AndChat| has quit [Ping timeout: 260 seconds]
daniel_-_ has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
drale2k has joined #ruby
generalissimo has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
<butblack> shock_one: ok thanks
tealmage has joined #ruby
jurassic has quit [Quit: jurassic]
mootpointer has quit [Quit: Computer has gone to sleep.]
<a7x> i really have no clue, #<URI::InvalidURIError: the scheme irc does not accept registry part: 2001:1418:13:1:0:0:0:25 (or bad hostname?), i'm trying to connect to an ipv6 address
Takehiro has joined #ruby
<a7x> is this a bug? :\
jurassic has joined #ruby
drale2k has quit [Ping timeout: 252 seconds]
hbpoison has quit [Ping timeout: 256 seconds]
<MrZYX> a7x: what's your input?
slyv has joined #ruby
Stilo has joined #ruby
wormwood has joined #ruby
<a7x> MrZYX, 'irc://' + srv_uri where srv_uri it's the ipv6 address
tealmage has quit [Ping timeout: 264 seconds]
<MrZYX> you have to put v6 addresses into square brackets, like irc://[2001:1418:13:1::25]
godfrey3835 has quit [Quit: 暫離]
atmosx has joined #ruby
<MrZYX> so the parsers can differentiate the port, like irc://[2001:1418:13:1::25]:6667
Takehiro has quit [Ping timeout: 252 seconds]
<a7x> MrZYX, i tried that too, i'm gonna check if there is a problem somewhere else that maybe removes the brackets
<a7x> anyway thanks :D
apok has quit [Quit: apok]
bonhoeffer has quit [Quit: bonhoeffer]
realDAB has quit [Quit: realDAB]
hbpoison has joined #ruby
ner0x has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
carraroj has joined #ruby
hbpoison has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
<aedornm> argh, people tagging me on Facebook! This is a good time to write a Ruby script that will automatically remove them!
bonhoeffer has joined #ruby
<MrZYX> or just unfriend everybody
<aedornm> I deleted my account before, and then found out that the account is never really deleted.
<a7x> looks like i avoided that problem but, failed to connect to IRC server at irc://[2001:1418:13:1:0:0:0:25]:6667 -> #<SocketError: getaddrinfo: Name or service not known, and it should not be a server problem since i can connect to that ip from the same machine
douglarek_ has joined #ruby
johnnygoodmancpa has joined #ruby
douglarek has quit [Ping timeout: 276 seconds]
motto has joined #ruby
<aedornm> Well, time to go drive in the blizzard! Yay!
aedornm has quit [Quit: Leaving]
Konfusius has left #ruby [#ruby]
hbpoison has quit [Ping timeout: 276 seconds]
m8 has quit [Ping timeout: 255 seconds]
teddyp1cker has quit [Ping timeout: 260 seconds]
hbpoison has joined #ruby
toekutr has joined #ruby
echobin65 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
johnnygoodmancpa has quit [Quit: Leaving.]
Pufferfood has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
Pufferfood has joined #ruby
alesguzik has joined #ruby
hogeo has quit [Ping timeout: 252 seconds]
<lewix> people use enumerable interchangeably with collections?
pdamer has joined #ruby
<banisterfiend> ..
<banisterfiend> Enumerable is basically the Ruby collection API
hbpoison has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<Hanmac> lewix yeah i think ... each object that is a "collection" should define one or more each methods, and if it has an generic each it should include Enumerable too
hbpoison has joined #ruby
<a7x> okay i found a way.
<lewix> banisterfiend: right, it's the module mix in the different collection classes. But now and then I see the word use as a replacement for collection of objects
<lewix> mixed/used/
<banisterfiend> oh you mean use the *word* Enumerable interchangeably with the word collection
<lewix> yes sorry
Quintus_q has joined #ruby
<Hanmac> i think enumeration is also an good word
v0n has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
<banisterfiend> Hanmac: 'an' is only used when the following word begins with a vowel ;)
<Hanmac> pah, i do not care :P
danneu has joined #ruby
<lewix> Hanmac: good english makes a good programmer
<Hanmac> have someone else seen this? "There were 4 Ruby vulnerability reports in the last 14 days. 2 medium, 1 low, 1 undetermined. Most recent: CVE-2013-1656. See details."
<banisterfiend> Hanmac: i want to bring your english to an acceptable level, english is the world language my fren
<banisterfiend> ;)
crodas has quit [Ping timeout: 264 seconds]
<Hanmac> lewix my ruby is better than my english :P
<lewix> Hanmac: that worries me :p
crodas has joined #ruby
<Hanmac> my ruby is also a bit evil
pdamer has quit [Quit: pdamer]
<lewix> Hanmac: you've been rubying for three years, correct?
sayan has quit [Ping timeout: 248 seconds]
<Hanmac> hm no i think its more ... 5 or 6
<lewix> no wonder
<lewix> I can't wait to bring my ruby to an acceptable level, it's becoming the world language my fren
ananthakumaran has quit [Quit: Leaving.]
hbpoison has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
iamjarvo has joined #ruby
<atmosx> my ruby sucks, my english too so I'm square.
icole has quit [Remote host closed the connection]
kn330 has quit [Ping timeout: 248 seconds]
feedbackloop has joined #ruby
m3pow has quit [Read error: Operation timed out]
* lewix squareroots atmosx
jblack has quit [Ping timeout: 256 seconds]
epta is now known as dakaktak
LouisRoR has quit [Ping timeout: 276 seconds]
* atmosx ducks
gnarmis has joined #ruby
daniel_- has quit [Ping timeout: 256 seconds]
gnarmis has left #ruby [#ruby]
m3pow has joined #ruby
Es0teric has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
hbpoison has joined #ruby
mikurubeam has quit [Ping timeout: 260 seconds]
drale2k has joined #ruby
gyre007 has quit [Read error: Operation timed out]
splud has quit [Quit: splud]
elaptics`away is now known as elaptics
adkron has joined #ruby
tealmage has joined #ruby
mikurubeam has joined #ruby
mikurubeam is now known as Guest62071
slainer68 has joined #ruby
Davey has joined #ruby
Guest62071 has quit [Client Quit]
mikurubeam has joined #ruby
drale2k has quit [Ping timeout: 256 seconds]
yacks has quit [Quit: Leaving]
adkron_ has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
nmeum has quit [Quit: WeeChat 0.3.8]
braoru has joined #ruby
chrishough has quit [Ping timeout: 256 seconds]
huoxito has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
baroquebobcat has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
jurassic has quit [Quit: jurassic]
io_syl has joined #ruby
jamesfung14 has joined #ruby
b0oh has joined #ruby
jurassic has joined #ruby
nmeum has joined #ruby
hbpoison has quit [Remote host closed the connection]
hbpoison has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
b0oh has quit [Quit: Leaving.]
hbpoison has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
hbpoison has joined #ruby
echobin65 has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
jurassic has quit [Quit: jurassic]
vt100 has joined #ruby
huoxito has joined #ruby
baroquebobcat has joined #ruby
vt100 is now known as tstar
tylersmith has joined #ruby
jurassic has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
kidoz has quit [Ping timeout: 245 seconds]
icole has joined #ruby
hbpoison has joined #ruby
itsdavem has joined #ruby
elkclone has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
chrisramon has quit [Quit: chrisramon]
hbpoison has quit [Ping timeout: 240 seconds]
chrisramon has joined #ruby
bonhoeffer has joined #ruby
<epochwolf> What's Net::BufferedIO used fof?
mityaz has quit [Quit: See ya!]
RomainT has joined #ruby
hbpoison has joined #ruby
<RomainT> Hello
enebo has quit [Quit: enebo]
mduvall has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
alesguzik has quit [Quit: leaving]
pkrnj has quit [Ping timeout: 255 seconds]
tstar has left #ruby [#ruby]
pkrnj has joined #ruby
bonhoeffer has quit [Client Quit]
ThePicard has quit [Quit: Engage]
chrisramon has quit [Quit: chrisramon]
ThePicard has joined #ruby
chrisramon has joined #ruby
hbpoison has quit [Remote host closed the connection]
ThePicard has quit [Client Quit]
hbpoison has joined #ruby
ThePicard has joined #ruby
chrisramon has quit [Client Quit]
jdunck has joined #ruby
mduvall has quit []
emocakes has joined #ruby
generalissimo has joined #ruby
jrajav has joined #ruby
mengu__ has quit [Read error: Operation timed out]
prophile is now known as trolling
baroquebobcat has quit [Quit: baroquebobcat]
vlad_starkov has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
tommyvyo has quit [Quit:]
oneawayman has joined #ruby
hbpoison has quit [Ping timeout: 250 seconds]
adkron has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
hbpoison has joined #ruby
adkron_ has quit [Ping timeout: 252 seconds]
nomenkun_ has quit [Remote host closed the connection]
joeycarmello has quit [Remote host closed the connection]
mmitchell has joined #ruby
adkron has joined #ruby
drale2k has joined #ruby
chrishough has quit [Quit: chrishough]
Beoran_ has joined #ruby
chrishough has joined #ruby
adkron_ has joined #ruby
horofox has joined #ruby
shiftpgd1 has quit [Read error: No route to host]
sepp2k1 has quit [Remote host closed the connection]
__Big0__ has joined #ruby
Beoran__ has quit [Ping timeout: 248 seconds]
drale2k has quit [Ping timeout: 245 seconds]
hbpoison has quit [Ping timeout: 240 seconds]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
hbpoison has joined #ruby
Xeago has quit [Remote host closed the connection]
enroxorz has joined #ruby
enroxorz has quit [Changing host]
enroxorz has joined #ruby
enroxorz is now known as ArchBeOS
Stilo has joined #ruby
Eldariof28-ru has quit []
Jedi_SCT1 has quit [Quit: See ya]
sttau has joined #ruby
jurassic has quit [Quit: jurassic]
ocnam has joined #ruby
russfrank has quit [Ping timeout: 245 seconds]
Jedi_SCT1 has joined #ruby
russfrank has joined #ruby
Shadow_S has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Quintus_q has left #ruby ["Valete!"]
chrishough has quit [Quit: chrishough]
testingb0t1 has quit [Quit: Leaving.]
doja has joined #ruby
danman has joined #ruby
h4mz1d has joined #ruby
danman has quit [Client Quit]
icole has quit [Remote host closed the connection]
orospakr has joined #ruby
chrishough has joined #ruby
danman has joined #ruby
doja has quit [Client Quit]
Assurbanipal has joined #ruby
chrishough has quit [Client Quit]
nazty has quit [Quit: Leaving]
nazty has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
toekutr has quit [Remote host closed the connection]
etcetera_ has joined #ruby
Zolo has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
Blaze_Boy has quit [Remote host closed the connection]
chrisramon has joined #ruby
Xeago has joined #ruby
joeycarmello has joined #ruby
haxrbyte has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
haxrbyte has joined #ruby
verysoftoiletppr has quit []
itsdavem has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
Astralum has joined #ruby
etcetera_ has quit []
havenwood has quit [Remote host closed the connection]
mikepack has joined #ruby
bradhe has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 264 seconds]
jurassic has joined #ruby
bradhe has joined #ruby
hasimo has joined #ruby
northlight31 has joined #ruby
emocakes has quit [Quit: emocakes]
jtperreault has quit [Ping timeout: 248 seconds]
russfrank has quit [Ping timeout: 245 seconds]
katherinem13 has quit [Ping timeout: 240 seconds]
h4mz1d has quit [Ping timeout: 255 seconds]
freezway has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
etcetera_ has joined #ruby
LouisRoR has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
malkomalko has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 250 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
jtperreault has joined #ruby
slainer68 has quit [Remote host closed the connection]
etcetera_ has quit [Client Quit]
eka has quit [Quit: Computer has gone to sleep.]
northlight31 has quit [Ping timeout: 260 seconds]
etcetera_ has joined #ruby
xbob has quit [Quit: Leaving]
pandawarrior1 has quit [Quit: Leaving.]
northlight31 has joined #ruby
lewix has quit [Remote host closed the connection]
jtperreault has quit [Read error: Operation timed out]
etcetera_ has quit [Client Quit]
Assurbanipal has quit [Remote host closed the connection]
kofno has joined #ruby
katherinem13 has joined #ruby
evxd_ has quit [Read error: Operation timed out]
<heftig> epochwolf: internal use only
mercwithamouth has joined #ruby
<epochwolf> heftig: figured that out
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
jtperreault has joined #ruby
<banisterfiend> epochwolf: now 2.0 is out hopefully ppl will start using private_const
dmiller has joined #ruby
<banisterfiend> private_constant, even
russfrank has joined #ruby
northlight31 has quit [Ping timeout: 256 seconds]
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
Amfy has joined #ruby
<Amfy> Maybe that's a noob-question, but I'm trying it since hours… params = JSON.parse({'domain_name' => 'test.de'}.to_json) works, but cannot access domain_name with params.domain_name or params[:domain_name]
mrmist has quit [Ping timeout: 600 seconds]
chrisramon has quit [Quit: chrisramon]
<banisterfiend> Amfy: you have to use params["doman_name"]
samphippen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<atmosx> lol
<banisterfiend> Amfy: and you never could use params.domain_name
<Amfy> banisterfiend oh, yay, params["domain_name"] works! Great, thanks a lot!
mrmist has joined #ruby
Assurbanipal has joined #ruby
uris has quit [Ping timeout: 260 seconds]
kornnflake has joined #ruby
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kofno has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 250 seconds]
Assurbanipal has quit [Remote host closed the connection]
sqbell has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
artofraw has quit [Remote host closed the connection]
kofno has joined #ruby
havenwood has joined #ruby
samphippen has joined #ruby
bradhe has joined #ruby
wudofyr has quit [Remote host closed the connection]
dmiller has quit [Quit: WeeChat 0.3.9.2]
freakazoid0223 has quit [Read error: Connection reset by peer]
kevinfagan has quit [Quit: Leaving...]
icco has quit [Ping timeout: 252 seconds]
johnnygoodmancpa has joined #ruby
cmarques has joined #ruby
johnnygoodmancpa has left #ruby [#ruby]
icole has joined #ruby
__Big0__ has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 248 seconds]
wudofyr has joined #ruby
bradhe has quit [Ping timeout: 250 seconds]
Chryson has joined #ruby
threesome has quit [Read error: Operation timed out]
idkazuma has joined #ruby
cmarques has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
_whitelogger has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
alanp has joined #ruby
codecop has quit [Remote host closed the connection]
alanp_ has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
lewix_ has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
AlSquirrel has joined #ruby
LouisRoR has quit [Ping timeout: 255 seconds]
__Big0__ has joined #ruby
jblack has joined #ruby
lewix has quit [Ping timeout: 248 seconds]
sttau has quit [Quit: bbl]
tommyvyo has joined #ruby
AlSquire has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
oneawayman has quit [Quit: Leaving]
threesome has joined #ruby
joeycarm_ has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
Xeago has quit [Remote host closed the connection]
braoru has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Ping timeout: 264 seconds]
jblack has quit [Ping timeout: 250 seconds]
BoomCow has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
chrisnicola has joined #ruby
whowantstolivef1 has joined #ruby
AlSquirrel has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
AlSquirrel has joined #ruby
butblack has quit [Quit: butblack]
AlSquire has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
hasimo has quit [Remote host closed the connection]
hasimo has joined #ruby
chussenot has joined #ruby
butblack has joined #ruby
mikepack has joined #ruby
adkron_ has quit [Ping timeout: 245 seconds]
adkron has quit [Ping timeout: 245 seconds]
dsferreira has joined #ruby
hasimo has quit [Remote host closed the connection]
hasimo has joined #ruby
kofno has quit [Remote host closed the connection]
kornnflake is now known as kornnflake_zzz
chrisnicola has quit [Quit: This computer has gone to sleep]
danneu has quit [Quit: WeeChat 0.3.8]
AlSquirrel has quit [Read error: Connection reset by peer]
AlSquirrel has joined #ruby
freakazoid0223 has joined #ruby
huoxito has quit [Ping timeout: 248 seconds]
butblack has quit [Quit: butblack]
spychalski has quit [Ping timeout: 248 seconds]
sqbell has quit [Read error: Connection reset by peer]
wormwood has quit [Quit: WeeChat 0.4.0]
spychalski has joined #ruby
AlSquirikou has joined #ruby
evxd has joined #ruby
AlSquirikou has quit [Read error: Connection reset by peer]
cheese1756 has joined #ruby
Nanuq has quit [Read error: Operation timed out]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
AlSquirrel has quit [Read error: Connection reset by peer]
pepper_chico has joined #ruby
a7x has left #ruby [#ruby]
Stilo has joined #ruby
uris has joined #ruby
Nanuq has joined #ruby
nicoulaj has quit [Remote host closed the connection]
havenwood has joined #ruby
cheese1756 has quit [Changing host]
cheese1756 has joined #ruby
__Big0__ has quit [Remote host closed the connection]
Xeago has joined #ruby
tstar has joined #ruby
Shadow_S has quit [Quit: Textual IRC Client: www.textualapp.com]
idkazuma has quit [Remote host closed the connection]
tstar has quit [Client Quit]
mikurubeam has joined #ruby
backjlack has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 260 seconds]
Mattix has joined #ruby
danneu has joined #ruby
maxmanders has quit [Ping timeout: 248 seconds]
idkazuma has joined #ruby
huoxito has joined #ruby