Posts 2024
Home- Newsletter November 2024: A New Project Compared to [last
month](https://rickardlindberg.me/2024/11/03/newsletter-october-primitive.html),
this month I did some programming in my spare time. I had fewer commitments,
and my mind started thinking...
- Today I ran part of the way... Today I ran part of the way to work. It was a cold, beautiful winter morning in Stockholm.
<img src="https://cdn.uploads.micro.blog/173380/2024/running-dec04.jpg" width="600"...
- Sometimes, I solve programming problems by coding... Sometimes, I solve programming problems by coding on paper. A few days ago, it looked like this:
<img src="https://cdn.uploads.micro.blog/173380/2024/code-on-paper-nov28.png" width="600" height="512"...
- I've started working on a code editor... I've started working on a code editor that is a mix of a text editor and a structured editor. It...
- We got some more snow. I like... We got some more snow. I like running in the winter. Especially when there is snow and the sun is...
- I needed to submit some [heic](https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format) photos... I needed to submit some [heic](https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format) photos to a service that only accepted jpg. I didn't know about the heic...
- Today was the first day of snow... Today was the first day of snow this season. Not much. I'm looking forward to many more runs on a...
- I was researching how to run [Black](https://pypi.org/project/black/)... I was researching how to run [Black](https://pypi.org/project/black/) (and possibly other formatters) from Vim and found [Ergonomic mappings for code formatting...
- How would you improve this code?
```python
def update_r_users(service)
... How would you improve this code?
```python
def update_r_users(service)
r_users = []
for user in service.get_all_users():
...
- Newsletter October 2024: Primitive Obsession? Normally I do something related to programming in my spare time every month. I
read something that I find interesting and...
- Today I learned about the [Rison](https://github.com/Nanonid/rison) data... Today I learned about the [Rison](https://github.com/Nanonid/rison) data serialization format. I wrote a function to convert a Python value to Rison...
- I've used [testing without mocks](https://www.jamesshore.com/v2/projects/nullables/testing-without-mocks) quite extensively... I've used [testing without mocks](https://www.jamesshore.com/v2/projects/nullables/testing-without-mocks) quite extensively now. I've also used it in a work project for more than a...
- It's getting dark. It gives variation to... It's getting dark. It gives variation to the running.
<img src="https://cdn.uploads.micro.blog/173380/2024/running-oct28.jpg" width="600" height="337" alt="Me running in the dark.">...
- Various things have kept me from running... Various things have kept me from running for a while. Today I had enough. I just had to go for...
- Newsletter September 2024: Bash Redirects and Reading This month I read [How to Use a Zettelkasten to Write Stories Packed with
Emotion](https://www.kathleenspracklen.com/zettelkasten-emotion). It inspired
me to write something using...
- Pull requests discourage experiments because changes can... Pull requests discourage experiments because changes can only propagate after approval. The idea behind PRs is to only approve "good"...
- Today I just needed to run. I... Today I just needed to run. I had not run since I hurt my achilles tendon almost a month ago....
- If you want to know how to... If you want to know how to implement a Bash-like shell, with support for redirects, in only 31 lines of...
- Do you know the difference between the... Do you know the difference between the following Bash commands?
```bash
program 2>&1 >/tmp/log.txt
program >/tmp/log.txt 2>&1
```
If not, you might be interested in...
- Bash Redirects Explained I thought I knew how Bash redirects worked.
If I wanted to redirect the output of a command to a file,...
- I just implemented a small shell in... I just implemented a small shell in 29 lines of Python that has support for redirects:
```text
$ ./minishell.py
~~?~~> echo hello
hello
~~0~~>...
- Newsletter August 2024: Smart Notes and Blogging In August I had my last week of summer vacation. I read a book that made me
want to improve my...
- Linking (and how it has evolved) in Smart Notes I created Smart Notes to be a digital note taking application that follows
principles from the Zettelkasten method, as explained in...
- Did another bike workout at the gym.... Did another bike workout at the gym. Similar heart rate and duration as my regular runs, but felt like more...
- Today I bought a gym membership. I... Today I bought a gym membership. I spent another 40 minutes on the bike. I felt good after the workout,...
- Yes! The draft makes sense now. I... Yes! The draft makes sense now. I think. I had a rough idea of what I wanted to write about....
- Today I spent 40 minutes on a... Today I spent 40 minutes on a bike in the gym. I'd rather be running, but I've got some pain...
- It's time for a new avatar. I'm... It's time for a new avatar. I'm thinking I should update them more frequently. Maybe yearly? Anyway, here is the...
- It's like it's all out there. Energy,... It's like it's all out there. Energy, motivation, well being, creativity... You just have to put on a pair of...
- How I found out about Micro.blog When I was researching the Zettelkasten method (a specific way to take notes),
I ended up on [Writing
Slowly](https://writingslowly.com/2024/07/14/a-system-for.html). It looked like
this:
<img
src="https://cdn.uploads.micro.blog/173380/2024/writingslowly-zettelkasten.png"
width="600"...
- I just implemented support in [Smart Notes](https://github.com/rickardlindberg/one-file-programs/tree/master/smartnotes)... I just implemented support in [Smart Notes](https://github.com/rickardlindberg/one-file-programs/tree/master/smartnotes) for giving links a text description.
This was inspired by recent readings about [concept...
- [My website as a home](https://nicochilla.com/my-website-as-a-home/) (found via... [My website as a home](https://nicochilla.com/my-website-as-a-home/) (found via [End of Year Hyperlink Dump](https://dahlstrand.net/2024/01/01/end-of-year.html)) talks about a metaphor for websites:
> I feel...
- I first learned programming by hitting "View... I first learned programming by hitting "View Page Source" on a web page to
learn how something was implemented. Today, 20+...
- Poor man's redirect in a static site I just moved my blog to [Micro.blog](https://micro.blog/). My domain name,
`rickardlindberg.me`, now points to the new blog. I have not yet...
- I was tired and low on energy.... I was tired and low on energy. I knew I needed to run. I know that the longer I run,...
- Today I did a lot of focused... Today I did a lot of focused work. My brain was tired. Solution? Running. It worked. It always works. That's...
- Newsletter July 2024: Note Making Re-Visited This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/july-2024/](http://archive.rickardlindberg.me/writing/newsletter/july-2024/)....
- Output Tracking vs Mocks This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/output-tracking-vs-mocks/](http://archive.rickardlindberg.me/writing/output-tracking-vs-mocks/)....
- Newsletter June 2024: Quines and Smalltalk This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/june-2024/](http://archive.rickardlindberg.me/writing/newsletter/june-2024/)....
- May 2024 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/may-2024/](http://archive.rickardlindberg.me/writing/newsletter/may-2024/)....
- Refactoring a function to 6 classes This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/function-to-oop-refactoring/](http://archive.rickardlindberg.me/writing/function-to-oop-refactoring/)....
- April 2024 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/april-2024/](http://archive.rickardlindberg.me/writing/newsletter/april-2024/)....
- DRAFT: 'What is a user story?' This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/what-is-a-user-story/](http://archive.rickardlindberg.me/writing/what-is-a-user-story/)....
- March 2024 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/march-2024/](http://archive.rickardlindberg.me/writing/newsletter/march-2024/)....
- February 2024 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/february-2024/](http://archive.rickardlindberg.me/writing/newsletter/february-2024/)....
- January 2024 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/january-2024/](http://archive.rickardlindberg.me/writing/newsletter/january-2024/)....
- December 2023 Update This post has not yet been imported to my new blog.
In the meantime, you can read it here: [http://archive.rickardlindberg.me/writing/newsletter/december-2023/](http://archive.rickardlindberg.me/writing/newsletter/december-2023/)....