this post was submitted on 22 May 2024
70 points (96.1% liked)

Science Memes

10671 readers
3087 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.


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
 
(page 2) 45 comments
sorted by: hot top controversial new old
[–] qjkxbmwvz@startrek.website 1 points 4 months ago (1 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.

[–] flango@lemmy.eco.br 0 points 4 months ago (4 children)

Hey, amazing idea, can you share the code?

load more comments (4 replies)
[–] ArmokGoB@lemmy.dbzer0.com 1 points 4 months ago (1 children)

I wrote my thesis in Google Docs on my university account.

load more comments (1 replies)
[–] veganpizza69@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

Don't forget to push.

Several times I've lost large chunks of work because I usually copy files from the main folder to backup folders, but occasionally I copy files from a folder that was an old backup, reverting all files everywhere by mistake.

[–] orwellianlocksmith@lemmy.world 0 points 4 months ago (3 children)

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

[–] GiveOver@feddit.uk 1 points 4 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 (2 replies)
[–] Vorticity@lemmy.world 0 points 4 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?

[–] prashanthvsdvn@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

Markdown and pandoc are like match made in heaven for this. If you didn’t know, Markdown is plain text file, has a simple syntax for formatting (that gets carried over when you use pandoc), supports LaTeX equations and can attach metadata as yaml part on top of the file (gives custom usability when pandoc works on it) and supports citations w/ a bibliography file. And pandoc is document converter between multiple formats and can produce word files, PowerPoints, html file, latex pdfs (book, report, Beamer presentations) etc. You can also provide a template for pandoc to work with and it produces in that format. Not to mention since it’s plain text, you can apply git version control and also use make files to iteratively compile new outputs.

There is also RMarkdown (or it’s newer successor Quartro), which is same markdown pipeline but also can compute codes inside a section and attaches the result to the markdown file and does the whole pandoc thing afterwards. Think of it as like Jupyter Notebook style of literate programming with Markdown. Here’s a demonstration of its capabilities. https://youtu.be/_D-ux3MqGug

Assuming your colleagues can work with git but not LaTeX, you can set up a git repo with just markdown files and collaborate on that and have a makefile or docker container to get the final word or pdf generated. Here’s a good example of an pandoc makefile https://gist.github.com/kristopherjohnson/7466917

In Worst case scenario that they only work with word files, you can generate one from your markdown files and share with them and pull down the changes they sent you on the word document.

P.S. I assume Org-Mode can also substitute Markdown here in the pipeline. But I haven’t committed to it, so I’m not fully sure.

load more comments (3 replies)
[–] Waterdoc@lemmy.ca 0 points 4 months ago (1 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.

[–] notthebees@reddthat.com 0 points 4 months ago (1 children)

R markdown is awesome. I'd always use it for my biostatistics tests and assignments.

[–] IrritableOcelot@beehaw.org 1 points 4 months ago

Me with Jupyter Notebooks

[–] ryannathans@aussie.zone 0 points 4 months ago (3 children)

Don't put binary files in git

load more comments (3 replies)
load more comments
view more: ‹ prev next ›