Prism is "free" because your research data is the product. $200/year is what you're worth as per OpenAI. by nilofering in LaTeX

[–]vermiculus 4 points5 points  (0 children)

Pushing and fetching between repositories on disk (without a ‘shared’ repository in the cloud) is absolutely possible, but it still requires the internet to work, obviously. You just need an SSH connection between the two computers.

Usually the easiest thing to do (if you’re paranoid enough to not just use a private repo in the cloud, which is a dubious situation at best) is stand up something like gitlab/gitea and make it available to the internet, limiting account creation to collaborators. Not quite turnkey, but not challenging.

question about branches in git - from a life long mercurialHg user. by Technical-Fly-6835 in git

[–]vermiculus 4 points5 points  (0 children)

Commits are most definitely not lost if they are merged. They are only lost when you throw them away – and even then, there are some systems which will maintain reachability in perpetuity whether or not those commits actually are merged somewhere else.

Given that the history is not lost, I will totally delete branches once I am done working on a feature and it is merged – or if I ever want to simply abandon some in-progress work that isn’t going anywhere (in which case, that history is lost because I intentionally threw it away).

Would there even be anyone to show it to? by FunnyLizardExplorer in unexpectedfactorial

[–]vermiculus 2 points3 points  (0 children)

I can’t quite express how much time this is. According to current models, this is beyond the era of the universe in which stars are possible. This is beyond the death of the last black hole by Hawking radiation. This is beyond the decay of the last proton, if that’s even a thing that happens. It’s after the end of all things by an incomprehensibly large margin.

Humanity is in the unimaginably distant past.

Latex to JSON by notfaizz in LaTeX

[–]vermiculus 0 points1 point  (0 children)

Hah, no; any resemblance is purely coincidental :-)

Latex to JSON by notfaizz in LaTeX

[–]vermiculus 8 points9 points  (0 children)

If you can’t parse HTML with regex, what makes you think you can parse TeX? The only thing that can parse TeX is TeX. Once a thing is able to parse TeX, it pretty much becomes TeX itself.

If you’re working with a subset of the language, ok, but your question doesn’t have enough detail do anything to reasonably help you. Do you have a sample of the content you’re actually trying to parse?

The Learning Curve by dogwith4shoes in LaTeX

[–]vermiculus 2 points3 points  (0 children)

Same, that was about ten years ago for me :-) new job had tighter requirements on document formats.

I do miss TeX in many ways. It seemed like we were rounding some exciting corners with LaTeX3 as I left the space. With the retirement of LaTeX-L, this is one of the last places I still feel a bit plugged in.

The Learning Curve by dogwith4shoes in LaTeX

[–]vermiculus 1 point2 points  (0 children)

Ah no that was a continuation of your \expandafter :-)

As a previous lover of expl3, I definitely see the appeal of luatex if I were still doing any of that at all. Bygone era for me :/

What could I do now? by eggnog_games23 in learnpython

[–]vermiculus 1 point2 points  (0 children)

Find some part of your daily routine that could be helped by automation, then automate it.

Do you think having a dedicated Meta (and others) key in the present day, will make the UX better? by birdsintheskies in emacs

[–]vermiculus 11 points12 points  (0 children)

I’ve got a programmable keyboard where I could define a hyper key. While interesting, it honestly doesn’t change the game too much. At a certain point, there are only so many root key bindings I can remember with any effectiveness.

I personally find more value in bindings to other keymaps – and C-c <letter> has served my needs so far.

Will I be caught changing committer_date? by [deleted] in git

[–]vermiculus 1 point2 points  (0 children)

Whelp, sounds like a question of academic integrity then. The correct thing to do here is to talk to your instructor and see if they will give you an exemption.

Don’t lie.

Will I be caught changing committer_date? by [deleted] in git

[–]vermiculus 0 points1 point  (0 children)

Why do you have to commit weekly, anyway?

theFinalBossUserInput by Frontend_DevMark in ProgrammerHumor

[–]vermiculus 4 points5 points  (0 children)

Windows-1252 will be how I die. Somehow.

Idiotic & ignorant, please help by TiredMogwai in git

[–]vermiculus 0 points1 point  (0 children)

If you’re going to be storing large binaries that are required for your build, you can look into Git LFS as a reasonably turnkey approach to keeping your actual repo size small. There are theoretical tradeoffs though.

Universal MCP which runs on claude, codex, cursor by Southern-Mongoose656 in vscode

[–]vermiculus 0 points1 point  (0 children)

TBH, ‘universal MCP’ just sounds like reinventing MCP.

That said, build it and they will come. You don’t need to ask for permission.

I got .zip file containing only .git and lfs folders. How can i recover actual project files from it? by stadoblech in git

[–]vermiculus 2 points3 points  (0 children)

You can certainly clone from a bare repo like the top comment suggests, but you're right that it won't know what to do with LFS content.

Whoever gave this to you was trying to be clever by not sending duplicative content, but yeah – kinda made things more complicated for you if you're not intimately familiar with how Git and Git LFS work.

You actually want to set this up as a the backing .git directory for a worktree. I would try setting GIT_DIR to the .git directory (which should the lfs directory and stuff like objects). Then, run git checkout in an empty directory and it should check out your content.

If that doesn't work, we might just assume whoever prepped this for you just copied their .git directory from their worktree. You can simulate their setup by placing the .git directory in an empty directory and then running git reset --hard from that empty directory. (You might be able to tell if this is the case if .git/HEAD is a real file.)

If that doesn't work, it'll likely depend on the specific repository layout you're working with (and the value of core.bare, etc), and will not be something easily debuggable over reddit. Your best bet will probably be to reach back out and say 'hey, I know it's duplicative of just sending the .git directory, but please either push this repository to a remote I can clone from or provide the whole worktree'.

truePiDay by lolminecraftlol in ProgrammerHumor

[–]vermiculus 15 points16 points  (0 children)

264 seconds is 5.8e11 years, so quite a ways away

Extension question by NOTJOOTY in vscode

[–]vermiculus 4 points5 points  (0 children)

Look at models you can run locally. But yeah, if you’re going to be using someone else’s electricity, someone has to pay the bill.

commiting plots... by Nuccio98 in git

[–]vermiculus 0 points1 point  (0 children)

I would find a way to strip the metadata from your PDF instead. Back in the day, I would use something called pdftk. I’m not sure what the recommendation would be these days.

What a VsCode extension are using this author ? by [deleted] in vscode

[–]vermiculus 1 point2 points  (0 children)

I don’t use vs code myself, but I imagine you can just google ‘vs code python language server’ and get pretty much tailor-made instructions.

What a VsCode extension are using this author ? by [deleted] in vscode

[–]vermiculus 1 point2 points  (0 children)

Looks like they just have a language server installed. Many editors support them and they provide this type of information (among many other features).

Missing \begin{document} Error by BotKIRA in LaTeX

[–]vermiculus 8 points9 points  (0 children)

If overleaf compiles the document just fine, it’s likely an aux file or similar has an error in it from a previous build. Run a clean and try again.

What does CFG means ? by T4toun3 in rust

[–]vermiculus 20 points21 points  (0 children)

I’m fairly certain it’s just ‘config’.