jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
insured has quit [Remote host closed the connection]
ghr has joined #ruby
hahuang61 has joined #ruby
jottr has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Mattx> apeiros, it's actually a quick socket server I'm writing
<Mattx> you can connect to it and run different services
toretore has quit [Ping timeout: 272 seconds]
<Mattx> and those services are related but the logic is quite different, they do different things using the same data
ghr has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
<Mattx> apeiros, how would you divide that?
<apeiros> difficult without knowing the details. but probably by having classes for each service
<pontiki> i'm not touching this one
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
hahuang61 has quit [Ping timeout: 272 seconds]
yadobujo_ has quit [Remote host closed the connection]
kies has joined #ruby
ghr has joined #ruby
Tempesta has quit [Quit: See ya!]
spudowiar has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
ghr has joined #ruby
colegatron_origi has quit [Ping timeout: 244 seconds]
marr has quit [Remote host closed the connection]
Kaneki- has joined #ruby
ecnalyr has joined #ruby
Kaneki- has quit [Quit: Leaving]
LoneHerm_ has joined #ruby
Mattx has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
SteveC has joined #ruby
SilverKey has quit [Quit: Halted.]
colegatron_origi has joined #ruby
ecnalyr has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
saneax is now known as saneax_AFK
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
der-landgraf has quit [Quit: WeeChat 1.5]
memorasus has quit [Ping timeout: 272 seconds]
flashpoint9 has quit [Remote host closed the connection]
mentok has joined #ruby
der-landgraf has joined #ruby
gizmore has quit [Ping timeout: 258 seconds]
gizmore has joined #ruby
stoodfarback has joined #ruby
ghr has joined #ruby
blandflakes has joined #ruby
bkxd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bkxd has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
jnoob22 has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
dgynn has quit [Quit: dgynn]
hutch34 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Stazer has quit [Ping timeout: 276 seconds]
<mentok> I seem to be having some trouble calling methods in irb, I've created a class called Quarterback, initalized a new instance called "Andrew Luck" and have defined a method named "Audible" that prints out "WIDE EIGHTY", but when I try to call this method I get "undefined method `audible' for Quarterback:class". Any ideas what I'm slipping up on?
<mentok> http://imgur.com/vonwdRw Here's what I've put into irb so far.
hutch34 has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
blackmesa has joined #ruby
jottr has joined #ruby
jnoob22 has joined #ruby
jnoob22 has quit [Changing host]
jnoob22 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
blandflakes has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
asianMike has quit [Remote host closed the connection]
<gizmore> Is someone native in japanese? 'あなたは間違った秘密を入力しました。アカウントが%s時間ブロックされる前に、あなたは今%s回の試行を持っています。'
<Zarthus> I just speak ruby here.
<Zarthus> ¯\_(ツ)_/¯
<Zarthus> try ##japanese
ghr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
hutch34 has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
<gizmore> wow thanks :)
<gizmore> Zarthus: you also speak kind and helpful :)
blackmesa has quit [Ping timeout: 276 seconds]
shachaf has joined #ruby
<Zarthus> i'm not familiar with the japanese channel, but ##language channels tend to be willing to assist with translations. It's far more often about learning the ways, though.
<Zarthus> I like the compliment though!
ghr has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 250 seconds]
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ghr has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
Xeago_ has joined #ruby
kies has joined #ruby
ghr has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
roamingdog has quit []
macsteps has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
macsteps has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
z3ndrag0n has joined #ruby
Me_Engine has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
shevy has joined #ruby
ghr has joined #ruby
roamingdog has joined #ruby
<mentok> so, why does string interpolation allow for (almost) any kind of delimitter but regexes require / ? Just curious
<pontiki> they don't
<mentok> so I could use pipes too?
<pontiki> you can use p.much any character in %r
<mentok> ah
<mentok> I guess the book I'm working through doesn't explicity say, so I got confused. Thanks!
finisherr has joined #ruby
<shevy> that's why you have pontiki - more knowledge than a book!
<mentok> pontiki?
<pontiki> what
arlek has joined #ruby
<mentok> oh it's a user hahaha
<mentok> I just did a google search thinking it was a wiki or something and was wondering why I got boat cruises.
<pontiki> i'm surprised you didn't get kiddie toys
<mentok> heh
<shevy> lol
<pontiki> no, i'm justa cranky old lady
<shevy> I always associate the name with indian tribes... like pocahontas, rather than a mouse
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* pontiki shakes fist
<mentok> "Woman shakes fist at cloud"
<pontiki> GIT OFFA MAH LAN!
<pontiki> shevy: most people seem to only think of Kon-Tiki and rafts
kevr has quit [Ping timeout: 246 seconds]
SteveC has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has quit [Ping timeout: 240 seconds]
<pontiki> mentok: you can even use a space as a delimiter character, but pls don't
<mentok> noted
ghr has joined #ruby
Rodya_ has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
JoshGlzBrk has joined #ruby
postapocallyptic has joined #ruby
<postapocallyptic> hello whats a good ruby book online for free?
<postapocallyptic> or a few
jottr has joined #ruby
<pontiki> the old pickaxe book is online, it's probalby still 85% accurate
ghr has joined #ruby
flashpoint9 has joined #ruby
<mentok> Working my way through "Beginning Ruby" by Peter Cooper, cause I need a physical book I can write in :D
<mentok> I really appreciate that he starts off from the very beginning teaching you about classes and objects.
DTZUZU has joined #ruby
<pontiki> for folks brand new to programming at all (no previous exp.) i'm still recommending chris pine's book
<mentok> the guy from star trek? :P
<shevy> postapocallyptic check out learn to program too, while it is basic, if you know 100% of its content then you are no longer a ruby newcomer
<pontiki> i believe you're thinking of commander pike, mentok
<mentok> ahh yes
<mentok> May he rest in peace.
akira616` has joined #ruby
<mentok> aw man...almost time for the main event and my stream's going to shite :()
jottr has quit [Ping timeout: 276 seconds]
SCHAAP137 has quit [Quit: Leaving]
roamingdog has quit [Remote host closed the connection]
flashpoint9 has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby
arescorpio has joined #ruby
<shevy> all good things come to an end
ghr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
zacts has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
hunq8 has joined #ruby
hunq8 was kicked from #ruby by ChanServ [User is banned from this channel]
bkxd has quit [Ping timeout: 258 seconds]
chimkan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
mustmodify has joined #ruby
chimkan has quit [Client Quit]
chimkan has joined #ruby
yfeldblum has joined #ruby
ghr has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mustmodify_ has quit [Ping timeout: 276 seconds]
DrCode has quit [Remote host closed the connection]
pawnbox has joined #ruby
<mentok> Starting to really appreciate irb.
ghr has quit [Ping timeout: 240 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
DrCode has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
<pontiki> soon you can step up your game to pry, mentok :)
ghr has joined #ruby
SilverKey has joined #ruby
SShrike has quit [Quit: SShrike]
<mentok> what's the advantage of pry?
SilverKey has quit [Max SendQ exceeded]
SilverKey has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
<pontiki> many things: http://pryrepl.org
<mentok> "shell integration" Sold.
<mentok> input buffer clearing? double sold.
<mentok> I'll take two. Thanks pontiki!
shachaf has left #ruby [#ruby]
astrobunny has joined #ruby
<pontiki> <- better than a wiki
<mentok> I'd subscribe to your mailing list :P
<pontiki> lol
<pontiki> you can subscribe to my blog
<mentok> send a link!
<pontiki> i'm not a good writer
roamingdog has quit []
pawnbox has joined #ruby
<mentok> heh no worries
<mentok> man, putting the charging port on the BOTTOM of the magic mouse 2 was just silly.
<pontiki> you basically need 2 of them?
<mentok> Yeah, so if your main mouse runs out of battery, best have a second on hand.
The_Phoenix has quit [Ping timeout: 260 seconds]
<mentok> Which I have, just not a magic mouse so you're sacrificing mouse gestures, which I use A LOT.
<pontiki> yeah
<mentok> I might sell it on CList and find myself a 1st gen magic mouse so I can swap out batteries when it dies.
<pontiki> i'm still using a logic marble thingie
<pontiki> logitech*
<mentok> aye
<mentok> that's what my backup is
pawnbox has quit [Ping timeout: 276 seconds]
<pontiki> having decades of muscle memory built up, it's actually hard to change things around
<pontiki> this is the true problem of getting old
<pontiki> it's not that you can't adapt, it just takes a lot more practice and time
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<pontiki> well, that and the general fucks i don't have to give :D
ghr has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 250 seconds]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
dcunit3d has joined #ruby
chimkan has left #ruby [#ruby]
ghr has joined #ruby
tossup has joined #ruby
braincrash has quit [Quit: bye bye]
pawnbox has joined #ruby
jottr has joined #ruby
gix has quit [Ping timeout: 258 seconds]
JoshGlzBrk has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
Paradox has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 244 seconds]
gix has joined #ruby
burgestrand has joined #ruby
kevr has joined #ruby
Paradox has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
burgestrand has quit [Ping timeout: 252 seconds]
JeanCarl1Machado has quit [Ping timeout: 276 seconds]
<A124> I am probably little weird. How would I incorporate golang library into Ruby?
blackmesa has joined #ruby
<A124> Or in the worse case how should I proceed doing the same with C? Would like to extend Digest with another slgo.
xue has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
xue has joined #ruby
bkxd has joined #ruby
treaki_ has joined #ruby
<A124> I found and awesome weird dude that apparently does same languages. And the stuff is same like with C. So the focus now is how to digest a file/string efficiently.
brianpWins_ has joined #ruby
brianpWins has quit [Ping timeout: 240 seconds]
brianpWins_ is now known as brianpWins
<elomatreb> A124: I'm not entirely sure it's what you want, but there is https://github.com/ffi/ffi
treaki__ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 264 seconds]
pilne has quit [Quit: Quitting!]
LoneHermit has joined #ruby
<A124> Likely, reading it now already. elomatreb Would like to extend Digest with another algo, so need to be able to consume strings and files. And need that efficiently.
<A124> How would / should I process the files? Send string with filename or other way? Searching gave zero resutlts so far.
ghr has quit [Ping timeout: 240 seconds]
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
LoneHermit has quit [Ping timeout: 272 seconds]
z3ndrag0n has joined #ruby
ghr has joined #ruby
z3ndrag0n has quit [Client Quit]
shevy has quit [Quit: ""]
shevy has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
zacts has joined #ruby
ghr has joined #ruby
isberg has quit [Ping timeout: 276 seconds]
The_Phoenix has joined #ruby
Nanuq has quit [Quit: *poof*]
kevr has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
Paradox has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
interki has quit [Quit: Going offline, see ya! (www.adiirc.com)]
spudowiar has quit [Quit: Leaving.]
kevr has joined #ruby
dsea has joined #ruby
<dsea> Ok am I retarded
<dsea> why is it impossible for me to install rails 5.0 on windows
LoneHerm_ has joined #ruby
ghr has joined #ruby
<dsea> sorry just getting started with Ruby but 4.x version will install just fine
<dsea> keeps giving me some problem with tools gem for 5.x
zacts has quit [Quit: WeeChat 1.5]
hk238 has joined #ruby
<pontiki> windows is definitely a second or third class citizen with regards to rails
craigp_ has joined #ruby
<pontiki> that said, dsea, you may want to jump over to #rubyonrails for rails questions
xue has quit [Ping timeout: 276 seconds]
xue has joined #ruby
<dsea> pontiki, Yea I just don't feel like going on work laptop for learning figured Windows was the problem though as it is with most things.... Didn't realize it was a different channel though, sorry
<dsea> ty
<pontiki> dsea: just don't want to perturb the rails-h8rs in #ruby :D
<shevy> dsea well if rails 4 worked fine and rails 5 is giving trouble then perhaps the rails devs have not tested it sufficiently well on windows... possibly because nobody uses windows! they are all macsters or linux users
craigp_ has quit [Ping timeout: 252 seconds]
<dsea> shevy, that's right I forgot that mac and windows were the most heavily used OS's
<dsea> sorry, just was wondering from the standpoint as I don't want to jump on a VM in order to learn something
<pontiki> even tho i'm on a mac, i still do almost all dev work in ubuntu
<pontiki> dsea: yeah, you really shouldn't have to. i use my personal gear for work, though, too, so i don't want to pollute my personal space if i don't have to
<pontiki> learning's a different thing, for sure
<pontiki> but windows, meh, i'm sorry
ghr has quit [Ping timeout: 240 seconds]
bogusdisk has quit [Remote host closed the connection]
<pontiki> i bought an ultrabook running windows to see if i could help folks out, since i really have no experience with it
<pontiki> i ended up installing linux mint desktop :(
<dsea> Need to play gamez though and getting proper drivers for nvidia cards is a pain on any distro
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
allstar has joined #ruby
<dsea> I can just hop on my dev VM at work just was wondering if I was missing something basic
<pontiki> oh, i mean i installed the linux mint desktop as a VM
<pontiki> not replace or dual-boot
shinnya has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Remote host closed the connection]
jottr has joined #ruby
<pontiki> at my monthly rails meetup, we're telling windows users to go use cloud 9 now
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dsea> esx+nomachine is great, don't have to use much for local resources that way and can make the box as big as I want
<dsea> what is cloud9
<pontiki> https://c9.io
<pontiki> development system in the cloud, basically
<dsea> that's pretty neat
<dsea> ty, hadn't heard of it
ghr has joined #ruby
<allstar> +1 for c9, I selfhost it here and there and it has plenty of dev features
<pontiki> there's also something similar called https://nitrous.io
jottr has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
<dsea> seems like better pricing, anything big that's different?
<pontiki> idk, i've worked a bit more with c9 than nitrous
<pontiki> they're pretty much the same i think
ledestin has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<allstar> and c9 is free self-hosted of course, not sure if you can do that with nitrous
<shevy> hmm
<pontiki> c9 is what hartl's rails tutorial recommends
<pontiki> i'm still sympathetic to the hope to learn on windows, i'm just unable to help :(
pawnbox has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
ghr has joined #ruby
Paradox has joined #ruby
<mentok> Welp. Lesnar made it to 3:15 in the first round, I just lost $20 lol
blackmesa has joined #ruby
ElFerna has quit [Ping timeout: 244 seconds]
harfangk has joined #ruby
dcunit3d has quit [Ping timeout: 258 seconds]
tossup has quit [Quit: Saliendo]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
xcesariox has joined #ruby
Xiti has quit [Quit: Xiti]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
ghr has joined #ruby
deviation has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
naftilos76 has joined #ruby
deviation has quit [Remote host closed the connection]
<shevy> a MMA-interested programmer!
SilverKey has quit [Quit: Halted.]
deviation has joined #ruby
leea has joined #ruby
<dsea> a gambling one
ghr has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
deviation has quit [Ping timeout: 252 seconds]
djbkd_ has joined #ruby
coffeecupp has joined #ruby
<mentok> 29-27?
<mentok> I don't think it was that close.
ghr has joined #ruby
hk238 has joined #ruby
Guest54890 has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
SilverKey has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
naftilos76 has quit [Ping timeout: 258 seconds]
naftilos76 has joined #ruby
arescorpio has quit [Quit: Leaving.]
Me_Engine has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
coffeecupp has quit [Quit: Lost terminal]
pawnbox has joined #ruby
SharksAbove has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
SharksAbove is now known as Guest22575
SilverKey has quit [Quit: Halted.]
pawnbox has quit [Ping timeout: 246 seconds]
craigp_ has joined #ruby
spectra has quit [*.net *.split]
Davey has quit [*.net *.split]
hadronzoo has quit [*.net *.split]
Guest54890 has quit [*.net *.split]
brianpWins has quit [*.net *.split]
hosttor has quit [*.net *.split]
triangles has quit [*.net *.split]
dennisvennink has quit [*.net *.split]
yonatankoren has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
Guest32874 has quit [*.net *.split]
Dry_Lips has quit [*.net *.split]
cfillion has quit [*.net *.split]
aries_liuxueyang has quit [*.net *.split]
Flipez has quit [*.net *.split]
quakephil has quit [*.net *.split]
juanfra has quit [*.net *.split]
Zackio has quit [*.net *.split]
erlend has quit [*.net *.split]
sunya7a_ has quit [*.net *.split]
Log1x_ has quit [*.net *.split]
daemoen_ has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
dn` has quit [*.net *.split]
Antiarc_ has quit [*.net *.split]
Sthebig has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
pabs has quit [*.net *.split]
jgw has quit [*.net *.split]
mgorbach has quit [*.net *.split]
kbni has quit [*.net *.split]
awk has quit [*.net *.split]
Cyrus has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
callumacrae has quit [*.net *.split]
tjvc has quit [*.net *.split]
Kamilion has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
martinbjeldbak_ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
nickjj has quit [*.net *.split]
bihi has quit [*.net *.split]
gnarf has quit [*.net *.split]
ptx0 has quit [*.net *.split]
angelixd_ has quit [*.net *.split]
Prira has quit [*.net *.split]
uranellus has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
programmerq has quit [*.net *.split]
hk238 has quit [*.net *.split]
The_Phoenix has quit [*.net *.split]
lxsameer has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
postmodern has quit [*.net *.split]
crdpink has quit [*.net *.split]
barajasfab has quit [*.net *.split]
Azure has quit [*.net *.split]
Madplatypus has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
jrafanie has quit [*.net *.split]
GinoMan2440 has quit [*.net *.split]
zeroDi has quit [*.net *.split]
fschuindt1 has quit [*.net *.split]
voodoofish4302 has quit [*.net *.split]
sarbs has quit [*.net *.split]
paultreny has quit [*.net *.split]
duoi has quit [*.net *.split]
axisys has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
Scient has quit [*.net *.split]
tw1sted has quit [*.net *.split]
svkurowski has quit [*.net *.split]
j2k has quit [*.net *.split]
c355e3b has quit [*.net *.split]
Liothen has quit [*.net *.split]
jokke has quit [*.net *.split]
baweaver has quit [*.net *.split]
unforgiven512 has quit [*.net *.split]
Ikri has quit [*.net *.split]
Miron has quit [*.net *.split]
meinside has quit [*.net *.split]
demophoon has quit [*.net *.split]
Phanes has quit [*.net *.split]
freeze has quit [*.net *.split]
fumck has quit [*.net *.split]
zapata has quit [*.net *.split]
steve has quit [*.net *.split]
kent\n has quit [*.net *.split]
deepak_ has quit [*.net *.split]
danzilio has quit [*.net *.split]
tfitts has quit [*.net *.split]
zzak___ has quit [*.net *.split]
chrismytton has quit [*.net *.split]
chris2 has quit [*.net *.split]
catbusters has quit [*.net *.split]
Guest92364 has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
Guest83412 has quit [*.net *.split]
kitallis has quit [*.net *.split]
zenspider has quit [*.net *.split]
ndrst has quit [*.net *.split]
armin has quit [*.net *.split]
Meeh_ has quit [*.net *.split]
Kruppe has quit [*.net *.split]
surrounder has quit [*.net *.split]
csmb_ has quit [*.net *.split]
spastorino has quit [*.net *.split]
cbetta has quit [*.net *.split]
Seich has quit [*.net *.split]
code_ has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
sylario has quit [*.net *.split]
Ariadeno has quit [*.net *.split]
swistak35 has quit [*.net *.split]
znz_jp has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
saneax_AFK has quit [*.net *.split]
borkdude has quit [*.net *.split]
SenpaiSilver has quit [*.net *.split]
Guest80745 has quit [*.net *.split]
jinie_ has quit [*.net *.split]
vikid has quit [*.net *.split]
Hates_ has quit [*.net *.split]
twe4ked has quit [*.net *.split]
nyandoge has quit [*.net *.split]
olivierjanss has quit [*.net *.split]
braderhart has quit [*.net *.split]
deeprave has quit [*.net *.split]
bove has quit [*.net *.split]
dmnd has quit [*.net *.split]
pmarreck has quit [*.net *.split]
Majost has quit [*.net *.split]
cardoni has quit [*.net *.split]
tpendragon has quit [*.net *.split]
ged has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
hostess has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
cschneid has quit [*.net *.split]
_dev has quit [*.net *.split]
Junaos has quit [*.net *.split]
jpterry has quit [*.net *.split]
bodie_ has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
rcs has quit [*.net *.split]
yasu___ has quit [*.net *.split]
biox has quit [*.net *.split]
ytti has quit [*.net *.split]
atom3 has quit [*.net *.split]
irick has quit [*.net *.split]
low-profile has quit [*.net *.split]
Zarthus has quit [*.net *.split]
rgs has quit [*.net *.split]
tcrypt has quit [*.net *.split]
Arcaire has quit [*.net *.split]
ijij has quit [*.net *.split]
unsymbol has quit [*.net *.split]
sindork has quit [*.net *.split]
jtoy has quit [*.net *.split]
atmosx has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Klumben has quit [*.net *.split]
Koshian_ has quit [*.net *.split]
_ko1 has quit [*.net *.split]
inukshuk has quit [*.net *.split]
ammar_ has quit [*.net *.split]
jericon has quit [*.net *.split]
LinuxHippie has quit [*.net *.split]
Darkwater has quit [*.net *.split]
Fraeon has quit [*.net *.split]
codepete has quit [*.net *.split]
zero7 has quit [*.net *.split]
mitsuhiko has quit [*.net *.split]
jimeh has quit [*.net *.split]
ELCALOR has quit [*.net *.split]
shelling__ has quit [*.net *.split]
flyinprogrammer has quit [*.net *.split]
alxndr has quit [*.net *.split]
jabreity has quit [*.net *.split]
cstrahan has quit [*.net *.split]
AndyWojo has quit [*.net *.split]
manveru has quit [*.net *.split]
lipoqil has quit [*.net *.split]
wsmoak has quit [*.net *.split]
mjc_ has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
blackjid has quit [*.net *.split]
r4z3r has quit [*.net *.split]
zz_barkerd427 has quit [*.net *.split]
<mentok> well then.
<dsea> that happened in multiple channels
<dsea> crazy
armin has joined #ruby
ghr has joined #ruby
<pontiki> what?
<mentok> well yeah, it's a netsplit
<mentok> Those cross channels.
<dsea> what's a netsplit? I've never seen that
M-mistake has quit [Ping timeout: 260 seconds]
<dsea> nvm apparently a cluster gets broke?
Satyajit has quit [Ping timeout: 276 seconds]
M-shine has quit [Ping timeout: 260 seconds]
<shevy> netsplit is somehow where people split up on IRC
<shevy> a minority has left us here on #ruby!
<pontiki> it's when irc servers disconnect and don't sync back up
craigp_ has quit [Ping timeout: 276 seconds]
chandlerbing has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
tjohnson has quit [Quit: Connection closed for inactivity]
`tim` has joined #ruby
Nahra has quit [Ping timeout: 272 seconds]
LoneHerm_ has joined #ruby
jottr has joined #ruby
M-shine has joined #ruby
execat has joined #ruby
Satyajit has joined #ruby
<execat> How do I generate a regex of the form /\p{X}/ where X takes values from an array?
ghr has joined #ruby
<execat> Turns out this --> /\p{Bengali}/ == Regexp.new("/\p{Bengali}/")
<execat> is false.
<pontiki> execat: indeed
<pontiki> don't put the delimiters withe Regexp.new
LoneHerm_ has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 252 seconds]
<execat> Wow. That was a stupid mistake. Thanks pontiki!
dennisvennink has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp_ has joined #ruby
finisherr has quit [Quit: finisherr]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
ghr has joined #ruby
max1 has joined #ruby
max1 is now known as pickandmix
tristanp has joined #ruby
craigp_ has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
pawnbox has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
benlieb has quit [Client Quit]
hk238 has joined #ruby
Dimik-- has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
kevr has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
asianMike has joined #ruby
ghr has joined #ruby
Ebok has joined #ruby
tristanp has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
harfangk has quit [Quit: harfangk]
tristanp has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
yadobujo has quit [Remote host closed the connection]
charliesome has joined #ruby
amclain has quit [Quit: Leaving]
Guest22575 has quit [Ping timeout: 240 seconds]
ecnalyr has joined #ruby
ghr has joined #ruby
akira616` has quit [Read error: Connection reset by peer]
ecnalyr has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
arlek has joined #ruby
pawnbox has joined #ruby
<shevy> hmm... if frozen encoding is used in a file that holds string constants
<shevy> like: FOO = 'Hello World!'
<shevy> lol
<shevy> I don't mean frozen encoding
<shevy> I mean: # frozen_string_literal: true
<shevy> is this functionally equivalent to doing:
<shevy> FOO = 'Hello World!'.dup ?
<pontiki> i don't think so
<pontiki> that's just assignment
<shevy> ah
<pontiki> you can't change the string content
<shevy> I actually meant to write:
<pontiki> as i understand it
<shevy> FOO = 'Hello World!'.freeze
<pontiki> for which part?
Dimik-- has quit [Ping timeout: 264 seconds]
<shevy> for the string constants in a given .rb file
ghr has joined #ruby
<shevy> dunno why I used .dup above there, too much multitasking
pawnbox has quit [Ping timeout: 252 seconds]
chandlerbing has joined #ruby
<pontiki> so the assignment isn't changing the string, it's changing the constant
kevr has joined #ruby
harfangk has joined #ruby
asianMike has quit [Remote host closed the connection]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jidar has quit [Quit: stuff.]
jidar has joined #ruby
dionysus69 has joined #ruby
jottr has joined #ruby
ghr has joined #ruby
asianMike has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 258 seconds]
astrobunny has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
kevr has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
benlieb has joined #ruby
ghr has joined #ruby
DTZUZU has quit [Ping timeout: 272 seconds]
DTZUZU has joined #ruby
benlieb has quit [Client Quit]
blackmesa has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
tmtwd has joined #ruby
kavanagh has joined #ruby
benlieb has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
tvw has joined #ruby
ReK2 has quit [Remote host closed the connection]
ReK2 has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
daumie has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
`tim` has joined #ruby
mentok has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
ljames has joined #ruby
stoodfarback has quit [Read error: No route to host]
ghr has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 276 seconds]
kevr has joined #ruby
ghr has joined #ruby
Dimik has joined #ruby
bkxd has joined #ruby
dionysus69 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yadobujo has quit [Remote host closed the connection]
flughafen_ has joined #ruby
ghr has joined #ruby
coffeecupp has joined #ruby
Ebok has quit [Read error: Connection reset by peer]
tossup_ has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
jottr has joined #ruby
Ebok has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 276 seconds]
Nanuq has joined #ruby
ghr has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
DTZUZU has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
pickandmix has quit [Ping timeout: 258 seconds]
<zacts> hi rubyists
<zacts> I've just realized something I hadn't expected: ruby is difficult
<zacts> but it's really a nice kind of difficulty
firstdayonthejob has joined #ruby
<elomatreb> Are you sure you don't mean *programming* is difficult?
<zacts> elomatreb: I think I must
<zacts> :-P
blackmesa has joined #ruby
<zacts> I'm being 1/2 silly though
<shevy> zacts yeah, well, I would not say difficult because ruby is in many ways very linear the moment you "think ruby", but I would say that it is a complex language if you look at all it has to offer
<zacts> shevy: indeed, I think that's what I meant also
leea has joined #ruby
<elomatreb> Is there any language that is not complex?
<zacts> Ruby offers a lot, and a lot of gems / libraries
ghr has joined #ruby
<zacts> elomatreb: probably the closest would be pure lambda calculus or (scheme)?
<zacts> but then you get complexity in the simplicity of it sometimes
<zacts> some things become too terse to describe
<zacts> I mean
<elomatreb> (No expert, so take what I say with grains of salt) The complexity in these systems is having to do everything yourself
<zacts> verbose not terse
<zacts> s/terse/verbose/ for my first sentence mentioning it
<zacts> indeed. so perhaps there is complexity in any system
<zacts> but Perl5 makes me afraid, very afraid, in comparison to Ruby... oh well. :-P
harfangk has joined #ruby
pawnbox has joined #ruby
<elomatreb> To quote xkcd: "Functional programming combines the power of abstract mathematics with the intuitivity and clarity of abstract mathematics"
<zacts> heh, that's a nice quote
Dimik has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
lstanley has left #ruby ["Leaving"]
solars has joined #ruby
<shevy> elomatreb probably just different layers of complexity
<shevy> like php versus haskell!
<shevy> I went, for the most part, from perl to php to ruby
marr has joined #ruby
<elomatreb> PHP to Ruby seems to be really common, I wonder why :)
<shevy> I'd probably say that back in ... 2001 or so, php was the simplest of these three
<shevy> I found PHP to be very lacking as a whole
<zacts> one thing I love is the Ruby community
<zacts> it's very welcoming, and also Ruby is well documented
<zacts> and not just syntax, but design and semantics too
<elomatreb> PHP, like javascript, is just not fun if you're used to the comfort of a well-designed standard library
<shevy> I remember that my first project in ruby was an IRC bot. It was my last project in PHP and I failed. In ruby, a few weeks and it was working, with a bit of help from others in how to get select() to work in ruby (it was both a bot and a client at the same time)
<zacts> I mean how to program ruby
ghr has joined #ruby
<shevy> dunno I still think the documentation in ruby is not very good
<shevy> but ruby as language is much prettier than both php and perl
<elomatreb> To be fair, Ruby has undergone a lot less change than PHP. Old PHP versions look nothing like what we write today
kevr has quit [Ping timeout: 272 seconds]
<zacts> Yeah, I'm referring to tutorial books, not to the Rubyspecs
<zacts> on how to program Ruby
<zacts> perldoc is probably nicer than the doc for the core language
<zacts> or at least more comprehensive?
burgestrand has joined #ruby
<elomatreb> Both Perl and Ruby have to be very well documented, simply because the "there is more than one way to do it"-pattern would cause chaos otherwise
<shevy> that's a fair point, more complexity requires more explanation
<shevy> have you seen those haskell monad tutorials
alfiemax has joined #ruby
armyriad has quit [Ping timeout: 246 seconds]
<elomatreb> Java would be a good example. You can usually work with third-party code without opening a documentation website, because the language limitations combined with a few doc comments explain everything
Ebok has quit [Quit: This computer has gone to sleep]
<zacts> ok laters
zacts has quit [Quit: WeeChat 1.5]
multi_io has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 252 seconds]
Alina-malina has joined #ruby
bkxd has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
Alina-malina has left #ruby [#ruby]
flughafen_ has joined #ruby
symm- has joined #ruby
ghr has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
armyriad has joined #ruby
daumie has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
spyder55 has joined #ruby
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
coffeecupp has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
Me_Engine has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
tvw has quit [Remote host closed the connection]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
yardenbar has joined #ruby
charliesome has joined #ruby
tmtwd has quit [Ping timeout: 260 seconds]
niceperl has joined #ruby
tossup_ has quit [Quit: Saliendo]
zacts has joined #ruby
allstar has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
Tempesta has quit [Quit: See ya!]
kent\n has joined #ruby
kent\n has joined #ruby
kent\n has quit [Changing host]
Tempesta has joined #ruby
djbkd_ has quit [Quit: Leaving...]
ghr has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
fujinuma has joined #ruby
codecop has joined #ruby
finnnnnnnnnnn has joined #ruby
Xeago_ has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
fujinuma has quit [Quit: WeeChat 1.5]
fujinuma has joined #ruby
ghr has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
Tachikomas has joined #ruby
ur5us has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
spyder55 has quit []
asianMike has quit [Remote host closed the connection]
arlek has joined #ruby
craigp_ has joined #ruby
futilegames has joined #ruby
kavanagh has quit [Read error: Connection reset by peer]
spectra has joined #ruby
Davey has joined #ruby
hadronzoo has joined #ruby
DTZUZU has joined #ruby
antgel has joined #ruby
1JTAAM584 has joined #ruby
lxsameer has joined #ruby
The_Phoenix has joined #ruby
yfeldblum has joined #ruby
postmodern has joined #ruby
Azure has joined #ruby
crdpink has joined #ruby
banisterfiend has joined #ruby
jrafanie has joined #ruby
zeroDi has joined #ruby
GinoMan2440 has joined #ruby
fschuindt1 has joined #ruby
sarbs has joined #ruby
paultreny has joined #ruby
Scient has joined #ruby
MuffinPimp has joined #ruby
tw1sted has joined #ruby
duoi has joined #ruby
svkurowski has joined #ruby
axisys has joined #ruby
j2k has joined #ruby
wsmoak has joined #ruby
c355e3b has joined #ruby
Liothen has joined #ruby
jokke has joined #ruby
baweaver has joined #ruby
sylario has joined #ruby
unforgiven512 has joined #ruby
Ikri has joined #ruby
Miron has joined #ruby
meinside has joined #ruby
demophoon has joined #ruby
freeze has joined #ruby
fumck has joined #ruby
zapata has joined #ruby
steve has joined #ruby
Arcaire has joined #ruby
deepak_ has joined #ruby
danzilio has joined #ruby
zzak___ has joined #ruby
tfitts has joined #ruby
chrismytton has joined #ruby
chris2 has joined #ruby
catbusters has joined #ruby
tobiasvl has joined #ruby
Guest92364 has joined #ruby
NightMonkey has joined #ruby
Guest83412 has joined #ruby
kitallis has joined #ruby
zenspider has joined #ruby
ndrst has joined #ruby
Meeh_ has joined #ruby
Kruppe has joined #ruby
surrounder has joined #ruby
csmb_ has joined #ruby
spastorino has joined #ruby
cbetta has joined #ruby
Seich has joined #ruby
code_ has joined #ruby
m4rCsi has joined #ruby
Ariadeno has joined #ruby
znz_jp has joined #ruby
swistak35 has joined #ruby
saneax has joined #ruby
borkdude has joined #ruby
Guest80745 has joined #ruby
jinie_ has joined #ruby
SenpaiSilver has joined #ruby
vikid has joined #ruby
Hates_ has joined #ruby
twe4ked has joined #ruby
nyandoge has joined #ruby
olivierjanss has joined #ruby
braderhart has joined #ruby
deeprave has joined #ruby
bove has joined #ruby
pmarreck has joined #ruby
dmnd has joined #ruby
Majost has joined #ruby
cardoni has joined #ruby
tpendragon has joined #ruby
ged has joined #ruby
SegFaultAX has joined #ruby
cschneid has joined #ruby
Y_Ichiro has joined #ruby
hostess has joined #ruby
_dev has joined #ruby
Junaos has joined #ruby
jpterry has joined #ruby
bodie_ has joined #ruby
ytti has joined #ruby
chrisseaton has joined #ruby
yasu___ has joined #ruby
low-profile has joined #ruby
biox has joined #ruby
irick has joined #ruby
Zarthus has joined #ruby
ramblinpeck has joined #ruby
atom3 has joined #ruby
rcs has joined #ruby
rgs has joined #ruby
tcrypt has joined #ruby
unsymbol has joined #ruby
ijij has joined #ruby
jtoy has joined #ruby
sindork has joined #ruby
atmosx has joined #ruby
alem0lars has joined #ruby
Klumben has joined #ruby
Koshian_ has joined #ruby
_ko1 has joined #ruby
inukshuk has joined #ruby
jericon has joined #ruby
ammar_ has joined #ruby
LinuxHippie has joined #ruby
Darkwater has joined #ruby
Fraeon has joined #ruby
codepete has joined #ruby
zero7 has joined #ruby
jimeh has joined #ruby
ELCALOR has joined #ruby
mitsuhiko has joined #ruby
shelling__ has joined #ruby
alxndr has joined #ruby
flyinprogrammer has joined #ruby
jabreity has joined #ruby
cstrahan has joined #ruby
AndyWojo has joined #ruby
manveru has joined #ruby
mjc_ has joined #ruby
lipoqil has joined #ruby
CrazyEddy has joined #ruby
blackjid has joined #ruby
r4z3r has joined #ruby
zz_barkerd427 has joined #ruby
M-mistake has joined #ruby
Zackio has joined #ruby
erlend has joined #ruby
yonatankoren has joined #ruby
triangles has joined #ruby
Flipez has joined #ruby
aries_liuxueyang has joined #ruby
Dry_Lips has joined #ruby
Log1x_ has joined #ruby
hosttor has joined #ruby
juanfra has joined #ruby
quakephil has joined #ruby
heinrich5991 has joined #ruby
Emmanuel_Chanel has joined #ruby
daemoen_ has joined #ruby
multi_io has joined #ruby
Guest32874 has joined #ruby
KrzaQ has joined #ruby
cfillion has joined #ruby
Sthebig has joined #ruby
dn` has joined #ruby
sunya7a_ has joined #ruby
the_drow has joined #ruby
Antiarc_ has joined #ruby
pabs has joined #ruby
mgorbach has joined #ruby
jgw has joined #ruby
kbni has joined #ruby
wjimenez5271 has joined #ruby
callumacrae has joined #ruby
tjvc has joined #ruby
awk has joined #ruby
Cyrus has joined #ruby
Kamilion has joined #ruby
constantinexvi has joined #ruby
martinbjeldbak_ has joined #ruby
ltd_ has joined #ruby
bihi has joined #ruby
gnarf has joined #ruby
nickjj has joined #ruby
angelixd_ has joined #ruby
ptx0 has joined #ruby
uranellus has joined #ruby
Yxhuvud has joined #ruby
Prira has joined #ruby
programmerq has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
braderhart has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
hosttor has quit [Max SendQ exceeded]
multi_io has quit [Max SendQ exceeded]
ptx0 has quit [Max SendQ exceeded]
programmerq has quit [Max SendQ exceeded]
KrzaQ has quit [Excess Flood]
multi_io has joined #ruby
KrzaQ has joined #ruby
ptx0 has joined #ruby
ghr has joined #ruby
ptx0 is now known as Guest50168
futilegames has quit [Client Quit]
braderhart has joined #ruby
blackmesa has joined #ruby
ghr is now known as Guest87550
programm1 has joined #ruby
Pupeno has joined #ruby
pfg has quit [Ping timeout: 258 seconds]
moei has quit [Ping timeout: 246 seconds]
craigp_ has quit [Ping timeout: 264 seconds]
Me_Engine has quit [Ping timeout: 258 seconds]
coffeecupp has joined #ruby
Guest83412 has quit [K-Lined]
pfg has joined #ruby
hosttor has joined #ruby
edwinvdgraaf has joined #ruby
moei has joined #ruby
kevr has joined #ruby
nankyokusei has joined #ruby
futilegames has joined #ruby
Guest87550 has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
futilegames has quit [Quit: futilegames]
DTZUZU has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby
futilegames has quit [Client Quit]
flughafen_ has joined #ruby
ghr has joined #ruby
M4dH4TT3r has quit [Ping timeout: 258 seconds]
flashpoint9 has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
pawnbox has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
M4dH4TT3r has joined #ruby
M4dH4TT3r is now known as Guest27170
execat has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
ghr has joined #ruby
barajasfab has joined #ruby
LoneHermit has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
harfangk has quit [Quit: harfangk]
flughafen_ has quit [Ping timeout: 258 seconds]
ecnalyr has joined #ruby
shinnya has joined #ruby
Guest27170 has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
<shevy> I still struggle with rewrites
<shevy> I should avoid them but I don't know of another way to clean up things while expanding eventually
jottr has joined #ruby
deeprave has left #ruby [#ruby]
ecnalyr has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
Guest27170 has joined #ruby
harfangk has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
malleable has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
flughafen_ has joined #ruby
MrBusiness3 has joined #ruby
<Zarthus> shevy: Rewriting code? Blasphemy.
ghr has quit [Ping timeout: 240 seconds]
<Zarthus> If my SLOC is not increasing I am doing a bad job!
tmtwd has quit [Ping timeout: 250 seconds]
tvw has joined #ruby
MrBusiness2 has quit [Ping timeout: 272 seconds]
execat has joined #ruby
niceperl has quit []
ghr has joined #ruby
coffeecupp has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
execat has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
spyder55 has joined #ruby
Tachikomas has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
coffeecupp has joined #ruby
ghr has joined #ruby
craigp_ has quit [Ping timeout: 244 seconds]
Madplatypus has joined #ruby
A_Drone has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
A_Drone has quit [Ping timeout: 246 seconds]
r3klm has joined #ruby
jottr has joined #ruby
LoneHermit has quit [Remote host closed the connection]
chip_ has joined #ruby
harfangk has quit [Quit: harfangk]
flughafen_ has quit [Ping timeout: 246 seconds]
QORRiE has joined #ruby
ghr has joined #ruby
macsteps has joined #ruby
A_Drone has joined #ruby
nettoweb has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
t-ask has joined #ruby
c0mrad3 has joined #ruby
A_Drone has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
leea has joined #ruby
Sashimi has joined #ruby
<t-ask> HI, I'm about to install a webapp written in ruby. Whats the recommended way of installing ruby written webapps? I have several domains, running on one server with one webserver running under a specific groupr 'httpd' eg. Now, do I create a new user for each ruby app and add them to the 'httpd' grpoup? Not sure, whats the best way to manage this
Guest27170 has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
harfangk has joined #ruby
toretore has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
saneax is now known as saneax_AFK
LoneHerm_ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
Guest27170 has joined #ruby
tedwards has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
ghr has joined #ruby
conta has joined #ruby
minimalism has quit [Quit: minimalism]
daumie has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
Jet4Fire has joined #ruby
jottr has joined #ruby
Sashimi has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago_ has joined #ruby
daumie has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Mimorial has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
ghr has joined #ruby
jottr has joined #ruby
blackmesa has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
A_Drone has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
gener1c has quit [Disconnected by services]
nadir has quit [Quit: Connection closed for inactivity]
conta has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
craigp_ has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
A_Drone has quit [Ping timeout: 244 seconds]
craigp_ has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
jottr has joined #ruby
A124 has quit [Ping timeout: 260 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
ffgghhj has joined #ruby
coffeecupp has quit [Quit: Lost terminal]
ghr has joined #ruby
QORRiE has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
QORRiE has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
Xeago_ has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
QORRiE has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 240 seconds]
QORRiE has joined #ruby
barajasfab has quit [Quit: Ex-Chat]
Xeago_ has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 252 seconds]
QORRiE has quit [Read error: Connection reset by peer]
QORRiE has joined #ruby
webus has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
conta has joined #ruby
flughafen_ has joined #ruby
JeanCarloMachado has joined #ruby
kevr has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
renegadegaru has joined #ruby
ghr has joined #ruby
max1 has joined #ruby
max1 is now known as pickandmix
pawnbox has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 272 seconds]
ffgghhj has quit [Quit: Leaving]
Tachikomas has joined #ruby
AngryBuzzy has joined #ruby
ghr has joined #ruby
execat has joined #ruby
GinoMan2440_ has joined #ruby
finnnnnnnnnnn has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
conta has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
execat has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tachikomas has quit [Remote host closed the connection]
Tachikomas has joined #ruby
hanmac has joined #ruby
Xeago_ has quit [Remote host closed the connection]
ghr has joined #ruby
jazzonmymind` has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
antgel has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
antgel has joined #ruby
johnmilton has quit [Ping timeout: 246 seconds]
craigp_ has joined #ruby
ghr has joined #ruby
Dimik-- has joined #ruby
sepp2k has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 272 seconds]
Dimik-- has quit [Ping timeout: 258 seconds]
johnmilton has joined #ruby
ghr has joined #ruby
benlieb has joined #ruby
nanoz has joined #ruby
CausaMortis has joined #ruby
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
hosttor has quit [Read error: Connection reset by peer]
blackgoat has joined #ruby
skade has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
hosttor has joined #ruby
Nahra has joined #ruby
sdothum has joined #ruby
jottr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
binaryplease4 has quit [Ping timeout: 264 seconds]
daumie has quit [Quit: WeeChat 1.4]
jottr has quit [Ping timeout: 244 seconds]
daumie has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
Coldblackice has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
execat has joined #ruby
tedwards has joined #ruby
LoneHerm_ has joined #ruby
flughafen_ has quit [Ping timeout: 252 seconds]
AngryBuzzy has quit [Quit: This computer has gone to sleep]
execat has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
ramfjord_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
Guest50168 has quit [Changing host]
Guest50168 has joined #ruby
Guest50168 is now known as ptx0
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
nankyokusei has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Jet4Fire has quit []
kirun has joined #ruby
SCHAAP137 has joined #ruby
skade has joined #ruby
ghr has joined #ruby
skade has quit [Client Quit]
hosttor has quit [Ping timeout: 276 seconds]
A_Drone has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
A_Drone_ has joined #ruby
A_Drone has quit [Read error: Connection reset by peer]
John has joined #ruby
John is now known as Guest65207
Guest65207 has quit [Client Quit]
pilne has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
A_Drone_ has quit [Ping timeout: 260 seconds]
johnernaut has joined #ruby
last_staff has joined #ruby
pawnbox has joined #ruby
The_Phoenix has quit [Ping timeout: 250 seconds]
nando293921 has joined #ruby
The_Phoenix has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
AngryBuzzy has joined #ruby
burgestrand has joined #ruby
daumie has joined #ruby
last_staff has quit [Client Quit]
ghr has joined #ruby
A_Drone has joined #ruby
craigp_ has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
A_Drone has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 272 seconds]
craigp_ has quit [Ping timeout: 240 seconds]
Tachikomas has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
ecnalyr has joined #ruby
ElFerna has joined #ruby
A_Drone has joined #ruby
Ebok has joined #ruby
ghr has joined #ruby
ecnalyr has quit [Ping timeout: 240 seconds]
johnernaut has quit [Ping timeout: 252 seconds]
A_Drone has quit [Ping timeout: 276 seconds]
naftilos76 has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
arlek_ has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
ghr has joined #ruby
hutch34 has joined #ruby
roamingdog has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
flughafen_ has joined #ruby
ElFerna has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
spyder55 has quit []
A_Drone has joined #ruby
jottr has joined #ruby
execat has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby
futilegames has joined #ruby
hutch34 has joined #ruby
vuoto has joined #ruby
ghr has joined #ruby
A_Drone has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 276 seconds]
execat has quit [Ping timeout: 240 seconds]
flughafen_ has quit [Ping timeout: 240 seconds]
edwinvdg_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
flashpoint9 has joined #ruby
edwinvdgraaf has quit [Ping timeout: 258 seconds]
elementaru has joined #ruby
ghr has joined #ruby
LoneHermit has quit [Ping timeout: 272 seconds]
arlek_ is now known as arlek
JeanCarloMachado has quit [Quit: Lost terminal]
FreeTable has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
FreeTable has quit [Client Quit]
ElFerna has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
pontiki has joined #ruby
<pilne> fuck's sake
ghr has quit [Ping timeout: 240 seconds]
ramfjord_ has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
craigp_ has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
nando293921 has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
Regulati_ has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
chip_ has quit [Ping timeout: 272 seconds]
Tachikomas has joined #ruby
craigp_ has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
AngryBuzzy has quit [Quit: This computer has gone to sleep]
lxsameer has quit [Quit: WeeChat 1.5]
AngryBuzzy has joined #ruby
mistermocha has joined #ruby
ghr has joined #ruby
A_Drone has joined #ruby
AngryBuzzy has quit [Client Quit]
Tachikomas has quit [Ping timeout: 240 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
flughafen_ has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
codecop has quit [Remote host closed the connection]
chipotle has joined #ruby
chipotle has quit [Max SendQ exceeded]
A_Drone has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
bkxd_ has joined #ruby
craigp_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
execat has joined #ruby
Xeago_ has joined #ruby
macsteps has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
CausaMortis has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
execat has quit [Ping timeout: 258 seconds]
arlek_ has joined #ruby
arlek has quit [Ping timeout: 250 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
jottr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
daumie has quit [Ping timeout: 258 seconds]
bkxd_ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
spider-mario has joined #ruby
spyder55 has joined #ruby
smathy has joined #ruby
blackmesa has joined #ruby
Xentil has joined #ruby
Jackneill has joined #ruby
Xentil has quit [Client Quit]
Xeago_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
Xentil has joined #ruby
JeremyC_ has joined #ruby
smathy has quit [Client Quit]
<JeremyC_> Greetings! Anyone available for a question?
DTZUZU has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
JeremyC_ has left #ruby [#ruby]
freerobby1 has joined #ruby
bkxd has joined #ruby
macsteps has joined #ruby
jazzonmymind` has joined #ruby
Tachikomas has joined #ruby
ChrisWilding has joined #ruby
Jackneill has quit [Remote host closed the connection]
ecnalyr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 246 seconds]
hutch34 has quit [Quit: WeeChat 1.5]
rdark has joined #ruby
<funrep> hi, what should i call a controller in rails that just handles a single page?
<funrep> maybe just static_page
allcentury has quit [Ping timeout: 244 seconds]
pmden has joined #ruby
wspider has joined #ruby
ecnalyr has quit [Ping timeout: 240 seconds]
<wspider> I used rbenv to install ruby and it went succesfully ( apparently ), except that either rbenv nor ruby are on the command path
nankyokusei has joined #ruby
<wspider> any hint on how to fix this :\ ?, I mean I could add the folders to the path but am not sure if that's the right approach
ghr has joined #ruby
Xeago_ has joined #ruby
rikkipitt has joined #ruby
Nanuq has quit [Ping timeout: 272 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
zeroDi has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
malleable has quit [Quit: leaving]
pawnbox_ has joined #ruby
<wspider> already fixed it, a reboot was needed for .bash_profile to take effect
Nanuq has joined #ruby
vuoto has quit [Remote host closed the connection]
shazaum has joined #ruby
ghr has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
conta has joined #ruby
Tachikomas has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
Tachikomas has joined #ruby
execat has joined #ruby
Tachikomas has quit [Remote host closed the connection]
<pontiki> funrep: that's what i usually do: StaticPagesController
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
Xentil has quit [Remote host closed the connection]
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
Tachikomas has joined #ruby
craigp_ has quit [Ping timeout: 276 seconds]
Tachikomas has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
execat has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
aryaching has joined #ruby
allcentury has joined #ruby
arlek_ has quit [Ping timeout: 250 seconds]
flughafen_ has quit [Ping timeout: 272 seconds]
roamingdog has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
ChrisWilding has quit [Quit: leaving]
Guest27170 has quit [Ping timeout: 272 seconds]
Guest27170 has joined #ruby
macsteps has quit [Remote host closed the connection]
SilverKey has joined #ruby
blackmesa has joined #ruby
jottr has joined #ruby
ghr has joined #ruby
hogetaro has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 250 seconds]
agit0 has joined #ruby
pmden has quit [Remote host closed the connection]
hogetaro has joined #ruby
roamingdog has joined #ruby
alfiemax has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
hosttor has joined #ruby
Tachikomas has joined #ruby
yadobujo has joined #ruby
Tachikomas has quit [Remote host closed the connection]
marr has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
Tachikomas has joined #ruby
Tachikomas has quit [Remote host closed the connection]
LoneHermit has joined #ruby
r3klm has quit [Read error: Connection reset by peer]
flughafen_ has joined #ruby
David27 has joined #ruby
connor_goodwolf has quit [Ping timeout: 246 seconds]
naftilos76 has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
Mon_Ouie has joined #ruby
Tachikomas has joined #ruby
hk238 has joined #ruby
shinnya has joined #ruby
<hk238> hmm how do I match a whitespace character ?
ghr has quit [Ping timeout: 240 seconds]
<pontiki> hk238: in a regexp?
karapetyan has quit [Remote host closed the connection]
<hk238> or more specifically I'm editing a sublime syntax definitions file, and I'm trying to match a whitespace, problem is if I do `\ ` backslash and whitespace, then the file doesnt work, and if I do `\s` then it matches all whitespaces I think
karapetyan has joined #ruby
<elomatreb> just a space matches a space, unless you set the x modifier
<hk238> pontiki how would I do it with regexp? :o
<pontiki> oh, you're not talking about ruby
<elomatreb> If you're using backslashes, are you sure you're not using regular expressions?
<hk238> it's a ruby regexp, but for some reaso nin thisthing it doesnt work if it ends in a space, so it's problematic
<hk238> (or at least it's claiming to be ruby)
<pontiki> sublime text doesn't use ruby
<elomatreb> ST usually is Python
alfiemax has quit [Ping timeout: 252 seconds]
<hk238> oh
Tachikomas has quit [Remote host closed the connection]
<hk238> it says here it's ruby though
<elomatreb> that's interesting
<hk238> on the off chance that it actually is ruby,
SilverKey has quit [Quit: Halted.]
<elomatreb> But "simple" regular expressions are usually the same across languages, as they're all inspired by Perl
<hk238> if for some reason sublime wouldnt process a match correctly when it ends in a `\ ` that is a backslash, and a literal space, how would I match whitespace differently?
<elomatreb> Have you escaped your backslash in the regex?
<hk238> nope
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
<hk238> alright thanks, i didnt realize I have to escape it
dgynn has joined #ruby
<hk238> it seems to work now, well, the at least there's no error, the syntax definition doesnt work, but I think that's not about the regular expression so it should be a different issue..
<hk238> :D
pLaToOn has joined #ruby
ghr has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
<hk238> actually it is a problem with it, there's no error once escaping the backslash, but it's not matching the whitespace
<pontiki> i wonder who owns that doc. the link where it says Ruby looks pretty funky
<hk238> I mean I tried it with `\s` and it matches a whitespace
<pontiki> \s matches any sort of whitespace
<hk238> yeah that's the problem :d
daumie has joined #ruby
<hk238> or I assumed it would be a problem so I didnt try that
<pontiki> if you only want it to match "space", don't say "whitespace"
<elomatreb> If you just want to match the regular space, a regular space should work. Unless you ended up with some weird unicode space in your data or regex?
rikkipitt has quit [Remote host closed the connection]
<hk238> oh well, that didnt even occur to me
<hk238> :D
<hk238> I mean I tried backslash space, but not jus tspace
rikkipitt has joined #ruby
<pontiki> this is a YAML file?
<hk238> yeah
ghr has quit [Ping timeout: 240 seconds]
<pontiki> surround it in single quotes, or it will be stripped
TinkerTyper has joined #ruby
<hk238> hey thanks that works
Ebok has joined #ruby
<hk238> ^^ yay
lxsameer has joined #ruby
rikkipitt has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
flashpoint9 has joined #ruby
ghr has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
tossus has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
spyder55 has quit []
asianMike has joined #ruby
agentmeerkat has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
sqnguyen has joined #ruby
spacemud has quit [Quit: ZNC - http://znc.in]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
snguyen has joined #ruby
pawnbox has joined #ruby
spacemud has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
execat has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
tossus has quit [Read error: Connection reset by peer]
rikkipitt has joined #ruby
nykona has joined #ruby
sqnguyen has quit [Remote host closed the connection]
finnnnnnnnnnn has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
daumie has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
execat has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
aryaching has quit [Remote host closed the connection]
daumie has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby
daumie has joined #ruby
mattwashere has joined #ruby
nykona has quit [Read error: Connection reset by peer]
toretore has joined #ruby
rikkipitt has quit [Remote host closed the connection]
ghr has joined #ruby
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
craigp_ has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
yqt has joined #ruby
jottr has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
ghr has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
sepp2k has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
Guest54890 has joined #ruby
karapetyan has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
Guest54890 has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
LoneHerm_ has joined #ruby
t-ask has quit [Quit: leaving]
antgel has quit [Ping timeout: 252 seconds]
agit0 has quit [Quit: zzzZZZ….]
execat has joined #ruby
craigp_ has joined #ruby
xlegoman has joined #ruby
ghr has joined #ruby
LoneHerm_ has quit [Ping timeout: 246 seconds]
rikkipitt has joined #ruby
futilegames has quit [Quit: futilegames]
execat has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
asianMike has quit [Remote host closed the connection]
marr has joined #ruby
DoubleMalt has joined #ruby
ghr has joined #ruby
miqlas-H has joined #ruby
BTRE has joined #ruby
nadir has joined #ruby
vuoto has quit [Remote host closed the connection]
akira616 has joined #ruby
nankyokusei has joined #ruby
GinoMan2440 has joined #ruby
pard has joined #ruby
<pard> there :)
dikaio has joined #ruby
<pard> is there any nich for writing a ruby parser in javascript?
<pard> i mean
<pard> *niche
<pard> ?
dikaio has quit [Max SendQ exceeded]
<pontiki> such things probably wouldn't be known until it existed, pard :)
macsteps has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
GinoMan2440_ has quit [Ping timeout: 250 seconds]
<pard> pontiki, i've set out to create a parser for ruby in the same way esprima is for javascript
<pard> but it is going to be somewhat more demanding
<pontiki> there's currently a transpiler project that converts ruby to javascript (opals), but if ruby could be parsed in the browser, that might pique someone's interest
<pard> pontiki, thanks
<pard> so would it be worth the effort?
<pontiki> like, DO EET MAAAHHNN!!
<pontiki> see what happens :)
<pard> :)
nankyokusei has quit [Ping timeout: 258 seconds]
spyder55 has joined #ruby
<pard> will it have any use cases anywhere?
<pontiki> beats me
spyder55 has quit [Max SendQ exceeded]
<pard> thanks
zapata has quit [Ping timeout: 250 seconds]
<elomatreb> I see it now: In 3 years, every browser will run Ruby using minified javascript
<pard> wow
<pontiki> i mean, really, i have no idea; this is maybe onw of those things whose impact won't be felt until 2 years afterwards
spyder55 has joined #ruby
<elomatreb> Also, there will be a spike in deaths caused by phones catching fire while browsing. Entirely unrelated
<pontiki> and ruby is running in every watch browser
flashpoint9 has joined #ruby
<pard> :)
<pontiki> lol elomatreb and i are on the same track here, somehow
<pard> won't it be of any use in, for example the code editors?
A_Drone has joined #ruby
<pontiki> i don't write editors
<pard> apolgies
<pard> *apologies
<elomatreb> In a code editors you likely don't need full AST parsers, just something that does syntax highlighting
<pontiki> i doubt emacs is going to start using a javascript ruby compiler :)
agit0 has joined #ruby
<pontiki> just sayin'
akira616 has quit [Quit: Leaving]
<pard> elomatreb, thanks a lot
<pard> what about the code instrumentation side?
<pard> i mean
<pard> for javascript there's esprima
<elomatreb> There are tools that do static analysis for Ruby, but they're also written in Ruby
akira616 has joined #ruby
<pard> thanks :)
A_Drone has quit [Remote host closed the connection]
ghr has joined #ruby
<pard> elomatreb, could i ask what/where they are? thanks :)
AndyBotwin has quit [Ping timeout: 276 seconds]
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Client Quit]
BillSussman has joined #ruby
<elomatreb> rubocop (https://github.com/bbatsov/rubocop) is very common, but there are also less specific things like https://github.com/whitequark/parser
<pard> thanks :)
solocshaw has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
<pard> i reckon an editor written by github runs on javascript (i can't remember what it was calld)
<pontiki> there's a bunch from the seattle ruby brigade
solocshaw has quit [Client Quit]
codecop has joined #ruby
<pard> will is be of any use in it?
acerna has quit []
roamingdog has joined #ruby
flashpoint9 has quit [Ping timeout: 276 seconds]
<elomatreb> github uses https://github.com/ajaxorg/ace as their web editor iirc
GinoMan2440 has quit [Ping timeout: 250 seconds]
agentmeerkat has joined #ruby
<pard> thanks
<pontiki> pard, i'm wondering why you keep asking us that question
<pard> sorry
<pontiki> no, don't be sorry
armando has joined #ruby
<pontiki> i just want to know what it is you're really needing to know
Amnez777 has quit [Ping timeout: 258 seconds]
<pard> i've built a parser for javascript and i've liked the experience so much i decided to take on a more challenging one
<pontiki> so what else do you need than that?
<elomatreb> "I've built a parser" "I've liked the experience"
<pard> i just wantd to make sure i'm not wasting my efforts :\
<elomatreb> First time hearing that
<pontiki> does it matter if it ever sees a use?
<pontiki> learning is never wated
<pontiki> wasted*
<elomatreb> Esp. if you open source it, writing parsers is often considered a very important skill
A_Drone has joined #ruby
rumia has joined #ruby
karapetyan has quit [Remote host closed the connection]
<pard> the one i've written for the javascript-thing is actually on github
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
<pard> only that i no longer have time in abundance
<elomatreb> Projects like that look really good on applications for programming jobs
Ebok has joined #ruby
<pard> but it is very demanding :\ that's why i was after use cases before getting started
<pard> :\
karapetyan has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
A_Drone has quit [Remote host closed the connection]
<pontiki> if you were writing a more general thing, i'd say that's good, but a ruby parser implementing in javascript seems really a very concrete thing
ramfjord has joined #ruby
<elomatreb> I think you may be approaching this wrong. If you're doing this for fun in your free time, do it if you're having fun, and only as long as you're having fun
<pontiki> this^
elementaru has quit [Ping timeout: 240 seconds]
<pard> you are completely right
<pard> :\
<pontiki> i'm really with elomatreb on this; i've never heard anyone say they have fun writing parsers
<pontiki> even the parser writers i know
QORRiE has quit [Quit: Leaving]
<pontiki> if that is your thing, do it
<pard> pontiki, what if the parser is a _recursive descent_ ruby parser? :)
<elomatreb> Initially writing the parser may be fun, but patching it back together once you find the first bug is annoying
<pard> :\
<pontiki> pard: i'm sorry, what if it is?
zacts has quit [Ping timeout: 258 seconds]
<pard> i mean all other parser that are made for ruby use parse.y directly, in a rather non-human friendly manner
isberg has joined #ruby
<pard> they do the job though :\
<elomatreb> You like ":\", don't you? :)
<pard> but i thought what i make might be more "intuitive", and easier to maintain
<pard> elomatreb, apologies
<elomatreb> no worries
<pard> :)
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> pard: then that would be cool
<pard> thanks :)
<pard> i'll get started soon then
<elomatreb> have fun!
<pard> could i count on your help for pushing it forward?
<pontiki> n
<pontiki> no
swills_ has joined #ruby
spudowiar has joined #ruby
<pontiki> i mean, it depends on what it ends up being
<pard> why?
agentmeerkat has joined #ruby
swills has quit [Remote host closed the connection]
<pard> that is a catch22 thing :)
<pontiki> or maybe i don't know what you meant by pushing it forward
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
Amnez777 has joined #ruby
<pard> pontiki, i'm adapting it to work with jruby AST, which i find somewhat more human-readable than s-expressions; that would be one case i can get help
<pard> i actually won't need coding at all
Ebok has quit [Quit: This computer has gone to sleep]
<pard> *it won't
<pard> i mean
<pontiki> somehow, that doesn't answer my question in any way i can figure out
<pard> something like the 'estree' for javascript
<pontiki> i don't know what you actually mean by "could i count on your help for pushing it forward?"
<pard> pontiki, apologies; i meant helping me in things like documenting a standart ast format for ruby, among other things actually
<pard> *standard
<pard> or testing it when it is done
<pontiki> ah, i don't think i could :/ i don't know that stuff well enough
<pard> thanks :)
<pard> jruby's AST is very straightforward
<pard> i mean
<pontiki> i'm also not interested in learning it :)
<pontiki> too many other things going on here
<pard> thanks :)
roamingdog has quit [Remote host closed the connection]
<pard> could i ask what they are?
<pard> (the hinderances)
<elomatreb> There are more than 3 people in this channel though, if you have a question there is a good chance someone can answer them
<pontiki> work, family, teaching, art
<pard> wow
<pontiki> i don't consider any of those hinderances
<pard> can i use :\?
<pard> :)
agit0 has quit [Quit: zzzZZZ….]
edwinvdg_ has quit [Remote host closed the connection]
<pard> they are not actually
<pard> i meant no offense
<pontiki> none taken
<pard> :)
<pard> could i give the link to the repository i'm documenting the ruby ast?
tenc has quit [Quit: WeeChat 1.4]
<pontiki> it might help people find your stuff to help with
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
<pard> thanks
zapata has joined #ruby
<pard> it would take a bit
LoneHermit has joined #ruby
jottr has joined #ruby
<pard> but i'd be glad to collaborate with others on this matter
nankyokusei has joined #ruby
<elomatreb> Does that link 404 for anybody else?
schlauberg has quit [Remote host closed the connection]
<pard> elomatreb, i just created it
rikkipitt has quit [Remote host closed the connection]
<pontiki> still 404
<pard> will commit in 12hrs
<elomatreb> Maybe the cache needs some time?
<pard> no no
<pard> i've created an empty repo
<pard> i mean
shinnya has quit [Ping timeout: 244 seconds]
<pard> no commits
LoneHermit has quit [Remote host closed the connection]
<pontiki> you've got this as a public repo: https://github.com/icefapper/rube
zacts has joined #ruby
swills_ has quit [Ping timeout: 258 seconds]
<pontiki> none of you other public repos look like they'd apply to being a ruby parser
jottr has quit [Ping timeout: 240 seconds]
<pard> pontiki, actually, i left rube for jsRube
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
<pard> because i thought javascript would be easier to write parser for
<elomatreb> Is it?
<pard> no that much :\
<pontiki> anyway, you have no public ruby-ast repo
hypnosb has quit [Ping timeout: 244 seconds]
<pontiki> on github
<pard> considering all the syntactic refinement rules and early errors
agit0 has joined #ruby
<pard> please let me give it a check
<elomatreb> Mh, I could imagine that some of the syntactic sugar of Ruby (optional parentheses, fancy hash syntax, etc) might be kind of hard to catch with a parser
<pard> not actually
Rodya_ has joined #ruby
craigp_ has quit [Ping timeout: 272 seconds]
<pard> ruby is not as "heuristic" as for example perl
<pard> it's indeed very easy to write a parser for once you have a gist on what i call the high-level details
<pard> i mean
<elomatreb> Heh, ok. Perl is even hard to read for a human :P
<pard> :)
<pard> it's not even statically parseable (on occasions)
yqt has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
mattwashere has quit [Remote host closed the connection]
minimalism has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ma489 has joined #ruby
mattwashere has joined #ruby
aasmith has joined #ruby
vuoto has joined #ruby
pard has quit [Quit: Leaving]
macsteps has quit [Remote host closed the connection]
ghr has joined #ruby
craigp_ has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
spudowiar has quit [Quit: gaming]
amclain has joined #ruby
spyder55 has quit []
mattwashere has quit []
alfiemax has joined #ruby
vanvemden has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
ifsp has joined #ruby
vanvemden has quit [Client Quit]
vanvemden has joined #ruby
ifsp has quit [Client Quit]
yfeldblum has joined #ruby
chris2 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
finnnnnnnnnnn has joined #ruby
karapetyan has quit [Remote host closed the connection]
jahrichie has joined #ruby
<jahrichie> is there a rails channel?
<pontiki> jahrichie: ?rails
<pontiki> hmm
<pontiki> jahrichie: #rubyonrails
ghr has quit [Ping timeout: 240 seconds]
<jahrichie> rails wouldnt work for me
<jahrichie> rubyonrails has some peeps tho
A124 has joined #ruby
<pontiki> jahrichie: #rubyonrails is official
ma489 has quit [Quit: Ex-Chat]
nando293921 has joined #ruby
1JTAAM584 has quit [Quit: Leaving.]
voodoofish4301 has joined #ruby
ghr has joined #ruby
Sashimi has joined #ruby
JeanCarloMachado has joined #ruby
chris2 has joined #ruby
skade has joined #ruby
Amnez777 has quit [Ping timeout: 264 seconds]
smathy has joined #ruby
smathy has quit [Client Quit]
al2o3-cr has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
skade has quit [Client Quit]
Stazer has joined #ruby
pawnbox has quit [Remote host closed the connection]
mentok has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
ghr has joined #ruby
vanvemden has quit [Remote host closed the connection]
allcentury has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Amnez777 has joined #ruby
jottr has joined #ruby
Dimik has joined #ruby
spyder55 has joined #ruby
ecnalyr has joined #ruby
LoneHerm_ has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
AngryBuzzy has joined #ruby
ghr has joined #ruby
xcesariox has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
ecnalyr has quit [Ping timeout: 258 seconds]
Madplatypus has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
ghr has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
flashpoint9 has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
benlieb has quit [Quit: benlieb]
pawnbox has quit [Ping timeout: 276 seconds]
tvw has quit []
ghr has joined #ruby
akira616 has quit [Quit: Leaving]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdark has quit [Quit: leaving]
AngryBuzzy has quit [Quit: This computer has gone to sleep]
zacts has quit [Ping timeout: 252 seconds]
Ebok has joined #ruby
bruce_lee has joined #ruby
<shevy> dumdedum
macsteps has joined #ruby
<al2o3-cr> dumdum
akira616 has joined #ruby
swills has joined #ruby
Guest27170 has quit [Ping timeout: 276 seconds]
irregular has joined #ruby
hutch34 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<shevy> you chopped off chars! :(
macsteps has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Remote host closed the connection]
<shevy> "The HTML <rp> element is used to provide fall-back parenthesis for browsers non-supporting ruby annotations. Ruby annotations"
<shevy> ruby even has a tag!!!
<shevy> lol "like using Japanese furigana or Taiwainese bopomofo characters"
<shevy> bopomofo is that even a word?
CausaMortis has joined #ruby
Guest27170 has joined #ruby
yqt has joined #ruby
ghr has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
rikkipitt has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tjohnson has joined #ruby
zacts has joined #ruby
solars has quit [Ping timeout: 258 seconds]
karapetyan has quit [Remote host closed the connection]
smathy has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
ghr has joined #ruby
stephan_ has quit [Ping timeout: 264 seconds]
craigp_ has quit [Ping timeout: 258 seconds]
roamingdog has joined #ruby
codecop has quit [Remote host closed the connection]
elementaru has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
chipotle has quit [Quit: cheerio]
roamingdog has quit [Ping timeout: 240 seconds]
freerobby1 has quit [Ping timeout: 244 seconds]
finnnnnnnnnnn has joined #ruby
ghr has joined #ruby
pykno-paron has joined #ruby
craigp_ has joined #ruby
finnnnnnnnnnn has quit [Client Quit]
solars has joined #ruby
stephan_ has joined #ruby
conta has quit [Ping timeout: 258 seconds]
xall has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
tristanp has joined #ruby
mistermocha has joined #ruby
Guest27170 has quit [Ping timeout: 246 seconds]
blaxter has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
Guest27170 has joined #ruby
kent\n has quit [Changing host]
kent\n has joined #ruby
pawnbox has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
mistermocha has quit [Remote host closed the connection]
ghr has joined #ruby
symm- has joined #ruby
pietr0 has quit [Quit: pietr0]
nankyokusei has joined #ruby
jottr has joined #ruby
hosttor has quit [Ping timeout: 250 seconds]
craigp_ has quit [Ping timeout: 260 seconds]
rikkipitt has quit [Remote host closed the connection]
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
blaxter has quit [Quit: foo]
Guest21_ has joined #ruby
naftilos76 has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
tmtwd has joined #ruby
postmodern has quit [Quit: Leaving]
jottr has quit [Ping timeout: 272 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
spyder55 has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
daumie has quit [Quit: sleeping]
craigp_ has joined #ruby
irregular has quit [Ping timeout: 276 seconds]
allstar has joined #ruby
Coldblackice has joined #ruby
spyder55 has joined #ruby
tubuliferous has joined #ruby
Xentil has joined #ruby
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
CausaMortis has quit [Ping timeout: 258 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
ghr has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
xlegoman has joined #ruby
futilegames has joined #ruby
pykno-paron has quit []
travisxcode has joined #ruby
ghr has joined #ruby
hosttor has joined #ruby
yadobujo_ has joined #ruby
Guest21_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has joined #ruby
shinnya has joined #ruby
naftilos76 has joined #ruby
conta has joined #ruby
agent_white has quit [Quit: leaving]
zacts has quit [Ping timeout: 264 seconds]
SilverKey has quit [Quit: Halted.]
<travisxcode> First of all, let me start by saying that I am new to Ruby. I am working through Chris Pine's "Learn to Program" and am trying to write some code to get input from a user (their age, as an integer), and convert that to an approximate number of seconds. My output does not match up with what other converter programs online say it should be, and I cannot figure out why. Here is my source code: http://pastebin.com/34YF8GzH
<ruby[bot]> travisxcode: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/215dbc09769af1c606d709bd47a9ee33
<ruby[bot]> travisxcode: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<travisxcode> ruby[bot]: Thank you.
yadobujo has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 264 seconds]
flashpoint9 has joined #ruby
spyder55 has quit []
rikkipitt has quit [Remote host closed the connection]
<bougyman> ugh, ruby 1.8
<bougyman> I forgot how shitty time handling was in it
rikkipitt has joined #ruby
^mtkd has quit [Ping timeout: 264 seconds]
<bougyman> DateTime.now.to_time - (DateTime.now.to_time - 10)
<bougyman> => 9.999955667
<bougyman> so easy in 2.x
tristanp has joined #ruby
<travisxcode> Actually, I am using Ruby version 2.2.4.
Guest21_ has joined #ruby
<travisxcode> via RailsInstaller
<bougyman> there's no to_time 1.8 :(
Guest21_ has quit [Client Quit]
<adaedra> bougyman: that sounds like an IEEE float problem
<hxegon> travisxcode: what are you expecting as output?
mtkd has joined #ruby
<adaedra> >> 0.1 + 0.2
<ruby[bot]> adaedra: # => 0.30000000000000004 (https://eval.in/603085)
<hxegon> and what do you get?
<bougyman> adaedra: it's not a problem
<bougyman> I called DateTime.now twice, it would be a little different
<bougyman> that's the expected, correct behavior
<adaedra> ah yes, that too.
* adaedra is a bit tired
<bougyman> in ruby 1.8 i'm trying to get seconds between one DateTime and another.
<travisxcode> hxegon: I am expecting 662,695,992 Seconds (using 21 ase the age).
<bougyman> and it's no big deal, I wrote my own .to_time for 1.8 before
<hxegon> travisxcode: their age in seconds? (also on line 14 you don't have to do #to_s for age_in_years, because puts automatically calls #to_s on input)
<bougyman> it's just taht... I was trying it in a one-liner.
<bougyman> doesn't work so well, then.
chipotle has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
<bougyman> puts "%0.6f" % (DateTime.now - DateTime.parse($_.split(" ", 2).last));end'
<bougyman> 0.000657
<bougyman> I guess that's fractions of a day?
conta has quit [Ping timeout: 276 seconds]
<hxegon> travisxcode: and what do you get instead of that?
CausaMortis has joined #ruby
<travisxcode> hxegon: I end up with an output of 21212121212121 repeating, which crashes my terminal.
<hxegon> hmm
Stazer has quit [Ping timeout: 252 seconds]
<hxegon> are you trying to multiply a string by a Fixnum on line 12?
tristanp has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
<travisxcode> hxegon: Ahhh! I think I need to convert 21 into an integer first.
<travisxcode> Let me test it.
rikkipitt has quit [Ping timeout: 258 seconds]
<hxegon> yes, also, as a style note, I would say do that on line 9 rather than 12
naftilos76 has quit [Ping timeout: 272 seconds]
yadobujo_ is now known as yadobujo
rikkipitt has joined #ruby
<hxegon> so it was giving you the string "21" * seconds_in_year, which is...
chipotle has quit [Ping timeout: 250 seconds]
<hxegon> >> 365 * 24 * 60 * 60
<ruby[bot]> hxegon: # => 31536000 (https://eval.in/603086)
<travisxcode> hxegon: That was my problem! Thank you! I'm looking forward to learning more about programming over the next...well, hopefully the rest of my life!
<hxegon> travisxcode: it's pretty interesting stuff. Pick up a copy of Practical Object Oriented Design in Ruby, when you get a chance
<travisxcode> hxegon: I will look into it next week when I get payed.
macsteps has joined #ruby
<travisxcode> I'm trying to get good enough to become a Ruby/RubyOnRails developer.
<travisxcode> I'm tired of doing manual labor.
tmtwd has quit [Ping timeout: 244 seconds]
A_Drone has quit [Remote host closed the connection]
<hxegon> Not a bad plan. There is a rails channel on IRC too, #RubyOnRails, if you have questions about that
zacts has joined #ruby
flashpoint9 has joined #ruby
spiette has joined #ruby
SilverKey has joined #ruby
<travisxcode> I've decided to learn Ruby first, even though some say it isn't very important when using Rails. Obviously Rails is just a framework for Ruby, so I don't see how logical that is.
<hxegon> I disagree, but they have a point. Rails is such a huge framework that it's basically it's own DSL
pawnbox has joined #ruby
<hxegon> (using DSL lightly)
JeanCarloMachado has quit [Ping timeout: 276 seconds]
<pontiki> but knowing ruby well still helps a lot with rails
execat has joined #ruby
<hxegon> absolutely
deuterium has joined #ruby
<pontiki> i'd like to know where people are saying knowing ruby is unimportant to working with rails
<travisxcode> pontiki: Why, the internet of course! I read a lot of blog posts about Ruby and Rails before deciding to choose it as my first professional language.
<pontiki> then you know who to no longer follow, right?
<travisxcode> Exactly.
pLaToOn has quit [Read error: Connection reset by peer]
skalfyfan has joined #ruby
roamingdog has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
execat has quit [Ping timeout: 276 seconds]
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
jottr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
travisxcode has quit [Ping timeout: 250 seconds]
rikkipitt has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
leea has joined #ruby
spudowiar has joined #ruby
ghr has joined #ruby
hosttor has quit [Ping timeout: 250 seconds]
vuoto has quit [Remote host closed the connection]
karapetyan has joined #ruby
execat has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
speaking1ode has joined #ruby
roshanavand has joined #ruby
nankyokusei has joined #ruby
tristanp has joined #ruby
finnnnnnnnnnn has joined #ruby
cajone is now known as cajone_afk
Pupeno has quit [Remote host closed the connection]
execat has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
skweek has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
ghr has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
finnnnnnnnnnn has quit [Client Quit]
Snaggle has joined #ruby
execat has joined #ruby
SilverKey has quit [Quit: Halted.]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
enterprisey has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
execat has quit [Ping timeout: 260 seconds]
Snaggle has left #ruby [#ruby]
ghr has joined #ruby
tristanp has quit [Remote host closed the connection]
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz has quit [Read error: Connection reset by peer]
finnnnnnnnnnn has joined #ruby
edwinvdgraaf has joined #ruby
stephan_ has quit [Quit: Leaving]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finnnnnnnnnnn has quit [Client Quit]
<hanmac> >> "ß".upcase
<ruby[bot]> hanmac: # => "ß" (https://eval.in/603088)
skalfyfan has joined #ruby
<adaedra> Lacks some locale-aware things
freerobby has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
elifoster has joined #ruby
Guest21 has joined #ruby
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
execat has joined #ruby
Phanes has quit [Quit: ...shout as you did in rome...]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
skalfyfan has joined #ruby
Phanes has quit [Remote host closed the connection]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
ramfjord has joined #ruby
ghr has joined #ruby
Guest27170 has quit [Ping timeout: 252 seconds]
roamingdog has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
Guest21 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
execat has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
kavanagh has joined #ruby
<shevy> ruby 3.0 will solve all the things!
ramfjord has quit [Ping timeout: 272 seconds]
Guest27170 has joined #ruby
MrBusiness3 has quit [Read error: Connection reset by peer]
execat has joined #ruby
nando293921 has quit [Ping timeout: 258 seconds]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
enterprisey has quit [Remote host closed the connection]
<spudowiar> >> `ls`
<ruby[bot]> spudowiar: # => (https://eval.in/603089)
<spudowiar> bastard
<spudowiar> :P
<spudowiar> >> Dir.pwd
<ruby[bot]> spudowiar: # => "/tmp/execpad-9d44dafee340" (https://eval.in/603090)
tristanp has joined #ruby
ghr has joined #ruby
yadobujo has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 264 seconds]
elementaru has quit [Remote host closed the connection]
ekinmur has joined #ruby
yadobujo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
JeanCarloMachado has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
rikkipitt has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
<shevy> this bot has been battle-hardened
<shevy> Martin Duerst is like doing all the encoding
ghr has joined #ruby
<adaedra> spudowiar: please don't try to break the bot
<spudowiar> adaedra: I wasn't, I was just checking something
<spudowiar> adaedra: and the bot is separate
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<Papierkorb> is the bot based on geordi?
spudowiar has quit [Quit: brb]
chignon has joined #ruby
spudowiar has joined #ruby
<chignon> #ruby
<chignon> ruby question
<Papierkorb> chignon: ask away
<chignon> anyone know why instance variable are set equal to parameters?
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> chignon: mh?
<Papierkorb> chignon: you mean in #initialize?
<chignon> i'm obv new to ruby and I had a question on SO downgraded
<toretore> ?code chignon
<ruby[bot]> chignon: We can't help you without your code, please post it to https://gist.github.com
<chignon> sure...gimme 1 sec
saneax_AFK is now known as saneax
speaking1ode has quit [Ping timeout: 246 seconds]
xall has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 240 seconds]
<shevy> this is a fragment
<Papierkorb> chignon: you do that to store the arguments value in the object, if you need it again somewhere else
jjjjj has joined #ruby
skweek has joined #ruby
tmtwd has joined #ruby
<chignon> the thing is works...if I am using only 1 object
jjjjj has quit [Client Quit]
<chignon> I mean I just don't understand the logic behind it...for scripts where I set 2 objects...I don't need that snippet
<Papierkorb> chignon: please gist the whole, real script, as shevy suggested
rikkipitt has quit [Remote host closed the connection]
<chignon> ok there are actually two scripts...hangone
<Papierkorb> chignon: also gist the complete error message you're getting, including backtrace and everything. No paraphrasing.
rikkipitt has joined #ruby
ghr has joined #ruby
LoneHermit has joined #ruby
Guest21 has joined #ruby
zacts has joined #ruby
bruce_lee has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
<chignon> there are 2 very simple rb files
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
Parko has joined #ruby
<Papierkorb> chignon: that's not the whole thing. we can't help this way.
<chignon> do you need the terminal output?
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> see
<shevy> you must invoke this somehow
<shevy> but you don't show how you do this
<Papierkorb> The. Whole. Thing. all scripts. terminal output, the wrong one, and what you expected to see instead. also complete error messages if you get errors.
ghr has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
<chignon> Sorry I'm just new at this. The scripts work in irb....I just don't understand why I need @breed = personality in my 2nd script
<Papierkorb> chignon: it's fine. but please do what we ask you to do. we want to help, but without what we're asking, we can't.
macsteps has quit [Remote host closed the connection]
quakephil has left #ruby [#ruby]
<chignon> ok...how do I copy/paste from irb tho?
Guest21 has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> on linux you can select with the mouse then press the middle button
<chignon> windows unfortunately
<shevy> for windows I think there is some app that does this
<chignon> school lib haha
<Papierkorb> Oh god windows
<toretore> start with pasting the entire file contents
<shevy> I also think there is some way to save the buffer in irb.... hmm
<Papierkorb> chignon: Right click, then "Select", and select the region with your mouse
JeanCarloMachado has quit [Ping timeout: 240 seconds]
<chignon> those are the files...they are very short
arooni has joined #ruby
<chignon> i promise those are my 2 rb files
<Papierkorb> chignon: we also need to know how you're trying to use those
<Papierkorb> chignon: as in, the real code you're using for that
<chignon> my input? sure
tristanp has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
arooni has left #ruby [#ruby]
Pupeno has quit [Remote host closed the connection]
ghr has joined #ruby
<Papierkorb> chignon: try right clicking in the terminal. It should have an entry to select something
Rodya_ has joined #ruby
johnmilton has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Remote host closed the connection]
<chignon> @papierkorb just alt a which blows
<Papierkorb> Hey it's windows, what do you expect?
flashpoint9 has quit [Remote host closed the connection]
<shevy> chignon what the various attr*s do is as you can write in ruby code yourself: attr_reader :foo is the same as: def foo; @foo; end; attr_writer :foo is the same as def foo=(i); @foo = i; end and attr_accessor combines the two into one
vanvemden has joined #ruby
<chignon> yeah that's what I'm gonna do...they'll be in comments
freerobby has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 240 seconds]
<shevy> .foo is a method call that will work if the object responds to this method; if you used an attr* there then this will have added a method with the name (or with the = variant if you use attr_writer)
<shevy> instance variables that were not initialized to some explicit value, should default to nil, but ruby may issue a warning if it was not explicitely set to a value
yadobujo has quit [Remote host closed the connection]
vanvemden has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
Dimik-- has joined #ruby
shinnya has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
evie_hammond has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
<chignon> ok I think i killed my nails haha!!!
ghr has quit [Ping timeout: 240 seconds]
<chignon> my question is why isn't it necessary to set up my instance variable equal to anything in the first script...is because I'm dealing two classes?
<shevy> chignon btw on gist, you can save with .rb file end, then you get colour highlighting for free
<chignon> yeah I just didn't want to take up time with making an account (i use sublime ...luv it)!
Xeago__ has joined #ruby
moeabdol has joined #ruby
johnmilton has joined #ruby
Xeago- has joined #ruby
evey_hammond has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
Xeago- is now known as Xeago
<shevy> chignon a class should have an initialize method
nofxx has quit [Remote host closed the connection]
<shevy> if you use @ivars on the instance level
evie_hammond has quit [Read error: Connection reset by peer]
<shevy> things such as .name = could be set when you use .new
SCHAAP137 has quit [Ping timeout: 276 seconds]
xall has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
JeanCarloMachado has joined #ruby
<chignon> what's wrong with the way I'm doing it...I'm setting up a new_instance = object.new, then new_instance.name = "name_of_instance"
<shevy> why would you want to do this
<chignon> just the way the tutorial is going about it...
jnoob22 has quit [Quit: Leaving]
<chignon> how would you do it @shevy
<shevy> adam = Dog.new('Adam', 'alpha')
<shevy> chris = Dog.new('Chris','collie')
<shevy> adam.gets_along_with chris
moeabdol has quit [Ping timeout: 264 seconds]
<jottr> Hi all. Just a quick question: When would one use an equal sign before a begin..end-block? Ie. =begin ... =end ?
<shevy> I also don't know why you have a separate class Animal, isn't a dog a subclass of animal if you apply the hierarchical subclass setup?
<chignon> @jottr that's for multiline comments..there's a debate that #is better...per line
<jottr> chignon: Ah thx. :)
<shevy> # is nice since you can expect it
<shevy> though it may be more tedious depending on your editor
<chignon> @shevy, yes. Absolutely right ...I was trying to isolate @variable=parameter....I wanted to understand the logic there....classes and subclasses, I am familar with these
<zacts> hello rubyists
pawnbox has joined #ruby
<shevy> well you usually have to be explicit
Jardayn has joined #ruby
<shevy> you already are explicit in your code since you use the .name = assignments
<shevy> but it looks like a lot of extra work that does not seem necessary
ecnalyr has joined #ruby
xall has quit [Ping timeout: 244 seconds]
<chignon> @shevy I'm learning...
<shevy> it's all method calls :)
Guest27170 has quit [Ping timeout: 258 seconds]
<chignon> @shevy have an example?
<chignon> @shevy just curious
<shevy> these are examples!
<chignon> @jottr np
<shevy> your code
<shevy> foo.bar = 'value' # also a method invocation
<shevy> if you write this on your own, you would use: def bar=(input1, input2, input3)
pawnbox has quit [Ping timeout: 258 seconds]
ecnalyr has quit [Ping timeout: 244 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
<chignon> @shevy I thought there had to be an simple array form (not really an array, but u get the idea)...guess the books I'm using haven't gotten to this part yet
roshanavand has quit [Quit: This computer has gone to sleep]
solars has quit [Ping timeout: 258 seconds]
<chignon> but I still don't get the concept of needing @name = assignment in 1 and not in the other
SCHAAP137 has joined #ruby
<chignon> or rather @instance_variable = parameter in 2nd script and not needing it in the 1st (assume I utilize 2 objects/instances)
<shevy> you already manually set the values in your own code
<shevy> like via buddy.name
<shevy> the object that you pass in responds to .name
<chignon> @shevy yeah...I have to
ghr has quit [Ping timeout: 240 seconds]
<shevy> same with @what_animal
<shevy> Dog = Animal.new; Dog.what_animal = "Dog"
roshanavand has joined #ruby
<chignon> @shevy but @breed = personality ? that's only in my 2nd script
<shevy> well
<shevy> why do you redefine class Dog anyway
<shevy> where did you even get the Dog = Foo.new part
Rodya_ has joined #ruby
<shevy> see good oldschool tutorials
<shevy> "Creating Classes"
<toretore> chignon: the code you're working with is very poor quality, if you're getting it directly from some book or tutorial you should stop following it
M4dH4TT3r has joined #ruby
<shevy> output I get is:
<shevy> Adam is a Dog.
<shevy> Adam has a tabby personality.
M4dH4TT3r is now known as Guest51731
<chignon> @toretore ... that code is my own brew if u will. I was p[layign around with code
ghr has joined #ruby
<toretore> chignon: then you're a few steps ahead of what you should be doing. understand the basics first
<shevy> but you really really should not redefine the classes you wrote prior to that. there is no need to use Dog = Dog.new as opposed to dog = Dog.new; or better, use the example code I showed above adam = Dog.new('Adam', 'alpha')
roshanavand has quit [Quit: This computer has gone to sleep]
<toretore> just because you've used similar concepts in other languages doesn't mean you can just skip ahead and assume ruby works the same
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
karapetyan has quit [Remote host closed the connection]
<skweek> you should probably tell him why ruby is such a beautiful language
<chignon> @shevy ok that is easily more simple, and faster! @toretore yes I do tend to jump a bit...but that's what makes this stuff awesome!!!
roshanavand has joined #ruby
roamingdog has joined #ruby
<chignon> thx for that help guys!!! @shevy ,etc
chouhoulis has joined #ruby
Sashimi has joined #ruby
saneax is now known as saneax_AFK
spudowiar is now known as noslen
spider-mario has quit [Remote host closed the connection]
noslen is now known as spudowiar
<shevy> \o/
pontiki has quit [Quit: Lost terminal]
roshanavand has quit [Client Quit]
dennisvennink has joined #ruby
<shevy> I am semi-multitasking... reading https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ again ... I did not remember that @fopen('http://example.com/not-existing-file', 'r'); can mean multiple different things in the end (to determine whether to report an error or whether to not) in php
nankyokusei has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
chignon has quit [Quit: Page closed]
<shevy> so perhaps I was wrong! PHP is also complex... all the programming languages appear to be, at the least internally :(
CausaMortis has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
zenlot has joined #ruby
CausaMortis has joined #ruby
LoneHermit has joined #ruby
zenlot6 has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
<wsmoak> I've done `bundler gem --test=rspec currency_utils` to set up the project structure, and added a class inside the module it generated. I'm having trouble exercising the code in irb. uninitialized constant -- it's not loaded.
<wsmoak> am I missing some config that makes this Just Work?
akira616 has quit [Ping timeout: 250 seconds]
johnmilton has quit [Ping timeout: 244 seconds]
<toretore> wsmoak: what makes you think it should "just work"? and what exactly does "just work" mean in this case?
LoneHermit has quit [Ping timeout: 250 seconds]
<wsmoak> I would like the code I've written (under 'lib') to be loaded when I enter irb so that I can exercise it. what is the usual development process for this?
firstdayonthejob has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
coffeecupp has joined #ruby
ghr has joined #ruby
<wsmoak> I'm pretty sure I can build the gem, install it, and require that... but that's a long process for manual experimentation on changes.
allstar has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<toretore> wsmoak: do you understand how loading files in ruby works?
pawnbox has quit [Ping timeout: 272 seconds]
<toretore> there is no such thing as "requiring a gem"
<toretore> you require files; ruby searches for those files in a list of directories, the load path
Xeago__ has quit [Remote host closed the connection]
<wsmoak> I have a tentative grasp of 'require' and LOAD_PATH, yes
<toretore> ok, so you have a directory from which you'd like to load some files
<toretore> these files must then be in the load path
jottr has quit [Ping timeout: 246 seconds]
blackgoat has joined #ruby
hck89 has joined #ruby
<wsmoak> http://www.justinweiss.com/articles/how-do-gems-work/ implies rubygems is adding some magic that I am probably conflating with plain old ruby
<toretore> yes, but you're not dealing with a gem, you just want to load a file
cd-rum has joined #ruby
scottschecter has quit [Remote host closed the connection]
zacstewart has joined #ruby
roshanavand has joined #ruby
chouhoulis has quit [Remote host closed the connection]
scottschecter has joined #ruby
<wsmoak> the project itself is a gem. If I try to `load 'lib/currency_utils.rb'`in irb , it chokes on the `require "currency_utils/version"`that was generated.
<toretore> it's not a gem until you package it up as a gem
<toretore> you just have a bunch of files at this point
ghr has quit [Ping timeout: 240 seconds]
<wsmoak> correct. how do gem developers deal with this? I'm sure this is a solved problem...
<toretore> it's not a problem, and it has nothing to do with gems
<toretore> forget about the gems
Madplatypus has quit [Quit: Connection closed for inactivity]
freerobby has joined #ruby
<toretore> you have: some files, in some directories; you want: to load these files; ruby has `load` and `require` which searches for files in the load path
<toretore> what's the missing link?
programm1 has quit [Quit: WeeChat 1.5]
<shevy> wsmoak I personally use a much simpler way
programmerq has joined #ruby
<shevy> wsmoak I use the old setup.rb to "install" an updated gem
jon_ has joined #ruby
rikkipitt has quit [Remote host closed the connection]
<shevy> usually the only time when I build a .gem file is when I publish to rubygems.org
pawnbox has joined #ruby
<shevy> https://github.com/rubyworks/setup explains this a bit
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vifino has quit [Quit: Who turned this off?! D:<]
cd-rum_ has joined #ruby
<shevy> my alias for using setup.rb is "r2" so I just go to the directory where the gem or .gemspec is, use r2 and te latest code is installed; I may have to sometimes remove the old directory from ruby SITE_DIR or whatever the name was but this is rare and I could also automate this
cd-rum has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
m4221|phone has joined #ruby
Schalla has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
<m4221|phone> Hey guys, I need help
<wsmoak> so pasting the stuff from the generated .gemspec into irb makes it work. (puts `lib` on the loadpath).
jottr_ has joined #ruby
xall has joined #ruby
<m4221|phone> Guys?
tristanp has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikespears has joined #ruby
<wsmoak> going to see if .irbconfig is a thing so this can happen augomagically...
pawnbox has quit [Ping timeout: 276 seconds]
jottr__ has joined #ruby
spudowiar is now known as sleepytime
sleepytime is now known as spudowiat
<wsmoak> toretore: thanks for the help!
spudowiat is now known as spudowiar
Mimorial has quit [Ping timeout: 250 seconds]
<mikespears> is there a manpage for ruby?
<toretore> did you try?
bogusdisk has joined #ruby
<m4221|phone> What is ruby? A gem?
<m4221|phone> Guys?
<mikespears> I think it's a man
<mikespears> lol
roamingdog has quit [Remote host closed the connection]
<m4221|phone> mikespears: on railroad tracks
freerobby has quit [Quit: Leaving.]
jottr__ has quit [Client Quit]
roshanavand has quit [Quit: This computer has gone to sleep]
moeabdol has joined #ruby
<toretore> wsmoak: ok, so i'm going to spoon feed you because what you're doing is stupid and wrong.. all you have to do is make sure the files you want to require are in the load path. both ruby and irb have an -I argument which adds directories to the load path. thus all you have to do is `irb -I lib`
jottr_ has quit [Ping timeout: 244 seconds]
xall has quit [Ping timeout: 272 seconds]
<mikespears> DICKS!
<m4221|phone> toretore: stop being a condescending fuck
<toretore> !ops
<ruby[bot]> toretore: ops currently in #ruby: adaedra, aredridel, havenwood, Radar, apeiros, banisterfiend, baweaver, drbrain, jhass, miah, ruby[bot], zenspider and zzak___
CausaMortis has quit [Ping timeout: 258 seconds]
<toretore> wsmoak: and require('currency_utils') will work because your "lib" is in the load path
<spudowiar> m4221|phone: please do not call one another a fuck
ruby_newbie has joined #ruby
<mikespears> fuck fuck fuck fuck
<mikespears> fuck
<mikespears> shit
<mikespears> piss
<m4221|phone> spudowiar: I'm just telling the truth
kavanagh has quit [Quit: That's all folks!]
<spudowiar> mikespears: I didn't say don't use the fucking word fuck :)
<spudowiar> m4221|phone: you are a fuck.
<spudowiar> now I hurt your feelings
<spudowiar> see?
<spudowiar> :P
<mikespears> spudowiar is a fucking fucker
<spudowiar> mikespears: see, that's a different thing
<mikespears> I bet he plays with spuds
<spudowiar> mikespears is a fuck
<mikespears> lol
<spudowiar> mikespears: that hurt your feelings, right?
<wsmoak> toretore: actually what I am doing is _learning_. with your hints I learned that lib needed to be on the load path, and got it to work. now I am investigating how to make that happen the _correct_ way, (thanks for the tip!) and then how to automate it.
<mikespears> nah because I'm not a little SJW faggot
<mikespears> :)
coffeecupp has quit [Ping timeout: 246 seconds]
<spudowiar> mikespears: what is SJW?
<spudowiar> oh
mikespears has left #ruby [#ruby]
mikespears has joined #ruby
<spudowiar> oh dear
<spudowiar> what a fuck
<spudowiar> lol
<mikespears> I know you are
<spudowiar> the things that have been said
torandu has joined #ruby
<m4221|phone> spudowiar: toretore felt the need to summon the ops because I spoke the truth of what he was doing
agit0 has quit [Read error: Connection reset by peer]
<mikespears> alright, I've been trolling for a few minutes now, and nothing's happened, I'm bored now
<mikespears> see ya
mikespears has left #ruby [#ruby]
<spudowiar> m4221|phone: please refrain from being a fuck
moeabdol has quit [Ping timeout: 240 seconds]
<m4221|phone> spudowiar: toretore was doing that
<spudowiar> m4221|phone: please refrain from being a fuck
m4221|phone has left #ruby ["Leaving"]
Dimik-- has quit [Ping timeout: 244 seconds]
Schalla has quit [Quit: Leaving]
<shevy> they just don't have any patience
k4ppa123 has joined #ruby
<k4ppa123> Faggots
<k4ppa123> Oh shit wrong channel
<k4ppa123> I thought I was in #gays
<shevy> AndChatter eh
fujinuma has quit [Quit: WeeChat 1.5]
<k4ppa123> Ya bro
<k4ppa123> Fite me irl a
<shevy> I guess the format of it does not lend well to oldschool IRC
ghr has quit [Ping timeout: 240 seconds]
<k4ppa123> Only cool kids use irssi ?
Madplatypus has joined #ruby
coffeecupp has joined #ruby
roamingdog has joined #ruby
m4221|phone has joined #ruby
ghr has joined #ruby
<m4221|phone> Guys, can I find gems here? :P
arescorpio has joined #ruby
<k4ppa123> Not if it black
<k4ppa123> Ur *
<k4ppa123> cOPs will shot u
<m4221|phone> !mods
<m4221|phone> .mods
<havenwood> !ban k4ppa123
k4ppa123 was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
<m4221|phone> havenwood: must you be so heavy handed?
<m4221|phone> shevy: he was not being racist
<havenwood> !troll mikespears
flashpoint9 has joined #ruby
<shevy> m4221|phone gems http://guides.rubygems.org/
<m4221|phone> shevy: he was only suggesting a gem color
<shevy> m4221|phone you
<shevy> m4221|phone> What is ruby? A gem?
<shevy> <m4221|phone> Guys?
<postapocallyptic> class names in ruby must start with a Caps? or mustn't have _ in them?
karapetyan has joined #ruby
<m4221|phone> Oooooh, I forgot to be gender neutral
<m4221|phone> shevy^
<shevy> postapocallyptic only first character
ghr has quit [Ping timeout: 240 seconds]
<postapocallyptic> yeah no one made that clear to me heh , and it said I had to make sure the name is a CONSTANT
<postapocallyptic> ok
<toretore> postapocallyptic: class names are constants, and follow naming rules for constants
<postapocallyptic> i see
<m4221|phone> havenwood: your moderator tactics are that of a dictator
<postapocallyptic> i thought ruby wasn't case sensative
<toretore> conventionally, class names use SnakeCase and other constants use SCREAMING_SNAKE_CASE
<havenwood> postapocallyptic: Yup, a constant so starting with a capital letter. You *can* have an underscore but by strong convention classes and modules should be camel case.
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> _ is valid, so you can have class Foo_Bar or class FooBar but people tend to avoid the _ there
roshanavand has joined #ruby
m4221|phone has left #ruby ["Leaving"]
<havenwood> toretore: I think you mean CamelCase. :)
<shevy> class _Foo would be invalid :)
<toretore> or CamelCase, i forget my variable naming names
<havenwood> m4221|phone: If you'd like to discuss non-ruby issues please join #ruby-offtopic or #ruby-community. Please no trolling.
<shevy> but not camelCase!
<havenwood> shevy: headlessCamels are an abomination! ;)
<shevy> hah
karapetyan has quit [Ping timeout: 244 seconds]
<shevy> or snakes with a hump
tristanp has quit [Remote host closed the connection]
ghr has joined #ruby
leea has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
vifino has joined #ruby
JeanCarloMachado has joined #ruby
spiette has quit [Ping timeout: 252 seconds]
<postapocallyptic> and now I make a new class and I want to declare a member of type Array. do I do attr_accessor :names=Array.new
<postapocallyptic> or @names=Array.new
<shevy> postapocallyptic second variant
<shevy> though [] is less to type than Array.new
<postapocallyptic> ok
execat has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<toretore> postapocallyptic: you don't declare types in ruby
vanvemden has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
ghr has quit [Ping timeout: 240 seconds]
vifino has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
Rodya_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 246 seconds]
vanvemden has quit [Ping timeout: 246 seconds]
spiette has joined #ruby
sumobob has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
vifino has joined #ruby
LoneHermit has joined #ruby
vanvemden has joined #ruby
sumobob has quit [Client Quit]
sumobob has joined #ruby
m4221|phone has joined #ruby
<m4221|phone> Can I get a dark ruby?
tristanp has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Xeago_ has joined #ruby
ghr has joined #ruby
skweek has quit [Read error: Connection reset by peer]
m4221|phone has left #ruby ["Leaving"]
Guest51731 has quit [Read error: Connection reset by peer]
yqt has quit [Ping timeout: 258 seconds]
Guest51731 has joined #ruby
sumobob has quit [Remote host closed the connection]
koooge has joined #ruby
<postapocallyptic> ok. then I'm using line.split(",") which gives me an array of two separete words. ["word1","word2"] is ther a better way to access each then (line.split(",")).at(1) to assign them to a variable ?
akira616 has joined #ruby
<postapocallyptic> than*
coffeecupp has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
vanvemden has quit [Remote host closed the connection]
<toretore> postapocallyptic: elaborate
vanvemden has joined #ruby
<toretore> postapocallyptic: you can destructure an array when assigning with `a, b = *[1, 2]`
<postapocallyptic> line = "1.2.3.4.5:1000"; port=(line.split(":")).at(1); ip=(line.split(":")).at(0);
wnd has quit [Excess Flood]
<postapocallyptic> ok
execat has joined #ruby
wnd has joined #ruby
<postapocallyptic> so ip,port= line.split(":")
spudowiar has quit [Quit: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz]
<postapocallyptic> cool
ramfjord has joined #ruby
vanvemden has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
yfeldblum has quit [Remote host closed the connection]
coffeecupp has joined #ruby
Rodya_ has quit [Read error: No route to host]
Rodya_ has joined #ruby
execat_ has joined #ruby
execat has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
hutch34 has quit [Quit: WeeChat 1.5]