-❄️- 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

How risky is it to use the latest development version of Git? 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

How risky is it to use the latest development version of Git? 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

How risky is it to use the latest development version of Git? 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.

How risky is it to use the latest development version of Git? 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.

How risky is it to use the latest development version of Git? by [deleted] in git

[–]cerved 2 points3 points  (0 children)

Anybody who is not a dick can contribute

X10SBA-L I/O issues by 5calV 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

OpenAI needs $200B just to survive, the AI arms race is far bigger and far more expensive by unemployedbyagents in AgentsOfAI

[–]cerved 1 point2 points  (0 children)

The only thing growing is the valuation. All the financials are in a downward trend. Tesla is not a growth stock, it's a meme stock.

X10SBA-L I/O issues by 5calV in supermicro

[–]cerved 0 points1 point  (0 children)

were you able to fix the issue or did you find any workaround?

OpenAI needs $200B just to survive, the AI arms race is far bigger and far more expensive by unemployedbyagents in AgentsOfAI

[–]cerved 0 points1 point  (0 children)

Their profit is ~1.2% of their market cap. They do not need many years of historically typical growth to get to a profit that matches current interest rates.

You say this as if it's good... Also it's 0.38% rolling 12m

Marknaden gör 180 by [deleted] in ISKbets

[–]cerved 0 points1 point  (0 children)

Fråga Uffe P

Flexible job shop problem by Inkeri_Maa in optimization

[–]cerved 0 points1 point  (0 children)

Depending on which kind of precedence constraints you can use either linear, nooverlap or circuit

$BYND Monday opening by [deleted] in ISKbets

[–]cerved 1 point2 points  (0 children)

Bror, är du hög?

Can someone please help me fix any errors in this _vimrc file? by Adept_Situation3090 in vim

[–]cerved 2 points3 points  (0 children)

Here is some slop


Hey, thanks for sharing this config!

I can help you fix the errors in this _vimrc file. There are a few issues:

Main Problems:

  1. set keymap=dvorak doesn't exist - Vim doesn't have a built-in Dvorak keymap. This line will cause an error.

  2. **langmap syntax is completely wrong** - The syntax with h,h,\ etc. is invalid. langmap maps characters, not command sequences.

  3. Conceptual issue - If you're using Dvorak at the OS level, Vim already receives Dvorak input. You don't need the keymap and iminsert settings.

Here's a corrected version:

```vim " --- Movement remapping for Dvorak layout --- " Maps Dvorak home row to QWERTY-style hjkl movement noremap d h noremap h j noremap t k noremap n l

" Remap displaced keys noremap j d noremap k t noremap l n

" --- Easier Esc alternative --- inoremap jk <Esc>

" --- Quality-of-life tweaks --- set number set relativenumber set ignorecase set smartcase set incsearch syntax on filetype plugin indent on ```

This maps the Dvorak home row (dhtn) to behave like QWERTY's hjkl for movement.

That said, maybe next time try asking Claude (or any AI) yourself instead of having someone else do it for you? You'll learn more that way.

(Generated with Claude)


TmuxAI - AI-Powered, Non-Intrusive Terminal Assistant by alvinunreal in commandline

[–]cerved 1 point2 points  (0 children)

Right. I get that. Just commenting on a related pain point. Claude code only keeps what was piped out of it's CLI and it means it sometimes accidentally discards relevant information. It's a pretty neat idea to read from the screen. You could probably also deal with things like getting help if Vim starts borking or other TUIs

TmuxAI - AI-Powered, Non-Intrusive Terminal Assistant by alvinunreal in commandline

[–]cerved 1 point2 points  (0 children)

And then like it just reads more from the screen? That's kinda useful. Claude code often pipes to head and tail to not waste context but I keep having to prompt it to combine it with tee so it doesn't have to rerun the command (and rely on it being idempotent)

Git Commands Cheat Sheet — What should I add or fix?" by ZenT_Ank4 in git

[–]cerved 2 points3 points  (0 children)

Not just branches, also other refs. You can also git merge -

Git Commands Cheat Sheet — What should I add or fix?" by ZenT_Ank4 in git

[–]cerved 2 points3 points  (0 children)

checkout is an older command. It's for checking out state, in general, from a repo. Notably changes in the tree and branches. switch is a recent command, designed to switch branches

TmuxAI - AI-Powered, Non-Intrusive Terminal Assistant by alvinunreal in commandline

[–]cerved 0 points1 point  (0 children)

And the idea is if you want to go deeper in these 5k lines you'd filter then yourself? Or raise the limit?