apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
banisterfiend has joined #ruby
staafl has quit [Ping timeout: 264 seconds]
mengu has quit [Quit: This computer has gone to sleep]
lkba has quit [Ping timeout: 264 seconds]
<shevy> generator.rb:257:in `gsub': invalid byte sequence in UTF-8
<shevy> hmmm
pkrnj has joined #ruby
<shevy> I dont understand this
<shevy> I have: # Encoding: ASCII-8BIT
<shevy> oh
<shevy> it seems as if YAML.load_file() defaults to UTF-8
pen has quit [Remote host closed the connection]
pen has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
pencilcheck has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
ngoldman_ has quit [Read error: Connection reset by peer]
dodosan has quit [Remote host closed the connection]
ngoldman has joined #ruby
nari has quit [Ping timeout: 252 seconds]
Rym has joined #ruby
pen has quit [Ping timeout: 264 seconds]
hogeo has joined #ruby
trinode is now known as trinode_away
lkba has joined #ruby
kvirani has joined #ruby
nomenkun has joined #ruby
headius has joined #ruby
philcrissman_ has joined #ruby
mrbignum has joined #ruby
dodosan has joined #ruby
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
mootpointer has joined #ruby
|PiP| has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
rickmasta has joined #ruby
mrsolo has joined #ruby
marr has quit [Ping timeout: 260 seconds]
kvirani has quit [Remote host closed the connection]
lucazi has quit [Quit: Leaving.]
kvirani has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
foxtrot101 has joined #ruby
druonysus has quit [Read error: Connection reset by peer]
Heero has joined #ruby
druonysus has joined #ruby
amacgregor_ has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
cj3kim has quit [Remote host closed the connection]
jibi has quit [Quit: .]
nanothief has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
guiocavalcanti has joined #ruby
adeponte has joined #ruby
mercwithamouth has joined #ruby
forced_request has quit [Remote host closed the connection]
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
amacgregor has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
adeponte has quit [Ping timeout: 246 seconds]
foxtrot101 has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
guiocavalcanti has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
pkrnj has joined #ruby
guiocavalcanti has joined #ruby
blackmesa has joined #ruby
ewnd9 has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mabar207 has quit [Quit: Leaving]
headius has quit [Quit: headius]
Davey has joined #ruby
mansi has joined #ruby
sparq_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Xaitec has joined #ruby
nomenkun has joined #ruby
snovak has joined #ruby
fourq has quit [Ping timeout: 264 seconds]
<mydog2> hi.. anyone here i can talk about trying to setup an open source app from github, using apache as a test weebapp..
<mydog2> the app is crowhoster
Rym has quit [Ping timeout: 240 seconds]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
pweems has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
snovak has quit [Ping timeout: 240 seconds]
caju has joined #ruby
sambao21 has joined #ruby
rickmasta has quit [Quit: Leaving...]
nari has joined #ruby
jsatk has joined #ruby
mlpinit has quit [Remote host closed the connection]
jsatk has quit [Remote host closed the connection]
LaPetiteFromage has joined #ruby
sevenseacat has joined #ruby
senayar has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
sambao21 has quit [Quit: Computer has gone to sleep.]
agent_white has joined #ruby
r4nd0m1 has quit []
<DanielRb> hello
senayar has quit [Ping timeout: 246 seconds]
<agent_white> Evenin
tylersmith has quit [Remote host closed the connection]
<DanielRb> but it's 11:09am here
tylersmith has joined #ruby
<sevenseacat> timezones how do they work!
t0rc has quit [Quit: WeeChat 0.4.1]
<DanielRb> yes!
chrisja has quit [Quit: leaving]
nanoxd has joined #ruby
tkuchiki has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
pweems has quit [Ping timeout: 256 seconds]
jonahR has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
Vivekananda has quit [Ping timeout: 264 seconds]
dtcrshr has joined #ruby
lukec has joined #ruby
alpha123 is now known as alpha123-away
nanoxd has quit [Read error: Connection reset by peer]
endash has quit [Quit: endash]
jonahR has quit [Read error: Connection reset by peer]
tonni has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
druonysus has quit [Ping timeout: 245 seconds]
Wildhoney has quit [Quit: Wildhoney]
vlad_starkov has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
nomenkun has joined #ruby
|PiP| has quit [Quit: |PiP|]
dhruvasagar has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
BSaboia has joined #ruby
duggiefresh has quit [Quit: duggiefresh]
_Bravado_ has quit [Quit: _Bravado_]
dodosan has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
rcosta has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 260 seconds]
hamakn has quit [Ping timeout: 241 seconds]
ewnd9 has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
echevemaster has quit [Quit: Leaving]
echevemaster has joined #ruby
Orxata_ has quit [Quit: Me'n vaig]
pipework has joined #ruby
duggiefresh_ has joined #ruby
freeayu has joined #ruby
alpha123-away is now known as alpha123
LaPetiteFromage has joined #ruby
yfeldblum has joined #ruby
eka has joined #ruby
hamakn has joined #ruby
pvizcay has quit [Quit: leaving]
sparq_ has quit [Ping timeout: 268 seconds]
Senjai has joined #ruby
Senjai has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
jonahR has quit [Quit: jonahR]
brianpWins has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 260 seconds]
duggiefresh_ has quit [Quit: duggiefresh_]
Domon has joined #ruby
amacgregor_ has joined #ruby
freeayu has quit [Ping timeout: 276 seconds]
freeayu has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
wmoxam has joined #ruby
I-saac has quit [Ping timeout: 260 seconds]
nomenkun has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
guns has joined #ruby
druonysus has joined #ruby
freeayu has joined #ruby
scarolan_ has joined #ruby
duggiefresh has joined #ruby
scarolan has quit [Read error: Operation timed out]
badabim has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
Morrolan has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 240 seconds]
stack has quit [Ping timeout: 245 seconds]
badabim_ has joined #ruby
BSaboia has joined #ruby
badabim has quit [Ping timeout: 245 seconds]
badabim_ has quit [Read error: Connection reset by peer]
<Aenigma> what is a safe way to determine if a tcpsocket is closed remotely? closed? and eof? don't seem to cut it since i check those and i still get an error if remote force closed
badabim has joined #ruby
duggiefresh has quit [Quit: duggiefresh]
jalcine has quit [Excess Flood]
fourq has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
ryandeussing has quit [Remote host closed the connection]
brennanMKE has joined #ruby
nanoxd has joined #ruby
pweems has joined #ruby
Morrolan has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
ryandeussing has joined #ruby
lysw123 has joined #ruby
kaspergrubbe has joined #ruby
sparq_ has joined #ruby
ssvo has joined #ruby
fourq has quit [Ping timeout: 240 seconds]
ryandeussing has quit [Ping timeout: 256 seconds]
rockets has joined #ruby
yoshie902a has joined #ruby
duggiefresh_ has joined #ruby
yoshie902a has left #ruby [#ruby]
amacgregor_ has quit [Ping timeout: 245 seconds]
zastern has quit [Ping timeout: 245 seconds]
jalcine has joined #ruby
druonysus has quit [Ping timeout: 268 seconds]
jamesaanderson has joined #ruby
threesome has joined #ruby
anonymuse has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 240 seconds]
cads has joined #ruby
jamesaanderson has quit [Client Quit]
nomenkun has joined #ruby
jonahR has joined #ruby
Xaitec has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
Domon has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 245 seconds]
Ripp__ has joined #ruby
Domon has joined #ruby
nanothief has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
jonahR has quit [Quit: jonahR]
dodosan has joined #ruby
Domon has quit [Ping timeout: 268 seconds]
mansi has quit [Remote host closed the connection]
parzo has joined #ruby
mansi_ has joined #ruby
Senjai has quit [Remote host closed the connection]
guiocavalcanti has quit [Ping timeout: 264 seconds]
dodosan has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 240 seconds]
mrsolo has joined #ruby
johnmilton has joined #ruby
anonymuse has quit [Remote host closed the connection]
Domon has joined #ruby
radic__ has joined #ruby
radic_ has quit [Ping timeout: 264 seconds]
julian-delphiki has joined #ruby
zeropx has quit [Quit: zeropx]
bean has quit [Ping timeout: 246 seconds]
snovak has joined #ruby
Rym has joined #ruby
nomenkun has joined #ruby
endash has joined #ruby
sevenseacat has quit [Quit: Leaving.]
sayan has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 245 seconds]
adambeynon has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
randomau_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
randomautomator has joined #ruby
brianpWins has quit [Quit: brianpWins]
sparq_ has quit [Ping timeout: 264 seconds]
scarolan_ has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby
s00pcan has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 268 seconds]
randomautomator has quit [Ping timeout: 245 seconds]
nvf has joined #ruby
nvf has left #ruby [#ruby]
brianpWins has quit [Ping timeout: 245 seconds]
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
jbomo has joined #ruby
bklane has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaldrenon has joined #ruby
iliketur_ has joined #ruby
existensil has joined #ruby
dodosan has joined #ruby
ngoldman_ has joined #ruby
momomomomo has joined #ruby
kaldrenon has quit [Ping timeout: 268 seconds]
ngoldman has quit [Ping timeout: 268 seconds]
mansi_ has quit [Remote host closed the connection]
brianpWins has joined #ruby
johnmilton has quit [Quit: Leaving]
mansi has joined #ruby
vlad_sta_ has joined #ruby
sevenseacat has joined #ruby
nomenkun has joined #ruby
duggiefresh_ has quit [Quit: duggiefresh_]
kung has joined #ruby
kung has quit [Changing host]
kung has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
rockets has quit [Read error: Connection reset by peer]
andbutsothen has quit [Quit: andbutsothen]
Davey has quit [Quit: Computer has gone to sleep.]
zastern has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
sailias has quit [Ping timeout: 264 seconds]
helvete has joined #ruby
soba has joined #ruby
ezra has joined #ruby
ezra has joined #ruby
freakcult has quit [Quit: leaving]
Orxata has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
ezra has quit [Client Quit]
<Orxata> hix
<Orxata> z*
duggiefresh has joined #ruby
Rym has quit [Quit: Rym]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atyz has quit [Ping timeout: 240 seconds]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
airtonix_ is now known as airtonix
tommyvyo has joined #ruby
tommyvyo has joined #ruby
musl has quit [Quit: WeeChat 0.4.1]
duggiefresh has quit [Quit: duggiefresh]
iliketur_ has quit [Quit: zzzzz…..]
pitzips has quit [Ping timeout: 276 seconds]
jamesaanderson has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
caju has quit [Remote host closed the connection]
duggiefresh_ has joined #ruby
Orxata is now known as Paprika
Paprika is now known as Paprika_
Megtastique has joined #ruby
mary5030 has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 248 seconds]
mary5030 has joined #ruby
pweems has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
wallerdev has quit [Quit: wallerdev]
ngoldman_ has quit [Remote host closed the connection]
snovak has joined #ruby
r0bglees0n has quit [Ping timeout: 260 seconds]
mootpointer has quit [Quit: ENOCAFFEINE.]
nomenkun has joined #ruby
helvete has quit [Quit: Leaving...]
braincra- has joined #ruby
atyz has joined #ruby
mrbignum has quit [Ping timeout: 245 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mootpointer has joined #ruby
joast has quit [Quit: Leaving.]
ssvo has joined #ruby
s00pcan has joined #ruby
ryandeussing has joined #ruby
snovak has quit [Ping timeout: 246 seconds]
braincrash has quit [Ping timeout: 264 seconds]
zacts has quit [Read error: Operation timed out]
nomenkun has quit [Ping timeout: 264 seconds]
iliketur_ has joined #ruby
duggiefresh_ has quit [Quit: duggiefresh_]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyanchih has quit [Quit: lyanchih]
ryandeussing has quit [Ping timeout: 264 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
rafacv has joined #ruby
helvete has joined #ruby
rickmasta has joined #ruby
ewnd9 has joined #ruby
jamesaanderson has joined #ruby
mrbignum has joined #ruby
atyz has quit [Ping timeout: 264 seconds]
lysw123 has quit [Quit: lysw123]
vlad_sta_ has quit [Remote host closed the connection]
bklane has joined #ruby
helvete has quit [Quit: Leaving...]
atyz has joined #ruby
iamjarvo has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alpha123 has quit [Quit: I can't believe what I just did....]
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
bklane has quit [Remote host closed the connection]
mrbignum has quit [Ping timeout: 245 seconds]
mary5030 has quit [Remote host closed the connection]
brennanMKE has joined #ruby
nanoxd has joined #ruby
ngoldman has joined #ruby
gildo has quit [Ping timeout: 248 seconds]
Megtastique has quit [Quit: Megtastique]
mansi has joined #ruby
browndawg has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
brennanMKE has quit [Ping timeout: 245 seconds]
dtcrshr has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
tabolario has joined #ruby
ixti has quit [Ping timeout: 276 seconds]
lukec has quit [Quit: lukec]
mootpointer has quit [Quit: ENOCAFFEINE.]
endash has quit [Quit: endash]
eldariof has joined #ruby
Tamae has joined #ruby
labrat__ has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 256 seconds]
cyberarm_ has joined #ruby
jbomo has quit [Ping timeout: 264 seconds]
sparq_ has joined #ruby
Paprika_ has quit [Ping timeout: 256 seconds]
larissa has quit [Quit: Leaving]
dhruvasagar has joined #ruby
dodosan has quit [Remote host closed the connection]
mootpointer has joined #ruby
cyberarm has quit [Ping timeout: 256 seconds]
cyberarm_ has quit [Client Quit]
sayan has quit [Ping timeout: 260 seconds]
relix has joined #ruby
dodosan has joined #ruby
snovak has joined #ruby
yacks has quit [Quit: Leaving]
nomenkun has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snovak has quit [Read error: Operation timed out]
dhruvasagar has quit [Read error: Connection reset by peer]
duard has joined #ruby
jamesaanderson has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
marius has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
Paprika_ has joined #ruby
dhruvasagar has joined #ruby
biesiad has joined #ruby
apeiros has quit [Remote host closed the connection]
<biesiad> Hi
apeiros has joined #ruby
<DanielRb> hi
zeropx has joined #ruby
<biesiad> I have small question..
<biesiad> I'm trying to use sinatra_async to create delayed redirection
<biesiad> have anybody done it?
<DanielRb> :O PythonOS! http://i.ejl.im/bdbb8.png
<biesiad> async_schedule { redirect '/' } - calls redirect instantly (works in main thread/context)
girija has joined #ruby
iliketur_ has joined #ruby
iliketur_ has quit [Client Quit]
graydot has joined #ruby
cads has quit [Quit: Leaving]
cads has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
k611 has joined #ruby
dhruvasagar has joined #ruby
huoxito has quit [Quit: Leaving]
rickmasta has quit [Quit: Leaving...]
thebastl has joined #ruby
lyanchih has joined #ruby
jenrzzz has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
browndawg has quit [Ping timeout: 260 seconds]
Paprika_ has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
k611 has quit [Ping timeout: 264 seconds]
ssvo has joined #ruby
browndawg has joined #ruby
poga has joined #ruby
tjad has joined #ruby
pweems has joined #ruby
Aenigma has quit [Read error: Operation timed out]
nomenkun has joined #ruby
rafacv has quit [Remote host closed the connection]
Aenigma has joined #ruby
iamjarvo has quit [Remote host closed the connection]
sayan has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
rafacv has joined #ruby
apeiros has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
xcfox has joined #ruby
marcgg has joined #ruby
Bry8Star{T2 has joined #ruby
bluOxigen has joined #ruby
zastern has quit [Read error: Connection reset by peer]
rockets has joined #ruby
tagrudev has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
Stelian1 has quit [Ping timeout: 264 seconds]
zodiak has quit [Quit: Leaving]
vlad_starkov has joined #ruby
ananthakumaran has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
axeman- has joined #ruby
iIlL10Oo has joined #ruby
sparq_ has quit [Ping timeout: 276 seconds]
grzywacz has joined #ruby
guns has quit [Read error: Operation timed out]
ssvo has quit [Ping timeout: 245 seconds]
ryandeussing has joined #ruby
ssvo has joined #ruby
biesiad has quit [Quit: biesiad]
ryandeussing has quit [Read error: Operation timed out]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby
zoee has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Matriks has joined #ruby
snovak has joined #ruby
atno|AFK is now known as atno
browndawg has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
buibex has joined #ruby
kaspergrubbe has joined #ruby
bigkevmcd has joined #ruby
browndawg has joined #ruby
yxhuvud2 has joined #ruby
mootpointer has quit [Ping timeout: 264 seconds]
yxhuvud has quit [Ping timeout: 253 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
aganov has joined #ruby
parzo has quit [Ping timeout: 245 seconds]
nomenkun has joined #ruby
momomomomo has quit [Quit: momomomomo]
atno has quit [Ping timeout: 260 seconds]
atno has joined #ruby
duard has quit [Remote host closed the connection]
girija has quit [Ping timeout: 256 seconds]
nomenkun has quit [Remote host closed the connection]
rockets has quit [Remote host closed the connection]
dash_ has joined #ruby
aspen has joined #ruby
d45h has joined #ruby
aspen has quit [Quit: Page closed]
altamic has joined #ruby
altamic has left #ruby [#ruby]
lyanchih has quit [Quit: lyanchih]
Matriks has quit [Remote host closed the connection]
dash_ has quit [Ping timeout: 264 seconds]
andikr has joined #ruby
girija has joined #ruby
_Bravado_ has joined #ruby
ferr has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
tomzx_mac_ has quit [Ping timeout: 246 seconds]
browndawg has quit [Read error: Connection timed out]
browndawg has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
ayaz has joined #ruby
thebastl has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
colonolGron has joined #ruby
mansi has joined #ruby
sayan has quit [Quit: Leaving]
futilegames has joined #ruby
bubbajones has quit [Ping timeout: 260 seconds]
noopq has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
krz has joined #ruby
mrsolo has quit [Quit: Leaving]
Nogbit has joined #ruby
tjad has quit [Ping timeout: 264 seconds]
bubbajones has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
Maoko has joined #ruby
sayan has joined #ruby
Demo_of_doom has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
JohnBat26 has joined #ruby
haxrbyte has joined #ruby
braoru has joined #ruby
orionstein_away is now known as orionstein
ssvo has quit [Ping timeout: 240 seconds]
pencilcheck has quit [Remote host closed the connection]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
browndawg has quit [Read error: Connection timed out]
grzywacz has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
bubbajones has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
bubbajones has joined #ruby
ssvo has joined #ruby
huevon has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
sergicles has quit [Quit: sergicles]
filipe has joined #ruby
<flughafen> is there a way to ignore javascript errors with capybara?
jprovazn has joined #ruby
monkegjinni has quit [Remote host closed the connection]
lysw123 has joined #ruby
sparq_ has joined #ruby
bubbajones has quit [Ping timeout: 240 seconds]
persand has joined #ruby
snovak has joined #ruby
monkegjinni has joined #ruby
vlad_starkov has joined #ruby
monkegjinni has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
bubbajones has joined #ruby
srji has joined #ruby
snovak has quit [Ping timeout: 260 seconds]
akam-it has joined #ruby
<akam-it> hello
kaspergrubbe has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
<akam-it> is it possible to do something like this "asdf" + (a++).to_s ?
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
<Spug> yes, you can do that, except that ++ isn't a valid ruby operator
<Spug> >> a = 1; "asdf" + (a + 1).to_s
<eval-in> Spug => "asdf2" (https://eval.in/45057)
markalanevans_ has joined #ruby
shevy has quit [Read error: Connection reset by peer]
shevy has joined #ruby
<akam-it> Spug, so a will be always 1
parzo has joined #ruby
allsystemsarego has joined #ruby
<Spug> >> a = 1; "asdf" + (a += 1).to_s
<eval-in> Spug => "asdf2" (https://eval.in/45058)
<Spug> akam-it: ^
<akam-it> Spug, thank you!
alup has joined #ruby
tjad has joined #ruby
browndawg has quit [Read error: Connection timed out]
MrZYX|off is now known as MrZYX
browndawg has joined #ruby
haxrbyte_ has joined #ruby
Matriks has joined #ruby
jenrzzz has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
whowantstolivefo has joined #ruby
polysics has joined #ruby
whowantstolivef3 has quit [Quit: who wants to live forever ?]
haxrbyte has quit [Ping timeout: 264 seconds]
jonkri has joined #ruby
jonkri has joined #ruby
srji has quit [Ping timeout: 240 seconds]
<polysics> gotta love how most methods in the Process module are marked as untrustworthy at best
<polysics> looks like process management is one great unsolved IT problem
rbento has joined #ruby
rbento has quit [Max SendQ exceeded]
nomenkun has joined #ruby
<jalcine> polysics: at least when it comes to cross-platform solutions
ngoldman_ has joined #ruby
<polysics> yeah, mine was a general remark
kiri has joined #ruby
<polysics> although if you have had to deal with spawning and killing processes even just on nixes, it is shaky on a single platform too :)
lessless has joined #ruby
<lessless> is it ok to use ensure without rescue?
<polysics> totally
ngoldman has quit [Ping timeout: 245 seconds]
nomenkun has quit [Ping timeout: 260 seconds]
johchri has joined #ruby
johchri has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
<lessless> polysics, hmm... so what is wrong in the https://gist.github.com/dirty-hippie/6338821 ? :)
gr33n7007h has joined #ruby
d45h has quit [Ping timeout: 256 seconds]
pranny has joined #ruby
eldariof has quit [Ping timeout: 246 seconds]
adambeynon has joined #ruby
jbpros has joined #ruby
colonolGron has joined #ruby
ngoldman_ has quit [Remote host closed the connection]
maxmanders has joined #ruby
ssvo has joined #ruby
<polysics> lessless: not a wizard here. what's the error? :)
pranny1 has joined #ruby
dash_ has joined #ruby
flughafen is now known as MrWizard
<MrWizard> how can I be of service?
BizarreCake has joined #ruby
<polysics> oh, sorry for disturbing you :D
<MrWizard> ha
<xybre> lessless: you need an explicit return in the ensure if you want that value returned.
browndawg has quit [Read error: Connection timed out]
<xybre> The ensure block runs like a callback and doesn't contribute to the return value unless you explicitly tell it to.
Demo_of_doom has quit [Remote host closed the connection]
mansi has joined #ruby
ryandeussing has joined #ruby
pranny has quit [Ping timeout: 256 seconds]
epitron has quit [Quit: leaving]
<lessless> nope, I just want to escape an doc['_rev'] assignment if CouchRest.get fails with 404
Xeago has joined #ruby
<lessless> polysics, it seems that error is not handled at all: RestClient::ResourceNotFound:404 Resource Not Found
browndawg has joined #ruby
intuxicated has joined #ruby
epitron has joined #ruby
MrWizard is now known as flughafen
ryandeussing has quit [Ping timeout: 260 seconds]
mansi has quit [Ping timeout: 264 seconds]
ssvo has quit [Ping timeout: 260 seconds]
ewnd9 has quit [Ping timeout: 260 seconds]
obs has joined #ruby
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
camilasan has joined #ruby
ahawkins has joined #ruby
ewnd9 has joined #ruby
quazimodo has joined #ruby
Zolo has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 245 seconds]
pranny1 has quit [Read error: Connection reset by peer]
troessner has joined #ruby
agent_white has quit [Quit: 'gnight fellas']
quazimodo has quit [Ping timeout: 245 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
pranny has joined #ruby
niceguyjames has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
haxrbyte_ has quit [Remote host closed the connection]
jefflyne has joined #ruby
gokul has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
rafacv has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 246 seconds]
Zolo has joined #ruby
relix has joined #ruby
dodosan has quit [Remote host closed the connection]
`MArceLL` has quit [Ping timeout: 246 seconds]
noxoc has joined #ruby
snovak has quit [Ping timeout: 260 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
io_syl has quit [Quit: io_syl]
kaspergrubbe has quit [Remote host closed the connection]
haxrbyte has joined #ruby
GeissT has joined #ruby
amacgregor has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
persand has quit [Quit: persand]
noxoc has quit [Quit: Leaving.]
dhruvasagar has quit [Quit: Lost terminal]
kaspergrubbe has joined #ruby
kek has joined #ruby
timonv has joined #ruby
stack has joined #ruby
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
jbpros has quit [Quit: jbpros]
ewnd9 has quit [Remote host closed the connection]
sparq_ has quit [Remote host closed the connection]
quazimodo has joined #ruby
dash_ has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
jibi has joined #ruby
atno has quit [Remote host closed the connection]
dash_ has joined #ruby
noname001 has joined #ruby
mneorr has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
browndawg has quit [Read error: Connection timed out]
browndawg has joined #ruby
jbpros has joined #ruby
persand has joined #ruby
vlad_sta_ has quit [Ping timeout: 264 seconds]
DrCode has joined #ruby
ahawkins has left #ruby [#ruby]
ignacy_m has joined #ruby
mootpointer has joined #ruby
blaxter has joined #ruby
swordsmanz has joined #ruby
yacks has joined #ruby
marr has joined #ruby
fenicks has joined #ruby
mansi has joined #ruby
ssvo has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
tonni_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
tonni has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
jds_ has quit [Read error: Connection reset by peer]
gener1c has joined #ruby
gener1c has joined #ruby
gener1c has quit [Changing host]
workmad3 has joined #ruby
Mon_Ouie has joined #ruby
jds_ has joined #ruby
<gener1c> hey i am trying to write a little script that will connnect to an rtsp server , tried using require 'rtsp/client' but i have tons of errors when instantiating the client object
sergicles has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
starfox21 has joined #ruby
Zai00 has joined #ruby
axeman- has quit [Ping timeout: 297 seconds]
apeiros has joined #ruby
robbyoconnor has quit [Excess Flood]
mityaz has joined #ruby
axeman- has joined #ruby
robbyoconnor has joined #ruby
<flughafen> sevenseacat: ping?
<sevenseacat> flughafen: pong
<flughafen> is there anyway to ignore all js errors/popups with capybara?
<sevenseacat> doesnt sound like a smart thing to do.
<flughafen> sevenseacat: im testing against a very unstable branch, and need to automatically ignore a couple of things... so the rest of the test suite can run
timonv has quit [Remote host closed the connection]
<sevenseacat> so only run the tests you want to run?
<sevenseacat> tag the tests you dont want to run, and dont run that tag?
intuxicated has quit [Ping timeout: 246 seconds]
<gener1c> nevermind
<zendeavor> i'd fix the source code and/or the tests
lysw123 has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
pr0ggie has joined #ruby
<sevenseacat> that would be the ideal solution
jenrzzz has quit [Ping timeout: 240 seconds]
persand has quit [Quit: persand]
agjacome has joined #ruby
adambeynon has quit [Ping timeout: 240 seconds]
<zendeavor> has to be done anyway
<flughafen> i need to fix the tests
<flughafen> but capybara is getting a weird js popup that's not being handled, but if i do it manually, there is never any popup, so the behavior is weird
Criztian has joined #ruby
<sevenseacat> sounds like you need to fix some bugs in your tests.
Brando753 has quit [Quit: o_O_o]
Brando753 has joined #ruby
Zai00 has quit [Quit: Zai00]
tvw has joined #ruby
joshu has joined #ruby
tvw has quit [Client Quit]
Zai00 has joined #ruby
persand has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<flughafen> i'll look into it more.
Anticom has joined #ruby
gyzmodo has joined #ruby
joshu_ has quit [Ping timeout: 276 seconds]
<MrZYX> flughafen: make sure you don't change the page while an ajax request is still running
persand has quit [Client Quit]
joshu has quit [Client Quit]
persand has joined #ruby
snovak has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
Stelian1 has joined #ruby
daniel_hinojosa has quit [Ping timeout: 246 seconds]
browndawg has quit [Quit: Leaving.]
jds_ has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 276 seconds]
mrsolo has joined #ruby
intuxicated has joined #ruby
atno has joined #ruby
Aenigma has left #ruby [#ruby]
Davey has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
rockfordal has joined #ruby
rockfordal has left #ruby [#ruby]
decoponio has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 264 seconds]
guiocavalcanti has joined #ruby
letstest has joined #ruby
thebastl has joined #ruby
<letstest> hi - i have a question about marshaling. When i do marshal.dump, it writes to disk, right? If so, where on disk does it write to?
Zolo has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
iIlL10Oo has quit [Ping timeout: 264 seconds]
Zolo has joined #ruby
greenysan has joined #ruby
joshu has joined #ruby
robbyoconnor has joined #ruby
<filipe> letstest, never used marshal, but I assume marshal.dump returns a string or other similar format which you then have to save to disk yourself
jonkri has quit [Quit: jonkri]
<letstest> aah ok
<letstest> bad assumption on my part, then
<letstest> thanks filipe
blackmesa has joined #ruby
<filipe> my pleasure :)
gyzmodo has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby
<letstest> I have one more question, i have a set of api calls that I want to convert into a gem for easier use. I am looking for a good tutorial or article for this. Or even any suggestions on how to approach it.
ryandeussing has joined #ruby
timonv has joined #ruby
quazimodo has joined #ruby
ryandeussing has quit [Ping timeout: 276 seconds]
futilegames_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gokul has quit [Read error: Connection reset by peer]
futilegames has quit [Ping timeout: 245 seconds]
futilegames_ is now known as futilegames
sevenseacat has quit [Quit: Leaving.]
gildo has joined #ruby
henn1nk has left #ruby ["Textual IRC Client: www.textualapp.com"]
hogeo_ has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
guiocavalcanti has quit [Remote host closed the connection]
marius has quit [Quit: -]
mansi has joined #ruby
AzizLight has joined #ruby
srji has joined #ruby
crus` has joined #ruby
ij has joined #ruby
ssvo has joined #ruby
<ij> Are there any doc files for gems for offline use? How do I use them?
mansi has quit [Ping timeout: 268 seconds]
<ij> gem server!
crus has quit [Ping timeout: 260 seconds]
<filipe> ij: gem server
<Xeago> or other commandline commands
<filipe> hah, that!
<ij> Is there something that would search for a method on commandline?
<filipe> I use pry and #methods + #grep
ferr has joined #ruby
<Xeago> rdoc, ri
<ij> filipe, Ah, I didn't mention I want the docs too.
ssvo has quit [Ping timeout: 245 seconds]
amacgregor has quit [Ping timeout: 246 seconds]
ewnd9 has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Read error: Connection reset by peer]
pen has joined #ruby
vlad_starkov has joined #ruby
blaxter has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby
blaxter has joined #ruby
Speed has joined #ruby
pen has quit [Remote host closed the connection]
browndawg has joined #ruby
pen has joined #ruby
maz-dev has joined #ruby
pencilcheck has joined #ruby
Matriks has quit [Remote host closed the connection]
maxmanders has quit [Ping timeout: 264 seconds]
pen has quit [Ping timeout: 245 seconds]
MrZYX is now known as MrZYX|off
MrZYX|off is now known as MrZYX
jonkri has joined #ruby
jonkri has joined #ruby
snovak has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
blackmesa has quit [Ping timeout: 240 seconds]
tjad has quit [Remote host closed the connection]
lkba has joined #ruby
Es0teric has joined #ruby
solrize_ has quit [Ping timeout: 245 seconds]
jds_ has joined #ruby
parzo has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 240 seconds]
parzo has joined #ruby
lsmola has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
maxmanders has joined #ruby
fixl has joined #ruby
guiocavalcanti has joined #ruby
maz-dev has quit [Remote host closed the connection]
maz-dev has joined #ruby
jds_ has quit [Ping timeout: 256 seconds]
buibex has quit [Ping timeout: 260 seconds]
freeayu has quit [Read error: Connection timed out]
r0ber has joined #ruby
freeayu has joined #ruby
nari has joined #ruby
visof has joined #ruby
ignacy_m has quit [Quit: Textual IRC Client: www.textualapp.com]
Zolo has quit [Remote host closed the connection]
realDAB has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
rickmasta has joined #ruby
gener1c has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
vadelius has quit [Ping timeout: 240 seconds]
mrbignum has joined #ruby
vadelius has joined #ruby
Wildhoney has joined #ruby
ehaliewicz has quit [Ping timeout: 246 seconds]
razi has joined #ruby
mrbignum has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 260 seconds]
bubbajones has quit [Ping timeout: 276 seconds]
kaspergrubbe has joined #ruby
r0ber has quit [Ping timeout: 268 seconds]
ismlages has joined #ruby
gianlucadv has quit [Max SendQ exceeded]
rickmasta has quit [Quit: Leaving...]
parzo_ has joined #ruby
gianlucadv has joined #ruby
parzo has quit [Ping timeout: 260 seconds]
kaspergrubbe has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
Koven has quit [Quit: poof]
Kov|abx has joined #ruby
Kov|abx has quit [Client Quit]
ewnd9_ has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
mansi has joined #ruby
amacgregor has joined #ruby
yfeldblum has joined #ruby
persand has quit [Ping timeout: 245 seconds]
Astralum has joined #ruby
ssvo has joined #ruby
djmoreh1 has joined #ruby
mercwithamouth has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
r0ber has joined #ruby
DanBoy has joined #ruby
<djmoreh1> hello sexy people
<djmoreh1> for the lover of music pls feel free to listern to dj more h1
<djmoreh1> have fun
<djmoreh1> enjoy free post free email free chat free email to dj more
<djmoreh1> here @ www.djmoreh1.wapka.mobi
letstest has quit [Ping timeout: 250 seconds]
ssvo has quit [Ping timeout: 264 seconds]
djmoreh1 has left #ruby [#ruby]
parzo has joined #ruby
ffio has joined #ruby
rcosta has joined #ruby
parzo_ has quit [Ping timeout: 240 seconds]
YaNakilon has joined #ruby
jleishman has joined #ruby
lyanchih has joined #ruby
freeayu has quit [Quit: This computer has gone to sleep]
andrein_ has quit [Ping timeout: 245 seconds]
dweeb has joined #ruby
parzo has quit [Read error: Connection reset by peer]
parzo has joined #ruby
sevenseacat has joined #ruby
Domon has quit [Remote host closed the connection]
<_br_> Spam bots?!
Zolo has joined #ruby
mengu has joined #ruby
Domon has joined #ruby
Nisstyre has quit [Quit: Leaving]
jds_ has joined #ruby
SHyx0rmZ has joined #ruby
jefflyne has joined #ruby
sayan has quit [Ping timeout: 276 seconds]
Hobogrammer_ has quit [Read error: Connection reset by peer]
patrick85 has joined #ruby
nextdropping has joined #ruby
Domon has quit [Ping timeout: 276 seconds]
failshell has joined #ruby
greenrose1 is now known as greenrose
sayan has joined #ruby
jbpros has quit [Quit: jbpros]
blaxter has quit [Ping timeout: 268 seconds]
fgo has joined #ruby
blaxter has joined #ruby
starfox21_ has joined #ruby
starfox21 has quit [Read error: Operation timed out]
starfox21_ is now known as starfox21
ryandeussing has joined #ruby
rcosta has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
Zolo has quit [Remote host closed the connection]
pencilcheck has quit [Ping timeout: 268 seconds]
ryandeussing has quit [Ping timeout: 245 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
AzizLight has quit [Read error: Operation timed out]
jds_ has quit [Remote host closed the connection]
pen has joined #ruby
<visof> how can i fix this error: blackhole_shard1_replica1: org.apache.solr.common.cloud.ZooKeeperException:org.apache.solr.common.cloud.ZooKeeperException: Specified config does not exist in ZooKeeper:blackhole
<visof> ?
lucazi has joined #ruby
ldnunes has joined #ruby
corehook has joined #ruby
ixti has joined #ruby
amacgregor has quit [Ping timeout: 276 seconds]
<_br_> Well seems like pebkac error to me. You did not configure the app correctly.
postmodern has quit [Quit: Leaving]
lucazi has quit [Ping timeout: 240 seconds]
lucazi has joined #ruby
girija has quit [Read error: Connection reset by peer]
<visof> _br_, which part?
flughafen is now known as MrWizard
Iszak has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
girija_ has joined #ruby
mengu has quit [Quit: Leaving]
MrWizard is now known as register
<visof> _br_, what i did is : 1- upload collection1 to zk, 2- create number of nodes, 3- makepath <collection_name>, 4- run the create collection API
register is now known as Guest11186
<visof> 5- linkconf of collection_name
Guest11186 is now known as MrWizard
xeviox|afk is now known as xeviox
xeviox has left #ruby ["Leaving"]
jds_ has joined #ruby
osvico has joined #ruby
_md has joined #ruby
seich- has joined #ruby
akam-it has quit [Remote host closed the connection]
jds_ has quit [Remote host closed the connection]
MrWizard is now known as flughafen
jds_ has joined #ruby
snovak has joined #ruby
ixti has quit [Ping timeout: 246 seconds]
snovak has quit [Read error: Operation timed out]
devoldmx has joined #ruby
mansi has joined #ruby
zathraz has joined #ruby
BRMatt has joined #ruby
buibex has joined #ruby
kek has left #ruby [#ruby]
Wildhoney has quit [Quit: Wildhoney]
grzywacz has joined #ruby
ssvo has joined #ruby
tk__ has joined #ruby
nari has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
buibex has quit [Read error: Connection reset by peer]
nextdropping has quit [Remote host closed the connection]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jds_ has quit [Remote host closed the connection]
AzizLight has joined #ruby
gildo has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
ssvo has quit [Ping timeout: 256 seconds]
hogeo_ has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
ryandeussing has joined #ruby
ixti has joined #ruby
tk__ has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
jbpros has joined #ruby
AzizLight has quit [Ping timeout: 245 seconds]
Criztian has quit [Ping timeout: 246 seconds]
braoru has quit [Ping timeout: 268 seconds]
KillerFox has quit [Ping timeout: 264 seconds]
pothibo has joined #ruby
gildo has joined #ruby
freeayu has joined #ruby
tk__ has joined #ruby
ryandeussing has quit [Ping timeout: 276 seconds]
dreinull has joined #ruby
dreinull has quit [Remote host closed the connection]
jdenen has joined #ruby
wallerdev has quit [Client Quit]
niceguyjames has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
wuwy has quit [Remote host closed the connection]
yalue has joined #ruby
wuwy has joined #ruby
lyanchih has quit [Quit: lyanchih]
blo has quit [Ping timeout: 264 seconds]
BizarreCake has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
blo has joined #ruby
blo has joined #ruby
blo has quit [Changing host]
pen has quit [Remote host closed the connection]
tk__ has quit [Ping timeout: 246 seconds]
pweems has quit [Ping timeout: 256 seconds]
Guedes0 has left #ruby ["Saindo"]
wicketn00b has joined #ruby
braoru has joined #ruby
blo has quit [Ping timeout: 264 seconds]
pen has joined #ruby
vlad_starkov has joined #ruby
aryaching has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
ffio has quit [Ping timeout: 260 seconds]
ryannielson has joined #ruby
KillerFox has joined #ruby
vlad_starkov has joined #ruby
blackmesa has joined #ruby
blo has joined #ruby
blo has joined #ruby
blo has quit [Changing host]
freeayu has quit [Remote host closed the connection]
Zolo has joined #ruby
scarolan has joined #ruby
ArchBeOS has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 264 seconds]
sumark has quit [Remote host closed the connection]
JDHankle has joined #ruby
sumark has joined #ruby
tomzx_mac has joined #ruby
JDHankle has quit [Read error: Operation timed out]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Ping timeout: 245 seconds]
Spug is now known as tobiasvl
pranny has quit [Quit: Leaving.]
breakingthings has joined #ruby
mark_locklear has joined #ruby
JohnBat26 has joined #ruby
snovak has joined #ruby
rdxc has joined #ruby
RubNoob has joined #ruby
tk__ has joined #ruby
wallerdev has joined #ruby
ffio has joined #ruby
<RubNoob> does anyone have a good example of retrieving basic user details from PayPal using the user's username/password?
snovak has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
buibex has joined #ruby
aryaching has joined #ruby
seich- has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
jibi has quit [Quit: .]
pothibo has quit [Quit: pothibo]
ssvo has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
kaldrenon has joined #ruby
atyz has quit [Quit: Leaving...]
jp- has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
devoldmx3 has joined #ruby
anonymuse has joined #ruby
<_br_> RubNoob: If I remember correctly, paypal issues tokens in order to do access control. So using the user/pass directly is a pretty bad idea. Why do you want to get such details?
ferr has quit [Ping timeout: 264 seconds]
<RubNoob> _br_ I'm trying to provide a verification that the user's account is what they say it is
<_br_> RubNoob: e.g. Paypal express gem works based on such tokens to do payment processing.
<_br_> RubNoob: Having their username/password is really weird. It is like giving away my bank accont login.
<RubNoob> _br_ so I'm trying to get them to enter their credentials and verify that the account they have in PayPal is valid and their own (at least suggesting their own)
timonv has quit [Remote host closed the connection]
<_br_> This is a really bad idea. I think you will get in trouble with paypal as a scammer site.
<RubNoob> _br_ so, I've got it so far as having them enter their email address and validating that the account tied to the email is verified
<RubNoob> _br_ but this does not address the fact that the user could enter ANYONE's paypal email address
dominikh has quit [Quit: WeeChat 0.4.0-dev]
timonv has joined #ruby
<RubNoob> _br_ so I'm trying to figure out how to get it a little bit more specific - i.e. validate you at least can log in using credentials
<apeiros> RubNoob: no sane customer would tell you his/her credentials to his bank account
<apeiros> that's simply insane
<_br_> bingo
ArchBeOS has quit [Remote host closed the connection]
<apeiros> (and paypal effectively is a bank account)
<RubNoob> apeiros ok, and I understand that, but how would you suggest going about validating a user's account then?
devoldmx has quit [Ping timeout: 240 seconds]
<apeiros> RubNoob: either paypal provides a means to get the username via the token, or you're fucked
<_br_> Is this to prevent fraud or what is the goal?
persand has joined #ruby
<apeiros> but I'd assume that retrieving user-info via token should be possible
<_br_> I think you can use paypal token from your own account to check if anoter account exists if I remember correctly.
AzizLight has joined #ruby
<RubNoob> _br_ the goal is for me to verify that the user's paypal account is in fact accessible by them, so I can remove the possiblity that they are entering someone else's verified email for PayPal
<RubNoob> _br_ I've already got the 'check if account exists and is verified'
<apeiros> RubNoob: and why do you want to verify that?
<_br_> Paypal has callbacks for that no?
r0ber has quit [Quit: Saliendo]
<_br_> Its not your job to prevent paypal fraud.
<apeiros> paypal already verifies that the user has access
<RubNoob> _br_ but the issue is this - what if user A comes in and specifes user B's email address as the linked account
<apeiros> so?
<apeiros> he won't be able to pay
<_br_> exactly
<RubNoob> apeiros well this is for a "being paid" situation
<RubNoob> I guess I should take a step back
<RubNoob> and figure out - what is the standard for this kind of scenario
grzywacz has quit [Quit: :wq]
companion is now known as Companion
<RubNoob> if normally an email address suffices and the user is at their own mercy (i.e. either enter your own email address or you obviously won't get paid), then I guess this is a moot point and I'm done
<RubNoob> do you guys _br_ apeiros happen to know how this is handled from a best-practice standpoint?
<_br_> Verifying that an account belongs to someone is a difficult business. We have a contract job here to create a payday loan website. In order to verify if the person claiming who she is we use a 3rd party service called "CallCredit". Its quite expensive though.
atyz has joined #ruby
_Bravado_ has quit [Quit: _Bravado_]
<_br_> I don't think you should try to do paypals job. If they don't have the password they can't pay. End of story for you.
<RubNoob> ok - so I guess what I already have working is fine for the 'getting paid' part of this (i.e. specify your verified PayPal email address, and then I go and use my token to verify the account is actually 'verified')
Paprika_ has joined #ruby
<Paprika_> hiz
<_br_> Not sure if paypal has a verification api, you would need to check that.
AzizLight has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 264 seconds]
ixti has quit [Ping timeout: 264 seconds]
<RubNoob> _br_ apeiros thank you for your help
mcdk has joined #ruby
ArchBeOS has joined #ruby
<_br_> welcome
krawchyk has joined #ruby
bubbajones has joined #ruby
huoxito has joined #ruby
drPoggs has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Monie has joined #ruby
<_br_> Btw. try stripe if its available for you. Much less brain****
devoldmx3 has quit [Ping timeout: 246 seconds]
xcfox has quit [Ping timeout: 264 seconds]
toddWork_ has joined #ruby
soba has quit [Ping timeout: 264 seconds]
caju has joined #ruby
dominikh has joined #ruby
drPoggs has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
alekst has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bubbajones has quit [Ping timeout: 256 seconds]
mydog2 has quit [Remote host closed the connection]
jerius has joined #ruby
bubbajones has joined #ruby
timonv has joined #ruby
obs has quit [Quit: Konversation terminated!]
parzo has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
corehook has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
iamjarvo has joined #ruby
obs has joined #ruby
obs has quit [Client Quit]
JDHankle has joined #ruby
<_br_> Anyone here using dm-redis-adapter? Any idea why #destroy won't remove the object from redis? Do I need to use manual syntax for that?
<_br_> (cross posted on #datamapper)
mklappstuhl has quit [Remote host closed the connection]
aryaching has quit []
aryaching has joined #ruby
Jake232 has joined #ruby
v0n has joined #ruby
mansi has joined #ruby
buibex has quit [Remote host closed the connection]
SHyx0rmZ has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
cpruitt has joined #ruby
ryandeussing has joined #ruby
ixti has joined #ruby
obs has joined #ruby
adambeynon has joined #ruby
intuxicated has quit [Ping timeout: 240 seconds]
andikr has quit [Remote host closed the connection]
codecop has quit [Quit: Išeinu]
Xeago has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
cads has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
Jake232 has quit [Read error: Connection reset by peer]
ij has left #ruby ["WeeChat 0.3.9.2"]
mansi has quit [Remote host closed the connection]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
wmoxam has joined #ruby
akells has joined #ruby
seich- has joined #ruby
jaynewstrom has joined #ruby
brbcoding has joined #ruby
tomzx_mac has quit [Ping timeout: 240 seconds]
cpruitt has left #ruby [#ruby]
Banistergalaxy has quit [Ping timeout: 264 seconds]
mlpinit has joined #ruby
devdazed has joined #ruby
snovak has joined #ruby
akells has quit [Ping timeout: 276 seconds]
IceDragon has joined #ruby
amacgregor has joined #ruby
JohnBat26 has joined #ruby
thebastl has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
man40khi_ has joined #ruby
sailias has joined #ruby
asobrasil has joined #ruby
SHyx0rmZ has joined #ruby
geekbri has joined #ruby
bluOxigen has quit [Ping timeout: 253 seconds]
amacgregor has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
ssvo has joined #ruby
dv__ has joined #ruby
mcdk has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
v0n has quit [Quit: WeeChat 0.4.2-dev]
angela has joined #ruby
lukec has joined #ruby
<angela> hi, silly question, I have ruby 1.8, 1.9 and 2.0 installed, but I can't use gem installer
<angela> ubuntu says command not found
<shevy> what is gem installer, do you mean the command "gem", and what means "can't use" precisely
dv_ has quit [Ping timeout: 276 seconds]
<shevy> ok so you do not have "gem"
proxie has joined #ruby
dv__ has quit [Client Quit]
<angela> should it come with the ruby package?
<shevy> are you sure you have all 3 versions installed? I would doubt that because ubuntu is based on debian and debian normally is too incompetent to allow multiple versions
<shevy> angela depends on the version, since ruby 1.9 and higher, yes
<shevy> in ruby 1.8.x it is an add-on, and not integrated
<shevy> do "ruby -v"
turduks has joined #ruby
<shevy> unfortunately debian cripples packages. mkmf.rb is removed by default for instance
orionstein_away is now known as orionstein
dv_ has joined #ruby
<angela> wait...it's not even installed correctly
elux has joined #ruby
<shevy> on debian there is some way with apt-get to decripple ruby
thomasvs has quit [Quit: Coyote finally caught me]
<angela> I got ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
<angela> how can I update it to a specific version?
<shevy> sudo aptitude install ruby1.9.1-dev
<shevy> you must ask debian or ubuntu this question
thomasvs has joined #ruby
thomasvs has quit [Changing host]
thomasvs has joined #ruby
<shevy> gobolinux and nixos showed how easy it is to run multiple versions side by side, I dont look back to crippled distributions myself anymore
ssvo has quit [Ping timeout: 245 seconds]
<shevy> but it seems you have only one ruby version installed
buibex has joined #ruby
maxmanders has quit [Ping timeout: 245 seconds]
tabolario has joined #ruby
<IceDragon> angela: try "whereis ruby"
jibi has joined #ruby
jbpros has quit [Quit: jbpros]
<angela> shevy: yeah, I was instructed to download a 2.0 version and compile it
<shevy> who instructed you to do so?
<angela> but when I do ruby -v it's not the 2.0 version
zoee has quit [Quit: zoee]
<shevy> ok so you try to abandon the ubuntu way
buibex has quit [Remote host closed the connection]
<IceDragon> Life is so much easier on Arch >:..
jamesaanderson has joined #ruby
<shevy> why do they tell you to remove all but ruby 2.0 angela?
<shevy> I mean
<shevy> if they tell people to compile from source
<shevy> it is pointless to recommend a distribution
<shevy> "This installation guide was created for and tested on Debian/Ubuntu operating systems."
r0bglees0n has joined #ruby
AzizLight has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
kvirani has joined #ruby
tkuchiki has joined #ruby
maxmanders has joined #ruby
devoldmx has joined #ruby
<shevy> IceDragon hmm
<shevy> I wanted to install arch
Wildhoney has joined #ruby
turduks has quit []
<shevy> but I did not find a fat dvd so I picked slackware
<wuest> shevy - I assume that they make that note because they don't have guarantees re: lib dependancies on other distro/versions.
<IceDragon> ._. Arch fits on a cd
<IceDragon> actually it was smaller than the CD
<IceDragon> ;_;
<wuest> Yeah, arch is pretty minimalistic. <3 me some arch
<shevy> wuest yeah makes sense, I just wonder what is the minimum ruby version that would work with gitlabhq, 1.8.x probably no longer but perhaps 1.9.x
v0n has joined #ruby
<wuest> Almost everything 2.0.0 will work 1.9.x, yeah.
<shevy> I am stuck on 1.9.x right now for a while until I can abandon my old yaml file format
<IceDragon> almost.
<wuest> The one big syntactic break that comes to mind (named arguments), no one uses.
<wuest> The regexp engine is also incompatible between the two, but 2.x regexps will work on 1.9.x
<wuest> Only problem I found was 2.x doesn't support hex code ranges (if someone knows better, please educate me!)
fgo has quit [Remote host closed the connection]
endash has joined #ruby
<shevy> hmm
<shevy> for text files, are there alternatives to yaml files?
<shevy> 98% of my yaml files use only key: value entries (one per line), but they are in ISO encoding, not UTF and psych rejects them
<wuest> You could be all "enterprise-y" and use xml? ;)
<wuest> Can you just re-encode them on the fly?
<wuest> Not optimal, given
buibex has joined #ruby
<shevy> I abandoned XML some years ago, it's too verbose, yaml is much better
<IceDragon> json ?
* IceDragon hides
<wuest> No argument here.
<wuest> (Though I admit to being that ONE person who actually rather likes xslt...)
<shevy> wuest hmm I tried that but somehow when I tried the resulting files did not work or had some error, I think I used... yconv or something ... let me try to remember
MrThePlague has joined #ruby
ferr has joined #ruby
chase-work has joined #ruby
<shevy> oh sorry
<shevy> a moment, I can tell you soon what command I tried
wolcanus has joined #ruby
<shevy> iconv -f iso-8859-1 -t utf-8 foobar.yml > new_foobar.yml
gildo has quit [Ping timeout: 264 seconds]
staafl has joined #ruby
joast has joined #ruby
<wuest> shevy: RUBY_VERSION ?
jefflyne has joined #ruby
Zolo has quit [Remote host closed the connection]
<wuest> If 1.9(.2, I think?) or higher, try using String#encode! and then pass to the Yaml parser?
<wuest> If 1.8, stop that! ;)
<shevy> a moment
parzo has joined #ruby
<shevy> ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]
<shevy> I am just confused right now because I did not get any errors
<shevy> and when I tried this 2 months ago, the files that iconv created had some errors somewhere in the middle of a yaml file
akells has joined #ruby
<shevy> now I need to figure out why I dont have an error... :\
sambao21 has quit [Quit: Computer has gone to sleep.]
Matriks has joined #ruby
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
<MrZYX> you can't prove that you don't have an error, you can only prove that you have one. So don't worry, be happy :P
atyz has quit [Quit: Leaving...]
Matriks has quit [Remote host closed the connection]
ewnd9_ has quit [Ping timeout: 276 seconds]
<shevy> well one error less perhaps
buibex has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
<shevy> file programs_aliases.yml
<shevy> programs_aliases.yml: C++ source, ISO-8859 text
<MrZYX> lol
<shevy> file new_programs_aliases.yml
<shevy> new_programs_aliases.yml: C++ source, UTF-8 Unicode text
<shevy> hmm
philcrissman_ has joined #ruby
<MrZYX> file recognizes yaml as c++? :D
<shevy> hmmmm
angela has left #ruby [#ruby]
philcrissman_ has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> off-topic, anyone remembers how to use vim to tell me the encoding of a file?
jamesaanderson has joined #ruby
<shevy> my editor tells me both files are still ISO ...
<shevy> oh interesting
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Criztian has joined #ruby
<shevy> some of my yaml files are now displayed properly ... settings.yml: UTF-8 Unicode text
cody-- has joined #ruby
<shevy> without the "C++ source" part ...
vlad_starkov has joined #ruby
<shevy> well, I am going to do something else, but I guess there may be a possibility to switch to ruby 2.x eventually :P
Zolo has joined #ruby
eka has joined #ruby
mansi has joined #ruby
gildo has joined #ruby
sambao21 has joined #ruby
<Todd> set fileencodings ?
Banistergalaxy has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
endash has quit [Quit: endash]
jbomo has joined #ruby
mklappstuhl has joined #ruby
devoldmx3 has joined #ruby
nowthatsamatt has joined #ruby
tommyvyo has joined #ruby
seich- has quit [Ping timeout: 260 seconds]
baordog has joined #ruby
tvw has joined #ruby
gildo has quit [Ping timeout: 245 seconds]
devoldmx has quit [Ping timeout: 268 seconds]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
huevon has quit [Quit: WeeChat 0.4.1]
mmitchell has joined #ruby
aryaching has quit []
workmad3 has joined #ruby
Iszak has quit [Quit: Computer has gone to sleep.]
Iszak has joined #ruby
kpshek has joined #ruby
lukec has quit [Quit: lukec]
vlad_starkov has joined #ruby
krishnaveda has joined #ruby
tagrudev has quit [Remote host closed the connection]
noopq has quit [Ping timeout: 264 seconds]
dweeb has quit [Quit: Textual IRC Client: www.textualapp.com]
ArchBeOS has quit [Remote host closed the connection]
lyanchih has joined #ruby
rhys_ has joined #ruby
ArchBeOS has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
gildo has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
mrsolo has joined #ruby
Wildhoney has joined #ruby
realDAB has joined #ruby
blackmesa has joined #ruby
mary5030 has joined #ruby
jibi has quit [Quit: .]
brennanMKE has joined #ruby
Banistergalaxy has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Davey has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
AndChat| has joined #ruby
sevenseacat has quit [Ping timeout: 264 seconds]
Fuzai has quit [Read error: Connection reset by peer]
filipe has quit [Ping timeout: 264 seconds]
senayar_ has joined #ruby
endash has joined #ruby
fuzzy__ has quit [Remote host closed the connection]
AndChat- has joined #ruby
sayan has quit [Ping timeout: 268 seconds]
brennanMKE has quit [Ping timeout: 264 seconds]
kaspergr_ has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
Iszak has quit [Quit: Computer has gone to sleep.]
fuzzy has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
krishnaveda has quit [Quit: Page closed]
ixti has quit [Read error: Connection reset by peer]
AndChat| has quit [Ping timeout: 240 seconds]
ssvo has joined #ruby
Banistergalaxy has joined #ruby
helios_ra has joined #ruby
giarc has joined #ruby
senayar has quit [Ping timeout: 264 seconds]
apok has joined #ruby
<helios_ra> I want to use an attr_accessor in my initialize function is it possible ?
AndChat- has quit [Ping timeout: 240 seconds]
jerius_ has joined #ruby
mklappstuhl has joined #ruby
<MrZYX> sounds like you want to recreate Struct?
<helios_ra> MrZYX, to me ?
<MrZYX> yes
jerius has quit [Ping timeout: 246 seconds]
ssvo has quit [Ping timeout: 264 seconds]
telling has quit [Ping timeout: 245 seconds]
<helios_ra> actually I want to pass a block to an initialize function calling the block with instance_eval. It works if I use send :my_accessor=, "my value"
<helios_ra> but that is not so nice
GeissT has quit [Quit: MillBroChat AdIRC User]
ewnd9_ has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
Tricon has quit [Ping timeout: 260 seconds]
<MrZYX> so what are you creating there?
ffranz has joined #ruby
endash has quit [Quit: endash]
<MrZYX> config object?
ixti has joined #ruby
fuzzy_ has joined #ruby
biesiad has joined #ruby
<YaNakilon> poor people
filipe has joined #ruby
<YaNakilon> vim, iconv,...
<YaNakilon> use normal IDEs
graydot has quit [Quit: graydot]
<YaNakilon> open, change enc, save as
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fuzzy_ has quit [Client Quit]
<shevy> YaNakilon what about people who do not use UTF
<MrZYX> please not the editor discussion again m(
Fuzai has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
Fuzai has quit [Client Quit]
<YaNakilon> it is not editor discussion
Fuzai has joined #ruby
<YaNakilon> it is a discussion to use editor or not
<YaNakilon> either you do the job and optimize your timewasting, or you are unuseful
<filipe> I have a question about editors!
<filipe> or IDEs to be precise - what's everyone using?
<YaNakilon> ..DDDD
Fuzai has quit [Client Quit]
<eka> everybody is using Word!
<filipe> I'm using vim and st3 right now, haven't got my setup right with st3 yet
meekohi has joined #ruby
<filipe> wordart ruby
meekohi has left #ruby [#ruby]
<eka> but I'm using vim
BSaboia has quit [Ping timeout: 260 seconds]
Fuzai has joined #ruby
<filipe> now I want to make a github mod that makes the source code view look like a formatted word document, word-art and all
<shevy> filipe bluefish 1.0.7, possibly sublime one day
<eka> "use comic sans, you should."
<shevy> always mono spaced fonts
<YaNakilon> kindergarden channel
<MrZYX> helios_ra: I'd think about storing the opts hash or making an (Open)Struct from it, but anyway: most people use a configuration object in these cases, that is an object which only holds instance variables and has accessors for them. Then you'd yield that object to a config or whatever call and do something like "config do |c| c.foo = :bar end"
YaNakilon has quit [Quit: Íå ñòîèò ðàññêàçûâàòü âñåãî ñðàçó. Ïîòîìó ÷òî íåäîñêàçàííîñòü - îíà êàê...]
Kabaka has joined #ruby
interactionjaxsn has joined #ruby
apeiros has quit [Remote host closed the connection]
<helios_ra> MrZYX, got it
alekst has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Quit: This computer has gone to sleep]
<MrZYX> also proper variable names, you'll thank me if you look again at that in four months
<MrZYX> just going through the alphabet is insane
jpierre03 has joined #ruby
ArchBeOS is now known as LocutusOfBorg
Paprika_ has quit [Quit: Me'n vaig]
kpshek has quit []
solrize_ has joined #ruby
maxmanders has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby
lusory has quit [Quit: leaving]
persand has quit [Quit: persand]
interactionjaxsn has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Quit: Leaving.]
maz-dev has quit [Remote host closed the connection]
<helios_ra> MrZYX, oo thats are synonyms for that precise wrapper… Btw I can not understand why if I call a var="value" into initialize it doesn't work properly
maxmanders has joined #ruby
badabim has quit [Remote host closed the connection]
Tricon has joined #ruby
<helios_ra> MrZYX, I mean, var defined with :attr_accessor :var
badabim has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
<MrZYX> it's interpreted as a local, try self.var = 'val'
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solrize_ has quit [Ping timeout: 260 seconds]
aetaric has quit [Ping timeout: 240 seconds]
jprovazn has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
aetaric has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
LocutusOfBorg has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
aganov has quit [Remote host closed the connection]
<helios_ra> MrZYX, it works, but why? it is very ugly, at that point I can use the old style yield's way
badabim has quit [Ping timeout: 276 seconds]
<MrZYX> because it's interpreted as local variable
jamesaanderson has joined #ruby
<MrZYX> if you carefully look at other peoples DSL configure blocks, you'll notice that they leave the = off, for that reason
brennanMKE has joined #ruby
rippa has joined #ruby
philcrissman_ has joined #ruby
terrellt has joined #ruby
ewnd9_ has quit [Ping timeout: 276 seconds]
obs has quit [Quit: Konversation terminated!]
shunt has joined #ruby
<helios_ra> MrZYX, ouch !
obs has joined #ruby
filipe has quit [Ping timeout: 240 seconds]
apok has quit [Quit: apok]
bluenemo has quit [Remote host closed the connection]
ewnd9_ has joined #ruby
<MrZYX> look at "foo = nil; def foo=(v); @foo = v; end; foo = 'bar';" what would expect the value of foo and @foo be if ruby wouldn't always assume a local in an assignment without an explicit receiver?
<MrZYX> it's ambiguous
kaspergr_ has quit [Remote host closed the connection]
effbiai has quit [Ping timeout: 264 seconds]
<cout> mrzyx: so you walk the ast or iseq and turn all local assignments into method calls for that block :)
caju has quit [Read error: Connection reset by peer]
pygospa has quit [Disconnected by services]
nari has quit [Ping timeout: 245 seconds]
TheRealPygo has joined #ruby
<MrZYX> or you just use the yield style everybody is used to and be done with it ;)
<helios_ra> MrZYX, this would be more than welcome in ruby :) https://gist.github.com/helios/6342294#comment-894849
philcrissman_ has quit [Ping timeout: 240 seconds]
<cout> MrZYX: no that's too easy
caju has joined #ruby
mrsolo has joined #ruby
obs has quit [Quit: Konversation terminated!]
BizarreCake has joined #ruby
interactionjaxsn has joined #ruby
baroquebobcat has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
obs has joined #ruby
effbiai has joined #ruby
lyanchih has quit [Quit: lyanchih]
bricker has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
thebastl has joined #ruby
apok has joined #ruby
wolcanus has quit [Remote host closed the connection]
wolcanus has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
obs has quit [Remote host closed the connection]
cads has joined #ruby
swordsmanz has quit [Quit: ooh ponies kinkeyyy]
sambao21 has quit [Quit: Computer has gone to sleep.]
johnnyfuchs has joined #ruby
i_s has joined #ruby
seich- has joined #ruby
hasrb has joined #ruby
wolcanus has quit [Ping timeout: 264 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
kobain has joined #ruby
filipe has joined #ruby
AndChat| has joined #ruby
lucazi has quit [Remote host closed the connection]
helios_ra has quit [Quit: Leaving]
digital-ghost has joined #ruby
sambao21 has joined #ruby
baroquebobcat has joined #ruby
obs has joined #ruby
bondar has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
anonymuse has quit [Remote host closed the connection]
zathraz has quit [Read error: Connection reset by peer]
realDAB has quit [Quit: realDAB]
jefflyne has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
mikepack has joined #ruby
browndawg has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
zigomir has joined #ruby
anonymuse has joined #ruby
swordsmanz has joined #ruby
tk__ has quit [Quit: ばいばい]
r0bglees0n has quit [Ping timeout: 264 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
graydot has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
bricker has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
starship has joined #ruby
Targen has quit [Ping timeout: 264 seconds]
bondar has quit [Read error: Connection reset by peer]
bondar has joined #ruby
guiocavalcanti has joined #ruby
bondar has quit [Read error: Connection reset by peer]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
I-saac has joined #ruby
lkba has joined #ruby
poga has quit [Remote host closed the connection]
mary5030 has joined #ruby
devinus has joined #ruby
lyanchih has joined #ruby
dodosan has joined #ruby
ssvo has joined #ruby
BSaboia has joined #ruby
Eiam has joined #ruby
mary5030 has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
mary5030 has joined #ruby
ferr has quit [Ping timeout: 264 seconds]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Davey has quit [Quit: Computer has gone to sleep.]
hasrb has quit [Remote host closed the connection]
jpierre03 has left #ruby ["http://quassel-irc.org - Discuter simplement. Partout."]
swordsmanz has quit [Quit: swordsmanz]
jsatk has joined #ruby
lukec has joined #ruby
sambao21 has joined #ruby
swordsmanz has joined #ruby
mando has joined #ruby
srji has quit [Ping timeout: 240 seconds]
bricker has joined #ruby
realDAB has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
<kaldrenon> If I have an array of strings and I want to check whether any of its members are one thing or another, is there a less repetitive/more elegant way to check the possibilities than a form like this: https://gist.github.com/kaldrenon/6342923 ?
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<MrZYX> untested = l.last_claim_status = %w(paid claimed unclaimed).find {|status| statuses.include? status }
girija_ has quit [Ping timeout: 256 seconds]
kpshek has joined #ruby
r0bglees0n has joined #ruby
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
poga has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
<proxie> kaldrenon: you most likely want to wrap those "statuses" inside a class.
krishnaveda has joined #ruby
devoldmx has joined #ruby
<proxie> this follows the open/close principle. You don't want to have to come back and manage that if/else statement in the future when new statuses have to be added.
<kaldrenon> MrZYX: Will that kick out after the first one it finds?
realDAB has quit [Quit: realDAB]
<MrZYX> yes, that's the purpose of find
<Morrolan> find returns the first item where the block returns true. :)
Emmanuel_Chanel has joined #ruby
<kaldrenon> MrZYX: Excellent, that will do the trick
agjacome has quit [Read error: Operation timed out]
<kaldrenon> proxie: I'd like to wrap it in a class, I'll look at doing that. It may be tricky since these status are pulled from a JSON blob I get from a REST API, but a wrapper would not hurt if it's feasible.
adeponte has joined #ruby
shredding has quit [Quit: shredding]
shredding has joined #ruby
ferr has joined #ruby
anonymuse has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
Nogbit has quit [Ping timeout: 246 seconds]
anonymuse has joined #ruby
jnoob22 has quit [Ping timeout: 245 seconds]
endash has joined #ruby
ferr has quit [Ping timeout: 240 seconds]
VTLob has joined #ruby
tricon_ has joined #ruby
kaspergrubbe has joined #ruby
musl has joined #ruby
ewnd9_ has quit [Ping timeout: 240 seconds]
devoldmx has quit [Read error: Connection reset by peer]
Davey has joined #ruby
jds_ has joined #ruby
devoldmx has joined #ruby
noname001 has quit [Ping timeout: 245 seconds]
akells has quit [Read error: Connection reset by peer]
akells has joined #ruby
hiroyuki has joined #ruby
S0da has quit [Read error: Connection reset by peer]
tricon_ has quit [Client Quit]
hiroyuki has quit [Read error: Connection reset by peer]
Targen has joined #ruby
flak has joined #ruby
flak is now known as Guest42145
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
pranny has joined #ruby
pranny has quit [Client Quit]
apeiros has joined #ruby
Lewix has joined #ruby
filipe has quit [Read error: Connection reset by peer]
srji has joined #ruby
pothibo has joined #ruby
pothibo has quit [Client Quit]
devoldmx has quit [Read error: Connection reset by peer]
rafacv has joined #ruby
Anticom has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
brendan- has joined #ruby
hogeo has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
iamjarvo has quit [Ping timeout: 268 seconds]
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
timonv has quit [Remote host closed the connection]
Jake232 has joined #ruby
<brendan-> hi guys, im in the process of using fpm to package ruby 1.9.3-p327 as a debian package for Puppet deployment.. i came across an fpm script which builds dependencies for libssl0.9.8 and a few other items… libssl1.0.0 is available within ubuntu 12.04… is there a reason besides v1.0.0 not being available at the time for that dependency?
<brendan-> or is there a way to find out
matiasevqz has joined #ruby
argentum has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
jds_ has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
realDAB has joined #ruby
Emmanuel_Chanel has joined #ruby
greenysan has quit [Ping timeout: 268 seconds]
ananthakumaran has joined #ruby
Guest92436 is now known as nitrodex
pel_daniel has joined #ruby
crunch-choco has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
senayar_ has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 245 seconds]
caju has quit [Ping timeout: 240 seconds]
_veer has quit [Ping timeout: 240 seconds]
caju has joined #ruby
baroquebobcat has joined #ruby
lyanchih has quit [Quit: lyanchih]
camilasan has quit [Remote host closed the connection]
mary5030_ has joined #ruby
binaryplease has joined #ruby
Taranis has quit [Remote host closed the connection]
intuxicated has joined #ruby
mary5030 has quit [Ping timeout: 268 seconds]
ferr has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
realDAB has quit [Quit: realDAB]
<pontiki> anyone know anything about this: /Users/tamara/.gem/ruby/1.9.3/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault
<pontiki> ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.4.0]
brendan- has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
cody-- has joined #ruby
amacgregor has joined #ruby
I-saac has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
moted has quit [Quit: moted]
cody-- has quit [Client Quit]
blizzow has left #ruby [#ruby]
moted has joined #ruby
randomautomator has joined #ruby
intuxicated is now known as intuxicated_
blaxter has quit [Ping timeout: 276 seconds]
intuxicated_ is now known as intuxicated
mansi has quit [Read error: Connection reset by peer]
soulashell has joined #ruby
fyz1x has joined #ruby
jibi has joined #ruby
hogeo has quit [Remote host closed the connection]
mansi has joined #ruby
<sam113101> guys
blaxter has joined #ruby
<sam113101> I want to make http requests on a server, but I want to be behind a proxy, using ruby
devinus has quit [Quit: devintorr.es]
<sam113101> I wonder what kind of proxy I need, and how to do it
<pontiki> an http proxy
lukec has quit [Quit: lukec]
Spami has joined #ruby
<pontiki> why do you want to be behind a proxy?
dkamioka has joined #ruby
randomau_ has joined #ruby
workmad3 has joined #ruby
rbento has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apok has quit [Quit: apok]
<sam113101> any ruby module to ease that?
<pontiki> eh?
<sam113101> making http requests behind a proxy
Nogbit has joined #ruby
<pontiki> if you have an environment variable 'http_proxy' set to your proxy address, anything that uses Net::HTTP will go through that proxy
chrisja has joined #ruby
cody-- has joined #ruby
seich- has quit [Ping timeout: 260 seconds]
hasrb has joined #ruby
<sam113101> awesome
soulashell has quit [Remote host closed the connection]
randomautomator has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
wolcanus has joined #ruby
yacks has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 245 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
Wildhoney has quit [Quit: Wildhoney]
visof has quit [Ping timeout: 264 seconds]
johnnyfuchs has quit [Remote host closed the connection]
badabim has joined #ruby
shredding has quit [Quit: shredding]
shadoi has joined #ruby
stkowski has joined #ruby
awc737_ is now known as awc737
caju has quit [Remote host closed the connection]
shredding has joined #ruby
saarinen has joined #ruby
Monie has joined #ruby
emanu has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has joined #ruby
musl has quit [Quit: WeeChat 0.4.1]
vlad_starkov has quit [Remote host closed the connection]
w1zeman1p has joined #ruby
girija_ has joined #ruby
twoism has joined #ruby
lukec has joined #ruby
thebastl has quit [Remote host closed the connection]
cody-- has quit [Quit: Computer has gone to sleep.]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
ferr has quit [Ping timeout: 240 seconds]
obs has quit [Quit: Konversation terminated!]
cody-- has joined #ruby
orionstein is now known as orionstein_away
iliketur_ has joined #ruby
* lsmola is away: Away
buibex has joined #ruby
Lewix has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nogbit has quit [Quit: Leaving.]
Eiam has joined #ruby
Criztian has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Nogbit has joined #ruby
kaldrenon has quit [Remote host closed the connection]
kaldrenon has joined #ruby
twoism has quit [Remote host closed the connection]
musl has joined #ruby
emanu has quit [Quit: emanu]
twoism has joined #ruby
apok has joined #ruby
twoism has quit [Read error: Connection reset by peer]
DanKnox_away is now known as DanKnox
twoism has joined #ruby
jamesaanderson has joined #ruby
ebouchut has joined #ruby
brianpWins has joined #ruby
Astral_ has joined #ruby
kaldrenon has quit [Ping timeout: 256 seconds]
io_syl has joined #ruby
graydot has quit [Quit: graydot]
devoldmx3 has joined #ruby
spider-mario has joined #ruby
Woodsman has joined #ruby
_Bravado_ has joined #ruby
pitzips has joined #ruby
noopq has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
kaldrenon has joined #ruby
c0rn has joined #ruby
<Woodsman> if i wanted to grab some html, would i use open(), or is there some better function?
jarray52 has joined #ruby
<Morrolan> What'll you do with it? :)
gildo has quit [Ping timeout: 245 seconds]
devoldmx has quit [Ping timeout: 245 seconds]
<Woodsman> i actually figured it out - i was just making a beginner's mistake and it wasn't recognizing my URL
<Morrolan> Ah. :)
digital-ghost has quit [Remote host closed the connection]
maxmanders has quit [Ping timeout: 260 seconds]
digital-ghost has joined #ruby
sambao21 has joined #ruby
badabim_ has joined #ruby
jerius_ has quit [Quit: jerius_]
devoldmx has joined #ruby
iamjarvo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
badabim has quit [Read error: Operation timed out]
musl has quit [Quit: WeeChat 0.4.1]
devoldmx3 has quit [Ping timeout: 264 seconds]
roninn has quit [Ping timeout: 264 seconds]
dankest has joined #ruby
blaxter has quit [Ping timeout: 245 seconds]
Wildhoney has joined #ruby
blaxter has joined #ruby
tvw has quit []
maz-dev has joined #ruby
adeponte has quit [Remote host closed the connection]
carraroj has joined #ruby
gildo has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
biesiad has quit [Quit: biesiad]
Liquid-- has joined #ruby
devoldmx has joined #ruby
browndawg has left #ruby [#ruby]
marius has joined #ruby
vlad_starkov has joined #ruby
seich- has joined #ruby
tylersmith has joined #ruby
hanmac has joined #ruby
saarinen has quit [Quit: saarinen]
Davey has quit [Quit: Computer has gone to sleep.]
Matriks has joined #ruby
<hanmac> shevy: "Design Considerations for Faster-Than-Light (FTL) Communication" https://tools.ietf.org/html/rfc6921
cody-- has quit [Quit: Computer has gone to sleep.]
snath has quit [Ping timeout: 245 seconds]
roninn has joined #ruby
Zai00 has quit [Quit: Zai00]
mpereira has quit [Quit: leaving]
timkohrumel has joined #ruby
mpereira has joined #ruby
timkohrumel has left #ruby [#ruby]
timkohrumel has joined #ruby
* Morrolan checks date
<Morrolan> Nope, it's not the 1st of April
Zai00 has joined #ruby
mikegaz has joined #ruby
timonv has quit [Remote host closed the connection]
<Morrolan> Oh, it was *issued* on a first of April. *snrk*
johnnyfuchs has joined #ruby
<Morrolan> Or, well, released, or whatever's the appropriate word.
|Dave has joined #ruby
<hanmac> Morrolan: yeah, but maybe someday it would be real ;P
devinus has joined #ruby
<mikegaz> Does anyone know of a good source for ruby rpms for EL5? Or have any experience running rvm in production environments. Want to avoid compiling it each time and/or creating my own rpm
<Morrolan> I'm afraid we won't be there to see it, though. :(
Zai00 has quit [Read error: Operation timed out]
<mikegaz> I found one that has 1.8.7 patch 299 but that's too old. want newer patch and/or 1.9.x
carraroj has quit [Quit: Konversation terminated!]
<Morrolan> Out of curiosity, what's preventing you from compiling it?
<Morrolan> Takes about four minutes on a modern CPU.
<mikegaz> I don't want that to be a step in our automation. due to time and company defined best practices
<mikegaz> need ruby installed on many systems as part of automated build
ferr has joined #ruby
<mikegaz> surpised so hard to find rpms for recent (or really not-so-recent) versions of ruby for EL5
<mikegaz> was thinking maybe rvm but I've never used it in a production environment. but maybe that's the way to go
<Morrolan> RVM will still need to compile it, when there's no binaries available.
_Bravado_ has quit [Quit: _Bravado_]
<mikegaz> oh, right.
<hanmac> EL5? isnt that a bit old too?
<mikegaz> yep
_Bravado_ has joined #ruby
<mikegaz> el6 will be standard soon. have to still support el5 for a while though
arietis has joined #ruby
iPhoneMRZ has joined #ruby
cody-- has joined #ruby
thebastl has joined #ruby
iPhoneMRZ has quit [Client Quit]
<mikegaz> but even though old, it's deployed on probably millions of systems. I guess I'm just really surprised it's so hard to find packages.
zacts_ has joined #ruby
Vivekananda has joined #ruby
devinus has quit [Quit: devintorr.es]
kirun has joined #ruby
mansi has quit [Read error: Connection reset by peer]
jonahR has joined #ruby
mansi has joined #ruby
zacts_ has quit [Client Quit]
starship has quit [Ping timeout: 276 seconds]
sparq_ has joined #ruby
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
brettnem has joined #ruby
<brettnem> Hey all!
hogeo has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
<brettnem> Hey, I'm trying to read a gigantic gzipped file that has /r line terminators. Any advice? File is about 8G compressed
hamakn has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<_br_> brettnem: Whats the problem?
<brettnem> I can't figure out an elegant way to do this without reading the entire 8G file into memory and then reparsing it again
Davey has joined #ruby
<brettnem> because of the line terminator, File.open will treat it as an 8G file with one gigantic line
vlad_starkov has quit [Remote host closed the connection]
agjacome has joined #ruby
<_br_> ah I see
<mikegaz> looks like rbenv + ruby-build might be best option over rvm
<_br_> brettnem: You can't just do some simple pre-processing before using ruby on it?
hogeo has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
<brettnem> I've thought of that, but I have a dozen of these files to process every day and I'm looking to make an elegant solution. Would like to do it all in ruby if I can.
sambao21 has joined #ruby
<brettnem> I'm kinda new to ruby, so I just thought I might be missing something obvious. I saw that the each_line method I think you can specify a sep= param. But that won't work on gzipd files
Evixion` has joined #ruby
Evixion` has quit [Client Quit]
<_br_> brettnem: For data sanitization I'm wondering if it makes sense to do much in ruby. You might want to just create some drake tasks for that. http://blog.factual.com/introducing-drake-a-kind-of-make-for-data
biesiad has joined #ruby
<brettnem> ooh drake, what is this magic
hamakn has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<_br_> brettnem: Its kind of a "make" but data-orientated.
devinus has joined #ruby
<brettnem> very cool…. checking it out.. thanks!
<_br_> brettnem: Just use it to take all the formats and bring them to a "sane" state so that you can use ruby on it
<_br_> np
<brettnem> is it fast?
<brettnem> ugh, subjective, I know
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krishnaveda has quit [Quit: Page closed]
sambao21 has quit [Client Quit]
<_br_> Well its written in closure, so I think thats not something you need to worry about.
<_br_> For the maintanablity viewpoint we use this solution here internally
jamesaanderson has joined #ruby
michaeldeol has joined #ruby
<brettnem> wow, this look really cool
<_br_> yep. we deal with many types of input here on a regular basis so I know the trouble you are in. Making sanitization in ruby is just way to much foobar. Better keep a good abstract format and change the data to fit it. Obviously depends on your usecase though.
devoldmx has quit [Read error: Connection reset by peer]
Voodoofish430 has joined #ruby
horofox has joined #ruby
sambao21 has joined #ruby
FDj_ has joined #ruby
horofox has quit [Client Quit]
jprovazn has joined #ruby
rubyguy__ has joined #ruby
virt|a|work has joined #ruby
paul__k has joined #ruby
dankest has quit [Quit: Peace]
troessner has quit [Quit: Leaving]
devoldmx has joined #ruby
skinny_much_ has joined #ruby
pdtpatri1k has joined #ruby
__eka__ has joined #ruby
marr123 has joined #ruby
ffio has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
ericwood_ has joined #ruby
jds_ has joined #ruby
_axx_ has joined #ruby
c0rn has quit [Ping timeout: 264 seconds]
s0ber_ has joined #ruby
nhubbard_ has joined #ruby
xiphffff4 has joined #ruby
nhubbard_ has quit [Excess Flood]
SeySayux_ has joined #ruby
sam113101_ has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
nhubbard has quit [Ping timeout: 240 seconds]
paul_k has quit [Ping timeout: 240 seconds]
skinny_much has quit [Ping timeout: 240 seconds]
eka has quit [Ping timeout: 240 seconds]
FDj has quit [Read error: Connection reset by peer]
rubyguy has quit [Ping timeout: 240 seconds]
pdtpatrick has quit [Ping timeout: 240 seconds]
proxie has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
xiphffff3 has quit [Ping timeout: 240 seconds]
ericwood has quit [Ping timeout: 240 seconds]
sam113101 has quit [Ping timeout: 240 seconds]
SeySayux has quit [Ping timeout: 240 seconds]
Veejay has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Ping timeout: 240 seconds]
calmyournerves has quit [Ping timeout: 240 seconds]
_axx has quit [Ping timeout: 240 seconds]
s0ber has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 240 seconds]
psyprus has joined #ruby
nhubbard has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
cschneid_ is now known as cschneid
s_e has quit [Quit: ZNC - http://znc.sourceforge.net]
ebouchut has quit [Quit: This computer has gone to sleep]
s0ber_ is now known as s0ber
rubyguy__ is now known as rubyguy
Roa_ has quit [Quit: leaving]
calmyournerves has joined #ruby
Roa has joined #ruby
marr123 has quit [Client Quit]
Roa has quit [Changing host]
Roa has joined #ruby
Nogbit has quit [Quit: Leaving.]
Guest42145 has quit [Ping timeout: 248 seconds]
Roa is now known as Roa
awarner_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
s_e has joined #ruby
mansi has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
quazimodo has joined #ruby
tkuchiki has quit [Remote host closed the connection]
jds_ has quit [Ping timeout: 264 seconds]
Monie has joined #ruby
boshhead has joined #ruby
UForgotten has quit [Ping timeout: 240 seconds]
awarner has quit [Ping timeout: 240 seconds]
Tobarja has quit [Ping timeout: 240 seconds]
UForgotten has joined #ruby
Astral__ has joined #ruby
blaxter has quit [Ping timeout: 256 seconds]
Tobarja has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
blaxter has joined #ruby
BRMatt has quit [Read error: Operation timed out]
dankest has joined #ruby
Ripp__ has quit [Quit: Ripp__]
BSaboia has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
Astral_ has quit [Ping timeout: 245 seconds]
stkowski has quit [Quit: stkowski]
interactionjaxsn has joined #ruby
wrseward has quit [Ping timeout: 240 seconds]
Nogbit has joined #ruby
interactionjaxsn has quit [Read error: Connection reset by peer]
interact_ has joined #ruby
devinus has left #ruby ["devintorr.es"]
stkowski has joined #ruby
tommyvyo has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
motto has joined #ruby
ffio has joined #ruby
rbento has quit [Quit: ZZZzzz…]
tjbiddle has joined #ruby
huoxito has quit [Quit: Leaving]
adeponte has joined #ruby
rippa has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jds_ has joined #ruby
havenwood has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
crazed has joined #ruby
<Woodsman> i've got to deal with a URL with a " | " character in it. I've tried escaping it with " \| " and replacing it with the HTML code for the pipe character (" &#124" ), and neither of this removed the "bad URI" error i was getting. anyone else got other ideas?
Targen has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Quit: Leaving.]
badabim_ has quit [Remote host closed the connection]
badabim has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boshhead has left #ruby [#ruby]
Targen has joined #ruby
<wuest> Define "deal with"? Do you mean you need to emit one? If so, "%7C" is what you want. You might also want to look at the CGI library; the escape method in particular for this purpose.
Neomex has joined #ruby
<Woodsman> yeah, i need to generate one, sorry for the ambiguous terminology. i'll try what you've suggested, thanks
c0rn has joined #ruby
tommyvyo has joined #ruby
sparq_ has quit [Quit: Leaving]
rezzack has joined #ruby
futilegames has quit [Quit: futilegames]
senayar has quit [Remote host closed the connection]
Orxata_ has joined #ruby
jonahR has quit [Quit: jonahR]
<Orxata_> hiz
blackmesa has quit [Quit: WeeChat 0.4.1]
Ripp__ has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
Iszak has joined #ruby
realDAB has joined #ruby
timonv has joined #ruby
caju has joined #ruby
<apeiros> Woodsman: URI and HTML escapes differ
FDj_ is now known as FDj
timonv has quit [Remote host closed the connection]
alvaro_o has joined #ruby
senayar has joined #ruby
zoee has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
timonv has joined #ruby
suffix_ has joined #ruby
ebouchut has joined #ruby
<awpti> So, I have a list of items I want to join on "','" -- is there any method that will add quotes to the beginning and end, or do I just need to do "'" + var.join("','") + "'" ?
<suffix_> hey, is this a valid compound if statement? if node[:tds][:additional_drive_1] != nil && (node[:tds][:additional_drive_1] != "" || node[:tds][:additional_drive_1] != "unconfigured" || node[:tds][:additional_drive_1] != "none")
<_br_> suffix_: Nice rattlesnake. Totally un-maintainable.
danshultz has joined #ruby
pskosinski has joined #ruby
<suffix_> _br_ I like rattlesnakes
<suffix_> do you?
<_br_> nah, I normally slice them to make them more digestable
_veer has quit [Ping timeout: 240 seconds]
<hanmac> what about: [nil,"","unconfigured","none"].include?(node[:tds][:additional_drive_1])
<terrellt> That statement doesn't make sense anyways.
<terrellt> Your last piece will return true if additional_drive_1 is "unconfigured"
<cout> I would assign node[:tds][:additional_drive_1] to a local variable
<hanmac> terrellt: hm yeah but he could negate it
<terrellt> Hanmac: That'd work fine for yours, yes.
spider-mario has quit [Read error: Connection reset by peer]
<_br_> awpti: Not aware that there is a special method for that. I am using similar syntax as you propsed.
spider-mario has joined #ruby
<awpti> _br_, cool. I didn't expect there to be. Not a common case to run across :)
<terrellt> awpti: Just use proper string interpolation. =(
<awpti> terrellt, that just wooshed over my head. What do you mean?
<terrellt> awpti: "'#{var.join("','")}'"
<awpti> Ohhh.
<terrellt> Little prettier and best ruby practice.
<awpti> See, helps when you have smart people around.
<awpti> Thanks :)
zoee has quit [Ping timeout: 268 seconds]
Mon_Ouie has quit [Ping timeout: 268 seconds]
dkamioka has quit [Remote host closed the connection]
blaxter has quit [Ping timeout: 245 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisja has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
Megtastique has joined #ruby
mansi has quit [Remote host closed the connection]
chrisja has joined #ruby
buibex has quit [Remote host closed the connection]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
ebouchut has quit [Quit: This computer has gone to sleep]
iamjarvo has quit [Remote host closed the connection]
iamjarvo_ has quit [Read error: Connection reset by peer]
ebouchut has joined #ruby
Neomex has quit [Quit: Neomex]
iamjarvo has joined #ruby
breakingthings has quit [Quit: breakingthings]
dangerousdave has joined #ruby
buibex has joined #ruby
breakingthings has joined #ruby
r4nd0m1 has joined #ruby
decoponio has quit [Quit: Leaving...]
AzizLight has quit [Ping timeout: 277 seconds]
yacks has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
JDHankle has quit [Remote host closed the connection]
jenrzzz has joined #ruby
cody-- has joined #ruby
noopq has quit [Ping timeout: 268 seconds]
<suffix_> i like rattlesnakes
Liquid-- has quit [Quit: Computer has gone to sleep.]
failshell has quit [Ping timeout: 245 seconds]
mneorr_ has joined #ruby
pweems has joined #ruby
<_br_> they'll bite later when you don't suspect it
brunoro has joined #ruby
dmyers_ has joined #ruby
pentameter has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
fyz1x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Remote host closed the connection]
fyz1x has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
bluOxigen has joined #ruby
man40khi_ has quit [Read error: No route to host]
_veer has joined #ruby
_veer has joined #ruby
devoldmx3 has joined #ruby
man40khi_ has joined #ruby
starship has joined #ruby
starship has joined #ruby
starship has quit [Changing host]
_veer has quit [Max SendQ exceeded]
timonv has quit [Remote host closed the connection]
_veer has joined #ruby
mansi has joined #ruby
Megtastique has quit [Ping timeout: 245 seconds]
devoldmx has quit [Ping timeout: 268 seconds]
spider-mario has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
timonv has joined #ruby
BizarreCake has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
axl_ has joined #ruby
w1zeman1p has quit [Remote host closed the connection]
marcgg has quit [Read error: No route to host]
Monie has joined #ruby
marcgg has joined #ruby
man40khi_ has quit []
hasrb has quit [Remote host closed the connection]
Wildhoney has quit [Quit: Wildhoney]
guiocavalcanti has joined #ruby
jamesaanderson has joined #ruby
bluOxigen has joined #ruby
senayar has quit [Remote host closed the connection]
Monie has quit [Ping timeout: 256 seconds]
Hobogrammer has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
polysics has quit [Quit: Leaving.]
binaryplease has quit [Ping timeout: 250 seconds]
Jake232 has joined #ruby
mklappstuhl has joined #ruby
nanoxd has joined #ruby
Monie has joined #ruby
hasrb has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
hasrb has quit [Remote host closed the connection]
peregrine81 has joined #ruby
jbpros has joined #ruby
altamic has joined #ruby
altamic has left #ruby [#ruby]
buibex has quit [Remote host closed the connection]
girija_ has quit [Ping timeout: 245 seconds]
buibex has joined #ruby
jleishman has quit [Remote host closed the connection]
Monie has quit [Ping timeout: 256 seconds]
jefflyne has joined #ruby
vlad_starkov has joined #ruby
vlad_sta_ has joined #ruby
jlast has quit [Read error: Operation timed out]
sambao21 has quit [Quit: Computer has gone to sleep.]
mando has quit [Remote host closed the connection]
caju has quit [Remote host closed the connection]
Liquid-- has joined #ruby
jlast has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
buibex has quit [Ping timeout: 268 seconds]
jbpros has quit [Quit: jbpros]
Monie has joined #ruby
_Bravado_ has quit [Quit: _Bravado_]
realDAB has quit [Quit: realDAB]
starfox21_ has joined #ruby
buibex has joined #ruby
snath has joined #ruby
vlad_starkov has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
starfox21 has quit [Read error: Connection reset by peer]
starfox21_ is now known as starfox21
aces1up has joined #ruby
Rym has joined #ruby
<aces1up> how would i construct a regex to use with gsub to remove everything but integers from a string... ex "editor_loadPage(\"1770248\");"
<aces1up> remove everything but the integers in that line.
johnnyfuchs has quit [Remote host closed the connection]
<aces1up> thought some sort of inverse operation would be good.
<aces1up> !\d+
ebouchut has quit [Quit: This computer has gone to sleep]
thebastl has quit [Remote host closed the connection]
<ayonix> >> "editor_loadPage(\"1770248\");".gsub(/[^\d]/,"")
<eval-in> ayonix => "1770248" (https://eval.in/45119)
cmarques has joined #ruby
mostlybadfly has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aces1up> cool thanks man.
ykk` has quit [Quit: ykk`]
<aces1up> any reason why mine wasn't working and i needed the [] ?
<ayonix> i think if not within square brackets ^ is the beginning of the line or something
robustus has joined #ruby
<aces1up> ayonix cool thanks.
sambao21 has joined #ruby
S0da has joined #ruby
<ayonix> according to http://www.ruby-doc.org/core-2.0/Regexp.html you could have also used \D for non-digit characters
kpshek has quit []
jamesaanderson has joined #ruby
sambao21 has quit [Client Quit]
iamjarvo_ has joined #ruby
Es0teric has joined #ruby
TheRealPygo is now known as pygospa
mklappstuhl has quit [Remote host closed the connection]
saarinen has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
allsystemsarego has quit [Quit: Leaving]
sambao21 has joined #ruby
visof has joined #ruby
visof has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
iamjarvo_ has quit [Ping timeout: 260 seconds]
saarinen has quit [Client Quit]
Neener54 has joined #ruby
iamjarvo has joined #ruby
Liquid-- has quit [Ping timeout: 245 seconds]
Rym has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
Quashie has joined #ruby
motto has quit [Ping timeout: 268 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mando has joined #ruby
Veejay has joined #ruby
pskosinski has joined #ruby
pweems has quit [Ping timeout: 240 seconds]
kpshek has joined #ruby
pweems has joined #ruby
DrCode has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
twoism has quit [Read error: Connection reset by peer]
end_guy has joined #ruby
twoism has joined #ruby
DanKnox is now known as DanKnox_away
DrCode has joined #ruby
futilegames has joined #ruby
rupee has joined #ruby
ryannielson has quit [Quit: ryannielson]
AzizLight has joined #ruby
mikecmpbll has joined #ruby
suffix_ is now known as HAPPYFUNBALL
Zai00 has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
BrianJ has joined #ruby
HAPPYFUNBALL has left #ruby [#ruby]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
Dave is now known as Guest4851
Stelian1 has quit [Ping timeout: 245 seconds]
txdv has joined #ruby
lkba has quit [Read error: Connection reset by peer]
AndChat- has joined #ruby
Guest4851 has quit [Client Quit]
JDHankle has joined #ruby
popl has joined #ruby
nicerice has joined #ruby
AzizLight has quit [Ping timeout: 245 seconds]
<nicerice> hi
Jake232 has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoxd has joined #ruby
jamesaanderson has joined #ruby
jjbohn has joined #ruby
michaeldeol has quit [Remote host closed the connection]
marr has joined #ruby
thebastl has joined #ruby
starfox21 has quit [Quit: starfox21]
parzo has quit [Write error: Broken pipe]
lessless has quit [Read error: Connection reset by peer]
<nicerice> does redcar support all textmate snippets?
iamjarvo has quit [Remote host closed the connection]
JDHankle has quit [Ping timeout: 264 seconds]
realDAB has joined #ruby
iamjarvo has joined #ruby
geekbri has quit [Remote host closed the connection]
nicerice has quit [Quit: Page closed]
devoldmx has joined #ruby
MrZYX is now known as MrZYX|off
razi has quit [Ping timeout: 240 seconds]
buibex has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
iamjarvo has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Client Quit]
<pontiki> probably not
iamjarvo has joined #ruby
biesiad has quit [Quit: biesiad]
<pontiki> but that's just a guess because other editors don't support all textmate snippets
jprovazn has quit [Quit: Odcházím]
dash_ has quit [Quit: dash_]
c0rn has joined #ruby
sam113101_ is now known as sam113101
MasterAsia has joined #ruby
<MasterAsia> How can I traverse a directory recursively?
<MasterAsia> I want to find a substring in a directory(can be file or folder) and rename them
<MasterAsia> gsub it with a space
<_br_> Anyone here familiar with SLIM templates? Trying to get a selected=true or selected=false without the quotes. Don't get far though, because variations of this just throw errors. Ideas? This gives me an error: option selected=#{ (personal_details.title == :mr ) ? ( true ) : ( false ) } value="Mr." This not, but is invalid due to the quotes around true/false. option selected="#{ (personal_details.title == :mr ) ? ( true ) : ( false ) }"
jamesaanderson has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<_br_> MasterAsia: Probably you want Dir.glob
<MasterAsia> _br_: that gives back an array of strings, I want to keep traversing
iamjarvo has joined #ruby
brbcoding has quit []
<_br_> Hm, you want a recursive function then.
saarinen has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerius has joined #ruby
realDAB has quit [Quit: realDAB]
polysics1 has joined #ruby
jamesaanderson has quit [Client Quit]
pr0ggie has quit [Read error: Connection reset by peer]
wrseward has joined #ruby
__eka__ is now known as eka
clov3r has joined #ruby
danshultz has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<MasterAsia> _br_: how can I recurse on the file if it only returns a string?
<_br_> MasterAsia: Well there would be a if for that in your function. Just wondering what the benefit is of solving that a recursive and not iterative solution.
<_br_> Its so deeply nested?
saarinen has quit [Quit: saarinen]
RichardBaker has joined #ruby
Lewix has quit [Remote host closed the connection]
sarkis has joined #ruby
<MasterAsia> i hardly know the diff between recursive and iterative
<MasterAsia> i'm just trying to solve it
<MasterAsia> but thanks
<MasterAsia> it can be quite deeply nested
<MasterAsia> I don't know how deep it goes
MrZYX|off is now known as MrZYX
jonahR has joined #ruby
saarinen has joined #ruby
advorak has joined #ruby
johnnyfuchs has joined #ruby
<advorak> I am playing with rubyinstaller on windows .... it doesn't like backspace, nor arrow keys for navigating in irb (presumably a readline issue?) ... What suggestions are there for resolving this?
realDAB has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Matriks has quit [Remote host closed the connection]
<shevy> advorak hmmm
<shevy> perhaps try Readline-5.0.1.exe
<advorak> I thought it was working a while back, but stopped working recently :-)
mark_locklear has quit [Ping timeout: 264 seconds]
<advorak> (googling)
RichardBaker has quit [Quit: RichardBaker]
c0rn has quit [Quit: Computer has gone to sleep.]
bluOxigen has quit [Ping timeout: 245 seconds]
<advorak> shevy, THANKS! :-)
<bricker> I'm trying to "rvm install ruby-1.9.3-p448" but it's telling me there is no checksum for that file - why is that?
<shevy> there may be another way too advorak ... rlwrap or something is the name...
<advorak> It worked.
<shevy> cool
<shevy> it's been years since I last were on windows
gioele has joined #ruby
<gioele> hello
<shevy> are you on win xp? :-D
<shevy> bricker, dunno but there is a #rvm channel I think
AzizLight has joined #ruby
Heero has quit [Ping timeout: 245 seconds]
<bricker> It's downloading from ftp.ruby-lang.org though
aces1up has quit []
<shevy> well
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2
tommyvyo has joined #ruby
<advorak> shevy, windows 8.1
hasrb has joined #ruby
<bricker> hm
advorak has quit [Quit: Leaving]
michaeldeol has joined #ruby
s0ny123 has joined #ruby
<gioele> what is the proper way to make module methods available in classes that include the module? In http://pastie.org/8272070 I would like `C.aaa` to be callable, now it raises "undefined method `aaa' for C:Class (NoMethodError)"
jokke has quit [Quit: WeeChat 0.4.1]
realDAB has quit [Quit: realDAB]
jonkri has quit [Quit: jonkri]
advorak has joined #ruby
jokke has joined #ruby
krawchyk has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
<shevy> no
iamjarvo has joined #ruby
<shevy> you could include it if you used "def aaa" in module M
<shevy> but you made it a module method so it resides within the M namespace
ehaliewicz has joined #ruby
yfeldblum has quit [Quit: Leaving]
nemesit|znc has quit [Read error: Operation timed out]
<shevy> hmm
<shevy> though there must indeed be a way ...
jokke has quit [Client Quit]
DanKnox_away is now known as DanKnox
vlad_starkov has quit [Remote host closed the connection]
jokke has joined #ruby
devoldmx has joined #ruby
jokke has quit [Client Quit]
<advorak> shevy, oops, I think I lied ... I am not sure that worked .. I inadvertently ran ironruby, which worked well ... but not the rubyinstaller installation :-P
Mattias has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
<advorak> I guess irb --noreadline will do .. :-)
Mattias has joined #ruby
jefflyne has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
realDAB has joined #ruby
jokke has joined #ruby
jlast has quit [Remote host closed the connection]
Companion is now known as companion
brianpWins has quit [Quit: brianpWins]
michalkozminski has quit [Ping timeout: 245 seconds]
michalkozminski has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<gioele> shevy: I should have used extends also http://stackoverflow.com/q/10039039/449288
<gioele> s/extends/include/
s0ny123 has quit [Quit: Lost terminal]
<bricker> Has anybody come across this error? "JSON::GeneratorError only generation of JSON objects or arrays allowed" It only seems to happen in 1.9.3 https://travis-ci.org/SCPR/outpost/jobs/10638893
c0rn has joined #ruby
baordog has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
v0n has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
srji has quit [Quit: leaving]
jokke has quit [Quit: WeeChat 0.4.1]
kaldrenon has quit [Remote host closed the connection]
jokke has joined #ruby
jokke has quit [Client Quit]
jokke has joined #ruby
Mattias has quit [Remote host closed the connection]
Mattias has joined #ruby
realDAB has quit [Quit: realDAB]
workmad3 has joined #ruby
amacgregor has joined #ruby
biesiad has joined #ruby
radic__ is now known as radic
cody-- has quit [Quit: Computer has gone to sleep.]
biesiad has quit [Client Quit]
kirun has quit [Quit: Client exiting]
biesiad has joined #ruby
zigomir has quit [Ping timeout: 245 seconds]
seich- has quit [Ping timeout: 245 seconds]
musl has joined #ruby
ldnunes has quit [Quit: Leaving]
interact_ has quit []
atyz has quit [Quit: Leaving...]
Astral_ has joined #ruby
aaronmcadam has joined #ruby
thebastl has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Patchou has joined #ruby
weems2 has joined #ruby
aaronmcadam has quit [Client Quit]
Nisstyre has joined #ruby
caju has joined #ruby
vlad_starkov has joined #ruby
Astral__ has quit [Ping timeout: 240 seconds]
JDHankle has joined #ruby
akells has quit [Remote host closed the connection]
Tamae has quit [Ping timeout: 264 seconds]
caju has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
atyz has joined #ruby
atyz has quit [Remote host closed the connection]
pweems has quit [Ping timeout: 264 seconds]
julian-delphiki has quit [Ping timeout: 264 seconds]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
julian-delphiki has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
Jalada has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
Jalada has left #ruby [#ruby]
jlast has joined #ruby
<pontiki> bricker, don't have answer for the JSON error; did you get the rvm install to work?
aaronmcadam has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
seich- has joined #ruby
it_tard is now known as nfk
Lewix has joined #ruby
vlad_starkov has joined #ruby
rafacv has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
Mattias has quit [Quit: かがんで廻ってひねってclap!]
maz-dev has quit [Remote host closed the connection]
Myk267 has joined #ruby
brettnem has quit [Quit: brettnem]
Monie has joined #ruby
Mattias has joined #ruby
nakp has joined #ruby
polysics1 has quit [Quit: Leaving.]
nakp has left #ruby ["Saliendo"]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crunch-choco has quit [Quit: leaving]
starship has quit [Ping timeout: 245 seconds]
dankest has quit [Quit: dankest]
saarinen has quit [Quit: saarinen]
elux has quit [Quit: Leaving...]
swordsmanz is now known as little
little is now known as swordsmanz
tomstuder has joined #ruby
saarinen has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
caju has joined #ruby
Mattias has quit [Remote host closed the connection]
Mattias has joined #ruby
maxmanders has joined #ruby
interactionjaxsn has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
swordsmanz is now known as wetpussy
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
wetpussy is now known as swordsmanz
jerius has quit [Quit: jerius]
brennanM_ has joined #ruby
osvico has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
wolcanus has quit [Remote host closed the connection]
slyv has joined #ruby
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
jdenen has quit [Quit: Leaving.]
axeman- has quit [Remote host closed the connection]
s0ber has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 245 seconds]
_veer has quit [Ping timeout: 264 seconds]
s0ber has joined #ruby
asobrasil has left #ruby [#ruby]
kvirani has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 268 seconds]
kvirani has joined #ruby
ffranz has quit [Quit: Leaving]
kvirani has quit [Ping timeout: 276 seconds]
spider-mario has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
peregrine81 has quit [Quit: peregrine81]
casheew_ has quit [Read error: Connection reset by peer]
ZephiroMX has joined #ruby
<ZephiroMX> hola a todos.
bricker has quit [Read error: Operation timed out]
<ZephiroMX> alguien me podria ayudar en un tema sobre Hash?
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
mneorr_ has quit [Ping timeout: 264 seconds]
frozenfoxx has joined #ruby
<frozenfoxx> Super quick Ruby question
<popl> ZephiroMX: Tenemos sobre todo hablamos Inglés aquí. Tal vez usted puede probar # ruby-es.
<popl> #ruby-es
<frozenfoxx> I have an array of possible directories and I would like to set a variable to whichever directory exists.
<frozenfoxx> Can I do something like "somevariable = Dir['/path/to/first','/path/to/second'].exists? or something along those lines?
starfox21 has joined #ruby
<ZephiroMX> Hello
<workmad3> frozenfoxx: first_existing_dir = ['first/dir', 'second/dir'].find{|d| File.exists?(d)}
<ZephiroMX> I need convert Hash in Object, is posible?
rhys_ has quit [Quit: Leaving]
<frozenfoxx> workmad3: Hmm, awesome. Thanks very much, I think I understand how that's working.
casheew has joined #ruby
<ZephiroMX> ex. hash = [:url => "http://google.com", :text => 'hello']
saarinen has quit [Quit: saarinen]
<ZephiroMX> how to hash.url => 'http://google.com' ?
<workmad3> ZephiroMX: sounds like you want an OpenStruct
<ZephiroMX> yeah, but OpenStruct.new(hash).each {|s| puts s.url} eror
agjacome has quit [Quit: leaving]
jds_ has quit [Remote host closed the connection]
<popl> So what's your real question?
dankest has joined #ruby
jds_ has joined #ruby
<workmad3> ZephiroMX: why are you calling .each on your openstruct?
<workmad3> ZephiroMX: o = OpenStruct.new(hash); o.url
<ZephiroMX> ok
<ZephiroMX> but in each how to?
<popl> what?
<workmad3> ZephiroMX: you don't
<ZephiroMX> my hash is multiple
<workmad3> ZephiroMX: if you treat it as enumerable, you get k-v pairs
<popl> there is no collection of things to call each on ZephiroMX
<workmad3> ZephiroMX: so you get [:url, "foo"]
<workmad3> ZephiroMX: and then ["text", "bar"]
catphish has joined #ruby
<ZephiroMX> [[:url =>'text', :text => 'data'],[:url="url2", :text => 'data2']]
<ZephiroMX> in hash how to? sorry my english
jlast has quit [Remote host closed the connection]
<popl> ZephiroMX: Did you try asking in #ruby-es?
<pontiki> make it a class
jjbohn is now known as jjbohn|afk
<workmad3> ZephiroMX: well, first you have a syntax error there
<workmad3> ZephiroMX: and second, what you have is an array of hashes... so what you probably want to do is create an array of openstructs
<workmad3> ZephiroMX: and then you'll iterate over the array, not over the openstruct
<ZephiroMX> popl in #ruby-es no one answers
jds_ has quit [Ping timeout: 256 seconds]
<popl> ah
dankest has quit [Quit: Peace]
<ZephiroMX> workmad3 thanks, how to convert array to obj in ruby?
endash has quit [Quit: endash]
devoldmx3 has joined #ruby
kpshek has quit []
<Nilium> Convert an array to an object? It's already an object.
<popl> ZephiroMX: what do you mean?
gioele has quit [Quit: r]
txdv has quit [Ping timeout: 264 seconds]
<popl> ZephiroMX: Why don't you just start with the datatype that you want?
obs has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<ZephiroMX> if array use each, ex array.each {|c| c.url} undefined method `id'
<pontiki> is this in rails?
jjbohn|afk is now known as jjbohn
bricker has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
fuzzy has quit [Remote host closed the connection]
Fuzai has quit [Read error: Connection reset by peer]
<ZephiroMX> yeah in rails
<popl> ZephiroMX: go ask in #rubyonrails
<pontiki> you may have neither an array nor a hash
<pontiki> depending
<popl> what would he have?
<pontiki> a relationship
<popl> ok
<workmad3> or a query
<popl> oh really? that's interesting sugar
txdv has joined #ruby
postmodern has joined #ruby
mikegaz has quit [Remote host closed the connection]
<workmad3> queries (which are backed by ActiveRecord::Relation) are enumerable, which executes the query
<workmad3> so it kinda makes sense as sugar :)
_veer has joined #ruby
<popl> I didn't imply it did not make sense.
<popl> I suppose you didn't imply that I did, though.
<popl> It's very abstract. That's neat.
<workmad3> yeah, there are some nice things in rails ;)
frozenfoxx has left #ruby [#ruby]
<workmad3> (again, not implying that you're one of the auto-rails-bashing crowd ;) )
Zai00 has quit [Quit: Zai00]
akells has joined #ruby
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby
_veer has quit [Ping timeout: 260 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
endash has joined #ruby
vlad_starkov has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
akells has quit [Ping timeout: 245 seconds]
sparq_ has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
AndChat- has quit [Quit: Bye]
lkba has joined #ruby
rcosta has joined #ruby
devoldmx3 has quit [Ping timeout: 264 seconds]
anonymuse has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
rcosta_ has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
drPoggs has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby
forced_request has joined #ruby
bronson_ has quit [Quit: bronson_]
|PiP| has joined #ruby
rcosta has quit [Ping timeout: 264 seconds]
m8 has quit [Quit: Sto andando via]
Fuzai has joined #ruby
Fuzai_ has joined #ruby
|PiP| has left #ruby [#ruby]
cs02rm0 has quit [Read error: Operation timed out]
snovak has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
c0rn has quit [Quit: Computer has gone to sleep.]
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
mlpinit has quit [Remote host closed the connection]
cs02rm0 has joined #ruby
n_blownapart has joined #ruby
nfk has quit [Quit: yawn]
havenwood has quit [Remote host closed the connection]
drPoggs has joined #ruby
jjbohn is now known as jjbohn|afk
n_blownapart is now known as crucify_me
saarinen has quit [Quit: saarinen]
BRMatt has joined #ruby
shunt has quit [Read error: Operation timed out]
gstamp has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
c0rn has joined #ruby
dodosan has quit [Remote host closed the connection]
jaynewstrom has quit [Read error: Connection reset by peer]
Spami has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrThePlague has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
johnnyfuchs has joined #ruby
crucify_me has quit [Remote host closed the connection]
huoxito has joined #ruby
catphish has quit [Quit: Leaving]
Wildhoney has joined #ruby
reactormonk_ has joined #ruby
<xybre> Did you just call workmad3.. "sugar"?
nari has joined #ruby
jaynewstrom has joined #ruby
reactormonk has quit [Ping timeout: 245 seconds]
starfox21 has quit [Quit: starfox21]
_md has quit [Quit: Leaving...]
mneorr has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
<pontiki> no, sweetie
<xybre> Thanks dear.
wmoxam has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
advorak has quit [Quit: Leaving]
jjbohn|afk is now known as jjbohn
ndrei has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
iliketur_ has joined #ruby
mansi has quit [Remote host closed the connection]
<mostlybadfly> hi all
mansi has joined #ruby
<mostlybadfly> is there a way to limit a variable to 1 character?
weems2 is now known as weems
weems has quit [Changing host]
weems has joined #ruby
<banisterfiend> mostlybadfly huh?
<mostlybadfly> for example if i want a simple "y" or "n"
<mostlybadfly> i mean what is assigned to it i guess
snovak has joined #ruby
jjbohn has quit [Quit: Leaving...]
visof has quit [Remote host closed the connection]
<banisterfiend> mostlybadfly nah, ruby is not statically typed
<banisterfiend> any variable can hold any type of object at any time
pentameter has quit [Remote host closed the connection]
<mostlybadfly> i see
r4nd0m1 has quit [Ping timeout: 264 seconds]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maxmanders has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 256 seconds]
ndrei has joined #ruby
cads has quit [Ping timeout: 260 seconds]
snath has quit [Ping timeout: 245 seconds]
jibi has quit [Quit: .]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<xybre> mostlybadfly: Create an object with a setter-like method, when the method is run have it do a length check and then raise if it is not equal to 1.
danshultz has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
snovak has quit [Ping timeout: 264 seconds]
<xybre> mostlybadfly: Something like https://gist.github.com/acook/6347927
jds_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<mostlybadfly> ah i see thanks!
fourq_ has joined #ruby
pel_daniel has left #ruby [#ruby]
<pontiki> mostlybadfly: what do you want to be able to do with that "y" or "n"?
jds_ has quit [Read error: Operation timed out]
seich- has joined #ruby
<pontiki> and where does the information come from?
bklane has joined #ruby
twoism has quit [Remote host closed the connection]
<pontiki> chances are, there's a way to get you what you need, but a single-character string might not be it
baroquebobcat has joined #ruby
twoism has joined #ruby
saarinen has joined #ruby
AlHafoudh has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
wmoxam has quit [Ping timeout: 245 seconds]
advorak has joined #ruby
brennanM_ has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
staafl has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mando has quit [Remote host closed the connection]
Yarou has joined #ruby
Yarou has joined #ruby
twoism has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Ping timeout: 264 seconds]
MrZYX is now known as MrZYX|off
twoism has joined #ruby
blandflakes has quit [Quit: Page closed]
vlad_starkov has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 268 seconds]
twoism_ has joined #ruby
twoism has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
mikepack has quit [Remote host closed the connection]
fbernier has joined #ruby
brettnem has joined #ruby
timkohrumel has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
dmerrick has joined #ruby
dmerrick has quit [Remote host closed the connection]
predator117 has joined #ruby
argentum has quit [Quit: argentum]
realDAB has joined #ruby
ferr has joined #ruby
predator217 has quit [Ping timeout: 256 seconds]
Aloysius1 has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
Sammael has quit [Ping timeout: 246 seconds]
andbutsothen has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
DrCode has joined #ruby
saarinen has quit [Quit: saarinen]
Es0teric has joined #ruby
Astral_ has quit [Ping timeout: 240 seconds]
Woodsman has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it]
rupee has quit [Quit: Leaving]
<shevy> mostlybadfly work with a method and control the assignment to the variable through the method
jamesaanderson has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
<shevy> def set_user_input(i = gets.chomp)
<shevy> i = i[0,1] if i.size > 1
<shevy> @user_input = i
<shevy> end
snovak has joined #ruby
fourq_ has quit [Quit: Lost terminal]
jsatk has quit [Remote host closed the connection]
jsatk has joined #ruby
rdxc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
AzizLight has quit [Ping timeout: 245 seconds]
guiocavalcanti has joined #ruby
MrZYX|off is now known as MrZYX
johnnyfuchs has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
AzizLight has joined #ruby
sergicles has quit [Quit: sergicles]
tylersmith has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jsatk has quit [Ping timeout: 264 seconds]
sergicles has joined #ruby
tomzx_mac has quit [Read error: Connection reset by peer]
tomzx_mac has joined #ruby