walthervonstolzing

joined 2 years ago
[–] [email protected] 1 points 1 year ago

What I can't quite make sense of, is how 'James' itself is a diminuitive of 'Jacob'.

[–] [email protected] 1 points 1 year ago

I believe 'Harry' is the Welsh version of English 'Henry', & German 'Heinrich'. ... At least that's the impression I got from Shakespeare's 'Henriad' plays (H. IV 1-2, & H. V)

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Another vote for Tesseract -- just to clarify the terminology, though: PDF is a fragile format best used read-only; so you really don't want to edit a pdf, but make a new one using the same (or cleaned-up) bitmaps and a new ocr text layer.

Now, tesseract is excellent at recognizing glyphs; but especially if the scanned image is a little fuzzy, the layout detection falters; and when it falters, you get redundant line breaks, & chunks of text in the wrong order -- all of which gets incredibly annoying for searching & copying purposes. So if you can spare the time, and the text requires it, you may need to mark regions (paragraphs & titles mainly) on the bitmap image manually. There exist a few frontends to Tesseract that help with a task like that; check out, e.g., https://github.com/manisandro/gImageReader - inside single paragraph blocks of text, Tesseract doesn't get as easily confused; and the text output is in the correct reading order, & w/o redundant breaks.

[–] [email protected] 13 points 1 year ago

Better cite Wozniak as the one who 'made' Apple; but anyway.

[–] [email protected] 2 points 1 year ago

I was thinking 'The Yardbirds' for the first one; though I wasn't at all sure, bcs that didn't take into account the '1 ... 2 ... 3'

[–] [email protected] 16 points 1 year ago (2 children)

Those are Stimpies though. Stimpies of the Ren faire.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah I keep running into similar issues when trying to build pretty much anything on windows; for stuff that can't be 'nicely' configured & dependency-managed through an IDE, windows is pure pain.

It really sounds like PySide would fit your use case better. Check out this website for a great starting point: https://www.pythonguis.com/pyqt6/ -- the author also has an entire book on packaging PySide programs for cross-platform distribution.

As for installing Python itself; I think I'd stick with the plain installer from python.org, and afterwards, pip. In case of dependencies that are hard to get through PyPi, I think anaconda might be worth looking at as well: https://www.anaconda.com/download

msys2 provides a package manager, & several development toolchains; it's an easy way to get native (mingw) gcc & bash on windows; cross-platform programs rely on it heavily, because it saves them from all the 'visual studio' BS: https://www.msys2.org/docs/what-is-msys2/ -- I believe any implementation of GTK on windows requires a mingw toolchain.

[–] [email protected] 2 points 1 year ago (3 children)

Am I missing something?

It's impossible to tell without knowing what specific aspect had failed.

Before we even get to GTK; there are some issues with python wheels under msys2; check out: https://www.msys2.org/docs/python/ -- some wheels just can't be built under msys2 due to various incompatibilities. Not being able to replace such packages with 'pure' python equivalents could end up being a (very annoying) roadblock.

The roadblock that I recently ran into with my simple GTK4 app was unpredictable ids on d-bus interface exports. D-bus does work under msys2; though you have to start the user session manually; d-feet and gdbus also work; though, as always, there's a catch. On Linux I can automaticaly export 'action groups' that belong to GtkApplicationWindow widgets; & their 'object path's show up predictably under the application's path + / + the window's id. This makes it really convenient when you want to add basic 'remote controls' to your widgets. Under msys2, though, I can't figure out how to find those paths; which throws a monkey wrench, so to speak, in my 'remote control' implementation. Granted, d-bus is a linux-native technology; and expecting it to work w/o issues on windows is probably a bit too much.

-- apart from those, I haven't run into any issues with GTK4 under msys2. The GTK3 packages available in their repos also work just fine.

I do agree with the others who recommend PySide, though. Their cross platform support appears to be more robust. Their documentation has been improving as well.

[–] [email protected] 7 points 2 years ago (3 children)

Recently I became aware of 'StarLite' tablets -- the prices are pretty steep, but the specs look really good, esp. wrt the screen.

view more: ‹ prev next ›