havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 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!
phroa has quit [Quit: Leaving]
<Eiam> given there are two SO pages about this problem that are highly searchable, I suspect i am not alone, in either... disastrous code or perhaps, 'holding it wrong', is there really a right way to hold a knife with no hilt?
sameerynho has quit [Ping timeout: 244 seconds]
<SeepingN> carefully
r3m has joined #ruby
hope_canyon has joined #ruby
newplasticideas has joined #ruby
newplasticideas has quit [Client Quit]
hope_canyon has quit [Client Quit]
jenrzzz has joined #ruby
hope_canyon has joined #ruby
<hope_canyon> hi folks. anyone here have experience with RMagick? It's a rails implementation, but the problem I'm facing is more to do with Ruby's existing classes.
fredolinhares has quit [Ping timeout: 240 seconds]
throsturt has quit [Ping timeout: 245 seconds]
<hope_canyon> long and short of it is i have an endpoint that constructs a 'report' of user activity. without a file extension in the url, it will render html. supported extensions are pdf and png. pdf works fine, I'm using wickedpdf for this. for the png endpoint, i thought i'd use the same pdf string in memory, store that in a tempfile, and then convert that tempfile to a png.
<hope_canyon> the way it works at present, each png is saved in the root path of the application. i don't want this. i just want them created in memory and rendered with the send_data method, rather than with a template
throsturt has joined #ruby
Yojimble has quit [Remote host closed the connection]
ap4y has quit [Ping timeout: 258 seconds]
drincruz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
openCircuit__ has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
Guest77382 has quit [Ping timeout: 240 seconds]
openCircuit__ has quit [Ping timeout: 276 seconds]
thexa4 has joined #ruby
jacksoow_ has quit [Ping timeout: 265 seconds]
wickedbloodfart has joined #ruby
AJA4350 has quit [Quit: AJA4350]
wickedbloodfart has quit [Client Quit]
<hope_canyon> Iambchop: Will give this a read. cheers!
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jacksoow has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
oetjenj has quit [Client Quit]
Fernando-Basso has quit [Remote host closed the connection]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
gell5 has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
drincruz has joined #ruby
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
bruce_lee has quit [Ping timeout: 246 seconds]
oetjenj has quit [Client Quit]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Esa_ has joined #ruby
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]
stryek has quit [Quit: Connection closed for inactivity]
johnny56 has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
absolutejam1 has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
absolutejam1 has quit [Ping timeout: 245 seconds]
drincruz has quit [Ping timeout: 240 seconds]
electrostat has quit [Quit: uwotm8]
hutch has quit [Ping timeout: 276 seconds]
electrostat has joined #ruby
electrostat has quit [Client Quit]
duderonomy has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
Esa_ has quit []
ramfjord has joined #ruby
witlesswonder_ has joined #ruby
witlesswonder_ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
electrostat has joined #ruby
gix has quit [Ping timeout: 240 seconds]
dasher00 has quit [Ping timeout: 245 seconds]
tsujp has joined #ruby
gell5 has quit [Remote host closed the connection]
Esa_ has joined #ruby
witlesswonder has quit [Quit: Leaving]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
throsturt has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs1 has joined #ruby
grilix has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
x86sk has joined #ruby
ellcs has joined #ruby
ellcs1 has quit [Ping timeout: 246 seconds]
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
gix has joined #ruby
fredolinhares has joined #ruby
hutch has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
hutch has quit [Ping timeout: 245 seconds]
gell5 has joined #ruby
witlesswonder has joined #ruby
openCircuit__ has joined #ruby
openCircuit__ has quit [Ping timeout: 265 seconds]
poontangmessiah has quit [Remote host closed the connection]
gell5 has quit [Ping timeout: 240 seconds]
fredolinhares has quit [Quit: WeeChat 1.9.1]
tdy has quit [Ping timeout: 246 seconds]
cnsvc has joined #ruby
jud has quit [Quit: Leaving]
Esa_ has quit [Ping timeout: 246 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
_whitelogger has joined #ruby
tfitts_ has joined #ruby
tfitts_ has quit [Client Quit]
tfitts has joined #ruby
gell5 has joined #ruby
tdy has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
schne1der has joined #ruby
cnsvc has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
absolutejam1 has joined #ruby
absolutejam1 has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
absolutejam1 has joined #ruby
gix- has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 240 seconds]
Inline has quit [Quit: Leaving]
vondruch has joined #ruby
bitwinery has quit [Quit: Leaving]
nowhere_man has joined #ruby
Milos has quit [Excess Flood]
Milos has joined #ruby
schaerli has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
gell5 has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
FrankDW has quit [Read error: Connection reset by peer]
gell5 has quit [Ping timeout: 265 seconds]
chalkmonster has joined #ruby
oetjenj has joined #ruby
sauvin has joined #ruby
dionysus69 has joined #ruby
absolutejam1 has quit [Ping timeout: 245 seconds]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
grilix has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
hiroaki has quit [Ping timeout: 240 seconds]
nowhereman has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
bitwinery has joined #ruby
hope_canyon has quit [Quit: Leaving]
emptyflask has quit [Ping timeout: 268 seconds]
reber has joined #ruby
claw has quit [Ping timeout: 252 seconds]
claw has joined #ruby
TomyWork has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
schne1der has joined #ruby
SuperL4g has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
chalkmonster has quit [Ping timeout: 276 seconds]
SuperLag has quit [Ping timeout: 240 seconds]
Intelo has joined #ruby
absolutejam1 has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
Intelo has quit [Remote host closed the connection]
gell5 has joined #ruby
fphilipe_ has joined #ruby
gell5 has quit [Ping timeout: 276 seconds]
ellcs has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has joined #ruby
queip has quit [Ping timeout: 240 seconds]
Intelo has joined #ruby
bitwinery has quit [Quit: Leaving]
queip has joined #ruby
Jonopoly has joined #ruby
ur5us has joined #ruby
luat1203 has joined #ruby
luat1203 has quit [Client Quit]
throsturt has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
jenrzzz has joined #ruby
gell5 has joined #ruby
luat1203 has joined #ruby
luat1203 has quit [Client Quit]
luat1203 has joined #ruby
luat1203 has quit [Client Quit]
luat1203 has joined #ruby
FastJack has joined #ruby
bhaak has quit [Ping timeout: 245 seconds]
gell5 has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 265 seconds]
fphilipe_ has joined #ruby
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 276 seconds]
rubydoc_ has quit [Remote host closed the connection]
rubydoc has joined #ruby
paraxial has quit [Ping timeout: 240 seconds]
dasher00 has joined #ruby
Lyubo1 has quit [Ping timeout: 245 seconds]
thexa4 has joined #ruby
arahael1 is now known as Arahael
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
Lyubo1 has joined #ruby
paraxial has joined #ruby
ellcs has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Ping timeout: 246 seconds]
Lyubo1 has quit [Ping timeout: 246 seconds]
Norrin has quit [Quit: ""]
Norrin has joined #ruby
Tristan has joined #ruby
lord4163 has quit [Ping timeout: 245 seconds]
Tristan is now known as Guest50768
Tristan-Speccy has quit [Read error: Connection reset by peer]
j416 has quit [Ping timeout: 268 seconds]
linduxed has quit [Ping timeout: 258 seconds]
j416 has joined #ruby
lord4163 has joined #ruby
bhaak has joined #ruby
j416 has quit [Ping timeout: 276 seconds]
involans has joined #ruby
j416 has joined #ruby
dbugger has joined #ruby
witlesswonder has quit [Remote host closed the connection]
witlesswonder has joined #ruby
linduxed has joined #ruby
fphilipe_ has joined #ruby
gell5 has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gell5 has quit [Ping timeout: 276 seconds]
throsturt is now known as throstur
Lyubo1 has joined #ruby
chalkmonster has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
dionysus70 is now known as dionysus69
fphilipe_ has quit [Ping timeout: 276 seconds]
luat1203 has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
FernandoBasso has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
sagax has quit [Quit: Konversation terminated!]
involans has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 246 seconds]
schne1der has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
grilix has joined #ruby
reber has quit [Remote host closed the connection]
FernandoBasso has quit [Remote host closed the connection]
ntsrtoh^ has quit []
ffl^ has joined #ruby
donofrio_ has quit [Ping timeout: 245 seconds]
kabads has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
poontangmessiah has joined #ruby
jnix has quit [Quit: Connection closed for inactivity]
hutch has joined #ruby
banisterfiend has joined #ruby
ellcs1 has joined #ruby
solars has joined #ruby
grilix has quit [Ping timeout: 245 seconds]
tsujp has joined #ruby
<phaul> omg :)
gell5 has joined #ruby
arahael1 has joined #ruby
Arahael has quit [Ping timeout: 245 seconds]
absolutejam1 has quit [Ping timeout: 276 seconds]
absolutejam1 has joined #ruby
ElFerna has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 265 seconds]
schne1der has quit [Ping timeout: 240 seconds]
FernandoBasso has joined #ruby
queip has joined #ruby
ravenousmoose has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
AJA4350 has joined #ruby
Nicmavr has joined #ruby
jrafanie has joined #ruby
roaet has joined #ruby
<roaet> Howdy. Is there a way to step in 'pry'? not sure if pry is too specific of a gem to be asked here.
<phaul> there is a byebug pry plugin. but afaik vanilla pry is a single snapshot state viewer
<roaet> ah. neat. thanks phaul.
<phaul> you can look at the state including walking the current callstack though which is usually what ppl want. Also there is pry-rescue which stops in pry repl on exception
<roaet> I was looking to use pry as ipdb (I'm a python dev). Mainly a step debugger I guess?
<phaul> try byebug or pry-bybug
GodFather has joined #ruby
<roaet> i shall, than you
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has joined #ruby
banisterfiend has joined #ruby
<roaet> if I install pry-byebug with `gem install pry-byebug`, and it shows up when i run `gem list`, then what is wrong if it doesn't show up when i run `pry --plugins`?
<roaet> Could it be an rvm thing? I'm not super familiar with rvm as of yet.
<phaul> I don't know. If you start pry and type help, do you see the bybug commands there?
<roaet> i do not
<roaet> Oh. reload gem cache.
ElFerna has quit [Quit: ElFerna]
<phaul> did that help?
<roaet> nope. hm I'll mess with it. Thanks phaul.
<phaul> my bet is that it's installed with different gem environment.
<roaet> when I run gem-list in pry it does not list pry-byebug as a thing, also when I try gem install pry-byebug it fails.
ElFerna has joined #ruby
<phaul> byebug itself has a CLI, just gem install byebug and start as byebug.. if the pry plugin fails
codefriar has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
grilix has joined #ruby
<roaet> Ah. WELL. while trying to figure out the pry thing I figured out the bug. So it worked? Thanks again phaul
<phaul> yw
drincruz has joined #ruby
ellcs1 has quit [Ping timeout: 265 seconds]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
schaerli has quit [Ping timeout: 246 seconds]
Teckuro has joined #ruby
<Teckuro> Hi all
gell5 has joined #ruby
<phaul> hi :)
chichou has joined #ruby
<Teckuro> Oh hello again haha
ravenousmoose has quit [Ping timeout: 246 seconds]
hutch has quit [Ping timeout: 245 seconds]
gell5 has quit [Remote host closed the connection]
Teckuro has quit []
Teckuro has joined #ruby
AJA4351 has joined #ruby
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
thexa4 has joined #ruby
jrafanie has joined #ruby
hutch has joined #ruby
Huck777 has joined #ruby
Esa_ has joined #ruby
schaerli has joined #ruby
emptyflask has joined #ruby
tzwork has joined #ruby
tzwork has quit [Remote host closed the connection]
<FernandoBasso> :)
gell5 has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schaerli has quit [Ping timeout: 265 seconds]
tata-tzwork has joined #ruby
schne1der has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
ElFerna has quit [Quit: ElFerna]
tata-tzwork has quit [Remote host closed the connection]
ElFerna has joined #ruby
Intelo has quit [Remote host closed the connection]
codefriar has quit [Ping timeout: 265 seconds]
codefriar has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
gell5 has joined #ruby
Inline has joined #ruby
AJA4351 has joined #ruby
fphilipe_ has joined #ruby
absolutejam1 has quit [Ping timeout: 276 seconds]
codefriar has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
gell5 has quit [Ping timeout: 245 seconds]
hutch has quit [Ping timeout: 245 seconds]
codefriar has joined #ruby
rippa has joined #ruby
aperes has joined #ruby
<phaul> &fake
<rubydoc> parser error at position 0 around `f'
<phaul> &fake Faker
<rubydoc> Yarr::Command::Base doesn't know how to handle #<Yarr::AST:0x00007f3d38469980>
<phaul> &fake Faker::Blah
<rubydoc> Yarr::Command::Base doesn't know how to handle #<Yarr::AST:0x00007f3d38490ff8>
<phaul> &fake Faker.lah
<rubydoc> No suitable faker found. The list is at https://github.com/stympy/faker with the restriction that I need Classname.methodname.
<phaul> &fake Movie.quote
<rubydoc> Go ahead, make my day.
<phaul> &fake Movie.quote
<rubydoc> May the Force be with you.
<phaul> &fake Movie.quote
<rubydoc> Fasten your seatbelts. It's going to be a bumpy night.
<throstur> phaul: since you're bored wanna help me with a regex? I need to match "\n" or "+"
<throstur> those are literals, not "newline
<throstur> s/$/"/
<throstur> like a string could be 'This is all\n + on one line'
<throstur> I can't for the life of me figure out how to separate them on the \n
<throstur> and sometimes it's missing, so I need both :(
<phaul> ah. sure. tbh those messages should have happened on #rubydoc-dev ;)
<throstur> I'm gonna grab a coffee, in case you ask a follow up and think I've died and abandoned you
<aperes> throstur: Nobody ever knows Nobody ever sees I left my soul Back there now I'm too weak Most nights I pray for you to come home Praying to the Lord Praying for my soul
<phaul> lol
TomyWork has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 246 seconds]
<phaul> &>> 'this is all\n + on one line'.split(/\\n *\+?/)
<rubydoc> # => ["this is all", " on one line"] (https://carc.in/#/r/7jts)
Esa_ has quit [Ping timeout: 276 seconds]
roaet has quit [Ping timeout: 276 seconds]
<phaul> actually that only works if the \\n is not missing
involans has joined #ruby
<phaul> &>> 'this is all \n on one line'.split(/\\n *\+|\\n|\+/) # but the white spaces around the split are not trimmed
<rubydoc> # => ["this is all ", " on one line"] (https://carc.in/#/r/7jtx)
<throstur> that's okay, I can strip the results :)
<throstur> thank you so much phaul
<phaul> yw
Guest77382 has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
gell5 has joined #ruby
roaet has joined #ruby
<throstur> if I define a variable in a begin <here> rescue <foo> end block, can I always use it after the block as long as the outer scope stays?
gell5 has quit [Ping timeout: 246 seconds]
<throstur> basically, do I have to do myvar=nil begin myvar=assignedvalue end # use myvar here; or can I simply begin myvar=assignedvalue end # use myvar here; every time?
<throstur> it works in irb, but I'm skeptical
<phaul> yeah I think begin end is not a lexical scope for local variables.
<leftylink> if there is any doubt about it, may I suggest the alternative of `myvar = begin ... rescue ... end`
<phaul> begin end is just like while, until, if, case etc. in this regard
Sharcho has joined #ruby
<phaul> to my knowledge there is top level binding , source file top levels, class , module, def, and blocks with different rules that define visibility scopes for local variables
<throstur> omg, ruby is so cool, you're telling me I can do response = begin api.send_payload() rescue RestClient::BadRequest api.send_payload_fallback() end
<throstur> that's amazong
<Sharcho> Does anyone know if 2.6.5 is coming anytime soon, due to https://bugs.ruby-lang.org/issues/16136 ?
r3m has quit [Quit: WeeChat 2.7-dev]
r3m has joined #ruby
<leftylink> I wonder how unsettled I should be by the fact that mame said "too complicated and undocumented", "too difficult for human" ...
<leftylink> ... likely what will happen for me is I forget about this
<throstur> meme?
* throstur puts on dunce hat and exclaims "gief plox"
dretnx has joined #ruby
thexa4 has joined #ruby
<phaul> throstur: https://github.com/mame/
<phaul> probably the most advanced person in ruby dark magick wizardry
schne1der has joined #ruby
cthulchu has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
esrse has joined #ruby
gell5 has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
croberts has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Toledo has joined #ruby
<throstur> cool
<throstur> holy sh!t
jacksoow has quit [Read error: Connection reset by peer]
<TheMoonMaster> a nes emulator in ruby? very cool
jacksoow has joined #ruby
throstur is now known as throstur_
suukim has joined #ruby
gell5 has quit [Ping timeout: 265 seconds]
Sharcho has quit [Remote host closed the connection]
Sharcho has joined #ruby
nfsnobody has quit [Ping timeout: 264 seconds]
nfsnobody- has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jacksoow has joined #ruby
esrse has quit [Ping timeout: 276 seconds]
IceDragon has quit [Ping timeout: 244 seconds]
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
aperes has quit [Ping timeout: 246 seconds]
NL3limin4t0r is now known as NL3limin4t0r_afk
aperes has joined #ruby
IceDragon has joined #ruby
chichou has quit [Quit: WeeChat 2.6]
<havenwood> leftylink: That reminds me, I was going to patch that in RVM.
<havenwood> leftylink: There's a developer meeting next week. That'll probably be when it's decided.
<havenwood> TheMoonMaster: It runs great too! Use the --jit flag for CRuby or TruffleRuby is the fastest by far.
jrafanie has joined #ruby
Sharcho has quit [Quit: Leaving]
<havenwood> "The fstring mechanism is too difficult for human (except normalperson (Eric Wong))."
<havenwood> Hehe
lucasb has joined #ruby
poontangmessiah_ has joined #ruby
involans has quit [Quit: involans]
poontangmessiah has quit [Ping timeout: 276 seconds]
<phaul> ouch
involans has joined #ruby
duderonomy has joined #ruby
alfiemax has joined #ruby
MrBismuth has joined #ruby
aperes has quit [Ping timeout: 240 seconds]
MrBusiness3 has quit [Ping timeout: 276 seconds]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
dretnx2 has joined #ruby
dretnx2 has quit [Client Quit]
involans has quit [Quit: involans]
thexa4 has joined #ruby
dretnx has quit [Ping timeout: 265 seconds]
ElFerna has quit [Quit: ElFerna]
ElFerna has joined #ruby
Toledo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hutch has joined #ruby
Toledo has joined #ruby
involans has joined #ruby
queip has quit [Ping timeout: 245 seconds]
donofrio has joined #ruby
involans has quit [Client Quit]
tdy has joined #ruby
involans has joined #ruby
queip has joined #ruby
gix has joined #ruby
ElFerna has quit [Quit: ElFerna]
ElFerna has joined #ruby
involans has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
roaet has quit [Ping timeout: 265 seconds]
involans has joined #ruby
ElFerna has quit [Quit: ElFerna]
drincruz_ has joined #ruby
ElFerna has joined #ruby
ElFerna has quit [Read error: Connection reset by peer]
SeepingN has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 240 seconds]
hutch has quit [Ping timeout: 246 seconds]
roaet has joined #ruby
involans has quit [Quit: involans]
involans has joined #ruby
involans has quit [Client Quit]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
involans has joined #ruby
ElFerna1 has joined #ruby
nowhere_man has joined #ruby
involans_ has joined #ruby
ElFerna has quit [Ping timeout: 276 seconds]
ElFerna1 is now known as ElFerna
suukim has quit [Quit: Konversation terminated!]
involans has quit [Ping timeout: 246 seconds]
involans_ is now known as involans
involans has quit [Quit: involans]
involans has joined #ruby
jacksoow has quit [Ping timeout: 246 seconds]
jacksoow has joined #ruby
redlegion has quit [Quit: The Lounge - https://thelounge.chat]
alfiemax has joined #ruby
involans has quit [Quit: involans]
alfiemax_ has quit [Ping timeout: 276 seconds]
redlegion has joined #ruby
elphe has quit [Ping timeout: 265 seconds]
involans has joined #ruby
alfiemax_ has joined #ruby
jenrzzz has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
tdy has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has joined #ruby
involans has quit [Quit: involans]
gell5 has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
dionysus70 is now known as dionysus69
Xiti has quit [Quit: Xiti]
involans has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
tdy has quit [Ping timeout: 245 seconds]
gell5 has quit [Ping timeout: 240 seconds]
sauvin has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
hutch has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
throstur_ has quit [Ping timeout: 265 seconds]
cd has joined #ruby
involans has quit [Quit: involans]
regedit has joined #ruby
reber has joined #ruby
involans has joined #ruby
alfiemax has joined #ruby
vondruch has quit [Quit: vondruch]
throstur_ has joined #ruby
vondruch has joined #ruby
yann-kaelig has joined #ruby
absolutejam1 has joined #ruby
Xiti has joined #ruby
involans has quit [Quit: involans]
involans has joined #ruby
involans has quit [Client Quit]
poontangmessiah_ has quit [Remote host closed the connection]
tdy has joined #ruby
hutch has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
grilix has quit [Ping timeout: 240 seconds]
hutch has quit [Ping timeout: 276 seconds]
<leftylink> can I unsubscribe from these particular highlights? this is not really my area of interest.
<leftylink> thank you
emptyflask has quit [Ping timeout: 240 seconds]
<havenwood> Sharcho ^
yann-kaelig has quit [Quit: yann-kaelig]
<havenwood> leftylin: Oops. My syntax highlighter chose a color for your nick too close to Sharcho's.
involans has joined #ruby
emptyflask has joined #ruby
alfiemax has quit [Remote host closed the connection]
AJA4350 has joined #ruby
thexa4 has joined #ruby
jacksoow has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
involans has quit [Client Quit]
nowhere_man has quit [Ping timeout: 240 seconds]
jacksoow has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
hutch has joined #ruby
tdy has quit [Ping timeout: 276 seconds]
involans has joined #ruby
involans has quit [Client Quit]
alfiemax has joined #ruby
alfiemax_ has joined #ruby
oetjenj has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 245 seconds]
hutch has quit [Ping timeout: 276 seconds]
jacksoow_ has joined #ruby
jacksoow has quit [Ping timeout: 240 seconds]
jacksoow_ has quit [Read error: Connection reset by peer]
hutch has joined #ruby
jacksoow has joined #ruby
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
involans has joined #ruby
SeepingN_ is now known as CPngN
involans has quit [Client Quit]
magellanicloud has joined #ruby
magellanicloud has quit [Remote host closed the connection]
bambanx has joined #ruby
grilix has joined #ruby
gnufied has quit [Ping timeout: 268 seconds]
Xiti has quit [Quit: Xiti]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Xiti has joined #ruby
bambanx has quit [Quit: Leaving]
hutch has quit [Ping timeout: 245 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
zululee_ has quit [Quit: The Lounge - https://thelounge.chat]
robotcars has joined #ruby
<robotcars> when this gets written to a file, i lose the spaces, any ideas on how to retain https://github.com/ccsd/ledbelly/blob/master/src/events/canvas_raw.rb#L61
zululee_ has joined #ruby
<phaul> replace %W qith %q and remove join
<phaul> &>> %W[a b c]
<phaul> hm.
<robotcars> %q works. thanks phaul!
<phaul> you can also lose join
<phaul> &>> "rubydoc, where are you?"
jordanm has quit [Read error: Connection reset by peer]
<robotcars> lost the join, it's keeping indentation
jordanm has joined #ruby
elphe has joined #ruby
<phaul> ah. my CI messed up stuff. I just roll back
greengriminal has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
<phaul> &>> %W[a b c]
<rubydoc> # => ["a", "b", "c"] (https://carc.in/#/r/7jx5)
<phaul> &>> %W[a b c].join
<rubydoc> # => "abc" (https://carc.in/#/r/7jx6)
<phaul> robotcars: np. sorry, bit of mishap with the bot :)
gell5 has joined #ruby
elphe has quit [Ping timeout: 265 seconds]
<robotcars> q isn't interpolating
<phaul> try %Q
<robotcars> excellent.
<robotcars> now the file has leading white spaces, tried .strip and .strip!
<phaul> you can use heredoc. there are different types, probably <<~ is the best with indentation in code
gell5 has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
<robotcars> yep, that's what I got too.
<robotcars> thanks phaul!
<phaul> yw
cthulchu_ has joined #ruby
cthu| has joined #ruby
cthulchu has quit [Ping timeout: 276 seconds]
ap4y has joined #ruby
cthulchu_ has quit [Ping timeout: 240 seconds]
jtdowney has quit [Quit: Bye]
jtdowney has joined #ruby
ap4y has quit [Client Quit]
nowhere_man has joined #ruby
ur5us has joined #ruby
drincruz_ is now known as drincruz
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Remote host closed the connection]
throstur_ has quit [Ping timeout: 246 seconds]
oetjenj has joined #ruby
throstur_ has joined #ruby
cadeskywalker has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
quintasan has quit [Ping timeout: 246 seconds]
dous has quit [Ping timeout: 264 seconds]
quintasan has joined #ruby
quintasan has quit [Changing host]
quintasan has joined #ruby
dous has joined #ruby
jcalla has quit [Quit: Leaving]
chalkmonster has joined #ruby
robotcars has left #ruby [#ruby]
hutch has joined #ruby
reber has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.5]
ap4y has joined #ruby
ap4y has quit [Client Quit]
ap4y has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
Esa_ has joined #ruby
ap4y has quit [Disconnected by services]
ap4y- has joined #ruby
ap4y has joined #ruby
ap4y has quit [Remote host closed the connection]
ap4y- has quit [Client Quit]
ap4y has joined #ruby
banisterfiend has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
cthulchu has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
greengriminal has quit [Quit: Leaving]
Guest77382 is now known as davidw
davidw is now known as Guest51714
Guest51714 has quit [Changing host]
Guest51714 has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 246 seconds]
absolutejam1 has quit [Ping timeout: 246 seconds]
ElFerna has quit [Ping timeout: 245 seconds]
<leftylink> we can't backtick in carcinogen can we
<leftylink> &>> `true`
<rubydoc> # => "" (https://carc.in/#/r/7jz7)
<leftylink> &>> `echo 1`
<rubydoc> # => "1\n" (https://carc.in/#/r/7jz8)
<leftylink> oh okay then
<leftylink> ahhhhhhh ENV is smart, it automatically freezes any strings you put into it. I was wondering "but what would happen if I mutated a value of ENV"
<leftylink> &>> ENV['ARGH'] = ?b; ENV['ARGH'].clear
<rubydoc> stderr: -e:2:in `clear': can't modify frozen String (FrozenError) (https://carc.in/#/r/7jza)
<leftylink> note that additionally for all hashes, string keys are frozen on entry, but the same is not said of keys of other mutable types, nor any values
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
<phaul> &>> a = []; b = { a => 1 }; a << 1; b
<rubydoc> # => {[1]=>1} (https://carc.in/#/r/7jzb)
<phaul> no idea what this means..
<leftylink> and guess what
<leftylink> now try to do b[a] or b[[]] or b[[1]]
Fernando-Basso has joined #ruby
<phaul> wow
<leftylink> is there argument to b.[] that will now return 1?? I wasn't able to find one last time I tried
<phaul> savage
roaet has quit [Ping timeout: 245 seconds]
Jonopoly has quit [Ping timeout: 245 seconds]
<leftylink> b[b.keys.first] ? NOPE
<leftylink> I can no longer figure out how to access a value at that key
<leftylink> but fear not
<leftylink> all that you need to do is `a.clear` and then `b[a]` is once again good
<leftylink> all is right with the world
drincruz has quit [Ping timeout: 265 seconds]
Jonopoly has joined #ruby
<phaul> when you say a.clear which method do you mean exactly? there is no Object#clear
<phaul> and it could be anything from where we started
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
Intelo has joined #ruby
<phaul> oh I see. Array#clear would do it.
<phaul> why? is this, leftylink ?
<leftylink> er, I guess "whatever is necessary to get the thing to be what it was when it was hashed" ?
<phaul> excepth a = [] doesn't make it work, a.clear does
<leftylink> that makes sense too, right? a = [] hasn't modified the object formerly named a
<leftylink> whereas a.clear would
<phaul> nvm. I see. I does
<phaul> It*
<leftylink> the thing I was mentioning with it being the other way around as well
<leftylink> &>> a = [1]; b = { a => 1 }; a.clear; [b[a], b[[]], b[[1]], b[b.keys.first], (a << 1; b[a])]
<rubydoc> # => [nil, nil, nil, nil, 1] (https://carc.in/#/r/7jzd)
<leftylink> so, just "whatever is necessary to make it the same"
absolutejam1 has joined #ruby
<leftylink> also!
<leftylink> &>> a = [1]; b = { a => 1 }; a.clear; b[[]] = 2; {"two values w/ same key??" => b, keys: b.keys}
<rubydoc> # => {"two values w/ same key??"=>{[]=>1, []=>2}, :keys=>[[], []]} (https://carc.in/#/r/7jze)
<leftylink> sort of reminds me of https://bugs.ruby-lang.org/issues/13146 really
dbugger has quit [Quit: Leaving]
absolutejam1 has quit [Ping timeout: 276 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
gell5 has joined #ruby
hutch has joined #ruby
gell5 has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
hutch has quit [Ping timeout: 245 seconds]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
hutch has joined #ruby
throstur_ has quit [Ping timeout: 276 seconds]
ramfjord has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
bhaak has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 276 seconds]
m3ssia has quit [Quit: ZNC 1.6.3+deb1ubuntu0.2 - http://znc.in]
throstur_ has joined #ruby
ramfjord_ has joined #ruby
jenrzzz has quit [Quit: Lost terminal]
ukd1_ has quit [Quit: leaving]
Guest51714 has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 246 seconds]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
m3ssia has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
absolutejam1 has joined #ruby
Guest51714 has joined #ruby
absolutejam1 has quit [Ping timeout: 245 seconds]
dasher00 has quit [Ping timeout: 265 seconds]
ramfjord_ has quit [Ping timeout: 265 seconds]
Esa_ has quit []
roaet has joined #ruby
banisterfiend has joined #ruby
bhaak has joined #ruby