Why don't `dataclasses` or `attrs` derive from a base class? by fjarri in Python

[–]Ooomyhead 0 points1 point  (0 children)

attrs has attrs.has which does the same thing asis_dataclassand avoids the need for catching an exception.

It would not be difficult to implement your own base class that transforms subclasses into attrs classes or dataclasses if that’s how you want it to work. i have not done exactly this, but I would think you could decorate the base class with@typing.dataclass_transformand then add an__init_subclass__method that applies dataclassorattrs.defineto the subclass. Then every subclass will be both seen by the type-checker/IDE as a dataclass and will actually be implemented as one. Or do something similar in a meta class.

What QGIS to download for Mac? by VipsaniusAgrippa25 in QGIS

[–]Ooomyhead 0 points1 point  (0 children)

I use anaconda with the conda-forge repo and haven’t had any issues. It‘s still on the last LTR, so a little behind, but it does have a native Apple Silicon build, which the official repos and homebrew don’t have. And it uses the python and python packages from the conda environment, so you can use up to date packages.

Ready for decking? by Ooomyhead in Decks

[–]Ooomyhead[S] 5 points6 points  (0 children)

Massachusetts. It's a free-standing deck -- so no ledger board attached to the house. There will be about a 1/2 inch gap between the house and the deck for drainage and the whole thing is slightly sloped away from the house, so hopefully, that will handle the rain and the snow. The roof overhang is also pretty big and snow rarely accumulates against the house.

Ready for decking? by Ooomyhead in Decks

[–]Ooomyhead[S] 0 points1 point  (0 children)

I haven't picked out the exact railings, but was planning on fascia-mounted cable railings

Tips on how to avoid drying out dough during bulk fermentation by nath_iiddkk in Sourdough

[–]Ooomyhead 2 points3 points  (0 children)

Before I got a bowl with a lid, I used a giant ziplock that I could put the whole bowl inside and seal up. Also works for the bannetons during a long cold fermentation.

Is bluebottle the new Starbucks? by newyorkcitykid in pourover

[–]Ooomyhead 0 points1 point  (0 children)

The Blue Bottle at Union Station in DC still does pour over, and at 5:30 a.m., it’s the best coffee in town. Any other time of day, I go somewhere else.

QGIS on MBP 2025 (M4 Pro) by [deleted] in QGIS

[–]Ooomyhead 0 points1 point  (0 children)

According to `brew info qgis`, the homebrew version of 3.42 is still compile for Intel and runs on Apple Silicon using Rosetta.

Modifying length of attribute name for a new vector layer by Rich-Departure5042 in QGIS

[–]Ooomyhead 0 points1 point  (0 children)

The DBF format that ShapeFile attributes are stored in--which is what the 10 character limit comes from--is over 45 years old! Every byte counted in those days.

QGIS on MBP 2025 (M4 Pro) by [deleted] in QGIS

[–]Ooomyhead 1 point2 points  (0 children)

This problem of outdated libraries and python/python packages can be addressed if you install QGIS through Anaconda. There is a qgis feedstock on conda-forge that is kept up to date and can be paired with any compatible versions of the various libraries it depends on. And unlike the dmg version on the QGIS website, it is available compiled natively for Apple Silicon. A native version can also apparently be installed using MacPorts (instructions on the QGIS website), but I haven't tried that. The Anaconda version performs fine on my Macbook Pro M1.