May 16, 2020
ACO is definitely not out of reach of any organization that could benefit from it. But, because it's quite a specialized tool neighboring on academia, the real challenge is knowing that it exists in the first place. (726)
May 16, 2020
Here are the more technical details of ACO implementation are discussed. The reasoning behind it and the conclusion are in a separate post.ImplementationI started off with an ex... (1795)
May 07, 2020
The beginning of the MCO was quite stressful but I’m happy about a small victory shown in this screenshot:Supplybunny site was live and taking orders the entire time, handling p... (280)
May 07, 2020
The beginning of the MCO was quite stressful but I’m happy about a small victory shown in this screenshot:Supplybunny site was live and taking orders the entire time, handling p... (280)
April 25, 2020
I keep having to look for these four tools when making PWA icons. Convert SVG to PNGhttps://ezgif.com/svg-to-png/ (set the width to at least 512) Make sure the icon ... (92)
March 21, 2020
A useful pattern that I didn’t see documented before is what I call “state params”: returning different permitted params based on the state of the record.If there is an order mo... (180)
March 21, 2020
In the course of doing upgrades for an older project I’ve discovered that not every activerecord version is compatible with every mysql2 version. The adapters use ~> to lock ... (147)
March 07, 2020
Test-driven development and it’s pros and cons have been extensively written about.Most common pros are often said to be having to think or plan your code out before writing, th... (232)
March 03, 2020
Google has instructions on how to migrate from analytics.js to gtag.js with the steps being straight-forward.While doing this, two things helped me:1. Set up a GAID constantSo, ... (222)
March 01, 2020
When diagnosing a performance issue look for the end-points that don’t appear in the logs as frequently as they should.If the entire application slows down and all requests are ... (49)
February 11, 2020
They don't seem to be worth it (185)
February 07, 2020
Very useful sort in scenarios where context is tied to a date (450)
December 20, 2019
A running list of examples of design patterns listed in Design Patterns: Elements of Reusable Object-Oriented Software.Periodically updated.CreationalCreate objects, rather than... (596)
December 14, 2019
Carrierwave Backgrounder is a gem that makes it easier to process assets in background. Resizing and optimization can be done on Sidekiq rather than in the main thread. Very use... (251)
December 14, 2019
The early daysIn the beginning there was the all-powerful onclick:<button onclick="javascript: increment()">Increment</button><div id="count">0</div><... (835)
December 02, 2019
“What should we do first?” is always asked when developing a new thing. It’s deceptively simple but can be answered differently depending on who you ask and what you’re building... (375)
November 16, 2019
Had a scenario for the Supplybunny API where an endpoint needed to return a combination of live and cached data.The cached part was already in use in a few places. The new endpo... (132)
November 14, 2019
A small tweak is needed to get the first day of the week correctly. (146)
October 23, 2019
I mainly use Chrome but switch to Firefox every once in a while, just to check how it’s doing. This time I thought I’d write down my opinion, in no particular order.ProsAddons o... (384)
October 16, 2019
jQuery is still very useful and jQuery validate is great for validation. I’ve written before about how to make custom validators for it. Here are four more (all in coffeescript)... (491)
October 05, 2019
I mostly use Vue.js due to it’s very intuitive templating system and excellent reactivity. But I still very much miss one specific feature of Backbone.js: collections.In particu... (651)
October 02, 2019
A while ago I was working on the audit log and wanted to store both the user and the name. That way the name remains and can be shown if the user is deleted. The audited gem sto... (178)
September 18, 2019
I experimented with sorting items by their average rating and the number of ratings. I wanted to have products with higher number of ratings appear before ones with equal averag... (328)
August 04, 2019
Been experimenting with Flutter recently and had a use case where I wanted to access SharedPrefernces in Flutter and in native. Surprisingly it was a bit tricky and took a bit o... (288)
August 04, 2019
I found the example of sending messages between Flutter and native code overly complicated because it’s part of a larger tutorial that includes several different things and does... (598)