dcb_lu
Re:Why “alias” is my last resort for aliases
on Thursday March 06, 2025 @03:35AM (#43277853)
I do something similar to my .bash_aliases, but with a few short additions to make sure running it multiple times doesn't have any strange side effects. For instance:
function edit_load() {
$EDITOR $1
source $1
if [ $? -eq 0 ]
then
echo "$1 updated."
fi
}
alias aliases="edit_load ~/.bash_aliases"
# to make sure I don't add things to $PATH on each reload
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
\*)
PATH="${PATH:+$PATH:}$1"
esac
}
append_path '/blah/blah/bin'
Re:Spotify demonetizes all tracks under 1k streams
on Monday April 08, 2024 @04:55AM (#39967636)
I hope this doesn't affect Matt Farley[1] too badly, as it seems like he relies on having many songs with only a few streams each as his main strategy for generating income from Spotify.
I once commissioned a Mother's Day song from him -- sent him 10 facts about my Mom and our family and he came back a few days later with a funny and charming little tune. Best $30 I've ever spent.
[1] https://www.nytimes.com/2024/03/31/magazine/spotify-matt-far...
Re:Are Any Words the Same in All Languages?
on Friday September 08, 2023 @04:31AM (#37431046)
There is also an interesting contrast with the word for "butterfly" which tends to be quite different between languages[0] -- "mariposa", "papillon", "farfalla", "borboleta", and "fluture" all come from romance languages, for instance.
Re:Population.io
on Thursday August 31, 2023 @07:11AM (#37335389)
I sort of went deep on this line of thinking a while back and made a calendar of my life[0] along with a script that updates my desktop background every day. Folks tend to find it pretty morbid, but I quite like it in my own way. I got a fair few days left (theoretically, at least) but not an infinite amount. Gives a bit more weight to what would normally be a pretty boring Thursday -- I should make sure I come out of it with something new, however small.