HNHacker News
TopNewBestAskShowJobs

basemi

335 karma · joined April 15, 2016

submissionscomments
basemi··on My First Kubernetes: k3s 'cluster' on 3 Orange Pi Zero 3's
For those interested with the storage details:

> I run the Orange Pi Boards without a Micro SD Card, they boot up via PXE with an NFS root file system, so I cannot use overlayfs2. Therefore during installation I provide an extra parameter to use the native shapshotter. Also some etcd timeouts are raised.

basemi··on Ask HN: Arch Users – What is your long-term system maintenance routine?
From [0]:

> To list all packages no longer required as dependencies (orphans):

    $ pacman -Qdt
[0] https://wiki.archlinux.org/title/Pacman
basemi··on Advanced Bash-Scripting Guide
I'm not a professional python programmer (nor an native English speaker) but for my tiny needs I resolved the library/modules import problem with pyinstaller which creates a single binary bundle from the virtual-env you invoke it. Just be sure the target machine has the same OS (or more recent): glibc and other sys libs are not bundled.
basemi··on My VM is lighter (and safer) than your container (2017)
Se also: https://katacontainers.io/
basemi··on MapSCII – A Braille and ASCII world map renderer for the console
> Sorry, you reached a full server, please try again.

Retrying in couple of days, HN will release the hug by then

basemi··on New Outlook is good, both for yourself and 766 third parties
Thunderbird add-on `owl-for-exchange` is another way to go for a little price (10€/y).
basemi··on Should you buy or build tools for your business?
If you have the money but not the time, buy the tools

If you have the time but not the money, build your tools

If you have both, hire someone to build them

If you lack both, there are other priorities than tools

basemi··on μMon: Stupid simple monitoring (2022)
Not to be confused with http://umonfw.com/
basemi··on Lies my calculator and computer told me (1987) [pdf]
On my linux box:

    $ echo "(2/3)*3-2" | bc -l
    -.00000000000000000002
basemi··on Gandi.net – Pricing Update
I had 1 domain + 3 mailboxes with them. Leaved 3 months ago for njalla (domain only) and tutanota
basemi··on X.org Security Advisory: Security issue in the X server
AFAICT ubuntu 22.04 and void uptodate run Xorg as root by default

Same for sddm/lxdm

basemi··on [dead]
I can install it on voidlinux but it requires CONFIG_LATENCYTOP to run:

https://www.kernelconfig.io/config_latencytop

basemi··on Ask HN: Why do you like Visual Studio Code?
Installed yesterday for the first time (VSCodium "variant") on linux via snap.

I was using Atom (will be retired in Dec this year) but Zen is not ready nor testable. All I do is bash, basic python, basic ruby and some markdown/asciidoc so no need for special extensions and VSCodium seems to fit with reasonable defaults.

I am also fan of Geany which is very lightweight and has some plugins but the UI feels a bit outdated and some extensions are orphaned.

My dream of an editor: FOSS, lightweight, modern GUI, multi-language and with a nice API for extensions (I will seriously try vim/neovim some day)

basemi··on People living on Earth – All on this page, one by one
Homepage[0] has even more nice stats!

[0] https://www.worldometers.info/

basemi··on [dead]
> Try muting the notifications from Twitter or Mastodon and see if you remain interested in it: odds are, after a while, you won’t.

I muted all notification on my mastodon app years ago but I keep visiting it once or twice a day.

basemi··on Watchman: Execute a command when something changes
I've used `incron`[0] for that purpose, with success. Packaged for most distros I think

[0]https://github.com/ar-/incron

basemi··on GRML – a Linux distro for system administrators
Another one is SystemRescueCD[0]

I've used it extensively while preparing servers for production with the autorun feature[1]

[0] https://www.system-rescue.org/

[1] https://www.system-rescue.org/manual/Run_your_own_scripts_wi...

