havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 3.0.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
chouhoulis has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
drincruz has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
pothibo has joined #ruby
bradleyprice has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
bradleyprice has joined #ruby
pothibo has quit [Quit: Connection closed]
mikecmpbll has joined #ruby
cloud69 is now known as cloud420
chouhoulis has joined #ruby
cuerbot has quit [Read error: Connection reset by peer]
bradleyprice has quit [Ping timeout: 244 seconds]
elcuervo has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
adu has joined #ruby
impermanence has quit [Ping timeout: 256 seconds]
drincruz has quit [Ping timeout: 264 seconds]
FrankD has joined #ruby
ur5us has joined #ruby
<havenwood> I feel compelled to show an open-uri example since ioquatix showed net-http :
<havenwood> Clumsy fingers.
<havenwood> Chain off `end` or add local variables?
mistergibson has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
<havenwood> I feel like proposing a block form for Async::Barrier. It's a one liner to add. Hem.
mistergibson has quit [Remote host closed the connection]
Rudd0 has quit [Remote host closed the connection]
leitz has quit [Quit: Leaving]
adu has quit [Quit: adu]
drincruz has joined #ruby
cloud420 is now known as cloud69699999
cloud69699999 is now known as cloud6ix9ine
adu has joined #ruby
bradleyprice has joined #ruby
ap4y has quit [Quit: WeeChat 2.9]
drincruz has quit [Ping timeout: 272 seconds]
ap4y has joined #ruby
gix has quit [Ping timeout: 260 seconds]
GankMove has quit [Read error: Connection reset by peer]
<uplime> havenwood: is there a good doc/tutorial/article on async?
<havenwood> uplime: This is the closest I know of: https://www.codeotaku.com/en/journal/2018-06/asynchronous-ruby/indexa
alfiemax has joined #ruby
<havenwood> Hah, baby Andromeda is really messing up my typing today
<havenwood> She's hitting more keys than me
<havenwood> So many backspaces
<uplime> lol thanks
alfiemax has quit [Ping timeout: 240 seconds]
<adam12> It's crazy that Ruby 2.3 still makes up 40% of traffic to Rubygems.
<adam12> I wonder how much of that is CI traffic.
<uplime> pretty sure some of the servers at work use 2.3
<adam12> I definitely ran it up until a few months ago. Just surprised at the percentage of it. Figured it would of dwindled off some.
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
kristian_on_linu has quit [Remote host closed the connection]
wallace_mu has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 265 seconds]
wallace_mu has joined #ruby
wallace_mu has quit [Ping timeout: 256 seconds]
adu has quit [Quit: adu]
zacts has joined #ruby
_whitelogger has joined #ruby
adu has joined #ruby
cd has quit [Quit: cd]
drincruz has joined #ruby
Rudd0 has joined #ruby
drincruz has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 244 seconds]
powerhouse has quit [Remote host closed the connection]
alfiemax has joined #ruby
evdubs_ is now known as evdubs
ramfjord has joined #ruby
alfiemax has quit [Remote host closed the connection]
cthulchu_ has quit [Ping timeout: 240 seconds]
ap4y has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
regedit has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 272 seconds]
neozor has joined #ruby
TvL2386 has quit [Ping timeout: 264 seconds]
neozor has quit [Ping timeout: 272 seconds]
wallace_mu has joined #ruby
bocaneri has joined #ruby
wallace_mu has quit [Ping timeout: 240 seconds]
powerhouse has joined #ruby
SeepingN has joined #ruby
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
bocaneri has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 258 seconds]
mikecmpbll has joined #ruby
xco has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
adu has quit [Quit: adu]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 244 seconds]
ap4y has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
n4o847 has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
cnsvc has quit [Quit: WeeChat 2.9]
alfiemax has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
bradleyprice has joined #ruby
hiroaki has quit [Ping timeout: 258 seconds]
zacts has quit [Ping timeout: 265 seconds]
bradleyprice has quit [Ping timeout: 244 seconds]
dfucci has joined #ruby
lightstalker has quit [Ping timeout: 240 seconds]
SeepingN has quit [Ping timeout: 240 seconds]
bradleyprice has joined #ruby
lightstalker has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
Liothen has quit [Ping timeout: 244 seconds]
Liothen has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
cognemo has quit [*.net *.split]
entel has quit [*.net *.split]
jnoon has quit [*.net *.split]
graphicsv has quit [*.net *.split]
Chew has quit [*.net *.split]
rann has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
kermit has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
zapata has quit [*.net *.split]
Rush has quit [*.net *.split]
Tuor has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
spectra has quit [*.net *.split]
Arkantos has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
Arkantos has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
alfiemax has joined #ruby
mikecmpbll has joined #ruby
BSaboia has joined #ruby
bradleyprice has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
xco has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
burgestrand has joined #ruby
supercoven has joined #ruby
wallace_mu has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallace_mu has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby
xco has joined #ruby
fercell has joined #ruby
akem_ has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
neozor has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
bradleyprice has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
burgestrand has quit [Quit: burgestrand]
burgestrand has joined #ruby
dfucci has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
bradleyprice has joined #ruby
Rush has joined #ruby
jnoon has joined #ruby
cognemo has joined #ruby
entel has joined #ruby
Fire-Dragon-DoL has joined #ruby
spectra has joined #ruby
Tuor has joined #ruby
zapata has joined #ruby
KnownSyntax has joined #ruby
rann has joined #ruby
Kilo`byte has joined #ruby
Chew has joined #ruby
kermit has joined #ruby
graphicsv has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
bradleyprice has quit [Ping timeout: 260 seconds]
phage has joined #ruby
KnownSyntax has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
graphicsv has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
KnownSyntax has joined #ruby
graphicsv has joined #ruby
n4o847 has left #ruby [#ruby]
alfiemax has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
entel has quit [*.net *.split]
cognemo has quit [*.net *.split]
jnoon has quit [*.net *.split]
rann has quit [*.net *.split]
kermit has quit [*.net *.split]
Chew has quit [*.net *.split]
Tuor has quit [*.net *.split]
zapata has quit [*.net *.split]
Rush has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
spectra has quit [*.net *.split]
Takumo has joined #ruby
bradleyprice has joined #ruby
entel has joined #ruby
zapata has joined #ruby
Rush has joined #ruby
cognemo has joined #ruby
spectra has joined #ruby
Tuor has joined #ruby
Kilo`byte has joined #ruby
jnoon has joined #ruby
rann has joined #ruby
Chew has joined #ruby
kermit has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 260 seconds]
xMopx has quit [Ping timeout: 246 seconds]
rann has quit [Ping timeout: 244 seconds]
rann has joined #ruby
tekk has quit [Ping timeout: 240 seconds]
xMopx has joined #ruby
alfiemax has quit [Remote host closed the connection]
tekk has joined #ruby
alfiemax has joined #ruby
wallace_mu has joined #ruby
akem has joined #ruby
wallace_mu has quit [Ping timeout: 260 seconds]
fercell has quit [Ping timeout: 240 seconds]
infinityfye has joined #ruby
dionysus69 has joined #ruby
wallace_mu has joined #ruby
leitz has joined #ruby
<EdwardIII> hey, i've been using ruby for a couple of years, so i'd say i'm "intermediate". interested in picking up a book that can maybe up my game a bit? Ruby Best Practices looks pretty good but in the free sample it says it's based on ruby 1.9 which is olllld. is it still good? is something else more appropriate?
wallace_mu has quit [Ping timeout: 264 seconds]
imode has quit [Ping timeout: 240 seconds]
wallace_mu has joined #ruby
rippa has joined #ruby
wallace_mu has quit [Ping timeout: 272 seconds]
phage has quit [Quit: Textual IRC Client: www.textualapp.com]
akem has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
wallace_mu has joined #ruby
<neozor> Practical Object oriented design by sandy metz helped me a lot, it is aimed for beginners but you can still learn a lot from it, i think even more if you have been working with the language for some time
wallace_mu has quit [Ping timeout: 256 seconds]
<EdwardIII> neozor: thanks for the suggestion! i've read object thinking and sandi metz' bottles of oop book, so i feel fairly comfortable in that space, but will defo check out the preview
DTZUZU has quit [Read error: Connection reset by peer]
<neozor> No problem! I find it very helpful in terms of understanding the design choices made around some of the most popular gems and by consequence, getting a better grip on the ruby way
DTZUZU has joined #ruby
ellcs1 has joined #ruby
<leitz> EdwardIII, how are you at programming overall? Different books will be useful to you based on your skills.
<leitz> EdwardIII, for example, "Effective Testing with RSPec3" not only explains RSPec, but uses a website (Sinatra) and Sequel (a DB connection gem). It helped me learn things that I didn't "get" in isolation.
<EdwardIII> leitz: well, i make production apps which are flexible to change and feel much less buggy than they used to be, i also provide guidance for other team members in this area, and across a range of languages. but you don't know what you don't know, right? :)
<leitz> EdwardIII, then you're more skilled than I am! I'd suggest the RSpec book if you want to do application testing, and either "Metaprogramming Ruby" if you want to go esoteric, or "Ruby under a microscope" if you want to go deep.
wallace_mu has joined #ruby
<leitz> I'm actually working on updates to the book list as we type. :)
<leitz> EdwardIII, hmmm "Mastering Ruby Closures" if you don't get those yet, or "Ruby Performance Optimization" if you need that sort of thing.
<EdwardIII> heh a whole book on closures? that is actually something i'm interested to see
<leitz> It's not a big book, but your background says you'd "get" it.
zacts has joined #ruby
<leitz> Oh, drat. It's out of print.
<EdwardIII> looks great. i have a free 20 day trial on o'reily, could probably blast it out in that time
<leitz> Definitely.
ropeney_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
<EdwardIII> thinking about it i probably couldn't explain the difference between a proc and a lambda, so this is something i should bone up on
<leitz> For the most part, Ruby 1.9 books are 2.0 compatible. Ruby 3 will probably get released Christmas day, and it should be 2.x compatible.
<leitz> I think you've found your next joy. ;)
<EdwardIII> :D you mentioned a reading list. is that on github or something?
<leitz> We're moving to the books section of: https://ruby-community.com/pages/links
<leitz> Some more here: https://goo.gl/wpGhoQ
<leitz> The goal is to expand the Ruby-community.com page.
<EdwardIII> cool stuff
<leitz> I have a lot of the books, mostly because I like books. Feel free to ping me with questions.
<EdwardIII> somewhat OT but have you read TAOCP? as you seem to be a bit of a reader
<leitz> I've read TPOP and The Pragmatic Programmer. Both are due for a re-read. Not sure I know what TAOCP is.
<EdwardIII> leitz: The Art of Computer Programming
<leitz> Ah, Knuth. I'm not strong in Maths; very much a pragmatic sort. Came from being a Linux sysadmin and am mostly self-taught.
wallace_mu has quit [Ping timeout: 240 seconds]
<EdwardIII> very much the same
<neozor> That's very helpful!
<leitz> My next big "deep dive" is "Understanding Computation". I'll probably have to do side-trips to math books to get it, but I'm trying to build my skills.
<leitz> What I'm more excited about is using RSpect as I learn website back end stuff. I've done DB connectivity and basic web stuff, but am using the plan for a game to push me to learn more.
<leitz> RSpect/RSpec
wallace_mu has joined #ruby
Caius has quit [Ping timeout: 258 seconds]
Caius has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
Papa has quit [Ping timeout: 258 seconds]
<neozor> That's what I'm doing, i need to have some kind project for me to understand the concepts
Papa has joined #ruby
<leitz> neozor, where are you in your sruby kills/career?
<neozor> Buti struggle between having a time to learn and the job itself
<leitz> sruby/Ruby, I was trying to kiss my wife and type at the same time...
<leitz> neozor, I really understand that struggle! My "two years to learn" took two decades.
TCZ has joined #ruby
alfiemax has quit [Remote host closed the connection]
wallace_mu has quit [Ping timeout: 240 seconds]
<neozor> I have an intermediate level of ruby, i started with rails that took a lot of responsibility under the hood
<neozor> but i'm starting to modularize everything a little bit better around ebery service
<neozor> every*
<leitz> neozor, are you doing Test Driven Development? (TDD)
cd has joined #ruby
<neozor> Yes, but there were a lot of features that did not follow that pattern before
<leitz> TDD really helped me clarify my thinking. Have you done the Ruby Koans? It sounds like you're there or a little past that stage.
<neozor> What is the ruby koans?
wallace_mu has joined #ruby
ropeney has joined #ruby
<leitz> You work on basic Ruby by way of unit testing.
<leitz> It sounds like you have the basics, going through the Koans might affirm that you know more than you think you do, and highlight any areas you need to practice more.
c1c1d1cd177__7_7 has joined #ruby
c1c1d1cd177__7_7 has quit [Client Quit]
c1c1d1cd177__7_7 has joined #ruby
<EdwardIII> leitz: which game engine are you going to use? i did a tiny bit with dragonruby (my bro is more heavily involved in it)
c1c1d1cd177__7_7 has quit [Client Quit]
<leitz> EdwardIII, I'm on the other end of the spectrum, just doing a web based merchant game. If you've ever done role-playing games, like Traveller, it replaces the tabletop game.
<leitz> EdwardIII, I haven't gotten far, mostly because I keep trying to do boring things like update my resume and go to work. :)
<EdwardIII> ah ok cool :)
<EdwardIII> what work do you do? ruby-based?
<leitz> I wish. Perl.
wallace_mu has quit [Ping timeout: 260 seconds]
<EdwardIII> heh cool. i used to be a bit in the perl community many years ago, some really really smart people there
<leitz> I use Ruby to learn the other topics I don't know well. Perl is a great language, but Ruby fits my brain a lot better, and I get more done with it.
<EdwardIII> do you use Moose?
<leitz> Mo.
<leitz> Trying to switch to Moo, but I need more tests.
<EdwardIII> cool. there was often a lot of talk of Moose/CLOS/ruby etc back in the day. comparisons between that and other object systems. was super interesting
wallace_mu has joined #ruby
<leitz> I've chatted with the Moo author, and he's both helpful and super-smart. For me it boils down to being able to think in the language so that I can get stuff done. Otherwise I'm thinking *about* the language and not getting as much done.
<EdwardIII> yes, i find ruby is good for that
<EdwardIII> it feels organic to me
<leitz> EdwardIII, since I don't have a comp-sci background I'm trying to learn the things I missed. My focus is on building working stuff more than high performance or large scale. The more I do means the more I learn, and then can do more.
<EdwardIII> sounds like a good plan
<EdwardIII> focusing on high perf or trying to build an infra structure to support 1mil visitors per hour is the downfall of many projects :)
ruurd has quit [Read error: Connection reset by peer]
<neozor> leitz, thanks for your input
<neozor> How do i mention in IRC?
ruurd has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ruurd has quit [Quit: bye folks]
weego has quit [Ping timeout: 272 seconds]
weego has joined #ruby
<nakilon> Just write nickname, and there is tab autocompletion
wallace_mu has quit [Read error: Connection timed out]
<leitz> neozor, happy to help. Lots of people here have helped me.
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
<neozor> nakilon: thanks
BSaboia has joined #ruby
<leitz> I have to bail, see you all later.
leitz is now known as leitz_afk
ap4y has quit [Ping timeout: 256 seconds]
wallace_mu has joined #ruby
wallace_mu has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
wallace_mu has joined #ruby
dualfade has quit [Ping timeout: 260 seconds]
dualfade has joined #ruby
ellcs1 has quit [Ping timeout: 240 seconds]
wallace_mu has quit [Ping timeout: 256 seconds]
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
dualfade has quit [Quit: leaving]
dualfade has joined #ruby
dualfade has quit [Client Quit]
dualfade has joined #ruby
dualfade has quit [Client Quit]
dualfade has joined #ruby
wallace_mu has joined #ruby
wallace_mu has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
wallace_mu has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
fercell has quit [Ping timeout: 240 seconds]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
fercell has joined #ruby
fercell has quit [Quit: WeeChat 2.9]
Rudd0 has quit [Ping timeout: 240 seconds]
bradleyprice has joined #ruby
gray-_-wolf has joined #ruby
ruurd has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
ChmEarl has joined #ruby
dfucci_ has quit [Ping timeout: 240 seconds]
bradleyprice has joined #ruby
brunosaboia_ has joined #ruby
vondruch has joined #ruby
alexherbo2 has joined #ruby
BSaboia has quit [Ping timeout: 256 seconds]
brunosaboia_ has quit [Client Quit]
dfucci has joined #ruby
alfiemax has joined #ruby
bradleyprice has quit [Remote host closed the connection]
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
turova has joined #ruby
turova has quit [Client Quit]
akem has joined #ruby
dfucci has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
dfucci_ has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
SeepingN has joined #ruby
howdoi has joined #ruby
Silox|_ has joined #ruby
neozor has quit [Remote host closed the connection]
burgestrand has quit [Quit: burgestrand]
neozor has joined #ruby
bradleyprice has joined #ruby
neozor has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Ping timeout: 260 seconds]
drincruz has joined #ruby
akem has quit [Quit: Leaving]
bradleyprice has joined #ruby
Pyrophilia has quit [Ping timeout: 260 seconds]
cthulchu_ has joined #ruby
zacts has quit [Quit: leaving]
zacts has joined #ruby
chouhoulis has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 272 seconds]
drincruz has joined #ruby
TvL2386 has joined #ruby
imode has joined #ruby
Rudd0 has joined #ruby
dfucci has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
akem has joined #ruby
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
ellcs1 has joined #ruby
vondruch has quit [Ping timeout: 265 seconds]
drincruz has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
ellcs1 has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 258 seconds]
rippa has joined #ruby
leitz_afk is now known as leitz
Silox|_ has quit [Quit: Connection closed for inactivity]
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu_ has joined #ruby
sarmiena_ has joined #ruby
zacts has quit [Quit: leaving]
dfucci_ has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
supercoven has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
dfucci_ has quit [Ping timeout: 256 seconds]
reyfi9e has joined #ruby
sarmiena_ has quit [Remote host closed the connection]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
sarmiena_ has joined #ruby
ellcs1 has joined #ruby
<sarmiena_> I'm trying to (in process) try to figure out how much memory a ruby process is taking. Currently using GC.stat[:heap_length], but assuming this isn't going to give me everything, is it?
gix has joined #ruby
<leitz> Y'all, we have a serious issue. Several of the PragProg Ruby books are old, and not even on their site.
<adam12> sarmiena_: There's a gem that can look at the process using `ps`. Let me see if I can find it.
Pyrophilia has joined #ruby
<sarmiena_> not quite what i'm trying to do, actually adam12. I am wanting to see the growth of the process during its lifecycle
<sarmiena_> so if i can see what the size is, I can get the delta on the next stat gathering event
<adam12> sarmiena_: Ah. OK. I think there's maybe a way to go through ObjectSpace but the method is eluding me right now. Let me think on it.
<sarmiena_> cool
<sarmiena_> ty
flak has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
aldcor has joined #ruby
<aldcor> hi! trying to install colorls via ruby/gem and got this error https://0x0.st/iU7l.txt
<adam12> aldcor: You're likely missing the development bits for your ruby package. What distro?
bradleyprice has joined #ruby
dhollinger has quit [Quit: WeeChat 2.3]
<adam12> sarmiena_: Can you go through ObjectSize.memsize_of_all?
elcuervo has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Ping timeout: 240 seconds]
<sarmiena_> adam12 probably... but looks like my version of ruby doesn't support it or something. we are trying to upgrade... and this is part of the process. ack
<sarmiena_> currently on 2.1.1
dhollinger has joined #ruby
cognemo has quit [*.net *.split]
entel has quit [*.net *.split]
jnoon has quit [*.net *.split]
Chew has quit [*.net *.split]
kermit has quit [*.net *.split]
spectra has quit [*.net *.split]
Tuor has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
zapata has quit [*.net *.split]
Rush has quit [*.net *.split]
<adam12> sarmiena_: I think it exists, but you might need to require `objspace`
<adam12> sarmiena_: Also, my condolences on the old version of Ruby :)
<sarmiena_> hahah indeed
elcuervo has joined #ruby
Iarfen has joined #ruby
Tuor has joined #ruby
<sarmiena_> irb(main):003:0> ObjectSpace.methods - Object.methods=> [:_id2ref, :count_objects, :define_finalizer, :each_object, :garbage_collect, :singleton_class?, :undefine_finalizer]
<sarmiena_> very weird
<sarmiena_> actually nvm. figured it out.
<adam12> sarmiena_: That's after requiring `objspace`? I was just going by 2.1 docs for method availability. https://docs.ruby-lang.org/en/2.1.0/ObjectSpace.html#method-c-memsize_of_all
<sarmiena_> i did something stupid haha
<adam12> Ah good.
<sarmiena_> yeah so i did... but then i copied your suggestion above, which was ObjectSize (not ObjectSpace)
<sarmiena_> then i restarted, but didn't require again
<adam12> Ohh. So it was my fault actually.
<adam12> I wonder how I mucked that up. Thinking one thing and fingers doing their own thing.
<sarmiena_> the require was the fix though. so thanks for that!
<aldcor> adam12: voidlinux
<aldcor> i will check what's on repos
<aldcor> oh, many many things
<adam12> aldcor: Maybe ruby-devel will be what you need?
<adam12> leitz: I wonder if they gave up after trying to keep Pickaxe book current. Or they couldn't get as much money out of the Ruby crowd as they can the newly minted Elixir crowd.
hiroaki has joined #ruby
<aldcor> oh, i solved it other way
<aldcor> but thanks adam12
<adam12> aldcor: yw
<leitz> adam12, I had a nice e-mail chat with Dave Thomas about the Pickaxe. Neither of us was sure the market is there, but I'm hoping.
<leitz> ruby_community.com maintainers, did a pull request for updates on the book section. I don't know how to test the page, besides checking the URLs.
<leitz> I broke them into sections, something like what baweaver did.
aldcor has left #ruby ["WeeChat 2.3"]
<leitz> On that note, it's time for a nap.
<adam12> leitz: IMHO, the Pickaxe served it's purpose but likely wouldn't make sense any more. I'd rather see more advanced books, like the metaprogramming one, or Ruby Under a Microscope (neither in print anymore).
<adam12> leitz: I think some of the books on Leanpub should be investigated. Some of Radar's stuff maybe (like Exploding Rails), if it's not already.
<leitz> adam12, I disagree. Learning to program at a basic level is rapidly becoming a first world job requirement. I love the Pickaxe, I can learn the basics and then read the deep stuff too.
<adam12> leitz: Did you find it useful? It just seemed like a huge, out of date reference to me. I haven't looked at it since like 2006 tho.
<leitz> The O'Reilly book assumes you know how to program already, and most of the others, except for Head First, take a long time to get anywhere.
<leitz> adam12, I found it very useful. Granted, I'm a bit slow sometimes, so there is that. But if I win the lottery then we're getting a new Pickaxe.
<adam12> leitz: Woo!
<adam12> leitz: Maybe Ruby 3 will warrant a new book for Ruby 3'isms.
<leitz> That was my point to Dave. But with PragProg dropping titles, I'm not sure how much traction Ruby has with them anymore.
<leitz> Okay, nappy time...
BSaboia has joined #ruby
dualfade_ has joined #ruby
dualfade has quit [Ping timeout: 258 seconds]
<rapha> oh, there's going to be a new pickaxe i hear? :D
<adam12> O_o
<rapha> i did hear you adam12
<rapha> but it's sad that it's never coming out of the shelf anymore
<adam12> I got my Poignant guide a few weeks ago from Alt:Brighton. Who needs anything else :P
<sarmiena_> just had one of my guys learn from pickaxe. I always say it gets you 80-85% of the way there
<sarmiena_> the rest is experience
bradleyprice has joined #ruby
entel has joined #ruby
kermit has joined #ruby
cognemo has joined #ruby
jnoon has joined #ruby
zapata has joined #ruby
Chew has joined #ruby
Rush has joined #ruby
Kilo`byte has joined #ruby
spectra has joined #ruby
whoisxy has joined #ruby
bradleyprice has quit [Ping timeout: 244 seconds]
infinityfye has quit [Quit: Leaving]
<EdwardIII> leitz: that closures book was good
<leitz> EdwardIII, awesome! Glad you liked it.
KicStart has joined #ruby
<EdwardIII> although i already knew what a closure was, it got me a bit more comfortable with the idea of making my own dsl (which i would probably not have boethered with usually)
<EdwardIII> hope i didn't interrupt your nap :)
cadeskywalker has quit [Ping timeout: 246 seconds]
<leitz> EdwardIII, I needed to get up anyway. :)
<EdwardIII> his teaching method of "make your own not-very-good-version-of-the-thing" technique felt really good
gray-_-wolf has quit [Ping timeout: 264 seconds]
gray-_-wolf has joined #ruby
stryek has joined #ruby
impermanence has joined #ruby
cadeskywalker has joined #ruby
TCZ has joined #ruby
drincruz has joined #ruby
chouhoulis has quit [Remote host closed the connection]
drincruz has quit [Ping timeout: 264 seconds]
KicStart has quit [Quit: Leaving.]
chouhoulis has joined #ruby
kristian_on_linu has joined #ruby
drincruz has joined #ruby
weego has quit [Ping timeout: 260 seconds]
weego has joined #ruby
neozor has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 246 seconds]
ap4y has joined #ruby
ur5us has joined #ruby
akem has quit [Quit: Leaving]
weego has quit [Ping timeout: 272 seconds]
bradleyprice has joined #ruby
weego has joined #ruby
bradleyprice_ has joined #ruby
GankMove has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
Garb0 has joined #ruby
FrankD has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
sarmiena_ has quit [Remote host closed the connection]
neozor has quit [Read error: No route to host]
neozor_ has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
<leitz> I'm not quite sure how a book goes out of print these days. Many of the ones I order are printing the day I order them and get here within a couple days.
alexherbo29 has joined #ruby
<leitz> PragProg reports no plans to redo Text Processing with Ruby.
ramfjord has joined #ruby
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo29 is now known as alexherbo2
neozor_ has quit [Remote host closed the connection]
Iarfen has quit [Remote host closed the connection]
neozor has joined #ruby
neozor has quit [Ping timeout: 265 seconds]
<apotheon> It must not have been selling well enough to bother.
dfucci has joined #ruby
dfucci has quit [Ping timeout: 265 seconds]
perl_ruby has joined #ruby
<perl_ruby> helpa:
ellcs1 has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
perl_ruby has quit [Quit: leaving]
ap4y has quit [Quit: WeeChat 2.9]
ap4y has joined #ruby
jpz has joined #ruby
pothibo has joined #ruby
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
whoisxy has quit [Ping timeout: 240 seconds]
pothibo has quit [Quit: Connection closed]
duderonomy has joined #ruby
TCZ has joined #ruby
kinduff4 has quit [Quit: gg]
kinduff4 has joined #ruby
dfucci has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dualfade_ has quit [Quit: leaving]
dualfade has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
rafadc has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
xco has joined #ruby
cnsvc_ has joined #ruby
TvL2386 has quit [Ping timeout: 240 seconds]
TvL2386 has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
va5c0 has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
gray-_-wolf has quit [Ping timeout: 258 seconds]
cnsvc_ has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
cnsvc_ has quit [Remote host closed the connection]
bradleyprice_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
dualfade has quit [Quit: leaving]
neozor has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
yasumi2136 has joined #ruby
dualfade has joined #ruby
alexherbo2 has joined #ruby
neozor has quit [Ping timeout: 272 seconds]
wallace_mu has quit []
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
alexherbo24 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo24 is now known as alexherbo2
alexherbo2 has quit [Remote host closed the connection]
reyfi9e has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
yasumi2136 has quit [Remote host closed the connection]
yasumi2136 has joined #ruby
reyfi9e has joined #ruby
cognemo has quit [*.net *.split]
entel has quit [*.net *.split]
jnoon has quit [*.net *.split]
Chew has quit [*.net *.split]
kermit has quit [*.net *.split]
Rush has quit [*.net *.split]
spectra has quit [*.net *.split]
zapata has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
kaivai has quit [Quit: ZNC - https://znc.in]
mikecmpbll has quit [Ping timeout: 264 seconds]
kaivai has joined #ruby
leitz has quit [Quit: Leaving]