Looks like a category theory book. And they’re right: using A to notate the identity arrow is ridiculous.
- 0 Posts
- 47 Comments
The reason it’s so popular is because it provides directional navigation on the home row, with the direction that’s by far the most common (down) under your strongest, dominant finger (the index finger).
It’s much better for both efficiency and ergonomics than arrow keys.
Aw man, really? Why do all of the greats have to be so shitty?
expr@piefed.socialto
Technology@lemmy.world•Amazon Shuts Down Internal AI Leaderboard After Employees CheatedEnglish
0·6 months agoThe companies generally know it can be gameified. Most people don’t bother, so they don’t really care too much.
Even if Fitbit only allowed data from wearables, you could still hook up a wearable to a fan or similar and get similar results. There’s not really a way to avoid it.
expr@piefed.socialto
Games@lemmy.world•Unknown Worlds Earns $250M Performance Bonus After Stellar Subnautica 2 LaunchEnglish
6·6 months agoSo… did he use ChatGPT to write the contract in the first place? If so, that would fucking hilarious.
We are far from knowing that true intelligence is possible with the computing paradigm as we know it, and indeed, if it’s even possible to do outside of biological systems. So it does require a revolutionary breakthrough in computer science and/or computer engineering.
I have never argued that it is never possible, just like time travel or teleportation is technically possible given a radical breakthrough in our understanding of how the universe works. But as of right now, AGI/true intelligence/etc. is still purely science fiction and LLMs are not even remotely close (and are a complete deadend towards that goal).
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
1·7 months agoMonorepos don’t really change anything. Squashed commits are still not atomic, unless the MR is small enough to fit into a single logical commit. Changes made to say, a database query are distinct from changes made to route handling, yet both might be needed for the overall feature. They don’t belong in the same commit in history.
Yeah, the whole thing is one big joke, really.
I mean yeah, I agree that’s unbelievably stupid. But when people talk about guardrails generally, they are talking about controlling the output of the LLM, which is what I was saying is not possible to do.
It’s not possible to add guardrails due to how the technology works.
The fact of the matter is that it should not be used for what it’s being used for at all.
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
1·7 months agoAnd I"m saying that doing with merges (and squashing) what should be done with rebases is bad. You can do it that way, but you shouldn’t, because it makes for worse history and less usable git tools.
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
1·7 months agoSquashed commits are not atomic, unless the MR is so tiny that it logically fits into one commit. This is often not the case, though. It is frequently the case that the overall task requires modifying multiple different systems, which should themselves be their own commits, with tests for changes added to the same commit that makes the change.
A well-crafted MR should tell a story in its commits, with changes proceeding logically from one another.
It seems to me what you are really arguing against is poorly crafted history, which I fully agree is something to be stamped out.
To address the specific commands you mentioned:
- That’s… really besides the point of
git bisect. It’s binary search to find bad commits. If the selected midway point happens to be a formatting commit (which I’d argue should really be handled by pre-commit hooks anyway) and that commit is broken, it just means that the search proceeds to the midway point between that commit and the known good commit. - You can revert a range of commits, but the point of crafting a quality history is not doing things like having separate commits for tests. Tests belong with the code that it’s testing.
- First off, any reasonable usage of git will have ticket/issue numbers in the commits that you can use to look up the full task information. But also,
git blamewon’t show the rename commit if it’s a separate commit from any changes (which it absolutely should be, due to how git handles renames). And finally, if you care about getting more detail about why the code is the way it is,git blameisn’t even the right tool for the job anyway,git log -Lis.
- That’s… really besides the point of
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
1·7 months agoYou don’t share feature branches. So you always know precisely what is shared history: the commit you branched from.
The workflow is branch from shared history, rebase your branch as many times as necessary during development to craft a quality history, then merge back.
I rebase dozens of times a day and have never had a single issue with it.
If you’re bothered by repetitive merge conflicts (which, in my experience, are quite rare if you’re doing things correctly), that’s what git rerere is for.
Rebasing is for crafting a quality history of your own commits (or getting your branch up to date with the trunk). Merging is for integrating your commits with the shared history.
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
8·7 months agoRebasing is not dangerous. You can always go back if something is not to your liking.
You don’t rebase shared history, you use rebases to craft a clean, quality commit history for your own branches before merging. If everyone does this, then squashing is unnecessary, because garbage commits don’t exist. It is the far superior way of doing things if you actually care about having good commits.
Keeping a quality history rather than squashing also makes many other git tools much better, such as
git blame,git revert,git bisect, and so on.
expr@piefed.socialto
Programmer Humor@programming.dev•Please let me squash a merge commitEnglish
7·7 months agoIt’s fine if the changes belong in a single commit. Otherwise, an interactive rebase to craft a clean, quality history before merging is much, much better.
Obviously not, because that’s not possible.
expr@piefed.socialto
Technology@lemmy.world•The Git Commands I Run Before Reading Any CodeEnglish
19·7 months agoNot sure why, seems just like useful advice. It sounds like the author does contracting of some sort, so having tools to quickly orient around a new codebase makes a lot of sense.
expr@piefed.socialto
Technology@lemmy.world•Anthropic nuked a company's access to Claude, stopping 60 employees dead in their tracks — support via Google Form is the only recourse for vague usage policy violationEnglish
165·7 months agoExcept, unlike computers and the internet, AI is not essential, unless your whole business revolves around it (in which case, good riddance).


I’ve never heard someone say that before. Why would you want one but not the other, if you don’t mind my asking?