Jump to content

hurodal

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by hurodal


  1. On 4/15/2022 at 5:58 AM, Joseph MItzen said:

    Python is a language that has over 360K open source libraries available in its package manager, hence there is very little need to reinvent the wheel, and the Python Package Index has over 360K wheels. Most of those 360K libraries are written in python. JP Morgan revealed they had 35 million lines of Python code when discussing porting Python 2 code to Python 3, and Dropbox has stated in interviews that it has 4 million lines of Python code. Python isn't merely a wrapper for C++. Because it can be the ultimate glue language (wrappers exist for most languages) doesn't remotely mean that's all it's good for.  For instance,  Python powers some of the most trafficked sites on the Internet as well, including Reddit, Instagram and Pinterest. 


    This is simply incorrect. The language has many features that reduce the need for code (not the least of which is dynamic typing). Python guru Raymond Hettinger has said that any step that can be expressed in a single English sentence should be able to be written in a single line of Python code. I've personally ported many older Delphi programs to Python. Admittedly Delphi has added many nice things to require less code (such as type inference) since those programs were written. But using Delphi 5 to 7-era codebases as a metric, I found that the Python savings grew larger as the Delphi code size increased. The largest program I converted had the biggest line count ratio difference, with the Python program being 1/6 the number of lines of the original Delphi program. 

    Thanks Joseph, your message is really useful. Although I don't have knowledge of Delphi nor Python I understand that porting the code can be a good idea, not just for its technical advantages but because of the highly spreaded knowledge out there, and finding people interested in this project is the key to make it survive.

    There aren't free softwares (Gui based) to make ICC color profiles out there and keeping the only alternative is important.

     

    As you said, CoCa is simply a GUI that builds a command line to use to call a C++ program, Argyll, that indeed does all the work. So, wouldn't it be so hard to port, right?

    Another question for you experts: I know there are many languages out there. For this simple GUI program, what language could be the best choice to port to if the main goals are:

    - free or cheap license to program it

    - easy to contribute by several people

    - maybe easy to compile to Mac & Linux?  


  2. 22 hours ago, Vincent Gsell said:

    As I see it (but short study, I may be wrong), the core of the program build a ".bat" file by adding command lines (from the UI data), and then executes it. (with argyll external binaries)

    Then you know a lot more than me. But yes, as it relies on Argyll and this program works with command line it makes sense.

    22 hours ago, Vincent Gsell said:

    The program has (a lot of) dependencies throught commercial components. (TadvSmoothpanel (TMS software), TimageEnVie (ImageEn), TpLsController (Precision Language Suite)

    I was told this by the author:

     

    For building CoCa I used some additional free and non-free components. I list them below:

    Free additional components:

     

    Non-free components:

    Also, to create MS Windows installer I used Inno Setup – a free package that you can download from https://jrsoftware.org

    22 hours ago, Vincent Gsell said:

    Delphi (With an "I" not an "Y" !) is a commercial product, yes.

    But you have delphi Community Edition, which is quite complete and can be used for non commercial product for free.

    Great to know. something to consider indeed!

    22 hours ago, Vincent Gsell said:

    Very sorry for the delphi world, but as I see it, if "multilingual" stuff and "UI" stuff is not important for you, yes, it can be rewrite in python :)))) 

    ---> Delphi has been used here to give to the product a cool UI, imho

    Well, the UI with all those 'floating' buttons and all that to my taste is something more of old desing from the 2000s. I'd prefer a more slick design without bells and whistles. If it's a tiny program, requires an expensive license to develop and can be translated to a cheaper and more spread language, translating it is something to consider...

    But... what language could be better. What's the main point of the main languages out there? What are their advantages and drawbacks?

    22 hours ago, Vincent Gsell said:

    Github is a SCM

    What's an SCM? I guess S for source and C for Code...

    Thanks for the kind help!

    • Like 1

  3. 20 hours ago, Vincent Gsell said:

    :)))

     

    Hugo : 
    I like photography, but I don't have too much time too, but the project looks interesting !!

    Note: on the website you provided, the sources are not downloadable (Broken link)

     

     

    I also allow myself to try to "translate the joke" of Frost to help you, Hugo (As I understand, your are not developer) :

     

    - Python is a language that mainly calls libraries, written in languages like c, c++, pascal (or any other archetypal language) 
    - Python therefore allows easy access to an underlying complexity. *But*, this complexity is hidden in libraries. No magic.

    - So, in your case, rewriting in python what your program does is total nonsense : It would it be 1000 times slower, it wouldn't be necessarily simpler, and it would be as verbose as it is now. And many times more weak, technically/support speaking.

     

     

    Ultimately, you would have to make a library of the "business" points of your program, then, it'll allow an "easy" access with python. That would make sense. But that's up for discussion, and it more a strategic question.

     

    That said, in your case, I would rather advise to begin to put your project on github (or other), in order to potentially interest other devs?

     

     

    cheers, and good luck for this nice project.

     

     

    Hi. Yes, I was aware but I just uploaded the HTML and did not have time to update it and upload the files somewhere. Now is updated and with working links.

     

    Thanks for the explanation. Although I'm don't have knowledge in programming, I still remember BASIC from my Spectrum 48K and a few visual basic that I learnt many years ago, so I got the joke. Anyway as I explained, I was told that, not my words.

     

    I don't know what's Github, but if you explain me a bit I'm wide open to collaborating work.

     

    I was told that Delphy programming requires a quite expensive license (around 3000€). Is that true?

     

    Thanks!


  4. 21 hours ago, dummzeuch said:

    Is the source code available in an SCM somewhere? That would be the very first step.

    (No, I'm not a photography enthusiast and I haven't got the time for yet another open source project.)

    Yes, it is available, but not yet. I have the files but all together and I'm still waiting for some explanation about what the source code files are.

    [update] I just uploaded the files and updated the links.


  5. Hi there,

     

    This is my first message here.

    I'm here because I have been given all the resources of an open-source project called CoCa (ICC Color Camera Calibrator) which is  a software that makes ICC color profiles for cameras and scanners. His author is getting old and cannot continue it so I want to continue. My problem is that I know nothing about Delphi nor programming (other than BASIC that I learnt as a child with my Spectrum 48K) but I do know about camera profiling and color management.

     

    This is the original webpage of the project (cloned into my server) so you can see how it looks and works.

    https://www.hugorodriguez.com/calibracion/coca_web/coca_page.html

     

    I'm looking for someone that loves photography and digital imaging and delphy to continue this project.

    I've been told that a good step would be to convert this code to python or other language that doesn't need so much text (as delphy) to make it more easier to work, but these are not my words so I cannot say.

    Please if anyone likes this and want to help to this open-source project, contact me.

     

    Best regards,

    Hugo Rodriguez

    coca.jpg

    • Like 1
×