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.

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.

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.

Seattle’s Monorail: A Vintage Transport Still in Motion | July 22 2025, 16:28

Seattle’s two-station monorail (a world record!), reportedly self-sustaining and extremely popular among tourists despite being arguably the city’s most pointless form of transportation, features the same Alweg trains that have been in operation since its inauguration 63 years ago for the World Fair.

Interestingly, even the one-station monorail has a driver. I recently saw a job posting for a Monorail Driver, paying $20/hour (with a minimum wage of $18.67). Roughly the same hourly rate can be earned by stocking shelves in any supermarket in the USA.

However, the only major accident on the Seattle monorail in 2005 was due to a driver’s error. According to authorities, the driver of a train heading into the city failed to yield to another train at a spot where the tracks are too close together for simultaneous passage.

The problem was that the tracks were installed without the gap necessary for the free passage of trains. Imagine that! At one spot, just so:) This was deliberately designed to allow loading ramps to extend beyond the carriages. For 40 years, careful attention ensured that trains never traveled simultaneously on this section. But then one day, a driver decided to leave early — and the rest is history. As always, Murphy’s Law applies.

Nearby in 1988, the construction of the Westlake Center mall uncovered an issue just days before its scheduled opening. Engineers found the west track was two inches (50 mm) closer to the platform and building than it should have been, making it impossible to use. The issue came to light when a retractable loading ramp at the terminal scratched the blue train during a trial run; the misalignment was caused by a pin in a hinge that did not fold properly. The ramp was repaired in November, but other technical issues and prolonged safety inspections delayed the new terminal’s opening by four months. To avoid redesign, trains were simply not allowed to run simultaneously. As of 2025, bi-directional movement is still NOT anticipated above the narrow gauge section at the southern (Westlake) station:-)

By the way, exactly a month ago, the monorail at VDNKh in Moscow, opened 21 years ago, was permanently closed. There, too, nobody understood its purpose, and moreover, it was brutally unprofitable.

In the photo, Nadia enjoys Seattle

Seattle Airport Chaos: IT Glitches and Alaska Airlines Grounded | July 21 2025, 07:07

Seattle Airport is at a standstill – some nonsense with IT systems, Alaska Airlines planes are not taking off (grounded).

UPDATE: remember the door that fell off Boeing mid-flight? It was Alaska Airlines and Boeing 737 Max, which I am currently sitting in.

Why Aren’t Smart Systems Widely Used in Commercial Vehicles? | July 18 2025, 20:33

I wonder why smart systems, cameras, driver assistance systems in driving are not used on commercial transport such as trucks and buses? It’s one thing to integrate such statuses into a $35K car, and another into a truck or bus, whose prices start at least at $100-150K, and in some cases more. Buses are often purchased by organizations for whom an extra $5-10K on a price of $100-150 may not make much of a “difference” in deciding what to buy. Although of course understanding that there, with a tender for the minimum price, every thousand could be decisive. On the other hand, insurance might be lower, and it can be nicely sold to people (passengers). Also, it seems that truck drivers falling asleep are simply more dangerous and costly than personal car drivers falling asleep.

Why Don’t We Have Self-Sustaining Solar-Powered Drones Yet? | July 16 2025, 01:33

I wonder why we still don’t see autonomous drones that could lead an “eternal” life: landing on roofs, deploying solar panels, charging from the sun, and taking off once a day for whatever their mission might be? When you consider the energy aspects, it seems like a feasible scheme. For instance, a heavy drone weighing about 8 kg could carry foldable solar panels with an area of 1.5 m² and a battery with a capacity of 2 kWh. In one sunny day, such panels could collect about 1.2 kWh of energy — enough for it to fly for 20 minutes at a speed of 40–50 km/h, take photos, and transmit them via the mobile network. And there would still be a reserve of energy for several cloudy days.

Even a light drone weighing 2 kg with small panels (0.5 m²) could rise into the air for 10–15 minutes every day if it managed to find good weather and a sunny roof. The power required for hovering for such devices is about 150–200 W, and solar panels with 20% efficiency at mid-latitudes can produce up to 350–400 Wh per day. The balance comfortably adds up, especially if not chasing speed and if there’s no rush on the roof.

Such a “solar nomad” could live for weeks and months, flying from roof to roof and charging in anticipation of missions. At first glance, the technology of batteries and panels already allows this to be done. Or am I missing something?

AI-Powered Smart Glasses: Revolutionizing Real-Time Discussion and Information Access | July 15 2025, 20:19

