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/
baweaver has joined #ruby
zel has joined #ruby
ctrlrsf has joined #ruby
zel is now known as Guest19224
`tim` has joined #ruby
<hays> if i was going to randomly choose an alternative ruby interpreter what would be the best choice? im leaning towards jruby because it seems less experimental
ta_ has quit [Read error: Connection reset by peer]
<hays> (than rubinious)
bob434 has quit [Quit: This computer has gone to sleep]
ta_ has joined #ruby
<smathy> It'd depend on my reasons for choosing an alternative.
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
dorje has quit [Remote host closed the connection]
ChiefAlexander has quit [Ping timeout: 250 seconds]
<hays> largely because i want threading to actually work
xcesariox has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 240 seconds]
<Arcaire> I'd suggest MRI then.
<Arcaire> jruby is good with threads iirc
<hays> MRI? that is the one that seems to have a gil limitation where threads stay on one core
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> hays: jruby is pretty good
bob434 has joined #ruby
<benzrf> !troll benzrf
<benzrf> looks like it needs perms, graft
<eam> wow why'd benzrf just mute himself
<benzrf> :>
<hays> now i just have to get it to build on my mac. heh
symm- has joined #ruby
<eam> hays: well, it's a jar
<eam> you have java right
<hays> yep
<hays> i get quite the error out of macport
<hays> macports.
`tim` has quit [Ping timeout: 252 seconds]
<Arcaire> that's probably because you're using macports
chipotle has quit [Ping timeout: 260 seconds]
<Arcaire> λ ruby-install jruby
<Arcaire> >>> Installing jruby 9.0.5.0 into /Users/elliot/.rubies/jruby-9.0.5.0 ...
<hays> macports has treated me pretty well.
<Arcaire> :)
<Arcaire> Yeah but does it treat you THAT ^ well?
<hays> not sure what that is
<Arcaire> Me installing jruby without hassle, really.
gizmore has joined #ruby
CloCkWeRX has joined #ruby
ferr has quit [Ping timeout: 252 seconds]
<hays> well then not that well i guess :)
<hays> life is compromises
<Arcaire> Good grief he's changed his colors and that one is probably the most grating shade of orange since carrots.
phoo1234567 has quit [Quit: Leaving]
william3 has joined #ruby
baweaver has joined #ruby
<hays> heh. yeah i've thought about moving to brew.
idefine has joined #ruby
LoneHermit has joined #ruby
gizless has quit [Ping timeout: 268 seconds]
gizless has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
gizmore has quit [Ping timeout: 268 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 260 seconds]
tvon[laptop] has joined #ruby
tvon has quit [Read error: Connection reset by peer]
bronson has quit [Read error: Connection reset by peer]
bronson has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
callen92 has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SirFunk has quit [Remote host closed the connection]
xxneolithicxx has quit [Quit: Leaving.]
chipotle has joined #ruby
marr has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
shazaum_ has joined #ruby
tubuliferous has joined #ruby
sneakerhax has quit [Ping timeout: 260 seconds]
gregf has joined #ruby
RegulationD has quit [Ping timeout: 268 seconds]
ss_much has joined #ruby
bruce_lee has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
godzillaenlacasa has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
chipotle has quit [Quit: cheerio]
crime has quit [Ping timeout: 250 seconds]
<havenwood> Radar: You should switch the instructions ^ to use: brew install ruby-install chruby
mclong has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
gregf has joined #ruby
axisys has quit [Ping timeout: 260 seconds]
axisys has joined #ruby
ropeney has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
SirFunk has joined #ruby
jaequery has joined #ruby
idefine_ has joined #ruby
william3 has joined #ruby
axisys has quit [Read error: Connection reset by peer]
idefine has quit [Ping timeout: 276 seconds]
axisys has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
icey has quit [Remote host closed the connection]
<smathy> :)
idefine has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
idefine_ has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
devbug has quit [Quit: ZZZzzz…]
godzillaenlacasa has quit [Quit: ZZZZZ....]
chouhoulis has quit [Ping timeout: 244 seconds]
JBlazeCoder21 has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
benlieb has quit [Quit: benlieb]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
devbug has joined #ruby
JBlazeCoder21 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
blackgoat has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
jonr22 has quit []
gregf has quit [Quit: WeeChat 1.4]
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
benlieb has joined #ruby
* havenwood realizes the blog is open source
mclong has joined #ruby
lemur has joined #ruby
gleo2430 has joined #ruby
gleo2430 has left #ruby [#ruby]
gregf has joined #ruby
beawesomeinstead has quit [Ping timeout: 276 seconds]
johnmilton has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 250 seconds]
beawesomeinstead has joined #ruby
x77686d has quit [Quit: x77686d]
moeabdol has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Read error: Connection reset by peer]
davedev24 has quit []
idefine has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
blackgoat has joined #ruby
binaryplease1 has joined #ruby
brianpWins has quit [Ping timeout: 268 seconds]
nando293921 has joined #ruby
binaryplease has quit [Ping timeout: 250 seconds]
masconejos has joined #ruby
idefine_ has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
rohit has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
pawnbox has joined #ruby
<masconejos> hi all. I have a question about lazy enumerators. I was doing a project euler problem and created a lazy enumerator and then did a series of functional operations on it. However, I’m having issues witht he data type of the result. Sometimes it’s an array of numbers (which is what I expect), sometimes its an array of arrays, depending on how I use it. Anyone interested in offering some insight?
binaryplease1 is now known as binaryplease
idefine_ has quit [Ping timeout: 244 seconds]
<masconejos> basically if I do result.each { |x| puts x } I get numbers
s1kx has quit [Quit: bai]
<masconejos> but if I do result.map.with_index { |x, index| puts x } I get an array
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aeterne_ has quit [Read error: Connection reset by peer]
vircung has quit [Ping timeout: 276 seconds]
vircung has joined #ruby
<masconejos> and result.map(&:first) fails because FixNum doesn’t have a ‘first’ method, while result.map{|x,_| x} returns a number
rohit has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
<masconejos> the way the lazy enumerator is interpreted seems very arbitrary
Cohedrin has quit [Remote host closed the connection]
Cohedrin has joined #ruby
benlieb has quit [Quit: benlieb]
Waqas has joined #ruby
rbennace_ has quit [Ping timeout: 250 seconds]
danielpclark has joined #ruby
benlieb has joined #ruby
baweaver has quit [Ping timeout: 246 seconds]
benlieb has quit [Client Quit]
devbug has quit [Quit: ZZZzzz…]
baweaver has joined #ruby
blackmesa has joined #ruby
ICantCook has joined #ruby
<Radar> havenwood: patches welcome
<smathy> Heh, keep reading ;)
skweek has joined #ruby
<smathy> masconejos, a few of us were talking about precisely that the other day and we ended up punting.
rbennacer has joined #ruby
<Radar> havenwood: and then I realised you already submitted a PR
<Radar> havenwood: you are too cool
Cohedrin has quit [Read error: No route to host]
zacts has joined #ruby
<masconejos> smathy, well, glad to know I’m not alone
SCHAAP137 has quit [Quit: Leaving]
Cohedrin has joined #ruby
<smathy> That is, unfortunately, the only comfort I can offer.
<masconejos> smathy, it’s really the dichotomy between .each and .each.with_index that throws me. From experimenting, it seems like .each perhaps convert the lazy array to a fully-realized array and .with_index doesnt, but it’s still rather baffling
<masconejos> …except .each.class still returns a lazy array
danielpclark has quit [Quit: Leaving]
<masconejos> also the need to do .with_object.take_while{} rather than take_while.with_object{} was a little odd
rohit has joined #ruby
patrick99e99 has quit [Quit: Page closed]
hxegon has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<masconejos> it’s also handy that apparently the (with_object) object is cloned every iteration, rather than modified, but at the same take there is a LOT going on under the hood that isn’t at all obvious. I would have excpeted that there was only one object that was modified each pass (at least that was my intent)
Caerus has quit [Ping timeout: 250 seconds]
idefine_ has joined #ruby
bronson has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
Caerus has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
arescorpio has joined #ruby
shazaum_ has quit [Quit: Leaving]
bronson has quit [Ping timeout: 252 seconds]
CloCkWeRX has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
Rickmasta has joined #ruby
lacuna has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Remote host closed the connection]
ensyde has joined #ruby
bronson has joined #ruby
idefine_ has quit [Read error: Connection reset by peer]
william3 has quit [Ping timeout: 246 seconds]
idefine has joined #ruby
JBlazeCoder21 has joined #ruby
chipotle has joined #ruby
BSab has joined #ruby
JBlazeCoder21 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
BrunoSaboia has quit [Ping timeout: 252 seconds]
nanoz has joined #ruby
CoderPuppy has joined #ruby
x77686d has joined #ruby
LoneHermit has quit [Remote host closed the connection]
cpup has quit [Ping timeout: 244 seconds]
masconejos has quit [Ping timeout: 246 seconds]
vircung has quit [Ping timeout: 276 seconds]
blackwell has quit [Quit: ZNC 1.6.3 - http://znc.in]
GodFather has quit [Ping timeout: 244 seconds]
masconejos has joined #ruby
Waqas has quit [Ping timeout: 244 seconds]
devbug has joined #ruby
idefine has quit [Read error: Connection reset by peer]
vircung has joined #ruby
idefine has joined #ruby
idefine has quit [Read error: Connection reset by peer]
bronson has quit [Remote host closed the connection]
idefine has joined #ruby
tsherman has joined #ruby
nanoz has quit [Changing host]
nanoz has joined #ruby
tsherman has quit [Remote host closed the connection]
tvon[laptop] is now known as tvon
_wwwBukoLaycom has quit [K-Lined]
jaguarmagenta has joined #ruby
masconejos has quit [Ping timeout: 276 seconds]
emilford has joined #ruby
Eiam_ has joined #ruby
CloCkWeRX has joined #ruby
statelesscode has joined #ruby
blackwell has joined #ruby
masconejos has joined #ruby
RegulationD has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
jaguarmagenta has quit [Ping timeout: 268 seconds]
idefine_ has joined #ruby
<zacts> hi rubyists
RegulationD has quit [Ping timeout: 276 seconds]
zacts has quit [Quit: WeeChat 1.4]
idefine__ has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
idefine has joined #ruby
x77686d has quit [Quit: x77686d]
idefine_ has quit [Ping timeout: 240 seconds]
BtcBen has joined #ruby
william3 has joined #ruby
idefine__ has quit [Ping timeout: 240 seconds]
william3 has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
p1k has joined #ruby
yfeldblum has quit [Remote host closed the connection]
william3 has joined #ruby
blackmesa has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
smathy is now known as smathy_afk
cdg has quit [Remote host closed the connection]
idefine_ has joined #ruby
cdg has joined #ruby
callen92 has quit [Quit: Leaving]
william3 has quit [Ping timeout: 252 seconds]
dezull has joined #ruby
devbug has quit [Quit: ZZZzzz…]
idefine has quit [Read error: Connection reset by peer]
tildes has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 260 seconds]
mlakewood has quit [Quit: mlakewood]
rohit has quit [Quit: Leaving]
berserk_ren has joined #ruby
tildes has quit [Ping timeout: 268 seconds]
<masconejos> hi zacts
baweaver has quit [Ping timeout: 276 seconds]
akkad has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
moeabdol has joined #ruby
idefine_ has quit [Ping timeout: 240 seconds]
devbug has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
fedexo has joined #ruby
hxegon has quit [Client Quit]
moeabdol has quit [Ping timeout: 246 seconds]
idefine has joined #ruby
zast has joined #ruby
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
tildes has joined #ruby
freerobby has quit [Quit: Leaving.]
lxsameer has joined #ruby
masconejos has quit [Quit: masconejos]
aspiers_ has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
brendan- has joined #ruby
idefine_ has joined #ruby
SilverKey has quit [Quit: Halted.]
idefine has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 268 seconds]
gix has quit [Ping timeout: 246 seconds]
mesamoo has joined #ruby
yfeldblum has quit [Remote host closed the connection]
akkad has joined #ruby
jackjackdripper has joined #ruby
emilford has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
gix has joined #ruby
Guest49 has joined #ruby
idefine has joined #ruby
idefine_ has quit [Read error: Connection reset by peer]
idefine has quit [Remote host closed the connection]
Guest49 is now known as Elvin
diegoviola has quit [Quit: WeeChat 1.4]
pawnbox has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackgoat has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
berserk_ren has quit [Ping timeout: 276 seconds]
isxek has joined #ruby
djbkd has joined #ruby
ensyde has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
Elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
zapata has quit [Quit: WeeChat 1.4]
ramfjord has joined #ruby
_aeris_ has quit [Ping timeout: 276 seconds]
_aeris_ has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
zapata has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
hxegon has joined #ruby
swills has quit [Ping timeout: 268 seconds]
jackjackdripper has quit [Quit: Leaving.]
x77686d has joined #ruby
astrobun_ has joined #ruby
hxegon has quit [Client Quit]
idefine has joined #ruby
saneax_AFK is now known as saneax
kareeoleez has joined #ruby
tref has joined #ruby
pawnbox has joined #ruby
mclong has quit [Quit: Leaving]
konsolebox has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
Weavel has joined #ruby
agent_white has joined #ruby
idefine has quit [Ping timeout: 260 seconds]
Moosashi has quit [Quit: Moosashi]
<agent_white> Evenin'
Moosashi has joined #ruby
jaequery has joined #ruby
IrishGringo has joined #ruby
arquebus has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
koooge has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
ruskie has joined #ruby
bronson has joined #ruby
jaguarmagenta has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
hxegon has joined #ruby
mclong has joined #ruby
Devalo has joined #ruby
sneakerhax has joined #ruby
LoneHerm_ has joined #ruby
arquebus has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
nando293921 has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
statelesscode has quit [Quit: statelesscode]
rbennacer has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 276 seconds]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
PedramT has joined #ruby
tref has quit [Quit: tref]
dezull has quit [Ping timeout: 276 seconds]
tref has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
dezull has joined #ruby
solocshaw has joined #ruby
noService has quit [Ping timeout: 260 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
tref has quit [Quit: tref]
aspiers_ has joined #ruby
d0lph1n98 has joined #ruby
elaptics`away is now known as elaptics
moeabdol has joined #ruby
blackmesa has joined #ruby
devbug has quit [Quit: ZZZzzz…]
bob434 has quit [Quit: This computer has gone to sleep]
moeabdol has quit [Ping timeout: 246 seconds]
jackjackdripper has joined #ruby
devbug has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
zast has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
bob434 has joined #ruby
navneet_ has joined #ruby
arescorpio has quit [Quit: Leaving.]
d0lph1n98 has quit [Quit: leaving]
solocshaw has quit [Ping timeout: 268 seconds]
konsolebox has quit [Remote host closed the connection]
terlar has joined #ruby
p1k has quit [Ping timeout: 246 seconds]
bluOxigen has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
ponga has quit []
jenrzzz has joined #ruby
mclong has quit [Quit: Leaving]
bronson has joined #ruby
aspiers_ has quit [Ping timeout: 244 seconds]
izaac has joined #ruby
LoneHerm_ has joined #ruby
bob434 has joined #ruby
baweaver has joined #ruby
blackgoat has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
joonty has joined #ruby
Macaveli has joined #ruby
kareeoleez has quit [Remote host closed the connection]
sandelius has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
billy1234 has joined #ruby
marcdel has joined #ruby
<billy1234> I have a question. If I have a string that consists of nothing but numbers, and I attempt to assign it to a DB record column of type integer
<billy1234> will that throw an error?
joonty has quit [Ping timeout: 260 seconds]
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moosashi has quit [Quit: Moosashi]
<Arcaire> Anyone seen issues of DCell or ZeroMQ segfaulting before? I can only find half-decade-old bug reports on Github.
<Arcaire> I'm not doing anything with it, just kind of starting a DCell (zeromq-backed celluloid actors, i guess) instance.
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
<Arcaire> Ruby 2.3.0, dcell 0.16.1, ffi-rzmq 2.0.4 (all latest)
moeabdol has joined #ruby
chipotle has quit [Quit: cheerio]
noService has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
sadin has joined #ruby
bob434 has quit [Client Quit]
tref has joined #ruby
aufi has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
sauvin has joined #ruby
dionysus69 has joined #ruby
aupadhye has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
polysics has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moosashi has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
agent_white has quit [Quit: nig;ht]
<manveru> billy1234: depends on the db...
karapetyan has joined #ruby
<manveru> i know postgres won't allow stuff like that :)
<Arcaire> Assuming ActiveRecord, you'll be fine.
<Arcaire> AR automatically typecasts your input to the column type, so "12345" will be typecast to 12345 as an integer.
tildes has quit [Ping timeout: 244 seconds]
<manveru> i wouldn't call that "fine"...
<Arcaire> Make sure it's more or less a number in a string, though. "!~1234" isn't going to be typecast to 1234.
ta_ has quit [Remote host closed the connection]
<manveru> more like irresponsible :P
<Arcaire> manveru: Why bother explicitly casting a string to an integer if you know the input is going to translate correctly?
<Arcaire> You should be validating your input, sure, but the casting happens anyway.
karapetyan has quit [Ping timeout: 244 seconds]
brianpWins has joined #ruby
<manveru> so what happens with "1.0" or "1/2" or "0x12" or "012"
<manveru> what method does it use to convert
blackmesa has quit [Ping timeout: 276 seconds]
<Arcaire> Depends.
<Arcaire> If your column type is an integer, it'll probably use some glorified form of to_i/.
<Arcaire> So 1.0 is just going to become 1.
solars has joined #ruby
<Arcaire> "1/2" isn't an integer, nor a float. It's a fraction which is just a whole different ball game. That won't be casted properly. Same with most others you listed.
<Arcaire> 012 will go to 12 as expected.
<Arcaire> If you want it padded out to three you can do that within the DB because you need to ensure integrity at that level anyway.
<manveru> 012 is 10
<manveru> >> 012
<ruby[bot]> manveru: # => 10 (https://eval.in/560282)
<Arcaire> "012".to_i
<Arcaire> => 12
<Arcaire> "012" is not 012.
<manveru> >> Integer('012')
<ruby[bot]> manveru: # => 10 (https://eval.in/560283)
<Arcaire> Still not what I'm talking about.
<manveru> you don't know which one it uses though
<manveru> anw, my point is that implicit conversion is not safe
dezull has quit [Ping timeout: 260 seconds]
<Arcaire> That really depends on your input tbh.
<manveru> you can argue that it's convenient, but that's the same reason people use mongodb or mysql...
tref has quit [Quit: tref]
kareeoleez has joined #ruby
SilverKey has quit [Quit: Halted.]
chouhoulis has quit [Remote host closed the connection]
<manveru> AR doesn't even bother checking string lengths even though it has the schema information
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
<baweaver> Bob had a problem, so Bob decided to use MongoDB
PedramT has joined #ruby
rahult has quit [Ping timeout: 268 seconds]
kareeoleez has quit [Remote host closed the connection]
<Arcaire> Suddenly there's no problems anymore.
<Arcaire> :D
sandelius has joined #ruby
<baweaver> Now Bob has two problems
navneet__ has joined #ruby
elifoster has quit [Ping timeout: 276 seconds]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
kareeoleez has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
aupadhye has quit [Remote host closed the connection]
kriskropd has quit [Ping timeout: 250 seconds]
pLaToOn has joined #ruby
navneet_ has quit [Ping timeout: 246 seconds]
rahult has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ta_ has joined #ruby
firstdayonthejob has joined #ruby
jaequery has joined #ruby
LoneHerm_ has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
anisha has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
kriskropd has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tref has joined #ruby
jaruga___ has joined #ruby
jaruga___ has quit [Client Quit]
jaruga___ has joined #ruby
PedramT has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
Moosashi has quit [Quit: Moosashi]
CloCkWeRX has quit [Ping timeout: 276 seconds]
GriffinHeart has joined #ruby
djbkd has quit [Quit: My people need me...]
tildes has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
terlar has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
x77686d has quit [Quit: x77686d]
navneet__ has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 250 seconds]
jaruga___ has quit [Quit: jaruga___]
vdamewood has quit [Max SendQ exceeded]
vdamewood has joined #ruby
saneax is now known as saneax_AFK
LoneHerm_ has joined #ruby
stardiviner has joined #ruby
pawnbox has joined #ruby
firstdayonthejob has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
astrobun_ has joined #ruby
GinoMan2440 has quit [Read error: Connection reset by peer]
codecop has joined #ruby
saneax_AFK is now known as saneax
GinoMan2440 has joined #ruby
ur5us has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 244 seconds]
mrsolo has quit [Ping timeout: 264 seconds]
dezull has joined #ruby
DoubleMalt has joined #ruby
noodle has quit [Quit: /quit]
mrsolo has joined #ruby
dezull has quit [Client Quit]
noodle has joined #ruby
konsolebox has joined #ruby
mustmodify has quit [Read error: Connection reset by peer]
mustmodify has joined #ruby
latemus has joined #ruby
alxndr has quit [Ping timeout: 264 seconds]
joaomdmoura__ has quit [Ping timeout: 264 seconds]
AckZ has quit [Ping timeout: 264 seconds]
ELCALOR has quit [Ping timeout: 264 seconds]
bedouin has quit [Ping timeout: 264 seconds]
vcoinminer has quit [Ping timeout: 264 seconds]
Expanse has quit [Ping timeout: 264 seconds]
boxrick1_ has quit [Ping timeout: 264 seconds]
angiebadillo has quit [Ping timeout: 264 seconds]
kireevco has quit [Ping timeout: 264 seconds]
jxf has quit [Ping timeout: 264 seconds]
mjc_ has quit [Ping timeout: 264 seconds]
HashNuke_ has quit [Ping timeout: 264 seconds]
jlyndon has quit [Ping timeout: 264 seconds]
danzilio has quit [Ping timeout: 264 seconds]
daemonwrangler has quit [Ping timeout: 264 seconds]
pfg has quit [Ping timeout: 264 seconds]
braderhart has quit [Ping timeout: 264 seconds]
machty has quit [Ping timeout: 264 seconds]
caw has quit [Ping timeout: 264 seconds]
deimos__ has quit [Ping timeout: 264 seconds]
bove has quit [Ping timeout: 264 seconds]
lipoqil has quit [Ping timeout: 264 seconds]
swgillespie has quit [Ping timeout: 264 seconds]
chrismytton has quit [Ping timeout: 264 seconds]
latemus has quit [Client Quit]
UglyVendetta has quit [Quit: Leaving]
audiodude_ has quit [Ping timeout: 264 seconds]
jmcc__________ has quit [Ping timeout: 264 seconds]
deeprave has quit [Ping timeout: 264 seconds]
acerna has quit [Ping timeout: 264 seconds]
dmnd has quit [Ping timeout: 264 seconds]
im0b has quit [Ping timeout: 264 seconds]
Meow-J has quit [Ping timeout: 264 seconds]
ramblinpeck has quit [Ping timeout: 264 seconds]
S01780 has quit [Ping timeout: 264 seconds]
Eleeleth has quit [Ping timeout: 264 seconds]
ggherdov has quit [Ping timeout: 264 seconds]
jcp has quit [Ping timeout: 264 seconds]
acalewin has quit [Ping timeout: 264 seconds]
jimeh has quit [Ping timeout: 264 seconds]
pmarreck has quit [Ping timeout: 264 seconds]
iamdevnul has quit [Ping timeout: 264 seconds]
colstrom has quit [Ping timeout: 264 seconds]
lancetw has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
biberu has joined #ruby
jimcroft has quit [Ping timeout: 264 seconds]
colstrom has joined #ruby
Eleeleth has joined #ruby
jmcc__________ has joined #ruby
<rubirc> GOODBYE CLOUD
acerna has joined #ruby
audiodude_ has joined #ruby
<rubirc> WELCOEM BACK CLOUD
<Arcaire> u ok m8
braderhart has joined #ruby
thesheff17 has quit [Ping timeout: 276 seconds]
deimos__ has joined #ruby
pfg has joined #ruby
jlyndon has joined #ruby
vcoinminer has joined #ruby
boxrick1_ has joined #ruby
chrismytton has joined #ruby
iamdevnul has joined #ruby
caw has joined #ruby
lancetw has joined #ruby
im0b has joined #ruby
bedouin has joined #ruby
alxndr has joined #ruby
jcp has joined #ruby
S01780 has joined #ruby
daemonwrangler has joined #ruby
mjc_ has joined #ruby
M-Kodo has quit [Ping timeout: 276 seconds]
ELCALOR has joined #ruby
jxf has joined #ruby
jimeh has joined #ruby
Expanse has joined #ruby
HashNuke_ has joined #ruby
angiebadillo has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
acalewin has joined #ruby
danzilio has joined #ruby
dmnd has joined #ruby
lipoqil has joined #ruby
pmarreck has joined #ruby
deeprave has joined #ruby
blackmesa has joined #ruby
ramblinpeck has joined #ruby
thesheff17 has joined #ruby
swgillespie has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bove has joined #ruby
jimcroft has joined #ruby
machty has joined #ruby
AckZ has joined #ruby
joaomdmoura__ has joined #ruby
andikr has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
ferr has joined #ruby
lubekpl has joined #ruby
moeabdol has joined #ruby
M-Kodo has joined #ruby
ur5us has joined #ruby
futilegames has joined #ruby
kireevco has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
slackbotgz has joined #ruby
TomyWork has joined #ruby
william3 has joined #ruby
chouhoulis has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
nuck has quit [Ping timeout: 240 seconds]
ggherdov has joined #ruby
pawnbox has quit [Remote host closed the connection]
bluOxigen has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
elaptics is now known as elaptics`away
baweaver has quit [Remote host closed the connection]
Meow-J has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
karapetyan has joined #ruby
the_drow has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
konsolebox has quit [Quit: Leaving]
the_drow has quit [Max SendQ exceeded]
the_drow has joined #ruby
the_drow has quit [Max SendQ exceeded]
the_drow has joined #ruby
UserInNeed has quit [Changing host]
UserInNeed has joined #ruby
toretore has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
karapetyan has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
karapetyan has joined #ruby
bronson has joined #ruby
mark_66 has joined #ruby
CloCkWeRX has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 276 seconds]
tagaulap has joined #ruby
nuck has joined #ruby
nuck is now known as Guest57291
joast has joined #ruby
cdg has joined #ruby
norc has joined #ruby
tref has quit [Quit: tref]
tax has quit [Ping timeout: 268 seconds]
<norc> >> A = Struct.new(:a) { include Comparable; def <=>(o) a.to_i <=> o; end; }; a, b = A.new(1), A.new(2); a < b
<ruby[bot]> norc: # => comparison of A with A failed (ArgumentError) ...check link for more (https://eval.in/560367)
ta_ has joined #ruby
<norc> This has got to be the most useless error message.
william3 has joined #ruby
<norc> I mean the problem is obvious, but why is the error message this bad.
UglyVendetta has joined #ruby
vdamewood has quit [Ping timeout: 246 seconds]
<norc> I would have an expected an "comparison of Fixnum with #<struct TelephoneNumber> failed"
navneet_ has joined #ruby
<norc> or #<struct A> rather.
tref has joined #ruby
<norc> Or just comparison of Fixnum with A failed.
william3 has quit [Ping timeout: 240 seconds]
aganov has joined #ruby
diegoaguilar has joined #ruby
devbug has quit [Quit: ZZZzzz…]
nofxx has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
brianpWins_ has joined #ruby
devbug has joined #ruby
robbyoconnor has joined #ruby
slackbotgz has quit [Remote host closed the connection]
brianpWins has quit [Ping timeout: 276 seconds]
brianpWins_ is now known as brianpWins
tref has quit [Quit: tref]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
igam has joined #ruby
william3 has joined #ruby
karapetyan has quit [Remote host closed the connection]
<adaedra> Bonjour
william3 has quit [Ping timeout: 260 seconds]
roshanavand has joined #ruby
blackgoat has quit [Ping timeout: 240 seconds]
galeido has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
duderono_ has joined #ruby
duderonomy has quit [Ping timeout: 260 seconds]
navneet_ has quit [Ping timeout: 252 seconds]
<Caerus> hello #ruby :)
tubuliferous has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
DaniG2k has joined #ruby
karapetyan has joined #ruby
DaniG2k_ has joined #ruby
navneet_ has joined #ruby
last_staff has joined #ruby
blackmesa has joined #ruby
DaniG2k has quit [Ping timeout: 260 seconds]
ChiefAlexander has quit [Quit: Leaving...]
htmldrum has joined #ruby
DaniG2k_ has quit [Quit: leaving]
DaniG2k has joined #ruby
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
pandaant has joined #ruby
BtcBen has quit [Ping timeout: 260 seconds]
thorgi has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
johnbat26 has joined #ruby
chouhoulis has joined #ruby
saneax is now known as saneax_AFK
thorgi has joined #ruby
william3 has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
duderono_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
marr has joined #ruby
DaniG2k has quit [Quit: leaving]
terlar has joined #ruby
Coldblackice_ has quit [Ping timeout: 250 seconds]
jaiks1 has quit [Ping timeout: 250 seconds]
Moosashi has joined #ruby
roelof has joined #ruby
<roelof> If I have a string let's say "abcdefghij
<roelof> Can I divide it into pieces of 4 characters ?
karapetyan has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 276 seconds]
baweaver has quit [Ping timeout: 268 seconds]
saneax_AFK is now known as saneax
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
Snowy has joined #ruby
tomphp has joined #ruby
karapetyan has joined #ruby
<Caerus> roelof, you could use split with regex
bronson has joined #ruby
william3 has joined #ruby
lkba_ has quit [Ping timeout: 260 seconds]
jaiks1 has joined #ruby
<roelof> oke, I try to figure out how I can divide this : # ## ## ## ### ### ## # # ### ## # # # # # ### # ## # ## ## ### # # # # # # # # # # ### ### into parts of 5 characters for several days
bronson has quit [Ping timeout: 252 seconds]
gizless has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<adaedra> >> "jhdfskgjvfhxkjvbkxbvkxjbcf".chars.each_slice(5).map(&:join)
<ruby[bot]> adaedra: # => ["jhdfs", "kgjvf", "hxkjv", "bkxbv", "kxjbc", "f"] (https://eval.in/560428)
howdoico1 has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
astrobun_ has quit [Ping timeout: 250 seconds]
astrobu__ has joined #ruby
aupadhye has joined #ruby
<roelof> adaedra: thanks, that looks very good
ur5us has quit [Remote host closed the connection]
<gregf_> roelof: theres many ways to split it
hk238 has joined #ruby
<gregf_> >> "abcdefghij".scan(/.{4}/) # thats another :|
<ruby[bot]> gregf_: # => ["abcd", "efgh"] (https://eval.in/560433)
<roelof> gregf_: oke, I did not find a working one in the 2 - 3 days im working on this problem
<adaedra> roelof: what did you try?
Es0teric has quit [Quit: Computer has gone to sleep.]
<roelof> I tried split and chars
aupadhye has quit [Ping timeout: 252 seconds]
<adaedra> show us.
<roelof> >> "abcdef".split
<adaedra> Do you know how split works?
<roelof> >> "abcdef".chars
<roelof> yep, split "divides" a text if you say where to split
<adaedra> and you see why yours doesn't work then?
<roelof> yep
<adaedra> String#chars was a nice way of starting, you just needed to find a way to group, as I shown above
CloCkWeRX has quit [Ping timeout: 246 seconds]
<roelof> yes, and that part I did not see how to do it
<roelof> there are a lot of functions I did not learn or have used before
<adaedra> note that there is a fundamental difference between gregf_'s solution and mine
<gregf_> er
<adaedra> Ruby has a lot of functions and even after doing Ruby for years, you can still find new things.
iamvery has quit [Ping timeout: 260 seconds]
<gregf_> well mine needs to change a bit :| just saw i missed something
<isxek> what does .scan(/.{4}/) mean?
<gregf_> >> "abcdefghij".scan(/.{1,4}/) # thats another :|
<ruby[bot]> gregf_: # => ["abcd", "efgh", "ij"] (https://eval.in/560434)
minimalism has quit [Quit: minimalism]
<adaedra> &ri String#scan
<gregf_> >> "abcdefghij".chars.inject("") { |str,c| str+=c; str.size == 4 ? begin;p str; "";end : str } # and another... there far too many. its Ruby!!
<isxek> ah, of course, it's a regex pattern
<ruby[bot]> gregf_: # => "abcd" ...check link for more (https://eval.in/560435)
stardiviner has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
<roelof> Thanks all, I think I can continue to solve the challenge im working on
<roelof> and next on my list. learn regex :)
ferr has joined #ruby
roelof has quit [Quit: Page closed]
mikecmpb_ is now known as mikecmpbll
skade has joined #ruby
skade has quit [Client Quit]
skade has joined #ruby
tildes_ has joined #ruby
aupadhye has joined #ruby
Moosashi has quit [Quit: Moosashi]
Nahra has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
banister has joined #ruby
iamvery has joined #ruby
howdoico1 has quit [Ping timeout: 252 seconds]
astrobu__ has quit [Remote host closed the connection]
AlexJakeGreen has joined #ruby
pawnbox has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
Moosashi has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n0x90 has joined #ruby
n0x90 has left #ruby [#ruby]
SCHAAP137 has joined #ruby
skislak has joined #ruby
chouhoulis has joined #ruby
moeabdol has quit [Ping timeout: 252 seconds]
terlar has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
iamvery has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
n008f4g_ has joined #ruby
evidex has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
bluOxigen has left #ruby [#ruby]
iamvery has joined #ruby
jaguarmagenta has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
mrgrieves has joined #ruby
moeabdol has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 276 seconds]
Emmanuel_Chanel has joined #ruby
Moosashi has quit [Quit: Moosashi]
jenrzzz has quit [Ping timeout: 276 seconds]
iamvery has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
MyMind has joined #ruby
blaxter has joined #ruby
Sembei has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
marcdel has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
jenrzzz has joined #ruby
marcdel has joined #ruby
Shashikant86 has joined #ruby
johnmilton has quit [Ping timeout: 250 seconds]
mrgrieves has quit [Read error: Connection reset by peer]
navneet_ has quit [Ping timeout: 246 seconds]
navneet has joined #ruby
vondruch has quit [Ping timeout: 250 seconds]
koooge has quit [Quit: Leaving...]
jenrzzz has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
chipotle has joined #ruby
johnmilton has joined #ruby
vondruch has joined #ruby
arlek has joined #ruby
platzhirsch has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
iamvery has joined #ruby
tomphp_ has joined #ruby
antgel has joined #ruby
tomphp has quit [Ping timeout: 246 seconds]
johnmilton has quit [Remote host closed the connection]
platzhirsch has quit [Quit: Leaving.]
chouhoulis has joined #ruby
platzhirsch has joined #ruby
platzhirsch has quit [Client Quit]
PedramT has joined #ruby
kalz has quit [Ping timeout: 264 seconds]
kalzz has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
giz|work has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
kalzz has joined #ruby
htmldrum has joined #ruby
bluOxigen_ has joined #ruby
rodfersou has joined #ruby
Moosashi has joined #ruby
baweaver has quit [Ping timeout: 276 seconds]
mdw has joined #ruby
mdw_ has joined #ruby
kalz has joined #ruby
bronson has joined #ruby
sgambino has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
PedramT has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
troulouliou_div2 has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 268 seconds]
cdg has quit [Remote host closed the connection]
<ujjain> what is #{} ?
PedramT has joined #ruby
Macaveli has joined #ruby
<Ox0dea> ujjain: Interpolation.
Xeago has quit [Ping timeout: 240 seconds]
<Ox0dea> >> a = 1; b = 2; "#{a} + #{b} = #{a + b}"
<ruby[bot]> Ox0dea: # => "1 + 2 = 3" (https://eval.in/560573)
<ujjain> ah ok
<ujjain> http://pastebin.com/QwxpQBjF - can i use $ here?
<ruby[bot]> ujjain: as I told you already, please use https://gist.github.com
<Ox0dea> You have to interpolate it.
moeabdol has quit [Ping timeout: 252 seconds]
<Ox0dea> But yes, almost any Ruby expression can be interpolated.
moeabdol has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
devbug has quit [Quit: ZZZzzz…]
htmldrum has quit [Ping timeout: 276 seconds]
Ishido has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has joined #ruby
Moosashi has quit [Quit: Moosashi]
Shashikant86 has joined #ruby
siaw has joined #ruby
platzhirsch has joined #ruby
GodFather has joined #ruby
Danielss89 has quit [Quit: Bye]
banister has joined #ruby
Danielss89 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Danielss89 has quit [Client Quit]
Danielss89 has joined #ruby
KlongDor has joined #ruby
lkba has joined #ruby
KlongDor is now known as GoatHandler
dionysus69 has quit [Ping timeout: 246 seconds]
astrobunny has quit [Read error: Connection reset by peer]
lkba has quit [Remote host closed the connection]
Dry_Lips has quit [Quit: ZNC 1.6.3 - http://znc.in]
BTRE has quit [Quit: Leaving]
carella has joined #ruby
astrobunny has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
skade has joined #ruby
dionysus69 has joined #ruby
blackgoat has joined #ruby
<ujjain> I would like to see if @timeout_exception is set. It's set in the code, but unset in the cucumber/gherkin test? https://gist.github.com/ujjain/5cb02afa3a4030d7c11624590cc45e7e
PedramT has quit [Remote host closed the connection]
banister has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
banister has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
gnufied has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
PedramT has joined #ruby
carella has quit [Remote host closed the connection]
Sp4rKy has quit [Changing host]
Sp4rKy has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
IrishGringo has joined #ruby
william3 has quit [Remote host closed the connection]
Pisuke has joined #ruby
johnmilton has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
MyMind has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
dumdedum has joined #ruby
pawnbox has joined #ruby
navneet has quit [Ping timeout: 244 seconds]
navneet has joined #ruby
blaxter has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
vondruch has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
jaguarmagenta has joined #ruby
mdw_ has quit [Ping timeout: 276 seconds]
ldnunes has joined #ruby
GinoMan2440 has quit [Read error: Connection reset by peer]
mdw has quit [Ping timeout: 268 seconds]
nettoweb has joined #ruby
william3 has joined #ruby
GinoMan2440 has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
vondruch has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
PedramT has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 260 seconds]
senayar has quit [Remote host closed the connection]
the_drow has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
skade has joined #ruby
senayar has quit [Remote host closed the connection]
william3 has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
p1k has joined #ruby
sepp2k has joined #ruby
mdw has joined #ruby
crameth has joined #ruby
<shevy> ruby-2.3.1 - who of you already switched
moeabdol has joined #ruby
sgambino has joined #ruby
gdp has joined #ruby
p1k has quit [Ping timeout: 246 seconds]
GinoMan2440 has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Client Quit]
drptbl has joined #ruby
carella has joined #ruby
allcentury has joined #ruby
navneet has quit [Remote host closed the connection]
twistedbotYYY has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
twistedbotYYY has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
sdothum has joined #ruby
Artabros has joined #ruby
Macaveli has quit [Ping timeout: 250 seconds]
bob434 has joined #ruby
dumdedum has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
lxsameer has quit [Quit: WeeChat 1.4]
GodFather has joined #ruby
blaxter has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
hk238 has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
htmldrum has quit [Ping timeout: 246 seconds]
twistedbotYYY has quit [Remote host closed the connection]
<shevy> wheeee ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] \o/
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
akostadinov has joined #ruby
chouhoulis has joined #ruby
mostlybadfly has joined #ruby
Macaveli has joined #ruby
oqui has quit [Quit: Leaving]
swills has joined #ruby
statelesscode has joined #ruby
swills has quit [Client Quit]
baweaver has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
benlovell has joined #ruby
mkosaki has joined #ruby
Macaveli has quit [Ping timeout: 246 seconds]
[diecast] has joined #ruby
<[diecast]> is fog the preferred library for use with aws?
twistedbotYYY has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
bob434 has quit [Quit: This computer has gone to sleep]
baweaver has quit [Ping timeout: 268 seconds]
swills has joined #ruby
PedramT has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
htmldrum has joined #ruby
PedramT has joined #ruby
erict has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
bluOxigen_ has quit [Ping timeout: 252 seconds]
swills has quit [Ping timeout: 246 seconds]
ropeney has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
giz|work has quit [Ping timeout: 276 seconds]
pawnbox_ has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
moeabdol has joined #ruby
malconis has joined #ruby
Macaveli has joined #ruby
emilford has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
bluOxigen has joined #ruby
y2mq37 has joined #ruby
Macaveli has quit [Client Quit]
GodFather has quit [Ping timeout: 268 seconds]
allcentury has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
markand has joined #ruby
<markand> hello guys
<markand> I have the following error while my rbpdf is installed : http://pastebin.com/eS3vVETB
<ruby[bot]> markand: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/75102d0d60289ebaa0f96ac6c7d29aa4
<ruby[bot]> markand: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
drptbl has quit [Quit: See you later!]
blackms has joined #ruby
polysics has quit [Read error: Connection reset by peer]
lubekpl has quit [Read error: Connection reset by peer]
lubekpl_ has joined #ruby
last_staff has quit [Quit: last_staff]
polysics has joined #ruby
pawnbox has joined #ruby
icey has joined #ruby
navneet has joined #ruby
pawnbox_ has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
Vile` has quit [Ping timeout: 240 seconds]
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
IrishGringo has joined #ruby
CoderPuppy has quit [Ping timeout: 260 seconds]
mr_rich101 has quit [Quit: ZNC - http://znc.in]
cpup has joined #ruby
mr_rich101 has joined #ruby
ramortegui has joined #ruby
Aswebb_ has joined #ruby
p1k has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
fmcgeough has joined #ruby
<TheBrayn> is there a repl which allows getting blocks of code from history like ipython does?
diegoaguilar has quit [Read error: Connection reset by peer]
mr_rich101 has quit [Client Quit]
diegoaguilar has joined #ruby
<TheBrayn> when I define a function in python and press up in the history I get the whole function and not just its last line like in irb or pry
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
twistedbotYYY has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
htmldrum has quit [Ping timeout: 276 seconds]
jmm6 has joined #ruby
twistedbotYYY has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
the_drow has quit [Quit: This computer has gone to sleep]
kareeole_ has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 244 seconds]
moeabdol has quit [Ping timeout: 252 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
kareeoleez has quit [Ping timeout: 268 seconds]
<jmm6> a
<igam> TheBrayn: yesterday, I suggested to implement the swank for ruby…
kareeole_ is now known as kareeoleez
markand has left #ruby [#ruby]
<TheBrayn> what is “the swank”?
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
jmm6 has quit [Client Quit]
Rutix has quit [Ping timeout: 244 seconds]
hk238 has joined #ruby
Shashikant86 has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
moeabdol has joined #ruby
twistedbotYYY has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
mr_rich101 has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
twistedbotYYY has joined #ruby
harry111 has joined #ruby
<harry111> hello
marr has quit [Ping timeout: 276 seconds]
victortyau has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
fragtastic has quit [Remote host closed the connection]
kam270 has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
EdwardIII has quit [Ping timeout: 268 seconds]
solocshaw has joined #ruby
saneax is now known as saneax_AFK
cpup has joined #ruby
EdwardIII has joined #ruby
sgambino has joined #ruby
Yiota has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
twistedbotYYY has quit [Remote host closed the connection]
<jackdaniel> TheBrayn: swank is a protocol for working with the language process remotely
<jackdaniel> for instance (for lisp), you may work through slime (emacs lisp program) with the Common Lisp implementation which "talks" swank
allcentury has joined #ruby
<TheBrayn> ah ok
johnDoe111 has joined #ruby
<jackdaniel> for ruby it may be a fancy interface ala irb, but accessible in a standarized way
<jackdaniel> afaik swank isn't lisp specific, but not 100% sure
aspiers_ has joined #ruby
bweston92 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 250 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
ponga has joined #ruby
Xeago has joined #ruby
flashpoint9 has joined #ruby
Xeago has quit [Remote host closed the connection]
Guest38 has joined #ruby
bronson has joined #ruby
TheHodge has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
anisha has quit [Quit: Leaving]
Waqas has joined #ruby
andikr has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 250 seconds]
joast has quit [Quit: Leaving.]
allcentury has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
cpup has joined #ruby
freerobby has joined #ruby
Waqas has quit [Ping timeout: 250 seconds]
Waqas has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
* harry111 learning ruby
mjuszczak has joined #ruby
Es0teric has joined #ruby
pawnbox has joined #ruby
joonty has joined #ruby
* jackdaniel too :)
flashpoint9 has quit [Read error: Connection reset by peer]
deadnull has joined #ruby
flashpoint9 has joined #ruby
kobain has joined #ruby
Pumukel has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpup has quit [Ping timeout: 268 seconds]
synthroid has joined #ruby
Sandman has quit [Read error: Connection reset by peer]
cpup has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
allcentury has joined #ruby
aspiers_ has quit [Ping timeout: 252 seconds]
minimalism has joined #ruby
Shashikant86 has joined #ruby
harry111 has quit [Quit: Leaving]
benlovell has quit [Ping timeout: 268 seconds]
zacts has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
idefine has joined #ruby
SuperLag has quit [Quit: Lost terminal]
Es0teric has quit [Quit: Computer has gone to sleep.]
<agent_white> Mornin'
mustmodify has left #ruby [#ruby]
d0lph1n98 has joined #ruby
moeabdol has quit [Ping timeout: 268 seconds]
pLaToOn has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
zacts has joined #ruby
SilverKey has joined #ruby
kam270 has quit [Quit: Leaving]
zacts has quit [Client Quit]
zacts has joined #ruby
idefine has quit [Remote host closed the connection]
rbennacer has joined #ruby
idefine has joined #ruby
idle_task has joined #ruby
idletask has quit [Disconnected by services]
idle_task is now known as idleatsk
idleatsk is now known as idletask
senayar has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
senayar has joined #ruby
SuperLag has joined #ruby
whippythellama has joined #ruby
prestorium has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
senayar has quit [Remote host closed the connection]
benlovell has joined #ruby
hxegon has quit [Max SendQ exceeded]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
p1k has quit [Ping timeout: 240 seconds]
St1gma has joined #ruby
Macaveli has joined #ruby
tinnvec has quit [Remote host closed the connection]
tinnvec has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ikonia has quit [Ping timeout: 260 seconds]
p1k has joined #ruby
t-richards has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
tref has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
idefine has joined #ruby
tinnvec has quit [Read error: Connection reset by peer]
<shevy> agent_white we are on ruby 2.3.1 now!
tinnvec has joined #ruby
tref has quit [Client Quit]
tubuliferous has joined #ruby
PedramT has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
pwnd_nsfw has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 252 seconds]
idefine has quit [Remote host closed the connection]
t-richards has quit []
exm has joined #ruby
cpup has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
Es0teric has joined #ruby
baweaver has joined #ruby
cpup has joined #ruby
<exm> Hey, so I'm starting to teach myself ruby, and I've got myself a file where most lines contain useful stuff that's being matched by a regex but not all, so in order to grab the initial hex number on the matching lines I wrote this: `File.readlines("file.txt").grep(regex).map{|l| regex.match(l)[0].hex}`. Is there a way to do that which doesn't match the line against the regex twice?
deuterium has joined #ruby
cdg has joined #ruby
Spami has joined #ruby
marr has joined #ruby
navneet has quit [Read error: Connection reset by peer]
y2mq37 has quit [Read error: Connection reset by peer]
navneet_ has joined #ruby
<agent_white> shevy: WOOOHOOO
tinnvec has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
tinnvec has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Shashikant86 has joined #ruby
zacts has joined #ruby
hxegon has joined #ruby
<atmosx> exm not sure what you're asking, but sounds like it could be solved with a more fine grained regex.
GodFather has joined #ruby
Shashikant86 has quit [Max SendQ exceeded]
statelesscode has quit [Quit: statelesscode]
<exm> atmosx: Basically, I've got an array of lines like "95AB stuff" and some that don't start with a number. What I want is an array containing all of the numbers
<zacts> hi rubyists
baweaver has joined #ruby
SilverKey has quit [Quit: Halted.]
<exm> Right now, I'm first filtering for the lines that match, then on each line doing the match and pulling out the part I need. I'm trying to find a cleaner way to do that
Xeago has joined #ruby
navneet_ has quit [Remote host closed the connection]
<atmosx> exm yeah it's a regex problem :-) - can you share a sample ?
solars has quit [Ping timeout: 276 seconds]
<exm> Sure, so a line I want to turn into 3262 would look like "CBE *" and a line I want to completely skip would look like "# this is a comment"
aegis3121 has joined #ruby
<hanmac> instead of readlines(path).grep(regexp) wouldn't read(path).scan(regexp) be better?
ferr has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
norc has quit [Ping timeout: 250 seconds]
<exm> hanmac: probably! Thanks, I didn't see that method
<atmosx> exm there's rubular.com to try ruby regex
navneet_ has joined #ruby
<atmosx> you could actually pick the lines you want and extract the items you need 1 one pass I guess.
zast has joined #ruby
<eam> well, if he really does have line based input with only one number per line he probably does want to iterate lines
<exm> Yeah, that's what I was trying to figure out how to do
RegulationD has joined #ruby
deadnull has quit [Quit: Bye]
smathy has joined #ruby
<exm> and I would prefer avoiding reading the entire file into memory, though the machine I'm sitting at now can do it
benlovell has quit [Ping timeout: 276 seconds]
tsherman has joined #ruby
idefine_ has joined #ruby
crystal77 has joined #ruby
navneet_ has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
navneet_ has joined #ruby
tsherman has quit [Max SendQ exceeded]
navneet has quit [Ping timeout: 260 seconds]
<hanmac> exm: readlines already does read the entire file into memory ... if you might get that problem, checkout File::foreach
<eam> exm: what you have originally seems fine, just remove the grep and conditionally do nothing if the regex doesn't match in the map {}
IrishGringo has quit [Ping timeout: 250 seconds]
<exm> Okay, thanks
<eam> (and switch to a per-line loop like hanmac suggests)
RegulationD has quit [Ping timeout: 246 seconds]
swills has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
synthroid has quit [Remote host closed the connection]
brendan- has quit [Ping timeout: 244 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
idefine_ has quit [Read error: Connection reset by peer]
idefine has joined #ruby
ramfjord has joined #ruby
Xeago has quit [Remote host closed the connection]
astrobun_ has joined #ruby
dhollinger has joined #ruby
terlar has quit [Ping timeout: 276 seconds]
IrishGringo has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :leguin.freenode.net"]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
droptone has quit [Quit: leaving]
zacts_ has joined #ruby
idefine has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 276 seconds]
benlovell has joined #ruby
erict has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
zacts has quit [Ping timeout: 268 seconds]
senayar has quit []
d0lph1n98 has quit [Quit: leaving]
navneet_ has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
navneet has joined #ruby
d0lph1n98 has joined #ruby
stardiviner has quit [Ping timeout: 276 seconds]
d0lph1n98 has quit [Client Quit]
navneet has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
navneet has joined #ruby
d0lph1n98 has joined #ruby
The_Phoenix has joined #ruby
zacts_ has quit [Quit: WeeChat 1.4]
<shevy> damn
<shevy> I thought for a moment that eam was talking to himself here
zacts has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
SilverKey has joined #ruby
zacts is now known as Guest81719
solocshaw has joined #ruby
chipotle has joined #ruby
idefine has joined #ruby
sergey_makagon has joined #ruby
d0lph1n98 has quit [Client Quit]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
<baweaver> eam always talks to himself
flashpoint9 has joined #ruby
d0lph1n98 has joined #ruby
<baweaver> it's just consequentially interpretable as conversation to an outside party
<eam> could you please not interrupt us
<eam> haha
baweaver is now known as eam2
<eam2> we like it better that way
ramfjord has quit [Ping timeout: 260 seconds]
<eam> eam2: hello you amazing, beautiful person
<eam2> eam: <3
Guest81719 has quit [Client Quit]
ule has left #ruby [#ruby]
zacts_ has joined #ruby
jaguarmagenta has joined #ruby
<eam2> shevy is just jealous
pwnd_nsfw has joined #ruby
nton has joined #ruby
nton has quit [Client Quit]
exm has left #ruby [#ruby]
zacts_ is now known as zacts
n008f4g_ has joined #ruby
eam2 is now known as baweaver
<eam> more jelly than a pectin factory
sergey_makagon has quit []
kareeoleez has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 260 seconds]
<baweaver> look what we found
jaguarmagenta has quit [Ping timeout: 276 seconds]
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
stardiviner has joined #ruby
blackmesa has joined #ruby
drale2k has quit [Quit: ZNC - http://znc.in]
aegis3121 has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
ljames has joined #ruby
drale2k has joined #ruby
Xeago has joined #ruby
aegis3121 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
johnbat26 has quit [Remote host closed the connection]
JakFrist has joined #ruby
SilverKey has quit [Quit: Halted.]
Xeago has quit [Remote host closed the connection]
x77686d has joined #ruby
pec has joined #ruby
jxs_ has joined #ruby
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
shinnya has joined #ruby
pec has quit [Client Quit]
LastWhisper____ has joined #ruby
siaw has quit [Quit: siaw]
LoneHermit has joined #ruby
astrobun_ has joined #ruby
chouhoulis has joined #ruby
elifoster has joined #ruby
hobodave has joined #ruby
nettoweb has joined #ruby
davedev24 has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
bjmllr has quit [Quit: rackslack]
bjmllr has joined #ruby
deadnull has joined #ruby
PedramT has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
aganov has quit [Remote host closed the connection]
navneet has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ChiefAlexander has joined #ruby
jaequery has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akostadinov has left #ruby ["PONG :verne.freenode.net"]
PedramT has quit [Ping timeout: 260 seconds]
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
ramfjord has joined #ruby
<shevy> yeah I don't remember who said it but someone said I never publish any collections!
PedramT has joined #ruby
navneet has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
tvon has joined #ruby
<adaedra> It may be me, I remember saying that
GriffinHeart has joined #ruby
rodfersou is now known as rodfersou|lunch
PedramT has quit [Ping timeout: 252 seconds]
Coldblackice_ has joined #ruby
<adaedra> I note that your collection gathered a large amount of reactions.
aspiers_ has joined #ruby
SCHAAP137 has quit [Ping timeout: 268 seconds]
zacts has quit [Ping timeout: 252 seconds]
dANOKELOFF_ has joined #ruby
SilverKey has joined #ruby
phoo1234567 has joined #ruby
berserk_ren has joined #ruby
giz|work has joined #ruby
astrobun_ has quit [Remote host closed the connection]
ss_much has joined #ruby
LoneHermit has quit [Remote host closed the connection]
ferr has joined #ruby
baweaver has quit [Remote host closed the connection]
bronson has joined #ruby
chouhoulis has quit [Remote host closed the connection]
baweaver has joined #ruby
siaw has joined #ruby
idefine_ has joined #ruby
nando293921 has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
skislak has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 250 seconds]
Shashikant86 has joined #ruby
SCHAAP137 has joined #ruby
aspiers_ has quit [Ping timeout: 276 seconds]
mjuszczak has quit [Remote host closed the connection]
idefine_ has quit [Ping timeout: 268 seconds]
mjuszczak has joined #ruby
Shashikant86 has quit [Max SendQ exceeded]
Shashikant86 has joined #ruby
Artabros has quit [Quit: Abandonando]
RegulationD has joined #ruby
the_drow has joined #ruby
hxegon_ has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
icedp has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 276 seconds]
astrobun_ has joined #ruby
PedramT has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
idefine has joined #ruby
Marsupermammal has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
giz|work has quit [Ping timeout: 250 seconds]
hxegon_ has quit [Client Quit]
kappy has quit [Remote host closed the connection]
hxegon_ has joined #ruby
p1k has quit [Ping timeout: 260 seconds]
smathy is now known as smathy_afk
chouhoulis has joined #ruby
baweaver has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
SCHAAP137 has quit [Ping timeout: 246 seconds]
GnuYawk has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvon[laptop] has joined #ruby
hxegon_ has quit [Quit: leaving]
hxegon_ has joined #ruby
[Butch] has joined #ruby
PedramT has quit [Remote host closed the connection]
mjuszczak has quit []
amclain has joined #ruby
tvon has quit [Ping timeout: 276 seconds]
hxegon_ has quit [Client Quit]
hxegon_ has joined #ruby
RegulationD has quit [Remote host closed the connection]
DoubleMalt has quit [Remote host closed the connection]
banister has joined #ruby
lubekpl_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexJakeGreen has quit [Remote host closed the connection]
norc has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
idefine has quit [Remote host closed the connection]
navneet_ has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
navneet has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
chouhoulis has joined #ruby
gdp has quit [Quit: Leaving]
navneet has joined #ruby
skade has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
dANOKELOFF_ has quit [Quit: Ex-Chat]
howdoico1 has joined #ruby
navneet__ has joined #ruby
wreet has joined #ruby
wreet has left #ruby [#ruby]
william3 has quit [Remote host closed the connection]
aspiers_ has joined #ruby
SCHAAP137 has joined #ruby
jackjackdripper1 has joined #ruby
crameth has quit [Quit: crameth]
rumia has joined #ruby
navneet_ has quit [Ping timeout: 276 seconds]
codecop has quit [Remote host closed the connection]
mjuszczak has joined #ruby
pawnbox has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
solocshaw has quit [Ping timeout: 276 seconds]
navneet has quit [Ping timeout: 260 seconds]
polishdub has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
hxegon_ has quit [Quit: leaving]
hxegon_ has joined #ruby
stardiviner has joined #ruby
JakFrist has joined #ruby
hxegon has quit [Quit: Textual IRC Client: www.textualapp.com]
william3 has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
symm- has joined #ruby
hxegon_ has quit [Client Quit]
hxegon has joined #ruby
aspiers_ has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
RegulationD has joined #ruby
phpwebdev has joined #ruby
Yiota has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
pandaant has quit [Remote host closed the connection]
speakingcode has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 276 seconds]
howdoico1 has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
inageru has joined #ruby
SilverKey has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
SilverKey has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
jackjackdripper1 has quit [Quit: Leaving.]
mwlang has joined #ruby
TomyLobo has joined #ruby
Macaveli has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
xcesariox has joined #ruby
deadnull has quit [Quit: Bye]
SilverKey has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
kfpratt has joined #ruby
astrobun_ has quit [Remote host closed the connection]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoaguilar has joined #ruby
tvon[laptop] has quit [Quit: System is sleeping...]
jackjackdripper has joined #ruby
tvon has joined #ruby
astrobu__ has joined #ruby
sneakerhax has quit [Ping timeout: 260 seconds]
joonty has quit [Ping timeout: 252 seconds]
mwlang has quit [Quit: mwlang]
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
Marsupermammal has joined #ruby
Marsupermammal has quit [Client Quit]
mikecmpbll has quit [Ping timeout: 268 seconds]
JBlazeCoder21 has joined #ruby
<inageru> I ran into an oddity with ruby BigDecimal.new using precision >8 and float input: 0.03 becomes 0.029999999. This also happens with 0.06 (.059), 0.09 (.089) and 0.009(.0089). It's not a rounding issue with output, the value is stored this way: #<BigDecimal:7fce8113b710,'0.29999999E-1',9(27)> Can someone help me understand this?
IrishGringo has joined #ruby
tomphp_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
astrobu__ has quit [Remote host closed the connection]
mjuszczak has quit []
huyderman_ has quit [Read error: Connection reset by peer]
<lagweezle> My guess is that floats are ... well, the way they are stored in binary causes a lot of interesting issues.
<lagweezle> >> 0.03 - 0.02
<ruby[bot]> lagweezle: # => 0.009999999999999998 (https://eval.in/560813)
huyderman has joined #ruby
Snowy has quit [Remote host closed the connection]
<inageru> Are there any docs on the binary implementation of bigDecimal? I understand there can be precision issues with floats but this seems somewhat inconsistent.
zacstewart has quit [Ping timeout: 260 seconds]
idefine has quit [Ping timeout: 250 seconds]
<inageru> For example, using a string instead of a float to instantiate: BigDecimal.new('0.03',8) == #<BigDecimal:7fce821b7508,'0.3E-1',9(18)>
<eam> inageru: the float value of 0.03 is actually 0.02999999
<eam> this is a problem with float, not bigdecimal
troulouliou_div2 has joined #ruby
<inageru> ah, I see
moeabdol has quit [Ping timeout: 276 seconds]
<lagweezle> >> BigDecimal.new(0.2,8)
<ruby[bot]> lagweezle: # => uninitialized constant BigDecimal (NameError) ...check link for more (https://eval.in/560815)
Dry_Lips has quit [Quit: ZNC 1.6.3 - http://znc.in]
<lagweezle> doh
adgtl has joined #ruby
hakunin has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
igam has quit [Ping timeout: 250 seconds]
tvon has quit [Quit: System is sleeping...]
billy1234 has quit [Ping timeout: 276 seconds]
hakunin has joined #ruby
last_staff has joined #ruby
godzillaenlacasa has joined #ruby
denny has joined #ruby
billy1234 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Dry_Lips has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
frem_ has joined #ruby
zacstewart has joined #ruby
rbennace_ has joined #ruby
flashpoint9 has joined #ruby
deadnull has joined #ruby
idefine has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
hakunin has quit [Ping timeout: 268 seconds]
evidex has quit [Ping timeout: 240 seconds]
BtcBen has joined #ruby
evidex has joined #ruby
brendan- has joined #ruby
inageru has quit [Ping timeout: 250 seconds]
tvon has joined #ruby
navneet__ has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evidex has quit [Remote host closed the connection]
bricker has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
huyderman has quit [Read error: Connection reset by peer]
howdoico1 has joined #ruby
jaguarmagenta has joined #ruby
deadnull has quit [Read error: Connection reset by peer]
huyderman has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
borodin has joined #ruby
deadnull has joined #ruby
<borodin> howdy folks
<borodin> I'm using rbenv (via puppet) to install gems on a box. I'm having a permissions issue. How do I completely remove all gems on a box (as if no gems had ever been installed)?
<borodin> so I can wipe out the environment and start over
bricker has quit [Quit: leaving]
jaguarmagenta has quit [Ping timeout: 252 seconds]
<al2o3-cr> borodin: gem uninstall --all ?
<borodin> thing is, gem uninstall doesn't seem to really work
<borodin> how 'bout rm -rf something?
<al2o3-cr> no comment :P
rodfersou|lunch is now known as rodfersou
<hxegon> can't recommend that either, but maybe this is what you're looking for borodin? https://gist.github.com/IanVaughan/2902499
<borodin> I don't want to uninstall rbenv, just gems
Cohedrin has joined #ruby
gizmore has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JBlazeCoder21 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
joast has joined #ruby
<hxegon> borodin: did you use sudo at some point when installing the ruby version or the gems?
tildes has joined #ruby
<borodin> hxegon puppet installs rbenv and the gems - puppet runs as root
freerobby has joined #ruby
chosen1 has quit [Ping timeout: 268 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
JakFrist has joined #ruby
moeabdol has joined #ruby
<hxegon> borodin: Is root also running the code borodin?
flashpoint9 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JBlazeCoder21 has joined #ruby
tvon has quit [Quit: System is sleeping...]
codecop has joined #ruby
baweaver has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
polysics_ has joined #ruby
bob434 has joined #ruby
polysics_ has quit [Client Quit]
sneakerhax has joined #ruby
tvon has joined #ruby
howdoico1 has quit [Ping timeout: 244 seconds]
polysics has quit [Ping timeout: 268 seconds]
bob434 has quit [Client Quit]
elifoster has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
mikecmpbll has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
rodfersou has quit [Quit: leaving]
idefine_ has joined #ruby
firstdayonthejob has joined #ruby
joonty has joined #ruby
banister has quit [Remote host closed the connection]
bob434 has joined #ruby
lemur has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
prestorium has quit [Quit: Leaving]
aupadhye has quit [Quit: Leaving]
baweaver has quit [Ping timeout: 246 seconds]
Aswebb_ has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
joonty has quit [Ping timeout: 260 seconds]
Aswebb_ has joined #ruby
Devalo has joined #ruby
karapetyan has joined #ruby
Marsupermammal has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
cdg has quit [Remote host closed the connection]
Marsupermammal has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
Marsupermammal has joined #ruby
smathy_afk is now known as smathy
djbkd has joined #ruby
Aswebb_ has quit [Ping timeout: 260 seconds]
deadnull has quit [Quit: AFK]
benlieb has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
rbennace_ has quit [Ping timeout: 250 seconds]
rc0r has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
elaptics is now known as elaptics`away
brianpWins has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
idefine_ has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
JakFrist has joined #ruby
karapetyan has joined #ruby
baweaver has joined #ruby
mrgrieve1 has joined #ruby
mdw has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Cohedrin_ has joined #ruby
Guest55535 has quit [Quit: leaving]
deadnull has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
Cohedrin has quit [Ping timeout: 268 seconds]
deadnull has quit [Remote host closed the connection]
howdoico1 has joined #ruby
skade has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
aspiers_ has joined #ruby
sadin has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
skade has quit [Ping timeout: 260 seconds]
howdoico1 has quit [Ping timeout: 276 seconds]
moeabdol has quit [Ping timeout: 276 seconds]
ferr has quit [Ping timeout: 268 seconds]
jottr has quit [Ping timeout: 244 seconds]
mdw_ has joined #ruby
skade has joined #ruby
mdw_ has quit [Max SendQ exceeded]
mdw_ has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
mhib has joined #ruby
weemsledeux has joined #ruby
SCHAAP137 has quit [Ping timeout: 250 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
idefine has joined #ruby
dhollinger has quit [Ping timeout: 260 seconds]
mrgrieve1 has quit [Ping timeout: 250 seconds]
jxs_ has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
malconis has quit [Ping timeout: 276 seconds]
siaw has quit [Ping timeout: 276 seconds]
idefine has quit [Ping timeout: 240 seconds]
crdpink2 has quit [Quit: q term]
aspiers_ has quit [Ping timeout: 252 seconds]
emilford has quit [Ping timeout: 250 seconds]
Prominent has joined #ruby
bruce_lee has quit [Remote host closed the connection]
Prominent_ has joined #ruby
zast has quit [Remote host closed the connection]
malconis has joined #ruby
diegoviola has joined #ruby
tvon has quit [Quit: System is sleeping...]
d5sx43 has joined #ruby
aspiers_ has joined #ruby
d5sx43 has quit [Remote host closed the connection]
Prominent_ has quit [Client Quit]
GriffinHeart has quit [Remote host closed the connection]
tvon has joined #ruby
Prominent has quit [Client Quit]
babblebre has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
crdpink has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
ferr has joined #ruby
SilentEcho has quit [Quit: WeeChat 1.0.1]
emilford has joined #ruby
siaw has joined #ruby
SCHAAP137 has joined #ruby
isxek has quit [Quit: Leaving]
billy1234 has quit [Ping timeout: 268 seconds]
Limix has joined #ruby
aspiers_ has quit [Ping timeout: 250 seconds]
aspiers_ has joined #ruby
marr has quit [Remote host closed the connection]
dhollinger has joined #ruby
kristofferR has joined #ruby
sauvin has quit [Remote host closed the connection]
godzillaenlacasa has quit [Quit: ZZZZZ....]
idefine has joined #ruby
blaix has joined #ruby
deuterium has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
diegoaguilar has quit [Remote host closed the connection]
ramortegui has quit [Quit: Ex-Chat]
kobain has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
siaw has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
siaw has joined #ruby
joonty has joined #ruby
nemesit|znc has quit [Quit: quit]
lemur has quit [Remote host closed the connection]
jdelaney has joined #ruby
aspiers_ has quit [Ping timeout: 250 seconds]
SilverKey has joined #ruby
jdelaney has quit [Client Quit]
mjuszczak has joined #ruby
jdelaney has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
duderonomy has joined #ruby
poweratom__ has joined #ruby
nofacade has joined #ruby
berserk_ren has quit [Ping timeout: 250 seconds]
joonty has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aspiers_ has joined #ruby
<jdelaney> Any recommendations for resources on learning Ruby (and Sinatra) that are written for people who already have experience in other languages? I wanna avoid tutorials that go over what an if statement is
mjuszczak has quit [Ping timeout: 260 seconds]
omegahm has joined #ruby
<havenwood> jdelaney: The Well-Grounded Rubyist (the Second Edition is up-to-date) is a nice introduction that gets right into things.
mikecmpbll has joined #ruby
tagaulap has quit [Quit: Connection closed for inactivity]
<havenwood> jdelaney: You might enjoy the Koans even though they start out very basic.
bronson has joined #ruby
<havenwood> jdelaney: Here's a QuickRef: http://www.zenspider.com/Languages/Ruby/QuickRef.html
<jdelaney> havenwood: Thanks! I'll check all of those out
<havenwood> jdelaney: I'd suggest looking at Roda as well as Sinatra. It's a bit harder to find material on but the code and it's plugins are very worth a read: http://roda.jeremyevans.net/index.html
<havenwood> its*
<jdelaney> havenwood: I'll look at that as well
yasha_ has joined #ruby
gregf has joined #ruby
blackmesa has joined #ruby
billy1234 has joined #ruby
_blizzy_ has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
dmr8 has joined #ruby
_blizzy_ has quit [Client Quit]
aspiers_ has quit [Ping timeout: 250 seconds]
<smathy> Roda is very nice.
JBlazeCoder21 has quit [Remote host closed the connection]
* smathy is itching to put some time into https://github.com/dry-rb/dry-web
roelof has joined #ruby
idefine has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
croberts has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<roelof> Can I somehow solve this deprecation error : DEPRECATION] `last_comment` is deprecated. Please use `last_description` instead. when I do rake ?
poweratom__ has quit [Quit: (null)]
treehug88 has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
devbug has joined #ruby
EdwardIII has quit [Ping timeout: 240 seconds]
dhollinger has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
EdwardIII has joined #ruby
m8 has joined #ruby
PedramT has joined #ruby
idefine_ has joined #ruby
devbug has quit [Quit: ZZZzzz…]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dsimon> roelof, are the calls to last_comment coming from your code?
devbug has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
<roelof> is it not my code. Im doing exercises from a learn ruby github course
two_seven_zero_o has joined #ruby
two_seven_zero_o is now known as |2701
mdw_ has quit [Quit: Sleeping Zzzzz]
shinnya has joined #ruby
jottr has joined #ruby
elifoster has quit [Ping timeout: 276 seconds]
<dsimon> hm, yeah, this rabbit hole is deeper than i expected :-)
|2701 has quit [Client Quit]
<dsimon> are you using a Gemfile in your project?
|2701 has joined #ruby
benlovell has joined #ruby
<dsimon> in the exercises, i mean
the_drow has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Remote host closed the connection]
bob434 has joined #ruby
karapetyan has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
blaix has quit [Quit: Leaving.]
<roelof> yep, a very little one
benlovell has quit [Ping timeout: 252 seconds]
<roelof> dsimon: this is the whole gem file : gem "rake" gem "rspec", "~>2.0"
freerobby has quit [Quit: Leaving.]
idefine_ has quit [Remote host closed the connection]
tomaskul has joined #ruby
jackjackdripper has joined #ruby
nando293921 has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dsimon> hm
<dsimon> ok, it looks like this has been fixed in recent rspec
<dsimon> however going from rspec 2 to rspec 3 may break some tests :-\
LastWhisper____ has joined #ruby
<roelof> oke, I think I have to life with this message
<roelof> Thanks for the help
billy1234 has quit [Ping timeout: 246 seconds]
roelof has quit [Quit: Page closed]
mjuszczak has joined #ruby
<smathy> `r() { rspec $* 2>&1 | grep -v deprecated }`
sneakerhax has quit [Ping timeout: 260 seconds]
jdelaney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has quit [Remote host closed the connection]
yfeldblum has joined #ruby
lxsameer has quit [Quit: Leaving]
Eiam_ has joined #ruby
symm- has quit [Ping timeout: 246 seconds]
last_staff1 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
Xeago has joined #ruby
karapetyan has quit [Remote host closed the connection]
djbkd has joined #ruby
stardiviner has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
last_staff1 is now known as last_staff
tildes has quit [Read error: Connection reset by peer]
astrobunny has quit [Read error: Connection reset by peer]
tildes has joined #ruby
astrobunny has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
idefine has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
Eiam_ has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Limix has quit [Quit: Limix]
djbkd has quit [Ping timeout: 252 seconds]
Marsupermammal has quit [Quit: Textual IRC Client: www.textualapp.com]
Devalo has quit [Remote host closed the connection]
blackmesa has joined #ruby
karapetyan has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
idefine_ has joined #ruby
karapetyan has joined #ruby
william3 has joined #ruby
Dimik has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
Limix has joined #ruby
jenrzzz has joined #ruby
dml337ira has joined #ruby
djbkd has joined #ruby
Moosashi has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
idefine_ has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 246 seconds]
idefine has joined #ruby
joonty has joined #ruby
LinuxHippie has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
SilverKey has quit [Read error: Connection reset by peer]
jottr has joined #ruby
SilverKey has joined #ruby
al2o3-cr has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
al2o3-cr has joined #ruby
tomaskul has quit [Quit: Leaving]
Aswebb_ has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
perlgod has joined #ruby
yqt has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 252 seconds]
tildes has quit [Ping timeout: 252 seconds]
joonty has quit [Ping timeout: 268 seconds]
william3 has quit [Remote host closed the connection]
hakunin has joined #ruby
bronson has joined #ruby
Lomex has joined #ruby
SilverKey has quit [Quit: Halted.]
mikecmpbll has joined #ruby
pawnbox has quit [Remote host closed the connection]
Aswebb_ has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
PedramT has quit [Remote host closed the connection]
dhollinger has joined #ruby
kareeoleez has joined #ruby
kareeoleez has quit [Remote host closed the connection]
howdoico1 has joined #ruby
Moosashi has quit [Quit: Moosashi]
al2o3-cr has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 276 seconds]
polysics has joined #ruby
mjuszczak has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
ssiris has quit [Quit: End of Line]
the_drow has joined #ruby
benlovell has joined #ruby
howdoico1 has quit [Read error: Connection timed out]
pawnbox has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
_blizzy_ has joined #ruby
howdoico1 has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4]
<ironcamel> any reason this documentation shows to do Net::Telnet::new instead of Net::Telnet.new? Are both of those the same? Both seem to work.
<adaedra> :: and . are both capable of resolving class/module methods, but . is usually preferred (:: for constants)
<ironcamel> ah, good to know, thanks
firstdayonthejob has joined #ruby
baweaver has joined #ruby
benlovell has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
frem_ has quit [Quit: Connection closed for inactivity]
lemur has joined #ruby
skade has joined #ruby
skade has quit [Client Quit]
safe has joined #ruby
RickHull has joined #ruby
howdoico1 has quit [Ping timeout: 250 seconds]
phpwebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 250 seconds]
tildes has joined #ruby
rattatmatt has joined #ruby
SilverKey has joined #ruby
SilverKey has quit [Client Quit]
phpwebdev has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has joined #ruby
moeabdol has joined #ruby
brianpWins has joined #ruby
blaix has joined #ruby
moeabdol has quit [Client Quit]
blaix has left #ruby [#ruby]
norc_ has joined #ruby
dml337ira has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has joined #ruby
SilverKey has joined #ruby
synthroid has quit [Remote host closed the connection]
norc has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
djbkd has joined #ruby
paulgrmn3 has quit [Ping timeout: 252 seconds]
elifoster has joined #ruby
mg^ has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
kirun has joined #ruby
djbkd has quit [Remote host closed the connection]
joonty has joined #ruby
s1kx has joined #ruby
djbkd has joined #ruby
cschneid has joined #ruby
z4phod has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
<cschneid> Is there a way to build a rubygem that compiles a native extension if possible, but if anything goes wrong (no make installed, no C compiler, compiler fails), it continues installing and falls back to a ruby implementation of the functionality instead?
dionysus69 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
kareeoleez has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
Devalo has joined #ruby
kareeoleez has quit [Remote host closed the connection]
<cschneid> This seems like the best answer so far - any further advice on top of this? Ideally I'd be able to catch a failed compilation, rather than trying to pre-check if it'll go ok. http://stackoverflow.com/questions/17406246/native-extensions-fallback-to-pure-ruby-if-not-supported-on-gem-install
Devalo has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 252 seconds]
howdoico1 has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
kareeoleez has joined #ruby
safe has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
deadnull has joined #ruby
kalz has quit [Ping timeout: 250 seconds]
Arielon has joined #ruby
Limix has quit [Quit: Limix]
n008f4g_ has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
Limix has joined #ruby
kalzz has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
<Papierkorb> cschneid: the redis gem (which is ruby only) does this by testing if the hiredis gem (which is the C ext) is available
<Papierkorb> So yeah, not a single-gem solution .. but atleast robust
aeron has joined #ruby
<cschneid> yeah, releasing two gems is an approach. not-native and native, with approriate shared code between the two
last_staff1 has joined #ruby
<cschneid> was hoping for a one-size-fits-all approach: "Install xyz gem, and you get bonus C code if it's possible"
last_staff1 has quit [Client Quit]
<cschneid> which seems surprisingly difficult
<Papierkorb> cschneid: also, what happens when the user wants to use the C ext, but is currently fighting with the compiler? How to even detect that it's "not possible"?
rumia has quit [Remote host closed the connection]
rattatmatt has quit []
devbug has quit [Quit: ZZZzzz…]
<Papierkorb> Or the user later wants to use the C version or the ruby version instead due to changed requirements?
<cschneid> yeah. "not possible" may mean: "attempt, then fail w/ a reasonable message: 'Couldn't install native extension, falling back to ruby. Log @ /tmp/log_file.loglog'
last_staff has quit [Ping timeout: 252 seconds]
Limix has quit [Client Quit]
marr has joined #ruby
JakFrist has joined #ruby
RickHull has left #ruby [#ruby]
polishdub has quit [Quit: Leaving]
nando293921 has quit [Ping timeout: 260 seconds]
idefine has quit [Remote host closed the connection]
kalzz has joined #ruby
alexherbo2 has joined #ruby
mhib has quit [Remote host closed the connection]
kalz has joined #ruby
cdg has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ss_much has joined #ruby
devbug has joined #ruby
norc_ has quit [Ping timeout: 244 seconds]
Caelum has quit [Ping timeout: 250 seconds]
aspiers_ has joined #ruby
aeron has quit [Ping timeout: 260 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
eljimmy has joined #ruby
flashpoint9 has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
Cohedrin_ has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
flashpoint9 has joined #ruby
rumia has joined #ruby
SilverKey has quit [Quit: Halted.]
al2o3-cr has quit [Ping timeout: 260 seconds]
skade has joined #ruby
dmr8 has quit [Quit: Leaving]
the_drow has quit [Quit: This computer has gone to sleep]
devbug has quit [Quit: ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bollullera has joined #ruby
FastJack has joined #ruby
devbug has joined #ruby
mlakewood has joined #ruby
SilverKey has joined #ruby
idefine has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n008f4g_ has joined #ruby
william3 has quit [Remote host closed the connection]
lemur is now known as baweaver
sleepee_ has joined #ruby
sleepee_ has quit [Max SendQ exceeded]
mdw has joined #ruby
aspiers_ has quit [Ping timeout: 244 seconds]
nofacade has quit [Ping timeout: 276 seconds]
idefine has quit [Ping timeout: 240 seconds]
dome22xl has joined #ruby
Lomex has quit [Remote host closed the connection]
william3 has joined #ruby
Caelum has joined #ruby
swills has quit [Ping timeout: 260 seconds]
jfutbol has joined #ruby
moei has quit [Quit: Leaving...]
perlgod has quit [Ping timeout: 244 seconds]
douglascorrea has quit []
Pumukel has joined #ruby
joonty has joined #ruby
ixti has joined #ruby
yasha_ has quit [Remote host closed the connection]
hakunin has quit [Remote host closed the connection]
firstdayonthejob has quit [Quit: WeeChat 1.4]
joonty has quit [Ping timeout: 246 seconds]
fmcgeough has quit [Quit: fmcgeough]
rodfersou has joined #ruby
baweaver has quit [Remote host closed the connection]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
moei has joined #ruby
hakunin has joined #ruby
jenrzzz_ has joined #ruby
nofacade has joined #ruby
Weavel has quit [Quit: I was standing in the park wondering why frisbees got bigger as they get closer. Then it hit me.]
graft has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
al2o3-cr has joined #ruby
hobodave has quit [Ping timeout: 276 seconds]
billy1234 has joined #ruby
jfutbol has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Ping timeout: 250 seconds]
diegoaguilar has joined #ruby
diegoaguilar has quit [Max SendQ exceeded]
aspiers_ has joined #ruby
ledestin has joined #ruby
billy1234 has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
jgrevich has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
billy1234 has joined #ruby
firstdayonthejob has joined #ruby
hakunin has quit [Remote host closed the connection]
jgrevich has joined #ruby
freerobby has joined #ruby
Xeago has joined #ruby
toretore has quit [Ping timeout: 246 seconds]
<borodin> anybody know why a gem shows up in gem list, but when you require 'gem' it returns false?
<havenwood> borodin: `false` means it's already been successfully required
johnmilton has quit [Remote host closed the connection]
<borodin> oh really?
<borodin> I wonder how I can check to see if it's working?
<borodin> cool thanks that's helpful info!
<Papierkorb> borodin: if it doesn't exist, it'll raise a LoadError
Xeago has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
william3 has quit [Remote host closed the connection]
jgrevich has quit [Ping timeout: 250 seconds]
idefine has quit [Remote host closed the connection]
firstdayonthejob has quit [Quit: WeeChat 1.4]
skade has joined #ruby
swills has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
aspiers_ has quit [Ping timeout: 260 seconds]
Coldblackice_ has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
<borodin> it's healthy - thanks guys
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<borodin> spent half the day trying to fix something that wasn't broken
bluOxigen has quit [Ping timeout: 276 seconds]
aegis3121 has quit [Ping timeout: 268 seconds]
idefine has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
aeron has joined #ruby
Coldblackice has joined #ruby
jgrevich has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
Moosashi has joined #ruby
Aswebb_ has joined #ruby
benlovell has joined #ruby
mikecmpbll has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
shwouchkster has quit [Quit: Connection closed for inactivity]
Moosashi has quit [Quit: Moosashi]
symm- has joined #ruby
al2o3-cr has joined #ruby
aegis3121 has joined #ruby
bronson has joined #ruby
idefine has joined #ruby
Aswebb_ has quit [Ping timeout: 260 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
GodFather has joined #ruby
Moosashi has joined #ruby
m8 has quit [Quit: Sto andando via]
idefine has quit [Remote host closed the connection]
x77686d has quit [Remote host closed the connection]
x77686d has joined #ruby
benlovell has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
bobbycvi has joined #ruby
BtcBen has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 276 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
mdw has quit [Quit: Sleeping Zzzzz]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
al2o3-cr has joined #ruby
highbass has joined #ruby
<highbass> i am looking to output logs from my ruby app into json format (will use the output to forward to elasticsearch) ... anyone have any experience with this?
Madplatypus has joined #ruby
idefine has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
nofacade has quit [Ping timeout: 268 seconds]
Moosashi has quit [Quit: Moosashi]
bobbycvi has quit [Quit: ...]
djbkd has quit [Remote host closed the connection]
baweaver has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
n008f4g_ has joined #ruby
djbkd has joined #ruby
konr has joined #ruby
bobbycvi has joined #ruby
blackgoat has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<Papierkorb> highbass: I use the logging gem which can output JSON data OOTB. works fine, but didn't try it yet with ELK
TomyLobo has quit [Ping timeout: 252 seconds]
goodroot has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
<highbass> ahh ok taking a look
baweaver has quit [Ping timeout: 276 seconds]
pawnbox has quit [Read error: Connection reset by peer]
<mlakewood> Im using the Holidays gem, and Its giving me an UnknownRegion Error. It seems like I might have to instansiate it or something? But the documentation doesnt say anything about that. Anybody have any experience with this>
PlasmaStar has joined #ruby
joonty has quit [Ping timeout: 250 seconds]
idefine has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
ta_ has joined #ruby
Coldblackice has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest38 has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 276 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
baweaver has quit [Ping timeout: 252 seconds]
kora has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
Trynemjoel has joined #ruby
phpwebdev has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
chrisja has joined #ruby
kora has left #ruby [#ruby]
idefine has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 276 seconds]
jaequery has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Remote host closed the connection]
Rutix has quit []
victortyau has joined #ruby
kirun has quit [Quit: Client exiting]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
babblebre has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dling has joined #ruby
Coldblackice has joined #ruby
baweaver has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
mlakewood has quit [Quit: mlakewood]
Yiota has quit [Ping timeout: 250 seconds]
n008f4g_ has quit [Ping timeout: 244 seconds]
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
SCHAAP137 has quit [Quit: Leaving]
SilverKey has quit [Quit: Halted.]
aeron has quit [Quit: Leaving]
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
Moosashi has joined #ruby
Rawang has joined #ruby
dragon9783 has joined #ruby
catpoop has quit [Remote host closed the connection]
Rawang has left #ruby [#ruby]
mnrmnaugh has joined #ruby
zenlot has quit [Ping timeout: 240 seconds]
zenlot6 has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
carella has quit [Remote host closed the connection]
bronson has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
flashpoint9 has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
mkosaki_ has joined #ruby
idefine has joined #ruby
mkosaki has quit [Ping timeout: 250 seconds]
inukshuk has quit [Ping timeout: 244 seconds]
Caerus has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
rodfersou has quit [Quit: leaving]
elifoster has quit [Ping timeout: 268 seconds]
biberu has quit []
joonty has joined #ruby
inukshuk has joined #ruby
jaequery has joined #ruby
disconnekted has joined #ruby
ropeney has joined #ruby
htmldrum has joined #ruby
ishe has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
_blizzy_ has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
idefine has quit [Ping timeout: 260 seconds]
mwlang has joined #ruby
chrisja has quit [Quit: leaving]
jaguarmagenta has quit [Ping timeout: 276 seconds]
cschneid has quit [Remote host closed the connection]
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
idefine has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
Moosashi has quit [Quit: Moosashi]
DoubleMalt has quit [Remote host closed the connection]
benlovell has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
idefine has quit [Ping timeout: 246 seconds]
rooby has joined #ruby
idefine has joined #ruby
benlovell has quit [Ping timeout: 250 seconds]
jhack has joined #ruby
RegulationD has joined #ruby
ceej has quit [Remote host closed the connection]
crystal77 has joined #ruby
baweaver has quit [Remote host closed the connection]
justinabrahms has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ceej has joined #ruby
idefine_ has joined #ruby
idefine has quit [Read error: Connection reset by peer]
<crystal77> How feasible is it to learn Ruby, if we don't use it at work? Everything is in Python, and my interest is being a Rails dev.
s00pcan has quit [Ping timeout: 260 seconds]
<justinabrahms> crystal77, it's easier if work helps, but do-able otherwise. Just means side projects.
<justinabrahms> Anyone have thoughts on how I mock a free function with rspec's mocks? I have a function calling `daemon_msg "message", :object => a` I want to assert the message and arguments are what I think they are.
<crystal77> A bit jealous of people who actually use ruby/rails on the job, as I'm sure that makes it much easier to learn.
bollullera has quit [Quit: Leaving.]
RegulationD has quit [Ping timeout: 246 seconds]
LastWhisper____ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
s00pcan has joined #ruby
ur5us has quit [Remote host closed the connection]
s1kx has quit [Quit: bai]
jokke has quit [Ping timeout: 250 seconds]
idefine_ has quit [Remote host closed the connection]
donske has joined #ruby
idefine has joined #ruby
sdothum has joined #ruby
jokke has joined #ruby
baweaver has joined #ruby
s00pcan has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
s00pcan has joined #ruby
Moosashi has joined #ruby
bob434 has joined #ruby
Vile` has joined #ruby
marr has quit [Ping timeout: 268 seconds]
rkazak has quit [Ping timeout: 268 seconds]
mic_e has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
x77686d has quit [Quit: x77686d]
zacstewart has joined #ruby
ur5us has joined #ruby
saneax_AFK is now known as saneax
bob434 has quit [Client Quit]
idefine has quit [Remote host closed the connection]
tfitts has joined #ruby
<tfitts> I'm trying to encode either 'FF' or 244 into a byte like "\xFF", is there a method you can call on a string or an integer to convert it to a byte?
<tfitts> sorry, not 244, 255
ur5us_ has joined #ruby
Aswebb_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
zacstewart has quit [Ping timeout: 246 seconds]
<tfitts> pack, got it
_chris has joined #ruby
<eam> tfitts: 255.chr
<eam> but yeah pack/unpack are great for that
<tfitts> or that, cool, thanks
<eam> the "byte" will be a String
SilverKey has joined #ruby
flashpoint9 has joined #ruby
Aswebb_ has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
idefine has joined #ruby
bob434 has joined #ruby
ruby-lang064 has joined #ruby
hxegon is now known as hxegon_afk
bronson has quit [Ping timeout: 250 seconds]
julie_harshaw has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
julieeharshaw has quit [Ping timeout: 250 seconds]
joconcepts has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Nahra` has joined #ruby
Nahra has quit [Remote host closed the connection]
shadeslayer has quit [Read error: Connection reset by peer]
joconcepts has joined #ruby
shadeslayer has joined #ruby
Moosashi has quit [Quit: Moosashi]
amincd has joined #ruby
gregf has quit [Quit: gotta kick my modem in the face]
symm- has quit [Quit: Leaving...]
Noxilex has joined #ruby
justinabrahms has left #ruby ["Leaving"]
lemur has joined #ruby
jottr has quit [Quit: WeeChat 1.4]
GodFather has quit [Ping timeout: 246 seconds]
crystal77 has quit [Ping timeout: 276 seconds]
gregf has joined #ruby
<amincd> Hi, why is it that when I create an IO object, with io = IO.new(IO.sysopen("filename", "a+"), "a+"), write to it with io.puts "new line", and read the file, with p IO.binread("filename"), it doesn't display the "new line" I added?
anqlkjna392 has joined #ruby
anqlkjna392 has left #ruby [#ruby]
lemur has quit [Ping timeout: 250 seconds]
<smathy> amincd, buffering.
<amincd> smathy: I see..