UnityDevice

joined 1 year ago
[–] [email protected] 2 points 8 months ago

I've been in love with the concept of ansible since I discovered it almost a decade ago, but I still hate how verbose it is, and how cumbersome the yaml based DSL is. You can have a role that basically does the job of 3 lines of bash and it'll need 3 yaml files in 4 directories.

About 3 years ago I wrote a big ansible playbook that would fully configure my home server, desktop and laptop from a minimal arch install. Then I used said playbook for my laptop and server.

I just got a new laptop and went to look at the playbook but realised it probably needs to be updated in a few places. I got feelings of dread thinking about reading all that yaml and updating it.

So instead I'm just gonna rewrite everything in simple python with a few helper functions. The few roles I rewrote are already so much cleaner and shorter. Should be way faster and more user friendly and maintainable.

I'll keep ansible for actual deployments.

[–] [email protected] 26 points 9 months ago
[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

Careful using the word efficiency there, as it has a different meaning when talking about solar panels - it indicates how much energy the panel can extract from the light hitting it. The best modern panels you can buy are below 25% efficient, and since these are from the 90s they were probably about half that when new.

[–] [email protected] 1 points 10 months ago

For me the year of the Linux desktop was 2014 - it's when I changed my desktop to Linux after using it on my laptop for a year. All the hardware on that machine has been replaced, but it's still running the same install from back then.

[–] [email protected] 4 points 10 months ago (1 children)

Just have NAS A send a rocket with the data to NAS B.

[–] [email protected] 9 points 11 months ago

There are two ways you can do this on Android currently, but they're not as quick. You can try to unlock with the wrong finger 5 times and it will stop allowing fingerprint unlocks. Or, you can hold down the power button for 10 seconds and the phone will reboot and also disable fingerprint unlocking.

[–] [email protected] 40 points 1 year ago

Then they'll just identify you by the sound of the printer being audible from down the street.

[–] [email protected] 5 points 1 year ago

Linux and a windows virtual machine with a dedicated nvme hard drive and GPU using PCI pass-through. Windows is boxed in but easily accessed when you need it, and the performance is 95% of native, or more. And because of the dedicated hard drive, you can still dual-boot it like normal if you want.

Also, I recommend installing windows 10 enterprise in the VM, minimal bloat.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I don't work for Apple, but I am an electronics engineer. Just don't be surprised when your simpler devices start failing.

[–] [email protected] 1 points 1 year ago (3 children)

To be fair though, they just need to make everything USB-C anyhow.

Careful what you wish for. Putting advanced electronics into very simple devices will just make them fail a lot faster.
Some old device just needed 12V over a barrel jack to run some motor or light and charge the battery and it lasted a decade - only failed because the battery got old. New one now needs a state of the art power delivery chip to negotiate the right voltage and current, and all over a very fine pitch connector that will fail if you look at it wrong. Not looking good on the durability front at all.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago)

Or libcinder. Or even simply Arduino.

[–] [email protected] 15 points 1 year ago (1 children)

They're doing this at the OS level, so Firefox can't protect you from that, the issue is with Windows. They could do the same to Firefox, they just don't bother.

view more: ‹ prev next ›