2,570 karma · joined May 8, 2019 (7y ago) · 1,261 submissions
comment 2y ago · link · parent
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
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
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
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
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
comment 2y ago · link · parent
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
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
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
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
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
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
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
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.