Posts

    Day 161

    Qutebrowser config.py

    A Python config file is excellent. qutebrowser/configuring.asciidoc at master · qutebrowser/qutebrowser · GitHub For now this, then we’ll see:

     https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc
    Read more...

    Day 160

    Resizing/converting/… a video with ffmpeg

    ffmpeg -i input.mkv -s 640x480 -c:a copy output.mp4

    Read more...

    Day 155

    Using I/we/passive in a Bachelor’s thesis

    No easy answer, but I liked here the joke “In your particular case, an inclusive we could be used to recognize the nematodes collaboration :) – Dr. belisarius May 10 ‘11 at 13:01”

    • I asked another young professor whether one could use “I” and she said “Only if you want to sound like an arrogant bastard”, and observed that only old people with established reputations can get away with it.

    Read more...

    Day 152

    Stack

    • Make finally a uniform and nice vim/bspwm/… keybinding system.
    • Learn vim formally, all movements and everything, and get rid of my “vim antipatterns”
    Read more...

    Day 151

    Quotes

    “I’ve come up with a set of rules that describe our reactions to technologies: 1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works. 2. Anything that’s invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. 3. Anything invented after you’re thirty-five is against the natural order of things.” — Douglas Adams

    Read more...

    Day 150

    Vim-mediawiki-editor

    vim-mediawiki-editor might make the links wiki fun again for me.

    Read more...

    Day 149

    Scratchpad with the DTB in bspwm

    If it starts appearing on the wrong monitor, I can drag it to the right one, and its location will be remembered.

    Read more...

    Day 148

    Stack

    • I should create additional vim maps for a better way to access other registers. I should create at least one more p/y/yy/d/dd commandd set for them and keep them separatee from the main ones.
      • Or just let vim have it’s own copy/paste registers and make pasting the OS ones a special case
    Read more...

    Day 147

    Quotes

    There are two sorts of comments - “What” comments and “Why” comments.

    “What” comments tell you what the code is doing. In a lot of cases, depending on the language, the need for these can be reduced by writing clear code. This is much easier in, say, Python than Assembly. Even in Python though, sometimes you can be doing something a bit subtle where a 2 line comment can clear things up. These comments aren’t irreplaceable because with a bit of reading and work, you have all the information to work out what is happening.

    “Why” comments are much more important - telling the reader WHY the code is doing whatever it is that it’s doing. The ‘trim()’ comment referenced in the article is a great example of a Why comment - all the reading around the code wouldn’t give you an explanation (although sometimes git blame will).

    Many ‘what’ comments are superfluous, almost no ‘why’ comments are - they are the collective memory of design decisions that otherwise lives in people’s heads. (HN)

    Read more...

    Day 145

    Technical writing errors

    3 shell scripts to improve your writing, or “My Ph.D. advisor rewrote himself in bash.” is an excellent description of typical errors in technical writing. One of the pages I see that make me want to archive everything linked here and on the Link Wiki just in case it disappears. Also,

    In that sense, peer reviewers are the guardians of the scientific community’s most limited resource: our collective attention span.

    Read more...

    Day 144

    Firefox Vimium switch to tab N

    Added the following to the Vimium settings, now I can switch to tab N by pressing the respective number on the keyboard:

        map 1 firstTab count=1
        map 2 firstTab count=2
        map 3 firstTab count=3
        map 4 firstTab count=4
        map 5 firstTab count=5
        map 6 firstTab count=6
        map 7 firstTab count=7
        map 8 firstTab count=8
        map 9 firstTab count=9
        map 0 firstTab count=0
    Read more...

    Day 141: LSDeluxe and Nerd Fonts

    LSD and installing fonts in st and urxvt

    LSD is a very nice replacement for ls. To set it up, I needed to download the individual fonts from Nerd fonts, cp-ing them to /usr/share/fonts, then running fc-cache -f -v.

    Read more...

    Day 139

    Bash dtb create.sh script

    Updated the script to create a markdown dtb file to the following:

    FILE=_posts/$(date +%Y-%m-%d)-day$(date +%j).markdown
    DATE=$(date +%Y-%m-%d\ %H:%M:%S\ +0100)
    Read more...

    Day 138: bspwm and some configs

    After another small pause, here comes another längliches post!

    Read more...

    Day 133

    Stack

    • Formalize my Sprint reviews.
    • Three works a week of PI – how do I actually keep track of this? I need an infrastructure.
    Read more...

    Day 131

    Stack

    • Remember that Eisenhower Matrix is a thing and that it used to help me quite a lot before.
    • I should formalize all the checklists I created for myself and use them.
    • Look into Energy Management vs Time management
      • https://hbr.org/2007/10/manage-your-energy-not-your-time
      • https://www.coachingpositiveperformance.com/energy-management-vs-time-management/
      • etc.
    Read more...

    Day 127

    Stack

    Chrony would solve most of my NTP problems.

    Read more...

    Day 126

    Read more...

    Day 124

    Swagger API documentation

    Tutorial;

    Read more...

    Day 123



Subscribe