Better HN
topnewbestaskshowjobs
Log inSign up

SOF3

7 karma · joined May 23, 2019 (7y ago) · 13 submissions

[ my public key: https://keybase.io/sofe; my proof: https://keybase.io/sofe/sigs/HPvQVLfn6Y90_FBNHIyI18xJr8DPzNQ1om2c6tT59aA ]
Submissions

comment 2y ago · link · parent

Not targeting anyone, but after clicking into the link, I (1) noticed it is mdbook, (2) looked at the author GitHub and noticed C and Rust, and (3) predicted that Copilot is gonna be unpredictable with random serious unnoticeable mistakes. Looks like I got it right.

2.

derive_delegate: The generic derive macro for all Rust traits(users.rust-lang.org ↗)

1 points · by SOF3 · 3y ago · discuss

3.

Portrait: Impl-by-Delegation in Rust(github.com ↗)

1 points · by SOF3 · 3y ago · discuss

comment 4y ago · link · parent

DNS isn't hard to get right. Using DNS practically is the thing that is hard. Is your cache something from NICs, ISPs, routers (and routers behind routers), operating systems (and operating systems behind operating systems), runtimes like containers (and runtimes inside runtimes), a Docker image that overrides /etc/resolve.conf, and then programming language (and if you're unlucky, a programming language that uses the stdlib of another language instead of the syscalls directly), third party libraries (and fourth party libraries used by third party libraries), or maybe yourself calling the wrong API. Or if you passed the domain name to a distributed system, the problem gets doubled because your distributed system may not share the same stack ... and then you figure out it's actually because the guy who said they updated the DNS record actually updated the A record without updating the AAA record.

5.

Use async/await in PHP without fibers using generators(github.com ↗)

2 points · by SOF3 · 4y ago · discuss

comment 4y ago · link · parent

Is GPL even significant nowadays other than annoying programmers? A lot of commercial software are provided as cloud services and GPL has no effect on them anyway. If you are really a fan of the viral nature of GPL, you should be using AGPL anyway.

7.

A minimal, offline PHAR file viewer webapp written in Rust(sof3.github.io ↗)

1 points · by SOF3 · 4y ago · discuss

comment 5y ago · link · parent

Sometimes it feels that people just don't care about performance. In 2021, if you ship a game that doesn't weigh gigabytes of assets and take half a minute to load, people will think you didn't put much effort into the game.

9.

Phar.rs: Read/Write PHAR Archives in Rust(crates.io ↗)

1 points · by SOF3 · 5y ago · discuss

10.

Show HN: GitHub action to create pull requests if workdir is dirty(github.com ↗)

1 points · by SOF3 · 6y ago · discuss

11.

dirmod: Auto mod statements with visibility, reexports, conditional compilation(github.com ↗)

1 points · by SOF3 · 7y ago · discuss

12.

Show HN: Include_bytes () with compile-time zip and runtime lazy unzip(github.com ↗)

8 points · by SOF3 · 7y ago · discuss