Better HN
topnewbestaskshowjobs
Log inSign up

5pl1n73r

43 karma · joined Jul 25, 2025 (1y ago) · 22 submissions

Submissions

1.

A Warm Welcome to ASN.1 and DER(letsencrypt.org ↗)

2 points · by 5pl1n73r · 1y ago · discuss

comment 1y ago · link · parent

Ah, blockchains, where people realize all those "it doesn't matter bugs" with 3 layers of indirection due to shaky primitives, actually matter. Other bugs like this could be used to execute arbitrary code on the computer that compiles the software, calling random "important looking" stuff into memory (xz backdoor style) to be decoded and executed by the backdoor. Of course, there will never be a day where you can compile untrusted code in Solidity.

> The lesson? Always test critical software under multiple compilers and library versions — especially when enabling a new language standard.

Don't have giga-complicated language jockey stuff backing software that can't afford to even have one bug.

comment 1y ago · link · parent

This stuff is cool as hell. I'd break out a CRT TV and try to get it working, but it feels not worth it without official NTSC or PAL broadcasts. Straight from the analog VBI on air or bust.

comment 1y ago · link · parent

You can exercise in doors though

comment 1y ago · link · parent

Don't go outside. Move only in cars. To be honest, going outside sucks in most cities.

comment 1y ago · link · parent

How to tell you're running Windows 10: Right click an item in the taskbar. The menu will pop up one second later.

comment 1y ago · link · parent

Did you have the devils0wn copy though?

comment 1y ago · link · parent

I don't know, classifieds still exist. Obviously internet is superior for this, but not everyone can afford internet of any kind, since the bloat scaled with Moore's law. 500KB/s right will give you the same rate of browsing articles as dial up in the 90s. Phones have been becoming obsolete after 2 years. That doesn't necessarily dictate the market but yeah.

comment 1y ago · link · parent

This is happening across all industries, unfortunately. Medical, engineering, pharmaceuticals, law enforcement, military, transportation, law... Thanks for a perfect post that describes the problem! We need more of these. Most people know they're doing it too, they just need to be told more.

10.

Don't use Redis as a rate limiter(medium.com ↗)

42 points · by 5pl1n73r · 1y ago · 27 comments

comment 1y ago · link · parent

I think robots.txt should be ignored. Everyone wants people to not do things they don't like. We don't have to entertain each and every such one. The future is IPFS or something like it, so "crawling" will be a meaningless act.

comment 1y ago · link · parent

Yes, I may have accidentally spilled, but I prefer ML modules to typeclasses.

comment 1y ago · link · parent

My peers and I work on a language centered around "constructive data modeling" (first time I hear it called that). We implement integers, and indeed, things like non empty lists using algebraic data types, for example. You can both have a theory of values that doesn't rely on trapdoors like "int32" or "string", as well as encode invariants, as this article covers.

As I understand it, the primary purpose of newtypes is actually just to work around typeclass issues like in the examples mentioned at the end of the article. They are specifically designed to be zero cost, because you want to not pay when you work around the type class instance already being taken for the type you want to make an instance for. When you make an abstract data type by not exporting the data constructors, that can be done with or without newtype.

comment 1y ago · link · parent

> avocado, olive, and coconut oil; ten basic spices; honey, maple syrup, apple cider vinegar, soy sauce, miso, and almond butter.

This is what happens when you use Google for recipes. And a good hint that this article does not represent the average demographic; most people outside of her's do not want room mates good reason.

comment 1y ago · link · parent

Just learned they've stopped publishing. Sad! The old web is really dying. Seems like a bug though? They said they'll keep the site up "indefinitely".

comment 1y ago · link · parent

I could see using this for creating ASCII art collaboratively.

comment 1y ago · link · parent

> Further, I'm slowly noticing things that tmux didn't handle well, but now, "just work": native scrollback, terminal notifications, and terminal titles being the most notable changes.

You can make tmux's OS window title and its internal window titles be whatever you want:

Add "set -g set-titles" to ~/.tmux.conf. To test without changing the config, type `^B : set -g set-titles`, and to restore it back to default, `^B : set -gu set-titles`. This will be useful but overly verbose. It can be configured further. For example, `set -g set-titles-string "tmux | #{pane_title}"` will make it contain the title set by the shell (for PS1, I just make it set the current directory with `\w` or `\W`).

Then, to make tmux's window titles (so, what will show up in the "window list") also be named after the current directory, you can use `set -g automatic-rename-format "#{pane_title}"`.

comment 1y ago · link · parent

That begs the question: how big of a codebase can these tools generate that works?

(loop unrolling doesn't count)

comment 1y ago · link · parent

After this article was written, `free -m` on many systems started to have an "available" column that shows the sum of reclaimable and free memory. It's nicer than the "-/+" section shown in this old article.

  $ free -m
                 total        used        free      shared  buff/cache   available
  Mem:            3915        2116        1288          41         769        1799
  Swap:            974           0         974

comment 1y ago · link · parent

I know lots of companies working on anonymous attestation, and have been myself interested in this for decades. I don't get why we would need any form of age verification for porn at all though, since the cost outweighs whatever little benefit exists given that it's so easy to work around. Online age verification is like the NFTs of internet law.

comment 1y ago · link · parent

CUDA programming consists of making a kernel parameterized by its thread id which is used to slightly alter its behavior while it executes on many hundreds of GPU cores; it's very different than general purpose programming. Memory and branching behave differently there. I'd say at best, it will be like traditional programs and libraries with multiple incompatible event loops.

comment 1y ago · link · parent

My reaction to the article title was recalling how old assembly teachers would drill into our heads to make sure we have proof of 200% gains before implementing an optimization. However the article shows how sometimes such planning doesn't work.