Ognjen Regoje
But you can call me Oggy
I make things that run on the web (mostly).
More ABOUT me
and my PROJECTS.
me@ognjen.io
LinkedIn
2021
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)
21/12/2021
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)
21/12/2021
A summary of other machine-readable codes and their purposes
(1090)
06/12/2021
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)
06/12/2021
A brilliant technique to (almost) determine a user's OS by testing whether CSS has OS-specific built-in font families.
(331)
29/11/2021
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)
25/11/2021
A collection of lessons based on my experience in Supplybunny
(202)
04/11/2021
When software is polite, when a link is needlessly small and when the best and brightest have errors in prod.
(205)
03/11/2021
They give the impression of authenticity, but the current implementations are bad.
(1238)
27/10/2021
TL;DR You aren't, but spam is real, and a good alternative doesn't exist at the moment.
(848)
26/10/2021
A provider that has no comparable competition is the perfect example of why competition is not only good but necessary.
(663)
25/10/2021
An improvement over using `jekyll-pdf` or `wkhtmltopdf`
(637)
21/10/2021
Hijacking blocking notifications and DNS unresolved errors
(57)
04/10/2021
Some emojis that (un)fortunately didn't make the cut.
(219)
02/10/2021
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)
02/08/2021
General issues that have made me, and others like me, host or build my own solutions instead of paying for an existing service.
(526)
31/07/2021
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)
31/07/2021
Questions answered while iterating the design of a single input field.
(1517)
31/07/2021
Otherwise it skews your stats. And while you're at it remove `fbclid` from query parameters.
(101)
30/07/2021
It immediately makes your article seem like click-bait. (Also, I really dislike it.)
(70)
30/07/2021
Github has automatically generated social media images for each repository. Here is how to do the same think for Jekyll posts.
(1407)
24/07/2021
Thinking through working remotely to be able to facilitate it better in future.
(2445)
23/07/2021
Using server side language or configuration
(762)
22/07/2021
Granted, he was ten.
(430)
21/07/2021
“Institutional sexism” is an abstract concept for many of us. It’s often difficult to put into words.This post appeared on my LinkedIn feed on 8th of March this year. The poster...
(813)
21/07/2021