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.



June 20, 2022

Don't forget, .org sucks

It isn't a legitimately controlled TLD (111)

February 07, 2022

Embedding links in Jekyll

A partial and a script for quickly fetching open graph data and embedding it in a Jekyll page (349)

February 02, 2022

We will never sell your data

Unless... (214)

January 31, 2022

XKCD#936-like Password generator

An experiment to generate long but easy to remember passwords, partially inspired by XKCD #936 (155)

January 29, 2022

Answer HN: Does your team use feature flags?

My answer to an Ask HN. Yes, particularly for features that are still too complex and for features that deal with money. (136)

January 28, 2022

What is an NFT really?

Notes on figuring out what NFTs really are. (470)

January 25, 2022

Replacing Google Analytics with just GoAccess

GoAccess, a log analysis tool, is a perfect replacement for Google Analytics resulting in more accurate (and private)analytics, particularly for smaller sites. (1042)

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 (1090)

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)

older ›