Unlocking Smartwatches with Unique Heart Rhythms: A Missed Opportunity? | August 06 2025, 16:43

Why has no one made it so that smartwatches only unlock on the wrist of their owner, reading their unique heartbeat or other biometric data? This is in addition to having the owner’s phone nearby.

Officially, you can’t disable this in the settings of an Apple Watch — Apple intentionally made it such that when you put on the watch for the first time each day, it always requires a code, even if the iPhone is nearby. This is due to security policy: the watch may end up on someone else’s wrist, and the phone may just be nearby.

Moreover, every person has unique heart rhythm patterns, which include, for example, slight variations in the intervals between heartbeats, characteristics of the heart signal shape, and how the heart responds to different stresses. These microscopic differences create a unique picture” of heart rhythm that is difficult to fake or replicate. Watches have quite a lot of time, after being worn and before they are needed unlocked, to collect, process, and decide whether to unlock or not.

Navigating Code Generation with AI: Essential Skills for Programmers | August 04 2025, 14:28

I am currently using Gemini extensively for code generation, and I see a skill that programmers need to have to be successful in this field. It’s the ability to quickly read and understand someone else’s code, as well as explain why AI generation needs to be redone and how. For the former, you simply need to know the language very well and read “from the sheet,” because there will be little time to ponder. For the latter, you need to know patterns well and understand where they apply and where they do not. AI will still mess up using patterns inappropriately for a long time.

Moreover, a person will still need to understand “as a whole” 90% of the code generated by AI, and also manage to find time to comprehend each generated line of code. If you relax and miss it, the system may produce even working, but very poorly maintainable code. For instance, there is an unwritten rule that individual files should not contain so much code, and if it grows, you need to refactor, breaking one large into two or three. Sometimes this requires rewriting logic, but this rewriting is always aimed at one task – to simplify maintenance. And AI, while rewriting, also “improves” the code at the same time. And this is quite difficult to prohibit.

In addition, the very concept of LLM implies the limitation of the contextual window. Which gets filled with code very quickly. To create an illusion for the user that everything is working even with a large volume of code, LLMs are able to do preliminary processing, extracting only relevant pieces for processing and setting aside irrelevant ones, so that the relevant ones fit into the actual contextual window. But this process is very unreliable, and once it works, and the second time it turns out that something important was set aside, and as a result, the system did not see the whole picture and generated code, which includes a function very similar to the function set aside, and now we have two almost identical ones.

Besides, currently logic is distributed between the DB and the code. That is, data often controls the code. And data in LLMs simply often do not fit. There is too much of it. In the end, without programmers, current LLM architectures cannot cope. But the requirements for programmers’ qualifications will only increase with LLMs, not decrease. So yes, juniors should be worried, but leads not so much 🙂

Aluminum: From Precious Metal to Everyday Marvel | August 03 2025, 01:09

The USA imports aluminum mainly from Canada because aluminum leaves Canada and arrives in the USA. And from Europe, it would be alumin𝒊um!

Also, sapphires and rubies are essentially rusty aluminum, where in the process the new material becomes much harder than the original. In interaction with oxygen, different varieties of the mineral corundum are formed, which chemically is crystalline aluminum oxide (formula Al₂O₃). And bulletproof glass is essentially transparent rusty aluminum, aluminum oxide, but with aluminum nitride.

Also, aluminum was the most valuable metal on Earth until the 20th century. When Napoleon III entertained guests, they ate with golden spoons, while he used an aluminum one. And the “cap” of our Washington Monument is made of aluminum for that very reason.

Decade Without Police Sirens: A Personal Observation in Public Safety Trends | August 02 2025, 23:48

Interestingly, I haven’t heard a single car siren in almost ten years, except from medical and fire vehicles. At least around here, it seems even the police don’t use them for their purposes. Apparently, the reason is that a police car with a siren behind is perceived as a command to stop and be ready to show your documents. But fire trucks and ambulances, it seems, always use theirs.

Many people don’t know that what we think of as an ambulance doesn’t really exist here. That is, you can call 911 and request a medical vehicle, and they will come, but it’s usually only done in truly critical situations—like a heart issue or if you’ve fallen from a staircase and can’t get up.

This service, EMS, always sends a bill. The minimum is $550, but typically more than $1000, depending on the type of vehicle sent—which depends on what was said on the phone—and how many miles it is to the hospital.

If transportation to a hospital is necessary, an insurance company, Medicare, or Medicaid initially pays for it. The patient might only need to pay the difference—for example, a co-pay or a deductible. If the person is unable to pay due to financial hardship, CNS will not send the bill to collections nor will they recover the debt.

