Event JSON
{
"id": "643bb8c87e144b4020ae4a2e26f4c73f2c24f07cf1ab381b0bdcb24204a417d3",
"pubkey": "83e8f3548c469a91a5210a2e47a9b7434d4b51b6ac2f722d490efba92fcd5ad6",
"created_at": 1752001354,
"kind": 1,
"tags": [
[
"imeta",
"url https://media.mas.to/media_attachments/files/114/819/154/926/118/942/original/f60aa6208efdebcf.jpg",
"m image/jpeg"
],
[
"t",
"nixos"
],
[
"proxy",
"https://mas.to/@zekjur/114819160798929039",
"web"
],
[
"proxy",
"https://mas.to/users/zekjur/statuses/114819160798929039",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mas.to/users/zekjur/statuses/114819160798929039",
"pink.momostr"
],
[
"-"
]
],
"content": "I spent literally hours trying to make https://layout-parser.readthedocs.io/en/latest/example/deep_layout_parsing/index.html work in virtualenv so that I can OCR text from newspaper article scans\n\nEventually, I got it to work (with lots of pinning) and thought: this will be a pain to productionize for my #NixOS server! …but ultimately I realized all packages I needed were actually already packaged in nixpkgs! 😅\n\nNow with a flake.nix like https://gist.github.com/stapelberg/45bd82dec9d299fc1cf481c07f0c051d, I have a reproducible (stable!) way of running this program 🥳\nhttps://media.mas.to/media_attachments/files/114/819/154/926/118/942/original/f60aa6208efdebcf.jpg\n",
"sig": "d5ab4fc47c18331d7f4106ac60244ac8006b6a83ba4969310b2cc3afc44bbbda7fbf4552a786ed942167beac945e0e81911b9e7b1c3ebd475f8a618c826924c3"
}