sergioro has quit [Read error: Connection reset by peer]
turbo_choo has joined #ruby
gray_-_wolf has quit [Ping timeout: 265 seconds]
gray_-_wolf has joined #ruby
turbo_choo has quit [Ping timeout: 265 seconds]
zenspide` has quit [Ping timeout: 258 seconds]
ellcs has quit [Ping timeout: 245 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
phaul has joined #ruby
Nicmavr has joined #ruby
phaul has quit [Ping timeout: 258 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
Swyper has joined #ruby
phaul has joined #ruby
<baweaver>
zenspider: huh
<baweaver>
Lemme take a look at that in more detail in a bit, that's interesting.
<baweaver>
I mean cheating is to use TracePoint to see exactly what in the world context it thinks it's in.
duderonomy has joined #ruby
TCZ has joined #ruby
duderonomy has quit [Client Quit]
<zenspider>
baweaver: I hesitate to say this but I'm starting to suspect this might be a bug in ruby... at least, certainly a bug in my model of how ruby works.
<zenspider>
I'd appreciate any help
phaul has quit [Ping timeout: 258 seconds]
<baweaver>
Any specific version?
<zenspider>
doesn't seem to matter
<zenspider>
I'm cooking so I'll be bipping in and out
phaul has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<baweaver>
2.6.5 has it
<baweaver>
Hrm, will poke at this more later.
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
sh7d has quit [Ping timeout: 260 seconds]
phaul has quit [Ping timeout: 268 seconds]
jinie_ has joined #ruby
Swyper has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
xall has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
itarato_ has quit [Ping timeout: 258 seconds]
bsdbandit-01 has joined #ruby
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
houhoulis has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mrgoose845701915 has quit [Read error: Connection reset by peer]
Mrgoose845701915 has joined #ruby
gweisbrod has joined #ruby
<gweisbrod>
hey i’m trying to write my first gem - is there a way i can have arbitrary code run as part of the install process? ok if install must be done via `bundler install` instead of `gem install` to get this functionality
_whitelogger has joined #ruby
_whitelogger has joined #ruby
dhollinger has quit [Ping timeout: 265 seconds]
dhollinger has joined #ruby
cd has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.5]
phaul has joined #ruby
ensyde has joined #ruby
infinityfye has joined #ruby
duderono_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
duderonomy has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
TCZ has quit [Client Quit]
Rudd0 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
jenrzzz has joined #ruby
ur5us has joined #ruby
xall has quit [Ping timeout: 260 seconds]
xall has joined #ruby
xall has quit [Read error: Connection reset by peer]
AndroidKitKat has quit [Ping timeout: 265 seconds]
troulouliou_div2 has joined #ruby
AndroidKitKat has joined #ruby
NODE has quit [Quit: changing servers]
Cra2yZer0 has quit [Ping timeout: 260 seconds]
xall has joined #ruby
Cra2yZer0 has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
ensyde has quit [Ping timeout: 240 seconds]
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
xall has quit [Read error: Connection reset by peer]
<havenwood>
(Unsure on that last one. :P Seems plausible.)
skx86 has joined #ruby
FastJack has quit [Ping timeout: 264 seconds]
GodFather__ has joined #ruby
<Mrbuck>
havenwood: yoou guys doing Ml with ruby ? Not sure if it was you or someone I heard before
<havenwood>
Mrbuck: I think we use Python on that front but it's not my area. FWIW, this repo is nicely curated (but not comprehensive) for ML libs in Ruby: https://github.com/arbox/machine-learning-with-ruby
<havenwood>
Mrbuck: I think you're thinking of someone else. Unsure! I do like to play with ML in Ruby, but not for my day job.
<Mrbuck>
havenwood: Checking that repo. Thank you, ML is my long long term goal couldnt be my day job too
sergioro has joined #ruby
fuzzface has joined #ruby
FastJack has joined #ruby
BTRE has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adam12>
/usr/home/adam/src/ruby-2.7.0/ext/readline/extconf.rb:62: Neither readline nor libedit was found
<adam12>
Hmm
<adam12>
Maybe that wont' matter now that reline ships in 2.7.
<adam12>
Nope. Doesn't matter.
<erikh>
maybe a configure flag?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zapata has joined #ruby
itarato_ has joined #ruby
Swyper has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 248 seconds]
duderonomy has joined #ruby
ellcs has joined #ruby
itarato_ has quit [Ping timeout: 268 seconds]
jerry_jerry has joined #ruby
<jerry_jerry>
I've seen benchmarks from 2017 showing NArray vs Python; and now Python vs Julia.
<jerry_jerry>
I fear Ruby needs to catch up
<havenwood>
jerry_jerry: Show the benchmarks where Ruby is behind?
<jerry_jerry>
wait a sec
subetei has joined #ruby
<havenwood>
jerry_jerry: C-extensions tend to run as fast in one language as another. I feel the barrier between language is thinner than ever, especially with projects like LLVM and GraalVM.
<havenwood>
jerry_jerry: I saw those numbers as similar. ¯\_(ツ)_/¯
<jerry_jerry>
okay, if 24 is similar to 36
<jerry_jerry>
you're the professor here,
<havenwood>
jerry_jerry: Yeah, it's within an order of magnitude. I'm not surprised the Python version is slightly more optimized. It's widely used.
<havenwood>
jerry_jerry: But... use the GPU.
<havenwood>
jerry_jerry: Why care about a slight difference when you can get an order of magnitude better performance with the right tool.
<jerry_jerry>
yeah, or I just install Julia and it runs out of the box as fast as numpy
<havenwood>
jerry_jerry: Or use Ruby with Cuda and run faster than either.
<jerry_jerry>
how do I know whether I have NVIDIA GPU Compute Capability 3.5 (Kepler) or later
<jerry_jerry>
certainly an option
<havenwood>
jerry_jerry: The language isn't really the bottleneck here. If you really want to do this on a CPU, I'd not be surprised if Julia has a better optimized version out of the box.
<havenwood>
jerry_jerry: Try Cumo.
<havenwood>
jerry_jerry: They list them here: gpus
<havenwood>
jerry_jerry: That's an example of handwritten code ^ that targets SIMD for efficient operation on a CPU. I don't think it would beat a GPU, but I have no benchmark to prove it.
<jerry_jerry>
yeah, obviously
<havenwood>
jerry_jerry: Nobody is volunteering to maintain SIMD code here, but it's fast.
<jerry_jerry>
everybody is preoccupied with active record migrations ? ;)
<havenwood>
jerry_jerry: Ruby has lots of folk working on performance and parallelism. Some great stuff this year and more next. :)
<jerry_jerry>
yeah true
<jerry_jerry>
fingers crossed
<havenwood>
jerry_jerry: If you're interested in performance and Ruby, TruffleRuby, JRuby with Graal, and an honorable mention to CRuby with the new JIT.
<havenwood>
jerry_jerry: For this particular task, the GPU just wins—language aside.
<jerry_jerry>
heard about them, haven't looked into them, though
<jerry_jerry>
what does it actually mean, I run graalvm and inside it I run Ruby?
<jerry_jerry>
and inside I also have R etc?
<jerry_jerry>
and all is faster than my normal desktop?
Swyper has quit [Remote host closed the connection]
<havenwood>
jerry_jerry: The GraalVM has a sea of nodes rather than an AST. It interprets various languages into nodes (even compiled ones like C or Fortran with Sulong via LLVM).
<havenwood>
jerry_jerry: The VM doesn't care whether the nodes came from Python or Ruby, so it's efficiently scheduled without a barrier.
Swyper has quit [Remote host closed the connection]
<jerry_jerry>
havenwood: let's stop here
<jerry_jerry>
the amount of info is bigger than I can absorb
<havenwood>
jerry_jerry: TruffleRuby is a neat language to contribute to if you like Ruby, since it's primarily written in Ruby-even core libs. Give it a look.
<jerry_jerry>
be assured, I'm somewhat of a librarian, so I file the info neatly
<havenwood>
jerry_jerry: Okay, good day!
<jerry_jerry>
thanks man
itarato_ has joined #ruby
Swyper has joined #ruby
jenrzzz has joined #ruby
noodle has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]