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

I have currently 13 tabs open and I don’t see the issue. RAM is there to be used. I actually expect my programs to extensively cache stuff and use the RAM.

(The other Firefox processes for the individual tabs are cut from the screenshot.)

[-] Dirk@lemmy.ml 4 points 13 hours ago

And cached. Browsers just use the RAM for what it exists for.

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

Or just yolo it, if you have some money to burn.

[-] Dirk@lemmy.ml 15 points 4 days ago

“Making a game” involves many different subjects. Since were in a programming community I guess things like storytelling, worldbuilding, writing lore, writing characters or missions/quests, designing ingame or promotional art, etc. is ruled out.

Depending on the game you want to work on, you should learn how to use the game’s engine. It’s always good to know C/C++ well, Lua is also pretty common for scripting. Game engines sometimes also come with their own scripting languages.

You should also learn 3D modelling, 3D design, GLSL for shaders, etc. Even if modern engines cover a lot of this for you, it’s always good to know what’s actually happen, so you can properly track down errors.

i cant really make out a different between the definitions of coding and programming, what is the difference if any?

How I see it: All programming is coding, but not all coding is programming. Writing markup (like HTML) or style definitions (CSS) in my world count as coding, too, but not as programming. I’d also say that writing code in any scripting language is not programming but coding. Whenever the code is meant to be compiled into a standalone binary – a program – it’s programming.

[-] Dirk@lemmy.ml 1 points 4 days ago

On the other hand: Firefox isn’t particularly known for its privacy-focused default configuration.

[-] Dirk@lemmy.ml 5 points 5 days ago

They’re always a few steps behind current technology.

[-] Dirk@lemmy.ml 5 points 5 days ago

Stop eating.

[-] Dirk@lemmy.ml 1 points 6 days ago

If the translations would be any good, yes.

[-] Dirk@lemmy.ml 1 points 6 days ago

there’s a reason firefox has open tickets that are 25 years old.

And the reason is, they don’t properly triage bugs.

15
submitted 1 year ago* (last edited 1 year 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.)

[-] Dirk@lemmy.ml 179 points 1 year ago

My friend works for a company which requires her to use Microsoft specific application

So the company needs to provide said friend with all the needed software.

51
submitted 1 year 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?

[-] Dirk@lemmy.ml 260 points 2 years ago

Incognito is only good for one reason: Not having those sites in the browsing history.

9
submitted 2 years 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 2 years 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.

836
submitted 2 years ago by Dirk@lemmy.ml to c/programmerhumor@lemmy.ml
72
submitted 2 years 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 2 years 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?

27
submitted 2 years ago by Dirk@lemmy.ml to c/steam@lemmy.ml

Since some time now the Steam Flatpak cannot start up and I have no idea why this happens.

Web research leads to basically nothing that is related to what I experience so I assume it has something to do with my system. Other Flatpaks start up normally and I can use them.

When resetting everything related to the Steam Flatpak and reinstalling it from Flathub it loads and installs the Flatpak and then installs all necessary stuff

[various update-related stuff]
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 32-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0
setup.sh[4598]: Found newer runtime version for 32-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-glib.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl-gnutls.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-gtk.so.4
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 64-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl-gnutls.so.4
steam.sh[2]: Steam client's requirements are satisfied

So everything looks good up to this point. The small Steam update windows poppend up several times indicating the running installation/update. The output then continues:

[2023-08-17 22:47:50] Startup - updater built Jul 28 2023 18:44:09
[2023-08-17 22:47:50] Startup - Steam Client launched with: '/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
08/17 22:47:50 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
[2023-08-17 22:47:50] Loading cached metrics from disk (/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-17 22:47:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2023-08-17 22:47:50] Using the following download hosts for Public, Realm steamglobal
[2023-08-17 22:47:50] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-17 22:47:50] Verifying installation...
[2023-08-17 22:47:50] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0d328f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0d311c0
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good

(The last line gets printed twice, yes.)

The first startup process then hangs there for a few seconds and continues with this.

steamwebhelper.sh[5473]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[5473]: CEF sandbox already disabled
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
08/17 22:48:39 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
assert_20230817224839_27.dmp[5771]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230817224839_27.dmp
dirk ~ $ 

After the command prompt is shown agein, this gets printed:

assert_20230817224839_27.dmp[5771]: Finished uploading minidump (out-of-process): success = yes
assert_20230817224839_27.dmp[5771]: response: CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817
assert_20230817224839_27.dmp[5771]: file ''/tmp/dumps/assert_20230817224839_27.dmp'', upload yes: ''CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817''

At the given location there is no dump file.

Do you guys have any Idea why this happens and how I can fix it?

Involved software:

$ flatpak --version
Flatpak 1.15.4

$ flatpak remotes
Name    Optionen
flathub system

$ flatpak info com.valvesoftware.Steam | grep Version | awk '{print $2}'
1.0.0.78

$ uname -rms
Linux 6.4.10-arch1-1 x86_64

$ openbox --version | head -n1
Openbox 3.6.1

$ pacman -Qi xorg-server | grep Version | awk '{print $3}'
21.1.8-2
41
submitted 2 years ago by Dirk@lemmy.ml to c/asklemmy@lemmy.ml

In opposition to this post ... Name your most favorite upsides of software being federated.

833
submitted 2 years ago by Dirk@lemmy.ml to c/memes@lemmy.ml
[-] Dirk@lemmy.ml 212 points 2 years ago

Easy to learn, hard to master, used for things it wasn’t created for.

Yep.

1491
submitted 2 years ago by Dirk@lemmy.ml to c/memes@lemmy.ml
-2
submitted 2 years ago by Dirk@lemmy.ml to c/lemmy_support@lemmy.ml

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.

view more: next ›

Dirk

joined 2 years ago