News for hackers. Stuff that matters.

jynelson

Re:We have a year to fix security everywhere on Tuesday September 08, 2026 @02:32AM (#49606287)
> What is it? Can it be this autonomous terrifying entity or can it not be?

the difference between attack and defense is that attacks can be throwaway code. it's much easier to let an llm hack out a prototype than to get it to build maintainable code that people want to read and review. it's not enough to get Daybreak or Mythos to write you a patch, you need the author of the project to accept and merge it.

Re:Rust-lang/rust is adopting an LLM policy on Wednesday August 05, 2026 @06:48AM (#49180982)
that is not what the policy says. it says "authors must disclose", "reviewers don't need to play detective", and "if a reviewer is not sure whether a post is LLM-created they should handle it privately, consulting mods". and the recourse is "go to this zulip channel", because closing a PR isn't the same as geting banned.
Re:Rust-lang/rust is adopting an LLM policy on Wednesday August 05, 2026 @05:08AM (#49180364)
yes. there's a reason there's exactly two things in the policy that are marked as moderation consequences and they're directly next to each other. "no harassment" doesn't work if people are paranoid that any PR could be LLM slop, and "disclosure is required" doesn't work if people are worried about harassment. you need both, and you need them to go into force at the same time.
Re:Rust-lang/rust is adopting an LLM policy on Wednesday August 05, 2026 @05:07AM (#49180351)
you're very welcome!
Re:Rust-lang/rust is adopting an LLM policy on Wednesday August 05, 2026 @04:51AM (#49180238)
> New contributors do not have community connections. I don't know any rust-lang/rust reviewer.

> What is the correct procedure for this?

there's a #llm-mentoring [0] Zulip stream linked in the dev-guide [1].

[0]: https://rust-lang.zulipchat.com/join/rlfvpemsaacs3pfi6kwqnqj... [1]: https://rustc-dev-guide.rust-lang.org/llm-guidance/writing.h...

Re:LLM Policy for Rust Compiler on Friday May 15, 2026 @08:52AM (#48147970)
it says “that’s right” in bold red cursive font. i know what the policy says, i wrote it, you nincompoop.
Re:LLM Policy for Rust Compiler on Friday May 15, 2026 @07:47AM (#48147417)
if an LLM says "I can't open a PR automatically until you solicit a review from a maintainer", i think that's good actually. likewise for proactively following the rest of the rules.
Re:LLM Policy for Rust Compiler on Friday May 15, 2026 @04:31AM (#48146010)
i'm not a man.
Re:Pre-commit hooks are fundamentally broken on Saturday December 27, 2025 @10:49AM (#46402660)
> Ultimately that's something the hook author has to solve, not the framework which runs them.

correct. i'm saying that hook authors almost never do this right, and i'd rather they didn't even try and moved their checks to a pre-push hook instead.

Re:Pre-commit hooks are fundamentally broken on Saturday December 27, 2025 @06:50AM (#46401153)
this completely breaks `git add -p`.
Re:Pre-commit hooks are fundamentally broken on Saturday December 27, 2025 @06:50AM (#46401147)
the pre-commit framework does not abstract away “hooks shouldn’t be run during a rebase”, nor “hooks should be fast and reliable”, nor “hooks should never change the index”.
Re:I'm Just Having Fun on Thursday December 25, 2025 @12:26PM (#46385759)
i think you would be interested in demoscene, it’s about exactly this thing: making art out of extremely harsh requirements.
Re:I'm Just Having Fun on Thursday December 25, 2025 @11:53AM (#46385529)
tbh i think you just hate trans people but you're afraid to say it directly
Re:I'm Just Having Fun on Monday December 22, 2025 @05:58AM (#46353121)
> Software should be an engineering field, which exists to help humans, not as some personal art project for your self expression

it makes me sad that you see these things as somehow in conflict with each other :(

Re:I'm Just Having Fun on Monday December 22, 2025 @12:53AM (#46351736)
> it's often that the amount of time i've spent thinking about something (a lot) is totally disproportionate to the time i spend typing my thoughts up (a little)

oh, this is a really good way of putting it! that’s exactly what happened :)

Re:The Terminal of the Future on Wednesday November 12, 2025 @04:18AM (#45898056)
you could build an emacs frontend for this model! the thing i am trying to describe is “getting out of the box”. imagine a terminal session that is shared between emacs, iTerm, and a mobile phone ssh’d in over the network, that’s my vision.
Re:The Terminal of the Future on Tuesday November 11, 2025 @08:01PM (#45895152)
omg i've wanted something like shelter for literal years

it "cheats" a little because it requires the underlying filesystem to support snapshots but it's still really really cool, thank you for the link!

Re:The Terminal of the Future on Tuesday November 11, 2025 @06:25PM (#45894312)
> Great, now you just need to build and maintain shims for every tool in existence, force your users to use your own custom tools that support these features, and ensure that everything interoperates smoothly.

Yes, this is the work. https://becca.ooo/blog/vertical-integration/

Re:The Terminal of the Future on Tuesday November 11, 2025 @06:24PM (#45894298)
whoa this looks fascinating, i've never heard of it before! thank you for the link :)
Re:The Terminal of the Future on Tuesday November 11, 2025 @05:54PM (#45894020)
this is really cool omg! i didn't know that, i'll do some research.

one of the strange things to me about the terminal landscape is how little knowledge sharing there is compared to other domains i'm familiar with. iTerm has a bunch of things no one else has; kitty influenced wezterm but otherwise no one else seems to have valued reflection; there's a whole bunch of extensions to ANSI escapes but most of them are non-standard and mutually incompatible. it's weird. if i compare to something like build systems, there's a lot more cross-pollination of ideas there.

Re:The Terminal of the Future on Tuesday November 11, 2025 @05:35PM (#45893829)
i would describe the main idea of the post as opening up the data model of the terminal. the list of wishes are an example of things you can build once you've done that, not the primary reason that opening the data model is useful.
Re:The Terminal of the Future on Tuesday November 11, 2025 @05:04PM (#45893514)
yeah! so i somehow forgot to include this in the post, but one of the thing i would want as part of this is tab complete that integrates with the shell, essentially it would make an RPC call (in the step 3 sense). there’s things that work like this already today, they’re just extremely cursed ^^ but that’s never stopped me before. https://github.com/Aloxaf/fzf-tab?tab=readme-ov-file#differe...
Re:The Core of Rust on Tuesday August 26, 2025 @11:20AM (#45027834)
I think so, yes. If you remove any of the things in the “core” I mention in the post, the language hangs together much worse even though it’s smaller; enums without pattern matching is a simple example.

I’m not just saying that I want to go back to the “good old days”, I really do think that those parts of Rust were designed as a coherent whole, in the same way that Uiua is designed as a coherent whole.

Re:The Core of Rust on Thursday August 21, 2025 @09:14PM (#44980094)
I think we are using different meanings of the term "cohere" and I am not sure how to reconcile them. I agree that Rust with async is a more useful language. I don't think being useful implies anything about how coherent a language is (I would point to bash and perl as examples of useful languages with very little coherence). "Coherence" to me means that all the features fit together tightly and are designed with each other in mind, and I don't think that's the case for async and const in Rust—simply because they aren't finished being designed.
Re:The Core of Rust on Thursday August 21, 2025 @05:35PM (#44978376)
note that RAII in Rust is not as simple as calling drop() at the end of each lexical scope, because of drop flags.
Re:The Core of Rust on Thursday August 21, 2025 @05:22PM (#44978252)
you were reading very closely, well done. yes, that is my claim, Rust was smaller and cleaner before async and const. I was so indirect about it because many of my best friends work on those features and I wasn’t sure how to word it. fortunately Matklad has worded it very well on the other site: 2015 rust was a more complete language that cohered better, but the vision of Rust is not to cohere perfectly, it’s to be an industrial language that is useful even if it’s not beautiful.

https://lobste.rs/c/b8kevh

Re:The Core of Rust on Thursday August 21, 2025 @04:23PM (#44977604)
> I understand the point they’re trying to make, that being that rust forces you to explicitly deal with the complexity of the problem rather than implicitly

This is not the point I am trying to make.

Re:The Core of Rust on Thursday August 21, 2025 @04:21PM (#44977577)
I think I disagree that you can have a Rust program that doesn't use all these concepts, at least outside of very basic tutorial material. You will very very quickly run into compiler errors that mention them the second you write your own program.

> The author conveniently left out all of the things needed to understand that JavaScript version, including async/await, promises, modules, string interpolation, [...] not to mention the runtime that is running this, etc.

These are also left out of the Rust version.

Re:The Core of Rust on Thursday August 21, 2025 @04:14PM (#44977496)
no. the JS program has obvious syntax bugs that TS wouldn't compile. commentors above are right that I was just lazy (ty for the callout, I have since fixed the JS program).

Older »