baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: 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!
<jayjo> I'm working with a rails application and I'm struggling to whitelist IPs correctly - I think it's because of how rails is assigning the remote IP address
<jayjo> here is the script I have: https://bpaste.net/show/a29dcd765c40
armu has quit []
<jayjo> This is a gitlab server running in a docker container... where does assign the remote IP address here?
<jayjo> in this instance - what is HTTP_X_FORWARDED_FOR ?
<dviola> is there anything bad in this code? https://gist.github.com/diegoviola/6450adcb022237de21f50f8625e7d60a
orbyt_ has joined #ruby
jrich523 has quit [Quit: Leaving]
bonhoeffer has joined #ruby
<bonhoeffer> i remember a selenium enabled web automation capability where I could view and troubleshoot the browser while the script ran
<bonhoeffer> but all i can figure out how to do now is run save_and_open_screenshot -- is there something more interactive
sameerynho has quit [Ping timeout: 248 seconds]
bonhoeffer has quit [Ping timeout: 252 seconds]
bonhoeffer has joined #ruby
cagomez_ has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
<zenspider> dviola: I think it is a bit more complicated than it needs to be... but also, it seems like it's a bit too narrowly focused? Why would you have a string of JUST brackets to check if it is balanced or not?
<zenspider> pairs.keys.include? -> pairs.has_key?
<zenspider> each_with_object isn't necessary at all.
<zenspider> I'd push the pairs hash up to a constant
bonhoeffer has quit [Quit: bonhoeffer]
<dviola> zenspider: yep
<Radar> dviola: What is the result of balanced?("((()") ?
<zenspider> I don't like the check on line 11 for the same reason as line 9... but I think I'd just push the check from 12 to be your check for 11
<dviola> Radar: false
<Radar> dviola: Are you certain?
<zenspider> heh
bonhoeffer_ has joined #ruby
<zenspider> yeah. I should say: I'm ONLY evaluating the ruby itself... not the validity of it :P
<Radar> Because my test isn't passing.
<Radar> And I'm pretty confident that I am not wrong.
* zenspider always likes seeing minitest in the wild...
<Radar> zenspider: I've been trying to use it more + more for little scripts like this.
<dviola> Radar: oh, it's true
<dviola> you're rigth
<dviola> right*
<zenspider> yup. pretty much the only time I use minitest/spec style is for 1-liners in here
<Radar> dviola: :D :D
<dviola> lol
<zenspider> easy to say: describe Array do ... end
bonhoeffer_ has quit [Client Quit]
<zenspider> makes me think that there should be a quick tweak to allow for top level asserts for exactly this sort of thing
<dviola> thanks, I'll think more about this problem
<zenspider> test driven will definitely help
ur5us has quit [Remote host closed the connection]
s2013 has joined #ruby
<dviola> yep
<Radar> dviola: want to see my version?
<dviola> sure
<Radar> Oops, missed the constant.
<Radar> TL;DR: check for open brackets, and then only check that there are equivalent closing brackets.
<dviola> very nice
wildermind has quit [Quit: Connection closed for inactivity]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<dviola> interesting
bonhoeffer has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
bonhoeffer has quit [Client Quit]
<desnudopenguino> jayjo: i'm messing around with setting up an AWS EC2 instance with some ruby stuff, and with sinatra running thin, somehow my local ip is showing up in the log, not my ISP provided ip
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drbrain has quit [Quit: Goodbye]
drbrain has joined #ruby
s2013 has joined #ruby
ur5us has joined #ruby
bonhoeffer has joined #ruby
hays_ has joined #ruby
<hays_> bear with me--i have made a gem, and I get whining when I install it that my dependencies dont have versions
<hays_> but--when I add versions it complains about something else
<hays_> how should I be specifying versions in gem dependency lists
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Casstorm has joined #ruby
jtdowney has quit [Quit: jtdowney]
r3m has quit [Remote host closed the connection]
jtdowney has joined #ruby
Casstorm has quit [Client Quit]
r3m has joined #ruby
<desnudopenguino> hays_: give us more info concerning what it is complaining about.
<hays_> yeah, sorry. hit a hiccup. I made an s.executables = Dir["{bin}/*"] and it doesnt like the bin/ in that so i need to fix that to reproduce the error
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
<hays_> desnudopenguino: WARNING: open-ended dependency on gserver (>= 0) is not recommended
<hays_> WARNING: open-ended dependency on activerecord (>= 0)
reber has quit [Remote host closed the connection]
ryu- has quit [Quit: leaving]
bmurt has joined #ruby
<hays_> so do I add ~> 0 to those?
tacoboy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
r29v has quit [Quit: r29v]
t0x has joined #ruby
DTZUZU has quit [Ping timeout: 268 seconds]
s2013 has joined #ruby
<Radar> hays_: It'd be helpful if we could see this problem happening on our machine.
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
redlegion has quit [Excess Flood]
redlegion has joined #ruby
lxsameer has joined #ruby
<hays_> am I misunderstanding bundle? I am running bundle install and it doesn't seem like some of the gems are installing
<hays_> it seem slike it is "using" the gem from a github repo, but not installing it somehow
Rootsudo has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
<hays_> crazy enough, bundle exec irb shows the gem installed, but straight irb does not.
moei has quit [Quit: Leaving...]
<Radar> hays_: just curious: do you want help with this or not?
<hays_> yes, but I don't really know how to help with your request
<Radar> hays_: Give us some code that goes "boom" on your machine and we'll see if it goes "boom" on our machine.
<Radar> " it doesn't seem like some of the gems are installing" <- or at least _some_ information about how you came to such a conclusion
<Radar> "but not installing it somehow" <- proof? details?
<hays_> ok. well I have a Gemfile. it has a list of gems. one of them is to a private github repository
<hays_> that one does not show up in gem list, but it shows up if I do bundle exec irb
<hays_> however, the gems that are public. those seem to install in system/rbenv ruby
<Radar> RubyGems "gem list" command has no idea about GitHub gems. Only Bundler knows that.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hays_> so if its a rubygem it installs it in the system, but if its a github gem it somehow keeps it isolated within the bundle tool?
<Radar> Bundler will install it to a different path iirc.
<hays_> curious. ok
<Radar> My local Rails is installed at: /usr/local/opt/asdf/installs/ruby/2.4.2/lib/ruby/gems/2.4.0/gems/rails-5.2.0
<hays_> with the other problem, I took a guess at it, and seemed to get it to build/install the gem without warnings
<Radar> A GH gem that I have installed is: /usr/local/opt/asdf/installs/ruby/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/gem-name-goes-here-0c799877560f
<Radar> what do you mean "without warnings"? Were you expecting warnings?
<hays_> i was getting warnings when I ran gem build foo-1.0.gemspec
<hays_> erm thats a garbage gemspec name. I meant foo.gemspec
<hays_> it didn't seem to like unversioned gem depedencies
<Radar> Can you show us the warnings?
<hays_> WARNING: open-ended dependency on gserver (>= 0) is not recommended
<hays_> so for that one I added '~>0' and it seems to be OK now
<Radar> Right. So that's because you've not specified a gem version dependency so it's going to install _any_ version of that gem, which is probably not what you want.
<hays_> but I was getting the same warning for nokogiri, activerecord, and mysql2
<Radar> maybe 2.0 will work with your app, but would 1.0? You should lock it down like ~> 1.0
<hays_> i made activerecord ~> 5.2
<hays_> not sure if that's reasonable
<hays_> mysql ~> 0.5
<Radar> [12:51:37] <Radar>maybe 2.0 will work with your app, but would 1.0? You should lock it down like ~> 1.0
<Radar> Up to you to decide.
ur5us has quit [Remote host closed the connection]
kapil___ has joined #ruby
synbyte has quit [Quit: WeeChat 1.9.1]
bonhoeffer_ has joined #ruby
bonhoeffer has quit [Ping timeout: 272 seconds]
bonhoeffer_ is now known as bonhoeffer
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
DTZUZU has joined #ruby
akaiiro has quit [Remote host closed the connection]
bonhoeffer has quit [Quit: bonhoeffer]
ryu- has joined #ruby
_whitelogger has joined #ruby
Rootsudo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Ping timeout: 272 seconds]
gnufied has joined #ruby
xall has joined #ruby
dviola has quit [Ping timeout: 240 seconds]
diego1 has joined #ruby
s2013 has joined #ruby
lytol_ has quit [Remote host closed the connection]
ur5us has joined #ruby
gnufied has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
diego1 is now known as dviola
memo1 has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
tolerablyjake has joined #ruby
Eiam has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blood has joined #ruby
xall has quit [Ping timeout: 248 seconds]
<blood> Anyway to copy xml namespaces -> remove namespaces -> do some xpath queries -> copy back namespaces?
<blood> using Nokogiri
samort7 has joined #ruby
sleetdrop has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
maufart__ has joined #ruby
lxsameer has joined #ruby
Inline has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 240 seconds]
hays_ has left #ruby [#ruby]
sagax has quit [Ping timeout: 240 seconds]
r3m has quit [Remote host closed the connection]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
r3m has joined #ruby
r3m has quit [Remote host closed the connection]
r3m has joined #ruby
tbuehlmann has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has joined #ruby
xall has quit [Client Quit]
sauvin has joined #ruby
sauvin has quit [Max SendQ exceeded]
blood has quit [Quit: Page closed]
armyriad has joined #ruby
t0x has quit [Quit: Connection closed for inactivity]
memo1 has quit [Ping timeout: 244 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
mojtaba has joined #ruby
mike11 has joined #ruby
kevinsjoberg has joined #ruby
sauvin has joined #ruby
jayjo has quit [Quit: Lost terminal]
t0x has joined #ruby
Freshnuts has joined #ruby
dionysus69 has joined #ruby
Tempesta has quit [Quit: See ya!]
t0x is now known as t0xik
mojtaba has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iMadper has joined #ruby
samort7 has quit [Quit: Leaving]
iMadper has quit [Ping timeout: 268 seconds]
dviola has quit [Quit: WeeChat 2.2]
clemens3 has joined #ruby
LiftLeft has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
Dbugger has joined #ruby
alex`` has joined #ruby
mihael_k33hl has joined #ruby
<mihael_k33hl> It's my first time creating a gem, is it acceptable to name it like john-ruby? https://guides.rubygems.org/name-your-gem/ Cause I'm gonna be creating this gem and future gems under the namespace john?
<mihael_k33hl> john-rsymc*
cats has quit [Ping timeout: 268 seconds]
cats has joined #ruby
Sina has joined #ruby
ferhaty has joined #ruby
<apeiros> mihael_k33hl: yes, it's acceptable. it's then expected to have `require 'john/rsymc'` and provide a constant John::Rsymc (though I guess you meant rsync)
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mihael_k33hl> apeiros: Yeah, it's rsync, sorry about that. Thanks man. I don't think the rsync gem is being actively updated though so I'll just create my own. :)
<t0xik> maybe it doesnt need to be updated
<mihael_k33hl> t0xik: Oh yeah, the owner said it's on a stable state. But a lot of people are trying to add some features/functionalities that they need for it.
<mihael_k33hl> t0xik: that includes me hehe :)
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
amelliaa has joined #ruby
mikecmpbll has joined #ruby
tty has quit [Quit: tty]
mikecmpbll has quit [Ping timeout: 248 seconds]
reber has joined #ruby
alex`` has quit [Ping timeout: 244 seconds]
alex`` has joined #ruby
kevinsjoberg has joined #ruby
mikecmpbll has joined #ruby
Hobbyboy has quit [Ping timeout: 260 seconds]
Hobbyboy has joined #ruby
maufart__ has quit [Ping timeout: 240 seconds]
redlegion has quit [Remote host closed the connection]
jottr has joined #ruby
redlegion has joined #ruby
klaas has joined #ruby
mihael_k33hl has quit [Quit: Page closed]
dbugger_ has joined #ruby
Dbugger has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
mojtaba has joined #ruby
Samian has quit []
dhollin3 has joined #ruby
tristanp has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
canton7 has quit [Ping timeout: 240 seconds]
zipkid_ has joined #ruby
bove_ has joined #ruby
codepete_ has joined #ruby
strmpnk has quit [Ping timeout: 245 seconds]
codepete has quit [Ping timeout: 245 seconds]
kireevco has quit [Ping timeout: 245 seconds]
barq has quit [Ping timeout: 245 seconds]
zipkid has quit [Read error: Connection reset by peer]
cjs226 has quit [Read error: Connection reset by peer]
Iambchop_ has quit [Read error: Connection reset by peer]
mattwc has quit [Read error: Connection reset by peer]
bove has quit [Read error: Connection reset by peer]
raggi has quit [Read error: Connection reset by peer]
zipkid_ is now known as zipkid
codepete_ is now known as codepete
strmpnk has joined #ruby
bove_ is now known as bove
canton7 has joined #ruby
barq has joined #ruby
khomesh24 has quit [Ping timeout: 240 seconds]
Dabo has quit [Ping timeout: 260 seconds]
Dabo has joined #ruby
khomesh24 has joined #ruby
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mike11 has quit [Ping timeout: 272 seconds]
amelliaa has quit [Quit: -]
Freshnuts has quit [Quit: Leaving]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
Blaguvest has joined #ruby
mike111 has joined #ruby
Rootsudo has joined #ruby
DTZUZU has quit [Ping timeout: 256 seconds]
p4p0l0 has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
gensym has joined #ruby
<gensym> hi, I want evertime I call YAML.load_file(filename) to print the filename for debugging purpose. How can I register a "before" hook or something similar?
<Radar> gensym: puts filename
<Radar> ?next
<ruby[bot]> Next question, please!
<gensym> @Radar i dont want to change all places where YAML.load_file(filename) is called, hence the the "before" hook
<Radar> gensym: how many places out of curiosity?
<gensym> many, but that doesnt really matter. Its for DRY
<apeiros> gensym: `module YamlFilePrinter; def load_file(name); puts name; super; end; end; YAML.singleton_class.prepend YamlFilePrinter`
nickjj has joined #ruby
<apeiros> enjoy
<gensym> @apeiros thanks, I will try that
mikecmpbll has joined #ruby
<gensym> @apeiros works! great!
Azure has quit [Ping timeout: 240 seconds]
mojtaba has quit [Quit: Leaving.]
aupadhye has joined #ruby
aupadhye has quit [Client Quit]
mojtaba has joined #ruby
mojtaba has quit [Client Quit]
jottr has quit [Ping timeout: 268 seconds]
mojtaba has joined #ruby
mojtaba has quit [Remote host closed the connection]
maufart__ has joined #ruby
sticaz has quit [Quit: My name Heff]
bonhoeffer has joined #ruby
wildermind has joined #ruby
jottr has joined #ruby
p4p0l0 has quit [Ping timeout: 245 seconds]
bonhoeffer_ has joined #ruby
bonhoeffer has quit [Ping timeout: 244 seconds]
bonhoeffer_ is now known as bonhoeffer
mojtaba has joined #ruby
Rootsudo has quit [Ping timeout: 244 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
fmcgeough has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
moei has joined #ruby
AJA4350 has joined #ruby
bauruine has joined #ruby
gensym has quit []
p4p0l0 has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
vondruch_ has joined #ruby
exchgr` has quit [Ping timeout: 256 seconds]
exchgr has joined #ruby
vondruch_ is now known as vondruch
sticaz has joined #ruby
sameerynho has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
Azure has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
sameerynho has quit [Ping timeout: 244 seconds]
mike111 has quit [Quit: Leaving.]
mojtaba has quit [Quit: Leaving.]
postmodern has quit [Quit: Leaving]
MuffinPimp has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
MuffinPimp has quit [Quit: Goodbye.]
MuffinPimp has joined #ruby
blackmesa has joined #ruby
gnufied has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
p4p0l0 has joined #ruby
conta has joined #ruby
tristanp has joined #ruby
blackmesa has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
p4p0l0 has quit [Ping timeout: 272 seconds]
bonhoeffer has joined #ruby
cadillac_ has joined #ruby
gray_-_wolf has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
bonhoeffer_ has joined #ruby
conta has quit [Quit: conta]
bonhoeffer has quit [Ping timeout: 240 seconds]
bonhoeffer_ is now known as bonhoeffer
blood has joined #ruby
<blood> Is there a way to ignore namespaces while querying xpath using Nokogiri? I cannot remove all namespaces from the document as it breaks the application that I am using.
<blood> hrmm seems like setting default_namespace on root node works
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
GodFather has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
wildermind has quit [Quit: Connection closed for inactivity]
blackmesa1 has quit [Quit: WeeChat 2.2]
kinduff has joined #ruby
DTZUZU has joined #ruby
kinduff has quit [Client Quit]
kinduff has joined #ruby
snickers has joined #ruby
nopolitica has quit [Quit: WeeChat 2.2]
raggi has joined #ruby
Emmanuel_Chanel has joined #ruby
LiftLeft has quit [Ping timeout: 240 seconds]
ged has quit [Quit: WeeChat 2.0.1]
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
<darix> blood: if you only have one namespace ... yes
<darix> then you can do that
discopatrick has joined #ruby
<bonhoeffer> is there a smart “with” block
ged has joined #ruby
<bonhoeffer> so if I have @myobject i don’t have to do @myobject.start @myobject.next_thing @myobject.another_thing
imhajes has joined #ruby
<imhajes> hi
<blood> darix: yea I tried storing all namespace definitions then resetting them before write and nokogiri crashes =)
<bonhoeffer> want something like “with @myobject { .start .next_thing .stop}
<blood> would be nice to just say ignore namespace during a xpath query
<bonhoeffer> like all things, i’m probably approaching the design pattern wrong
Alina-malina has joined #ruby
<imhajes> any one help me cinch irc bot?
<imhajes> msg me
ferhaty has quit [Quit: ferhaty]
<darix> blood: but you can have thins like <foo:bar><foobar:bar /></foo:bar> ... now you do //bar ... which one do you refer to?
bonhoeffer_ has joined #ruby
<blood> pasted 2 examples in this file
<blood> how would I query in xpath (nokogiri) for line 8 and line 25
<blood> using namespaces
bonhoeffer__ has joined #ruby
bonhoeffer has quit [Ping timeout: 240 seconds]
bonhoeffer__ is now known as bonhoeffer
* darix tries to remember where his code is for xpath with namespace
Nicmavr has quit [Read error: Connection reset by peer]
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
bonhoeffer_ has quit [Ping timeout: 256 seconds]
<blood> nokogiri really needs an option to disable namespace requirements assuming you have xml with namespace only in root
<blood> Pretty sure REXML does not do this
Nicmavr has joined #ruby
<blood> but REXML is painfully slow
<darix> blood: //xmlns:filter-name
Rapture has joined #ruby
<darix> blood: //xmlns:cookie-name
conta has joined #ruby
<darix> that xmlns is a short hand for the default namespace
<blood> I can do the following if i remove namespaces /weblogic-web-app/session-descriptor/cookie-name
<blood> and /web-app/filter[filter-name='psfilter']
<darix> yeah now you need to prefix things with xmlns: and be done
<blood> so with namespaces it would be //xmlns:cookie-name and //xmlns:filter[filter-name='psfilter'] ? I leave out the root?
conta has quit [Client Quit]
chouhoulis has joined #ruby
<darix> you might need //xmlns:filter[xmlns:filter-name='psfilter']
<darix> but
<darix> otherwise yes
<darix> blood: hint. binding.pry
<darix> and play around with it :P
<blood> so i always leave out parents?
<darix> blood: you can. but it doesnt matter
<darix> you can also do
imhajes has left #ruby [#ruby]
<darix> /xmlns:weblogic-web-app/xmlns:session-descriptor/xmlns:cookie-name
<darix> :)
<darix> blood: binding.pry :P
<blood> Problem is, im working on a puppet module for this and handling namespaces is annoying
<blood> I think I may just go back to REXML
kapil___ has joined #ruby
<blood> requiring namespace when only the root has it is ridiculous
<blood> no idea what binding.pry is, I've literally only worked on ruby for a few days. I'm a java dev =)
dhollin3 is now known as dhollinger
bmurt has joined #ruby
Cthulu201 has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
chouhoulis has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
<blood> Nokogiri doesn't like this
<blood> Error: /Stage[main]/Main/Xml_fragment[remove_psfilter]: Could not evaluate: ERROR: Invalid expression: //xmlns:[filter-name='psfilter']
<blood> oh woops
<blood> that is wrong
ByronJohnson has quit [Ping timeout: 268 seconds]
ByronJohnson has joined #ruby
<blood> however I'm now getting rid of remove_namespace call as it breaks things
jottr has quit [Ping timeout: 248 seconds]
Inline has joined #ruby
dbugger_ is now known as Dbugger
mroutis has joined #ruby
akaiiro has joined #ruby
mojtaba has joined #ruby
bijan_ has joined #ruby
snuz has joined #ruby
<blood> darix: solved issues by switching to css instead of xpath
<blood> well not all =)
<blood> filter[filter-name='psfilter'] Can I do something similar with css?
s2013 has joined #ruby
maufart__ has quit [Quit: Leaving]
aufi has joined #ruby
r29v has joined #ruby
ryu- has quit [Quit: leaving]
mroutis has quit [Ping timeout: 240 seconds]
memo1 has joined #ruby
Eiam has joined #ruby
dellavg has joined #ruby
za1b1tsu has joined #ruby
sameerynho has joined #ruby
fmcgeough has joined #ruby
[Butch] has joined #ruby
Zaab1t has joined #ruby
mike11 has joined #ruby
vondruch has quit [Ping timeout: 272 seconds]
drale2k_ has joined #ruby
vondruch has joined #ruby
aufi has quit [Quit: Leaving]
tolerablyjake has joined #ruby
polishdub has joined #ruby
clemens3 has quit [Ping timeout: 244 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
sonOfRa has quit [Remote host closed the connection]
<dminuoso> Is there a way to have bundler only build a specific dependency from a Gemfile?
<dminuoso> In particular I want to use build the dependencies in multiple docker layers as to not screw myself too much when I decide to add a dependency.
cagomez has joined #ruby
sonOfRa has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
blood has quit [Quit: Page closed]
wildermind has joined #ruby
beeman has joined #ruby
jcarl43 has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
lxsameer has joined #ruby
<havenwood> dminuoso: I can't think of a nicer way than giving the gem a group and using the --with=GROUP flag.
<dminuoso> havenwood: I suppose I could at least toss the native extensions into a group..
<dminuoso> That would rid me of most the pain.
al2o3-cr has quit [Quit: WeeChat 2.2]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 260 seconds]
mike11 has quit [Quit: Leaving.]
cats has quit [Ping timeout: 244 seconds]
cats has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
lxsameer has joined #ruby
Beams has quit [Quit: .]
mojtaba has quit [Quit: Leaving.]
gray_-_wolf has quit [Quit: WeeChat 2.2]
mikecmpbll has quit [Ping timeout: 240 seconds]
memo1 has quit [Ping timeout: 272 seconds]
lxsameer has quit [Ping timeout: 272 seconds]
bijan_ has quit [Remote host closed the connection]
kinduff has quit [Quit: Quit]
lxsameer has joined #ruby
orbyt_ has joined #ruby
mroutis has joined #ruby
bijan_ has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
<dminuoso> invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /usr/local/bundle/cache/ruby-oci8-2.2.5.1.gem
* dminuoso kicks back
* dminuoso breathes
bijan_ has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
eckhardt_ has joined #ruby
<havenwood> dminuoso: Does nuking the cache from orbit improve the outlook?
lxsameer has quit [Ping timeout: 272 seconds]
<dminuoso> havenwood: Better yet, running it *again*
<dminuoso> So now I have a non-determistic bug fucking with my docker container.
* dminuoso sighs
<dminuoso> Probably should valgrind bundler.
<dminuoso> Who knows what goes on there.
bijan_ has joined #ruby
mroutis has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
bonhoeffer has joined #ruby
<bonhoeffer> i’m still wondering the ideal ruby design pattern when an object is repeatedly called: want something like “with @myobject { .start .next_thing .stop}
<bonhoeffer> something like that
bijan_ has quit [Ping timeout: 256 seconds]
<apeiros> some_foo.tap { |x| x.start; x.thing; x.whatever }
<apeiros> though personally I'll just do `@myobject.start; @myobject.thing; @myobject.whatever`. IMO easier to read.
lxsameer has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bonhoeffer_ has joined #ruby
lxsameer has joined #ruby
<bonhoeffer_> apeiros: thanks for the feedback
<apeiros> oh, right, there's of course also .instance_eval
<havenwood> bonhoeffer: There's a proc composition proposal for 2.6 that'd let you do: https://gist.github.com/havenwood/612d910cb8d7c3b5caf9ffaa16f3427f
<apeiros> @myobject.instance_eval do start; thing; whatever; end
<havenwood> bonhoeffer_: This bit implements Proc#>> for Ruby 2.5 and earlier: https://gist.github.com/havenwood/612d910cb8d7c3b5caf9ffaa16f3427f#file-proc_composition-rb-L1-L5
<bonhoeffer_> thanks
bonhoeffer has quit [Ping timeout: 240 seconds]
bonhoeffer_ is now known as bonhoeffer
<havenwood> bonhoeffer_: (I'd also just do it in three lines though.)
doubledup has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
bijan_ has joined #ruby
SeepingN has joined #ruby
herbmillerjr has joined #ruby
bijan_ has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
dviola has joined #ruby
bijan_ has joined #ruby
<havenwood> Oh, I take it back. You want to apply the method to the receiver, not method return value. Nevermind me!
lxsameer has quit [Ping timeout: 244 seconds]
bijan_ has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
bijan_ has joined #ruby
mikecmpbll has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.2]
lxsameer has quit [Ping timeout: 265 seconds]
bijan__ has joined #ruby
graphene has joined #ruby
bijan_ has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 248 seconds]
bijan_ has quit [Read error: Connection reset by peer]
bonhoeffer_ has joined #ruby
cadillac_ has joined #ruby
bonhoeffer has quit [Ping timeout: 260 seconds]
bonhoeffer_ is now known as bonhoeffer
lxsameer has joined #ruby
bijan_ has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: brb]
bijan_ has quit [Ping timeout: 256 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
bijan_ has joined #ruby
lxsameer has joined #ruby
lytol_ has joined #ruby
<bonhoeffer> how do i require a whole folder?
<bonhoeffer> Dir["/path/to/directory/*.rb"].each {|file| require file }
bijan_ has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.2]
lxsameer has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
discopatrick has quit [Quit: Connection closed for inactivity]
bijan_ has joined #ruby
drale2k_ has joined #ruby
lxsameer has joined #ruby
agent_white has joined #ruby
bijan_ has quit [Ping timeout: 256 seconds]
sauvin has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 272 seconds]
<SeepingN> does that not work?
<apeiros> bonhoeffer: use glob instead of [], it takes a block directly
<SeepingN> back in the day I had a pack of gems to load but we had... issues... so I had something htat basically did that same thing
<havenwood> bonhoeffer: Dir.glob '/path/*.rb', &method(:require)
<apeiros> also, as of 2.4 I think, you can provide a `base: "some/dir"` which is stripped from the yielded value. useful for requires as they should be relative to a path in $LOAD_PATH (aka $:)
<havenwood> apeiros: Indeed!!
<havenwood> Love that.
<apeiros> same
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> bonhoeffer: Dir.glob '*.rb', base: '/path', &method(:require)
<apeiros> I have *so* *fucking* *many* Dir.glob loops where I do: `base = "some path"; Dir.glob(base+"/whatever/*") do |path| rel = path[base.size..-1]; …` (or similar, might be off by one :D)
bijan_ has joined #ruby
lxsameer has joined #ruby
<bonhoeffer> thanks
drale2k_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 268 seconds]
bijan__ has quit [Ping timeout: 245 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
lxsameer has joined #ruby
graphene has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
lxsameer has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bonhoeffer has quit [Quit: bonhoeffer]
dionysus69 has joined #ruby
bonhoeffer has joined #ruby
kevinsjoberg has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
bonhoeffer has quit [Client Quit]
drale2k_ has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
doubledup has quit [Quit: Leaving]
bonhoeffer has joined #ruby
bijan_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore has joined #ruby
<gizmore> #j PHP
<gizmore> typo... good evening :)
bijan_ has quit [Read error: Connection reset by peer]
<apeiros> php instead of ruby is quite the typo ;-p
jhass has joined #ruby
snuz has quit [Quit: WeeChat 2.2]
<gizmore> apeiros: i wanted to join php channel too
<gizmore> but confused syntax
<gizmore> i like php and ruby and c++ and js and java
<gizmore> and ObjectiveC
<gizmore> currently doing some php for a friend and at work
<gizmore> but ruby is so much more elegant you know
<gizmore> and the people here are more sane
<apeiros> dunno, php is very high on my list of languages I expressly do not want to work with
<apeiros> atm I think the only one higher up as a language is plsql
<gizmore> php is not that bad... the performance of mod_php is quite nice on apache imho
<gizmore> and it has primitive type hinting \o/
<apeiros> oh, if performance was an issue, I'd not use ruby either :D
<gizmore> i want to make a new game with ruby maybe
bijan_ has joined #ruby
<gizmore> or learn python and make it with a friend.... or restart in C++.... or patch my PHP framework a lot.... or continue my ruby framework
<Zarthus> modern php is pleasant to work with, it's the people that are ass.
<gizmore> either way.... i wanna code "GDO - Gizmore Data Objects"
<Zarthus> ..Is that a copy of PDO?
<gizmore> yeah... php got quite good over the years.... there are still ugly quirks, but you know them
<gizmore> no... i didnt know of PDO when i did v1
bijan_ has quit [Read error: Connection reset by peer]
<gizmore> GDO6(PHP) is way more sane and slim .... GDO6(Ruby) is also started, but currently on ice
<gizmore> GDO6(Ruby) is test driven
bonhoeffer_ has joined #ruby
mojtaba has joined #ruby
<gizmore> ah this is php maybe -.-
<gizmore> https://github.com/gizmore/GDO (ruby port)
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
bonhoeffer has quit [Ping timeout: 240 seconds]
bonhoeffer_ is now known as bonhoeffer
snuz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Ping timeout: 260 seconds]
Freshnuts has joined #ruby
alex`` has joined #ruby
TravisR[m]1 is now known as turt2live
Zaab1t1 has joined #ruby
Zaab1t has quit [Ping timeout: 272 seconds]
Zaab1t1 is now known as Zaab1t
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
LiftLeft has joined #ruby
drale2k_ has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
s2013 has joined #ruby
s2013 has quit [Client Quit]
s2013 has joined #ruby
tolerablyjake has quit [Quit: Textual IRC Client: www.textualapp.com]
tolerablyjake has joined #ruby
r29v has quit [Quit: r29v]
jottr has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 272 seconds]
za1b1tsu has quit [Ping timeout: 272 seconds]
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wildermind has quit [Quit: Connection closed for inactivity]
Zaab1t has quit [Quit: Zaab1t]
s2013 has joined #ruby
orbyt_ has joined #ruby
s2013 has quit [Client Quit]
dellavg has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
t0xik has joined #ruby
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #ruby
bsamorim has joined #ruby
<bsamorim> Hi, folks! I'm having a tough time understanding YARV's garbage collection dynamics
<havenwood> bsamorim: Say more about what part you're trying to understand?
nowhere_man has joined #ruby
<bsamorim> If I start up a irb session and fire up a method that takes ~1 min to complete and consumes ~4.5% of my memory, at the end of it, the memory consumption from the method persists
<havenwood> bsamorim: Does it go down if you manually run?: GC.start
<bsamorim> havenwood: I tried that, but it didn't have any effect
<havenwood> bsamorim: Is there no garbage to collect?
<bsamorim> If I fire up the method once again, the memory eventually goes down, and then back up again
<havenwood> bsamorim: Show your `GC.stat` before and after?
<bsamorim> havenwood: k, wait a minute
<bsamorim> before and after the first method invocation, or the second?
<havenwood> both
<bsamorim> k, just a sec
<havenwood> bsamorim: If it's shareable, code to reproduce might help someone spot the issue as well.
<zenspider> why are you assuming this has to do with GC?
<bsamorim> havenwood: sure, I'll share
<zenspider> can we back up? what have you done to investigate why a single method takes a minute?
<zenspider> memory might have nothing to do with this. memory "persisting" is normal for a lot of code
<bsamorim> zenspider: because the code is really just performing a 'rest-client' request
lxsameer has joined #ruby
<zenspider> so? what have you done to isolate this to memory?
LiftLeft has quit [Ping timeout: 265 seconds]
<zenspider> rest-client is networking. that has lots of external dependencies that might time out
<zenspider> does 1 + 1 take a minute?
<zenspider> is it JUST irb?
<havenwood> RestClient and HTTParty can also take a huge amount of memory compared to other HTTP clients in Ruby.
<bsamorim> zenspider: You're absolutely right - I haven't done a thorough investigation. I just assumed that ruby's most popular http client wouldn't have such weird memory cost
<zenspider> (like, try `ruby -rwhatever-you-need -e 'some code'`
<zenspider> "most popular"
<havenwood> bsamorim: RestClient isn't as solid as you imagine.
<havenwood> bsamorim: Note the memory use part of this article: https://twin.github.io/httprb-is-great/
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bsamorim> havenwood: there's the pastebin https://dpaste.de/8cPU
<bsamorim> I'll paste the method definition as well
s2013 has joined #ruby
<havenwood> bsamorim: I personally avoid RestClient and HTTParty.
<havenwood> bsamorim: I'd prefer Net::HTTP, Typhoeus, HTTP.rb, etc.
<bsamorim> havenwood: wish I met you 2000 lines of code ago :(
<havenwood> bsamorim: Here's a spreadsheet comparing Ruby HTTP client features, fwiw: https://docs.google.com/spreadsheets/d/1vPlk6nMIFa3sI5ISl7zZ5r6lDNpVQX6Jxi3ksXCyVbs/edit
<havenwood> I should add upload and download base memory usage.
* havenwood makes a note.
<zenspider> gah. look at the timings here https://github.com/httprb/http
<bsamorim> havenwood: so this most likely has nothing to do with GC? haha thank god!
<zenspider> that's horrific for restclient
lxsameer has quit [Ping timeout: 240 seconds]
<havenwood> zenspider: srsly
<zenspider> I don't understand this line tho "using native parsers and a clean, lightweight implementation, http.rb achieves the best performance of any Ruby HTTP library which implements the HTTP protocol in Ruby instead of C:"
<zenspider> oh. n/m. I understand how I misread it.
<zenspider> I have to say... I hate the name of this gem.
<zenspider> I also highly suspect the methodology of this benchmark as being slightly bogus... but not when the numbers are an order of magnitude different
<zenspider> "DISCLAIMER: Most benchmarks you find in READMEs are crap, including this one. These are out-of-date. If you care about performance, benchmark for yourself for your own use cases!" hah! fair
<bsamorim> havenwood, zenspider: thank you guys very much for the help!
Dbugger has quit [Ping timeout: 240 seconds]
<zenspider> yup yup. no prob. good luck
LiftLeft has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdsampayo has joined #ruby
r29v has joined #ruby
<jdsampayo> Hello, how can I pack an Array of bytes (from Java) like the BigInteger Java constructor, in Java with [-75, 78, 103, -51, 31, -56, 80, -22] you can get the BigInteger 13064493699747565802. In Ruby, I have tested all the pack (c, v, l, i, C, c*, cccc, etc) without any success
jottr has quit [Ping timeout: 272 seconds]
jim80net has joined #ruby
<zenspider> packing an array gives you a binary string. IS that what you want? or do you want the bigint?
<jdsampayo> Maybe my question was bad, I would want to create the BigInteger from the array, like in Java: BigInteger big = new BigInteger(1, new byte[]{ -75,78,103,-51,31,-56,80,-22 });
jottr has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider> holy shit. I figured it out.
<zenspider> >> a = [-75, 78, 103, -51, 31, -56, 80, -22]; a.pack("C*").unpack("Q>*")
<ruby[bot]> zenspider: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<zenspider> what?!? screw you bot
<zenspider> => [13064493699747565802]
<zenspider> last * is not needed either
<jdsampayo> Awesome!
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jdsampayo> hahaha the bot
<zenspider> translation: big endian unsigned long long
<apeiros> BigInteger in Java is a 64bit int?
<apeiros> or arbitrarily large like ruby's Bignum (now just Integer)?
<jdsampayo> Java sources has this description: "The magnitude is a byte array in <i>big-endian</i> byte-order: the most significant byte is in the zeroth element."
<zenspider> iirc it's arbitrary... it happens to fit in this case
<apeiros> zenspider: btw., this error still means that eval.in failed, tho. but the message is crap.
<apeiros> Q is only long long (64bit)
<zenspider> I don't think this code will work with all input... but I don't think there IS a way to make it work with all input. bigint is not explicitly supported since it is internal to ruby
<apeiros> I think if you want to convert arbitrarily large, you have to roll your own. not too difficult, though.
<zenspider> unsigned long long
<jdsampayo> guess I can use .unpack1("Q>") for this purpose to avoid the Array
<zenspider> yeah. I think if you did "Q>*" you can then math them up with a fold
<apeiros> >> [-75, 78, 103, -51, 31, -56, 80, -22].reverse.map.with_index { |v,i| (v < 0 ? v+256 : v)*(2**(8*i)) }.sum
<jdsampayo> Thanks zenspider, I was struggling for hours
<ruby[bot]> apeiros: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
snickers has joined #ruby
<zenspider> bot... I will murder you
<apeiros> ...eval.in. not the bot.
<zenspider> MURDER
<apeiros> ok
<zenspider> whatever happened to _why's sandbox code? IIRC it was too messy to make it back into ruby
sspreitz has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 272 seconds]
snickers has quit [Client Quit]
<apeiros> yeah, I'd still love to have an embeddable secure ruby interpreter
<apeiros> secure as in: you can limit what it has access to
<zenspider> >> a = [-75, 78, 103, -51, 31, -56, 80, -22]; a.pack("C*").unpack("N*").inject { |n,m| (n << 32) + m }
<ruby[bot]> zenspider: # => 13064493699747565802 (https://eval.in/1047906)
<cthulchu> how do we autofix the formatting in vscode?
<zenspider> WHY DID THAT WORK?!?
<zenspider> anyhow. there's a portable way to do bigint
<zenspider> Sandbox.disable :disk, :network # would be nice
jdsampayo has quit [Ping timeout: 252 seconds]
sspreitz has joined #ruby
za1b1tsu has joined #ruby
jdsampayo has joined #ruby
<jdsampayo> omg you guys found three solutions in some seconds, still a long path for me to walk...
reber has quit [Remote host closed the connection]
bsamorim has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
kaleido has joined #ruby
mojtaba has quit [Quit: Leaving.]
mojtaba has joined #ruby
exchgr has quit [Ping timeout: 255 seconds]
exchgr` has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
jdsampayo has quit [Ping timeout: 252 seconds]
mojtaba has left #ruby [#ruby]
jottr has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #ruby
jottr has joined #ruby
orbyt_ has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
orbyt_ has joined #ruby
za1b1tsu has quit [Ping timeout: 272 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
tolerablyjake has quit [Client Quit]
jottr has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
<zenspider> is there some way to build / install graphviz on OSX that doesn't segfault like mad??
<zenspider> seems data dependent for sure... but totally innocuous stuff
<SeepingN> homebrew
<SeepingN> or macports
<SeepingN> according to their own page
mikecmpbll has quit [Quit: inabit. zz.]
[reed] has quit [Quit: So long, farewell, auf Wiedersehen, good night.]
sanscoeu_ has joined #ruby
lxsameer has joined #ruby
sanscoeur has quit [Ping timeout: 240 seconds]
<baweaver> Heyo, opened an issue on the Ruby style guide: https://github.com/rubocop-hq/ruby-style-guide/pull/725
<baweaver> Could use some eyes
sanscoeu_ has quit [Ping timeout: 272 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
<zenspider> SeepingN: that addresses how to install. it doesn't address segfaults at all. the homebrew build is pretty terrible
alex`` has quit [Ping timeout: 272 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: leaving]
<zenspider> it's disheartening that graphviz has ~1000 issues open
<Radar> patches welcome
* Radar ducks
<zenspider> it's such bitrot. and my favorite competitor to it, which had much better (but slower) layout was killed off by graphviz popularity
<zenspider> I have a LOT of scripts that generate graphs tho... this sucks
<Radar> Time to write your own?
duderonomy has joined #ruby
Blaguvest has quit []
ellcs has quit [Ping timeout: 255 seconds]
tty has joined #ruby
yorickpeterse has joined #ruby
<zenspider> fuck that. no.
<zenspider> HELL no. I don't have a PhD in this shit.
snuz has quit [Quit: WeeChat 2.2]
<dviola> gnuplot? :P
<zenspider> doesn't even remotely do the same thing. I have some old code for that too somewhere...
sonOfRa has quit [Remote host closed the connection]
<al2o3-cr> how about gruff?
<dviola> oh, I see
sonOfRa has joined #ruby
<zenspider> hrm. I don't know gruff. url?
<dviola> sorry, I don't know what you're doing with graphviz
<zenspider> wait. you mean ... yeah. no. that's also doing charting, not graphing.
<zenspider> I'm really surprised to see it has semi-recent commits. that thing is ancient. very early seattle.rb days
graphene has quit [Remote host closed the connection]
<al2o3-cr> yeah, was about to say it's probably not what you need.
<zenspider> ugh. everything either conflates graphs with charts or is java or D3
graphene has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yorickpeterse has quit [Quit: WeeChat 2.2]
orbyt_ has joined #ruby