- 7 Posts
- 93 Comments
Yes it’s not too much bother to set this up, it can be put into ansible and once working I’ve not had to touch it again. Here’s another dracut tool using dropbear that works well and has decent instructions on setup: dracut-crypt-ssh
The crypt-ssh dracut module allows remote unlocking of systems with full disk encryption via ssh
IanTwenty@lemmy.worldOPto
Linux Phones@lemmy.ca•Reporting Google to the Competition & Markets Authority (UK): Android Developer VerificationEnglish
4·5 months agoI see some commenters on other posts saying they will buy linux phones due to this, could be good for the ecosystem.
IanTwenty@lemmy.worldto
Fediverse@lemmy.world•Fediverse Report – #137 - AltStore joins the fediverseEnglish
3·5 months agoCastopod looks interesting
IanTwenty@lemmy.worldto
Programming@programming.dev•Discussion between John Ousterhout and Robert Martin ("Uncle Bob") on "A Philosophy of Software Design" and "Clean Code"
1·5 months agodoesn’t he weasel out of the responsibility to give clear, logical, verifyable reasons for his position?
Absolutely, if I remember right he leans back on having experienced bad comments more often than helpful ones. John questions this. I think it is close to dogma with Bob on this.
Can you explain that more?
And doesn’t the example with the prime number generation algorithm show clearly that omitting context just does not work for code?
Quote from https://en.wikipedia.org/wiki/High-context_and_low-context_cultures
High-context cultures often exhibit less-direct verbal and nonverbal communication, utilizing small communication gestures and reading more meaning into these less-direct messages. Low-context cultures do the opposite; direct verbal communication is needed to properly understand a message being communicated…
Now I’m not making a strong claim that Bob and John are from different ends of the context spectrum. However it seems to me that Bob believes there is enough ‘context’ available in code and in coders themselves to communicate all meaning without comments.
Even Bob’s diagram, to help explain the primes algorithm, assumes high context in the reader. It’s lacking any labels or key - we are just supposed to see what he means if we stare hard enough at it. If we are already immersed in the problem space then this might work but its so inefficient for anyone else.
And once we step away from our code for even a short time we are that someone else. We are going to waste a lot of time rediscovering how the algorithm works. A case John makes convincingly I think.
Code cannot replace comments. The primes algorithm avoids division I believe but this is not clear from the code alone. A reader might work this out eventually but a comment saves so much time. Could the code be refactored to clearly express the avoidance of division? Yes there’s probably a way, but imagine how bad that code would read and what a waste of time just to avoid a comment.
IanTwenty@lemmy.worldto
Linux Phones@lemmy.ca•Google Confirms Non-ADB APK Installs Will Require Developer RegistrationEnglish
21·5 months agoOn an unrelated note, Google’s blog post also is soliciting feedback from the public on these changes.
“Please let us know if you have any feedback or questions about the verification requirements.”
Stow/chezmoi/your choice for dotfiles, config mgmt for system config. You don’t need to rebuild whole server to start with ansible tho, you can take over one file at a time and grow as you learn.
As you’ve found I don’t know of a tool that will cover both usecases as config mgmt for dotfiles is too much and dotfile mgrs for system config is probably out of their scope.
IanTwenty@lemmy.worldto
Linux@lemmy.ml•Having trouble upgrading Fedora from 41 to 42, plus WiFi problems.
1·5 months agohttps://blog.fyralabs.com/upgrade-error-with-vlc-plugins-freeworld/
That rpmfusion package looks like trouble, can you uninstall it or all of rpmfusion before upgrading? I also see internet problems here also so you might be better off fixing that first.
IanTwenty@lemmy.worldto
Programming@programming.dev•Discussion between John Ousterhout and Robert Martin ("Uncle Bob") on "A Philosophy of Software Design" and "Clean Code"
5·5 months agoAnother thank you for posting this, made my day.
I have read and followed a fair amount of Uncle Bob’s work but was not aware of Ousterhout till now. Bob says during the time the Clean Code book was written there was an anti-comment sentiment about and this matches my own experience. I agree with Ousterhout that it’s taken too far in his book though.
I wonder if there is another factor at play - some people/cultures prefer high context communication and some less. Bob seems clearly to prefer low context i.e. the burden is on the (code) reader to educate themselves. Whereas John makes it a matter of professional behaviour that we make the next reader’s work as simple as possible by commenting code as appropriate.
Surely it’s better to assume high context is needed and provide it (within reason) versus only catering for low context. As Bob discovered he became a low context person when he returned to his own code after some time had passed.
IanTwenty@lemmy.worldto
Selfhosted@lemmy.world•Briar - secure p2p group communicationsEnglish
8·5 months agoMessages are only sent when both online though, thet’s the bigger difference (unless using Briar Mailbox). Also it can send over wifi and bluetooth without internet connection i.e. no other devices involved.
IanTwenty@lemmy.worldto
F-Droid@lemmy.ml•Google's dev registration plan will end the F-Droid project
25·5 months agoFdroid are:
appealing to regulators and competition authorities to scrutinize Google’s proposals, and for developers and users to put pressure on politicians.
So I think these are preferred avenues of action right now.
IanTwenty@lemmy.worldto
Linux@lemmy.ml•Which of the 3 standard compression algorithms on Unix (gz, xz, or bz2) is best for long term data archival at their highest compression?
7·6 months agoUpgrade from compression tools to backup tools. Look into using restic (a tool with dedup, compression and checksumming) on a filesystem which also checksums and compresses (btrfs/zfs) - that’s probably most reasonable protection and space saving available. Between restic’s checks and the filesystem you will know when a bit flips and that’s when you replace the hardware (restoring from one of your other backups).
IanTwenty@lemmy.worldto
Linux@lemmy.ml•Change behaviour of 'application not responding' notification? (SOLVED)
1·6 months agoIf you mean with a gui then this is one tool:
IanTwenty@lemmy.worldto
Linux@lemmy.ml•Change behaviour of 'application not responding' notification? (SOLVED)
6·6 months agoTry this:
gsettings set org.gnome.mutter check-alive-timeout 10000
Value is in ms so 10000=10s. You can also set it to 0 to disable.
IanTwenty@lemmy.worldto
Linux@lemmy.ml•need a simple sketching software for linux desktop (with real world dimensions)
5·6 months agoTo be clear you can absolutely type in exact measurements in the ‘tool controls bar’ for all the shape tools and even individual nodes. Scale and units are easy to switch between and there’s a measurement tool also.
IanTwenty@lemmy.worldto
UK Politics@feddit.uk•'Your Party' membership registration opens
2·6 months agoWhat’s going on?
An extraordinary split has opened between Jeremy Corbyn and Zarah Sultana in the formation of their new leftwing party, with the former Labour leader suggesting he will take legal action over an unauthorised membership portal promoted by his co-leader.
IanTwenty@lemmy.worldto
Programming@programming.dev•Let's Make Sure Github Doesn't Become the only Option - Edward Loveall
5·6 months agoI know. The author suggests:
Experiment with new-to-you version control systems like Fossil, Mercurial, and Pijul.
The author is:
learning about different version control systems. For example, the differences between Fossil and git revealed a lot of my biases towards git simply because it’s familiar (and Fossil seems really cool). Reading about the theory behind Pijul absolutely bends my brain into knots. I keep trying anyway because conflicts in git are frustrating and I’d like a better solution.
The author says:
It would be nice to move beyond git one day and have a better experience for managing complex codebases, and not on GitHub’s timeline.
IanTwenty@lemmy.worldto
Programming@programming.dev•Let's Make Sure Github Doesn't Become the only Option - Edward Loveall
99·6 months agoJujutsu is another git alternative I keep seeing around and came to mind reading this:
https://steveklabnik.github.io/jujutsu-tutorial/introduction/what-is-jj-and-why-should-i-care.html



Synching will create a conflict file when this happens. Nothing is lost but a user must look out for these files and merge manually.
KeepassXC has its own merge logic and will happily absorb changes to a file on disk whilst open. However if two offline machines both change a database then you will get a conflict file and will have to ask keepass to merge them.