havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview2: 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!
ellcs has joined #ruby
Nahra has quit [Quit: leaving]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidw has quit [Ping timeout: 240 seconds]
brool has quit [Ping timeout: 252 seconds]
brool has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 265 seconds]
bvdw has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip_ is now known as queip
JohanP has joined #ruby
DaRock has joined #ruby
Swyper has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
lucasb has quit [Quit: Connection closed for inactivity]
Exuma has joined #ruby
ellcs has joined #ruby
fphilipe has joined #ruby
queip has quit [Ping timeout: 250 seconds]
queip_ has joined #ruby
ellcs has quit [Ping timeout: 246 seconds]
queip_ is now known as queip
fphilipe has quit [Ping timeout: 252 seconds]
drincruz has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
ur5us has joined #ruby
eddof13 has quit [Quit: eddof13]
skx86 has joined #ruby
wildtrees has quit [Quit: Leaving]
ellcs has joined #ruby
ExoUNX has joined #ruby
guardian has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 246 seconds]
queip has joined #ruby
SeepingN has joined #ruby
davidw has quit [Ping timeout: 250 seconds]
paprika has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz has quit [Ping timeout: 240 seconds]
paprika has quit [Client Quit]
jenrzzz has quit [Ping timeout: 265 seconds]
JohanP has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
queip has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
queip has joined #ruby
JohanP has quit [Ping timeout: 246 seconds]
zming has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
Technodrome has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
drincruz has joined #ruby
orbyt_ has joined #ruby
ur5us_ has joined #ruby
Azure has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
zming has quit [Ping timeout: 250 seconds]
galaxie has quit [Ping timeout: 260 seconds]
galaxie has joined #ruby
Benett has quit [Ping timeout: 245 seconds]
NODE has quit [Ping timeout: 240 seconds]
Benett has joined #ruby
jenrzzz has joined #ruby
queip_ has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 250 seconds]
queip_ is now known as queip
jmcgnh has joined #ruby
AJA4350 has quit [Remote host closed the connection]
JohanP has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
jenrzzz has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
Swyper has quit []
NODE has quit [Client Quit]
NODE has joined #ruby
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
ravenousmoose has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
sergioro has joined #ruby
sergioro has quit [Client Quit]
sergioro has joined #ruby
jenrzzz has joined #ruby
sergioro has quit [Client Quit]
queip has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
sergioro has joined #ruby
queip_ is now known as queip
jenrzzz has quit [Ping timeout: 252 seconds]
sagax has joined #ruby
sergioro has quit [Quit: leaving]
sergioro has joined #ruby
Macrobiotic has quit [Quit: Connection closed for inactivity]
sergioro has quit [Quit: leaving]
sergioro has joined #ruby
sergioro has quit [Client Quit]
sergioro has joined #ruby
crella133 has joined #ruby
<crella133> Now what is the recommended way on windows to write ruby scripts that can create temporary GUI window or messagebox?
sergioro has quit [Client Quit]
crella133 has quit [Client Quit]
Swyper has joined #ruby
brool has quit [Ping timeout: 246 seconds]
ur5us__ has joined #ruby
JohanP has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
<havenwood> crel, mm, they left
queip_ has joined #ruby
hutch has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
zlogan has quit [Ping timeout: 246 seconds]
tpanarch1st_ has quit [Ping timeout: 240 seconds]
zlogan has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has quit [Read error: Connection reset by peer]
JohanP has quit [Ping timeout: 265 seconds]
TzilTzal has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
postmodern has joined #ruby
Nicmavr has joined #ruby
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
queip has quit [Ping timeout: 265 seconds]
gix has quit [Ping timeout: 240 seconds]
queip has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
ur5us_ has joined #ruby
ur5us__ has quit [Ping timeout: 250 seconds]
guardian has joined #ruby
ur5us__ has joined #ruby
ur5us_ has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
teyas has joined #ruby
alfiemax has joined #ruby
JohanP has joined #ruby
lalitmee has joined #ruby
ur5us__ has quit [Ping timeout: 245 seconds]
dev-rfc83 has joined #ruby
fphilipe has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
JohanP has quit [Ping timeout: 276 seconds]
fphilipe has quit [Ping timeout: 245 seconds]
lalitmee has quit [Remote host closed the connection]
jenrzzz has joined #ruby
queip has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
queip has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
lalitmee has joined #ruby
levifig has quit [Ping timeout: 240 seconds]
teyas has quit [Ping timeout: 276 seconds]
levifig has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
errst has joined #ruby
lalitmee has quit [Remote host closed the connection]
fphilipe has joined #ruby
lalitmee has joined #ruby
MrCrackPot has joined #ruby
kobain has quit [Ping timeout: 265 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
teyas has joined #ruby
lalitmee has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
teyas has quit [Ping timeout: 250 seconds]
NODE has joined #ruby
JohanP has joined #ruby
MrCrackPot has quit [Ping timeout: 245 seconds]
MrCrackPot has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
rheddry has joined #ruby
levifig has quit [Read error: Connection reset by peer]
Mrgoose845701915 has quit [Ping timeout: 250 seconds]
teyas has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Mia has quit [Ping timeout: 265 seconds]
conta has joined #ruby
skx86 has quit [Quit: Connection closed for inactivity]
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sauvin has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip_ has quit [Ping timeout: 240 seconds]
xco has joined #ruby
queip has joined #ruby
JohanP has joined #ruby
Inline has quit [Quit: Leaving]
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
fphilipe has joined #ruby
jenrzzz has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 250 seconds]
queip_ is now known as queip
jenrzzz has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
JohanP has quit [Ping timeout: 250 seconds]
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
lalitmee has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
dellavg has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Mrgoose845701915 has joined #ruby
suukim has joined #ruby
JohanP has joined #ruby
mniip has quit [Ping timeout: 608 seconds]
Mrgoose845701915 has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 246 seconds]
dev-rfc83 has quit [Quit: Bye bye!]
JohanP has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
mniip has joined #ruby
queip_ has quit [Ping timeout: 252 seconds]
TomyWork has joined #ruby
queip has joined #ruby
dionysus69 has joined #ruby
andikr has joined #ruby
queip has quit [Ping timeout: 252 seconds]
Mia has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
queip has joined #ruby
cd has quit [Quit: cd]
dellavg has quit [Ping timeout: 240 seconds]
dellavg has joined #ruby
teyas has quit [Remote host closed the connection]
teyas has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
queip has quit [Ping timeout: 252 seconds]
sagax has quit [Ping timeout: 240 seconds]
donofrio_ has joined #ruby
JohanP has joined #ruby
donofrio_ has quit [Remote host closed the connection]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
JohanP has quit [Ping timeout: 245 seconds]
queip has joined #ruby
lxsameer has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip has joined #ruby
sagax has joined #ruby
JohanP has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
JohanP has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
Intelo_ has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
Jonopoly has joined #ruby
TzilTzal has quit []
Intelo_ has joined #ruby
schne1der has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip_ is now known as queip
phaul_ has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 245 seconds]
queip_ is now known as queip
teyas has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
ellcs has joined #ruby
jenrzzz has joined #ruby
queip_ has quit [Ping timeout: 252 seconds]
Intelo_ has quit [Ping timeout: 252 seconds]
queip has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 246 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
queip has quit [Ping timeout: 240 seconds]
ellcs has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby
queip_ has joined #ruby
queip_ is now known as queip
akemhp_ has joined #ruby
JohanP has quit [Ping timeout: 250 seconds]
akem__ has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 250 seconds]
akemhp_ has quit [Ping timeout: 276 seconds]
ravenousmoose has joined #ruby
lxsameer has joined #ruby
lalitmee has quit [Ping timeout: 240 seconds]
queip has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
lineus has quit [Ping timeout: 260 seconds]
teyas has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
Intelo has joined #ruby
im0nde has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 252 seconds]
queip_ has joined #ruby
JohanP has joined #ruby
queip_ is now known as queip
teyas has quit [Ping timeout: 252 seconds]
Intelo has quit [Ping timeout: 240 seconds]
JohanP has quit [Ping timeout: 250 seconds]
teyas has joined #ruby
akemhp_ has joined #ruby
akem__ has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
queip_ has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
guardian has quit [Ping timeout: 240 seconds]
ellcs has joined #ruby
lineus has joined #ruby
queip has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
queip_ has joined #ruby
queip_ is now known as queip
alfiemax has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip_ is now known as queip
skx86 has joined #ruby
Eiam has quit [Ping timeout: 250 seconds]
NL3limin4t0r_afk is now known as NL3limin4t0r
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
JohanP has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
ellcs has quit [Ping timeout: 246 seconds]
segy has quit [Ping timeout: 240 seconds]
segy has joined #ruby
obx has joined #ruby
jenrzzz has joined #ruby
postmodern has quit [Quit: Leaving]
queip has quit [Ping timeout: 276 seconds]
ellcs has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
queip has joined #ruby
AJA4350 has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
jmcgnh has joined #ruby
queip has quit [Ping timeout: 246 seconds]
akemhp has quit [Ping timeout: 265 seconds]
queip has joined #ruby
Macrobiotic has joined #ruby
teyas has quit [Ping timeout: 265 seconds]
evert has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip_ is now known as queip
teyas has joined #ruby
evert is now known as evertvdb
evertvdb is now known as evert
phaul_ has quit [Ping timeout: 265 seconds]
im0nde has joined #ruby
ellcs has joined #ruby
hutch1 has joined #ruby
im0nde has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
im0nde has joined #ruby
guardian has joined #ruby
alfiemax has joined #ruby
akemhp has joined #ruby
JohanP has joined #ruby
akemhp_ has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 250 seconds]
queip_ is now known as queip
akemhp has quit [Ping timeout: 246 seconds]
animo8 has joined #ruby
<animo8> Hi, pry-remote prints a message when it starts and when you connect from the repl but since I'm writing a curses app it messes up my rendering
<animo8> Is there a solution to this other than editing pry-remote's files? I looked it up some time ago and couldn't find anything
<animo8> Alternatively, is there a different foss remote debugger that doesn't show a message or allows you to configure it?
JohanP has quit [Ping timeout: 250 seconds]
JohanP has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 246 seconds]
teyas has quit [Ping timeout: 240 seconds]
JohanP has quit [Ping timeout: 245 seconds]
animo870 has joined #ruby
queip_ has joined #ruby
queip_ is now known as queip
animo8 has quit [Ping timeout: 265 seconds]
phaul_ has joined #ruby
thebananaking has joined #ruby
phaul_ has quit [Ping timeout: 250 seconds]
hutch1 has quit [Ping timeout: 250 seconds]
queip has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
queip has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
leitz has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
rippa has joined #ruby
ellcs has quit [Ping timeout: 246 seconds]
JohanP has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
animo870 has quit [Remote host closed the connection]
queip has quit [Ping timeout: 276 seconds]
DaRock has quit [Read error: Connection reset by peer]
JohanP has quit [Ping timeout: 276 seconds]
queip has joined #ruby
guardian has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
hutch1 has joined #ruby
guardian has joined #ruby
dbugger has joined #ruby
JohanP has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
hutch1 has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 240 seconds]
JohanP has quit [Ping timeout: 252 seconds]
phaul_ has joined #ruby
queip has joined #ruby
guardian has quit [Ping timeout: 252 seconds]
phaul_ has quit [Ping timeout: 240 seconds]
phaul_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip_ is now known as queip
sh7d_ has joined #ruby
sh7d has quit [Ping timeout: 250 seconds]
Technodrome has joined #ruby
JohanP has joined #ruby
phaul_ has quit [Ping timeout: 245 seconds]
phaul_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip has joined #ruby
conta has quit [Ping timeout: 240 seconds]
phaul_ has quit [Ping timeout: 250 seconds]
JohanP has quit [Ping timeout: 265 seconds]
phaul_ has joined #ruby
queip has quit [Ping timeout: 250 seconds]
JohanP has joined #ruby
dionysus69 has quit [Quit: dionysus69]
queip has joined #ruby
jcalla has joined #ruby
hutch1 has joined #ruby
JohanP has quit [Ping timeout: 276 seconds]
queip has quit [Ping timeout: 265 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
phaul_ has quit [Ping timeout: 240 seconds]
queip has joined #ruby
Nicmavr has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
shansen has quit [Remote host closed the connection]
queip has quit [Ping timeout: 265 seconds]
hutch1 has quit [Ping timeout: 265 seconds]
queip has joined #ruby
drincruz has joined #ruby
queip has quit [Ping timeout: 265 seconds]
krawchyk has joined #ruby
JohanP has joined #ruby
jfhbrook has left #ruby [#ruby]
shansen has joined #ruby
<leitz> Any help with my Decorator learning? Here's the trace error: https://gist.github.com/LeamHall/82a53f9b837cc8f55ad971055af2a8e5
queip_ has joined #ruby
queip_ is now known as queip
alfiemax has quit [Remote host closed the connection]
JohanP has quit [Ping timeout: 240 seconds]
hutch1 has joined #ruby
queip has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> leitz: Doesn't `@ship.hull_size` always evaluate to `nil`?
queip has joined #ruby
<leitz> NL3limin4t0r, it should default to the int 100, in ship.rb
<NL3limin4t0r> leitz: Neither ShipDecorator nor MDrive sets the @hull_size variable though.
reber has joined #ruby
<NL3limin4t0r> Instead of `attr_reader :hull_size, :maneuver, :jump` you probably want to `def_delegators :@ship, :hull_size, :maneuver, :jump`
<leitz> NL3limin4t0r, what I thought was happening is that the ship created in the call (@ship = HFDP::MDrive.new(HFDP::Ship.new) ) would create a ship with the default values. The NDrive would add its bit.
errst has quit [Read error: Connection reset by peer]
<NL3limin4t0r> leitz: The ship is created with the default values, however you don't provide access from the ShipDecorator class.
krandi has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
<NL3limin4t0r> `ship_decorator.hull_size != ship.hull_size`
<leitz> Ah. Let me go poke at that.
phaul_ has joined #ruby
<NL3limin4t0r> leitz: If you're trying to lay something on top of Ship, you have to redirect all existing calls to the internal ship instance.
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> A quick way to do this is by using a delegator.
<NL3limin4t0r> So `class ShipDecorator < DelegateClass(Ship)`
<NL3limin4t0r> Which forwards all calls to the internal ship, unless you've defined something else.
queip has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]
<NL3limin4t0r> Maybe this is a better starting point: https://ruby-doc.org/stdlib-2.6.5/libdoc/delegate/rdoc/Delegator.html
howdoi has joined #ruby
queip_ has quit [Ping timeout: 252 seconds]
_phaul has joined #ruby
phaul_ has quit [Ping timeout: 240 seconds]
rafadc has quit [Ping timeout: 240 seconds]
krandi has quit [Ping timeout: 246 seconds]
rusbu has joined #ruby
phaul_ has joined #ruby
rafadc has joined #ruby
skx86 has quit [Quit: Connection closed for inactivity]
Rapture has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 250 seconds]
guardian has joined #ruby
queip has joined #ruby
<NL3limin4t0r> leitz: The current issue is that calling `ship_decorator.hull_size` will return the `@hull_size` variable of the `ShipDecorator` instance. Which is never set, whereas you want to return the `@hull_size` variable of `@ship`, so you need to forward the call to it. Hopefully what I'm saying makes sense.
_phaul has joined #ruby
phaul_ has quit [Ping timeout: 250 seconds]
_phaul has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
falconfox has joined #ruby
_phaul has joined #ruby
phaul_ has joined #ruby
Swyper has quit [Remote host closed the connection]
teyas has joined #ruby
andikr has joined #ruby
falconfox has quit [Client Quit]
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
<leitz> NL3limin4t0r, yes, it makes sense. Mostly, my brain is a bit thick this morning, and I had to focus on a work issue for a bit.
<leitz> The def_delegators works when I use forwordable.
falconfox has joined #ruby
_phaul has quit [Ping timeout: 252 seconds]
<leitz> I need to go study that some more.
Swyper has joined #ruby
jenrzzz has joined #ruby
queip has quit [Ping timeout: 252 seconds]
skx86 has joined #ruby
_phaul has joined #ruby
AJA4351 has joined #ruby
queip has joined #ruby
andikr has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
andikr has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
_phaul has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
andikr has quit [Remote host closed the connection]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 246 seconds]
JohanP has joined #ruby
alfiemax has joined #ruby
_phaul has joined #ruby
queip has joined #ruby
queip_ has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
fphilipe has quit [Ping timeout: 250 seconds]
<NL3limin4t0r> leitz: The difference is that `attr_reader :hull_size` does: `def hull_size; @hull_size; end` whereas `def_delegators :@ship, :hull_size` does: `def hull_size; @ship.hull_size; end`.
_phaul has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
queip_ is now known as queip
JohanP has quit [Ping timeout: 240 seconds]
ellcs has joined #ruby
_phaul has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
spacesuitdiver has joined #ruby
queip_ is now known as queip
_phaul has quit [Ping timeout: 265 seconds]
Swyper has joined #ruby
<leitz> Makes sense.
alfiemax has quit [Remote host closed the connection]
Jonopoly has quit [Quit: WeeChat 2.5]
_phaul has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
Macrobiotic has quit [Quit: Connection closed for inactivity]
zlogan2003 has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 265 seconds]
zlogan has quit [Ping timeout: 246 seconds]
queip has joined #ruby
_phaul has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
TomyWork has quit [Quit: Leaving]
_phaul has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
davidw has joined #ruby
xco has joined #ruby
_dbugger has joined #ruby
_dbugger has quit [Remote host closed the connection]
_phaul has joined #ruby
dbugger has quit [Ping timeout: 250 seconds]
Ai9zO5AP has quit [Quit: WeeChat 2.5]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
Swyper has joined #ruby
_phaul has quit [Ping timeout: 252 seconds]
lucasb has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
_phaul has joined #ruby
Swyper has joined #ruby
_phaul has quit [Ping timeout: 252 seconds]
SeepingN has joined #ruby
Swyper has quit [Remote host closed the connection]
_phaul has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
JohanP has joined #ruby
phaul_ has quit [Ping timeout: 240 seconds]
grilix has joined #ruby
orbyt_ has joined #ruby
falconfox has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Client Quit]
falconfox has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JohanP has quit [Ping timeout: 265 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip_ has joined #ruby
queip has quit [Ping timeout: 250 seconds]
queip_ is now known as queip
xco has joined #ruby
spacesuitdiver has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
lalitmee has joined #ruby
spacesuitdiver has joined #ruby
Swyper has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
fanta1 has joined #ruby
Swyper has joined #ruby
phoo1234567 has joined #ruby
queip has quit [Ping timeout: 246 seconds]
JohanP has joined #ruby
queip has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poontangmessiah has joined #ruby
AJA4350 has joined #ruby
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
teardown has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
cow[moo] has joined #ruby
xco has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
eddof13 has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
wildtrees has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 252 seconds]
cow[moo] has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip_ is now known as queip
alfiemax has joined #ruby
JohanP has joined #ruby
Swyper has quit [Remote host closed the connection]
englosh has joined #ruby
<englosh> I have a question about Ruby's internals: how exactly does it parse mathematical expressions?
Swyper has joined #ruby
<havenwood> englosh: It varies by implementation of Ruby, but happy to try to show the steps for any of them.
<havenwood> englosh: For CRuby, first it'll go through the grammar rules in Ruby's parse.y yacc file.
<havenwood> englosh: You can see the path it takes in parsing the grammar by running code with the -ydebug flag.
<havenwood> englosh: Try: ruby -ydebug -e "2 + 2"
<havenwood> englosh: You can use Ripper to break down the grammar parsing steps.
<englosh> seems pretty complex. I'm currently parsing and evaluating mathematical expressions by converting infix expressions to postfix expressions and then evaluating that, which is much easier
<havenwood> &>> require 'ripper'; Ripper.tokenize "2 + 2"
<rubydoc> # => ["2", " ", "+", " ", "2"] (https://carc.in/#/r/823t)
<havenwood> englosh: That's ^ the first step - get the tokens.
<englosh> ahh..
<havenwood> &>> require 'ripper'; Ripper.lex "2 + 2"
<rubydoc> # => [[[1, 0], :on_int, "2", #<Ripper::Lexer::State: EXPR_END>], [[1, 1], :on_sp, " ", #<Ripper::Lexer::State:... check link for more (https://carc.in/#/r/823u)
<englosh> Ok that's something I currently don't do. I think I should try to do that step first
<havenwood> englosh: Next, lex - to figure out what each of them basically is, standalone - out of context.
<havenwood> &>> require 'ripper'; Ripper.sexp "2 + 2"
<englosh> because I have problems with negative numbers and maybe this step helps me solve the problem
<rubydoc> # => [:program, [[:binary, [:@int, "2", [1, 0]], :+, [:@int, "2", [1, 4]]]]] (https://carc.in/#/r/823v)
<havenwood> englosh: Then this ^ is the s-expression that is finally produced.
queip has quit [Ping timeout: 265 seconds]
* sammi` ;-]
<englosh> I see
<havenwood> englosh: It's now prepared to be translated to YARV bytecode, that the VM can use to produce machine instructions.
queip has joined #ruby
<havenwood> &>> RubyVM::InstructionSequence.compile("2 + 2").to_a.last
<rubydoc> # => [1, :RUBY_EVENT_LINE, [:putobject, 2], [:putobject, 2], [:opt_plus, {:mid=>:+, :flag=>16, :orig_argc=>1}, false], [:leave]] (https://carc.in/#/r/823w)
<havenwood> englosh: These ^ are the VM instructions.
bvdw has quit [Read error: Connection reset by peer]
<havenwood> &>> >> RubyVM::InstructionSequence.compile("2 + 2").to_binary
<rubydoc> stderr: -e:4: syntax error, unexpected >>... check link for more (https://carc.in/#/r/823x)
<havenwood> &>> RubyVM::InstructionSequence.compile("2 + 2").to_binary
<rubydoc> # =>... check link for more (https://carc.in/#/r/823y)
<havenwood> That ^ is the intermediary representation bytecode.
bvdw has joined #ruby
<englosh> interesting
<havenwood> englosh: From there, what machine bytecode is produced depends on the machine.
<englosh> I see, that makes sense
<havenwood> englosh: But basically, push 2 and 2 on to the stack, and add.
_phaul has quit [Ping timeout: 240 seconds]
<englosh> thank you very much for this thorough explanation. I will use that as a reference for parsing in the future
<havenwood> englosh: any time
NODE has quit [Quit: changing servers]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
englosh has quit [Remote host closed the connection]
<havenwood> englosh: Here's a little writeup I did on Ruby's new JIT that has a summary: https://developer.squareup.com/blog/rubys-new-jit/
queip_ has joined #ruby
NODE has joined #ruby
queip has quit [Ping timeout: 240 seconds]
skx86 has quit [Quit: Connection closed for inactivity]
xco has joined #ruby
queip has joined #ruby
queip_ has quit [Ping timeout: 265 seconds]
Eiam has joined #ruby
spiette has quit [Quit: ZNC 1.7.5 - https://znc.in]
queip has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip_ is now known as queip
spiette has joined #ruby
gix has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 276 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 246 seconds]
queip_ is now known as queip
xco has joined #ruby
_phaul has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
<adam12> havenwood: Were you saying the new square-sdk is still auto-generated?
krawchyk has quit [Ping timeout: 265 seconds]
_phaul has quit [Ping timeout: 240 seconds]
sameerynho has joined #ruby
GodFather has joined #ruby
krawchyk has joined #ruby
_phaul has joined #ruby
<havenwood> adam12: Yeah, a custom OpenAPI spec generator to target the custom Ruby SDK we built.
<adam12> havenwood: Right! Is the spec generator OSS?
<havenwood> adam12: No, it isn't. Sorry!!
<havenwood> adam12: I'd love to write a generator from scratch, open source from the start.
<havenwood> Code that writes code that writes code.
<havenwood> Test the tests that test the generator that generates the generator.
<adam12> havenwood: Do you know if anything like APIBlueprints was ever considered?
<adam12> havenwood: I almost feel like OpenAPI is the "Nobody ever got fired" option.
<havenwood> adam12:
_phaul has quit [Ping timeout: 265 seconds]
NL3limin4t0r is now known as NL3limin4t0r_afk
<havenwood> adam12: We have just a ton of specs, but if conversion is possible, maybe?
<havenwood> adam12: Looks like that ^ tool doesn't support to_api_blueprint yet.
queip has quit [Ping timeout: 265 seconds]
poontangmessiah has quit [Remote host closed the connection]
_phaul has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_phaul has quit [Ping timeout: 245 seconds]
fphilipe has joined #ruby
spacesuitdiver has joined #ruby
_phaul has joined #ruby
xco has quit [Ping timeout: 265 seconds]
fphilipe has quit [Ping timeout: 246 seconds]
_phaul has quit [Ping timeout: 276 seconds]
lineus has quit [Remote host closed the connection]
al2o3-cr has quit [Remote host closed the connection]
lineus has joined #ruby
al2o3-cr has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
_phaul has joined #ruby
eddof13 has quit [Quit: eddof13]
queip has joined #ruby
plujon has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
jenrzzz has joined #ruby
ravenousmoose has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
GodFather has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ravenousmoose has quit [Ping timeout: 252 seconds]
Mia has quit [Ping timeout: 265 seconds]
GodFather has quit [Ping timeout: 252 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
eddof13 has joined #ruby
queip has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
queip has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 252 seconds]
GodFather has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
skx86 has joined #ruby
jenrzzz has joined #ruby
teyas has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
fanta1 has quit [Quit: fanta1]
mynameisdebian has joined #ruby
<mynameisdebian> Is there a way to make an unfrozen copy of a frozen array, without iterating over all the array members?
queip has quit [Ping timeout: 240 seconds]
<al2o3-cr> mynameisdebian: arr.dup
suukim has quit [Quit: Konversation terminated!]
queip has joined #ruby
<mynameisdebian> al2o3-cr thank you
<al2o3-cr> yw ;)
teyas has joined #ruby
teyas has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
snk has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
grilix has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
Intelo has joined #ruby
leitz has quit [Quit: Leaving]
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
donofrio has joined #ruby
donofrio has quit [Remote host closed the connection]
sh7d_ has quit [Quit: meh]
Caerus has quit [Ping timeout: 276 seconds]
sh7d has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 250 seconds]
queip_ is now known as queip
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
Caerus has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ has joined #ruby
queip_ is now known as queip
tpanarch1st_ has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
<havenwood> mynameisdebian: Do you need to also dup all the Array values or no?
ricpf has joined #ruby
<mynameisdebian> havenwood, if I'm understanding the question correctly, the array member values are not frozen, just the original array. I tried al2o3-cr's answer and it met my needs. As always, though, I appreciate your help
<mynameisdebian> There are no words for how grateful I have been for your help in the past
queip has quit [Ping timeout: 250 seconds]
queip has joined #ruby
fphilipe has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip_ is now known as queip
lucasb has quit [Quit: Connection closed for inactivity]
fphilipe has quit [Ping timeout: 245 seconds]
ricpf has quit [Quit: Leaving]
dellavg has quit [Ping timeout: 276 seconds]
eddof13 has quit [Ping timeout: 265 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
queip has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip_ is now known as queip
krawchyk has quit [Quit: krawchyk]
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
lalitmee has quit [Ping timeout: 252 seconds]
<baweaver> "Tales from the Ruby Grimoire" is up: https://twitter.com/keystonelemur/status/1197996030744072193
kobain has joined #ruby
kobain has quit [Excess Flood]
queip has quit [Ping timeout: 250 seconds]
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> al2o3-cr, _phaul ^
spacesuitdiver has joined #ruby
ur5us__ has joined #ruby
Fridtjof has quit [Ping timeout: 240 seconds]
hutch1 has quit [Ping timeout: 252 seconds]
queip_ has joined #ruby
queip_ is now known as queip
rwb has joined #ruby
<al2o3-cr> right, i'm dealing with libmonocypher bindings and i've got a question. in the aead lock function it takes a key, iv(nonce) and a message(which could be any encoding) that's fine. in the unlock function when i return the buffer its binary. should i leave it as binary encode inside the method or leave it up to the user to encode?
NODE has quit [Quit: changing servers]
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
hutch1 has joined #ruby
NODE has joined #ruby
<al2o3-cr> here's an idea of what i'm on about: https://gist.github.com/gr33n7007h/813a7b47f17ed207cd65d1a5fd6d6e03
<al2o3-cr> oh btw, hi baweaver o/
ur5us__ has quit [Ping timeout: 246 seconds]
Fridtjof has joined #ruby
queip_ has joined #ruby
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
queip_ has quit [Ping timeout: 240 seconds]
<al2o3-cr> i don't think it's makes sense, but i'm not sure.
queip has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
donofrio has joined #ruby
donofrio has quit [Remote host closed the connection]
Guest48 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Guest48 is now known as smurfke
AJA4350 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
fphilipe has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
skx86 has quit [Quit: Connection closed for inactivity]
fphilipe has quit [Ping timeout: 276 seconds]
queip has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
falconfox has quit [Ping timeout: 265 seconds]
reber has quit [Read error: Connection reset by peer]
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
poontangmessiah has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smurfke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JohanP has quit [Ping timeout: 276 seconds]