this post was submitted on 22 May 2024
997 points (97.9% liked)

Science Memes

11086 readers
2628 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] ornery_chemist@mander.xyz 128 points 6 months ago* (last edited 6 months ago) (5 children)

Counterpoint: advisor said no.

"Just use Word, everyone else does. I have never heard of this latex thing, so must be just some trendy useless overengineered software that does Word's job but worse. Word can track changes just fine, and you can leave comments." proceeds to strikethrough, highlight, and inline comment everything instead of using either of those features "I want to read what you wrote, not fight technology" proceeds to email you three separate times after forgetting to attach v28 about how a graphic looks wrong because Word ate it

[–] pufferfisherpowder@lemmy.world 33 points 6 months ago* (last edited 6 months ago) (1 children)

While correct in the sense of word and versioning via mail being a nightmare, I really don't think you can expect anyone to learn latex just so they can comment in your document. I would have offered to send a pdf. Shoot me.

[–] Zagorath@aussie.zone 26 points 6 months ago (3 children)

I would have offered to send a pdf

I would have never considered doing anything but sending a PDF. Even if they do know LaTeX. Unless they're offering to help edit the code for me, what good is it? It's objectively harder to read than the formatted PDF.

That said, marking up a PDF is much more difficult and does require more specialised software and know-how than editing plain text or even editing a Word document. So there are some advantages to it.

load more comments (3 replies)
[–] 7bicycles@hexbear.net 26 points 6 months ago

galaxy-brain: don't even talk to your advisors, just hand in a finished PDF

[–] Randelung@lemmy.world 18 points 6 months ago (5 children)

you can still use word with git. it's versioning first, diffing and merging only where possible. since you probably won't branch you won't need the latter, though.

load more comments (5 replies)
[–] What_Religion_R_They@hexbear.net 16 points 6 months ago* (last edited 6 months ago) (1 children)

wait, your advisor looks at your work?

load more comments (1 replies)
[–] fushuan@lemm.ee 12 points 5 months ago (2 children)

I'm going to send you a pdf, you van email me back with the notes or comments in the PDF itself, whatever souts your fancy, and I'll keep those notes and send you a new PDF with them.

I did this and I had no issues with any of the thesises I have submitted in my bachelors or masters.

First year calculus teacher, thank you SO much for forcing us to write submissions in latex.

Also, overleaf is a thing, this is not like my 1st year of uni, this 11 years later or so. If your fucking professor never heard of latex they are just bad at academia and shouldn't be teaching honestly. It's not just about the field knowledge.

load more comments (2 replies)
[–] MudMan@fedia.io 80 points 6 months ago (3 children)

The weird part is that most modern office software has version control built right in.

And I still do this with all my files anyway.

[–] otter@lemmy.ca 37 points 6 months ago

I've had the built in version control do unexpected things, so I play it safe and create named backup files. I usually end up using that one file, but I've been saved on occasion

[–] Steve@startrek.website 22 points 6 months ago

Its just not trustworthy

[–] BearOfaTime@lemm.ee 9 points 6 months ago (8 children)

Use date/time in your file name,using GMT:

Metrics of Sales 2024-05-22_14-29.docx

Very unlikely to have 2 docs with the same down-to-the-minute time stamp in the name.

load more comments (8 replies)
[–] notthebees@reddthat.com 57 points 6 months ago (14 children)

I should write my resume in LaTeX.

[–] CorvidCawder@sh.itjust.works 22 points 6 months ago (5 children)

Done it and highly recommend it

load more comments (5 replies)
[–] magnor@lemmy.magnor.ovh 14 points 6 months ago (3 children)

Wait there are other ways to write a resume?

load more comments (3 replies)
[–] v_krishna@lemmy.ml 11 points 6 months ago

Haha my first thought seeing this meme is "do you want to start writing LaTeX by hand? Because this is how you start..."

load more comments (11 replies)
[–] Turun@feddit.de 55 points 6 months ago* (last edited 6 months ago)

git tag "FINAL FINAL FINAL DRAFT - v20"

[–] lowleveldata@programming.dev 53 points 6 months ago (7 children)

