Skip to content

u/t3rtius

In this archive from Feb 2019 to Nov 2019

6
posts
29
comments
1
media
219
score

I feel inclined yet again to link to Gilles Castel's blog, where he showcases his setup for LaTeX note taking in vim.

At the same time, my opinion is that nothing beats pen and paper, as others have said, but I think a "dual" setup is best. I try to rewrite my handwritten notes in LaTeX, since this way they are searchable and more easily accessible than leafing through notebooks. Moreover, I can expand ideas, link similar papers, books, thoughts when I rewrite what I initially just sketched.

As for the setup, nothing beats LaTeX provided you mostly read the resulting PDF. The source is not that beautiful, unless you use some vim-conceal (as Castel does) or some inline rendering, as Emacs does, in AucTeX or Org. For this reason, I have considered to just write plain text as OP does here, but it gets frustrating quickly (try writing some integrals, partial derivatives etc.). So yeah, Multimarkdown if you want to take it easy and not insist on the "compiled output" to PDF or go straight to LaTeX, which is a hugely important asset for any scientist. But at least draft your notes in pen and paper. You'll learn and create easier.

6 points

More of a bedroom guitarist here than a musician, but I recently gave up Logic on macOS and Studio One Pro on Windows for the following:

  • Ardour or Reaper for "sketching", practicing and maybe recording;
  • Mixbus32C for the final mix.

I don't necessarily need to go to Mixbus, but I really love its embedded EQs and Compressors and mixbuses!

As for VSTs, I couldn't do without:

  • Plugin Alliance ampsims for guitars (via linvst);
  • AmpleSound AMR2 for virtual bass (via linvst);
  • MTPowerDrumkit (native) for sketching drums and Superior Drummer or Steven Slate 5 for the final mix (via linvst);
  • U-He Diva, Hive and Repro for synths (native).

I love everything so far!

EDIT: I play mostly rock and metal covers.

6 points

I also used to love Fantastical on macOS and iOS and haven't found a good replacement on Linux. I'm currently using the Calendar function that Fastmail, my email provider, offers.

For CLI alternatives, I found khal, as part of PIM utils or, as others have suggested, calcurse.

You could, of course, go full Emacs and make use of org-agenda.

