Меню ▼

Design ⚡️ Life

Alex Buznik Logbook

Some projects from the past months

In this time weeks feel like months in terms of tech-related news and the new technologies.

I have been fiddling a lot with AI-driven development at work, namely using Cursor and claude all the time. Instead I started code-reviewing even more than ever – not only the code of my human teammates, but not also the code produced by AI.

Everything moves so fast that I just wanted to note a few thing. I’m pretty sure even few months from now it would feel “ugh, so much May 2026”, but still it’s important for me.

In no particular order:

Sourdough IoT sensor

I managed to build and run a sourdough IoT sensor. Okay, this have been in the works for quite a long time (at least since last summer), but I’ve got to admit using LLM sped up iterations unbelievably. Troubleshooting unknown issues now takes minutes – instead of going a long cycle the forum and waiting for a person respond. Bad news for forums, for sure, on the other hand there should be some real communication and sharing happening now instead of newbies asking the same questions over and over again. Was especially surprising and valuable to find it out in the Arduino context. 

So what I built? A system is of 4 main components – IoT sensor, IoT message broker, the web-server storing the reading into a database and a mobile application sending push-notifications on important events (like sourdough starting to fall down).

I’m pretty happy with the sensor – based on ESP8266 (Wemos D1 mini) it fulfils the requirements of being ultra-low power (by going into deep sleep between transmissions, which are done using ESP-NOW), uses time-of-light for the measurements, rechargeable, transmits data through the fridge door and can sit on a battery for weeks (estimated).

(more…)

MacOS updates make less sense

I’ve been a Mac user for over a decade now and here comes a little rant.

The transition from Windows started mainly as a job requirement – back then Macbook was the only laptop within reach with 2x pixel density. As a frontend-developer it was important for me to see things as the designers would see them. Also there was quite some vane and conformity – in an average frontend/web conference I would often see people with Macbooks (and they had glowing logos!) and less people with other laptops.

***

During all this time I’ve never had an iPhone as my primary smartphone, so was kind avoiding most of the Apple ecosystem – Photos, iMessage, Siri etc. Not really as a protest, but I’ve always felt Android is more compelling, open to the developers and generally it had new features much faster.

In this context most of the MacOS updates usually felt like coming with a bit of a lie.
Those updates are now presented annually as a major OS version, with lots of marketing material and design effort around it. However every time I look inside the release notes I feel stumbled.

Let me elaborate – Safari and Mail updates does not seem to me as an OS update. Most of the time these updates are less visible to me if at all. In rare cases Mail updates result in breaking smaller stuff – like my HTML signature is gone because they changed files location.
The rest of the Apple programs updates usually make very little difference for the people outside ecosystem, like me.
And the more in future, the less relevant it is, and more locked-in this ecosystem seems to me.

From what I remember there were a few major updates – like moving from 32bit system and the introduction of Siri.

Okay, don’t get me wrong – I understand that this design refresh comes with a huge engineering effort under the hood. But for the usual annual update that involves new icons and few features here and there I feel there is a lot of energy wasted.

A very interesting interview with a successful trader

There is no path

Antonio Machado (1875–1939) was a prominent Spanish poet and playwright. In one of his poems, he said:

Traveler, there is no path.
The path is made by walking.

Well, the same said my travel instructor, Oleg)

AI game experiment (init)

Inspired by some things that my direct manager is doing with ChatGPT I tried to do another experiment.

This time I asked it to develop a sea ships game, with a network connection where multiple players can take turns.

Overall for this version I spent about two hours and several iterations to create front-end and backend.

Obviously, this is just a prototype, but overall it’s a start!

Strange case with prisma foreign key error constraint failed on applicationId P2003

Hi.

Thought I should share this.
I’ve done some development on a pet project using prisma and MySQL.

I added a new model with a relation and was getting an error prisma foreign key error constraint failed on applicationId P2003 when trying to create this new model even though the code and schema looked ok.

The fix was to rename the reference field to a lower case, so it’s different from the actual model name. Probably trivial for someone, but I haven’t any explicit notes against it in the docs.

model Invoices {
  id            Int             @id @default(autoincrement())
  ...
  // works:
  application   Application     @relation(fields: [applicationId], references: [id], onDelete: NoAction, onUpdate: Cascade) 

  // does not wrk:
  Application   Application     @relation(fields: [applicationId], references: [id], onDelete: NoAction, onUpdate: Cascade) 

  applicationId Int
}

Procrastination

Sometimes, as a wood-maker, it’s hard to find time to make things for yourself.

Year of full-scale war

One year since Ukraine stands off the full-scale invasion from russia.

Some pictures that I have saved during these days. Sorry, I do not have the authors for the pics, ping me if you know who should be mentioned.

Photos:

Posters:

Reality strikes

A couple of years ago everybody was freaking out over the sick, irrational and needless violence in the fictional story of the Game of Thrones, but reality has proved to be much more harsh and much more irrational.

Pictures are not mine, collected from different sources over time.

Cool stuff of the week

Hey.

It’s been a while since the last time I’ve posted anything here.

Full-scale war was launched by russia in Ukraine. The life was kind of quirky these months.

Anyway, the company I work for, managed to continue the business, almost without changes. Some part of the team has moved out of Ukraine, but otherwise our work rhythm is back to what it was before.


Found some interesting things I wanted to share:

Simple JSON to TypeScript Converter
We are in the process of migrating to TypeScript, so this is quite handy.

You put in a bunch of JSON of your data, and get a typed interface(s) as a result: http://json2ts.com/

Simple notification system / bot for github/gitlab
(and some other services) – https://danger.systems/

I made a small demo for my team https://gitlab.com/beshur/danger/-/merge_requests/5


Help Ukraine win this war by donating to charity https://www.comebackalive.in.ua/donate