havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 3.0.0-preview-1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
troulouliou_dev has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
dfucci has joined #ruby
Rudd0 has quit [Ping timeout: 264 seconds]
Iacob has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
roadt has quit [Read error: Connection reset by peer]
Iacob has quit [Client Quit]
dfucci has quit [Ping timeout: 265 seconds]
ur5us_ has quit [Quit: Leaving]
ellcs1 has quit [Ping timeout: 260 seconds]
r29v has quit [Quit: r29v]
<havenwood> MadLamb: What's your blocklist? A series of string matches? Have an example?
<havenwood> MadLamb: What database, assuming by "object" you mean a Rails object?
<havenwood> MadLamb: If you're using Postgres, index and query trigrams: https://www.postgresql.org/docs/current/pgtrgm.html
<havenwood> Works great.
ramfjord has joined #ruby
_whitelogger has joined #ruby
Xiti has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 260 seconds]
MadLamb has quit [Remote host closed the connection]
Xiti has joined #ruby
cliluw has quit [Ping timeout: 246 seconds]
cliluw has joined #ruby
aandrew has joined #ruby
elxbarbosa has joined #ruby
_whitelogger has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
lucasb has quit [Quit: Connection closed for inactivity]
Technodrome has joined #ruby
<elxbarbosa> HAHAHA
<elxbarbosa> oh, im loving learning all array operations
<elxbarbosa> 20 so far
cthulchu has quit [Ping timeout: 264 seconds]
elxbarbosa has quit [Ping timeout: 246 seconds]
roshanavand_ has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
roshanavand_ is now known as roshanavand
gitter1234 has quit [Quit: Connection closed for inactivity]
gix has joined #ruby
gix- has quit [Ping timeout: 264 seconds]
NightMonkey has quit [Quit: ZNC - http://znc.in]
_whitelogger has joined #ruby
drincruz has joined #ruby
davispuh has quit [Read error: Connection reset by peer]
davispuh has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
napcae has quit [Quit: %bye%]
chromis has joined #ruby
cliluw has quit [Ping timeout: 265 seconds]
napcae has joined #ruby
chouhoulis has quit [Remote host closed the connection]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ritalinona has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
ritalinona has quit [Client Quit]
elcuervo has quit [Ping timeout: 256 seconds]
ChmEarl has quit [Quit: Leaving]
Rudd0 has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
elcuervo has joined #ruby
braincrash has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
factormystic has joined #ruby
reyfi9e has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
reyfi9e has joined #ruby
adu has joined #ruby
Rudd0 has quit [Remote host closed the connection]
zacts has joined #ruby
Swyper has joined #ruby
Rudd0 has joined #ruby
Swyper has quit [Remote host closed the connection]
bocaneri has joined #ruby
w10x12 has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ruby
akem has joined #ruby
reyfi9e has quit [Quit: Konversation term]
zacts has quit [Quit: zacts]
jenrzzz has quit [Ping timeout: 272 seconds]
braincrash has quit [Ping timeout: 272 seconds]
bocaneri is now known as ^Sauvin^
schne1der has joined #ruby
imode has quit [Ping timeout: 272 seconds]
schne1der has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ruby
adu has quit [Quit: adu]
cadeskywalker has quit [Ping timeout: 256 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
cadeskywalker has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
akem has quit [Remote host closed the connection]
baojg has quit []
cd has quit [Quit: cd]
claudiuinberlin has joined #ruby
akem has joined #ruby
schne1der has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
Caerus has quit [Ping timeout: 260 seconds]
Caerus has joined #ruby
subu has joined #ruby
<subu> hi
subu has quit [Quit: Leaving]
schne1der has quit [Ping timeout: 258 seconds]
ellcs1 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
teclator has joined #ruby
weaksauce has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
Technodrome has joined #ruby
alexherbo2 has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
roshanavand_ has joined #ruby
roshanavand_ is now known as roshanavand
roshanavand has quit [Ping timeout: 246 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> I'm pretty sure this is a crappy design pattern with block
<bonhoeffer> i'm so confused as it has been awhile with rails/ruby
ellcs1 has quit [Ping timeout: 260 seconds]
alexherbo20 has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo20 is now known as alexherbo2
jeromelanteri has joined #ruby
SunWuKung has quit [Ping timeout: 260 seconds]
drincruz has joined #ruby
kristian_on_linu has joined #ruby
supercoven_ has joined #ruby
supercoven_ has quit [Max SendQ exceeded]
supercoven_ has joined #ruby
supercoven_ has quit [Max SendQ exceeded]
supercoven_ has joined #ruby
supercoven_ has quit [Max SendQ exceeded]
supercoven has quit [K-Lined]
bonhoeffer has quit [Ping timeout: 245 seconds]
akem has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
Rudd0 has quit [Ping timeout: 256 seconds]
Swyper has joined #ruby
dualfade has quit [Ping timeout: 256 seconds]
Swyper_ has joined #ruby
dualfade has joined #ruby
Swyper has quit [Ping timeout: 260 seconds]
claudiuinberlin has quit [Ping timeout: 246 seconds]
dualfade_ has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
dualfade_ has quit [Client Quit]
dualfade has joined #ruby
ellcs1 has joined #ruby
akem has joined #ruby
yxhuvud has quit [*.net *.split]
s_ has quit [*.net *.split]
bougyman has quit [*.net *.split]
Romain[m]1 has quit [*.net *.split]
ruby[bot] has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
badeball has quit [*.net *.split]
ruby[bot] has joined #ruby
bougyman has joined #ruby
s_ has joined #ruby
DarthGandalf has joined #ruby
salvor has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
zenspider has quit [Ping timeout: 246 seconds]
zenspider has joined #ruby
Romain[m]1 has joined #ruby
salvor has joined #ruby
badeball has joined #ruby
yxhuvud has joined #ruby
elxbarbosa has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
Swyper_ has quit [Ping timeout: 260 seconds]
Swyper has joined #ruby
jeromelanteri has quit [Remote host closed the connection]
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
Swyper_ has joined #ruby
Swyper has quit [Read error: Connection reset by peer]
jeromelanteri has joined #ruby
Swyper_ has quit [Ping timeout: 240 seconds]
davispuh has joined #ruby
dionysus69 has joined #ruby
ua has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
ellcs1 has quit [Ping timeout: 260 seconds]
Swyper has joined #ruby
alexherbo28 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo28 is now known as alexherbo2
ellcs1 has joined #ruby
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo21 has joined #ruby
alexherbo21 is now known as alexherbo2
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
kristian_on_linu has quit [Remote host closed the connection]
ellcs1 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
cb_ has joined #ruby
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
cb_ has quit [Ping timeout: 256 seconds]
Swyper has quit [Remote host closed the connection]
cb_ has joined #ruby
impermanence has quit [Quit: Connection closed]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elxbarbosa has quit [Remote host closed the connection]
davispuhh has joined #ruby
davispuh has quit [Ping timeout: 240 seconds]
davispuhh has quit [Excess Flood]
davispuh has joined #ruby
alfiemax has joined #ruby
Technodrome has joined #ruby
impermanence has joined #ruby
chouhoulis has joined #ruby
ChmEarl has joined #ruby
ellcs1 has joined #ruby
znz_jp has quit [Ping timeout: 260 seconds]
ellcs1 has quit [Ping timeout: 240 seconds]
infernix has joined #ruby
Rudd0 has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
davispuhh has joined #ruby
davispuh has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
Arkantos has joined #ruby
Arkantos has quit [Client Quit]
Arkantos has joined #ruby
GankMove has quit [Read error: Connection reset by peer]
duderonomy has quit [Remote host closed the connection]
duderonomy has joined #ruby
cliluw has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
banisterfiend has joined #ruby
bmurt has quit [Ping timeout: 256 seconds]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
gitter1234 has joined #ruby
jenrzzz has joined #ruby
akem has quit [Ping timeout: 260 seconds]
akem has joined #ruby
akem_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
akem has quit [Ping timeout: 240 seconds]
ua has joined #ruby
dionysus69 has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
bmurt has joined #ruby
trevoke has joined #ruby
bmurt has quit [Client Quit]
jenrzzz has joined #ruby
<trevoke> Hi folks, I'm trying to play with RBS - I just installed ruby3 preview from source, and wrote a very simple program (one class, one method, returns a string) and created a .rbs file in the same directory. And I'm not totally sure how to run the type checker from here?
<trevoke> I expect it to be something like `rbs -I myfile.rb validate` but .. I'm not sure, and I don't know where to go find the documentation. The rbs repo on github doesn't seem to have the answer (or I didn't find the right documentation)
jenrzzz has quit [Ping timeout: 265 seconds]
w10x12 has joined #ruby
weaksauce has joined #ruby
ua_ has joined #ruby
ua has quit [Ping timeout: 260 seconds]
Mia has quit [Ping timeout: 260 seconds]
gueorgui_ has joined #ruby
gueorgui has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
brendan- has joined #ruby
cnsvc has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
orbyt_ has joined #ruby
banisterfiend has joined #ruby
mnathani has joined #ruby
imode has joined #ruby
BH23 has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
Caerus has quit [Ping timeout: 265 seconds]
Caerus has joined #ruby
cd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
<apotheon> trevoke: I'm not entirely clear what rbs is supposed to do.
<apotheon> I read most of the README.
<apotheon> still not sure
alexherbo2 has quit [Ping timeout: 256 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
cb_ has quit [Ping timeout: 240 seconds]
va5c0 has quit [Quit: WeeChat 2.9]
ellcs1 has joined #ruby
va5c0 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
jerome___ has joined #ruby
va5c0 has quit [Quit: WeeChat 2.9]
va5c0 has joined #ruby
gix has joined #ruby
jeromelanteri has quit [Ping timeout: 246 seconds]
gix- has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jerome___ has quit [Ping timeout: 258 seconds]
jeromelanteri has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
jerome___ has joined #ruby
jeromelanteri has quit [Ping timeout: 260 seconds]
weaksauce has joined #ruby
<trevoke> apotheon: Based on that blog entry "the future of typing in Ruby" from the Square blog, I expect rbs to be something like .. Uh .. Well, basically close to Erlang/Elixir's typespecs
dviola has quit [Quit: WeeChat 2.9]
<trevoke> Buuuut obviously I'm trying to use it that way, and rbs *does* have an "ast" command, but it doesn't seem connected to any kind of "useful" output yet?
alexherbo2 has joined #ruby
<apotheon> Judging by the README, it seems like something one uses when writing code, not to verify something after the code is written.
<apotheon> I'm not familiar with Erland and Elixir.
<apotheon> I know of them, of course, but haven't used them.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
elxbarbosa has joined #ruby
elxbarbosa has quit [Client Quit]
TCZ has joined #ruby
elxbarbosa has joined #ruby
<elxbarbosa> hey, what is the correct way to make ARGV to treat a path as a single string?
<elxbarbosa> i pass it "/home/elxbarbosa/Musica/Garoto - Choro" and it returns "/home/elxbarbosa/Musica/Garoto"
<elxbarbosa> that "- Choro" is in Thesecond index
<trevoke> Pass it in quotes like you just did here
<elxbarbosa> ["/home/elxbarbosa/Musica/Garoto" "- Choro"]
<trevoke> Alternatively try putting a backslash before each space
<elxbarbosa> I passed it: $ cero media play "/home/elxbarbosa/Musica/Garoto - Choro nº 1 & Choro nº 2.ogg"
<elxbarbosa> trevoke: but that path is unknown till user pass it
<trevoke> Try "Garoto\ -\ Choro" etc
<elxbarbosa> in most internet tutorial passing ARGV "test1" "test2 test3" works ["test1" "test2 test3]
va5c0 has quit [Quit: WeeChat 2.9]
<elxbarbosa> still returning: ["media", "play", "/home/elxbarbosa/Musica/Djent/BORN", "OF", "OSIRIS", "-", "Illusionist-_4era_BMdM8.ogg"]
<trevoke> For me, `ruby foo.rb test test2 "test3 "test4"` properly prints out test3 and test4 in the same string
<elxbarbosa> trevoke: weird, i wrote a simple test file and it passed it correctly... I wonder what I did wrong
<trevoke> Are you using the opts library to parse arguments?
<elxbarbosa> nah, just ARGV
<trevoke> Weird. I got nothin' for you, sorry.
<elxbarbosa> trevoke: I know why, its the way I call my gem that is doing that... thanks for helping, tho! :)
<trevoke> elxbarbosa: I'm glad you found the root cause
<elxbarbosa> trevoke: the fix is bash $"@" instead of ${@}
<elxbarbosa> lol
<elxbarbosa> I still have to learn how to "install" my gem as binary
<elxbarbosa> like when we call bundler in shell
<trevoke> elxbarbosa: you define an executable in the gemspec: https://guides.rubygems.org/specification-reference/
<trevoke> oh my bad, here's a better link: https://guides.rubygems.org/specification-reference/#executables
<elxbarbosa> trevoke: oof, thanks again, lol2
<trevoke> elxbarbosa: np :)
jerome___ has quit [Quit: Leaving]
akem has joined #ruby
akem_ has quit [Ping timeout: 260 seconds]
integral has quit [Read error: Connection reset by peer]
integral has joined #ruby
d10n-work has quit [Read error: Connection reset by peer]
d10n-work has joined #ruby
elxbarbosa has quit [Ping timeout: 246 seconds]
ellcs1 has quit [Ping timeout: 240 seconds]