Live data from Hacker News

PysimpleGUI

github.com

131–140 of 159 posts

Re: PysimpleGUI

#131

The examples look straight up taken from the 90s esthetically [0]. Don’t get me wrong, for prototyping/internal tools that need a GUI to be usable by people not tech savvy enough to use a CLI it’s perfect, but what about the cases where you want things to look good? While native UI are always best for performance etc, I’ve always found them harder to style than a webpage. What is the equivalent of components (listed…

If looks are a top priority, web pages seem pretty hard to beat.

They also give built in separation of frontend and backend, and the option of remote access should you later need it.

Plus, you can use them just like a native app: Just make a tiny minimal tkinter or similar kind of GUI, that just has an "Open browser UI" button.

You can even secure it against daemons running as other users on the same machine, by having the launch button put a token in the URL, but I haven't seen this done anywhere.

Re: PysimpleGUI

#132
post #15

Earlier quoted context omitted.

As a user, definitely not. Web apps are slow, require an internet connection, don't integrate nicely with my OS, and generally inferior to native GUIs in just about every way.

Let's not forget that a web app, in general terms, requires a web server to run. Most users don't have the expertise or patience to run a server (not to mention all of the risks that come with running one).

SyncThing puts the server inside of the GUI app. The basic features are in the GUI, with a button to launch the web UI in the browser.

No server admin work needed!

Re: PysimpleGUI

#133

Earlier quoted context omitted.

Let's not forget that a web app, in general terms, requires a web server to run. Most users don't have the expertise or patience to run a server (not to mention all of the risks that come with running one).

SyncThing puts the server inside of the GUI app. The basic features are in the GUI, with a button to launch the web UI in the browser. No server admin work needed!

But SyncThing exposes users to a risk that they may have not been prepared for. It's a great tool, but it's not a tool fot the masses.

Re: PysimpleGUI

#134
post #101

Earlier quoted context omitted.

Why do you post that quote? I think there must be some implied meaning I'm not getting. Is there a way to use dictionaries to set properties and nest widgets in a similar way to my code example?

The second example shows setting text through a dictionary.

No, it showed setting text through a different method that does not use a dictionary. (Maybe it uses one in its implementation, but we're taking about the interface here.) There is no usage of Python dictionaries anywhere on the whole page.

I have to admit, the alternative method used in the second example is interesting, it's probably just as good as my suggestion in most ways. But ape4's quote about dictionaries still doesn't make sense to me (both on its own or in context in this conversation).

Re: PysimpleGUI

#135
post #120

We had a work requirement to start logging hours in Jira. I hated having the website open, it was slow to find the Jira I was working on, find the link for logging hours and adding a comment. I wanted a desktop app that had a list of issues assigned to me with buttons to add comments and work log hours. I messed with Tkinter but was struggling for awhile just getting it to look…nice. I stumbled on PySimpleGUI and sud…

> We had a work requirement to start logging hours in Jira They told us they'll start doing this at my job. I started looking for a new one.

Logging detailed hours is now basically a requirement nationally in the US because of the messed up change to the tax code that makes companies separate out maintenence development from greenfield development.

Re: PysimpleGUI

#136
post #119

PyGTK is not hard to use. ChatGPT can help you generate an app.

Good luck packaging that on Windows though. PyQt generally works better if you need cross-platform support.

I stopped caring about Windows long ago.

If my software doesn't build on Windows, it's probably by design.

Re: PysimpleGUI

#137

We had a work requirement to start logging hours in Jira. I hated having the website open, it was slow to find the Jira I was working on, find the link for logging hours and adding a comment. I wanted a desktop app that had a list of issues assigned to me with buttons to add comments and work log hours. I messed with Tkinter but was struggling for awhile just getting it to look…nice. I stumbled on PySimpleGUI and sud…

It seems that Jira is so unbearably universally slow that lots of people tries to interact with it via some custom made tool.

A friend of mine told that one of his jobs he developed simple internal Qt client to perform basic tasks in Jira.

And when I was required to track my tasks in Jira I created a bunch of custom console scripts make all changes via https://github.com/go-jira/jira .

Re: PysimpleGUI

#138

Earlier quoted context omitted.

SyncThing puts the server inside of the GUI app. The basic features are in the GUI, with a button to launch the web UI in the browser. No server admin work needed!

But SyncThing exposes users to a risk that they may have not been prepared for. It's a great tool, but it's not a tool fot the masses.

What risk? Other users on the same system accessing the web UI?

That can be mitigated with a token included in the browser launch URL, but it seems like a pretty unlikely vector anyway, someone would have to write code that specifically knows about SyncThing, and then convince you to install it, and then you'd have to not use password protection.

Re: PysimpleGUI

#139
post #126

Earlier quoted context omitted.

Python is such a nightmare to package and use for users, especially for Gui, that even web apps can be better.

That's the myth, but really, there are several ways of doing it that are really quite easy. PyInstaller is a good starting place. There are several others with similar capabilities.

That's a very limited solution though and it's super incomplete . Last I tried, the user needed to install python first and you can't bundle it. And it's not a myth, it's something I have experienced myself. Pyinstaller falls apart the moment you try to pull packages that are what make python useful in the first place for tons of people (numpy, pytorch, etc).

Re: PysimpleGUI

#140

Earlier quoted context omitted.

But SyncThing exposes users to a risk that they may have not been prepared for. It's a great tool, but it's not a tool fot the masses.

What risk? Other users on the same system accessing the web UI? That can be mitigated with a token included in the browser launch URL, but it seems like a pretty unlikely vector anyway, someone would have to write code that specifically knows about SyncThing, and then convince you to install it, and then you'd have to not use password protection.

Opening your computer to network. Incorrectly configured folders for sharing could end up wiping out your data (no warning or chance for recovery, unless you configure file versioning- which is confusing AND off by default). WebUI not configured with a password by default, allowing multi-user systems to access your files.
Post reply on HN