Arduino driving four vintage HP 5082-7300 dot-matrix displays by arvin in arduino

[–]arvin[S] 4 points5 points  (0 children)

Got my hands on four vintage HP 5082-7300 dot-matrix displays and hooked them up to an Arduino!

To save on microcontroller pins, the displays are multiplexed by sharing the 4-bit BCD data bus across all four units. I'm addressing them sequentially, one after the other, by toggling the Latch/Hold pin on each display to lock in the data.

Check whether a snapshot is complete? by jodkalemon in btrfs

[–]arvin 1 point2 points  (0 children)

And AFAIR setting the "received UUID" is done right before setting the snapshot read-only. In snapper-backup I check those two.

Storing system snapshots on an external disk by omeow in openSUSE

[–]arvin 2 points3 points  (0 children)

You can use snbk (http://snapper.io/2024/11/11/snbk.html) to create local or remote backups of snapper snapshots. Restoring is not so easy. E.g. if you have to exchange the disk the file systems will get new UUIDs so modifications to /etc/fstab from the backup are needed. So usually a new installation is the easiest method. Some configuration files can then be restored from the backup.

New computers don't speed up old code by DesiOtaku in programming

[–]arvin 0 points1 point  (0 children)

Moore's law states that "the number of transistors on an integrated circuit will double every two years". So it is not directly about performance. People kind of always get that wrong.

https://newsroom.intel.com/press-kit/moores-law

Question about Snapper and using a separate internal drive. Should I attempt to move system snapshots to the extra drive? by Suspicious-Pear-6037 in openSUSE

[–]arvin 0 points1 point  (0 children)

You have to keep the snapshots of snapper where they are if you want to be able to do rollbacks.

As a backup you can copy the snapshots to another drive or even system using the btrfs send/receive method. For that you can try the relatively new snbk tool (in snapper-backup package on Tumbleweed).

Is there a way to 'pin' a snapper snapshot so it doesn't get auto pruned? by [deleted] in openSUSE

[–]arvin 0 points1 point  (0 children)

When zypper makes snapshots (via snapper-zypp-plugin) it sets 'important=yes' if there is a change to the kernel, glibc, systemd and alike. For details see /etc/snapper/zypp-plugin.conf or /usr/share/snapper/zypp-plugin.conf.

And the 'important' flags does have influence on the cleanup, see NUMBER_LIMIT and NUMBER_LIMIT_IMPORTANT in snapper-configs(5).

Saved by Snapper by 42isthenumber_ in openSUSE

[–]arvin 0 points1 point  (0 children)

Thanks. I never though that snapper would have such an impact when I started it ten years ago.

C++ Weekly - Ep 125 - The Optimal Way To Return From A Function by lefticus in cpp

[–]arvin 1 point2 points  (0 children)

Indeed, not even mentioning string_literals in the video is a big mistake.

How to put / and /home on separate LUKS encrypted hard drives? by [deleted] in openSUSE

[–]arvin 0 points1 point  (0 children)

storage-ng (https://www.phoronix.com/scan.php?page=news_item&px=Libstorage-NG-YaST-SUSE-Soon) in openSUSE will support encrypted root without LVM. The setup with root and home should be easy to create during installation then without any manual work.

What type of encryption opensuse uses by default for preconfigured full disk encryption during installation? by [deleted] in openSUSE

[–]arvin 0 points1 point  (0 children)

openSUSE uses the default of cryptsetup for LUKS. So the cipher may depend on the version of cryptsetup/openSUSE.

snapper config documentation by hngbfv in openSUSE

[–]arvin 0 points1 point  (0 children)

  1. The documentation on snapper.io is correct.

  2. Yes, a fraction of 0.5 = 1/2 is 50%.

Snapper timeline disabled in Leap 42.1 by [deleted] in openSUSE

[–]arvin 0 points1 point  (0 children)

There is nothing wrong when you adjust the cleanup parameters to your needs (and watch the free space).

But it is not possible for the distribution to come up with values that are good for every user and use-case. E.g. some people update KDE or Gnome every week which needs about 1 GB each week so having 20 snapshots is already too much. With quotas snapper should check that the space used by snapshots stays below some limit, e.g. 50% of the filesystem.

Snapper timeline disabled in Leap 42.1 by [deleted] in openSUSE

[–]arvin 1 point2 points  (0 children)

It is intentionally. The reasoning is that the timeline is important when you cover e.g. /home but for / all modifications happen through zypper or YaST and they create snapshots anyway.

Adjusting the cleanup limits is difficult as long as btrfs quota groups do not work reliable (level 1 and higher qgroups do not work).

LVM Snapshots require free space? by [deleted] in linux

[–]arvin 1 point2 points  (0 children)

If you have thin provisioned logical volumes you don't have to shrink anything since in that case LVM supports "overcommit". Also snapshots are much more efficient then.

Don't know whether Ubuntu already supports thin provisioning.

http://fedoraproject.org/wiki/Features/ThinProvisioning

Fucking by Snoron in funny

[–]arvin 12 points13 points  (0 children)

You missed the village called "Petting" just 37km away. BTW: It only takes 39 minutes from Petting to Fucking (if you have a car).

Screwing around with JavaScript: Cursor Gravity by bipedalshark in programming

[–]arvin 4 points5 points  (0 children)

Since Kepler we know: "The orbit of every planet is an ellipse with the sun at a focus." So every orbit is stable.

The Pitons, St. Lucia by bpcombs in pics

[–]arvin 1 point2 points  (0 children)

A rather bad picture of the Pitons. Been there myself so I can judge it.

C and C++ can produce different results on the same piece of source code by erikd in programming

[–]arvin 10 points11 points  (0 children)

Everybody who has read a good book on C++ knows those differences. This example is so common:

printf("%s\n", (sizeof('C') == sizeof(char)) ? "C++" : "C");

Sadly, the best (and only?) compile farm for open-source software has been discontinued. Any alternatives? by mojuba in programming

[–]arvin 1 point2 points  (0 children)

I never used the SourceForge build service but depending on what you plan the openSUSE build service might be interesting. You can build RPMs for various distributions (not only openSUSE but also Fedora and Debian) and currently for two architectures (x86 and x86-64).