adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
vaillancourtmax has joined #ruby
shokohsc has quit [Read error: Connection reset by peer]
belak51 is now known as belak
shokohsc has joined #ruby
jetchisel has joined #ruby
drincruz_ has quit [Ping timeout: 256 seconds]
Rounin has quit [Ping timeout: 268 seconds]
drincruz_ has joined #ruby
ur5us__ has quit [Ping timeout: 272 seconds]
drincruz_ has quit [Ping timeout: 272 seconds]
lad has quit [Ping timeout: 252 seconds]
SuperLag has joined #ruby
SuperLag has quit [Client Quit]
ur5us__ has joined #ruby
Garb0 has joined #ruby
smilingfrog has quit [Quit: Leaving]
xall has quit [Quit: Client closed]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jetchisel has joined #ruby
lesihctej has joined #ruby
jetchisel has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
factor has quit [Read error: Connection reset by peer]
drincruz_ has joined #ruby
factor has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
Garb0 has quit [Ping timeout: 240 seconds]
Garb0 has joined #ruby
Garb0 has quit [Client Quit]
lad has joined #ruby
drincruz_ has joined #ruby
ur5us__ has quit [Ping timeout: 250 seconds]
drincruz_ has quit [Ping timeout: 258 seconds]
bandithijo has joined #ruby
vaillancourtmax has quit [Ping timeout: 245 seconds]
Garb0 has joined #ruby
ur5us__ has joined #ruby
gggp__ has joined #ruby
gggp__ is now known as gggp
ur5us__ has quit [Remote host closed the connection]
ur5us__ has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
aighearach has quit [Remote host closed the connection]
drincruz_ has joined #ruby
Deknos has quit [Quit: Deknos]
drincruz_ has quit [Ping timeout: 258 seconds]
bandithijo has quit [Quit: WeeChat 3.2-rc1]
ur5us__ has quit [Ping timeout: 240 seconds]
forvelin has joined #ruby
ur5us__ has joined #ruby
ur5us__ has quit [Ping timeout: 256 seconds]
gggp_ has joined #ruby
gggp has quit [Ping timeout: 258 seconds]
_ht has joined #ruby
teclator has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
jmcgnh has quit [Ping timeout: 245 seconds]
Rounin has joined #ruby
jmcgnh has joined #ruby
TomyWork has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 245 seconds]
gggp__ has quit [Read error: Connection reset by peer]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 252 seconds]
goepsilongo has quit [Read error: Connection reset by peer]
ur5us__ has joined #ruby
ur5us__ has quit [Ping timeout: 240 seconds]
gggp has joined #ruby
gggp_ has joined #ruby
lesihctej has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
gggp has quit [Ping timeout: 258 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
billionaire has joined #ruby
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 240 seconds]
drincruz_ has joined #ruby
rhe has quit [Quit: Ping timeout (120 seconds)]
rhe has joined #ruby
vaillancourtmax has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx_ has quit [Read error: Connection reset by peer]
Oxfuxxx has quit [Ping timeout: 245 seconds]
gggp__ has joined #ruby
Oxfuxxx has joined #ruby
gggp_ has quit [Ping timeout: 258 seconds]
Oxfuxxx has quit [Quit: leaving]
Oxfuxxx has joined #ruby
qk1z has quit [Ping timeout: 252 seconds]
Oxfuxxx has quit [Ping timeout: 245 seconds]
Oxfuxxx has joined #ruby
jetchisel has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
factor has quit [Read error: Connection reset by peer]
factor has joined #ruby
factor has quit [Read error: Connection reset by peer]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 258 seconds]
factor has joined #ruby
vaillancourtmax has quit [Ping timeout: 250 seconds]
gearnode has quit [Quit: WeeChat 3.2]
gggp_ has quit [Ping timeout: 256 seconds]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
vaillancourtmax has joined #ruby
factor has quit [Read error: Connection reset by peer]
factor has joined #ruby
factor has quit [Client Quit]
factor has joined #ruby
gggp has joined #ruby
Oxfuxxx has quit [Ping timeout: 268 seconds]
sixecho has joined #ruby
<sixecho> anyone can recommend a ruby gem that facilitates interactive prompts in the terminal - and also something that lets you choose from a list (using arrows/etc)
<rapha> boss: "could you quickly repair this zip files". me: "sure, let me just quickly brush up on my hollywood bullshit bingo talk skills!"
<rapha> these*
vaillancourtmax has quit [Ping timeout: 256 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<sixecho> caleb: excellent, thanks!
<nakilon> cool, is it better than tty-prompt?
<nakilon> I'm currently lazily making a gem that does a dialog where you are supposed to configure multiple options
mrkz_c has joined #ruby
orbyt has joined #ruby
lunarkitty has joined #ruby
Oxfuxxx has joined #ruby
joast has quit [Quit: Leaving.]
lad has quit [Remote host closed the connection]
Garb00 has joined #ruby
Garb0 has quit [Ping timeout: 272 seconds]
joast has joined #ruby
<adam12> I'd also recommend tty-prompt
gggp_ has joined #ruby
gggp has quit [Ping timeout: 272 seconds]
plujon has joined #ruby
<rg> tty-* gems i've used were quite buggy but been a while
<weaksauce> cli-ui is backed by shopify so i'd assume it has some decent engineering behind it
<nakilon> I didn't like something about it, either some API decision or an update I saw when was using it the first time; but didn't know any alternatives
<nakilon> I wonder how to test it
TomyWork has quit [Remote host closed the connection]
<weaksauce> nakilon perhaps some of their own tests would inform a bit
<nakilon> yeah looks painful though with those characters https://github.com/Shopify/cli-ui/blob/master/test/cli/ui/progress_test.rb
<weaksauce> fundamental complexity of the terminal that
<nakilon> however unit tests aren't the same as tests one would make for his program that uses this lib
vaillancourtmax has joined #ruby
gggp_ has quit [Ping timeout: 258 seconds]
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 245 seconds]
Garb00 has quit [Quit: Garb00]
dostoyevsky2 has quit [Ping timeout: 240 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
desnudopenguino has joined #ruby
fmccann has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
lunarkitty has joined #ruby
<nakilon> I hate when I do '| head' and it says in `write': Broken pipe @ io_writev - <STDOUT> (Errno::EPIPE)
<nakilon> is there any neat way to avoid this?
<leah2> doesnt happen here oO
billionaire has quit [Quit: Connection closed for inactivity]
<leah2> does adding Signal.trap("SIGPIPE", "SYSTEM_DEFAULT") help?
<nakilon> didn't try
<nakilon> simple way to reproduce: ruby -e '1000.times{ puts rand }' | head -10
<vaillancourtmax> Indeed, that's a broken pipe for me too
<weaksauce> yeah i mean that makes sense
<vaillancourtmax> However, this works just fine: ruby -e '1000.times{ puts rand }' | cat | head
<vaillancourtmax> Something about the output straight from Ruby breaks head
<rg> works fine for me on ruby3
fmccann has quit [Quit: Exeunt!]
<rg> breaks on ruby2
<leah2> vaillancourtmax: well cat buffers more
<leah2> hm, maybe it changed in ruby3
<rg> looks like it
<leah2> perl quits silently too
<vaillancourtmax> Yeah indeed leah2, my mistake
xall has joined #ruby
<adam12> This was a recent bug fix, IIRC.
<adam12> Oh jeez. Only recent in my memory I guess. https://github.com/ruby/ruby/commit/6f28ebd585fba1aff1c9591ced08ed11b68ba9e3
xall92 has joined #ruby
xall has quit [Ping timeout: 246 seconds]
crankharder has joined #ruby
<rg> cool
kaleido has quit [Ping timeout: 268 seconds]
vaillancourtmax has quit [Ping timeout: 240 seconds]
_ht has quit [Remote host closed the connection]
dostoyevsky2 has joined #ruby
vaillancourtmax has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx_ has quit [Read error: Connection reset by peer]
Oxfuxxx has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
crankharder has quit [Quit: leaving]
Oxfuxxx_ has joined #ruby
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
<leah2> INT2FIX(SIGPIPE) - INT2FIX(0) // what is that good for?
Oxfuxxx has quit [Ping timeout: 276 seconds]
<leah2> ah hm
<leah2> why not use #else :p
vaillancourtmax has quit [Ping timeout: 258 seconds]
xall92 is now known as xall
Oxfuxxx_ has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
foxxx0 has quit [Ping timeout: 240 seconds]
foxxx0 has joined #ruby
ur5us__ has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
<rg> elixir looks pretty cool
SuperLag has quit [Remote host closed the connection]
va5c0 has joined #ruby
SuperLag has joined #ruby
qk1z has joined #ruby
ur5us__ has quit [Ping timeout: 240 seconds]
va5c0 has quit [Ping timeout: 258 seconds]
ur5us__ has joined #ruby
<newton> I wrote a little elixir recently and enjoyed it
gggp_ has joined #ruby
gggp__ has joined #ruby
drincruz has quit [Ping timeout: 252 seconds]
gggp_ has quit [Ping timeout: 272 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 250 seconds]