Live data from Hacker News

Guietta – Python module to create simple GUIs

github.com

101–110 of 166 posts

Re: Guietta – Python module to create simple GUIs

#102
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Glade was the best. Drag&Drop, creates a language-independent XML file, which your program loads and populates with events. * Don't have to change the program to change the UI * Don't have to change the UI to change the program behaviour * Easy to include in version control It was almost akin to HTML and progressive JS. I wish there was a GUI toolkit where you would specify what kind of interaction you need, and it b…

Perhaps I'm missing something, but why the past tense for "Glade"? I thought that was still a completely viable thing to use these days, but I confess I haven't done any Linux GUI dev in several years.

Re: Guietta – Python module to create simple GUIs

#104
post #69

Earlier quoted context omitted.

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…

Mind sharing the book’s name?

Alchemy: The Surprising Power of Ideas That Don't Make Sense by Rory Sutherland.

He's in lots of videos, TED talks, etc. if you want to get the cut of his jib for free, e.g. https://www.youtube.com/watch?v=iueVZJVEmEs

Re: Guietta – Python module to create simple GUIs

#105
post #70

Earlier quoted context omitted.

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…

>There's also the old "no-one gets fired for buying IBM" adage at play. You seem to be mostly concerned with CYA here and in the JFK example. >People pick AWS or JFK not because it's the best option but because it's guaranteed by popularity to not be the worst. But this doesn't follow from CYA. It might be the best outcome for you, because your boss doesn't blame you. But it doesn't mean it's overall the best option.…

It might be the best outcome for you, because your boss doesn't blame you. But it doesn't mean it's overall the best option.

Absolutely, and that's the real point. I don't think I disagree with any of your points, but perhaps I am more resigned to the fact that people act how people act. I'm not super experienced in this area (which is why I was enjoying the book in question) but I believe this is all related to the phenomenon of "ambiguity aversion" (https://en.wikipedia.org/wiki/Ambiguity_aversion). I'm interested in how to engineer around (or cheat) these biases rather than present a purely logical argument for one technology (or airport!) over another.

Re: Guietta – Python module to create simple GUIs

#107
Slightly off topic: Does somebody have a recommendation of a toolkit or library for simple data entry and display with Python? Basically I want to replace Excel/Calc for mostly tabular data, because I hate the programming and data access model (e.g. instead of writing B$8 or sum(A9:A23) I would like to have map/reduce function with reasonable variable names). But the presentation and entry speed is much better with spreadsheet software, than when using some ad-hoc plain text format for simple parsing with python.

Re: Guietta – Python module to create simple GUIs

#108

Slightly off topic: Does somebody have a recommendation of a toolkit or library for simple data entry and display with Python? Basically I want to replace Excel/Calc for mostly tabular data, because I hate the programming and data access model (e.g. instead of writing B$8 or sum(A9:A23) I would like to have map/reduce function with reasonable variable names). But the presentation and entry speed is much better with s…

It is possible in Excel to have named cells and to use python. Personally, I think this is better than what you propose unless you want to spend the next couple years trying to make a business out of it.

Re: Guietta – Python module to create simple GUIs

#110
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Actually I started to develop Guietta exactly because using the QT GUI builder (Qt designer) was often too time consuming for simple applications. Designer works great for GUIs with complex layouts. Having an intermediate XML representation puts a lot of distance between your code and your GUI. Sometimes this is good, other times is not. I rant a bit about this at the start of the introduction: https://guietta.readth…

Delphi wasn't like that.

There'a a gap a mile wide between

1) tools like Delphi, VisualBasic (the classic version, not .net), and to some extent, HyperCard

2) GUI builders, which were popularized by Visual C++

#1 doesn't have (visible) layers or abstractions. It's a different way to represent your program. You place a few controls, tie them to actions (code), and that's your system.

#2 is like onions, with lots of messy layers, and tend to be way more cumbersome to deal with than the code itself.

I don't know of modern-day graphical programming systems. I haven't kept up with Delphi, but people who have claim the last useful version is Version 7 from 2002. After that, it went through some messy transition.

Post reply on HN