havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
<Radar> hiSPanIC: hi
marr has quit [Ping timeout: 250 seconds]
hiSPanIC has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ryan_notabot has quit [Ping timeout: 250 seconds]
n008f4g_ has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Regulati_ has quit [Ping timeout: 276 seconds]
ryan_notabot has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
n008f4g_ has joined #ruby
stardiviner has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
tjbiddle has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
tvw has quit [Ping timeout: 246 seconds]
idefine has joined #ruby
ryanneufeld has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
duncannz has joined #ruby
chipotle has joined #ruby
sid_fules has quit [Ping timeout: 250 seconds]
idefine has quit [Ping timeout: 260 seconds]
ryan_notabot has quit [Ping timeout: 268 seconds]
ryan_notabot has joined #ruby
baweaver has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
yude has quit [Read error: Connection timed out]
blaxter has quit [Read error: Connection reset by peer]
yude has joined #ruby
ryan_notabot has quit [Ping timeout: 268 seconds]
ryan_notabot has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
elifoster has joined #ruby
ta_ has joined #ruby
zacstewart has joined #ruby
ur5us has joined #ruby
william3 has joined #ruby
jaguarmagenta has joined #ruby
Mia has quit [Read error: Connection reset by peer]
bronson has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
ropeney has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
jaguarmagenta has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 268 seconds]
blackmesa has quit [Quit: WeeChat 1.4]
flashpoint9 has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
flashpoint9 has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
flashpoint9 has joined #ruby
stardiviner has quit [Ping timeout: 240 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmast_ has joined #ruby
stardiviner has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Xeago has joined #ruby
mjuszczak has quit []
Rickmasta has quit [Ping timeout: 250 seconds]
ledestin has joined #ruby
sneakerhax has quit [Ping timeout: 252 seconds]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
LoneHermit has joined #ruby
The_Phoenix has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
Lycaonian has joined #ruby
chouhoulis has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
skweek has quit [Ping timeout: 260 seconds]
sdothum has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
UniFreak has joined #ruby
robbyoconnor has joined #ruby
gnufied has quit [Ping timeout: 260 seconds]
ruby-lang097 has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
x77686d has quit [Quit: x77686d]
stardiviner has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
ur5us has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
dopamean_ has joined #ruby
dopamean_ has quit [Client Quit]
ruby-lang097 has quit [Quit: Page closed]
jenrzzz has quit [Ping timeout: 260 seconds]
arescorpio has joined #ruby
UniFreak has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<castlelore> hello
shazaum_ has joined #ruby
sdothum has joined #ruby
<Radar> castlelore: hello :)
johnmilton has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
tlolczyk has joined #ruby
djbkd has quit [Quit: My people need me...]
<tlolczyk> http://pastebin.com/69RmaY3y It looks like there is nothing in the file $upgrade_log at lines 9,10, but when the script finishes there is something in there.
<ruby[bot]> tlolczyk: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/005906e4fac8f540201f302a5ada3b37
<ruby[bot]> tlolczyk: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
stardiviner has joined #ruby
william3 has joined #ruby
tfitts has joined #ruby
bronson has joined #ruby
binaryplease1 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
binaryplease has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
monoprotic has quit [Read error: Connection reset by peer]
Cyrus has quit [Quit: Nope]
mlakewood has quit [Quit: mlakewood]
rbennacer has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
william3 has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Seeq has joined #ruby
FooMunki has quit [Quit: FooMunki]
binaryplease1 is now known as binaryplease
silentpost has joined #ruby
Limix has joined #ruby
smathy is now known as smathy_afk
rbennacer has joined #ruby
zacstewart has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
chipotle has joined #ruby
Xeago has joined #ruby
ur5us has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
rbennacer has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 268 seconds]
jackjackdripper has quit [Quit: Leaving.]
diegoaguilar has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
baweaver has quit [Remote host closed the connection]
statelesscode has joined #ruby
rbennacer has joined #ruby
diegoaguilar has joined #ruby
mclong has quit [Ping timeout: 276 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
brent__ has quit [Quit: Connection closed for inactivity]
davedev24 has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 250 seconds]
yude has quit [Read error: Connection timed out]
rbennacer has joined #ruby
yude has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
sp4rrow has joined #ruby
Lycaonian has quit [Ping timeout: 240 seconds]
bazz_ has quit [Quit: Leaving]
agent_white has quit [Quit: Reconnecting]
agent_white has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
shazaum_ has quit [Quit: Leaving]
skweek has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
rbennacer has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
rbennacer has joined #ruby
chipotle has joined #ruby
ryan_notabot has quit [Quit: Leaving]
Guest38 has joined #ruby
stardiviner has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby
jaguarmagenta has joined #ruby
mclong has joined #ruby
BrunoSaboia has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
SilverKey has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
twistedpixels has quit [Ping timeout: 250 seconds]
hfp has joined #ruby
mclong has quit [Client Quit]
chipotle has quit [Ping timeout: 268 seconds]
The_Phoenix has quit [Ping timeout: 276 seconds]
<tlolczyk> https://gist.github.com/005906e4fac8f540201f302a5ada3b37 It looks like there is nothing in the file $upgrade_log at lines 9,10, but when the script finishes there is something in there.
ur5us has joined #ruby
aghalarp has joined #ruby
stannard has joined #ruby
replay has quit []
Sigma00 has left #ruby ["Textual IRC Client: www.textualapp.com"]
stannard has quit [Ping timeout: 260 seconds]
yqt has quit [Ping timeout: 276 seconds]
mclong has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
hfp has quit [Remote host closed the connection]
gnufied has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
braincrash has quit [Quit: bye bye]
baweaver has joined #ruby
zast has joined #ruby
berserk_ren has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
noService has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
hfp has joined #ruby
kinduff has joined #ruby
dh64 has joined #ruby
braincrash has joined #ruby
Es0teric has quit [Read error: No route to host]
davedev24 has joined #ruby
pawnbox has joined #ruby
d0lph1n98 has joined #ruby
isxek has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
mclong has quit [Quit: Leaving]
smathy has joined #ruby
The_Phoenix has joined #ruby
davedev24 has quit [Ping timeout: 276 seconds]
terminalrecluse has joined #ruby
smathy_afk has quit [Ping timeout: 268 seconds]
duckpupp1 has joined #ruby
terminalrecluse has quit [Client Quit]
BTRE has quit [Quit: Leaving]
gix has quit [Ping timeout: 246 seconds]
duckpupp1 has quit [Ping timeout: 260 seconds]
jbcden has joined #ruby
jbcden has quit [Client Quit]
jbcden has joined #ruby
gix has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BTRE has joined #ruby
Alina-ma- has joined #ruby
nando293921 has joined #ruby
Cyrus has joined #ruby
Amnez777 has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Remote host closed the connection]
Alina-ma| has joined #ruby
crystal77 has joined #ruby
Amnez777 has joined #ruby
Alina-malina has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
The_Phoenix1 has joined #ruby
silentpost has quit [Ping timeout: 240 seconds]
Alina-ma- has quit [Ping timeout: 250 seconds]
fedexo has joined #ruby
The_Phoenix has quit [Ping timeout: 276 seconds]
Amnez777- has joined #ruby
CloCkWeRX has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
silentpost has joined #ruby
Trynemjoel has joined #ruby
vishwa has joined #ruby
devbug has joined #ruby
Amnez777 has quit [Ping timeout: 252 seconds]
<vishwa> Dudes, I have a txt file where each line is in csv format. I want to read all the lines, delete the ones where the last value > second last, and keep the rest. How do I do this?
<vishwa> can I R/W simultaneously?
berserk_ren has quit [Ping timeout: 268 seconds]
Alina-ma| has quit [Ping timeout: 268 seconds]
symm- has quit [Ping timeout: 250 seconds]
brianpWins has quit [Ping timeout: 244 seconds]
Alina-malina has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
sgambino has joined #ruby
yfeldblum has quit [Remote host closed the connection]
brianpWins has joined #ruby
agent_white has quit [Quit: brb]
northrup has joined #ruby
Trynemjoel has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
symm- has joined #ruby
gnufied has quit [Ping timeout: 246 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Trynemjoel has joined #ruby
Moosashi has joined #ruby
gnufied has joined #ruby
bobbycvi has quit [Quit: ...]
kinduff has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
pawnbox has joined #ruby
baweaver has joined #ruby
tjbiddle has joined #ruby
nofxx has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
nofxx has quit [Changing host]
nofxx has joined #ruby
noService has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
Trynemjoel has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
d0lph1n98 has quit [Ping timeout: 250 seconds]
aspiers_ has joined #ruby
statelesscode has quit [Quit: statelesscode]
mclong has joined #ruby
rbennacer has quit [Remote host closed the connection]
statelesscode has joined #ruby
yude_ has joined #ruby
yude has quit [Read error: Connection timed out]
tjbiddle has quit [Quit: tjbiddle]
aspiers_ has quit [Ping timeout: 244 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
Amnez777- has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
drusepth has joined #ruby
ur5us has quit [Remote host closed the connection]
<drusepth> where's the best channel to ask rails-specific (specifically activerecord) questions?
tjbiddle has joined #ruby
dopieee has quit [Quit: Leaving]
Amnez777 has joined #ruby
dopie has quit [Quit: Lost terminal]
Alina-malina has joined #ruby
djbkd has joined #ruby
TheWhip has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
Eiam_ has joined #ruby
silentpost has quit [Ping timeout: 260 seconds]
JesseH has joined #ruby
JesseH has quit [Changing host]
JesseH has joined #ruby
d0lph1n98 has joined #ruby
elifoster has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
St1gma has quit [Quit: laters]
Vile` has quit [Ping timeout: 268 seconds]
ta_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
bronson has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
<baweaver> drusepth: #RubyOnRails
<drusepth> thanks
astrobun_ has joined #ruby
ta_ has joined #ruby
fedexo has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Remote host closed the connection]
lxsameer has joined #ruby
TheWhip has joined #ruby
bronson has joined #ruby
yfeldblum has joined #ruby
Caelum has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
lkba has joined #ruby
gnufied has quit [Ping timeout: 250 seconds]
amclain has quit [Quit: Leaving]
TheWhip has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
d0lph1n98 has quit [Ping timeout: 268 seconds]
zast has quit [Remote host closed the connection]
Caelum has joined #ruby
mlakewood has joined #ruby
elaptics`away is now known as elaptics
drusepth_ has joined #ruby
mlakewood has quit [Client Quit]
LoneHermit has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.4]
drusepth has quit [Quit: Reconnecting]
ta_ has quit [Read error: Connection reset by peer]
Antiarc has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
Antiarc has joined #ruby
sauvin has joined #ruby
Devalo has joined #ruby
fclausen has joined #ruby
TheNet has joined #ruby
Moosashi has quit [Quit: Moosashi]
TheNet has quit [Client Quit]
TheNet has joined #ruby
ta_ has joined #ruby
lemur has joined #ruby
TheNet has quit [Client Quit]
TheNet has joined #ruby
ta_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lemur has quit [Ping timeout: 250 seconds]
pietr0 has joined #ruby
baweaver has quit [Remote host closed the connection]
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has quit [Quit: My people need me...]
User458764 has joined #ruby
futilegames has joined #ruby
Limix has quit [Quit: Limix]
tildes has joined #ruby
saneax is now known as saneax_AFK
catpoop is now known as catfood
Moosashi has joined #ruby
duckpupp1 has joined #ruby
pietr0 has quit [Quit: pietr0]
bronson has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
duckpupp1 has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 268 seconds]
futilegames has quit [Quit: futilegames]
zacstewart has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
joonty has joined #ruby
aufi has joined #ruby
yfeldblum has joined #ruby
mclong has quit [Ping timeout: 268 seconds]
zacstewart has quit [Ping timeout: 260 seconds]
hinbody has quit [Ping timeout: 250 seconds]
aufi has quit [Ping timeout: 240 seconds]
william3 has quit [Ping timeout: 276 seconds]
joonty has quit [Ping timeout: 276 seconds]
drusepth_ has quit [Ping timeout: 268 seconds]
drusepth has joined #ruby
lxsameer has joined #ruby
SilverKey has quit [Quit: Halted.]
baweaver has joined #ruby
hinbody has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Moosashi has quit [Quit: Moosashi]
kareeoleez has joined #ruby
User458764 has joined #ruby
kernerlke has joined #ruby
jenrzzz has joined #ruby
aufi has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
drusepth has quit [Ping timeout: 260 seconds]
darkxploit has joined #ruby
kareeole_ has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 246 seconds]
kareeole_ is now known as kareeoleez
alex1a has joined #ruby
alex1a has quit [Max SendQ exceeded]
PaulCapestany has joined #ruby
jaguarmagenta has quit []
tildes has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
diegoaguilar has quit [Remote host closed the connection]
UglyVendetta has quit [Read error: No route to host]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
The_Phoenix1 has quit [Quit: Leaving.]
davedev24 has joined #ruby
User458764 has joined #ruby
tildes has joined #ruby
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kernerlke> allooooooooooooo
kareeoleez has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
jaruga___ has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
LoneHermit has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
kareeoleez has joined #ruby
davedev24 has quit [Ping timeout: 276 seconds]
d0lph1n98 has joined #ruby
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
LoneHermit has quit [Ping timeout: 252 seconds]
tildes has quit [Ping timeout: 276 seconds]
last_staff has joined #ruby
Devalo has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 250 seconds]
joyce_ has joined #ruby
tjbiddle has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
astrobun_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
<joyce_> I am new to ruby, and is trying to write a git hook in ruby. I want to use the rugged gem in my script. The gem is already available in /opt/gitlab/embedded/service/gem/ruby/2.1.0/ as part of GitLab installation. How can I require that gem in my script?
yfeldblum has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
AlexRussia has joined #ruby
lkba has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
castlelore has quit [Quit: WeeChat 1.4]
Emmanuel_Chanel has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
kareeoleez has quit [Read error: Connection reset by peer]
dome22xl has joined #ruby
dionysus69 has joined #ruby
bronson has joined #ruby
kareeoleez has joined #ruby
postmodern has quit [Quit: Leaving]
raeoks has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
downtime is now known as e
pawnbox has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
scepticulous has joined #ruby
rohit has joined #ruby
p1k has joined #ruby
pawnbox has joined #ruby
castlelore has joined #ruby
pLaToOn has joined #ruby
ramfjord has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
castlelore has quit [Quit: WeeChat 1.4]
castlelore has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lkba has joined #ruby
chouhoulis has quit [Remote host closed the connection]
tildes has joined #ruby
LoneHerm_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 276 seconds]
astrobun_ has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
nando293921 has quit [Ping timeout: 250 seconds]
kareeoleez has joined #ruby
Emmanuel_Chanel has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
bronson has joined #ruby
Devalo has joined #ruby
PedramT has quit [Remote host closed the connection]
anisha has joined #ruby
konsolebox has joined #ruby
howdoi has joined #ruby
Pumukel has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
ItSANgo has quit [Ping timeout: 240 seconds]
scepticulous has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rohit has quit [Ping timeout: 252 seconds]
Devalo has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
<bougyman> manveru: sup
mclong has joined #ruby
Devalo has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
<manveru> bougyman: heya
ItSANgo has joined #ruby
djbkd has joined #ruby
djellemah_ has quit [Ping timeout: 250 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
Cohedrin has joined #ruby
dudepare has quit [Quit: Leaving]
djellemah_ has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
bronson has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 252 seconds]
<manveru> bougyman: i'm in spain right now :)
<manveru> our company just got bought by xing... so i'm working in a big company after all :P
tjbiddle has quit [Quit: tjbiddle]
pawnbox has quit [Remote host closed the connection]
terlar has joined #ruby
Devalo has joined #ruby
noService has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
sandelius has joined #ruby
kareeoleez has quit [Remote host closed the connection]
scepticulous has joined #ruby
vondruch has joined #ruby
statelesscode has quit [Quit: statelesscode]
noService has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
mclong has quit [Ping timeout: 250 seconds]
xcesariox has joined #ruby
pawnbox has joined #ruby
marcdel has quit [Ping timeout: 244 seconds]
codecop has joined #ruby
ta_ has joined #ruby
chouhoulis has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
<pLaToOn> moin
marcdel has joined #ruby
kareeoleez has joined #ruby
phredus has quit [Remote host closed the connection]
Couch has joined #ruby
d0lph1n98 has joined #ruby
Spami has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
andikr has joined #ruby
joyce_ has left #ruby [#ruby]
zacstewart has joined #ruby
futilegames has joined #ruby
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
tagaulap has joined #ruby
blackms has joined #ruby
joonty has joined #ruby
Macaveli has joined #ruby
futilegames has quit [Quit: futilegames]
CloCkWeRX has quit [Quit: Leaving.]
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
roshanavand has joined #ruby
adgtl has quit [Remote host closed the connection]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
AlexRussia has quit [Ping timeout: 260 seconds]
bezhermoso has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kernerlke has left #ruby [#ruby]
nofxx has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Six28 has joined #ruby
al2o3-cr has quit [Ping timeout: 268 seconds]
Six28 has quit [Client Quit]
User458764 has joined #ruby
toretore has joined #ruby
Gasher has joined #ruby
bruce_lee has joined #ruby
fclausen has quit [Quit: leaving]
marcdel has quit [Ping timeout: 250 seconds]
_ht has quit [Ping timeout: 276 seconds]
joonty has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby
joonty has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
xcesariox has joined #ruby
biberu has joined #ruby
mark_66 has joined #ruby
bronson has joined #ruby
bezhermoso has quit [Quit: Adieu!]
kareeoleez has joined #ruby
xcesariox has quit [Client Quit]
bronson has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 276 seconds]
Alina-ma- has joined #ruby
Alina-malina has quit [Ping timeout: 260 seconds]
Amnez777 has joined #ruby
Alina-ma- has quit [Changing host]
Alina-ma- has joined #ruby
dome22xl has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
PedramT has joined #ruby
chouhoulis has joined #ruby
pnus has joined #ruby
william3 has joined #ruby
Snowy has joined #ruby
mikecmpbll has joined #ruby
gamer_ has joined #ruby
gamer_ has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
<kareeoleez> is Open3 tightly attached to system commands ?
sepp2k has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 268 seconds]
nobitanobi has joined #ruby
tomphp has joined #ruby
TheBrayn has quit [Quit: WeeChat 1.4]
p1k has quit [Ping timeout: 250 seconds]
rohit has joined #ruby
tomphp has quit [Max SendQ exceeded]
marr has joined #ruby
mrgrieves has joined #ruby
aupadhye has joined #ruby
tomphp has joined #ruby
blaxter has joined #ruby
TheBrayn has joined #ruby
djbkd has quit [Quit: My people need me...]
pandaant has joined #ruby
william3 has quit [Read error: Connection reset by peer]
william3 has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
k13nox has joined #ruby
Lycaonian has joined #ruby
darkxploit has quit [Ping timeout: 276 seconds]
darkxploit has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
<kareeoleez> how do I install a gem globally from a local folder ?
<adaedra> you build the gem then use gem install ./whatever-xx.gem
Arcaire has quit [Quit: wew lad]
<kareeoleez> I just created a gem folder tree with bundle gem somegem
<kareeoleez> is there a command to install with bundler ? bundle install --local <folder> or something ?
<adaedra> gem management on you system is `gem` command territory
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<kareeoleez> really? the alternative could be to install it from a git repository I created
<kareeoleez> the gem will not be included in rubygems
dling has quit [Remote host closed the connection]
<adaedra> you can install gems through `gem` command without pushing them to rubygems
dling has joined #ruby
<adaedra> alternatively, bundler is indeed capable of pulling gems from git repositories
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Arcaire has joined #ruby
<adaedra> like said above, if you have a gem spec, `gem build whatever.gemspec` will build you a .gem file, which you can install with `gem install ./whatever-xx.gem` (note the relative path)
william3 has joined #ruby
<pnus> is there a list of the most ubiquitous gems in the world?
framling has joined #ruby
<kareeoleez> adaedra: thanks, I haven't thought about `gem` at all, just focusing on bundler for this
astrobun_ has quit [Remote host closed the connection]
skislak has joined #ruby
<adaedra> kareeoleez: bundle is usually for things related for your current project's Gemfile related tasks.
<adaedra> mh, this sentence is a mess.
DoubleMalt has joined #ruby
<kareeoleez> adaedra: thank you
<adaedra> yw
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stardiviner has quit [Ping timeout: 250 seconds]
Weavel has joined #ruby
PedramT has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.4]
stardiviner has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
weckl has joined #ruby
<kareeoleez> adaedra: it worked fine
<kareeoleez> adaedra: what about updating ? Do I need to uninstall it first ?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<adaedra> no, change the gem version, it will install the new
<adaedra> then you'll have two versions installed
william3 has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
k13nox has quit [Read error: Connection reset by peer]
rohit has quit [Quit: Leaving]
k13nox has joined #ruby
weckl has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
jenrzzz has joined #ruby
mfb2 has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
william3 has joined #ruby
mage_ has joined #ruby
<mage_> hello
<adaedra> Hi
<mage_> I'm automating deployment with Saltstack and I have the following error: https://dpaste.de/31HS/raw .. is there any way to change that /.bundle/cache to another dir ?
htmldrum has quit [Ping timeout: 250 seconds]
<mage_> (the bundle install is run under a dedicated user)
PedramT has joined #ruby
konsolebox has quit [Quit: Leaving]
william3 has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
devbug has quit [Quit: ZZZzzz…]
william3 has joined #ruby
xcesariox has joined #ruby
igam has joined #ruby
senayar has joined #ruby
duncannz has quit [Remote host closed the connection]
yude_ has quit [Read error: Connection reset by peer]
william3 has quit [Read error: Connection reset by peer]
william3 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
xcesariox has quit [Client Quit]
yfeldblum has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
shevy has quit [Ping timeout: 244 seconds]
evidex has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
_ht has joined #ruby
duckpupp1 has joined #ruby
mfb2 has quit []
<kareeoleez> adaedra: thank you
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
duckpupp1 has quit [Ping timeout: 276 seconds]
Pupeno has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
ixti has quit [Quit: WeeChat 1.4]
tax has quit [Ping timeout: 260 seconds]
william3 has quit [Read error: Connection reset by peer]
mdw has joined #ruby
Alina-ma- is now known as Alina-malina
last_staff has quit [Ping timeout: 246 seconds]
PedramT has quit [Remote host closed the connection]
william3 has joined #ruby
c355e3b has joined #ruby
joonty has joined #ruby
bronson has joined #ruby
codecop has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
antgel has joined #ruby
TheWhip has quit [Remote host closed the connection]
pawnbox has joined #ruby
andchar has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby
giz|work has joined #ruby
baweaver has joined #ruby
syath_ has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
syath has quit [Ping timeout: 260 seconds]
Pupeno has quit [Ping timeout: 268 seconds]
sandelius has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
DaniG2k has joined #ruby
tubuliferous has quit [Ping timeout: 246 seconds]
madgen has joined #ruby
ur5us has joined #ruby
xcesariox has joined #ruby
TheWhip has joined #ruby
saneax is now known as saneax_AFK
pawnbox has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
william3 has quit [Read error: Connection reset by peer]
<DaniG2k> woohoo Ruby 2.3.1 :D
mage_ has left #ruby [#ruby]
lkba has joined #ruby
d0lph1n98 has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
william3 has joined #ruby
mikecmpb_ has joined #ruby
saneax_AFK is now known as saneax
mdw_ has joined #ruby
mrmortondk has joined #ruby
mdw_ has quit [Max SendQ exceeded]
mdw_ has joined #ruby
banister has quit [Remote host closed the connection]
akem has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
Gasher has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 276 seconds]
banister has joined #ruby
n008f4g_ has joined #ruby
billy1234 has quit [Quit: Lost terminal]
akem has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
cdg has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
<Ox0dea> DaniG2k: Still no `++` operator, but that's okay: https://eval.in/562126
Chunlea has quit [Ping timeout: 260 seconds]
ryan_notabot has joined #ruby
ryan_notabot has quit [Max SendQ exceeded]
<DaniG2k> Ox0dea: has that been requested?
<Ox0dea> DaniG2k: Well, sure. Having it be equivalent to `+= 1` seems reasonable enough.
<Ox0dea> But it does conflict with the understand that it's meant to be "in-place", which doesn't make sense for Fixnum.
<Ox0dea> *understanding
<DaniG2k> i.++!
<DaniG2k> something like that
<DaniG2k> :P
<DaniG2k> i++!
<DaniG2k> I suppose that could be introduced
cdg has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
<DaniG2k> although
<DaniG2k> that would be super easy to monkey patch to be honest
kareeole_ has joined #ruby
mikecmpb_ is now known as mikecmpbll
<DaniG2k> or maybe not
<madgen> Ox0dea: Matz thinks ++ goes against principle of least surprise: http://blade.nagaokaut.ac.jp/ruby/ruby-talk/2710
bollullera has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
william3 has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
bollullera has left #ruby [#ruby]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
karapetyan has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
weckl has joined #ruby
syath_ has quit [Quit: WeeChat 1.2]
<lxsameer> _ko10,pinf
karapetyan has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
zacstewart has joined #ruby
siaw has joined #ruby
inukshuk_ has joined #ruby
<siaw> is there a way i can have an array of size, say, 2. but anytime i do #shift, the new item is first element in array but the item at position 1, gets removed?
inukshuk_ has quit [Client Quit]
GodFather has joined #ruby
<siaw> example. array = [“one”, “two”]
ferr has joined #ruby
<siaw> array.shift(“three”)
<siaw> i want something like this to be returned
<siaw> array = [“three”, “one”]
<siaw> so that the size of the array is ALWAYS 2
<Ox0dea> siaw: #unshift and then #pop if necessary.
<Ox0dea> There's no "clean" way to do it. :/
<siaw> Ox0dea: i was thinking about that. but thought there’d be a more “elegant” way
<Ox0dea> 'Fraid not, at least not to my knowledge.
<Ox0dea> You could do something gross with slices, but you'd be making all sorts of intermediates for no real gain.
<siaw> yeah right
<siaw> thanks
<Ox0dea> No worries.
zacstewart has quit [Ping timeout: 250 seconds]
soxet has quit [Quit: Leaving]
william3 has quit [Read error: Connection reset by peer]
Chunlea has joined #ruby
kareeole_ is now known as kareeoleez
<DaniG2k> is there a way to see how much RAM an array uses in Ruby? I don't need this for any practical purpose but I'm just curious
bb010g has quit [Quit: Connection closed for inactivity]
<Ox0dea> >> require 'objspace'; ObjectSpace.memsize_of [1,2,3] # DaniG2k
<ruby[bot]> Ox0dea: # => 20 (https://eval.in/562176)
<DaniG2k> wow awesome
<DaniG2k> Ox0dea: is 20 in bytes or kilobytes?
johnmilton has joined #ruby
<Ox0dea> DaniG2k: Guess.
<DaniG2k> bytes :P
rodfersou has joined #ruby
<Ox0dea> DaniG2k: Aye, but the number is slightly misleading for very small arrays due to an optimization in MRI.
<DaniG2k> gotcha
pnus has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
baweaver has joined #ruby
william3 has joined #ruby
<adaedra> >> require 'objspace'; ObjectSpace.memsize_of 0x0dea
<ruby[bot]> adaedra: # => 0 (https://eval.in/562184)
<adaedra> Ox0dea is non-existant.
<Ox0dea> #2spooky4me
ur5us has quit [Remote host closed the connection]
<Ox0dea> >> 0x0dea.size
<ruby[bot]> Ox0dea: # => 4 (https://eval.in/562190)
<Ox0dea> Ha!
adgtl has joined #ruby
sdothum has joined #ruby
<Ox0dea> I exist after all, although apparently only in very small quantities.
ryan_notabot has joined #ruby
ryan_notabot has quit [Max SendQ exceeded]
lxsameer has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
<Ox0dea> I'm twice as existent on modern machines.
ryan_notabot has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
<DaniG2k> is requiring objspace unsafe?
baweaver has quit [Ping timeout: 250 seconds]
<DaniG2k> usually anything mem or bitfiddling related is an unsafe namespace
ryan_notabot has joined #ruby
kam270 has joined #ruby
siaw has quit [Quit: siaw]
<kareeoleez> how is the module in a gem "/lib" folder related to the class in its subfolder ?
chouhoulis has joined #ruby
giz|work has quit [Ping timeout: 250 seconds]
gnufied has joined #ruby
william3 has quit [Remote host closed the connection]
d0lph1n98 has joined #ruby
william3 has joined #ruby
DaniG2k has quit [Quit: leaving]
TheWhip has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 276 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
duckpupp1 has joined #ruby
k13nox_ has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
k13nox has quit [Ping timeout: 250 seconds]
madgen has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
antgel has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
Gasher^ has quit [Quit: Leaving]
Gasher has joined #ruby
mrgrieve1 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pawnbox_ has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
mrgrieves has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
madgen has joined #ruby
lxsameer has joined #ruby
pawnbox_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
catphish_ has joined #ruby
<catphish_> does anyone know of any bugs in ruby that break DNS lookups, specifically calls to getaddrinfo?
<catphish_> i have a ruby app, that seems to have started throwing "getaddrinfo: Name or service not known" whenever it tries to look anything up
william3 has quit [Ping timeout: 260 seconds]
xcesariox has joined #ruby
madgen has quit [Ping timeout: 246 seconds]
giz|work has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :wilhelm.freenode.net"]
william3 has joined #ruby
ldnunes has joined #ruby
<arahael> catphish_: I've seen that happen in python... On windows.
<catphish_> actually i just found the issue, its not very obvious
<arahael> Yeah?
<catphish_> the processes hit their file descriptor limit
<catphish_> getaddrinfo requires a udp socket
<catphish_> at least i assume it does
william3 has quit [Remote host closed the connection]
<arahael> I doubt it.
william3 has joined #ruby
<arahael> But it might be opening /etc/resolv.
<arahael> (Or whatever)
<catphish_> yeah, anything like that i guess
<catphish_> now just to work out what files my app isn't closing properly
<arahael> And possibly raise the limit. :)
silentpost has joined #ruby
<arahael> Wow, just found out that os x seems to default to 256 files. That's insane.
andchar has quit [Quit: WeeChat 1.4]
TheWhip has joined #ruby
william3 has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
davee_ has joined #ruby
pawnbox has joined #ruby
moeabdol has joined #ruby
madgen has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
solocshaw has quit [Ping timeout: 268 seconds]
theRealAlexz has quit [Ping timeout: 276 seconds]
madgen has quit [Ping timeout: 240 seconds]
silentpost has quit [Ping timeout: 276 seconds]
soc42 has joined #ruby
theRealAlexz has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
swills has quit [Quit: Leaving]
saneax is now known as saneax_AFK
antgel has quit [Ping timeout: 260 seconds]
madgen has joined #ruby
saneax_AFK is now known as saneax
antgel has joined #ruby
joonty has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
synthroid has joined #ruby
twistedpixels has joined #ruby
twistedpixels has quit [Excess Flood]
twistedpixels has joined #ruby
Vile` has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
PedramT has joined #ruby
pawnbox has quit [Remote host closed the connection]
jbcden has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Remote host closed the connection]
bobbycvi has joined #ruby
tk__ has joined #ruby
william3 has joined #ruby
chouhoulis has joined #ruby
<_mak> hi
<_mak> this will sound like a stupid question but it is just because I'm missing something very basic :)
<_mak> when I type '?a.ord' what am I looking at? what the 97 means?
shevy has joined #ruby
william3 has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
pawnbox has quit [Remote host closed the connection]
deadnull has joined #ruby
pawnbox has joined #ruby
hk238 has joined #ruby
<arahael> _mak: The ordinal for the char.
bkxd has joined #ruby
<arahael> _mak: ie, it's numerical value.
chouhoulis has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
codecop has joined #ruby
ta_ has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
william3 has joined #ruby
joonty has joined #ruby
davedev24 has joined #ruby
jenrzzz has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
blackms has quit [Quit: Leaving]
FooMunki has quit [Quit: FooMunki]
skweek has joined #ruby
william3 has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
dgncn has quit [Excess Flood]
william3 has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
dgncn has joined #ruby
<benzrf> hi, IO.popen is stealing my stdin
william3 has joined #ruby
Pupeno has joined #ruby
eljimmy has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
antgel has quit [Ping timeout: 276 seconds]
william3 has quit [Read error: Connection reset by peer]
Guest38 has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
cpup has quit [Ping timeout: 260 seconds]
<catphish_> benzrf: how so? it really shouldn't, it should return stdin/stdout as its return value
cpup has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
william3 has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
crameth has joined #ruby
ryan_notabot has quit [Ping timeout: 268 seconds]
ryan_notabot has joined #ruby
EdwardIII has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
k13nox_ has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
ramortegui has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
k13nox has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
pawnbox has quit [Remote host closed the connection]
EdwardIII has joined #ruby
nobitanobi has quit [Ping timeout: 250 seconds]
pLaToOn has quit [Read error: Connection reset by peer]
vcoinminer has quit [Quit: Connection closed for inactivity]
nobitanobi has joined #ruby
william3 has joined #ruby
symm- has quit [Quit: Leaving...]
AlexJakeGreen has joined #ruby
prestorium has joined #ruby
bronson has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
northrup has joined #ruby
pawnbox has joined #ruby
stardiviner has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 244 seconds]
carella has joined #ruby
kareeoleez has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
kam270 has quit [Quit: Leaving]
k13nox has quit [Quit: Leaving...]
mrgrieve1 has quit [Ping timeout: 250 seconds]
mrgrieves has joined #ruby
deadnull has quit [Max SendQ exceeded]
<_mak> arahael: what that means? numerical value for a letter?
<_mak> is there any relation to the position of the letter?
mdw has joined #ruby
raeoks has quit [Ping timeout: 250 seconds]
dn` has quit [Ping timeout: 240 seconds]
aeterne has joined #ruby
rbennacer has joined #ruby
<arahael> _mak: you know rhat everything
<arahael> i
hogetaro has quit [Quit: Leaving...]
<arahael> is just a number in computers?
<_mak> arahael: is there a table where I can see the relation of 'a' with 97?
<adaedra> _mak: man ascii
<_mak> what's that table called?
<_mak> hmm
cdg has quit [Remote host closed the connection]
<_mak> riiiiiiiiight!!
Macaveli has joined #ruby
rbennacer has quit [Remote host closed the connection]
<_mak> arahael: thanks dude! I was getting confused with the encoding and everything
rbennacer has joined #ruby
cdg has joined #ruby
<arahael> _mak: there
<arahael> there's lots of confusion out there. :(
william3 has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax is now known as saneax_AFK
n008f4g_ has quit [Ping timeout: 276 seconds]
zacstewart has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
symm- has joined #ruby
cdg has joined #ruby
william3 has joined #ruby
stardiviner has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
tercenya has quit []
galeido has joined #ruby
galeido has quit [Changing host]
galeido has joined #ruby
william3 has quit [Read error: Connection reset by peer]
Macaveli has quit [Ping timeout: 246 seconds]
dn` has joined #ruby
skade has joined #ruby
Macaveli has joined #ruby
malconis has joined #ruby
Shashikant86 has joined #ruby
PedramT has quit [Remote host closed the connection]
william3 has joined #ruby
codecop has quit [Remote host closed the connection]
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip has quit [Remote host closed the connection]
Shashikant86 has quit [Max SendQ exceeded]
nando293921 has joined #ruby
nando293921 has quit [Client Quit]
sgambino has joined #ruby
william3 has quit [Read error: Connection reset by peer]
dn` has quit [Ping timeout: 244 seconds]
saneax_AFK is now known as saneax
rbennacer has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
duckpupp1 is now known as duckpuppy
arts has joined #ruby
<arts> hey everyone!
william3 has quit [Read error: Connection reset by peer]
Pupeno has quit [Remote host closed the connection]
carella_ has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
n008f4g_ has joined #ruby
carella_ has quit [Remote host closed the connection]
william3 has joined #ruby
carella has quit [Ping timeout: 250 seconds]
carella has joined #ruby
JesseH has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
william3_ has joined #ruby
<vishwa> Hey guys, I have a csv file, and I want to edit in place. How do i do this?
william3 has quit [Ping timeout: 252 seconds]
zacstewart has quit [Ping timeout: 268 seconds]
darkxploit has quit [Quit: Leaving]
zacstewart has joined #ruby
<adaedra> To work with CSV files, you have the CSV module in stdlib.
<adaedra> &ri CSV
<adaedra> Not sure what you mean by 'in place' tho.
Pupeno has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
william3_ has quit [Read error: Connection reset by peer]
arts has quit [Ping timeout: 246 seconds]
william3 has joined #ruby
S_Waqas has joined #ruby
<benzrf> catphish_: it seems to be hijacking it
dudepare has joined #ruby
<vishwa> adaedra: every line has a set of csvs. I want to read each line, and the ones that aren't acceptable need to be deleted
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
tildes_ has joined #ruby
whippythellama has joined #ruby
bronson has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
Pupeno has quit [Quit: Leaving...]
william3 has quit [Remote host closed the connection]
<toretore> vishwa: what you probably want is to 1) read the csv into memory, 2) remove lines and then 3) write that back to a file
dn` has joined #ruby
kareeoleez has quit [Remote host closed the connection]
carella has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
carella has joined #ruby
PedramT has joined #ruby
cdg has quit [Remote host closed the connection]
siaw has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
noService has quit [Ping timeout: 260 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
william3 has quit [Ping timeout: 244 seconds]
davee_ has quit [Ping timeout: 244 seconds]
soc42 has quit [Remote host closed the connection]
treehug88 has joined #ruby
dudepare has quit [Quit: Leaving]
<catphish_> benzrf: interesting
prestorium has quit [Read error: Connection reset by peer]
madgen has joined #ruby
crdpink has quit [Excess Flood]
ryan_notabot has quit [Write error: Broken pipe]
dh64 has quit [Excess Flood]
crdpink has joined #ruby
dh64 has joined #ruby
ryan_notabot has joined #ruby
emilford has joined #ruby
rbennacer has joined #ruby
s00pcan_ has joined #ruby
akem has joined #ruby
rbennacer has quit [Remote host closed the connection]
krandi has joined #ruby
koooge has joined #ruby
nobitanobi has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 252 seconds]
nofacade has joined #ruby
Arcaire_ has joined #ruby
okdas_ has joined #ruby
beatdown_ has joined #ruby
rideh- has joined #ruby
techietrash_ has joined #ruby
Plas has joined #ruby
madgen has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
BSaboia has joined #ruby
whippythellama has quit [*.net *.split]
tildes_ has quit [*.net *.split]
skade has quit [*.net *.split]
Guest38 has quit [*.net *.split]
shevy has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
weckl has quit [*.net *.split]
Arcaire has quit [*.net *.split]
tomphp has quit [*.net *.split]
catphish_ has quit [*.net *.split]
bruce_lee has quit [*.net *.split]
andikr has quit [*.net *.split]
Antiarc has quit [*.net *.split]
brianpWins has quit [*.net *.split]
BTRE has quit [*.net *.split]
binaryplease has quit [*.net *.split]
techietrash has quit [*.net *.split]
nertzy has quit [*.net *.split]
duderonomy has quit [*.net *.split]
zack6849 has quit [*.net *.split]
noway_ has quit [*.net *.split]
s00pcan has quit [*.net *.split]
TomyLobo has quit [*.net *.split]
PlasmaStar has quit [*.net *.split]
ICantCook has quit [*.net *.split]
borkdude has quit [*.net *.split]
neanderslob has quit [*.net *.split]
Jet4Fire has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
beatdown has quit [*.net *.split]
ceej has quit [*.net *.split]
ule has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
kireevco has quit [*.net *.split]
ggherdov has quit [*.net *.split]
swgillespie has quit [*.net *.split]
pmarreck has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
danzilio has quit [*.net *.split]
jxf has quit [*.net *.split]
alxndr has quit [*.net *.split]
mjc_ has quit [*.net *.split]
jmcc__________ has quit [*.net *.split]
colstrom has quit [*.net *.split]
kriskropd has quit [*.net *.split]
rubirc has quit [*.net *.split]
sarlalian has quit [*.net *.split]
infernix has quit [*.net *.split]
AnoHito has quit [*.net *.split]
pikajude has quit [*.net *.split]
okdas has quit [*.net *.split]
spacemud has quit [*.net *.split]
Tempesta has quit [*.net *.split]
kp666 has quit [*.net *.split]
Rasi has quit [*.net *.split]
bahar has quit [*.net *.split]
hiyosi has quit [*.net *.split]
g____ has quit [*.net *.split]
scorphus has quit [*.net *.split]
gmas has quit [*.net *.split]
err_ok has quit [*.net *.split]
rideh has quit [*.net *.split]
chris2 has quit [*.net *.split]
nibbo has quit [*.net *.split]
techietrash_ is now known as techietrash
marcdel has joined #ruby
g____ has joined #ruby
g____ has quit [Changing host]
g____ has joined #ruby
pikajude has joined #ruby
pikajude has quit [Changing host]
pikajude has joined #ruby
gmas has joined #ruby
sarlalian has joined #ruby
Plas is now known as PlasmaStar
marcdel_ has joined #ruby
infernix has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
BTRE has joined #ruby
TomyLobo has joined #ruby
ICantCook has joined #ruby
nobitanobi has joined #ruby
rbennacer has joined #ruby
JakFrist has joined #ruby
tildes_ has joined #ruby
skade has joined #ruby
Guest38 has joined #ruby
weckl has joined #ruby
mikecmpbll has joined #ruby
shevy has joined #ruby
tomphp has joined #ruby
bruce_lee has joined #ruby
Antiarc has joined #ruby
brianpWins has joined #ruby
nertzy has joined #ruby
noway_ has joined #ruby
borkdude has joined #ruby
neanderslob has joined #ruby
Jet4Fire has joined #ruby
ceej has joined #ruby
alexherbo2 has joined #ruby
pmarreck has joined #ruby
rubirc has joined #ruby
AnoHito has joined #ruby
spacemud has joined #ruby
kp666 has joined #ruby
hiyosi has joined #ruby
scorphus has joined #ruby
chris2 has joined #ruby
nibbo has joined #ruby
duderonomy has joined #ruby
whippythellama has joined #ruby
dudepare has joined #ruby
binaryplease has joined #ruby
SilverKey has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
Rasi has joined #ruby
TheMoonMaster has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
bahar has joined #ruby
kireevco has joined #ruby
dudepare has quit [Client Quit]
pawnbox has joined #ruby
ChiefAlexander has joined #ruby
pawnbox has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
6JTAAF0JV has joined #ruby
alxndr has joined #ruby
ule has joined #ruby
jmcc__________ has joined #ruby
danzilio has joined #ruby
AlexJakeGreen has quit [Remote host closed the connection]
mjc_ has joined #ruby
jxf has joined #ruby
svkurowski has quit [Ping timeout: 244 seconds]
swills has joined #ruby
akem has quit [Remote host closed the connection]
dellavg has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 268 seconds]
john3 has quit [Ping timeout: 276 seconds]
<6JTAAF0JV> benzrf: i believe the problem is that by default popen only opens in "read" mode, meaning it only hijacks the stdout from the child process, not stdin
<6JTAAF0JV> benzrf: this fixes the problem for me: ruby -e 'puts IO.popen("cat", "r+").read'
ramblinpeck has joined #ruby
<benzrf> ah, useful
colstrom has joined #ruby
zast has joined #ruby
ggherdov has joined #ruby
waxxy has joined #ruby
<6JTAAF0JV> that opens both stdin and stdout of the process
<6JTAAF0JV> you'll likely then want to use close_write at some point
err_ok has joined #ruby
chipotle has joined #ruby
rbennacer has quit [Remote host closed the connection]
swills has quit [Quit: Leaving]
kies has quit [Ping timeout: 276 seconds]
waxxy has quit [Remote host closed the connection]
swgillespie has joined #ruby
PedramT has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
dellavg has joined #ruby
freerobby has joined #ruby
waxxy has joined #ruby
sepp2k has joined #ruby
sepp2k has quit [Client Quit]
sepp2k has joined #ruby
william3 has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
minimalism has quit [Quit: minimalism]
<benzrf> kk
aspiers_ has joined #ruby
svkurowski has joined #ruby
PedramT has joined #ruby
alby has joined #ruby
saneax is now known as saneax_AFK
symm- has quit [Ping timeout: 246 seconds]
william3 has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
william3 has joined #ruby
gmas has quit [Ping timeout: 250 seconds]
mlakewood has joined #ruby
troulouliou_div2 has joined #ruby
PedramT has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
william3 has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 240 seconds]
moeabdol has quit [Ping timeout: 252 seconds]
pawnbox has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
zeroDivisible has joined #ruby
gmas has joined #ruby
roadt has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
symm- has joined #ruby
bronson has joined #ruby
smathy has joined #ruby
john3 has joined #ruby
diegoaguilar has joined #ruby
smathy is now known as smathy_afk
zeroDivisible has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
thesheff17 has joined #ruby
swills has joined #ruby
kareeoleez has joined #ruby
mlakewood has quit [Quit: mlakewood]
smathy_afk is now known as smathy
bronson has quit [Ping timeout: 240 seconds]
aufi has quit [Remote host closed the connection]
jaruga___ has quit [Quit: jaruga___]
kareeoleez has quit [Ping timeout: 268 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
Devalo has joined #ruby
kareeoleez has joined #ruby
noService has joined #ruby
PedramT has joined #ruby
william3 has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 268 seconds]
rippa has joined #ruby
Dimik has joined #ruby
rkazak has joined #ruby
scepticulous has quit [Ping timeout: 250 seconds]
Limix has joined #ruby
<kallisti5> Q: I'm making a gem to interface with a rest API and turn the results into objects (Think ActiveRecord-like). I just can't figure out a great way to store something at the module level for the Gem... any ideas? I wrote an example gist: https://gist.github.com/avongluck-r1soft/4500a2279f9fc41be0ca698a2284bfa1
madgen_ has joined #ruby
<kallisti5> I want to make a new instance of my gem and set the REST uri at the module level... if that makes sense :-|
palms has joined #ruby
<benzrf> kallisti5: use a constant
<kallisti5> Right now i'm "CATApi::Breed.all"
* kallisti5 googles
<benzrf> kallisti5: when you set "@uri =" in the module block, you're setting one of the *module*'s instance variables
<benzrf> so of course it won't be visible in the method
northrup has quit [Ping timeout: 250 seconds]
<benzrf> constants, however, are scoped semi-lexically
<kallisti5> benzrf: is there a way users can define the constant though?
<benzrf> oh, you want users to be able to supply it
<benzrf> why not make your thing a class, and then the url is an instance variable?
n008f4g_ has quit [Ping timeout: 276 seconds]
<benzrf> (barring that, i *guess* you could do "class << self; attr_accessor :uri; end" in the module)
<kallisti5> oh.. so pretty much turn the CATAPi module into a class?
madgen has quit [Ping timeout: 260 seconds]
<kallisti5> That seems to make more sense... I just thought Gem's almost always worked out of modules :-|
ferr has joined #ruby
<benzrf> kallisti5: well, they do tend to
<benzrf> you can put the class in a module, if you want :)
<kallisti5> lol what's the best practice there? module CATApi -> class CATApi -> class Breed ?
madgen_ has quit [Ping timeout: 252 seconds]
<benzrf> kallisti5: well, here's a good rule of thumb
<benzrf> kallisti5: if you're making something a class, you should be able to coherently explain "what" an instance of the class is, and in what circumstances you would instantiate it
nando293921 has joined #ruby
<benzrf> if you're really only defining the class for the features of classes that don't involve instances, you should be making a module
william3 has quit [Ping timeout: 244 seconds]
<benzrf> also, i think it's unusual to nest a class inside another class - normally you nest modules like directories, and then classes are leaves, like files
madgen has joined #ruby
<benzrf> i might be wrong.
<benzrf> (er, modules can also be leaves)
c_nick has joined #ruby
senayar has quit []
hobodave has joined #ruby
<c_nick> can i unzip NUGET package using Ruby ZIP ?
terminalrecluse has joined #ruby
terminalrecluse has quit [Client Quit]
gagrio has quit [Remote host closed the connection]
Rodya_ has joined #ruby
shinnya has joined #ruby
rbennacer has joined #ruby
mikecmpbll has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Shashikant86 has joined #ruby
waxxy has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
rodfersou is now known as rodfersou|lunch
bkxd has joined #ruby
6JTAAF0JV has quit [Quit: Leaving]
nofacade has quit [Ping timeout: 244 seconds]
skislak has quit [Remote host closed the connection]
PedramT has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
ferr has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
hobodave has joined #ruby
roshanavand has joined #ruby
Zarthus has quit [Quit: I can't go to hell. I'm all out of vacation days.]
roshanavand has quit [Client Quit]
Zarthus has joined #ruby
Elysia has quit [Ping timeout: 276 seconds]
giz|work has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
william3 has joined #ruby
gintaz has joined #ruby
<gintaz> hi
<gintaz> have any of you ever had any dealings with the International Colored Gemstone Association?
<gintaz> i just had 2 very fine pieces rejected by them
<gintaz> a little annoyed
drusepth has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
Shashikant86 has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr has joined #ruby
Weavel has quit [Quit: Never put off till tomorrow, what you can do the day after tomorrow]
FooMunki has joined #ruby
<adaedra> You know this channel is about the Ruby *Programming language*, right?
<gintaz> ?
<gintaz> well if you wanna talk it
<gintaz> thats fine
<gintaz> but its called ruby
<havenwood> !troll gintaz
gintaz was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
[Butch] has joined #ruby
amclain has joined #ruby
bobbycvi has joined #ruby
Devalo has joined #ruby
ferr has quit [Ping timeout: 260 seconds]
rbr has joined #ruby
siaw has left #ruby [#ruby]
akem has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
agent_white has joined #ruby
aspiers_ has quit [Ping timeout: 260 seconds]
mrgrieves has quit [Ping timeout: 244 seconds]
siaw has joined #ruby
siaw has left #ruby [#ruby]
synthroid has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
plujon has joined #ruby
PedramT has quit [Remote host closed the connection]
DoubleMalt has quit [Remote host closed the connection]
anisha has quit [Quit: Leaving]
william3 has joined #ruby
Elysia has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
william3 has quit [Remote host closed the connection]
tomphp has quit [Ping timeout: 250 seconds]
davee_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
edwinvdgraaf has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 260 seconds]
godzillaenlacasa has joined #ruby
igam has quit [Ping timeout: 244 seconds]
frem has joined #ruby
p337rB has joined #ruby
jackjackdripper has joined #ruby
mjuszczak has joined #ruby
tk__ has quit [Quit: ばいばい]
rkazak has quit [Quit: Sleep.....ing....]
william3 has joined #ruby
rbr has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
ramfjord has joined #ruby
william3 has quit [Remote host closed the connection]
<zacts> hi ruby
PedramT has quit [Remote host closed the connection]
<zacts> so far this Text Processing with Ruby Pragmatic Press book is cool
<zacts> I'm learning ruby first by making tons of little cli tools
emilford has quit [Ping timeout: 240 seconds]
Devalo has quit [Remote host closed the connection]
emilford has joined #ruby
<shevy> commandline is good
PedramT has joined #ruby
kriskropd has joined #ruby
Devalo has joined #ruby
<zacts> indeed =)
Snowy has quit [Quit: ragequit]
<zacts> I also want to make a UNIX ed editor clone as a large project
<adaedra> ?
<zacts> (just to see if I can do it)
<adaedra> ?
Elysia has quit [Quit: WeeChat 1.5-rc1]
<adaedra> ?
<zacts> adaedra: sorry, am I too off-topic or something?
<zacts> or are you making a joke
Elysia has joined #ruby
<adaedra> latter ;)
<zacts> cool! =D
<shevy> !
<adaedra> ?
<c_nick> help me with nuget packages
<c_nick> :)
<shevy> what is happening here
<adaedra> basic ed editor in ruby: `puts '?' while gets`
terlar has quit [Ping timeout: 244 seconds]
<shevy> but you must save the file too
Rodya_ has quit [Remote host closed the connection]
adgtl has quit [Changing host]
adgtl has joined #ruby
adgtl has joined #ruby
Elysia has quit [Client Quit]
<agent_white> Mornin'
codecop has joined #ruby
stannard has joined #ruby
antgel has joined #ruby
kies has joined #ruby
freerobby has quit [Quit: Leaving.]
baweaver has joined #ruby
rodfersou|lunch is now known as rodfersou
flashpoint9 has joined #ruby
FooMunki has quit [Quit: FooMunki]
Elysia has joined #ruby
drusepth has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> yo agent_white
<shevy> doing any ruby stuff?
pawnbox has quit [Remote host closed the connection]
bobbycvi has joined #ruby
tlolczyk has quit [Quit: Leaving]
bobbycvi has quit [Max SendQ exceeded]
moeabdol has quit [Ping timeout: 252 seconds]
ropeney has joined #ruby
weckl has quit [Quit: Leaving]
FooMunki has joined #ruby
jtd_ is now known as jtd
DoubleMalt has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
devbug has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
lkba_ has joined #ruby
aspiers_ has joined #ruby
Rodya_ has joined #ruby
rkazak has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Ping timeout: 246 seconds]
hakunin has quit [Remote host closed the connection]
JakFrist has quit [Read error: Connection reset by peer]
antgel has joined #ruby
sleepunit has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
hakunin has joined #ruby
aspiers_ has quit [Client Quit]
JakFrist has joined #ruby
<sleepunit> Question. I'm looking at some code, and I want to make sure I understand what's happening. I have a class with another class inside of it. Before the subclass, they have the protected keyword. Am I wrong in assuming that the protected keyword isn't doing anything useful in this case because it affects method visibility and not visibility for an entire subclass?
rbr has joined #ruby
SuperLag_ has joined #ruby
marcdel_ has quit [Ping timeout: 244 seconds]
SuperLag has quit [Ping timeout: 252 seconds]
<tubbo> is there a way to see any "parent" modules of the current object?
firstdayonthejob has joined #ruby
<tubbo> say i have something called Foo::Bar::Baz, and i'm in the class definition of Baz. any way i can test whether i'm namespaced under Bar without reading the class name and doing a regex on it?
c_nick has quit [Quit: Leaving.]
hakunin has quit [Ping timeout: 260 seconds]
elifoster has joined #ruby
<smathy> tubbo, .parent
pawnbox has joined #ruby
Cohedrin has joined #ruby
<smathy> (might be AS )
<smathy> Ah, sorry, is.
<tubbo> smathy: that's ok
<tubbo> thanks man
<tubbo> i'm reinventing draper yay
Gasher has quit [Quit: Leaving]
<smathy> FWIW, they just regex the constant name.
mclong has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
pawnbox has quit [Ping timeout: 252 seconds]
madgen has quit [Ping timeout: 244 seconds]
nobitanobi has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
SilverKey has quit [Quit: Halted.]
bronson has joined #ruby
silentpost has joined #ruby
freerobby has joined #ruby
kareeoleez has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Stazer has joined #ruby
northrup has joined #ruby
freerobby has quit [Client Quit]
kareeoleez has joined #ruby
kareeoleez has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
berserk_ren has joined #ruby
sleepunit has quit [Quit: Textual IRC Client: www.textualapp.com]
kareeoleez has joined #ruby
madhatter has quit [Ping timeout: 250 seconds]
gregf has quit [Quit: WeeChat 1.4]
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
brianpWins_ has joined #ruby
berserk_ren has quit [Read error: Connection reset by peer]
berserk_ren has joined #ruby
brianpWins has quit [Ping timeout: 250 seconds]
brianpWins_ is now known as brianpWins
<ule> What's the best alternative for RubyMine (Jetbrains IDE?)
<ule> ?
<ule> I'm very confortable with Vim.. I'm thinking to just bust it up with some plugins
<Stazer> no clue, im using emacs
<ule> Fernando-Basso: any tip?
<ule> emacs is definitely out of my list
<ule> no offence
SilverKey has joined #ruby
<Stazer> :D
<ule> I'm just more familiar with vim for years
SCHAAP137 has joined #ruby
<Stazer> i wouldnt change my editor then
<ule> this one looks to be a good resource
Eiam_ has joined #ruby
PedramT has quit [Remote host closed the connection]
ismaelga has joined #ruby
Limix has quit [Quit: Limix]
ramfjord has quit [Ping timeout: 246 seconds]
<Stazer> i would choose vim with plugins over an ide
workmad3 has quit [Ping timeout: 276 seconds]
Ebok has joined #ruby
dangerousdave has joined #ruby
<ule> I just want a free IDE
[Butch] has quit [Quit: I'm out . . .]
<ule> I started using Visual Code Studio Free edition and installed ruby extension
freerobby has joined #ruby
freerobby has quit [Client Quit]
djbkd has joined #ruby
<ule> BUt.. RubyMine is so far superior then VCS
<Stazer> have you tried aptana?
<Ebok> I'm looking into implementing live streaming in an already high traffic website. I'm curious if anyone here has suggests for choice ruby on Rails implementations of similar features. API's you find useful, etc.
<ule> no.. I'll take a look
kareeoleez has quit [Remote host closed the connection]
<Stazer> and radrails2 with eclipse looks pretty good as well
Limix has joined #ruby
Limix has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 260 seconds]
Pete has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
Pete is now known as Guest60685
nrd_pxs has joined #ruby
pawnbox has joined #ruby
skweek has joined #ruby
madgen has joined #ruby
Eiam_ has quit [Ping timeout: 276 seconds]
hogetaro has joined #ruby
p337rB has quit [Ping timeout: 260 seconds]
nrd_pxs has quit [Client Quit]
drusepth has joined #ruby
yfeldblum has joined #ruby
mjuszczak has quit []
jxs_ has joined #ruby
ljames has joined #ruby
nrd_pxs has joined #ruby
jenrzzz has joined #ruby
joonty has joined #ruby
nrd_pxs has quit [Client Quit]
silentpost has quit [Ping timeout: 276 seconds]
crameth has quit [Quit: crameth]
aupadhye has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
mrgrieves has joined #ruby
<Fernando-Basso> ule: I am a simple man. I use an almost bare-bones vim for ruby and everything else.
PedramT has joined #ruby
giz|work has joined #ruby
<ule> Fernando-Basso: hello my friend
symm-_ has joined #ruby
<Fernando-Basso> hello, my master.
symm- has quit [Ping timeout: 260 seconds]
<Ox0dea> Is it hot in here?
<ule> Fernando-Basso: c'mon.. master is you..
<ule> Ox0dea: haha
<Fernando-Basso> ule: There is a video from "Akita on rails" about using vim for ruby and rails devel.
<smathy> vim ftw
isxek has quit [Remote host closed the connection]
<Fernando-Basso> ule: You might also want to give atom a try.
yfeldblum has quit [Ping timeout: 276 seconds]
evidex has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
<Ox0dea> lelno
webopsx has joined #ruby
SuperLag_ has quit [Quit: leaving]
mjuszczak has joined #ruby
mclong has quit [Ping timeout: 268 seconds]
Limix has joined #ruby
mjuszczak has quit [Client Quit]
<Fernando-Basso> smathy: You infidel!
SuperLag has joined #ruby
<smathy> We infidels have all the fun.
<Ox0dea> Fernando-Basso: Are you a member of the Church of Emacs?
william3 has joined #ruby
nrd_pxs has joined #ruby
<Fernando-Basso> Ox0dea: No, I am not.
nrd_pxs has quit [Client Quit]
<Ox0dea> In which case what's so infidelic about using Vim?
moeabdol has joined #ruby
nrd_pxs has joined #ruby
<Fernando-Basso> But my friend, whom I taught vim, then betrayed me and started using emacs is a member of that religion.
imperator has joined #ruby
<Fernando-Basso> Ox0dea: It was fun to say that. (for me huahuahuahuah)
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
<Ox0dea> Fernando-Basso: Are you holding a spoon?
<ule> Fernando-Basso: I'll find that akita video
<Fernando-Basso> ule: I could not find it (in a quick search). Not sure if it was a paid video or something.
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
<tubbo> i use emacs for org-mode and that's about it
<Fernando-Basso> Ox0dea: I refuse to answer that unless I am in the presense of my lawyer.
<Ox0dea> Fernando-Basso: No worries; I misremembered Katy's utensil anyway.
<nofxx> There's no spoon.
<Ox0dea> Rivers are in your mind.
<Fernando-Basso> ule: I use CtrlP to help me find files and buffers.
nobitanobi has joined #ruby
<Fernando-Basso> I think it is the only plugin that I use regularly.
<Fernando-Basso> (besides the default ones that come installed with vim)
nobitanobi has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 260 seconds]
rodfersou has quit [Quit: leaving]
hogetaro has quit [Quit: Leaving...]
freerobby has joined #ruby
freerobby has quit [Client Quit]
<tubbo> no default plugins come installed with vim
<tubbo> that's the definition of a plugin, it doesn't come with vim ;)
<ule> I need something that follows this: https://github.com/bbatsov/ruby-style-guide
<Ox0dea> $ ls /usr/share/vim/vim74/plugin/
quakephil has joined #ruby
<Ox0dea> getscriptPlugin.vim logiPat.vim netrwPlugin.vim rrhelper.vim tarPlugin.vim vimballPlugin.vim
<Ox0dea> gzip.vim matchparen.vim README.txt spellfile.vim tohtml.vim zipPlugin.vim
<Ox0dea> tubbo: ^
william3 has quit []
bronson has joined #ruby
<Ox0dea> ule: RuboCop.
dmr8 has joined #ruby
<Ox0dea> This is more or less a solved problem.
drusepth has quit [Ping timeout: 268 seconds]
<ule> Ox0dea: yeah.. It's on my list since you told me this yesterday.. I'm still using Tailor here
drusepth has joined #ruby
<ule> will check RuboCop soon
<Ox0dea> ule: It's going to continue being the answer. :P
mrgrieves has quit [Quit: leaving]
tomeara has joined #ruby
<quakephil> Using activerecord with a basic Table.select().joins().to_json pattern... most of the time it works, except when it doesn't, segfaults with a 20 page report of all sorts of useless (for me) info. I know that the error happens in .rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1062 and that's it, and nowhere in my code do I invoke any eventmachines... How can I possibly debug this error with a function stack trace that
<quakephil> doesn't have a single reference back to my code
<tubbo> wat
<tubbo> well fuck this whole editor then
<tubbo> :D
<tobiasvl> the definition of a plugin doesn't say that they can't come pre-packaged
ramfjord has joined #ruby
<tobiasvl> :P
<tubbo> quakephil: even after refreshing your ruby version and gem bundle?
<tubbo> quakephil: did you upgrade this app's Ruby recently?
<quakephil> no its a new app and just started working on it recently
<quakephil> but I'm a ruby newb so I'm sure I'm missing something obvious that would help me debug this, instead of staring at pages of irrelevant output like an idiot :)
ismaelga has quit [Remote host closed the connection]
carella has quit [Remote host closed the connection]
carella has joined #ruby
<Ox0dea> quakephil: When doesn't it work? Can you provide the whole backtrace?
dopie has joined #ruby
<tubbo> i mostly experience segfaults when some component changes under the hood, like i accidentally update OpenSSL and don't recompile Ruby
scepticulous has joined #ruby
<tubbo> or i switch .ruby-version without re-compiling gem native extensions
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
zast has quit [Remote host closed the connection]
Eiam_ has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
acbsspdas has joined #ruby
[Butch] has joined #ruby
acbsspdas has left #ruby [#ruby]
scepticulous has quit [Client Quit]
scepticulous has joined #ruby
nrd_pxs has quit [Ping timeout: 252 seconds]
<akkad> Tpwd
jenrzzz_ has joined #ruby
replay has joined #ruby
replay has quit [Max SendQ exceeded]
replay has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
c_nick has joined #ruby
<quakephil> Ox0dea: http://pastebin.ca/3586111
<quakephil> What's odd is that it only crashes sometime TT
rodfersou has joined #ruby
marr has joined #ruby
<Ox0dea> quakephil: You're dying in malloc(), so you're probably causing some insane allocation to occur.
<quakephil> Like, I just restarted the app, tried to run the request again, and this time it works just fine
<Ox0dea> You have a leak.
<quakephil> Ox0dea: well whatever it is, I have no idea how to fix it :/
<quakephil> Use sinatra they said. It will be easy they said :)
ferr has joined #ruby
dn` has quit [Quit: dn`]
dn` has joined #ruby
robbyoconnor has quit [Ping timeout: 268 seconds]
drusepth has quit [Ping timeout: 260 seconds]
drusepth has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
c_nick has left #ruby [#ruby]
<ironcamel> is there a nice way to compare an array of strings to an array of regexes, something like ['foo', 'bar'] === [/f/, /b/]
tagaulap has quit [Quit: Connection closed for inactivity]
Guest60685 has quit [Ping timeout: 260 seconds]
<Ox0dea> ironcamel: strings.zip(regexes).all? { |s, r| s.match r }
<Ox0dea> Or maybe you just want #map instead of #all?.
<ironcamel> i want a boolean that is true if all of them match
krandi has quit [Remote host closed the connection]
<Ox0dea> #all?, then.
<ironcamel> cool thanks
<Ox0dea> Sure thing.
berserk_ren has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 246 seconds]
nrd_pxs has joined #ruby
nrd_pxs has quit [Client Quit]
p337rB has joined #ruby
postmodern has joined #ruby
kirun has joined #ruby
zeroDivisible has joined #ruby
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akem has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
moeabdol has joined #ruby
dede has quit [Quit: Connection closed for inactivity]
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
tubuliferous has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
nrd_pxs has joined #ruby
<ule> is foo = Array("hi") the same thing of foo = *("hi") ?
<Ox0dea> Yes.
baweaver has joined #ruby
<ule> ty
<Ox0dea> xqz
tubuliferous has joined #ruby
CalimeroTeknik has joined #ruby
kareeoleez has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
tristanp has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
tristanp has joined #ruby
Jackneill has joined #ruby
baweaver has joined #ruby
Rodya_ has quit [Remote host closed the connection]
mclong has joined #ruby
scepticulous has quit [Ping timeout: 276 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
Limix has quit [Quit: Limix]
tristanp has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
tubuliferous has joined #ruby
Devalo has quit [Remote host closed the connection]
<shevy> abc
renderfu_ has joined #ruby
Devalo has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
vishwa has quit [Ping timeout: 240 seconds]
<ule> ty = thank you
Devalo has quit [Remote host closed the connection]
lucasb has joined #ruby
* al2o3-cr giggles
drusepth has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
drusepth has joined #ruby
Rodya_ has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 260 seconds]
war_pigs has joined #ruby
idefine has joined #ruby
gregf has joined #ruby
Azure has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
renderful has joined #ruby
quakephil has left #ruby [#ruby]
nobitanobi has joined #ruby
renderfu_ has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
renderfu_ has joined #ruby
renderful has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
mallu has joined #ruby
Asher has quit [Ping timeout: 246 seconds]
nando293921 has joined #ruby
<mallu> I'm looking for a way to covert pkcs12 to pem file. Has anyone done anything like that?
akem has quit [Remote host closed the connection]
<ironcamel> openssl pkcs12 -in foo.p12 -out foo.pem ...
war_pigs has quit [Quit: later... computer is sleeping]
tubuliferous has quit [Ping timeout: 276 seconds]
<ironcamel> mallu: ^^^
<mallu> ironcamel: hoping there is a better way to in Ruby
<mallu> a class or something
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
lucasb has quit [Quit: leaving]
baweaver has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
Limix has joined #ruby
SilverKey has joined #ruby
infra-red has joined #ruby
emilford has joined #ruby
mclong has quit [Ping timeout: 250 seconds]
infra-red has quit [Client Quit]
<imperator> mallu, http://stackoverflow.com/questions/16589722/openssl-equivalent-command-in-ruby should get you on the right track
drusepth has quit [Ping timeout: 276 seconds]
drusepth has joined #ruby
S_Waqas has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
dfockler has joined #ruby
Jet4Fire has quit []
shinnya has quit [Ping timeout: 276 seconds]
sneakerhax has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
madgen has quit [Ping timeout: 244 seconds]
sphex_ has quit [Ping timeout: 260 seconds]
carella has quit [Remote host closed the connection]
madgen has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
devbug has quit [Quit: ZZZzzz…]
sphex has joined #ruby
baweaver has joined #ruby
choke has joined #ruby
mdw has joined #ruby
yfeldblum has joined #ruby
Devalo has joined #ruby
mallu has quit [Ping timeout: 250 seconds]
berserk_ren has joined #ruby
n008f4g_ has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
baweaver has quit [Ping timeout: 276 seconds]
shadeslayer has quit [Ping timeout: 244 seconds]
JesseH has joined #ruby
aegis3121 has joined #ruby
quakephil has joined #ruby
baweaver has joined #ruby
mclong has joined #ruby
<quakephil> Ox0dea: fyi, I found the fix here (disable thin threaded mode) https://github.com/macournoyer/thin/issues/307
yardenbar has quit [Quit: Leaving]
idefine_ has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
PedramT has quit []
baweaver has quit [Remote host closed the connection]
idefine_ has quit [Remote host closed the connection]
yqt has joined #ruby
mclong has quit [Quit: Leaving]
devbug has joined #ruby
replay has quit [Ping timeout: 240 seconds]
drusepth has quit [Ping timeout: 246 seconds]
RegulationD has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
drusepth has joined #ruby
stardiviner has quit [Ping timeout: 252 seconds]
mclong has joined #ruby
htmldrum has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
Rodya_ has joined #ruby
SilverKey has joined #ruby
alby has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
djbkd has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
freerobby has joined #ruby
shadeslayer has joined #ruby
drusepth has quit [Ping timeout: 246 seconds]
drusepth has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
tildes has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
dfockler has quit [Quit: Leaving...]
pawnbox has joined #ruby
flashpoint9 has quit []
ur5us has joined #ruby
sp4rrow has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
tildes has quit [Ping timeout: 250 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
SilverKey has quit [Quit: Halted.]
spider-mario has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
bronson has joined #ruby
idefine has quit [Remote host closed the connection]
crameth has joined #ruby
idefine has joined #ruby
SilverKey has joined #ruby
idefine has quit [Read error: Connection reset by peer]
idefine_ has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
scepticulous has joined #ruby
ozzloy has quit [Ping timeout: 244 seconds]
skade has joined #ruby
valkyr1e has quit [Ping timeout: 268 seconds]
baweaver has joined #ruby
kareeoleez has joined #ruby
renderful has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Devalo has quit [Remote host closed the connection]
hobodave_ has joined #ruby
sp4rrow has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
renderf__ has joined #ruby
renderfu_ has quit [Ping timeout: 244 seconds]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
valkyr1e has joined #ruby
djbkd has joined #ruby
idefine_ has quit [Ping timeout: 276 seconds]
renderful has quit [Ping timeout: 240 seconds]
hobodave has quit [Ping timeout: 244 seconds]
dling has quit [Ping timeout: 252 seconds]
scepticulous has quit [Ping timeout: 276 seconds]
idefine has joined #ruby
renderful has joined #ruby
bronson has quit [Remote host closed the connection]
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
johnmilton has quit [Quit: Namaste]
renderf__ has quit [Ping timeout: 240 seconds]
j0n3 has joined #ruby
Devalo has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
renderfu_ has joined #ruby
TheWhip has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
neanderslob has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 276 seconds]
juh_ has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
renderful has joined #ruby
karapetyan has quit [Remote host closed the connection]
finisherr has joined #ruby
stardiviner has joined #ruby
Rodya_ has quit [Remote host closed the connection]
shazaum_ has joined #ruby
renderfu_ has quit [Ping timeout: 276 seconds]
dangerousdave has quit [Ping timeout: 276 seconds]
Devalo has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Qommand0r has quit [Quit: Exiting...]
renderfu_ has joined #ruby
crameth has quit [Quit: crameth]
ryan_notabot has quit [Ping timeout: 250 seconds]
scepticulous has joined #ruby
renderful has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
devbug has quit [Quit: ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
Rodya_ has quit [Remote host closed the connection]
lannonbr has quit [Quit: WeeChat 1.0.1]
lannonbr has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
Moosashi has joined #ruby
lannonbr has left #ruby [#ruby]
Qommand0r has joined #ruby
replay has joined #ruby
rbennacer has joined #ruby
devbug has joined #ruby
<CalimeroTeknik> how I can prevent socket.gets from crashing due to encoding problems?
<CalimeroTeknik> of course it's since ruby 1.9
<apeiros> CalimeroTeknik: by opening the socket with the proper encodings
jenrzzz has quit [Ping timeout: 260 seconds]
<CalimeroTeknik> it could be anything, really, since I can drop some urandom on irc
<eam> you're using gets on a network socket?
renderful has joined #ruby
<CalimeroTeknik> yes, TCP for IRC
Moosashi has quit [Quit: Moosashi]
<CalimeroTeknik> hey, it's not C, I'm not risking a buffer overflow
<eam> that's ill advised, what if someone sends you a bunch of data and exhausts all your memory?
<juh_> hey guys i'm new with ruby, can you tell me if "::" is for static function plz ? :p
<tobiasvl> juh_: it is for namespace resolution, so in a way, yes. depends what you mean by static function
<eam> you generally want to use sysread/syswrite with sockets (which will take care of encoding things properly for you as well, as in ... not)
<CalimeroTeknik> eam, quite true, that'd have to be the server though, so it's not happening
<eam> gets needs to interpret characters to find a \n, so it would need to understand encoding
<juh_> oh ok, "namespace" got it ! for exemple : lol::blop lol is the namespace for the class blop, right ?
<eam> if you're doing ascii/bytes then you can just hunt for the single byte
<havenwood> juh_: Constants must start with uppercase.
renderfu_ has quit [Ping timeout: 276 seconds]
Stazer has quit [Ping timeout: 244 seconds]
Stazer1 has joined #ruby
<juh_> Ok, thanks guys =)
renderfu_ has joined #ruby
replay has quit [Ping timeout: 244 seconds]
renderful has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
last_staff has joined #ruby
hakunin has joined #ruby
idefine has joined #ruby
SilverKey has quit [Quit: Halted.]
renderful has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
jfr2 has joined #ruby
renderfu_ has quit [Ping timeout: 246 seconds]
idefine has quit [Ping timeout: 250 seconds]
Stazer1 has quit [Ping timeout: 252 seconds]
synthroid has quit []
noway_ has quit [Ping timeout: 250 seconds]
shazaum_ has quit [Ping timeout: 260 seconds]
swills has quit [Ping timeout: 244 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
kareeoleez has quit [Remote host closed the connection]
<jfr2> Noob here, can someone take a look at my simple program? https://gist.github.com/anonymous/f1a6deacfeacee412ca4ccffa26d8984 it seems only to give the sale
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mclong has quit [Ping timeout: 250 seconds]
hobodave_ has quit [Quit: Computer has gone to sleep.]
kareeoleez has joined #ruby
hobodave has joined #ruby
whathapp_ has joined #ruby
crdpink2 has joined #ruby
palms has quit [Read error: Connection reset by peer]
<CalimeroTeknik> eam, ascii/bytes does not exist as an encoding
shazaum_ has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
jessemcgilallen has joined #ruby
renderfu_ has joined #ruby
elifoster has quit [Ping timeout: 268 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gasher has joined #ruby
p337rB has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
<CalimeroTeknik> in the end I don't understand how to make ruby > 1.8 read lines from a socket
JakFrist has joined #ruby
renderful has quit [Ping timeout: 240 seconds]
webopsx has joined #ruby
<adaedra> Tried with 'ASCII-8BIT' encoding?
<CalimeroTeknik> yes, it fails
palms has joined #ruby
<eam> CalimeroTeknik: sure it does
<eam> it's ASCII-8BIT as adaedra suggested
<CalimeroTeknik> the script dies with incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
<baweaver> jfr2: all of it is in the rescue
<eam> CalimeroTeknik: gist some code
JakFrist has quit [Client Quit]
last_staff has quit [Quit: last_staff]
rbennacer has quit [Remote host closed the connection]
mdw has joined #ruby
<jfr2> Ah thank you, all I had to do was move it down
dling has joined #ruby
sp4rrow has joined #ruby
gonzalo_ has joined #ruby
mdw_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
shazaum_ has quit [Ping timeout: 260 seconds]
jfr2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dionysus69 has joined #ruby
sp4rrow has quit [Client Quit]
Madplatypus has joined #ruby
<CalimeroTeknik> oh wait, my terminal is in utf-8
rbr has quit [Ping timeout: 252 seconds]
prestorium has joined #ruby
minimalism has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Moosashi has joined #ruby
sp4rrow has joined #ruby
jenrzzz has joined #ruby
sp4rrow has quit [Client Quit]
<CalimeroTeknik> here is the code that produces the error http://sprunge.us/BWAN
<CalimeroTeknik> the problem is mixing UTF-8 with binary!
kareeoleez has quit [Remote host closed the connection]
<adaedra> And the stack trace?
sgambino has joined #ruby
pandaant has quit [Remote host closed the connection]
kareeoleez has joined #ruby
<adaedra> There's also a BINARY encoding
<CalimeroTeknik> test.rb:26:in `<main>': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
renderful has joined #ruby
<CalimeroTeknik> BINARY is an alias
<CalimeroTeknik> "BINARY"=>"ASCII-8BIT"
<adaedra> aha
renderfu_ has quit [Read error: Connection reset by peer]
<adaedra> That's the full stack trace?
renderful has quit [Read error: Connection reset by peer]
<CalimeroTeknik> yes
renderful has joined #ruby
<adaedra> weird, I'd have believed it woul have at least given the method raising the error.
ixti has joined #ruby
<adaedra> would*
Devalo has joined #ruby
neanderslob has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
nobitanobi has joined #ruby
<adaedra> It's funny, it works here.
idefine has joined #ruby
<adaedra> ah ye, crashed on an emoji.
rodfersou is now known as rodfersou|dinner
gregf has joined #ruby
kareeoleez has quit []
renderfu_ has joined #ruby
djbkd has quit [Quit: My people need me...]
kareeoleez has joined #ruby
Devalo has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 246 seconds]
idefine has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
baweaver has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
<adaedra> Your problem seems to come from the puts actually; you have a string in ASCII-8BIT encoding that you try to insert into a UTF-8 string.
<adaedra> You'd need to be able to figure the encoding and encode the whole string correctly (force_encoding(encoding).encode('UTF-8')) in order to display it, I guess
renderful has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 260 seconds]
<chridal> Hey guys. I'm selling off my ticket to RailsConf. I sadly won't be able to attend this year. The current price for a ticket is $900. Selling mine for $500. Send me a PM if interested. Thanks!
renderfu_ has quit [Ping timeout: 240 seconds]
<CalimeroTeknik> adaedra, this kinda works http://sprunge.us/TSRP
<CalimeroTeknik> I couldn't crash it
idefine has joined #ruby
<adaedra> But do you get all the characters from people using non-UTF-8 encodings?
<adaedra> You could also look at how Cinch managed to do it
idefine has quit [Remote host closed the connection]
shazaum_ has joined #ruby
berserk_ren has quit [Ping timeout: 244 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
<CalimeroTeknik> well, at some point you realize that UTF-8 with tolerance to invalid characters is a good thing :)
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
Jackneill has quit [Quit: Leaving]
ledestin has joined #ruby
<adaedra> But that's how you go from a café to a caf?
<CalimeroTeknik> if I had put some ISO8859 or latin1 there yes
<CalimeroTeknik> maybe I could fallback to some ISO8859 encoding (which one?), but I that's not a real issue
sp4rrow has joined #ruby
<adaedra> You should actually detect what encoding the message is made of — But that's not always easy. There are some gems to do that iirc.
<adaedra> And, I think the non-messages part of IRC protocol is ASCII only, which is a good thing
ramortegui has quit [Quit: Ex-Chat]
<CalimeroTeknik> yes indeed
<CalimeroTeknik> encoding detection relies on under-the-hood specificities, I'd rather just understand utf8 and not crash on random binary strings
<CalimeroTeknik> which is what the above code does
diegoaguilar has joined #ruby
sp4rrow has quit [Client Quit]
diegoaguilar has quit [Max SendQ exceeded]
renderfu_ has joined #ruby
devbug has quit [Quit: ZZZzzz…]
diegoaguilar has joined #ruby
jessemcgilallen has quit [Quit: jessemcgilallen]
renderf__ has joined #ruby
sgambino has joined #ruby
renderful has quit [Ping timeout: 276 seconds]
elaptics is now known as elaptics`away
Kallis has joined #ruby
n008f4g_ has quit [Ping timeout: 260 seconds]
renderfu_ has quit [Ping timeout: 252 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gregf has quit [Quit: WeeChat 1.4]
sp4rrow has joined #ruby
renderf__ has quit [Read error: Connection reset by peer]
renderful has joined #ruby
imperator has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
gregf has joined #ruby
idefine has joined #ruby
baweaver has joined #ruby
Moosashi has quit [Quit: Moosashi]
Certainty has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
SilverKey has joined #ruby
rbennacer has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Asher has joined #ruby
swills has joined #ruby
<shevy> long live ascii!
Kallis has quit [Ping timeout: 246 seconds]
Moosashi has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
nobitanobi has quit [Remote host closed the connection]
scepticulous has quit [Ping timeout: 276 seconds]
zacstewart has joined #ruby
malcolmva has quit [Quit: Leaving]
idefine has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
S_Waqas has joined #ruby
malcolmva has joined #ruby
sp4rrow has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
SilverKey has quit [Quit: Halted.]
rbennace_ has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
[Butch] has quit [Quit: I'm out . . .]
dopie has quit [Quit: Lost terminal]
idefine has quit [Ping timeout: 244 seconds]
<kareeoleez> what is a safe way to process some commands in ruby as a Transaction ?
<kareeoleez> they are not sql queries, just steps that need to be safe and ran all together successfully
<baweaver> basically conditionals
<baweaver> unless failure constitutes an exception, then a rescue / ensure for cleanup
northrup has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
ur5us has quit [Remote host closed the connection]
nobitanobi has joined #ruby
duderonomy has joined #ruby
sp4rrow has joined #ruby
ur5us has joined #ruby
sp4rrow has quit [Client Quit]
<kareeoleez> baweaver: doesn't exist something similar in plain ruby ?
<baweaver> that is plain ruby
nobitanobi has quit [Remote host closed the connection]
<baweaver> if step_one then step_two end
<baweaver> now if you have a sequence of tasks that need to run of arbitrary order, that'd be different
duckpuppy has joined #ruby
prestorium has quit [Quit: Leaving]
<baweaver> what exactly are you trying to do with a command transaction?
dionysus69 has quit [Ping timeout: 276 seconds]
<kareeoleez> baweaver: e.g. set the hostname of the system
ur5us has quit [Ping timeout: 244 seconds]
<baweaver> ah, so system commands
<kareeoleez> baweaver: validate string, write value to file, store in a db
frem has quit [Remote host closed the connection]
<baweaver> begin, rescue, ensure
<baweaver> begin a block, rescue an exception, ensure that these steps are executed (normally cleanup)
<baweaver> other than that nothing more than if checks
idefine_ has joined #ruby
gonzalo_ has quit [Quit: Saliendo]
pawnbox has joined #ruby
<smathy> ...it's not magical though, the "rollback" is manual.
<smathy> ...or explicit at least, whatever the right word is.
skade has quit [Quit: Computer has gone to sleep.]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
johnmilton has joined #ruby
Devalo has joined #ruby
idefine_ has quit [Ping timeout: 250 seconds]
<baweaver> def sys_transaction(cmds: [], rollback: []) cmds.all?{|c|system c} || rollback.each{|c|system c} end
<baweaver> sys_transaction(cmds: ['ls', 'rm something'], rollback: ['touch something'])
pawnbox has quit [Ping timeout: 246 seconds]
<smathy> :)
<baweaver> something vaguely like that would work
<baweaver> though you don't even really need a method
<smathy> ...for very specific meanings of "work"
<baweaver> system gives back true for 0 return, false otherwise
<baweaver> never said it was pretty ;)
<smathy> 'rm /bin/sh' => 'touch /bin/sh' # what could go wrong ;)
<baweaver> example code, couldn't think of a good rollback
<smathy> I'm just guessing what the OP meant by "what is a safe way to process some commands in ruby as a Transaction ?" - sounds like they really think you can do: `system "rm -rf /bin`; raise System::Rollback and we're all good.
ldnunes has quit [Quit: Leaving]
<baweaver> yeah, entire issue is you'd have to define what it means to rollback
<baweaver> which in the context of a database is straightforward
<baweaver> not so much in Unix
<smathy> Right, very unlikely a DB transaction block.
<baweaver> you'd end up reimplementing transactions effectively when if branches would work
johnmilton has quit [Ping timeout: 276 seconds]
Asher has quit [Read error: Connection reset by peer]
Devalo has quit [Ping timeout: 276 seconds]
<postmodern> is there a watchdog script for resque/sidekiq that can restart killed/stalled workers?
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
kies has quit [Ping timeout: 244 seconds]
symm-_ is now known as symm-
<smathy> I like how you make operating-system level transactions sound totally possible ;)
<smathy> "Hey, so you have a couple of choices here, either invent a time machine, or use if statements."
<smathy> Maybe if they use Python.
davedev24 has quit []
FooMunki has quit [Quit: FooMunki]
dmr8 has quit [Quit: Leaving]
<baweaver> postmodern: probably something like Monit, Runnit, Bluepill, or God
iamvery has quit [Ping timeout: 276 seconds]
<baweaver> process monitors, most of them probably have something similar to that.
<baweaver> smathy: import 'time_machine'
<smathy> :)
<baweaver> smathy: I know I have a problem when I seriously consider how you could do system level transactions
<baweaver> my faith in myself is slightly restored when I come to the conclusion it's way more effort than it'd be worth
kareeoleez has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
rbennace_ has quit [Remote host closed the connection]
<smathy> postmodern, just use the pro product, it handles worker crashes much better, leaves the job there to be retried later.
toretore has quit [Ping timeout: 252 seconds]
johnmilton has joined #ruby
<postmodern> actually, this might be possible via plain-old upstart https://gist.github.com/jpayne/3677675
sp4rrow has joined #ruby
bkxd has joined #ruby
sepp2k has quit [Quit: Leaving.]
rheddry is now known as levifig
nando293921 has quit [Ping timeout: 276 seconds]
<smathy> Not if the job has already been removed from redis.
benlieb has joined #ruby
<postmodern> smathy, then it will be in the failed queue
<postmodern> smathy, i'm having issues with OOM killing workers, which slows down the queue
Asher has joined #ruby
<postmodern> and it appears upstart has tools for dealing with this! http://upstart.ubuntu.com/cookbook/#oom-score
<smathy> Cool, I have no idea what an OOM is.
<smathy> I just assumed you'd mistyped MOM and you had a really mean mother.
juh_ has quit [Quit: Page closed]
<baweaver> smathy: it's what a cow says in Australia
<smathy> "Seriously MOM, I'M WORKING!!!"
rbr has joined #ruby
<smathy> Heh, isn't that OOW ?
S_Waqas has quit [Ping timeout: 244 seconds]
<baweaver> fair point
<baweaver> Radar: what do cows say in Australia?
cloaked1 has quit [Quit: Lost terminal]
zenlot has quit [Ping timeout: 252 seconds]
<havenwood> baweaver: oom
<postmodern> or would it be oow?
tfitts has joined #ruby
<havenwood> ha
zenlot has joined #ruby
<havenwood> ooɯ
<baweaver> I think we've milked this one enough for now in any case.
<havenwood> or ɯoo
* smathy reminds baweaver that he's Australian too
shazaum_ has quit [Quit: Leaving]
<baweaver> It's become udderly offtopic
<smathy> Two in a row.
<baweaver> It would behoove you not to keep count
fossel has joined #ruby
seydar has joined #ruby
<seydar> i've been living under a rock. what alternative to rvm should i be using?
<baweaver> havenwood: where was that magic link?
<baweaver> havenwood: for rbenv from radar
cutebarista has joined #ruby
<smathy> :)
<seydar> is everyone using rbenv nowadays?
<shevy> I use the source!
palms has quit [Ping timeout: 260 seconds]
<seydar> shevy: mah boi
<seydar> which is what i'd love to do, but i want to easily switch between rubies (rbx and mri)
rbr has quit [Ping timeout: 240 seconds]
<baweaver> there it was
<seydar> and sudo and rubygems has always been a headache because root has different gems installed than my local user; any recommendation for getting around that?
zacstewart has quit [Ping timeout: 276 seconds]
<seydar> also shevy, do you have any recommendations for process monitoring? i'm ready to move away from god. it's driving me crazy right now
solocshaw has quit [Ping timeout: 250 seconds]
<baweaver> I've heard monit and runit thrown around a lot
<baweaver> Bluepill and Eye seem just as bad if not worse
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
<ramfjord> What's wrong with rvm?
<ramfjord> well, besides the fact that you install it with curl | bash
<shevy> seydar hmm no real idea, don't think I ever did monitor process... aside from linux stuff... but I guess the only "monitoring" I do is to watch htop :P
Azure has joined #ruby
<seydar> ramfjord: i don't like using rvmsudo and i'm worried that i'm stuck in the past. i guess it has been fine for me, though the fact that it relies on bash makes me suspicious
<smathy> ramfjord, I needed nothing more than that FWIW, but also - doesn't it still mangle (aka: stub) `cd` and friends?
diegoaguilar has quit [Ping timeout: 276 seconds]
Moosashi has quit [Quit: Moosashi]
<seydar> baweaver: why does eye seem just as bad if not worse?
quakephil has left #ruby [#ruby]
<baweaver> tried contributing to it once
<baweaver> then ran the spec suite
<baweaver> took 2 hours to finish
<baweaver> that to me is a black flag
<seydar> i like that i can have it check processes by looking at a socket instead of a PID
<seydar> what do you use for monitoring then instead?
<baweaver> typically runit or monit
<baweaver> the code for Eye just spooked me
kirun has quit [Quit: Client exiting]
aghalarp has joined #ruby
Certainty has quit [Quit: Leaving]
Moosashi has joined #ruby
brianpWins has joined #ruby
<seydar> runit looks like it replaces init, which is not what i would expect to use for monitoring
<seydar> maybe you're about to upgrade my *nix knowledge right now
DefV has quit [Ping timeout: 260 seconds]
Kallis has joined #ruby
DefV has joined #ruby
<eam> seydar: generally you'd run runit under init, not in place of it
<nofxx> Using systemd as monitor for years now, only happiness
<nofxx> as monitor = restart true, which does what's needed
<eam> it's supplementary
<nofxx> also good is that every lib/db/whatever and the app are on systemd, so just "one place to look"
<baweaver> my unix fu is not what I would call amazing by any means
<eam> (which is a key reason to use runit instead of some hulking piece of non-portable trash like systemd)
roadt has quit [Ping timeout: 260 seconds]
lemur has joined #ruby
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> I've been using daemontools/runit across a decade and a half and across four different init reinventions
<nofxx> Over 3 years using w/o ANY issue. Disagree with trash.
<nofxx> and as portable, any good distro uses it, so...
<eam> nofxx: BSD?
<eam> solaris?
<seydar> havenwood: so i've got a handful of apps/sites running on my server. would you recommend not monitoring them?
JesseH has quit [Remote host closed the connection]
<eam> lol @ "it's portable it runs on some of the most popular linuxes"
<seydar> havenwood: actually reading the link you sent me; i should let my OS handle the daemons. you're right, i'm micromanaging
<seydar> i need to step back and let my work live on its own
DefV has quit [Ping timeout: 276 seconds]
* baweaver currently has a strong dislike of Nagios
<nofxx> who runs apps on BSD? but out of curiosity, does it monitor/restart too? runit
DefV has joined #ruby
<seydar> baweaver: i now see why i should be using runit/init
firstdayonthejob has quit [Ping timeout: 276 seconds]
lemur has quit [Ping timeout: 250 seconds]
Moosashi has quit [Quit: Moosashi]
baweaver has quit [Remote host closed the connection]
Spami has joined #ruby
DefV has quit [Ping timeout: 250 seconds]
diegoaguilar has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Moosashi has joined #ruby
rkazak has joined #ruby
giz|work has joined #ruby
sp4rrow has joined #ruby
ljames has quit [Ping timeout: 260 seconds]
<eam> nofxx: yes
nrd_pxs has quit [Ping timeout: 252 seconds]
saneax_AFK is now known as saneax
biberu has quit []
baweaver has joined #ruby
kies has joined #ruby
mwlang has quit [Quit: mwlang]
seydar has quit [Quit: leaving]
RegulationD has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 252 seconds]
mlakewood has joined #ruby
DefV has joined #ruby
benlieb has quit [Quit: benlieb]
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GinoMan2440 has joined #ruby
LiquidIn1ect has quit [Ping timeout: 268 seconds]
whippythellama has quit [Quit: WeeChat 1.4]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
LiquidInsect has joined #ruby
arescorpio has joined #ruby
wldcordeiro has quit [Ping timeout: 260 seconds]
ismaelga has joined #ruby
wldcordeiro has joined #ruby
plujon has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ryan_notabot has joined #ruby
Nanuq has quit [Quit:
ur5us has joined #ruby
SilverKey has joined #ruby
bkxd has joined #ruby
SilverKey has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ramfjord_ has joined #ruby
benlieb has joined #ruby
freerobby1 has quit [Quit: Leaving.]
ramfjord has quit [Ping timeout: 260 seconds]
catfood is now known as catpoop
brianpWins has quit [Quit: brianpWins]
Nanuq has joined #ruby
ryan_notabot has quit [Ping timeout: 276 seconds]
<zenspider> ok. I'm genuinely stumped and need help.
<zenspider> Marshal.dump(x) #=> TypeError: singleton can't be dumped
<zenspider> Marshal.dump x.instance_variables.map { |iv| [iv, x.instance_variable_get(iv)] } # => works fine
<zenspider> Marshal.dump x.class # => works fine
<zenspider> when is an object unmarshalable when all of its state IS marshalable ?
bronson has joined #ruby
Stazer has joined #ruby
sp4rrow has joined #ruby
Limix has quit [Quit: Limix]
bronson has quit [Ping timeout: 240 seconds]
sp4rrow has quit [Client Quit]
<zenspider> ARGH. I have NO CLUE where to go from here
<baweaver> Ox0dea, eam, jhass
benlieb has quit [Quit: benlieb]
<smathy> zenspider, x.singleton_methods returns what?
jackjackdripper has quit [Ping timeout: 246 seconds]
jackjackdripper1 has joined #ruby
whathapp_ has quit [Remote host closed the connection]
swills has quit [Remote host closed the connection]
<ule> hey guys.. what's the name of this: def foo(a, *b) ......
sp4rrow has joined #ruby
<ule> and --> foo(1, 2, 3, 4, 5)
<ule> that b becomes an array
<ule> what's the name of that parameter?
<Ox0dea> ule: We say that `b` is "splatted".
<smathy> The * is the splat operator.