gaping has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
niv has joined #ruby
TomyWork has joined #ruby
cybniv has quit [Ping timeout: 264 seconds]
rf has quit [Remote host closed the connection]
rf has joined #ruby
lagash has joined #ruby
bubbler has quit [Remote host closed the connection]
moldorcoder7 has joined #ruby
markong has joined #ruby
bagatur has joined #ruby
<bagatur>
hello, I am having issues trying to install 'mysql2' gem on windows 10. I tried supplying the mysql include and lib folders for "mysql server 8.0", "connector c++ 8.0" and "mysql-connector-c-6.1.11"
mexen has quit [Quit: Connection closed for inactivity]
<bagatur>
before that I get an error indicating failure of init transaction for "mingw libmariadbclient" and saying pacman failed
<bubbler>
@weaksauce: Was able to get it to work. My problem was, that my specs were wrapped in a Module. Removed the Module and it works perfectly now. Thanks for your hint with the solargraph download-core; yard gems; solargraph bundle; sequence of commands. Something solid to hold on to. :)
<cxl>
So I'm still confused how the ruby ecosystem handles semver compliant versions that include a prerelease number. Rubygems recommends 1.0.0.alpha.1, but the semver standard would use 1.0.0-alpha1. What would happen with a semver-compliant version string? Will it still be handled as a prerelease by all the Ruby tools?
bubbler has joined #ruby
mexen has joined #ruby
bubbler has quit [Quit: WeeChat 3.8]
bubbler has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Read error: Connection reset by peer]
nirvdrum_ has joined #ruby
Tempesta has joined #ruby
bagatur_ is now known as bagatur
bubbler has quit [Quit: WeeChat 3.8]
nirvdrum_ has quit [Remote host closed the connection]
bubbler has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Read error: Connection reset by peer]
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
rf_ has joined #ruby
rf has quit [Ping timeout: 248 seconds]
razetime has joined #ruby
DESNUDOPENGUINO is now known as desnudopenguino
ht_ has joined #ruby
_ht has quit [Ping timeout: 246 seconds]
ht_ is now known as _ht
defectiverobot has joined #ruby
markong has quit [Ping timeout: 268 seconds]
John_Ivan has joined #ruby
<John_Ivan>
does ruby support the separation of declaration and implementation of code in separate files the way .h header files and .c code files work in C?
rf has joined #ruby
rf_ has quit [Quit: Leaving]
razetime has quit [Quit: See You Space Cowboy]
defectiverobot has quit [Ping timeout: 265 seconds]
<adam12>
John_Ivan: No.
<John_Ivan>
I see. thanks.
<adam12>
I mean, you could just define empty method bodies if you wanted...
<adam12>
I'm sure it would be fine, but might warn.
<John_Ivan>
yeah. cheers.
<adam12>
Paired with Ruby 3 endless methods, it might be fairly close.
<adam12>
def method()= nil; def other_method()= nil; then in other fine, def method(); implementation.
<adam12>
If you're at that point, I'd probably just use RBS. But I am not sure of your ultimate use case.
cek has joined #ruby
<John_Ivan>
adam12, what's RBS? my goal is just organization.
bagatur has left #ruby [Leaving]
<John_Ivan>
hobby project. I just want to be clean.
<adam12>
John_Ivan: It's a file format for Ruby 3 type support that defines the method signatures.
<John_Ivan>
oh nice
<adam12>
Technically it's use for type checking, but if you wanted to just use it for documentation and ignored the errors it might be OK too.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
crankharder has joined #ruby
otisolsen70 has quit [Quit: Leaving]
markong has joined #ruby
felipec has joined #ruby
<felipec>
If I do `string.unpack(format)` the result would read a certain amount of bytes from the string, for example "LCCCC" would be 8 bytes. Is there a way to find out the size of that packed format?
<felipec>
So for example I could do `io.read(sizeof("LCCC"))`