ishanpage

joined 1 year ago
[–] [email protected] 4 points 9 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!

[–] [email protected] 6 points 10 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

[–] [email protected] 2 points 10 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
[–] [email protected] 4 points 10 months ago

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

[–] [email protected] 2 points 10 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

[–] [email protected] 30 points 11 months ago* (last edited 11 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

[–] [email protected] 3 points 11 months ago

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

[–] [email protected] 5 points 1 year 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

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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

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

Transcription of a talk given by Cory Doctrow in 2011

view more: next ›