basemi··on Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
I think modern distros have resolved the issue . For example this is void-linux:

  $ ls -ld /bin /sbin /usr/bin /usr/sbin
  lrwxrwxrwx 1 root root     7 May  3 00:20 /bin -> usr/bin
  lrwxrwxrwx 1 root root     7 May  3 00:20 /sbin -> usr/bin
  drwxr-xr-x 1 root root 39444 May 10 18:41 /usr/bin
  lrwxrwxrwx 1 root root     3 May  3 00:20 /usr/sbin -> bin
Ubuntu, Debian and RHEL, on the contrary still splits up:

  $ ls -ld /bin /sbin /usr/bin /usr/sbin
  lrwxrwxrwx 1 root root     7 set 25  2021 /bin -> usr/bin
  lrwxrwxrwx 1 root root     8 set 25  2021 /sbin -> usr/sbin
  drwxr-xr-x 2 root root 69632 mag 11 14:00 /usr/bin
  drwxr-xr-x 2 root root 20480 mag 11 13:33 /usr/sbin
basemi··on Decryption through LUKS2 reencryption crash recovery
Here a more clear explanation step-by-step of such attack:

https://bugzilla.redhat.com/show_bug.cgi?id=2032401

basemi··on Decryption through LUKS2 reencryption crash recovery
From the article:

> The attack is not applicable to LUKS1 format, but the attacker can update metadata in place to LUKS2 format as an additional step.

basemi··on Show HN: Firezone, an open-source WireGuard-based alternative to OpenVPN AS
Nice! I see *BSD are not supported.. Also, people running OPNsense may find there is already a web-ui for it: https://docs.opnsense.org/plugins.html#vpn-connectivity
basemi··on Send: A Fork of Mozilla's Firefox Send
So it seems: https://schollz.com/blog/croc9/
basemi··on Ultra Safe Nuclear
Nice animation but but... I think nuclear is bad because the technology to make it is in the hands of a few big corps. That's the major downside, and of course, toxic waste.
basemi··on Expect: Scripts for Controlling Interactive Processes (1991) [pdf]
Many years ago, I used expect to automate WiFi devices configuration before bringing them to customers. I still remember myself watching those scripts running while drinking coffee :D
basemi··on DIY Security Camera Clients for Linux
Same here. I'm using ZM with 3 old ubiquiti cams. It works, not awesome but it does what it says.

I switched from unifi video to ZM because unifi was very buggy back then.

basemi··on Linux Process Hunter
Debian Sid, Linux 4.13.0-1-amd64, Systemd holded at v233-9

I've read the bug report, I will try the persistence mode, thanks

basemi··on Linux Process Hunter
Nice!

If I run the script sometimes I get one hidden udevd process:

  $ sudo ./prochunter.py -r

  [!] Found 1 hidden process

  PID	Name
  24288 systemd-udevd

  $ sudo ./prochunter.py --ps | grep udev
  286	systemd-udevd
  24357	systemd-udevd
  $ sudo ./prochunter.py --ps | grep udev
  286	systemd-udevd
  $ sudo ./prochunter.py -r
  [*] No hidden process found
Is that normal?
basemi··on How Merkle Trees Enable the Decentralized Web
A similar concept (Merkle-DAG) is implemented by IPFS (ipfs.io)

"A Merkle-DAG is similar to a Merkle tree in that they both are essentially a tree of hashes. A Merkle tree connects transactions by sequence, but a Merkle-DAG connects transactions by hashes. In a Merkle-DAG, addresses are represented by a Merkle hash. This spider web of Merkle hashes links data addresses together by a Merkle graph. The directed acyclic graph (DAG) is used to model information. In our case, modeling what address has stored specific data. "

(https://www.cio.com/article/3174193/healthcare/from-medical-...)

basemi··on Ubuntu 17.10 Artful Aardvark released
Release notes:

  https://wiki.ubuntu.com/ArtfulAardvark/ReleaseNotes
basemi··on OnePlus OxygenOS built-in analytics
I think (just a feeling) that every vendor and a lot of app devs is phoning home collecting data. I'm using Netguard to block net access to most of apps. On a rooted device I would use AFWall+.
← PreviousPage 2 of 3Next →