Dirk

joined 2 years ago
[–] Dirk@lemmy.ml 6 points 11 hours ago (2 children)

They use GitHub for the code already. Their hosting cost could be pretty much zero if they would use GitHub Pages for their website, and redirect their domain to that.

[–] Dirk@lemmy.ml 14 points 15 hours ago (4 children)

How much development is actually needed to build a graphical interface for setting the WINEPREFIX environment variable?

[–] Dirk@lemmy.ml 1 points 3 days ago

The quoted image does not say so

It does exactly say so. Flatpak is the only supported and official method of installation when you’re not using Ubuntu.

As for the Fedora issue, that is a completely different thing. That is also Flatpak, so its not the package format itself the issue.

Exactly. And the Flatpak version from Fedora was unusable.

So where does the developers say that anything that is not their official Flatpak package is “borderline unusable”?

They don’t. It’s just unsupported.

[–] Dirk@lemmy.ml -2 points 4 days ago (3 children)

But why is that?

Because the OBS developers say so.

And since I’m not on Ubuntu, I use the Flatpak version to get OBS as intended bey the OBS developers.

So its not the package formats issue, but your distribution packaging it wrong. Right?

Exactly. Most distributions fail hard when it comes to packaging OBS correctly. The OBS devs even threatened to sue Fedora over this.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/39#note_2344970813

[–] Dirk@lemmy.ml 25 points 4 days ago (10 children)

Flatpaks are great for situations where installing software is unnecessary complex or complicated.

I have Steam installed for some games, and since this is a 32 bits application it would install a metric shit-don of 32 bit dependencies I do not use for anything else except Steam, so I use the Flatpak version.

Or Kdenlive for video editing. Kdenlive is the only KDE software I use but when installing it, it feels like due to dependencies I also get pretty much all of the KDE desktop’s applications I do not need nor use nor want on my machine. So Flatpak it is.

And then there is software like OBS, which is known for being borderline unusable when not using the only officially supported way to use it on Linux outside of Ubuntu – which is Flatpak.

[–] Dirk@lemmy.ml 2 points 5 days ago

Files on your own hardware are equally good as physical media.

[–] Dirk@lemmy.ml 3 points 1 week ago (1 children)

This made me vomit a little in my mouth.

[–] Dirk@lemmy.ml 3 points 1 week ago (2 children)

I am with you on physical media, and it is sad. Physical media is the only media you really own.

[–] Dirk@lemmy.ml 2 points 1 week ago

“No honey, the shirt isn’t the problem here.”

[–] Dirk@lemmy.ml 8 points 1 week ago

Exactly. This is what I mean with “with no real reason”. It is a completely made-up reason just because I don’t make them any money.

[–] Dirk@lemmy.ml 16 points 1 week ago (4 children)

And with no real reason. The 1080 Ti in my machine runs better than a 4060 I tested some time ago (the only thing changed was the graphics card).

[–] Dirk@lemmy.ml 2 points 1 week ago

Updated, thanks.

 

Recently the city redesigned the street and prepared at least 4 bus stops. The stops all have the road markings and tactile paving, etc. but no bus stop signs yet and currently no line stops there. (There is an ongoing reorganization of bus lines in my area.)

The wiki page describes how to map a bus stop and I can follow along. Everything except the line(s) and the names is local knowledge.

How should those be mapped (if at all)? Map what’s known already and add construction:bus_stop?

 

I'm currently researching the best method for running a static website from Docker.

The site consists of one single HTML file, a bunch of CSS files, and a few JS files. On server-side nothing needs to be preprocessed. The website uses JS to request some JSON files, though. Handling of the files is doing via client-side JS, the server only need to - serve the files.

The website is intended to be used as selfhosted web application and is quite niche so there won't be much load and not many concurrent users.

I boiled it down to the following options:

  1. BusyBox in a selfmade Docker container, manually running httpd or The smallest Docker image ...
  2. php:latest (ignoring the fact, that the built-in webserver is meant for development and not for production)
  3. Nginx serving the files (but this)

For all of the variants I found information online. From the options I found I actually prefer the BusyBox route because it seems the cleanest with the least amount of overhead (I just need to serve the files, the rest is done on the client).

Do you have any other ideas? How do you host static content?

 

Basically the title.

When I open lemmy.ml it says “posts, subscribed, oredered by new” on top:

But almost none of the posts shown are from my subscribed communities and they’re not ordered by new.

There are even posts from communities shown that I have on my block list.

Any idea how to fix that?

 

Since the new version was deployed to lemmy.ml which allows blocking instances I tried to block an instance.

When opening the drop down and enter the name/url of the instance (or even a part of its name) the list is then filled with a seemingly random list of instances but not the instace I searched for.

I tried in a desktop browser (Chrome on Windows) and in a mobile browser (Vivaldi Mobile, which uses Chromium as base), same behavior.

