Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

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

Submissions

comment 2y ago · link · parent

Allegedly, declarative shadow DOM lets you declare the template next to the prerendered slot, without JS.

comment 2y ago · link · parent

Take it from this engineer employed at the Foundation for ten years.

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

The Foundation website also states it, but they try to weasel word their way around it: Firefox is not listed as one of their programs but as being maintained by the Corporation, which shares its revenue back to the Foundation (not the other way around).

comment 2y ago · link · parent

> People donate for the browser

Then they're doing it wrong, because exactly zero donations to the Mozilla Foundation go to Firefox, that's a Mozilla Corporation project. To support the browser, purchase their side services instead.

comment 2y ago · link · parent

Because complex systems in general are known to enter critical transitions when pushed hard enough, and we do keep pushing.

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

comment 2y ago · link · parent

Of course he wouldn't, the whole point of Turing's essay was that talking about the "intelligence" of computer systems is meaningless, and we should be focusing on their actual capabilities instead.

His test was an example of a target that can't prove intelligence either way, but can still show a useful capability of a computer system. And he believed it wasn't as far away as it actually was.

comment 2y ago · link · parent

Universal approximation doesn't mean we've got (or ever will) algorithms to learn good enough models for any problem and the resources to run them, just that those models conceptually exist.

comment 2y ago · link · parent

> most runtime improvements benefit all languages that target it

And most CIL ABI additions to the CLR driven by C# totally break them, because the C# ecosystem adopts them immediately (recently even breaking changes in the shared framework!), and there's no modern equivalent to the Common Language Specification.

Plus, no library writer would care if there was a CLS 2.0 because every CLR language other than C# and F# is in maintenance mode or simply abandoned.

comment 2y ago · link · parent

The usual censor for it is b****fuck, that should do it.

comment 2y ago · link · parent

I really like the EUPL on paper, and I've been told by Joinup's legal support that it should be a valid "change licence" for BUSL, in case I ever want that.

But I'm concerned about the compatibility clauses becoming a loophole for hostile forks. Then again, half the point of the EUPL is admitting that only a court can judge what is or isn't a derivative work (unlike the legal fiction in the GPL's viral clause), so I guess these uncertainties are part of the deal.

comment 2y ago · link · parent

Flip model swap chains were already available for D3D11 since DXGI 1.2 (Windows 8) and also as an extension to D3D9 (but not 10/11) since Win 7.

comment 2y ago · link · parent

Flip model swap chains were already available since DXGI 1.2 (Windows 8) and could be used with D3D11.

Strangely enough, Windows 7 also supported the flip model, but only as an extension to D3D9, not 10/11.

comment 2y ago · link · parent

Godot 4 removed the GLES2 renderer, and the C# export for Android/iOS/web are still experimental due to the migration from Mono to .NET. Those already block a lot of people from upgrading.

As for GLES2, the devs originally convinced themselves that a Vulkan-only renderer for Android was viable on the current market, but they had to backtrack and add a GLES3 "compatibility" renderer, which AFAIK has also proven insufficiently compatible with actual low-end devices.

comment 2y ago · link · parent

I read miss here as "failed to be on time for", not as "long for". They specifically say "I wish I was around when [...]"

comment 2y ago · link · parent

This is common with loan words, though: Sahara, chai, manga, naan, salsa... They're all generic words which non-native speakers attach context to.

comment 2y ago · link · parent

I'm not related to hnlmorg, but I'm assuming the project they refer to is mxtty [1], so check for yourself.

[1]: https://github.com/lmorg/mxtty

comment 2y ago · link · parent

I think you're confusing the roles of terminal emulator and shell. The emulator mainly hosts the window for a text-based application: print to the screen, send input, implement escape sequences, offer scrollback, handle OS copy-paste, etc. The features you mentioned would be implemented by the hosted application, such as a shell (which they've also implemented separately).

comment 2y ago · link · parent

> Rap is just noise, they aren't even singing

> Tiktok is not art

These two sentiments aren't that uncommon amongst gen z either, in my experience.

comment 2y ago · link · parent

> Grok will tell you it has guardrails if you ask it something like “what are your limitations on image generation?”

