2,570 karma · joined May 8, 2019 (7y ago) · 1,261 submissions
comment 1y ago · link · parent
Is #:package <pkg> really so much nicer than #r "nuget: <pkg>" as to deserve deviating from .NET Interactive, F# and the existing NuGet picker? (It could be, if properly argued!) Has there been any effort to have the rest of .NET adopt this new syntax or share concerns?
On that note, is any language other than C# supported for `dotnet run`? Is the machinery at least documented for other MSBuild SDKs to use? Considering how dotnet watch keeps breaking for F#, I suspect not.
comment 1y ago · link · parent
https://github.com/dotnet/interactive/blob/main/docs/nuget-o...
Now you've created a new dialect.
comment 1y ago · link · parent
People frequently travel to major cities for concerts, do you expect them to travel twice to purchase the tickets? Either you join a much wider network of sellers than that, or this would only satisfy people already living not too far from the venue.
comment 1y ago · link · parent
Since you're here: Is it reasonably feasible for users to add declaration files for code exported from the host application? The lack of documentation got me stuck the last time I tried to embed Luau. Aside from that, I'm very excited about it!
comment 1y ago · link · parent
These types are all .NET interfaces, which are reference types, so they're allocated on the heap. .NET's escape analysis can sometimes move reference types to the stack, but this feature is currently very limited and didn't even exist until .NET 9.
ZLinq uses generic structs to prevent these allocations at the expense of some really verbose intermediate types.
comment 1y ago · link · parent
Consider sharing this in discuss.ocaml.org as well!
comment 1y ago · link · parent
Now, it's been barely a couple of months since I reinstalled Ubuntu, and a couple of weeks since I found out the latest release runs even worse, so this is new to me. I don't plan to use Windows at home ever again, so I could sell my GPU and buy AMD, but so far I'm simply disappointed.
comment 1y ago · link · parent
TypeScript desperately needs a way to derive type-guarding functions from types (and so does every gradually-typed language). There're libraries for this but you need to define the types themselves through combinators.
comment 1y ago · link · parent
This one I disagree with. Type assertions with runtime checks could keep the typed fragments sound, unlike TypeScript and Python. Also see Elixir's strong arrow proposal for how to encode which assertions can be elided on function calls (because the function will assert them already).
comment 1y ago · link · parent
My chance at sharing Fossil is not Relational. The two times it's been submitted to HN it didn't gain votes.
https://fossil-scm.org/home/doc/trunk/www/fossil-is-not-rela...
comment 1y ago · link · parent
Could you elaborate on this? It's a valid resolution, but I consider Elixir to be on the pragmatic side of the functional paradigm, so I'm wondering what pushed you away.