this post was submitted on 22 May 2024
74 points (96.2% liked)

Science Memes

16479 readers
2307 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
 
(page 2) 45 comments
sorted by: hot top controversial new old
[–] SeattleRain@lemmy.world 1 points 1 year ago (1 children)

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

[–] hakunawazo@lemmy.world 0 points 1 year ago (1 children)

It is a pity that Markdown does not have the possibilities of Latex.

load more comments (1 replies)
[–] MudMan@fedia.io 1 points 1 year ago (2 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.

[–] BearOfaTime@lemm.ee 0 points 1 year ago (1 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.

[–] MudMan@fedia.io 0 points 1 year ago (1 children)

If you think this process involves enough mindpower to check the time, let alone figure out where the dashes are in whatever language keyboard setup I'm using at the time, you are wildly overestimating how much care goes into doing this.

[–] mexicancartel@lemmy.dbzer0.com 0 points 1 year ago (2 children)

Eh. I think he reffers to auto naming on save with date, not manually

load more comments (2 replies)
load more comments (1 replies)
[–] TheReturnOfPEB@reddthat.com 1 points 1 year ago* (last edited 1 year ago)

"Delete this repository" ate my homework.

[–] notthebees@reddthat.com 1 points 1 year ago (3 children)

I should write my resume in LaTeX.

[–] CorvidCawder@sh.itjust.works 1 points 1 year ago (2 children)

Done it and highly recommend it

load more comments (2 replies)
[–] magnor@lemmy.magnor.ovh 0 points 1 year ago (1 children)

Wait there are other ways to write a resume?

[–] PlexSheep@infosec.pub 0 points 1 year ago* (last edited 1 year ago) (1 children)

HTML. Some it people have their CV on their personal website.

(And CSS and JS, I guess)

load more comments (1 replies)
load more comments (1 replies)
[–] lowleveldata@programming.dev 1 points 1 year ago (3 children)

Git is like shit for Word documents

[–] jeena@jemmy.jeena.net 1 points 1 year ago* (last edited 1 year ago) (1 children)
[–] user224@lemmy.sdf.org 0 points 1 year ago

#LyX 2.0 created this file. For more info see http://www.lyx.org/

Wait, I thought you guys did it manually...

Anyway, I should still learn it.

[–] steventhedev@lemmy.world 1 points 1 year 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.

[–] Tolookah@discuss.tchncs.de 0 points 1 year ago (1 children)
[–] drre@feddit.de 0 points 1 year ago (2 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 1 points 1 year ago (1 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.

[–] Hundun@beehaw.org 0 points 1 year ago (1 children)

Check out Typst (a newer TeX-like layout engine) if you have time, I'm interested in your opinion. I find it a bit simpler to use than TeX.

[–] Zagorath@aussie.zone 1 points 1 year ago

Un(?)fortunately I don't have much cause these days for either TeX or some equivalent to it. Anything I'm writing today is simple enough that it doesn't need anything more sophisticated than markdown for formatting.

[–] prashanthvsdvn@lemmy.world 1 points 1 year ago

Then start writing in Markdown. Markdown is easier in syntax, supports LaTeX equations, has metadata and is in plain text so you can use git. And the killer feature is you can use pandoc to convert the markdown file into word, pptx, LaTeX pdfs, html etc. you can also setup a make file that runs pandoc when you ask like this

[–] qjkxbmwvz@startrek.website 1 points 1 year 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 1 year ago (4 children)

Hey, amazing idea, can you share the code?

load more comments (4 replies)
[–] Vorticity@lemmy.world 0 points 1 year 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?

[–] wyrmroot@programming.dev 1 points 1 year ago

It depends on what sort of collaboration. For things on which I was the sole author, like my dissertation, I leveraged the miracle that is pandoc. Every email my advisor got from me was a perfectly formatted Word doc with a flawless bibliography and he never had to learn what the hell LaTeX is.

But if you have multiple contributors going back and forth, or need to keep long-lived discussions in the track changes panel, you’re better off not trying to teach others a new tool. Unless they have a genuine interest in it, in which case the WYSIWYG editors can be fun.

[–] hinterlufer@lemmy.world 1 points 1 year ago

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.

IMO LyX is way simpler than LaTeX for basic stuff, but because it is literally not Microsoft Word I couldn't really use it to collaborate with people this semester, let alone convince them to work on a full LaTeX document. LyX would be the way to go if my colleagues were even remotely interested in learning about literally anything. You can lead a horse to water, but you can't make it drink...

[–] prashanthvsdvn@lemmy.world 1 points 1 year ago* (last edited 1 year 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.

[–] orwellianlocksmith@lemmy.world 0 points 1 year ago (4 children)

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

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

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

[–] IrritableOcelot@beehaw.org 1 points 1 year ago

Me with Jupyter Notebooks

[–] ryannathans@aussie.zone 0 points 1 year ago (3 children)

Don't put binary files in git

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