Ognjen Regoje bio photo

Ognjen Regoje

I make things that run on the web (mostly).
More /ABOUT me.

me@ognjen.io Twitter LinkedIn Github
Check out
The Marketplace Guide
A collection of lessons for the early stages of building a marketplace startup.



January 23, 2022

Big tech should help tackle misinformation on smaller platforms

Big tech is in focus and being held somewhat responsible for fighting misinformation. But what about smaller platforms? And how can big tech help? (1230)

January 04, 2022

Answer HN: Why do so many developers seem hostile to their users these days?

My answer to an Ask HN. TL;DR: For money. (66)

January 01, 2022

A review of the blog in 2021

Looking back at one year of more "serious" blogging (1039)


December 21, 2021

Automatically creating plural models in Rails

At times it's more readable to use the plural of a model instead of singular. For instance Products.for_indexing instead of Product.for_indexing. This can be accomplished through a simple initializer that creates the plural model automatically. (315)

December 21, 2021

Answer HN: How do you manage direct updates to databases in a production system?

My answer to an Ask HN. Use the db-updates-as-code for your framework, make the system fudgeable and have an audit log. (118)

December 06, 2021

Quick rundown of barcodes and marker systems

A summary of other machine-readable codes and their purposes (1091)

December 06, 2021

Functional model pattern

Similar to the actor model pattern, the functional model pattern creates multiple models that operate on the same table. But instead of focusing on the user type that primarily accesses it, it focuses on the functionality required. It works well for different stages of a base model. (685)

November 29, 2021

Fingerprinting without JS: telling a user's OS using type-faces

A brilliant technique to (almost) determine a user's OS by testing whether CSS has OS-specific built-in font families. (331)

November 25, 2021

Ruby String::negative

A way to calculate the "negative" of a string to be able to sort an array of objects in alphabetic order of one field but reverse alphabetic order of another. (372)

November 04, 2021

Introducing TheMarketplace.Guide

A collection of lessons based on my experience in Supplybunny (202)

November 03, 2021

Lists of things I notice in software

When software is polite, when a link is needlessly small and when the best and brightest have errors in prod. (205)

October 27, 2021

QR codes suck for document verification

They give the impression of authenticity, but the current implementations are bad. (1238)

October 26, 2021

Why are we expected to train Google's NN for free?

TL;DR You aren't, but spam is real, and a good alternative doesn't exist at the moment. (848)

October 25, 2021

Shit you can get away with when you're in a dominant market position

A provider that has no comparable competition is the perfect example of why competition is not only good but necessary. (663)

October 21, 2021

Generating a PDF from a Jekyll post using `pandoc`

An improvement over using `jekyll-pdf` or `wkhtmltopdf` (637)

October 04, 2021

Reason 14242 for net neutrality and SSL

Hijacking blocking notifications and DNS unresolved errors (57)

October 02, 2021

Hilarious emoji requests

Some emojis that (un)fortunately didn't make the cut. (219)

August 02, 2021

Technical blogging in the era of Stack Overflow

While Stack Overflow does cover the most commonly encountered issues, particularly for beginners, there is still a lot of value in technical blogging for solutions that are the result of experience. (965)

July 31, 2021

Why technical people pay to self-host, but not for your app

General issues that have made me, and others like me, host or build my own solutions instead of paying for an existing service. (526)

July 31, 2021

Don't scan your face to buy glasses

Cubitts, a glasses retailer, announced that they’re going to be using iPhone’s camera to scan faces to assist in buying glasses. I’m interested of the privacy implications of th... (1709)

July 31, 2021

30+ questions to design one input

Questions answered while iterating the design of a single input field. (1517)

July 30, 2021

nit: Put the "why" in front. Here's why.

It immediately makes your article seem like click-bait. (Also, I really dislike it.) (70)

July 30, 2021

nit: Don't forget to exclude bot traffic from Google Analytics

Otherwise it skews your stats. And while you're at it remove `fbclid` from query parameters. (101)

July 24, 2021

Automatically generating Github-like og:images in Jekyll

Github has automatically generated social media images for each repository. Here is how to do the same think for Jekyll posts. (1407)

July 23, 2021

How to facilitate remote work better

Thinking through working remotely to be able to facilitate it better in future. (2445)

older ›