Petar Radošević's Avatar

Petar Radošević

@petar.dev.bsky.social

dad and husband • loves the craft of building software • mostly builds stuff with #elixirlang • pizzatarian • find my blog on petar.dev.

939 Followers  |  193 Following  |  238 Posts  |  Joined: 03.07.2023  |  1.6762

Latest posts by petar.dev on Bluesky

Looking forward to it!

27.07.2025 07:04 — 👍 1    🔁 0    💬 0    📌 0

My age shows when I open up my editor, font size 16.

24.07.2025 10:48 — 👍 4    🔁 0    💬 1    📌 0
Preview
The bewildering phenomenon of declining quality Airplane seats are getting smaller and smaller, clothes are unrecognizable after the second wash, and machines now answer our calls. Quality and care for craftsmanship seem to be things of the past

"Nothing is made to be loved. Only to be bought."

What a powerful statement.

english.elpais.com/culture/2025...

20.07.2025 13:04 — 👍 1    🔁 0    💬 1    📌 0

I like to keep a `NOTES.md` file within each project. My flow in Zed is that I now pin the file and then can quickly switch to it with CTRL-1.

18.07.2025 07:48 — 👍 1    🔁 0    💬 0    📌 0

Chromium engine and highly configurable. Starts as a bit too bloated to my taste, but after going through the settings, I got it set up just fine.

16.07.2025 20:25 — 👍 1    🔁 0    💬 0    📌 0

No, I understood it's still under heavy development.

16.07.2025 20:17 — 👍 0    🔁 0    💬 0    📌 0

I tested every browser so you don't have to. It's Vivaldi people. That's the one you want.

16.07.2025 20:02 — 👍 0    🔁 0    💬 2    📌 0
Post image

I thought I was going crazy, but it's clear when you put them side-to-side. Firefox fonts are fuzzy for some reason. Left is Firefox, right is Safari.

15.07.2025 12:32 — 👍 1    🔁 0    💬 0    📌 0
Screenshot of the Firefox browser.

Screenshot of the Firefox browser.

Back to #Firefox. A few simple tweaks went a long way for a more minimal and faster experience.

petar.dev/notes/a-more...

14.07.2025 10:05 — 👍 1    🔁 0    💬 0    📌 0
Preview
A Dawning by Ólafur Arnalds & Talos Listen now on your favorite streaming service. Powered by Songlink/Odesli, an on-demand, customizable smart link service to help you share songs, albums, podcasts and more.

New album from Ólafur Arnalds! album.link/i/1811135351

11.07.2025 09:46 — 👍 2    🔁 0    💬 0    📌 0
Preview
Taste. When AI can generate anything in seconds, taste becomes everything. How to avoid creating slop and build something beautiful in the age of cheap generation.

I wrote something about "taste". A much-needed thing in the age of AI:

petar.dev/posts/taste/

11.07.2025 08:49 — 👍 1    🔁 0    💬 0    📌 0

However, once you have given them the structure, they are amazing at implementing new stuff within those constraints. The more constraints you give them, the better their output will be.

API design has always mattered, but I suppose we are now also designing APIs for non-humans. 😆

10.07.2025 11:40 — 👍 0    🔁 0    💬 0    📌 0

One thing to keep in mind when using LLMs for coding is that they are still limited in their ability to design a new system.

I tend to use them less frequently at the initial stage of development.

10.07.2025 11:40 — 👍 0    🔁 0    💬 1    📌 0

I'm going to start the "URL is state" police. 👮‍♂️

10.07.2025 11:14 — 👍 1    🔁 0    💬 0    📌 0

I've seen this so many times. You build a table with numerous filtering options (great!), but you don't reflect the state in the address bar. No way to bookmark, share, or refresh the page.

10.07.2025 10:51 — 👍 0    🔁 0    💬 1    📌 0

Uh-oh I got nix-pilled…

03.07.2025 10:55 — 👍 1    🔁 0    💬 0    📌 0

LLMs will do what they do best: generate tokens.

