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
SuperLag has quit [Ping timeout: 240 seconds]
Danishman has joined #ruby
SuperLag has joined #ruby
lad has quit [Remote host closed the connection]
lad has joined #ruby
lad has quit [Ping timeout: 258 seconds]
ur5us__ has quit [Ping timeout: 252 seconds]
Danishman has quit [Quit: Leaving]
SuperLag has quit [Ping timeout: 245 seconds]
SuperLag has joined #ruby
weaksauce has joined #ruby
Rounin has quit [Ping timeout: 245 seconds]
goldfish_ has quit [Remote host closed the connection]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
SuperLag has quit [Ping timeout: 256 seconds]
ur5us__ has joined #ruby
SuperLag has joined #ruby
kenliten has joined #ruby
kenliten has quit [Ping timeout: 246 seconds]
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino has joined #ruby
[jamez] has quit [Quit: WeeChat 2.3]
Garb0 has quit [Quit: Garb0]
vaillancourtmax has quit [Ping timeout: 240 seconds]
legahc has quit [Quit: %bye%]
legahc has joined #ruby
SuperLag has quit [Ping timeout: 250 seconds]
rubin55_ has quit [*.net *.split]
Oxfuxxx has quit [*.net *.split]
weyhmueller has quit [*.net *.split]
lzap has quit [*.net *.split]
gcd has quit [*.net *.split]
Milos has quit [*.net *.split]
kaivai has quit [*.net *.split]
tankf33der has quit [*.net *.split]
dyCrazyEd has quit [*.net *.split]
Oxfuxxx has joined #ruby
gcd has joined #ruby
rubin55_ has joined #ruby
tankf33der has joined #ruby
weyhmueller has joined #ruby
lzap has joined #ruby
dyCrazyEd has joined #ruby
Milos has joined #ruby
kaivai has joined #ruby
weyhmueller has quit [Max SendQ exceeded]
weyhmueller has joined #ruby
benjamin- has quit [*.net *.split]
leftylink has quit [*.net *.split]
phenom has quit [*.net *.split]
mbrndtgn has quit [*.net *.split]
_axx has quit [*.net *.split]
uplime has quit [*.net *.split]
caleb has quit [*.net *.split]
jhass|off has quit [*.net *.split]
jhawthorn has quit [*.net *.split]
miah has quit [*.net *.split]
dka has quit [*.net *.split]
dionys has quit [*.net *.split]
Cork has quit [*.net *.split]
_axx7 has joined #ruby
caleb_ has joined #ruby
dka_ has joined #ruby
uplime_ has joined #ruby
mbrndtgn5 has joined #ruby
miah has joined #ruby
dionys has joined #ruby
jhass has joined #ruby
benjaminwil has joined #ruby
jhawthorn has joined #ruby
phenom has joined #ruby
mewfree[m] has quit [Ping timeout: 250 seconds]
uplime_ is now known as uplime
execat has quit [Ping timeout: 250 seconds]
sixecho has quit [Ping timeout: 268 seconds]
Cork has joined #ruby
moo has quit [*.net *.split]
Nowaker has quit [*.net *.split]
hansolo has quit [*.net *.split]
greyrat_ has quit [*.net *.split]
nakilon has quit [*.net *.split]
splud has quit [*.net *.split]
leah2 has quit [*.net *.split]
eam has quit [*.net *.split]
kinduff has quit [*.net *.split]
rodd has quit [*.net *.split]
eam_ has joined #ruby
nowaker_ has joined #ruby
splud has joined #ruby
leah2 has joined #ruby
kinduff4 has joined #ruby
splud has quit [Changing host]
splud has joined #ruby
jhass[m] has quit [Ping timeout: 245 seconds]
hansolo has joined #ruby
ckrailo has quit [Ping timeout: 252 seconds]
leftylink has joined #ruby
moo has joined #ruby
greyrat has joined #ruby
rodd has joined #ruby
dyCrazyEd has quit [Ping timeout: 272 seconds]
shokohsc has quit [Ping timeout: 258 seconds]
shokohsc has joined #ruby
ur5us__ has quit [Ping timeout: 240 seconds]
elf_fortrez has joined #ruby
elf_fortrez has quit [Quit: Client closed]
jhass[m] has joined #ruby
flooose has joined #ruby
ckrailo has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
constxd has joined #ruby
Deknos has quit [Ping timeout: 245 seconds]
constxd has quit [Ping timeout: 248 seconds]
execat has joined #ruby
mewfree[m] has joined #ruby
lad has joined #ruby
sixecho has joined #ruby
cybniv has quit [Ping timeout: 252 seconds]
flooose has quit [Ping timeout: 268 seconds]
niv has joined #ruby
elf_fortrez has joined #ruby
elf_fortrez has quit [Write error: Broken pipe]
elf_fortrez has joined #ruby
Rounin has joined #ruby
leah2 has quit [Quit: trotz alledem!]
leah2 has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
Oxfuxxx has quit [Quit: brb]
elf_fortrez has quit [Ping timeout: 246 seconds]
_ht has joined #ruby
dyCrazyEd has joined #ruby
Oxfuxxx has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
ur5us__ has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
nakilon has joined #ruby
perrierjouet has joined #ruby
henninb has joined #ruby
ur5us__ has quit [Ping timeout: 272 seconds]
constxd has joined #ruby
lad has quit [Ping timeout: 268 seconds]
Oxfuxxx has quit [Ping timeout: 256 seconds]
Oxfuxxx has joined #ruby
vaillancourtmax has joined #ruby
_axx7 is now known as _axx
aeri- has joined #ruby
aeris has quit [Ping timeout: 244 seconds]
vaillancourtmax has quit [Ping timeout: 276 seconds]
Oxfuxxx has quit [Ping timeout: 256 seconds]
Oxfuxxx has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 258 seconds]
aeri- is now known as aeris
darkxploit has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.2]
henninb has quit [Quit: leaving]
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
aeris has joined #ruby
random-jellyfish has joined #ruby
<random-jellyfish> how can I delete elements from an array given a list of indexes? e.g. l=[1,2,3,4,5] and the list of indexes idxs=[1,3] I want to get [1,3,5]
<nakilon> maybe something like idxs.reverse_each &l.method(:delete_at)
<nakilon> or idxs.reverse_each{ |i| l.delete_at i }
Cork has quit [Quit: .]
<rg> i prefer sth like: l.reject.with_index { idxs.include?(_2) }
Cork has joined #ruby
<nakilon> so bad JSON does not support Array as a key -- looks like I have to deparse it additionally on JS side
<nakilon> *parse
<jhass[m]> you'd be doing something[[1, 2, 3]]? If never I'd argue for [[[1, 2,3], "foo"], [[2, 3, 4], "bar"], ...]
Oxfuxxx_ has quit [Ping timeout: 258 seconds]
aesthetikx has joined #ruby
Oxfuxxx has joined #ruby
lucasb has joined #ruby
Oxfuxxx has quit [Ping timeout: 248 seconds]
Oxfuxxx has joined #ruby
<nakilon> I want to store data with YAML::Store so I just call transaction{} and it writes the file for me and finds the key I need
<nakilon> hmmm though maybe I won't need key lookups
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
lessless has joined #ruby
jwr has joined #ruby
dhollinger has joined #ruby
coffeejunk has joined #ruby
neshpion has joined #ruby
flooose has joined #ruby
<random-jellyfish> is it possible to somehow bundle a webapp with a ruby/sinatra backend and some html/css/js frontend into an adroid app?
gr33n7007h has joined #ruby
<adam12> random-jellyfish: Maybe with jRuby? http://ruboto.org
<adam12> random-jellyfish: you'd probably be on your own almost always tho. I don't know if it has much adoption.
<random-jellyfish> adam12: the default possibility is to install Termux and then run the app from there, or create an app with termux as a template...but the apk size would be too large
<random-jellyfish> it would have to include a full ruby+gems installation
<random-jellyfish> plus whatever Termux has
random-jellyfish has quit [Ping timeout: 246 seconds]
Guest71 has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
SuperLag has joined #ruby
mrkz_c has joined #ruby
vaillancourtmax has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
Guest71 has quit [Ping timeout: 246 seconds]
niv has joined #ruby
desnudopenguino has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
vaillancourtmax has quit [Ping timeout: 268 seconds]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
lad has joined #ruby
<jwr> I'm building a container in which i install git and some other dependencies and then run `bundle install`, and bundle is complaining that git isn't installed. Anybody know what's going on with this? https://pastebin.com/raw/r73nEGPa
<aesthetikx> looks like the error might be earlier jwr, /root is not writeable
<aesthetikx> i think its not saying git is installed, but rather git cannot clone to /app
<aesthetikx> well maybe not
<jwr> aesthetikx: that /root is not writable thing stuck out to me as well. the weird thing though is that root is indeed writable. https://pastebin.com/raw/qJ13mTec
<aesthetikx> in between steps 15 and 20 do you change USERs ?
<aesthetikx> also the people over in #docker helped me out this morning, they may be of assistance too
<jwr> aesthetikx: there's no change of USER. it's a multi-stage docker build where i'm building the gems and then later copying them out to another container, so in this build everything runs as root.
roadt has joined #ruby
<weaksauce> is /app writable?
dka_ has quit [Quit: My Ex-Girlfriend once told me: I'm not a slut, I'm just popular]
<jwr> it seems to be because i'm able to copy my Gemfile into it, and `bundle install` knows that one of my gems is in github.
<weaksauce> idk maybe post your dockerfile
Guest7145 has joined #ruby
Guest7145 is now known as random-jellyfish
random-jellyfish has quit [Changing host]
random-jellyfish has joined #ruby
random-jellyfish has quit [Quit: Client closed]
orbyt has joined #ruby
dka has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
nmollerup has joined #ruby
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt has joined #ruby
rhe has quit [Quit: Ping timeout (120 seconds)]
rhe has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunarkitty has joined #ruby
gr33n7007h has quit [Ping timeout: 276 seconds]
aesthetikx has quit [Read error: Connection reset by peer]
aesthetikx has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
pgib has joined #ruby
_ht has quit [Remote host closed the connection]
roadie has joined #ruby
neshpion has quit [Quit: neshpion]
neshpion has joined #ruby
Guest63 has joined #ruby
Guest63 has quit [Client Quit]
SuperLag has quit [Ping timeout: 256 seconds]
qunzhong_luxian has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
SuperLag has joined #ruby
xelkarin has joined #ruby
<xelkarin> I'm gettin an warning stating that `Net::HTTPServerException` is deprecated. I'm not sure what to use instead.
vaillancourtmax has joined #ruby
roadie has quit [Ping timeout: 256 seconds]
<nakilon> side note: I always say there is no difference between "server error" and "client error"
<nakilon> there is this trivia question that people sometimes ask on interview "which http errors are server and what are client" and want to hear from you the "server errors are 5**, client are 4**" but this is neither useful nor true
<nakilon> the http response code barely correlates with neither "on which side the problem occured" nor with "which side should check if they do anything wrong"
<nakilon> in practice
ur5us__ has joined #ruby
flooose has quit [Ping timeout: 258 seconds]
<jhass[m]> 424 is a great example
<jhass[m]> definitely not a client error
roadie has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
qunzhong_luxian has quit [Ping timeout: 268 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
ua_ has quit [Ping timeout: 258 seconds]
qunzhong_luxian has joined #ruby
xelkarin has quit [Quit: WeeChat 3.1]
qunzhong_luxian has quit [Ping timeout: 272 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 248 seconds]
jwr has quit [Remote host closed the connection]
roadie has joined #ruby
roadie has quit [Ping timeout: 268 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 268 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 248 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 248 seconds]
qunzhong_luxian has joined #ruby