Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 1y ago · link · parent

> Why are yours changing every day?

Nobody knows how the hell the host keys are generated in the first place. Don't worry about it.

> And then I know exactly why it changed.

Really? What is a "full" reinstall as opposed to a "non-full" reinstall, and how much exactly reinstall do I need for my host keys to change?

comment 1y ago · link · parent

> why do you need a term to distinguish from installing from the Play Store?

Because the Play Store is a proprietary ecosystem that's being often used as a political tool.

If Google starts to ban alternative stores then Android will fragment and much of the world will move to Chinese alternative OS's.

comment 1y ago · link · parent

> you can have your ssh keys signed by a ca

Good idea. That way when your CA private key leaks (the key which we never ever rotate, of course) the bad guys can compromise the whole fleet and not just one server. Bonus points if the same CA is also used for authenticating users.

comment 1y ago · link · parent

> ...a host key that changes unexpectedly.

Literally happens every single damn day and literally nobody on the face of this earth ever gives a shit.

Host keys are the stupidest idea in the history of computer so-called "security".

comment 1y ago · link · parent

Nuance is needed here.

"You <-> ISP <-> Bank webpage" is an entirely different security threat model than "You <-> Server you rent from an ISP".

Also, unsanctioned wiretapping is an entirely different criminal offense than stealing leaked credentials.

You can't make blanket statements like that without understanding ISP peering agreements and how data is stored and where.

Let's not pretend like slapping cryptography over L3 is the entirety of being secure. Often (most of the time?) cryptography doesn't even matter much for security.

P.S. Security (prevent stealing sensitive data) and verification (making sure nothing extra is added during transfer) are different problems.

comment 1y ago · link · parent

> (4) if people try to engage it in such conversations the bot should immediately back out because it isn't qualified to have these conversations

There is nothing in the world that OpenAI is qualified to talk about, so we might as well just shut it down.

comment 1y ago · link · parent

Not true. Your hosting provider already has physical access to the computer you're connecting to.

Whether or not the connection you're using is encrypted doesn't really matter because the ISP and hosting provider are legally obligated to prevent unauthorized access.

(It's different if you're the NSA or some other state-level actor, but you're not.)

comment 1y ago · link · parent

> Through if you want to reproduce all the tooling eco-system

But for Protobuf you kinda have to. Needing to parse the .proto files and comform to Google's code gen ideas is implied.

For ASN you just need to follow a spec, not a concrete implementation.

comment 1y ago · link · parent

> Windows still rules the roost

Windows is a legacy OS that isn't developed anymore and only exists to support the Excel cash cow.

comment 1y ago · link · parent

ASN.1 doesn't have a schema language. It has a schema spec, how you encode the schema is up to you. This is a huge boon.

ASN.1 has many encoding standards, but you don't need to implement them all, only the specific one for your needs.

ASN.1 has a standard and an easy to follow spec, which Protobuf doesn't.

In sum: I could cobble together a working ASN.1 implementation over a weekend. In contrast, getting to a clean-room working Protobuf library is a month's work.

Caveat: I have not had to deal with PKI stuff. My experience with ASN.1 is from LDAP, one of the easiest protocols to implement ever, IMO.

comment 1y ago · link · parent

ASN.1 seems orders of magnitude simpler than Protobuf or Thrift.

comment 1y ago · link · parent

You completely, 100% misunderstood my comment.

comment 1y ago · link · parent

Except that k8s doesn't solve the problem of generalized distributed computing at all. (For that you need distributed fault-tolerant state handling which k8s doesn't do.)

K8s solves only one problem - the problem of organizational structure scaling. For example, when your Ops team and your Dev team have different product deadlines and different budgets. At this point you will need the insanity of k8s.

comment 1y ago · link · parent

> should never be used in production either

A very hot and very wrong take.

NixOS at least has immutable read-only system images. This makes it a thousand times less interesting to a potential attacker than a Debian system.

