En 2 horas, mi charla sobre #Python #packaging: "Lo estás haciendo mal" 😜
https://www.meetup.com/python-madrid/events/276438748/
(Quedará grabada en YouTube)
Oh yeah, and I just realized — there are two pediatricians that asked about the medical records and I gave up on them because I only called them because the records were taking so long! Had I actually abducted the child, this would keep him *away* from mandated reporters!
So basically this actually is more likely to keep abducted children out of the hands of someone who might notice if something was wrong while not actually catching anyone abducting children, and has negative side effects for the vast majority of children. Bravo, CT. 👏
And mind you these are the same people who refuse to give your kid a vaccine unless you are a patient of theirs. They could, you know, catch the flu in a 30 day delay.
I grilled one of these people and they said their office policy is that they need it because "children come from wherever these days". When I asked what the fuck that means, they said, "You could have abducted the child!" It made me laugh out loud.
How many child abductions would be caught by requiring someone to fax over a *child's medical records* (they seem trivial to fake even if you don't have them), as opposed to like.. ear infections doing permanent damage because the child has no access to medical care.
@schlink If you are sticking to the standard library, argparse.
If you are willing to take a dependency, I like click: https://click.palletsprojects.com/en/7.x/
I have never used it, but I've also heard good things about typer, which is basically "click, but based on the type hints for your functions": https://github.com/tiangolo/typer
Click is particularly helpful if you want to have subcommands, e.g. "myprogram add" and "myprogram remove".
Fun fact: This is also a great way to solve "spot the difference" pictures, because when you treat two basically identical photos as a stereogram, you get that "shimmer" effect on anything different between the two, making the answer obvious: https://www.funwithpuzzles.com/2017/02/spot-differences-picture-puzzle-tutorial.html
You can get something of a sense for how it looks by looking at the 45° and 135° photos side-by-side, then letting your eyes unfocus until the details line up like a stereogram (e.g. magic eye puzzles).
Here are two pictures I've stitched together to make that easier:
Around mid-morning, though, it seems that a lot more sunlight in the sky is scattered off the atmosphere, which causes it to become polarized, which gives the sky a very strange appearance.
Here's the sky at 11 AM in CT with no filter, 45° filter and 135° filter:
For some time I've been interested in what the world looks like with a different sensorium, so I was curious to know what the world would look like if we could see the polarization of light. To try it out, I bought these glasses and started wearing them: https://www.amazon.com/gp/product/B017V9VQ8C
They are linearly polarized like polarized sunglasses, but the polarization of one eye is 90° off the other. The result is that unpolarized light passes through unmodified, but linearly polarized light shows up differently in each eye, which gives an interesting "shimmer" effect.
Usually the world doesn't look that interesting with them on, TBH. For most of the day, the only polarized light you see is reflections, so your attention is drawn to cars, plastics and other man-made things.
@freemo Not gonna lie, I'm jealous of my cat in a way, since I've got him on a fixed diet and he has no way to cheat on it.
I need to exert "willpower" when *I* go on diets, and he just needs to wonder why no one around him is giving him food when he's obviously starving 😅
@datatitian What lake is this?
Also, earlier this month I finally got a picture of a red-breasted nuthatch!
I've been hoping to get a photo of one of these ever since I thought I saw one during PyTexas 2020: https://qoto.org/@pganssle/105091007608910051
@benoit If you have a second phone the Google translate app has an AR type mode that might help.
If possible, it would be interesting to collect a bunch of performance stats for my computer use over the course of a few years to see how often I bottleneck on things like "hard drive read/write speed". Not sure if it's worth my time and $100 to replace this SATA with NVME.
I suspect that in almost all cases where I'm reading to or writing from the hard drive, the bottleneck is somewhere else — e.g. network, a drive I'm transferring to/from, speed to parse or serialize whatever data I'm reading/writing.
I imagine my most likely bottlenecks on IO would be during start-up (which is rare and I don't find it especially slow anyway) or if I'm reading/writing some memory-mapped file (can't remember the last time I've done this), but it'd be nice to get real data on this.
Of course, once I took my laptop apart to install the new hard drive I realized that my current SSD is NVME M2 and I don't even have a SATA cable for this... 😅
I ordered one, we'll see if I notice a drop in speed for any of the tasks I do regularly.
This looks more like what I was looking for at the time: https://codecalamity.com/encoding-uhd-4k-hdr10-videos-with-ffmpeg/
I've written a little Python script wrapping the advice here and it seems to be working very well (though I haven't tried it on any non-HDR and non-x265 content...)
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.