Announcing the Clippy feature freeze

Jun. 21st, 2025 12:00 am
[syndicated profile] inside_rust_feed

Posted by blyxyas

The Clippy project will be on feature-freeze for 12 weeks, starting from Rust 1.89.0 beta (June 26th 2025) to September 18th 2025 (Rust 1.89.0 stable release). During this time no new features will be accepted, only bug fixes.

This feature freeze comes from a lack of the necessary capacity needed to maintain all the current lints (over 750 of them 😱) and still add new ones. We need to care for the Clippy project the same way that Clippy cares about our code, and note that every single one of them needs maintaining and accounting for current and future changes in the compiler as a whole.

As a team we’ll focus on making contributing the best it can be, and mark the issues that could be great as a starting point to get familiar with the project.

What can I expect as a user?

As a user you can expect to have more accurate lints, with less false positives and more edge cases covered. A bump into Clippy’s toolchain would not involve the same risk for false positives as it has been until now. We hope that by upping the standard for lints all around the project we can allow users to expect even more from the already great linter.

If you have a lint which you want to be implemented, you can still open an issue for it, but PRs adding new lints won't be reviewed during the feature freeze. Instead, they will be put into a queue and reviewed (and merged) after the feature freeze is over.

Open pull requests that add new lints and are in a very advanced state might still get reviewed and/or merged during the feature freeze.

Can I help?

As always, any help on the project is very appreciated. Apart from opening bug reports, you can follow our contributing guidelines and check our suggested good first issues for opening pull requests. Everything from fixing diagnostic issues and improving documentation, to fixing application-wide crashes really helps Clippy get into the excellent state that our users deserve.

If you need direct help when fixing a bug, don't hesitate to open a thread on Zulip and/or open a draft PR with the questions you have in order to start the feedback stream.

Conclusion

Thanks a lot for all these years of supporting Clippy, we hope that via this little feature hiatus we can achieve the excellence that the Rust user base deserves.

[syndicated profile] lucumr_pocoo_feed

Posted by Armin Ronacher

I'm currently evaluating how different models perform when generating XML versus JSON. Not entirely unexpectedly, XML is doing quite well — except for one issue: the models frequently return invalid XML. That made it difficult to properly assess the quality of the content itself, independent of how well the models serialize data. So I needed a sloppy XML parser.

After a few failed attempts of getting Claude to just fix up my XML parsing in different ways (it tried html5lib, the html lxml parser etc.) which all resulted in various kinds of amusing failures, I asked Claude to ultrathink and write me a proper XML library from scratch. I gave it some basic instructions of what this should look like and it one-shotted something. Afterwards I prompted it ~20 more times to do various smaller fixes as a response to me reviewing it (briefly) and using it and to create an extensive test suite.

While that was taking place I had 4o create a logo. After that I quickly converted it into an SVG with Illustrator and had Claude make it theme-aware for dark and light modes, which it did perfectly.

On top of that, Claude fully set up CI and even remotely controlled my browser to configure the trusted PyPI publisher for the package for me.

In summary, here is what AI did:

  • It wrote ~1100 lines of code for the parser
  • It wrote ~1000 lines of tests
  • It configured the entire Python package, CI, PyPI publishing
  • Generated a README, drafted a changelog, designed a logo, made it theme-aware
  • Did multiple refactorings to make me happier

The initial prompt that started it all (including typos):

I want you to implement a single-file library here that parses XML sloppily. It should implement two functions:

  • stream_parse which yields a stream of events (use named tuples) for the XML stream
  • tree_parse which takes the output of stream_parse and assembles an element tree. It should default to xml.etree.ElementTree and optoinally allow you to provide lxml too (or anything else)

It should be fast but use pre-compiled regular expressions to parse the stream. The idea here is that the output comes from systems that just pretend to speak XML but are not sufficiently protected against bad outoput (eg: LLMs)

So for instance &amp; should turn into & but if &x is used (which is invalid) it should just retain as &x in the output. Additionally if something is an invalid CDATA section we just gracefully ignore it. If tags are incorrectly closed within a larger tag we recover the structure. For instance <foo><p>a<p>b</foo> will just close the internal structures when </foo> comes around.

Use ultrathink. Break down the implementation into

  1. planning
  2. api stubs
  3. implementation

Use sub tasks and sub agents to conserve context

Now if you look at that library, you might not find it amazingly beautiful. It probably is a bit messy and might have a handful of bugs I haven't found yet. It however works well enough for me right now for what I'm doing and it definitely unblocked me. In total it worked for about 30-45 minutes to write the initial implementation while I was doing something else. I kept prompting it for a little while to make some progress as I ran into issues using it.

If you want to look at what it looks like:

To be clear: this isn't an endorsement of using models for serious Open Source libraries. This was an experiment to see how far I could get with minimal manual effort, and to unstick myself from an annoying blocker. The result is good enough for my immediate use case and I also felt good enough to publish it to PyPI in case someone else has the same problem.

Treat it as a curious side project which says more about what's possible today than what's necessarily advisable.


Postscriptum: Yes, I did slap an Apache 2 license on it. Is that even valid when there's barely a human in the loop? A fascinating question but not one I'm not eager to figure out myself. It is however certainly something we'll all have to confront sooner or later.

welcome to metacity 2

Jun. 21st, 2025 09:58 pm
[syndicated profile] analognowhere_feed

welcome to metacity 2

...

[img]:iiiosm

MATA_BOT_COP examines his rifle. The clerk shouts: "Let em through, MB!"

MATA_BOT_COP glances at girl: "Kids these days..." He opens the massive metallic doors into Metacity.

Puffy: "Stay close."

Girl stares with her mouth open.

[img]:iiiosm

It's a towering city full of advertisements and millions of apartments, cars and antennas.

Welcome to Metacity, child...

Do not fall.

https://analognowhere.com/_/iiiosm

Just Create - Wolf Edition

Jun. 21st, 2025 01:32 pm
silvercat17: Winnie from William of Newbury holding up coins (win)
[personal profile] silvercat17 posting in [community profile] justcreate
What are you working on? What have you finished? What do you need encouragement on?

Are there any cool events or challenges happening that you want to hype?

What do you just want to talk about?

What have you been watching or reading?

Chores and other not-fun things count!

Remember to encourage other commenters and we have a discord where we can do work-alongs and chat, linked in the sticky

random movie reviews!!

Jun. 21st, 2025 01:58 pm
lumemiruuuuuuuuuuu: luka (luka)
[personal profile] lumemiruuuuuuuuuuu
just smth short :3, spoilers for lost in starlight (2025) and k-pop demon hunters(2025)!!!

Read more... )
[syndicated profile] smbc_comics_feed

Posted by Zach Weinersmith



Click here to go see the bonus panel!

Hovertext:
Look, if those exegesis guys get to find whatever they want in the text, so do the rest of us.


Today's News:

welcome to metacity 1

Jun. 21st, 2025 03:07 pm
[syndicated profile] analognowhere_feed

welcome to metacity 1

...

[img]:rxtmul

The outer walls of Metacity.

Protect all the wonders of proprietary debauchery.

The most secure place on what remains of Earth.

Or so they would want you to think.

Girl and Puffy walk past a refugee camp outside the walls.

Puffy: "Refugees. Most never make it inside."

[img]:rxtmul

Girl: "But how do we get inside, master?"

Puffy: "We have the golden ticket."

Puffy is holding a MATACORP AI SCRAPING PERMIT.

Puffy and Girl stop by a security checkpoint. Puffy talks to the clerk. Girl stands by, looking at a MATA_BOT_COP.

Girl: "Did you know that the current sgx rayrifle firmware has an unpatched vulnerability that allows the attacker to remotely discharge it?"

The clerk lets them through.

Puffy: "Ready?"

Girl: "Ready."

https://analognowhere.com/_/rxtmul

[syndicated profile] polyrecsdaily_feed
Time Management Theory (Prince of Tennis):

Time Management Theory, by Halrloprillalar. shrift: I don’t know what’s sexier: Inui and Kaidoh having sex, or Inui and Kaidoh purposely not having sex.

Fortune Wheel 02.25 - Weekly Post 6

Jun. 20th, 2025 10:30 pm
prisca: (empire mod)
[personal profile] prisca posting in [community profile] fandom_empire
I am not around this week, so there is only a shortened reminder this time. All points will get counted until Sunday.

It's Friday, and still two days to go until week six is over. Posting for this week officially ends Sunday, June 22 17.00 UTC. There is a grace period until the week is finally called 'close'.

You can earn 15 regular weekly points + some extra points when using the lucky color.

You can use a wildcard at any time, to grab any prompt from your promptlist. The connected color prompt won't change!

You can post two fills for the team challenge. Even if you haven't signed up, you can participate as a joker to support a team. Joker fills can't earn any individual points!

June 2025

S M T W T F S
1234567
891011121314
151617 18192021
22232425262728
2930     

i use a lot of these

omg ty for making my site look good

Expand Cut Tags

No cut tags
Page generated Jun. 23rd, 2025 07:32 am
Powered by Dreamwidth Studios