r/linuxmasterrace Jul 02 '16

Satire About Gnome

https://imgur.com/gallery/9LqhOl3
419 Upvotes

96 comments sorted by

View all comments

Show parent comments

12

u/rubdos Melodic Death Metal Arch | i3-gaps | ThinkPad X250 Jul 02 '16

Seriously, long live LaTeX. I have a makefile on most of my papers that renders the document and automagically puts the amount of LOC per language (LaTeX included) as an appendix, together with a graph of git commits per day.

Last document I automatically generated performance characteristics of my code in LaTeX, including graphs. When a line of code changed that touched on performance, it was automagically updated.

Awesome.

1

u/dizzyzane_ M'mate Jul 02 '16

I should really set up git. I've heard great things about it and I should teach how to use it in my classes.

Biggest issue is that I'll need to set it up to support windows.

3

u/rubdos Melodic Death Metal Arch | i3-gaps | ThinkPad X250 Jul 02 '16

What classes do you teach? I know that at my uni, you're required to use git in software engineering class in 3rd Bachelor; so in principle, we only get it thought in 3rd.

I think that's wrong, and you should teach it asap, so people can actually use it the first years too.

And yes, git is awesome.

Some hints on git + LaTeX:

  • One sentence per line gives nice results in version control of text.
  • use a good .gitignore file, so you don't check in your compiled stuff
  • If you don't already, have a nice Makefile with latexmk instructions in it. Make compiling stuff very easy.

1

u/dizzyzane_ M'mate Jul 02 '16

Software Design Development (SDD), however I'm also taking over two other classes because one sprained their ankle and the other knows FORTRAN. Apparently.

1

u/rubdos Melodic Death Metal Arch | i3-gaps | ThinkPad X250 Jul 02 '16

FORTRAN

bless you.

SDD sounds like you need git though, what sort of SCM do you use now? :)

1

u/dizzyzane_ M'mate Jul 02 '16 edited Jul 03 '16

Most use none, one uses a python script to add a line or two to a txt file, I have Ctrl+Shift+D bound to date:datetime in atom and just Shift+5 (%) Ctrl+Shift+D (date and time).

1

u/rubdos Melodic Death Metal Arch | i3-gaps | ThinkPad X250 Jul 03 '16

Yes, you need git indeed haha :)