adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
Arahael has quit [Ping timeout: 252 seconds]
neshpion has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
neshpion has joined #ruby
<adam12> jla: A full error would be nice. Can you paste something to dpaste.org or gist.github.com?
arahael1 is now known as Arahael
jenrzzz has joined #ruby
<adam12> WA9ACE: Could you fork and eval in a new process? or spin up a Ruby process on it’s own?
jenrzzz has quit [Ping timeout: 260 seconds]
kaivai_ has quit [Quit: ZNC - https://znc.in]
kaivai has joined #ruby
<WA9ACE> adam12: that's what I ended up doing
<WA9ACE> passing a IO.pipe reader/writer to the forked process, having the forked process capture it's own $stdout and then return that capture and the resulting eval'd value to the parent
<WA9ACE> but thanks for chiming in!
<adam12> WA9ACE: Nice!
venmx has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
venmx has joined #ruby
jackiiilong_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jackiiilong__ has quit [Ping timeout: 240 seconds]
bamdad has quit [Remote host closed the connection]
jla has quit [Ping timeout: 240 seconds]
bamdad has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
jackiiilong__ has joined #ruby
jenrzzz has joined #ruby
jackiiilong_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Rudd0 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
bukkitgerman8608 has quit [Ping timeout: 240 seconds]
gearnode has quit [Quit: WeeChat 3.1]
jenrzzz has quit [Ping timeout: 265 seconds]
MalkbabY has quit [Remote host closed the connection]
jenrzzz has joined #ruby
MalkbabY has joined #ruby
robotbee has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jackiiilong_ has joined #ruby
jenrzzz has joined #ruby
jackiiilong__ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
robotbee has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
robotbee has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jetchisel has quit [Ping timeout: 240 seconds]
dpl has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
ChmEarl has quit [Quit: Leaving]
evdubs_ has joined #ruby
venmx has joined #ruby
evdubs has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
gix has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
pyra has quit [Ping timeout: 250 seconds]
pyra has joined #ruby
jackiiilong__ has joined #ruby
jackiiilong_ has quit [Ping timeout: 246 seconds]
Rudd0 has joined #ruby
robotbee has quit [Ping timeout: 252 seconds]
m27frogy has quit [Ping timeout: 252 seconds]
niv has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
Technodrome has joined #ruby
ur5us has joined #ruby
robotbee has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neshpion has quit [Quit: neshpion]
robotbee has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacts has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
safe has quit [Quit: Leaving]
robotbee has joined #ruby
justBull has quit [Quit: Ping timeout (120 seconds)]
justBull has joined #ruby
zacts has quit [Quit: bbl]
robotbee has quit [Ping timeout: 240 seconds]
jla has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
cd has quit [Quit: cd]
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 246 seconds]
feriman has joined #ruby
feriman has quit [Client Quit]
_nick_ has joined #ruby
jackiiilong_ has joined #ruby
jackiiilong__ has quit [Ping timeout: 252 seconds]
_nick_ has quit [Ping timeout: 246 seconds]
jla has quit [Ping timeout: 252 seconds]
_nick_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jackiiilong__ has joined #ruby
john__ has joined #ruby
jackiiilong__ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jackiiilong__ has joined #ruby
_nick_ has quit [Ping timeout: 246 seconds]
jackiiilong_ has quit [Ping timeout: 252 seconds]
mynameisdebian has quit [Ping timeout: 245 seconds]
Nahra has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
Milos has quit [Ping timeout: 252 seconds]
Milos has joined #ruby
vasanth has joined #ruby
ikke has joined #ruby
Technodrome has joined #ruby
BTRE has quit [Ping timeout: 246 seconds]
BTRE has joined #ruby
m27frogy has joined #ruby
venmx has joined #ruby
alexherbo2 has joined #ruby
<alexherbo2> hello
venmx has quit [Ping timeout: 252 seconds]
<alexherbo2> I have a question about associations in active record; when we say `has_many :patients, through: :appointments`, we can specify the `source` option, which default to `patient`, but what is the value for `class_name` and `foreign_key` in that case?
_nick_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jla has joined #ruby
<alexherbo2> in the has many through there is 2 foreign keys, but only one option
dpl has joined #ruby
jla has quit [Ping timeout: 265 seconds]
dpl has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
napcae has quit [Quit: %bye%]
napcae has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
evdubs__ has joined #ruby
evdubs_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
_nick_ has quit [Remote host closed the connection]
_nick_ has joined #ruby
BSaboia has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #ruby
BSaboia has joined #ruby
jenrzzz has joined #ruby
vasanth has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
shtirlic has joined #ruby
dpl has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
dpl has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
mikecmpbll has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
goepsilongo has joined #ruby
jenrzzz has joined #ruby
jla has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
jenrzzz has joined #ruby
DaRock has quit [Ping timeout: 240 seconds]
dviola has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
venmx has joined #ruby
Technodrome has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
BSaboia has quit [Read error: No route to host]
BSaboia has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
ChmEarl has joined #ruby
jla has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jackiiilong__ has quit [Remote host closed the connection]
jackiiilong__ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
alexherbo2 has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
hiroaki has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
lucasb has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
neshpion has joined #ruby
jenrzzz has joined #ruby
neshpion has quit [Remote host closed the connection]
neshpion has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jla has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jamees has joined #ruby
<jamees> which are online based platform for ruby on rails?
venmx has joined #ruby
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
_nick_ has quit [Remote host closed the connection]
jinie has joined #ruby
kenliten5 has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
venmx has quit [Ping timeout: 265 seconds]
rafadc has joined #ruby
hiroaki has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
robotbee has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jamees has quit [Quit: Connection closed]
cd has joined #ruby
jenrzzz has joined #ruby
venmx has joined #ruby
oddp has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
venmx has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
robotbee has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
Rudd0 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dpl has joined #ruby
<WA9ACE> anybody have a good alternative to gist.github.com that's as barebones as sourcehut?
robotbee has joined #ruby
cuerbot has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
elcuervo has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
venmx has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
kenliten5 has quit [Quit: Leaving]
ByronJohnson has quit [Ping timeout: 240 seconds]
kenliten has joined #ruby
<weaksauce> WA9ACE hastebin or hatebin usually work fine
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
<kenliten> It's there an actual way to 'compile' an application? I mean, like creating a desktop app, so it can run as well in linux environments as window's ones. Thanks in advance!
ByronJohnson has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
alexherbo24 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo24 is now known as alexherbo2
neshpion has quit [Ping timeout: 240 seconds]
neshpion has joined #ruby
Qchmqs has joined #ruby
robotbee has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSaboia has quit [Quit: This computer has gone to sleep]
cliluw has quit [Ping timeout: 240 seconds]
BSaboia has joined #ruby
jenrzzz has joined #ruby
orbyt_ has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ur5us has joined #ruby
jenrzzz has joined #ruby
ap4y has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
cliluw has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
moldorcoder7 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
Qchmqs has quit [Remote host closed the connection]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jenrzzz has joined #ruby
moldorcoder7 has joined #ruby
ShekharReddy has joined #ruby
moldorcoder7 has quit [Excess Flood]
moldorcoder7 has joined #ruby
Rudd0 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
jla has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
venmx has joined #ruby
<havenwood> kenliten: Having a portable GUI is separate from whether it's interpreted or compiled.
<havenwood> kenliten: You can have a portable GUI in Ruby. The GUI library support is pretty spotty compared to say Python.
<havenwood> Many folk do it though.
<havenwood> For fun, took a spike at a dirty Ruby version of Crystal's enum https://crystal-lang.org/reference/syntax_and_semantics/enum.html
<havenwood> Fun it works. A shame I had to add `value` but ¯\_(ツ)_/¯
<weaksauce> fun
<weaksauce> which GUIs do you see in common use havenwood?
<weaksauce> i got a free dragon thing but haven't really played with it yet
<weaksauce> that game library from the rubymotion peeps
<havenwood> weaksauce: haha, I was just trying to figure out how to silence "Announcements" channel on their chat
<havenwood> yeah, DragonRuby looks really fun and very cross platform
venmx has quit [Ping timeout: 240 seconds]
<weaksauce> yeah i had to do that too
<havenwood> weaksauce: Swing or SWT with JRuby gets pretty far—see that time to to time
<havenwood> weaksauce: then usual suspects like Tk, Qt, Fx, Gnome
<weaksauce> no killer GUI then eh
<havenwood> just lots of missing version support and comparatively rough edges
<havenwood> weaksauce: DragonRuby may be the closest
<havenwood> Shoes lost steam
<weaksauce> would be nice to have a quick gui for playstuff
<havenwood> weaksauce: i usually use TK or Shoes for that
<weaksauce> java doesn't really spark joy
<weaksauce> yeah i get annoyed at the setup of them any time i want to quickly get something done and just move on to some other way
<havenwood> TK isn't bad but it's tedious.
<havenwood> weaksauce: Since TK was in the Stdlib, it was my goto.
<havenwood> Now it's adrift.
<havenwood> Anyone see ways to sane this up? Hah. https://gist.github.com/havenwood/2588e1b62a611c722791b5b868bc161c
<havenwood> I guess storing the enums in a Hash to track ::new reverse lookup.
<havenwood> I guess i could get rid of value with #method_missing but uhhhhg.
<havenwood> Lovely thing about not actually using code, the jank is fiiiiine. :P
<weaksauce> hah
<weaksauce> yeah
robotbee has joined #ruby
venmx has joined #ruby
teclator has joined #ruby
teclator has quit [Client Quit]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
<kenliten> Very useful, thank you so much, havenwood
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
bsdbandit-01 has joined #ruby
jenrzzz has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 252 seconds]
LW_Luna has joined #ruby
brigitte has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<pyra> I really wish something like qml-ruby would pick up more attention
<pyra> Actually the ruby gtk3 bindings and glimmer look like maybe the best (most polished) gui gem
bsdbandit-01 has joined #ruby
<pyra> gems*
<ecommence> pyra: Nice!
bsdbandit-01 has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
<pyra> looks like ruby had pretty good qt4 bindings, but that's pretty much eol it seems
<ecommence> It's about time with a new generation X window system. All the existing window managers, sorry to say, do not qualify as "good design".
<ecommence> Technodrome: Howdy!
<pyra> cairo could be used to build impressive guis, but the docs are thin, so you'd probably want to learn cairo in it's native habitat (c) and then transfer that to ruby
<ecommence> pyra: Good point
<pyra> in theory you could do what flutter does in ruby with cairo
<ecommence> I've heard it's supposed to be awesome
<ecommence> Flutter too? Oh man oh man oh man!
<ecommence> Hey can I ask you
<pyra> Yeah flutter is pretty cool, it's very verbose compared to ruby and even js
<pyra> I like things to be as concise as possible
<ecommence> Is it possible to make a soundboard app that can connect to phone calls on your mobile phone?
<pyra> yeah
<ecommence> As a mobile web app, Rails preferably
<ecommence> really?
<ecommence> That's _really_ good news
<pyra> I actually freelance for a company maintaining a gem for that kind of thing
<pyra> telnyx
<ecommence> hehe
<ecommence> you have gotta be kidding me :)
<pyra> lol no it's true
<ecommence> this isn't happening. that's awesome man!
<pyra> hehe that is quite a coincidence
<ecommence> i'm trying to create an app for, who's in my exalted opinion, the world's best pranker
<ecommence> yup
<ecommence> not sure how to structure the UI though
<pyra> probably just use actioncable + vue/react/whatever
<ecommence> I think I need stimulusjs, but I barely know it
<ecommence> indeed!
<pyra> if you want things to be super minimal you could use iodine and sinatra/roda instead of rails, that'd actually make more work for yourself though
<ecommence> telnyx looks great. you're from chicago, also great :)
<pyra> Nah I work remotely
<ecommence> hehe
<ecommence> i'm not that good :)
<ecommence> the roda author, i freakin' love the guy
<ecommence> i see i see
<pyra> yeah he's really awesome
<ecommence> yup
<pyra> I used sequel a lot in a project, really solid
<ecommence> sweet
venmx has quit [Ping timeout: 246 seconds]
<ecommence> May I ask what sort of freelancing you do?
<pyra> Web development stuff usually
<pyra> been focusing on my own stuff lately though
<ecommence> cool
<ecommence> programming only or graphic design too?
<pyra> programming
<ecommence> nice
<ecommence> well, graphic design ain't too far away
<ecommence> you've already chosen ruby, so i know you can choose the right graphic design solutions :)
<pyra> lol
<ecommence> if you could advise me on that app, you would get a lot of fame btw
<ecommence> i'm making it non-profit for the phone losers of america
<ecommence> imho the funniest guy in the world, after sacha baron cohen
<adam12> havenwood: Neat. I wonder why Ruby has never gained an Enum feature.
jackiiilong_ has joined #ruby