That’s more the fault of running software designed for Linux on Windows.
- 1 Post
- 765 Comments
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•How are people discovering random subdomains on my server?English
17·2 days agoApparently it doesn’t.
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•Is anyone planning on forking Plasma to restore X11 support when it is dropped?English
24·4 days agothis is me looking for any possible solution that will allow me to run a modern DE whilst retaining features that I require.
The wayland team simply doesn’t give a shit about that. They’re locked in an ivory tower debating the perfect protocol for allowing applications to position their own windows near 15 years after starting their project.
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•Should there be something that installs Linux to disk directly from Windows?English
1·6 days agoDo what?
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•Should there be something that installs Linux to disk directly from Windows?English
11·7 days agoThere are reasons this hasn’t been done before.
There are a lot of things you’re not considering. You’d need to potentially re-partition a live mounted window disk(s) to create space for a Linux partition which will fail spectacularly. Or install over a running Windows system which will also fail very quickly.
Also - there are many tools that make it easy to create a live USB drive that one can boot from to get a taste of Linux in a way that is non-destructive and optionally install Linux.
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•GNOME & Firefox Consider Disabling Middle Click Paste By Default: "An X11'ism...Dumpster Fire"English
342·7 days agoI think I’d happily describe the multiple clipboard situation in Linux as a dumpster fire…
It’s awkwardly ‘solved’ by clipboard managers merging clipboards but it’s still wonky. Even for somebody who has been using Linux as a desktop for many years I occasionally find myself annoyed by it.
At this point I think I’d prefer “copy” to be an affirmative action rather than something that is done automatically. It makes pasting over existing text much easier.
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•Is a old raspberry pi viable for anything with Linux?English
1·7 days agoYou have the pi. Install Linux and find out? It takes like 10 mins… Otherwise it really depends on what you want to do and your expectations.
I’ve got a raspberry pi 1 (didn’t even have on-board wifi) that I just fired up the other day. It’s pretty slow but if you just wanted to do some simple python development it might be fine (depending on your patience for installing dependencies).
atzanteol@sh.itjust.worksto
Linux@lemmy.ml•PSA: Nvidia drivers 580 broke gaming on sway / wlroots for meEnglish
6·8 days agoWhat do you mean “custom WM”?
Section 1 says you’re using freedns.afraid.org though.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Self-Host Weekly #152: WrappedEnglish
2·10 days agoAye - that’s another reasonable use of the phrase.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Self-Host Weekly #152: WrappedEnglish
1·10 days agoUgh really? I haven’t seen that myself but that’s frustrating.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Self-Host Weekly #152: WrappedEnglish
31·10 days agoNon-containerized applications. Not in a container. It’s not complicated. Running “on bare metal” sounds cool but it’s a wildly inaccurate description. Containerized applications run on the system natively just like non-containerized applications. So if one of them runs “on bare metal” then then others do as well.
But historically “on bare metal” is used for embedded or micro-controllers where you don’t have an OS.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Self-Host Weekly #152: WrappedEnglish
4·11 days ago- Users will stop referring to non-containerized applications as “running on bare metal”
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
1·12 days agoWhat “other technology” is going to make sure your API doesn’t have SQL injection and bad authentication vulnerabilities?
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
4·12 days agoYou know what? Rather than over-complicate things you can probably just check that filenames contain a small set of white-listed chars. [a-zA-z-._] (and != ‘…’ or ‘.’) or something.
And one other nit-pick if you’re up for more code-review - your authentication logic should probably be inverted:
if !ok || user != session.config.username || pass != session.config.passwordI’d change that to be something like
if ok && user == session.config.username && pass == session.config.password { // do login } else { // not auth }There’s a whole category of security errors where an exception in logic like that causes the code to skip the “you’re not allowed” logic and go right to the “you’re allowed!” block. It’s more of an issue with languages that support exceptions but it’s still considered a best practice generally (it’s also typically easier to read).
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
2·12 days ago“Security” is not just “ssl”…
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
2·12 days agoAh - I missed that other parms were keys. Still - best practice is to sanitize all user inputs. Try throwing lots of file-path-like args at it to see what it does. it’s a historically tricky problem so there should be some libraries that help with it.
Happy 2026! And happy hacking!
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
51·13 days agoYou try using “…/…/…/…/…/etc/passwd” as the filename in your requests? I don’t see anywhere where ‘…’ is escaped or removed from file strings. Sending untrusted filenames directly to file operations without scrubbing and sanity checking is very dangerous and potentially allows a malicious user to read and overwrite any files the application has permissions for.
atzanteol@sh.itjust.worksto
Selfhosted@lemmy.world•Created a self-hosted API for CRUD-ing JSON data on different storage providers (local, S3, minIO, ...).English
123·13 days agoI think you should make it more clear in your docs that this is wildly insecure and should be restricted to “tinkering” usage only.
That said it seems like a fun project to write.
Well - Windows has always had poor “fork()” performance compared to Linux (Windows applications prefer threads). So running lots of small applications that do lots of forking will take a performance hit.