News for hackers. Stuff that matters.

Naru41

Re:OpenSSL 4.1.0 on Friday October 23, 2026 @08:19PM (#50217117)
However, it's unfortunate that demo code provided by OpenSSL uses a simplified implementation, spawning a thread for each client connection.

https://github.com/openssl/openssl/blob/master/demos/dtlslis...

It would become much more practical if it were integrated with libuv or libevent.

Re:The Future of CSS on Wednesday October 21, 2026 @07:27AM (#50179102)
However, I always wonder, does the browser really need to understand this syntax? (I feel `function` is too much for just stylesheet)

Ultimately, what we want to represent is a DOM tree. The format doesn't matter. So we should send a computer-friendly, pre-compiled data structure that the browser can use directly. memcpy is faster than parse.

Re:Claude reveals ECDSA curve origins on Friday October 16, 2026 @08:25PM (#50126554)
For me, it was news that showed the cleverness of chacha's choice to use the "expand 32-byte k" ASCII byte sequence as a constants.
Rather, China is dumping EVs at a national level. EVs don't generate profits, and entering this market now would only result in huge losses. so under normal business judgment, companies wouldn't enter the EV car market. They can only be produced when subsidies and tariffs are guaranteed to protect them.
I had no idea Windows was like this now. (I never use the Snap feature)

This is funny. If you're going to worry about gaps like this, wouldn't it be better to just not have the corners in the first place?

Re:Cloudflare Ohttp Gateway on Saturday October 03, 2026 @01:04AM (#49941484)
Pathetically, people probably won't even erase cookie, let alone JavaScript. To begin with, any websites are not designed to be viewable without js. There are countless ways to find fingerprints. It is impossible to prevent tracking anyway in current the internet.
Re:Toyota is finally taking its best-seller electric on Thursday September 24, 2026 @08:48PM (#49838842)
That's right. Nobody wants EVs, and even if there is a niche demand, Chinese companies are dumping them at a national level. (look at the Europe plight)

They'll pretend to sell EVs to keep their options open, but they won't actually sell any.

Re:Ideas on modernizing the open-source desktop on Thursday September 24, 2026 @06:18AM (#49828569)
https://www.eclipse.org/articles/Article-UI-Guidelines/Conte...

In 2004, the Eclipse IDE established consistent UI guidelines, built upon a cross-platform GUI library. API desgin is great, Looks and feels robust. The future of desktop GUIs looked bright. Little did we know that 25 years later it would turn out to be such a disaster.

Re:Markdown in /src on Tuesday September 22, 2026 @06:29AM (#49799038)
I still like the idea of source code as documentation and unit tests as documentation. While revising code written by an LLM to make it easier for humans to understand is now a controversial practice, I believe it's worthwhile in a lot of case.
Re:Pion, an agent designed to run any company autonomously on Monday September 14, 2026 @09:59PM (#49706794)
My definition of AGI is a computer that can support itself, just turn it on, and it'll earn enough money to pay the server's electricity bills, hire people to maintain and expand its servers, and even improve its own algorithms.

I'd love to see someone try to run one that can meet 100% of the world's demand for remote works.

If it's `untrusted_filename`, it should at least accept the length of the string as an argument.
Re:Three ways to smuggle SQLite into Nix on Friday August 21, 2026 @08:53PM (#49395546)
Just convert it to a binary data structure suitable for this purpose and use the old-fashioned bsearch. It's so simple that you wouldn't even need SQLite.
Re:The AI Credit Resale Economy on Sunday August 16, 2026 @08:26PM (#49325241)
It's fun. This new market could become a new source of funding to support the AI bubble.
> The bug only affects databases in WAL mode when there are two or more database connections open on the same file, in separate threads or processes

To be honest, I'm surprised that someone using SQLite would try to access it directly from multiple threads or processes without fear of data racing.

memcpy() was the best and fastest serializer from the start. It already existed in 1983.
Re:Liquid Glass Is Cracked, and Usability Suffers in iOS 26 on Friday October 10, 2025 @10:23PM (#45546045)
This style of simulating faux-realistic materials (such as glass or aluminum) on the screen looks dated and cheesy now -- (Windows engineering team 2012)

https://web.archive.org/web/20120614042824/http://blogs.msdn...

--

"Cheesy and dated" -- it keeps hitting me through the years.

Utility-scale solar is very unpopular in Japan. Because most suitable lands of them are densely forested, and installing utility-scale solar systems requires destory the forests.

There are concerns landslides due to reduced water storage functionality, and emotional antipathy at having their hometowns' mountains covered with solar panels.

Re:The Core of Rust on Thursday August 21, 2025 @11:01PM (#44980616)
I think Rust is the biggest winner that has from LLM support. When I got an compile error, it is painful without LLM to reverse-thinking how to re-write something and why it needs to be written that way.
Re:How to Use Snprintf on Tuesday August 19, 2025 @08:17AM (#44950736)
True.

The number can be determined at comp-time.

Buffer sizes should be computing manually.

Re:Left to Right Programming on Monday August 18, 2025 @07:14PM (#44946329)
I've often thought that if C just had a syntax like Go definding method, C would be much easier to write.

uint16_t (MyStruct* s) some_func() { .. }

uint16_t MyStruct_some_func(MyStruct* s) { .. }

(I guess I should just use C++... but C++ is overwhelmed in many ways)

Funny trivia. But of course -- there is absolute zero reason to base64 encode ascii text. Evenmore laughable to put Json encoded in base64 text inside regular Json.
Re:Why your website should be under 14kB in size on Saturday July 19, 2025 @11:47AM (#44616508)
The ideal HTML I have in mind is a DOM tree represented entirely in TLV binary -- and a compiled .so file instead of .js. And a unpacked data to be used directly in C programming data structure. Zero copy, no parsing, (data vaildation is unavoidable but) that's certainly fast.
Re:Liquid Glass – WWDC25 [video] on Saturday June 14, 2025 @07:59AM (#44275841)
This style of simulating faux-realistic materials (such as glass or aluminum) on the screen looks dated and cheesy now -- (Windows engineering team 2012)

https://web.archive.org/web/20120614042824/http://blogs.msdn...

Re:Apple will announce iOS 26 at WWDC, not iOS 19 on Wednesday May 28, 2025 @07:56PM (#44121679)
They skipped iPhone 9 once. So iPhone 17 and going for iPhone 2026 could be better for measuring the age of the device and could be beneficial for consumers -- but what about the OS version? No one care that.

From an engineering standpoint, skipping a sequential number is just wasteful.

Re:Censors Ignore Unencrypted HTTP/2 Traffic (2024) on Monday April 14, 2025 @07:44PM (#43687502)
I don't see the point - ASCII vs. binary doesn't make any real difference. And there's no an actual unencrypted HTTP/2 traffic, so there's no incentive to censor.
Re:Web-based cryptography is always snake oil on Thursday March 27, 2025 @07:27PM (#43499445)
> A cryptosystem is incoherent if its implementation is distributed by the same entity which it purports to secure against.

That's what the recent Signal tormoil is like.

Communication via Signal app that's safe if you could be sure it was compiled from verified open-source code, but Signal still doesn't provide any way to in principle eliminate the possibility that client binary distributers put in a backdoor at the last minute.

Successful Math/CS people have a hard time applying it in biotechnology.

https://x.com/iskander/status/1903077361152610374 -- about a dozen of us with math/CS backgrounds ditched tech for biomedicine. And we got humbled hard: most of what we did flopped & techies

Re:The DOJ Still Wants Google to Sell Off Chrome on Sunday March 09, 2025 @10:28AM (#43309277)
Yup, I don't understand why Google would sponsor McLaren F1 team. They've already done a better promoting Chrome.
> I'll be expecting my Nobel peace prize in the postbox and several job offers in my DMs within the next 3 working days.

This joke alone was worth the read.

Re:LINUX is obsolete (1992) on Saturday February 08, 2025 @12:03AM (#42980531)
No-modularize is strictly good if you can avoid it. Hardcode memory addresses at compile time is simpler and faster.

Older »