Today's lesson: never use move to move data. Use copy + delete.
Today I was moving the data out and in zfs pool since I initially get the parameter wrong, and I want to clean up the mess.
Suddenly, the light goes out. The power is gone. My NAS has a UPS and triggers the shutdown at 70% remaining capacity, but somehow the moving process prevents the system from shutting down, and eventually the battery died, and my NAS lost power.
The good news? ZFS is recovering, by rolling back something, I don't know.
The bad news? The source is deleted but zfs rolling back some pointer discarded the written data. Now I lost the file.
Luckly I have backup covering my ass.
I like this quote.
Source:
The Ridiculous Engineering Of The World's Most Important Machine
By Veritasium
https://www.youtube.com/watch?v=MiUHjLxm3V0
While Nikon doesn't do a great job on focusing (figure 1), it does a great job on VR (vibration reduction, or Image Stabilisation for Cannon and Optical SteadyShot for Sony).
Picture 2 is shot under a low-light condition, which my camera model is not expensive enough to handle it, so I limit the ISO to 6400. If the picture is still underexposed, then I just give up since that means my camera can't capture this scene.
However, with limited light and the shutter speed well below the safety range (usually the safe shutter speed is 1 divided by focal length, in this case, 600mm should use at most 1/600s, which is 1/640s in my camera), it managed to capture one photo that is in focus, and sharp enough to let DXO Photolab to recognize all the details and enhance them.
Amazing. (of course, DXO is also an amazing software)
got my Google takeout file. Looks not bad, at least all Metadata is here. So now I hate Microsoft more.
got my Google takeout file. Looks not bad, at least all Metadata is here. So now I hate Microsoft more.
got my Google takeout file. Looks not bad, at least all Metadata is here. So now I hate Microsoft more.
Deployed immich on my NAS, now trying to download all photo backups from Google and Microsoft.
It's easy to upload your stuff onto cloud, but it's super hard to get them back.
Google requires you to use takeout to bulk get your data in their own format. Microsoft doesn't give you a change, it streams files into a zip via HTTP, it's a very fragile connection....
RE: https://m.cmx.im/@mariotaku/115692722007883794
今天上班的TO-DO List,跟随网友(
✅️ 把电充绿
✅️ 把尿喝白
⬜️ 把事搞黄
Got something for the Spotify recorder.
Instead of connecting java to dbus, which has 1 or 2 seconds of latency, playerctl provides a perfect way for recording when Spotify switched to the next track.
Now I'm recording a play list with w64 (wav but support more than 4GB), then try to slice them into individual wav files. Still having trouble on deciding the start of each track, since dbus is not really real time, I saw 300 to 500ms latency (from Spotify switch track to the script record timestamp).
Ladies and gentlemen, I hereby announce, this is my new co-worker.
**I have a job now!**
I'm a Chinese shitizen, but I generally don't post in Chinese to avoid being suffering from other Chinese.
I'm physically a male, but I don't care how people think about my gender. I can be male, or female, or cat. But if you ask, I'd prefer to be referred to as male. Also, I support LGBT+ people, and I'm a copyleft. I don't think I'm too aggressive in arguing things, but sometimes I do. You should handle it with care.
I post about programming (most time is Java and Kotlin, unless I have a new love), and some random things I find interesting. I also post about my mental health, which is in a stable state of instability, thanks to my parents and Chinese society.
Anyway, if you want to follow me, I'm glad to see you. And, have a nice day.
Alt: @skyblond