glibg10b

@glibg10b@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

glibg10b,

OP did not take this picture. Their story is made up. Here’s the original: lkml.org/lkml/2011/11/3/110

glibg10b,

That’s the case for anything above 4 V, right?

glibg10b,

Looks like it’s 6 x 2.25 V

glibg10b,

It’s likely. mkdir fails to create a subdirectory such as ~/.cache/mozilla/ if ~/.cache/ doesn’t exist, unless -p is explicitly passed to mkdir

Of course, not everything is a shell script, but I imagine the directory creation functions in many languages work similarly

glibg10b,

/run/ contains such a directory

glibg10b,

This seems like a filename conflict waiting to happen. Why not just mount a tmpfs there?

glibg10b,

You: It’s a single user system
Also you: Tmpfs would have to be done for every user

And a /tmp/ symlink would have to be created for every user too, so I don’t get your point

Tmpfs is just as easy as making a symlink, but without the filename conflicts between files in ~/.config/ and /tmp/. You just need to add a line to /etc/fstab

glibg10b, (edited )

Neat, thanks for sharing

Here’s the above pseudocode in bash:


<span style="color:#323232;">find /home/ -mindepth 1 -maxdepth 1 -type d -exec mount none {}/.cache/ -t tmpfs -o size=16G </span><span style="color:#0086b3;">;
</span>

for doesn’t work here because it uses spaces to delimit strings, which could cause issues with filenames that contain spaces

You can also create a systemd user service, which is useful if you don’t have root access. The above mount command requires root, but the following doesn’t and is more robust than symlinking to /tmp/:


<span style="color:#323232;">ln -s $(mktemp -dp /var/tmp/) ~/.config/
</span>
glibg10b,

there’s only two genders

People speak like this often enough that it’s considered informal speech, not bad grammar

More examples:

There’s two ways this can go

There’s two ways to look at it

Here’s a few posts on this topic:

…stackexchange.com/…/is-therere-similar-to-theres…

…stackexchange.com/…/there-is-vs-there-are-when-c…

…stackexchange.com/…/here-is-are-followed-by-plur…

So she’s still an idiot, just not for this reason

glibg10b,

Without binary search, we would not have search engines today

glibg10b, (edited )

For reference:


<span style="color:#323232;">::: spoiler Summary
</span><span style="color:#323232;">Details
</span><span style="color:#323232;">:::
</span>

SummaryDetails

glibg10b,

I’m feeling déjà vu reading this comment

glibg10b,

Why did I read this right to left? I’m not even into manga

glibg10b, (edited )

No, Wayland is just a protocol, and the things that implement it are compositors, not WMs

Also, there’s no such thing as a DWM, except for the WM called dwm

glibg10b,

I like both Wayland and systemd

Name one init system that boots as fast as systemd on a modern distro with many services. Then name a display server that’s actually easy to maintain and to develop client applications for

The current issues with Wayland are due to it being new, X11 fanboys not wanting to explore the idea of contributing to Wayland, and client applications that are poorly designed

glibg10b,

That’s an interesting way to spell relays

Sites for downloading high quality music files

I am making a script that can download high quality music files, currently from free-mp3-download.net and slavart.gamesdrive.net. Are there any others? I could look into torrenting things automatically and maybe looking into Lidarr? Not 100% on how that works but any ideas on what else I could add or links to other places I can...

glibg10b,

Those happen to be two of the three I have in my bookmarks, the third being doubledouble.top

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #