FormAPI Blog

  • BTC 2018 Solutions - Stage 4: Virtual Machine

    This blog post contains the solution for Stage 4 of the 2018 Bitcoin Programming Challenge. Once you finish the T-Rex runner game (stage 3), you are given some links to some files.

    Read more…
  • BTC 2018 Solutions - Stage 3: T-Rex Runner

    This blog post contains the solution for Stage 3 of the 2018 Bitcoin Programming Challenge. After you solved the Cubes challenge (stage 2), you would visit this URL:

    Read more…
  • BTC 2018 Solutions - Stage 2: Cubes

    This blog post contains the solution for Stage 2 of the 2018 Bitcoin Programming Challenge. I saw the first episode of 3% in early 2018. There is a scene where the contestants have to form 9 cubes from a set of blocks.

    Read more…
  • BTC 2018 Solutions - Stage 1: PixelPerfect

    This blog post contains the solution for Stage 1 of the 2018 Bitcoin Programming Challenge. I had the idea for PixelPerfect a few months ago, but I never got around to finishing it.

    Read more…
  • Migrating From Trello To Airtable

    I’ve been using Trello for project management. Trello is alright, but Airtable is much more powerful and flexible. Airtable has a Kanban view that is similar to Trello, but you can also view all of your tasks in a compact spreadsheet.

    Read more…
  • 2018 Bitcoin Programming Challenge

    The puzzle has been solved! Congratulations to Arpox, who was the first person to solve the final stage and claim the 0.125 BTC! They’ve posted an amazing write-up on Medium, so check it out if you want to see how they solved the puzzle.

    Read more…
  • Making RuboCop 20x Faster

    I’ve been using Prettier in all of my JavaScript projects. I also started using the “format on save” feature in VS Code, and once I got used to it, I was hooked.

    Read more…
  • Rails 5.1 ActiveModel::Dirty Changes

    You might have seen some deprecation warnings when updating to Rails 5.1+: DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails.

    Read more…
  • How To Split Up Rails Routes Into Multiple Files

    Our config/routes.rb file was getting a bit long, so I wanted to reorganize it and split it up into a few different files. I found a few blog posts with some solutions, but I didn’t really like their approach.

    Read more…
  • Dynamically Generate Controller Specs for ActiveAdmin

    I use ActiveAdmin (and the arctic_admin theme) to build FormAPI’s internal admin dashboard: ActiveAdmin has a few quirks and bugs, but I enjoy working with it overall. Some other popular admin frameworks for Rails are Administrate and RailsAdmin.

    Read more…