From f272c90e50d6291530135f68154a99f6c2e626be Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 12 Oct 2022 10:16:29 +0300 Subject: Update content for html --- gemfeed/2008-06-26-perl-poetry.html | 2 +- ...12-29-using-my-nokia-n95-for-fixing-my-mta.html | 2 +- gemfeed/2010-04-09-standard-ml-and-haskell.html | 2 +- ...010-05-07-lazy-evaluation-with-standarn-ml.html | 2 +- .../2010-05-09-the-fype-programming-language.html | 2 +- .../2011-05-07-perl-daemon-service-framework.html | 2 +- .../2014-03-24-the-fibonacci.pl.c-polyglot.html | 2 +- ...2-05-run-debian-on-your-phone-with-debroid.html | 2 +- gemfeed/2016-04-03-offsite-backup-with-zfs.html | 2 +- ...04-09-jails-and-zfs-on-freebsd-with-puppet.html | 2 +- .../2016-04-16-offsite-backup-with-zfs-part2.html | 2 +- ...inning-up-my-own-authoritative-dns-servers.html | 2 +- ...20-object-oriented-programming-with-ansi-c.html | 2 +- ...alistic-load-testing-with-ioriot-for-linux.html | 2 +- ...-22-dtail-the-distributed-log-tail-program.html | 2 +- gemfeed/2021-04-24-welcome-to-the-geminispace.html | 2 +- ...021-05-16-personal-bash-coding-style-guide.html | 2 +- ...5-gemtexter-one-bash-script-to-rule-it-all.html | 2 +- gemfeed/2021-07-04-the-well-grounded-rubyist.html | 2 +- ...-08-01-on-being-pedantic-about-open-source.html | 4 +- gemfeed/2021-09-12-keep-it-simple-and-stupid.html | 2 +- gemfeed/2021-10-22-defensive-devops.html | 2 +- gemfeed/2021-11-29-bash-golf-part-1.html | 2 +- ...-12-26-how-to-stay-sane-as-a-devops-person.html | 2 +- gemfeed/2022-01-01-bash-golf-part-2.html | 2 +- gemfeed/2022-01-23-welcome-to-the-foo.zone.html | 2 +- ...022-02-04-computer-operating-systems-i-use.html | 2 +- gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html | 2 +- gemfeed/2022-04-10-creative-universe.html | 2 +- .../2022-05-27-perl-is-still-a-great-choice.html | 2 +- gemfeed/2022-06-15-sweating-the-small-stuff.html | 2 +- ...22-07-30-lets-encrypt-with-openbsd-and-rex.html | 2 +- ...2-08-27-gemtexter-1.1.0-lets-gemtext-again.html | 2 +- gemfeed/2022-09-30-after-a-bad-nights-sleep.html | 56 ++-- gemfeed/atom.xml | 330 +++++++++++++++------ 35 files changed, 295 insertions(+), 159 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2008-06-26-perl-poetry.html b/gemfeed/2008-06-26-perl-poetry.html index 7d5ea6d9..8ddb365d 100644 --- a/gemfeed/2008-06-26-perl-poetry.html +++ b/gemfeed/2008-06-26-perl-poetry.html @@ -156,7 +156,7 @@ This is perl, v5.8.8 built for i386-freebsd-64int

More...

Did you like what you saw? Have a look at Codeberg to see my other poems too:

https://codeberg.org/snonux/perl-poetry
-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

It was a pain in the ass. My next mobile phone MUST have a full QWERTY keyboard. This would have made my life lots easier. :)

At the moment I am in Sofia, Bulgaria. Here I can use at least an unprotected WLAN hotspot which belongs to one of the neighbours which I don’t know in person, and it is not blocking any port at all :)

-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

May the source be with you

You can find all of this on the GitHub page. There is also an "examples" folders containing some Fype scripts!

https://codeberg.org/snonux/fype
-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

May the source be with you

You can find PerlDaemon (including the examples) at:

https://codeberg.org/snonux/perldaemon
-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

It's entertaining to play with :-).

-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

Reboot & test! Enjoy!

-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site

The solution is adding another USB drive (2TB) with an encryption container (GELI) and a ZFS pool. The GELI encryption requires a secret key and a secret passphrase. I am updating the data to that drive once every three months (my calendar is reminding me about it), and afterwards, I keep that drive at a secret location outside of my apartment. All the information needed to decrypt (mounting the GELI container) is stored at another (secure) place. Key and passphrase are kept at different sites, though. Even if someone knew of it, he would not be able to decrypt it as some additional insider knowledge would be required as well.

