HackerLangs
TopNewTrendsCommentsPastAskShowJobs

mattrighetti

2,822 karmajoined hace 5 años
https://mattrighetti.com

Submissions

I made a million dollar product from my dorm room (2025)

nick.winans.io
566 points·by mattrighetti·el mes pasado·91 comments

Gallery of Processor Cache Effects (2019)

igoro.com
3 points·by mattrighetti·hace 4 meses·0 comments

Srgn – A grep-like tool which understands source code syntax

github.com
3 points·by mattrighetti·hace 5 meses·0 comments

TTY and Buffering

mattrighetti.com
46 points·by mattrighetti·hace 6 meses·17 comments

Garbage Collection Is a Hack

blog.adamant-lang.org
2 points·by mattrighetti·hace 8 meses·2 comments

Linkers (2007)

airs.com
81 points·by mattrighetti·hace 8 meses·4 comments

Writing an Asciidoc Parser in Rust: Asciidocr

bikesbooksandbullshit.com
60 points·by mattrighetti·hace 8 meses·4 comments

Track Linux Syscalls with Rust and eBPF

diobr4nd0.github.io
3 points·by mattrighetti·hace 10 meses·0 comments

Flattening JSON(b) in Postgres (2022)

ellisvalentiner.com
2 points·by mattrighetti·hace 10 meses·0 comments

comments

mattrighetti
·anteayer·discuss
Give it time. I’ll see you in 5 years
mattrighetti
·hace 3 días·discuss
> Obviously it would need to be implemented carefully, but I personally would be more than fine blowing into a tube to start my car if it meant saving 12k lives a year with a very low false positive rate.

I can already see two issues with these devices:

- They can’t reliably identify the actual driver. Criminals might simply ask someone else to blow into the device.

- With every car equipped with this safety feature, people might assume everyone driving isn’t drunk.

I’m not sure. It seems like this will only add extra hassle for law-abiding citizens while those for whom it was designed will likely find workarounds.
mattrighetti
·hace 3 días·discuss
I was simply suggesting that perhaps this level of overreach isn’t justified. Of course, any road death is regrettable.
mattrighetti
·hace 3 días·discuss
Did a quick research and saw that in 2024 there were around 12k deaths in which one or more drunk drivers were involved. Doesn’t seem like much for a country with around 350 million people. In comparison, drug causes 7x those deaths. Cancer and heart diseases even more.
mattrighetti
·hace 3 días·discuss
> It's totally plausible to me that this kind of nudge will save a lot of lives.

It’s also totally plausible that insurance companies will use this data to try and find every single tiny, irrelevant detail to not pay you. Sorry, you blinked before crashing into this other car, we won’t pay for that.

Law enforcement could also use that data to create a nice profile of yourself and how “distracted” you are while driving, and maybe suspend your license forever, why not? And wait till you find how unreliable these sensors are.

Just another surveillance tool in disguise, this is what the EU does best.
mattrighetti
·hace 5 días·discuss
If you don’t mind me asking, why and how did you make the switch? Going from webdev to compilers seems like a strong U turn that’s not easy to pull off, especially because the resources on compilers out there are extremely scarce
mattrighetti
·hace 5 días·discuss
Again, not a single word I’ve posted says “it’s un-democratic”
mattrighetti
·hace 5 días·discuss
> Am I crazy or is this website not allowing me to opt out of cookie tracking unless I sign up for a subscription?

Extremely common practice for newspapers websites, unfortunately.
mattrighetti
·hace 5 días·discuss
The criticism is about accountability, not whether the system is democratic.

The UK pm and the POTUS are both ultimately accountable through elections. In the UK, a general election can change the government. In the US, people vote specifically for presidential electors, even if it’s through the Electoral College.

The EU commission is different. People don’t vote for commissioners or the president, and they can’t vote them out in the same direct way.
mattrighetti
·hace 5 días·discuss
They’re indirectly elected through national governments and parliament. That’s different from being directly elected by citizens. Being appointed by elected politicians doesn’t make someone directly accountable to voters. Citizens don’t vote for commissioners, and it’s much harder for voters to remove or reward them based on their policies.
mattrighetti
·hace 6 días·discuss
They're not going to stop, are they?
mattrighetti
·hace 8 días·discuss
Opinionated, but Tesla's interface seems better than any CarPlay?

The thing with CarPlay that I hate the most is that it is laggy. I have it on a Series 5 BMW and Spotify has a delay of at least 4s when you select a song and when it actually starts playing. Same thing when you rapidly skip tracks - the interface changes but the speakers (or any other non-CarPlay interface) can't really keep up. It really is a joke, especially on that kind of vehicle.
mattrighetti
·hace 9 días·discuss
At the time I was in Italy!
mattrighetti
·hace 9 días·discuss
When I was little I remember rescuing a small bat, brought it around in my hands for a good hour. I guess I was very lucky :/
mattrighetti
·hace 9 días·discuss
> At first, an emergency clinic prescribed the boy antiviral medication used to treat infections caused by herpes viruses as they presumed he might have Bell's palsy, the temporary paralysis of facial muscles on one side of the face.

> Then he went to hospital on back-to-back visits, first getting a presumed diagnosis of herpes gingivostomatitis, a viral infection of the mouth and gums, then returning the following day after the right side of his face went weak, the journal states.

I know the timeline could not be accurate, but if they mentioned what happened with the bat why wasn’t rabies the very first thing they tested for? Even if the parents visited a clinic right after the fact I fear this would have ended up the same way, unfortunately, especially because rabies symptoms show up after some time
mattrighetti
·hace 11 días·discuss
> Is SQLite generally considered a reliable system?

It is arguably the most battle-tested piece of software on the planet. It's deployed basically on every single piece of tech out there.
mattrighetti
·hace 11 días·discuss
> people who travel have had their passport scanned, photographed or photocopied by pretty much every hotel they've stayed in.

This. I hate it. People expect you to send your documents on messaging apps and god only knows where they end up. Unfortunately, I fear there's nothing we can do to stop this as govs enforce this kind of operations.
mattrighetti
·hace 11 días·discuss
my.self is going to be sold for millions
mattrighetti
·hace 11 días·discuss
The trust in Mullvad was put to a test two years ago when Swedish police raided their headquarters with a warrant to seize customer data. They left with absolutely nothing because the data didn't exist to be seized.

Furthermore, Mullvad doesn't even keep an email address or a credit card on file. You sign up with a random number and can pay with cash in an envelope. If a company doesn't know who you are, uses only RAM servers, open-sources their code, and successfully clears a police raid, it's no longer just a matter of blind trust
mattrighetti
·hace 12 días·discuss
By that logic, nothing prevents your ISP, your OS, or your hardware manufacturer from logging you either. Ultimate trust is an illusion in tech.