What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

1
0
0
0
0
0
0
0
0
0
0
0
1

Suppose you run your web app with gunicorn. And for metrics, you run the Python Prometheus client in multiprocess mode, since you have multiple worker processes. And you set PROMETHEUS_MULTIPROC_DIR the way the docs tell you to.

Now, what's your favorite way to implement the other thing the docs tell you to do?

> This directory must be wiped between process/Gunicorn runs (before startup is recommended).

So. Do you wipe it only when gunicorn itself boots? Do you wipe it on every worker process start? Periodically via cron-type job? Something else?

Genuine question. Asking for a friend, and the friend happens to be me.

0

Suppose you run your web app with gunicorn. And for metrics, you run the Python Prometheus client in multiprocess mode, since you have multiple worker processes. And you set PROMETHEUS_MULTIPROC_DIR the way the docs tell you to.

Now, what's your favorite way to implement the other thing the docs tell you to do?

> This directory must be wiped between process/Gunicorn runs (before startup is recommended).

So. Do you wipe it only when gunicorn itself boots? Do you wipe it on every worker process start? Periodically via cron-type job? Something else?

Genuine question. Asking for a friend, and the friend happens to be me.

0

📰🇪🇺 Die plant nach Kritik aus der Branche eine Lockerung der Auflagen für Technologiekonzerne. kritisierte den Gesetzentwurf scharf. „Dies ist der größte Angriff auf die digitalen Rechte der Europäer seit Jahren“, sagte .

👉 Lies mehr: handelsblatt.com/politik/inter

0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0

Geminiはたぶん自社のWeb検索でgroundingする前提のLLMなんだと思います。なのでハルシネーション率が酷くても最終的にそこそこまともな結果をお出しできると。

モデルに強い内省を導入するという愚直な解決手段をとっているのとどっちが美しいかはともかく、最終結果がまともであればユーザーは文句は言わないよねえ。

1
1
0
0

What I'm listening to today: "cem", evadum

Astral-journey ambient on vintage 1980s 4-track pro tape recorder and Nanoloop 2 for Nintendo DS. Ocean waves made out of sawtooths and voices made of saltwater, a beat so slow it feels like something entirely other than a beat. Drags a single feel out for five minutes then abruptly stops, and it is an excellent feel

youtube.com/watch?v=6JnlwNVnSEI

0
0
0

Looking for suggestions on syncing a remote IMAP server accounts to a local machine. Then making these available to other machines on the LAN and possibly via Roundcube via Wireguard. Ideally ability to delete remote stuff older that 'n' days on the remote end that has been synced locally.

Other option is just a one way sync to local as a backup so the remote server is active and local is just a warts and all backup.

Lots about isync or offlineimap and Dovecot so looking for recommendations.

It is a SoHo project on *nix using Open Source. Reason is simply my mail hosts are being ar**s but do not want a fully hosted mail server with public access locally.

Thanks in advance.

0

むかあしツ社に見学に行ったらエレベータに同乗したパロアルトの大学(たぶん大学院ではなく)の新卒の子たちがML(LLMという言葉はまだ流行っていなかった)すげーってキラキラお話してたんだよね

1
0
1
0
0

Proxmox VE 9.1 released with support for OCI container images, TPM state support in qcow2 format, enhanced control for nested virtualization in specialized VMs, better SDN status reporting

proxmox.com/en/about/company-d

0
1
0
0

Raspberry Pi Pico 2 W with MicroPython on OpenSUSE Leap 16.0.

The terminal emulator minicom is not available on Leap, but picocom is:

$ sudo zypper install picocom
$ sudo usermod -aG dialout $USER

Log out, and back in.

$ picocom --quiet --baud 115200 /dev/ttyACM0

Type Ctrl-a Ctrl-x to exit.

Thonny IDE can be installed as a flatpak from flathub.

The minicom terminal emulator can be used from a Tumbleweed distrobox, but then you need to setup udev rules, see link.

discussion.fedoraproject.org/t

Screenshot of picocom terminal emulator connected to Raspberry Pi Pico 2 W  microcontroller
0
1
0

I remember a moment, years ago. Jack Dorsey was still running Twitter and involved in yet another scandal about whether nazi shit was gonna be tolerated there, and he was equivocating and bullshitting about free speech or somesuch.

And around the same time, someone else dropped some justification for tolerating nazi shit to Eugen, and he just said something along the lines of: no, we don't do that here.

Eugen earned my respect that day.

0
0
0
0
0
0
0