Recent submissions

Comment · 19 days ago
There's some hidden rule that Russia could do anything, Ukraine not. Remember, ca. a year ago it counted a "red line cross" that Ukraine attacks military targets in Russian territory.

Russia can attack anything anywhere, but probably NATO or EU will concern.

> heavily pro-Russian bias.

It's nothing, in Hungary, the situation was even worse, the goverment echoed Russian propaganda, and they spread it across press, Facebook ads and everywhere. For a half year, we have a new goverment and PM - Putin is very sad.

Comment · 4 months ago
Comment · 4 months ago
Comment · 4 months ago
Comment · 1 year ago
Programming With AI: Forget "We Have Always Done It This Way", Enter "The Corpus Was Biased Towards This Way" (Case Study)

The term "prompt engineering" sounded like bullshit at first, but this study confirmed my suspicion that I was wrong. Programmers' jobs will not be taken away by retrained insurance agents.

"I was curious whether popular large language models can implement a simple audio effect in Python, and if yes, then how do they balance computational cost and audio quality, and how do their solutions compare to my handcrafted, non-AI-aided version."

Comment · 1 year ago
Comment · 1 year ago
1. Is there any mailing list or newsletter for folks interested in this project as kind of beta testers?

2. Do you plan to implement a full programming language? Dataflow is not enough?

Comment · 1 year ago
1. A friend of mine told me that he was writing a program, then he needed a function, which he just wrote. At compilation, turned out that the same funcion already exists with the same name. He created it a hour before.

2. I remember all my variable names. In a module. For a while.

Comment · 3 years ago
I've written a bouncing color bar for Amiga, which was running without the processor.

Amiga computers have

- a main processor (MC68000 or higher),

- a bit blitter, which can perform memory various operations in memory (using 3x source and 1x target, it can AND, OR etc. them),

- and a Copper, which have own "program", it can interpret 2 type of instructions: WAIT for a scanline position (4-pixel precision), and COPY value to a specified regsiter.

It was the name, which made me think: "Copper" is coming from "coprocessor". Well, it can run WAIT and COPY instructions, but the program's time-scope is somewhat restricted, the program is running every screen refresh cycle only once. Is it possible to write a program for Copper, which is doing some more, like animation?

I've generated several color bar frames for Copper, which adds up as a bouncing bar, and as the last instructions, I've added a COPY instruction, which sets the address of the Copper List to the next frame (the last one pointed to first frame).

So, it worked, the bar was bouncing without any support from the processor (besides initial generation and setting of the Copper List address first time).

Blitter and audio DMA is fantastic, it's a big help that the processor just puts an order to a hardware and it executes, but Copper is a degree more bigger magic, it can make things autonomously, which I was demonstrated.

Comment · 3 years ago
Comment · 3 years ago
I imagined how should I act when I forgetting the SQL table create command in an interview.

1. I admit I am nervous so much that I just couldn't tell my own name.

2. It's just strange for first look that I don't remember, but we create tables so rarely, that it's not a surprise.

3. Okay, let's try to figure out the command, my first hint is that it should be "new", "create" or something. Let's recall, how to deal other way, say, delete or modify tables: "drop table", "alter table" - so my best hint is "create table" or "new table". (Offensive notice: if you learnt SQL one day before the interview, this gonna not work.)

Great, go on, it's pretty sure it should contain the list of fields, define them: names, types, and some constraints, whether it can be empty etc. Maybe this command defines the indexes as well, then every index should declare one or more fields, ascending/descending marks per field. Oh, a table unique key is also can be specified, at the field specification. Finally I notice, that different SQL servers may have different syntax and even features, like choosing storage system for the table (MySQL: InnoDB etc.).

That's the _content_ of the SQL's create table command, withot any syntax. I think, it's clear, that I would have no problem with writing a table creating SQL statement.

If you can not solve the "I-forget-the-syntax" problem, probably (another offensive statement, sorry) you're not for this job. In real life, you will have even more stressful situations, and you have to solve them, or at least DO SOMETHING. What you've done was NOTHING.

Comment · 3 years ago
Okay, Apple is different from your company in as many ways as possible, but you might want to pay attention for their licensing policy: Logic X has no copy protection, no registration key, no nothing. Nothing to crack. If you get a pirate version, and using it for a while, you can buy it. They even provide a free version of it, with less functionality and larger icons, called Garage Band.
Comment · 4 years ago
It's a long-time design flaw at Microsoft.

Long time ago, in Windows for Workgroups 3.11 times, when I opened Explorer, it was getting slower and slower. Finally, changing a directory took 5 secs. The hard disk was working hard (there were LED indicators!).

I've figured out that the root cause was my C:\Documents directory, which contained a bunch of files, maybe some hundreds of mp3s, don't remember. Moved _all_ files from C:\Documents made Explorer lightning fast.

I think, Explorer wanted to show a summary of different file types, which was completely unnecessary and couldn't turnded off.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton