Kissaki

joined 3 years ago
MODERATOR OF
[–] Kissaki@programming.dev 11 points 1 day ago (4 children)

The quoted text makes no sense. It has gaps. And the comment you dismissed seemingly pointed that out.

Websites don't have a file system. They serve content as responses.

PHP is not a filesystem. ASPNET is not a filesystem.

You could be talking about managing files, you could be talking about sourcing web responses from local files, or you could be talking about something else.

[–] Kissaki@programming.dev 2 points 1 day ago* (last edited 1 day ago)

I would expect it to apply to everything. You don't want to hit the issues in the first place.

It seems like a weighing of (safe) CPU support vs better generated instructions. If you don't care about a CPU generation, maybe because it's old enough, or your target environment is restricted/controlled, you don't enable it. If it's still out there and you want to or have to support it, you enable it.

I would imagine a "CPU-Workaround--" or something, and if you enable it, it completely evades the instruction constellations that cause the issues and uses alternatives instead.

Maybe it could have "evade completely" (same code runs on every CPU) and "generate cpu-checked workaround code branches" (faulty CPUs execute a different branch) as alternatives.

[–] Kissaki@programming.dev 4 points 2 days ago (3 children)

Shouldn't compilers (in this case LLVM) cover such CPU bugs with flags? So users can commit to either evading CPU bugs or not.

It'd also be a good entry-point and overview of what CPU bugs are out there. Without it, how are you supposed to know about and evaluate them?

[–] Kissaki@programming.dev 2 points 2 days ago

Posts usually show a summary through the website provided metadata, though, but this website doesn't.

Dunno if that's what the original commenter was thinking of, though.

[–] Kissaki@programming.dev 2 points 3 days ago* (last edited 3 days ago)

is one of the things LLMs excel at

Early on, one time, I misplaced my right hand and typed my sentence with keyboard-layout-offset characters. I was very surprised it answered correctly to a seemingly gibberish prompt.

[–] Kissaki@programming.dev 5 points 3 days ago* (last edited 3 days ago)

?utm_source=chatgpt.com on "W4 Games" link. Did they summarize or generate through chatgpt and copied from chatgpt? It certainly doesn't seem like deliberately designed link handling.

Linksource tracking/marketing chatgptcom doesn't make sense to me on other websites. But it's interesting that it effectively produces distributed chatgpt-source links.

[–] Kissaki@programming.dev 1 points 4 days ago

I travel a lot… across the codebase.

[–] Kissaki@programming.dev 2 points 1 week ago (1 children)

I could read and say david. What about this one? Davtwod doesn't really roll from the tongue…

[–] Kissaki@programming.dev 15 points 1 week ago

Anything is better than nothing.

Go and Zig are serious languages. Go is especially established and has a big ecosystem and capabilities. You could stick with Go forever if you don't want to expand afterwards.

Starting 'simpler' is better because it gives you successes. It keeps you going.

[–] Kissaki@programming.dev 5 points 2 weeks ago (4 children)

No

https://github.com/LemmyNet/lemmy/issues/1872#issuecomment-958943903

Changing the username will break many aspects of federation. For other instances you will look like a completely new user, so you wont be able to edit or delete any old posts/comments. I really dont think its worth all the trouble when you can simply create a new account.

[–] Kissaki@programming.dev 2 points 2 weeks ago

The developer used AI and it introduced bugs and that was bad for people.

Was it the AI that introduced bugs, or them, while working with AI there or in other parts?
Would the bugs not have occurred if they made the changes without AI?
Would they have made any changes without AI? Would we be better off without changes for security robustness?

You make it sound like a direct correlation. Having read their response, that seems like an assumption without reasonable foundation.

Changes always have a risk of introducing bugs.
I'm no friend of using AI without the necessariy expertise, but from their response, they seem to have taken a very thorough, reasonable approach, and they seem to have the expertise to do so.

[–] Kissaki@programming.dev 4 points 2 weeks ago (1 children)

I don't know the degree to that, but bugs do happen occasionally either way as long as there are changes. In the article, they explain why the changes are necessary. Prioritizing security over no-change-stability seems reasonable and warranted.

 

