cool_pebble

joined 1 year ago
64
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
[–] [email protected] 4 points 1 year ago

Fair point, I've updated the readme now.

[–] [email protected] 2 points 1 year ago

I hadn't planned on that specifically. An idea that's been in the back of my mind is to allow the configuration file be used to let users decide what command gets run, and with what arguments, so that you could use pretty much anything as the UI.

 

cross-posted from: https://aussie.zone/post/478031

I wanted to improve my Rust knowledge a bit and solve how I approach notifications, so I made nofi.

nofi is a desktop notification server, but instead of delivering realtime popups, it stores the notifications for you to view when you choose via a Rofi menu. It can also integrate with i3status-rust to show a pending notification count in your status bar.

It's inspired by Rofication (the status bar integration follows the exact same protocol for drop-in compatibility).

 

I wanted to improve my Rust knowledge a bit and solve how I approach notifications, so I made nofi.

nofi is a desktop notification server, but instead of delivering realtime popups, it stores the notifications for you to view when you choose via a Rofi menu. It can also integrate with i3status-rust to show a pending notification count in your status bar.

It's inspired by Rofication (the status bar integration follows the exact same protocol for drop-in compatibility).

[–] [email protected] 2 points 1 year ago (1 children)

Honestly, I'd be surprised if static IPs fix it. Docker's default network type (bridge network) is very good at assigning IPs to containers without clashing, even with container restarts and replacements: it's been battle tested for years in production use. As others have said, standard DNS hostnames of containers should be sufficient. But I'll certainly be interested to hear your results.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (3 children)
networks:
  app:
    ipam:
      config:
        - subnet: 172.20.0.0/24
          gateway: 172.20.0.1
services:
  app:
    image: my-app-image
    networks:
      app:
        ipv4_address: 172.20.0.10

In the above example I've declared a Docker Bridge network with the range 172.20.0.0/24 and a gateway at 172.20.0.1. I have a service named app with a static IP of 172.20.0.10.

The same is also possible with IPv6, though there are extra steps involved to make IPv6 networking work in Docker and it's not enabled by default so I won't go into detail in this comment.

Out of curiosity, what's the use case for a static IP in the Docker Bridge network? Docker compose assigns hostnames equal to the service name. That is, if you had another container in the app network from my example above, it could just do a DNS lookup for app and it would resolve to 172.20.0.10.

[–] [email protected] 1 points 1 year ago

That seems to have done the trick, thanks! I still get a brief flash of something (presumably the Library window) when steam boots, but it disappears as quickly as it appears.

[–] [email protected] 1 points 1 year ago

I'm on Linux, yeah. Admittedly I've seen some mentions of it happening on Windows, too.

 

Has anyone else experienced the -silent launch option for Steam no longer working since the big client update? Hoping there might be a known fix/workaround out there.

 

Got a general interest in self hosted/open source software. Would love a podcast that talks about some of the trending applications out there.

[–] [email protected] 1 points 1 year ago (1 children)

Are you on AMD graphics by any chance?

[–] [email protected] 1 points 1 year ago

Thanks, starting to suspect it might be only AMD graphics experiencing it.

[–] [email protected] 1 points 1 year ago (2 children)

Same build ID. Are you on Nvidia or AMD graphics?

 

Singularity Patch 4.34 has brought my install from comfortably doing 100+ fps down to 6-7fps.

Tried a number of Proton versions, lowered graphics settings down to the minimum, different launch arguments, no luck.