Live data from Hacker News

Linux Productivity Tools (2019) [pdf]

usenix.org

21–30 of 276 posts

Re: Linux Productivity Tools (2019) [pdf]

#21
Nice slides. I missed him covering ripgrep and friends, which is very useful to avoid slower find-grep queries.

Along with ripgrep, I think GNU Parallel (covered in the slides) and htop (briefly discussed) are great additions to any Unix development environment.

The rest of the standard utilities have stood the test of time surprisingly well. But top is a bit wonky, xargs has many pitfalls and, as I said, ripgrep is great for speeding up some find-grep workflows.

Re: Linux Productivity Tools (2019) [pdf]

#22
post #20

One useful thing when managing one's time is to know when a command will complete. I have a habit of using "pv" anywhere I wait for a result so that I know how long it takes: http://www.ivarch.com/programs/pv.shtml It's basically "cat", but with a progress bar. Also useful for measuring IO speed and volume (e.g. decompression: `pv -c largefile | gzip | pv -c > /dev/null` )

You can also use it with dd, or even just redirect it directly to a block device. I use it a lot for writing USB images. `pv image.iso > /dev/sdX`. Just gotta be careful not to redirect it to the wrong one...

Re: Linux Productivity Tools (2019) [pdf]

#24
post #23

The python utils section missed the very cool json.tool that can pretty print JSON files (and exists on your OS if it includes Python): cat /tmp/foo.json | python -m json.tool https://docs.python.org/3/library/json.html#module-json.tool

I like jq (https://stedolan.github.io/jq/) for this purpose.

It's a very flexible tool for filtering, querying and manipulating JSON data, but when run with no arguments, it performs a no-op transformation that just pretty-prints its input.

Re: Linux Productivity Tools (2019) [pdf]

#25
How much of these is really still relevant with now Python quickly becoming new scripting language across all platforms? I now tend to prefer 3 lines of Python vs 1 line of cryptic unmaintanable Linux-only bash. With new great subprocess module in Python, I feel bash scripting is really unnecessary except in few situations like .bashrc or really quick onliners.

Re: Linux Productivity Tools (2019) [pdf]

#26
post #4

Its table of contents doesn't do it justice. this is a great deck! super dense and straightforward. my tiny tip to contribute: for those who could never be bothered to remember the ctrl-commands for traversing words, but are familiar with `vi`-style movements: you can go one step above the suggestion in this deck with `set -o vi`.

vi mode plus swapping my capslock and escape keys are by far the best thing I've ever done for terminal productivity. it kind of sucks on shared dev servers though.

Re: Linux Productivity Tools (2019) [pdf]

#27
post #25

How much of these is really still relevant with now Python quickly becoming new scripting language across all platforms? I now tend to prefer 3 lines of Python vs 1 line of cryptic unmaintanable Linux-only bash. With new great subprocess module in Python, I feel bash scripting is really unnecessary except in few situations like .bashrc or really quick onliners.

> How much of these is really still relevant

All of it? A very small chunk of these slides are even about bash scripts. Most of it is about standard unix commands and pipe and redirection operators.

Re: Linux Productivity Tools (2019) [pdf]

#28
I do my development work and run most of my agency (with multiple employees) with Linux. For some of the business things that most people don't assume Linux can do, I use:

1. Xournal to annotate PDFs (aka sign contracts without printing them and scanning them back).

2. LibreOffice of course for most document related work

3. OBS Studio for recording webcam videos along with screen sharing

4. Audacity for audio editing (heck, I used this even when I was on Mac OS X)

5. Technically I've tried video editing with OpenShot, but do find myself back at Final Cut Pro X on my now 6 year old Macbook Pro for that for now

6. pdfsandwich and Tesseract OCR for OCR/turning PDFs into searchable files

7. Chrome/Firefox are both first class and run all the modern day web application stuff

8. Tons and tons and tons of command line stuff that Linux is well known for

9. QEMU/KVM for hosting arbitrary virtual machines with almost native performance

10. GnuCash for double entry accounting for personal and volunteer society finances. I used GnuCash for a while to run the S Corp accounting when we were on Freshbooks and Harvest, but we've since graduated to QuickBooks Online for better invoicing and CPA office professional services support.

11. GIMP for photo editing

12. Inkscape for messing around with vector graphics

Once you get past locating the tools to do your job. Linux has everything.

Re: Linux Productivity Tools (2019) [pdf]

#29
post #4

Its table of contents doesn't do it justice. this is a great deck! super dense and straightforward. my tiny tip to contribute: for those who could never be bothered to remember the ctrl-commands for traversing words, but are familiar with `vi`-style movements: you can go one step above the suggestion in this deck with `set -o vi`.

I'm a heavy vim user, but I still prefer the emacs-style key bindings for bash. If I want to do vim-style editing on the command line, I sometimes use Ctrl-X Ctrl-E to edit the line in my default editor (which is vim).

YMMV, of course.

Re: Linux Productivity Tools (2019) [pdf]

#30
post #28

I do my development work and run most of my agency (with multiple employees) with Linux. For some of the business things that most people don't assume Linux can do, I use: 1. Xournal to annotate PDFs (aka sign contracts without printing them and scanning them back). 2. LibreOffice of course for most document related work 3. OBS Studio for recording webcam videos along with screen sharing 4. Audacity for audio editing…

Could try out Blender for your video editing. It also appears that DaVinci Resolve has support for Linux.
Post reply on HN