ajescude_ has quit [Remote host closed the connection]
ajescudero has joined #ruby
SeepingN has joined #ruby
TCZ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
yCrazyEdd has joined #ruby
CrazyEddy has quit [Ping timeout: 260 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
yCrazyEdd is now known as CrazyEddy
TCZ has quit [Quit: Leaving]
oddp has quit [Ping timeout: 240 seconds]
sjt003 has quit [Read error: Connection reset by peer]
mossplix has quit [Remote host closed the connection]
sjt003_ has joined #ruby
mossplix has joined #ruby
drincruz has joined #ruby
bmurt has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
fabio_ has joined #ruby
mossplix has quit [Ping timeout: 258 seconds]
MadLamb has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
ur5us has joined #ruby
ams___ has quit [Quit: Connection closed for inactivity]
Xeago has quit [Ping timeout: 246 seconds]
drincruz has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
norm has joined #ruby
<norm>
Anyone ever tried to make a new Yard directive? I’d like to make a custom directive that registers a custom CodeObject. I thought it was as simple as calling “handler.register MyCodeObject.new(…)”, but that dumps me into a “stack level too deep” error. Some sort of recursive rabbit hole.
ChmEarl has quit [Quit: Leaving]
jenrzzz has joined #ruby
ur5us has quit [Remote host closed the connection]
<pleasehelpwithbu>
hello, there was an experimental feature of bundler that made "bundle exec" automatically run when you needed it to
<pleasehelpwithbu>
I had it set, but I lost it and can't find it on the internet
<pleasehelpwithbu>
anyone remembers something like this? you set an env variable iirc :(
<pleasehelpwithbu>
$RUBYGEMS_GEMDEPS!
<pleasehelpwithbu>
setting it broke my stuff more.. eh.
schne1der has quit [Ping timeout: 240 seconds]
gato has joined #ruby
graphicsv has quit [Quit: Connection closed for inactivity]
plutes has quit [Ping timeout: 258 seconds]
pleasehelpwithbu has quit [Remote host closed the connection]
s_ has quit [Ping timeout: 260 seconds]
s_ has joined #ruby
plutes has joined #ruby
ams___ has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
jenrzzz_ has joined #ruby
gato has quit [Quit: Connection closed]
jenrzzz has quit [Ping timeout: 258 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
meinside has quit [Quit: Connection closed for inactivity]
jenrzzz_ has quit [Ping timeout: 256 seconds]
coffeejunk has quit [Ping timeout: 244 seconds]
rann has quit [Ping timeout: 240 seconds]
coffeejunk has joined #ruby
rann has joined #ruby
maxmanders_ has quit [Read error: Connection reset by peer]
maxmanders_ has joined #ruby
cd has joined #ruby
bsdband24 has quit [Quit: -a- Connection Timed Out]
ghanima has joined #ruby
bsdbandit-01 has joined #ruby
Industrial has joined #ruby
ghanima has quit [Remote host closed the connection]
ghanima has joined #ruby
<Industrial>
Hi. I am trying to make a WebSocket server that speaks a certain protocol (FBP, Flow Based Programming) but I am not successfully completing the handshake / response. My test client (fbp test suite that tests the websocket implementation) seems to be hanging on the request and failing all tests.
ghanima has quit [Remote host closed the connection]
<Industrial>
On line 44 I am sending an empty response. When I send e.g. "{}" then I get `Error: Parse Error: Expected HTTP/` (which is a Node.js error, because that's the test suite's language..).
ghanima has quit [Remote host closed the connection]
<Industrial>
Hmm, so I guess the websocket is fine and only my implementation is faulty since the request/responses are sent properly.
ghanima has joined #ruby
ghanima has quit [Remote host closed the connection]
<norayr>
this started to happen after a system upgrade, but i made sure to even reinstall (as user) ruby and all the gems with --force --full-index
<havenwood>
norayr: Could you try a: bundle pristine
<norayr>
havenwood: thanks, minute
<havenwood>
norayr: PS The latest Ruby 2.6 is 2.6.6.
<norayr>
i dont know exactly how diaspora software brings me this rubies, is that 2.6.5 written somewhere in its package manager config, but when i do rvm commands, it gets me 2.6.5 for some reason.
<norayr>
i see what pristine does, i think that won't help. because i already recompiled everything. even removed all the gems by hand, to make sure they will be compiled again.
<norayr>
so i said rvm install 2.6
<norayr>
should i say rvm install 2.6.6?
<havenwood>
norayr: rvm get head
<havenwood>
norayr: Update RVM to latest first.
<norayr>
ok let the pristine finish, then i'll do that again.
jenrzzz has quit [Ping timeout: 240 seconds]
<norayr>
installing ruby-2.6.6
<norayr>
interesting, in diaspora update manual, the command is rvm get latest, not rvm get head. and that made a difference?
colins has joined #ruby
leitz has joined #ruby
colins has quit [Client Quit]
chalkmonster has quit [Quit: WeeChat 2.8]
<norayr>
bundling full index
<leitz>
Drat. The sinatra IRC channel is a ghost town, and I can't get onto their slack workspace.
chalkmonster has joined #ruby
doomlist3 has joined #ruby
<doomlist3>
are ints mutable in ruby like strings
<doomlist3>
in ruby every object is mutable i'd love to mutate int
ellcs1 has joined #ruby
pgib has quit [Ping timeout: 240 seconds]
<yxhuvud>
no, ints are not mutable.
<havenwood>
norayr: it's an alias
<yxhuvud>
doomlist3: You can define methods etc in the integer class though.
<havenwood>
doomlist3: Why do you want to mutate an Integer? Say more?
<doomlist3>
i dont
<norayr>
havenwood: when i did rvm get latest in diaspora directory, it wanted me to use 2.6.5, but after running rvm get head, it seems ok that i use 2.6.6, or something else affected that.
<havenwood>
leitz: Time to port to Roda? :P
<doomlist3>
in puts what if i need flush and file option ?
<havenwood>
leitz: The #roda channel is quite responsive.
<doomlist3>
so what's the ruby way to deal with flushing data to output
<doomlist3>
how did ruby manage to achieve puts functionality same as pythons ?
<havenwood>
doomlist3: You can set `$stdout.sync =` or `$stdout.flush` manually.
<leitz>
havenwood, a while back I asked Jeremy if he was going to write a book on the tools he writes. I like books. :)
<doomlist3>
no books please i don't like books
<havenwood>
Roda, the Movie. Coming in 2021.
<leitz>
havenwood, this might be a good time, i'm trying something new to me. The "Update" bit of CRUD has always been a challenge for me. I figured it out in SQLite and Sinatra, and am not trying to port that to MongoDB.
<havenwood>
leitz: Sequel + Roda is lovely.
<havenwood>
leitz: Sequel works well with SQLite.
<leitz>
havenwood, does Sequel talk to MongoDB?
* leitz
goes to look
<leitz>
Nothing about MongoDB on the github site.
kinduff has quit [Read error: Connection reset by peer]
<leitz>
havenwood, on the above, the last bit should be "and am NOW trying to..."
kinduff has joined #ruby
<havenwood>
leitz: Mongo... DB...? Step away from that keyboard!
<leitz>
havenwood, embrace the openness...
<havenwood>
leitz: Ah, just checked logs and saw "Diaspora." Hah.
* havenwood
goes in search of more coffee
<leitz>
havenwood, I need the "tableless" layout, and Mongo is all I know. For very small definitions of "know".
<doomlist3>
what roda movie it's just a webframework havenwood
<havenwood>
doomlist3: Whoever greenlit Wing Commander, the Movie begs to differ. *Just* a web framework? Web frameworks are the rage with kids these days!
<doomlist3>
maybe you are just a kid
<havenwood>
Bah
<doomlist3>
apps don't need webframeworks, apps are the rage, where is the cross-platform thing for ruby
<doomlist3>
like kivy , so i can write great apps and write only once.
<havenwood>
doomlist3: Ruby has fewer well-maintained graphics libraries so fewer downstream niceties in that realm.
<havenwood>
doomlist3: I've seen a few efforts based on SWG lately.
<havenwood>
doomlist3: There's DragonRuby in the game space.
<doomlist3>
i'd want to know more about write portable apps for mobile+linux+windows+macOS
<havenwood>
doomlist3: Shoes is the fun way in Ruby.
<havenwood>
doomlist3: No mobile support with Shoes.
<havenwood>
doomlist3: After taking a quick look at Kivy, I'd say RubyMotion is probably the closest we have in Ruby.
<havenwood>
doomlist3: Nope, at least I've not seen a mobile Shoes variant. It's possible but I've not seen it done. For example, Ruboto has Android support. http://ruboto.org/
<havenwood>
doomlist3: The JRuby Shoes *could* support both desktop and mobile.
<havenwood>
doomlist3: Shoes has traditionally been desktop focused.
<havenwood>
doomlist3: Flutter and Dart are pretty easy to pick up for cross platform development, FWIW.
<havenwood>
doomlist3: But I've not used Kivy for a point of comparison.
<havenwood>
We did make some of these vidoes about Roda. Not a full feature movie... yet!
<leitz>
doomlist3, he is just a kid. ;)
<havenwood>
doomlist3: I did an hour long video about Roda though.
<havenwood>
That's not movie length.
<havenwood>
I aspire.
alexherbo2 has joined #ruby
bkuhlman_ has joined #ruby
bkuhlmann has quit [Read error: Connection reset by peer]
<doomlist3>
flutter doesn't seem for ruby
<Industrial>
Hi. Say I have a bunch of functions that all take the same input, how do I bunch/group up these functions? in JavaScript I would `const fns = { a: { b: (event) => event *2, ... }, ... }`
<Industrial>
I want a datastructure that I can hopefully index with a variable so I could do `fns[var1][var2]` where var1 could be 'a' and var2 could be 'b'
<Industrial>
So that I can call `fns[var1][var2](myEvent)`
<doomlist3>
havenwood: is your company squareup or square which website
<doomlist3>
twitter too has something regarding square
TCZ has quit [Quit: Leaving]
<doomlist3>
ok it's the twitter company squareup.com ?