LibreMonk

u/LibreMonk@linkage.ds8.zone
52 posts · 43 comments

Recent posts

Recent comments

I was quite confused when I read your post because Tesseract is an OCR engine. Your link helped sort it out.

I think I have come across various fedi web clients that do conversions. I think peertube shrinks videos, IIRC. The auto conversions are useful but they must be conservative in the extent of their changes. The posterizing that I do w/Imagemagick makes a dramatic change so it could not be done automatically by a client or server, as users need to review the output and decide. So I believe the best compression will always require manual effort in order to judge whether the quality loss is still acceptable for the application.

Regarding Tesseract (the lemmy client) -- does that work offline? I’m always looking for a Lemmy client that can briefly connect to sync content and then support reading and writing messages when offline.

It’s important to realise that programming.dev is centralised in Cloudflare, a US-based gatekeeper who is antithetical to fedi principles. When someone looks for an alternative to #Reddit, I imagine they don’t want yet another tech giant. They are looking for a decentralised place that values balance of power.

So I suggest directing people to !emacs@lemmy.sdf.org instead.

In my case I need geocoding because I am starting with addresses, not coordinates.

Nonetheless, I am amazed to hear that chatgpt can write software like that. I am getting out of touch because I boycott Cloudflare, Microsoft, Google, Amazon, Facebook, etc. So I appreciate the tip. Theoretically I could make use of that for my 2nd step of going from DB to GPX file, but I’ll be tempted to try something like gpsbabel first.

thanks. Indeed I just checked and Nominatim is still viable. I may just do that.

Though I must say it’s bizarre that such a common need has no software. Everytime I travel somewhere, reviews for interesting restaurants, beer, attractions, etc, only give addresses, not GPS coords. I would expect by now someone would have been driven mad by all the manual entry by hand.

The phone has a 64gb sd card but I would have to cleanup to get a decent amount of space. Luckily text compresses very well. The app would ideally delete content that’s a year old or something so it doesn’t grow out of control.

There would be no duplication though because a good app would use a proper DB on the disk, not cookies. Kensanada developed a PC app that synchronises with Mastodon. It has a way of only grabbing new content. Though I have no idea if the threadiverse API is as well designed. But isn’t Mastodon and Lemmy both based on the same ActivityPub API?

on The best use of QR codes · c/memes · 1 pts · 1y

A smart attack would be coupled with a clear message. Have the malware clobber them with anti-evil messages and just like that you have a sound free speech defense.

on The best use of QR codes · c/memes · 1 pts · 1y

Not sure but I think QR codes that hold wi-fi creds would more likely be automatically processed by phones. Seems like an adequate attack surface. Maybe dodgy creds could overflow or do some kind of DB attack. Or even legit creds could lead someone to connect to a malicious hot-spot captive portal that the attacker carries.

It depends on which license you look at. E.g. from https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt:

c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.

It was a while since I looked at this but IIRC the BY license was fine in its early versions but none of the others were. Then I vaguely recall seeing links in later versions of the BY license as well (but that may have been hasty reading on my part since i'm not seeing it in the BY 4.0 ATM). Anyway, it’s a mess.

That doesn’t really work. The URL is an inherent part of the CC license. Archive.org might do link replacement but that does not change the license.. it merely corrupts/misrepresents the license. Users of CC-licensed work are still bound by the actual text of the license. IIRC the URL was to refer to something that changes over time, thus making the license dynamic when archive.org works off of snapshots.

I vaguely recall Richard Stallman bad-mouthing public domain in favor of free licensing. I don’t recall the details but I imagine the artist would at least want attribution, which I doubt the public domain ensures.

Of course if we could have predicted his death there are many trivial ways we could have ensured his will is expressed and executed. But it may not be a lost cause.. whoever controls the estate would likely know or believe that he wanted to liberate his work.

One annoying limitation is that the last page and a penultimate page cannot have different behavior in the picturecommand option. I thought I was fucked for ½ a day. But hacked around that by using the pagecommand and nesting \ifthenelse{\AM@page = (penultimate page №)}{\begin{picture}(0,0)\put(50,-50){…}… inside the pagecommand. Makes me wonder what’s the point of having the picturecommand. There is a picturecommand* which only executes on the 1st page, and apparently no equivalent for pagecommand -- but we can test the internal variable anyway.

Someone tells me “look into \scantokens instead of rewriting to a file”. After a brief look, I have to say: No. Fucking. Way. That looks like a rabbit hole that leads to the center of the planet. No thanks.. I don’t need to spend weeks more on this digging through (what looks like) the most raw low-level code that makes assembly languages look like tinker toys.

Low level TeX code really seems like a strange beast. Something you should learn in your early teens while the brain is still highly plastic. I wish I learnt it because I would better understand all the bizarre and obscure glitches I run into with LaTeX. But I think I might be past the point where benefit outweighs the pain.

For the same reason, I suppose you would love text adventure games like Hitchhiker’s Guide to the Galaxy, where you have to come up with your action, as opposed to getting visual aids which come like a loaded question, steering you and somewhat robbing you of control.