If you call 911 and report that someone has fallen from a ladder, especially with a suspected head, neck, or back injury, the dispatcher will send a full fire & EMS response. That means, besides the medics, this big red fire truck shows up. It arrives not because there’s a fire, but because it is staffed with EMTs (Emergency Medical Technicians) who can begin assistance even before the ambulance arrives. Additionally, fire stations in the area are positioned such that the nearest fire truck can get there faster than a free ambulance.

In various incidents, if you can get to the hospital on your own, experience shows that it’s often necessary to go if you want results. This is not free either. Every such visit costs me $200 (insurance pays ten times more), but as it turned out later, it was always worth it. You just need to know where to go, and choose large facilities where the queues are shorter.

Stability at a Price: The Costco Hot Dog Phenomenon | August 02 2025, 18:26

What is stability? The price of a hot dog with unlimited soda at our Costco has not changed for 41 years, since 1984. Indeed, to have the privilege of buying a hot dog for one and a half dollars here, I need to spend $3000 a year in their store (to cover the membership through cashbacks; otherwise, I lose up to $65 on the annual membership if without cashback).

And that’s how they sell 100 million hot dogs a year.

Alaska Airlines Omits Boeing Branding from Safety Cards: A Strategic Move? | July 31 2025, 13:18

When I flew to Seattle and back on Alaska Airlines, I noticed that the Safety Card in the seat made no mention of the plane being a Boeing (left picture mine, second one from online). Not even in fine print. Only the model was specified — in my case, a 737 MAX, incidentally the same model from which a door detached mid-flight on an Alaska plane. So, from the inside of the plane, it’s impossible to tell whether it’s a Boeing, an Airbus, or a McDonnell Douglas, unless you know that 737 is only made by Boeing.

My first thought was, of course, what else could Alaska do to salvage its reputation, except to remove the word Boeing wherever possible.

But it turns out this has been the case before. One of the Alaska flight attendants mentioned that it’s been like this for about 8 years, at least. Another flight attendant confirmed that this is the case with all planes.

It seems that they simply don’t want to promote another company for free, and Boeing certainly doesn’t want to pay all the airlines for such advertising, meanwhile charging them for every little thing. And they cannot oblige them either. An interesting case indeed.

Yuki’s Dinnertime Dilemma: When Appetite Meets Mood | July 30 2025, 21:04

4pm. Yuki hasn’t eaten anything since morning. I take a piece of organic chicken, cook it, cut it into small pieces. He turns away. No, he’s not sick, that’s just normal for him, he won’t even eat cheese if he’s not in the mood. Well, alright, I mix it with his food, leave it.

And there’s the cat, already on duty by Yuki’s bowl, fishing out pieces of chicken. The cat is on a diet, so it won’t be long before he starts eating the dog’s dry food as well.

Yuki sadly watches his own food gradually disappearing from his own bowl and slowly tries to formulate his stance on whether to eat or not. But appetite inevitably arrives during the meal, especially when the food is from someone else’s plate.

Concert Weeks: From Pink Martini to Postmodern Jukebox | July 30 2025, 03:40

I have two weeks of concerts. Today — Pink Martini! Next week Postmodern Jukebox, and this past weekend was a great piano concert (Beethoven, Shostakovich, Chopin, Rachmaninoff at the Washington Piano Festival). Facebook cuts out the sound from concert recordings, so I’m attaching a cool video that’s already been cleared (or missed) by Facebook from some Pink Martini performance, featuring Thomas Lauderdale with Hunter Noack, who is either his wife or husband, and I’ll try to add my own in the comments

DIY Wireless Reaction Game: Building Interactive Button-Based Activities | July 28 2025, 22:26

Who knows their way around electronics? Any recommendations?

I want to make a thing some weekend. A big bulbous button. It lights up – you smash it. The app records the time from when it lights up to when it’s smashed. There might be several buttons and they could be scattered – on walls or the floor. WIRELESS. They might light up randomly – this is controlled by the app (phone or computer). Metrics like average reaction time are calculated on the fly for different understandings of the word ‘average’. For instance, you could place buttons on the ground a few meters apart and invent a moving game for the kids. Or attach them to a wall and smash them with a ball. Basically, it’s a technical question.

How would you do it – dumb buttons on an nRF24L01+ chip or smart buttons on an esp32 microcontroller?

In the first case, every such module listens to the radio: as soon as a command with its ID arrives from the central node, it turns on the light. After the button is pressed, it sends back a “pressed” message. The timer is on the side of the central node. Each button has an Arduino Pro Mini + nRF24L01+, but there will also be a central hub with either nRF24L01+ and Arduino Uno, Mega or ESP32, which collects the data and is connected to the computer (Bluetooth or WiFi).

In the second case, the buttons are connected via Bluetooth (BLE) or WiFi. The brains of the button is the ESP32, which needs to be programmed through a programmer.

Cost-wise, both approaches are roughly the same minus the cost of arcade buttons and 3D printing, somewhere around $10-15 per button.