IanTwenty

joined 2 years ago
[–] IanTwenty@lemmy.world 5 points 8 months ago (1 children)

I see some commenters on other posts saying they will buy linux phones due to this, could be good for the ecosystem.

 

Update: CMA moving in right direction? https://www.theguardian.com/technology/2025/oct/22/apple-google-face-enforced-changes-uk-mobile-phone-dominance-uk-competition-watchdog-stricter-oversight

Dan is a UK based full stack web developer who is working on Bookstack, a self-hostable wiki platform (MIT license).

On Google's recent announcement about developer verification he writes:

This is a massive leap in control, further centralising approval power to Google across the entire Android ecosystem while cementing themselves as the ultimate gatekeeper of what users can run on their own devices, all under the guise of security. This is a further step away from an open ecosystem, while being harmful to any platform competition & innovation.

...as a UK resident I feel my best bet to counter this is via the Competition & Markets Authority (CMA).

He includes his report as a basis for others to use perhaps.

Dan is a UK based full stack web developer who is working on Bookstack, a self-hostable wiki platform (MIT license).

On Google's recent announcement about developer verification he writes:

This is a massive leap in control, further centralising approval power to Google across the entire Android ecosystem while cementing themselves as the ultimate gatekeeper of what users can run on their own devices, all under the guise of security. This is a further step away from an open ecosystem, while being harmful to any platform competition & innovation.

...as a UK resident I feel my best bet to counter this is via the Competition & Markets Authority (CMA).

He includes his report as a basis for others to use perhaps.

Dan is a UK based full stack web developer who is working on Bookstack, a self-hostable wiki platform (MIT license).

On Google's recent announcement about developer verification he writes:

This is a massive leap in control, further centralising approval power to Google across the entire Android ecosystem while cementing themselves as the ultimate gatekeeper of what users can run on their own devices, all under the guise of security. This is a further step away from an open ecosystem, while being harmful to any platform competition & innovation.

...as a UK resident I feel my best bet to counter this is via the Competition & Markets Authority (CMA).

He includes his report as a basis for others to use perhaps.

[–] IanTwenty@lemmy.world 4 points 8 months ago

Castopod looks interesting

[–] IanTwenty@lemmy.world 1 points 8 months ago

doesn'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.world 19 points 8 months ago (1 children)

On 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."

https://goo.gle/Android-verification-feedback

[–] IanTwenty@lemmy.world 4 points 8 months ago (2 children)

Another 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.world 8 points 8 months ago (15 children)

Messages 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.world 2 points 9 months ago (1 children)

What's going on?

https://www.theguardian.com/politics/2025/sep/18/jeremy-corbyn-clashes-zarah-sultana-your-party-split

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.world 6 points 9 months ago

I 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.world 0 points 9 months ago (5 children)

Jujutsu 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

[–] IanTwenty@lemmy.world 7 points 9 months ago

If you're temporarily away from home do you need to workout? Which is to say you could let yourself off doing this, perhaps. Maybe being away from home is enough change to deal with. You can pick your battles, energy is not infinite. You could spend the time reading about training instead in your room, or some other interest.

I guess exercise enthusiasts would recommend keeping to your routine where possible, so maybe this is weighing on your mind and creating an internal conflict? I should go. You don't have to live by that if you don't want to though. It's harder for you, make your own rules.

That being said I agree with the comment elsewhere that you could also try small bites of it. You could just visit the gym and stay for a minute or two, then leave. Next day try again. If it doesn't get easier then maybe it's not the gym for you, too bright. too loud, or something else maybe. That's ok. If it doesn't feel right trust that feeling.

Is there anyone who would go with you? A trusted friend who knows how difffcult this could be would be a great choice. Someone who understands if you need to leave suddenly, no questions.

Some gyms might have a changing area you could retreat to. Having a refuge can be useful. Maybe headphones/earbuds and a familiar song/voice would help too.

[–] IanTwenty@lemmy.world 4 points 9 months ago (1 children)

