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
pull has quit [Quit: Czesc]
lunarkitty has quit [Quit: Connection closed for inactivity]
gr33n7007h has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
e2 has quit [Quit: Stable ZNC provider #bnc4you]
markong has quit [Ping timeout: 268 seconds]
vit has quit [Ping timeout: 268 seconds]
duds- has joined #ruby
<ox1eef_> adam12: id say give it another year, covid is not gone yet
goldfish has joined #ruby
lunarkitty has joined #ruby
crankharder has joined #ruby
crankharder has quit [Quit: leaving]
jetchisel has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
jonathanclarke has quit [Ping timeout: 260 seconds]
goldfish has quit [Ping timeout: 260 seconds]
<adam12> ox1eef_: I wonder where 2022 Rubyconf might be.
<adam12> Oregon maybe.
<adam12> Oh, that's Railsconf. NM.
jonathanclarke has joined #ruby
Rounin has quit [Ping timeout: 268 seconds]
ua_ has quit [Quit: Leaving]
ua_ has joined #ruby
e2 has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
ua_ has quit [Ping timeout: 268 seconds]
ua_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
mdemo has joined #ruby
jpw has joined #ruby
mdemo has quit [Changing host]
mdemo has joined #ruby
reset has quit [Quit: reset]
jetchisel has quit [Ping timeout: 268 seconds]
lunarkitty has joined #ruby
trillp has joined #ruby
jetchisel has joined #ruby
jpw has quit [Remote host closed the connection]
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
aeris has joined #ruby
dohtem has quit [Quit: Connection closed for inactivity]
Rounin has joined #ruby
Guest89 has joined #ruby
<Guest89> Hi, anyone here live in Brasil?
<Guest89> someone?
Guest89 has quit [Client Quit]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
vit has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
unmanbearpig has quit [Ping timeout: 260 seconds]
unmanbearpig has joined #ruby
Busk has joined #ruby
jhawthorn_ has joined #ruby
jhawthorn has quit [Ping timeout: 260 seconds]
duds- has quit [Remote host closed the connection]
duds- has joined #ruby
hololeap_ is now known as hololeap
fweht has joined #ruby
markong has joined #ruby
<fweht> hi, im trying to get react-native running and there seems to be a problem with my cocoapods installation (installed via gem, never used gem before, gem seems to be installed on macos by default). could it be that i havent set up my path correctly? problem is, the folder from `gem environment gempath` doesnt contain `bin`, is this normal?
lunarkitty has quit [Quit: Connection closed for inactivity]
steerpike has quit [Remote host closed the connection]
steerpike has joined #ruby
shuvarek has quit [Remote host closed the connection]
<adam12> fweht: It's normal.
<fweht> adam12: cool, thanks!
<adam12> fweht: What is the problem you're seeing?
<fweht> aah i solved it already, sorry for not updating here! had to do with M1 architecture
<fweht> had to do `sudo arch -x86_64 gem install ffi`
<adam12> Hmm.
<adam12> What was the original error?
<adam12> fweht: What does `gem list ffi` show?
<fweht> sorry my work just started!
trillp has quit [Remote host closed the connection]
Busk has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<adam12> fweht: Interesting. I'm surprise your fix worked, but I wouldn't be surprised if you encounter weird bugs. But I guess only time will tell.
<adam12> fweht: This might be a bug in the FFI library, tho that's the latest version so I'd be surprised by that too.
<fweht> seems fishy to me as well :/
BSaboia has joined #ruby
fusta has joined #ruby
shiru has joined #ruby
shiru has quit [Client Quit]
<Cork> how do one forward possible named arguments from method_missing to .send ?
<Cork> **args works as long as it exists, but not if it is missing and *args fails if any of the arguments are named >_<
<Cork> found it
TomyWork has joined #ruby
Inline has joined #ruby
dohtem has joined #ruby
reset has joined #ruby
fweht has left #ruby [#ruby]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
<havenwood> Cork: The most modern way to pass *everything* is: foo(...)
<havenwood> ...
taupiqueur has joined #ruby
crankharder has joined #ruby
___nick___ has joined #ruby
TomyWork has quit [Quit: Leaving]
jpw has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
markong has quit [Ping timeout: 268 seconds]
crankharder has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
gcd has quit [Remote host closed the connection]
lunarkitty has joined #ruby
pgib has joined #ruby
justache is now known as justUnited
<duds-> on ruby rbot, every time a link is posted i get "warning: URI.escape is obsolete"
Skyfire has quit [Quit: WeeChat 3.3]
<duds-> how fix ;w;
<duds-> trying 2 use dis https://ruby-rbot.org/
<newton> it's obsolete but still works
<newton> but I think CGI.escape is preferred now?
<weaksauce> i remember looking at them and they didn't behave identical
<duds-> weird bc it says that but doesn't return a result when running a command
<duds-> oh does it?
<duds-> maybe it's the permissions then
<newton> still works is probably based off the ruby version tbh it doesn't look like URI.escape is in ruby 3
<duds-> i'm on ruby 2.7.x
<newton> also yeah weaksauce -- the output is different
<duds-> ruby 2.7.0p0 to be exact
<newton> so if you upgrade it'll stop working but otherwise it's just warning you it's deprecated
<weaksauce> which i'm not sure how they can consider that to be a drop in replacement for then
<duds-> alright
<duds-> must be permissions then
<newton> permissions?
<duds-> yeah, rbot permissions, which is what i'm trying to run
<newton> weaksauce, I think the context it's used in is what matters and if it's a viable drop-in
<duds-> so not really related to ruby itself then but the program
<newton> duds-, the warning is from ruby, not rbot
<newton> rbot is using URI.escape and ruby is just telling you it's deprecated
<duds-> thx
<duds-> yeah, but it's not an error; i thought the warning was why it wasn't working, but if it still works despite it, the problem must be on rbot's side (my permissions config)
<newton> ah. np
ur5us has joined #ruby
vit has quit [Quit: Konversation terminated!]
<nakilon> would be cool if CSV lib :converters param could be passed converter per specific column, not just throwing in a bunch
<nakilon> I mean when I want the converter to be applied only to a specific column
<nakilon> duds- there is probably some ruby flag that would supress warnings
vit has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
pgib has quit [Ping timeout: 268 seconds]
___nick___ has quit [Ping timeout: 268 seconds]
Guest5767 has joined #ruby
Guest5767 has quit [Client Quit]
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #ruby
<adam12> there's also the warning gem which can silence specific warnings.
<nakilon> has anyone pasted unicode_plot output to pastebins? it looks awful: https://user-images.githubusercontent.com/2870363/140195388-b625b5fa-ad4d-440d-93b3-8920f48cfc9f.png
lunarkitty has quit [Quit: Connection closed for inactivity]
jetchisel has quit [Ping timeout: 268 seconds]
orbyt has joined #ruby
markong has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
jpw has quit [Remote host closed the connection]
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
jetchisel has joined #ruby
crankharder has joined #ruby
Inline has quit [Ping timeout: 268 seconds]
crankharder has quit [Ping timeout: 268 seconds]
markong has quit [Ping timeout: 260 seconds]
duds- has quit [Remote host closed the connection]
<nakilon> also I wish there was some concatenation capability so I could yield CSV::Table inside flat_map
<nakilon> hm, probably impossible, looks like it needs pure Arrays
markong has joined #ruby
duds- has joined #ruby
<nakilon> > CSV.parse("1,2\n3,4\n5,6", headers: true).reject{}.sample
<nakilon> => #<CSV::Row "1":"3" "2":"4">
<nakilon> > CSV.parse("1,2\n3,4\n5,6", headers: true).to_a.sample
<nakilon> => ["1", "2"]
<nakilon> how do I convert CSV::Table to an array of CSV::Row?
<nakilon> like what it results when I do #reject but in case when I don't need to reject anything
<nakilon> oh, .each.to_a
ua_ has quit [Ping timeout: 260 seconds]