Comments

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

glibg10b, to lemmy_support in Previous button missing in 0.19?
glibg10b, to piracy in Sites for downloading high quality music files

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

glibg10b, to mildlyinteresting in This 9v battery contained six cells stacked like a layer cake

Looks like it’s 6 x 2.25 V

glibg10b, to lemmy_support in Why doesn’t my front page show me posts from my subscribed communities even if it says it would?

It’s a known issue

glibg10b, to mildlyinteresting in This 9v battery contained six cells stacked like a layer cake

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

glibg10b, (edited ) to linux in Reminder to clear your ~/.cache folder every now and then

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, to linux in Reminder to clear your ~/.cache folder every now and then

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, to electronics in Got my electric cooler box working again 😁

The Nano’s PWM frequency can be adjusted from the default 490 Hz, with a maximum of 4MHz, at which point the resolution is 4. At a resolution of 256 (which is more than enough for this application), the maximum PWM frequency is 62.5 kHz, which is far outside our hearing range, though can still barely be heard by some younger cats

glibg10b, to lemmyshitpost in Anon does a little trolling

We have 15 months now?

glibg10b, to linux in Reminder to clear your ~/.cache folder every now and then

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

glibg10b, to linux in Reminder to clear your ~/.cache folder every now and then

/run/ contains such a directory

glibg10b, to linux in Reminder to clear your ~/.cache folder every now and then

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, to programmer_humor in Programmer tries to explain binary search to the police

Without binary search, we would not have search engines today

glibg10b, to memes in toilet humour

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

glibg10b, (edited ) to lemmy_support in details-summary HTML tags treated as literals (~~BUG or~~ SUE)

For reference:


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

SummaryDetails

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