oscar

joined 1 year ago
[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

1. Where do you find what shows/films to watch?

I don't discover it any certain way but once I know what I'm looking for I just search in qbittorrent. For anime I have RSS feeds set up.

2. Do you stream for convenience or download for superior quality?

I download.

3. Where do you store media?

Internal storage, currently some SSDs.

4. What software are you using to watch it?

mpv + fsr/Anime4K shaders.

5. How do you keep track of your watchlist, which episode you already watched or where you left off in a movie?

I use trackma/taiga with MAL for anime, for regular shows/movies I don't use anything.

[–] [email protected] 4 points 2 weeks ago

Codeberg looks pretty good at a quick glance.

[–] [email protected] 3 points 2 weeks ago

Ooh, neat. There's also puepy, which was linked further down in this thread. It's really cool to see more WASM projects pop up.

[–] [email protected] 7 points 2 weeks ago (5 children)

Somebody should write a python to javascript transpiler for the web...

(please don't actually do that)

[–] [email protected] 13 points 1 month ago (1 children)
[–] [email protected] 6 points 1 month ago

Duck typing moment

[–] [email protected] 12 points 2 months ago* (last edited 2 months ago) (2 children)

You're not wrong, but it bugs me when my ratio drops, so I always seed everything I download. I have a pretty good internet service though.

My stats:

[–] [email protected] 1 points 2 months ago

I think odin could be a good fit. I haven't used it myself. It seems to focus on 3D and game dev.

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago) (1 children)

Linux uses 8 spaces. Excerpt from the official style guide:

Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

Rationale: The whole idea behind indentation is to clearly define where a block of control starts and ends. Especially when you’ve been looking at your screen for 20 straight hours, you’ll find it a lot easier to see how the indentation works if you have large indentations.

Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.

In short, 8-char indents make things easier to read, and have the added benefit of warning you when you’re nesting your functions too deep. Heed that warning.

The reasoning seems sound, but I still prefer 4 personally.

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

gdu is another alternative. It is sometimes faster than ncdu for me.

 

I stumbled upon this while researching package management options for python, and found it a really interesting read.

I like python as a language but this mess is something that needs to be addressed for me to consider python for future projects. I can't imagine how confusing it must be for new users.

view more: next ›