News for hackers. Stuff that matters.

jackling

Re:The Robot I Didn't Expect to Build on Thursday October 22, 2026 @09:33AM (#50195107)
I'm confused by your question. The video in question is an entity walking in a simulator and not real life? There's a world of difference between what can be achievable in a simulator, and how to transfer that simulator learning to the real world.

Real world is messy. Lowering the sim2real gap is challenging. The sim above doesn't model actuator dynamics, overheating, probably doesn't model inertia correctly, joint friction, delays, etc.

Re:It's still OK to enjoy programming on Tuesday October 20, 2026 @12:55PM (#50169272)
For the reasons I stated above. Many people like the community aspects, often more than solving the problem itself. It's nice to work with people, the problem is just an excuse to congregate.
Re:It's still OK to enjoy programming on Tuesday October 20, 2026 @10:20AM (#50166880)
> You talking like what you doing is happen to appease people

What's wrong with that? Appeasing people is part of what being a community is. That's the human element. I could write a grand novel for the fun of it, but I still want people to read it and talk about it. To give me feedback, to discuss its themes. If that's taken away due to technological advancement, it's a sad thing.

It is not a binary between doing what you like because you enjoy the craft or being happy that people engage with your output. Both of those things feed into each other. An old neighbour of mine used to craft bracelets and give them away around the neighborhood. Why would she spend the additional time to walk to my apartment and hand me a bracelet? Did she only make the bracelet to get the neighbourhood's approval and didn't actually enjoy making it? Of course not. She made it cause she likes doing crafts, AND she likes people enjoying what she made.

The unfortunate part is that LLMs are addictive and they remove a lot of the complex thinking one has to do (in many cases), which lowers that community engagement that occurs in software circles.

Re:It's still OK to enjoy programming on Tuesday October 20, 2026 @10:12AM (#50166771)
Not a very charitable viewing of people. It could be that people just liked all aspects of it. They liked the challenging work AND helping others. They liked the community of solving problems together and being useful for each other. They liked the difficult collaborations when trying to find solutions. They liked discussing with people who had this niche interest who also spent time obsessing over it to gain the skills necessary to make an impact.

LLMs have disrupted this. It's much easier for people to silo themselves off and fix any problem that appears, without the need of a community. It's easier for people to discuss topics via copy/pasting from an LLM versus actually having a deep understanding of the material.

Re:It's still OK to enjoy programming on Tuesday October 20, 2026 @08:33AM (#50165386)
> The original author had their own motivations for researching and producing and I can almost guarantee they weren’t reviewing the output of someone’s prompt.

You see this at work too. If I find a problem I want to solve for some personal motivation, I can no longer share with my coworkers what that problem is. Since when I do, inevitably, senior+ engineers and managers vibe code a solution. Often that solution is hacky and they expect others to fix the fundamental problems that exist.

