Better HN
topnewbestaskshowjobs
Log inSign up

debugnik

2,567 karma · joined May 8, 2019 (7y ago) · 1,260 submissions

Submissions

comment 9mo ago · link · parent

Maybe you're missing the reference to the Morbius movie joke, which sounds surprisingly fitting. It's not like older HNers never made funny references.

Edit: Apparently you didn't.

comment 9mo ago · link · parent

> and be able to send PRs for each without having them squashed

Can't you branch off from their head and cherry-pick your commits?

comment 9mo ago · link · parent

According to the layouts on this site, there're more European layouts with parenthesis on 8, 9 than on 9, 0. (I had to zoom out to see the right-side of the comparisons.)

https://www.farah.cl/Keyboardery/A-Visual-Comparison-of-Diff...

comment 9mo ago · link · parent

Not Moltbook, ClawHub. Over 15% of ClawHub skills were malicious at one point, including the most downloaded. And they haven't even tried to solve prompt injections.

comment 9mo ago · link · parent

The winget installer just downloads vs_buildtools.exe and runs it, which first installs vs_setup.exe and then that one prompts you for the workloads you want. I believe passing --silent to the winget installer will install vs_setup unattended but not any workloads from the Build Tools.

To install it all in a single step, and beware I haven't tested this, you're better off downloading and running yourself

  vs_buildtools.exe --quiet --add Microsoft.VisualStudio.Workload.VCTools
adding whatever workloads you need.

Then you'll need to locate and run vcvarsall.bat to setup the environment, which will require some clever code if you're doing it from PowerShell instead of a .bat, and then you can finally call the compiler.

comment 9mo ago · link · parent

The Build Tools installer first installs the Visual Studio tool to select the workloads you want as well.

comment 9mo ago · link · parent

It's not their fault if donors don't read what they're donating for. This reminds me of people feeling scammed after donating to Mozilla.

comment 9mo ago · link · parent

Technically no, because EU directives aren't applied as written. They're goals for member states to make into national laws, which intentionally leaves them some leeway.

However, national law must reasonably satisfy EU directives, otherwise CJEU could determine that a member state is infringing EU law and fine them until they amend their law.

comment 9mo ago · link · parent

I agree Mono is bad compared to upstream .NET, but I used to write game prototypes with it back before .NET Core without as many performance issues as I still find in Unity. It was doable with a different mindset.

comment 9mo ago · link · parent

AFAIK, the original reason to build IL2CPP was to appease console certification and leave behind Mono's quirky AOT on iOS. Capcom is also using their own C# implementation targeting C++ for console certification.

Allegedly some games are now managing to ship on console with ports of .NET NativeAOT.

comment 9mo ago · link · parent

"Powered by" is an understatement, Serde would be unusable without procedural macros. Deserializers use a ridiculously verbose visitor pattern that's completely unnecessary in a language with move semantics, it should have been a recursive descent API.

Using serde_json to accurately model existing JSON schemas is a pain because of it.

I personally find third-party deriving macros in Rust too clunky to use as soon as you need extra attributes.

comment 9mo ago · link · parent

C# wouldn't be a problem for Unity if they hadn't mapped most engine abstractions to class hierarchies with reflection-based dispatch instead of value-type handles and the seldom interface, and had dropped the Boehm GC. .NET has actually got a lot of features to avoid allocations on the hot paths.

comment 9mo ago · link · parent

I don't understand why claw is a data type for columns in these examples, it doesn't seem to store any actual per-row state. Is it not possible to hook extensions onto "with" clauses or something similar?

comment 9mo ago · link · parent

That doesn't rhyme at all though.

comment 9mo ago · link · parent

I don't think anyone's seriously using Bevy's 3D renderer, only the ECS. The only successful 3D game made with Bevy so far seems to be Tiny Glade, which used its own renderer.

comment 9mo ago · link · parent

Toyota complained about poor performance on all of Unity, UE and Godot, but also about long startup times with Godot.

I don't know how bloated Godot is, but AFAIK libgodot development started as part of Migeran's automotive AR HUD prototype so I'm surprised to hear it has poor startup time for a car.

comment 9mo ago · link · parent

These are great to test code that has no formal specification or oracle, so you're writing a reference implementation.

First, the test fails because there's no expected output, and you get to check the existing behaviour pretty-printed. Then, if it's correct, you approve it by promoting the diff into the source code, and it becomes a regression test.

comment 9mo ago · link · parent

Note that some of those can't run on a regular Lua runtime.

Luau is a separate implementation of a Lua dialect. However, it's backed by Roblox and being increasingly used in high budget games such as Alan Wake 2, and tools like Rive.

And Terra is more of a low-level language embedded in regular Lua for metaprogramming, than a statically-typed Lua.

In this vein there's also Pallene, which integrates better with regular Lua on a slightly-patched Lua runtime.

https://github.com/pallene-lang/pallene

(BTW the links for Nelua and Luau repos got mixed.)

comment 9mo ago · link · parent

RPG Maker used to embed Ruby before it was cool (and before they switched to JS for web support).

comment 9mo ago · link · parent

Unicode labels U+000A as all of "LINE FEED (LF)", "new line (NL)" and "end of line (EOL)". I'm guessing different names were imported from slightly different character sets, although I understand the all-uppercase name to be the main/official one.

https://www.unicode.org/charts/PDF/U0000.pdf

comment 9mo ago · link · parent

They'll make cheating bots a first party feature just to sell Copilot.

comment 9mo ago · link · parent

It just isn't good enough. Anytime Pyright gives up in type checking, which is often, it simply decays the type into one involving Any/"Unknown":

Without strict settings, it will let you pass this value as of any other type and introduce a bug.

But with strict settings, it will prevent you from recovering the actual type dynamically with type guards, because it flags the existence of the untyped expression itself, even if used in a sound way, which defeats the point of using a gradual checker.

Gradual type systems can and should keep the typed fragment sound, not just give up or (figuratively) panic.

comment 9mo ago · link · parent

Can't do it externally, kinda. Last year I succeeded in joining a device reachable only through IPv6 to a Netbird network, but their service would fail when I tried to configure IPv6 nameservers for it; the web UI did accept them fine though, they just didn't work. A shame, since I was otherwise fine with IPv4-only for the Netbird network.

comment 9mo ago · link · parent

Even better, it enables both -WhatIf and -Confirm, and provides a ShouldProcess function that interacts with both and with the user's impact threshold preferences. Really cool.

comment 10mo ago · link · parent

I'm personally very aware of that, and I wish Europeans dropped our collective tech-inferiority complex, but I'm currently a junior at a large corpo and that's not even my business branch; I can't steer it.

comment 10mo ago · link · parent

> 61 percent of European CIOs and tech leaders say they want to increase their use of local cloud providers.

Oof, the company I work for is proudly telling us we've just migrated from a local provider to Azure, and partnered with Google for "digital sovereignty" solutions. Glad to know that's not the trend everywhere.

comment 10mo ago · link · parent

> Having something always waiting in the background that can proactively take actions

That's just reactive with different words. The missing part seems to be just more background triggers/hooks for the agent to do something about them, instead of simply dealing with user requests.

comment 10mo ago · link · parent

That's why we're setting up adversarial benchmarks to test if they are doing the thing they promised not to do, because we totally trust them.
1
131415
42