Recent submissions

Comment · 2 days ago
It's acceptable to use the nearest key frame when randomly accessing arbitrary frames.

The real problem is that you'd have to rewrite the entire app stack to use H.264 or AV1 for storing the image stack generated by CT.

CT images are 16-bit monochrome, and the pixel values have real physical meaning (Hounsfield Units). So you'd have to prove that your compression tool can reproduce the original images 1:1. The H.264 encoder would also need to be modified to support 16-bit pixels.

And you'd need to modify the post-processing tools to accept your new file format. Otherwise users will still have to convert it back to DICOM or some other commonly accepted format before they can use their post-processing software.

So unless you're a CT vendor, you'll have a hard time pushing this into a hospital.

Comment · 11 days ago
That sounds a little complicated, do the two parts actually adjust dynamically?

In China, end users pay a single bundled retail electricity price that already includes the full cost of both generation and delivery. The State Grid company purchasing electricity from generators and settling with them centrally.

Electricity prices are also government-regulated, and any change must go through public notice and approval.

Comment · 12 days ago
I'm not quite sure what you mean by "extra fees or delivery rates," but this is the total amount I pay for electricity, no additional charges.
Comment · 12 days ago
I'm not sure how much you pay in USA. But I live in Beijing, where the residential electricity price is about 0.5 RMB per kWh, roughly 0.0749 USD.

China's electricity pricing involves cross-subsidies. Residential and agricultural users pay the lowest rates, which are generally below the cost of supply. Commercial and industrial users pay more and contribute the most of grid revenue.

Prices vary by region: commercial electricity can approach 1 RMB (0.15USD) in Beijing, but the national average is about 0.67 RMB (0.1USD), while industrial electricity averages around 0.63 RMB nationally.

Comment · 1 month ago
I've been an Ultimate subscriber for many years. I started out using ReSharper in Visual Studio, then picked up ReSharper C++ when I began writing C++, and eventually moved to Rider. As I also work with Java and Python, I just went ahead and bought Ultimate. Even though my company provides Visual Studio and other tools, JetBrains has given me a genuinely enjoyable development experience all these years.

These days everyone is coding with Agents, but I still really enjoy writing code by hand. I like implementing features myself and designing architecture. But spending a significant amount of money every year on an Ultimate subscription just to support that hobby no longer makes sense from an ROI perspective. At this point, most of what I'm paying is really just to support JetBrains and to thank you for the enjoyment you've brought me over the years.

My subscription is about to renew again, and I'm still on the fence about whether to continue. It looks likely that I will, but if the ROI keeps declining, I'm not sure what the future holds. It's not that JetBrains' IDEs have changed, it's that the times have changed.

Comment · 2 months ago
Comment · 2 months ago
Basically true. I lived in a northern city in the 90s. My parents worked at state-owned company. That period was genuinely brutal. The companies weren't just laying people off, they were also constantly delaying wage payments. I remember at one point wages went unpaid for over half a year. For newer employees with little savings, the life will be difficult.

But to be fair, by that time those companies had reached a point where reform was simply unavoidable. They offered lifetime employment and ran their own schools, hospitals, even shopping malls. Jobs were inherited, when parents retired, their children took over the position, and it was completely normal for multiple generations of a family to work at the same company. This meant the company had virtually no competitiveness. From top to bottom, people just coasted along for stability, while the companies bled losses year after year, relying on state subsidies and bank loans just to make payroll. So they went through a "socialized reform", the consequence was mass layoffs.

At the same time, society was unstable, and some people used the chaos to get rich. For example the mother of [0]. When a company was restructured or sold off back then, the assets were supposed to be used first to pay severance to employees. She took a farm and land worth 2.3 billion, cooked the books to make them look like negative assets, and sold them to her friends' shell company for just 60 million. Then she pocketed the money that should have gone to laid-off workers, driving more than 500 families into bankruptcy. This ties into another point the article makes: having experienced the pain of change, but also understanding that change was necessary to survive, people became much more open to new things.

[0] https://en.wikipedia.org/wiki/Wanting_Qu

Comment · 3 months ago
Most of these solutions work by directly forwarding the GPU-rendered image. On Linux, Moonshine uses Wayland for headless rendering, but that approach doesn't work on Windows.

Windows requires an active user session with a connected display(physical or virtual) in order to build a desktop to render something. RDP can create a backgorund session, but on non-Server editions of Windows, you can't have a background RDP session while you are using it. It only allows one active session unless you patched the RDP service.

Comment · 3 months ago
For user space applications, Win32/Windows is the most stable ABI on Linux, via Wine/Proton.
Comment · 4 months ago
This is not a technical issue or a matter of service agreements.

They totally knew that this would never be accepted by users, and that is precisely why they resorted to obfuscation and steganography to exfiltrate the data. This was quietly added in an update, and would have been removed in a later one had it gone unnoticed.

How is this any different from hiding a drug in food and randomly feeding it to a homeless person as a human trial? Even if that homeless person is an undocumented immigrant, does that make that acceptable?

They crossed the line.

Comment · 4 months ago
Simple, just follow the international rules. If you haven't registered your patent in a country, you don't have any patent rights there. If a company uses your patent and only sells its products within that country, you have no legal standing whatsoever, regardless of whether that country is China, Japan, South Korea, or even a European country. The same rule applies everywhere.
Comment · 4 months ago
Yes, for most projects, my path is SQLite -> PostgreSQL. For monolithic applications, SQLite is usually good enough. I've used OLTP + OLAP database setups before(SQL+ELK), but both data synchronization and operational overhead were very high. Before adopting such a solution, you really need to ask yourself: do you actually have that many users?
Comment · 4 months ago
China also have trust issue with American companies. Most of State-owned companies will not use those services even if they can directly access them.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton