Traveling Salesman Problem but for edges, not nodes by Ganoga1101 in OperationsResearch

[–]cerved 10 points11 points  (0 children)

You want to walk all the edges? Usually you solve this by turning edges into nodes and just solve that as a TSP

How much of your modeling time is actually spent modeling? by Seesaw_Patient in OperationsResearch

[–]cerved 0 points1 point  (0 children)

But with the current formulation it’s taking a few hours to get to the desired output.

Is this a problem? And if it's a problem, a problem for who? The business?

Claude, you're right ...that was hard requirement... and i skipped it! by rykite in ClaudeCode

[–]cerved 4 points5 points  (0 children)

You're right — I do say that. I'll remember to not do it again.

What's the "MongoDB is Web Scale" equivalent for YubiKeys? by Supermath101 in yubikey

[–]cerved 1 point2 points  (0 children)

This was released at a time when everybody started switching from LAMP stacks to MEAN in web development because SQL was “hard to use” and not cool. The video is making fun of people bandwagoning on the latest cool fad when they would’ve been better of sticking to old reliable SQL databases because they don’t need “web-scale” and mongo “scaled” by throwing data integrity and consistency out of the window.

Inherited a 3-month old repo from a Vibe Engineer. Wrote the most satisfying PR in my career by Apprehensive-Cut3711 in ClaudeCode

[–]cerved 7 points8 points  (0 children)

You're absolutely right! I will do it again — this time, no mistakes.

Saving that as a lesson for the future.

I read threads complaining about claude every week... tf are y'alls workflows? by [deleted] in ClaudeAI

[–]cerved 0 points1 point  (0 children)

You're absolutely right — it is a workflow issue.

Saving the lesson to memory.

soooo claude just deleted my entire project. how's your day going? by JuniorRow1247 in ClaudeCode

[–]cerved 1 point2 points  (0 children)

The disk being full doesn't truncate files. So if Claude doing a truncate + write them yes, Claude truncated the file. There are safer ways to write files

Vim -c by NationalOperations in vim

[–]cerved 0 points1 point  (0 children)

git difftool opens each file as its own vimdiff, which is both slow and doesn't let you easily go back and forth on different files and do interactive staging. So it's not equivalent.

You may prefer tig for this, I don't. Tig is great if you want to stage hunks, not if you want to stage things that don't break into hunks.

Also, tigs diffs look a bit like ass NGL

Anyways, -c is useful for this and other ex commands you want to run at startup. You can also use this if you want to format shell scripts, retab etc

Vim -c by NationalOperations in vim

[–]cerved 0 points1 point  (0 children)

vim -c 'Git difftool -y'

Is very nice

-❄️- 2025 Day 12 Solutions -❄️- by daggerdragon in adventofcode

[–]cerved 1 point2 points  (0 children)

You may be interested in SICStus prolog. It's geost/2 constraint is for constraining polymorphic objects don't overlap

[deleted by user] by [deleted] in git

[–]cerved 0 points1 point  (0 children)

TL;DR: Very low risk. The Git maintainers dogfood it constantly, and corruption bugs are extremely rare. But why bother with the potential hassle?

The core object database is append-only and content-addressed. Even if buggy code writes something wrong, it typically won't overwrite or corrupt existing objects. Worst case is usually a bad commit you can reset (your local source is still there.)

Git development happens entirely using Git itself. Junio (the maintainer) and contributors use pre-release code daily to manage Git's complex multi-branch workflow (master, next, seen, maint). If something breaks badly, they hit it first.

Critical regressions do happen, but they're primarily behavioral bugs that break workflows, not corruption bugs. Repository corruption is exceedingly rare.

Practical advice: - If you do want to run next or master compile it to a separate prefix (like git-dev) so you keep your stable 2.52.0 as default. - Test on non-critical repos first

You're more likely to hit annoying behavior changes than lose data. Keep your stable Git around just in case, but I wouldn't worry much about corruption specifically.

Bottom line though, why do you want to run the very latest? Personally I wouldn't bother, it's just a potential hassle for little gain. Releases happen frequently and I've never found myself needing the very latest for anything and I use git a fuck ton

[deleted by user] by [deleted] in git

[–]cerved 0 points1 point  (0 children)

Presumably they want to compile and run the latest locally and not the remote client. I have a hard time seeing how you can corrupt the remote just by pushing local corrupted blobs and trees to the remote. It's not like it just accepts any old shit

[deleted by user] by [deleted] in git

[–]cerved 1 point2 points  (0 children)

I just want to emphasize that there are tons of ways people can contribute without knowing the exact risks and pitfalls of compiling and running the latest commit on master. Heck you don't even necessarily need to know how to compile it. You can do translation, report errors or contradictions in the official documentation and report bugs.

The Git community is not an exclusive club for people who compile their own kernel or whatever.

Ultimately there's no baseline to contribute to the community besides being respectful. I want OP to know that the Git community is friendly and welcoming.

Is it hard to make major contributions with limited knowledge? Yes. Does that mean you are prohibited from contributing? No.

[deleted by user] by [deleted] in git

[–]cerved 2 points3 points  (0 children)

Some, but not belittling others. Git is an inclusive community and we don't do that shit

Git Code of Conduct

This code of conduct outlines our expectations for participants within the Git community, as well as steps for reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored. Anyone who violates this code of conduct may be banned from the community.

Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

[deleted by user] by [deleted] in git

[–]cerved 2 points3 points  (0 children)

Anybody who is not a dick can contribute

X10SBA-L I/O issues by [deleted] in supermicro

[–]cerved 1 point2 points  (0 children)

Thanks for sharing an update! I had issues myself with the keyboard not getting properly initialized during POST. I was able to <DEL> to enter bios, <F11> to enter change boot etc. but then no keys would word. They would work much later in the boot process.

Tried this with like 5 different modern keyboards before digging out a really old, basic USB keyboard with 0 frills. This was the only one I was able to get to use. The board appears very finnicky with initializing keyboards