Readit News logoReadit News

Deleted Comment

claviola commented on When root meets immutable: OpenBSD chflags vs. log tampering   rsadowski.de/posts/2025/o... · Posted by u/todsacerdoti
johnisgood · a month ago
It is not the same, but I do use "chattr +i" on a file (which applies the immutable attribute) on Linux to a file that otherwise would have been overwritten by programs that do not give a damn whether I want it to or not, and in my case it was easier to just make that file immutable, mainly: /etc/resolv.conf.
claviola · a month ago
Are you using systemd-resolved? If so, it's actually a symlink to /run/systemd/resolve/stub-resolv.conf, and all you need to do to manage it yourself is to turn it into a regular file of your own. This is explained in the admittedly very long commented out text above the actual directives.
claviola commented on Quickemu: Quickly run optimised Windows, macOS and Linux virtual machines   github.com/quickemu-proje... · Posted by u/overbytecode
claviola · 2 years ago
UTM[0] does this quite well on macOS. They also have a small gallery[1] of pre-built images.

0. https://mac.getutm.app/

1. https://mac.getutm.app/gallery/

claviola commented on Carrefour puts ‘shrinkflation’ price warnings on food to shame brands   theguardian.com/business/... · Posted by u/cainxinth
claviola · 2 years ago
This has been going on in Brazil for so long that for two years now companies must, by law, disclose any reduction in weight.

Examples: https://i0.wp.com/sfnoticias.com.br/wp-content/uploads/2022/...

claviola commented on Linux guide for power users (2022)   xnacly.me/posts/2022/linu... · Posted by u/yarapavan
iueotnmunto · 2 years ago
My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer Firefox be a snap package (which broke my workflow), but that it would require me to go well out of my way to solve that, Gnome decided that I wanted a touchscreen layout (I custom compile gtk+ to remove the 'search on type' behavior in file>open dialogs, most major packages seem to default to nouveau which while a great movement seems to totally break critical path regularly.

How the hell have we gotten to a point where Linux closely reflects the instability of the Windows ecosystem. I'm not afraid of change, but I feel like the large majority of changes that are made cause me problems to the point where I now fear upgrading my distro to latest.

claviola · 2 years ago
> Debian no longer accepts 'init 0' as a command

I'm not sure where this affirmation comes from. Do you have "systemd-sysv" installed? What happens when you do run `init 0´?

init(1)[0] says:

  For compatibility with SysV, if the binary is called as init and
  is not the first process on the machine (PID is not 1), it will
  execute telinit and pass all command line arguments unmodified.
  That means init and telinit are mostly equivalent when invoked
  from normal login sessions. See telinit(8) for more information.
telinit(8)[1]:

  The following commands are understood:

  0

  Power-off the machine. This is translated into an activation
  request for poweroff.target and is equivalent to systemctl
  poweroff.
> ipconfig isn't a command anymore

are you sure you're not mixing up the Windows command ipconfig[2] with the still ubiquitous ifconfig[3]? Even though it's considered deprecated in favor of iproute2's[4] "ip" command, I don't know any distro which has ceased making net-tools available, let alone unusable.

> systemd changed the whole subsystem from underneath me

I agree systemd has been pretty disruptive, but it has made me a lot more productive. Writing a unit file is dead simple, and it is capable of doing a lot of very interesting things. Hardening a unit is quite easy, for instance. You might already be aware of all that, but if not, I can drop some links on another reply.

Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you.

  0. https://man7.org/linux/man-pages/man1/init.1.html
  1. https://man7.org/linux/man-pages/man8/telinit.8.html
  2. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
  3. https://sourceforge.net/projects/net-tools/
  4. https://wiki.linuxfoundation.org/networking/iproute2

claviola commented on Cognitive AI for ADHD   comigo.ai... · Posted by u/jasoncurry
btilly · 2 years ago
I have moderately severe ADHD, and have good reasons to not use medication.

My first response to this is that it solves problems that I don't have, and ignores the ones I do have.

Organizing my day on paper is trivial. I'm also married to someone with a good partnership, and we offload different types of tasks to each other. She might enjoy having software assistants to be more productive, but I don't need that. I have her.

The trick for me is that it is important that my life be organized around engaging with things that I want to do. And thereby having my wants reinforce executive control so that I can do what I think that I should. This involves a lot of managing of my emotional state, and a lot of REJECTING of outside demands by the world that I conform to how the world wants me to be. I see nothing about this app that helps me do either thing.

Yes, yes, I know the idea of eliminating distractions so that I can focus. Honestly, that's crap that leads to disasters every time I try it. If I have positive motivations to do X, distractions are easy to set aside. If motivations are negative, I will be unable to resist creating distractions. And a straightjacket that prevents that leads to insanity.

Which returns me to my point. The key, for me, in handling ADHD is emotional tools to find positive motivations, and social tools to resist the world attempting to load me with tasks through negative motivations.

claviola · 2 years ago
> If I have positive motivations to do X, distractions are easy to set aside. If motivations are negative, I will be unable to resist creating distractions. And a straightjacket that prevents that leads to insanity.

How do you deal with chores?

claviola commented on Announcing bpftune for Linux   phoronix.com/news/Oracle-... · Posted by u/cylo
lokar · 2 years ago
I don’t get it. Most of the examples if not all can just be set to a constant. You should not be auto-tuning the congestion control algorithm selection at runtime.
claviola · 2 years ago
From the blog post here: https://blogs.oracle.com/linux/post/introducing-bpftune

"A lot of lore accumulates around these tunables, and to help clarify why we developed bpftune, we will use a straw-man version of the approach taken with tunables:

“find the set of magic numbers that will work for the system forever”

This is obviously a caricature of how administrators approach the problem, but it does highlight a critical implicit assumption - that systems are static."

claviola commented on All IP addresses are equal? “Dot-zero” addresses are less equal (2013)   labs.ripe.net/author/step... · Posted by u/JdeBP
bell-cot · 2 years ago
Real-old-timer's "solution" - start moving major DNS servers, search engine crawlers, Gmail web pages, bank payment system gateways, etc. to those addresses. People fix sh*t fast when the suffering is on their end.
claviola · 2 years ago
Cloudflare already does it for their reverse proxy service in some instances. One of my subdomains resolves to 188.114.97.0 and 188.114.96.0 on v4.
claviola commented on PyPI will require 2FA by the end of 2023   blog.pypi.org/posts/2023-... · Posted by u/genericlemon24
claviola · 2 years ago
It seems to me like your POV is that of an user. They're mandating that for publishers.
claviola commented on Cilium Mesh – One Mesh to Connect Them All   isovalent.com/blog/post/i... · Posted by u/yuedongze
pcthrowaway · 2 years ago
Really excited to see more work in this space!

Does anyone know how this compares to consul?

I know Consul talks a lot about the gossip protocols that make it all work.. how does Cilium manage to sync state across its datacenters? I'm having a hard time finding good docs on this... are those still in progress?

claviola · 2 years ago
you need to compare this to consul connect, which is hashicorp's service mesh software.

u/claviola

KarmaCake day100February 15, 2014
About
[ my public key: https://keybase.io/claviola; my proof: https://keybase.io/claviola/sigs/B0Z5XOF8RV0CGRv9PS7IFxNkwO4DdfoDHGenWX5tfGY ]
View Original