Better HN
topnewbestaskshowjobs
Log inSign up

dblohm7

4,281 karma · joined Dec 1, 2011 (14y ago) · 992 submissions

Member of Technical Staff, Tailscale Inc. Ex-Mozilla, 2012-2021
Submissions

comment 1d ago · link · parent

> process creation is especially slow

Again, that's not an issue with the NT kernel itself; most of that time is due to the Win32 layer which jumps through extraordinary hoops to support its app model, which essentially is an emulation of 16-bit Windows.

comment 1d ago · link · parent

Those still aren't _kernel_ issues, though; those are configuration issues.

comment 3mo ago · link · parent

> It's great they did this, but the Google that is today cannot be trusted with data of public value anymore.

They never should have been trusted in the first place.

comment 3mo ago · link · parent

I agree!

(Though you cannot call just any method asynchronously; the interface's IDL needs specific annotations and the underlying object needs to implement ICallFactory.)

comment 3mo ago · link · parent

Cancer is not the only complication...

comment 4mo ago · link · parent

There are projects such as Halide[1] that actually allow you to achieve performance without needing to resort to asm.

[1] https://halide-lang.org/

comment 4mo ago · link · parent

They've been available natively on Nightly with some basic UI support since they were first implemented a decade ago. Some other pre-release builds have them too but it's been too long and I cannot remember which ones did or didn't.

comment 5mo ago · link · parent

Ah, that explains why there is still NPAPI plugin support.

comment 5mo ago · link · parent

The modern native frontend APIs aren’t exactly lightweight themselves…

comment 5mo ago · link · parent

Yak shaving is only fun when you don't have managers who don't care about the circumstances breathing down your neck.

comment 5mo ago · link · parent

> Plus privacy.resistfingerprinting isn't enabled even when selecting "Strict" "Enhanced Privacy Protection" in the settings, great job there Mozilla.

That pref is there for the Tor Browser.

comment 6mo ago · link · parent

The SpiderMonkey team always had t-shirts made up of these.

comment 6mo ago · link · parent

Respectfully to the American "this isn't that big a deal crowd": you're looking at it from the perspective that this is a commonplace occurrence in your country.

IANAL but I have filed privacy complaints in the past at both the federal and provincial level. For the last 26 years in Canada it has been illegal for personal information to be bought and sold on a whim; the person to whom the information applies is considered to be the owner and is entitled to be in control of how their information is used, and may revoke consent.

You have an entire country where institutions operate under the expectation that personally identifiable information isn't easily available like this (sans the usual data breaches). Those institutions are probably less prepared to deal with this data floating around everywhere than in a society where it is essentially a free-for-all.

comment 6mo ago · link · parent

I mean, it's not really optional for Canadians _not_ to sign up for the list. It's the official list of electors. If you're a citizen, you're going to end up on the voter list one way or another.

comment 7mo ago · link · parent

I don't know whether is still does this, but 8-9 years ago I discovered that Acrobat overwrites the COM registry entries for Microsoft Active Accessibility (oleacc.dll) such that any application attempting to instantiate MSAA gets the Adobe DLL instead of the system DLL. This actually broke the stuff I was working on and had to override it in my app manifest to forcibly use the system version.

I inquired about it and got some BS about how they absolutely _had_ to do this to intercept MSAA instantiations across the system, when in reality they were using a global solution to solve a local problem.

comment 8mo ago · link · parent

And if I may add a corollary: Measurement doesn't need to be held off until the end of the project! Start doing it as soon as you can!

comment 8mo ago · link · parent

I too learned this the hard way, via a supposedly concurrent priority queue that did quadratic-time work while holding a lock over the entire thing. I was told that "premature optimization is the root of all evil."

Sorry, folks, but that's just an excuse to make dumb choices. Premature _micro_optimization is the root of all evil.

EDIT: It was great training for when I started working on browser performance, though!

comment 8mo ago · link · parent

Agreed. Nitpicking about indirection is definitely a "premature micro-optimization is the root of all evil" moment.

When I worked on Firefox, we eventually had to remove a bunch of indirection (the interested can actually search bugzilla.mozilla.org for deCOMtamination for some instances of this), but that project wasn't a thing until there was clear evidence that there were problems with virtual function calls on hot paths.

comment 9mo ago · link · parent

Essentially, yeah, but of course you wouldn't want to use any Tailscale trademarks.

Tailscale is engineered under the assumption that any client connected to our control plane could potentially differ from our canonical OSS codebase.

comment 9mo ago · link · parent

I really love VFX in the period between Star Wars and Jurassic Park. To me it will always be the "golden age" of VFX.

comment 9mo ago · link · parent

Essentially this: OSS operating systems get OSS GUIs.

comment 9mo ago · link · parent

(Tailscalar here) To be clear: it's only the GUIs that are closed source on selected platforms.

comment 9mo ago · link · parent

This is a terrible idea! _Maybe_, _maybe_ using only the documented APIs with only the documented parameters.

Unfortunately it makes too many false assumptions about interoperability between Win32 and the underlying native API that aren't true.

For example (and the Go runtime does this, much to my chagrin), querying the OS version via the native API always gives you "accurate" version information without needing to link a manifest into your application. Unfortunately that lack of manifest will still cause many Win32 APIs above the native layer to drop into a compatibility mode, creating a fundamental inconsistency between what the application thinks the OS capabilities are versus which Win32 subsystem behaviours the OS thinks it should be offering.

comment 9mo ago · link · parent

I'm not trying to troll here, asking seriously: are there any immediate-mode GUI APIs with good a11y?

comment 9mo ago · link · parent

> Well, it's not. It's barbaric and primitive. A warning is no justification.

It's actually Singapore that turned me against the death penalty. I saw a photo on a news site one day showing a casket in Singapore, with some kind of placard showing the decedent's name, DOB, and then the date that they "died."

They didn't die due to illness or injury; they died because Singapore executed them. That was it for me.

comment 9mo ago · link · parent

Citation needed.

comment 9mo ago · link · parent

Similarly, I've seen this in enterprise IAM software, but again as data, not as code.

Imagine a very large company that has a heterogeneous setup: say it has plain LDAP for *nix machines and AD for Windows. The IAM stuff has connectors for both, and encoding the org chart into that product enables it to synchronize that structure into both systems.

comment 10mo ago · link · parent

> For the desktop Mac, the base OS is essentially UNIX. It is much more secure by default than Microsoft Windows

Citation needed.

comment 10mo ago · link · parent

https://dblohm7.ca
12345
34