Better HN
topnewbestaskshowjobs
Log inSign up

gspr

3,159 karma · joined Oct 11, 2019 (7y ago) · 1,939 submissions

Submissions

comment 1d ago · link · parent

No. You see, some of us believe that rules are derived from ethical considerations, not the other way around.

If you find a legal loophole (who am I kidding, it won't even be a loophole) that lets you screw someone over massively, that seemingly makes it OK by your logic.

(The analogy in this comment has nothing to do with the Riemann hypothesis breakthroughs. It's merely critique of your f'ed up view of right and wrong.)

comment 1d ago · link · parent

Mathematicians publish intermediate results all the time. Thousands of person-years have been poured into intermediate results on the journey to the Riemann hypothesis.

comment 1d ago · link · parent

Oh yeah, I forgot, we're supposed to not have emotions. Why, again?

comment 1d ago · link · parent

Your Olympic analogy should be adjusted: imagine, instead, an olympian who trains for years, only to be bested by someone due to them wearing better shoes.

In fact, I'd go further: due to them hopping in a taxi.

comment 3d ago · link · parent

Sane operating systems provide a store of trusted certificates, and anything not in the store is distrusted. When the eMudhra debacle hit, they were removed from these stores. This was an update to the certificate stores, not to TLS libraries.

comment 3d ago · link · parent

The operating system provides the CA store. It is independent of the TLS libraries. The TLS libraries parse and load certificates from the OS store to verify connections.

This is standard practice everywhere outside of the embedded world (if there is no OS, the case for embedding certificates into the library becomes valid). Are you saying that the existing TLS libraries holding up the world are "half" ?

comment 4d ago · link · parent

"Promoted". Some people wanna do.

Jesus, this is gonna end up being middle managers all the way down. Get a grip!

comment 4d ago · link · parent

But the database of trusted CAs is kept and maintained independently of the TLS library, obviously! It's data, not code. And it's agnostic as to which library uses it.

Any comments on my clarification about your misunderstanding of long term support?

comment 4d ago · link · parent

> You do need to keep TLS up to date as the network changes around you.

Yes. Which is precisely why you need cryptographic libraries that take long term support seriously and don't just fix whatever the latest version is.

> Just recently you needed to block eMudhra intermediate certificates.

Why on earth is your TLS library responsible for your CA certificate database?!

comment 4d ago · link · parent

> boringssl

"Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability." (Their README).

> LibreSSL

That does indeed still seem like the most promising avenue. But it is "just" a fork of OpenSSL.

> rustls

It relies on one of two crates for cryptographic primitives, both of which have zero regard for long term support. "Latest release or bust" doesn't cut it for crypto.

comment 4d ago · link · parent

> BTW, OpenSSL seems to be a rather low quality implementation of a very low quality set of APIs. Stay away.

Well sure, but the world doesn't seem to be able to agree on, or put resources into, a strong contender.

I'm usually for heterogeneity and diversity in the software ecosystem, but for cryptography I'd be happy with a single high-quality "anointed path". Because cryptography.

comment 5d ago · link · parent

> the new elite consensus is “who cares, AI will fix it.”

Indeed. It was already a big problem that too many people were disengaged from our big problems. Now experts and leaders alike are diving headfirst into a future where everyone is encouraged to disengage their mental facilities.

In the dark days to come, all hands will be off the steering wheel. Almost everyone will myopically focus on driving their AI (operating on the whims of sociopathic trillionaires) to solve problems they no longer understand, without anyone comprehending the big picture anymore. Those who protest will be viewed as crazy.

I'm scared.

comment 5d ago · link · parent

I'm so sad XMPP never took off. I remember being annoyed by the fragmented state of support for pretty vital "extensions" though. Has anything changed in that regard? I remember there was talk of consolidating a bunch of must-have extensions, like E2EE, into a single highly recommended one – did that go anywhere?

comment 6d ago · link · parent

This sounds like a fantastic solution, especially for non-high-volume stuff. Would you consider writing down your setup and experiences? I'm sure it'll be a hit on this site!

comment 6d ago · link · parent

I'm pretty solidly in the AI skeptic camp. But adversarial use of AI to improve software security is a good thing in my mind.

I'd be more worried if the response isn't more secure development practices in better languages, but instead use of AI as a defense. Then we're truly talking about burning down the internet.

comment 1w ago · link · parent

I don't have a YouTube account. I decline its cookies. The thinking being that if I forget to poll a channel for new videos, it's probably not a good enough channel to deserve my attention anyway.

I must admit I poll suckerpinch nearly every day. Tom7 is without a doubt the best YouTube has to offer.

comment 1w ago · link · parent

Agreed.

comment 1w ago · link · parent

Another datapoint: I also struggled reading it. But I enjoyed it a lot more than slop.

comment 1w ago · link · parent

Very interesting finds for sure. But taking the "trusting user-provided code" as an example: isn't this just a case of malicious code being malicious? I understand the point that the malicious act comes through memory unsafety, and it's a big gotcha that safe Rust (i.e. Rust without `unsafe`) can trigger memory unsafe behavior. But the code doing it is still acting maliciously (by having an `AsRef` implementation that returns different slices at different times). And the code being abused (the one that does the unsafe indexing) does have `unsafe` – so this is a case of the user writing unsafe Rust that interacts with malicious safe Rust.

I don't know if it's ever been in Rust's threat model to handle malicious code.

comment 1w ago · link · parent

Well yes exactly, because essentially nothing else has a stable ABI.

comment 1w ago · link · parent

Thank you for your work, it's always interesting to read your take.

Forgive the naive question on something that's probably been discussed many times over, but could there be a middle ground when it comes to a stable ABI and generics? Something where the person building the library for dynamic linking chooses which explicit monomorphizations they'd like to provide for each public generic function (and type), and the compiler stamps out all combinations of those concrete instances? Could the way these are named and stamped out be standardized so that this could be treated as a stable ABI for non-generics?

It seems to me that it would at least cover distros: they could make a pass over all their Rust code and determine which monomorphizations are needed throughout the distro.

comment 1w ago · link · parent

Dynamic linking is useful. Not to everyone and not always, but it is.

comment 1w ago · link · parent

Well yes, but then your interface is a C ABI. That's fantastic if the side using my library is any language where C is the only common ground. When the application side is Rust though, it leaves a lot to be desired. It would be delicious to actually interface in a way that respects Rust!

Hell, even if all exposed functions and types would need to be fully monomorphized at the interface, it would be a lot nicer to pass a `&'a [i64]` rather than a `const * int64_t` together with a `size_t n` and have to marshall the slice on both sides.

comment 1w ago · link · parent

How on earth can you possibly bring yourself to using the words "hand written" in your GH about section? Please, I'm losing my mind here. Words mean something.

comment 2w ago · link · parent

Less than two months?

comment 2w ago · link · parent

Is there literally no market for a single lineup of "non-bling" cars as far as IT goes? I haven't met a single person, even non-geeks, who like this shit. Ok, some might like a big screen for navigation. But they don't like the system powering it becoming obsolete 3 years later.

I do understand that selling your customers' data is lucrative, but of all the car makers, not a single one thinks there's a market for an alternative?!! I don't understand.

I'm also slightly worried about HN's "solution": buy cars old enough not to be enshittified. Sure, I get the instinct, but there's a limit on how long that'll work. Much better would be to be politically engaged and work for a better future where this shit is illegal.

comment 2w ago · link · parent

Come on! They're selling you books in the $20 range and using free (if slightly tedious) videos to promote said books in a polite and non-pushy way. I can't believe this upsets people!

comment 2w ago · link · parent

1) I doubt The Economist is suggesting that technical complexity is the reason they think that something like Wikipedia won't happen again.

2) You still have LAMP, even if the A is now often Nginx and the M Postgres. That stack is at least as easy as back in the day (signed someone who in my teens loved PHP so much that I made CLI utilities and IRC bots with it, auch). But that's besides the point, because several programming languages and web frameworks now come with their own built-in web-server for development, so you don't even need a stack to get started! This part is easier today.

comment 2w ago · link · parent

The first thing on the page is the book they sell!
12345
65