ishanpage

joined 1 year ago
[–] ishanpage 4 points 7 months ago (6 children)

This is a FastAPI feature - Autogenerated documentation using Swagger.

You can turn it off by setting docs_url=None

In your linked main.py:

app = FastAPI(
    title="IslabTweet",
    description=__doc__,
    docs_url="/", # change this to None to disable the docs
    version=VERSION,
)

Hope this helps!

[–] ishanpage 6 points 8 months ago (1 children)

Dict keys are case sensitive in python. In your code I can see the key you've used has a capital M in Amarok. Maybe that's the issue here

[–] ishanpage 2 points 8 months ago* (last edited 8 months ago)

I deeply resonate with the sentiments in this article. It brilliantly articulates the topic in a way that I didn't have the language for.

It's more important than ever in today's homogenized internet monoculture to advocate for such things, especially for those outside the tech sphere. Great read!

[–] ishanpage 2 points 8 months ago (3 children)

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 4 points 8 months ago

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

[–] ishanpage 1 points 8 months ago

I started off with a PHP blog based on PageNode which I hosted on a VM I shared with a friend, but later moved to Hugo hosted on Cloudflare Pages. I've had various Wordpress blogs in the past, but couldn't keep any of them around - hopefully this one stays!

[–] ishanpage 2 points 9 months ago

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

 

An adventure fuelled by scratching an itch

[–] ishanpage 31 points 9 months ago* (last edited 9 months ago) (6 children)

While jc is a great tool, and I'm definitely a fan, I believe the real solution to the overarching problem lies in a paradigm shift: see nushell

[–] ishanpage 3 points 9 months ago

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

[–] ishanpage 5 points 10 months ago (1 children)

I agree that from a completeness point of view, the official manual is better (I've linked it at the bottom of my post as well), however I'd love to hear your specific thoughts about why you feel this particular article is not good- I've tried to include fully interactive examples for the most common tasks I find myself doing with jq everyday. This feedback will help me improve my own skills as well, so I would appreciate it very much.

 

I wrote a guide about jq which has interactive examples

[–] ishanpage 6 points 1 year ago

It is possible to live on that, there are people who live on less than it. Personally all of it went to supplementing my Mom's income so we could survive.

There are plenty of entry level jobs in India that offer those kinds of wages. There are more that offer less.

Yes, it's exploitative.

[–] ishanpage 7 points 1 year ago (3 children)

I'm from India so these numbers might be a bit weird. My yearly comp has basically gone like this from 2017 to 2023

$0.7k -> $3.6k -> $4.8k -> $20k

34
Git man page generator (git-man-page-generator.lokaltog.net)
 

Transcription of a talk given by Cory Doctrow in 2011

view more: next ›