• 1 Post
  • 25 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle






  • Heavybell@lemmy.worldtoLinux@lemmy.mlGentoo vs any other distro
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    2 months ago

    The point of use flags is to make it so if you don’t want to print, every package that would otherwise pull in CUPS as a dependency can be compiled without it. Stuff like that.

    Gentoo also has a good system for handling multiple concurrent installs of different versions of some packages, e.g python.

    If there’s software you want to install from source that uses automake it’s pretty simple to build your own package for it.

    Very much a system for doing things your way, and a good way to learn linux IMO. To that end, no there is no installer, but the process is not that complex. Boot a live USB, partition and format a drive, download and extract a base system, install a kernel (there is a fits-most-needs one available now), install a bootloader. Reboot into your new system and continue installing what you need from there.




  • No problem! To expand further, I am 99% certain it would be perfectly viable to have a single disk volume group and just take advantage of LVM’s ability to create, resize and delete virtual partitions on the fly. I think you could also put all your disks into a single volume group, then ask it to not spread your logical volumes across multiple disks, if you wanted to. Could get a bit fiddly though.


  • You are correct, LVM combines 1 or more disks into 1 or more storage pools that can then be allocated out to logical volumes as needed.

    If you just up and pull a disk from a pool (volume group), you’re gonna have a bad time. You can, however, migrate the “extents” allocated to that physical disk to another in order to replace the disk, and your logical volumes can be set up with RAID-like redundancy. There’s a lot of options on how to manage it.






  • No problem. The one I used is an ESP32 DevKitC, and you can find info about it on Espressif’s site, or just google the pinout diagram. For basic tasks it should be all you need since it has lots of binary pins, two ADC channels, two DAC channels, realtime clock, special pins for waking it from deep sleep, two I2C, etc. Though if you want to do video input you probably want something else, I’m learning.

    Anyway, if you can spare the money to get one just to toy with I’d definitely recommend it.


  • Okay so that is an issue with the ESP32, sure. There are a lot of variants.

    So from what I can tell, the ESP32 is the SoC chip and what you usually get is a dev board which has that plus a bunch of power regulation bits, a USB connector and UART so you can easily program it, etc. That part varies mostly by pinout. I.e. Same features, different pin location.

    There are also variants of the chip, but those are usually more costly and will be named things like ESP32-S2.

    Every one I’ve seen can run off 5v or 3.3v and uses the latter for logic, so if you got yourself an arduino kit and then just bought an ESP32 dev board it would almost certainly work with whatever is in the kit. Both are microcontrollers, not microprocessors, so they tend not to have OSes or screens.



  • When you put mail in the box, unless it’s a REALLY small bit of mail it’ll land so it obscures at least one of the proximity sensors. This then sets the ‘got mail’ statue to ‘on’ in Home Assistant. From there, I have HA set up to send me notifications to go and check the mail.

    Before you say so, yes this was a lot of work for something so trivial, but it was fun. Plus I actually get so little physical mail that I can forget to check the mailbox for weeks at a time. Which would be very bad if I got some actually important mail. And actually, that exact thing happened just days after I finished installing the thing. So it has already potentially saved me from a fine.


  • I’m sorry to say I don’t. :/ You can grab dev boards off aliexpress for cheap, and they’re really easy to play with. Just connect the to your PC via USB to load your initial ESPHome script, and they spring to life. From there you can do basic testing, since they’ll get power from the USB. It’s just a matter of what you decide you want to hook up to them after that. I assume you’re looking for like a hobby kit, like you can get for arduino boards? Something that comes with a bunch of LEDs and I2C components you can fiddle with? Unfortunately I don’t know of any that come with ESP32 dev boards, but I’ll admit I’ve not looked. Sorry.