dirtyrig

joined 2 years ago
[–] dirtyrig 6 points 2 years ago (2 children)

SDF is a great community. Glad you're here. You mentioned a warm feeling which reminds me of the book The Friendly Orange Glow which seems like something you would really enjoy reading. I first learned about the book from jwh here on the public access unix side of SDF. Such a great book!

[–] dirtyrig 1 points 2 years ago

Just deleted my Reddit.

👍

[–] dirtyrig 2 points 2 years ago

There is so much Lemmy to go around. Cross posting this explorer for finding communities.

[–] dirtyrig 16 points 2 years ago
[–] dirtyrig 5 points 2 years ago* (last edited 2 years ago)

The original invites look to be from Dec 2021 and it was refreshed in Feb 2023 (complete do-over?). All announcements have been coming to my SDF email account from Membership.

[–] dirtyrig 6 points 2 years ago (1 children)

I'm not even a dev

Said every developer

[–] dirtyrig 3 points 2 years ago

You're thinking of DataTables. The lemmy-ui source code shows the css class as table. It looks to me like the basic bootstrap table.

[–] dirtyrig 3 points 2 years ago (2 children)

I don't think this is necessary for public rooms. The sdf matrix lobby is listed as public. I've been able to one-click into a public room on a different server without requesting access.

[–] dirtyrig 5 points 2 years ago* (last edited 2 years ago) (1 children)

Hi @rickumali! I'm in matrix too. Here are some links I copied from my session. Look forward to seeing your avatar there.

https://matrix.to/#/#lobby:matrix.sdf.org Lobby
https://matrix.to/#/#hamradio:matrix.sdf.org Ham Radio

[–] dirtyrig 6 points 2 years ago* (last edited 2 years ago) (1 children)

Perfect use case. pipx is awesome for Python! Glad you found a great easy solution.

Is it over engineering or error prone?

Nope. pipx is like a big guard rail to keep you from doing error prone things with system Python.

In these examples we'll assume your venv is at /home/TrueBlue/project/venv

Is there another way...?

  • shebang: Set your #! to point at your Python venv runtime
    #!/home/TrueBlue/project/venv python3
    Now you can just run your Python file and it'll use the correct Python runtime.
  • poetry can be useful for running personal projects using poetry run.
  • In linux you can use an alias to create to call your venv Python runtime with your package.

e.g. I want to use a new command named sdf to call my app.

alias sdf="/home/TrueBlue/project/venv/bin/python3 my_app.py"

view more: ‹ prev next ›