#lint — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lint, aggregated by home.social.
-
@aligorith @foxylad Alphabetical order :blobcatokhand: but is there any reason to use "reverse #C++" import order in #Python? I use "top-down" order, alphabetical, blocks (stdlib, external deps, other modules, my modules) for Python and that hasn't ruined my day yet.
(The only import #order I still sway on is whether "import" goes before/after/between "from ... import".)
-
In today's round of merely passing on Polish rail industry news…
Poles will soon be able to ~~enjoy~~ suffer from the infamous LINT diesel units - the first one imported from the West by Polregio has received the company livery: https://www.rynek-kolejowy.pl/wiadomosci/pierwszy-z-lintow-juz-w-barwach-polregio-152876.html
-
Линт проектов: собираем ESLint, Prettier и Stylelint в один пакет
В большинстве компаний линтинг со временем превращается в хаос: разные правила ESLint, устаревшие конфиги и копипаста между проектами. Покажу, как навести порядок – собрать линт-инфраструктуру в один пакет и выстроить систему контроля кода для всех репозиториев.
https://habr.com/ru/articles/1038340/
#eslint #prettier #линтинг_кода #stylelint #husky #lint #javascript #typescript #react #madge
-
War eher meh btw.
Motor natürlich flüsterleise, aber alles andere irgendwie ..nicht.
Ich weiß nicht, ob das einfach nur an der Strecke lag (war gefühlt auch fast eher so ein Gütergleis?), aber es war sehr ruckelig und die Fahrgestelle haben dementsprechend geklungen. Like, deutlich wackeliger als ein #Itino.
Zusätzlich auch konstant Resonanzen in den Heizkörpern, die mit den Mülleimern einer #BR425 mithalten können..Die #LINTs von der #VIAS sind da um einiges bequemer – trotz Dieselmotoren.
-
Nifty.
Looks like rumdl support for Markdown linting has just been added to Vim's ALE plugin.https://github.com/dense-analysis/ale/commit/c59c0d1a573a7b2fe491f78af4f2033bde454753
-
One Open-source Project Daily
A hinting engine for the web
https://github.com/webhintio/hint
#1ospd #opensource #a11y #bestpractices #hacktoberfest #hint #hints #interoperability #lint #performance #pwa #pwas #security #securityscanner #webhint -
Как заставить Android Studio ругаться на код по вашим правилам: создаем пользовательские Lint и Detekt
Привет, Хабр! На связи Алина, старший Android-разработчик в команде Инвестиций «Совкомбанк Технологии». Сегодня поговорим о том, как заставить Android Studio самостоятельно следить за порядком в коде – без ручных проверок и без вечных напоминаний в командном чате. В этой статье мы создадим практические правила для инструментов статического анализа кода и разберем, как внедрить их в проект. На примере lint рассмотрим контроль архитектуры пакетов и обязательную документацию с QuickFix, а на примере detekt – проверку неизменяемого состояния представления без Android-зависимостей и миграцию с RxJava на Coroutines.
https://habr.com/ru/companies/sovcombank_technologies/articles/1005922/
#Lint #Detekt #Android #QuickFix #Анализ_кода #Правила #Kotlin #Java #Suppress #Тесты
-
LLMs are Lint
No, I don’t mean that are bits of clothing fluff, I mean they’re like the old “lint” program for C.
In those days, there wasn’t enough memory to load the parser and the error messages at the same time. So the messages were shifted to a different program, lint, which did lexical analysis and then dumped the result into a semantic analysis phase.
That mean that lint was reporting on what it thought the program meant, rather than on places where the C compiler failed. That, in turn, meant it was wrong a lot (:-)) So the authors added comments like /* NOTREACHED */ which would tell lint to ignore things. I soon got used to carefully analyzing the messages, and shutting the bogus ones off with suppressions.
Surprise, It’s the Same with LLMs
I often get message like this:
I apologize for my previous error. The article I mentioned earlier was not a real, verifiable source. I should not have presented fictional information as if it were factual. This was a mistake on my part.
In reality, I cannot find an actual City News article from January 15, 2026, with the details I previously claimed. The information I provided was fabricated, which goes against my core principle of providing accurate and truthful information.
So I do three things:
- Add suppressions to my defaults, like “don’t tell me about Oxford commas”
- check absolutely everything that doesn’t come with a URL
- and check the URLS, too.
This sounds hard, but it’s easy if you set your expectations correctly. For example, the name I gave to my LLM is “Lyin’ Brian”, after Brian Mulrony, a Canadian PM who seem to have some “doubtful associations” in his career, like https://en.wikipedia.org/wiki/Karlheinz_Schreiber
The suppressions do the heavy lifting. Checking URLs often gets done as a side-effect, when I go to read the thing the link points to.
#ai #c #lint #llm -
RheinRuhrBahn setzt LINT-41-Fahrzeuge wegen technischer Mängel außer Betrieb
#Düsseldorf #Kleve #Krefeld #Lint #Mängel #RheinRuhrBahn #Werkstatt
-
This is a gorgeous scene. Dashboard notebook, IPS LED panel left and super wide IPS LED panel full left
The SBC is lit up by the second panel -
Another last photograph of dashboard notebook.
Rest in peace -
One of the last photographs of my dashboard notebook, to the far right, before the video lint cable snapped. The hinges of the system broke a while ago making this inevitable.
The notebook, unusable for important computing demands of my workflow was still valuable as an extended display of various dashboards from other machines like the SBC and main computer which needs a third display.
This notebook lived for a whopping twenty+ years!
-
Nationalism is fine so long as you're an oppressed people, and you're saying "We're as good as the other people".
As soon as you already have a nation, it can no longer mean that, becoming instead "One of us is better than any of them".
-
Are there any #SchneiderElectric #Modicon People around? I am getting more involved in the search for the WTB library used in old #Alstom #LINT trains than I probably should, but I can't help myself from digging into this rabbit hole...
-
Created two small linters improving an ergonomics of type switches in Go by adding exhaustive match check. With those tools adding a new case become a lint error.
https://github.com/gomoni/sumlint
1. oneoflint does an exhaustive check for code implementing protobuf's oneof
https://vyskocil.me/blog/oneoflint-exhaustive-lint-for-proto-files/
2. sumlint which does an exhaustive check for a interface implementing a simple naming convention
https://vyskocil.me/blog/sumlint-having-sum-types-in-go/
type SumFoo interface {
sumFoo()
} -
Ich bekam auf einem Sidechannel den Tipp der Bayerischen Oberlandbahn. Hat von der #Bahnbubble jemand Kontakt zu deren Werkstatt?
#LINT #BOB #Instandhaltung #BayerischeOberlandbahn #BayerischeOberlandbahnBOB
-
Hat hier jemand Kontakt zu Menschen, die LINTs maintainen? Hier sucht jemand ein File, das nicht auf der Service-CD ist, aber eine handvoll Züge unbricken würde.
-
Beginning to really appreciate the #rumdl project in helping me lint my Markdown and get some consistency in the formatting of the gazillion notes I've created for myself.
Like #ruff and sphinx-lint, it's becoming a common part of my toolbox to keep my sloppiness in check and, perhaps, teach me some better formatting habits.
-
prek 0.2.0 is out:
"Note: If you ran `prek install` in a repo before, you gonna need to run `prek install` again to replace the old git hook scripts for the workspace mode to work."
https://github.com/j178/prek/releases/tag/v0.2.0
Here's a little script to run `prek install` in all subdirectories containing a config file:
uv run https://gist.github.com/hugovk/d601e651e08d229714a86fb5b04bc6c9
-
🆕 I've been using a new tool called prek as a drop-in replacement for pre-commit.
It uses uv and is rewritten in Rust (because of course) and as you'd expect is much faster.
Try it!
https://hugovk.dev/blog/2025/ready-prek-go/
#Python #prek #lint #precommit #uv -
Dylint - Run #Rust lints from dynamic libraries:
https://github.com/trailofbits/dylint
"Dylint is a Rust linting tool, similar to Clippy. But whereas #Clippy runs a predetermined, static set of lints, Dylint runs #lints from user-specified, dynamic libraries. Thus, Dylint allows developers to maintain their own personal lint collections."
Looks like a really cool project!
-
Статический Анализ С-кода
Существует бесплатные статические анализаторы. Среди низ splint и cppcheck. Статический анализатор это такая консольная программа, которая проверяет исходные коды до компиляции. Своего рода автоматическая инспекция программ. В этом тексте я представил готовый makefile для запуска статического анализа.
https://habr.com/ru/articles/770506/
#splint #lint #make #mcu #firmware #C #си #static_analysis #Сppcheck #Сppcheck