Ognjen Regoje bio photo

Ognjen Regoje

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

me@ognjen.io Twitter LinkedIn Instagram Github



May 08, 2021

nit: If your article uses the phrase 'falling off a cliff' please have a graph that shows this

An article that I was not particularly interested used the phrase “falling off a cliff”. Even though I wasn’t particularly interested in the content, I did open it because I wan... (71)

April 20, 2021

Turns out Elastic aren't the bad guys

Elastic changed the licence for ElasticSearch disallowing providing it as a service. A lot of people were upset. My reflex was to join in the outrage but I wanted to better understand the motivation behind this decision. My reflex was to join in the outrage but I wanted to better understand the motivation behind this decision. I also wanted to consider the different arguments against it. I bookmarked the HackerNews threads and came back to them only recently. I tried to strip away the emotion and noise. Following is a summary of the different arguments that helped me form a more nuanced understanding of the situation. (0)

April 10, 2021

Generating more interesting image previews using imagemagick

A couple of tries at generating more interesting image previews using imagemagick with the mini_magick gem. (0)

March 30, 2021

Introducing the Front Matter Editor

A side project in Electron and React for easier editing of front matter in many markdown files (0)

March 22, 2021

Challenges when starting data analysis as a first-time founder


March 21, 2021

A review of the blog in 2020


March 20, 2021

FOREND.digital case studies


March 19, 2021

Using CSS to more efficiently cache user-specific content


March 18, 2021

How to get the direct path to a Webpacker pack


March 17, 2021

How to reload the content after the user switches away


March 16, 2021

How to run your own link shortener on Jekyll


March 15, 2021

Jekyll Combining an External Folder into Posts

”)}.select{|x| x.size > 1}.map{|x| x[1]}.join(“”)``` (6)

March 14, 2021

Publishing a linked folder in Jekyll

”)}.select{|x| x.size > 1}.map{|x| x[1]}.join(“”)``` (6)

March 13, 2021

An innovative design for passport entry

It's a video, it might take a second to load. (25)

March 12, 2021

Put Rails scopes nearer to where they're used

This improves readability especially for scopes that are very feature specific (342)

March 12, 2021

Generate PDF of Jekyll Page

I wanted to generate a PDF of a page rendered in Jekyll.I found a gem called jekyll-pdf but it seems to have been abandoned.The alternative I came up with was to add a hook that... (241)

March 12, 2021

Flatten Plugin for Jekyll

I wanted to be able to get a list of categories from a group of posts. That’s easy enough to do using the map liquid filter:{{posts | map: 'categories'}}The result is an array o... (214)

March 12, 2021

Compact Plugin for Jekyll (where not nil)

I wanted to generate an index of metadata from posts in Jekyll. The field that I wanted to index wasn’t compulsory, it was an additional one that I sometimes set, and sometimes ... (249)

March 10, 2021

Capturing screenshot of a node using Chrome DevTools

A nifty feature in Chrome DevTools I recently discovered is the ability to take a screenshot of a HTML node.For me it’s quite useful for creating Canva-like graphics without hav... (88)

March 09, 2021

Overriding rails_amp image helper to cater for lazy-loaded images

I make use of the rails_amp gem in the affiliate site. It generates AMP from normal views.One of it’s features is automatically converting the image_tag into the AMP compatible ... (254)

March 08, 2021

SPAs and PWAs should duplicate the store and the routes

For the sake of being DRY we've made single-page applications and progressive web apps too DRY. In order to offer a better user experience we need to stop considering the client-side and server side store and routes as logically related. (927)

March 07, 2021

nit: Link to publications that wrote about you

Lots of startups put logos of reputable publications that have written about them. Almost none actually link to the coverage.Similarly, lots of them put logos of companies that ... (54)

March 06, 2021

Concept: Tinder interface for restaurants

The Tinder interface is great for making a quick judgement for a low impact decision. A while back I built several prototypes that use that interface and realized that it works ... (262)

March 05, 2021

Please set better file names

One of my pet peeves are useless file names. If software generates a file then it will eventually need to be found. File names that are just strings of numbers that make sense o... (135)

March 04, 2021

nit: If you have a newsletter please have an archive

For reading online content I prefer to get use either Pocket or an RSS reader. I prefer email to be separated from “media”.Newsletters are getting more popular now. There are so... (127)

older ›