<nakilon>
the tool is intended to makes you able to test curses
<isene>
Interesting
Pixi has quit [Ping timeout: 265 seconds]
<ox1eef>
isene: what did you use to write the curses applications? curses from stdlib, or another wrapper?
<nakilon>
need to figure out yet how it would work in some Github Actions environment; basically it would need 1. ensuring the extension works in headless (or add the xvfb service that would definitely make it work) 2. to have an sshd on the build agent 3. just pass the key
<havenwood>
curses actually isn't in stdlib anymore. it was gemified.
<ox1eef>
havenwood: great link, maybe i'm confused, there is two types of gems and both types are installed by default, only type cannot be removed (default). is it not still available without using 'gem install' in that case?
<ox1eef>
only one type*
<nakilon>
there are three kinds of gems )
<ox1eef>
the third being user gems?
<nakilon>
you can find their classification in some changelog where they get moved from one class to another
<ox1eef>
well, on neither 2.x or 3.x does "require 'curses'" work for me. it looks to be a gem living outside of the default and bundled gems.
ivzhh has joined #ruby
<ox1eef>
isene: looks cool
tempate has joined #ruby
<isene>
ox1eef: So you got them to work?
<ox1eef>
i did not try them, i was only curious about the librarie(s) being used because i would like to create something similar to the telescope application.
Inline has quit [Remote host closed the connection]
<isene>
I needed those extensions since the standard gem is sorely lacking in features
<isene>
I did the telescope application in 15 hours, so it's getting quite efficient.
Inline has joined #ruby
roadie has joined #ruby
crankharder has quit [Ping timeout: 265 seconds]
taupiqueur has quit [Ping timeout: 260 seconds]
<ox1eef>
it reminds me of htop, is it responsive to window resizes?
JayDoubleu_ has joined #ruby
roadie has quit [Ping timeout: 265 seconds]
JayDoubleu_ is now known as JayDoubleu
JayDoubleu has quit [Client Quit]
Inline has quit [Ping timeout: 265 seconds]
teclator has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
roadie has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
crankharder has quit [Ping timeout: 256 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 265 seconds]
duds- has quit [Ping timeout: 276 seconds]
<nakilon>
I have some dejavu; why doesn't Struct provide a good #values_at method that would accept the attribute names?... why does it expect the integers?...
<ox1eef>
I don't think that is a good API, reading the documentation gives me the impression it was done in relevance to #values, where it is an array - that would be my wild guess.
<tempate>
I asked before but I couldn't get it working. How can I solve a linear system of equations in ruby?
<ox1eef>
tempate: please paste the error you see, i assume the library works but there's a misconfiguration or understanding in relation to your ruby installation.
<tempate>
I don't know what library to use for starters, frankly
<tempate>
There doesn't appear to be a clear replacement to numpy
<ox1eef>
i have no suggestions for that beyond the one you were recommended earlier
<nakilon>
there is a built-in class matrix
<nakilon>
that might be useful
<tempate>
I couldn't install the one I was recommended earlier after trying for two hours
<tempate>
Could you just say which one you use?
<nakilon>
you didn't tell exactly how it didn't install
<weaksauce>
tempate post the error that you got installing it
<ox1eef>
I tried the gem, and indeed it doesn't look to be requirable: ../linalg/loader.rb:162:in `load_library': cannot find backend library for Numo::Linalg (RuntimeError)
<nakilon>
tempate millions of students are forced to make wrapper sin pithon for you
<nakilon>
no one is forced to make one in ruby
<nakilon>
be the first
<nakilon>
I force you
<nakilon>
_^^
<weaksauce>
it seems that sciruby is most akin to numpy
<weaksauce>
in that it bundles a ton of other gems
<tempate>
The only thing I really care about is solving a system of equations using gaussian elimination. I only mentioned numpy because it's the goto when you want to do anything math-related in python.
<ox1eef>
why did you pick ruby
<tempate>
because it's the language I like to code in the most
<tempate>
(and I didn't know I'd have to solve linear systems of equations)
<ox1eef>
makes sense, but not a well developed space in ruby, most people are just using what already works and is well established, and that's python.
<nakilon>
so "if --with-backend option is not specified, try to load mkl,openblas,atlas,lapack."
<tempate>
Should I just translate my code to python?
<tempate>
It'd be kind of sad
<nakilon>
that probably means you have to install either of these in your machine besides the gem
<nakilon>
homebrew has them
<ox1eef>
you could try to install the backend it is trying to load, that's the cause of the failure. if you don't have the backends already, the fix might be as easy as installing them.
<tempate>
Regarding the links, I don't really know what the first one is about, the second one doesn't seem to concern the problem, and I had already seen and followed the third one, arriving at my current problem
<nakilon>
have you installed any of the libs I quoted?
<tempate>
so just gem install mkl and all the others?
<ox1eef>
the library looks to be ruby binding's to C libraries - the C libraries are missing, and because of that the require fails.
<tempate>
nakilon: on it
mahlon has joined #ruby
jetchisel has quit [Ping timeout: 265 seconds]
lesihctej has joined #ruby
<tempate>
nakilon: I didn't really know what to install so I installed the gems numo-openblas, lapack, and atlas. I still get the same error message though.
<nakilon>
you need a library that isn't related to ruby
<nakilon>
those libraries are just C/C++ stuff that may be used by either Ruby or anything else; the gem expects your machine to have them installed already
<nakilon>
they are the "backend libraries", not gems
<tempate>
oh, nice
<tempate>
I installed lapack and openblas and it's now working