havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
dfucci has joined #ruby
nicholaslyang has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
nicholaslyang has quit [Client Quit]
oneeggeach has quit [Quit: Leaving...]
mossplix has quit [Remote host closed the connection]
dfucci has joined #ruby
mossplix has joined #ruby
dfucci has quit [Ping timeout: 258 seconds]
mossplix has quit [Ping timeout: 264 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
bambanx has joined #ruby
exmortus has quit [Remote host closed the connection]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
gix has quit [Ping timeout: 264 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
Garb0 has quit [Quit: I'm out.]
BitMac has joined #ruby
bvdw has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 265 seconds]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
BitMac has quit [Ping timeout: 240 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
BitMac has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
BitMac has quit [Quit: Textual IRC Client: www.textualapp.com]
nicholaslyang has joined #ruby
itok has quit [Ping timeout: 240 seconds]
MentalPower has quit [Ping timeout: 260 seconds]
pitastrudl has quit [Ping timeout: 246 seconds]
zipkid has quit [Ping timeout: 272 seconds]
redlegion has quit [Ping timeout: 246 seconds]
gitter1234 has quit [Read error: Connection reset by peer]
gmcintire has quit [Read error: Connection reset by peer]
pyrmont has quit [Read error: Connection reset by peer]
gorsuch has quit [Read error: Connection reset by peer]
jimeh has quit [Read error: Connection reset by peer]
mattwc has quit [Read error: Connection reset by peer]
darthThorik has quit [Read error: Connection reset by peer]
Mutsuhito has quit [Read error: Connection reset by peer]
fowlduck has quit [Ping timeout: 246 seconds]
teej has quit [Ping timeout: 272 seconds]
pyrmont has joined #ruby
zipkid has joined #ruby
gorsuch has joined #ruby
fowlduck has joined #ruby
pitastrudl has joined #ruby
jimeh has joined #ruby
gitter1234 has joined #ruby
mattwc has joined #ruby
Mutsuhito has joined #ruby
redlegion has joined #ruby
darthThorik has joined #ruby
teej has joined #ruby
MentalPower has joined #ruby
teej has quit [Max SendQ exceeded]
itok has joined #ruby
redlegion has quit [Max SendQ exceeded]
fowlduck has quit [Max SendQ exceeded]
teej has joined #ruby
teej has quit [Max SendQ exceeded]
gmcintire has joined #ruby
jenrzzz has joined #ruby
fowlduck has joined #ruby
redlegion has joined #ruby
teej has joined #ruby
itok has quit [Max SendQ exceeded]
itok has joined #ruby
redlegion has quit [Max SendQ exceeded]
redlegion has joined #ruby
bambanx has quit [Quit: Leaving]
itok has quit [Max SendQ exceeded]
itok has joined #ruby
Technodrome has joined #ruby
mossplix has joined #ruby
PimarSimil has quit [Remote host closed the connection]
mossplix has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ChmEarl has quit [Quit: Leaving]
Dirak has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
SuperLag has quit [Ping timeout: 264 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
darkstardev13 has quit [Remote host closed the connection]
SuperLag has joined #ruby
darkstardev13 has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfucci has joined #ruby
jenrzzz has joined #ruby
Dirak has quit [Ping timeout: 264 seconds]
dfucci has quit [Ping timeout: 240 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
xco has joined #ruby
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
nicholaslyang has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sauvin has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
gitter1234 has quit [Quit: Connection closed for inactivity]
<leftylink> ah very good. I have needed except sometimes
howdoi has quit [Quit: Connection closed for inactivity]
jenrzzz_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
orbyt_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfucci has joined #ruby
roadie has joined #ruby
bvdw has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has joined #ruby
imode has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
mossplix has quit [Remote host closed the connection]
dfucci has quit [Ping timeout: 264 seconds]
mossplix has joined #ruby
nicholaslyang has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
conta has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
mossplix has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
memcorrupt has joined #ruby
TCZ has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
clemens3 has quit [Quit: bbl]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
conta has quit [Quit: conta]
clemens3 has joined #ruby
clemens3 has quit [Client Quit]
clemens3 has joined #ruby
dfucci has joined #ruby
chalkmonster has joined #ruby
jetchisel has quit [Read error: Connection reset by peer]
dfucci has quit [Ping timeout: 256 seconds]
chalkmonster has quit [Client Quit]
dfucci has joined #ruby
BitMac has joined #ruby
dfucci has quit [Ping timeout: 258 seconds]
TCZ has quit [Quit: Leaving]
bmo has joined #ruby
BitMac has quit [Client Quit]
BitMac has joined #ruby
Rudd0^ has quit [Ping timeout: 260 seconds]
secret-fire__ has joined #ruby
Secret-Fire has quit [Ping timeout: 246 seconds]
BitMac has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmo has quit [Quit: Textual IRC Client: www.textualapp.com]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
jenrzzz has joined #ruby
Rudd0 has joined #ruby
<rapha> sooo i just stumbled over https://fallabs.com/hyperestraier/uguide-en.html which looks cool and mature and is maintained by jeremy evans
<rapha> and so i went and said "gem install estraier" and it didn't compile, expecting the thing itself to be present
<rapha> and it turns out it's not packaged by Solus, Debian _or_ ArchLinux, not even the latter's AUR
<rapha> isn't that a little weird?
jenrzzz has quit [Ping timeout: 258 seconds]
<rapha> okay, Gentoo package it
sagax has quit [Ping timeout: 258 seconds]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
bvdw has joined #ruby
bvdw has quit [Remote host closed the connection]
memcorrupt has quit [Ping timeout: 258 seconds]
grimgnr has joined #ruby
neheist2 has joined #ruby
chalkmonster has joined #ruby
leah2 has quit [Ping timeout: 256 seconds]
secret-fire__ has quit [Quit: Leaving]
Secret-Fire has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has joined #ruby
RiPuk has quit [Quit: ZNC 1.8.1 - https://znc.in]
RiPuk has joined #ruby
dionysus69 has joined #ruby
gix has joined #ruby
henninb has joined #ruby
finn[m] has quit [Changing host]
finn[m] has joined #ruby
finn[m] has quit [Changing host]
finn[m] has joined #ruby
cd has joined #ruby
jenrzzz has joined #ruby
leah2 has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
memcorrupt has joined #ruby
memcorrupt has quit [Changing host]
memcorrupt has joined #ruby
plutes has quit [Ping timeout: 272 seconds]
AndreYuhai has joined #ruby
<AndreYuhai> I want to run my scripts on two different machines which are using the same DB. How can I make the queries synchronous? Because when one is trying to insert something the other one might have already inserted which would give me Duplicate error.
<livcd_> unique index? constraints?
plutes has joined #ruby
<AndreYuhai> livcd_, but how does that help when two scripts are trying to insert the same thing at the same time?
conta has joined #ruby
henninb has quit [Quit: leaving]
oddp has joined #ruby
xco has joined #ruby
conta has quit [Quit: conta]
<jhass> it's very usecase/context specific, hard to give general advice here
TCZ has joined #ruby
<jhass> you could lock the table, but that'll probably be slower than just catching the constraint violation and moving on
<jhass> architectual solutions might be splitting the work such that the attempt is never made
memcorrupt has quit [Ping timeout: 265 seconds]
roadie has quit [Ping timeout: 272 seconds]
waheedi has joined #ruby
<AndreYuhai> jhass, Alright, thanks. Can I use sidekiq without rails, or anything alike?
<jhass> sure, why not
<AndreYuhai> Oh I wasn't sure. Thank you :)
conta has joined #ruby
conta has quit [Client Quit]
bijan_ has joined #ruby
dfucci has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
bijan_ has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
leah2_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
pwl has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
pwl_ has joined #ruby
rafadc has joined #ruby
pwl has quit [Client Quit]
pwl_ has quit [Client Quit]
pwl has joined #ruby
ellcs1 has joined #ruby
leah2_ has quit [Ping timeout: 272 seconds]
TCZ has quit [Quit: Leaving]
leah2_ has joined #ruby
leah2_ has quit [Ping timeout: 244 seconds]
schne1der has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
alfiemax has joined #ruby
TCZ has joined #ruby
conta has joined #ruby
conta has quit [Client Quit]
howdoi has joined #ruby
alfiemax has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 256 seconds]
sgen has joined #ruby
al2o3-cr has joined #ruby
conta has joined #ruby
conta has quit [Client Quit]
ellcs1 has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
leah2_ has joined #ruby
Garb0 has quit [Quit: I'm out.]
sgen has quit [Ping timeout: 240 seconds]
leitz has joined #ruby
spectra has quit [Ping timeout: 272 seconds]
leah2_ has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
spectra has joined #ruby
spectra has joined #ruby
spectra has quit [Changing host]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
burak_ has joined #ruby
burak_ is now known as Guest92351
leah2_ has joined #ruby
leah2_ has quit [Excess Flood]
leah2_ has joined #ruby
AndreYuhai has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
schne1der has quit [Ping timeout: 264 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
leah2_ is now known as leah2
TCZ is now known as tcz
Guest92351 has quit [Quit: Leaving]
SuperLag has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ChmEarl has joined #ruby
pwnd_nsfw has quit [Remote host closed the connection]
Jesfre has joined #ruby
tcz has quit [Quit: Leaving]
pwl has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
tcz has joined #ruby
schne1der has joined #ruby
oddp has quit [Ping timeout: 265 seconds]
schne1der has quit [Ping timeout: 256 seconds]
oddp has joined #ruby
SuperLag has quit [Quit: leaving]
SuperLag has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Quit: Textual IRC Client: www.textualapp.com]
Jesfre has quit [Ping timeout: 240 seconds]
tcz has quit [Quit: Leaving]
nicholaslyang has joined #ruby
Jesfre has joined #ruby
nicholaslyang has quit [Ping timeout: 240 seconds]
SuperLag has quit [Ping timeout: 256 seconds]
reffle has joined #ruby
SuperLag has joined #ruby
alfiemax has joined #ruby
Jesfre has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
tau has joined #ruby
tau has quit [Changing host]
tau has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
imode has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
duderonomy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
oddp has quit [Ping timeout: 265 seconds]
<deimos_> havenwood: thanks for the help yesterday. :["city1", "city2"] ended up being a symbol, which complicated things more, so i unwound more of the code, and treated them as an array and the value as another array, and then just did basic associative math to create a hash where :city1=>distance1, :city2=>distance2, etc.
<deimos_> i know arrays are slower than hashes, but maximum possible sizes of this array are < 1000, so in benchmarking, the performance difference is neglible and the code is far easier to follow and read for now (for me at least)
<deimos_> all this because i agreed to help a friend and look at their code
dionysus69 has joined #ruby
Jesfre has joined #ruby
tcz has joined #ruby
dionysus69 has quit [Client Quit]
dionysus69 has joined #ruby
BitMac has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
alfiemax has joined #ruby
tcz has quit [Quit: Leaving]
tau has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 265 seconds]
dfucci has joined #ruby
Jesfre has quit [Ping timeout: 240 seconds]
tcz has joined #ruby
dfucci has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DEac- has joined #ruby
drincruz has joined #ruby
Garb0 has quit [Quit: I'm out.]
howdoi has quit [Quit: Connection closed for inactivity]
Jesfre has joined #ruby
oddp has joined #ruby
r3m has quit [Quit: WeeChat 2.9-dev]
r3m has joined #ruby
davispuh has joined #ruby
jegade has joined #ruby
jeromelanteri has joined #ruby
<jegade> hi, i try to install a old version for some migration purpose but the installation failed
r29v has joined #ruby
<jegade> rack-cache requires Ruby version >= 2.3.0.
<jegade> after i run gem install rails --version 3.2.13 with ruby 1.9.3
ellcs1 has joined #ruby
BitMac has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeromelanteri has quit [Ping timeout: 240 seconds]
jeromelanteri has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
quazimodo has joined #ruby
jeromelanteri has quit [Ping timeout: 240 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeromelanteri has joined #ruby
Jesfre has quit [Ping timeout: 246 seconds]
jeromelanteri has quit [Ping timeout: 260 seconds]
jeromelanteri has joined #ruby
jetchisel has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
jeromelanteri has quit [Ping timeout: 246 seconds]
quazimodo has joined #ruby
jeromelanteri has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
envex has joined #ruby
orbyt_ has joined #ruby
jeromelanteri has quit [Ping timeout: 264 seconds]
imode has quit [Ping timeout: 246 seconds]
envex has quit [Ping timeout: 246 seconds]
jeromelanteri has joined #ruby
jeromelanteri has quit [Ping timeout: 240 seconds]
teej has quit [Quit: Connection closed for inactivity]
jeromelanteri has joined #ruby
jeromelanteri has quit [Ping timeout: 240 seconds]
waheedi has quit [Quit: waheedi]
hiroaki_ has quit [Ping timeout: 258 seconds]
tcz has quit [Quit: Leaving]
hiroaki_ has joined #ruby
Jesfre has joined #ruby
imode has joined #ruby
waheedi has joined #ruby
ellcs1 has quit [Ping timeout: 260 seconds]
tcz has joined #ruby
tau has joined #ruby
tau has joined #ruby
tau has quit [Changing host]
plutes has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
tau has quit [Ping timeout: 256 seconds]
tcz has quit [Quit: Leaving]
reffle has quit [Quit: This computer has gone to sleep]
plutes has joined #ruby
dfucci has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
waheedi has quit [Quit: waheedi]
oneeggeach has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
memcorru1t has joined #ruby
tcz has joined #ruby
gix has quit [Ping timeout: 256 seconds]
justache has quit []