Hírolvasó
Elkerülte a Microsoftot Brüsszel golyója
Tart a digitalizáció-nihil a hazai kkv-knál
Coming soon to a -current system near you: parallel raw IP input
The work to improve the capabilities of the network stack is about to take a noticeable step forward. In a message to tech@ titled parallel raw IP input, Alexander Bluhm (bluhm@) posted a patch that he describes as
List: openbsd-tech Subject: parallel raw IP input From: Alexander Bluhm <bluhm () openbsd ! org> Date: 2024-04-11 20:24:39 Hi, As mvs@ mentioned, running raw IP in parallel is easier as it is less complex than UDP. Especially there is no socket splicing. So I fixed one race in rip_input() and reused my shared net lock ip_deliver() loop.Pete Zaitcev: sup Python you okay bro
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 = A()
print("%s" % a.aa())
This fails with "AttributeError: 'A' object has no attribute 'aa'".
Apparently, the latter definition replaces the former completely. This is darkly amusing.
Python 3.12.2
[$] LWN.net Weekly Edition for April 18, 2024
[$] Managing to-do lists on the command line with Taskwarrior
Billentyűzetek után egerekre is jön a dedikált AI-gomb
Four more stable kernels
Security updates for Wednesday
Elsőként demózott 6 GHz-es mobilhálózatot a 4iG
Elrajtolt az Adobe AI asszisztense
Még mindig sokat ül tévé előtt a magyar
Nagyot álmodik képernyőből a Yettel
Nyáron már újra cirkálhatnak az Uber autói Budapesten
In -current, default write format for tar(1) changed to "pax"
A series of commits by Jeremie Courreges-Anglas (jca@) has modified tar(1) such that its default write format (for archives) is that of pax(1). The message with the final commit captures the gist of the change:
CVSROOT: /cvs Module name: src Changes by: jca@cvs.openbsd.org 2024/04/16 17:09:35 Modified files: bin/pax : options.c tar.1 Log message: Switch tar(1) write default format to 'pax' Lets us store longer file names, link names, finer grained timestamps, larger archive member files, etc; at the expense of larger uncompressed archives and less widespread support across the ecosystem. If you're unhappy with the new defaults, you can use -F ustar. Or you can help fix bugs / find a better middle ground. Prodding from various including job@ and deraadt@ ok sthen@ caspar@ millert@Pete Zaitcev: Trailing whitespace in vim
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.
[$] Identifying dependencies used via dlopen()
The recent XZ backdoor has sparked a lot of discussion about how the open-source community links and packages software. One possible security improvement being discussed is changing how projects like systemd link to dynamic libraries that are only used for optional functionality: using dlopen() to load those libraries only when required. This could shrink the attack surface exposed by dependencies, but the approach is not without downsides — most prominently, it makes discovering which dynamic libraries a program depends on harder. On April 11, Lennart Poettering proposed one way to eliminate that problem in a systemd RFC on GitHub.
[$] Fedora 40 firms up for release
Fedora 40 Beta was released on March 26, and the final release is nearing completion. So far, the release is coming together nicely with major updates for GNOME, KDE Plasma, and the usual cavalcade of smaller updates and enhancements. As part of the release, the project also scuttled Delta RPMs and OpenSSL 1.1.
PuTTY 0.81 security release
PuTTY 0.81, released today, fixes a critical vulnerability CVE-2024-31497 in the use of 521-bit ECDSA keys (ecdsa-sha2-nistp521). If you have used a 521-bit ECDSA private key with any previous version of PuTTY, consider the private key compromised: remove the public key from authorized_keys files, and generate a new key pair.
However, this only affects that one algorithm and key size. No other size of ECDSA key is affected, and no other key type is affected.
(Thanks to Joe Nahmias).