havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: 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!
AJA4350 has joined #ruby
ramfjord has joined #ruby
gr33n7007h has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
tdy has quit [Ping timeout: 245 seconds]
hutch has joined #ruby
Swyper has quit [Remote host closed the connection]
noark9 has joined #ruby
fphilipe_ has joined #ruby
oetjenj has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
noark9 has quit [Quit: noark9]
fphilipe_ has quit [Ping timeout: 272 seconds]
r29v has quit [Quit: r29v]
greengriminal has joined #ruby
Swyper has joined #ruby
DaRock has joined #ruby
ntropix has quit [Remote host closed the connection]
ElFerna has joined #ruby
Swyper has quit [Remote host closed the connection]
englishm has quit [Excess Flood]
tdy has joined #ruby
englishm has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
davor has quit [Ping timeout: 245 seconds]
davor has joined #ruby
cd has quit [Quit: cd]
teardown has quit [Ping timeout: 245 seconds]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 246 seconds]
ElFerna has quit [Quit: ElFerna]
greengriminal has quit [Quit: This computer has gone to sleep]
ramfjord has quit [Ping timeout: 268 seconds]
tdy has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
Azure has quit [Read error: Connection reset by peer]
DTZUZU has quit [Quit: WeeChat 2.2]
Azure has joined #ruby
Swyper has joined #ruby
<leftylink> ruby story without obvious use
<leftylink> I was once trying to debug who was calling String#+, so I made it print self and its arg. and of course I would test that in irb first
<leftylink> but doing it wrong will just crash irb
<leftylink> I meant to do `class String; def +(s); puts "adding #{self} and #{s}"; "#{self}#{s}"; end end`
Swyper has quit [Remote host closed the connection]
<leftylink> but instead I did `class String; def +(s); puts "adding #{self} and #{s}"; "#{self}{s}"; end end` and irb just crashed immediately
<leftylink> whoops
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has joined #ruby
<bougyman> ok, i'm brain dead.
<bougyman> How do I make a collection of objects properly respond to #uniq? I thought defining ==(other) or ===(other) would do it. I swore it has before.
<bougyman> But it's not working in my current task.
<bougyman> I'm probably missing something simple (been at this too long)
<bougyman> It already includes Comparable
<bougyman> it's not removing the dupes (based on #=== nor #==)
<havenwood> bougyman: Define #eql?
<havenwood> bougyman: It checks the #hash and #eql?
sh7d has quit [Quit: meh]
<havenwood> &>> class Wombat; def eql?(_other); true end end; def hash; 0 end; [Wombat.new, Wombat.new].uniq # bougyman
<rubydoc> # => [#<Wombat:0x000056203830e450>] (https://carc.in/#/r/7bln)
sh7d has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has joined #ruby
orbyt_ has joined #ruby
<havenwood> bougyman: jeremyevans actually recently improved the docs on this front. :) https://github.com/ruby/ruby/commit/8bccbf3cfea8c1059d40db5b5e61900cf6cf29d3
DTZUZU has quit [Quit: WeeChat 2.2]
<havenwood> "For any pair of objects where #eql? returns `true`, the #hash value of both objects must be equal. So any subclass that overrides #eql? should also override #hash appropriately."
Frobozz_ has joined #ruby
Frobozz has quit [Ping timeout: 245 seconds]
DTZUZU has joined #ruby
<bougyman> havenwood: DOH
<bougyman> I knew that
Swyper has joined #ruby
<bougyman> wait, it has to to be .eql? _and_ #hash matching?
<havenwood> bougyman: yup!
<havenwood> bougyman: Neither just #hash, nor just #eql? is sufficient. To be #eql? implies the same #hash.
<havenwood> &>> class Orchid; def hash; self.class.hash end; def eql?(other); other.instance_of?(self.class) end end; [Orchid.new, Orchid.new].uniq # bougyman
<rubydoc> # => [#<Orchid:0x000055bddbf15010>] (https://carc.in/#/r/7bm8)
GodFather has quit [Ping timeout: 258 seconds]
GodFather_ has quit [Ping timeout: 245 seconds]
<havenwood> bougyman: That'd be ^ borrowing the class's #hash and then being #eql? when it's also an instance of the same class.
<havenwood> bougyman: I guess that's wrong in that it makes #eql? and #hash disagree between the instance and class. I'm trying to think of something more elegant.
sapphyrus has joined #ruby
sapphyrus has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
fphilipe_ has joined #ruby
teardown has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
fphilipe_ has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
teardown has quit [Ping timeout: 258 seconds]
teardown has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
dviola has quit [Quit: WeeChat 2.5]
CrazyEddy has quit [Ping timeout: 268 seconds]
teardown has quit [Ping timeout: 272 seconds]
teardown has joined #ruby
vethis has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
_whitelogger has joined #ruby
gix has quit [Ping timeout: 272 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
rindolf has joined #ruby
<rindolf> hi all
<havenwood> rindolf: hi
<rindolf> havenwood: sup?
hutch has quit [Ping timeout: 246 seconds]
tpanarch1st has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
jcalla has quit [Ping timeout: 248 seconds]
donofrio has quit [Remote host closed the connection]
davor has quit [Ping timeout: 246 seconds]
davor has joined #ruby
jcalla has joined #ruby
tdy has joined #ruby
orbyt_ has joined #ruby
fphilipe_ has joined #ruby
<havenwood> rindolf: Ruby!
<rindolf> havenwood: ah
<havenwood> rindolf: I've been enjoying playing with the Async gems.
sagax has quit [Quit: Konversation terminated!]
englishm has quit [Excess Flood]
Inline has quit [Quit: Leaving]
jenrzzz has joined #ruby
englishm has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
p3ps1 has quit [Ping timeout: 245 seconds]
<rindolf> havenwood: nice
sameerynho has joined #ruby
quazimodo has joined #ruby
reber has joined #ruby
quazimodo has quit [Ping timeout: 258 seconds]
p3ps1 has joined #ruby
quazimodo has joined #ruby
alem0lars has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Francisco has quit [Quit: Francisco]
oetjenj has joined #ruby
dellavg has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
quazimodo has quit [Ping timeout: 248 seconds]
quazimodo has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
ur5us_ has quit [Remote host closed the connection]
schne1der has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
schne1der has quit [Ping timeout: 258 seconds]
abaiste^ has quit []
mb^ has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
quazimodo has joined #ruby
lxsameer has joined #ruby
andikr has joined #ruby
jenrzzz has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
schne1der has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<leftylink> one would hope I do not have to reach for such old versions of ruby, but if I wanted to know which version of ruby made Array#shift and Array#unshift amortised constant...
aupadhye has joined #ruby
<leftylink> looks like it was 2.0. okay. I am pretty sure nobody will make me use a ruby that is older than that
<leftylink> or even close
<havenwood> leftylink: Those were in Ruby long before 2.0.
za1b1tsu has joined #ruby
<havenwood> leftylink: Are you thinking Array#prepend and Array#append?
<leftylink> very specifically shift and unshift
<ytti> i think he implies there was implementation change which made them cheaper
<havenwood> ytti: ah, right!
<havenwood> leftylink: I see what you were saying. It's late here and the end of your sentence didn't register.
<leftylink> :)
jefffrails35 has joined #ruby
drnerdius has joined #ruby
bitwinery has quit [Quit: Leaving]
corellian has joined #ruby
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tuor has joined #ruby
deepreds1 has joined #ruby
ramfjord has joined #ruby
TomyWork has joined #ruby
Tuor has quit [Quit: Konversation terminated!]
a1ph4g33k has quit [Quit: Leaving]
drnerdius has quit [Remote host closed the connection]
nerdius has joined #ruby
Frobozz_ is now known as Frobozz
jenrzzz has quit [Ping timeout: 246 seconds]
nerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
lightstalker has quit [Ping timeout: 248 seconds]
drnerdius has joined #ruby
lightstalker has joined #ruby
alem0lars has quit [Remote host closed the connection]
alem0lars has joined #ruby
jenrzzz has joined #ruby
teardown has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
chalkmonster has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
drnerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
alem0lars has quit [Ping timeout: 268 seconds]
BH23 has joined #ruby
ur5us has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
deepreds1 has quit [Ping timeout: 244 seconds]
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
ThisGeekChick has joined #ruby
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
suukim has joined #ruby
jcalla has quit [Ping timeout: 268 seconds]
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
jefffrails35 has quit [Ping timeout: 268 seconds]
ThisGeekChick has left #ruby [#ruby]
deepreds1 has joined #ruby
jefffrails35 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
alem0lars has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
jenrzzz has joined #ruby
tpanarch1st has quit [Ping timeout: 272 seconds]
BH23 has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
drnerdius has quit [Excess Flood]
drnerdius has joined #ruby
ropeney has quit [Quit: ZNC 1.7.4 - https://znc.in]
ropeney has joined #ruby
tpanarch1st has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
txdv has quit [Ping timeout: 245 seconds]
txdv has joined #ruby
jenrzzz has joined #ruby
sagax has joined #ruby
drnerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
codefriar has joined #ruby
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
easoncxz has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
aupadhye has quit [Remote host closed the connection]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tpanarch1st_ has joined #ruby
gr33n7007h has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
tpanarch1st has quit [Ping timeout: 272 seconds]
chalkmonster has joined #ruby
AJA4350 has joined #ruby
al2o3-cr has joined #ruby
paraxial2 has quit [Ping timeout: 272 seconds]
jefffrails35 has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.5]
howdoi has joined #ruby
jenrzzz has joined #ruby
drnerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
jcalla has joined #ruby
sylario has joined #ruby
codefriar has joined #ruby
facest has joined #ruby
alem0lars_ has joined #ruby
alem0lars has quit [Read error: Connection reset by peer]
mahlon has quit [Read error: Connection reset by peer]
thebetrayer has quit [Ping timeout: 272 seconds]
cisco has joined #ruby
cisco is now known as Guest15562
thebetrayer has joined #ruby
mahlon has joined #ruby
Eiam has quit [Ping timeout: 248 seconds]
faces has quit [Ping timeout: 272 seconds]
kapilp has joined #ruby
aupadhye has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
za1b1tsu has joined #ruby
GodFather_ has joined #ruby
GodFather has joined #ruby
za1b1tsu has quit [Ping timeout: 244 seconds]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest15562 has quit [Ping timeout: 258 seconds]
AJA4350 has quit [Ping timeout: 272 seconds]
cd has joined #ruby
AJA4350 has joined #ruby
gnc has joined #ruby
gnc has quit [Client Quit]
drincruz has joined #ruby
yalue has joined #ruby
sandstrom has joined #ruby
gnc has joined #ruby
<gnc> hello all
* gnc flies away
prestorium has joined #ruby
jenrzzz has joined #ruby
prestorium has quit [Ping timeout: 272 seconds]
prestorium has joined #ruby
chalkmonster has joined #ruby
gnc has left #ruby [#ruby]
beanie__ has joined #ruby
tpanarch1st_ has quit [Ping timeout: 272 seconds]
djdduty has quit [Ping timeout: 244 seconds]
IGnorAND has quit [Quit: ZNC 1.7.3 - https://znc.in]
griffindy has joined #ruby
IGnorAND has joined #ruby
djdduty has joined #ruby
prestori_ has joined #ruby
prestorium has quit [Read error: Connection reset by peer]
jinie has quit [Ping timeout: 245 seconds]
cako has quit [Ping timeout: 245 seconds]
prestori_ has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
jinie has joined #ruby
prestori_ has joined #ruby
prestorium has quit [Read error: Connection reset by peer]
tpanarch1st_ has joined #ruby
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
chalkmonster has joined #ruby
beanie__ has quit [Ping timeout: 272 seconds]
cako has joined #ruby
prestori_ has quit [Ping timeout: 244 seconds]
chalkmonster has quit [Client Quit]
jenrzzz has quit [Ping timeout: 268 seconds]
prestorium has joined #ruby
prestorium has quit [Read error: Connection reset by peer]
prestori_ has joined #ruby
matheusmoreira has quit [Remote host closed the connection]
matheusmoreira has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
prestori_ has quit [Ping timeout: 245 seconds]
aupadhye has quit [Ping timeout: 245 seconds]
prestorium has joined #ruby
involans has joined #ruby
bmurt has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
donofrio has joined #ruby
bmurt has quit [Client Quit]
jenrzzz has joined #ruby
AJA4350 has joined #ruby
greengriminal has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
CCDelivery has joined #ruby
fphilipe_ has joined #ruby
bmurt has joined #ruby
lucasb has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
fphilipe_ has joined #ruby
galaxie has quit [Ping timeout: 260 seconds]
galaxie has joined #ruby
jcalla has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
jcalla has joined #ruby
prestorium has quit [Quit: prestorium]
dysp has joined #ruby
fphilipe_ has quit [Ping timeout: 244 seconds]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
jefffrails35 has joined #ruby
suukim has quit [Remote host closed the connection]
keden has quit [Quit: WeeChat 2.5]
keden has joined #ruby
fphilipe_ has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
_falsebay_ has joined #ruby
jenrzzz has joined #ruby
elphe has joined #ruby
cisco has joined #ruby
cisco is now known as Guest2583
AJA4350 has joined #ruby
za1b1tsu has joined #ruby
duderonomy has joined #ruby
dbugger has joined #ruby
chunkypuffs has quit [Quit: ZNC 1.7.1 - https://znc.in]
dbugger has quit [Remote host closed the connection]
chunkypuffs has joined #ruby
ellcs has quit [Ping timeout: 245 seconds]
r29v has joined #ruby
r29v has quit [Client Quit]
jenrzzz has quit [Ping timeout: 258 seconds]
BH23 has joined #ruby
beanie__ has joined #ruby
a1ph4g33k has joined #ruby
tpanarch1st_ has quit [Ping timeout: 272 seconds]
DaRock has quit [Ping timeout: 248 seconds]
aupadhye has joined #ruby
yalue_ has joined #ruby
wildtrees has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yalue has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
r29v has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
_Joes_ has joined #ruby
stooj has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
sandstrom has quit [Ping timeout: 264 seconds]
stooj has joined #ruby
ramfjord has joined #ruby
Huck777 has joined #ruby
jenrzzz has joined #ruby
bmurt has quit [Ping timeout: 272 seconds]
schne1der has quit [Ping timeout: 246 seconds]
sh7d has quit [Ping timeout: 248 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
sh7d has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
<adam12> What's everyone using for test coverage currently? Lots of new ones out that look great: covered and deep-cover, and I'm sure there are more.
duderonomy has quit [Ping timeout: 248 seconds]
beanie__ has quit [Ping timeout: 272 seconds]
BH23 has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
corellian has quit [Quit: leaving]
cthulchu has joined #ruby
bmurt has joined #ruby
drincruz has quit [Ping timeout: 245 seconds]
jefffrails35 has quit [Read error: Connection reset by peer]
impermanence has joined #ruby
FastJack has quit [Ping timeout: 264 seconds]
andikr has quit [Remote host closed the connection]
<phaul> I did try deep cover and loved it.
<adam12> phaul: Trying it now. Covered errored out and I don't have time to debug right now.
aupadhye has quit [Remote host closed the connection]
<adam12> It crashes too. Oh well.
<phaul> hm.
<adam12> covered complains about Ruby version. I think it's an issue with the rubyparser it imports expecting 2.5.5 and I'm forced to be 2.5.3 on this project.
tdy has joined #ruby
<adam12> deep-cover expects sass as a dependency but doesn't seem to list it, or has some other issue.
<adam12> Back to simplecov for now.
howdoi has quit [Quit: Connection closed for inactivity]
FastJack has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
nerdius has joined #ruby
<phaul> deep cover can be used as a refactor tool, I tried it with the gilded rose kata, it can simply drive your TDD eliminating each codepath that wasn't exercised
<phaul> But you need branch coverage to do that..
<adam12> I'm gonna dig into it a bit more when I have some free time.
za1b1tsu has quit [Ping timeout: 245 seconds]
<phaul> btw the bot also has it but I haven't run it for ages.
dostoyevsky has quit [Quit: leaving]
<phaul> still works. ruby 2.6.3 though
drnerdius has quit [Ping timeout: 244 seconds]
prestorium has joined #ruby
ramfjord has joined #ruby
nerdius has quit [Ping timeout: 244 seconds]
dostoyevsky has joined #ruby
yalue_ has quit [Read error: Connection reset by peer]
yalue_ has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
__yalue has joined #ruby
prestorium has quit [Quit: prestorium]
yalue_ has quit [Ping timeout: 246 seconds]
bmurt has quit [Ping timeout: 268 seconds]
involans has quit [Ping timeout: 272 seconds]
wbnns has quit [Ping timeout: 245 seconds]
involans has joined #ruby
d0liver has quit [Ping timeout: 264 seconds]
sylario has quit [Ping timeout: 252 seconds]
d0liver has joined #ruby
howdoi has joined #ruby
afisher has quit [Ping timeout: 252 seconds]
sparc_ has quit [Ping timeout: 250 seconds]
schne1der has joined #ruby
ryzokuken has quit [Ping timeout: 250 seconds]
d0liver has quit [Max SendQ exceeded]
sylario has joined #ruby
wbnns has joined #ruby
afisher has joined #ruby
kyrylo has joined #ruby
afisher has quit [Excess Flood]
sh7d has quit [Quit: meh]
ryzokuken has joined #ruby
sparc_ has joined #ruby
sh7d has joined #ruby
d0liver has joined #ruby
afisher has joined #ruby
<vcavallo> hi
<havenwood> vcavallo: hi
matti has quit [Ping timeout: 252 seconds]
sparc_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
orbyt_ has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
afisher has quit [Ping timeout: 245 seconds]
sparc_ has joined #ruby
sylario has quit [Read error: Connection reset by peer]
ryzokuken has quit [Ping timeout: 264 seconds]
ctp has joined #ruby
matti has joined #ruby
sylario has joined #ruby
matti has quit [Max SendQ exceeded]
ryzokuken has joined #ruby
afisher has joined #ruby
sylario has quit [Max SendQ exceeded]
matti has joined #ruby
sylario has joined #ruby
ryzokuken has quit [Max SendQ exceeded]
grilix has joined #ruby
matti has quit [Max SendQ exceeded]
jenrzzz has quit [Read error: Connection reset by peer]
ryzokuken has joined #ruby
jenrzzz has joined #ruby
sylario has quit [Max SendQ exceeded]
matti has joined #ruby
bmurt has joined #ruby
sylario has joined #ruby
ryzokuken has quit [Max SendQ exceeded]
lxsameer has quit [Ping timeout: 245 seconds]
matti has quit [Max SendQ exceeded]
sylario has quit [Max SendQ exceeded]
sylario has joined #ruby
deepreds1 has quit [Ping timeout: 248 seconds]
ryzokuken has joined #ruby
matti has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
IGnorAND has quit [Quit: ZNC 1.7.3 - https://znc.in]
__yalue has quit [Quit: Leaving]
yalue has joined #ruby
<vcavallo> haha hi havenwood. i was testing soemthing and this happened to be the first channel i saw
<vcavallo> thanks though :
drincruz has joined #ruby
<vcavallo> )
<havenwood> vcavallo: yell if you have any Ruby to talk about!
sh7d has quit [Quit: meh]
<vcavallo> always. ruby all day
sh7d has joined #ruby
ascarter has joined #ruby
ramfjord has joined #ruby
drincruz_ has joined #ruby
duderonomy has joined #ruby
_Joes_ has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
drincruz has quit [Ping timeout: 245 seconds]
alem0lars_ has quit [Ping timeout: 248 seconds]
impermanence has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
stryek has joined #ruby
gix has joined #ruby
brool has joined #ruby
akem-hp has joined #ruby
mwlang has joined #ruby
<mwlang> are there any jekyll plugins that change the way _posts folder can be laid out? I’d rather not have all articles flat in one folder and starting with YEAR-MM-DAY-post-name-here, but not quite sure how to go about changing up that default behavior.
ramfjord has joined #ruby
code_zombie has joined #ruby
oetjenj has joined #ruby
involans has quit [Quit: involans]
IGnorAND has joined #ruby
ellcs has quit [Ping timeout: 245 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
r29v has quit [Quit: r29v]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has joined #ruby
r29v has joined #ruby
Fr4n has joined #ruby
ellcs has quit [Ping timeout: 246 seconds]
Guest2583 has quit [Ping timeout: 245 seconds]
involans has joined #ruby
<mwlang> wow, never seen a group of developers so quiet! Did everyone move over to discord or gitter or something?
<adam12> mwlang: Quiet this week I've noticed.
<mwlang> week before school starts back in USA…
<adam12> mwlang: Interesting. Didn't know that. In Canada they go back first week of Sept.
involans has quit [Ping timeout: 258 seconds]
<havenwood> Everyone seems to be on vacation. :)
Fr4n has quit [Quit: Fr4n]
sauvin has quit [Ping timeout: 245 seconds]
kapilp has quit [Quit: Connection closed for inactivity]
involans has joined #ruby
codefriar has joined #ruby
<baweaver> mwlang: preparing another lemur talk
<baweaver> so rather busy with that.
mochiyoda has joined #ruby
chalkmonster has joined #ruby
dysp has quit [Remote host closed the connection]
mochiyoda_ has quit [Ping timeout: 276 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
<mwlang> baweaver: I’ve seen your tweeting about those lemurs. Definitely a lot of work on your part, but it sure looks like fun from the outside looking in.
ua has quit [Ping timeout: 244 seconds]
ua has joined #ruby
<adam12> baweaver: Where's the next lemur talk scheduled?
involans has quit [Ping timeout: 248 seconds]
graft has joined #ruby
<graft> what is the best way to turn 'true', 'false' into true, false?
jenrzzz has joined #ruby
paraxial2 has joined #ruby
prestorium has joined #ruby
<mwlang> graft: within a framework or just straight up ruby?
deepreds1 has joined #ruby
ober has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
prestorium has quit [Client Quit]
<leftylink> I think the question has to specify what its behaviour should be on inputs other than 'true' or 'false'. if the conversion can do whatever it wants on other inputs and only needs to convert 'true' and 'false' then I'd too easily suggest something like `s == 'true'` or `s[0] == ?t`
<ruby[bot]> sh7d: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
sandstrom has joined #ruby
jenrzzz has joined #ruby
paraxial2 has quit [Ping timeout: 244 seconds]
<sh7d> feel free to tweak its behavior when string its not 'false' or 'true'
<sh7d> ex return nil
<sh7d> :P
<mwlang> I typically test for truthy and anything else is falsey. Something like: ['t', 'T', '1', "true", "TRUE", "True", "on", "yes"].all?{|s| s =~ /^t|true|on|yes|1$/i}
paraxial2 has joined #ruby
<sh7d> or do it in TRUE OOP WAY
<ruby[bot]> sh7d: as I told you already, please use https://gist.github.com
<sh7d> like real men :P
<sh7d> aaar, i fucked this
<sh7d> something like this
<sh7d> real oop way :P
deepredsky has joined #ruby
<sh7d> TrueOrFalseString.new(le_string).to_bool
jenrzzz has quit [Ping timeout: 258 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
deepreds1 has quit [Ping timeout: 248 seconds]
sameerynho has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
<phaul> sh7d: you don't have to be obscene, on the techniqual side having String as superclass is hardly OO
<phaul> best practices
<phaul> a good argument against it is: TrueOrFalseString.new('true') + ' and not true or false any more'
jenrzzz has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 258 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
<baweaver> &>> require 'set'; class String; TRUTHY = Set.new('true', 't') def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
<rubydoc> stderr: -e:2: syntax error, unexpected def, expecting end (https://carc.in/#/r/7bqa)
<baweaver> &>> require 'set'; class String; TRUTHY = Set.new('true', 't'); def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
<rubydoc> stderr: /usr/lib/ruby/2.6.0/set.rb:93:in `initialize': wrong number of arguments (given 2, expected 0..1) (ArgumentError) (https://carc.in/#/r/7bqb)
<baweaver> &>> require 'set'; class String; TRUTHY = Set.new(['true', 't']); def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
<rubydoc> # => true (https://carc.in/#/r/7bqc)
<baweaver> There we go
<baweaver> Really tempted to try and get that into stdlib
<baweaver> Though it'd start a crap storm around 0.to_bool
<baweaver> especially implicits
yalue has quit [Quit: Leaving]
prestorium has joined #ruby
<sh7d> phaul, it was ironic :P
arup_r has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
involans has joined #ruby
fphilipe_ has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Quit: Lost terminal]
fphilipe_ has joined #ruby
hutch has joined #ruby
involans has quit [Read error: Connection reset by peer]
fphilipe_ has quit [Ping timeout: 245 seconds]
ellcs has joined #ruby
greengriminal has joined #ruby
hutch has quit [Quit: WeeChat 2.5]
arup_r has quit []
deepredsky has quit [Ping timeout: 245 seconds]
<vcavallo> it is quiet today..
fphilipe_ has joined #ruby
prestorium has quit [Quit: prestorium]
prestorium has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
Eiam has joined #ruby
<leftylink> oh lol
sylario has quit []
cako has quit [Read error: Connection reset by peer]
sylario has joined #ruby
cako has joined #ruby
afisher has quit []
afisher has joined #ruby
troulouliou_dev has joined #ruby
prestorium has quit [Ping timeout: 272 seconds]
involans has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deepredsky has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
brool has quit [Quit: WeeChat 2.5]
sameerynho has quit [Ping timeout: 272 seconds]
schne1der has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
fphilipe_ has joined #ruby
GodFather_ has quit [Ping timeout: 248 seconds]
GodFather has quit [Ping timeout: 244 seconds]
prestorium has joined #ruby
nowhereman has joined #ruby
deepredsky has quit [Ping timeout: 245 seconds]
prestorium has quit [Ping timeout: 258 seconds]
fphilipe_ has quit [Ping timeout: 246 seconds]
prestorium has joined #ruby
involans_ has joined #ruby
involans has quit [Ping timeout: 250 seconds]
cthulchu_ has joined #ruby
bmurt has joined #ruby
prestorium has quit [Ping timeout: 272 seconds]
giuseppe_ has joined #ruby
<giuseppe_> hello all
<giuseppe_> guys where do i start RoR ?
cthulchu has quit [Ping timeout: 268 seconds]
<giuseppe_> helllo all, guys do u have some good books for crypto ?
<havenwood> giuseppe_: The Rails guides are a great start.
<giuseppe_> okok thanks havenwood
ramfjord has quit [Ping timeout: 272 seconds]
ellcs has quit [Ping timeout: 264 seconds]
prestorium has joined #ruby
a1ph4g33k has quit [Quit: Leaving]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
cthulchu has joined #ruby
grilix has quit [Ping timeout: 272 seconds]
cthulchu_ has quit [Ping timeout: 245 seconds]
drincruz_ has quit [Ping timeout: 248 seconds]
rindolf has quit [Ping timeout: 258 seconds]
involans_ has quit [Quit: involans_]
involans has joined #ruby
involans has quit [Client Quit]
involans has joined #ruby
prestorium has quit [Ping timeout: 245 seconds]
reber has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
BloopMonster has quit [Quit: WeeChat 1.9.1]
involans has quit [Ping timeout: 258 seconds]
bmurt has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
teardown has joined #ruby
involans has joined #ruby
x86sk has joined #ruby
prestorium has joined #ruby
MuffinPimp has quit [Ping timeout: 248 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
MuffinPimp has joined #ruby
IGnorAND has quit [Quit: ZNC 1.7.3 - https://znc.in]
jtperreault has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
cako has quit [Read error: Connection reset by peer]
cako has joined #ruby
jtperreault has joined #ruby
prestorium has quit [Ping timeout: 244 seconds]
fphilipe_ has quit [Ping timeout: 245 seconds]
MuffinPimp has quit [Read error: Connection reset by peer]
CCDelivery has quit [Remote host closed the connection]
MuffinPimp has joined #ruby
pebble2016 has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
<mwlang> crypto as in cyprography? or as in cryptocurrency?
giuseppe1 has joined #ruby
<giuseppe1> grep
<giuseppe1> sorry mistook terminal
involans has quit [Quit: involans]
sylario has quit [Quit: Connection closed for inactivity]
involans has joined #ruby
IGnorAND has joined #ruby
giuseppe_ has quit [Quit: Lost terminal]
howdoi has quit [Quit: Connection closed for inactivity]
prestorium has joined #ruby
involans_ has joined #ruby
involans has quit [Ping timeout: 245 seconds]
beanie__ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b0nn has joined #ruby