DEV Community

Iru.
Iru.

Posted on

2024, tough year

this year i felt on my bones what a layoff is about.
took some time-off to process what happened, and mainly how it happened.
hope none of you have to undergo through one of these, and if it does happen, my advice is for you is to focus on the fact that, most probably you did nothing wrong. stop trying to understand why you were targeted.

ophra lay-off

with the battery charged, joined a new company!
still trying to find my sweet-spot company; the nice equilibrium of being part of a team where i can both learn and teach from the daily technical challenges, feeling that we're part of the same team, and without/or with the least need to handle situations that are out of my preferred culture-zone.


not much to munch this year, but some crumbs are always better than none.
here a quick recap of things that caught my interest, in this roller-coaster year.


collaboration

nl

the usage of number lines of files, is a simple trick to drive conversations

$ ls / | nl
     1  bin
     2  boot
     3  cdrom
     4  dev
     5  etc
     6  home
     7  lib
     ...

Enter fullscreen mode Exit fullscreen mode

patat; markdown-based presentations

i'm pretty aware that most presentation spectators prefer a dynamic, image/meme-fulled visualization, with nice colors, formats,... but since i tend to advocate for usability, patat has become a good friend.

Presentations Atop The ANSI Terminal is a feature-rich presentation tool that runs in the terminal.

as a huge fan of markdown format, just feel that patat drives the conversation.

ok... if you're going for a sales pitch, it may not be the tool of choice, but for small meetings where you just need a topic guideline it gets the work done.


diaxtasis

Diaxtasis is the documentation framework used in my current company, and although its adoption is something that may take some time, it has been nice to learn that there are indeed documentation frameworks :)

diaxtasis

i totally acknowledge that doing good public documentation, that serves all purposes, is very tough. keeping it's content valuable requires not only the proper tool (collaborative and easy to manage), but also the proper culture where everybody is engaged in certain way (yes, engineers too).

having a technical-author role, as the owner of it, it's a practice i'm starting to learn about, and as a documentation freak, i discovered it's a role i might want to try someday :)


pomodoros

we all struggle with concentration at some point in our career, either from excess or defect.

already started using pomodoro technique last year, but this one i'm really soaking into the habit.

  • do you feel unmotivated? eat the cake one bit at a time! set small pomodoros of 15 minutes and have breaks of 10 minutes if needed.
    anything you do, is better than none at all.

  • feeling over-motivated? i sometimes end the day with headache, due to the lack of breaks to get hydrated, stretch, pat you pets...
    set 50 minute pomodoros, with 5 minute break. allow yourself some more time, every other pomodoro.

there are many pomodoro tools out there, pick your flavor.
just one advice; be true to yourself, don't over-gamify it, and just learn to identify when you need to start the app to drive yourself into a good working day.


workstation update

standup-desk

this is not fro 2024 per se... but gotta upgrade the situation on my remote-work setup

I got myself a Jarvis standup desktop, and my body is really enjoying switching between standup up and sitting down.

This year i want to invest in a chair for the perfect combo.
After having it on my eye-sight, it will probably be an Ikaria SoulSeat

ikaria soul seat

Will report on it next year!

week-day-based auto-login

as part of my setup (i use both a laptop and a workstation), i got tired of having to manually log-in into either my personal or work profile on my workstation.

mainly during workdays (mon-fri) i would go for work profile, and use my personal on the weekends.

$ sudo cat /etc/gdm3/custom.conf
...
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=user1
...

---
$ sudo cat ~/.local/scripts/autologin_user.sh

#!/bin/bash

PROFILE_1=user1
PROFILE_2=user2

# Get the day of the week (0 = Sunday, 1 = Monday, ..., 6 = Saturday)
day_of_week=$(date +%u)

# Define users based on day of the week
case $day_of_week in
    1|2|3|4|5)  # Monday - Friday
        autologin_user="$PROFILE_1"
        ;;
    6|7)  # Sunday
        autologin_user="$PROFILE_2"
        ;;
    *)
        autologin_user="$PROFILE_2"
        ;;
esac

# Write the autologin user to the lightdm configuration
sudo sed -i "s/^AutomaticLogin=.*/AutomaticLogin=$autologin_user/" /etc/gdm3/custom.conf

---
$ sudo cat /etc/rc.local 
#!/bin/sh
/home/work/.local/scripts/autologin_user.sh
exit 0

Enter fullscreen mode Exit fullscreen mode

inspired by thelinuxcode


Advent of Code 2024

yep, another year into the challenge. this time i went for python and though still clumsy, pushed myself a bit into gettin an extra star before time started to be more consuming than what i wanted.

aoc typical 3 mistakes

my aoc-2024 stars


Funpics

downtime servers caring

/me pats server...

server down

set your travel arrangements... captain

title selection

Top comments (0)