Freedom - full circle
During Covid 19 we are talking a lot about freedom.
For me, freedom exists on an individual and a societal level.
When too many individual people don't get vaccinated, the society has to suffer.
So there is this kind of real-life freedom in the physical world.
But there is another kind of freedom.
Many people don't care about freedom when they use computing devices.
They use WhatsApp, Instagram, Windows, Office365, MacOS and all this other non-freedom stuff.
Walled gardens emerge and no user can escape.
They are customers and/or products.
And these users also force other people to use their non-freedom software because of the chicken or the egg problem.
But I love freedom.
I want to ...
run the software where ever I want to run it - this is freedomadd a feature - this is freedomdelete a feature (e.g. spy tools) - this is freedomchange the color of some feature - this is freedomlook under the hood to see how it works - this is freedomsend it to a friend - this is freedom...This is why I use free(dom) software.
Deleting WhatsApp - lessons learned
I deleted WhatsApp some months ago.
I just found out, that over these 8 months at least 5 people still sent me messages on WhatsApp.
So what's the deal?
When you delete your WhatsApp account, but people do not delete the chat with you, they can simply continue to message you.
But the messages never get delivered.
Some people recognize this (because there is only one of the two checkmarks), but some do not.
It seems many people never delete chats.
So my lessons learned:
- when you delete your WhatsApp, send a broadcast to all people that you'll delete it
- also tell them, that they should delete your chat with them
Hope that helps.
Time flies
The older I get, the more I perceive time flies by.
Totally lost my publishing habit.
Work - food - nap - sideprojects - gym - sleep.
Publishing just costs me like 5min, but somehow I could not handle it.
Until now.
What to do next?
What should I do next? A or B or C?
Where do A, B and C come from?
Each time I think about these kind of questions, I end up with thinking about the purpose of (my) life.
This is why I try to think backwards.
I ask myself questions like:
- What should people say at my funeral?
- What do I want to be known for?
- What can I pass on to the next generation of people?
With these (never-ending) answers in mind, I try to work on stuff that leads to fulfilling these answers.
How to diff two files
Just wanted to check which packages I've installed on my different Linux devices, so I wrote the package names into a file (pacman -Q > packages.txt
).
But how to find the differences?
Use git: git diff --no-index --word-diff a.txt b.txt
(a.txt
and b.txt
are the files you saved the package names in)
TFed reshared this.
Added old blog posts
I finally added my old blog posts.
I had to use a lot of regex magic to modify the frontmatter of each post (e.g. converting ---
to +++
), but now it is done, Zola was able to compile each post.
I think some links will be broken, because I changed some internal paths, but I think a not-so-lazy person can help themself.
If you find some broken links, typos or have some feedback, I would love to get your message at: michael@miku86.com
Software: Free? Open source?
When we talk about software, there are terms like "free", "open source" etc.
What do these terms stand for?
Free software: "Free" stands for freedom. Free software stands for the possibility for users to run, study, change, redistribute, modify the software. Official Definition. So this term does not tell you anything about the monetary price of the software.
Open source software: "Open" stands for open access to source code. If you think about free software's possibility to modify the software, free software practically always needs to be open source, but open source software does not have to be free software. Official Definition
Vim love
I love vim.
Although I used vim for some months now, I always did some tasks with vscodium, e.g.:
- removing leading/trailing characters in multiple lines
- search and replace
But because opening files in vim is so much faster than in vscodium, especially if I only want to edit one file, I searched for some vim-esque solutions:
- removing in multiple lines: go into visual block mode (
ctrl + v
), highlight the correct block, do your thing (e.g.x
to remove character) - removing in multiple lines: go into visual line mode (
shift + v
), highlight the correct lines, do your thing in command mode (e.g.:'<,'>norm x
) - search and replace: go into command mode (
:
), search in all lines (%
), substitutevim
withemacs
and ask on each occurrency (s/vim/emacs/c
)
So as we can see, there are multiple solutions for different problems.
But actually both problems can get destructured into simple steps.
I think this kind of thinking also leads to better problem solving.
Reimagining Capitalism
I just wanted to grab a copy of this book, because I've read an article about it.
I think most books are time-wasters, because a lot of stuff has already been said, or the author has to create 300 pages ("people want to get something for their money") where 20 or 50 pages also would have been enough.
This is why I just had a quick look over to some reviews.
So I successfully deleted this book from my reading list.
Be the change you want to see
Instead of hoping that other people, politicians or businesses change the world, do it yourself.
nitter.snopyta.org/zachklein/s…
Easy election
Today we elect a new government in Germany.
This is the easiest vote I've ever made.
This is probably the first time I don't think about myself, but about my children and their children.
It's not about "Oh damn, I want to drive 150 km per hour, but I am only allowed to drive 130 km per hour, this is so mean.".
It is about "Hey grandpa, all of you folks went to university, learned a lot about science and stuff. Why have all of you been these idiots that didn't stop this shitload of environmental pollution and useless, unfulfilling consumerism? I've heard stories that you've had all this knowledge. Have you just been too lazy or too careless?"
Shady?
Sometimes I ask myself, if someone is a bad person, if they work for a company that does some kind of shady things.
Like nudging people to buy stuff they do not need, to watch ads for useless stuff etc.
Are there any companies that do not do shady stuff?
What does "shady" actually mean?
If my neighbor does shady stuff, then am I also allowed to do shady stuff?
Am I even not "clever", if I do not do shady stuff, because everyone is doing it?
Am I guilty of being a part of a shady system?
Should I feel compassion for people who do not game the system (by doing shady stuff and letting society pay for it)?
Zola for my blog
This blog runs on Zola.
I've chosen it because it's simple and fast.
My old blog was running with TypeScript, React and Gatsby. Not bad, but the build time was very slow, around 3 minutes for 150 posts.
But that wasn't my biggest concern: there was some feature creep and too many updates on the gatsby site.
I had some tests, but they were slow and I didn't feel confident at all that after each week's ~5 updates everything will run again.
That's why I set up this simple blog and to get a better grasp of what is going on under the hood of Rust.
I don't know if this will help my learning, but at least I feel confident, because my workflow goes like this:
- Copy an old post.
- Add my new stuff.
- Deploy (30 seconds of git add, commit, push, wait).
More Rust
I have a really simple plan for learning Rust:
- I read a chapter in the Rust Book
- I do the Rustlings exercises that fit the chapter's content
- I summarize my learnings in my Rust post
After I will have finished the Rust Book and Rustlings, I will have a look into Rust By Example, Practical Rust and Codewars.
Today I worked on the Rustlings exercise about move, primitives and structs, enums and modules, because I've already read the book chapters until chapter 8.
TFed
in reply to miku86 • • •or just `diff a.txt b.txt`
but, yeah, I prefer git 😉