Naru41
Naru41 on Hacker News
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.
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?
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.
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.
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.
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.
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.
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.
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.
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.
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.
True.
The number can be determined at comp-time.
Buffer sizes should be computing manually.
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.
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.
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.
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.
> 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
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.
No-modularize is strictly good if you can avoid it. Hardcode memory addresses at compile time is simpler and faster.