Better HN
topnewbestaskshowjobs
Log inSign up

Naru41

37 karma · joined Dec 17, 2024 (1y ago) · 39 submissions

Submissions

comment 1w ago · link · parent

https://www.optimizely.com/optimization-glossary/wysiwyg

Apparently, one of Optimizely's core features is its WYSIWYG editor. This means it's supposedly useful for running A/B tests without writing any code.

However, I don't know what kind of code is generated by WYSIWYG, and I don't have a good impression of it.

comment 2w ago · link · parent

I hate to sound like Sam Altman, but is there actually any point in having 512 GB of RAM other than just pure tech hoarding?

comment 2w ago · link · parent

Yes. The situation improves considerably if, when making server changes or retrieving data, programmers are required to enter a code generated from a hardware TOTP token isolated from both PCs and smartphones.

Every service provider system should be designed with the assumption that programmers' PCs and smartphones may be compromised.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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?

comment 1mo ago · link · parent

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.

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

If it's `untrusted_filename`, it should at least accept the length of the string as an argument.

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

It's fun. This new market could become a new source of funding to support the AI bubble.

comment 3mo ago · link · parent

> 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.

comment 4mo ago · link · parent

memcpy() was the best and fastest serializer from the start. It already existed in 1983.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

True.

The number can be determined at comp-time.

Buffer sizes should be computing manually.

comment 1y ago · link · parent

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)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

12