Git is like shit for Word documents

[–] Tolookah@discuss.tchncs.de 63 points 6 months ago (1 children)
[–] drre@feddit.de 16 points 6 months ago (3 children)

and then there are fucking PIs insisting on word files who never heard of tracked charges let alone of file naming conventions.

[–] Zagorath@aussie.zone 10 points 6 months ago (3 children)

I dunno what a PI is, but my honours thesis supervisor was the person who first introduced me to TeX. And gods, I wish I had known about it earlier in uni, or even back in high school. It is so useful when writing any sort of papers with sections and diagrams and bibliography.

[–] 01101000_01101001@mander.xyz 14 points 6 months ago

Principal Investigator. It's the lead scientist in charge of the project.

load more comments (2 replies)
load more comments (2 replies)
[–] jeena@jemmy.jeena.net 38 points 6 months ago* (last edited 6 months ago) (3 children)
load more comments (3 replies)
[–] vzq@lemmy.blahaj.zone 28 points 6 months ago

Unzip the docx with a pre-commit hook

(This is not a serious suggestion)

[–] steventhedev@lemmy.world 25 points 6 months ago

.gitattributes can invoke Word on windows to diff versions, and there are plenty of open source scripts that can do it if you don't have a copy of Word (or Windows) lying around.

But Word is like shit for papers. Use LaTeX instead.

[–] dream_weasel@sh.itjust.works 25 points 6 months ago

Just like word documents are shit for papers and theses/dissertations it turns out. The formatting alone is a nightmare.

[–] Hundun@beehaw.org 11 points 6 months ago* (last edited 6 months ago) (4 children)

Why on Earth would you curse yourself with MS Office anyway, especially if writing docs is your professional responsibility?

Why not use Git+Markdown+Pandoc, have your copy, data and layout separate?

I understand that a lot of istitutions/companies impose stylistic/technical requirements for docs and publications, - still doesn't mean you gotta stay married to the worst tooling.

load more comments (4 replies)
load more comments (1 replies)
[–] jol@discuss.tchncs.de 48 points 6 months ago (3 children)

I learned LaTeX just so I could effectively use git in it.

load more comments (3 replies)
[–] sandalbucket@lemmy.world 44 points 6 months ago (6 children)

Had to write a paper in college with 100 citations.

We used zotero for citation management, and it would dump a bibtex file on demand.

The paper was written in markdown, stored in git, and rendered through pandoc. We would cite a paper with parentheses and something resembling an id, like (lewis).

We gave pandoc a “citation style definition”, and it took care of everything. Every citation was perfectly formatted. The bibliography was perfectly formatted. Inline references were perfect. Numbering was perfect. All the metadata was ripped from pdfs automatically. It was downright magical.

load more comments (6 replies)
[–] qjkxbmwvz@startrek.website 44 points 6 months ago (6 children)

I also added a Makefile for mine (LaTeX), and it would add the commit hash to the front page (with an asterisk if the repository had uncommitted changes).

So, if I gave a draft to someone and got feedback, I'd know exactly which revision it was.

load more comments (6 replies)
[–] CCF_100@sh.itjust.works 34 points 6 months ago (2 children)

docx files are actually zip archives with xml in them

[–] petersr@lemmy.world 50 points 6 months ago* (last edited 6 months ago) (2 children)

Let me tell you something. I cannot tell you what company, but I have been tasked with putting Excel files in git "because they are just zip archives with xml" and it is just a disaster. Everytime you save the document it will save certain parts of the xml code in arbitrary ways (like each image is in a list and the order of that list is random everytime), some metadata is re-written everytime like time of last modified and finally all the xml files are one single line. The git diffs are complete useless and noisy and just looking at the Excel file will cause git to consider it updated. So sure, you can use git to snapshot you Office documents... But just don't.

[–] lengau@midwest.social 19 points 6 months ago (3 children)

If you are, like I once was, the poor fool who has to maintain a bunch of VBA macros... Extract them into files and source control those. Make a script to extract them and to put them back, and use git-lfs for the actual workbook if you need a template workbook.

