trivial spotify script..

Feb 1, 2023

I use this little script for my stream set up at live.shrik3.com

It does two things:

  • print the current song, and the most recent n songs in the terminal
  • log all the played songs to a file

Note: needs spotify-cli as dependency

Read more ...

Der Untergang des Wissens...

Jan 31, 2023

The AI hype is worrying in a way that at the end of the day, no one will even understand the AI. I’m not saying AI is not doing well, quite the opposite, it is doing too well that human is outperformed.

When human is outperformed by the machine, human will be replaced by the machine – that’s how capitalism works. People are persuaded not starting a career in a field where human is less competent and that’s the vicious cycle. Machines will overrun the field and in the end human is excluded, because no human being has the knowledge that is built from ground up to understand what is happening. The only thing they know is that: the machine does shits for us and it works.

Read more ...





C_quicknotes

Aug 8, 2022

Takeaways from the book “Advanced C Programming” by Berry, John Thomas.

While it’s titled “advanced”, it is rather basic. Here is some quick notes on stuff that I’m not familar with/ don’t use often.

Read more ...


List synchronization, from coarse-grained to non blocking wait-free

May 8, 2022

Concepts: Wait-free and Lock-free

An object impl. is wait-free if every thread completes a method in a finite number of steps:

  • NO mutual exclusion (thread should not halt in critical section)
  • NO while loop (that may keep spining..)

An object impl. if lock-free if in an infinite execution infinitely often some method call finishes(in a finite number of steps)

Read more ...