For every Mossad agent crafting elaborate impersonation scheme to steal state secrets, there are a million script kiddies looking for insecure servers for a botnet.

P.S. A bigger issue is the complete inability of the "security industry" to understand even basic threat model issues. More proof that this entire "industry" is a joke and a clown show.

comment 1y ago · link · parent

> why don't we have that on other cpus?

We do, it's called "cache" or "registers".

comment 1y ago · link · parent

Oh no! Wouldn't want to commit a badthink and read something written by an ungood thoughtcrimer!

comment 1y ago · link · parent

> the American Puritan Empire project failed, therefore the world is literally ending

Actually, no. It's healing. :)

comment 1y ago · link · parent

Redundancy isn't a "waste". In fact it's a core and essential property of natural language; without it we would have no error correction capacity.

comment 1y ago · link · parent

Nix code is composable and statically checked for consistency. Docker containers is just a random sequence of shell scripts that sometimes happens to not error out because people mostly only use the same five Ubuntu or Alpine base images and don't layer more than two things at once.

You see the difference?

comment 1y ago · link · parent

> first step on the supply chain road

99 percent of Docker container users aren't on the supply chain road. They just want to "docker pull", #yolo.

> Configuring Traefik ingress to forward TCP connections to pods was literally the last thing I did yesterday

Docker does crazy insane modifications to your system settings behind the scenes. (Of which turning off the system firewall is the least crazy.)

Have fun when the magic Docker IP addresses happen to conflict with your corporate LAN.

comment 1y ago · link · parent

No, normally you would just add a parameter to your ssl context constructor.

"Sidecars" is a crazy hack that only applies if you use k8s and containers, which I'm obviously not.

comment 1y ago · link · parent

No, because Nix configuration is declarative and statically checked.

Containers is "run these random shell commands I copy pasted from the internet on top of this random OS image I pulled from the internet, #yolo".

comment 1y ago · link · parent

> Containers randomly break or bitrot?

All the fucking time. Maybe it's possible to control your supply chain properly with containers, but nobody actually does that. 99% of the time they're pulling in some random "latest image" and applying bespoke shell commands on top.

> I don't know what is meant by "system setup" here, and "arcane" is subjective.

Clearly you've never debugged container network problems before.

comment 1y ago · link · parent

Formal verification solves nothing. You can have a formally verified 100% secure backdoor exploit. (Ultimately it all depends on the semantics of "sysadmin" vs "hacker", who are really just two different roles of the same person.)

This is also why signing code commits isn't a solution, only a way to trace ends when something fucks up.

comment 1y ago · link · parent

After trying to get SPIFFE mTLS to work with Python asyncio and giving up, I'm sure "lots of projects" is an overstatement.

Even basic parts of the tech stack aren't there yet.

comment 1y ago · link · parent

NixOS is miles better from a security standpoint than any Debian or Red Hat already, so take what you can.

comment 1y ago · link · parent

The SPIFFE standard does something like this.

It's not used by anyone because nobody actually gives a shit about security, the entire industry is basically a grift.

comment 1y ago · link · parent

> 1000TPS and 10K daily users

That is not a lot. You can host that on a Raspberry Pi.

comment 1y ago · link · parent

> I would be surprised if companies specializing in LLMs were not major players the way today's tech giants are

I wouldn't.

The OG Internet gold rush was about centralization. (Aka "the cloud".)

This LLM bubble makes most sense if you go the other direction towards bespoke self-hosted self-owned solutions.

Hardware manufacturers will probably come on top after all this. Especially those who figure out commodity user-facing LLM hardware.

comment 1y ago · link · parent

> I also know these are more fragile than the deeply self-contained nature of containers and their images

Not really. People only use Nix because it doesn't randomly break, bitrot or require arcane system setup.

Unlike containers. You really need k8s or something like it to mould Docker containers into something manageable.

1
303132
135