havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
diegoaguilar has joined #ruby
stupidystupid has quit [Quit: Textual IRC Client: www.textualapp.com]
kung has quit [Quit: Leaving]
ocbtec has quit [Quit: leaving]
stupidystupid has joined #ruby
stupidystupid has quit [Max SendQ exceeded]
darkf has joined #ruby
Suntzu has joined #ruby
kung has joined #ruby
duckpuppy has joined #ruby
flashpoint9 has joined #ruby
rubie has joined #ruby
Aviio has quit [Quit: Leaving.]
pawnbox has joined #ruby
diegoaguilar has quit [Quit: Leaving]
Nawn has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
duckpuppy has joined #ruby
rahult_ has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
rahult has quit [Ping timeout: 268 seconds]
nettoweb has joined #ruby
ta_ has joined #ruby
bb010g has joined #ruby
hakunin_ has quit [Ping timeout: 248 seconds]
karapetyan has quit [Ping timeout: 252 seconds]
Inside has quit [Ping timeout: 276 seconds]
ta_ has quit [Ping timeout: 246 seconds]
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
rahult has joined #ruby
Rith has quit [Quit: Connection reset by a network packet containing ACK|RST.]
RyanMcCoskrie has joined #ruby
freerobby has quit [Quit: Leaving.]
spider-mario has quit [Remote host closed the connection]
zeroDivisible has quit [Ping timeout: 240 seconds]
xcesariox has joined #ruby
quakephil has quit [Ping timeout: 240 seconds]
idletask has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
sarbs has quit [Ping timeout: 252 seconds]
stupidystupid has joined #ruby
stupidystupid has quit [Max SendQ exceeded]
skweek has quit [Ping timeout: 244 seconds]
Nawn has quit [Quit: Leaving]
sarbs has joined #ruby
stupidystupid has joined #ruby
stupidystupid has quit [Max SendQ exceeded]
arlek has quit [Ping timeout: 240 seconds]
davedev2_ has quit []
dc4 has quit [Read error: Connection reset by peer]
dc4 has joined #ruby
stupidystupid has joined #ruby
william3 has joined #ruby
cpup has quit [Ping timeout: 252 seconds]
kung_ has joined #ruby
idletask has joined #ruby
cpup has joined #ruby
hakunin has joined #ruby
stupidystupid has quit [Client Quit]
stupidys_ has joined #ruby
AckZ has joined #ruby
kung has quit [Ping timeout: 244 seconds]
william3 has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 264 seconds]
rehat has quit []
IrishGringo has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
Xeago has joined #ruby
mistermocha has quit [Remote host closed the connection]
weemsledeux has quit [Ping timeout: 252 seconds]
Jardayn has quit [Read error: Connection reset by peer]
idletask has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
safe has quit [Quit: Leaving]
baweaver has joined #ruby
eljimbo has quit [Quit: Leaving]
baweaver has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
stupidys_ has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
EdwardIII has quit [Ping timeout: 248 seconds]
stupidys_ has joined #ruby
nettoweb has joined #ruby
EdwardIII has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has joined #ruby
skweek has joined #ruby
Brackson has quit [Quit: Leaving]
stupidys_ has quit [Quit: Textual IRC Client: www.textualapp.com]
chosen1_ has joined #ruby
chosen1 has quit [Ping timeout: 268 seconds]
yqt has quit [Ping timeout: 244 seconds]
stupidys_ has joined #ruby
ekinmur has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arlek has joined #ruby
eljimbo has joined #ruby
bronson has joined #ruby
yfeldblum has joined #ruby
_stu_ has quit [Quit: _stu_]
finisherr has joined #ruby
smathy_afk is now known as smathy
tristanp has joined #ruby
stupidystupid has joined #ruby
stupidys_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
bronson has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
<kung_> is their some nicer way to get the port of a socket? like someSocket.port, instead of someSocket.addr[1] (magic number stuff)
Gasher has quit [Quit: Leaving]
william3 has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
ramortegui has joined #ruby
ramortegui has quit [Client Quit]
shinnya has quit [Ping timeout: 244 seconds]
smathy is now known as smathy_afk
finisherr has quit [Quit: finisherr]
pawnbox has joined #ruby
chosen1x has joined #ruby
FooMunki has quit [Quit: FooMunki]
markfletcher has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
rubie has quit [Remote host closed the connection]
chosen1_ has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
eskatonic has joined #ruby
Cooooo has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
stannard has quit [Remote host closed the connection]
A124 has quit [Read error: Connection reset by peer]
rubie has joined #ruby
nhhc has joined #ruby
mistermocha has joined #ruby
rubie has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
dc4 has quit [Ping timeout: 248 seconds]
_ht has quit [Ping timeout: 264 seconds]
_ht has joined #ruby
BTRE has quit [Ping timeout: 248 seconds]
najam has joined #ruby
A124 has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
finisherr has joined #ruby
william3 has joined #ruby
nhhc has quit [Ping timeout: 268 seconds]
najam has quit [Remote host closed the connection]
najam has joined #ruby
eskatonic has quit [Quit: Leaving]
ramortegui has joined #ruby
ramortegui has quit [Client Quit]
karapetyan has joined #ruby
rahult_ has joined #ruby
duderonomy has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
ekinmur has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> kung_ don't think so but if you dislike the API, perhaps you can suggest a better one to the ruby core team at: https://bugs.ruby-lang.org/projects/ruby-trunk
baweaver has joined #ruby
<kung_> shevy, nah thanks, im happy when I get my little udp proxy working :D
<kung_> (first time using ruby)
Suntzu has quit [Read error: Connection reset by peer]
rahult has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 276 seconds]
Chagel has joined #ruby
ekinmur has joined #ruby
karapetyan has quit [Ping timeout: 268 seconds]
najam has quit [Quit: najam]
pawnbox has joined #ruby
BTRE has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 252 seconds]
johnmilton has quit [Ping timeout: 240 seconds]
blaxter has quit [Read error: Connection reset by peer]
dfockler has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
adgtl has quit [Changing host]
adgtl has joined #ruby
adgtl has joined #ruby
ta_ has joined #ruby
Contigi has joined #ruby
nando293921 has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 246 seconds]
najam has joined #ruby
MsCharlotte is now known as UKn0Me
CloCkWeRX has quit [Ping timeout: 268 seconds]
noService has joined #ruby
nettoweb has joined #ruby
rbennacer has joined #ruby
solocshaw has quit [Ping timeout: 268 seconds]
ur5us has quit [Remote host closed the connection]
noService has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
bronson has joined #ruby
nando293921 has joined #ruby
Suntzu has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
ur5us has joined #ruby
pawnbox has joined #ruby
diego1 has joined #ruby
CloCkWeRX has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
diegoviola has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
<kung_> there is no windows .exe download installer? oO
<kung_> just links to the sourcecode lol
<kung_> and to the license
flashpoint9 has quit [Remote host closed the connection]
s00pcan has joined #ruby
<kung_> aha i had to follow three links
<kung_> to get to the rubyinstaller
<kung_> > wondering why ruby isnt used by more ppl
<bougyman> it's too easy
<bougyman> many people prefer Hard
freerobby has quit [Quit: Leaving.]
Dimik has quit [Ping timeout: 268 seconds]
mr_roboto has joined #ruby
diego1 is now known as diegoviola
PaulCape_ has quit [Quit: .]
braincrash has quit [Quit: bye bye]
elifoster has joined #ruby
shayan has joined #ruby
Chagel_ has joined #ruby
PaulCapestany has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Chagel has quit [Ping timeout: 250 seconds]
dravine has quit [Quit: dravine]
william3 has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
goodroot has joined #ruby
kadoppe has joined #ruby
<shayan> “Write a method that will take a string as input, and return a new string with the same letters in reverse order.”
<shayan> >
<shayan> I am very new to programming and have difficulty trying to solve this. Any guidance towards solving this would be immensely appreciated.
cryptomancer has joined #ruby
goodroot has quit [Client Quit]
goodroot has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
braincras has joined #ruby
<Radar> shayan: Does Ruby have a reverse method?
astrobunny has joined #ruby
<shayan> @Radar: I suppose, however, I have been told “Don't use String's reverse method; that would be too simple.”
kadoppe has quit [Ping timeout: 252 seconds]
<Radar> indeed it would be too simple.
LuckyABA has quit [Ping timeout: 264 seconds]
stupidystupid has quit [Quit: Textual IRC Client: www.textualapp.com]
<Ox0dea> shayan: How do you reverse a string of length fewer than 2?
<shayan> idx = ab - 1
stupidys_ has joined #ruby
<Ox0dea> Huh?
<shayan> idx = ab.length - 1
<shayan> while idx >= 0
<shayan> puts(ab[idx])
<shayan> idx = idx - 1
<shayan> end
<Ox0dea> Ew.
<shayan> Hmm. My apologies.
gix has quit [Ping timeout: 268 seconds]
Jameser has joined #ruby
mr_roboto has quit [Remote host closed the connection]
<Ox0dea> shayan: You can do it "the C way" by iterating from 0 up to half the length of the string, swapping the characters at `i` and `size - i - 1` as you go, but that's pretty inelegant.
mr_roboto has joined #ruby
gix has joined #ruby
<Ox0dea> A nifty recursive solution presents itself, with the base case being that reversing a string of length fewer than 2 is a no-op.
A124 has quit [Quit: '']
mr_roboto has quit [Remote host closed the connection]
A124 has joined #ruby
RegulationD has joined #ruby
mr_roboto has joined #ruby
stupidys_ has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Ping timeout: 240 seconds]
stupidystupid has joined #ruby
bronson has quit [Remote host closed the connection]
postmodern has joined #ruby
rahult has joined #ruby
rahult_ has quit [Ping timeout: 260 seconds]
Channel6 has joined #ruby
idletask has joined #ruby
nofxx has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
nofxx has joined #ruby
hinbody has quit [Quit: leaving]
_blizzy_ has quit [Quit: Leaving]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has quit [Ping timeout: 260 seconds]
william3 has quit [Ping timeout: 248 seconds]
noService has joined #ruby
kobain has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
gooodroot has joined #ruby
hinbody has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
mr_roboto has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
pawnbox has joined #ruby
treaki_ has joined #ruby
goodroot has quit [Ping timeout: 246 seconds]
treaki has quit [Ping timeout: 246 seconds]
goooodroot has joined #ruby
postmodern has quit [Quit: Leaving]
gooodroot has quit [Ping timeout: 264 seconds]
kareeoleez has joined #ruby
mistermocha has joined #ruby
sandelius has joined #ruby
gooooodroot has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
goooodroot has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
GitGud has quit [Ping timeout: 252 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
CloCkWeRX has joined #ruby
rkazak has joined #ruby
snoobydoo has joined #ruby
goodroot has joined #ruby
mhenrixon has quit [Ping timeout: 260 seconds]
devbug has joined #ruby
gooooodroot has quit [Ping timeout: 264 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
skweek has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
nhhc has joined #ruby
blackwell has joined #ruby
dfockler has quit [Ping timeout: 276 seconds]
Channel6 has quit [Read error: Connection reset by peer]
tmtwd_ has quit [Ping timeout: 260 seconds]
IrishGringo has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
Total_Meltdown has quit [Quit: Textual IRC Client: www.textualapp.com]
kareeoleez has quit []
rbennacer has quit [Remote host closed the connection]
Chagel_ has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
Devalo has joined #ruby
devbug has quit [Read error: Connection reset by peer]
hk238 has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mhenrixon has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thistle has quit [Remote host closed the connection]
cryptomancer has quit [Quit: Leaving]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krz has joined #ruby
postmodern has joined #ruby
snoobydo1 has joined #ruby
valetudo has quit [Ping timeout: 240 seconds]
tonini has joined #ruby
snoobydoo has quit [Ping timeout: 260 seconds]
pawnbox_ has joined #ruby
william3 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
william3 has quit [Ping timeout: 260 seconds]
p0p0pre7 has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
djbkd has quit [Remote host closed the connection]
bruno- has joined #ruby
p0p0pr37 has quit [Ping timeout: 244 seconds]
paradisaeidae_ has joined #ruby
djbkd has joined #ruby
mistermocha has quit [Remote host closed the connection]
gooodroot has joined #ruby
ctarx has joined #ruby
astrobunny has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
rolha has quit [Ping timeout: 248 seconds]
merida has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
djbkd has quit [Ping timeout: 244 seconds]
goodroot has quit [Ping timeout: 268 seconds]
rolha has joined #ruby
bronson has joined #ruby
raeoks has joined #ruby
arescorpio has quit [Quit: Leaving.]
Authenticator has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
mistermocha has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
mistermocha has quit [Remote host closed the connection]
p0p0pre7 has quit [Ping timeout: 264 seconds]
mistermocha has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
najam has quit [Quit: najam]
p0p0pre7 has joined #ruby
mistermocha has quit [Ping timeout: 248 seconds]
paradisaeidae_ has quit [Ping timeout: 252 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
staticfox is now known as drunkfox
william3 has quit [Ping timeout: 276 seconds]
finisherr has quit [Quit: finisherr]
Chagel has joined #ruby
idefine has joined #ruby
skweek has quit [Read error: Connection reset by peer]
NightMonkey has quit [Ping timeout: 260 seconds]
paradisaeidae has joined #ruby
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Chagel has quit [Ping timeout: 240 seconds]
Cooooo has quit [Remote host closed the connection]
raeoks has joined #ruby
codecop has joined #ruby
zast has quit [Remote host closed the connection]
dionysus69 has joined #ruby
nanoz has joined #ruby
tmtwd_ has joined #ruby
diegoaguilar has joined #ruby
Chagel has joined #ruby
kadoppe has joined #ruby
astrobunny has joined #ruby
rbennacer has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
idefine has quit [Remote host closed the connection]
sandelius has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
william3 has joined #ruby
norc has joined #ruby
Chagel_ has joined #ruby
<norc> Good morning #ruby.
mr_roboto has joined #ruby
<Ropeney> good afternoon norc
merida has quit [Remote host closed the connection]
Chagel has quit [Ping timeout: 276 seconds]
<shayan> Hello!
pawnbox has joined #ruby
kung_ has quit [Quit: Leaving]
merida has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
kadoppe has quit [Ping timeout: 240 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
NightMonkey has joined #ruby
Sammichmaker has quit [Read error: Connection reset by peer]
<Ox0dea> norc: Do you reckon it'd be okay to just shove "VALUE" into `types` here? https://git.io/vVHxN
flashpoint9 has joined #ruby
zapata has joined #ruby
<Caerus> hello!
Mia has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
<norc> Ox0dea: Don't see why not.
futilegames has joined #ruby
ctarx has quit [Quit: Textual IRC Client: www.textualapp.com]
flashpoint9 has quit [Ping timeout: 276 seconds]
<norc> Ox0dea: Though if INT is among these types that would be a bit moot.
<Ox0dea> norc: How's that?
rkazak has joined #ruby
rahult has joined #ruby
edwinvdgraaf has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
<norc> Ox0dea: Strike that, wrong thought entered my head.
tubuliferous has quit [Ping timeout: 248 seconds]
bluOxigen has joined #ruby
shayan has quit [Quit: shayan]
chouhoulis has joined #ruby
kareeoleez has joined #ruby
Softnex has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
william3 has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 276 seconds]
kareeole_ has joined #ruby
bruno- has joined #ruby
Devalo has quit [Remote host closed the connection]
kareeoleez has quit [Read error: Connection reset by peer]
x77686d has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
william3 has quit [Ping timeout: 246 seconds]
blt has quit [Ping timeout: 252 seconds]
kareeole_ is now known as kareeoleez
nando293921 has quit [Ping timeout: 246 seconds]
bluOxigen has left #ruby [#ruby]
x77686d has quit [Client Quit]
Dimik has joined #ruby
aganov has joined #ruby
bruno- has quit [Ping timeout: 276 seconds]
Sammichmaker has joined #ruby
ta_ has joined #ruby
arup_r has joined #ruby
last_staff has joined #ruby
aufi has joined #ruby
LoneHermit has joined #ruby
solars has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
Outlastsheep has quit [Ping timeout: 264 seconds]
<arup_r> Hi, I am writing a code to read the output of the command `last`, and then do some analysis on this. Like print how many times a user logged in, number of logins per day etc. So, I see how can I capture the output of the `last` command using http://ruby-doc.org/core-2.3.0/IO.html#method-c-popen. Then I am thinking to split each line on whitespace, but date output itself has whitespace, so splitting it on whitespace is not seems like a good idea.
<arup_r> Because date will be splitted. So any more control way to read this shell command output?
bb010g has quit [Quit: Connection closed for inactivity]
<arup_r> 1 min let me show 1 ouput.
pawnbox has quit [Remote host closed the connection]
CausaMortis has joined #ruby
<arup_r> https://gist.github.com/aruprakshit/26209f242e146d232b8877a8f1c4c0c1 is small code I have now.. So what I want to know from you, how should I split the data, so that I can build the report correctly.
<arup_r> let me know if my question is not clear.
PedramT has joined #ruby
william3 has joined #ruby
fedexo has quit [Ping timeout: 248 seconds]
sergey_makagon has joined #ruby
sergey_makagon has quit [Client Quit]
karapetyan has joined #ruby
Xeago has quit [Ping timeout: 268 seconds]
<Ox0dea> arup_r: I'd recommend using `last -R` to drop the hostname column, which makes parsing it as easy as `line.split(/ +/, 3)`.
<mozzarella> arup_r: what about using "last --time-format=iso"?
bmf has joined #ruby
<arup_r> ok. I didn't know the options you are saying. Let me run them first and see. how they look like.
dn` has quit [Ping timeout: 244 seconds]
william3 has quit [Ping timeout: 246 seconds]
<arup_r> I want to build a report for *Frequency of Usernames:*, *Frequency of IP Addresses:*, *Number of logins per day:*..
<saltsa_> arup_r: or just join the fields? The first username, 2nd tty, 3rd day, 4th month, 5th time, 6th- status
<arup_r> so if I am able to parse these data, is enough,. rest I don't need
rbennacer has joined #ruby
madgen has joined #ruby
dn` has joined #ruby
<arup_r> if run arup@ror ~ $ last --time-format=iso gives error as "last: illegal option -- -" .. I am osX .. do I need some extra settings?
<saltsa_> arup_r: like this: p line.first.split()[6..-1].join(" ")
karapetyan has quit [Ping timeout: 260 seconds]
mr_roboto has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
vdamewood has quit [Max SendQ exceeded]
andikr has joined #ruby
vdamewood has joined #ruby
<arup_r> I did `man last` and it don't support the options mozzarella and Ox0dea said. :/
rbennacer has quit [Ping timeout: 248 seconds]
tmtwd_ has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
czerasz_ has quit [Ping timeout: 244 seconds]
TomyWork has joined #ruby
<Ox0dea> arup_r: Well, the fields are always separated by at least two spaces. It's a shame you can't set the delimiter, but that should help.
<Ox0dea> String#split supports an optional second argument that tells it when to stop splitting, and that might come in handy as well.
pawnbox has joined #ruby
<Ox0dea> As long as all your entries have the same number of columns, that should suffice.
rbennacer has joined #ruby
<Ox0dea> `who, where, ip, date = line.split(/ +/, 4)` or some such.
ur5us has quit [Remote host closed the connection]
biberu has joined #ruby
ur5us has joined #ruby
<arup_r> ok. I am checking how can I enable the all options with `last`. Otherwise, how would I test the code.
vondruch has quit [Ping timeout: 260 seconds]
futilegames has quit [Quit: futilegames]
agent_white has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 260 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SCHAAP137 has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
jxs_ has joined #ruby
clauswitt has joined #ruby
pandaant has joined #ruby
chouhoulis has joined #ruby
raeoks has quit [Ping timeout: 264 seconds]
idletask has quit [Quit: .]
djbkd has quit [Quit: Leaving...]
rbennacer has joined #ruby
clauswitt has quit [Client Quit]
clauswitt has joined #ruby
raeoks has joined #ruby
mark3 has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
PedramT has quit [Ping timeout: 246 seconds]
madgen has quit [Ping timeout: 268 seconds]
the_drow has joined #ruby
bruno- has joined #ruby
clauswitt has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
anisha has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
PedramT has joined #ruby
valetudo has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
rbennacer has joined #ruby
antgel has joined #ruby
jxs_ has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 248 seconds]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
agent_white has quit [Quit: brb]
valetudo has quit [Ping timeout: 244 seconds]
flughafen has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
blackms has joined #ruby
kits has joined #ruby
neanderslob_ has joined #ruby
Macaveli has joined #ruby
mikecmpbll has joined #ruby
petertretyakov has joined #ruby
Suntzu has joined #ruby
sepp2k has joined #ruby
neanderslob_ is now known as neanderslob
ramfjord has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
mr_roboto has joined #ruby
bronson has joined #ruby
jaruga__ has joined #ruby
petertretyakov has quit [Client Quit]
futilegames has quit [Quit: futilegames]
krz has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
krz has joined #ruby
madgen has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
jxs_ has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
petertretyakov has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Jameser has quit [Remote host closed the connection]
futilegames has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Balzrael has joined #ruby
Chagel has joined #ruby
jxs_ has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Ping timeout: 252 seconds]
DoubleMalt has joined #ruby
arup_r has quit []
dionysus69 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chagel_ has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
El3k0n has joined #ruby
rbennacer has joined #ruby
sandelius has joined #ruby
elaptics`away is now known as elaptics
skade has joined #ruby
lacrosse has joined #ruby
czerasz has joined #ruby
ramfjord has joined #ruby
ferr has joined #ruby
jxs_ has joined #ruby
mikecmpbll has joined #ruby
goooodroot has joined #ruby
baweaver has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
Blaze_Boy has joined #ruby
merida has quit [Remote host closed the connection]
vondruch has joined #ruby
drptbl has joined #ruby
rbennacer has joined #ruby
gooodroot has quit [Ping timeout: 264 seconds]
baweaver has quit [Ping timeout: 250 seconds]
mr_roboto has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenguy_pc has quit [Ping timeout: 240 seconds]
lyro has joined #ruby
sepp2k has quit [Quit: Leaving.]
PedramT has quit [Ping timeout: 244 seconds]
Blaze_Boy has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
ocbtec has joined #ruby
blackmesa has joined #ruby
jxs_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
gooooodroot has joined #ruby
william3 has joined #ruby
El3k0n has quit [Ping timeout: 248 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
goooodroot has quit [Ping timeout: 246 seconds]
<DanielJack> should i use "not obj.nil?" or "obj != nil"?
<al2o3-cr> their opposites
<Ox0dea> DanielJack: Just `obj`.
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<DanielJack> but if obj = false then it would trigger too
<DanielJack> i mean not trigger
<norc> DanielJack: !obj.nil?
<tobiasvl> !!obj :)
LoneHermit has quit [Ping timeout: 268 seconds]
<DanielJack> !!obj?
lkba has quit [Ping timeout: 244 seconds]
<norc> DanielJack: not not obj
<norc> DanielJack: Its a quick way of obtaining the truthy value of an object.
<tobiasvl> won't help if you want to discern false from nil
<tobiasvl> use whatever you want which makes the distinction clear
mrgrieves has joined #ruby
<norc> DanielJack: the most elegant way of simply checking whether its not nil is just !obj.nil?
<norc> or unless obj.nil?
raeoks has quit [Ping timeout: 244 seconds]
<norc> Though personally I avoid "unless"
<DanielJack> unless...
<tobiasvl> yeah I've done ruby for years and unless still trips me up
early90spants has left #ruby [#ruby]
william3 has quit [Ping timeout: 276 seconds]
<al2o3-cr> DanielJack: `unless` is basically `if not`
<Ox0dea> Except that it's not a method call.
<tobiasvl> good point Ox0dea
<norc> al2o3-cr: unless is just if, but with the two blocks being swapped around.
<norc> al2o3-cr: and if you wonder about "two", Ruby automatically inserts an "null" node if you do not supply one.
<al2o3-cr> yeah, just inveresed
n008f4g_ has joined #ruby
<norc> Although its not entirely true.
<norc> I regularly use modifier_unless, since its way more expressive than the modifier_if variant in some cases.
siaw has quit [Quit: siaw]
<al2o3-cr> going down to C level, no.
<tobiasvl> DanielJack: you don't need to pay attention anymore if you don't want to ;)
<norc> >> a = ""; puts a unless a.nil?
<ruby[bot]> norc: # => ...check link for more (https://eval.in/551008)
<norc> al2o3-cr: bytecode level.
RyanMcCoskrie has quit [Quit: Konversation terminated!]
<DanielJack> thanks guys
<al2o3-cr> lol
<DanielJack> i cant decide if i want to use 'not' or !
karapetyan has quit [Remote host closed the connection]
<shevy> al2o3-cr let us master C together!
<al2o3-cr> DanielJack: use !
<shevy> DanielJack use 'not'
<al2o3-cr> noooooo....
<shevy> actually
<shevy> I agree with al2o3-cr
<DanielJack> you are just like the voices in my heda
<al2o3-cr> :)
<shevy> but if the question is 'and' or &&
marr has joined #ruby
<DanielJack> shevy: yeah what about them?
<shevy> DanielJack then I would use 'and' :)
<DanielJack> should I use equal instead of == and unequal instead of !=
<DanielJack> ?
william3 has joined #ruby
<shevy> well
<shevy> I think in many cases it depends on how you can make the code more readable / logical
<shevy> you could reverse, like: if ! foo .... unless foo
<DanielJack> the logic doesn't change
<DanielJack> 'and' and '&&' are logically equal
<shevy> yeah but which tokens are better!
<shevy> && should have slightly higher precedence than 'and'
<DanielJack> wat
<DanielJack> you wanna tell me that if i do (a and b && c) then b and c will be evaluated first?
<tobiasvl> yes
<DanielJack> dfq
<shevy> 'and' etc... are quite low on the table
<Ox0dea> DanielJack: Ruby's `and` and `or` aren't meant to be used for logic.
<shevy> !, ~, unary + <--- the WINNERS!
<al2o3-cr> very true
<shevy> lol aptly named page
<Ox0dea> They're for "sequencing", more or less.
<tobiasvl> most style guides say to use ! instead of not. some say to use and/or for control flow and &&/|| for logical operations, others say to use &&/|| exclusively to avoid any pitfalls.
<norc> DanielJack: and/or are for control flow, very much like if/unless
antgel has quit [Ping timeout: 248 seconds]
<tobiasvl> ultimately it's up to you though, as long as you know what you're doing
<norc> tobiasvl: The best rule is this: The variant where you do not have to add paranthesis to correct precedence is the one you want to use.
<tobiasvl> yeah
<tobiasvl> agreed
antgel has joined #ruby
<norc> (Or the other way around, if you have to add parens, chances are you are using the wrong one)
<DanielJack> I have this shotgun which shoots both forward and backward simultaneously, of course i know what i'm doing!
<shevy> yeah, zombie-covering shotguns... you never know where they are coming fom next
<shevy> *from
<DanielJack> shevy: i think it would confuse people if one would use and/or together with &&/|| in the same statement
<norc> Ox0dea: Funny story, during my implementation of my own parsers over the past few weeks, I began to understand why Ruby is so packed with macros in the bison part.
nobitanobi has joined #ruby
minimalism has quit [Quit: minimalism]
<DanielJack> are you creating a parser for ruby?
dc4 has joined #ruby
<norc> DanielJack: Different language, though a Ruby parser has come to mind.
<DanielJack> what languagE?
<norc> C++
<shevy> DanielJack yeah... I actually can not recall instances where I see both applied at the same time
<Ox0dea> norc: The "X macros" are interesting.
rbennacer has quit [Ping timeout: 268 seconds]
<norc> Ox0dea: The real problem is C. Its that hilarious attempt to dry up code when you do not have templated classes and dynamic_cast at your disposal.
rbennacer has joined #ruby
<Ox0dea> You're not wrong.
<Ox0dea> I'm not sure "problem" is quite right, though.
<norc> Yeah.
nofxx has quit [Ping timeout: 244 seconds]
<norc> "Cause" fits better I suppose.
<DanielJack> shevy: probably a good target to introduce hidden bugs that one can exploit
<norc> Ox0dea: I started out in C, and just for semantic actions I started writing code along the lines of $$ = new_ast_node(ast_node_type_operator, $1, $3, $5, AST_NULL_NODE);
auzty has joined #ruby
<norc> Ox0dea: So that quickly became $$ = NEW_NODE(OPERATOR, $1, $3, $5, N_NULL), which became $$ = NEW_OPERATOR ... and suddenly I realized how the Ruby parser came to be.
<Ox0dea> norc: I reckon that's about the size of it.
madgen has quit [Ping timeout: 248 seconds]
Chagel has quit [Ping timeout: 264 seconds]
william3 has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
madgen has joined #ruby
merida has joined #ruby
Chagel has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
merida has quit [Client Quit]
rbennacer has joined #ruby
Snowy has joined #ruby
william3 has joined #ruby
pabs has quit [Ping timeout: 276 seconds]
pabs has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
akkmaxon has joined #ruby
Xeago has joined #ruby
jxs_ has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
RubyJedi-ing_ has joined #ruby
rbennacer has joined #ruby
Chagel_ has joined #ruby
postmodern has quit [Quit: Leaving]
Chagel has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
jt__ has joined #ruby
skislak has joined #ruby
rolha has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 264 seconds]
william3 has quit [Read error: Connection reset by peer]
djellemah has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
dgncn has quit [Excess Flood]
araujo has quit [Quit: Leaving]
dgncn has joined #ruby
rolha has joined #ruby
dc4 has quit [Ping timeout: 252 seconds]
rbennace_ has joined #ruby
p0p0pre7 has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
jxs_ has quit [Remote host closed the connection]
bruno- has joined #ruby
pawnbox has joined #ruby
Couch has joined #ruby
jxs_ has joined #ruby
dc4 has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
shayan has joined #ruby
d0nn1e has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 248 seconds]
duoi has quit [Excess Flood]
duoi has joined #ruby
bmf has quit [Ping timeout: 246 seconds]
rbennace_ has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
pawnbox has quit [Remote host closed the connection]
karapetyan has joined #ruby
araujo has joined #ruby
william3 has joined #ruby
RegulationD has joined #ruby
workmad3 has joined #ruby
sandelius has joined #ruby
nettoweb has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has joined #ruby
<norc> Ox0dea: Do you recall your dvar hack?
karapetyan has quit [Ping timeout: 276 seconds]
kies has quit [Ping timeout: 260 seconds]
bmf has joined #ruby
<Ox0dea> norc: Er, nothing immediately springs to mind.
RegulationD has quit [Ping timeout: 264 seconds]
<norc> Ox0dea: You had some ruby extension that allowed for user defined dynamic variables (think $1) that executed Ruby code when being referenced.
djellemah has joined #ruby
rippa has joined #ruby
<Ox0dea> norc: Ah, yes, I remember. I took to calling them "vvars".
* apeiros still thinks it was a bad idea to hide methods behind "globals"
<apeiros> but I guess that was a performance optimization, back when method call overhead was even worse
<Ox0dea> Would you have been okay with a different sigil?
<apeiros> I don't see the need for another sigil
<apeiros> just make them methods
blackmesa has joined #ruby
<Ox0dea> On Kernel?
<norc> Ox0dea makes a good point there.
phage has left #ruby ["WeeChat 1.4"]
<norc> Though honestly name resolution is cluttered whether you have dvars in global scope or methods on Kernel either way.
yfeldblum has joined #ruby
<apeiros> Ox0dea: no. IMO ruby puts a lot of stuff into Kernel for which I'd provide a proper namespace.
<Ox0dea> apeiros: Hm... like what?
<apeiros> since those variables cover a wide range, it wouldn't be a single namespace
pawnbox has joined #ruby
<Xeago> Ox0dea: `puts`, `gets`
<norc> Ox0dea: puts, printf are two that immediately come to mind that simply do not belong there.
<apeiros> the $1-$n I'd probably put on Regexp.
<norc> They belong to IO. Not Kernel.
<apeiros> $:, $" etc. I'd probably have a module Ruby
<Xeago> what are $: $"?
<Ox0dea> Xeago: You don't want to be able to call those from anywhere?
<Xeago> (they're hard to google for)
<apeiros> Xeago: $LOAD_PATH, $LOADED_FEATURES
<Ox0dea> ?quickref Xeago
<Xeago> Ox0dea: I'd want those to be namespaced
<Ox0dea> Xeago: You can invoke them directly on $stdin, if that takes your fancy.
<Ox0dea> And $stdout as well. :P
<apeiros> I'm not sure where I'd put stuff like ARGV, ARGF, ENV etc., but those I'd probably also stuff away into a namespace.
<apeiros> though, $" and $: are not actually functions :)
<Ox0dea> I can fix that. :P
<apeiros> you and I - we have a different definition for "fix" :-p
<norc> Ox0dea: Or all these $_ shortcuts that exist just to make Ruby look like got the Copy-Paste treatment from Perl.
<norc> (chomp, gets, sub, gsub)
<norc> Dont tell me you ever use them.
<Ox0dea> I do use those?
<Ox0dea> I'm A-okay with Ruby being a (much) better Perl.
<norc> On Kernel?
<Ox0dea> Oh, I see how you meant.
<Ox0dea> No, I don't do that, and it is kinda weird.
<adaedra> Ox0dea finding something weird? Weird.
Chagel_ has quit [Remote host closed the connection]
<Ox0dea> Well, it's just that `ruby -pe` as a stream editor gets out of hand rather quickly.
Chagel has joined #ruby
<Ox0dea> norc: I'm sure $_ and its associated functionality were intended to entice Perlers of the time to make the switch.
pawnbox has quit [Remote host closed the connection]
goodroot has joined #ruby
Xeago has quit [Remote host closed the connection]
evidex has joined #ruby
<Ox0dea> apeiros: What'd you mean about $" and $: not being functions?
<norc> Ox0dea: Its okay. We got them hooked, now we can ditch it away. ;-)
<Ox0dea> norc: Ruby 3 is unlikely to be a purge. :P
<norc> Ox0dea: By the way, since you seem to fancy obfuscation from time to time, were you aware that q = q was legal in Ruby?
Xeago has joined #ruby
ur5us has quit [Remote host closed the connection]
<Ox0dea> norc: We've certainly discussed this.
<norc> We have?
<Ox0dea> I feel we must've?
gooooodroot has quit [Ping timeout: 252 seconds]
<norc> Well I discussed it here, but I am fairly certain that you were not around at the time.
blackmesa has quit [Ping timeout: 248 seconds]
<Ox0dea> Ah, well, it's certainly made the rounds by now.
Marsupermammal has joined #ruby
<norc> Ox0dea: The curious thing is that if you disassemble that, it shows that Ruby initializes lvars for you if you do not do it yourself.
<norc> Or rather the lack of any bytecode is a strong indicator.
ramfjord has quit [Ping timeout: 252 seconds]
<Ox0dea> norc: Aye, it must do, since the `getlocal` happens before the `setlocal`.
<norc> Indeed.
pawnbox has joined #ruby
* chris2 likes using puts instead of System::STDOUT.puts :P
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
petertretyakov has quit [Quit: Be back later ...]
<Ox0dea> I prefer `$><<`. ^_^
william3 has quit [Read error: Connection reset by peer]
<Ox0dea> >> $> << 'foo'
<ruby[bot]> Ox0dea: # => foo#<IO:<STDOUT>> (https://eval.in/551065)
<Xeago> que
yfeldblum has quit [Ping timeout: 248 seconds]
<Ox0dea> $> is $stdout, IO#<< is #write.
terlar has joined #ruby
<Ox0dea> It only hurts if you poke it.
nanoz has quit [Read error: Connection reset by peer]
<norc> Ox0dea: Help me explain something.. throw this into your pry $><<(_=_)
<norc> Why does _ now point at STDOUT?
<Ox0dea> norc: Pry uses `_` for the last evaluation, just like irb.
<norc> Oh.
astrobunny has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
william3 has joined #ruby
<norc> Ox0dea: Seems like __ is special too then.
<norc> The confusion that just happened in my head was unreal.
<Ox0dea> norc: What's special about `__`?
<norc> Ox0dea: Either it also points at the last evaluation, or it has some other meaning.
<Ox0dea> norc: Ah, it's just second-back.
auzty has quit [Quit: Leaving]
waxxy has joined #ruby
snoobydo1 has quit [Ping timeout: 244 seconds]
Rixius has joined #ruby
LoneHerm_ has quit [Ping timeout: 264 seconds]
<norc> Ah.
<norc> That reminds me, I still have to write a patch for pry.
<Ox0dea> Alas, "extra sticky" is not an intensifier.
jxs_ has quit [Remote host closed the connection]
frankier has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
valetudo has joined #ruby
unshadow has joined #ruby
<norc> Ox0dea: Im sure at some point the author was just tired and could not be bothered to come up with a sensible name for encapsulating it. :)
jt__ has quit [Remote host closed the connection]
<norc> Ox0dea: I mean if you look closely enough, pry has some bizarre quirks.. wtf??!?!?!?!?!??!! is just the tip of the iceberg. ;-)
nhhc has quit [Quit: Leaving]
<Ox0dea> norc: I just meant that the "extra" there means "additional" rather than "extremely".
<norc> Oh!
Xeago has quit [Remote host closed the connection]
<norc> Well.
El3k0n has joined #ruby
n008f4g_ has quit [Ping timeout: 246 seconds]
<shayan> Why is this giving me an error?:
<shayan> puts "What is your favorite number?"
<Radar> ?8ball
<ruby[bot]> Radar: I don't know anything about 8ball
<shayan> num = gets.chomp
<shayan> if num > 0
<shayan> puts "Wow, that is a pretty number!"
<Ox0dea> norc: It's rare enough, but tab-completing methods on String literals is still wonky.
<shayan> end
<Radar> shayan: ?gist
<Radar> ?gist shayan
<ruby[bot]> shayan: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Radar> shayan: because num is not a number, it would be a string.
<Radar> shayan: gets returns a string
<Ox0dea> Or `nil`.
<norc> Ox0dea: tab completion on paths without explicitely requiring strscan on your pryrc still crashes pry. ;-)
Xeago has joined #ruby
<Ox0dea> norc: Ah, yeah, that was the one.
<norc> Ox0dea: That was the bug I referred to earlier, Im going to patch that I think.
<shayan> Radar: Ah, that certainly makes sense to me now.
william3 has quit [Ping timeout: 240 seconds]
<shayan> Radar: What is the correct method in this case?
william3 has joined #ruby
<norc> shayan: Note though, instead of asking why it gives an error, next time try asking "What does this error message mean?"
<Radar> shayan: what have you tried?
<norc> shayan: Because the error message you would get is quite descriptive already.
<shayan> norc: Thank you, I will remember that for next time
clauswitt has joined #ruby
bruno- has joined #ruby
<shayan> I solved this — I just had to convert the num to an integer (num.to_i)
Outlastsheep has joined #ruby
gooodroot has joined #ruby
merida has joined #ruby
jgt4 has joined #ruby
freerobby has joined #ruby
platzhirsch has joined #ruby
bruno- has quit [Ping timeout: 248 seconds]
goodroot has quit [Ping timeout: 268 seconds]
Azure has quit [Ping timeout: 260 seconds]
Skelz0r has quit [Ping timeout: 248 seconds]
william3 has quit [Read error: Connection reset by peer]
senayar has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar has joined #ruby
Xeago has quit [Remote host closed the connection]
rbennacer has joined #ruby
sandelius has joined #ruby
freerobby has quit [Quit: Leaving.]
RubyJedi-ing_ has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
clauswitt has quit [Quit: Textual IRC Client: www.textualapp.com]
hk238 has joined #ruby
Ropeney has joined #ruby
bmf has quit [Ping timeout: 250 seconds]
rbennacer has quit [Ping timeout: 248 seconds]
El3k0n has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
william3 has joined #ruby
cajone has left #ruby [#ruby]
cajone has joined #ruby
chouhoulis has joined #ruby
goooodroot has joined #ruby
Azure has joined #ruby
FooMunki has joined #ruby
GodFather has joined #ruby
gooodroot has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
bmf has joined #ruby
platzhirsch has quit [Quit: Leaving.]
karapetyan has joined #ruby
leftpad has joined #ruby
dvinciguerra_ has joined #ruby
karapetyan has quit [Ping timeout: 246 seconds]
gooooodroot has joined #ruby
Guest97976 has joined #ruby
Mon_Ouie has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goooodroot has quit [Ping timeout: 276 seconds]
Gasher has joined #ruby
william3 has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
Skelz0r has joined #ruby
<apeiros> Ox0dea: aren't they plain arrays and just assignment to those vars is blocked?
Chagel has quit [Ping timeout: 260 seconds]
jaruga__ has quit [Ping timeout: 260 seconds]
Ropeney has joined #ruby
nofxx has joined #ruby
<Ox0dea> apeiros: Nah, they're "hooked" virtual variables.
gregf has quit [Quit: WeeChat 1.4]
<apeiros> ah ok. I assumed their functionality was simple enough that that wasn't necessary
johnmilton has joined #ruby
<hanmac> yeah virtual variables are funky xD
Guest97976 has quit [Ping timeout: 246 seconds]
Skelz0r has quit [Ping timeout: 260 seconds]
gregf has joined #ruby
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
pawnbox has joined #ruby
william3 has joined #ruby
voodo has joined #ruby
skade has joined #ruby
trinaldi has joined #ruby
Skelz0r has joined #ruby
platzhirsch has joined #ruby
freerobby has joined #ruby
madgen has quit [Ping timeout: 248 seconds]
GG has joined #ruby
william3 has quit [Read error: Connection reset by peer]
Skelz0r has quit [Ping timeout: 268 seconds]
madgen has joined #ruby
ruby-lang078 has joined #ruby
william3 has joined #ruby
petertretyakov has joined #ruby
RubyJedi-ing has joined #ruby
unshadow has quit [Quit: leaving]
ruby-lang078 has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
nando293921 has joined #ruby
Skelz0r has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
blaxter has joined #ruby
gnufied has joined #ruby
ldnunes has joined #ruby
rolha has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has quit [Remote host closed the connection]
rbennacer has joined #ruby
senayar has joined #ruby
william3 has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
<norc> Ox0dea: Can you give me a link to your $ magic source code?
sepp2k has joined #ruby
kadoppe has joined #ruby
goodroot has joined #ruby
william3 has joined #ruby
magic has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
magic is now known as Guest13504
nodejunkie has quit [Ping timeout: 252 seconds]
gooooodroot has quit [Ping timeout: 248 seconds]
voodo has quit [Quit: Leaving...]
snoobydoo has joined #ruby
kadoppe has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
<Ox0dea> The only wonky bit is the valid identifier check.
<Ox0dea> I remember finding something interesting to do with rb_is_junk_id(), but I forgot to note it.
<Ox0dea> I think it might've been that it doesn't consider the empty identifer to be "junk", but I didn't play with it like I should've.
rbennacer has joined #ruby
Skelz0r has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
nfk|laptop has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
dravine has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
william3 has joined #ruby
LoneHerm_ has joined #ruby
decoponio has joined #ruby
Snowy has quit [Remote host closed the connection]
snoobydo1 has joined #ruby
rbennacer has joined #ruby
<norc> Ox0dea: Appreciate it.
snoobydoo has quit [Ping timeout: 246 seconds]
LoneHerm_ has quit [Ping timeout: 246 seconds]
Skelz0r has joined #ruby
hanmac has quit [Ping timeout: 248 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
gagrio has quit [Ping timeout: 276 seconds]
szulak has joined #ruby
diegoaguilar has quit [Ping timeout: 276 seconds]
bmf has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
<Ox0dea> norc: No worries. Is your language gonna have dvars? :)
gagrio has joined #ruby
icey has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
icey has quit [Remote host closed the connection]
<norc> Ox0dea: No, Im not particularly interested in the actual language, but some theoretical stuff about IR and optimization passes.
arlek has quit [Ping timeout: 252 seconds]
ffgghhj has joined #ruby
dANOKELOFF has joined #ruby
<Ox0dea> norc: I suspect you're familiar, but in case not: https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html
<norc> Ox0dea: It is quite interesting because even GIMPLE has 2 levels of abstraction, and afterwards there is another representation (RTL) which is still used for more aggressive low level optimization.
icey has joined #ruby
szulak has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icey has quit [Remote host closed the connection]
<norc> Ox0dea: In my first step Ill just translate directly to LLVM though.
<Ox0dea> norc: Yeah, makes good sense.
tesuji has joined #ruby
Guest13504 has quit [Remote host closed the connection]
eljimbo has joined #ruby
hanmac has joined #ruby
william3 has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
<norc> Ox0dea: Im still so sad, that there is no suitable parser generator for C++ :(
rbennacer has quit [Ping timeout: 268 seconds]
gagrio is now known as gagrio-mtg
<Ox0dea> norc: What explains that?
<Ox0dea> The curse of good enough, I suppose. :/
icey has joined #ruby
<norc> ANTLR is probably the closest thing, but I do not have much love for waiting 2s every time I just want to fire up the JVM...
szulak has joined #ruby
diegoaguilar has joined #ruby
<Xeago> How do I read a single character, not putting the terminal in raw mode?
_blizzy_ has joined #ruby
rbennacer has joined #ruby
<norc> Xeago: STDIN.getc ?
Zai00 has joined #ruby
<norc> Xeago: And likewise, if you want to read it in raw mode, STDIN.raw { |stdin| stdin.getc }
thistle has joined #ruby
Snowy has joined #ruby
madgen has quit [Ping timeout: 248 seconds]
johnmilton has quit [Remote host closed the connection]
dvinciguerra_ has quit [Ping timeout: 246 seconds]
najam has joined #ruby
RubyJedi-ing has quit [Ping timeout: 250 seconds]
<Xeago> norc: thanks, I was looking at getch, which puts it in raw
<norc> Xeago: Ah! That explains your peculiar question then
saneax is now known as saneax_AFK
rbennacer has quit [Ping timeout: 240 seconds]
GG has quit [Quit: You my last first kiss. From now on, I made you my only <3]
_stu_ has joined #ruby
william3 has joined #ruby
YaknotiS has quit [Ping timeout: 244 seconds]
najam has quit [Quit: najam]
swills has quit [Ping timeout: 276 seconds]
jgt4 has quit [Ping timeout: 260 seconds]
<Xeago> Simple loop to prompt for y/n
<tobiasvl> ruby golf?
GG has joined #ruby
<Xeago> Feels unruby like to while true
rbennacer has joined #ruby
GG has quit [Remote host closed the connection]
<Xeago> Ideally the condition to exit the loop is actually specified at the `while`, and not some arbitrary `if` with a `return`
<Xeago> tobiasvl: no
<Ox0dea> Xeago: Be advised that you're leaving data in the input stream for the next read, which is probably not what you want.
<Xeago> Ox0dea: how would I get around that?
<Ox0dea> Xeago: You could just use #gets and grab only the first character for comparison.
rbennacer has quit [Ping timeout: 244 seconds]
dvinciguerra has joined #ruby
sdothum has joined #ruby
merida has quit [Remote host closed the connection]
<Xeago> Ox0dea: I'm making a program with rapid fire questions and answers, I want to get rid of the enter-press
shayan has quit [Quit: shayan]
<Ox0dea> Xeago: Then you want #getch.
<Xeago> that puts it in raw mode though
<Xeago> I don't want to handle my own SIGINT and other signals :<
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> Well, #getc doesn't get rid of the Enter press.
karapetyan has joined #ruby
aupadhye has joined #ruby
Xeago has quit [Remote host closed the connection]
rbennacer has joined #ruby
flashpoint9 has joined #ruby
johnmilton has joined #ruby
bruno- has joined #ruby
IrishGringo has joined #ruby
Xeago has joined #ruby
madgen has joined #ruby
Marsupermammal has joined #ruby
Lorn_ has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 248 seconds]
tubuliferous has joined #ruby
william3 has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
drunkfox is now known as staticfox
chouhoulis has quit [Ping timeout: 244 seconds]
johnmilton has quit [Remote host closed the connection]
johnmilton has joined #ruby
Patrezze has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
kadoppe has joined #ruby
william3 has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
johnmilton has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
Patrezze has left #ruby ["Saindo"]
terlar has joined #ruby
ChiefAlexander has joined #ruby
YaknotiS has joined #ruby
rbennacer has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
ramortegui has joined #ruby
kareeoleez has joined #ruby
madgen has quit [Ping timeout: 250 seconds]
madgen has joined #ruby
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
bruno- has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
kadoppe has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
gagrio-mtg has quit [Ping timeout: 244 seconds]
djcp has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
gnufied has quit [Quit: Leaving]
duckpuppy has joined #ruby
aresela has joined #ruby
roelof has joined #ruby
william3 has quit [Read error: Connection reset by peer]
Xeago has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Remote host closed the connection]
Xeago has joined #ruby
<roelof> I know instance_eval uses Strings so that is why I used .to_i . but no luck
huddy has joined #ruby
<tobiasvl> uh
<tobiasvl> what is the exercise exactly?
terlar has quit [Quit: WeeChat 1.4]
<roelof> All I know its in the paste, tobiasvl
<tobiasvl> roelof: there's no exercise text apart from what it says up top?
william3 has joined #ruby
<tobiasvl> you say you know that instance_eval uses Strings, but there are two instance_eval. one uses a block. the exercise tells you to use a block
Xeago has quit [Remote host closed the connection]
gnufied has joined #ruby
<roelof> tobiasvl: this is all that is stated on the rubymonk page where this exercise can be found
ChiefAlexander has joined #ruby
<tobiasvl> and overriding initialize with that doesn't make sense
<tobiasvl> roelof: it really says nothing more than "Solve this simple exercise"? what is "this simple exercise"? I don't get it
ekinmur has joined #ruby
<Ox0dea> I don't know why this fella's so set on making it hard to help him. :/
Zai00 has quit [Quit: Zai00]
Xeago has joined #ruby
<tobiasvl> roelof: if you see directly above the exercise it says "Unlike eval, instance_eval can also accept a block instead of a string."
<tobiasvl> so I don't think you're supposed to use a string.
<roelof> oke, I will try to find a example with a block and instance_eval
<roelof> thanks
atparrington has joined #ruby
<tobiasvl> it's literally directly above the exercise
<tobiasvl> in the example code
pawnbox has joined #ruby
freerobby has quit [Quit: Leaving.]
<jhass> roelof: also press run to see which expectations the exercise has
<tobiasvl> and it is unclear what the exercise is, actually, but I assume they mean that you should solve the previous exercise (defining a class method 'sum') using a block?
stan has quit [Remote host closed the connection]
<jhass> tobiasvl: no, press run too ;)
<roelof> I expected to see 43 where instance_eval is now returning 42
terlar has joined #ruby
<tobiasvl> ah look at that
abyx has joined #ruby
tax has joined #ruby
atparrington has quit [Client Quit]
freerobby has joined #ruby
iNs has quit [Quit: probably fiddling... x)]
<roelof> tobiasvl: oke, I think the problem is that I do not have a clue if 42 is a number/string or a object
<roelof> I tried to do instance_eval { @zen }.to_i but then a syntax error
jero__ has joined #ruby
abyx has quit [Client Quit]
<Ox0dea> That's not a syntax error.
pawnbox has quit [Ping timeout: 276 seconds]
<tobiasvl> roelof: everything is an object in ruby
kareeole_ has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
abyx has joined #ruby
aresela has left #ruby [#ruby]
kareeole_ is now known as kareeoleez_
stan has joined #ruby
kareeoleez has quit [Ping timeout: 264 seconds]
<Ox0dea> roelof: It really seems like you're trying to "win" RubyMonk rather than learn Ruby. :<
kareeoleez_ is now known as kareeoleez
gagrio-mtg has joined #ruby
william3 has quit [Read error: Connection reset by peer]
<Ox0dea> You're rushing through the exercises without retaining much of anything.
<roelof> no, I try to learn ruby by using rubymonk as the course tells me to do
bruno- has quit [Quit: Lost terminal]
gagrio-mtg is now known as gagrio
gagrio has quit [Client Quit]
<norc> tobiasvl: methods are not. :(
kfpratt has joined #ruby
merida has joined #ruby
gagrio has joined #ruby
<tobiasvl> true. but they can be turned into an object!
<norc> tobiasvl: Though my prime counter argument whenever I hear this is still the same:
<norc> Blocks.
mostlybadfly has quit [Quit: Connection closed for inactivity]
bruno- has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
<tobiasvl> roelof: so walk us through your thought process. you don't have a clue whether 42 is a number/string or an object. I told you everything is an object (although I lied, numbers and strings are both objects). strings have quotes around them.
platzhirsch has quit [Quit: Leaving.]
NinjaPanzer has joined #ruby
<tobiasvl> norc: & !
<roelof> tobiasvl: oke, I try
<roelof> when I do this : m.instance_eval {@ zen } I get 42 as expected
<tobiasvl> all right!
sgambino has joined #ruby
<roelof> but I cannot "convert" it to a integer with .to_i because I see a error message like this : syntax error, unexpected $undefined
<roelof> so I wonder what 42 is then
<roelof> I know everything is a object in ruby
<tobiasvl> roelof: you were trying to convert the block, not @zen
<tobiasvl> and 42 is an int already so you don't have to convert it
pawnbox has joined #ruby
<roelof> no, I do not know how I can add 1 to it
<roelof> just doing @zen + 1 does not change anything
<norc> roelof: Do me a favour, open up "irb", and type 42.class
ellen_ has joined #ruby
<norc> roelof: Then Ruby will tell you immediately what 42 is.
conta has joined #ruby
<Ox0dea> roelof: Why would doing `@zen + 1` change anything?
<Ox0dea> >> x = 42; x + 1; x
<ruby[bot]> Ox0dea: # => 42 (https://eval.in/551242)
william3 has joined #ruby
PlasmaStar has quit [Read error: Connection reset by peer]
<apeiros> 1+1 # now all one's are 2!
<roelof> norc: 42 is a FixNum
<conta> I wrote a little article how to use pronto with TravisCI and CircleCI ;]
<norc> roelof: Beautiful. So that answers your question of "I wonder what 42 is then".
<norc> roelof: Whenever you want to figure out what something is, call ".class" on it.
<norc> Since we have established that everything is an object, this will always work.
<Ox0dea> >> BasicObject.new.class
<ruby[bot]> Ox0dea: # => undefined method `class' for #<BasicObject:0x40749c54> (NoMethodError) ...check link for more (https://eval.in/551243)
<Ox0dea> Well, shit.
<norc> Ox0dea: Shush.
<norc> Go away.
Ox0dea has left #ruby ["WeeChat 1.5-dev"]
<norc> ;)
<roelof> norc: now the problem is how to add 1 to it . Normally you can do something like this x += 1
<roelof> but @zen += 1 does not change @zen
Waqas has joined #ruby
<apeiros> it does not?
<apeiros> >> @zen = 2; @zen += 1; @zen
<ruby[bot]> apeiros: # => 3 (https://eval.in/551244)
<roelof> wierd, now Rubymonk says it's allright
<apeiros> dunno, seems it does…
<roelof> I think the site is not always running good
<apeiros> note: it changes the variable, not the object
mustmodify has left #ruby [#ruby]
GodFather has joined #ruby
bronson has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
<roelof> apeiros: I know. For this challenge I think it's not a problem
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
chouhoulis has joined #ruby
<apeiros> since you can't change Fixnums (they're immutable), that's probably better this way :)
mtkd has joined #ruby
loechel has joined #ruby
<norc> apeiros: You are lucky Ox0dea has left, otherwise he would have sent you a gist right into your face.
loechel has quit [Client Quit]
Pumukel has quit [Ping timeout: 248 seconds]
pandaant has quit [Remote host closed the connection]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
madgen has joined #ruby
stannard has joined #ruby
platzhirsch has joined #ruby
malconis has joined #ruby
griffindy has joined #ruby
Snowy is now known as essenohdoubleyou
Mon_Ouie has quit [Ping timeout: 244 seconds]
essenohdoubleyou is now known as Snowy
codecop has quit [Remote host closed the connection]
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<roelof> thanks for the help and have a nice day
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sondr3 has joined #ruby
Marsupermammal has joined #ruby
agent_white has joined #ruby
platzhirsch has left #ruby [#ruby]
<agent_white> Mornin'
Nahra has quit [Remote host closed the connection]
dANOKELOFF has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
<benzrf> hello
sondr3 has quit [Quit: Quit]
Nahra has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dANOKELOFF has joined #ruby
jmignault has joined #ruby
ta_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
AlexJakeGreen has joined #ruby
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
rbennacer has joined #ruby
chouhoulis has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
Guest64052 has joined #ruby
rbennacer has joined #ruby
swills has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
madgen has joined #ruby
rbennacer has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
roelof has left #ruby [#ruby]
karmatr0n has joined #ruby
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
snoobydo1 has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
jpotter1992 has joined #ruby
jpotter1992 has left #ruby [#ruby]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JakFrist has joined #ruby
Karix has joined #ruby
Xeago has quit [Remote host closed the connection]
freerobby has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
Xeago has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
mwlang has joined #ruby
timmyBsd has joined #ruby
<timmyBsd> heyho, is there any possibilty to enable a shared ssl cached which is available for each openssl sslcontext?
william3 has quit [Ping timeout: 246 seconds]
n008f4g_ has joined #ruby
frem has joined #ruby
<timmyBsd> i want to built a api client, which needes ~200ms to open a strong ssl connection
noService has quit [Ping timeout: 246 seconds]
solars has quit [Ping timeout: 268 seconds]
<timmyBsd> is there any possibility to cache this, like the browsers it does
Xeago has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
kies has joined #ruby
<jhass> timmyBsd: you could look into typhoeus' hydra if you need to make a lot of calls fast, that uses libcurl in the background
smathy has joined #ruby
noService has joined #ruby
smathy_afk is now known as smathy
kareeoleez has quit [Remote host closed the connection]
karapetyan has joined #ruby
karmatr0n has joined #ruby
moos3 has quit [Quit: Lost terminal]
william3 has joined #ruby
kappy has joined #ruby
jhack has joined #ruby
thistle has quit [Remote host closed the connection]
noService has quit [Ping timeout: 246 seconds]
norc has quit [Ping timeout: 250 seconds]
troulouliou_div2 has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
thistle has joined #ruby
teoric has joined #ruby
<timmyBsd> jhass: thanks a lot ;)
teoric has quit [Client Quit]
Xeago has joined #ruby
gagrio is now known as gagrio-lunch
bronson has quit [Remote host closed the connection]
minimalism has joined #ruby
idletask has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
nfk|laptop has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
lightheaded has joined #ruby
lightheaded has quit [Client Quit]
skade has joined #ruby
skade has quit [Client Quit]
kadoppe has joined #ruby
krz has quit [Read error: Connection reset by peer]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
failshell has joined #ruby
jhack has joined #ruby
jhack has quit [Client Quit]
siaw has joined #ruby
ekinmur has joined #ruby
krz has joined #ruby
bronson has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
pandaant has joined #ruby
kadoppe has quit [Ping timeout: 268 seconds]
<failshell> im trying to use the Aws::Signers::V4 class and its sign method to generate a proper signature to auth against the RDS REST API. anyone ever got that to work? i could use some help/code review
tax has quit [Ping timeout: 252 seconds]
aegis3121 has quit [Ping timeout: 248 seconds]
Jet4Fire has joined #ruby
<failshell> i keep getting an error saying the canonical string is wrong
the_drow has quit [Quit: This computer has gone to sleep]
abyx has quit [Ping timeout: 276 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abyx has joined #ruby
madgen has quit [Ping timeout: 252 seconds]
jhack has joined #ruby
agent_white has quit [Quit: brb]
bruno- has quit [Quit: Lost terminal]
agent_white has joined #ruby
kirun has joined #ruby
bruno- has joined #ruby
JakFrist has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
retro-cz has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 244 seconds]
Begi has joined #ruby
Begi has left #ruby [#ruby]
madgen has joined #ruby
failshell has quit []
tvw has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
Guest38_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
dopie_ has joined #ruby
aegis3121 has joined #ruby
tvw has joined #ruby
tax has joined #ruby
skade has joined #ruby
dopie_ has quit [Client Quit]
mtkd has quit [Ping timeout: 248 seconds]
Guest38_ has quit [Remote host closed the connection]
mtkd has joined #ruby
mark3 has quit [Remote host closed the connection]
dopie has quit [Quit: Leaving]
I has joined #ruby
mark3 has joined #ruby
RegulationD has joined #ruby
diegoaguilar has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
jamesbrink has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
elifoster has joined #ruby
polishdub has joined #ruby
rkazak has joined #ruby
x77686d has joined #ruby
agentmeerkat has joined #ruby
JakFrist has joined #ruby
shadeslayer has quit [Ping timeout: 244 seconds]
noway_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
AlexJakeGreen has quit [Remote host closed the connection]
I has joined #ruby
I is now known as Guest78388
kareeoleez has joined #ruby
ChiefAlexander has joined #ruby
merida_ has joined #ruby
lightheaded has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
noway_ has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
merida has quit [Ping timeout: 240 seconds]
p0p0pre7 has joined #ruby
Devalo has joined #ruby
blackwell has quit [Ping timeout: 240 seconds]
kadoppe has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
blackwell has joined #ruby
baweaver has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
anisha has quit [Ping timeout: 264 seconds]
shadeslayer has joined #ruby
skade has joined #ruby
B4daBing73 has joined #ruby
B4daBing73 has joined #ruby
kadoppe has quit [Ping timeout: 268 seconds]
platzhirsch has joined #ruby
LoneHerm_ has joined #ruby
bronson has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 246 seconds]
CausaMortis has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 246 seconds]
agentmee1kat has joined #ruby
davedev24 has joined #ruby
Snowy has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
Snowy has joined #ruby
ljames has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
tesuji has quit [Ping timeout: 246 seconds]
skade has quit [Client Quit]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GG has joined #ruby
GG has quit [Remote host closed the connection]
skade has joined #ruby
nofacade has joined #ruby
KensoDev has joined #ruby
Jet4Fire has quit []
ChiefAlexander has quit [Remote host closed the connection]
sandelius has joined #ruby
ssiris has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
s00pcan_ has joined #ruby
madgen has joined #ruby
blackmesa has joined #ruby
waxxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan has quit [Ping timeout: 240 seconds]
futilegames has quit [Quit: futilegames]
flashpoint9 has quit [Remote host closed the connection]
tagaulap has joined #ruby
marxarelli has joined #ruby
ChiefAlexander has joined #ruby
elaptics is now known as elaptics`away
platzhirsch has left #ruby [#ruby]
SCHAAP137 has quit [Remote host closed the connection]
thisirs has joined #ruby
[Butch] has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
terlar has quit [Ping timeout: 244 seconds]
kristofferR has joined #ruby
Rutix has quit []
william3 has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
davedev2_ has joined #ruby
flashpoint9 has joined #ruby
william3 has joined #ruby
heyjim has joined #ruby
Snowy has quit [Remote host closed the connection]
shadeslayer has quit [Changing host]
shadeslayer has joined #ruby
Couch has quit [Ping timeout: 248 seconds]
CoderPuppy has joined #ruby
davedev24 has quit [Ping timeout: 268 seconds]
skade has joined #ruby
macsteps has joined #ruby
darkf has quit [Quit: Leaving]
skade has quit [Client Quit]
cpup has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
chouhoulis has quit [Remote host closed the connection]
bronson has joined #ruby
hinbody_ has joined #ruby
mostlybadfly has joined #ruby
iamarobot has joined #ruby
hinbody has quit [Disconnected by services]
hinbody_ is now known as hinbody
blackmesa has joined #ruby
<iamarobot> I have a string "Primary IP address: 192.168.0.1\nSecondary IP address: 192.168.0.2". What's the nicest way to extract the IP address into two strings, ip1 and ip2?
kits has quit [Quit: Leaving]
<apeiros> iamarobot: what have you tried so far?
vdamewood has quit [Quit: Life beckons.]
macsteps has quit [Remote host closed the connection]
<apeiros> (weird amount of spaces btw. - doesn't align, but has more than one)
bruno- has quit [Read error: Connection reset by peer]
amclain has joined #ruby
<iamarobot> apeiros: I'm afraid I've only had a few abortive attempts. I'll read baweaver's link (thanks!)
<apeiros> iamarobot: that's fine too. gist the one you considered to be the most promising
petertretyakov has quit [Quit: Be back later ...]
<iamarobot> apeiros: well, I got an IPv4 regex: "^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"
the_drow has joined #ruby
<iamarobot> And I was doing something like: "string1 =~ <thatregex>"
<apeiros> ok. and how did you apply it? (note that // is the regexp delimiter in ruby, and in //, it'd be \d, not \\d)
<baweaver> now look into string methods
<apeiros> >> Regexp.new("^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")
<ruby[bot]> apeiros: # => /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/ (https://eval.in/551354)
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> ^ iamarobot - comparison of regex literal and string representing a regex
mrgrieves has quit [Ping timeout: 250 seconds]
william3 has quit [Read error: Connection reset by peer]
<baweaver> &ri String#scan
<apeiros> the =~ method will only tell you whether an ipv4 is found in the string (+ the offset)
<bougyman> why does this need regex?
<apeiros> and baweaver was a bit faster to point out String#scan :)
aegis3121 has quit [Ping timeout: 260 seconds]
<iamarobot> aha, if it doesn't need regex, all the better.
mistermocha has joined #ruby
<nchambers> where is a good place to start learning ruby?
<iamarobot> I confess, I'm not a ruby programmer, but I find myself needing to use it at present.
marens has quit [Remote host closed the connection]
<apeiros> if it'd align… but without it aligning, I wonder about bougyman's regex-free solution :)
KensoDev has joined #ruby
<iamarobot> I'll look into string scan, thanks!
<bougyman> ruby -na -e 'case $F[0];when /^(Primary|Secondary)/;puts $F.last;end' /tmp/foo
nobitanobi has quit []
<baweaver> string.lines.split(/: +/).map { |(_,last)| last.strip }
bruno- has joined #ruby
nobitanobi has joined #ruby
<apeiros> those are both using a regex?
dionysus69 has joined #ruby
binaryplease1 has joined #ruby
<baweaver> psst, bougyman, that looks like regexen
<bougyman> apeiros: ok, well, I guess so.
Snowy has joined #ruby
mark3 has quit [Quit: Leaving.]
<apeiros> I have an 11 char solution ;-)
<apeiros> (not counting the `string.` part)
tagaulap has quit [Changing host]
tagaulap has joined #ruby
tagaulap has joined #ruby
<iamarobot> I hate all this regex stuff. It's so bloody unreadable :P
OTORelic has joined #ruby
bronson has quit [Remote host closed the connection]
<baweaver> str.scan(/(\d{,3}.{3}\d{,3})/) ?
<iamarobot> Perhaps just because I'm not used to reading it
<apeiros> iamarobot: only a matter of getting used to
ruby484 has joined #ruby
<apeiros> baweaver: .scan(/\S+$/)
<baweaver> \S?
<bougyman> not a space
<apeiros> non-whitespace
william3 has joined #ruby
<baweaver> but that doesn't extract only IPs
mistermo_ has joined #ruby
<ruby484> does irc support code blocks
<apeiros> in the given example, it does
binaryplease has quit [Ping timeout: 260 seconds]
<baweaver> fine fine, so mine's more generic then
* baweaver needs coffee
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> you mean, yours is more specific?
<apeiros> or more precise? not sure :D
<baweaver> generic in that it works on anything with IPs in it
<ruby484> I'm trying to convert ruby to haml and I have an odd even table inside a form.
Xeago has quit [Remote host closed the connection]
<ruby484> I'm trying to figure out the right syntax to do this
mistermocha has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
bluOxigen_ has joined #ruby
<apeiros> baweaver: ah, yes
Xeago has quit [Remote host closed the connection]
<baweaver> well, not the patch regex, the full IPv4, but you get the point
<apeiros> yupp, I did
<ruby484> does anyone here know much about haml
<baweaver> nchambers: Eloquent Ruby, Ruby the Hard Way, The Well Grounded Rubyist, Ruby Monk
evidex has quit [Remote host closed the connection]
<apeiros> regexen don't free you from having to figure what precisely you want to match and what you don't want to match under which conditions :D
<apeiros> ?links nchambers
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nchambers> thanks!
<baweaver> you and your fancy links
<apeiros> ruby484: "an even/odd table" doesn't really tell me what problem you run into
<iamarobot> baweaver, how would I use yours to assign the IP addresses? primary, secondary = string.lines.split(/: +/).map { |(_,last)| last.strip } doesn't work for me
<apeiros> ruby484: I do those in css, and haml won't give any additional problems with that…
malconis has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
B4daBing73 has quit [Quit: Leaving]
nodejunkie has joined #ruby
<baweaver> >> "Primary IP address: 192.168.0.1\nSecondary IP address: 192.168.0.2".lines.map { |line| line.split(/: */).last.chomp }
<ruby[bot]> baweaver: # => ["192.168.0.1", "192.168.0.2"] (https://eval.in/551362)
* baweaver *really* needs coffee
malconis has quit [Remote host closed the connection]
<iamarobot> baweaver: thanks!
andikr has quit [Remote host closed the connection]
bmf has joined #ruby
mistermo_ has quit [Ping timeout: 260 seconds]
<baweaver> well off I go, be back later.
OTORelic has quit [Ping timeout: 264 seconds]
<iamarobot> thanks for your help, baweaver and apeiros. Very much appreciated. I'll go read up on this stuff
edwinvdgraaf has quit [Read error: Connection reset by peer]
malconis has joined #ruby
iamarobot has quit [Quit: Page closed]
<apeiros> ?coffee baweaver
<ruby[bot]> baweaver: here's a coffee, you seem to need it: ☕
edwinvdgraaf has joined #ruby
<baweaver> of course you do
nettoweb has joined #ruby
<baweaver> ?cookie baweaver
<ruby[bot]> baweaver: here's your cookie:
<baweaver> and with that I'm off
baweaver has quit [Remote host closed the connection]
idletask has quit [Ping timeout: 264 seconds]
BTRE has quit [Quit: Leaving]
binaryplease1 is now known as binaryplease
dionysus69 has quit [Ping timeout: 260 seconds]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
edwinvdgraaf has quit [Ping timeout: 276 seconds]
nofacade has quit [Read error: Connection reset by peer]
dANOKELOFF has quit []
nofacade has joined #ruby
szulak has joined #ruby
diegoviola has joined #ruby
Guest64052 has quit [Remote host closed the connection]
Xeago has joined #ruby
idletask has joined #ruby
ruby484 has quit [Quit: Page closed]
marens has joined #ruby
ellen_ has quit [Quit: Connection closed for inactivity]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
pandaant has quit [Quit: Lost terminal]
william3 has quit [Ping timeout: 246 seconds]
gigetoo has quit [Ping timeout: 244 seconds]
gigetoo has joined #ruby
Alayde has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cabargas has joined #ruby
Mon_Ouie has joined #ruby
perlgod has joined #ruby
SCHAAP137 has joined #ruby
perlgod has quit [Max SendQ exceeded]
cabargas has quit [Client Quit]
perlgod has joined #ruby
perlgod has quit [Client Quit]
ramfjord has joined #ruby
perlgod has joined #ruby
rclsilver has joined #ruby
senayar has quit []
PedramT has joined #ruby
Guest56641 has joined #ruby
<rclsilver> hllo, i've an array of dicts, and i would like to get items which respects this condition: v["environments"].empty?
<rclsilver> what is the best way to achieve this?
Devalo has quit [Remote host closed the connection]
mr_robot_ has joined #ruby
OTORelic has joined #ruby
mr_robot_ has quit [Client Quit]
<yxhuvud> rclsilver, some_array.select(&:empty?)
<rclsilver> ununsed_versions = all_versions.collect! { |v| v if v["environment_ids"].empty? } # if found this, and it works. this is a good way?
<yxhuvud> or some_array.select {|v| v['environments'].empty? }
PedramT has quit [Ping timeout: 264 seconds]
<yxhuvud> a bit redundant, but sure.
<rclsilver> select needs to have "true" to keep it in array, then, select! { |v| v["environment_ids"].empty? } should also works
noService has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
dhollinger has joined #ruby
babblebre has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
agentmee1kat is now known as agentmeerkat
CausaMortis has joined #ruby
jero__ has quit [Ping timeout: 244 seconds]
symm- has joined #ruby
anisha has joined #ruby
e4xit has joined #ruby
madgen has quit [Ping timeout: 276 seconds]
Xeago has quit [Read error: Connection reset by peer]
bronson has joined #ruby
infra-red has joined #ruby
Marsupermammal has joined #ruby
drptbl_ has joined #ruby
petertretyakov has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
tomchapin has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
rodfersou has joined #ruby
petertretyakov has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
treehug88 has joined #ruby
tvw has quit [Remote host closed the connection]
drptbl has quit [Ping timeout: 276 seconds]
akkmaxon has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
agentmeerkat has quit [Ping timeout: 260 seconds]
skislak has quit [Ping timeout: 248 seconds]
davedev24 has joined #ruby
davedev2_ has quit [Ping timeout: 260 seconds]
evidex has joined #ruby
svkurowski has quit [Remote host closed the connection]
VeryBewitching has joined #ruby
<VeryBewitching> o/
blaxter has quit [Read error: Connection reset by peer]
svkurowski has joined #ruby
ChiefAlexander has quit [Read error: Connection reset by peer]
ChiefAlexander has joined #ruby
Guest78388 has quit [Quit: Leaving]
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
agentmeerkat has joined #ruby
Elysia has quit [Ping timeout: 248 seconds]
Snowy has quit [Remote host closed the connection]
<zacts> hi rubyists
Zarthus has quit [Quit: I can't go to hell. I'm all out of vacation days.]
St1gma has quit [Ping timeout: 264 seconds]
rodferso1 has joined #ruby
shinnya has joined #ruby
Kilo`byte has quit [Ping timeout: 260 seconds]
Zarthus has joined #ruby
St1gma has joined #ruby
Kilo`byte has joined #ruby
rodfersou has quit [Ping timeout: 268 seconds]
codecop has joined #ruby
baweaver has joined #ruby
dbohdan has quit [Ping timeout: 276 seconds]
aegis3121 has joined #ruby
dbohdan has joined #ruby
edwinvdgraaf has joined #ruby
LoneHermit has joined #ruby
PedramT has joined #ruby
finisherr has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Diabolik has quit [Quit: ZNC - http://znc.in]
karapetyan has joined #ruby
hollywood has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Diabolik has joined #ruby
Kilo`byte has quit [Ping timeout: 248 seconds]
PedramT has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Ping timeout: 248 seconds]
dbohdan has quit [Ping timeout: 240 seconds]
merida has joined #ruby
spider-mario has joined #ruby
[Butch]_ has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gasher has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
funnel has quit [Ping timeout: 264 seconds]
dbohdan has joined #ruby
St1gma has quit [Ping timeout: 264 seconds]
Zarthus has quit [Quit: I can't go to hell. I'm all out of vacation days.]
[Butch] has quit [Ping timeout: 240 seconds]
[Butch]_ is now known as [Butch]
merida_ has quit [Ping timeout: 248 seconds]
Diabolik has quit [Ping timeout: 246 seconds]
Regulati_ has joined #ruby
czerasz has quit [Ping timeout: 260 seconds]
dbohdan has quit [Ping timeout: 260 seconds]
ChiefAlexander has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
dbohdan has joined #ruby
svkurowski has quit [Remote host closed the connection]
hollywood has joined #ruby
svkurowski has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
funnel has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
dopie has joined #ruby
Diabolik has joined #ruby
Zarthus has joined #ruby
Kilo`byte has joined #ruby
chouhoulis has joined #ruby
thisirs has quit [Quit: ERC (IRC client for Emacs 25.1.50.10)]
thisirs has joined #ruby
Elysia has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.4]
Lomex has joined #ruby
Xeago has joined #ruby
baweaver has joined #ruby
Regulati_ has quit [Remote host closed the connection]
william3 has joined #ruby
Devalo has joined #ruby
St1gma has joined #ruby
blackmesa has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
evie_hammond has joined #ruby
Gasher has joined #ruby
Zai00 has joined #ruby
PedramT has joined #ruby
JakFrist has joined #ruby
cabargas has joined #ruby
Ishido has joined #ruby
cabargas has quit [Client Quit]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
Zai00 has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
infernix has quit [Ping timeout: 264 seconds]
Cooooo has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
St1gma has quit [Ping timeout: 264 seconds]
blandflakes_ has joined #ruby
blandflakes has quit [Disconnected by services]
blandflakes_ is now known as blandflakes
bruno- has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
bruno- has joined #ruby
merida has quit [Remote host closed the connection]
Cohedrin has joined #ruby
St1gma has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infra-red has quit [Remote host closed the connection]
ascarter has joined #ruby
ascarter has quit [Client Quit]
ascarter has joined #ruby
Marsupermammal has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
firstdayonthejob has joined #ruby
kobain has joined #ruby
evidex has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
karapetyan has joined #ruby
skade has joined #ruby
Devbuenuel has joined #ruby
akkmaxon has joined #ruby
Devalo has joined #ruby
infernix has joined #ruby
finisherr has quit [Ping timeout: 276 seconds]
nobitanobi has quit [Remote host closed the connection]
kadoppe has joined #ruby
karapetyan has quit [Remote host closed the connection]
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
niftylettuce has joined #ruby
bronson has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 276 seconds]
kadoppe has quit [Ping timeout: 248 seconds]
dmr8 has joined #ruby
duckpupp1 has joined #ruby
MagePsycho has joined #ruby
Snowy has joined #ruby
shadowjack has joined #ruby
Eiam_ has joined #ruby
jt__ has joined #ruby
cwenner has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
noService has quit [Ping timeout: 246 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
mikecmpbll has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
leftpad has quit [Remote host closed the connection]
leftpad has joined #ruby
matp has quit [Remote host closed the connection]
SHyx0rmZ has quit [Remote host closed the connection]
jaruga__ has joined #ruby
yfeldblum has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
statelesscode has joined #ruby
tagaulap has quit [Quit: Connection closed for inactivity]
Es0teric has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
idletask has quit [Ping timeout: 260 seconds]
matp has joined #ruby
Cohedrin has quit [Ping timeout: 248 seconds]
Marsupermammal has joined #ruby
nofxx has quit [Ping timeout: 252 seconds]
mdih has joined #ruby
CausaMortis_ has joined #ruby
rbennacer has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
jero__ has joined #ruby
Cohedrin has joined #ruby
RegulationD has joined #ruby
infra-red has joined #ruby
freerobby has quit [Quit: Leaving.]
blackmesa has joined #ruby
finisherr has joined #ruby
sandelius has joined #ruby
baweaver has quit [Remote host closed the connection]
LastWhisper____ has joined #ruby
platzhirsch has joined #ruby
djbkd has joined #ruby
infernix has quit [Ping timeout: 248 seconds]
siaw has left #ruby [#ruby]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goglosh has joined #ruby
idletask has joined #ruby
NinjaPanzer has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
<goglosh> I noticed some functional things are awkward in ruby
<goglosh> like recursion! (at least, recursion on lists(arrays))
gigetoo has quit [Ping timeout: 248 seconds]
<Papierkorb> recursion is generally not too great on MRI. But .. what's wrong with #map?
nofxx has quit [Ping timeout: 244 seconds]
LaT0rtue has joined #ruby
LaT0rtue has quit [Client Quit]
bronson has joined #ruby
conta has quit [Ping timeout: 252 seconds]
abyx has quit [Ping timeout: 244 seconds]
gigetoo has joined #ruby
terlar has joined #ruby
abyx has joined #ruby
infra-re_ has joined #ruby
Guest56641 has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
<goglosh> I needed something different
cdg has quit [Remote host closed the connection]
<goglosh> [1, 1, 2, 3, 3, 3].chunk #=> [[1, 1], [2], [3, 3, 3]]
<goglosh> i had to rewrite it in a stateful fashion
pawnbox has joined #ruby
<goglosh> I'm wondering if there's a cleaner (more idiomatic) way to do that
djbkd has quit [Remote host closed the connection]
<Papierkorb> "stateful fashion"?
bruno- has quit [Read error: Connection reset by peer]
<goglosh> lemme find the code
djbkd has joined #ruby
bruno- has joined #ruby
<Papierkorb> >> [1,1,2,3,3,3].group_by{|a| a}.values
<ruby[bot]> Papierkorb: # => [[1, 1], [2], [3, 3, 3]] (https://eval.in/551574)
Cohedrin has joined #ruby
<Papierkorb> like this?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blaxter has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
<goglosh> Papierkorb: MAN! exactly like that
<goglosh> thanks!
djbkd has joined #ruby
<Papierkorb> Happy to help
djbkd has quit [Read error: Connection reset by peer]
infra-red has quit [Ping timeout: 276 seconds]
<goglosh> I mean look at what I did
<goglosh> messy stuff
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<goglosh> well not messy but, like, a waste of silicon
blandflakes has joined #ruby
<Papierkorb> goglosh: I didn't look too much at your gist, but beware that [1,2,1] will give you [[1,1], [2]]
infra-re_ has quit [Remote host closed the connection]
<Papierkorb> goglosh: What do you need that array for? Do you want to know how many each item appears in the array?
infra-red has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
<goglosh> Papierkorb: well the problem was 'finding the longest sequence of repeated elements in an array'
<Papierkorb> >> [1,3,1,2,3,3].group_by{|a| a}.values
<ruby[bot]> Papierkorb: # => [[1, 1], [3, 3, 3], [2]] (https://eval.in/551579)
djbkd has joined #ruby
<Papierkorb> goglosh: I take ^ is not what you want then?
<goglosh> yeah, it doesn't work for the problem
<goglosh> I come from functional land
<goglosh> it's my first time with OOP actually
karapetyan has joined #ruby
<goglosh> so maybe my approach of breaking it down into smaller problems is not exactly
<goglosh> is not as good here
<Papierkorb> goglosh: Is this an educational thing for you or what's the ulterior purpose?
<goglosh> it's didactic yeah
<goglosh> I'm learning the language
<adaedra> >> [1, 2, 2, 3, 3, 3].slice_when { |a, b| a != b }.to_a
<ruby[bot]> adaedra: # => [[1], [2, 2], [3, 3, 3]] (https://eval.in/551581)
<goglosh> oh okay
<goglosh> nice
cpruitt has joined #ruby
<adaedra> Fun fact: I just learned about slice_when :p
<goglosh> [1, 2, 1].slice_when { |a, b| a != b }.to_a
<goglosh> >> [1, 2, 1].slice_when { |a, b| a != b }.to_a
<ruby[bot]> goglosh: # => [[1], [2], [1]] (https://eval.in/551582)
<goglosh> adaedra: that's great
<Papierkorb> >> [1,3,1,2,3,3].chunk{|a| a}.map{|item, list| [ item, list.size ]}
<ruby[bot]> Papierkorb: # => [[1, 1], [3, 1], [1, 1], [2, 1], [3, 2]] (https://eval.in/551583)
<goglosh> like, sometimes, it's hard to find EXACTLY what you were looking for
<adaedra> There's sometimes a bit too many methods in Ruby to keep track of all of them.
<adaedra> &ri Array#slice_when
karmatr0n has joined #ruby
<goglosh> even though you know it MUST be there
bronson has quit [Remote host closed the connection]
<goglosh> oh my ri is broken
Snowy is now known as Sn0wy
<goglosh> ;_;
<Papierkorb> goglosh: http://ruby-doc.org/core-2.3.0/Enumerable.html and http://ruby-doc.org/core-2.3.0/Array.html and if you can't find what you're looking for, just ask
<goglosh> thanks
<adaedra> fix your ri? what's the problem?
<goglosh> 'nothing known about Array'
<adaedra> system?
<goglosh> arch
* adaedra feeds some more documentation to `derpy
<adaedra> pacman -S ruby-doc # iirc
<`derpy> om nom nom
jaruga__ has quit [Quit: jaruga__]
<goglosh> oh
cpruitt has quit [Read error: Connection reset by peer]
<goglosh> I feel dumbnow
<goglosh> I was all over google and stackoverflow and even installed rvm
<Papierkorb> goglosh: Are you using ruby from Arch? I don't have that package installed and ri works just fine for me..
<adaedra> Ah, if you're using rvm, it's another story
<goglosh> no I'm not
<adaedra> k
infra-red has quit [Remote host closed the connection]
cpruitt has joined #ruby
<goglosh> I got rvm because all answers were about rvm
<adaedra> heh.
<goglosh> and tried rvm docs generate and it said "it doesn't work with non-rvm rubies"
infra-red has joined #ruby
<goglosh> okay then, I wiped the ruby package and used rvm install ruby-head
<Papierkorb> goglosh: on Arch, if you just want to have the latest ruby, just use ruby from the arch repo
<adaedra> ^
<goglosh> ping! here's your fresh ruby install, to generate docs run rvm docs generate
<goglosh> okay I did, and again 'doesn't work with non-rvm rubies'
<goglosh> I went full autist and wiped it
<adaedra> Because you didn't rvm use, I'd say.
<Papierkorb> reloaded your shell and everything? RVM does some funky stuff
<goglosh> anyway ri works now as expected!
<goglosh> Papierkorb: oh... no
<goglosh> anyway, now it's all good and well thanks to
<adaedra> you're using the same database as `derpy does now, congrats!
<goglosh> adaedra:
rbennacer has quit [Remote host closed the connection]
<goglosh> I'm kind of a mess with computers tbh
<adaedra> yet you successfully installed an Arch Linux.
ascarter has joined #ruby
leftpad has quit [Ping timeout: 244 seconds]
nofacade has quit [Ping timeout: 276 seconds]
<Papierkorb> Means that at if nothing else, you can read documentation and thus you'll be perfectly fine
_stu_ has quit [Quit: _stu_]
<goglosh> anyway, thanks guys
<goglosh> you rock
noService has joined #ruby
noService has quit [Changing host]
noService has joined #ruby
elifoster has quit [Ping timeout: 248 seconds]
infernix has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 244 seconds]
ctarx has joined #ruby
whathapp_ has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
whathapp_ has quit [Quit: Leaving...]
whathappens has joined #ruby
solars has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
Cohedrin_ has joined #ruby
<Gasher> hello, I've used RVM but I've heard I shouldn't and it began not to work, so I tried ruby-install, but there is no such command as "use". does it ONLY install select Ruby versions? is there another thing like this in which I can choose my Ruby version?
aegis3121 has quit [Ping timeout: 244 seconds]
perlgod_ has joined #ruby
aegis3121 has joined #ruby
perlgod_ has quit [Max SendQ exceeded]
<smathy> Gasher, chruby or rbenv
<Gasher> thanks
perlgod_ has joined #ruby
perlgod has quit [Ping timeout: 260 seconds]
perlgod_ is now known as perlgod
<Gasher> well someone told me those two, I found ruby-install and confused it with chruby
<Gasher> they are very similar in their readmes
Cohedrin has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
anisha has joined #ruby
freerobby has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
failshell has joined #ruby
Marsupermammal has joined #ruby
<Gasher> chruby requires ruby-install and it doesn't work, trying rbenv
<smathy> You need ruby-install too.
<havenwood> Gasher: chruby doesn't require ruby-install
perlgod has quit [Client Quit]
blackmesa has quit [Quit: WeeChat 1.4]
Cohedrin has joined #ruby
<havenwood> Gasher: chruby can switch between any Rubies, no matter how you've installed them
<havenwood> Gasher: ruby-install can install Rubies for chruby, RVM, rbenv or with no switcher at all
<Gasher> I have ruby-install at the moment, but I can't use chruby, the only command I have in the shell is chruby-exec
<yxhuvud> gasher: ruby-install *only* installs rubies, and chruby *only* changes between installed rubies.
baweaver has joined #ruby
perlgod has joined #ruby
<Gasher> I don't see the point of that
<Gasher> does rbenv both things?
perlgod has quit [Max SendQ exceeded]
blackmesa has joined #ruby
<adaedra> neither.
Cohedrin_ has quit [Ping timeout: 260 seconds]
<adaedra> rbenv is, like chruby, a tool to switch versions.
<Gasher> can I get a thing that just does both? Jeez
<adaedra> because you have, one some systems (example: Arch and AUR, OS X and homebrew) other ways to install different ruby versions.
<adaedra> on*
<adaedra> chruby's not difficult to install though.
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idletask has joined #ruby
<Gasher> I couldn't care less about them, they can use their own thing if they want
baweaver has quit [Ping timeout: 250 seconds]
yqt has joined #ruby
<adaedra> Ok, see you when you'll be calm.
shadoi has joined #ruby
<Gasher> I am calm, it's just the way I express myself
<Gasher> just stating a fact
BTRE has joined #ruby
mg^ has quit [Ping timeout: 248 seconds]
mg^ has joined #ruby
jpfuentes2 has joined #ruby
karapetyan has quit [Remote host closed the connection]
schemanic has joined #ruby
blackmesa has quit [Quit: WeeChat 1.4]
karapetyan has joined #ruby
dc4 has quit [Ping timeout: 264 seconds]
naftilos76 has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
failshell has quit []
dionysus69 has joined #ruby
<schemanic> Hey, I'm trying to make a boolean option with -o in this gist: https://gist.github.com/anonymous/2911cff2ecd1cccb0b53512cf11f415b. I keep getting "`[]=': no implicit conversion of Symbol into Integer (TypeError)
<schemanic> "
karapetyan has quit [Remote host closed the connection]
akkmaxon has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
<schemanic> i've written it in other ruby files the same way and got it to work but I cant find out what's wrong
baweaver has joined #ruby
djbkd has quit [Remote host closed the connection]
OTORelic has quit [Ping timeout: 264 seconds]
GodFather has joined #ruby
<adaedra> I don't see a -o switch in your code.
<schemanic> I'm sorry adaedra. It's -C now.
<schemanic> It was -o before
jenrzzz has joined #ruby
karapetyan has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
n008f4g_ has joined #ruby
blackmesa has joined #ruby
goglosh has quit [Quit: leaving]
<adaedra> shadeslayer: it looks like you're trying to access something as a hash when it's actually an array.
<adaedra> er.
<adaedra> schemanic: ^
baweaver has quit [Ping timeout: 252 seconds]
<schemanic> right but the object is most definitely a hash
nando293921 has joined #ruby
<schemanic> also I'm not trying to access something, I'm trying to add a new key
<schemanic> as a subkey of a key that exists
jaequery has joined #ruby
<adaedra> from what I see
<adaedra> config[:assets][:custom_file_directory] would be the culprit
<schemanic> huh
<schemanic> the value of that key is a path
<schemanic> as in 'x/y/z'
baweaver has joined #ruby
<adaedra> Ah, it's a string.
<adaedra> So close, yet so far.
akkmaxon has joined #ruby
<adaedra> (for me)
PedramT has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<schemanic> adaedra, so whats the issue then? I don't understand
Devbuenuel has quit [Ping timeout: 244 seconds]
<schemanic> Am I not allowed to have a key with it's own value, and then have subkeys of it?
<adaedra> >> "you"[:cant] = "do that"
<ruby[bot]> adaedra: # => no implicit conversion of Symbol into Integer (TypeError) ...check link for more (https://eval.in/551623)
Devalo has quit [Remote host closed the connection]
karapetyan has joined #ruby
<schemanic> I see, so to have subkeys, I cant have parent keys with values
<adaedra> exact.
<schemanic> makes sense
<adaedra> because you don't really have "subkeys" – the value of the parent is a hash.
Sn0wy has quit [Remote host closed the connection]
sq271 has quit [Quit: leaving]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
edwinvdgraaf has joined #ruby
<schemanic> That makes it much clearer thanks!
CausaMortis_ has quit [Ping timeout: 244 seconds]
CausaMortis has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
rodferso1 has quit [Read error: Connection reset by peer]
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
edwinvdgraaf has quit [Ping timeout: 246 seconds]
rodfersou has joined #ruby
Marsupermammal has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
ur5us has joined #ruby
yfeldblum has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
tomchapin has joined #ruby
dc4 has joined #ruby
ascarter has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
bmf has quit [Ping timeout: 260 seconds]
aeterne has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
dopie has quit [Quit: Lost terminal]
bruno- has joined #ruby
dopie has joined #ruby
PedramT has joined #ruby
dopie has quit [Client Quit]
krz has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
finisherr has quit [Quit: finisherr]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
dopie has joined #ruby
baweaver has quit [Remote host closed the connection]
solars has quit [Ping timeout: 276 seconds]
duckpupp1 has quit [Ping timeout: 248 seconds]
<elusiveother> does ruby assume pass by reference?
PedramT has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
xaxisx has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
hahuang61 has quit [Read error: Connection reset by peer]
banister has joined #ruby
finisherr has joined #ruby
rbennacer has joined #ruby
Cohedrin_ has joined #ruby
dmr8 has quit [Quit: Leaving]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
hahuang61 has joined #ruby
<mozzarella> you shouldn't think of it this way
failshell has joined #ruby
Macaveli has joined #ruby
<mozzarella> they're references to objects, not references to variables, if that makes sense to you
n008f4g_ has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Ping timeout: 268 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
baweaver has joined #ruby
idletask has quit [Ping timeout: 268 seconds]
<elusiveother> essentially the same thing
n008f4g_ has joined #ruby
Macaveli has quit [Client Quit]
<elusiveother> i was just wanting to know if a = 1, and b = a, if i edit b, will a be edited too?
<elusiveother> and it does appear so
tvw has joined #ruby
<eam> elusiveother: what do you mean "edit?"
<mozzarella> you can't edit it
<eam> with integers as you've just used in your example -- you cannot change them
<elusiveother> modify, reassign a value to, etc
<eam> so no
cdg has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cdg has quit [Read error: Connection reset by peer]
johnmilton has quit [Remote host closed the connection]
<elusiveother> so ruby is "sometimes" pass by value
polishdub has quit [Quit: Leaving]
codecop has quit [Remote host closed the connection]
<elusiveother> depending on what data type the object is
cdg has joined #ruby
<mozzarella> that's not even what it means
<aegis3121> not really.
<elusiveother> which kindof voids the whole everything is an object
<mozzarella> "pass by" is used when refering to functions
<eam> elusiveother: all variables are references
eljimbo has quit [Quit: This computer has gone to sleep]
<eam> when you assign you change the reference
<eam> you will never modify an object with =
<mozzarella> if you want to mutate an object, you need to call methods on it
<elusiveother> so how does ruby handle storing strings?
<eam> elusiveother: the object representing the integer 1 is going to confuse you a bit because it's a singleton
<eam> and it's immutable
<mozzarella> strings are mutable
<eam> accordingly, Fixnum has no methods which mutate
polishdub has joined #ruby
millerti has joined #ruby
<ruby[bot]> elusiveother: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<elusiveother> is what was confusing me
MagePsycho has quit [Quit: MagePsycho]
<eam> elusiveother: assignment always changes the reference, it's not a method on the object and will not mutate anything
thistle has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
<eam> << is a method on String and will mutate the object
banister has joined #ruby
rkazak has joined #ruby
PedramT has joined #ruby
sepp2k has quit [Quit: Leaving.]
<elusiveother> so all variables are just references to objects where it depends on the data type of the object if that object will be changed or if the variable will simply point to a new object
DroidBur_ has joined #ruby
<eam> no
<eam> "where it depends" -> if you're talking about = then it never depends
<elusiveother> what of integers though?
<eam> if you're talking about methods, they can mutate their receiver / self
<eam> well, a class can simply not define any methods that mutate self, right?
<eam> 1.next returns a new object 2, but there is no 1.next!
<eam> which we might imagine would modify self, like the C ++ increment operator
Es0teric has quit [Quit: Computer has gone to sleep.]
<eam> x << "str" mutates x, but x += "str" which is the same as x = x + "str" does not mutate x
DroidBurgundy has quit [Ping timeout: 250 seconds]
<eam> elusiveother: one reason integers don't allow mutation of self is to allow a more efficient internal storage of their object type
nando293921 has quit [Ping timeout: 260 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
gigetoo has quit [Ping timeout: 252 seconds]
gigetoo has joined #ruby
thistle has joined #ruby
Disavowed has joined #ruby
Madplatypus has joined #ruby
Silox| has joined #ruby
stannard has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 260 seconds]
idletask has joined #ruby
<Disavowed> Evening all. Does Ruby use a peephole optimiser for compiling bytecode?
ekinmur has joined #ruby
dopie has quit [Read error: Connection reset by peer]
<eam> Disavowed: well, jruby can!
<Disavowed> eam: It can?!
<Disavowed> I've some googling to do!
<eam> provided it's running on a jvm that does it, sure
dopie has joined #ruby
kadoppe has joined #ruby
<Disavowed> eam: Fascinating! Thank you!
<Disavowed> eam: Can I infer from that answer that CRuby doesn't?
infra-re_ has joined #ruby
<eam> I don't believe it does, but I'm very far from an authority on those parts of the internals
thistle has quit [Ping timeout: 248 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cwenner has quit [Ping timeout: 244 seconds]
_stu_ has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
<Disavowed> eam: No that's fine, you've been great! You wouldn't happen to know if there's anything in Ruby's standard library to access Abstract Syntax Trees or bytecode would you?
infra-red has quit [Ping timeout: 268 seconds]
<Disavowed> It looks like I have to get a gem called AST for the former, but it feels like something that's probably native and I'm just too new to know about it!
DroidBur_ has quit []
gnufied has quit [Ping timeout: 276 seconds]
shadowjack has quit [Quit: Leaving]
ChiefAlexander has joined #ruby
kadoppe has quit [Ping timeout: 276 seconds]
ChiefAlexander has quit [Remote host closed the connection]
stannard has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<eam> Disavowed: the only thing I've played with is ripper, and I'm not sure that's what you're after
PedramT has quit []
<eam> see: ruby -rpp -rripper -e'pp Ripper.sexp "[1,2,3]"'
Sn0wy has joined #ruby
CausaMortis_ has joined #ruby
CausaMortis has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
baweaver has joined #ruby
stannard has quit [Remote host closed the connection]
<Disavowed> eam: This looks exactly what I'm after! Thank you so much!
mikeiniowa has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
p0p0pre7 has quit [Ping timeout: 246 seconds]
Sn0wy has quit [Ping timeout: 244 seconds]
Asher has quit [Quit: Leaving.]
<eam> happy to help
thistle has joined #ruby
xaxisx has quit [Quit: xaxisx]
polysics has quit [Remote host closed the connection]
thistle has quit [Client Quit]
n008f4g_ has joined #ruby
jdm has quit [Remote host closed the connection]
CausaMortis_ has quit [Ping timeout: 244 seconds]
CausaMortis has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
spider-mario has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Asher has joined #ruby
nobitanobi has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
bronson has joined #ruby
stannard has joined #ruby
al2o3-cr has joined #ruby
dcunit3d has joined #ruby
LoneHerm_ has quit [Ping timeout: 260 seconds]
stannard has quit [Remote host closed the connection]
ctarx has quit [Quit: Textual IRC Client: www.textualapp.com]
johnmilton has joined #ruby
blackmesa has quit [Quit: WeeChat 1.4]
bronson has quit [Ping timeout: 248 seconds]
dc4 has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
siaw has joined #ruby
tax has quit [Ping timeout: 248 seconds]
siaw has left #ruby [#ruby]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
Gasher^ has joined #ruby
failshell has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 250 seconds]
jhack has quit [Quit: jhack]
karapetyan has joined #ruby
jhack has joined #ruby
icey has quit [Remote host closed the connection]
Gasher has quit [Ping timeout: 250 seconds]
flughafen has quit [Ping timeout: 268 seconds]
tvw has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 276 seconds]
madgen has joined #ruby
flughafen has joined #ruby
akkmaxon has quit [Ping timeout: 260 seconds]
Karix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finisherr has quit [Quit: finisherr]
goodroot has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Remote host closed the connection]
Eiam_ has joined #ruby
finisherr has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
nobitanobi has quit []
anisha has quit [Quit: This computer has gone to sleep]
Cohedrin has joined #ruby
blackgoat has joined #ruby
Zai00 has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cohedrin_ has quit [Ping timeout: 244 seconds]
ldnunes has quit [Quit: Leaving]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
Don_John has joined #ruby
Don_John has quit [Remote host closed the connection]
diegoaguilar has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idletask has joined #ruby
william3 has quit [Remote host closed the connection]
schemanic has quit [Ping timeout: 246 seconds]
hinbody has quit [Quit: leaving]
rkazak has quit [Ping timeout: 240 seconds]
PedramT has quit []
frankier has quit [Ping timeout: 240 seconds]
icey has joined #ruby
terminalrecluse has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
william3 has joined #ruby
terminalrecluse has quit [Client Quit]
infra-re_ has quit [Remote host closed the connection]
stannard has joined #ruby
_stu_ has quit [Quit: _stu_]
bluOxigen_ has quit [Ping timeout: 244 seconds]
william3 has quit [Remote host closed the connection]
Begi has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
Dimik has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
czerasz has joined #ruby
flashpoint9 has joined #ruby
william3 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
Begi has quit [Read error: Connection reset by peer]
Es0teric has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
jmignault has quit [Ping timeout: 250 seconds]
william3 has quit [Ping timeout: 248 seconds]
icey has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
lkba has joined #ruby
banister has joined #ruby
icey has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
swills has quit [Ping timeout: 276 seconds]
cloaked1 has joined #ruby
cloaked1 has joined #ruby
yfeldblum has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
Lomex has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
flashpoint9 has joined #ruby
NinjaPanzer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
kareeoleez has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thisirs has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
Xeago has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
SCHAAP137 has quit [Quit: Leaving]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
dvinciguerra_ has joined #ruby
baweaver has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
firstdayonthejob has quit [Ping timeout: 246 seconds]
rbennacer has quit [Remote host closed the connection]
dvinciguerra has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
dhollinger has quit [Quit: WeeChat 1.4]
baweaver has joined #ruby
tax has joined #ruby
Keltia has quit [Changing host]
Keltia has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
Disavowed has quit [Quit: leaving]
freerobby has quit [Ping timeout: 246 seconds]
nando293921 has joined #ruby
freerobby has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
charliesome_ has joined #ruby
d0nn1e has quit [Ping timeout: 250 seconds]
d5sx43 has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
fowl has joined #ruby
<fowl> I sshed into my computer from my phone, what do I do next
<agent_white> DANCE
<Radar> ^
Gasher^ has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
<fowl> Error
devbug has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<fowl> It says commandment not found
dxb has quit [Quit: leaving]
jaequery has joined #ruby
<fowl> This is templeos support channel right
jhack has quit [Quit: jhack]
jaequery has quit [Max SendQ exceeded]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
<Radar> fowl: no.
jaequery has quit [Max SendQ exceeded]
IrishGringo has joined #ruby
<Radar> !ban fowl
fowl was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
jaequery has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
daivyk has joined #ruby
ChiefAlexander has joined #ruby
edwinvdgraaf has joined #ruby
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
terlar has quit [Ping timeout: 276 seconds]
ChiefAlexander_ has joined #ruby
Gasher has joined #ruby
Waqas has quit [Ping timeout: 244 seconds]
kirun has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 268 seconds]
ChiefAlexander has quit [Ping timeout: 268 seconds]
zenlot6 has joined #ruby
percussionoid has joined #ruby
polishdub has quit [Quit: Leaving]
william3 has joined #ruby
zenlot has quit [Ping timeout: 260 seconds]
s1kx has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
percussionoid has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Ping timeout: 246 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sn0wy has joined #ruby
najam has joined #ruby
najam has quit [Client Quit]
biberu has quit [Read error: Connection reset by peer]
Silox| has quit [Quit: Connection closed for inactivity]
Sn0wy has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
najam has joined #ruby
Ox0dea has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jt__ has quit [Remote host closed the connection]
jt__ has joined #ruby
ChiefAlexander_ has quit [Read error: Connection reset by peer]
ChiefAlexander has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
skweek has joined #ruby
mistermo_ has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
mistermo_ has quit [Remote host closed the connection]
bruno- has joined #ruby
NinjaPanzer has joined #ruby
mistermo_ has joined #ruby
ur5us has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 276 seconds]
jaequery has joined #ruby
jt__ has quit [Ping timeout: 260 seconds]
jaequery has quit [Client Quit]
freerobby has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
NinjaPanzer is now known as Invisible_NinjaP
ChiefAlexander has quit [Remote host closed the connection]
hinbody has joined #ruby
Invisible_NinjaP is now known as NinjaPanzer
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
fir3starter has quit [Ping timeout: 276 seconds]
agent_white has quit [Quit: goinhome]
NinjaPanzer is now known as Invisible_NinjaP
_stu_ has joined #ruby
jt__ has joined #ruby
Invisible_NinjaP is now known as NinjaPanzer
DLSteve has joined #ruby
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
htmldrum has joined #ruby
ur5us has joined #ruby
kies has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
Sn0wy has joined #ruby
NinjaPanzer is now known as Invisible_NinjaP
_stu_ has quit [Quit: _stu_]
devbug has quit [Quit: Lances at dawn!]
gnufied has joined #ruby
Invisible_NinjaP is now known as NinjaPanzer
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 264 seconds]
tomchapin has joined #ruby
rahult has joined #ruby
NinjaPanzer is now known as Invisible_NinjaP
jhack has joined #ruby
abyx has quit [Ping timeout: 268 seconds]
Invisible_NinjaP is now known as NinjaPanzer
darkf has joined #ruby
zenlot has joined #ruby
zenlot6 has quit [Ping timeout: 260 seconds]
Ox0dea is now known as Ox0deb
william3 has joined #ruby
Balzrael has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
rkazak has joined #ruby
e has quit [Quit: <uptime> >quotes himself in his quit message]
eggoez has quit [Ping timeout: 264 seconds]
mistermo_ has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 248 seconds]
mistermocha has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
madgen has quit [Ping timeout: 244 seconds]
diegoaguilar has joined #ruby
CloCkWeRX has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
AmiMoench has joined #ruby
Ropeney has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
swills has joined #ruby
cpruitt has quit [Quit: cpruitt]
Zai00 has quit [Quit: Zai00]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
daytime has joined #ruby
wolffles has joined #ruby
diegoaguilar has quit [Quit: Leaving]
banister has quit [Remote host closed the connection]
banister has joined #ruby