havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bsdbandit-01 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Reshi_ has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
dcunit3d has quit [Ping timeout: 265 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
dfucci has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 256 seconds]
dcunit3d has joined #ruby
JasonO has quit [Excess Flood]
JasonO has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
dfucci has quit [Ping timeout: 272 seconds]
somazero has quit [Remote host closed the connection]
GodFather has joined #ruby
cnsvc has joined #ruby
oddp has quit [Quit: quit]
cloud69 has quit [Quit: Connection closed for inactivity]
TomyLobo has quit [Read error: Connection reset by peer]
brokkoli_origin has joined #ruby
coniptor has quit [Ping timeout: 256 seconds]
drnerdius has joined #ruby
brokkoli_origin has quit [Quit: Leaving]
stryek has quit [Quit: Connection closed for inactivity]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has joined #ruby
baojg has joined #ruby
drnerdius has quit [Quit: Konversation terminated!]
va5c0 has quit [Quit: WeeChat 3.0]
coniptor has quit [Ping timeout: 256 seconds]
ua has quit [Ping timeout: 260 seconds]
coniptor has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
drnerdius has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
drnerdius has quit [Quit: Konversation terminated!]
ur5us has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
Rudd0 has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
wald0 has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 240 seconds]
bkuhlmann has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
coniptor has joined #ruby
dfucci has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
nertzy has quit [Quit: Leaving]
bsdbandit-01 has quit [Read error: Connection reset by peer]
gueorgui has quit [Ping timeout: 240 seconds]
johndotpub has joined #ruby
<foul_owl> Understood, thank you!
tanju has joined #ruby
tanju has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
DTZUZU_ has joined #ruby
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
rzjian has joined #ruby
DTZUZU_ has quit [Ping timeout: 260 seconds]
tanju has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bkuhlmann has quit []
sagax has joined #ruby
ChmEarl has quit [Quit: Leaving]
orbyt_ has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
wornt has joined #ruby
Rudd0 has joined #ruby
<wornt> Having trouble with File.delete(filepath) returning "Errno::EACCES at /upload Permission denied @ apply2files"
rzjian has quit [Ping timeout: 264 seconds]
<wornt> Code here: https://bpa.st/GK3Q . I suspect this may be because a file is open and it isn't closed when delete is called on it.
<wornt> for pitcher = Pitcher::Pitcher.new, do you have to close a csv = pitcher.load_csv(filepath) or is that closed automatically?
bsdbandit-01 has joined #ruby
sagax has quit [Quit: Konversation terminated!]
<wornt> oof, I found the problem. load_csv() returns a file, so we simply close it, csv.close()
bsdbandit-01 has quit [Read error: Connection reset by peer]
jeromelanteri has quit [Remote host closed the connection]
Rounin has joined #ruby
sagax has joined #ruby
polishdub has quit [Remote host closed the connection]
rzjian has joined #ruby
akem_ has quit [Ping timeout: 264 seconds]
akem_ has joined #ruby
akem_ has quit [Remote host closed the connection]
akem_ has joined #ruby
rzjian has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
thinkpad has joined #ruby
polishdub has joined #ruby
rubydoc has quit [Ping timeout: 264 seconds]
thinkpad has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 260 seconds]
m27frogy has quit [Ping timeout: 272 seconds]
polishdub has quit [Remote host closed the connection]
thinkpad has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
pip has joined #ruby
cloud69 has joined #ruby
bsdbandit-01 has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
akem has joined #ruby
rubydoc has joined #ruby
viporli has joined #ruby
akem_ has quit [Ping timeout: 256 seconds]
thinkpad has quit [Read error: Connection reset by peer]
phaul has joined #ruby
akem has quit [Ping timeout: 272 seconds]
ua has joined #ruby
thinkpad has joined #ruby
tanju has quit [Read error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
thinkpad has quit [Ping timeout: 240 seconds]
thinkpad has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
rzjian has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pip has quit [Quit: Ex-Chat]
pip has joined #ruby
pip is now known as Guest26225
bsdbandit-01 has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
siery has quit [Read error: Connection reset by peer]
tanju has joined #ruby
tanju has quit [Read error: Connection reset by peer]
noizex has quit [Ping timeout: 264 seconds]
Guest26225 has quit [Ping timeout: 240 seconds]
Guest26225 has joined #ruby
coniptor has quit [Ping timeout: 260 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
prion has quit [Ping timeout: 265 seconds]
coniptor has joined #ruby
thinkpad has quit [Ping timeout: 246 seconds]
thinkpad has joined #ruby
jmcgnh has quit [Ping timeout: 240 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
jmcgnh has joined #ruby
thinkpad has quit [Ping timeout: 246 seconds]
tanju has joined #ruby
thinkpad has joined #ruby
tanju has quit [Read error: Connection reset by peer]
rubydoc has quit [Remote host closed the connection]
elcuervo has joined #ruby
rubydoc has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
cuerbot has quit [Ping timeout: 246 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
SeepingN has joined #ruby
baojg_ has joined #ruby
coniptor has joined #ruby
baojg has quit [Ping timeout: 260 seconds]
SeepingN has quit [Ping timeout: 272 seconds]
FastJack has joined #ruby
fippy_ has quit [Ping timeout: 260 seconds]
thinkpad has quit [Ping timeout: 256 seconds]
thinkpad has joined #ruby
siery has joined #ruby
dfucci has joined #ruby
schaerli has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thinkpad has quit [Ping timeout: 265 seconds]
thinkpad has joined #ruby
baojg__ has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
Guest26225 is now known as pip
pip has joined #ruby
pip has quit [Changing host]
pip has quit [Quit: Ex-Chat]
baojg_ has quit [Ping timeout: 264 seconds]
dfucci has joined #ruby
teclator has joined #ruby
thinkpad has quit [Read error: No route to host]
howdoi has quit [Quit: Connection closed for inactivity]
roadie has joined #ruby
thinkpad has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
<leftylink> interesting... https://ruby-doc.org/stdlib-3.0.0/libdoc/matrix/rdoc/Matrix.html documentation a little thin... compare to https://docs.ruby-lang.org/en/3.0.0/Matrix.html much better
roadie has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
thinkpad has quit [Quit: lawl]
TomyWork has joined #ruby
thinkpad has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
cadeskywalker has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
thinkpad has quit [Ping timeout: 246 seconds]
thinkpad has joined #ruby
coniptor has joined #ruby
dfucci has quit [Quit: Lost terminal]
dfucci has joined #ruby
cgfbee has quit [Ping timeout: 256 seconds]
schne1der has joined #ruby
cgfbee has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
SeepingN has joined #ruby
gueorgui has joined #ruby
SeepingN has quit [Ping timeout: 240 seconds]
tanju has joined #ruby
tanju has quit [Read error: Connection reset by peer]
iNs has quit [Ping timeout: 240 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
rzjian has quit [Quit: WeeChat 3.0]
_aeris_ has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
_aeris_ has joined #ruby
vondruch has joined #ruby
coniptor has quit [Ping timeout: 272 seconds]
viporli has quit [Remote host closed the connection]
schaerli_ has joined #ruby
bsdbandit-01 has joined #ruby
viporli has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
schaerli has quit [Read error: Connection reset by peer]
Axy has quit [Read error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
viporli has quit [Remote host closed the connection]
viporli has joined #ruby
coniptor has joined #ruby
schaerli__ has joined #ruby
schaerli_ has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
jl4 has joined #ruby
orbyt_ has quit [Ping timeout: 264 seconds]
coffeejunk has quit [Ping timeout: 246 seconds]
cstrahan has quit [Ping timeout: 244 seconds]
kermit has quit [Ping timeout: 244 seconds]
darthThorik has quit [Ping timeout: 246 seconds]
coffeejunk has joined #ruby
kermit has joined #ruby
darthThorik has joined #ruby
cstrahan has joined #ruby
kristian_on_linu has joined #ruby
viporli has quit [Remote host closed the connection]
viporli has joined #ruby
al2o3-cr has joined #ruby
baojg__ has quit [Remote host closed the connection]
Technodrome has joined #ruby
Axy has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
akem has joined #ruby
viporli has quit [Ping timeout: 240 seconds]
ZeroFux has joined #ruby
foul_owl has quit [Ping timeout: 240 seconds]
LtHummus has quit [Ping timeout: 256 seconds]
akem has quit [Ping timeout: 256 seconds]
LtHummus has joined #ruby
SeepingN has joined #ruby
SeepingN has quit [Ping timeout: 256 seconds]
m27frogy has joined #ruby
linoge has joined #ruby
foul_owl has joined #ruby
jl4 has quit [Ping timeout: 264 seconds]
CrimisoK` has joined #ruby
somazero has joined #ruby
CrimisoK` has left #ruby [#ruby]
TCZ has joined #ruby
jl4 has joined #ruby
ZeroFux has quit [Remote host closed the connection]
siery has quit [Ping timeout: 246 seconds]
siery has joined #ruby
akem has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
_aeris_ has quit [Remote host closed the connection]
siery has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
_aeris_ has joined #ruby
bsdbandit-01 has joined #ruby
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby
ShekharReddy has joined #ruby
titanbiscuit has quit [Ping timeout: 256 seconds]
jl4 has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Kindergarten is elsewhere!]
schaerli__ has quit [Ping timeout: 256 seconds]
rzjian has joined #ruby
vondruch has joined #ruby
jl4 has joined #ruby
ShekharReddy has quit []
cliluw has quit [Ping timeout: 264 seconds]
TCZ has joined #ruby
FrankyCyborg has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
jl4 has quit [Ping timeout: 272 seconds]
BSaboia has joined #ruby
SeepingN has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu_ has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
rzjian has quit [Ping timeout: 264 seconds]
siery has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
coniptor has joined #ruby
Technodrome has joined #ruby
cloud69 has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
cowgomoo has joined #ruby
TCZ has quit [Remote host closed the connection]
BSaboia has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
ChmEarl has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
prion has joined #ruby
<adam12> I wonder if the Rubygems CDN is having issues.
coniptor has joined #ruby
<adam12> A Twitter search says yes.
BSaboia has joined #ruby
batisi[m] has quit [Quit: Idle for 30+ days]
BSaboia has quit [Client Quit]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
thinkpad has quit [Ping timeout: 264 seconds]
thinkpad has joined #ruby
coniptor has joined #ruby
BSaboia has joined #ruby
dionysus69 has quit [Quit: Konversation terminated!]
dionysus69 has joined #ruby
Raboo has joined #ruby
queip has quit [Remote host closed the connection]
queip has joined #ruby
hiroaki has joined #ruby
jl4 has joined #ruby
pwnd_sfw has quit [Ping timeout: 256 seconds]
pwnd_sfw has joined #ruby
Raboo has quit [Quit: leaving]
Rudd0^ has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
s2013 has joined #ruby
Rudd0 has quit [Ping timeout: 272 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
hassox has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
queip has left #ruby ["Konversation terminated!"]
Raboo has joined #ruby
schne1der has quit [Quit: schne1der]
coniptor has joined #ruby
roshanavand has joined #ruby
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand1 is now known as roshanavand
bsdbandit-01 has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
iNs has joined #ruby
thinkpad has quit [Ping timeout: 256 seconds]
thinkpad has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
iNs has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
BSaboia has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
BSaboia has quit [Client Quit]
lucasb has joined #ruby
<prion> what are the most underrated methods on array/string/enumerable
<prion> or ones ruby has that you miss in other languages
howdoi has joined #ruby
<havenwood> prion: Enumerable#tally is a fun newish one. :)
<havenwood> prion: Array#permutation and friends can be handy.
<havenwood> prion: Gotta love #cycle.
<havenwood> prion: String#grapheme_clusters too.
<prion> tally is cool
<prion> i called it histogram but i think tally is better
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
thinkpad has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
thinkpad has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
noboruma has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
noboruma has quit [Ping timeout: 246 seconds]
noboruma has joined #ruby
TomyWork has quit [Remote host closed the connection]
coniptor has quit [Ping timeout: 264 seconds]
ua has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
stryek has joined #ruby
ua has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has joined #ruby
bsdbandit-01 has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
TCZ has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bambanx has joined #ruby
TCZ has quit [Remote host closed the connection]
BSaboia has joined #ruby
brunosaboia_ has joined #ruby
thinkpad has quit [Ping timeout: 246 seconds]
BSaboia has quit [Ping timeout: 256 seconds]
thinkpad has joined #ruby
iNs_ has joined #ruby
iNs has quit [Quit: bubye]
coniptor has quit [Ping timeout: 260 seconds]
coniptor has joined #ruby
thinkpad has quit [Ping timeout: 246 seconds]
thinkpad has joined #ruby
cuerbot has joined #ruby
gix has joined #ruby
elcuervo has quit [Ping timeout: 256 seconds]
alextee has quit [Ping timeout: 260 seconds]
alextee has joined #ruby
cnsvc has joined #ruby
cliluw has joined #ruby
bsdbandit-01 has joined #ruby
naftilos76 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
<naftilos76> I am saving multiple mqtt messages in mysql with ruby scripts and after struggling for days i have managed to get a time of 1-2ms per each message. Does that sound like a value that can be further optimized? I am using mysql2 gem and grouping messages within every insert in mysql.
<naftilos76> using ruby 3.0
<naftilos76> i am hoping to reach around 1000 messages per sec but that requires 0.8ms/message at the worst. Do you thing it is possible?
<naftilos76> a message would look like: {"user_uid":"0518c44e44a3da6a230e93d545d2bf964a0fdd83","value":29.5,"timestamp":"2021-01-04 17:41:43.295 +0200"}
<naftilos76> and off course the topic name
<havenwood> naftilos76: Can you collate and bulk insert in smallish batches?
alextee has quit [Ping timeout: 256 seconds]
<naftilos76> i am already doing that. that is combining multiple message into one insert.
<havenwood> naftilos76: Ah, gotcha.
<naftilos76> i am hoping to do this with ruby otherwise i will have to do it with C++ :)
brunosaboia_ has quit [Ping timeout: 256 seconds]
brunosaboia_ has joined #ruby
<naftilos76> havenwood: do you thing it will be much faster with C++ ? The saving-to-db part is the one that wories me. Most of the other suff is done via sockets (sent & received)
thinkpad has quit [Ping timeout: 265 seconds]
thinkpad has joined #ruby
<naftilos76> sorry, i will ask at the right channel - no worries
<havenwood> naftilos76: I'd expect the I/O parts to be slow and the C++/Ruby/other lang parts to be fast enough to not matter much, but YMMV.
<naftilos76> ok thanks
brunosaboia_ has quit [Quit: Leaving]
BSaboia has joined #ruby
<havenwood> naftilos76: Then again, you might be able to eek out a bit more? https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=update
<havenwood> naftilos76: h20-mruby look like about 10x the data update rate as a nice Roda-based Rack app there ^
alextee has joined #ruby
<naftilos76> havenwood: thanks really interesting
coniptor has quit [Ping timeout: 264 seconds]
factormystic has quit [Read error: Connection reset by peer]
factormystic has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
wornt has quit [Remote host closed the connection]
nofxx_ has quit [Remote host closed the connection]
wornt has joined #ruby
nofxx_ has joined #ruby
coniptor has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
cahoots has joined #ruby
<cahoots> hi, what's the easiest way to run a shell command and print out each bit of stdout as soon as it's printed (which can be done with system(...)), but also return stdout as a string at the end?
naftilos76 has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
scriptonaut has joined #ruby
cloud69 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
<scriptonaut> hey all, I'm loading ruby hashes into a tree data structure I built. I need to print the tree structure vertically, like this: https://hatchet.readthedocs.io/en/latest/_images/02-tree.png
<scriptonaut> does anyone have a guide on how to do this?
<scriptonaut> It's not coming out how I want it
<havenwood> cahoots: Hem, you could do it with IO.popen or popen3.
<havenwood> scriptonaut: I think zenspider's graph gem can do that.
<havenwood> scriptonaut: Ah, you want an ascii art one particularly?
<havenwood> scriptonaut: Obviously create a directory structure from the hash and use `tree` command. </s>
ur5us_ has joined #ruby
<scriptonaut> yes
<scriptonaut> havenwood: not gonna lie that crossed my mind haha
<havenwood> hahaha
<scriptonaut> even if I could just find an algorithm description describing it
<scriptonaut> in pseudocode or something
<scriptonaut> that would help
<cahoots> havenwood, ty
ur5us has quit [Ping timeout: 264 seconds]
<scriptonaut> havenwood: https://dpaste.com/C3AEADUKY
<scriptonaut> this is what I'm doing right now
<scriptonaut> @value is a hash
<scriptonaut> code probably isn't the best right now I'm just trying to get it to print correctly first
<scriptonaut> I realize that line 4 is redundant, no need for a conditional there
cahoots has quit [Quit: leaving]
johnny56 has quit [Ping timeout: 240 seconds]
<havenwood> scriptonaut: I thought I had a gist with similar but all I can find is this old one: https://gist.github.com/havenwood/5250760
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
<havenwood> scriptonaut: Seems getting the ascii art to look pretty might be a challenge. I'd think recursive checking would work great as long as the hash isn't terribly deeply nested.
<scriptonaut> ya I actually had it printing correctly, it was just not very intuitive to read
<scriptonaut> I like having the pretty ascii art to connect it
<scriptonaut> it's been a challenge
<scriptonaut> each hash has roughly 3 keys on average
<scriptonaut> no more than 4, so I also have to pad the other hash keys after the initial one
dfucci has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
Emmanuel_Chanel has joined #ruby
iNs_ has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
Technodrome has joined #ruby
orbyt_ has joined #ruby
dfucci has quit [Ping timeout: 272 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
jl4 has quit [Ping timeout: 260 seconds]
ramenboy has joined #ruby
ramenboy has quit [Client Quit]
linoge has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gray-_-wolf has joined #ruby
dfucci has joined #ruby
bambanx has quit [Quit: Leaving]
iNs has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
cthulchu_ has quit [Ping timeout: 258 seconds]
roshanavand has quit [Ping timeout: 260 seconds]
jl4 has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
sounxrt has joined #ruby
sounxrt has left #ruby [#ruby]
sounxrt has joined #ruby
sounxrt has quit [Client Quit]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
michxf has joined #ruby
bsdbandit-01 has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
jl4 has quit [Ping timeout: 265 seconds]
also_uplime has quit [Quit: quit]
coniptor has joined #ruby
michxf has quit [Quit: michxf]
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
kristian_on_linu has joined #ruby
siery has quit [Read error: Connection reset by peer]
siery has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phenom has quit [Ping timeout: 260 seconds]
siery has quit [Read error: Connection reset by peer]
phenom has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
coniptor has quit [Ping timeout: 260 seconds]
coniptor has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby