• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle

  • For small projects, rewriting is often superb. It allows us to reorganize a mess, apply new knowledge, add neat features and doodads, etc.

    This. I’m coding to contribute to a open-source software with very small amount of coders, and with a non-mainstream Domain-Specific Language. A lot of the code I did before has been proven to work from times to time, but they all could benefit from better outputs and better GUI. So, I end up reengineering the entire and that’ll take a really long time, however, I do a lot of tests to ensure it works.



  • Chances are there’s probably something similar to dictionary in Python in your languages or at least it’s a import/#include away. Although I don’t use general programming languages at all, in my used language (G’MIC), I do something like dict$var=input where $var is a defined variable, and this way I can access input by doing ${dict$var} and that’s similar to Python dictionary. In C++, there’s hash table implementation out there via github. That being said, there are sometimes when you don’t need a hashtable dependent on the hashmap, and sometimes, it’s just as simple as basic mathematics to access data.







  • If you have any luck with it, these are what you should put in:

    Here’s some list I have in mind:

    Python specific Libraries:

    • Pillow
    • SciKit
    • Numpy
    • PyTorch

    Independent Programming Language Libraries:

    • OpenCV
    • G’MIC

    Domain-Specific Coding Language for image processing/computer vision

    • p5.js (This is more for creative coding)
    • Processing (This is more for creative coding)
    • G’MIC
    • ImageMagick (This is more of a converter than for computer vision/image processing)



  • And lack of forced indentations. Forced indentations gets on my nerves even if I already gotten used to it. These day, all I use Python is small code snip test, and it’s perfect for that as it strips out braces and other things which allows me to focus on a small code. I did used Python for slightly bigger things than that, but only to assist me with other coding languages, and I mainly used it for aiding into G’MIC scripting (Domain-Specific Language that is absolutely wonderful for raster graphics image processing).