Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]

Ognjen Regoje • ognjen.io

Ognjen Regoje •...
A review of the blog in 2024 I didn’t write much this year. The projects that I worked on (at work) used up most of my creative...
a month ago
55
a month ago
I didn’t write much this year. The projects that I worked on (at work) used up most of my creative mental capacity leaving little for writing. The backlog is brimming, however. Targets for 2024 ❌ Publish at least 40 posts 11 ❌ Reach at least 200k readers Don’t have an...
Ognjen Regoje •...
ChatGPT == Google News? ChatGPT ingesting content produced by others and reproducing it, wholly, or in-part as a result of...
a year ago
19
a year ago
ChatGPT ingesting content produced by others and reproducing it, wholly, or in-part as a result of the model, is almost exactly the same like Google ingesting news and presenting it on the search results page. Actually, it’s worse, because it gives absolutely no attribution to...
Ognjen Regoje •...
Tracking the cursor in Selenium driven Chrome From the links in the sources, the following code snippet can be used to track the cursor: <style> ...
a year ago
19
a year ago
From the links in the sources, the following code snippet can be used to track the cursor: <style> .dot { background: red; position: absolute; width: 2px; height: 2px; z-index: 10000; } </style> (function () { "use strict"; document.onmousemove =...
Ognjen Regoje •...
Lessons in DDD from building an e-commerce platform In a recent conversation with some colleagues, we were talking about how startups make the trade-off...
a year ago
18
a year ago
In a recent conversation with some colleagues, we were talking about how startups make the trade-off between design, domain-driven specifically, in favor of speed. They intentionally take on debt, technical and otherwise, to move faster. I wasn’t in favour of employing DDD in a...
Ognjen Regoje •...
Do what's right Doing what’s right is so interesting. It’s so difficult It’s difficult to be completely honest with...
a year ago
18
a year ago
Doing what’s right is so interesting. It’s so difficult It’s difficult to be completely honest with yourself when you know what’s right but you don’t want to do it. It’s often physically more difficult: you’ll have to spend more effort, more time, more money. But it’s so...
Ognjen Regoje •...
As silly as it sounds, system design interviews are about systems and design Over the past year or so I’ve done about two dozen systems design interviews (as an interviewer) and...
a year ago
18
a year ago
Over the past year or so I’ve done about two dozen systems design interviews (as an interviewer) and have two somewhat subtle observations that would help some candidates. 1. The word system has two meanings The definition most engineers reach for immediately is the one relating...
Ognjen Regoje •...
Not wanting to work remotely is now a competitive advantage As much as working remotely is a competitive hiring advantage again, not wanting to work remotely is...
a year ago
17
a year ago
As much as working remotely is a competitive hiring advantage again, not wanting to work remotely is now an advantage for getting hired. A lot of companies are mandating returns to the office. Many more are scrapping fully remote positions, with some even rescinding fully-remote...
Ognjen Regoje •...
Paying for content after you've consumed it Platforms like Patreon created a new paradigm. By billing periodically they created predictability...
a year ago
16
a year ago
Platforms like Patreon created a new paradigm. By billing periodically they created predictability for content creators allowing them to switch to full-time. But, might it be better for content creators, and consumers, if they were paid a flexible amount after the content was...
Ognjen Regoje •...
Situations in which TDD is the way to go While I’m not a fan of using TDD all the time, here are a few situations where it’s...
a year ago
16
a year ago
While I’m not a fan of using TDD all the time, here are a few situations where it’s effective. Bugfix Starting a bugfix by writing the broken test case is often very practical, especially with issues that show up somewhere in the front end, but the fix is somewhere deep in the...
Ognjen Regoje •...
A review of the blog in 2023 2023 was a busy year so I did not spend a lot of time blogging, unfortunately. It was only in...
a year ago
15
a year ago
2023 was a busy year so I did not spend a lot of time blogging, unfortunately. It was only in December that I had meaningful time for writing. In the 2022 review I set a few targets for the blog in 2023: Targets for 2023 ❎ Publish at least 40 posts 14 ✅ Reach at least 150k...
Ognjen Regoje •...
CEOs are mandating return to office because they need instant gratification Many CEOs and companies are pushing for a return to the office. They can’t all be crazy – they must...
a year ago
15
a year ago
Many CEOs and companies are pushing for a return to the office. They can’t all be crazy – they must have some justification. Remote work increases individual productivity, so what are they trading off against then? One argument is serendipity and those spontaneous moments of...
Ognjen Regoje •...
When am I "allowed" to quit and not be labeled a quitter? There’s a type of startup that stays alive but doesn’t achieve meaningful growth. One that keeps...
a year ago
15
a year ago
There’s a type of startup that stays alive but doesn’t achieve meaningful growth. One that keeps raising bridge rounds but whose valuation stagnates. Anecdotally, their founders belong to two groups: They’re still convinced that the business will work and are unflappable in their...
Ognjen Regoje •...
User-Agent: ChatGPT Disallow: * Edit: It’s happening! ChatGPT et. al. are bots and as such should obey robots.txt. User-Agent:...
a year ago
15
a year ago
Edit: It’s happening! ChatGPT et. al. are bots and as such should obey robots.txt. User-Agent: ChatGPT Disallow: * User-Agent: ChatGPT Disallow: * was originally published by Ognjen Regoje at Ognjen Regoje • ognjen.io on March 26, 2023.
Ognjen Regoje •...
Green flags for investable founders Here are a few things I’ve seen founders do that made me confident in their ability and...
a year ago
15
a year ago
Here are a few things I’ve seen founders do that made me confident in their ability and dedication. Elevator pitch in LinkedIn tagline A founder who is all in is constantly selling. That means their tagline will: a) be for their company, not for them b) be the sales pitch, not a...
Ognjen Regoje •...
Do forgettable work There was a great post about doing unforgettable work. Absolutely. Go above and beyond. Do what’s...
a year ago
14
a year ago
There was a great post about doing unforgettable work. Absolutely. Go above and beyond. Do what’s right. But also, do forgettable work. Work that you won’t remember the following week. Do a lot of it. In fact, do at least 30 minutes of utterly forgettable work on something you’re...
Ognjen Regoje •...
Lie still in bed I found it very difficult to switch to a regular sleep, and wake, schedule after university. I even...
a year ago
14
a year ago
I found it very difficult to switch to a regular sleep, and wake, schedule after university. I even started using one of the loudest and most annoying alarm clocks I could find. (That sound still gives my university housemate flashbacks.) In my search for ways to fix my sleep...
Ognjen Regoje •...
Remote job sites need a "Timezone overlap" filter There are plenty of remote jobs out there, but nearly all require you to be be “within n hours” of a...
a year ago
14
a year ago
There are plenty of remote jobs out there, but nearly all require you to be be “within n hours” of a timezone. (n often seems to be 2). But I have not come across a remote job site that has a filter that supports this. Most allow you to choose your timezone and then filter jobs...
Ognjen Regoje •...
BSL is not good, it's great Another day, another project adopted BSL. Another day, another round of outrage from people harping...
a year ago
14
a year ago
Another day, another project adopted BSL. Another day, another round of outrage from people harping on the difference between Open Source and open source. Another day, another inferior fork of a product due to a technicality that has nothing to do with the product itself and that...
Ognjen Regoje •...
Don't write Content farms and AI are doing a great job at producing content that is good enough for most...
a year ago
14
a year ago
Content farms and AI are doing a great job at producing content that is good enough for most people. We don’t need more good quality, niche, carefully crafted content. So, if you are thinking about starting a blog, a Substack, a Twitter account or something similar, please know...
Ognjen Regoje •...
Working on legacy code Take your time If you rush, you might miss some implications of your changes and cause more work in...
a year ago
14
a year ago
Take your time If you rush, you might miss some implications of your changes and cause more work in the long run. So, do it right the first time. Secondly, since you’ll be in the code anyway, take some time to ensure that it will survive unchanged for another stretch of...
Ognjen Regoje •...
Using robots.txt to discover hidden content I sometimes check the robots.txt of sites to see what they might not want to be indexed. It’s...
a year ago
14
a year ago
I sometimes check the robots.txt of sites to see what they might not want to be indexed. It’s interesting because some sites use it as access control, which, of course, is silly. Just because robots won’t index it doesn’t mean people won’t find it. Plus, by specifying it in...
Ognjen Regoje •...
The boy who cried risk On a recent project, I worked with a principal engineer. He’s a very prolific contributor and...
a year ago
13
a year ago
On a recent project, I worked with a principal engineer. He’s a very prolific contributor and involved in several projects. Most of his contributions are related to risk management. That made me think about the other senior-most engineers and what they work on, leading me to...
Ognjen Regoje •...
Don't thank Chat GPT In fact, not only is thanking useless, and borderline harmful, but any kind of pleasantries are. Not...
a year ago
13
a year ago
In fact, not only is thanking useless, and borderline harmful, but any kind of pleasantries are. Not only is there no logical reason to add pleasantries to your chat with GPT, but it also takes tokens for it to remove them and get to the point of your message. Don't thank Chat...
Ognjen Regoje •...
What if I spent exactly two hours on each post Over the past year, the backlog of things I wanted to write had piled up. But my free time had...
a year ago
13
a year ago
Over the past year, the backlog of things I wanted to write had piled up. But my free time had dwindled. So, in the interest of being prolific and producing content that I can iterate and learn from, at the start of the year I decided that this year I would not spend more than...
Ognjen Regoje •...
Github Copilot suggesting links A potentially very useful but probably unintended and unpolished feature of GitHub Copilot is that...
a year ago
13
a year ago
A potentially very useful but probably unintended and unpolished feature of GitHub Copilot is that it can suggest related links. That is, if you paste a link, then on a new line type https:// and wait for a second, Copilot often suggests a link or two. The results, at the moment,...
Ognjen Regoje •...
Poll: How anxious are you before an interview? From the HackerNews poll: Given the spike in interviewing questions, I’m curious to know: how...
a year ago
12
a year ago
From the HackerNews poll: Given the spike in interviewing questions, I’m curious to know: how anxious are you before an interview? To qualify the choices a bit: Not at all - I feel confident and not worried about the prospect of failure. A little - I’m fairly confident. Maybe the...
Ognjen Regoje •...
Don't be clever, be clear I love plain language. (the last one is a pdf) So it’s no surprise that one of my (many) pet peeves...
a year ago
12
a year ago
I love plain language. (the last one is a pdf) So it’s no surprise that one of my (many) pet peeves is when a title of an article tries to be clever. Consider, for example: It Can Happen to You This can be about anything from cancer to, as in this case, a very arcane piece of...