HackerTrans
トップ新着トレンドコメント過去質問紹介求人

chirsz

144 カルマ登録 5 年前

投稿

JSON with Commas and Comments

nigeltao.github.io
2 ポイント·投稿者 chirsz·3 か月前·1 コメント

JSONC Specification

jsonc.org
3 ポイント·投稿者 chirsz·3 か月前·0 コメント

BusyBox-Only Linux

github.com
3 ポイント·投稿者 chirsz·7 か月前·0 コメント

Reproduce Portal's closing credits on your terminal

github.com
1 ポイント·投稿者 chirsz·10 か月前·1 コメント

Implement Canvas2D over WebGL

github.com
2 ポイント·投稿者 chirsz·10 か月前·0 コメント

[untitled]

1 ポイント·投稿者 chirsz·10 か月前·0 コメント

コメント

chirsz
·4 日前·議論
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.
chirsz
·5 日前·議論
Does this name come from reversing "CP/M"?
chirsz
·16 日前·議論
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-...
chirsz
·27 日前·議論
Welcome to https://jsonc.org
chirsz
·先月·議論
It's https://smolweb.org/
chirsz
·2 か月前·議論
Still no seahorse
chirsz
·2 か月前·議論
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...
chirsz
·2 か月前·議論
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.
chirsz
·2 か月前·議論
In China, people generally share porn through closed social network groups.
chirsz
·2 か月前·議論
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.
chirsz
·3 か月前·議論
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
chirsz
·3 か月前·議論
Related: [jsonc.org](https://news.ycombinator.com/item?id=47713427)
chirsz
·3 か月前·議論
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.
chirsz
·4 か月前·議論
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
chirsz
·6 か月前·議論
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.
chirsz
·7 か月前·議論
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
chirsz
·8 か月前·議論
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
chirsz
·10 か月前·議論
Demonstration video on a EL display terminal from the 1980s: https://www.bilibili.com/video/BV1cU4y1A7ud
chirsz
·10 か月前·議論
It would be even better if this easter egg appeared on line 6502!