In the middle of the desert you can say anything you want
Improving performance on the Arch wiki has nice ideas.
hdparm -t /dev/sdX
to measure read speed.
I will later possibly go through the entire page methodically.
typing.com has nice lessons about typing numbers, which I like a bit more than EdClub’s. Next up their advanced symbols to finally learn using the right Shift.
d3b 21% Mon 11 Feb 2019 12:13:52 PM CET d3b 43% Mon 11 Feb 2019 12:17:04 PM CET d3b 57% Mon 11 Feb 2019 12:18:47 PM CET d3b 71% Mon 11 Feb 2019 12:20:35 PM CET d3b 21% Mon 11 Feb 2019 12:22:25 PM CET
Decided to read Dive into Python to finally get a systematic understanding of all of the language.
The most important audience for your code is yourself, six month after writing it.
Limelight.vim is a really cool plugin. Found it linked here
Nasa’s 128 lessons of a project manager. Highlights:
None of these are original–It’s just that we don’t know where they were stolen from!
Although it’s not part of Jerry’s written Lessons Learned, he consistently told his people the following (unwritten lesson):
“Show up early for all meetings; they may be serving doughnuts”
Finally, Les Meredith (former Director of Space Sciences and Acting Center Director) had this remark to make about Jerry Madden’s 128 Project Managers’ Lessons Learned:
“God only gave us Ten Commandments. Jerry has listed over a hundred instructions for a Project Manager. It is evident a lot more is expected from a Project Manager”
sich mit etw.(Dat) befassen: undertake/concert/deal/occupy/dabble in/with/whatever
https://foursquare.com/v/true-burger-bar/52b02c4211d241652e021bdf – True Burger Bar in Kyiv
Finished “Old Mariner’s ballad”!
Read a number of pages of La Divina Commedia in a format that TIL is called bilingual parallel text, Italian and 1910s-German. It was absolutely fascinating on all possible levels..
Then I painted some random Gothic letters after getting inspired by the German Font the book. {:height=“500px”}.
learn the number line on the keyboard
see what I want to do with my domains and projects
Finish my backup system, and do one big backup of everything
look at my steno thing and decide what I want to do with it
ssh keys for everything
finish the basic 3 stones game bot thing, especially the turns part
clean everything old and unneded from pchr8.net, to make backups easier and to save money
Download maximum audios and videos from my VK accounts
move my blog to jekyll?
Okay, the first nice thing that happened today is that I finally automated creating new Jekyll posts!
Behold create.sh
:
FILE=$(date +%Y-%m-%d)-day$(date +%j).markdown
DATE=$(date +%Y-%m-%d\ %H:%M:%S\ +0100)
echo "Creating file $FILE"
touch $FILE
echo "Adding stuff"
/bin/cat <<EOM >$FILE
---
layout: post
title: "Day $(date +%j)"
date: $DATE
categories: []
---
### Bash and zsh wildcards
From [this SO answer](https://serverfault.com/questions/47933/how-to-delete-all-hidden-files-and-directories-using-bash) I learned that bash and zsh treat wildcards differently:
> With zsh by default an empty wildcard match is treated as an error; whereas with bash it is simply passed unchanged. To make zsh behave the same way you can use the command unsetopt nomatch
## Stack
## DNB and Typing
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
[jekyll-docs]: https://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/
EOM
And while we’re at it, here are some of my yesterday’s backup scripts:
echo "=== Backing up NFS... ==="
echo "= SQL... ="
name=$(date '+%Y%m%d_%H%M%S')
ssh pchr8_pchr8@ssh.phx.nearlyfreespeech.net "mysqldump --all-databases --user=XXX --password=XXX4 --host=XXX > pchr8_mysql_backup_$name.sql
echo "Moving it to its location..."
mv pchr8_mysql_backup_$name.sql ../all/pchr8/db
echo "SQL done."
#echo "Making a tar archive of everything..."
#ssh pchr8_pchr8@ssh.phx.nearlyfreespeech.net "cd /home/public; tar cf " > pchr8_mysql_backup_$name.sql
echo "starting backup!"
echo "Creating mysql dump:"
name=$(date '+%Y%m%d_%H%M%S')
mysqldump --all-databases >> "arith-mysql-$name.sql"
echo "created!"
echo "adding stuff to the borg thing"
borg create /path/to/backups/arith_borg_repo::arith_complete-$name /var/www arith-mysql-$name.sql /etc/apache2/
echo "creating archive"
tar cf arith_repo.tar.gz arith_borg_repo/
echo "archive created!"
xmodmap
Changed my startup xkb line to setxkbmap -option -option 'compose:rctrl, grp:rwin_toggle' umlauted,ruua
so I still get the right Shift which I can learn to use!
Also I really like typingclub.com, and the next couple of days will try to force myself to type right, with the correct Shift, without bottoming out my keys, and typing the numbers and special symbols without looking and with the right finger. Also not forgetting about posture and the right position of my hands.
“I don’t count my situps, I only start counting when it starts hurting, when I feel pain, that’s when I start counting, cause that’s when it really counts.” -Muhammed Ali (As quoted by Arnold Schwarzenneger in his speech)
Also from that same speech:
People perform better when they have no safety net
Sedition is overt conduct, such as speech and organization, that tends toward insurrection against the established order.
Aaand after a short downtime we start again! Today I will be reviewing again all the basics of Python OOP and playing with some game theory by programming a simple simulator, having open the PEP 8 — Style Guide, and focusing on not bottoming-out my keyboard keys.
import random
and randInt(x, y)
__init__
and inheritance work in Python.apropos
thing work? Do I need to create a database for it? I think it worked out of the box before.
mandb
as root, and apparently need to do it every time a enew man page is addedd3b 43% Thu 31 Jan 2019 08:36:05 AM CET
d3b 36% Thu 31 Jan 2019 08:40:41 AM CET
87 WPM 97.2%
96 WPM 98.7%
101 WPM 98.5%
Updated my timer script, now it outputs the time when the timer was set along with the reminder.
tm() {
local N="$1"; shift
(utimer -c > ~/s/sounds/outbash $N && mpg123 -q ~/s/sounds/tib.mp3 &
zenity --info --title="Time's Up" --text="${*:-BING} \n\n $(date +'%H:%M:%S %d/%m')")
}
\n
for the newline, $()
to insert command output in variable (though if I understand right backticks would have also worked), and date
’s format because I will probably remember the year.
EDIT Doesn’t output the date when the timer was set, only when executed :C Need to move it to its own variable, I gues TODO for tomorrow. EDIT2 DONE!
tm() {
local DATE=$(date +'%H:%M:%S %d/%m')
local N="$1"; shift
(utimer -c > ~/s/sounds/outbash $N && mpg123 -q ~/s/sounds/tib.mp3 &
zenity --info --title="Time's Up" --text="${*:-BING} \n\n $DATE")
}
The googletrans
python module uses Google Translate’s web api to translate text. Look extremely useful, I should make a small CLI script for this. I seem to translate random stuff quite often.
Good ol’ alternative productivity. Getting lots of stuff done, but nothing important. Reddit
Here’s a really nice burndown about the states of every single project in the history of humanity:
{:height=“500px”}.
https://www.typingclub.com/sportal/program-3/328.play has a Dvorak layout!
Stenography! With plover
and this tutorial. It’s what I was trying to do but much much better on so many levels. The world is a really fascinating place.
Installed plover
, I will definitely play with it later. “Steno Hero” also exists.
I discovered https://hckrnews.com/, its “top-10%” setting is awesome.
I feel like being obsessed with anything automatically makes it unattainable. It’s like the universe saying, “ you’re not behaving in a healthy way so you have not earned it being yours.” Its a handy way to keep myself in check. (Reddit.
Finally figure out the Unterschied between the words Unterschied u. Unterschiedlichkeit From this German StackExchange answer:
Not from dict.cc, but from my intuition:
Here are tips on how to improve ergonomics for better typing speed and comfort. TL;DR raise my wrists and lower my table/keyboard till I get a >90C angle.
Today I’ll get my mechanical keyboard <3
bzw
."_d
does this through the black hole register!.html
file extension survive better than .htm
, but the same didn’t happen for .jpeg
?I will be doing the Stronglifts 5x5 program in February! Should also read this. And follow the drink a lot of milk calorie gain thing.
\(like this \)
, so that they don’t conflict with zsh.
shorten @1 20min
for timew, and 20m
for utimer
. I think it’d be easier to fix utimer than timew – I need to make them identical either way. I guess hypothetical TODO for later.