RSSAmplifier

Blog

Pete Zaitcev

Pete Zaitcev - LiveJournal.com

zaitcev.livejournal.comRSS feed ↗25 posts

Latest posts

Meanwhile in space

Jonny Dyer : ODCs ( Orbital Data Centers — zaitcev ) will happen. The incentives are aligned from too many directions for them not to. But if you’re still debating whether datacenters in space “make sense,” you’ve missed the point. The real story is a technology revolution hiding in plain sight. Access to space has transformed over the last decade. Space and terrestrial infrastructure are…

The end of MinIO

Someone wrote about the collapse of MinIO (as an open-source project): The CNCF badge isn’t a safety net. MinIO was a CNCF-associated project. That association didn’t prevent any of this. The CNCF doesn’t control the licensing or business decisions of associated projects. If your risk model assumes that CNCF membership means long-term stability, MinIO is your counterexample. Swift is not mentioned…

The fall of LJ

Great, I am unable to comment at BG . Theoretically, I have a spare place at Meenuvia , but that platform is also in decline. The owner, Pixy, has no time even to fix the slug problem that cropped up a few months ago (how do you regress a platform that was stable for 20 years, I don't know). Most likely, I'll give up on blogging entirely, and move to Twitter or Fediverse.

Time flies

A guy who sits next to me is in his 70s, and he said: "I started out on a teletype." But I didn't. Not only I never lived in a world without computers, but when I started out, CRT displays were already a thing. Guys who worked on vacuum tube computers are in their 90s now.

git submodule woe

Problem: A submodule is stuck in a commit, like so: $ git show .................................... shows a stuck submodule --- a/badsub +++ b/badsub @@ -1 +1 @@ -Subproject commit 4ba912892c1b8c213c6c2e78b3bf257635dc534e +Subproject commit 4b813c322ebe236cddc6b3acd70a31994efd7a56 Solution: Focus on the commit, not submodule. Submodules work as designed, it's the commit that needs to be fixed…

podman versus dbus

Problem: `podman container ls` warns: WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available Solution: $ sudo apt install dbus-user-session; systemctl --user start dbus

Floating Point

I'm unemployed right now and I go to job interviews once in a while. One time, the company was doing another AI thing, having to do with verifying that training computations were doing something useful, and not just "dumping a stream of floating point numbers". Until now I didn't think of it, but apparently AI is all in FP. And it reminded me how I worked in a CPU design place, where they had a…

AI writing

On the topic of AI writing code, I've read a Sci-Fi story some 30 years ago, probably from the 1950s or 1960s. At the future Earth, fiction writers write using machines. The quality of writing is associated with the sophistication of writer's machine. Publishers reject stories written on a lower end machine. The hero of the story is a struggling writer, who has to make do with a cheap unit. As his…

Looking for a BSSID

I'm looking for a name for a new WiFi area. The current one is called "Tokyo-Jupiter". It turns out hard to top, it meets all the requirements. It's a geographic area. It's weeb, but from old enough times: not Naruto Shippuuden, Attack On Titan, or Kimetsu no Yaiba. Classy and unique enough. "Konoha" is too new, too washed-up, and too short. "Kodena" and "Yokosuka" add a patriotic American tint…

virtio_pci: do not wait forvever at a reset

We all know how it's possible for a guest VM to access various host functions by accessing a PCI device, right? When KVM traps an access to this fake PCI, QEMU emulates the device, which allows packets sent, console updated, or whatever. This is called "virtio". NVIDIA took it a step further: they have a real PCI device that emuilates QEMU. No joke. And, they have a firmware bug! The following…

LinkedIn Asked You To Train Their AI

They pushed the "You're one of a few experts invited to answer" notifications for a long time - maybe a year, I don't remember. When I had enough and started to capture them with the intent of mockery, they stopped. So sad. Here's what I got: "You're facing pushback from vendors on cloud integration. How can you convince them to collaborate?" "You're focused on cutting costs in cloud computing.…

Adventures in proprietary software, Solidworks edition

Because FreeCAD was such a disaster for me, I started looking at crazy solutions, like exporting STEP from OpenSCAD . I even stooped to looking at proprietary alternatives. First on the runway was SolidWorks . If it's good for Mark Serbu, surely it's good for me, right? The first thing I found, you cannot tap your card and download. You have to contact a partner representative — never a good…

Fedora Panic Canceled

The other day I was watching a video by Rich Jones about Fedora on RISC-V . In it, he mentions off-hand that CentOS Stream 10 inherits from Fedora 40. I don't know how that happened anymore, but previously someone made me think that 1. there will be no more numbered releases of CentOS, which is why it is called "CentOS Stream" now, and 2. CentOS Stream is now the upstream of RHEL, replacing…

Export to STEP in OpenSCAD

The only way to obtain STEP from OpenSCAD that I know is an external tool that someone made. It's pretty crazy actually: it parses OpenSCAD's native export, CSG, and issues commands to OpenCASCADE's CLI, OCC-CSG. The biggest issue for me here is that his approach cannot handle transformations that the CLI does not support. I use hull all over the place and a tool that does not support hull is of…

sup Python you okay bro

What do you think this does: class A (object):  def aa(self):  return 'A1' class A (object):  def aa(self):  return 'A2' a = A() print("%s" % a.aa()) It prints "A2". But before you think "what's the big deal, the __dict__ of A is getting updated", how about this: class A(object):  def aa(self):  return 'A1' class A(object):  def bb (self):  return 'A2' a =…

Trailing whitespace in vim

Problem: When copying from tmux in gnome-terminal, the text is full of whitespace. How do I delete it in gvim? Solution: / \+$ Obviously. This is an area where tmux is a big regression from screen. Too bad.

Boot management magic in Fedora 39

Problem: After an update to F39, a system continues to boot F38 kernels The /bin/kernel-install generates entries in /boot/efi/loader/entries instead of /boot/loader/entries. Also, they are in BLS Type 1 format, and not in the legacy GRUB format. So I cannot copy them over. Solution: [root@chihiro zaitcev]# dnf install ostree [root@chihiro zaitcev]# rm -rf /boot/efi/$(cat /etc/machine-id)…

Running OpenDKIM on Fedora 39

postfix-3.8.1-5.fc39.x86_64 opendkim-2.11.0-0.35.fc39.x86_64 Following generic guides (e.g. at Akamai Linode) almost got it all working with ease. There were a few minor problems with permissions. Problem: Feb 28 11:45:17 takane postfix/smtpd[1137214]: warning: connect to Milter service local:/run/opendkim/opendkim.sock: Permission denied Solution: add postfix to opendkim group; no change to Umask…

Strongly consistent S3

Speaking of S3 becoming strongly consistent , Swift was strongly consistent for objects in practice from the very beginning. All the "in practice" assumes a reasonably healthy cluster. It's very easy, really. When your client puts an object into a cluster and receives a 201, it means that a quorum of back-end nodes stored that object. Therefore, for you to get a stale version, you need to find a…

git cp orig copy

Problem: I want to copy a file in git and preserve its history. Solution: Holy guacamole! : git checkout -b dup git mv orig copy git commit --author="Greg " -m "cp orig copy" git checkout HEAD~ orig git commit --author="Greg " -m "restore orig" git checkout - git merge --no-ff dup

Pleroma and restricted timelines

Problem: you run a Pleroma instance, and you want to restrict the composite timelines to logged-in users only, but without going to the full "public: false". This is a common ask, and the option restrict_unauthenticated is documented , but the syntax is far from obvious! Solution: config :pleroma, :restrict_unauthenticated,  timelines: %{local: true, federated: true}

RHEL 9 on libvirt and KVM

Problem: you create and VM like you always did, but RHEL 9 bombs with: Fatal glibc error: CPU does not support x86-64-v2 Solution: as Dan Berrange explains in bug # 2060839 , a traditional default CPU model qemu64 is no longer sufficient. Unfortunately, there's no "qemu64-v2". Instead, you must select one of the real CPUs . <cpu mode='host-model' match='exact' check='none'> <model…

Suvorov vs Zubrin

Bro, u mad? Zubrin lies like he breathes, not bothering even calculate in Excel, not to mention take integrals! But they continue to believe him &mdash; because it's Zubrin! When they discussed his "engine on salt of Uranium" [ NSWR &mdash; zaitcev ] I wrote that the engine will not work in principle , because a reactor can only work in case of effective deceleration of neutrons, but already at…

Python subprocess and stderr

Suppose you want to create a pipeline with the subprocess and you want to capture the stderr. A colleague of mine upstream wrote this : p1 = subprocess.Popen(cmd1, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) p2 = subprocess.Popen(cmd2, stdin=p1.stdout, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) p1.stdout.close() p1_stderr = p1.communicate() p2_stderr =…

MinIO in the news

The company we mentioned previously is in the news. Seen at Blocks And Files : If MinIO want to discourage software developers from including its code in their products it is managing this very well.