Now pardon me, I need to add this to the agenda for my next therapy.

load more comments (3 replies)
load more comments (1 replies)
[–] MacNCheezus@lemmy.today 17 points 6 months ago* (last edited 6 months ago) (23 children)

Doesn't matter, to git they are still binary files, which means it'll check in each revision as an entirely new copy.

Yes, you might only see the most recent one in your working directory, but under the hood, all the other ones are still there in the repo.

load more comments (23 replies)
[–] SeattleRain@lemmy.world 25 points 6 months ago (31 children)

What's a good way to learn about Latex and Git. I've tried learning on my own but it's very overwhelming.

[–] Keeponstalin@lemmy.world 16 points 6 months ago

Overleaf is easy to use and has tutorials for LaTeX

load more comments (30 replies)
[–] Waterdoc@lemmy.ca 25 points 6 months ago (2 children)

I wrote about half of my thesis in R Markdown using Git to backup my work. It's fantastic because you can have your plots and statistics integrated directly into your paper and formatting in Markdown is much easier than straight up latex.

load more comments (2 replies)
[–] justme@lemmy.dbzer0.com 19 points 6 months ago

I recently read a tutorial titled: "how to annoy your collaborators: a git CI pipeline for LaTeX" ;)

[–] thebardingreen@lemmy.starlightkel.xyz 14 points 6 months ago (1 children)

I encountered an engineering firm that did this. I wanted to do it too.

The company I worked for at the time (said engineering firm was doing subcontracting for us) was full of older business people who could never in a million years have wrapped their heads around the idea.

load more comments (1 replies)
[–] atyaz@hexbear.net 13 points 6 months ago

Latex and git ❤️

[–] TheReturnOfPEB@reddthat.com 12 points 6 months ago* (last edited 6 months ago)

"Delete this repository" ate my homework.

[–] model_tar_gz@lemmy.world 11 points 5 months ago
git checkout -b final_version_revised2_REALLYFINALTHISTIME

git commit -am “holy fuck I hope this really is the last edit” 

git push
[–] Vorticity@lemmy.world 10 points 6 months ago (4 children)

Okay, I have a question. I would love to write my papers in latex, but none of my colleges use it. Is there a way to reasonably collaborate with coauthors who only use Word and for whom Latex would be confusing and difficult?

[–] hinterlufer@lemmy.world 17 points 6 months ago (2 children)

You don't. You could try overleaf or some wysiwyg editor for LaTeX, but both need some getting used to and at least a minute amount of effort. Overleaf probably has the lowest barrier of entry (0 set up required), but is a paid service.

load more comments (2 replies)
load more comments (3 replies)
[–] orwellianlocksmith@lemmy.world 9 points 6 months ago (3 children)

I'm dumb, can someone explain this joke to me? Wtf is a git repo?

[–] oce@jlai.lu 22 points 6 months ago* (last edited 6 months ago) (1 children)

Git is a tool that makes it convenient and lightweight to keep past snapshots of a directory of text files (called a repository) and compare them. It also makes it easy to have multiple people work in parallel on the content of the directory, see the differences and merge everything into a common version. It is essential in programming, it's called versioning or version control.
Although it is not easy to access for non programmers because it's based on slightly obscure command lines. So it's a bit of an over-engineering to use it for a single file edited by a single person. Especially because you can now put those on the cloud and have some form of version control that allows to easily compare and go back to previous versions graphically.
It may be worth it if it's a long document that you work upon for a long time, such as a PhD thesis.

load more comments (1 replies)
[–] GiveOver@feddit.uk 9 points 6 months ago (1 children)

Git tracks changes for a folder full of code (aka "repo") between saves (called "commits") so you can revert back to previous versions. It's intended for software but there's nothing stopping you from using it for documents

load more comments (1 replies)
load more comments (1 replies)
[–] marcos@lemmy.world 9 points 6 months ago (5 children)

Don't you automatically put everything relevant you create in a version control system? And if not, why?

There's no thinking involved on it. Create repo; run editor. The sequence is automatic.

load more comments (5 replies)
load more comments
view more: next ›