adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 2.7.2, 2.6.6, 3.0.0-preview2: 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
jenrzzz has joined #ruby
drincruz has quit [Ping timeout: 268 seconds]
lucidreamachine has quit [Ping timeout: 264 seconds]
yokel_ has joined #ruby
yokel has quit [Remote host closed the connection]
yokel_ is now known as yokel
ur5us has quit [Ping timeout: 260 seconds]
reaVer has quit [Remote host closed the connection]
reaVer has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
va5c0 has joined #ruby
bsdbandit-01 has joined #ruby
Swyper has joined #ruby
bambanx has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
TCZ has joined #ruby
va5c0 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
chrisseaton has quit [Quit: Connection closed for inactivity]
bsdbandit-01 has joined #ruby
lucidreamachine has joined #ruby
va5c0 has quit [Quit: WeeChat 3.0]
bsdbandit-01 has quit [Read error: Connection reset by peer]
weaksauce has quit [Read error: Connection reset by peer]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
prion has quit [Ping timeout: 240 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
cliluw has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
lucidreamachine has quit [Remote host closed the connection]
va5c0 has joined #ruby
lucidreamachine has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
GodFather_ has quit [Ping timeout: 265 seconds]
DarthGandalf has quit [*.net *.split]
znz_jp has quit [*.net *.split]
Lewix_ has quit [*.net *.split]
Nightmare has quit [*.net *.split]
swaggboi has quit [*.net *.split]
wnd has quit [*.net *.split]
ashby has quit [*.net *.split]
twe4ked has quit [*.net *.split]
crawler has quit [*.net *.split]
infernix has quit [*.net *.split]
JayDoubleu has quit [*.net *.split]
sparr has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
d10n-work has quit [*.net *.split]
graphicsv has quit [*.net *.split]
ghormoon has quit [*.net *.split]
salvor has quit [*.net *.split]
Lewix has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
bougyman has quit [*.net *.split]
universa1 has quit [*.net *.split]
ReinH__ has quit [*.net *.split]
grvgr has quit [*.net *.split]
GGMethos has quit [*.net *.split]
BuildTheRobots has quit [*.net *.split]
Liothen has quit [*.net *.split]
Caius has quit [*.net *.split]
dputtick has quit [*.net *.split]
MentalPower has quit [*.net *.split]
marahin has quit [*.net *.split]
dumptruckman has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
matthewd has quit [*.net *.split]
lol768 has quit [*.net *.split]
va5c0 has quit [Client Quit]
ghormoon has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
sparr has joined #ruby
DarthGandalf has joined #ruby
Lewix_ has joined #ruby
swaggboi has joined #ruby
Nightmare has joined #ruby
znz_jp has joined #ruby
wnd has joined #ruby
crawler has joined #ruby
twe4ked has joined #ruby
ashby has joined #ruby
infernix has joined #ruby
CustosLimen has joined #ruby
graphicsv has joined #ruby
d10n-work has joined #ruby
JayDoubleu has joined #ruby
bougyman has joined #ruby
salvor has joined #ruby
Lewix has joined #ruby
TheMoonMaster has joined #ruby
lol768 has joined #ruby
universa1 has joined #ruby
GGMethos has joined #ruby
grvgr has joined #ruby
Liothen has joined #ruby
BuildTheRobots has joined #ruby
dputtick has joined #ruby
Caius has joined #ruby
marahin has joined #ruby
MentalPower has joined #ruby
JoL1hAHN has joined #ruby
dumptruckman has joined #ruby
matthewd has joined #ruby
Hobbyboy has joined #ruby
ReinH__ has joined #ruby
GGMethos has quit [Max SendQ exceeded]
va5c0 has joined #ruby
BuildTheRobots has quit [Ping timeout: 249 seconds]
va5c0 has quit [Client Quit]
GGMethos has joined #ruby
JayDoubleu has quit [Ping timeout: 260 seconds]
CustosLimen has quit [Ping timeout: 260 seconds]
graphicsv has quit [Ping timeout: 260 seconds]
d10n-work has quit [Ping timeout: 260 seconds]
BuildTheRobots has joined #ruby
d10n-work has joined #ruby
JayDoubleu has joined #ruby
graphicsv has joined #ruby
CustosLimen has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 264 seconds]
ByronJohnson has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
lucidreamachine has quit [Remote host closed the connection]
Swyper has joined #ruby
lucidreamachine has joined #ruby
bambanx has quit [Quit: Leaving]
mihael has joined #ruby
Swyper has quit [Ping timeout: 268 seconds]
TCZ has quit [Remote host closed the connection]
jenrzzz has quit [Remote host closed the connection]
ramfjord has joined #ruby
seed0 has quit [Remote host closed the connection]
demiurge has quit [Quit: edk]
seed0 has joined #ruby
powerhouse has quit [Read error: Connection reset by peer]
edk_ has joined #ruby
Swyper has joined #ruby
powerhouse has joined #ruby
k_sze has left #ruby ["Leaving"]
ChmEarl has quit [Quit: Leaving]
bsdbandit-01 has joined #ruby
aremaref has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
aremaref has joined #ruby
b0nn_ has joined #ruby
b0nn_ has left #ruby [#ruby]
duderonomy has joined #ruby
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
lucidreamachine has quit [Ping timeout: 268 seconds]
aremaref has quit [Ping timeout: 256 seconds]
llua has joined #ruby
baojg has quit [Ping timeout: 260 seconds]
TzilTzal has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs_ has joined #ruby
aremaref has joined #ruby
evdubs has quit [Ping timeout: 260 seconds]
Rudd0 has joined #ruby
baojg has joined #ruby
ruurd has quit [Ping timeout: 268 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
ruurd has joined #ruby
hagabaka has quit [Remote host closed the connection]
baojg has quit [Remote host closed the connection]
hagabaka has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
gix- has joined #ruby
gix has quit [Disconnected by services]
orbyt_ has joined #ruby
prion has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
keyvan has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
prion has quit [Ping timeout: 272 seconds]
Swyper has quit [Ping timeout: 268 seconds]
b0nn_ has joined #ruby
b0nn_ has left #ruby [#ruby]
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 264 seconds]
pwnd_sfw5 has joined #ruby
pwnd_sfw has quit [Ping timeout: 240 seconds]
pwnd_sfw5 is now known as pwnd_sfw
aremaref has quit [Ping timeout: 264 seconds]
al2o3-cr has quit [Ping timeout: 256 seconds]
Mrgoose has quit [Quit: Ping timeout (120 seconds)]
cliluw has quit [Ping timeout: 240 seconds]
Mrgoose has joined #ruby
bsdbandit-01 has joined #ruby
lucidreamachine has joined #ruby
blackmesa has joined #ruby
znz_jp has quit [Remote host closed the connection]
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
cgfbee has quit [Remote host closed the connection]
znz_jp has joined #ruby
aremaref has joined #ruby
al2o3-cr has joined #ruby
pwnd_sfw2 has joined #ruby
pwnd_sfw has quit [Ping timeout: 265 seconds]
pwnd_sfw2 is now known as pwnd_sfw
dfucci has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
gdonald has quit [Ping timeout: 256 seconds]
gdonald has joined #ruby
cliluw has joined #ruby
aremaref has quit [Ping timeout: 272 seconds]
fanta1 has joined #ruby
Furai has quit [Quit: WeeChat 3.0]
lucidreamachine has quit [Remote host closed the connection]
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
teclator has joined #ruby
Furai has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
teardown has quit [Ping timeout: 240 seconds]
teardown has joined #ruby
TzilTzal has quit [Ping timeout: 268 seconds]
cliluw has quit [Ping timeout: 268 seconds]
cliluw has joined #ruby
prion has joined #ruby
TzilTzal has joined #ruby
sphex has quit [Ping timeout: 258 seconds]
gix- has quit [Ping timeout: 256 seconds]
blackmesa1 has quit [Ping timeout: 272 seconds]
sphex has joined #ruby
vondruch has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
rubydoc has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 256 seconds]
rubydoc has joined #ruby
prion has quit [Ping timeout: 272 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
mihael has quit [Ping timeout: 246 seconds]
mihael has joined #ruby
nofxx_ has quit [Read error: Connection reset by peer]
nofxx_ has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
_aeris has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris is now known as _aeris_
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
prion has joined #ruby
blackmesa1 has joined #ruby
titanbiscuit has quit [Quit: ZNC 1.7.5 - https://znc.in]
titanbiscuit has joined #ruby
ignorand_ has joined #ruby
ignorand_ is now known as ignorand
<tempate> Is there a better way of doing something like: [-1, 0, 1].product([-1, 0, 1].product([-1, 0, 1])).select{ |dx, dy, dz| (dx != 0) || (dy != 0) || (dz != 0) }
<leftylink> product takes multiple arguments
<leftylink> I also think - [[0, 0, 0]] would be comparably fast as the select and at least equally clear in intent
<tempate> oh
<tempate> Hmmm
yokel has quit [Ping timeout: 240 seconds]
<tempate> That looks much better, yes
<tempate> Thanks
prion has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
yokel has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
mihael has quit [Quit: leaving]
gdonald has joined #ruby
cliluw has quit [Ping timeout: 272 seconds]
cliluw has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
edk_ is now known as demiurge
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<nakilon> >> [-1,0,1].repeated_permutation(3).to_a - [[0,0,0]]
<ruby[bot]> nakilon: # => [[-1, -1, -1], [-1, -1, 0], [-1, -1, 1], [-1, 0, -1], [-1, 0, 0], [-1, 0, 1], [-1, 1, -1], [-1, 1, 0 ...check link for more (https://carc.in/#/r/a4ir)
<nakilon> tempate
<tempate> Oh, interesting!
<leftylink> huh. you know. why have I been using product all this time and not repeated_permutation...???????????
<leftylink> like I always did (d = [-1, 0, 1]).product(*([d] * (dimensions - 1)) or whatever
gdonald has quit [Read error: Connection reset by peer]
<leftylink> well, I guess it's never really been necessary...
gdonald has joined #ruby
<tempate> What exception can I catch to check if index is out of range in an array or key is not valid in a hashmap?
<leftylink> there won't be an exception and it'll just be nil. to check if an index is range for an array, I compare against its length. if I want to check for key in hash, Hash#key?. if I want to use a default value if the thing is not there, then h[k] || 0
<leftylink> or similar
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<tempate> Hmmm
gdonald has quit [Read error: Connection reset by peer]
<leah2> is there a tool to look at a gemfile and list gems that have not been updated in a long time?
braincrash has joined #ruby
naftilos76 has joined #ruby
gdonald has joined #ruby
<nakilon> I guess this: bundle-outdated - List installed gems with newer versions available
<nakilon> (without '-', that's a copypasta from man)
naftilos76 has quit [Ping timeout: 256 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tempate> And how can I fill a non-empty array with elements until it reaches a certain length?
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
queip has quit [Ping timeout: 260 seconds]
<leftylink> &ri Array#fill
<leftylink> which is also able to take argument indicating which indices to fill
<leftylink> and those indices are able to extend past the end of the existing array
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
queip has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
ignorand has quit [Disconnected by services]
<tempate> Great, thankss
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<leftylink> hmm, although sometimes I find it easier to understand if I just concat([element_to_add] * how_many_times_to_add_it)
gdonald has quit [Read error: Connection reset by peer]
<leftylink> though the fill equivalent of that also seems pretty easy to understand
<leftylink> given that you can speciay an appropriate start and length
<leftylink> so maybe i should tart using fill for that instead
gdonald has joined #ruby
somazero has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
dionysus69 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
akem has quit [Ping timeout: 256 seconds]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
sixrc has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
phage has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
cgfbee has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
sixrc has quit [Remote host closed the connection]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
chrisseaton_ has joined #ruby
TomyWork has joined #ruby
al2o3-cr has joined #ruby
<tempate> Hmmm
<tempate> Alright
ramfjord has joined #ruby
<tempate> Will Marshal.load( Marshal.dump(a) ) make a deep-copy of an n-dimmensional array?
cliluw has quit [Ping timeout: 240 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<tempate> Never mind, I found a better way to do what I wanted
ramfjord has quit [Ping timeout: 256 seconds]
gdonald has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
gdonald has joined #ruby
chrisseaton_ is now known as chrisseaton
<leah2> nakilon: i'm looking for upstream dead packages
va5c0 has joined #ruby
va5c0_ has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
va5c0 has quit [Ping timeout: 256 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
Swyper has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
<leah2> i wrote something myself now
gdonald has joined #ruby
burgestrand has joined #ruby
va5c0_ has quit [Quit: WeeChat 3.0]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
prion has joined #ruby
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phage has joined #ruby
Technodrome has joined #ruby
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gdonald has quit [Read error: Connection reset by peer]
phage has joined #ruby
gdonald has joined #ruby
dionysus69 has quit [Quit: dionysus69]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
dionysus69 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
meinside has quit [Quit: Connection closed for inactivity]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
fanta1 has quit [Quit: fanta1]
gdonald has joined #ruby
BTRE has quit [Remote host closed the connection]
fanta1 has joined #ruby
GodFather has joined #ruby
GodFather_ has joined #ruby
BTRE has joined #ruby
GodFather_ has quit [Max SendQ exceeded]
GodFather has quit [Max SendQ exceeded]
GodFather_ has joined #ruby
GodFather has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
TCZ has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
Swyper has quit [Remote host closed the connection]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
gdonald has joined #ruby
burgestrand has quit [Quit: burgestrand]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
burgestrand has joined #ruby
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
Tuor has joined #ruby
gdonald has joined #ruby
<Tuor> Hi, in my script I have 3 time consuming external programms which are called each a couple of times. Right now it's all serial and I'm thinking about running thome commands in parallel. The order is important and in general to many parallel commands would create so much IO wait that it wont be beneficial. This is my code: I created a little graph: https://gitlab.com/nod0n/backup-the-backup#graph
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<havenwood> Tuor: Are you looking for feedback generally or suggestions on anything in particular?
gdonald has quit [Read error: Connection reset by peer]
<Tuor> The yellow boxes are notes about what external programme is used. The order is important. First rsync, then qemu-img, then borg create, then borg prune. This for steps are the important ones which use a lot of time. rsync and qemu-img together are the preparation part. borg create is the actually backup part and borg prune is a cleanup part. Lets call them: pre, backup and post.
<Tuor> this would now look like: pre1, backup1, post1, pre2, backup2, post2, ...
gdonald has joined #ruby
<Tuor> I thought about starting pre2 as soon as backup1 has begun. So running it in parrall. There can only be one backup or post task at any time. It is not possible to run backup2 while post1 is running.
<Tuor> So we could it even simplify: pre = [rsync, qemu-img], backup = [borg_create, borg_prune]
<havenwood> Tuor: Sounds like a good job for Rake.
* Tuor duckduckgos Rake. :)
gdonald has quit [Read error: Connection reset by peer]
<naftilos76> Hi everyone, i think i am loosing my mind on this... Some weird is happening or i am just being ridiculously wrong!
<naftilos76> Can you pls have a look?
<naftilos76> The @cache array is driving me crazy
<havenwood> Tuor: See Rake's multitask (-m) and jobs (-j) flags. Rake does elegant task dependencies and makes the parallel part a hand wave. :)
gdonald has joined #ruby
<Tuor> havenwood: will do! Thank you!
<havenwood> Tuor: Any time!
<havenwood> naftilos76: What's unexpected?
<naftilos76> havenwood: notice the terminal data that is printed in the terminal and is located at the bottom of the link
<havenwood> naftilos76: On first glance I didn't see anything amiss.
<naftilos76> lines 124 and 126 should be equal
<naftilos76> the @cache array should on both line be the same
gdonald has quit [Read error: Connection reset by peer]
<havenwood> naftilos76: So the value corresponding to the :value key changed unexpectedly?
<havenwood> naftilos76: I guess :timestamp too?
gdonald has joined #ruby
<havenwood> naftilos76:You change those inside the #each loop, so why is that unexpected?
<naftilos76> havenwood: i keep adding data to the @cache array
<adam12> Maybe try duping hash before adding it.
<naftilos76> everytime i add different data
<naftilos76> look at the @cache array after the iterations
<naftilos76> all elements are the same
<naftilos76> do you understand?
<naftilos76> the array @cache belongs to the class object instance
<adam12> naftilos76: 2.times.each do |i|; data = data.dup; .. rest of code
gdonald has quit [Read error: Connection reset by peer]
<naftilos76> which i keep using in the block to add data (different each time)
<naftilos76> and at the end the array's elements are all the same!
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
bsdbandit-01 has joined #ruby
gdonald has joined #ruby
qbklinm8 has joined #ruby
<naftilos76> why would i use dup method?
qbklinm8 has left #ruby [#ruby]
<naftilos76> all i am trying to do here is to add elements to the array @cache!
<naftilos76> isn't that obvious?
<adam12> naftilos76: Alright have a great day.
qbklinm8 has joined #ruby
<naftilos76> ok thanks for your time
dionysus69 has quit [Ping timeout: 246 seconds]
<burgestrand> naftilos76 your data is not different each time, as you've already been told twice
<naftilos76> burgestrand: it is obviously something i am not taking under consideration - looking into it now
<burgestrand> naftilos76 I suggest you try the dup suggestion you received, and see if that has the result you're after
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
<burgestrand> naftilos76 with any luck it does, and maybe that'll help you understand where the problem is
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<naftilos76> I do not understand why using dup will make a difference. I did try adam12's suggestion and i got the same results
<burgestrand> Ah, I got duped too — nested hashes :)
<adam12> naftilos76: I wasn't sure if dup would work. But move the `data = {}` hash into your loop.
<adam12> naftilos76: It's because the Hash is the same Hash that you're manipulating, and Ruby uses references for some things, and values for others.
<burgestrand> Is ruby really ever pass by value? I mean, pretty much everything is a reference and never implicitly copied?
<adam12> burgestrand: Some scalar's like numbers.
<adam12> burgestrand: At least IIRC. It's been a while since I've looked tbh.
<burgestrand> adam12 well, to be fair, even numbers are objects — they just happen to be immutable
<burgestrand> i.e. 5.object_id == 5.object_id
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<Tuor> havenwood: I understand I can write files which will be interpreted by rake and in that files I can delcare tasks which have relations. https://gitlab.com/nod0n/backup-the-backup/-/blob/master/lib/workload.rb#L21 is the prepare part. https://gitlab.com/nod0n/backup-the-backup/-/blob/master/lib/workload.rb#L22-28 is the backup part. I have no real plan how I could split up this to parts because there is more logic, which provides the required information:
<Tuor> https://gitlab.com/nod0n/backup-the-backup/-/blob/master/lib/workload.rb#L24-25. borg_repo_path is the same for the complete script. I don't really understand how I can replace my script with a Rakefile...
<naftilos76> ok guys - you are right - i did not pay attention to the fact that depending on the case "Adam12: Ruby uses references for some things, and values for others"
<havenwood> Tuor: Normally you make Rake tasks that call your code using the external interface.
<naftilos76> it works now
<burgestrand> naftilos76 yay! \o/
<naftilos76> thanks again for your time
<havenwood> Tuor: It may not work in your case, but I'd expect it would. Maybe something I don't have context on blocks. Also, I'm precoffee so basically useless. :P
<havenwood> burgestrand: It's the popular thing to say that Ruby passes by value, the value being a reference?
<adam12> Tuor: This shells out to cli tools right?
ChmEarl has joined #ruby
<burgestrand> havenwood yeah… I'm pondering the implications of saying "ruby always passes by reference" in the name of making things easy to understand, tradeoff being correctness
<Tuor> yes. But most of the time it calls external programms, without using the shell (to avoid problems with the shell doing magic stuff).
<adam12> Tuor: Do you deal with the tools' output on stdout/stderr?
* burgestrand shrugs
<Tuor> most of the time not really, it is just debug output. There is a least one exception but this execption isn't part of the pre/backup stuff.
<Tuor> All the "real work" (call external commands) is done in here: https://gitlab.com/nod0n/backup-the-backup/-/blob/master/lib/utils.rb
<adam12> Tuor: So each process goes through pre, backup post. You are fine running pre when backup is running, but don't want to run backup when another backup is running due to IO contention?
Swyper has quit [Remote host closed the connection]
<Tuor> adam12: I think yes. I don't exactly know what IO contention is, but basicaly backup operates on the same data and for that reason it is not possible to run it at the same time as other backup parts. pre has always to be done before backup because it prepares the data to be backed up.
<adam12> Tuor: And you'd be fine running 2 pre's at the same time?
<Tuor> adam12
<Tuor> yes
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<adam12> Tuor: Probably a dozen different ways to handle this, but I'd probably reach for SuckerPunch and 3 job "queues" (one for pre, backup, and post). Set the pre to have N workers (maybe match # cpu?), backup to have 1 worker (to make it sync), and post to have N workers (same as pre).
<adam12> Tuor: Kick off the backup process by scheduling a job in Pre. Once it finishes, it queues the next job into Backup. When Backup finishes, it queues the next job into Post.
<adam12> So basically queue up N backup jobs by creating N Pre jobs. They work in parallel by # of workers assigned to that job class. They then queue into Backup which works on one job at a time. When it finishes it drops them into Post, which works on the jobs up to N parallel.
<Tuor> sounds like what I had in mind. Just that, post sadly can't be done at the same time as backup. So post has to be part of backup. There are only 2 tasks: 4x pre, 1x backup (inclusive post)
<Tuor> start, pre1..4; as soon as one pre job is done, add the appropriate backup job to the que and start a new pre. But yes, this queing principle sounds like what would do the trick. I'll have to read some. :)
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
qbklinm8 has quit [Quit: Leaving.]
prion has quit [Ping timeout: 256 seconds]
Swyper has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
<adam12> Tuor: Good luck!
<Tuor> thank you!
dionysus69 has joined #ruby
<adam12> Tuor: I've never seen Trilio Vault. Interesting.
gdonald has joined #ruby
TzilTzal has quit [Quit: Leaving.]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<Tuor> Lets say it is nice, but lacks some features (keep one backup a week for N weeks, then keep a backup a month for N month and so on) and your NFS has to be disaster resistant or you need a backup/&estore solution when everything fails. This approach will fix both oth this problems for us. We will take the latest backup every week and "export" it to the external disk every week and then rotate disks: 4weekly disks, 2 montly disks, 3 quarterly disks, and one
<Tuor> for each year for ever.
<Tuor> This disks will be our disaster recovery and our long term backup.
cloud69 has joined #ruby
<Tuor> If you see something in my code that requires more comments or you think you have good ideas on how I should improve my code let me know. ;)
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<tempate> Is there really not a better way to do something like: https://dpaste.org/7kqY ?
<adam12> tempate: Are the arrays in the same order?
<tempate> adam12: they are not
<tempate> They represent coordinates in an n-dimensional space
<adam12> tempate: You _might_ be able to just `(array1 - array2).empty?`
phage has quit [Quit: Textual IRC Client: www.textualapp.com]
<Tuor> adam12: wow that look nice
<tempate> I don't think that works tho
<adam12> tempate: It should work for out of order elements, but won't handle duplicates.
<tempate> adam12: yeah, that won't cut it
<burgestrand> Isn't `equal_arrays` actually `array1 is subset of array2`?
<tempate> burgestrand: yeah, I should check the size first
<tempate> burgestrand: the thing is they're always going to have the same size
dfucci has quit [Ping timeout: 240 seconds]
<burgestrand> tempate then that's pretty much the definition of `array1 == array2`?
dfucci has joined #ruby
<tempate> burgestrand: oh, I didn't know you could do such a thing
<tempate> Fantastic!
<tempate> Thanks a lot
blackmesa1 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
va5c0 has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
burgestrand has quit [Quit: burgestrand]
gdonald has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
TzilTzal has joined #ruby
FrankyCyborg has joined #ruby
TzilTzal has quit [Client Quit]
aremaref has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
dionysus69 has quit [Quit: dionysus69]
FemmeAndroid has quit [Quit: ZNC 1.8.1 - https://znc.in]
aremaref has quit [Ping timeout: 264 seconds]
gdonald has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Wawel - Czujesz sie dobrze, czynisz dobrze]
gdonald has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
teardown_ has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
teardown has quit [Ping timeout: 240 seconds]
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
gdonald has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
arahael has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
bsdbandit-01 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
<al2o3-cr> &>> ((9..0)%~2).with_object(:+).to_h
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/a4km)
gdonald has joined #ruby
<al2o3-cr> &>> ((9..0)%~2).with_object(:+).to_h
<rubydoc> stderr: -e:4:in `%': step can't be negative (ArgumentError)... check link for more (https://carc.in/#/r/a4kn)
<al2o3-cr> &>> ((9..0)%~2).lazy.with_object(:+).to_h
<rubydoc> # => {9=>:+, 6=>:+, 3=>:+, 0=>:+} (https://carc.in/#/r/a4ko)
prion has joined #ruby
<al2o3-cr> how come it works with lazy?
<havenwood> &>> ((9..0)%~2).to_enum.with_object(:+).to_h
<rubydoc> # => {9=>:+, 6=>:+, 3=>:+, 0=>:+} (https://carc.in/#/r/a4kq)
<havenwood> al2o3-cr: ^
<havenwood> &>> ((9..0)%~2).each.with_object(:+).to_h # fails
<rubydoc> stderr: -e:4:in `%': step can't be negative (ArgumentError)... check link for more (https://carc.in/#/r/a4ks)
<al2o3-cr> oh, because it returns an Enumerator::ArithmeticSequence i see.
<al2o3-cr> havenwood: thanks.
<havenwood> al2o3-cr: yeah, Enumerator::ArithmeticSequence fails and Enumerator and Enumerator::Lazy work.
<havenwood> al2o3-cr: There's an issue for resolving negative steps on the bug tracker.
<al2o3-cr> havenwood: ah, at least it might get resolved then.
<havenwood> al2o3-cr: Though not yet fixed for Ruby 3, afaik.
<havenwood> al2o3-cr: Yeah, I'd like it fixed, personally.
<al2o3-cr> havenwood: yeah, i tested on ruby 3
<al2o3-cr> havenwood: i'd like to see fixed too.
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
gdonald has joined #ruby
<havenwood> al2o3-cr: Looks like no traction on this issue: https://bugs.ruby-lang.org/issues/17279
<havenwood> al2o3-cr: I'd swear I saw another reference, but not seeing it with a quick search.
<al2o3-cr> havenwood: i wonder why?
<al2o3-cr> reported of 2 months ago too.
<al2o3-cr> *over
<al2o3-cr> havenwood: did it work before ArithmeticSeq...
<havenwood> al2o3-cr: Not on Range steps, I think. I think it was fixed at some point for Integer step. I haven't researched it.
<al2o3-cr> havenwood: ah, ok. that definitely needs fixing imho.
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
blackmesa1 has joined #ruby
gdonald has joined #ruby
qbklinm81 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
va5c0 has joined #ruby
lucasb has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
dfucci has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
aremaref has joined #ruby
cuerbot has quit [Ping timeout: 246 seconds]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<isene> adam12: I tried to figure out how to implement a getch call with a time argument, but can't get that to work. Firstly, are we talking about the Curses getch? Because it takes no arguments...
gdonald has quit [Read error: Connection reset by peer]
<adam12> isene: I was looking at this method. https://rubyapi.org/2.7/o/io#method-i-getch
<adam12> isene: I just noticed it requires `io/console`.
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
oryman has joined #ruby
bsdbandit-01 has joined #ruby
gdonald has joined #ruby
oryman has quit [Client Quit]
gdonald has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem has quit [Remote host closed the connection]
stdedos has joined #ruby
gdonald has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Swyper has quit [Remote host closed the connection]
<isene> adam12: Right
gdonald has quit [Read error: Connection reset by peer]
<nakilon> what are the modern ruby sandboxing options available that limit the consumed resources?
<isene> adam12: I don't see any docs on the time: or min: arguments... do you know where I can find that?
gdonald has joined #ruby
<adam12> isene: Might have to look in the Ruby source, but I'm not really familiar.
<nakilon> pretty sure docker run has such options but is it's a simple web app it would also need to have another process, a scheduler because I it's not a good thing to give web server rights to launch docker containers
<nakilon> simple ability to run limited process directly from the same process that is listening to the web would be nice
<nakilon> *but if it's
gdonald has quit [Read error: Connection reset by peer]
<havenwood> nakilon: You can run mruby in the browser with wasm. Or if you really want it on the server, ask jhass. :P
<nakilon> is he author of that website that runs the ruby code?
<havenwood> nakilon: Folk used to use JRuby for sandboxes. You can look at TryRuby versions for a history of sandboxes throughout the ages.
<havenwood> nakilon: yes.
<nakilon> yeah I need it on server, the theoretical application is a website for competitive programming where the input is a code in a language I've implemented a "VM" for
<havenwood> nakilon: https://github.com/ruby/TryRuby
gdonald has joined #ruby
<nakilon> mruby abilities might be enough to run the code I need
<nakilon> but it's the way for client side I guess
<nakilon> heh, =>NameError: uninitialized constant RUBY_VERSION
gdonald has quit [Read error: Connection reset by peer]
<havenwood> nakilon: Shopify for example uses Ruby on the server and then lets devs script in MRuby to add extras.
* havenwood grumbles about Breitbart
howdoi has joined #ruby
<havenwood> isene: The options are documented under #raw, but I've never seen :time work.
gdonald has joined #ruby
<nakilon> I remember 6 years ago ruby bot on this channel crashed when I gave some fancy it recursive lambda
<havenwood> isene: Timeout.timeout(seconds) { $stdin.getch }
Iarfen has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gdonald has joined #ruby
<nakilon> better use Kernel#select but yes it will take more code
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
TomyLobo has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
TomyWork has quit [Remote host closed the connection]
Swyper has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
prion has quit [Ping timeout: 268 seconds]
gdonald has quit [Read error: Connection reset by peer]
<al2o3-cr> isene: if you want the time kwarg to work you need to pass min: 0 also. STDIN.getch(min: 0, time: 3)
<isene> So time is in seconds, what is min?
gdonald has joined #ruby
<al2o3-cr> isene: minimum
gdonald has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
gdonald has joined #ruby
<isene> Minimum time? How would that differ from time?
<al2o3-cr> isene: minimum bytes to receive.
<isene> Ah. Thanks 😊
ramfjord has joined #ruby
chrisseaton has quit [Quit: Connection closed for inactivity]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
teardown has joined #ruby
Rudd0 has quit [Remote host closed the connection]
stdedos has quit [Quit: Connection closed]
<al2o3-cr> isene: sure, some of the IO methods can be pretty whacky to figure out without looking into the source.
bsdbandit-01 has joined #ruby
teardown_ has quit [Ping timeout: 240 seconds]
<isene> This just made my day. With this I can intercept directory changes in RTFM. You guys are the best :-)
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
chrisseaton has joined #ruby
bsdbandit-01 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
prion has joined #ruby
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
akem has joined #ruby
<al2o3-cr> isene: that example for one byte only, just so you know.
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<isene> Yes, got that. I now have the non-blocking getch in place in RTFM so that any changes to the currently viewed diectory pops up without the user having to hit any key for the loop to capture the change: https://github.com/isene/RTFM
gix has joined #ruby
naftilos76 has quit [Ping timeout: 240 seconds]
qbklinm81 has quit [Quit: Leaving.]
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
jinie has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
qbklinm8 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Excess Flood]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
teardown has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
weaksauce has joined #ruby
teardown has joined #ruby
ur5us has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
fandre1986 has joined #ruby
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
gdonald has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
teardown_ has joined #ruby
gdonald has joined #ruby
teardown has quit [Ping timeout: 240 seconds]
fanta1 has quit [Remote host closed the connection]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<ian|> for explicit block parameters, can there be only one and it must be the last parameter?
apoc has quit [Ping timeout: 240 seconds]
<leftylink> right..., like I can't do foo(bar) { |...| ... } { |...| ... }
apoc has joined #ruby
<leftylink> what was that one topic that people in this channel could not agree on at all? actually I guess there is no use in bringing it up, since then people will just continue to not agree on it. so I will have to make my own decision
qbklinm8 has quit [Quit: Leaving.]
<havenwood> ian|: There can be only one.
dfucci has joined #ruby
<havenwood> And it must be last.
dfucci has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
prion has quit [Ping timeout: 264 seconds]
gdonald has quit [Read error: Connection reset by peer]
fandre1986 has quit [Quit: Connection closed]
bsdband44 has joined #ruby
bsdband44 has quit [Excess Flood]
bsdband88 has joined #ruby
arahael has joined #ruby
dfucci has joined #ruby
gdonald has joined #ruby
va5c0 has quit [Quit: WeeChat 3.0]
bsdbandit-01 has quit [Ping timeout: 268 seconds]
bsdband88 has quit [Read error: Connection reset by peer]
jrhorn424 has quit [Quit: Connection closed for inactivity]
gdonald has quit [Read error: Connection reset by peer]
adu has joined #ruby
gdonald has joined #ruby
va5c0 has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
va5c0 has quit [Quit: WeeChat 3.0]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
va5c0 has joined #ruby
dfucci has joined #ruby
va5c0 has quit [Client Quit]
gdonald has joined #ruby
va5c0 has joined #ruby
dfucci has quit [Ping timeout: 272 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
SeepingN has joined #ruby
Rudd0 has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
FastJack has joined #ruby
cloud69 has quit [Quit: Connection closed for inactivity]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
teardown has joined #ruby
prion has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
teardown_ has quit [Ping timeout: 240 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
va5c0 has quit [Quit: WeeChat 3.0]
gdonald has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Ping timeout: 260 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
ashby is now known as JoshAshby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
blackmesa1 has quit [Ping timeout: 268 seconds]
somazero has quit [Remote host closed the connection]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
prion has quit [Ping timeout: 268 seconds]
braincrash has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
Swyper has quit [Remote host closed the connection]
weaksauce has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gdonald has quit [Read error: Connection reset by peer]
prion has joined #ruby
gdonald has joined #ruby
dfucci has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
dfucci has quit [Ping timeout: 264 seconds]
adu has quit [Quit: adu]
gdonald has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby