HNHacker News
TopNewBestAskShowJobs

crotchfire

877 karma · joined November 5, 2023

tox:F24BB4CA08C0FC80F3555DACB585CA5AFC347BB6E433D2FAB044CAD4DBB2CB7BE26A5EE1047E
submissionscomments
crotchfire··on Linux Touchpad Like MacBook Update: 2023 Progress on Smooth Scrolling
that the "driver" (libinput) should not send "simulated" events

As long as they are marked as being synthetic, why not?

If you mark them with a "this is a synthetic event" bit, the compositor/windowmanager has all the information it needs to decide whether or not to ignore the event (because, for example, the pointer moved out of one window and into another).

The driver generates the synthetic events, the compositor/windowmanager decides whether or not to drop them. Done.

crotchfire··on Linux Touchpad Like MacBook Update: 2023 Progress on Smooth Scrolling
Putting the effort on the shoulders of App developers instead of solving it at one place leads to so much wasted developer time, that could have been put into new features or solved issues. I was shocked about how nobody seemed to notice that.

However, they are not "hobby" at all. Peter Hutterer is awesome and he understands the problem very well - but as a single developer it's hard to convince a whole community

Wait what?

I'm pretty sure Hutterer was the one who pushed it into the App layer. He's the maintainer of libinput, and refused to do kinetic scroll within libinput (like the libsynapse driver did for X11). If he wanted to do it centrally in libinput there's nobody else to block him from doing that -- he can just do it.

crotchfire··on US prescription market hamstrung for 9 days (so far) by ransomware attack
Not without showing ID, you can't. And the ID tracking system is part of the prescription system, even though there's no doctor involved.

It's why you can only buy pseudoephedrine from pharmacists.

crotchfire··on Price fixing by algorithm is still price fixing
Certain brands are designed without any consideration for repairability. Like a smartphone (on wheels). Or an "inverse Toyota".

All the median-priced-cars from these brands, which are instantly totaled by anything other than cosmetic damage, are still driving up everybody else's rates.

crotchfire··on US prescription market hamstrung for 9 days (so far) by ransomware attack
It's illegal in Mexico because the US put pressure on them.

The US said "you need to stop selling this without a prescription system". So Mexico stopped selling it entirely.

crotchfire··on US prescription market hamstrung for 9 days (so far) by ransomware attack
Nope.

And the world has not imploded.

There's a lot of chicken-little-ism around the prescription system

crotchfire··on US prescription market hamstrung for 9 days (so far) by ransomware attack
This is what Mexico does, and it works fine.

There are no prescriptions in Mexico.

Medications which are scheduled controlled substances (amphetamines, codiene, morphine, etc) are sold directly by hospitals. There really aren't many of these, and hospitals already have to stock most of them for surgical use.

Everything else is cash over the counter.

And pseudoephedrine is illegal because of pressure from the US.

crotchfire··on Fugitive Wirecard COO Jan Marsalek exposed as decade-long GRU spy
The book _Kingpin_ about LeRoux is a great read! Fun and geeky.

https://www.goodreads.com/book/show/9319468-kingpin

Especially liked the part where he is asked "so why do you keep your piles of cash in Pelican cases"? "Because they float."

crotchfire··on Why do we need for an Undefined Behavior Annex to C++
things are still a bit messy with integer overflow

No, they aren't messy, they're fully defined. Integer overflow in safe Rust works just like Java: the numbers wrap around. It's totally defined.

You can, optionally, also enable a runtime check for this wraparound. This is usually enabled for debug builds. There is of course a performance cost to doing this.

crotchfire··on Why do we need for an Undefined Behavior Annex to C++
What they are listing is not the undefined behaviors, but rather the C++ language constructs which might lead to them.
crotchfire··on Nokia is replacing Huawei at Deutsche Telekom sites in Germany
https://www.seattleix.net/infrastructure-history

Note the dates the Huawei CE12808 was put into and taken out of service. Less than one year.

crotchfire··on Hetzner switches to new billing model
used by spammers

Then why don't they just ask for ID if you want port 25 unblocked?

Doesn't add up.

crotchfire··on Hetzner switches to new billing model
It's mass-market, low margin, low risk consumer products

None of those have anything to do with demanding that customers expose themselves to identity theft risk.

crotchfire··on Attacks on Anonymity Systems: The Theory (2003)
There is a really nice specification for the authenticated encryption wrapper described above, as a standalone protocol element (i.e. usable independent of email/tor/etc):

https://eprint.iacr.org/2008/475

It's already in use by the Lightning Network.

crotchfire··on Attacks on Anonymity Systems: The Theory (2003)
> it seems like people don't talk as much about these ideas anymore

The "modernized" Internet got addicted to low-latency interactive protocols. It's basically impossible to protect these from a global passive adversary. All the cool research results (mixnets) produced protections for protocols that have been proclaimed to be extremely uncool these days (like email and bitcoin tx broadcast).

> TOR is the successor to these efforts (despite the fact that it seems controlled by the NSA).

It would be smart for a global passive adversary to invest in technologies that protect people against everybody except them and then give the results away for free.

If I were a supervillian, I would definitely do that. Then I would kill people based on metadata. I'd also be more careful about letting my minions do the kind of dumb shit that gets them multi-year conference attendance bans and 11:30pm (not a typo) speaking slots.

Damn, I should become a supervillian.

crotchfire··on What DNS Is Not (2009)
> No need to worry about expiration -- the DS record has none.

> the DS record is signed by an RRSIG record that has an expiration

You've just contradicted yourself.

> No need to worry about expiration

If that were true, which it isn't, a MITM could keep feeding old signatures to the victim.

You seem to have little idea what you're talking about.

crotchfire··on Tea.xyz causes a flood of spam pull requests to open source projects
Title needs to be corrected by appending "on github".

Sourcehut users unaffected.

crotchfire··on The business of winding down startups is booming
Payment in advance.

Bankruptcy courts don't claw back payments to vendors who are legitimately attempting to assist with an orderly wind-down. From the perspective of a bankruptcy judge that would just be them shooting themselves in the foot.

crotchfire··on Why Isn't Taxpayer-Funded U.S. Broadband Mapping Data Owned by the Public?
Of course they know. They also wisely refuse to accept responsibility for the reprecussions of being wrong.

This is the whole point of title insurance. You aren't paying for the answer. You're paying somebody to accept massive liability if the answer is wrong.

There is something called the "Torrens Title System" where the government does accept some part of this liability, subject to a huge raft of weird terms and conditions that the legislature can change unilaterally after the fact. It has only been successful in countries lacking constitutional limits on eminent domain, since in those places landowners are already subject to legislative whims anyways:

https://en.wikipedia.org/wiki/Torrens_title

It has been a flop in every US jurisdiction that has tried it.

When given a choice between transferring responsibility to somebody who can be sued (states can't) and gives you a contract, vs someone who can't and won't, it turns out people prefer the former.

crotchfire··on Why Isn't Taxpayer-Funded U.S. Broadband Mapping Data Owned by the Public?
No major ISP will give you an install commitment in writing.

I wouldn't buy a house based on a mere estimate of the availability of something this critical.

It's a gigantic clusterfuck.

The realtors know they can't fix this, but they can't exactly let it impede the source of their paycheck either. I absolutely would not take advice of any kind on internet access from a realtor.

crotchfire··on Institutions try to preserve the problem to which they are the solution
On the contrary; it's the essence of ethics.

Character is what you are in the dark.

crotchfire··on Every model learned by gradient descent is approximately a kernel machine (2020)
> Not really generalizing, not memorizing, maybe approximating ?

The term you are searching for is confabulating.

crotchfire··on What DNS Is Not (2009)
Nobody cares about that.

If I want to be sure that an email came from a certain person, I ask for a PGP signature on it.

crotchfire··on What DNS Is Not (2009)
Also, the web ‘public suffix list’ should be a DNS property instead.

Unfortunately the public suffix list has serious security implications, so it isn't safe to distribute it via unauthenticated DNS.

It also has very serious availability implications, so if you sign it with the WebPKI-maximum validity of 90 days and somehow and those signatures expire, you either get major vulnerabilities if you fail open or else an entire TLD (like ".com") breaks if you fail closed. You get to play this game every 90 days. Sounds like fun. https://www.digicert.com/blog/chromes-proposed-90-day-certif...

This is the fundamental problem with trying to have DNSSEC replace DNS (instead of augmenting it): signature revocation is Byzantine-Generals-complete, which means that you either sign something forever (like ssh keys) or for a fixed time period and treat nonrenewal as revocation. Nonrenewal-as-revocation sorta works for signing single domains; if one website's cert expires it isn't the end of the world. When you start trying to sign larger and larger fractions of the Domain Name space, moving up to ccTLDs and then the root, the stakes are just way too high.

This is why DNSSEC will never displace unauthenticated DNS.

The choices are to stick with unauthenticated DNS, or maintain both systems in parallel forever. There is no third option where unsigned DNS records just go away.

crotchfire··on What DNS Is Not (2009)
> I wish there was a better way but I can't think of one.

There is: RFC7686: https://datatracker.ietf.org/doc/html/rfc7686

crotchfire··on Institutions try to preserve the problem to which they are the solution
> On a lot of these issues I feel we're all stuck on some rollercoaster ride that almost no one really likes, but also no one really has the courage to stop.

As Will Emerson says in Margin Call:

"Jesus, Seth. Listen, if you really wanna do this with your life you have to believe you're necessary and you are. People wanna live like this in their cars and big fuckin' houses they can't even pay for, then you're necessary. The only reason that they all get to continue living like kings is cause we got our fingers on the scales in their favor. I take my hand off and then the whole world gets really fuckin' fair really fuckin' quickly and nobody actually wants that. They say they do but they don't."

https://news.ycombinator.com/item?id=31300922

https://www.youtube.com/watch?v=2f2kGHcdJYU

https://www.imdb.com/title/tt1615147/characters/nm0079273

crotchfire··on Institutions try to preserve the problem to which they are the solution
> All that held from 1940-1980

...right up until the Nixon Shock https://en.wikipedia.org/wiki/Nixon_shock

https://wtfhappenedin1971.com/

crotchfire··on Institutions try to preserve the problem to which they are the solution
Weapons engineering is also engineering but I don't want to work for arms dealers like Anduril.
crotchfire··on The Did DHT Method Specification 1.0
This project has outstanding taste.

So few people appreciate why Bittorrent (Mainline) and DNS have been world-conquering successes while everything else (cough IPFS cough) struggles. Be stateless, be sessionless -- send only packets, allocate no state. Nothing else in the computing world scales the way the Mainline bootstrap nodes and DNS root servers do. Until recently the DNS root servers were just a handful of decent workstations at universities; Mainline's bootstrap nodes still are. None of the heavyweight cloudtech can match that kind of efficiency.

You should publish a spec for Pkarr -- the layer below did-dht -- first. Right now Pkarr is a software program/library, not a specification. I think this will help you simplify and articulate your work more clearly to people who aren't immersed in it. I think it will also be extremely useful to people who don't need the incredible complexity of w3c DIDs.

The choice to sign an entire DNS packet seems very strange and probably hasn't been through through properly.

Why use DNS packets? Presumably because you want to leverage the existing infrastrucure of recursive DNS resolvers. However these resolvers do not preserve packets!. If I send a query to my recursive resolver, and it makes a query to the authoritative server, it can (and almost always does) modify the resulting packet from the authoritative before returning a reply to me. The upshot here is: if you're signing packets, almost all recursive resolvers will destroy your signatures. This is why DNSSEC signs individual resource records instead of packets. I think that's what you want to be doing: sign an RR, not a packet. If you absolutely need to sign multiple RRs, you'll need to specify a canonical way to assemble the RRs (i.e. sort them).

I really think you want to sign an RR (which might include the hash of other RRs), not an entire DNS packet.

Lastly, please take this issue more seriously: https://github.com/TBD54566975/did-dht-method/issues/80#issu... the only response given was that "the DHT-DID [spec] uses Pkarr [a piece of software]" which makes no sense... specs depend on specs, not implementations. Then the issue derailed (as unthreaded discussions always do; github is why we can't have nice things) into some side tangent about KRPC and CBOR instead of answering the issue's question "why DNS?". Pretty sure the answer is "to leverage existing recursive resolver infrastructure" but you should state that clearly -- and then think through the consequences.

crotchfire··on Mass trespass on Dartmoor to highlight England's 'piecemeal' right to roam laws
You do seem to be trolling pretty hard here, why is that?
← PreviousPage 4 of 12Next →