GitHub issue [COMPROMISED] v2.6 Linux Ubuntu and AppImage release assets have been replaced (SOLVED, now restored) #1911

rentry doc (dunno publisher)

It has come to our attention that from 6th May to today (12th May) the AppImage and Ubuntu zip assets of Cemu 2.6 on our github were compromised by a pro-Russian threat actor.
If you are a Windows or MacOS user you are not affected. If you are a flatpak user you are also not affected.

This means that downstream projects like EmuDeck, which downloads and installs Cemu directly from GitHub Releases was also affected.

 

s&box, from the creator of the popular Source Engine sandbox Garry's Mod, released three days ago. s&box is based on the Source 2 engine, and not only a sandbox but a game development and publishing platform, including publishing on Steam.

The news post one day after release openly covers the mixed ratings, public finances, doubling their play fund that pays creators, and public roadmap.

I was surprised to see they openly and transparently publish day-by-day finances.

The public performance stats are interesting too.

Refreshing. I wish more publishers would do these kinds of things with deliberate open communication and transparency.

Their metrics pages:

 

Syntax Highlighting

Edit v2 adds the Lightweight Syntax Highlighter. It has a ~40kB footprint for a dozen languages plus runtime, barely grows with each language added, and runs at >100MB/s.

The highlighter is based on a simple programming language that combines regular expressions with explicit control flow. It's designed such that the runtime can be easily ported to other languages, including JavaScript.

From 1.2.1 to 2.0.0, the edit binary size increased from 267 to 330 kB for win exe and 217 to 300 kB for linux binary.

What is edit? README intro:

A simple editor for simple needs.

This editor pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.

 

Corridor Digital released an open-source greenscreen keyer/extractor, powered by AI, usable on consumer GPUs.

The video covers what happened after their initial release, community and professional responses, interviews with professionals about what can be improved, and finally a practical test/example in Davinci (Video Editor).

 

Explores how the Lean programming language handles 2 + 2 = 4, which other programming languages collapse into a bool, but Lean considers a Proposition, and requires Proof.

How does provably correct programming look? This article seems to give a good introduction and example.

 

Explores how the Lean programming language handles 2 + 2 = 4, which other programming languages collapse into a bool, but Lean considers a Proposition, and requires Proof.

How does provably correct programming look? This article seems to give a good introduction and example.

 

Pike is a dynamic programming language with a syntax similar to Java and C. It is simple to learn, does not require long compilation passes and has powerful built-in data types allowing simple and really fast data manipulation.

int getDex()
{
  int oldDex = Dex;
  Dex = 0;
  return oldDex;
}

private void
show_user(int|string id, void|string full_name)
{
  write("Id: " + id + "\n");
  if (full_name)
    write("Full name: " + full_name + "\n");
}
 

The Go 1.18 release introduced generics and with that a number of new features, including type parameters, type constraints, and new concepts such as type sets. It also introduced the notion of a core type. While the former provide concrete new functionality, a core type is an abstract construct that was introduced for expediency and to simplify dealing with generic operands (operands whose types are type parameters). In the Go compiler, code that in the past relied on the underlying type of an operand, now instead had to call a function computing the operand’s core type. In the language spec, in many places we just needed to replace “underlying type” with “core type”. What’s not to like?

Quite a few things, as it turns out! To understand how we got here, it’s useful to briefly revisit how type parameters and type constraints work.

For the Go 1.25 release (August 2025) we decided to remove the notion of core types from the language spec in favor of explicit (and equivalent!) prose where needed. This has multiple benefits: …

 

However, there are some important features that WinSock just doesn’t expose. […]

Rust’s current async ecosystem is built atop a particularly cursed concept. It’s an unstable, undocumented Windows feature. It’s the lynchpin of not only the Rust ecosystem, but the JavaScript one as well. It’s controversial. It’s efficient. […] Without it, it’s unlikely that the async ecosystem would exist in its current form. It’s called \Device\Afd, and I’m tired of no one talking about it.

view more: next ›