RegalPotoo

joined 2 years ago
[–] RegalPotoo 4 points 7 hours ago (5 children)

Using GPS to drive the spedo/odo on a car seems like it wouldn't be super reliable?

[–] RegalPotoo 10 points 8 hours ago

init crashed because it couldn't load a shared library, but init isn't allowed to be killed so the kernel panicked

 

Saw a truck around town today with a ridiculous lift kit and chunky off-road tires that were clearly much larger than factory standard, and it got me thinking; if you install this kind of modification in a car, do you need to adjust the speedometer to compensate? What about the odometer?

My logic is the only absolute measurement the car has is how fast the wheels and drive shaft are turning, so presumably there is some sort of multiplier - 1 revolution = X meters - that is then used to show speed and track distance travelled, but that factor would need to change if the circumference of the tires did

[–] RegalPotoo 11 points 10 hours ago

It's extremely 2020s brainworms that there are two different proprietary standards for device trackers, and licensing constraints forbid a device from supporting both.

[–] RegalPotoo 12 points 1 day ago

Nah, that's still engagement. Ignore it, and let it rot away

[–] RegalPotoo 2 points 3 days ago

I'm cautiously excited, but probably won't be preordering anything if Eric is involved

[–] RegalPotoo 41 points 3 days ago (6 children)

An alternative suggestion - do what they did with UTC. It's an acronym of both "coordinated universal time" and "temps universel coordonné", which doesn't work in either English or French so everyone is equally unhappy

[–] RegalPotoo 11 points 4 days ago* (last edited 4 days ago)

Take a look for yourself:

https://www.pbtech.co.nz/ https://www.trademe.co.nz/a/

He says, forgetting what community he is in.

Bring your existing gear, remembering that we use 240v here. Getting used server bits is pretty difficult and expensive because we don't have anywhere near the density of data centers selling off old stuff. Enterprise switches in particular seem to be hard to get, I've previously had to buy on eBay and pay absurd shipping

[–] RegalPotoo 2 points 5 days ago
  • https://github.com/prometheus/node_exporter?tab=readme-ov-file#textfile-collector - which makes node exporter watch a specific directory for files that contain metrics, then re-export them back to the central Prometheus server
  • Some systems have their own metrics endpoints - instead of getting Prometheus to scrape these directly I set up a Cron job to curl these into files for node exporter - this means I don't need extra config in Prometheus to find the endpoints, and don't need to mess with firewall rules
  • Other systems don't directly expose metrics in a format Prometheus can use - in this case I will write/find a script that can do the conversation, then either set it up to write the metrics file directly and run it on a Cron, or run it as a service and another Cron job to do the scrape
[–] RegalPotoo 10 points 6 days ago (3 children)
  • Base ansible role installs Prometheus node exporter, configured with the text file collector
  • VM automations push DNS records so that the Prometheus dns-sd automatically discovers them
  • Ansible roles for add Cron jobs that generate metrics for specific systems and dump them for the text file collector
  • Grafana for dashboards
  • Karma as a UI in front of Prometheus alert manager
[–] RegalPotoo 1 points 6 days ago

The attitude in a lot of countries had been "China contributes xx% to global emissions, we only contribute y% so why should we trash our economy if China isn't doing absolutely everything possible?" - add the US into that and that resistance is even harder to overcome

[–] RegalPotoo 3 points 6 days ago

they'll actively push you to take leave

This is the part that I think is kinda genius (although I doubt it was totally intentional) - by making leave accrue and requiring businesses to pay out the value when employees leave, you put a clear dollar value on doing the right thing. You align the employer and the employees interests, so even if a company can't ensure people take leave because it's the right thing to do, they can usually manage it because it's good business

[–] RegalPotoo 37 points 1 week ago (8 children)

Oh totally, if you are playing by the rules then this can't happen.

What happens if the GOP appoints him as their candidate in 4 years time? Presumably someone asks the supreme court to weigh in, but given it's current make up, what happens if they say "yeah sure, because democrats are The Enemy" or something?

It's just people, breaking the rules is always an option. Rules and laws only work if they are enforceable - and at the end of the day, who would be enforcing that he can't run? The military? State militias?

31
submitted 11 months ago* (last edited 7 months ago) by RegalPotoo to c/[email protected]
 

The KDE 6 announcement says that

On prior versions you chose between either password or fingerprint authentication for the lockscreen. In Plasma 6, both are supported at the same time.

I've updated my Neon install, what do I need to do to enable this? I've set up a fingerprint through the user settings, but when the screen is locked I still have to use my password to unlock - there isn't a prompt, and touching the reader doesn't seem to do anything

Edit: follow up on an old post in case someone stumbles across it - I needed to install libpam-fprintd

 

I'm trying to find a thing, and I'm not turning up anything in my web searches so I figure I'd ask the cool people for help.

I've got several projects, tracked in Git, that rely on having a set of command line tools installed to work on locally - as an example, one requires Helm, Helmfile, sops, several Helm plugins, Pluto, Kubeval and the Kubernetes CLI. Because I don't hate future me, I want to ensure that I'm installing specific versions of these tools rather than just grabbing whatever happens to be the latest version. I also want to ensure that my CI runner grabs the same versions, so I can be reasonably sure that what I've tried locally will actually work when I go to deploy it.

My current solution to this is a big ol' Bash script, which works, but is kind of a pain to maintain. What I'm trying to find is a tool where I:

  • Can write a definition, ideally somewhere shared between projects, of what it means to "install tool X"
  • Include a file in my project that lists the tools and versions I want
  • Run the tool on my machine and let it go grab the platform- and architecture- specific binaries from wherever, and install them somewhere that I can add to my $PATH for this specific project
  • Run the tool in CI and do the same - if it can cache stuff then awesome

Linux support is a must, other platforms would be nice as well.

Basically I'm looking for Pythons' pip + virtualenv workflow, but for prebuilt tools like helm, terraform, sops, etc. Anyone know of anything? I've looked at homebrew (seems to want to install system-wide), and VSCode dev containers (doesn't solve the CI need, and I'd still need to solve installing the tools myself)

 

A whole bunch of this sounds really familiar for some reason...

view more: next ›