havenwood changed the topic of #ruby to: Ruby 3.3.1, 3.2.4, 3.4.0-preview1 https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
reset has quit [Ping timeout: 272 seconds]
reset has joined #ruby
sagax has quit [Ping timeout: 252 seconds]
konsolebox has joined #ruby
ringo___ has quit [Ping timeout: 268 seconds]
ringo___ has joined #ruby
reset has quit [Quit: reset]
manveru8 has joined #ruby
OverCoder0 has joined #ruby
phryk_ has joined #ruby
moo- has joined #ruby
entropy has joined #ruby
georgemp_ has joined #ruby
bhaak_ has joined #ruby
deriamis_ has joined #ruby
centurio1 has joined #ruby
CanuteTheGreat has quit [*.net *.split]
moo has quit [*.net *.split]
georgemp has quit [*.net *.split]
deriamis has quit [*.net *.split]
brw has quit [*.net *.split]
gsg has quit [*.net *.split]
phryk has quit [*.net *.split]
mweckbecker has quit [*.net *.split]
manveru has quit [*.net *.split]
bhaak has quit [*.net *.split]
entropie has quit [*.net *.split]
OverCoder has quit [*.net *.split]
centurion has quit [*.net *.split]
manveru8 is now known as manveru
OverCoder0 is now known as OverCoder
entropy is now known as entropie
mweckbecker has joined #ruby
CanuteTheGreat has joined #ruby
gsg has joined #ruby
brokkoli_origina has quit [Read error: Connection reset by peer]
brokkoli_origina has joined #ruby
Tempesta has joined #ruby
Pixi__ has joined #ruby
alexisg_ has joined #ruby
alexisg has quit [Ping timeout: 240 seconds]
alexisg_ is now known as alexisg
adam120 has joined #ruby
Goodbye_Vincent1 has joined #ruby
away has joined #ruby
joto5 has joined #ruby
twopoint718_ has joined #ruby
integral_ has joined #ruby
ollysmith_ has joined #ruby
vigumnov has joined #ruby
t1|Mike has joined #ruby
rhe1 has joined #ruby
jmcantrell_ has joined #ruby
pounce_ has joined #ruby
jposer_ has joined #ruby
constxqt has joined #ruby
matta_ has joined #ruby
lesihctej has joined #ruby
hwrd_ has joined #ruby
whereiseveryone_ has joined #ruby
toonlink_ has joined #ruby
eax__ has joined #ruby
sphex_ has joined #ruby
jbg_ has joined #ruby
Exagone313 has joined #ruby
helveticamono_ has joined #ruby
aindilis_ has joined #ruby
Hobbyboy|BNC has joined #ruby
pookie has joined #ruby
BSaboia_ has joined #ruby
mx has quit [Ping timeout: 260 seconds]
constxd has quit [Ping timeout: 260 seconds]
quintasan_ has joined #ruby
ih8u1 has joined #ruby
ih8u has quit [Ping timeout: 268 seconds]
ih8u1 is now known as ih8u
CanuteTheGreat has quit [*.net *.split]
mweckbecker has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
xdminsy has quit [*.net *.split]
dostoyevsky2 has quit [*.net *.split]
kjetilho has quit [*.net *.split]
braxas has quit [*.net *.split]
mjones has quit [*.net *.split]
Exa has quit [*.net *.split]
splud has quit [*.net *.split]
eof has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
jtperreault has quit [*.net *.split]
newton has quit [*.net *.split]
bastelfreak has quit [*.net *.split]
Exagone313 is now known as Exa
t1|Mike is now known as mjones
braxas has joined #ruby
xdminsy has joined #ruby
eax_ has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
BSaboia has quit [*.net *.split]
whereiseveryone has quit [*.net *.split]
Goodbye_Vincent has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
jposer has quit [*.net *.split]
twopoint718 has quit [*.net *.split]
integral has quit [*.net *.split]
toonlink has quit [*.net *.split]
hwrd has quit [*.net *.split]
matta has quit [*.net *.split]
Pixi` has quit [*.net *.split]
ollysmith has quit [*.net *.split]
rhe has quit [*.net *.split]
victori has quit [*.net *.split]
adam12 has quit [*.net *.split]
patrick has quit [*.net *.split]
sphex has quit [*.net *.split]
quintasan has quit [*.net *.split]
jbg has quit [*.net *.split]
nikkys has quit [*.net *.split]
pounce has quit [*.net *.split]
Fusl has quit [*.net *.split]
jetchisel has quit [*.net *.split]
aindilis has quit [*.net *.split]
joto has quit [*.net *.split]
helveticamono has quit [*.net *.split]
Byteflux has quit [*.net *.split]
jposer_ is now known as jposer
adam120 is now known as adam12
pounce_ is now known as pounce
patrick_ is now known as patrick
joto5 is now known as joto
eax__ is now known as eax_
matta_ is now known as matta
Goodbye_Vincent1 is now known as Goodbye_Vincent
toonlink_ is now known as toonlink
jmcantrell_ is now known as jmcantrell
twopoint718_ is now known as twopoint718
integral_ is now known as integral
rhe1 is now known as rhe
whereiseveryone_ is now known as whereiseveryone
Hobbyboy|BNC is now known as Hobbyboy
Pegazusoi-` has joined #ruby
<Pegazusoi-`> god bless super nets irc network
<Pegazusoi-`> Pegazusoi-` xdminsy braxas ih8u quintasan_ BSaboia_ pookie Hobbyboy aindilis_ helveticamono_ Exa jbg_ sphex_ eax_ toonlink whereiseveryone hwrd_ lesihctej matta constxqt jposer pounce jmcantrell rhe mjones vigumnov ollysmith_ integral twopoint718 joto away Goodbye_Vincent adam12 alexisg Pixi__ Tempesta brokkoli_origina gsg centurio1 deriamis_ bhaak_ georgemp_ entropie moo- phryk_ OverCoder
<Pegazusoi-`> manveru ringo___ konsolebox FetidToot3 ruby[bot] weaksauce factor rvalue Quiet-Oil9262 Thanzex0 tarel2 reffle ua_ r3m matoro Vonter Inline graemefawcett Bounga Momentum g_sg slondr coffeejunk vls lucerne smp whysthatso125070 ruby-eval joako dalan03822833508 vanfanel64 c10l havenwood cxl desnudopenguino trillion_exabyte [0x1eef] eam kapil ghostbuster dannyAAM Furai fercell_ weyhmueller Fridtjof
<Pegazusoi-`> Rounin cleo Starfoxxes whiteman809 kaivai sarna jvalleroy graaff szkl niv infernix yosafbridge sam113101 _whitelogger deadmarshal_ sandra mjacob jmcgnh axsuul mark22k Doc_X patrick gr33n7007h llua sympt itaipu zayd kenyon hansolo polishdub leah2 dstein64 con3 olus oz finsternis A_Dragon eoli3n dza acosta kokoro rapha jhass tsv petru wryish pavelz Jordan Guest1235 ccooke legahc cnsvc clemens3
<Pegazusoi-`> mahlon foxxx0 bw koenraad Al2O3 meimei jmjl Arsen jess aesthetikx tostr tweaks RetroPunk simonista srushe pjaspers caleb_ johnhamelink KOTP fourstepper tsujp goofansu fcser peder ule scottgy conjunctive iiska Argorok miah znpy mretka rdsm Liothen kenichi heartbur1 leftylink balo_ Artea Cork pandabot ogamita` mattf roger_rabbit phenom wgwz HER asio cuppajoeman sts noahmg123 caleb thelounge182
Pegazusoi-` has left #ruby [#ruby]
dostoyevsky2 has joined #ruby
CrazyEddy has joined #ruby
kjetilho has joined #ruby
jtperreault has joined #ruby
eof has joined #ruby
newton has joined #ruby
bastelfreak has joined #ruby
mweckbecker has joined #ruby
CrazyEddy has quit [Ping timeout: 260 seconds]
Byteflux has joined #ruby
ih8u1 has joined #ruby
CanuteTheGreat has joined #ruby
hwrd_ is now known as hwrd
ih8u has quit [Ping timeout: 256 seconds]
LRHai-ed has joined #ruby
LRHai-ed has left #ruby [#ruby]
ih8u1 has quit [Ping timeout: 272 seconds]
eof has quit [Max SendQ exceeded]
summerisle has joined #ruby
Byteflux has quit [Max SendQ exceeded]
dabguyai___ has joined #ruby
dabguyai___ has quit [K-Lined]
Byteflux has joined #ruby
ih8u has joined #ruby
splud has joined #ruby
ih8u1 has joined #ruby
Fusl has joined #ruby
ih8u has quit [Ping timeout: 252 seconds]
ih8u1 is now known as ih8u
ih8u1 has joined #ruby
nikkys has joined #ruby
ih8u has quit [Ping timeout: 255 seconds]
ih8u1 is now known as ih8u
konsolebox_ has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
Paris has joined #ruby
Paris has quit [Changing host]
Paris has joined #ruby
Paris has quit [Quit: quit]
jaredce has joined #ruby
jaredce has quit [Ping timeout: 240 seconds]
grenierm has joined #ruby
CrazyEddy has joined #ruby
sagax has joined #ruby
CrazyEddy has quit [Quit: Reconnecting]
CrazyEddy has joined #ruby
cappy has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
Linux_Kerio has joined #ruby
shiboka- has joined #ruby
wyclif has joined #ruby
bastelfreak has left #ruby [WeeChat 4.1.0]
sagax has quit [Quit: Konversation terminated!]
shiboka- has quit [Remote host closed the connection]
shiboka has joined #ruby
shiboka has quit [Remote host closed the connection]
shiboka has joined #ruby
Inline has quit [Quit: Leaving]
Inline has joined #ruby
hightower2 has joined #ruby
grenierm has quit [Ping timeout: 250 seconds]
ih8u1 has joined #ruby
ih8u has quit [Ping timeout: 264 seconds]
ih8u1 is now known as ih8u
Guest89 has joined #ruby
<Guest89> Hello how do I push media to consle
<Guest89> ruby[bot] how do I route pages to urls
Guest89 has quit [Client Quit]
cappy has quit [Quit: Leaving]
reset has joined #ruby
osc4rpt has joined #ruby
TomyLobo has joined #ruby
wyclif has quit [Read error: Connection reset by peer]
wyclif has joined #ruby
trnzecs has joined #ruby
shiboka has quit [Remote host closed the connection]
trnzecs has quit [Remote host closed the connection]
brokkoli_origina has quit [Ping timeout: 256 seconds]
MalusVulgaris has joined #ruby
brokkoli_origin has joined #ruby
bhaak_ is now known as bhaak
osc4rpt has quit [Ping timeout: 240 seconds]
xdminsy has quit [Quit: Konversation terminated!]
xdminsy has joined #ruby
osc4rpt has joined #ruby
sagax has joined #ruby
gr33n7007h has quit [Quit: WeeChat 4.2.2]
MalusVulgaris has quit [Quit: MalusVulgaris]
jaredce has joined #ruby
jaredce has quit [Ping timeout: 264 seconds]
xdminsy has quit [Read error: Connection reset by peer]
xdminsy has joined #ruby
orbyt_v10 has joined #ruby
passbe has joined #ruby
cappy has joined #ruby
sagax has quit [Quit: Konversation terminated!]
Guest67 has joined #ruby
Guest67 has quit [Client Quit]
passbe has quit [Ping timeout: 240 seconds]
passbe has joined #ruby
orbyt_v10 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user71 has joined #ruby
sagax has joined #ruby
user71 has quit [Quit: Leaving]
phryk_ is now known as phryk
bhaak has quit [Changing host]
bhaak has joined #ruby
<caleb> if I was going to build a TUI with ruby, is there a defacto library I should use? When I was app Shopify we had lots of internal tooling using CLI-UI, but it's not quite what I'm after. Looking more for a library for writing a terminal IRC client for example, with nicklist and channel panes.
<caleb> ncurses like but maybe not as painful
<sam113101> that's a very good question
<weaksauce> might have a few options
graywolf has joined #ruby
<konsolebox_> caleb: I can only think of https://github.com/ruby/curses
shiboka has joined #ruby
user71 has joined #ruby
<adam12> caleb: I was just looking into this again recently and termbox2 seems like a decent alternative to ncurses.
<shiboka> i recently ordered the book "Eloquent Ruby", i heard it was good but it's quite old. has anyone read it? is the information still relevant? i think it uses ruby 2.0
Starfoxxes has quit [Ping timeout: 246 seconds]
Starfoxxes has joined #ruby
<weaksauce> shiboka yeah i love that book
<weaksauce> it's still very relevant sans a few new tricks that have been added
<weaksauce> you can now do single line defs
<weaksauce> the way kwargs are handled is slightly different
<weaksauce> you can pass all params via ... now instead of enumerating them if you don't need to
<weaksauce> but everything else is pretty relevant still and valid
<shiboka> good to hear, as long as most of it still applies i'm happy.
<shiboka> can't wait to read it :)
orbyt_v10 has joined #ruby
<weaksauce> the format really jived with me
orbyt_v10 has quit [Client Quit]
<weaksauce> take a concept and explain it through some contrived examples and then show it in the real world via some open source code
<weaksauce> each chapter is fairly short and well explained
<shiboka> that was one of the biggest selling points for me, it's not too long and seems easy to get into. seemed like a good book to start with. i have experience with other languages but i'm new to ruby.
<weaksauce> perfect
<weaksauce> that's a great amount of knowledge to have for that book
<weaksauce> doesn't waste too much time on explaining the absolute basics
<weaksauce> the one weird thing you might need to know before reading it is the case of ruby symbols
<weaksauce> a symbol is a string that is only created once and is used all over the place as ids of sorts
<weaksauce> :some_symbol
<weaksauce> for all intents and purposes it's a string
Pixi__ has quit [Quit: Leaving]
Pixi has joined #ruby
cappy has quit [Quit: Leaving]
<shiboka> that was something i was a bit confused about with ruby, i have basically just been using them as ids as you say haha. so they are just special strings.
<shiboka> for the most part ruby has been pretty easy to grasp so far though, and it's a lot of fun :)
<weaksauce> the other odd things is that every statement returns the last line implicitly and `do end` is an anonymous function that gets passed into the method.
<weaksauce> same with `{ }`
<shiboka> the returning aspect is a bit odd compared to something like C but it wasn't too hard to get used to. i'm used to anonymous functions in js so do end made sense to me. something that i found to be odd/unique is class-level variables, that took a bit to wrap my head around haha.
osc4rpt has quit [Quit: leaving]
<weaksauce> the good thing is that class variables should be avoided generally... though they do have a time and place
<shiboka> ruby is exactly what a i was looking for though. i wanted a general purpose scripting language that i could also use for web development and ruby fit the bill perfectly. python was another other choice but ruby appealed to me more :P
<weaksauce> oh and there's one more thing... classes aren't special
<weaksauce> you can write any arbitrary ruby inside it
<weaksauce> which differs from a lot of languages
<weaksauce> it also enables the way rails can do a lot of things that just look like magic but are just simple method calls
<weaksauce> class Foo; puts "hi from class foo"; end is very valid and will print that string when the class is read from disk
<shiboka> oh i see, that's very interesting. that does explain some of the rails magic.
<weaksauce> shiboka i suggest reading through the enumerable module as that's where a lot of great things hide https://rubyapi.org/3.3/o/enumerable
<weaksauce> and you can include that into your own class and provide an each method that goes through whatever collection you have and it will give you all those methods for free
konsolebox_ has quit [Quit: .]
<shiboka> that sounds very powerful! i will definitely read through that.
reffle has quit [Read error: Connection reset by peer]
reffle has joined #ruby
Paris has joined #ruby
Paris has quit [Changing host]
Paris has joined #ruby
Linux_Kerio has quit [Ping timeout: 260 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<havenwood> shiboka: I'd recommend Polished Ruby Programming by Jeremy Evans.
<havenwood> Eloquent Ruby isn't too dated to be useful.
user71 has quit [Quit: Leaving]
pookie has quit [Ping timeout: 255 seconds]
<shiboka> that looks like a great book, thanks for the recommendation.
<shiboka> i would like to get the pickaxe book too, it seems to be highly recommended everywhere i look.
olspookishmagus has joined #ruby
<weaksauce> i never understood the love that that book gets
<weaksauce> 800 pages long and half of it is a reference to the stdlib
<leah2> idk it was great for learning ruby in the early 2000s
<leah2> probably less thick back then
<weaksauce> bit too slow for my tastes too... takes like 80 pages to get to the concept of an if statement
Paris has quit [Quit: quit]
<shiboka> it is quite long... it's hard to know what books to get, i don't want to get too many off the bat. Eloquent Ruby was cheap and seems to focus on what's important to me so it was an easy pick. Polished Ruby looks like a solid choice.
<weaksauce> yeah polished ruby is a solid choice
<weaksauce> the sandi metz stuff is classic
graywolf has quit [Quit: WeeChat 4.2.2]
grenierm has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
<adam12> I bought the updated Pickaxe to support them
<adam12> I have the original around somewhere. I should do a comparison on thickness :P
<adam12> Polished was good but I _loathe_ the editing of Packt.