havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.2, 2.5.5, 2.4.5: 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!
themsay has quit [Remote host closed the connection]
themsay has joined #ruby
AJA4350 has quit [Remote host closed the connection]
zachk has quit [Quit: Leaving]
themsay has quit [Ping timeout: 244 seconds]
tau has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
robotcars has quit [Ping timeout: 246 seconds]
Scient has quit [Quit: ZNC - http://znc.in]
i1nfusion has joined #ruby
orbyt_ has joined #ruby
Scient has joined #ruby
jrafanie has joined #ruby
meinside has joined #ruby
robotcars has joined #ruby
orbyt_ has quit [Ping timeout: 272 seconds]
NeilCarvalho has joined #ruby
s2013 has joined #ruby
bastilian has quit [Remote host closed the connection]
Turnikov[m] has quit [Read error: Connection reset by peer]
supergeek[m] has quit [Read error: Connection reset by peer]
jonjitsu has quit [Remote host closed the connection]
turt2live has quit [Read error: Connection reset by peer]
sepp2k has quit [Write error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Scient has quit [Ping timeout: 246 seconds]
irdr has quit [Remote host closed the connection]
Scient has joined #ruby
irdr has joined #ruby
NeilCarvalho has quit [Ping timeout: 250 seconds]
arekushi has quit [Quit: Gateway shutdown]
bastilian has joined #ruby
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
laaron has quit [Remote host closed the connection]
robotcars has quit [Read error: Connection reset by peer]
robotcars has joined #ruby
laaron has joined #ruby
robotcars has quit [Read error: Connection reset by peer]
robotcars has joined #ruby
arekushi has joined #ruby
griffindy has joined #ruby
orbyt_ has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mangold has joined #ruby
sepp2k has joined #ruby
jonjitsu has joined #ruby
turt2live has joined #ruby
Turnikov[m] has joined #ruby
supergeek[m] has joined #ruby
segy has quit [Ping timeout: 245 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segy has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
cd has quit [Quit: cd]
code_zombie has quit [Quit: Leaving]
cd has joined #ruby
robotcars1 has joined #ruby
_habnabit has left #ruby [#ruby]
jrafanie has joined #ruby
robotcars has quit [Ping timeout: 268 seconds]
lytol has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dar123 has joined #ruby
evdubs has quit [Quit: Leaving]
bambanx has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
evdubs has joined #ruby
NightMonkey has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cd has quit [Quit: cd]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 255 seconds]
uplime is now known as uplimejohnson
uplimejohnson is now known as uplime
tau has joined #ruby
ftj has joined #ruby
tau has quit [Remote host closed the connection]
ftj has quit [Quit: Leaving]
Autolycus has joined #ruby
laaron- has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
Autolycus has quit [Client Quit]
dar123 has joined #ruby
dar123 has quit [Client Quit]
bjpenn has quit [Ping timeout: 250 seconds]
bambanx has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 272 seconds]
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
nwradio8 has quit [Quit: Ping timeout (120 seconds)]
nwradio8 has joined #ruby
saysjonathan has quit [Ping timeout: 245 seconds]
hays has quit [Ping timeout: 244 seconds]
hays has joined #ruby
orbyt_ has joined #ruby
laaron- has quit [Remote host closed the connection]
laaron has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 245 seconds]
tau has joined #ruby
jaddison has left #ruby [#ruby]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Onwarion has quit [Ping timeout: 245 seconds]
segy has quit [Ping timeout: 268 seconds]
cyberarm_ has quit [Ping timeout: 245 seconds]
segy has joined #ruby
bjpenn has joined #ruby
Swyper has quit [Remote host closed the connection]
cschneid has quit [Remote host closed the connection]
mangold has quit [Quit: This computer has gone to sleep]
cschneid has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
cschneid has quit [Ping timeout: 245 seconds]
braincrash has joined #ruby
johnny56 has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
bjpenn has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
cschneid has joined #ruby
Inline has quit [Quit: Leaving]
tau has quit [Remote host closed the connection]
braincrash has joined #ruby
Swyper has quit [Remote host closed the connection]
stryek has quit [Quit: Connection closed for inactivity]
braincrash has quit [Ping timeout: 255 seconds]
djdduty has quit [Ping timeout: 255 seconds]
qual has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
sauvin has joined #ruby
qual has quit [Client Quit]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 255 seconds]
djdduty has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
mangold has joined #ruby
braincrash has joined #ruby
djdduty has quit [Ping timeout: 245 seconds]
reber has joined #ruby
djdduty has joined #ruby
conta has joined #ruby
<zenspider> rawr
<zenspider> totally disagree that yard is the standard...
Devalo has joined #ruby
segy has quit [Ping timeout: 255 seconds]
segy has joined #ruby
cschneid has joined #ruby
Dbugger has joined #ruby
ur5us has joined #ruby
Devalo has quit [Remote host closed the connection]
s2013 has joined #ruby
Dbugger has quit [Remote host closed the connection]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
Xeago_ is now known as Xeago
KrzaQ has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
KrzaQ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Ping timeout: 246 seconds]
cschneid has quit [Ping timeout: 244 seconds]
SeepingN has joined #ruby
laaron has quit [Remote host closed the connection]
kapil____ has joined #ruby
<ljarvis> ^
alem0lars has joined #ruby
bjpenn has quit [Ping timeout: 246 seconds]
sezuan has quit [Ping timeout: 250 seconds]
cschneid has joined #ruby
za1b1tsu has joined #ruby
andikr has joined #ruby
sezuan has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
alem0lars has quit [Remote host closed the connection]
schleppel has joined #ruby
gigetoo has quit [Ping timeout: 246 seconds]
clemens3 has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars has joined #ruby
SeepingN has joined #ruby
TomyWork has joined #ruby
SeepingN has quit [Ping timeout: 250 seconds]
aufi has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
laaron has joined #ruby
Swyper has joined #ruby
Swyper has quit [Ping timeout: 252 seconds]
cschneid has joined #ruby
Swyper has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
sinanislekdemir has joined #ruby
claudiuinberlin has joined #ruby
mikecmpbll has joined #ruby
ur5us has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
aupadhye has quit [Ping timeout: 244 seconds]
wildermind has joined #ruby
TiLTNc has joined #ruby
<TiLTNc> hey
aupadhye has joined #ruby
aupadhye has quit [Client Quit]
aupadhye has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
alem0lars has quit [Remote host closed the connection]
iNs_ has joined #ruby
iNs has quit [Ping timeout: 256 seconds]
TiLTNc has quit [Remote host closed the connection]
TomyWork has joined #ruby
ServerGod has joined #ruby
alem0lars has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
cschneid has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
_joes_ has joined #ruby
_joes_ has quit [Remote host closed the connection]
tdy1 has quit [Ping timeout: 246 seconds]
_joes_ has joined #ruby
_joes_ has quit [Ping timeout: 246 seconds]
hightower3 has quit [Ping timeout: 245 seconds]
gigetoo has joined #ruby
hightower3 has joined #ruby
Swyper has joined #ruby
_joes_ has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
sinanislekdemir has left #ruby ["Killed buffer"]
Swyper has quit [Ping timeout: 272 seconds]
Swyper has joined #ruby
tdy1 has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
sleetdrop has joined #ruby
_joes_ has quit [Ping timeout: 246 seconds]
cschneid has joined #ruby
lxsameer has left #ruby ["in"]
jottr_ has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
conta has quit [Ping timeout: 246 seconds]
za1b1tsu has quit [Remote host closed the connection]
Swyper has joined #ruby
esrse has joined #ruby
agent_white has quit [Quit: bbl]
conta has joined #ruby
ServerGod has quit []
ServerGod has joined #ruby
laaron- has joined #ruby
cschneid has quit [Ping timeout: 245 seconds]
jrafanie has joined #ruby
ldnunes has joined #ruby
laaron has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
Menteb has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
ServerGod has quit []
Kirjava has joined #ruby
<Kirjava> snails
suukim has joined #ruby
Kirjava has left #ruby ["WeeChat 2.2"]
duderonomy has joined #ruby
stryek has joined #ruby
akem has quit [Ping timeout: 246 seconds]
grr12314 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
esrse has quit [Ping timeout: 255 seconds]
cschneid has joined #ruby
jottr_ is now known as jottr
Swyper has quit [Ping timeout: 272 seconds]
Swyper has joined #ruby
Menteb has quit [Read error: Connection reset by peer]
nowhereman has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
_joes_ has joined #ruby
Swyper has quit [Ping timeout: 272 seconds]
_joes_ has quit [Remote host closed the connection]
_joes_ has joined #ruby
nakuku has joined #ruby
_joes_1 has joined #ruby
_joes_ has quit [Remote host closed the connection]
<nakuku> Hello. Is there any way to efficiently handle uploads - im talking about own implementation. Use case is the following: Rails app handling interactions, Upload server, Python server with quick access to file storage that performs processing on these files (image border detection etc.). Currenty we use AWS but im wondering if there is some way to avoid moving the file over the network multiple times.
<nakuku> The flow looks like this: User uploads a file, processed image is shown and user has to confirm it's okay, next stage of processing begins, back to user
_joes_ has joined #ruby
cschneid has quit [Ping timeout: 255 seconds]
_joes_1 has quit [Ping timeout: 250 seconds]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
saysjonathan has joined #ruby
t0xik has joined #ruby
saysjonathan has quit [Read error: Connection reset by peer]
<phaul> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
yokel has quit [Remote host closed the connection]
yokel has joined #ruby
jrafanie has joined #ruby
griffindy has joined #ruby
s2013 has joined #ruby
vondruch_ has joined #ruby
nakuku has quit [Read error: Connection reset by peer]
nakuku has joined #ruby
_joes_ has quit [Ping timeout: 246 seconds]
vondruch has quit [Ping timeout: 245 seconds]
vondruch_ is now known as vondruch
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
cschneid has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yqt has joined #ruby
lucasb has joined #ruby
_joes_ has joined #ruby
<nakuku> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
mangold has quit [Quit: This computer has gone to sleep]
TheBrayn has quit [Quit: poof]
TheBrayn has joined #ruby
cow[moo] has joined #ruby
nowhereman has quit [Ping timeout: 246 seconds]
vondruch has quit [Quit: vondruch]
hightower3 has quit [Changing host]
hightower3 has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
mello has quit [Remote host closed the connection]
Rapture has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
cschneid has joined #ruby
Swyper has joined #ruby
Onwarion has joined #ruby
Swyper has quit [Ping timeout: 255 seconds]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
mangold has joined #ruby
cyberarm has joined #ruby
SeepingN has quit [Ping timeout: 255 seconds]
cschneid has quit [Ping timeout: 246 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
_joes_ has quit [Ping timeout: 245 seconds]
dsuper7 has joined #ruby
_joes_ has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
robotcars1 has quit [Quit: Leaving.]
robotcars has joined #ruby
Inline has joined #ruby
grilix has joined #ruby
cschneid has joined #ruby
dsuper7 is now known as sdunixgeek
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 246 seconds]
rippa has joined #ruby
Swyper has joined #ruby
chainz has joined #ruby
agent_white has joined #ruby
<chainz> i'm getting an error when trying a bundle install:
<chainz> sudo gem install i18n-1.1.1 --source http://rubygems.org
<chainz> ERROR: Could not find a valid gem 'i18n-1.1.1' (>= 0) in any repository
<chainz> anyone know how to resolve this?
tsm has joined #ruby
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
<phaul> chainz: gem install i18n -v 1.1.1 --source http://rubygems.org
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
<al2o3-cr> sudo gem install i18n:1.1.1 --source http://rubygems.org
claudiuinberlin has joined #ruby
<al2o3-cr> oops, beat me to it :)
s2013 has joined #ruby
SeepingN has joined #ruby
pwelch has joined #ruby
pwelch has quit [Client Quit]
yqt has quit [Ping timeout: 255 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
<chainz> thanks phaul, that worke
<chainz> d
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
Cthulu201 has quit [Ping timeout: 245 seconds]
Cthulu201 has joined #ruby
orbyt_ has joined #ruby
cow[moo] has joined #ruby
<mikecmpbll> probably a stupid question to ask in here, but as a python ecosystem newbie, i think rubyists would be better at explaining :D
<mikecmpbll> does python have a bundler/gemfile equivalent?
<mikecmpbll> i've written a python script which depends on another python library and i'm not sure what the best way of deploying that script to other servers is
nowhere_man has joined #ruby
<mikecmpbll> and ensuring necessary libraries are available
<t0xik> i dont know python but isnt there the package manager pip
<mikecmpbll> yeah, i know a little about pip
ntt_ has quit [Remote host closed the connection]
<mikecmpbll> i guess if i install via pip then it's available to other scripts
<mikecmpbll> maybe that's just the norm with python
<kaleido> you know there's also a #python where this question would probably be met with a better audience
<kaleido> ;)
polishdub has joined #ruby
alem0lars has quit [Remote host closed the connection]
Dbugger has joined #ruby
za1b1tsu has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy1 has quit [Ping timeout: 245 seconds]
nakuku has quit [Ping timeout: 255 seconds]
s2013 has joined #ruby
AJA4351 has joined #ruby
conta has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
cow[moo] has quit [Read error: Connection timed out]
i1nfusion has quit [Remote host closed the connection]
TvL2386_ has joined #ruby
i1nfusion has joined #ruby
TvL2386 has quit [Ping timeout: 246 seconds]
conta has quit [Quit: conta]
aufi has quit [Ping timeout: 244 seconds]
Rapture has quit [Ping timeout: 250 seconds]
Swyper has quit [Remote host closed the connection]
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
Swyper has joined #ruby
orbyt_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.4]
hightower3 has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
Averna has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
chainz has left #ruby [#ruby]
ellcs has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
[Butch] has joined #ruby
sdunixgeek has quit [Quit: Catch you on the flip side....]
xco has joined #ruby
Devalo has quit [Remote host closed the connection]
Mutter has joined #ruby
Devalo has joined #ruby
eddof13 has joined #ruby
<xco> i’m trying to validate parameters in my method, will this be the best way to do it? https://gist.github.com/xcobar/347d14e113cec605e1ca30a6f2b49e81
<Mutter> Hi guys, been quite a while since I've used irc
Mutter has quit [Client Quit]
Noxilex has joined #ruby
<Noxilex> Better now
graft has joined #ruby
dar123 has joined #ruby
<phaul> xco some consider type checks a code smell.
<tsm> Any reason you don't want to just try and add them and rescue any errors that come up?
<xco> phaul: oh really? so in this case if i wanted to check my parameters how would i do it? i don’t think there’s nothing wrong with it personally? right?
_joes_ has quit [Ping timeout: 246 seconds]
Devalo has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<phaul> xco. pass objects that behave. validate at the user input / network input etc interfaces, maybe have a dedicated input validator whose sole job is to validated what comes in. Rest of the system should not ever receive bad data
<graft> anyone have any experience with rack.hijack?
<graft> i have a very, very strange issue that looks like it might have to do with thread re-use or something that i just can't understand
<xco> phaul: objects that behave? is there a way you can point me to an example online. those details are messing with my head
<graft> like rack is ending up in a method it just should not arrive at; as far as I can tell from logging it does what it ought to do, then suddenly arrives at this method (complete with caller_locations history) with no idea how it got there
<graft> i feel like i'm taking crazy pills
nowhere_man has quit [Ping timeout: 245 seconds]
<phaul> xco sorry Im not aware of any good online resources int this topic.
<xco> phaul: ok no problem. when you say “validate at the user input / network input etc interfaces” what do you mean? do you mean i should validate the inputs right before i enter the params in the method?
lytol has joined #ruby
<phaul> I mean look at your system from a higher perspective. It will have a hopefully small part that receives data from the outside world. Validate that and there. The rest of the system should only ever receive data that it can work with
<phaul> probably a method like add_numbers is not outside facing in you system
<phaul> receive_number_from_network or read_number_from_console might be
<xco> phaul: aaaaaaa right. now i get it. if that’s not the case and i’m doing something really very simple then it’ll be cool right? because here i’m not dealing with any external or bigger system
hightower2 has joined #ruby
hightower2 has quit [Changing host]
hightower2 has joined #ruby
<phaul> xco: sure. it's cool
<phaul> I would just let it fail as tsm suggested in that case
<phaul> but what you are doing is also fine
Noxilex has quit [Quit: Mutter: www.mutterirc.com]
AJA4350 has joined #ruby
alem0lars has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deathwishdave has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
<phaul> xco: for practising design try https://github.com/troessner/reek
<phaul> its quite a challange sometimes to write reek free code
Devalo has joined #ruby
<xco> phaul: yeah i agree. thanks a lot :)
tdy1 has joined #ruby
clemens3 has quit [Ping timeout: 250 seconds]
alem0lars has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 255 seconds]
qual has joined #ruby
gnufied has quit [Remote host closed the connection]
cyberarm has quit [Ping timeout: 250 seconds]
gregf_ has quit [Ping timeout: 256 seconds]
qual has quit [Client Quit]
gix has joined #ruby
conta has joined #ruby
andikr has quit [Remote host closed the connection]
AJA4350 has quit [Remote host closed the connection]
qual has joined #ruby
i1nfusion has quit [Remote host closed the connection]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i1nfusion has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
alem0lars has joined #ruby
Nicmavr has joined #ruby
void09 has joined #ruby
<void09> hello. anyone here uses archlinux and knows a bit of ruby ? i can't get a script from github to work (Works ok on ubuntu)
<phaul> what's the error void09 ?
<void09> hold on, i'll paste it
Swyper has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
qual has quit [Remote host closed the connection]
Swyper has joined #ruby
<ruby[bot]> void09: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<phaul> void09: Ignore the bot for now. I'm looking
<void09> I have libmagick6, rmagick and imagemagick6 installed. also pdftk
claudiuinberlin has joined #ruby
<void09> 7 is the newest on arch, same thing with taht
<void09> tried on fresh kubuntu following the instructions on git and it works. it's not an error in the script. the problem lies with it trying to access libmagick I think. i don't know if it's a path problem of just version incompatibilit or whatever
<phaul> it's rmagic that doesn't work
<phaul> can you modify the script and rerun? https://github.com/pviotti/issuu-pdf-dl/blob/master/issuu-pdf-dl.rb#L33 changed to raise $!
<phaul> actually puts $! ; raise $!
hightower2 has quit [Ping timeout: 246 seconds]
<void09> ok, wait a bit
Devalo has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<void09> so line 33 becomes puts $! ; raise $!
<void09> ?
SeepingN_ is now known as SeepingOut
grvgr has joined #ruby
<phaul> yeah. that should altter the error output
<phaul> giving us more useful info then Error converting...
<phaul> than*
deathwishdave has joined #ruby
<phaul> you can try what's suggested there.. Otherwise I have no idea what this error is
orbyt_ has joined #ruby
qual has joined #ruby
<al2o3-cr> void09: comment out `<policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />` in /etc/ImageMagick-{6,7}/policy.xml
<phaul> image MAGICK - name checks out :)
<void09> well, that fixed it
<void09> though i now have another unrelated problem, have to run the script as root for rmagick to be accessible
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zachk has joined #ruby
qual has quit [Read error: Connection reset by peer]
zachk has quit [Read error: Connection reset by peer]
zachk has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
kapil____ has joined #ruby
suukim has quit [Quit: Konversation terminated!]
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Fire-Dragon-DoL has quit [Quit: Quit]
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has joined #ruby
hiroaki has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby
hiroaki has joined #ruby
silviu has quit [Remote host closed the connection]
conta has quit [Quit: conta]
silviu has joined #ruby
Devalo has quit [Ping timeout: 245 seconds]
<zenspider> that code just looks terrible... I'd be suspect
<zenspider> aaand I'd be doubly worried about running it as root. Please address that first
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<void09> zenspider: but it works :)
<void09> and nobody else did a better job
<void09> i don't know ruby at all, but it seemed super efficient code to me. so much done in so few lines
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
nowhere_man has joined #ruby
Yxhuvud has joined #ruby
s2013 has joined #ruby
Devalo has joined #ruby
bjpenn has joined #ruby
hiroaki has quit [Ping timeout: 244 seconds]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
renich_ has joined #ruby
hiroaki has joined #ruby
renich has quit [Ping timeout: 246 seconds]
dar123 has joined #ruby
griffindy has joined #ruby
dviola has joined #ruby
gnufied has joined #ruby
ur5us has joined #ruby
Devalo has joined #ruby
LtHummus has joined #ruby
SeepingOut has quit [Quit: The system is going down for reboot NOW!]
SeepingN has joined #ruby
alem0lars has quit [Remote host closed the connection]
za1b1tsu has quit [Remote host closed the connection]
brool has joined #ruby
Swyper has quit [Remote host closed the connection]
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
adam12 has joined #ruby
Swyper has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
elcuervo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
cschneid has quit []
ellcs has joined #ruby
Devalo has quit [Ping timeout: 255 seconds]
code_zombie has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
claudiuinberlin has joined #ruby
Swyper has quit [Remote host closed the connection]
rprimus has quit [Ping timeout: 255 seconds]
rprimus has joined #ruby
Swyper has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Devalo has quit [Ping timeout: 268 seconds]
rafadc has quit [Quit: ZNC 1.7.1 - https://znc.in]
TomyLobo has joined #ruby
renich_ has quit [Ping timeout: 272 seconds]
cyberarm has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
Swyper has quit [Remote host closed the connection]
rafadc has joined #ruby
Swyper has joined #ruby
claudiuinberlin has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
renich has joined #ruby
ldnunes has quit [Quit: Leaving]
Swyper has joined #ruby
reber has quit [Remote host closed the connection]
Eiam has quit [Ping timeout: 252 seconds]
eddof13 has quit [Ping timeout: 250 seconds]
Eiam has joined #ruby
xco has quit [Quit: xco]
NeilCarvalho has joined #ruby
puchu has quit [Quit: leaving]
hightower2 has joined #ruby
hightower2 has quit [Changing host]
hightower2 has joined #ruby
renich has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 250 seconds]
Brainium has joined #ruby
mangold has joined #ruby
Swyper has quit [Remote host closed the connection]
ellcs has joined #ruby
<brool> if i have a method that takes 3 ints, is there some syntactic trick i can do to expand an array to fill the args? like call it via "object.method ...array" or something
<brool> i thought i remembered something about splatting or expanding arrays or something
<phaul> method(*array)
<brool> oic
* brool tries
<phaul> it's called a splat
<brool> nice
<brool> ty
<phaul> np
gigetoo has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
conta has joined #ruby
mangold has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 250 seconds]
schleppel has quit [Quit: Konversation terminated!]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0xik has quit [Quit: Connection closed for inactivity]
mangold has joined #ruby
Swyper has quit [Remote host closed the connection]
Dbugger has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Remote host closed the connection]
tau has joined #ruby
nowhere_man has joined #ruby
Swyper has joined #ruby
s2013 has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
Swyper has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
moei has quit [Quit: Leaving...]
stooj_ has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
cyberarm has quit [Ping timeout: 246 seconds]
cyberarm has joined #ruby
nowhere_man has quit [Ping timeout: 257 seconds]
stooj has joined #ruby
polishdub has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
lucasb has quit [Quit: Connection closed for inactivity]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Noxilex has joined #ruby
Noxilex has quit [Client Quit]
Noxilex has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
<al2o3-cr> &>> class Hash def coerce(x) [self.values.sum, x] end end; def add(*args) args.sum end; add **{a: 12, b: 12, c: 18}
<rubydoc> # => 42 (https://carc.in/#/r/6j2d)
<al2o3-cr> &>> class Hash def coerce(x) [self.values.sum, x] end end; def add(*args) args.sum end; 1 + {}
<rubydoc> # => 1 (https://carc.in/#/r/6j2f)
NeilCarvalho has quit [Ping timeout: 246 seconds]
<al2o3-cr> spooky
ebbflowgo has joined #ruby
Swyper has joined #ruby
ebbflowgo has left #ruby [#ruby]
yokel has quit [Ping timeout: 244 seconds]
ebbflowgo has joined #ruby
s2013 has joined #ruby
yokel has joined #ruby
i1nfusion has quit [Remote host closed the connection]
Brainium has quit [Ping timeout: 252 seconds]
i1nfusion has joined #ruby