The Butterfield Diet Plan in all its glory for the curious:

https://www.youtube.com/watch?v=1NjTWvl8x-U&t=6

[–] IanTwenty@lemmy.world 1 points 9 months ago

From the zdnet article linked in another comment:

tech is one thing; business is another. That's where the RSL Collective comes in. Modeled on music's ASCAP and BMI, the nonprofit is essentially a rights-management clearinghouse for publishers and creators. Join for free, pool your rights, and let the Collective negotiate with AI companies to ensure you're compensated.

I guess this is the body that will be leading the enforcement/bringing the consequences

64
submitted 10 months ago* (last edited 10 months ago) by IanTwenty@lemmy.world to c/selfhosted@lemmy.world
 

Edit: thanks for all your help and replies, this is a such a great community!

I would like to host a public service for some family, probably Peertube so we can share some videos. Invite only.

There's no way I'm going to get everyone onto a VPN, it's a non-starter though I would prefer it.

I am thinking to use a VPS with anubis and either crowdsec or fail2ban (or both?!) in front of Peertube. Will apply as much hardening as I can muster behind that: things in containers, systemd hardening, SELinux/Apparmor enabled/tuned, separate users for services, the usual. All ports shut except 80/443, firewall up.

Despite all this I expect it will get scanned and attacked as it will have to expose ports 80/443 to the world so for family it will just work.

Is there anything else I should consider for security? Is Peertube the weakest link in the chain? (a little concerned their min password length is 6 it seems and no 2fa). So long as I keep whole thing up-to-date is it as secure as anybody can manage these days (without resorting to VPN)?

Is it all too much hassle and I should look for a company that offers hosted Peertube so they can worry about it?

Thanks for any and all advice.

 

As title, available in UK a bonus!

 

A 'masterpiece'!

 

Figured I'd ask here as thought self-hosters would care most about looking after their photos.

What do you do with friends' photos you'd like to keep hold of? Maybe there's a pic on a chat app or they've sent you a link to an album on google photos.

Would you just throw into your own pile of photos or do you carefully adjust metadata to indicate who took them? Just use dirs to separate them from your own? Interested in any and all thoughts.

 

I killed them all once and even dunked lava on the top yet still they spawn. Do you have to remove the entire structure to 'beat' them? Thx

 

In the code below we wait for a background process three times. In the first paragraph we get the expected 0 return code from the wait. In the second paragraph the only change is wrapping the wait in a command substitution which instead gives a 255 return code. In the third paragraph the only change is wrapping the wait in a subshell which gives a 127 return code. Why is this?

sleep 1 &
wait $!
echo $?                     # prints "0"

sleep 1 &
a=$(wait $!)                # <---- only difference is cmd substitution
echo $?                      # prints "255"

sleep 1 &
(wait $! &>/dev/null)       # <---- only difference is subshell
echo $?                     # prints "127"

Thanks in advance for your thoughts!

EDIT: updated to include the subshell final example also, which gives a clue

 

Some gusts of 45mph in Horfield and Fulton according to https://martynhicks.uk/weather/data.php so I think we escaped the worst in the city. A few things blew around but no damage near us.

 

Can anyone recommend a tool to manage photos at the cmdline? I just want to move photos into dirs based on their metadata (YYYY/DD), occasionally fix up metadata (adjust dates), rename photo filenames to match a template and/or query my photos for certain things. It doesn't need to be a gallery or image touch-up tool, I have other things for that.

I'm aware of exiftool and ImageMagick, perhaps they can do the job but they seem quite low level, really need to build scripts around them - I'd like something that operates at a slightly higher level so I don't have to do too much scripting.

A quick search turned up chee (GPLv3) which can:

  • search photos using a simple query language
  • manage named queries (called collections)
  • copy/symlink images into a custom folder structure

...but it's not had an update in a few years (maybe it's feature complete tho!) Any other suggestions? Thanks.

view more: next ›