Better HN
topnewbestaskshowjobs
Log inSign up

phyzome

5,703 karma · joined Apr 27, 2010 (16y ago) · 1,796 submissions

Submissions

comment 2w ago · link · parent

Wow, no kidding. It's almost entirely AI free. A lot more interesting.

comment 2w ago · link · parent

Might as well call it "spam psychosis" when you stop reading a spam email as soon as you realize what it is.

It's unhealthy to read garbage and it's good that you know it.

comment 2w ago · link · parent

Not really applicable here. If you want to create an alternative design, I recommend first looking at src/protocol.rs to see what the current design constraints are. (Or the README.md for the overall workflow.)

comment 2w ago · link · parent

Not that I can think of, no. This is the public key based way of doing things.

comment 2w ago · link · parent

Both ends are terminal programs.

comment 2w ago · link · parent

I'm OK with turning ANSI control sequences into garbage, as long as its safe garbage. But yeah, seems like I should find a library that covers all this.

comment 2w ago · link · parent

Oh, it's not like a password (where you'd want to prevent echo). The value is actually a digest of a public key -- one instance of the program prints the digest, and the user has to enter it into the other instance of the program. This is for setting up a secure P2P connection.

I may have misstated the problem above. What I really need to ensure is that a malicious output can't say "the digest is abc123" and trick the user into pasting that into the other program (when the real digest is def456).

comment 2w ago · link · parent

I actually have a terminal program that needs to ask for sensitive inputs from the user sometimes, potentially after attacker data has been printed. I've been trying to figure out how I should handle that!

My plan was to encode to Unicode (lossily), strip out control characters, and add some visual framing. Anything else I should be considering? Is there a standard approach? Haven't actually done the research on this yet, but since it came up here, I figure someone might know.

(This is https://codeberg.org/timmc/breakmancer if anyone is interested.)

comment 2w ago · link · parent

While it might help you get things out faster, it's still counter to this one fundamental rule:

If you couldn't be bothered to write it, I can't be bothered to read it.

comment 2w ago · link · parent

Hey, PolyForm! That's my first time seeing it in the wild. I love Kyle Mitchell's work on contracts.

comment 2w ago · link · parent

Kyocera (DuraXE Epic E4830). It's a massive phone, which is rather unfortunate, but it's dumb and durable.

Technically it runs Android but there's no touchscreen, you can't install apps, etc. There's a web browser but most websites don't work on it. I wrote a custom map website that will work with it: https://lab.brainonfire.net/classicmap/

comment 2w ago · link · parent

Buy something Graphene-compatible, and use that.

Or yeah, just don't use a smartphone. I still don't.

comment 2w ago · link · parent

All of that sounds great but also it's important to protect visitors.

Maybe if the site owners experience their sites going down due to this they'll look for some alternatives.

comment 2w ago · link · parent

Unicode adds new things all the time, rather than just, well... unifying character encodings, like the original point of the whole thing.

It's just a lot slower at invention than a scribe can be.

comment 2w ago · link · parent

Valid, but...

1. I would like this better if it were not in LLM-speak.

2. You do not owe your employer more than your 40 hours per week (average). If you're overworked, that's a decision on your employer's part. Do what you can, advocate for appropriate investment in compensating controls, burn-down of tech debt, prioritize the issues... but don't hurt yourself.

comment 2w ago · link · parent

Heck, even just perfectly comfortable whitehats will just get fed up with overly onerous reporting requirements and disclose publicly (like here).

comment 2w ago · link · parent

It's not about blame. The idea here is to protect the visitors of the site. Do you think they shouldn't be warned?

comment 2w ago · link · parent

If a site is using a third-party analytics site that brings in malware, they can stop bringing in that analytics script.

comment 2w ago · link · parent

Yeah, this is probably the right answer. Immediately protects users, and website owners would quickly find out as well. :-)

Primary obligation is to the users, not the owners of websites that got themselves infected.

comment 2w ago · link · parent

whois was effectively dead well before GDPR -- most people used registration privacy services to hide their mailing address, phone number, etc.

comment 2w ago · link · parent

Pretty standard to request that bots put contact information for their operator into the User-Agent header. Often that's a URL, but email is fine too.

I don't think it's necessarily wrong for Claude to be doing this, but uh... yeah, it should be asking first, and giving the user the opportunity to choose which address is exposed.

comment 2w ago · link · parent

I don't trust Pangram, but the writing is a bit weird.

comment 2w ago · link · parent

The number of times I've thought a Python process was broken because it wasn't printing anything...

comment 2w ago · link · parent

My own workflow (for all search engines) is to add a keyword search in Firefox. This is way better than the built-in "search engine" feature because it supports pretty much any website.

I have a bookmark for `https://kagi.com/search?token=...&q=%s` (you can get the token from somewhere in the settings) and a keyword `k`. When I want to search, I type `k giant isopod` and hit enter -- that takes me to the search results. Note that that also works in private browsing windows, whether you want it to or not. :-P So you never have to worry about whether you're signed in.

Keyword searches are cool because you can use them for any site that exposes a query through any part of the URL.

comment 2w ago · link · parent

Why restrict yourself to a single sentinel character?

comment 2w ago · link · parent

It's definitely an AI slop website even if a human wrote the text. I found it pretty hard to get through the garbage animations.

comment 2w ago · link · parent

Some of the page is also just wrong.

Except it turns out that at least one of those things is because I didn't enable JS, and the static text is wrong!

(Turning on JS did not actually help, because then the page is filled with horrible, cheesy animations and I can't actually read any of it.)

comment 2w ago · link · parent

I dunno, there were some strange discrepancies in the explanation (and captions). Didn't really hang together.

comment 2w ago · link · parent

If I end up in a situation like that I'll be strongly tempted to call the FBI.

comment 2w ago · link · parent

I think it would be legal but unethical -- unless you also then gave the employee substantial compensation for their time and opportunity cost.
12345
60