• 56 Posts
  • 1.59K Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle
  • People want to charge $15-20 for a CD, and if I did that for every album I listened to on Spotify, I would have spent at least a luxury car’s worth of music. I’m not going to ever pay that much again. Concert prices are already bad enough.

    Piracy or streaming, pick one. Because the choices we had before that sucked.

    The real problem is oversaturation, and the general worth of music. Good music is everywhere. People are making it every day and putting it out there, on Spotify, Bandcamp, wherever, and it’s all free or very cheap to listen to. Why should I specifically pay attention to Yee or Lil Shitstain or whatever is the college rock band of the week that got insanely popular?












  • You can do some wild shit with pipes:

    • head -10 /var/log/syslog - Look at the first ten lines of one of your log files, with timestamps on the front
    • cat /var/log/syslog | cut -d' ' -f1 - Splits the lines by a space delimiter (the -d' ' part), and grabs the first “field” (the one with the timestamp, using -f1)
    • cat /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 - Splits the timestamp at the “T”, and leaves only the date
    • cat /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 | sort | uniq -c - Gives you a count of each date
    • grep systemd /var/log/syslog | cut -d' ' -f1 | cut -dT -f1 | sort | uniq -c - For only the lines with ‘systemd’ on it, gives you a count of each date

    The standard GNU toolkit has a ton of utilities like that for doing stuff with text files.