HNHacker News
TopNewBestAskShowJobs

alex7734

666 karma · joined April 30, 2022

submissionscomments
alex7734··on Mozilla Standards Positions Opposes Web Integrity API
I guess. But if the key stays private it could power a scraper or a proxy.

Just wondering just how expensive it really is to rip the key out (or to have access to the tools to do it)

alex7734··on Apple already shipped attestation on the web, and we barely noticed
> You could also just emulate an entire windows OS + TPM and have the emulator do it it sounds like

Yes, but your emulated TPM is not on the approved list. To impersonate an approved TPM you would need to pull the keys from a real TPM which requires (probably very expensive) semiconductor lab tools and trashing the chip.

alex7734··on Apple already shipped attestation on the web, and we barely noticed
> but you can just as easily mess with their memory space at runtime after the fact

You can only do that because Windows lets you do that. That's something that can change.

> It seems to me like you can only guarantee no tampering in an actually locked down system, like modern mobile devices.

Yes, the whole point of remote attestation is to be able to prove to the other party that your device is running an approved and fully locked down OS+browser combo before it sends you any content.

It does this by putting the code that creates this guarantee in the only place that you can't (easily) change: in the silicon of your CPU.

alex7734··on Mozilla Standards Positions Opposes Web Integrity API
Right now you can change how websites are displayed on your device, block ads, automate internet browsing and download content to keep it without the consent of the website which Google doesn't like.

With enough websites using this API to block "untrusted" devices, since Google is the one that decides who is "trusted" that gives them an iron grip on what you can use to browse the web.

If they decide to not grant your competing project "trusted" status, you now cannot build a competing device, OS, or browser. And since Google owns the most popular browser and one of the most popular OS that gives them little incentive to allow competition.

Without a "trusted" browser that can scrape the web you are also effectively blocked from building a competing search engine.

Basically this API serves to cement Google into a position of power.

alex7734··on Mozilla Standards Positions Opposes Web Integrity API
How expensive would it be to rip the signing keys off the TPM? People used to do it to get free satellite TV but I imagine it's way more expensive now with the smaller transistor sizes
alex7734··on Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
Captchas only let you verify that the user is human, this API lets you do more: it lets you verify that your web application is going to run unmodified and that the user is going to see what you want him to see, _everything_ that you want him to see and nothing else.

Unlike captchas with this you can remove adblockers, greasemonkey/stylus edits, extensions adding download links to your youtube videos, etc, from the picture.

alex7734··on Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
That's nice to know, I'll give it a try soon then!
alex7734··on Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
> uBlock Origin doesn't work on mobile Chrome.

That's true, I was talking about desktop, I probably should have not mentioned the phone extension thing.

In Android I use Bromite (a Chromium fork) which I should probably replace since it's fairly outdated at this point.

But you're wrong about me not using Firefox out of spite, the real reason I don't use it is because it is (or apparently was according to the other replies) slower to the point it is noticeable, at least on my desktop (and even more so on my old phone). The rest is just why I don't support them despite being worse.

alex7734··on Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
> after all, Firefox is a perfectly viable alternative to Chrome that very few people use

I don't use Firefox because it's slower than Chrome and because their behavior regarding limiting which extensions are available in phones, requiring signed extensions, Firefox Pocket, ads in new tab page, etc, does not exactly give me confidence that Mozilla truly has my interests in mind. In fact I bet they'll implement the nightmare DRM API once it's done swiftly and without complaint lest their money flow suffer.

If Mozilla ever decides to stop screwing around, clearly position themselves as an ally of the consumer, clearly express support for adblockers and put resources into making the browser faster and better and more customizable instead of whatever makes their CEO richer then I'll switch to Firefox even if it is a bit slower or has some flaws.

In the meantime uBlock works right now in Chrome which makes it usable, so since Chrome is the fastest right now, Chrome it is.

alex7734··on Ask HN: Why is nobody manufacturing low tech electric cars?
Sorry but I don't understand your point.

ICE cars also need gas stations, also need to pay for their fuel and also get cold when it's cold yet we've managed to do just fine for a long time without screens or even smartphones.

alex7734··on Leaks Can Make Natural Gas as Bad for the Climate as Coal, a Study Says
Yet another externality that is not accounted for when people say nuclear as an alternative is the devil.
alex7734··on San Francisco may soon get 24/7 driverless cabs. City leaders are fuming
MasterCard can and does decide who can or cannot take payments and nobody gives a damn either
alex7734··on European Union votes to bring back replaceable phone batteries
It's too good, as long as you don't need 4k, it still runs the newest games at full quality with more than acceptable performance. It has 11GB VRAM. And it's a 6 year old GPU.
alex7734··on European Union votes to bring back replaceable phone batteries
Engineers have become experts in selecting components so that they fail right after the warranty period.