As others have said, Evolution and even Thunderbird offers good calendar integration. But I prefer something text-based (I'm using Emacs). Or paper-based. :)

2 points

One option (which I assume OP is using) is preview-latex, built into AucTeX.

See details here and here, for example.

It produces inline temporary png images of the equations.

IIRC, org mode can do the same for LaTeX blocks. But it can be seen that the OP uses some LaTeX major mode, which I'm pretty sure must be AucTeX.

9 points

Thanks for the reply! I'll look into that.

However, while your response could be appropriate for the example I provided, I feel the general question of "what makes a distro and what part of that can be changed/removed?" still remains. So I would kindly ask for an explanation on this as well, disregarding some obvious defaults (e.g. desktop environment, file manager, package manager etc.).

1 points

I'm a simple man, I see LaTeX, Gruvbox and lambda calculus, I upvote.

That's a nice looking setup you have there, although I still don't understand why people choose to give up to so much screen space by using gaps. A matter of personal preference, I guess, no criticism.

1 points

I'm a simple man, I see LaTeX, Gruvbox and lambda calculus, I upvote.

That's a nice looking setup you have there, although I still don't understand why people choose to give up to so much screen space by using gaps. A matter of personal preference, I guess, no criticism.

1 points

I'm a simple man, I see LaTeX, Gruvbox and lambda calculus, I upvote.

That's a nice looking setup you have there, although I still don't understand why people choose to give up to so much screen space by using gaps. A matter of personal preference, I guess, no criticism.

1 points

I, for one, would most appreciate it to return plaintext. For lots of reasons, such as:

  • cleaned HTML is almost like nothing, since I can just save the original HTML and open it with Firefox, then choose Reader Mode and I'm done. I wouldn't need to look into the source, so I wouldn't care it's cleaned and it will not be as universal or portable as plaintext. Even if cleaning the source would make it browser independent and perhaps eliminate the need for Reader mode, I still think it's useless to do the cleaning, since I get to keep a HTML anyway, which may as well be the original.

  • I learned from Emacs Org export to plaintext, some man pages, plaintext mailing lists etc. that pure plaintext files could be a pleasure to read, even without proper formatting and beautification artifacts. It could be painful to try to beautify plaintext (as Org export does, for example), but I would still much prefer plaintext with paragraphs separated by one empty line, no indent and say 80 column lines over just about any other format. At least for this kind of use.

Of course, you don't have to agree, but this is just my point of view.

1 points

Yeah, those are some notes on denotational semantics in Cartesian Closed Categories. That 'strange Julia like language' is actually Scheme, from SICP. (apart from Emacs lisp, which is above it)

2 points

I try to. Actually, I'm a professional mathematician, trying to transition to theoretical computer science. Type theory and semantics are my main topics of focus. But I'm learning my way. You can see in the screenshots various resources and notes I took in the process and toy programs to study aspects of programming languages.

2 points

Sure, here they are.

Note, though, that I'm not quite satisfied with my git workflow and skills, so they will be not regularly updated and maintained. I just created a snapshot of the current most important configs to share with you. For any further questions, feel free to ask. Most of what's there is heavily inspired by people I cite in the source files.

Oh, and for st, it's just Luke Smith's fork, which takes the colours from .Xresources.

2 points
  • OS: Manjaro i3;
  • Status: i3status;
  • PDF Reader: zathura;
  • File manager: ranger;
  • PDF Reader: zathura.
  • Theme: my own, aiming towards a 3-4 color scheme (1 for regular text, 1 for keywords, 1 for comments and 1 red for errors/warnings);
  • Font: misc-fixed.

My main working tool is emacs, for just about everything. However, I sometimes go to the terminal.

I like to keep things simple and maximized, so I disabled the gaps and almost never see my wallpaper (which is the default Manjaro i3 anyway).

6 points

Thanks for the reply! I already mentioned in the post and through the comments that pandoc is not OK or I don't know how to use it. The main problem I have is that if I give it a html file as input, which I have downloaded via wget, it keeps asking for the assets folder. In particular, if the html included some image, pandoc complains and fails unless I specifically give it that image. That's the main issue. So I assume I would have to parse the html to get rid of all the image and stuff that may be included, in order for the file to have just bare text and links, then feed it to pandoc.

If you know a way to make it ignore all the web assets that are included in a html file, please let me know. I could only find through its documentation the option to manually specify the assets folder, but it cannot be set to "none" or something like "ignore".

EDIT: As for Mercury, I found it a bit too complicated. I'll have a closer look.

1 points

Here's what I think I'll end up doing:

  • wget as many HTMLs I find useful from websites I actually read usually;
  • inspect the sources and see what do I actually need, except for the title, headers, paragraphs and links;
  • try my luck with a bit of sed or Perl to parse and keep just what I need, as decided in the previous step;
  • now, if I have a clean html, with no images and assets, I can either pass it to pandoc to produce a PDF or think of a better way.

I once turned an XML file from an RSS feed to a HTML I could include in my website just using sed, so I may not be experienced enough, but I'm motivated to try and do it the layman's way.

I may not know what I'm talking about and oversimplifying until I'll complete the first two steps, though.

2 points

Thanks for the reply!

Well, to be honest, I'm using Emacs with elfeed to read my news and I resort to eww as a browser if needed. So basically, I can just select and copy-paste (yank-whatever) from the page I'm viewing in eww and save that in a buffer/file. So I do have alternatives, I assume I can even dig deeper in eww and find a cleaner way to do it.

These are nice options, but to be honest I'm surprised that there's no cleaner way to do it. I don't know much web programming, but I assume web pages have developed into a huge mess, so parsing is not trivial, even if one wants just the main text. Nevertheless, I think I'll experiment more with pandoc. Currently, the main issue I have with it is for links and assets. It refuses to get the text only and fails if you don't have the assets folders (images & stuff).

If not, start to write a bare parser myself. Just take the title, h1, h2, h3 tags and paragraphs and see what I get.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.