Ognjen Regoje bio photo

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
Check out
The Marketplace Guide
A collection of lessons for the early stages of building a marketplace startup.
https://themarketplace.guide

POSTS RSS

Load testing this site with JMeter

A couple of days ago there was an article on HN that gained a lot of traction. Naturally it got the kiss of death and the site went down.Since I was load-testing some calls on S... (282)

Another Firefox trial run

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)

4 useful custom validators for jQuery validate

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)

The value of Tech in Asia's premium articles

Tech in Asia recently published an article on ecommerce leaders in the region. It was largely sourced from a report by iPrice and AppAnnie.Since it was one of their “premium” ar... (304)

My favorite part of Backbone.js is the collections

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)

How to set both the user and username in audited gem

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)

Suggestions for making F1 more competitive

Formula 1 is due to announce regulation changes for 2021 season in order to make it more competitive, balanced and of course entertaining. Suggested changes include things like ... (490)

Formula for weighing ratings by their count

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)

Your customers dictate your competitors

Whenever I experiment with products from early stage startups I always try to leave detailed feedback and try to be helpful. Feedback is generally well received, which is nice.O... (327)

Simple improvements for the sake of accessibility

So, since I ran Lighthouse on a few of my projects including Supplybunny, I was unhappy with the accessibility score in particular with Supplybunny scoring 73 and my side projec... (292)

`Artificial` speed in user interfaces

A few weeks ago there was an article on HackerNews talking about how services add delays and loading bars to their user interfaces in order to make the process seem more thoroug... (433)

Indirect indicators of performance

I’ve realized just how connected all metrics can be. Even if the two numbers aren’t directly related they can be affected by each other indirectly. Even though correlation doesn... (241)

Flutter: Using SharedPreferences in Flutter and native

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)

Flutter: Simple example of passing messages between Flutter and native code

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)

Flutter: Simple example of executing Dart/Flutter code from native

Previously I’ve written how to pass messages between native code and Dart. Sometimes though you might want to just execute code and don’t care about getting the result back. Thi... (185)

Getting that 1-0-0 SEO score on Lighthouse

In the normal course of work ran a Lighthouse audit on Supplybunny. Not awful, but could definitely be better: I think a 6.5/10.The SEO score is impacted by the fact that robots... (411)

Ways of coping with huge spikes in spider/crawler traffic

With Supplybunny’s growth in suppliers and products there’s been a significant increase in traffic due to spiders crawling the site.Human traffic is very smooth and predictable ... (723)

A polite interaction

I’m a big believer in polite software. So, here’s an interaction that I think is quite polite.It’s still one of my favorite things I’ve designed. It’s how you’d apply for leave ... (246)

What insider trading?

I’m probably naive and I’m definitely inexperienced but insider trading seems to just be blatant.Here’s an announcement by Genting about settlement of the Fox lawsuit.It’s poste... (79)

Full list of changes for migrating Carrierwave from file to fog

Notes from when we switched from file to object storage: In the uploaders storage :file should be changed to storage fog. Set development to file:if Rails.env.development? sto... (206)

ActorModel pattern in Rails

Something I’ve been using that I’ve referred to as ActorModels. Not sure if I’ve seen it documented elsewhere.Basically, it’s subclassing a model based on who’s using it and kee... (438)

Is it all Facebooks fault?

Apparently Facebook expects to be fined $5b over ‘privacy issues’ which that got me thinking about those ‘privacy issues’.First off, I’m definitely not a Facebook fan. I do have... (1000)

Google Analytics events mapping to Rails

I keep having to revisit this so I’m hoping that by writing it down my retention will increase from seconds to at least a day.When creating Google Analytics events within a Rail... (115)

Idea for grocery ecommerce: selecting a replacement

As a user of grocery ecommerce an issue that I often have is with replacements. Most orders have at least one replacement but I’m never given a choice of what to substitute with... (184)

Understanding users' intentions and expectations

One of the hardest aspects of working on a startup is figuring out the users’ intention or aim. Once you consider the aim you can make sure that you fulfill expectations that re... (664)

‹ newer older ›