Live data from Hacker News

Guietta – Python module to create simple GUIs

github.com

51–60 of 166 posts

Re: Guietta – Python module to create simple GUIs

#51

Based on the very limited documentation it seems to follow a similar approach to PySinpleGUI https://github.com/PySimpleGUI/PySimpleGUI PySimpleGUI is indeed simple and quick, not very elegant but useful for small utilities.

Yes, I was inspired by PySimpleGUI (and say as much in the introduction: https://guietta.readthedocs.io/en/latest/intro.html ). But I felt that PySimpleGUI did not go far enough in making things simple. It also supports multiple backends, so that may be a reason to keep things more structured. Guietta is just a thin wrapper over QT.

Re: Guietta – Python module to create simple GUIs

#52
post #43
post #32

Earlier quoted context omitted.

Ah I came to comment this. Loved the GUI builder in Delphi, it's where I cut my teeth learning to program as a teenager. Since then, I've seen .NET within Visual Studio almost get to the same quality we had with Delphi in 1995, but still way off. Now that everything's a web app wrapped in something like Electron, it should be so much easier to have tooling like this, but yet we're all still building hugely complicate…

I personally think the real reason those types of tools seem less common and popular today is that people remember for example the reputation that Visual Basic programmers got (by the way, I was one). Basically, any really convenient RAD/GUI tool has an association with beginner programmers or even users. The last thing programmers want to be identified with is a user. Programming is manipulating cryptic colorful tex…

I believe that reframing the matter in terms of user empowerment might be the way forward. To create tools that help casual users accomplish tasks they might otherwise have needed a programmer for is to empower users. Excel is a classic example of user empowering software, as it allows people with the self-image of "user, not programmer" to effectively write programs, even if they may not recognize it as such. I think this reframing might help because scoffing at "user empowerment" would make somebody look like a jerk.

Re: Guietta – Python module to create simple GUIs

#53

Earlier quoted context omitted.

Popularity shouldn't be the deciding factor for tools of any kind.

Why not? I mean, it shouldn’t be _the_ deciding factor but it certainly should contribute greatly to the decision. Tools get popular for a reason. You get community support and a test-of-time guarantee that whatever you invest in today is more likely to last compared to the niche choice.

>"Tools get popular for a reason"

Sometimes/often for completely wrong reason. And even if the reason was good in particular context then suddenly the tool gets dragged to be used well beyond the original intent.

Re: Guietta – Python module to create simple GUIs

#55
post #23

_ is typically used to i18n strings with gettext, it seems like poor naming for a layout-related function like a spacer. Apart from that, this seems to be a wrapper on top of PySide/QT to speed up development of basic forms. I don't find it particularly attractive, I have a feeling one will have to drop into QT as soon as requirements get slightly complex. Then again, if it gets more people to approach QT and desktop…

from guietta import _ as z

Re: Guietta – Python module to create simple GUIs

#56

Earlier quoted context omitted.

Popularity shouldn't be the deciding factor for tools of any kind.

For personal projects. For engineering managers, popularity of a language or a framework is a significant consideration from resourcing perspective. It is the driving force behind many migrations off Perl, i.e. inability to hire Perl developers in sufficient quantity to continue supporting Perl-based backends.

In my other life I used to manage bunch of developers while still developing myself. My criteria for hiring them generally was not their proficiency in particular tool but ability to grasp programming concepts in general and ability to grok any particular tool in short time. Practical experience in particular areas of course was a big plus.

Over the time this strategy proved beneficial. My team ended up having the highest salaries and bonuses in the company along with being given most interesting projects (developing new products from scratch as a rule).

I still went on my own after some time as I could not really tolerate that employer/employee style of interaction.

Re: Guietta – Python module to create simple GUIs

#57
post #6

Earlier quoted context omitted.

Lazarus(open source and cross platform) is there, alive and thriving, actively developed and used. https://www.lazarus-ide.org/

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

It takes many years and many people to build tools of that quality. Practically speaking it is way more easy to learn new language instead. I have no problem using Delphi and Lazarus for desktop applications. Saves me big amount of time.

Re: Guietta – Python module to create simple GUIs

#58

If you want to present GUIs from shell scripts, I highly recommend zenity and/or yad: https://gitlab.gnome.org/GNOME/zenity https://github.com/v1cont/yad

Would have loved few examples of GUI on the project repo like in the OP repo (or) I didn't see where I should have been looking.

Re: Guietta – Python module to create simple GUIs

#59
post #19

Great idea! Tkinter always looks a little dated and PyQT is more than my brain wants to deal with when I need a simple GUI.

> Tkinter always looks a little dated "A little"... it's straight outta the '90s. I am as nostalgic as anyone but even I don't particularly long for that æsthetic.

A true nostalgic won't give a shit on tk aesthetics but functionality. Changing the font is one line away.

Re: Guietta – Python module to create simple GUIs

#60

Earlier quoted context omitted.

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

Popularity shouldn't be the deciding factor for tools of any kind.

I always used to agree with this. But I've been listening to an audiobook that discusses this very topic and it seems there are good reasons for going with the most popular option in situations where you're aiming for the least downside rather than the biggest upside.

One example given is that if you're booking a flight for an executive "to New York" you should pick JFK, not because it's the best option, but because it's the most popular.

The reason is that if you pick Newark, say, and it all goes swimmingly, the best you can hope for is a "thanks!" .. whereas if there's a delay or some other problem, the person is likely to blame you for picking "a weird airport" (this story comes from a British perspective – I'm sure Newark is better known amongst Americans.. to reverse the story, it'd be like an American flying into Gatwick instead of Heathrow). If they got delayed at JFK, they're more likely to blame the airline, etc.

I'm thinking of digging into this a bit further as I think some of this explains why certain programming languages, tools, and services grow in popularity while others don't. AWS feels like the JFK of clouds, for instance. There's also the old "no-one gets fired for buying IBM" adage at play.

People pick AWS or JFK not because it's the best option but because it's guaranteed by popularity to not be the worst.

Post reply on HN