Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

2,570 karma · joined May 8, 2019 (7y ago) · 1,261 submissions

Submissions

comment 4y ago · link · parent

I was turned off by the Windows Defender issue. I can't release consumer software written in Nim if every executable compiled with their toolchain is flagged as malware and the downloads silently halted.

comment 4y ago · link · parent

True, I guess I would too if I were a native English speaker. Even when the words are almost identical in my language, I read them as programming jargon before plain English.

comment 4y ago · link · parent

From the head element section mentioned:

> If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element […].

> Otherwise: One or more elements of metadata content, of which exactly one is a title element […].

So it is required, not just suggested, for a web page, but not for all kinds of html documents; TIL. The parser still tries to parse head contents before body contents even if you omit the head tags, so a doctype followed by title is the shortest valid full page.

I didn't mention the doctype because I believe it isn't strictly speaking an element, just a preamble, but you're right, it's required as well.

comment 4y ago · link · parent

> That is a _VERY_ minor nit

Well, the title is precisely the only mandatory element in a valid HTML5 document, even if forgetting it seems harmless.

comment 4y ago · link · parent

Oh I didn't mean as a company. In Spain, as soon as you register as self-employed (the infamous autónomo) you must pay the social security contribution, ~300 €/month at the lowest bracket, and AFAIK there's no threshold to avoid it, not even zero.

(Well, technically there's case law for a threshold but you're taken to court anyway.)

Many people here used to bootstrap their online businesses by registering in the UK, but then Brexit happened. I'm considering "free with intent to charge", but right now that's a bet I can't afford.

comment 4y ago · link · parent

> try to run at zero cost and leave it alone for a year or even better 3 years

I'd love to try, but by the end of year 2 I would have already lost 7200 € on social security contributions alone unless I evaded taxes. Running at zero cost gets really tricky in certain countries, I'm afraid.

comment 4y ago · link · parent

I vote for MANGA.

comment 4y ago · link · parent

glob and fnmatch are C functions defined in POSIX though.

comment 4y ago · link · parent

Last time I checked, removing the AZW3 DRM required third party plugins that many people had trouble making work, while the MOBI downloads were easy and DRM-free. But that was long ago, so maybe it's easier now.

comment 4y ago · link · parent

Is this to stop users from downloading MOBI files with old versions of the Kindle app and export them with Calibre? Or was that already over?

comment 4y ago · link · parent

> For one thing, in SQLite, it doesn't.

It does now, since the latest release 3.39, along with full join.

comment 4y ago · link · parent

> The content of [LiteTree] can be verified via making a diff with the sqlite amalgamation version 3.27.2

Did they actually write it on top of the SQLite amalgamation instead of a separate tree? That thing is 228140 lines long!

comment 4y ago · link · parent

Where I live in Spain I just call the local solid-waste service and leave it right next to my closest recycling bin in the time frame we arrange. They collect nearly anything large, including electronics.

Only problem I've had sometimes is them calling back claiming that I left them hanging, which actually means a scrappie collected it before they arrived.

comment 4y ago · link · parent

> I think you missed the part about it running in the browser?

.NET Core started as the Silverlight runtime, didn't it?

comment 4y ago · link · parent

I'm sure it's just a typo, but that's Bulbapedia, not Wikipedia. Got surprised for a moment.

comment 4y ago · link · parent

At the end it asks whether you want to send your scores so they can adjust their metrics for who's normal. The models themselves are pretrained by third-parties so it's just comparing scores.

comment 4y ago · link · parent

It ignores the mapping completely:

    constant.map(...) == constant
Constant functors are only ever useful if you need to thread a simple value through code that asks for an arbitrary functor. I'd say that's rare even for abstract, type-level heavy code.

comment 4y ago · link · parent

Well, Windows now uses a 9P server and client to mount WSL drives in Windows and viceversa, so maybe it's time for round two?

comment 4y ago · link · parent

Docs say it's Windows only, sadly. Shouldn't be too hard to implement the same on another toolkit, although maybe upstream isn't interested in maintaining it.

comment 4y ago · link · parent

The so-called Atom pieces are Electron, hence the similar name; it started as a component named Atom Shell. Also:

> If there is open source licensed code within VSCode, then they actually do need to release the source code

Only if the license requires it (which it doesn't), unless you think all permissive open source code should be viral and proprietary projects consuming permissive licenses should open anyway.

comment 4y ago · link · parent

Worse than unknown, it actually translates or sounds really close to "whores" in several languages. Really unfortunate workaround.

comment 4y ago · link · parent

Having access to nearly every paid LWN article on a news aggregator certainly feels like "a way to defeat our attempts to gain subscribers". But others said these links are subscriber-specific so I guess LWN is fine with it if they aren't taking the links down.

comment 4y ago · link · parent

That's not any different from the many open source projects that require a CLA.

Also, SQLite would have it easier if they had chosen, or written, an actual open source license rather than a public domain dedication considered invalid in many countries; they even sell "yes this was meant to be open source" warranties.

comment 4y ago · link · parent

> There is a language switcher that takes some 20 seconds to use

They've finally added back the "Read in English" button they removed years ago for some dumb reason when they migrated the .NET docs to a new domain.

comment 4y ago · link · parent

If it took 10 years to achieve widespread webgl 2 support it could take another 10 for webgpu. People want to make web applications today, not plan them for the future.

comment 4y ago · link · parent

They were prompted to mention it by another user, though. Maybe the comments that don't add any value are "might as well disable JS."

Specially since, I think, many of us would do it if it weren't so inconvenient. I wish websites could only run JS if they're "installed" PWA style.

comment 4y ago · link · parent

There are settings to not download media files automatically even on WiFi. To download you click on it first, and you get to see how large the file is beforehand.

comment 4y ago · link · parent

IIRC foreign companies must form a joint venture with a Chinese one that would "own" the data and processing.

comment 4y ago · link · parent

Interestingly, Firefox for Android didn't complain about it.

comment 4y ago · link · parent

Firefox has been using widevine since 2016, but the comment says they switched away from Gecko in late 2015.

Prior to that, the comment explains:

> Mozilla had an Adobe deal that did not extend to non-Firefox Gecko embeddings.

1
3940414243