• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. How would you write a GUI? Seeking opinions, recommendations, and what to avoid.

      Hi all. I am asking this open-ended question (bottom of this post) because I am considering making contributions to an open-source project that would directly benefit me and other users. Some...

      Hi all. I am asking this open-ended question (bottom of this post) because I am considering making contributions to an open-source project that would directly benefit me and other users.

      Some background:

      I have worked with an engineering simulation software called Ansys MAPDL basically everyday for the last 4 years, in both an academic and a professional capacity. It's not necessarily relevant whether you are familiar to that program to participate in this discussion. The relevant thing is that the GUI for MAPDL is written in Tcl/Tk and I don’t imagine it is going to be modernized (because of more modern, but distinctly different, replacements). This is a screenshot of the GUI for reference.

      Why do people put up with such an old interface?

      The power of the program is not its GUI, but the scripting language that can be run to setup and solve simulations. The program name is really the scripting language name, Ansys Parametric Design Language (APDL). It's somewhat like Matlab. The program also offers an enormous amount of control when compared to the more modern GUI that's been released, since the modern GUI holds a totally different philosophy.

      The older GUI is really helpful in certain circumstances because it will spit out a file containing commands that were used in the session. This is a great demonstration of how to run a command or use a setting/config command, but a lot of newer features are buried in the documentation and aren't available in the older GUI.

      My coding experience

      I know the MAPDL language very intimately, but my experience beyond it is limited to some Perl scripting, and a bit of Python exposure.

      Motivation

      Open-Source Ansys API

      Recently, Ansys started supporting an open-source Python project called PyAnsys. MAPDL is otherwise fully closed source, and this is really the only public-facing API. PyAnsys has basically converted a lot of MAPDL script commands to a pythonic format, hence Python can now be used to interact with MAPDL. This is great for several reasons, but is limited regarding interactivity. Interacting with MAPDL via Python is basically happening in a fancy console via Jupyter notebook or IDE like Spyder. Certain commands will bring up Python-based graphics displays of solid models and results plots, but there isn't a dedicated GUI open all the time.

      The Question(s)

      My question is whether it is feasible to write a frontend GUI to a bunch of python commands. If you were going to do it, how would you do it? What might you write it with? Would you even do it? Is this a stupid endeavor?

      7 votes
    2. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      4 votes
    3. TV Tuesdays Free Talk

      Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here. Please just try to provide fair warning of...

      Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here.

      Please just try to provide fair warning of spoilers if you can.

      6 votes
    4. What did you do this weekend?

      As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their weekend. Did you make any plans? Take a trip? Do nothing at...

      As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their weekend. Did you make any plans? Take a trip? Do nothing at all? Tell us about it!

      7 votes
    5. Who am I?

      I'm constantly torn between things. It's like I never have a strong opinion or stance on things. It's like I don't have an identity or values. This has become difficult to sustain mentally....

      I'm constantly torn between things. It's like I never have a strong opinion or stance on things. It's like I don't have an identity or values. This has become difficult to sustain mentally.

      Example #1. I despise Instagram because of the way it transformed people's behavior and because of its privacy abuses. For these reasons, I refuse to have an Instagram account and I don't participate in it. At the same time, Instagram is admittedly essential in today's social life, so I feel I am missing out.

      Example #2. Sometime in the past, I got interested in climate change. I read books, papers, articles... You name it. I changed my lifestyle to better align with the values I had internalized. I started preaching others about the real threat of climate change, about the need for action by everyone. Now, years later, I don't care about all that any more. I believe doom is inevitable, and that there's nothing we can do about it. So I stopped pretending.

      Example #3. I've been an open source enthusiast for quite some time now. This means I run open source software wherever I can. This idea got to the point where I refused to use any software that was not open source, much like a vegan does with food. No WhatsApp, Spotify, Microsoft Office, ...basically any popular software that everybody uses. Over time, I got tired, and stopped caring about open source that much. I'm even thinking about going all-in Apple now (yes, one of the worst enemies of open source you can think of).

      You should have a general idea of how it works by now. One day I'm a diehard Linux enthusiast, the next I don't care at all. One day I delete my social media accounts, the next I create them anew. Not literally the next day, but there's always an internal conflict or a straight U-turn with regard to what I believe in, or what I stand for.

      Especially examples #2 and #3 could be generalized to any hobby, habit or interest I pick up. They eventually fade out or are replaced by other things. Things I strongly believe in suddenly lose their meaning or value.

      I don't know who I am, or what I stand for. What's wrong with me?

      I'm not even sure I'm saying something that makes sense. Maybe I'm just conflating totally unrelated issues about myself in one single post.

      13 votes
    6. What have you been watching / reading this week? (Anime/Manga)

      What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! Feel free to talk about something you saw that was...

      What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! Feel free to talk about something you saw that was cool, something that was bad, ask for recommendations, or anything else you can think of.

      If you want to, feel free to find the thing you're talking about and link to its pages on Anilist, MAL, or any other database you use!

      6 votes
    7. Recommend me a small SBC!

      So I'm looking to do an improved version of this project from a couple of years ago that rebuilt the dreamcast VMU into an emulator system that could even interface with a modified dreamcast...

      So I'm looking to do an improved version of this project from a couple of years ago that rebuilt the dreamcast VMU into an emulator system that could even interface with a modified dreamcast controller using the original connector. That project was really neat, but it used a raspberry pi zero, which is frankly anemic for running any emulators past the SNES, and I'd like to find one that's powerful enough to emulate the dreamcast itself, but small enough to fit inside a VMU. To that end, my requirements are:

      • Must be of a similar size to the pi zero. Smaller would be better, but it absolutely cannot be more than 40x65mm.

      • Must have a processor at least as powerful as a cortex A53, preferably something more powerful like the A72.

      • Must have a release of armbian (or similar) with drivers for full video acceleration.

      • Must be able to drive a display over SPI.

      • Must be available. The NanoPi NEO Core 2 is pretty close to what I need, if maybe a bit underpowered, but it seems to be discontinued and I can't find it anywhere but aliexpress at double the list price.

      • Composite video out would be nice.

      • Analog audio out would be nice.

      • Availability without soldered headers and large ports would be nice, like the pi zero or nanopi neo.

      9 votes
    8. Thoughts on SSRIs?

      Hello everyone, I recently got put on some SSRI for my worsening suicidal ideation and honestly I can't believe the difference it's made. It's like a version of myself that I find hard to believe...

      Hello everyone,

      I recently got put on some SSRI for my worsening suicidal ideation and honestly I can't believe the difference it's made. It's like a version of myself that I find hard to believe existed, but can draw parallels with the version of me before I got depressed, etc.

      I'm just curious how I should be viewing these changes in me: Are they really me without depression/anxiety or is it a more lurid exaggerated version of that?

      Any other thoughts on SSRIs in general welcome! I'm interested in seeing Tildians' thoughts on them :)

      18 votes
    9. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      9 votes