Walking one round less

I am thinking of buying a second 2TB USB drive and setting it up the same way as the first one. So I could alternate the backups. One drive would be at the secret location, and the other drive would be at home. And these drives would swap place after each cycle. This would give some security about the failure of that drive, and I would have to go to the secret location only once (swapping the drives) instead of twice (picking that drive up to update the data + bringing it back to the remote location).

-

E-Mail me your comments to paul at buetow dot org! :-)

+

E-Mail your comments to paul at buetow dot org! :-)

Go back to the main site
  • ...etc
  • All done in a pretty automated manor.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    I enhanced the procedure a bit. From now on, I have two external 2TB USB hard drives. Both are set up precisely the same way. To decrease the probability that both drives will not fail simultaneously, they are of different brands. One drive is kept at a secret location. The other one is held at home, right next to my HP MicroServer.

    Whenever I update the offsite backup, I am doing it to the drive, which is kept locally. Afterwards, I bring it to the secret location, swap the drives, and bring the other back home. This ensures that I will always have an offsite backup available at a different location than my home - even while updating one copy of it.

    Furthermore, I added scrubbing ("zpool scrub...") to the script. It ensures that the file system is consistent and that there are no bad blocks on the disk and the file system. To increase the reliability, I also run a "zfs set copies=2 zroot". That setting is also synchronized to the offsite ZFS pool. ZFS stores every data block to disk twice now. Yes, it consumes twice as much disk space, making it better fault-tolerant against hardware errors (e.g. only individual disk sectors going bad).

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site
  • The BIND server will notify all slave DNS servers (at the moment, only one). And it will transfer the new version of the zone.
  • That's much more comfortable now than manually clicking at some web UIs at Schlund Technologies.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Big C software projects, like Linux, also follow some OOP techniques:

    https://lwn.net/Articles/444910/

    C is a very old programming language with it's quirks. This might be one of the reasons why Linux will also let Rust code in.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Open Source

    Mimecast highly encourages you to have a look at DTail and submit an issue for any features you would like to see. Have you found a bug? Maybe you just have a question or comment? If you want to go a step further: We would also love to see pull requests for any features or improvements. Either way, if in doubt just contact us via the DTail GitHub page.

    https://dtail.dev
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Check out one of the following links for more information about Gemini. For example, you will find a FAQ that explains why the protocol is named Gemini. Many Gemini capsules are dual-hosted via Gemini and HTTP(S) so that people new to Gemini can sneak peek at the content with a regular web browser. Some people go as far as tri-hosting all their content via HTTP(S), Gemini and Gopher.

    gemini://gemini.circumlunar.space
    https://gemini.circumlunar.space
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Advanced Bash learning pro tip

    I also highly recommend having a read through the "Advanced Bash-Scripting Guide" (not from Google). I use it as the universal Bash reference and learn something new every time I look at it.

    Advanced Bash-Scripting Guide
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Conclusion

    It was quite a lot of fun writing Gemtexter. It's a relatively small project, but given that I worked on that in my spare time once in a while, it kept me busy for several weeks.

    I finally revamped my personal internet site and started to blog again. I wanted the result to be exactly how it is now: A slightly retro-inspired internet site built for fun with unconventional tools.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    I liked this book so much so that I even bought myself a (used) paper copy of it. To my delight, there was also a free eBook version in ePub format included, which I now have on my Kobo Forma eBook reader. :-)

    Perl

    Will I abandon my beloved Perl? Probably not. There are also some Perl scripts I use at work. But unfortunately I only have a limited amount of time and I have to use it wisely. I might look into Raku (formerly known as Perl 6) next year and use it for a personal pet project, who knows. :-). I also highly recommend reading the two Perl books "Modern Perl" and "Higher-Order Perl".

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Security bugs in open-source projects are exposed to the public and fixed quickly, while we don't know exactly what happens to security bugs in closed-source ones. Still, hackers and security specialists can find them through reverse engineering and penetration testing. Overall, thinking of security, In my opinion it is still better to prefer open-source software because the more significant the project, the higher the probability that security bugs are found and fixed as more parties are looking into it. Furthermore, provided you have the necessary resources, you could still deduct an audit by yourself. The latter especially happens when companies with its own security and penetration testing departments are evaluating the use of open-source. This is something not every company can afford though.

    Always watch out for open-source alternatives

    Do you need Microsoft Word? Why don't you just use the Vim text editor or GNU Emacs to write your letters? If that's too nerdy, you can still use open-source alternatives such as AbiWord or LibreOffice. Larger organizations have the tendency to standardize the software their employees have to use. Unfortunately, as Microsoft Word is the de-facto standard text processing program, most companies prefer Word over LibreOffice. Same with Microsoft Excel vs LibreOffice Calc or other spreadsheet alternatives like Gnumeric. I don't know why that is; please....

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    I only use free and open-source operating systems on my personal Laptops, Desktop PCs and servers (FreeBSD and Linux based ones). Most of the programs and apps I use on them are free and open-source as well, and I am comfortable with it for over twenty years. Exceptions are the BIOSes and some firmwares of my devices. I also use Skype as most of my friends and family are using it. They are, unfortunately, proprietary software still. But I will be looking into Matrix as a Skype alternative when I have time. There are also open BIOS alternatives, but they usually don't work on my devices.

    What about mobile?

    I struggle to go 100% open-source on my Smartphone. I use a Samsung phone with the stock Android as provided by Samsung. I love the device as it is large enough to use as a portable reading and note-taking device, and it can also take decent pictures. As a cloud backup solution, I have my own NextCloud server (open-source). Android is mainly open-source software, but many closed parts are still included. I replaced most of the standard apps with free and open-source variants from the F-Droid store though.

    @@ -72,7 +72,7 @@

    Conclusion

    Should you be pedantic about open-source software? It depends. It depends on your fundamental values and how much time you are ready to invest. Open-source software is not just free as in money, but also free as in freedom. You will gain back complete control of your personal data. Unfortunately, installing ready proprietary apps from the Play Store is much more convenient than building up a trustworthy open-source-based infrastructure by yourself. As a guideline, use proprietary software and services with caution. Be mindful about your choices and where you leave your digital fingerprints. In doubt, think less is more. Do you really need this new shiny app? What benefit does it provide to you? Probably you don't really need that shiny new app.

    You have better chances when you know how to manage your own server and install and manage alternatives to the big cloud providers by yourself. I have the advantage that I have work experience as a Linux Systems Administrator here. I mentioned NextCloud already. I use NextCloud for online photo and file storage, contact and calendar sync and as an RSS news feed server. You could do the same with your own E-Mail server, you can also host your own website and blog. I also mentioned Matrix as a Skype alternative (which could also be an alternative to WhatsApp, Skype, Telegram, Viber, ...). I don't know a lot about Matrix yet, but it seems to be a very neat alternative. I am ready to invest time in it as one of my future personal pet projects. Not only because I think it's better, but also because for fun and as a hobby. But this doesn't mean that I invest *all* of my personal free time in it.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Other relevant readings

    Is the madness ever going to end?

    Enough ranted for now!

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Controversially, a lack of features is a feature. Enjoy your peace an quiet. - Michael W Lucas

    Go back to the main site

    Retrospective

    For every major incident, you need to follow up with an incident retrospective. A blame-free, detailed description of exactly what went wrong to cause the incident, along with a list of steps to take to prevent a similar incident from occurring again in the future.

    This usually means creating one or more tickets, which will be dealt with soon. Once the permanent fix is deployed, you can remove your ad-hoc automation and monitoring around it and focus on your regular work again.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    See you later for the next post of this series.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    More

    Another blog post worth reading:

    https://unixsheikh.com/articles/how-to-stay-sane-in-todays-world-of-tech.html
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    As a funny bit, I almost chose "foo.surf" over "foo.zone" as in "surfing this site", but then decided against it as I would have to tell everyone that I am not into water sports so much. Well, on the other hand, I now may have to explain to non-programmers that I am not a fan of the rock band "Foo Fighters". But that will be acceptable, as I don't expect "normal" people visiting the foo zone as much anyway. If you reached as far, I have to congratulate you. You are not a normal person.

    What about my old hosts

    The host buetow.org will stay. However, not as the primary address for this site. I will keep using it for my personal internet infrastructure as well as for most of my E-Mail addresses. I used buetow.org for that over the past 10 years already anyway and that won't change any time soon. I don't know what I am going to do with snonux.de in the long run. A .de SLD (for Germany) is pretty cheap, so I might just keep it for now.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    I am a bit busy at the moment with two other pet projects of mine (one internal work-project, and one personal one, the latter you will read about in the next couple of months). If you have ideas (or even a patch), then please don't hesitate to contact me (either via E-Mail or a request at GitHub).

    Thanks!

    Paul

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site
  • The Off Switch; Mark Cropley; Virgin Books
  • Ultralearning; Scott Young; Thorsons
  • -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    Btw.: Did you know that the first version of PHP was a set of Perl snippets? Only later, PHP became an independent programming language.

    https://www.perl.org
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    If you wonder what Gemini is:

    Welcome to the Geminispae
    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    ACME and Let's Encrypt greatly help reducing recurring manual maintenance work (creating and renewing certificates). Furthermore, all the certificates are free of costs! I love to use OpenBSD and Rex to automate all of this.

    OpenBSD suits perfectly here as all the tools are already part of the base installation. Rex is not as powerful and popular as other configuration management systems (e.g. Puppet, Chef, SALT or even Ansible). It is more of an underdog and the community is small. But I like underdogs.

    I love the fact that a Rexfile is just a Perl DSL. Why re-inventing the wheel? Also, OpenBSD comes with Perl in the base system. So no new programming language had to be added to my mix for the configuration management system. Also, the acme.sh shell script is not a Bash but a standard Bourne shell script so that I didn't have to install yet another shell as OpenBSD does not come with the Bash pre-installed.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    More

    Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made.

    Overall I think it's a pretty solid 1.1.0 release without anything groundbreaking (therefore no major version jump). But I am happy about it.

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site

    After a bad night's sleep

    -

    Published by Paul at 2022-09-30

    +

    Published by Paul at 2022-09-30, last updated 2022-10-12

                    z
                     z
    @@ -23,50 +23,50 @@
     jgs                (________\  \
                                  '-'
     

    -

    Everyone has it once a while: A bad night's sleep. Here I attempt to list useful tips how to deal with it.

    -

    Don't take the day off

    -

    Don't take a day off after not having slept enough the previous night. That would be wasting the holiday allowance. It wouldn't be possible to enjoy my free time anyway, so why not just work? For an IT Engineer, there's still a way to be productive (sometimes even more) with half or less of the concentration power available!

    +

    Everyone has it once in a while: A bad night's sleep. Here I attempt to list valuable tips on how to deal with it.

    +

    Don't take the day off.

    +

    Don't take a day off after not sleeping enough the previous night. That would be wasting the holiday allowance. It wouldn't be possible to enjoy my free time anyway, so why not just work? There's still a way for an IT Engineer to be productive (sometimes even more) with half or less of the concentration power available!

    Start work early

    Probably I am already awake early and am unable to fall asleep again. My strategy here is to "attack" the day: Start work early and finish early. The early bird will also encounter fewer distractions from colleagues.

    Sweat the small stuff

    -

    For me, there's never a shortage of small items to hook off my list. Most of these items don't require my full concentration power and I will be happy to get them off my list so that the next day, after a good night's sleep, I can immerse myself again with focused deep work with all concentration powers at hand.

    +

    There's never a shortage of small items to hook off my list. Most of these items don't require my full concentration power, and I will be happy to get them off my list so that the next day, after a good night's sleep, I can immerse myself again in focused, deep work with all concentration powers at hand.

    Examples of "small work items" are:

    -

    Enter the flow state

    -

    I personally find it easy to enter the "flow state" after a bad night's sleep. All what I need to do is to put on some ambient music (preferably instrumental chill house) and start to work on a not too difficult ticket.

    -

    Normally, the "flow state" is associated with deep focused work but deep focused work isn't easily possible under sleep deprivation. It's still possible to be in the flow by working on easier tasks and leave the difficult ones for the next day.

    +

    Enter the flow state

    +

    I find it easy to enter the "flow state" after a bad night's sleep. All I need to do is to put on some ambient music (preferably instrumental chill house) and start to work on a not-too-difficult ticket.

    +

    Usually, the "flow state" is associated with deep-focused work, but deep-focused work isn't easily possible under sleep deprivation. It's still possible to be in the flow by working on more manageable tasks and leaving the difficult ones for the next day.

    Reschedule meetings

    -

    I find it difficult to engage in discussions and demanding meetings after a bad night's sleep. I still attend the meetings I am invited to as "only" a participant, but prefer to reschedule all meetings I am the main driver of.

    -

    This, unfortunately, also includes interviews. Interviews require full concentration power. So for interviews I would find a colleague to step in for me or ask to completely reschedule the interview. Everything else wouldn't make it justice and would waste everyone's time!

    +

    I find engaging in discussions and demanding meetings challenging after a lousy night's sleep. I still attend the sessions I am invited to as "only" a participant, but I prefer to reschedule all meetings I am the primary driver of.

    +

    This, unfortunately, also includes interviews. Interviews require full concentration power. So for interviews, I would find a colleague to step in for me or ask to reschedule the interview altogether. Everything else wouldn't make it justice and would waste everyone's time!

    Invent

    -

    The mind works differently under sleep deprivation: It's easier to invent new stuff as it's easier to have a look at things from different perspectives. As a matter of fact, until an hour ago I didn't know yet what I would be blogging about for this month and then I just started writing this and it took me only half an hour to write the first draft of this blog post!

    +

    The mind works differently under sleep deprivation: It's easier to invent new stuff as it's easier to have a look at things from different perspectives. Until an hour ago, I didn't know yet what I would be blogging about for this month, and then I just started writing this, and it took me only half an hour to write the first draft of this blog post!

    Fast

    -

    I don't eat breakfast and I don't eat lunch on these days. I only have dinner. Not eating means that my mind doesn't become foggy and I keep up the work momentum. This is called intermittent fasting which not only generally helps to keep the weight under control and boosts the concentration power. Furthermore, intermittent fasting is healthy. You should include it into your routine anyway, even after a good night's sleep.

    -

    Strech

    -

    I won't have enough energy for serious physical exercise on those days, but a 30 to 60 minute stretching session can make the day. Stretching will even hurt less under sleep depravation! The stretching could also be substituted with a light Yoga session.

    -

    Walk

    -

    I will have enough energy for one or two daily walks, though (~10k steps for the day in total). Walking is healthy and the time can be used to listen to interesting podcasts. The available concentration power might not be enough for a more sophisticated audio literature, though. Sometimes, I listen to music during the walks. I also try to catch the bright sunlight...

    +

    I don't eat breakfast, and I don't eat lunch on these days. I only have dinner. Not eating means my mind doesn't get foggy, and I keep up the work momentum. This is called intermittent fasting, which not only generally helps to keep the weight under control and boosts the concentration power. Furthermore, intermittent fasting is healthy. You should include it in your routine, even after a good night's sleep.

    +

    Stretch

    +

    I won't have enough energy for strenuous physical exercise on those days, but a 30 to a 60-minute stretching session can make the day. Stretching will even hurt less under sleep deprivation! The stretching could also be substituted with a light Yoga session.

    +

    Walk

    +

    Walking is healthy, and the time can be used to listen to interesting podcasts. The available concentration power might not be enough for more sophisticated audio literature. I will have enough energy for one or two daily walks (~10k steps for the day in total). Sometimes, I listen to music during walks. I also try to catch the bright sunlight.

    Red Bull

    -

    I don't think that Red Bull is a healthy drink. But once in a while a can in the early afternoon brings wonders and the productivity will skyrocket. Other than Red Bull, drink a lot of water throughout the day.

    +

    I don't think that Red Bull is a healthy drink. But once in a while, a can in the early afternoon brings wonders, and productivity will skyrocket. Other than Red Bull, drink a lot of water throughout the day. Don't forget to drink the sugar-free version; otherwise, your intermittent fast will be broken.

    Power nap

    -

    I don't know how to "enforce" a nap, but sometimes I manage to power nap and it helps wonders. A 30 minute nap sometimes brings me back to normal. If you don't manage to fast as you are too hungry it helps to try to nap approximately 30 minutes after having eaten something.

    -

    Don't take anything personally

    -

    It's much more difficult to keep the mind "under control" in this state. Every annoyance has the potential to upset and this could reflect to the work colleagues. It is wise to attempt to go with a positive attitude into the day, to always smile and to be polite to the family and the colleagues at work. Don't let anything drop out to the people next, they don't deserve it as they didn't do anything wrong! Also, remember, it can't be controlled all. It's time to let go of the annoyances for the day.

    +

    I don't know how to "enforce" a nap, but sometimes I manage to power nap, and it helps wonders. A 30-minute nap sometimes brings me back to normal. If you don't tend to fast as you are too hungry, it helps to try to nap approximately 30 minutes after eating something.

    +

    Don't take anything personally.

    +

    It's much more challenging to keep the mind "under control" in this state. Every annoyance can potentially upset, which could reflect on the work colleagues. It is wise to attempt to go with a positive attitude into the day, always smile and be polite to the family and colleagues at work. Don't let anything drop out to the people next; they don't deserve it as they didn't do anything wrong! Also, remember, it can't be controlled at all. It's time to let go of the annoyances for the day.

    Meditate

    -

    In order to keep the good vibe, it helps to meditate for 10 minutes. Meditation must nothing be fancy. It can be just lying on the sofa and observing your thoughts as they come and go. Don't judge the thoughts as that could put you into a negative mood. It's not necessary to sit in an uncomfortable Yoga pose and also it is not necessary to chant "Ohhmmmmm".

    +

    To keep the good vibe, it helps to meditate for 10 minutes. Meditation must nothing be fancy. It can be just lying on the sofa and observing your thoughts as they come and go. Don't judge your thoughts, as that could put you in a negative mood. It's not necessary to sit in an uncomfortable Yoga pose, and it is not required to chant "Ohhmmmmm".

    Write things down

    -

    Sometimes something requiring more concentration power demands the time. This is where it helps to write a note into a journal and come back to it in another day. This doesn't mean slacking off, but it means managing the rare available concentration power for the day. I might repeat myself: Today, sweat all the small stuff. Tomorrow, do the deep focused work on that important project again.

    -

    It's easier to forget things on those days so everything should be written down so that it can be worked off later. Things written down will not be forgotten!

    +

    Sometimes something requiring more concentration power demands time. This is where it helps to write a note in a journal and return to it another day. This doesn't mean slacking off but managing the rarely available concentration power for the day. I might repeat myself: Today, sweat all the small stuff. Tomorrow, do the deep-focused work on that crucial project again.

    +

    It's easier to forget things on those days, so everything should be written down so that it can be worked off later. Things written down will not be overlooked!

    Social media

    -

    I dislike checking social media, as it can consume a lot of time and can become addictive. But once in a while I want to catch up with my "networks". Now, after a bad night's sleep, it's the perfect time to check your social media. Once done, you don't have to do it anymore for the next couple of days!

    -

    E-Mail me your comments to paul at buetow dot org! :-)

    +

    I wouldn't say I like checking social media, as it can consume a lot of time and can become addictive. But once in a while, I want to catch up with my "networks". After a bad night's sleep, it's the perfect time to check your social media. Once done, you don't have to do it anymore for the next couple of days!

    +

    E-Mail your comments to paul at buetow dot org! :-)

    Go back to the main site
    Everyone has it once a while: A bad night's sleep. Here I attempt to list useful tips how to deal with it.. .....to read on please visit my site.
    -

    After a bad night's sleep

    -

    Published by Paul at 2022-09-30

    + 1c1 +< -rw-r--r--. 1 paul paul 6729 Oct 1 11:15 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html +--- +> -rw-r--r--. 1 paul paul 6738 Oct 12 10:15 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html +

    After a bad night's sleep

    +

    Published by Paul at 2022-09-30, last updated 2022-10-12

                    z
                     z
    @@ -33,50 +37,50 @@
     jgs                (________\  \
                                  '-'
     

    -

    Everyone has it once a while: A bad night's sleep. Here I attempt to list useful tips how to deal with it.

    -

    Don't take the day off

    -

    Don't take a day off after not having slept enough the previous night. That would be wasting the holiday allowance. It wouldn't be possible to enjoy my free time anyway, so why not just work? For an IT Engineer, there's still a way to be productive (sometimes even more) with half or less of the concentration power available!

    +

    Everyone has it once in a while: A bad night's sleep. Here I attempt to list valuable tips on how to deal with it.

    +

    Don't take the day off.

    +

    Don't take a day off after not sleeping enough the previous night. That would be wasting the holiday allowance. It wouldn't be possible to enjoy my free time anyway, so why not just work? There's still a way for an IT Engineer to be productive (sometimes even more) with half or less of the concentration power available!

    Start work early

    Probably I am already awake early and am unable to fall asleep again. My strategy here is to "attack" the day: Start work early and finish early. The early bird will also encounter fewer distractions from colleagues.

    Sweat the small stuff

    -

    For me, there's never a shortage of small items to hook off my list. Most of these items don't require my full concentration power and I will be happy to get them off my list so that the next day, after a good night's sleep, I can immerse myself again with focused deep work with all concentration powers at hand.

    +

    There's never a shortage of small items to hook off my list. Most of these items don't require my full concentration power, and I will be happy to get them off my list so that the next day, after a good night's sleep, I can immerse myself again in focused, deep work with all concentration powers at hand.

    Examples of "small work items" are:

    • Tidying up the workspace.
    • Installing pending computer software updates.
    • -
    • Going through the work backlog: Create new tickets, close obsolete one, roughly pre-plan upcoming work.
    • +
    • Going through the work backlog: Create new tickets, close obsolete ones, and roughly pre-plan upcoming work.
    • Finishing off the easy tickets from the current sprint.
    • -
    • Going through any kind of boring paper work.
    • -
    • Catching up with the journal and mark off all trivial action items.
    • +
    • Going through any tedious paperwork.
    • +
    • Catch up with the journal and mark off all trivial action items.
    -

    Enter the flow state

    -

    I personally find it easy to enter the "flow state" after a bad night's sleep. All what I need to do is to put on some ambient music (preferably instrumental chill house) and start to work on a not too difficult ticket.

    -

    Normally, the "flow state" is associated with deep focused work but deep focused work isn't easily possible under sleep deprivation. It's still possible to be in the flow by working on easier tasks and leave the difficult ones for the next day.

    +

    Enter the flow state

    +

    I find it easy to enter the "flow state" after a bad night's sleep. All I need to do is to put on some ambient music (preferably instrumental chill house) and start to work on a not-too-difficult ticket.

    +

    Usually, the "flow state" is associated with deep-focused work, but deep-focused work isn't easily possible under sleep deprivation. It's still possible to be in the flow by working on more manageable tasks and leaving the difficult ones for the next day.

    Reschedule meetings

    -

    I find it difficult to engage in discussions and demanding meetings after a bad night's sleep. I still attend the meetings I am invited to as "only" a participant, but prefer to reschedule all meetings I am the main driver of.

    -

    This, unfortunately, also includes interviews. Interviews require full concentration power. So for interviews I would find a colleague to step in for me or ask to completely reschedule the interview. Everything else wouldn't make it justice and would waste everyone's time!

    +

    I find engaging in discussions and demanding meetings challenging after a lousy night's sleep. I still attend the sessions I am invited to as "only" a participant, but I prefer to reschedule all meetings I am the primary driver of.

    +

    This, unfortunately, also includes interviews. Interviews require full concentration power. So for interviews, I would find a colleague to step in for me or ask to reschedule the interview altogether. Everything else wouldn't make it justice and would waste everyone's time!

    Invent

    -

    The mind works differently under sleep deprivation: It's easier to invent new stuff as it's easier to have a look at things from different perspectives. As a matter of fact, until an hour ago I didn't know yet what I would be blogging about for this month and then I just started writing this and it took me only half an hour to write the first draft of this blog post!

    +

    The mind works differently under sleep deprivation: It's easier to invent new stuff as it's easier to have a look at things from different perspectives. Until an hour ago, I didn't know yet what I would be blogging about for this month, and then I just started writing this, and it took me only half an hour to write the first draft of this blog post!

    Fast

    -

    I don't eat breakfast and I don't eat lunch on these days. I only have dinner. Not eating means that my mind doesn't become foggy and I keep up the work momentum. This is called intermittent fasting which not only generally helps to keep the weight under control and boosts the concentration power. Furthermore, intermittent fasting is healthy. You should include it into your routine anyway, even after a good night's sleep.

    -

    Strech

    -

    I won't have enough energy for serious physical exercise on those days, but a 30 to 60 minute stretching session can make the day. Stretching will even hurt less under sleep depravation! The stretching could also be substituted with a light Yoga session.

    -

    Walk

    -

    I will have enough energy for one or two daily walks, though (~10k steps for the day in total). Walking is healthy and the time can be used to listen to interesting podcasts. The available concentration power might not be enough for a more sophisticated audio literature, though. Sometimes, I listen to music during the walks. I also try to catch the bright sunlight...

    +

    I don't eat breakfast, and I don't eat lunch on these days. I only have dinner. Not eating means my mind doesn't get foggy, and I keep up the work momentum. This is called intermittent fasting, which not only generally helps to keep the weight under control and boosts the concentration power. Furthermore, intermittent fasting is healthy. You should include it in your routine, even after a good night's sleep.

    +

    Stretch

    +

    I won't have enough energy for strenuous physical exercise on those days, but a 30 to a 60-minute stretching session can make the day. Stretching will even hurt less under sleep deprivation! The stretching could also be substituted with a light Yoga session.

    +

    Walk

    +

    Walking is healthy, and the time can be used to listen to interesting podcasts. The available concentration power might not be enough for more sophisticated audio literature. I will have enough energy for one or two daily walks (~10k steps for the day in total). Sometimes, I listen to music during walks. I also try to catch the bright sunlight.

    Red Bull

    -

    I don't think that Red Bull is a healthy drink. But once in a while a can in the early afternoon brings wonders and the productivity will skyrocket. Other than Red Bull, drink a lot of water throughout the day.

    +

    I don't think that Red Bull is a healthy drink. But once in a while, a can in the early afternoon brings wonders, and productivity will skyrocket. Other than Red Bull, drink a lot of water throughout the day. Don't forget to drink the sugar-free version; otherwise, your intermittent fast will be broken.

    Power nap

    -

    I don't know how to "enforce" a nap, but sometimes I manage to power nap and it helps wonders. A 30 minute nap sometimes brings me back to normal. If you don't manage to fast as you are too hungry it helps to try to nap approximately 30 minutes after having eaten something.

    -

    Don't take anything personally

    -

    It's much more difficult to keep the mind "under control" in this state. Every annoyance has the potential to upset and this could reflect to the work colleagues. It is wise to attempt to go with a positive attitude into the day, to always smile and to be polite to the family and the colleagues at work. Don't let anything drop out to the people next, they don't deserve it as they didn't do anything wrong! Also, remember, it can't be controlled all. It's time to let go of the annoyances for the day.

    +

    I don't know how to "enforce" a nap, but sometimes I manage to power nap, and it helps wonders. A 30-minute nap sometimes brings me back to normal. If you don't tend to fast as you are too hungry, it helps to try to nap approximately 30 minutes after eating something.

    +

    Don't take anything personally.

    +

    It's much more challenging to keep the mind "under control" in this state. Every annoyance can potentially upset, which could reflect on the work colleagues. It is wise to attempt to go with a positive attitude into the day, always smile and be polite to the family and colleagues at work. Don't let anything drop out to the people next; they don't deserve it as they didn't do anything wrong! Also, remember, it can't be controlled at all. It's time to let go of the annoyances for the day.

    Meditate

    -

    In order to keep the good vibe, it helps to meditate for 10 minutes. Meditation must nothing be fancy. It can be just lying on the sofa and observing your thoughts as they come and go. Don't judge the thoughts as that could put you into a negative mood. It's not necessary to sit in an uncomfortable Yoga pose and also it is not necessary to chant "Ohhmmmmm".

    +

    To keep the good vibe, it helps to meditate for 10 minutes. Meditation must nothing be fancy. It can be just lying on the sofa and observing your thoughts as they come and go. Don't judge your thoughts, as that could put you in a negative mood. It's not necessary to sit in an uncomfortable Yoga pose, and it is not required to chant "Ohhmmmmm".

    Write things down

    -

    Sometimes something requiring more concentration power demands the time. This is where it helps to write a note into a journal and come back to it in another day. This doesn't mean slacking off, but it means managing the rare available concentration power for the day. I might repeat myself: Today, sweat all the small stuff. Tomorrow, do the deep focused work on that important project again.

    -

    It's easier to forget things on those days so everything should be written down so that it can be worked off later. Things written down will not be forgotten!

    +

    Sometimes something requiring more concentration power demands time. This is where it helps to write a note in a journal and return to it another day. This doesn't mean slacking off but managing the rarely available concentration power for the day. I might repeat myself: Today, sweat all the small stuff. Tomorrow, do the deep-focused work on that crucial project again.

    +

    It's easier to forget things on those days, so everything should be written down so that it can be worked off later. Things written down will not