Re:Recreational Programming on Wednesday October 14, 2026 @09:27AM (#50087458)
It's actually worse than that. In a repo where there is a heavy amount of AI code, it becomes impossible to manually write code. The AI code favors obtuse, unmaintainable mess (from the standpoint of a non-AI dev). Constantly overwriting your changes, large comments, hacky logic, overly-defensive programming, misunderstandings that the LLM made that cause you to waste hours debugging.

I've come to the realization that AI code bases are effectively AI-only code bases, unless one is using AI as just a code-autocomplete, then that seems mostly fine. But most devs are using it as an end2end implementation tool, having it 1-shot full features, and then iterating on them with the agent afterwards. The amount of churn and terrible code stops the manual coder from doing anything effectively.

In my own team's codebase, I'm confident that we would actually be further along without AI, and that AI coding is a hindrance (although AI debugging seems to be a pretty good tool). It is made worse that everyone does code reviews with AI now, and it constantly gets things wrong, and when its right, it's usually for the most basic, unimportant issues (again with the overly defensive coding style). This waste the manual coder time trying to figure out if the issue its requesting a fix for is an actual problem or not.

Re:Recreational Programming on Wednesday October 14, 2026 @08:19AM (#50086535)
Curious to get other's thoughts, but I recently got into a disagreement with a coworker when I stated that you can't be programming as a hobby if an AI writes the code for you. You could be developing software but if you're not actually writing the code, then you're not hobbyist programmer.

There is a big difference IMO between someone who wants to code traditionally and one that uses AI when it comes to developing software. And this difference illustrates what's a software developer to a programmer.

Re:Calculus with Julia on Tuesday October 13, 2026 @10:05AM (#50071990)
Oh dang, didn't know that. Learn something new everyday.

I think you're right that manually transcribing to their own notebook would be better for learning, but I question how many students would actually do that. Having in a notebook at the start allows for better interactivity I think.

Re:I'm sorry, but you still have to think on Monday October 12, 2026 @10:29AM (#50056965)
But the article showed that that the port/translation of an established app resulted in a mess anyways. Looks like even with a good foundation it's prone to fail.
Re:Calculus with Julia on Monday October 12, 2026 @09:11AM (#50055948)
Seems like a fun way to teach basic calculus. I think a notebook style, maybe a Julia equivalent of Jupyter, would work better.

From my quick skim, the book is quite light on proofs, which I think is a big mistake for intro calculus classes. Proofs are usually what you need to get a solid feel for the material, at least at the start. Developing intuition on how things work by playing around with Julia, and using that to inform exploration to come up with theorems, and using that data to help develop a proof would be a more interesting approach. Maybe they do this in later chapters. For example, when teaching eulers method for integrating the ODE, visually graphing the error compared to the actual as step size changes could give the reader some intuition about the order of the method.

Re:C for Rust Programmers on Saturday October 10, 2026 @10:36AM (#50033440)
Isn't this easily catchable with static analysis, -Werror -Wall? I've never had a practical problem with this.

Also arrays aren't pointers in C, they decay into pointers. You can see this since sizeof will work differently in the function that instantiates the array versus one that takes in the pointer as a parameter.

Re:Advanced soft-bodies for games with the Rapier physics engine on Saturday September 26, 2026 @05:51PM (#49860861)
It genuinely breaks my brain how productive Sébastien is. Does he research and build these solutions by himself? Bevy has an extremely impressive voxel collision system, and now from what I can gather, maybe the most impressive real time soft body simulation. It really distinguishes itself as simulator, not just being a N+1 sim, but genuinely ground breaking in a lot of aspects. Amazing work! I wish I was as talented.

I hope they take a look at using a penalty based solver in the future, especially for their GPU sim, could really contend with MuJoCo/Genesis as the robotics sim engine.

Re:Why Do We Need Human Mathematicians Anymore? on Monday September 21, 2026 @07:16PM (#49794738)
My theory is that people run into the inevitable difficulty of math and rather than look inwards and come to the conclusion they aren't as smart, or special as they once thought, they blame "the system". It can't be that they haven't tried hard enough or aren't smart enough, it's the gated community who hides behind esoteric jargon that stops them from being successful in their mathematical studies.

They believe this despite the fact that there are a million different textbooks, all explaining the same concepts in different ways, or different branches that specify the same structures with unique methods. It's really strange when I read threads like this. I'm not the greatest at math either, but that's because it's a hard thing to be good at.

To learn math is an exercise in humility. You must struggle hard, do hundreds of problems, spend years refining your understanding, redoing proofs, finding counter examples, just to be at a good undergraduate level. Much harder than pretty much all CS classes, except maybe Theory of Computation, which is pretty much math.

Re:Why Do We Need Human Mathematicians Anymore? on Monday September 21, 2026 @10:41AM (#49787907)
I've never met someone who believed this who was actually able to solve simple math or physics questions given to them. Attitudes like this always feel like cope to me.
Re:Canada welcomes EU proposal to become 'associate member' on Thursday September 17, 2026 @01:50PM (#49744210)
Read your original comment and disagreed, but you have changed my mind. Trump is tackling climate change response more than any other president, he's just doing it in the most psychotic way possible. Threatening sovereign nations, antagonizing Asia, etc.

I agree that Canada and the EU should've been more responsible for their own defense. Hope going forward they are and cut out the USA as much as possible.

Re:Canada welcomes EU proposal to become 'associate member' on Thursday September 17, 2026 @10:58AM (#49741802)
> "work, study and live where they want on either side of the Atlantic"

Will the Canadian job market improve or suffer here? Does anyone know of any research that will determine if this would be beneficial for Canadians? Naively, I think it'll be harder to compete with Europeans for jobs.

Plenty of people use Oxford commas though, can't really use it as a reliable signal, too much noise.
Re:My friends all hate AI; I just joined an AI startup on Monday August 17, 2026 @09:21PM (#49339956)
> I'm finding the challenge of getting AI-generated code to be robust, maintainable and better quality than if I'd typed it out myself to be deeply intellectually stimulating.

Yea that's why I started my comment with "it depends on the person", in response to you asking what's not fun about having AIs do what you tell them. For many, coercing a tool to do something you can likely do yourself better isn't ideal, and at least for me, is just inefficient use of time (in the long run) and a headache. It also zaps the fun out of any task since now you move from searching for a good solution using your priors, to now validating that the LLM has a solution that works, even if it's not optimal. The searching for a good solution is for some, the fun part, which is eliminated by agentic coding, since that search inherently relies on you writing code and seeing what works IMO. The coding is an essential part of the thinking here. An analogy would be doing a math problem by hand versus reading the solution in a textbook. I can give concrete examples if you'd like.

For your SVG examples, I have used AI for a similar use case, the construction of 3D scenes for robotics via a text prompt and an asset catalog. I wish I could get the same richness as your SVG examples, the LLMs fail too hard on all 3D tasks given, even after spending a high amount of engineering effort on a suitable harness + tools. Also like your SVG example, it often doesn't give a realistic, or even nice output, and coercing it to do so, likely takes longer than just creating the image/3D scene yourself.

Re:My friends all hate AI; I just joined an AI startup on Monday August 17, 2026 @07:52PM (#49339290)
> What's not fun about that?

Depends on the person, I never really had fun telling someone else what I wanted built or drawn. I've always enjoyed the process more than just the results, and having the results without the intellectual activity is boring.

For software, the increase usage of AI code makes my team move much faster, but our software isn't robust anymore and I fear that our longterm mission is being compromised by the endless slop. Favoring quick implementations that AI can make versus good implementations, and lazily relying on AI makes my teammates not develop a deep understanding of the work, which ultimately limits the solutions they can develop. YMMV.

Also, I don't understand what's funny about your image? Is it that it's bad?

Re:US hires over 2k video gamers as air traffic controllers on Tuesday August 11, 2026 @09:30PM (#49266820)
But wouldn't that be a case where regardless of human or machine, the outcome wouldn't change since there was no tracking information?
Re:I’m leaving OpenAI to build telepathy on Thursday August 06, 2026 @04:32PM (#49202101)
Right, I forgot the initial context in my replies. My bad!
Re:I’m leaving OpenAI to build telepathy on Thursday August 06, 2026 @10:18AM (#49197038)
Right but if someone was given a task, internal monologue or not, there will be some brainwave pattern to map thoughts to typing, right? Otherwise, how is the person typing? For a sufficiently complex task, I don't think you can rely on reflexes alone. If I understand the data collection method they're using, they will sit someone in front of a keyboard, give them some task, and collect both what they type out and the associated collected brainwaves.
Re:I’m leaving OpenAI to build telepathy on Wednesday August 05, 2026 @08:06PM (#49190751)
Isn't that just for data collection though? I imagine the fully trained model they're expecting to have will be able to map thoughts -> text. The data collection will naturally need to have the 2 sets in order to do self-supervised training.
Re:I’m leaving OpenAI to build telepathy on Wednesday August 05, 2026 @08:04PM (#49190737)
> But non-invasive methods are getting much better. The hardware is improving and getting cheaper, though I apologize for being vague about the particularities of our hardware.

The statement implies that the company has some secret hardware that can, or at least, is close to doing that. That would blow my mind, but the author seems to believe it.

As an aside, I believe the author is a she.

Re:Zed DeltaDB on Wednesday August 05, 2026 @05:18PM (#49189140)
I don't understand, what do you mean by this?
Re:Zed DeltaDB on Wednesday August 05, 2026 @05:14PM (#49189106)
I really do like Zed, it's snappier than VS code and with pretty good vim emulation. Even through SSH, the native UI allows for no network latency, compared to something like vim+terminal. Like many other posters, I do feel like the core editor is getting worse.

Some issues I've encountered recently at work:

- Routinely encounter bugs with the python language server, it's particularly slow when compared to using VSCode. All that snappiest disappears when finding symbols after the '.' is considerably slower than my typing speed.

- I found similar issues with C++ code bases.

- It's also so hard to debug when something goes wrong. I was trying to find out why pyright keep spinning on startup, but the "LSP logs" never show anything.

- Connecting via SSH always opens the repo in restricted mode, even though I check the "Trust all projects in" checkbox. Never happened before.

- Debugger UI is a mess. Make a run, stop the run, edit the task.json, try running again, and 2 tasks show up. One for the old and one for the new.

--

I stuck with it because I really do like the UI, the performance, and initially it seemed to be an improvement from VS Code for my workflows, but lately I've been moving back to code as it seems more stable. I don't really use agent features, so I don't think I'm the target customer for this or other priority Zed features.

I do see the usefulness of something like this, I'm interested to see if the new agentic style of programming will result in the "code" part of editors becoming second class (for the better) and will allow for more rapid development. Although I'm not looking forward to read my coworker's "threads" of how a feature was made, I have a feeling that it will be more difficult to read than the raw code, as from my experience, LLMs don't really employ terse and effective communication (might not be entirely fair, I found ChatGPT /study mode pretty good.)

--

Anyone know of a good replacement editor that might meet my usecase? I'm really a batteries included type of developer.

Re:"Clean" Code, Horrible Performance on Tuesday August 04, 2026 @04:45PM (#49174870)
I just don't see how this is a strawman. It's not a logical fallacy to take an argument that X is good, and say it has Y flaw that wasn't considered. If you want to talk about how steak and eggs are good for building muscle, it wouldn't be a strawman for me to argue that its bad for your heart, and there are better methods.

If the author was purposely mischaracterizing what clean code was advocating for, arguing against the weakest version of what Martin was saying was clean code, I can see that being an issue. But he took a section of the code that Martin claimed was clean code, and arguing against the provided example being good code despite it fitting Martin's idea of clean.

The book says to pick the best version, and maybe it was improper for the author to omit the other version, but even the other version has issues that the article addresses. You can use the more performant switch case version and see how omitting other principles of clean code cause gains from even that version.

Again, the claim in the article was not purely vTables vs Switch statements, there several other claims that have nothing to do with that, for example the reliance on not using internal details of a class, or DRY which appear in both the OO and procedural versions of Martin's code IIRC.

The book actually makes a stronger claim than the author's IMO. The books claim is that there are principles that make clean code, and a person should follow in order to make their code clean. The implication being that not following these rules makes your code unclean (but Martin doesn't explicitly say this iirc, so this may be too strong of a statement). Martin doesn't really provide useful metrics to back up this claim either, so its hard to tell what parts of it to take as sage advice, and what really doesn't work. The author of the article at least provides empirical data to back up the thesis, which is that this "Clean Code" has terrible performance. It doesn't matter if Martin doesn't argue that it is performant, the fact (as proven by the data shown) that the code has worse performance than other methods is enough to prove the author's claim, and is not a strawman.

Re:"Clean" Code, Horrible Performance on Tuesday August 04, 2026 @01:32PM (#49172111)
An article proving its thesis that clean code can cause bad performance isn't a strawman. He wasn't intentionally using a weaker argument of Bob Martin just to find flaws. He was taking an example from the book to show where it failed.

He also could have showed the if-statement version, and it wouldn't have some of the performance impacts, but there's a big chunk of the article that's independent of that. There would still be performance benefits, since the article isn't purely switch statements vs vtables. It went through a series of clean-code tenets that were shown to cause performance problems. That's the authors point, performance deteriorates when following those principles. Even in real world examples this will happen, are you claiming otherwise?

I feel like everyone is just talking over the article, unless you disagree with the actual thesis, that the clean code tenets listed cause bad performance, then you don't really disagree with the author here right? You can argue in spite of the performance decrease, the clean code method is better for real systems, which is fine and I have no issues with that, but that's a separate claim you should prove, and state clearly to who ever is working on the code you're writing.

> but it was not meant as an example of high-performance code

That's part of the point, the clean-code version can't be high-performance. The tenets of it contradict how the hardware works, and causes slows down (not necessarily all the time, but it does typically.)

Re:"Clean" Code, Horrible Performance on Tuesday August 04, 2026 @01:09PM (#49171769)
Sure, but I don't see what this has to do with what I said? I was arguing against the parents assertion that the author's example was a strawman.

For your point, what part of the design shows claims that shapes are to be added/removed by outsiders? You should design for what you know and can reasonably predict. Nothing in the article seems to claim that this problem is situated on outsiders adding their own shapes?

Let's ground the example. Suppose I was writing some 2D collision checking library where these operations we're useful. Now I did Triangles, Rectangles and Circles. If I predict that arbitrary shapes should be added, how should I go about it?

The vtable way could work, but as the author showed, you're likely going to get hit with a fairly significant performance impact. Now if you can reason about your use case and see that its not in a hot loop, then the vtable way should be good to go. But if it was called a lot, then you want that to be performant and find a different method.

Some thinking can lead you to the fact that you don't need a new class at all, you just need a general Polygon object, and use the switch method. Or going by the article, you can precompute the information you need that is constant, area, # of points and add those to a dynamically allocated array (or large enough statically allocated one), and have the best of both worlds.

My point is, you can't really say which one is better until you actually know what your use case and the constraints on your system/users. We need to know how the code is used. People complain about this being a simple example, but its an example that was in the "Clean Code" book. What's important is to realize that the Clean Code version might not be worse in terms of hard to measure things, like maintainability or eligibility, but it is empirically worse for performance, and that trade off matters for many use cases.

Re:"Clean" Code, Horrible Performance on Tuesday August 04, 2026 @12:54PM (#49171560)
He states at the start of the article the tenets of clean code he's arguing against, not just the general OOP of it. Shows how ignoring a certain tenet leads to increase performance, that's the thrust of the article. He routinely in the article goes back to the tenets he's arguing against.

Older »