Jump to content

silvercoder79

Members
  • Content Count

    25
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by silvercoder79

  1. silvercoder79

    which JSON library

    I am not one to tell you what you should or should not use... If you are familiar with it and works in the Delphi environment for you then go for it. I also do not have any experience in using the library you mentioned. The test results appear impressive. My own perspective is that is the tool already has the things I am looking for, I defer to those. In this instance, it would be : https://docwiki.embarcadero.com/RADStudio/Athens/en/JSON but if that does not meet your needs then ...
  2. I guess there are people with differing levels of ability. And while I don't intend to post links to all videos, today's video is a real-world example of adding code to a word search game and squashing those pesky bugs along the way! Hopefully, it will inspire you to tackle your own coding challenges and share your creations in the comments! https://youtu.be/K1iJIYtBPaw
  3. silvercoder79

    Watch me coding in Delphi on YouTube

    Sorry. And thanks for the correction! I cannot remember using DelForEx. It was obviously sometime after 2000 when someone showed me the GExperts implementation. I remember the JEDI version quite well. Obviously my recollection of history is wrong in this instance.
  4. silvercoder79

    Watch me coding in Delphi on YouTube

    As Anders mentioned, people have different learning styles, and some may find watching a video more convenient than reading, especially when time is limited. Demonstrating how to do something can also be very valuable for certain learners. Regarding the other part of your question: My setup is modest, and if monetization were my focus, I would have put more effort into improving it. I'm still far from meeting the criteria for monetization, but that's not my main goal. If I were aiming for monetization, I probably wouldn’t have chosen Pascal/Delphi. Although my channel is Pascal-focused, my experience tutoring has shown that many learners are unfamiliar with debugging or code formatting, which are essential topics. I could also include version control and build systems. There are also other factors at play, but they're more personal and outside the scope of this conversation.
  5. silvercoder79

    Watch me coding in Delphi on YouTube

    There is more to programming than just writing code! In this video, I explore the code formatter in Delphi... starts with a brief history of code formatting and its importance in software development. I also discuss a free book on code formatting principles before diving into a practical demonstration of how to effectively format your Delphi code. Join me as I share why code formatting matters and how you can do it in Delphi! Links Embarcadero Style Guide - https://docwiki.embarcadero.com/RADStudio/Athens/en/Delphi’s_Object_Pascal_Style_Guide Object Pascal Guide by Bent Olsen - https://sourceforge.net/projects/object-pascal-style-guide/ Other References https://ia600807.us.archive.org/6/items/ObjectPascalStyleGuide_201708/SoftwareEngineering/Object Pascal Style Guide.pdf http://www.sourceformat.com/coding-standard-delphi.htm https://wiki.overbyte.be/arch/IcsMidwareCodingStyle.pdf https://www.win.tue.nl/~wstomv/edu/delphi/DelphiLanguageGuide.pdf #Delphi #CodeFormatting #SoftwareDevelopment #ProgrammingTips #DelphiCode #Pascal #CleanCode #CodeQuality #CodingStandards #DeveloperTips
  6. silvercoder79

    Watch me coding in Delphi on YouTube

    in some universe it might work like that :) there was a point in time when it made sense.
  7. silvercoder79

    Delphi Documentation website issues

    So... it's not only me.
  8. silvercoder79

    Sending message to previous instance

    I know that your code uses C Builder but you might also get a couple of ideas (separate to those of the prev. posters) from here ... https://github.com/project-jedi/jvcl/blob/master/jvcl/run/JvAppInst.pas
  9. silvercoder79

    Watch me coding in Delphi on YouTube

    #Delphi's Ternary Trick: IfThen vs. C's Conditional Operator Ever wondered how to write concise conditional statements in Delphi? Discover the IfThen function, Delphi's equivalent to the C ternary operator. Learn how to use it effectively in your code for cleaner, more readable, and potentially more efficient solutions. #Delphi #Programming #TernaryOperator #IfThen #CodingTips #Efficiency #Readability #ProgrammingLanguages
  10. silvercoder79

    Watch me coding in Delphi on YouTube

    Setting Up Delphi and RAD Studio for Android Development Link: https://youtu.be/g7tvSlGoG0k In this video, I walk you through the step-by-step process of configuring Delphi RAD Studio for Android development and using the SDK Manager to get the required packages. Along the way, we learn how to overcome common challenges and get your development environment up and running. Useful links: https://en.delphipraxis.net/topic/10436-delphi-120-athens-is-not-correctly-installing-the-android-sdk/ http://delphi.org/2013/10/wireless-android-debugging-with-delphi-xe5/ https://stackoverflow.com/questions/31886049/list-installed-sdk-package-via-command-line
  11. My 2c worth... I'd consider using stored procs where possible and server side as per previous suggestions charting wise... load from DB initially, and then send new from a server/service (if possible). (That's what I've had to do, and using background threads) does SQL server suggest any indexes to add?
  12. silvercoder79

    Watch me coding in Delphi on YouTube

    Safeguard Your Object Pascal Code: Initialization and Error Handling Nobody likes dealing with bugs after their software is out in the wild. That's where defensive programming comes in. Starting with solid variable initialization is your first line of defense. Learn how to prevent those nasty surprises, handle those tricky constructor exceptions, and master the art of dealing with pesky nil pointers in Object Pascal. References: Initialised Variables - https://www.freepascal.org/docs-html/... Declarations - https://www.freepascal.org/docs-html/...
  13. silvercoder79

    Watch me coding in Delphi on YouTube

    New video from The Silver Code exploring the functionalities of classes, sysutils, and dateutils units, providing a strong foundation for building robust Delphi applications. Over the coming weeks I'll look at these units in more details... What units are most important for you? Would love to hear from you!
  14. silvercoder79

    Watch me coding in Delphi on YouTube

    On AI... I have seen some strange answers come out! And similar code then used in articles on the web and do read this literally... if (condition) then do something do something else rest of code here Where is the begin/end pair?!?
  15. silvercoder79

    Watch me coding in Delphi on YouTube

    The funny part is that I have different colored slippers. Blue for left foot and brown for right, and only because I cannot locate the other brown slipper. And next week, I will be back with some Delphi coding videos. Been playing with Lazarus recently. But if that sort of things peaks your curiosity, you know where to find me? I hope. https://www.youtube.com/@silvercoder70
  16. silvercoder79

    Watch me coding in Delphi on YouTube

    Not a real programmer... not wearing his delphi programming socks! (It was a short from tscoding on YouTube.)
  17. silvercoder79

    Watch me coding in Delphi on YouTube

    One day, I might invest in a proper mic, and until then... the headset will do, (feels a bit like "ground control to major tom")
  18. Just as important as writing code is the ability to debug code. I have put up a new video on YouTube about debugging in Delphi (an overview of) and link to the video is here... Cheers, The Silver Coder
  19. @Stefan Glienke - Thanks. In this area (and for better of worse) I am very old school. You can thank my Uni lecturers for this. Otherwise, good to know.
  20. Hi Everyone, My name is Tim and have been using Pascal forever (among other languages) since the 90s. For a variety of reasons I've transitioned (/transitioning) into tutoring and mentoring, and have launched a YouTube channel dedicated to all things Delphi. My first video, "Starting an Adventure with Delphi," is here - In the future, I'm planning to cover a range of topics, including: - Building modern Delphi applications for FireMonkey - Essential data structures for Delphi developers - Tips for debugging those tricky Delphi problems I'm really passionate about keeping Delphi alive and well. Whether you're a complete beginner or a seasoned developer looking to brush up your skills, I hope you'll find something valuable on my channel. Let me know what you think - especially if you have any topic suggestions!
  21. silvercoder79

    My YouTube Channel - The Silver Coder

    @Patrick PREMARTIN - Thanks, I will check into that and make those changes you have suggested! Hello Everyone! This is the second iteration of the shopping list application, - an educational series in programming with Delphi. The following features were added - (i) ability to sort items items in the shopping list, (ii) styling of the application for a better presentation, and (iii) storage of information entered into the program. Again... next week features will be added and make this little app more useable. Hope you stay for the journey :)
  22. silvercoder79

    My YouTube Channel - The Silver Coder

    Been away for a few days with limited access... Thank you for your kind words. I have a new video tomorrow and the code has explanatory notes this time. I am playing around a little with content to make it useful for everyone. Feedback most welcome. Edit: added last paragraph
  23. silvercoder79

    C++ Builder 11.3 / RenameFile() not working?

    SearchRec.Name would only be the filename part and does not include the path. Unless something has changed. If so, make sure that you add path before the file name.
  24. Just to add to the previous reply... I would move into a record like described here - https://caryjensen.blogspot.com/2012/01/for-record.html?m=1 And depending on how you want to "use" it, you could definition it in main application class or form and pass around as necessary. Or just declare instance somewhere for use. Just my 2c worth
  25. silvercoder79

    My YouTube Channel - The Silver Coder

    On the channel have now started building a shopping list application (0.1). Over the next weeks features will be added and make into some more useable. Hope you stay for the journey. And you can now look at or get what source code there is from - https://github.com/silvercoder70/delphi-shopping-list Cheers, Tim
×