@phaedryx cool! how do you find it? Do you have any patterns that repeat themselves?
@timriley Filefile
@brian_kephart @james `private` does nothing special here. it only applies to methods defined as "def <identifer>".
here's the correct way to define a private class method:
class Thing
class << self
private
def foo
end
end
end
@erika oh hi there! doing anything fun with Ruby?
@shanecav mostly importance (or by I try to group related methods together), but often it's way too "random"…
Hey, folks! My company is looking for devs and QAs :D
We use Ruby!
RT @AppTweak@twitter.com
🙌🏼 We're hiring! We're currently looking for a full-stack dev and a QA engineer 🤓 Check out our open positions here!
https://jobs.apptweak.com/ #ASO #AppStoreOptimization #talent #recruitment #AppMarketing
@jamey conjunctive grammars turned out to be trivial: https://github.com/judofyr/glush/commit/8995bbecbe6d3827c792bb1623264b8ec9216601. I haven't found a way to add full boolean grammars without drastically changing the algorithm.
@matrix9180 👋 👻
Converted the Rails style guide and the Ruby style guide to AsciiDoc, too.
Go check it out!
- https://github.com/rubocop-hq/rails-style-guide/
- https://github.com/rubocop-hq/ruby-style-guide/
Why AsciiDoc? It's hard to write a blog post. It's easy to write an email. AsciiDoc was created to be easy to write in the first place.
@matrix9180 hi there! what are you up to these days?
@jamey alright, now it's back to parsing the super ambiguous grammar (https://github.com/judofyr/glush/blob/c339c32508c7afb40141df2a58eb088ed88c4de7/test/grammars.rb#L57-L69) in ~ O(n^2.761) (experimentally)
@jamey yeah, it’s a nice way to avoid having support custom actions everywhere (which is tricky for ambiguous grammars). heh, I messed up the implementation a bit, so right now ambiguous grammars are exponential, but it can be fixed with smarter caching/state-handling
@jamey look, I turned the Glushkov-parser into a proper project! https://github.com/judofyr/glush
@sfcgeorge wow. how many joins and/or subqueries do you have?
@zenspider that’s shared across all (sub/super)classes, no? this can be different per class
what is the best UI you've seen for browsing API reference documentation (on the web)? (ignore the actual quality of the text)
examples:
- rust: https://doc.rust-lang.org/std/
- ruby core: http://ruby-doc.org/core-2.6.3/
- yard: https://www.rubydoc.info/gems/yard/0.9.19
- rails: https://api.rubyonrails.org/
- one big markdown: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md