crunchpaste

joined 2 years ago
[–] crunchpaste 2 points 2 years ago

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.

You seem to be right. It finally compiled successfully a few minutes ago, installed pygobject successfully, following the instructions and it claims the gi module could not be found, even though pip lists it as installed. I really don't know how Windows developers deal with such things. Do they just avoid known bad libraries?

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

I've decided on following the exact steps in the wingtk guide, as my attempts to deviate from them resulted in quicker failure, hence installing it through choco.

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.

While I'm sure Qt may be a better option, this project is a companion app to my PhD thesis to make the algorithms discussed somewhat easily available to a somewhat general audience and is completely unpaid so I really don't feel like learning a new GUI framework for it. Maybe I'll make a quick and ugly pysimplegui UI for Windows users.

Anyway, I'm sorry for ranting. Thank you so much for the suggestions and explanations! It's really appreciated.

[–] crunchpaste 2 points 2 years ago (2 children)

i got a Fujitsu D556/2 (SFF as well) exactly because it seemed to have an optical drive bay. Turned out it does not have one, but some double sided tape and ugly cable management solved the issue for me :D.

[–] crunchpaste 1 points 2 years ago* (last edited 2 years ago) (2 children)

Tagging @[email protected] as they've asked the same question.

Last night i was failing because of some VS components missing (iirc cl.exe, which was actually not missing at all).

Today, I've reinstalled Windows 10, to get a fresh start and follow wingtk's guide. First of all it failed as "choco install python" (as mentioned in the guide) installs python 3.12, which does not include distutils.

After that I've tried uninstalling python and installing python --version 3.10.11 with choco and got the same error as gvsbuild still defaulted to python 3.12, even after a few reboots.

Not knowing how to clean it up, decided on reinstalling Windows again, and installing python 3.10 only. Half an hour ago the build process failed for some (probably) network related issues ( ).

Currently I've installed a driver for the wireless card instead of using the built in one, and the build process has been stuck at "Opening https://download.gnome.org/sources/pango/1.51/pango-1.51.0.tar.xz ..." for at least the last half hour.

As for msys2, I haven't went that route yet, as I can't quite understand what it is and what it does. I can understand even less how to package a package installed with msys2 using either PyInstaller or nuitka, to have a (hopefully) single file executable, as I'm trying to distribute the app to my students, which are extremely non-technical.

I wish there was something like Wine for Windows.

[–] crunchpaste 2 points 2 years ago* (last edited 2 years ago) (4 children)

Mobile rack is just what these things seem to be called. Basically it's just a cage that fits multiple 2.5" drives into a CD/DVD drive bay.

[–] crunchpaste 4 points 2 years ago

Yes, a while ago, at the beginning of the project, and eventually decided against it. GTK, despite it's terrible documentation for python was just a more robust desktop app framework.

I quite heavily rely on sliders, dropdown lists and a file browser and while it's possible to do that in pygame, it's just too clunky.

[–] crunchpaste 1 points 2 years ago

Yes. For some reason yesterday, while trying to use the demo it just returned a login screen. Strangely, today it just logs in automatically.

[–] crunchpaste 1 points 2 years ago (2 children)

Is it just me or there are no login credentials for the demo listed anywhere?

[–] crunchpaste 2 points 2 years ago

Maybe give FileBrowser a shot. It's not very fast, but it's very easy to setup and keeps your folder structure intact.

[–] crunchpaste 2 points 2 years ago (6 children)

If RAID is what you're after, don't mind the premium for SSD storage and have available 5.25" bays, I highly recommend 5.25" mobile racks. The one I'm using is a a cheap 4 drive one, but if you want something more premium there is always ICY DOCK.

[–] crunchpaste 4 points 2 years ago

Exactly. Just as a real world example for OP, my home server has an i5 7400 with the same TDP. At idle the whole system draws around 10.5W, measured from the wall.

[–] crunchpaste -1 points 2 years ago* (last edited 2 years ago)

Completely agree with you. I'm definitely underqualified to speak of this, as I have no children, but I have a masters degree in pedagogy, started a PhD in pedagogy years ago that I never finished and briefly worked as a teacher, but I've never once in my life saw as little as a proper article with any proof that belief in Santa is in any way beneficial to a child's developement.

Moreover I honestly believe it's detrimental. Such belief often leaves children in poor families disappointed and resentful when they see their friends get much more impressive gifts. On top of that such belief leads to ungrateful and entitled behavior in children as they believe they are owed a present, without understanding the sacrifices their parents have to make to buy this present.

Tldr: Please don't make your kids worship capitalist mascots, if you want them to have a magical childhood just read them a book or spend quality time with them.

[–] crunchpaste 39 points 2 years ago (5 children)

I would love to have an open, hackable, linux-based eBook reader.

view more: ‹ prev next ›