News for hackers. Stuff that matters.
Re:VisualBasic.World: A gallery of Planet Source Code progra... by donatj on Tuesday November 17, 2026 @06:29AM (#50530048)
The utter state of modern desktop software is absurd.

I was talking with a non-technical friend who is trying Linux for fun. I was helping him run something in the terminal, I don't remember what specifically, and he asked me "why don't they just add a GUI" to the cli tool we were using.

That "just" does so much heavy lifting. One does not "just" add a GUI. What was once a small, self-contained piece of software becomes a sprawling GUI application with a little bit of actual functionality tucked away inside.

It's such a shame. It really shouldn't be so complicated to develop a GUI that it's easier to bundle an entire freaking browser engine than manage a simple UI.

Re:VisualBasic.World: A gallery of Planet Source Code progra... by WillAdams on Tuesday November 17, 2026 @06:41AM (#50530138)
For Python code there is of course:

https://docs.pysimplegui.com/

and since flet.dev hit 1.0, I've been using it a lot --- I just wish that there was a visual mode which would allow directly editing/re-arranging which would then update the code (sometimes it feels as if it would be easier to visually adjust than find the correct point in the code and change a number or look up, then introduce a new parameter, then re-load).

c.f.,

https://www.folklore.org/Calculator_Construction_Set.html

Re:VisualBasic.World: A gallery of Planet Source Code progra... by anthk on Tuesday November 17, 2026 @06:55AM (#50530247)
TCL/Tk.
Re:VisualBasic.World: A gallery of Planet Source Code progra... by sigzero on Tuesday November 17, 2026 @08:42AM (#50531241)
Yup, I did this with Tcl/Tk all the time. Little one off UIs for things I did often.
Re:VisualBasic.World: A gallery of Planet Source Code progra... by fschuett on Tuesday November 17, 2026 @07:25AM (#50530468)
I made https://azul.rs/ui but it's not perfectly ready yet.

But it only started to be "usable" (forms, dialogs, etc.) at the beginning of October this year (started in 2018).

Re:VisualBasic.World: A gallery of Planet Source Code progra... by cowlevel on Tuesday November 17, 2026 @07:53AM (#50530732)
It wasn't always that hard. VB made it really easy, but it was already quite reasonable in Win32 with a dialog resource editor - not a lot worse than some programs' command-line argument parsing.

However, for some reason, only Microsoft got it right???

I partially blame responsive design. It's so much easier to just put the visual elements in the exact layout you want (absolute positioning) than to make sure it works on all different screen sizes, but we spent years preaching that absolute positioning was the devil.

Blame also lies on all the Linux GUI frameworks for being crap.

Blame also lies on the "bucket of parts" Linux philosophy - Linux IDEs aren't nearly as integrated as Visual Basic was, since their dialog editor (if they have one) is a bolt-on to your existing process, and never something you have to use, and also the file format has to be compatible forwards and backwards and with forks.

Re:VisualBasic.World: A gallery of Planet Source Code progra... by FranOntanaya on Tuesday November 17, 2026 @12:14PM (#50534679)
Visual Basic GUI was basically like turning the methods and properties of a typical OOP class into fields and buttons, it wasn't so detached from the underlying API as nowadays where an interaction has to trigger a lot of different things (many that only exist because of ads, tracking and from having to synchronize front end and back end states).

Which also made it more natural to export an application as a DLL and compose it into another application, since you didn't lose much logic that had leaked into the front end side.

Re:VisualBasic.World: A gallery of Planet Source Code progra... by ptx on Wednesday November 18, 2026 @08:33AM (#50546129)
> I partially blame responsive design. It's so much easier to just put the visual elements in the exact layout you want (absolute positioning) than to make sure it works on all different screen sizes, but we spent years preaching that absolute positioning was the devil.

The layout might also have to be adjusted for different languages, e.g. to make room for "Festplatte" where the original said "disk", and open source software often has translations with gettext or similar, so maybe responsive layout is still less work than manually adjusting the layouts for every language for every change?