Hacker Newsnew | past | comments | ask | show | jobs | submit | JoBrad's commentslogin

I rename all of my photos upon import using the created date, formatted as `YYYY-MM-DD kk:mm:ss`.

But it would frankly be great if most file browsers just let me sort photos based on metadata. But then I just end up in a dedicated photo browser, instead.


I found that example to be humerous, but specifically compared to the goals:

> Provide as few ways as possible—preferably one—of representing something.

Very Pythonic. Especially since representing a dict already has 2 ways, on the first page!


> Especially since representing a dict already has 2 ways,

And lists.

> Pythonic

Pythonic in the way that Python's 'There should be one...' is expressed through the existence of tuples, named tuples, dataclasses, regular classes and attrs (not part of the standard library but it seems to be as much of a goto as requests is)? ;)


You forgot to split out collections.namedtuple and typing.NamedTuple.

I love Python to death, but will readily admit that in no way is there “one obvious way” to do things.


Also see string concatenation.

I want a small phone, but in a different dimension than the one Apple is optimizing for. I don’t care if the phone is a bit chunky: I just want the height and width to be smaller. The Walkman w800 series was a fantastic size.


Still have my W800. It was a marvel at the time, still is really. The only thing that irked me what the proprietary connector - which has perished now.


This is such a big win for community stalwarts like the EFF who have pushed for right to repair laws.


My guess would be: it's primarily due to existing EU right to repair laws and even more so due to incoming ones.


Given the overall rancor around topics like this, I feel it’s necessary to say I’m approaching this as a discussion, and am open to evidence that I’m wrong.

In my opinion your item 2 is mostly a conflation of “people want to enjoy the same rights that others have enjoyed” and a recognition that “separate but equal” doesn’t actually work. A prime example is gay marriage, where we went from “don’t ask don’t tell” to a brief national discussion of “civil marriages” to simply recognizing that a marriage is a marriage, and anyone who is married should get access to the same rights as others who are married.


I don't see a contradiction. I'm happy for people to seek changes to the law that makes their lives better. But it is still seeking change to the law. I don't know the American system well but didn't gay marriage require legal change? Or at least legal challenge leading to precedent?


It was more an equalization of the law so that it applies equally to all people. Absolutely nothing changed, legally, for the vast, vast majority of Americans.


I would suggest you may be well read in certain areas, but not widely read. Blinkers are not an anachronism, and while Michaelmas may be less widely known than Christmas, it’s certainly still celebrated.


Agreed. The OP's declaration that this is a difficult read pretty much proves the point of the article.

Especially if you were entering university as an English major, it seems like table stakes to have a conceptual understanding that not all English is going to be in simple, modern terms. That is you're going to be reading books from a variety of time periods and cultural origins, you might need to develop an understanding of those sources.


As I understand it, it’s more than that: there are small “inverted pyramids” that cause the water to condense more rapidly, to extract even more heat from the system.

https://youtu.be/qAZ-q3KmDHM?si=pb08RMHEAA4o94xF


texture etc to promote condensation and to wick (without a rope) condensed liquid back to the hot point are also used in heat pipes.

I agree with the other commenters that "vapor chamber" is a kind of heat pipe, since "heat pipe" doesn't really impose constant radii by definition.


> Call me when `systemctl pull ...` fetches the binary and everything else needed to run it _and_ puts the .service file in the right spot.

That would be pretty awesome, actually.


I can already hear the systemd-haters complaining about The One True Unix Way™ is to have tools that only do one thing even if that leaves holes in their functionality.

That seems like a `machinectl` task though.


Isn't this literally what podman-systemd does? You don't exactly run a command to pull a container, but just like systemd you place a config file in the right directory, tell podman-systemd to reconfigure itself, and run the service the standard systemd way.


> Isn't this literally what podman-systemd does?

That was my point, basically.

You have two options:

1) the usual `curl` or `wget` to fetch the binary and the lib(s) and all the work of validating and putting them in place and the like and _then_ you can use a systemd/.service file to set up controls for the bin

2) podman pull and then either ask podman to make a .service file for you or write your own

because only one of the two approaches has solved the package/distribution issue, containers are _not_ "less relevant given that systemd can twiddle the same isolation bits"


What "validating" does docker/podman pull do that is in excess of a curl of a file?

One of the advantages of a real package manager is that it checks signatures on the content that is downloaded. The supply chain on a linux distro's package repos is much harder to break into than typosquatting into a docker registry somewhere.


> What "validating" does docker/podman pull do that is in excess of a curl of a file?

Every single thing has a sha hash so verifying that I actually downloaded what I meant to download is easy. This gets tedious if I have to `curl https://github.com/someUser/someProject/release/latest.tar.g...` and also get the `tar.gz.sha256` file (if they even publish one ...).

Curl supports resuming a partial file (assuming the sending server also does) but it can't "know" ahead of time that the first 1/3 of the file I am downloading has already been fetched because it's also used by $someOtherArtifact.

> One of the advantages of a real package manager is that it checks signatures on the content that is downloaded.

So does docker/podman.

> The supply chain on a linux distro's package repos is much harder to break into than typosquatting into a docker registry somewhere.

Perhaps. For every "secure" package repo, I'll show you a much more up-to-date package in AUR/Nix.


That would mean systemd entering package management territory. Now THAT would not be well received.


IMO, docker layering over the OS's built-in package management and update lifecycle in an incompatible ways is far worse than systemd replacing the init system and other service management functionality.

Back in the old days (late 90's, early 2k's) as a sysadmin I'd often write scripts to chroot or in other ways isolate services rather than run them as root, so extending the init system to handle those features feels like it's a logical extension, not a incompatible replacement.


systemd-sysupdate already exists. systemd won't run the software repository of course, but with systemd-sysupdate together with some overlay mounts you can get Steam Deck-like ease of use system updates.

For software management in R/W environments, there's the podman + systemd combo that'll let you run containers like normal systemd services.


The tradeoff of “batteries included” vs not is real: Python developers famously reach for community libraries like requests right away to avoid using the built-in tooling.


I wasn't even aware there _was_ built-in tooling...


And yet, there are times where all I've had access to was the stdlib. I was damn glad for urllib2 at those times. It's worth it to have a batteries included stdlib, even if parts of it don't wind up being the most commonly used by the community.


The fact that there is a 'urllib2' implies that there's a 'urllib', which tells us something pretty important about the dangers of kitchen-sink standard libraries.


I wonder if it’s related to import sources, and maybe the speed of that hardware. They are still successfully importing the photos into the Photos app, just not from the camera.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: