News for hackers. Stuff that matters.
Re:Even the Pylint codebase uses Ruff by AgentOrange1234 on Sunday March 05, 2023 @09:05PM (#35036673)
As a member of the uninitiated, it would be great if these kind of posts could include some context on what Ruff is and why this is significant?
Re:Even the Pylint codebase uses Ruff by jdxcode on Sunday March 05, 2023 @09:37PM (#35036885)
I've never understood why HN has never included even a 80 character description. I think it would really help even if it was only shown on the comments tab.
Re:Even the Pylint codebase uses Ruff by n2d4 on Sunday March 05, 2023 @09:49PM (#35036967)
One reason I could think of is because it encourages informative titles - I enjoy being able to click directly from home page to article, without having to look at the comments. A lower percentage of posters would explain Ruff in the title if there was a description. (Clearly it's currently not 100% either, that's why I'm here.)

Though this is something that keeps coming up on Reddit as well, I assume there's a reason why HN went with this design.

Re:Even the Pylint codebase uses Ruff by camtarn on Monday March 06, 2023 @08:14AM (#35040545)
This conflicts with the HN guideline of not editorialising titles, which leads to titles often having little or zero context.
Re:Even the Pylint codebase uses Ruff by oefrha on Monday March 06, 2023 @01:00AM (#35037949)
It’s clearly explained in the FAQ:

> How do I make a link in a text submission?

> You can't. This is to prevent people from submitting a link with their comments in a privileged position at the top of the page. If you want to submit a link with comments, just submit it, then add a regular comment.

If you want to add more context, add it in a comment. If it’s good people will upvote it.

Re:Even the Pylint codebase uses Ruff by rodrigobellusci on Sunday March 05, 2023 @09:08PM (#35036686)
It's a python linter, from what I've seen.
Re:Even the Pylint codebase uses Ruff by qbasic_forever on Sunday March 05, 2023 @09:10PM (#35036700)
Implemented in rust, not python, so it's extremely fast. It's orders of magnitude faster than pylint itself.
Re:Even the Pylint codebase uses Ruff by furyofantares on Sunday March 05, 2023 @09:20PM (#35036760)
How many orders of magnitude?
Re:Even the Pylint codebase uses Ruff by qbasic_forever on Sunday March 05, 2023 @09:23PM (#35036782)
There's a very clear graph the first thing on ruff's GitHub page, easy to find and research yourself: https://github.com/charliermarsh/ruff Can't miss it if you take time to check out the project.
Re:Even the Pylint codebase uses Ruff by furyofantares on Sunday March 05, 2023 @09:24PM (#35036793)
So 2, maybe 3
Re:Even the Pylint codebase uses Ruff by p5a0u9l on Sunday March 05, 2023 @10:46PM (#35037312)
Your comment seems skeptical. Practically, It’s a night and day difference if you’ve integrated a linter with your editor. Plus, ruff is able to fix as well as lint.
Re:Even the Pylint codebase uses Ruff by furyofantares on Sunday March 05, 2023 @11:43PM (#35037593)
Didn't mean it that way, something being 100+ times slower is a LOT. And I care a lot about tool speed. I just didn't really think I needed to be shamed for asking a question they had a ready answer for.
Re:Even the Pylint codebase uses Ruff by FreakLegion on Sunday March 05, 2023 @09:57PM (#35037031)
This would matter more if it did all the things Pylint does, but Ruff still has a ways to go. They're tracking progress in https://github.com/charliermarsh/ruff/issues/970.
Re:Even the Pylint codebase uses Ruff by rodrigobellusci on Monday March 06, 2023 @11:04AM (#35042654)
Damm that's a lot of cases to cover. I wonder how performant will Ruff be once it reaches feature parity.
Re:Even the Pylint codebase uses Ruff by pjacotg on Monday March 06, 2023 @01:44AM (#35038161)
If you enjoy podcasts this episode discusses ruff: https://talkpython.fm/episodes/show/400/ruff-the-fast-rust-b...