pixelpop3

joined 2 years ago
[–] pixelpop3@programming.dev 1 points 1 month ago

In my experience Ubuntu LTS seems to do the best at checking whatever bullshit checkboxes the know-nothing corporate cybersecurity auditmonkeys care about.

[–] pixelpop3@programming.dev 4 points 1 month ago* (last edited 1 month ago)

For one thing it will run a lot of existing and proven Matlab code.

Another is that Octave and Matlab syntax is ambiguous about functions vs indexes (has pros and cons).

And don't get me wrong (I use jupyter and python a lot and really do like it) but numpy can get fundamentally weird in the way indexing maps to memory in ways that I don't remember happening back when I mostly used Octave.

And for the record Octave's version of the language is vastly superior to Matlab's. (Octave has chained indexing, broadcasting, etc. It could be that Matlab has finally copied those features but dunno. Every time I have to work in actual Matlab I want to rip my hair and teeth out due to lack of these basic trivial syntax features)

For me the major advantage of python is having access to other non-numerical things. It's so difficult to do anything not-numerics in Octave and Matlab or to use even basic data structures like lists and trees. Python is sort of a basic dynamic object language that with some functional programming idioms mixed in that makes some of the things that would otherwise make you scream for Lisp possible. That's worth the numpy annoyances. Otherwise I would probably be using julia.

[–] pixelpop3@programming.dev 3 points 2 months ago* (last edited 2 months ago)

How can supporting Wayland only be more complicated than supporting both Wayland and Xorg?

Xwayland isn't going anywhere and Xorg has been dead forever. Put it out of its misery already.

[–] pixelpop3@programming.dev 3 points 2 months ago

It would be similar hell in for example Matlab or C/C++ if install of external packages were made so easy.

Some systems that are designed more with the concept of maintenance challenges (Windows and others) make it possible to have different versions installed simultaneously.

The need for the whole venv thing fundamentally underscores the problem. How many versions of libc do you have installed simultaneously? (docker users pls don't respond)

[–] pixelpop3@programming.dev 2 points 3 months ago* (last edited 3 months ago) (1 children)

Actually I think it may be your get_entry() code. The try traps all non-numbers and restarts the loop for new entry. So like typing "exit" or an empty string or anything that's not convertible to a number is being trapped by the raise and sent back for reentry. And anything that is a number can't hit the break. Just my guess.

[–] pixelpop3@programming.dev 3 points 3 months ago* (last edited 3 months ago) (2 children)

Nothing really sticks out. It could also be something about how the automated checker provides input (maybe it expects to not press enter or something and it's stuck at input()... hard to say)

I personally would install ruff and run "ruff check yourfile.py" and then later "ruff check --select=ALL yourfile.py" and read about everything it complains about.

Google the error codes and find the description and discussion of each and why it is complaining, sometimes they're not a big deal, sometimes they are aha moments. Ruff has a page discussing each warning and error

https://docs.astral.sh/ruff/rules/

[–] pixelpop3@programming.dev 3 points 4 months ago* (last edited 4 months ago)

There's also deskhop which is essentially a pure hardware solution similar to Synergy (helpful when you cannot install software on a machine or if they are on different networks). You can build your own or purchase parts/pre-built deskhops from elecrow.

https://github.com/hrvach/deskhop

[–] pixelpop3@programming.dev 1 points 5 months ago

I have a general philosophy of reinstalling my systems from scratch every few months and honestly Ubuntu is among the easiest for that (Debian is close second, but corporate overlords freak the hell out)

[–] pixelpop3@programming.dev 3 points 2 years ago (23 children)

A few podcasts I listen to have switched to calling their bluesky handles out instead of their twitter handles in their outros. I'll probably install it and delete ex/twitter when I get an invite.

[–] pixelpop3@programming.dev 4 points 2 years ago

He also shrieked about bots, and now he parades his own around.

[–] pixelpop3@programming.dev 1 points 2 years ago* (last edited 2 years ago)

I'm not familiar with code.golf but I wonder how whitespace is handled? I find python is very concise anyway, but I wonder how the white space is counted (single tab, four spaces for black, etc).

[–] pixelpop3@programming.dev 2 points 2 years ago

You just need to be a moderator of any subreddit. The subreddit itself doesn't need to be NSFW. The idea is that moderators could have a need to evaluate NSFW content on user profiles to make moderation decisions.

view more: next ›