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

You can use the ReasonML syntax with the standard OCaml toolchain, it's the same language with curly braces. (Not to be confused with ReScript which spun off of it, but is now a different language that only targets the JavaScript stack.)

Do you simply dislike the OCaml syntax or is it some particular quirk?

> the variable scope thing

The what thing? Variables are just lexically scoped, are you referring to shadowing?

comment 1y ago · link · parent

Note that C#'s Memory<T> (a slice) isn't boxed either, but it stays memory-safe under tearing: the resulting slice might have unintended bounds, but it will either be in-bounds or will throw an exception.

This of course has some overhead, which is why you usually turn it into the cheaper, data race free Span<T>. Go could have the same safety and fix some of the overhead with compiler optimizations, they just don't want to take the trade-off.

comment 1y ago · link · parent

Speculating? The state and grid operator publicly announced the new mix and the measures until we can sustain the intended one. It's ok if you don't trust official reports, but they exist.

comment 1y ago · link · parent

> Then we have Spain, that after the blackout, suddenly burns a lot more gas (41% more).

The Spain blackout wasn't a problem inherent to renewables, our grid simply lacks the storage and voltage control needed for the mix we intend. So, to keep the grid stable until we solve it, we'll need a more realistic mix for our current grid, burning more gas, yes.

Engineers apparently knew this was needed for years, but our industries are experts at kicking cans down the road. The blackout could have been preventable with the right investments.

comment 1y ago · link · parent

> VSCode fork that can work with any VSCode plugin

Technically yes, but if you care about legally, you can't use extensions from Microsoft's marketplace, which excludes Microsoft's own closed extensions such as WSL/SSH/devcontainer remoting and Pylance. It ships with Open VSX instead.

comment 1y ago · link · parent

I did find myself without barely any cash during Spain's blackout and that made it really stressful. It made me value physical currency a lot more.

Now I wish digital payments didn't require a server/ledger connection at all, but I understand that would risk double-spend attacks unless all the computation could be fully trusted, which we can't even guarantee for existing card payments.

comment 1y ago · link · parent

Bizum can be used for B2C payments, and there're gateways for online purchases.

comment 1y ago · link · parent

At least he's doing so having called an already trusted number. But receiving a call from someone claiming to be your bank is a much more dangerous situation, despite it feeling similar to lay people. Banks should really train people to hang and call to their actual customer service.

comment 1y ago · link · parent

You can't charge extra for GPL source code after distributing the software, but you can definitely restrict source access to the customers you sold the software to, although they can then redistribute it anyway.

If Blender Studio owns the copyright they can distribute it however they want though, presumably their free build isn't GPL; it just doesn't fit the spirit.

comment 1y ago · link · parent

The article fails to explain why this event challenges our understanding of black holes. Did we expect such big masses to spiral for much longer or something? Why was this collision supposed to stay unstable?

comment 1y ago · link · parent

> (steamOS), which isn't available to a general PC

Most of its secret sauce is either in Proton or upstreamed into Wine, DXVK, SDL, etc. All available to a general PC.

Unless your focus is competitive online games, which often come with Windows-only anti-cheats, you've got a huge catalogue of great games playable on Linux distros. I did the switch about four months ago and I'm not missing Windows, the only pain point has been Nvidia drivers and I'll be solving that by switching vendors.

comment 1y ago · link · parent

Genuine question, how would you feel about reading the dual to your comment here?

"I'm a computer scientist who's always struggled to learn how to paint." "Last night I managed to create a gorgeous illustration with Stable Diffusion, and best part ... it was FUN!" "Art hasn't felt this fun for a long time."

comment 1y ago · link · parent

> I took them to mean it can be both things at once

Thanks, now I get the intended reading.

> Not that being an ai training source would make it a rage filled social network.

I clearly didn't mean that would be the cause, though. Twitter's current state had been cooking for a decade.

comment 1y ago · link · parent

> Twitter as a source for AI training can be far more valuable than a rage filled social network

Isn't Twitter the go-to example of a rage filled social network?

comment 1y ago · link · parent

Nitpick: `bytes` is the read-write string, `Buffer` is the StringBuilder-like.

comment 1y ago · link · parent

> weirdly in German

I keep seeing bots wrongly prompted with both the browser language and the text "reply in the user's language". So I write to a bot in English and I get a Spanish answer.

comment 1y ago · link · parent

Closing the gap? I think we're inverting the gap: Many people now have access to a higher skill level than they've developed taste for (if they ever did), which makes them unable to judge their own slop.

comment 1y ago · link · parent

There was a clear attempt at the doge meme format, yes:

> very scientific. much engineering.

Emphasis on attempt because you're supposed to use words with grammatically incorrect modifiers, and the first one doesn't. (Even the second one doesn't seem entirely incorrect to me? I'm not a native speaker though.) "many scientific, so engineering" for example would have worked.

I assume they, or most likely their LLM, tried too hard to follow the most popular sequence (very, much, wow) and failed at it.

comment 1y ago · link · parent

All of them already provide an IDL with text descriptions and a way to query a server's current interface, what else do we need? Just force those two optional features to be required for LLM tool calls and done.

Is there anything stopping generic MCP servers for bridging those protocols as-is? If not, we might as well keep using them.

comment 1y ago · link · parent

Not even Google supports webp uploads in many of their web apps, and it's their format.

comment 1y ago · link · parent

I did, actually, because on my phone it's in a burger menu hidden below the Internet Archive banner; thanks for pointing that out.

I see the project itself didn't accept donations but they pointed visitors at each dev's personal donation page, with no guarantee that it would go towards the project. I can see legal thinking that's bullshit, although I'd be surprised if most of those hadn't already been setup by the time LEGO originally gave them the ok.

comment 1y ago · link · parent

> Thanks in advance.

I understand the spirit of this post but this makes it sound like HN is FAANG's support forum. Maybe as a last resort it is, but too on the nose for me.

comment 1y ago · link · parent

I don't see where you've read that they accepted donations. Every article and Reddit post I find says they didn't? It was indeed releasing on Steam for free, but I don't know if they had contacted LEGO before doing so.

Also, this wasn't the only Bionicle game that LEGO had endorsed, Quest for Mata Nui too, which makes this even more of a heel-turn. They won't have to shut down that one, though: the team went silent and then the main dev passed away.

comment 1y ago · link · parent

Most gamedevs haven't really researched numerical integration, they've just heard that the naive method, which is very often hand rolled outside of physics engines, is Euler; and that particle simulations should use Verlet because reasons. (The inner reason being that the first Hitman game used Verlet and they published a paper about it.)
1
242526
43