Skip to content

u/Nomto

In this archive from Jul 2015 to Nov 2020

3
posts
64
comments
1
media
234
score

Top posts

Auto-delete mount point on unmount

Hi, In general I find it annoying that after a filesystem has been unmounted, the mount point is left as an empty directory. I often get silent failures where I want to move files to the mounted fs, only to find out that they were just moved to a directory of the 'parent' fs. If the mount point was...

1 points9 comments
Open on Reddit

Top comments

so those 1000-hours-but-negative reviews get properly discredited

Disagree; there are valid reasons for such reviews, for example online games can suddenly change direction and become p2w.

Ultimately you shouldn't filter reviews, just display meta-information and let readers decide themselves if a review is worth considering or not.

51 points

Since you're on Arch, you can have a look at the AUR. From this page, you need to download the PKGBUILD file which is just a description of how to install (and build if necessary) the package. After that, run makepkg -si (look up the flags and how to use it) and the package will be properly installed on your system: later, you will be able to remove it cleanly with pacman.
Note that there are many "helpers" that automate this process but it's good to have some understanding of the process.

On other distributions like debian, you would want to create a .deb package, but that tends to be more verbose.

32 points

To try an analogy, OpenGL is a standard in the same sense as AA is a standard of battery.

You can create a device that will use AA batteries with the assumption that they will deliver a certain voltage and have a certain size. But in the end, to make the device work you must have a physical object that respects the AA standard (the battery itself). And since it's a standard, you can swap it with other brands of AA batteries.

9 points

OpenGL and Vulkan are API specifications. To simplify, they define a set of functions that a program should be able to call in order to render things. It's important to understand that they are not libraries: there is no code in OpenGL itself. The advantage to this standard API is that you can write graphics code in a way that is mostly independent from the hardware.

Of course, said hardware must have an implementation of that standard, that is, a library that implements these functions by talking to the graphics card (that's the "driver"). These libraries can be implemented by different parties, for example AMD, Nvidia, Intel or a 3rd party like Mesa.

The difference between OpenGL and Vulkan, is that OpenGL is an old standard that has evolved a lot, accumulated a lot of baggage too, and doesn't necessarily reflect the way modern hardware work (which makes it harder to write performant code). OpenGL drivers are also very complex as a result. Vulkan is supposed to be "closer to the metal".

As for DXVK, I think it's an implementation of the Direct3D interface (which is something comparable to the OpenGL api), using Vulkan.

9 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.