Replaceable batteries just means they will make something else weaker instead, preferably something that fries the device once it fails (see https://youtu.be/7cNg_ifibCQ?t=238).

It's too dangerous not to, as nowadays phones (or computers in general) don't really need to be upgraded that often to remain useful. No manufacturer wants a repeat of the 1080Ti.

alex7734··on Alphabet selling Google Domains assets to Squarespace
Isn't it already? The list of products killed is so long that most people have probably got burnt at least once by Google.

https://killedbygoogle.com/

alex7734··on The “smolnet”, build for friends and friends of friends
It's just a way of saying small used for "cute" stuff (cats, etc).
alex7734··on Reddit is Fun will shut down on June 30th in response to Reddit API changes
With all these protests and shutdowns it seems there's a decent chance of reddit dying very soon. It's a shame because adding "site:reddit.com" to my Google queries was the only way to avoid (most of the) SEO bullshit and get opinions by real people.

Hopefully it gets replaced soon...

alex7734··on Solid state active cooling on a Mini PC
In Linus' video it was said that it reverses flow for a second to remove the dust from the filters
alex7734··on Memory Allocation
It's a legacy app
alex7734··on Memory Allocation
To do that you either need a structure that you update every time a pointer is created, copied, moved or deleted (too much overhead), or you need a way to scan the entire memory and get all the pointers. And at the point where you have a piece of code that knows where every pointer is, you already know which pointers aren't used anywhere anymore so it's a waste to not have it also call free() for you.

Once you have it call free() for you, your piece of code is now a compacting GC, like Java's for example.

alex7734··on Memory Allocation
If I recall correctly the kernel part of things would return an out of memory error which the user mode DLL translated to that weird error (sometimes, other times it would just say "out of system resources", it depended on what widget the bitmap that overlapped the two memory regions belonged to).

Here's a 2003 forum post from someone else having the same problem: http://www.delphigroups.info/2/1/749064.html

alex7734··on Memory Allocation
Yes and no, it took me from 8am to 3am once we decided it needed to get fixed but really it sat on the app for years, it only happened on a background process that sent print jobs on a timer, since it used Windows GDI to compose the image we sent to the printer it was affected (our "frontend" should've been affected too but never was, I guess because it had a different memory usage pattern).

We just had it restart itself and try again whenever it got one of those errors when printing but eventually we wanted to add a feature that required the process to not die, and by that time I was already 99% sure that it wasn't something in our code and I had already ruled out threading issues.

I ended up putting it in a VM with a kernel debugger attached and having a script make a snapshot and make it print over and over until it errored, then following along in IDA until I saw what was going on.

Having a way to trigger it (by restoring the snapshot) on demand helped a lot, otherwise it would have taken forever to make sense of it as it could sit without crashing for nearly an hour.

alex7734··on Memory Allocation
> When we free memory, we should make sure that if the block we return to the free list is next to any other free blocks, we combine them together. This is called "coalescing."

A little offtopic but the default Delphi 7 memory allocator did this, except that it also merged blocks that it obtained from different OS allocation calls.

This worked fine for regular usage, but if that memory was ever used for Bitmaps for UI stuff, it wouldn't work: Since Windows does some of its UI stuff in kernel mode, before doing anything Windows would attempt to lock the entire allocation's VAD entry to prevent you from messing with it in another thread while it was using it. If the Bitmap you were working on happened to belong to two different OS-level allocations, this lock function would fail since it wasn't meant to handle that case.

This would lead to random, extremely cryptic errors such as ERROR_NO_SCROLLBARS "The window does not have scroll bars." since the lock call was deep in the stack and the callers replaced the error with another one as it bubbled up.

In the end we had to replace the allocator to avoid that issue. That was a fun day I spent debugging that.

alex7734··on HP rushes to fix bricked printers after faulty firmware update
You buy a printer that you _know_ worked with offbrand ink when purchased (because it did), then one day HP remotely updates _your_ printer that you paid for and now it doesn't (and of course you are not allowed to revert the update), making it completely useless for the purpose it was purchased unless you go and pay HP for their extremely overpriced ink.

Your printer may work but now it's almost cheaper to throw it away and buy another one than refilling it. The only way it could be worse would be if HP decided to triple their ink price the same day.

If BMW updated and locked your car unless you used BMW branded wiper fluid (i.e. water) they'd be sued and scorned all the way to outer space, but somehow when a printer company does it it's okay.

alex7734··on KeePassXC pull request to add basic support for WebAuthn
KeePass's userbase is negligible, banking apps didn't care about those that use rooted phones and won't care about KeePass users.

My guess is that the big groups will lobby for this to be turned into a checkbox in some "best practices" list that auditors will enforce into the usual suspects in the name of "safety and security": banks, shopping sites, government sites, etc.

alex7734··on Performance excuses debunked
In some sectors software quality truly does not matter beyond a certain point (and the bar is really low). The customer very rarely has the resources or the time to try all the alternatives, especially if switching afterwards is expensive so if your marketing is good and your product works and has the needed features, you get sales, and if it's not, you don't.

Is it terrible that the app takes minutes to add a few thousand numbers? Of course it is. But it does not matter, the customer is used to software being terrible so he won't waste the time and money to switch to another software that is probably also terrible.

alex7734··on Gradle still sucks
The general complaint is that Git's UI requires you to understand how it works internally to be able to use it (properly).

IMHO Git is fine, and forcing the complexity on the user is not a big deal as Git is simple enough... as long as you forget that submodules ever existed. Git's approach really shows it's problems when you use submodules:

- Want to clone a repo with submodules? Gotta know beforehand to use git clone --recursive, or remember to use git submodule update --init --recursive after cloning.

- Want to pull? Now you have to use git pull --recurse-submodules instead of git pull.

- Want to checkout a branch? Now you have to remember to do git submodule update --recursive after checking it out.

Etcetera. Instead of being handled transparently by Git like they should be now every time you do something in Git you have to remember to do something else to babysit the submodules.

It's complicated to the point that a lot of people come up with their own alternative instead of using submodules (git subtree, git subrepo, etc)

alex7734··on Ask HN: Any Domain Registrars That Aren't Crap?
I've used OVH for years. I only hear from them when it's time to pay up every year. Zero problems so far.
alex7734··on Software firms across US facing tax bills that threaten survival
Seems like a perfect way to prevent software companies from quickly growing their engineer count.

The question is, was this done on purpose?

alex7734··on Valve/Steam Punishing Users for Marking Negative Review Useful
The goal of the feature removal is obviously to hide (censor) the displeasure of the audience towards certain videos, so I disagree that it is unrelated.
← PreviousPage 3 of 5Next →