[-] HaraldvonBlauzahn@feddit.org 44 points 2 days ago

It is not only trains. In Germany, some hearing aid manufacturers are now adding codes that allow repairs to be done only by a specific shop. Since the device is paid and owned by the wearer, this should be illegal.

[-] HaraldvonBlauzahn@feddit.org 45 points 2 days ago* (last edited 2 days ago)

Statement and more informations from the German CCC alias Chaos Computer Club, a civil rights organization of software tweakers and computer experts:

https://www.ccc.de/en/updates/2024/das-ist-vollig-entgleist

By the way: The train manufacturer company is suing the people who exposed this, and CCC is collecting donations for their legal support - details on the page linked above.

201
[-] HaraldvonBlauzahn@feddit.org 1 points 3 days ago* (last edited 3 days ago)

Depends on how important it is to keep confidentiality.

Best way to secure already written unencrypted data is probably putting the device into a microwave, and then burning it.

For new data on Linux, LUKS encryption should probably be fine.

[-] HaraldvonBlauzahn@feddit.org 3 points 3 days ago

Yeah, meld is nice.

[-] HaraldvonBlauzahn@feddit.org 2 points 3 days ago* (last edited 3 days ago)

git gui is nice for this.

(or jj split).

[-] HaraldvonBlauzahn@feddit.org 6 points 3 days ago* (last edited 3 days ago)

I used a lot of Magit at work (it's good), as well as jujutsu and command line. Also, gitk for browsing history.

Currently I use jujutsu at home for leisure stuff and command line + git gui at work. For some workplaces, more powerful tools are just overkill.

[-] HaraldvonBlauzahn@feddit.org 1 points 4 days ago

Try adding or removing a closing paren. Seems different apps/clients hsndle this differently.

[-] HaraldvonBlauzahn@feddit.org 2 points 4 days ago

Yup, there are attscks. Also ddos on Codeberg and the xz-utils backdoor.

[-] HaraldvonBlauzahn@feddit.org 3 points 4 days ago

I'd say look after your kid and try out Linux a bit later when you have Leisure for it. You can use Linux and Windows in parallel on two computers networked with Samba.

[-] HaraldvonBlauzahn@feddit.org 1 points 6 days ago

For Rust, return Result<> , as is idomatic in Rust.

Another possible method is having an installable handler that handles the error at the place it is detected. Common Lisp does that and it is very powerful.

53

cross-posted from: https://scribe.disroot.org/post/3795786

  • The European Central Bank (ECB) is set to introduce what it calls a 'climate factor' when lending to banks against appropriate collateral in their short and long-term financing instruments.
  • This climate factor could reduce the value assigned to the assets pledged as collateral, thus protecting the Eurosystem against a potential decline in collateral value in the event of climate-related shocks.
  • The climate factor also raises the pressure on commercial banks to direct their funds towards 'greener' investments as the bloc seeks to reduce it carbon footprint.
  • The new measure will apply to marketable assets issued by non-financial corporations, taking effect in the second half of 2026.
86
submitted 1 week ago* (last edited 1 week ago) by HaraldvonBlauzahn@feddit.org to c/programming@programming.dev

I want clean history, but that really means (a) clean and (b) history.

People can (and probably should) rebase their private trees (their own work). That's a cleanup. But never other peoples code. That's a "destroy history"

So the history part is fairly easy. There's only one major rule, and one minor clarification:

  • You must never EVER destroy other peoples history. You must not rebase commits other people did.

[...]

If you are working with git together with other people, it's worth a read.

35
submitted 1 week ago* (last edited 1 week ago) by HaraldvonBlauzahn@feddit.org to c/programming@programming.dev

“Jujutsu (jj) is a version control system with a significantly simplified mental model and command-line interface compared to Git, without sacrificing expressibility or power (in fact, you could argue Jujutsu is more powerful). Stacked-diff workflows, seamless rebases, and ephemeral revisions are all natural with jj [...]”

Part 2 of the series is out and is here.

123

Well, I hope you don't have any important, sensitive personal information in the cloud?

21
submitted 1 week ago* (last edited 1 week ago) by HaraldvonBlauzahn@feddit.org to c/linux@lemmy.ml

Short answer is: yes, as soon as more than one OS mounts a file system in read-write mode.

The kernel of a modern OS (I am generously including Windows here) caches file system data structures in memory. When you hibernate the computer, the content of that memory is written into a large file because that speeds-up a later restart.

Now, if you boot up another OS, and modify these partitions (without mounting them read-only), you alter the file systems data structures. That happens already when you view folders because this modifies access times stored in the inodes.

When you now shut down the second OS, and resume the first OS, the restarted kernel will have and use cached file system metadata which id loaded from the image into the kernel, that does not match that of the files on disk. And this causes file system corruption by definition.

14
68
submitted 1 week ago* (last edited 1 week ago) by HaraldvonBlauzahn@feddit.org to c/linux@lemmy.ml

.... virtual machines where you only have to select which accompanying image of Arch / Tumbleweed / Ubuntu / Fedora you want to try.

In addition, the combination of a very stable base system (say, Debian or SuSE Leap) with a fast-moving, bleeading edge virtualized system (say, SuSE Tumbleweed, Arch or Guix) on top can be surprisingly useful. And because small virtual machines, when not running, are nothing else than files on your computer, you can have many versions of them, alter things, try stuff out, then delete it and go back to the tidy original state.

17

cross-posted from: https://lemmy.today/post/34561505

Cool even if you're not interested in learning Scheme. It has some neat features.

Code as data? 😵‍💫

18
submitted 1 week ago* (last edited 1 week ago) by HaraldvonBlauzahn@feddit.org to c/programming@programming.dev

Archive link: https://archive.ph/A7LI4

Marianne Belotti has worked at large institutions with modernizing decades-old code bases. She is author of the book "Kill it with Fire" [review].

From that book's author bio:

Marianne Bellotti has worked as a software engineer for over 15 years. She built data infrastructure for the United Nations to help humanitarian organizations share crisis data worldwide and tackled some of the oldest and most complicated computer systems in the world as part of United States Digital Service. At Auth0 she ran Platform Services, a portfolio that included shared services, untrusted code execution, and developer tools. Currently she runs Identity and Access Control at Rebellion Defense. She can be found on most social networks under the handle bellmar.

105
12
submitted 2 weeks ago* (last edited 2 weeks ago) by HaraldvonBlauzahn@feddit.org to c/linux@lemmy.ml

Say you are dual-booting Debian and Arch and want to upgrade Debian oldstable to Debian stable. But you want to keep the old installation available as a fall-back option. And you also want to re-use your configuration files and dot files, but in a way that incompatible changes to your dot files in the new Debian or Arch version do never break the old program versions.

How do you do that ?

(I describe my own approach in a comment below.)

[-] HaraldvonBlauzahn@feddit.org 38 points 1 month ago

Others have said it would hurt businesses in the congestion zone. The report, however, says pedestrian activity inside the zone was up 8.4% in May, compared with the same period last year, while outside the zone only saw an increase of 2.7%.

The same can be seen in Paris: Reducing car traffic is good for businesses and shops. The whole discussion on cars in cities reminds the discussion on smoking in public spaces. The only interest group which actually had an advantage from it was the tabacco industry.

view more: next ›

HaraldvonBlauzahn

joined 4 months ago