bundler-audit 0.6.1 has been released, which supports bundler 2.x.
Eric Pigeon solved the regexp issue that was blocking bundler-audit 0.6.1. Was missing the `!` character...
Proc#<< might get merged into ruby-trunk. Functional style closure composition! Shweet!
One anti-pattern I'm starting to see with GraphQL, is the temptation of getting all of the data in one request. The problem with that mindset is that some of your associated models do not need to be queried/embedded/retransmitted for each request/response. Ideally one would request the shared data, cache it, and join it on the client-side.
Also I really wish LXD caught on. I like how it gives you the benefits of both containerization and the familiar structure of a GNU/Linux base system (systemd, crond, /bin, /sbin, etc).
https://github.com/postmodern/digest-crc/issues/13 had no clue ruby-kafka was using digest-crc. Looks like I'll be spending some time optimizing digest-crc soon.
Say, what are #Rubyists using for JSON builders in the year 2018? Is there a dry- equivalent?
cinch is an amazing library. Only took a few minutes to slap together a #Twitch bot; it helps that Twitch's chat API is really just an IRC server. Also has snazzy ANSI logging to boot. #ruby
bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.chat.twitch.tv"
c.port = 6667
c.nick = "twitch_username_here"
c.password = "oath:..."
c.channels = %w[#mychannel]
on :message do |m|
#ruby could use a REPL like Jupyter Notebook or Matlab. I want to be able to save/load sessions or projects, edit code in my $EDITOR and have it auto-loaded into the session, load/save data from external sources, and have everything saved into a standard project file structure. Something that helps you do one-off tasks, but also generates reusable artifacts that could be converted into gems once the code/data has become mature enough for distribution.
also where have you been all of my life "Delete & re-draft" option?! #mastodon
In other news, we've now hit 500 users on https://ruby.social!
This is great news, but puts us on a higher tier of costs in our hosting, so since some folk have asked about it... if you'd like to contribute to the running costs, you can now do so via Patreon:
This is absolutely not required, and getting more Rubyists to join is still the best thing you can do to help, but if you'd like to also throw some gold in the chest, now you can 😄
If you thought Rails was boring, wait till you try Padrino! :P
Of course Ruby's Fixnum is actually a C unsigned integer, with two least-significant-bits reserved to denote it's object ID (3).
It would be nice for data science (and C bindings) to be able to allocate large buffers of native ints and access them directly.