Better HN
topnewbestaskshowjobs
Log inSign up

runxiyu

30 karma · joined Jun 2, 2024 (2y ago) · 27 submissions

Submissions

1.

[PATCH linux] README: Don't organize the README by arbitrary "roles"(lore.kernel.org ↗)

3 points · by runxiyu · 6mo ago · discuss

2.

(not) using "cryptographic hashes" for hash table keys(runxiyu.org ↗)

3 points · by runxiyu · 6mo ago · discuss

comment 7mo ago · link · parent

I think there is a lot of merit to this argument, however, FastCGI defers to CGI/1.1 for `PATH_INFO`, etc., which is lossy as it must be URL-decoded and therefore cannot represent encoded slashes, `%2F`. (Some implementations also collapse `//` to `/` in path, but this is an issue in various HTTP implementations too.)

It is less expressive than HTTP in ways that may or may not be important to your application; I prefer accurate URL handling.

4.

Doom in CSS(nielsleenheer.com ↗)

4 points · by runxiyu · 8mo ago · discuss

comment 8mo ago · link · parent

Actually, yeah doesn't seem realistic to me at all

6.

Claude Just Opened the Strait(chinatalk.media ↗)

4 points · by runxiyu · 8mo ago · 1 comment

7.

Mixing Post-Quantum KEMs into Noise(runxiyu.org ↗)

1 points · by runxiyu · 8mo ago · discuss

8.

What Does the AGPL Require?(runxiyu.org ↗)

4 points · by runxiyu · 8mo ago · 1 comment

9.

Low-level Git plumbing library in pure Go(github.com ↗)

1 points · by runxiyu · 8mo ago · discuss

10.

Show HN: Custom Git-receive-pack implementation(github.com ↗)

10 points · by runxiyu · 8mo ago · 2 comments

comment 8mo ago · link · parent

Current features: Parsing configs Object ID and hash algorithms (SHA-256, SHA-1) Object type enums Object representation types Object header parsing Parsing objects Serializing objects Diffing lines Diffing trees Object storer interface Reading loose objects Applying deltas .idx lookup Reading packed objects Object storer chain and mixer Ref types Ref storer interface Reading loose refs Reading packed refs Ref storer chain Reachability iterators Repository abstractions Adler-32 optimizations ZLIB pooling Streaming .pack/.idx hash verifier .idx and .rev writing Pack ingestion Un-thinning thin packs

12.

Furgit, fast Git library in pure Go, re-structured(github.com ↗)

2 points · by runxiyu · 8mo ago · 1 comment

comment 8mo ago · link · parent

How is this related to the AI bubble?

comment 1y ago · link · parent

Using -X POST is often wrong as it "changes the actual method string in the HTTP request [... and] does not change behavior accordingly" (Stenberg, 2015).

Although, it is correct for the article's mention of "Send POST requests"... just that typically people don't send POST requests out of the blue with no data.

15.

Creating an Igcse Pseudocode Interpreter(ezntek.com ↗)

6 points · by runxiyu · 1y ago · discuss

16.

Yet another minimal init system design(forge.lindenii.org ↗)

1 points · by runxiyu · 1y ago · discuss

17.

I'm Happy with My Pinetime(whynothugo.nl ↗)

2 points · by runxiyu · 1y ago · discuss

18.

Bypassing a web application firewall with autocomplete(jessie.cafe ↗)

38 points · by runxiyu · 1y ago · 1 comment

19.

A custom diff and merge driver for SQLite(github.com ↗)

3 points · by runxiyu · 1y ago · discuss

comment 1y ago · link · parent

A git forge

21.

Import Death; Die (2024)(web.archive.org ↗)

2 points · by runxiyu · 1y ago · discuss

comment 1y ago · link · parent

That cover image looks familiar.

comment 1y ago · link · parent

Probably not

comment 1y ago · link · parent

Anubis et al. are also looking into alternative algorithms. There seems to be consensus that SHA-256 PoW is not appropriate

comment 1y ago · link · parent

Do you have a link to your own solution?

comment 1y ago · link · parent

The main reason for the non-JS solution is because a lot of people in communities around me, me included, generally block JS in their browsers, and I thought it'd be cool to have a non-JS PoW solution.

To be honest I would prefer if this could be computed with a simple shell script, but calling sha256sum in a loop is ridiculously slow. I might consider other methods of doing proof of work in the future (IIRC it's possible with argon2).