This moved the bottleneck from creation to curation. Good work now requires ruthless editing, clear intent about what you're trying to accomplish, and cutting everything that doesn't serve it.

02.07.2025 10:29 — 👍 0    🔁 0    💬 0    📌 0

I just love everything about libraries. Such a special and calming experience to visit them with my kids, browse the aisles, and discover new and interesting books to read together.

25.06.2025 09:41 — 👍 1    🔁 0    💬 0    📌 0

Yes, I use Claude over GPT. But even there, I find value in this prompt.

24.06.2025 14:37 — 👍 1    🔁 0    💬 0    📌 0
Preview
Note: The Brutally Honest Prompt How to get brutally honest feedback from AI: A prompt that prioritizes critical thinking over sycophantic responses. Dutch directness included.

Often, I get annoyed by how sycophantic these chatbots are, so when I need some brutal honesty, this is the prompt I use:

petar.dev/notes/the-br...

24.06.2025 14:20 — 👍 5    🔁 1    💬 1    📌 0

I'm a wired kind of guy: wired network, headphones, keyboard, and mouse.

23.06.2025 12:00 — 👍 1    🔁 0    💬 0    📌 0

Small QOL tip. Enable window dragging by holding ⌃⌘ + click anywhere on a window (not just the title bar).

Run this in your terminal:

defaults write -g NSWindowShouldDragOnGesture -bool true

⚠️ Requires logout/login to take effect #MacOS

23.06.2025 09:15 — 👍 1    🔁 1    💬 0    📌 0

Conference talks, podcasts, music. YouTube Premium has hands-down the best ROI of any subscription I pay for.

But whenever I open YouTube logged out, it's an absolute hellhole with ad-soaked clickbait videos.

20.06.2025 08:26 — 👍 2    🔁 0    💬 1    📌 0

My built-in coffee machine broke down. In the past, I would have removed it and driven an hour to a repair shop, waited, and often paid a hefty price. This time, took a photo and shared it with ChatGPT. It identified the brand and model and helped me repair it!

Reminder, now you can just do things!

19.06.2025 12:02 — 👍 0    🔁 0    💬 0    📌 0
Preview
GitHub - hunvreus/basecoat: A components library built with Tailwind CSS that works with any web stack. A components library built with Tailwind CSS that works with any web stack. - hunvreus/basecoat

Tailwind + HTML-only version of ShadCDN. Seems like a great starter for using this in a Phoenix application. #elixirlang

github.com/hunvreus/bas...

09.06.2025 07:50 — 👍 31    🔁 2    💬 1    📌 0

Yes! The recent presentation on it is on my watch list 😁

03.06.2025 07:23 — 👍 2    🔁 0    💬 0    📌 0

I always thought I had to learn Lua someday because of working in Neovim. That day has come. However, it was building a game in Roblox with my kids that did it.

03.06.2025 06:20 — 👍 2    🔁 0    💬 1    📌 0
Preview
Community Open Hours: Scalable Multi-Region Apps With Phoenix, Fly.io, and YugabyteDB YouTube video by Yugabyte

Somehow I missed this video, but I think it's interesting solution to the challenge that for a responsive UI with Phoenix LiveView you want the user close to the server (database). #elixirlang

www.youtube.com/live/_utOXl3...

02.06.2025 07:42 — 👍 2    🔁 0    💬 0    📌 0
Purple Disco Machine, Sophie and the Giants - Hypnotized (Official Video)
YouTube video by pdmVEVO Purple Disco Machine, Sophie and the Giants - Hypnotized (Official Video)

Love me some code and "Purple Disco Machine".

youtu.be/UbYQErtM9Zk?...

His recent album "Paradise" is a banger; as the young ones say.

18.05.2025 19:43 — 👍 0    🔁 0    💬 0    📌 0
Preview
Zen Browser Beautifully designed, privacy-focused, and packed with features.

Zen Browser got a lot more polished since the last time I used it. May this be my new default browser? zen-browser.app

18.05.2025 18:37 — 👍 1    🔁 0    💬 1    📌 0

@petar.dev is following 20 prominent accounts