adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
lunarkitty has quit [Quit: Connection closed for inactivity]
BSaboia has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
vit has quit [Ping timeout: 256 seconds]
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
darkxploit has left #ruby [#ruby]
Al2O3 has joined #ruby
<Al2O3> what ever happened to the IORCC?
<adam12> Al2O3: My guess is interest died off.
<Al2O3> those were interesting times, some strange obfuscated stuff came about with ruby
Pixi has quit [Ping timeout: 256 seconds]
hololeap_ is now known as hololeap
Pixi has joined #ruby
reset has quit [Quit: reset]
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
krishnac has joined #ruby
Rounin has quit [Ping timeout: 256 seconds]
krishnac has quit [Remote host closed the connection]
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
furincleavagesit has joined #ruby
furincleavagesit has quit [Quit: Textual IRC Client: www.textualapp.com]
BSaboia has quit [Quit: This computer has gone to sleep]
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
krishnac has joined #ruby
krishnac has quit [Remote host closed the connection]
adam12 has quit [Quit: Ping timeout (120 seconds)]
adam12 has joined #ruby
ralu has quit [Ping timeout: 264 seconds]
BSaboia has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
sagax has joined #ruby
jpw has joined #ruby
BSaboia has joined #ruby
BSaboia has quit [Remote host closed the connection]
cybniv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
ralu has joined #ruby
vit has joined #ruby
leonthemisfit has joined #ruby
leonthemisfit has joined #ruby
leonthemisfit has quit [Changing host]
Guest5524 has quit [Ping timeout: 250 seconds]
Leon_ has joined #ruby
Leon_ is now known as Guest6873
Exa has quit [*.net *.split]
jidar has quit [*.net *.split]
ringo__ has quit [*.net *.split]
Garo__ has quit [*.net *.split]
pandabot has quit [*.net *.split]
Byteflux has quit [*.net *.split]
Garo_ has joined #ruby
jidar has joined #ruby
Exa has joined #ruby
leonthemisfit has quit [Ping timeout: 245 seconds]
Byteflux has joined #ruby
ringo__ has joined #ruby
jtperreault has quit [*.net *.split]
gigamo has quit [*.net *.split]
eof has quit [*.net *.split]
summerisle has joined #ruby
jtperreault has joined #ruby
gigamo has joined #ruby
factor has quit [Read error: Connection reset by peer]
<lembron> well i managed to get 1.9 setup as so far as the thing "runs" (with some errors here and there) -> freeze still does not work at all. guess ill talk to the author lol...
dohtem has quit [Quit: Connection closed for inactivity]
_ht has joined #ruby
sagax has quit [Read error: Connection reset by peer]
jpw has quit [Remote host closed the connection]
sagax has joined #ruby
reset has joined #ruby
_ht has quit [Remote host closed the connection]
trillp has joined #ruby
Rounin has joined #ruby
taupiqueur has joined #ruby
Guest59 has joined #ruby
Guest59 has quit [Client Quit]
trillp has quit [Quit: nyaa~]
taupiqueur has quit [Ping timeout: 268 seconds]
Jonopoly has joined #ruby
graywolf has quit [Quit: WeeChat 3.3]
donofrio has quit [Read error: Connection reset by peer]
taupiqueur has joined #ruby
<rapha> morning all
<rapha> is there a nice, non-loop-using way of finding the n'th occurance of value x in a given array?
* rapha googles IORCC
<rapha> oh. okay, not the immigration authority of canada, the obfuscated ruby contest.
donofrio has joined #ruby
<leftylink> but wait! if they're all the value x, what does it matter which occurrence of them is found! there must be another aspect to the question I have missed
Guest26 has joined #ruby
Guest26 has quit [Client Quit]
jetchisel has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
<nakilon> > (to force line breaks in a curses window)? -- I would be surprised if curses don't do it
BSaboia has joined #ruby
<nakilon> rapha > [7,7,8,8,8,9,8].map.with_index.select{ |_,| _ == 8 }[2].last # => 4
<nakilon> the [2]nd 8 is at #4
taupiqueur has quit [Ping timeout: 250 seconds]
jhass|off has quit [Quit: Bye]
jhass has joined #ruby
taupiqueur has joined #ruby
<rapha> thx nakilon, much more elegant!
pandabot has joined #ruby
<Al2O3> rapha: yes, the IORCC
Angel has joined #ruby
<Angel> hola
<Angel> como estan
<havenwood> Angel: hi. good!
<Angel> hey! is this the spanish ruby community?
<Angel> im looking for a developer in spain that is available for work
Angel is now known as Angel1985
<rapha> grah
<rapha> why don't we have something like scipy for ruby?!
<adam12> Like SciRuby?
Angel1985 has quit [Quit: Client closed]
fef has joined #ruby
Jonopoly has quit [Quit: WeeChat 3.0]
<leah2> narray was something like numpy once
<leah2> https://github.com/ruby-numo has a bunch of things
<legit> I feel like the ruby ecosystem has contracted
dohtem has joined #ruby
<leah2> not sure if there's something like matplotlib
<legit> And Python's is experiencing an explosive growth
<leah2> well, it always was popular among scientists
<legit> But right now everyone and their mother are busy rewriting everything in Go or Rust
<leah2> but there arent really performance problems, so a quick turnaround is more useful
<legit> Rumor has it that Ruby 3.1 will be gaining some speed
<legit> \o/
Angel has joined #ruby
<leah2> for science you mostly wrap c/c++/fortran code anyway
taupiqueur has quit [Ping timeout: 265 seconds]
<adam12> I've never had speed issues with Ruby, outside of $LOAD_PATH boot times. I'm usually waiting for IO in most projects anyways.
<adam12> legit: Maybe in reference to the YJIT? Apparently it can be 20-30% faster in some cases.
<legit> Yep, I remember reading something like that
<adam12> Is there any interesting libraries in Python that Ruby doesn't have?
<adam12> I guess Jinja2 might be one of the more obvious ones, since ERB has a different style of use.
<rapha> hmm
<rapha> how do you guys like to interface with python from ruby?
<rapha> there were two projects intended for that, but both seem dead. so just system() the heck out of it?
Angel has quit [Quit: Client closed]
<rapha> oh well, perhaps it'll still work, 11 years or not, let's see.
<havenwood> rapha: See Pycall
<havenwood> legit: I'm not sure if nemo-narray, nmatrix, numpy.rb, pandas.rb, etc are taking advantage of the new buffer protocol yet, which might be a big win. https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2
<rapha> no need for efficiency
<rapha> this can run all week long if it wants to
<rapha> oh nice pycall seems maintained :D
<havenwood> Also interested to play more with the 3.1 IO::Buffer
<havenwood> rapha: yup!
<rapha> ... when you just like the toy and need a reason to play with it :)
<havenwood> Here's the buffer protocol issue on the bug tracker, just for reference if anyone is interested: https://bugs.ruby-lang.org/issues/14722
Angel has joined #ruby
_ht has joined #ruby
Angel is now known as angel1985
<havenwood> The year of the buffer!
<adam12> It will be interesting to see what happens with it
<ox1eef> Love it, fantastic.
fef has quit [Remote host closed the connection]
<ox1eef> legit: i believe that to be true, re python grown and ruby decline, but i don't think it's the end.
angel1985 has quit [Quit: Client closed]
<ox1eef> growth*
<rapha> ruby has been called dead so many times...
<rapha> yet there will always be tasks for which you'd always rather use ruby than python
<rapha> havenwood: pycall is amazing! much more fun to use than what i had imagined!
<ccooke> Languages live or die on niches and use cases. Right now, Python has a few that are propelling adoption. Ruby doesn't have any big ...slices of the zeitgeist (for want of a better idiom) at the moment, but it's still big enough a language to survive for a long time yet
<rapha> a lot of the non-western-scripts work i do would be so much more cumbersome in python
<rapha> but none of the microcontrollers-and-numerical-data stuff i like to do in my free time would be much fun in ruby
<rapha> so the more these two languages can interact with each other, the better for everybody
<rapha> havenwood: how do you turn a python list that you got via pycall into a proper ruby array?
<rapha> hmm, .to_a should work but doesn't. weird.
fef has joined #ruby
<rapha> funky. they also have convert_to_array. but it errors out.
<rapha> okay, got it: ruby_array = PyCall.builtins.list.(python_list)
<rapha> enough for today
<rapha> bye all!
<legit> Nice!
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
BSaboia has quit [Remote host closed the connection]
orbyt has joined #ruby
fef has quit [Remote host closed the connection]
taupiqueur has joined #ruby
Inline has joined #ruby
ur5us has joined #ruby
voltage_ has joined #ruby
Pixi has quit [Ping timeout: 256 seconds]
Pixi has joined #ruby
trillp has joined #ruby
shokohsc868 has joined #ruby
shokohsc86 has quit [Ping timeout: 264 seconds]
shokohsc868 is now known as shokohsc86
SuperLag has joined #ruby
_ht has quit [Remote host closed the connection]
caleb has quit []
cognemo has quit [Ping timeout: 256 seconds]
cognemo has joined #ruby
taupiqueur has quit [Ping timeout: 260 seconds]
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
AMPed has joined #ruby
AMPed has left #ruby [#ruby]
reset has quit [Ping timeout: 250 seconds]
sagax has quit [Excess Flood]
AMPed has joined #ruby
<Al2O3> so, I am reading and studying Ruby right now, reading many books, many online tutorials and of course good advice from them all (and some opinions as well, or both). Here is one I would like to follow, and ask this community for examples to DL and look/assess.
<Al2O3> "Here’s something to do the next time you have a rainy afternoon to kill: Download
<Al2O3> two or three significant Ruby programs, maybe utilities that you use every day or
<Al2O3> like."
<Al2O3> applications you have heard of or perhaps projects whose names you just happen to
vit has quit [Ping timeout: 256 seconds]
<Al2O3> since I don't like per se, I'm learning (again) Ruby after 17 years of absence, what would be two good programs or utilities to DL and look at.
<Al2O3> they should likely be small, compact, good utilities that one uses every day and of course well written, and of course available to view source.
<weaksauce> Al2O3 how familiar are you with ruby?
<weaksauce> rails actually has an interesting guide on the initialization of it if you are somewhat familiar with that
<weaksauce> but it's probably out of your depth right now
<weaksauce> maybe rake
<weaksauce> rspec or minitest