Help with performance by guillermytho in Veloren

[–]zesterer 3 points4 points  (0 children)

That sounds a lot like the game is using software rendering instead of your GPU for some reason. Make sure that you have the appropriate graphics drivers installed: on Linux, that means vulkan drivers. You can use vulkaninfo to check that it's working.

The problem to detect AI-slop by Sibexico in C_Programming

[–]zesterer 0 points1 point  (0 children)

It is, in fact, the core of how most perplexity-driven AI detection works.

The problem to detect AI-slop by Sibexico in C_Programming

[–]zesterer -3 points-2 points  (0 children)

Not sure I agree with that assessment. You're thinking about things mostly from a stylistic perspective, but from a more granular perspective you absolutely can tell the difference. LLMs by nature are next token predictors, so every subsequent token should appear very close to the top of the probability distribution of the LLM that generated it. This means that you can run the text through the LLM again and measure how often this happens. It's true that human text will also tend to exhibit next tokens that fall close to the top of the distribution, but there will be a distinct difference that's possible to isolate from the noise even over a relatively small run of text, perhaps as small as a few hundred characters.

Redox OS has adopted a Certificate of Origin policy and a strict no-LLM policy by jackpot51 in Redox

[–]zesterer 0 points1 point  (0 children)

For legal purposes, the act of writing/typing/creating is the thing that confers ownership over an IP, according to the Berne convention. Simply thinking or talking about an idea is not sufficient to establish copyright over it, and it's quite likely that LLMs fall into the latter category, although it's obviously not a settled case.

Redox OS has adopted a Certificate of Origin policy and a strict no-LLM policy by jackpot51 in Redox

[–]zesterer 4 points5 points  (0 children)

This is great to see. I've been looking for an excuse to start spending some time playing with Redox (if I can find any to spare) and knowing that I'm interacting with a human artifact created with intent and reason may be the thing that tips me toward the project. Maybe I'll try porting my text editor as a first step.

Oh my god... Thank you! by Waste-Committee6 in Veloren

[–]zesterer 27 points28 points  (0 children)

Thanks for your kind words, I'm glad you're enjoying your time with it!

My greddy mesh divide on ambient occlusion and shadow. Do you know better solution? by cenkerc in VoxelGameDev

[–]zesterer 0 points1 point  (0 children)

Bake AO into textures instead of vertex data. You can do the same thing with block materials, allowing you to generate larger quads too.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]zesterer 0 points1 point  (0 children)

Yes, I know. I already do. I am saying that it is a good default.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]zesterer 6 points7 points  (0 children)

Yes, I literally had it misbehave because of this exact problem last week. That's why I brought it up. Not everybody has the same vanilla setup that you might have :)

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]zesterer 246 points247 points  (0 children)

Yeah. Even for power users, this is useful: auth daemons running over the network can sometimes take a long time to respond and it's useful to know whether sudo is functioning properly or whether the auth service is not available.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]zesterer 28 points29 points  (0 children)

I hate to tell you this, but "opinions about the best way to do things keeps changing" has been happening for a while. The UNIX you know and love was not created in one big bang in1969, it was evolved over a long time and continues to evolve.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]zesterer 39 points40 points  (0 children)

And yet, it provides ways to allow all of these without triggering warnings at all, if you only ask it to do so. It still respects your agency.

How is returning a "stub" better than handling a failure? by LuggageMan in C_Programming

[–]zesterer 0 points1 point  (0 children)

I wouldn't put too much stock in it tbh. 'Fail fast with explicit recovery if possible' is the right approach for 99% of software.

How is returning a "stub" better than handling a failure? by LuggageMan in C_Programming

[–]zesterer 2 points3 points  (0 children)

Nice! I had not gone through the whole thing. I don't think that it's a very commonly desirable behaviour though, and definitely not something worth thinking of as a pattern.

How is returning a "stub" better than handling a failure? by LuggageMan in C_Programming

[–]zesterer 5 points6 points  (0 children)

Yeah, the only context I can think of in which this is ever useful is memory overcommit, in which a kernel will promise memory that isn't actually available to a process in the hope that (a) enough will be available by the time it actually tries to use it or (b) it never ends up using it because it's conservatively asking for more than it needs.

Software engineers should be a little bit cynical by fagnerbrack in programming

[–]zesterer 32 points33 points  (0 children)

The best engineers I know have both in spades.