Making leading questions to an LLM is a sure way to have it hallucinate. The only way to test the capabilities of a model is to try them out.

comment 2y ago · link · parent

Entropic says their bills were discounted to still meet the per unit cost target. Isn't that a falsifiable statement that contradicts Defcon?

comment 2y ago · link · parent

> What was he protesting before the event even started when he injected the screen asking for money?

The hardware vendor was stiffed and Defcon scratched their trademark from the badges, so this man added an easter egg asking for donations to them, not himself, as far as I understood.

comment 2y ago · link · parent

You mostly have to look at the time frames between C# adding features with new ABIs and the time it takes for F# to announce they can actually consume them.

For example, F# used to crash the CLR with InvalidProgramException when setting C# `init` properties. [1] It took almost three years, I think, to release the fix.

[1]: https://github.com/fsharp/fslang-suggestions/issues/904

Another rough example would be spans, and their more general feature, byref-like types (ref struct). These required plenty of compiler support, as they've got special lifetime rules (and more pending to implement `scoped`), they are banned as generic type arguments, and they require ignoring a special Obsolete attribute.

While these were added to F# timely, many language features still break when they interact with them: local functions, computation expressions (even the built-in ones), recursive type inference, and generic intrinsic methods such as `raise`, `defaultof` or `typeof`.

This wouldn't be so bad if C# hadn't "spanified" the shared framework and the entire ecosystem without CLS alternatives for many APIs.

So, these natural F# snippets don't compile:

  let numbers = [| for span in text.EnumerateLines() -> Int32.Parse span |]

  let checkNonEmpty (span: ReadOnlySpan<'T>) =
      if span.Length > 0 then span else failwith "Expected non-empty span."
Edit: And I haven't even gotten into the libraries that use reflection expecting you to declare types in ways F# doesn't support.

comment 2y ago · link · parent

> It's impossible for a .NET library to not work with F#.

This isn't true, C# has been adding new ABI features that didn't interact correctly with F# until the compiler and tooling catched up. For example, the spanification of C# was a huge a pain point and it still is when it comes to tooling.

comment 2y ago · link · parent

I see now that not all the PS files are for tests, there's one adapter PS module for compatibility.

But that's still damning: If Microsoft themselves are building their PS modules as ConvertTo/From-Json wrappers for native CLIs (or being shipped at all, like winget's PS module), instead of shipping C# cmdlets and a domain model for .NET, then PowerShell is superfluous and we should be dropping it, even on Windows, for a JSON-aware shell or a more common shell with tools like jq.

comment 2y ago · link · parent

> I am still unsure how I can tell it pointed to twitter originally.

You can usually find a comment by dang saying something like "we've changed the URL from <old link>".

comment 2y ago · link · parent

Well, referendums are kind of direct democracy, so yes, I agree those are at increased risk of dumb voting. But the actual problem there, to me, is such complex decisions being put to referendum in the first place; specially to a simple majority vote.

Also, gay marriage isn't really a complex issue: Even the dumbest person understood the consequences of banning it, they just were that sadistic. Agreed on Brexit though.

comment 2y ago · link · parent

But we don't vote on complex political decisions; we vote on our representatives, people whose interests allegedly align with ours, which is much simpler to understand, and delegate the complex decisions to them according to their qualifications.

Whether the candidates themselves, all of them, can be trusted is a much more serious problem with democracy, I think, than "dumb" people affecting the vote.

comment 2y ago · link · parent

> DSCv3 doesn't depend on PowerShell. You can use DSCv3 without PowerShell installed

So what's the point of PowerShell if most new CLI tools from Microsoft aren't PS modules and can't take advantage of the .NET object model, even on Windows (see also winget)? Why is DSCv3 under the powershell organisation if it's just a regular Rust CLI?

comment 2y ago · link · parent

Gradual typing could still keep some static guarantees if the static part were sound, e.g. you couldn't assign a dynamic-typed integer to a string-typed variable without checking the type at runtime first; which TypeScript isn't.

Elixir's new type system does much better here, as it determines whether a function actually guards for the right type at runtime ("strong arrows") and propagates the guarantees, or lack thereof, accordingly.

1
323334
43