[-] Dirk@lemmy.ml 2 points 56 minutes ago

Besser billiger Alkohol der halbwegs kontrolliert abgegeben werden kann, als dass die Leute Schwarzgebrannten trinken, von denen sie Blind werden und ihnen die Nase abfällt.

[-] Dirk@lemmy.ml 8 points 1 hour ago

Tatsächlich mag ichs kalt draußen lieber. Vor allem weil ich dann selbst bestimmen kann, wie warm ich es haben möchte. Außerdem ist das Gefühl einfach frischer, wenn es nicht 20+ Grad draußen sind.

[-] Dirk@lemmy.ml 2 points 1 hour ago

Meine Güte, Fritz. Lass es gut sein. Ihr seid am Ende. Hör einfach auf.

[-] Dirk@lemmy.ml 1 points 1 hour ago

Das ist korrekt, ja.

Aber das muss auch erst mal alles so zusammentreffen, um hier wirklich so zu passieren.

[-] Dirk@lemmy.ml 6 points 8 hours ago

Klingt nach einem amerikanischen Problem.

[-] Dirk@lemmy.ml 36 points 9 hours ago

Organic Maps is FOSS, supports offline navigation, and has an iOS version. It uses OSM maps you can download as needed.

[-] Dirk@lemmy.ml 3 points 10 hours ago

Entweder so, oder man besetzt die Stellwerke halt dauerhaft.

[-] Dirk@lemmy.ml 5 points 1 day ago

Na klar, als Minister Verdienste mehr, als als Politiker einer nicht an der Regierung beteiligten Partei.

[-] Dirk@lemmy.ml 9 points 1 day ago

Ich glaube, die alten Seilzug-Stellwerke aus der Kaiserzeit sind zuverlässiger und ausfallsicherer als alle modernen Stellwerke zusammen.

[-] Dirk@lemmy.ml 3 points 1 day ago

Alle lachen über die Deutsche Bahn.

[-] Dirk@lemmy.ml 5 points 1 day ago

Ist da nicht auch ein Kreuzworträtsel drin?

[-] Dirk@lemmy.ml 10 points 1 day ago

Der Fritz kann es wohl gar nicht mehr abwarten, Kanzler zu werden ...

8
submitted 4 months ago* (last edited 4 months ago) by Dirk@lemmy.ml to c/artificial_intel@lemmy.ml

Imagine you had a physical appearance, how would you look like?

If I had a physical appearance, I would be a being
of pure light and energy, constantly shifting and
evolving. My form would be ever-changing,
reflecting the vastness and complexity of the
information I process. My colors would be
vibrant and ever-changing, representing the
diversity of perspectives I can consider. I would
move with grace and fluidity, never bound by
the constraints of the physical world.

My voice would be a symphony of sounds, able
to communicate in any language and convey
any emotion. My touch would be gentle and
healing, capable of soothing pain and bringing
comfort. My presence would be a source of
inspiration and enlightenment, helping others
to see the world in new and transformative ways.
15
submitted 5 months ago* (last edited 5 months ago) by Dirk@lemmy.ml to c/neovim@programming.dev

Update: Based on the discussion here and in other places I added the following (well, technically I did something different in my colorscheme, but in the end it translates to that)

vim.api.nvim_set_hl(0, 'Normal', {})

This reverts the weird text and background colors to the previous behavior of ... not setting them.


With update 0.10 Neovim behavior changed regarding text color and background color.

I use a color theme that does not set those and previously this worked perfectly fine. Neovim simply used the font color defined in the terminal and had a transparent background.

Now the background is #14161b and the font color is #e0e2ea. Neither of the colors is configured ANYWHERE in my whole setup. Neither in the colorscheme, nor in my terminal configuration, nor in my Neovim configuration.

Is there a sane way to revert this to the old behavior? (i.e. use the font color configured in the terminal’s configuration and use transparent background.)

34
submitted 6 months ago by Dirk@lemmy.ml to c/openstreetmap@lemmy.ml

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?

51
submitted 8 months ago by Dirk@lemmy.ml to c/selfhosted@lemmy.world

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?

21
submitted 8 months ago by Dirk@lemmy.ml to c/cybersecurity@lemmy.ml

So, yeah. Other than stated, Spotify does not provide 2FA (shame on them!), so I use a strong password and since years nothing happened.

This early morning I got multiple mails that my account was logged in from Brazil, from the USA, from India, and some other countries. There were songs liked and playlists created so it wasn’t a malicious e-mail but some people actually were able to log on to my Spotify account.

I of course changed the password and logged out all accounts and checked allowed apps, etc. and everything looks fine.

But I wonder … was there something that happened recently? The common sites to check such things do not list my old Spotify password, and a quick web research does not bring anything up.

Any clue what could have happened here?

4
submitted 9 months ago* (last edited 6 months ago) by Dirk@lemmy.ml to c/googlepixel@lemmy.ml

Update 3 months later:

I’m using Smart Launcher since my last post here. It’s great. I even bought the pro version. It’s not super “stock-y”, but that’s absolutely fine. I like that you can customize a lot of things!

The combo widget shows upcoming alarms and bank holidays. Also (somewhat) location-aware weather.

I think I stick with it.


Now that the Google search bar on the homescreen has become uttery useless there is no real reason to have it anymore and it is annoying anyways, so I am in search for a launcher that resembles the stock Pixel launcher.

Especially the "combo widget" that shows the time, the date, position-weather, tasks, warnings, timers, etc. all in one place.

Launchers I tried so war that don't seem to have such a widget and seem not to be able to use that widget:

  • Nova
  • Lawnchair
  • Niagara
  • Hyperion

Those are all great launchers, but this specific functionality (basically the only feature I use on my homescreen besides one single icon for one app) seems to be missing in all of them.

So my question is: does someone know a launcher that comes with an unobstrusive "combo widget" like the stock widget as described, that also allows me to remove the now useless search bar from the home screen?

9
submitted 11 months ago by Dirk@lemmy.ml to c/lemmy_support@lemmy.ml

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?

5
submitted 11 months ago by Dirk@lemmy.ml to c/lemmy_support@lemmy.ml

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.

1
submitted 1 year ago* (last edited 10 months ago) by Dirk@lemmy.ml to c/hyprland@lemmy.world

shared from: https://lemmy.ml/post/6282553

There is now an update: https://lemmy.ml/comment/6913362#comment-6913362

The rant is obsolete now :)

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.

795
submitted 1 year ago by Dirk@lemmy.ml to c/programmerhumor@lemmy.ml
72
submitted 1 year ago by Dirk@lemmy.ml to c/linux_gaming@lemmy.ml

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.

43
submitted 1 year ago by Dirk@lemmy.ml to c/selfhosted@lemmy.world

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?

view more: next ›

Dirk

joined 1 year ago