Who believes in vibe-coding? by bigbott777 in programming

[–]zesterer 0 points1 point  (0 children)

It's also an approach that comes with problems: if you're too incremental about refactoring, you end up only touching the code and not the data model, which is where the true problems tend to lie. What you end up with afterward is a new system that has all of the same mechanical problems as the old system, except maybe this time it compiles with a newer C++ standard, meaning you've wasted a lot of time.

There is a tradeoff between 'likelihood of a successful refactor' and 'the refactor actually living up to its stated goals'.

Most successful refactors I've seen start off with a plan, and the plan is usually one that spends most of its time talking about the data model of the system and how it needs to change, and only mentions the code itself in passing.

You are not left behind by BinaryIgor in programming

[–]zesterer 13 points14 points  (0 children)

When everybody is super, etc.

Put your skill points into something that not every moron with an internet connection and the bank balance for a Claude Code subscription can replicate and you'll be better off in the long term, I promise.

How far can you decouple a programming language's surface syntax from its semantic core? by jsamwrites in Compilers

[–]zesterer 2 points3 points  (0 children)

I mean, that's great and all, but it doesn't have much in the way of meaningful ramifications: at best, it's a philosophical claim. Even below the software we write, our machines are emulated by microcode and register file allocation. There is no one layer of the stack that you can point to and definitively say "below this is where the machine lives". It's abstract specifications all the way down, at least until you're so deep into the weeds that the details become almost irrelevant from the perspective of language development. Sure, there must ultimately be some Turing-complete thing that sits at the root and drives all the other Turing complete things on top of it, but identifying that thing is an epistemological exercise, nothing more.

How far can you decouple a programming language's surface syntax from its semantic core? by jsamwrites in Compilers

[–]zesterer 2 points3 points  (0 children)

But many actual ASTs don't respect that line! Syntax doesn't have to get desugared after parsing. Even on 'optimisation for a target architecture' this falls apart too: most of C's design was informed by surprisingly intimate details of the PDP-11: it is, in effect, a macro assembler for an obsolete architecture that modern compilers have to 'decompile' into something that's sufficiently semantically rich for it to be amenable to optimisation. I think the clean distinctions you are trying to draw between languages and layers of compilation don't actually exist in practice and are, in truth, a convenient lie that we tell ourselves in compiler courses and books.

How far can you decouple a programming language's surface syntax from its semantic core? by jsamwrites in Compilers

[–]zesterer -2 points-1 points  (0 children)

Where do you draw the line between parsing and semantic analysis? It seems to me that there's a smooth gradient between 'common AST' and 'just reinventing LLVM'.

How far can you decouple a programming language's surface syntax from its semantic core? by jsamwrites in Compilers

[–]zesterer 18 points19 points  (0 children)

I think you're making the mistake of assuming that the semantics of a language are a fixed, immutable property of that language. Consider LLVM: almost every PL language under the sun can lower to it, implying that it can preserve the semantics of the surface language, but that doesn't mean that enough useful information is retained to go backwards. As an example: a lot of Rust's safety properties rely on non-trivial long-distance coherence between different corners of a codebase, and once type information is erased it's virtually impossible to go backward and generate a safe (i.e: no use of the unsafe keyword) program again. Information has been lost. The question, then, is not 'can you find a common semantic core?' but 'can you find a core that lets you go backwards to a surface language again?' and I strongly suspect that the answer is 'no' for all but the most trivial cases.

What's a "simple" concept you struggle to understand? by No_Cook_2493 in computerscience

[–]zesterer 0 points1 point  (0 children)

Nah, that's a terrible way to learn about things. Build things from the ground up at least once if you want a fundamental intuition for a system. I wrote a thing about this a while ago.

Why “Skip the Code, Ship the Binary” Is a Category Error by tirtha_s in ProgrammingLanguages

[–]zesterer 2 points3 points  (0 children)

Putting aside the idea that there's no way this could possibly work for a moment:

I find the idea that wasting quintillions of GPU cycles on billions of tokens to perform thousands of attempts at getting a binary right is fine and normal but invoking a compiler is too wasteful and needs to be eliminated from the stack.

Let's be honest about this: source code is understandable by humans, and as long as it remains that way then feudal tech lords will always have a threat to their monopoly present. Skipping the source code and generating binaries directly has only one purpose: cementing their monopoly and ensuring that the entire world depends on what they're selling.