this post was submitted on 19 Feb 2024
2 points (100.0% liked)

Programming

17435 readers
349 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Hi Everyone,

I've gotten a lot of older books on mathematics, physics, chemistry, and dabbled a lot in computational simulation with programs like LAMMPS and GROMACS. I am interested in learning how to make a GUI application that I can use to automate graphing functions, understanding how sensitive a model may be to perturbations in particular parameters, and different ways of visualizing data to help me get an "intuition" on subjects. Numpy, SciPy, Pandas, Matplotlib.pyplot, numba, glob, and os, are libraries I like to use. See Gibbs'/Maxwell's original envisionment of thermodynamic surfaces from the late 1800s.

However, I am a moron with respect to software development. My interests are in the FOSS-sphere of things, but I have never made a piece of software other than botched code to calculate averages, perform PCA, and typical statistics visualizations with distributions, Monte Carlo simulations, and see how this effects the properties of the underlying system of study. I've also glanced at design patterns, know the different paradigms of computing to a basic level, and am willing to suffer for long-term educational gains.

The language I'm most comfortable coding in is Python, but I found it discouraging to start writing a software project, as I assume writing something entirely in Python isn't the best way to ship quality software.

Julia and Matlab are other languages I've written programs in. I've tortured myself with the whole gamut of toolchains/editors like Neovim (and my inability to get my lua.init file to ever work properly), and prefer to use FOSS tools. I can navigate in a clunky sense around a terminal, but whenever I try to configure my .bashrc or modify the behavior of my editor, it results in me chasing down a particular filepath for an hour just to change the color of the text, or rearrange how the text is displayed to the terminal so that I actually can read what is saying. Without color-coating, it's hard to distinguish between directories, file extensions, and so forth, and even more frustrating when you can't get the changes to work.

Essentially, I am a confused orangutan given a mallet.

When I ditched Word for LaTeX several years ago, it inspired me to take my FOSS journey one step at a time, rather than what I did a year ago, where I chucked every proprietary tool into the trash.

I need to actually be able to do work, as one would prefer to drive their car, rather than get out every 5 feet to fix another busted part.

I would like to eventually develop software that ends up in the FOSS sphere, and write programs that do not take up 100GB of space, or have 100s of bandaid layers, countless dependencies, and the whole gamut of issues that plague certain software packages.

Libraries that I've looked at are...

  1. Tkinter
  2. PyQt5
  3. Dear PyGui

I don't particularly care about modern esthetics for the interface. All I care is that the program functions, uses a relatively low amount of resources, and can educate me further about how to rip open a widget, modify the code associated with that particular button, and get a greater control of visualizing concepts taught in math/physics books.

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] etrotta@programming.dev 1 points 9 months ago

Like others said, definitely consider using Jupyter Notebooks for development (note: not necessarily JupyterLab, just Notebooks - multiple IDEs like VSCode support them).

For an actual GUI, I would recommend considering some web dashboard frameworks like Streamlit, Dash or Gradio if you are not felling like spending too much time organizing the layout and making it pretty.

Other than that, I would also recommend taking a look at a few plotting libraries other than matplotlib like Bokeh or Plotly.