HackerTrans
TopNewTrendsCommentsPastAskShowJobs

chirsz

144 karmajoined 5 ปีที่แล้ว

Submissions

JSON with Commas and Comments

nigeltao.github.io
2 points·by chirsz·3 เดือนที่ผ่านมา·1 comments

JSONC Specification

jsonc.org
3 points·by chirsz·3 เดือนที่ผ่านมา·0 comments

BusyBox-Only Linux

github.com
3 points·by chirsz·7 เดือนที่ผ่านมา·0 comments

Reproduce Portal's closing credits on your terminal

github.com
1 points·by chirsz·10 เดือนที่ผ่านมา·1 comments

Implement Canvas2D over WebGL

github.com
2 points·by chirsz·10 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by chirsz·10 เดือนที่ผ่านมา·0 comments

comments

chirsz
·4 วันที่ผ่านมา·discuss
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 วันที่ผ่านมา·discuss
Does this name come from reversing "CP/M"?
chirsz
·16 วันที่ผ่านมา·discuss
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 วันที่ผ่านมา·discuss
Welcome to https://jsonc.org
chirsz
·เดือนที่แล้ว·discuss
It's https://smolweb.org/
chirsz
·2 เดือนที่ผ่านมา·discuss
Still no seahorse
chirsz
·2 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
In China, people generally share porn through closed social network groups.
chirsz
·2 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
Related: [jsonc.org](https://news.ycombinator.com/item?id=47713427)
chirsz
·3 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
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 เดือนที่ผ่านมา·discuss
Demonstration video on a EL display terminal from the 1980s: https://www.bilibili.com/video/BV1cU4y1A7ud
chirsz
·10 เดือนที่ผ่านมา·discuss
It would be even better if this easter egg appeared on line 6502!