[-] ishanpage@programming.dev 2 points 9 months ago

This is strange. I tried your snippet with your file and it works for me:

(env) ➜  testing cat x.py
from mutagen.id3 import ID3
tags = ID3("myfile.mp3")
print(tags["TXXX:FMPS_Rating_Amarok_Score"])                                                                                                                                               
(env) ➜  testing python x.py
0.78
[-] ishanpage@programming.dev 4 points 9 months ago

This is the best option. I recommend Nand2Tetris to everyone! It's an incredibly well designed and executed course

[-] ishanpage@programming.dev 2 points 9 months ago

Ooh, I hadn't heard of Quarto before, but it looks really good! Thanks for mentioning it!

[-] ishanpage@programming.dev 3 points 10 months ago

I wanna go to one so bad! But they never happen in my city..

[-] ishanpage@programming.dev 2 points 1 year ago

Have you seen all the people just stuffing their profile README full of random graphics and stats and badges

[-] ishanpage@programming.dev 1 points 1 year ago

Ohhhh, this site is a great find. Exploring all the articles right now. Thanks!

[-] ishanpage@programming.dev 3 points 1 year ago

eBPF is something that I've been exploring recently for work. I was quite blown away when I realized the true potential. I did find it difficult to get started, and while this article is a good introduction, some example code or hands on would be nice to have

[-] ishanpage@programming.dev 2 points 1 year ago

I had this same problem, after clearing my Jerboa data it worked fine. Hope that helps

[-] ishanpage@programming.dev 3 points 1 year ago

I'll be sure to read it when you do :)

[-] ishanpage@programming.dev 3 points 1 year ago

OTOH, the more pythonic one will probably perform worse, but I'm not familiar enough with Python internals to make that claim without benchmarks.

I'll try it out and add the data in the article

[-] ishanpage@programming.dev 1 points 1 year ago

sqlc is great, but I found it quite hard to get started initially because of lack of good documentation. I hope that they'll be able to focus more on improving the docs!

[-] ishanpage@programming.dev 2 points 1 year ago* (last edited 1 year ago)

You are right that it does feel a little roundabout. My understanding is that webfinger converts from the username to the user profile url and image. This is useful during federation, and for generic fedi/activitypub clients because different Fedi software maps usernames and profiles differently.

For example, user@lemmy.instance will reside at lemmy.instance/u/user, while user @mastodon.instance will reside at mastodon.instance/user.

Fom some poking around, it seems that Lemmy does not properly support sending the profile image on Webfinger because I wasn't able to do it using the rel parameters that are mentioned in the spec.

113

I recently went on quite a rabbit hole regarding the .well-known directory, and wrote about it.

35

I'll start:

When I was first learning to use Docker, I didn't realize that most tutorials that include a database don't configure the database to persist. Imagine my surprise when I couldn't figure out why the database kept getting wiped!

view more: ‹ prev next ›

ishanpage

joined 1 year ago