On Sarcasm
A few days ago, my wife indicated that I use sarcasm sometimes when talking to our daughter and how children cannot make sense of sarcasm under a certain age. I never thought much about it, didn't even fully notice it. I use sarcasm a lot when talking with friends and always thought it would be funny. I read and thought a lot about the topic in the past few days and I've come to the conclusion that sarcasm in general and especially when communicating with our daughter is aggressive. I should get rid of my habit of using sarcasm altogether.
Children & Sarcasm
As mentioned above, children under a certain age are not able to understand sarcasm. And thinking about it, that's no surprise. Children need to learn a lot about the world still and human communication is a very complex topic. Just learning a language to be able to communicate is hard work. But to fully understand people, you have to learn about body language a lot. After all, only 7% of communication is words at times.
Talking to someone in a way they don't understand is bad enough as you will never be able to communicate clearly. The exchange is set up for failure. But it goes further than this: Using sarcasm in conversations with children is actually considered aggressive and verbal abuse. Sounds harsh? I thought so, too. After all, I was just joking, right?. Let's dive in.
Sarcasm in general
There is a lot of writing about sarcasm online. Here's one quote that I find interesting:
We hear the term passive-aggressive often to describe someone whose orientation is sarcastic. It means that on the surface, the personās words and actions are neutral, but that underneath them lies a second layer of meaning which is aggressive. It doesnāt mean wavering between the two; it means both at once. Sarcasm is passive-aggressive speech.
This makes a lot of sense to me, reflecting on situations I'm sarcastic in. I'm not brave enough to communicate my real feelings. Instead, I hide behind a layer of "witty" comments. That's not only passive-aggressive, but also unauthentic.
I will go even further and say it's not just unauthentic, but also cowardly. The perfect version of me will always speak their heart. And if you speak your heart, you should do so with full commitment. Sarcasm takes that commitment away. Because you communicate your feelings, but you do it through this extra layer. You let the other person figure out what you might feel. And if someone disagrees or challenges you, you don't have to talk about it directly and stand your ground. You can just take the easy way out and say "I didn't say that, I was just joking". You can never be hurt.
I always had a hard time communicating my feelings (because to begin with, I had a hard time even recognizing my feelings). I worked on that a lot in the past years and I think I made great progress. Not using sarcasm anymore seems to just be the next step on that journey. I just never realized how bad of a habit it was.
Electrical Toothbrush
I bought my first electrical toothbrush today. I think I also had one for some time when I was a child, but itās the first one I bought in my adult life. Iām not sure why it took me so long to buy one. Iāve been thinking about buying one for years but never did it.
It makes so much sense though. I donāt like brushing my teeth. I also donāt hate it, but itās a chore I have to talk myself into doing a lot of times. Today, I already brushed my teeth twice and am looking forward to doing it again when I go to bed. This might wear off, since this is new for me.
The toothbrush cleans my teeth much better then my old, manual one. Almost feels as good as when I get a professional cleaning at the dentist.
These two things are very much worth the (reasonable) price I paid for it.
I should have known better, though. Buying things that make chores fun has almost always been a good idea for me. I bought a vacuum robot (which did not make the chore fun but more or less made it disappear) and a vacuum for our windows, which now leads me to clean our windows a lot more often (though not that much in total ā the point stands, though. Two times a year is twice as much as never). I'd also mention a dishwasher here, but this one feels a little different for me, as I still don't enjoy the process of loading and unloading it. It just makes me hate the chore a little less.
Wonder what else there is that falls into that category. I think having a Tesla would probably make everything that is a chore and related to a car much more fun. Thatās not really matching the points above, though, as a Tesla costs a little more than my electric toothbrush.
Unpublished Writing
I do write a lot recently, but not much of it gets published on this website. What I publish is still a lot compared to the beginning of the year, yet itās only a fraction of what I produce.
Some of it is just too private to show around the internet, even with my new endeavour to write more about personal things, emotions and be more vulnerable. But even that is the minority of my writing. For the most part, I just start writing things down and then abandon them.
Iām thinking about if this writing even is writing. If nobody reads it, does it really exist? It surely gives me something. Especially with the very personal things, writing them out creates a lot of headspace and clarity. But for the rest? I get to practice writing a little, but without even the possibility of feedback from the world, what is it even worth?
It feels like cheating. Writing isnāt easy, but for me the hardest part is not the act of writing, but putting it out in the world. While itās just lying around on my computer, Iām comfortable. It cannot be labelled bad because no one in the world is able to read it. But it also cannot be good for the same reason. And if itās neither good nor bad, is it anything at all?
Up until now, I thought that I wrote a lot. But my metric was off. I can only count what I published, and judging from that, I did not write that much.
Time to get more comfortable with putting stuff out in the world. Also time to get comfortable putting half-baked thoughts out there that I will be embarrassed of in 3 months or be corrected on after a few hours. Time to work with the garage door open.
Recurring thoughts
My head and I, we have a complicated relationship.
Sometimes, good things come out of it. It can produce decent code, decent enough at least that someone is willing to pay me enough money for it so I can make a living out of it. Sometimes texts and ideas come out of it that I like. Those are the times where we walk hand and hand an have a great time.
Other times, though, it feels like the dickhead wants to fuck me over. Those are the times when Iām trapped inside it, pondering over things, questioning everything. In these times, it feels like my head is my enemy.
I have a lot of thoughts over the course of the day. Everything I do is accompanied by a thought. This might be what is called āinner monologueā. People that also have it might be able to relate.
In case you donāt have it: If you watched the show āScrubsā, itās a lot like J.D. narrating everything that happens.
This inner monologue is not a problem per se. But it becomes one once it goes into repeat.
Having it go on repeat is exhausting. Often times, it leads to pondering over things, which is even more exhausting. It causes me not to be in the present, but either in the (or a theoretical) future or the past. Those are not good places to spend the majority of your thoughts on. Ultimately, it tends to drag me down.
So, thereās a new rule in my life: No recurring thoughts allowed.
Thatās easy to say, but how do I make them go away? It sounds a lot like telling someone not to think of a pink elephant or telling people suffering from depression to ājust be happy and smile moreā.
Luckily, I found a rather simple solution for my problem: Writing the thoughts down. This works for a couple of reasons:
First, I donāt have to keep the thought in my head anymore because I know itās written down somewhere and wonāt get lost. If I canāt remember it later on, I know I have written it down in one of the places I write things down. Itās safe to let it go now.
Second, building more complex chains of thought is easier if some parts of it are written down and I donāt have to keep the whole thing in my head. Exploring different solutions to a problem is easier as well, as I can write one solution down and donāt have to keep it in my head, allowing me to fully focus on the next.
The length of what I have to write down depends on the type of thought.
Simple ātasksā, things I must not forget to do, just require a bullet point in my notebook. Theyāre the easiest to deal with.
Ideas might require a few more bullet points so I can make sense of them later an, when I come back to them and lost the mental context. Sometimes, I also draw something.
And then thereās the heavy, deep stuff. Thatās usually also the stuff that is hard to spot in the first place, as it gets pushed far back into my mind and suppressed by a lot of escape mechanisms. They usually require long form text, some time and pain.
Knowing exactly how much to write is hard beforehand. Luckily, the feeling when I did enough is pretty obvious. So I keep writing until itās there.
I hope this look into my head made sense to you. Learning how other peoplesā brains work is one of the most interesting things to me. So let me know if you struggle with similar things or if it is completely different for you.
Fatigue
Itās been over a month now since I tested positive for covid and almost 4 weeks since I tested negative. My energy levels are still not back to normal. Theyāre well under where they normally are: On a regular day without exercise, just doing my daily business (which comes down to 10-12km of walking), I am done at about 6 pm. I then feel like I felt after a really intense workout before covid, probably even worse. It has gotten to the point where I could barely stay awake a few times.
This text is not for me to complain about my situation. I know it could have hit me worse. Much, much worse. But this is the first time in my life that my body is hit hard by something and taking longer than a week or so to recover.
I guess the invincibility I seemed to have in my 20s is gone now. Likely a normal part of getting older. But it sucks nonetheless.
Iām not sure if what I experience qualifies as post-covid or long-covid, but given the research I did, it seems to be quite common. For the most people, it seems to last between 5 weeks and 4 months. I hope Iām on the shorter end of the timespan.
Iām uncertain on how to tackle this situation. Some people have had good experiences with just resting. Other people think that you have to rebuild your fitness from scratch and you have to take baby steps (and being exhausted is part of training).
Today was the first day in a week or so where I still have energy at 10 pm. I ate a lot today, probably 4000 calories (and most of them healthy). Not sure if this is the cause of having more energy or just a correlation. Or pure chance.
Again, I donāt want this text to be me complaining about my situation. I just wanted to have this written down for my future self somewhere. However long this goes on, Iām optimistic that I will cope with it and come out on the other end with some new learnings.
Finding large folders in macOS
tl;dr: Use du -sh */ | sort -hr
to find large folders or set the "calculate all sizes" option (it's not as cool as doing stuff in your shell).
The other day, I wanted to upgrade macOS and was greeted by a dialog telling me that I did not have enough storage to install the update. Upon checking my storage, I realised that macOS hat about 120GB of my 256GB SSD allocated to āSystem Storageā.
The accepted solution to fixing this seems to be searching through Library
folders until you find the beefy folders that take a lot of space (likely Docker or Xcode Emulators) and delete those you donāt need. Shouldnāt be too complicated.
Enter Finder: Finder refuses to tell you how big folders are in its list view. You have to inspect the folder individually (either by choosing another view or by pressing cmd + s
). Thatās a somewhat tedious task to perform for a few hundred folders.
Luckily, macOS is built on unix and unix is great.
Unix comes with a program called du
. du
estimates disk usage of files and sounds like just the functionality we need. Running du -sh */
inside a folder will display a single entry per file (-s
) and display the usage in a human readable way (-h
).
We can use that output and pipe it to sort
whichā¦ well, it sorts lines of text or binary files. Here, we want to use the -h
flag as well so it can sort units like Megabyte and Gigabyte properly and also reverse the order (-r
) so the larges files come first.
That leaves us with the final command du -sh */ | sort -hr
.
~/Desktop
ā© du -sh */ | sort -hr
78.2G homework/
504K do-not-touch/
428K stuff/
Running this in all the Library folder macOS has will quickly lead us to the big folders.
VS Code Search Editors
You probably know how to do project wide searches in VS Code: go to the magnifying glass in the sidebar or hit cmd + shift + f
(you definitely want to use the keyboard shortcut for speed here) and search for whatever you need. VS Code will then go ahead and list all the places where what you searched for is referenced. Most of the time, this is enought. But it has its limitations.
Hereās a situation I find myself in some times: While working on something, I come across something I have not seen yet, let's say a hook. Because Iām quite emerged in my work, I look at its name, get a vague feeling about what it might to and then want to look up all the places where it is used. Iāll probably need to look this information up quite often during my current task, so I just keep the search results open.
Some time passes by and I realise Iāll have to refactor a component. I better take a quick look if this is used in some places I did not expect.
Some more time passes. I need the references of the hook again. Damn, what was it called again?
I recently learned about search editors in VS Code. They look a lot like what project wide searches look like in Sublime Text: Theyāre just an editor tab with all the search hits in them.
The fact that they are just regular editor tabs is what makes them great. You can have multiple tabs open. This means you can have multiple search editors open. Which solves my problem from above. You can just keep the first one open and then create a second one, allowing you to jump between them. They even show up in in the file search. You can also save them to the codebase if you really donāt want to lose them or want to share them with teammates.
Thereās a number of ways you can open them:
- From the command palette (
cmd + shift + p
) chose āNew search editorā - Form the sidebar search, after having performed a search, click āopen in editorā
- Form the sidebar search, hit the open new search editor icon in the top row
Thereās also some more info about them in the VS Code docs.
I donāt use search editors very often, but they do come in handy from time to time, so Iām really happy I found out about them.
Maybe I should read the VS Code docs more. Who knows what other useful features they built into this thing?
Separating my Ideas from my Ego
This is something Iāve been actively working on for some time now. Today was the first time I noticed that I seem to have made a lot of progress in this regard. Hereās whatās happened:
Weāre working on multiple apps. Both of them use msw to mock responses from the APIs we're running against. One of them also has msw data set up, allowing for very configurable responses. The one uses static JSON-Fixtures as responses. I was working on the latter and hit a case where having msw data
would have been really helpful.
It quickly became clear that we eventually wanted to use msw data
in this app as well. So my thought was: Iāll just lay the groundwork and make it work for my current needs. After that, we can just gradually move the test suites over whenever someone is touching them. I communicated that idea. Timo had a different opinion. We went on and had a discussion with the whole team.
This discussion was great. A lot of arguments were presented (a lot of which I had not thought of at all) and no one took anything personal. Including me. This is kind of a big thing for me, because I identify with my work a lot (which is another problem). This also means that I often thought my ideas and opinions about things were linked to me personally. This, in turn, would mean that I saw criticism on my arguments and ideas as personal attacks.
Now, this was problematic, because I was no longer working towards a common goal (making the best product possible) but instead towards winning an argument for the sake of winning.
In the middle of the discussion, I realized that my initial argument was flawed, considered all the other input, and I moved away from it. In the end, we settled for a solution somewhere in the middle, that Iām quite happy with.
Iām a lot happier with the feeling the discussion left me with, though. I was able to see all facets of the problem and could help to work toward a solution that would be best for our common goal. This would not have been possible had I been personally offended all the time.
The next thing I need to work on is to stand my ground more when I'm sure my argument is objectively right. Not as easy for me as it sounds.
I recently read that all advice on the internet is wrong, and you should not give any. So Iām taking this advice and will not summarize this post in a sentence that tells you what to do. But keep your ego out of arguments.
Grocery shopping with helicopters
I think it is safe to say that web development got a lot more complex since... I'm not sure. I haven't been doing this for much longer than 10 years, so this is the only timespan I can judge. It definitely got a lot more complex since then. But I imagine this statement would also have been true 10 years ago. So my working theory is: web development got more complex ever since it started to be a thing. I asked ChatGPT and it agrees.
This rise in complexity has advantages and disadvantages.
It is a lot harder to get started in web development today. At least if you want to build something with state-of-the-art complexity. This is in the nature of the thing, of course. More complex things are harder to build. Now the entry itself is still the same. You would still start learning HTML, CSS, and then some JavaScript. But the road got a lot longer. There's a lot more to learn after that: frameworks, tooling, multiple different devices to be supported, security, and performance to think about. All these things also change rapidly.
There is some amount of effort put into working around that, especially regarding configuration. I probably would have a hard time writing a webpack
config from scratch today. I could figure it out because I used to write them in the past, but I can't do it from the top of my head. I have not done it in several years. Simply because I did not have to. Tools like create-react-app
abstracted that complexity away from me. I run a command and I have a configured app that I can tweak if needed.
I think it's a good thing we try to lower complexity where we can.
I think this raised complexity in development is worth the complexity we get to enjoy in web apps today, though. Here are some I like:
Serverless Computing (Firebase et al.): It's amazing how simple it is to add authentication or a database to an app. The base functionality can be implemented in as little as half an hour. For user authentication or a database. That's great! In a way, this lowers complexity in certain areas. But for it to have happened, web apps had to reach a certain level of complexity first, to even create the need for such a solution.
General features in websites: This point is kind of vague. But I like the complex features that we can use in websites today. There are a lot of examples worth mentioning here, but let's stick with one I noticed recently: embedded editors.
I looked at Matt Pocock's typescript course the other day which uses stackblitz for its exercises. It allows you to edit code inline and run test suites to see if what you did was correct. Embedded right there in the exercise. Without ever leaving the site.
I regularly spin up a codesandbox Next.js example to try something out because it is way faster than doing so on my local machine.
Pressing .
while watching a repository on GitHub will open a VSCode instance in your web browser that allows to change the project. How awesome is that? The tools we use to build websites can now actually be run in websites. And you can create websites with them. š¤Æ
I'm not 100% sure which point I'm trying to make here. Maybe you can tell. If you need a point it probably would be this: I like the current state of the web and web development.
I feel like there is a lot of bashing of what comes with the complexity on the development side. Favorable targets seem to be JavaScript frameworks like React. There seems to be this idea that whatever a react app does could also have been a static HTML site with Ruby on Rails behind it. It sure could have been, but it probably would not have been the same experience then.
I get the point that not everything has to be complex. Some pages just have to be static HTML and CSS to be enough. And that's fine. They should not be more. But I don't believe that the web itself would be better if everything would have stayed with static sites. Also, "JavaScript bad" is a cheap take.
I think of it as helicopters and bikes. They both transport you. But they serve vastly different use cases. Sure, you could go to the grocery store by helicopter, but it would probably be overkill. I'd prefer my bike (I say that now, not owning a helicopter. That point might no longer stand should this circumstance change). But if you need to cover long distances fast, the helicopter is the better choice.
Helicopters are a lot more complex than bikes. As a technology, they are also a lot newer than bikes. Should we bash them because of that or just accept that they're there and kind of cool and not always the right means of transportation and because of that will not replace bikes soon?
I hope my rambling made some sense to you. I'll leave now. chop chop chop
The month of January, 2023
For some reason, I felt like writing a monthly summary for the month of January 2023. Iām a little late for this, I hope the international monthly review committee will forgive me.
The month, overall
This month was a rough start to the year. A lot of exhausting stuff happened, most of which I do not want to write about in public. Itās not so important what exactly happened though, but how I reacted to it. While I got stressed out by those things, I also worked on changing my attitude.
I noticed that these are rougher times, which was a good first step. Then I could take it as a chance to learn. This will not be the last time in my life I will be struggling. There certainly will be even tougher times in the future. So the least I can do is learn from it.
To be more concrete, I hope to learn to be more relaxed and think clearer in such situations, as well as not to fight it but accept it for what it is and deal with it.
Additionally, nothing is āonly badā. For example, I learned that my workplace is very supportive in those times, so this takes away a big burden for the next time things go horribly wrong: At least I know Iām trusted to do my best and can take some time to deal with things.
The good stuff
While the month wasnāt great overall, I still did some things Iām proud of:
- I launched my new Website (this one)
- Went out to the city to do street photography for a few times and started an Instagram account to publish my pictures
- I made good progress on a new side project for using the Notion API as a CMS for a next.js page
- I read almost every day
- I did Journal every day this month (mostly just a few bullet points and some checkboxes checked, but I did it)
- I published 4 posts on this site if you count this one (I do)
Reading
I feel like for the time I put into reading, I did not finish much. However, I wanted to focus on reading more in terms of time and understanding than just quantity of books finished.
My RSS feed grew as well and I spent a lot of time reading blogs again. Feels nice that people go back more to writing on their own sites again.
Books
Finished The Almanack of Naval Ravikant
More or less a collection of tweets, excerpts from his blog posts and quotes from interviews with a little moderation in between. Very compact, not a lot of fluff. I read some reviews of people not liking this, but I prefer this style of writing to endless stories that have barely any information to it.
Started Letters from a Stoic & The rational optimist
Around the web
I guess thatās it š¤·āāļø.