ouestbillie has quit [Remote host closed the connection]
ur5us has joined #ruby
goldfish has quit [Ping timeout: 240 seconds]
CrazyEddy has quit [Ping timeout: 240 seconds]
fredlinhares has quit [Read error: Connection reset by peer]
eastbillie has quit [Remote host closed the connection]
TCZ has joined #ruby
fredlinhares has joined #ruby
CrazyEddy has joined #ruby
TCZ has quit [Quit: Leaving]
RougeR has quit [Quit: Leaving]
fredlinhares has quit [Quit: WeeChat 3.4]
michigan has quit [Quit: Connection closed for inactivity]
Rounin has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
<jaredo>
is yard more popular than rdoc?
<jaredo>
I can't find much info about this
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
John_Ivan has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
mixfix41 has quit [Ping timeout: 240 seconds]
mixfix41 has joined #ruby
<havenwood>
jaredo: I'd garner they're similarly popular. Looking at RubyGems API, I see 6,608 reverse dependencies for yard and 4,477 for rdoc — for a ballpark idea.
<nakilon>
heh, bundler is smarter than gem install; installing the async-websocket was failing because ruby < 3.0 while bundler has found proper gem versions easily
<nakilon>
I wish there was a way to utilize the bundler resolver without creating a Gemfile
Rounin has joined #ruby
axsuul has joined #ruby
<axsuul>
I have an API endpoint that returns a streaming response but I can't figure out how to consume it (e.g. responses are being sent in chunks on a constant basis). Can anyone recommend a gem or a way to do this?
dangerousdave has joined #ruby
aeris has quit [Remote host closed the connection]
_aeris_ has joined #ruby
_aeris_ is now known as aeris
<nakilon>
axsuul what class is the streaming object of? try .read
Pixi__ has quit [Ping timeout: 240 seconds]
Pixi has joined #ruby
<nakilon>
I now wonder how to debug it since I get "Async::WebSocket::ProtocolError: Failed to negotiate connection: 400"
_ht has joined #ruby
joast has quit [Ping timeout: 240 seconds]
bluedust_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bluedust has quit [Ping timeout: 240 seconds]
bluedust has joined #ruby
Jonopoly has joined #ruby
bluedus__ has joined #ruby
dangerousdave has joined #ruby
bluedust_ has quit [Ping timeout: 256 seconds]
bluedust has quit [Ping timeout: 256 seconds]
oxfuxxx has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedus__ has quit [Ping timeout: 240 seconds]
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
bluedus__ has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
<nakilon>
(solved, forced http/1)
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nakilon>
that Async do |task| task.async{ ... is weird, it's not async actually, it's pretty much stuck until the block is done; I don't get it
dangerousdave has joined #ruby
<nakilon>
aha, looks like it's broken on ruby <3.0; why does it even install then...
<nakilon>
I guess they forgot to put the ruby version requirement in gemspec and then after the gem is published you can't fix than unless yank the gem version I guess, so bundler will install what actually should not be installed
gr33n7007h has quit [Quit: WeeChat 3.4]
goldfish has joined #ruby
goldfish has quit [Remote host closed the connection]
<rapha>
adam12: yeah, that was me. interesting link but not sure if i was hitting that, because with the command line client the db would open fine and also pass integrity checks.
goldfish has quit [Remote host closed the connection]
goldfish has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
dangerousdave has joined #ruby
libsys has quit [Ping timeout: 250 seconds]
libsys has joined #ruby
John_Ivan has joined #ruby
Jonopoly has joined #ruby
libsys has quit [Remote host closed the connection]
libsys has joined #ruby
gproto23 has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedus__ has quit [Ping timeout: 240 seconds]
gproto23 has joined #ruby
TomyWork has quit [Remote host closed the connection]
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
sam113101 has quit [Ping timeout: 260 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sam113101 has joined #ruby
Jonopoly has quit [Quit: WeeChat 3.0]
dangerousdave has joined #ruby
<axsuul>
nakilon: do you mean if I were to use the Net::HTTP library?
bluedust has quit [Remote host closed the connection]
<nakilon>
axsuul yeah I guess modt of the libraries should provide something like this; actually I've reread your question -- maybe it's about some infinitely large data? then it would need some other methods
<nakilon>
I remember open-uri accepted a block to pass chunks to it
<axsuul>
Yep it's a stream of data that's provided by the API. `curl` works with it fine out of the box in that data is streamed to it
<havenwood>
Almost tempted to attempt a Ruby wrapper.
<adam12>
I'm not sure I'll write any more Elixir, other than maintaining my OSS Elixir I already have in the wild. Maybe if I'm paid and not in a consultant role, I would. I just find it incredibly opaque when coming back to old code. More so than Ruby. Maybe it's just being too accustomed to Ruby.
___nick___ has joined #ruby
<havenwood>
adam12: I'm more comfortable in Ruby too. Nx revived my Elixir interest.
<havenwood>
adam12: I did recently also dabble in straight Plug apps. Actually really enjoyed.
<havenwood>
So Rodaesque.
<adam12>
havenwood: I did that for a while. There was a micro-framework for Elixir that was fairly nice. All Plug based.
<havenwood>
Rodæsque
<adam12>
You see the web_pipe ruby library? It's akin to that. Quite nice.
<adam12>
I'm kind of thinking I'm going to move some stuff away from Roda, ironically. I miss having named routes and classes. Perhaps either Hanami 2 or just hanami-controller and hanami-router.
<havenwood>
adam12: I think I came across web_pipe but haven't actually tried it. I'll look closer. I did find application.ex more of a pain to get the way I wanted than I expected, for sure. Everything else fell in place.
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<adam12>
I guess for something primitive like Point = Struct.new(:x, :y) it might be OK... but outside of that, meh.
<adam12>
>> true
<ruby[bot]>
adam12: I'm terribly sorry, I could not evaluate your code because of an error: JSON::ParserError:A JSON text must at least contain two octets!
danjo08 has joined #ruby
<adam12>
>> "Thai"
<ruby[bot]>
adam12: I'm terribly sorry, I could not evaluate your code because of an error: JSON::ParserError:A JSON text must at least contain two octets!
<adam12>
Oof.
danjo0 has quit [Ping timeout: 252 seconds]
danjo08 is now known as danjo0
<havenwood>
That just inspired my new email autoresponder: I'm terribly sorry, but I won't be reading this because of an error: Octets!
___nick___ has quit [Ping timeout: 256 seconds]
<adam12>
LOL
hanzo has quit [Quit: Connection closed for inactivity]
<adam12>
I saw that come through. I'm not super up to date with WASI tho.
gproto23 has quit [Ping timeout: 256 seconds]
<havenwood>
adam12: As far as I understand, it's basically libc POSIX C API for WebAssembly. "Emscripten heavily depends on JavaScript to emulate some missing features in WebAssembly itself."
<havenwood>
"In short the WASI is an effort to define a standard set of syscalls for WebAssembly modules, allowing WebAssembly modules to not only be portable across architectures but also be portable across environments implementing this standard set of system calls."
<havenwood>
The "non JS environments, Edge Computing platforms, IoT devices" part is neat.