nice: Ruby on Ice - https://rubyonice.com
I *love* reinventing the wheel.
Some of my articles explain how to build your own GenServer in Elixir or how to compare images in plain Ruby, and I’ve built minimal clones of libraries like RSpec and Spring in the past to understand and teach how they work.
While you shouldn’t rely on a hand-rolled HTTP server or a naïve reimplementation of an ancient OTP construct in production, taking software apart and rebuilding it is the best way I know to understand what’s happening under the hood.
I even went to the library to find a good book on Simula67 since there’s so little information online
so far I've been using Brainfuck, Whitespace, and Simula67
in this year's Advent of Code I'm using a new language every day: https://github.com/judofyr/aoc2018
slowly refreshing http://timelessrepo.com/ so I have a place to write more articles
@judofyr we're using graphql-ruby on our backend, and while I quite like my experience so far, getting started has often been confusing. The library recently transitioned to a class-based API instead of a DSL, but much of the documentation is in an in-between state. It's quite easy to build a confusing mess, but as with all things ruby---that's probably our own fault ;). Once you get the hang of things, it's quite nice. There are definitely tradeoffs with GraphQL, but I do think it's worthwhile.
I've been having a lot of fun with a HTML DSL in Ruby recently: https://github.com/judofyr/tubby
it feels very React/component-like
Building SQL Expressions with Sequel https://bits.citrusbyte.com/building-sql-expressions-with-sequel/
Did you know that
actually performs a useless ActiveRecord query?
For more nice tidbits, I recommend watching "Cache is King: Get the Most Bang for Your Buck From Ruby" when it gets processed in https://confreaks.tv/events/rubyconf2018
My latest article about fibers and different models of asynchronicity. https://www.codeotaku.com/journal/2018-11/fibers-are-the-right-solution/index
Proc#<< might get merged into ruby-trunk. Functional style closure composition! Shweet!
@janko do you have any Roda best-practices for how to structure apps btw?
I'm gonna live stream my work implementing native coroutines for MRI Ruby: https://live.codeotaku.com/stream/5cad135d-566c-4556-894a-0d62ab7b90ad/index
On ever big codebase flaky tests are part of the deal, and usually don't have enough attention or even workflow/tools to deal with them.
I wonder why I haven't found any automated test services (CircleCI/Travis/BuildKite/SemaphoreCI/etc...) with some kind of feature/help to deal with those 🤔
The trickiest part seems to be how to identify/reference them as lines/files/names change across time & branches.
A Mastodon instance for Rubyists & friends