Jump to content

Mike Torrettinni

Members
  • Content Count

    1509
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Mike Torrettinni


  1. 3 hours ago, gioma said:

    Sorry for the outburst, but it's really frustrating to work like this.

     

    I agree with your conclusions and as said above, it's been the same with small improvements for years, so I just accepted it.

     

    I use these 'tricks' on a daily basis and consider them as part of development workflow:

    - highlighting words fails when code is folded, so I unfold all the code in unit I work on

    - use Kill task to kill LSP multiple times a day (https://stackoverflow.com/questions/74164165/is-there-a-way-to-setup-a-shortcut-to-re-run-the-delphi-lsp-instances)

    - when IDE starts acting up (bookmarks behaving strangely, watch window shows odd values, debugger hangs or slows down...) - restart IDE

    - search will likely start with Whole words checked, so check the status of Whole words regularly

    - 64 bit debugger requires special attention, so handle with care and don't be impatient

    and probably some more that I can't remember right now...

     

    • Like 1

  2. 13 minutes ago, Alexander Sviridenkov said:

    No, this is ability to execute SQL on any source - list of objects, array of records, dataset, CSV, JSON, XML, etc. And put result into dataset, stringlist, array, etc.

    THtSQL* and TSQL* are your components?


  3. Looks good, and short description would be good, too.

     

    I'm trying to figure out if anything can be used for my projects or some of my clients.

    Is this SQL highlighting control? Will you have dedicated SQL stuff page on your website? I see the SQL framework pdf, but I'm trying to understand how HTML library, HTML editor, Office controls fit with SQL stuff.

     

     

     


  4. 52 minutes ago, Alexander Sviridenkov said:

    Links have direction marks (on source unit)

     

    Nice! I showed this to another developer who is looking for simple drawing control that would do all this. Not for Delphi source dependencies, but custom relationship data and it would simplify his current very cumbersome drawing solution that achieves similar result - I helped with some small improvements, but I'm not expert in drawings.

    He is excited to try your control when this is implemented.


  5. 2 minutes ago, Alexander Sviridenkov said:

    It will be included to HTML Library demos with source code.

    Great! Any timeline?

     

    I don't have the library, yet, so I don't know how controllable the HTML control is, but will this be possible:

    - custom Context menu on selected unit?

    - select and add Context menu on dependency line?

    - select multiple units? and get info on all selected units?

    - control drawing objects, bg color, font, size?

    - control selection from code, not just mouse?

     

     

     

     

     

     


  6. 9 minutes ago, Alexander Sviridenkov said:

    Please check current build (1.0.0.5 in file version), it shoudl works OK

    Thanks! Better version, but I still get error on not finding a .pas file and it seems it stops and doesn't show anything. Can you make it skip missing .pas files and make it work with what it can access? Some units only have compiled .dcu accessible, not pas files.


  7. 2 minutes ago, Alexander Sviridenkov said:

    It do not require Delphi to be started, just installed (to get Library paths from registry).

    So, this will not work with any projects that we have source code, but was not compiled with for current installed Delphi? Older projects, not migrated projects, open source projects from github that are downloaded but not compiled, yet (so Library path is not updated)... 


  8. Video looks very promising! I get same or similar error messages as above, so let us know when you publish fix or perhaps change version number in original .rar file, so we know it's newer.

     

    Is it possible to make it work without dependency on Delphi installation? I don't have Delphi development started all the time, while source code is always accessible. 


  9. On 3/20/2023 at 5:51 PM, rgdawson said:

    The new editor feature that highlights words that you select where visible elsewhere in the editor causes the editor to scroll unexpectedly if you are using folding, which I do, so I had to disable that feature.

     

    Pretty annoying! I like word highlighting so I just unfolded all, for now.

     


  10. 29 minutes ago, Lars Fosdal said:

    It has become possible to create completely self-contained .NET apps as well.

    Interesting. I see they even went a little further and you can deploy your app without the need for making sure the OS has the right framework installed:

     

    Quote

    Publishing an app as self-contained includes the .NET runtime with the app, and users of the app don't have to worry about installing .NET before running the app. Publishing an app as framework-dependent doesn't include the .NET runtime; only the app and third-party dependencies are included.

     


  11. The way remote work is changing the whole software employment opportunities, I'm realizing being an expert is becoming a niche and not a must. And since I'm not a Delphi expert, after 20+ years, I can freely let go an illusion that I can become one at some point, or that this is a prerequisite for a job.

     

    So, it seems one way to get to a good remote work salary opportunities, is to develop something and sell it. And as my projects are Windows apps, C# seemed like a natural step in the right direction. 


  12. 6 hours ago, Keesver said:

    Checkout RemObjects Elements

    Thanks, but the main idea is to migrate and learn on the go, so quick conversion is not what I'm looking for.

     

    28 minutes ago, Clément said:

    How productive is you customer using you application?

    Actually, at the end, they should not notice the difference between a solution written in Delphi or C#, except of course for the gazillion dlls being installed instead of 1 exe 🙂 .

     


  13. 3 hours ago, Lars Fosdal said:

    but a rewrite.

    Yes, I guess this is more accurate. 

     

    3 hours ago, Lars Fosdal said:

    Sadly, UI is still much more work in .NET compared to all the "freebies" in Delphi - and there are several flavours. WinForms, WPF, MAUI, ASP.NET, Blazor.  

     

    Shame, but the more I think about this, the more I realize none of the cool, smooth, flicker free UI elements were never really commented from my users - the sale would happen even without carefully designed and customized views.

    Starting again, I don't see any reason to focus on more than 'as long as it doesn't look like it's from 1999, is almost good enough, with a few exceptions'.

     

     


  14. Looking for some input on successful and non-successful migration from Delphi to .Net, why yes and why no, what to look for and what to avoid.

     

    I'm seriously considering porting my projects from Delphi to .Net. I'm not an expert in .Net so this would be also learn as I go. 

    I have fairly simple projects, no db access, no relying on complex UI controls or using any framework that would prevent me to migrate because nothing like that exists in Visual studio.

     

    I use a lot of VirtualTreeView control which is just probably find comparable .Net control that fits and use that. I don't see a problem with that. 

     

    I found this presentation https://www.slideshare.net/SergeyPilko/migration-of-legacy-delphi-projects-to-net-framework-desktop-web-mobile and 2 interesting slides:

     

    image.thumb.png.42b6f702658efbb2cfa4beb844a91e68.png

     

     

     

    image.thumb.png.d0e378a36948709eb58536f55c289714.png

     

     

    And I guess the UI in failed case was too complex and wasn't adapted to .Net controls.

     

     

    Not interested in automatic converters, I will do all the coding myself. I have no time limit on this.

     

    Any input on this topic is more than welcome!

     

     


  15. 19 hours ago, Bill Meyer said:

    Curious about your experience with OXML. It looks interesting, and corporate makes it very hard to use open source, so NativeXML is not an option.

    No complaints on OXML, very fast but I don't use any special CDATA stuff or Schema related stuff, so basic read/write access. The sax event access was a little to get used to it, but I never used it before, so I have no idea if it's using standard sax events approach or it's own implementation. Works good.

    And support is good, too!

     

    I moved from NativeXML to OXML most of my projects, except 1 and not regretting it.

     


  16. If you want to initialize const then, I think, it has to be a constant expressions, so dip can't be dynamic array.

     

    So, something like this:

     

    type
    
    def_dip_value=record
              dip_val:word;
              dip_name:string;
            end;
    tdef_dip=record
              mask:word;
              name:string;
              number:byte;
              dip:array [0..1] of def_dip_value; // if you want to initialize as const expression
     end;
    
    
    const
    
    my_dip:array [0..1] of tdef_dip=(
            (mask:$f;name:'name1';number:16;dip:((dip_val:$2;dip_name:'name1'),(dip_val:$5;dip_name:'name2'))), // NO SQUARE BRACKETS!
            (mask:$10;name:'name2';number:2;dip:((dip_val:$10;dip_name:'name3'),(dip_val:$0;dip_name:'name4'))) // NO SQUARE BRACKETS!
    
            );

     

    Try and see if this helps.


  17. 2 hours ago, David Schwartz said:

    We've been through these kinds of paradigm shifts in the past, and the only real surprise to me is why people always expect them to be painless and not require any changes.

    For me it's surprising that after so much time, most of the online solutions are quickly sluggish and awkward to use compared to desktop solutions.

     

     

    And don't let warez-king bother you about your posts, I find them always interesting to read.

    • Like 4

  18. 36 minutes ago, skyzoframe[hun] said:

    Are there any good books to read? What did I miss?

    Here is suggested reading for certification:

    https://www.embarcaderoacademy.com/courses/delphi-developer-certification-exam/lectures/6312823

     

    I think the last updated exams were in 2011, so these recommended readings are what was available back then. What you already read, some books could be considered advanced, so I think you should be good.

     

     

    • Like 1
    • Thanks 1

  19. 46 minutes ago, skyzoframe[hun] said:

    How many questions do we have about the basic certification?


    If the test time is about 1h and there are 120 questions available, every question has 1/2min to focus on it. So the exam will be lightning-chess or something.

    It says it has 60 questions. I think 1 minute per question should be enough to answer if you know the answer. 

    If you can download all the relevant material for the exam, it shouldn't be too hard to pass just by quickly reviewing the material to catch up with something you use rarely,

     

    If you decide to go for it, let us know of the experience. Having certificates can't hurt, only good for you, especially at the beginning of the career.

    • Like 1
    • Thanks 1
×