Since I don't use GitHub I report it here.

 

I recently switched to Hyprland on my laptop and was able to set it up as I like, but I struggle hard to set up keybinds to simply print different characters when pressing certain key combinations.

For example, one small snippet from my .Xmodmap (there are more in this file but that’s enough for a minimal working example)

keycode 108 = Mode_switch
keycode 38 = a A adiaeresis Adiaeresis

This allows me to press the A key in combination with the right Alt key to print an ä or an Ä when shift is pressed, to.

wtype and built-in key binding

After some research I found wtype which allows me to write arbitrary text when called with the parameters.

After I learned that Hyprland (or Wayland) does not distinguish between Alt_R and Alt_L (they’re shown as Alt_R and Alt_L in wev with different keysyms, so they’re clearly two different keys) and I accepted it, I just found out that this tool only works when being in a terminal emulator and not in a GUI application so this tool is useless for me.

keyd

Then I tried keyd. After setting it up and adding my user to the needed groups and starting the service and trying to figure out how to actually define keymaps I was able to send something when pressing a defined key combination.

But: Nothing else than ASCII.

The dev thinks it’s a Chromium problem based on this issue but it actually isn’t. I wasn’t able to send an ä to ANY application, no matter if GUI or terminal or Qutebrowser.

Since there is basically no online resources or user community for this tool, I cannot find any usable information on this issue except the unrelated Chrome reference and thus I removed it again because I cannot use it for what I want to use it for.

xkb

For whatever reason Wayland (or Hyprland) uses certain parts of the X keyboard extension, so I also tried this one.

Despite being absurdly complex and annoying to setup I was able to configure a user based keyboard variant using user-based symbols. From what I’ve taken from various sites my config should do nothing more than remapping Alt_R to ISO_Layer3_Shift just for testing purposes.

But all I achieved was reproducibly crashing Hyprland when setting it up to actually use said keyboard variant and there seems to be no log file.

yeah, that’s where we are

Again, it’s not about the umlauts, and not about the German keyboard layout, and not about switching lkayouts on-the-fly, it’s just to demonstrate what I mean. You can replace ä with any other character you want.

After a long night of trying out to have the Xmodmap functionality in Wayland using Hyprland as compositor I ended up with not being successful.

I give up for now.

Maybe one day there will be an actually working solution requiring nothing more than two lines in a file.

 

Let's leave Steam and other launchers and distribution platforms alone a bit. Also lets stop discussing game engines for moment ...

  • What are your favorite games that run natively on Linux and what genre are they?

Would be cool if you could write a few words about the game and why it's your favorite game.

 

Currently I’m planning to dockerize some web applications but I didn’t find a reasonably easy way do create the images to be hosted in my repository so I can pull them on my server.

What I currently have is:

  1. A local computer with a directory where the application that I want to dockerize is located
  2. A “docker server” running Portainer without shell/ssh access
  3. A place where I can upload/host the Docker images and where I can pull the images from on the “Docker server”
  4. Basic knowledge on how to write the needed Dockerfile

What I now need is a sane way to build the images WITHOUT setting up a fully featured Docker environment on the local computer.

Ideally something where I can build the images and upload them but without that something “littering Docker-related files all over my system”.

Something like a VM that resets on every start maybe? So … build the image, upload to repository, close the terminal window, and forget that anything ever happened.

What is YOUR solution to create and upload Docker images in a clean and sane way?

 

Basically the title. When writing .. it is converted to . Also every string being any amount of dots is also being converted to , even when it makes no sense.

.. -> ..
../relative/path/file.txt -> ../relative/path/file.txt
................................... (used as visual separator) -> ...................................

Automatically changing ... to the otherwise hard to type ellipsis symbol is a good idea, but everything else should, not be changed.

 

I can't help but feel overwhelmed by the sheer complexity of self-hosting modern web applications (if you look under the surface!)

Most modern web applications are designed to basically run standalone on a server. Integration into an existing environment a real challenge if not impossible. They often come with their own set of requirements and dependencies that don't easily align with an established infrastructure.

“So you have an already running and fully configured web server? Too bad for you, bind me to port 443 or GTFO. Reverse-proxying by subdomain? Never heard of that. I won’t work. Deal with it. Oh, and your TLS certificates? Screw them, I ship my own!”

Attempting to merge everything together requires meticulous planning, extensive configuration, and often annoying development work and finding workarounds.

Modern web applications, with their elusive promises of flexibility and power, have instead become a source of maddening frustration when not being the only application that is served.

My frustration about this is real. Self-hosting modern web applications is an uphill battle, not only in terms of technology but also when it comes to setting up the hosting environment.

I just want to drop some PHP files into a directory and call it a day. A PHP interpreter and a simple HTTP server – that’s all I want to need for hosting my applications.

view more: next ›