Here’s what would be great to do with AI – a system that reads the screen, listens to what’s being discussed on the call, including what you say, and what is said to you, and _on the screen_, and better yet, directly on smart-glasses, gives pop-up tips and hints that help you timely ask a counter-question or request a clarification, or respond to a question directed at you. Not just for passing interviews, although that would also be nice, but for more effectively conducting discussions — from technical to commercial ones.

In the case of smart-glasses, you could enjoy this without a computer in front of your eyes. I’m just afraid of having to send absolutely everything that happens around you to the cloud, analyze it, and return it in real time, which is technologically challenging (=expensive).

Such a system would be no less useful for conducting interviews than for passing them. For example, you ask someone a question, they start to respond, and then the system suggests — aha, it seems they are struggling with this topic. Let’s ask this question. Then you decide whether to ask this or something else. Why not? It’s convenient. Of course, the interviewee could employ the same system, and then it would not be simple.

Right now, I’m flipping through a book by Johannes Itten on color, and I think about how I miss dynamic illustrations and commentary. I’ve reached Piero della Francesca and for the life of me, I can’t recall what his paintings are like. This is where smart-glasses would come in handy. You look at a word, snap your fingers, and around it appear pop-up windows with contextual illustrations, comments, and links to detailed information, which you can visit now, or save to read later. It would be possible to ask any question verbally while looking at the text segment it pertains to and get an answer not verbally, but in a pop-up window that you can quickly close if you didn’t find anything new, or perhaps add a clarification by voice, after which the content in the window updates.

If I had smart-glasses, I would experiment with this. It seems straightforward.

North Korea’s Tech Control: Red Star OS and Surveillance Smartphones | July 13 2025, 00:58

In the latest video about North Korea from Lankov, I heard something interesting: a device owner cannot open someone else’s file, whether on a computer or on a phone, unless it is signed with a special digital signature from the government. Intrigued, I researched the details for myself and for you.

On their phones, they use a modified old “KitKat” Android (2013), and on computers—a modified Fedora Linux, Red Star OS 3, with a shell that mimics the macOS interface from Apple (the previous one mimicked Windows XP). It is said that this design choice may have been influenced by the fact that leader Kim Jong Un was seen with an iMac on his desk, and apparently, he said make it the same.

North Korean smartphones are equipped with hidden surveillance features that automatically take screenshots every five minutes, storing them in a secret folder accessible only to authorities, not the user. According to other sources, screenshots are taken when applications start, apparently pseudo-randomly. There is also censorship: if you type “South Korea” (남조선) in any app, the system automatically replaces it with “puppet state” (괴뢰국가). One hundred percent of the phones are obviously Chinese, modified by China for Korea. By the way, the collected screenshots are accessible to users, but they cannot be deleted. This application, Trace Viewer, is clearly created to remind users: everything that they do on the tablet or phone can be known to the government.

All media content in Red Star OS, including documents, images, audio and video files, is automatically marked with a watermark containing a unique serial number of the hard drive, which allows authorities to track its origin and distribution. That is, you cannot take a photo and send it to someone, because it will either just not open on that phone, or, apparently, in rare cases, if sharing is allowed, in the new place there will be traces of both who is the author of the photo and who is the next owner. But this is underdeveloped, and direct file sharing is still limited. You can only use it yourself. Of course, nothing can be deleted from the phone without a trace. It is not allowed to have more than one device per person (seems to apply separately to a tablet and a phone).

North Korean mobile devices use a strict system of digital signatures (NATISIGN for government-approved content and SELFSIGN for content created on the device), which means that any file without these signatures cannot be opened at all. The system of signatures and signature verification is at the level of the operating system, not applications. This applies to all files that people create, both on phones and on computers. I see a huge number of edge cases here, but there is little information and no one to ask.

The penalties for accessing unauthorized foreign media, such as K-pop or South Korean dramas, are extremely harsh. If an “undesirable file” is found on a CD inserted into a computer with Red Star OS, the system will eject the CD, record the path to the file, display a graphical warning, take screenshots, and then forcefully reboot the system after 1000 seconds.

North Korea manages a national intranet network called Kwangmyong, “walled garden,” which is completely isolated from the global internet and is available to most citizens only for government-approved websites and email systems.

When you first launch the browser Naenara (based on Firefox 3.5), the default homepage is the IP address “10.76.1.11.” That is, their internet is essentially an intranet.