Better HN
topnewbestaskshowjobs
Log inSign up

chirsz

150 karma · joined Sep 5, 2021 (5y ago) · 41 submissions

Submissions

comment 4mo ago · link · parent

past submissions:

- https://news.ycombinator.com/item?id=31526370 (2022)

- https://news.ycombinator.com/item?id=23306382 (2020)

comment 4mo ago · link · parent

Relevant: https://news.ycombinator.com/item?id=46293062

comment 4mo ago · link · parent

A quick search reveals several other serious vulnerabilities in Tenda routers that could grant administrator privileges. Therefore, I tend to believe this is due to the company's incompetence and lack of technical skill rather than malicious intent—but it's still a reason to avoid using Tenda products. There's a reason why Tenda's market share is far lower than TP-Link's.

comment 4mo ago · link · parent

Does this name come from reversing "CP/M"?

comment 5mo ago · link · parent

The Node.js team removed `--experimental-transform-types` from Node.js v26. This makes native, full TypeScript support impossible.

https://github.com/nodejs/typescript/issues/51#issuecomment-...

comment 5mo ago · link · parent

Welcome to https://jsonc.org

comment 6mo ago · link · parent

It's https://smolweb.org/

comment 6mo ago · link · parent

Still no seahorse

comment 6mo ago · link · parent

SBus peripherals use the Forth language in their PROMs to initialize themselves[1].

[1] https://docs.oracle.com/cd/E19957-01/802-3239-10/sbusandfc.h...

comment 6mo ago · link · parent

There are many open-source software developers whose backgrounds we don't know much about, such as Russell King, who implemented the 32-bit ARM port of Linux. He used the magic number 0x016F2818 (24061976 in decimal) without explanation, which I guess is his birthday, but I can't verify it since he hasn't disclosed his birthday anywhere.

comment 7mo ago · link · parent

In China, people generally share porn through closed social network groups.

comment 7mo ago · link · parent

Because Türkiye is a widely recognized sovereign state, while Taiwan (or more formally, the Republic of China) is not. Taiwan is also not a member of ISO.

comment 7mo ago · link · parent

If you can build a bFLT version of BusyBox, then you can get a minimal system that can do some meaningful work! See BusyBox Linux[1].

[1]: https://github.com/chirsz-ever/busybox-linux

comment 7mo ago · link · parent

Related: [jsonc.org](https://news.ycombinator.com/item?id=47713427)

15.

JSON with Commas and Comments(nigeltao.github.io ↗)

2 points · by chirsz · 7mo ago · 1 comment

16.

JSONC Specification(jsonc.org ↗)

3 points · by chirsz · 7mo ago · discuss

comment 7mo ago · link · parent

It's best to avoid using std::wstring and other wchar_t-related facilities, as they are highly non-portable across different platforms. If you need to interact with the Win32 API, use char16_t and std::u16string, so that anyone knows it contains a UTF-16 encoded string and knows how to use and process it.

comment 8mo ago · link · parent

You can see:

* no-panic: https://docs.rs/no-panic/latest/no_panic/

* Safe Rust has no undefined behavior: https://news.ycombinator.com/item?id=39564755

comment 10mo ago · link · parent

In ancient China, the imperial year designations were usually changed in the second year following the coronation of a new emperor, thus preventing the occurrence of two imperial year designations in the same year. Japan seems to have chosen to change the imperial year designation in the same year because of the faster flow of information in modern times. I still think it would be more convenient to change it the second year.

comment 11mo ago · link · parent

I've recently been doing something similar: I have a UbiSurfer 9, a netbook using an S3C2416 chip as its CPU, running the ARMv5 instruction set, and with 128MB of DDR2 memory. Its original operating system is WinCE 6.0, and I'm trying to run Linux on it. The good news is that Debian still maintains the armel architecture, so we potentially have a large number of userspace programs available. The bad news is there's no suitable kernel and bootloader. Fortunately, a friend helped me write a bootloader and modified the kernel source code to make it work. Running a Debian system is possible, but quite slow, so I created a minimal system with only Busybox[1], and it works perfectly.

[1]: https://github.com/chirsz-ever/busybox-linux

I'm still exploring this; related information is in this repository, written in Chinese:

https://github.com/chirsz-ever/ubisurfer9

21.

BusyBox-Only Linux(github.com ↗)

3 points · by chirsz · 11mo ago · discuss

comment 1y ago · link · parent

The behavior of C macros is actually described by a piece of pseudocode from Dave Prosser and it is not in the standard:

* https://www.spinellis.gr/blog/20060626/

* https://www.spinellis.gr/pubs/jrnl/2006-DDJ-Finessing/html/S...

* https://gcc.gnu.org/legacy-ml/gcc-prs/2001-q1/msg00495.html

comment 1y ago · link · parent

Demonstration video on a EL display terminal from the 1980s: https://www.bilibili.com/video/BV1cU4y1A7ud

24.

Reproduce Portal's closing credits on your terminal(github.com ↗)

1 points · by chirsz · 1y ago · 1 comment

25.

Implement Canvas2D over WebGL(github.com ↗)

2 points · by chirsz · 1y ago · discuss

comment 1y ago · link · parent

It would be even better if this easter egg appeared on line 6502!

27.

Thunk: Build Rust program to support Windows XP, Vista and more(github.com ↗)

65 points · by chirsz · 1y ago · 23 comments

28.

Show HN: Implement BLAKE3 with Awk(github.com ↗)

2 points · by chirsz · 1y ago · 1 comment

29.

Install Homebrew on Alpine Linux(github.com ↗)

2 points · by chirsz · 1y ago · discuss

12