Pre-commit hooks can’t be installed automatically and most people won’t even know they exist.
- 2 Posts
- 874 Comments
pre-commit also has a free service for open source GitHub repos too. They’ll even push an autofix commit for you if your tools are configured for it
bamboo@lemm.eeto Technology@lemmy.world•Chinese EV maker BYD says new fast-charging system could be as quick as filling up a tankEnglish265·4 个月前They would dominate because they make a good product that isn’t more expensive than it has to be. US car companies have discontinued most affordable options to try and force people to only buy larger, higher end vehicles that most people have no use for. Now they’re mad that international companies are willing to sell the products they refuse to.
bamboo@lemm.eeto Technology@lemmy.world•OpenAI declares AI race “over” if training on copyrighted works isn’t fair useEnglish1·4 个月前All you have to do is present credible evidence that these companies are distributing copyrighted works or a direct substitute for those copyrighted works. They have filters to specifically exclude matches though, so it doesn’t really happen.
bamboo@lemm.eeto Technology@lemmy.world•OpenAI declares AI race “over” if training on copyrighted works isn’t fair useEnglish1·4 个月前It’s like stealing from shops except the shops didn’t lose anything. You’re up a stolen widget, but they have just as many as before.
bamboo@lemm.eeto Technology@lemmy.world•All this bad AI is wrecking a whole generation of gadgetsEnglish9·4 个月前Detecting a hallucination programmatically is the hard part. What is truth? Given an arbitrary sentence, how does one accurately measure the truthfulness of it? What about the edge cases, like a statement that is itself true but misrepresents something? Or what if a statement is correct in a specific context, but generally incorrect?
I’m an AI optimist but I don’t see hallucinations being solved completely as long as LLMs are statistical models of languages, but we’ll probably have a set of heuristics and techniques that can catch 90% of them.
I don’t know any Vietnamese, but I suspect it would be as awkward of an answer as “not no” in English.
bamboo@lemm.eeto Programming@programming.dev•Humble Tech Book Bundle: Computer Science the Fun Way by No Starch3·4 个月前I think that the best way to learn programming techniques is to actually do projects and make mistakes. It is one thing to understand a design pattern in theory, and another thing to be able to use that design patterns to solve real problems. Once you get deep enough into a specialty, then look for well-regarded talks and conferences in your niche.
bamboo@lemm.eeto Technology@lemmy.world•Gaming chat platform Discord in early talks with banks about public listingEnglish117·4 个月前Maybe the search engines should start crawling and indexing discord
bamboo@lemm.eeto World News@lemmy.world•Coffins said to contain hostages’ bodies arrive in Israel and Palestinian prisoners freed as Gaza truce nears expiry | CNNEnglish4·5 个月前So the difference is in the kind of holding space?
bamboo@lemm.eeto Technology@lemmy.world•Google’s new AI video model Veo 2 will cost 50 cents per second | TechCrunchEnglish7·5 个月前That’s about one egg per second
Remove the need to, yes. Remove the ability to? No, and rust doesn’t prevent you from doing that, it just makes you mark it
unsafe
so that way if you fuck up and cause a memory error, the root cause can be narrowed down to a tiny fragment of the code base.
Unsafe rust has proven that it can be an effective alternative here, ideal especially when the consumers are also rust.
If it ain’t broken, don’t fix it.
That’s the thing, it is broken and there is a fix desperately needed. C lacks memory safety, which is responsible for many, many security vulnerabilities. And they’re entirely avoidable.
What exactly are the hazards of shared memory and locks? The ownership system and the borrow checker do a pretty good job at enforcing correct usage, and if you are clever you can even guarantee no deadlocks (talk at rustconf 2024 about the fuchsia network stack).
bamboo@lemm.eeto World News@lemmy.world•China’s stunning new campaign to turn the world against TaiwanEnglish5·5 个月前It’s wild how much stuff is manufactured on processes considered obsolete for high end cpu/gpu production
bamboo@lemm.eeto Android@lemdro.id•Android 16 may give you a heads up when your phone's time zone changesEnglish4·5 个月前iOS accidentally has this feature if you use apple health to track medications. Whenever the time zone changes, it’ll send the user a notification to ask the user if they want to adjust the schedule for the different time zone or maintain the existing times
bamboo@lemm.eeto Android@lemdro.id•Qualcomm says Arm is no longer threatening to take its chip architecture away.English12·5 个月前I mean, just looking at a store like Best Buy, the snapdragon laptops look really good for their price. If you’re not gaming, they do office and school tasks just as well. And for a lot of people, the thin fanless one that doesn’t get hot and has 30 hours of battery life is really what they want in a device. And they’re used as chromebooks in a lot of cases, where compatibility isn’t really a concern.
The internet was developed by ARPA, then later made available to universities and eventually private connections. Military and public research developed the tech, capitalists figured out how to most efficiently sell junk using the tech.
I can’t imagine their software and bookkeeping would be significantly different from any other international logistics company?