Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

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

Submissions

comment 1y ago · link · parent

In the particular case of .NET, that's not a recent thing. .NET businesses have always been adjacent to freeware/open-core.

comment 1y ago · link · parent

This was by the same author as UnityScript, wasn't it? IIRC the latter was mostly just Boo in a JS trenchcoat, which is why both were supported along with C#.

comment 1y ago · link · parent

That doesn't explain why standard C# had to deviate further from the script dialect just for import directives. These directives don't interfere with the rest of the grammar.

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

And the trend of doing so in an incompatible way.

.NET Interactive had already added a directive for C# NuGet references, compatible with F#'s, and NuGet's picker had already labeled that syntax "Script & Interactive". But no, they had to invent a new directive.

comment 1y ago · link · parent

You were already using F#'s syntax for C# NuGet references in .NET Interactive. Even NuGet itself labels this syntax "Script & Interactive" in its picker.

https://github.com/dotnet/interactive/blob/main/docs/nuget-o...

Now you've created a new dialect.

comment 1y ago · link · parent

XHTML still lives on in the epub spec. I kinda wish we had an "epub web".

comment 1y ago · link · parent

> Sell the tickets at a small number of locations near and including the venue

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

But once tickets run out, the scalpers' price is the only price, and bots are better positioned to hold and time the market.

comment 1y ago · link · parent

It's not even DRM, just a Win32 call that hides the window from screen capture. There's no anti-tamper or protected media path.

comment 1y ago · link · parent

Wait until you hear about Google Vertex AI Studio.

comment 1y ago · link · parent

The "DRM" used here by Signal is just a Win32 function that keeps a window out of screen capture, not an anti-tamper software nor a protected media path.

comment 1y ago · link · parent

Thanks, I suspected as much!

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

Is this true of Luau as well, which is the dialect used here? Or are you talking about just Lua (which doesn't have a type checker at all) or LuaLS?

I'd check for myself but Luau's web demo seems to lack the most important feature of their dialect, type checking.

comment 1y ago · link · parent

That would be microSD cards, for which iPhones don't have slots.

comment 1y ago · link · parent

LINQ methods build up a chain of IEnumerable/IQueryable objects, which then build up chains of IEnumerator objects each time you iterate.

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

But that's what ZLinq does, not what the upcoming changes to .NET do. What's your point?

comment 1y ago · link · parent

There's no way they named their AI filmmaking tool after the last winner of the Academy Award for Best Animated Feature by accident.

comment 1y ago · link · parent

I still remember a style transfer paper which proudly mimicked a popular artist who had passed away barely a few years before (Qinni). Many AI researchers seemingly want to wear the skins of the people they rip off.

comment 1y ago · link · parent

That didn't occur to me! I'll give it a try, although I suspect that will break VRR for my setup.

comment 1y ago · link · parent

This is cool! After the removal of all 32-bit targets from the native OCaml compiler, I had grown concerned about the portability of OCaml beyond the interpreter and Jsoo. But between this and the wasm efforts I see there are more escape hatches than I thought.

Consider sharing this in discuss.ocaml.org as well!

comment 1y ago · link · parent

I had switched back to Windows after years of issues with Linux drivers, I needed a new PC, and I needed CUDA for college and tinkering.

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

Ubuntu-packaged NVIDIA drivers freeze my entire system on wake-up. The switch to Wayland and the new half-open drivers made it worse.

comment 1y ago · link · parent

I'd trade half my GPU performance for the NVIDIA drivers not freezing my system on wake-up. The new half-open ones arguably made it worse, it consistently freezes now.

comment 1y ago · link · parent

Not all lifetime problems are just a matter of learning. I've been picking up Rust every few years to catch up, and every single time I've eventually expressed a lifetime that either required unstable Rust at the time or hit a known lifetime bug.

comment 1y ago · link · parent

The problem is not that it doesn't write them for you, but that `as MyType` is way too ergonomic of a syntax for unchecked assertions, whereas checked assertions require effectively parsing the structure manually with typeof checks.

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

> Your type system cannot be sound.

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

> It uses SQLite for the format

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

> but with the experience I have had, I will actually drop heading into the functional programming world

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.

1
262728
43