Jump to content

corneliusdavid

Members
  • Content Count

    417
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by corneliusdavid


  1. It's a REST server in a box with installations for both Windows and Linux, running stand-alone or under IIS (Windows) or Apache (Linux). You add your own custom services as modules using Delphi or C++Builder. For Linux installations, I know it supports Ubuntu, but you'd have to check with Embarcadero for the latest supported distributions and versions--but yes, it would run under a virtual machine. It also requires at least the Enterprise edition of Delphi, C++Builder, or RAD Studio.

     

    https://www.embarcadero.com/products/rad-server


  2. Table components will bring back all the fields from each row returned whereas you can limit the number of fields returned with a query. Also, the result set is prepared on the server (using joins and where clauses and such) rather than bringing the data down to the client and then filtering it, so it can be much more efficient, especially noticeable over slow connections.


  3. I just tested this in Delphi 11:

    program ArrayCopy;
    {$APPTYPE CONSOLE}
    {$R *.res}
    uses
      System.SysUtils;
    
    procedure ShowArray(AnArray: TArray<Integer>);
    begin
      Writeln('Length: ' + Length(AnArray).ToString);
      for var i := 0 to Length(AnArray) - 1 do
        Writeln('[' + i.ToString + '] = ' + AnArray[i].ToString);
    end;
    
    begin
      var a, b: TArray<Integer>;
    
      a := [1, 2, 3];
      ShowArray(a);
    
      b := a;
      b[1] := 12;
      ShowArray(b);
    
      Readln;
    end.

    And the output shows SetLength() is not necessary:

    image.png.03dacec008964e94eca9552790c8242c.png


  4. On 12/2/2021 at 10:47 PM, Ann Lynnworth said:

    To qualify for the discount, be one of the next nine people to answer 6 questions on this survey.

    I have a question about one of the survey questions: "Would it suffice to re-index on a schedule such as quarterly, monthly or weekly?"

     

    What is the purpose of re-indexing? Is that re-indexing my database with the data? Or something in the Rubicon library/database itself?


  5. Bluetooth can be separated into two broad categories: Bluetooth Classic and Bluetooth Low-Energy, or BLE. You mention "sensors" so that implies BLE.

     

    Here are some links to get you started:

     

    (Bluetooth was one of the hardest chapters to write in my recent book, Fearless Cross-Platform Development with Delphi.)


  6. I'm using the scButton from StyleControls to pop up a secondary form right next to the button--and it works well.

     

    When there are multiple scButtons, I'd like a click on a different button to immediately close an existing form and open the other one just clicked; instead, the first click closes the current form and I have to click again to open the next form--requiring a double-click on the button to open the next form. 

     

    For example, in the DropDown Forms demo that comes with StyleControls, if I click one of the drop-downs that open up a mini form showing a list of selectable items but before choosing one, click on "scButton2", I don't want to have the first click close the list form and then have to click scButton2 again in order to open its form, I just want to click once and the list will close and the new form immediately pops open.
     

    In other words, I want one click on scButton2 to go from here:

    image.thumb.png.b181cfdcd72840152329fd59d17e74c2.png

     

    to here:

    image.thumb.png.90e3919925ebdf0d7258f1b3c3d643fe.png

     

     

    How do I close the first pop-up form and open the second in one click?  


  7. 8 minutes ago, Carlos Tré said:

    But isn't it strange that they found the time to discuss "delphee" x "delpheye"? If there wasn't any time spent over such a silly dispute, I wouldn't have been do frustrated.

    Well, yes, I was surprised how many of those comments came through. In my recollection, most of those were near the beginning of the session.

     

    But consider this, too: responding with a quick smiley-face or one word response (e.g. "Agree!") takes far less time and effort than doing research on a question you may not know for sure. People take what is said in these sessions as gospel so the answerer needs to be certain what they're saying is spot-on.

    • Like 1

  8. 11 hours ago, Serge_G said:

    I also asked  a question  about Firebird with same behaviour : ignored

    I think they were fielding questions as fast as they could but could only get to so many. It went over time as it was. I've been on that side of the screen and you just can't get to everyone's question or comment.

    • Like 1

  9. 19 minutes ago, Pat Foley said:

    Where's the RestDebugger fit on your favorite additions to Delphi

    The REST Debugger is definitely convenient--especially with the Copy Components button--but it is buggy and sometimes I have to restart that as well.

     

    I use bookmark stacks and the code mini map far more often, and in more projects, than the REST Debugger. Getting those back in the next month would make a nice Christmas present!

    • Like 1

  10. I guess I just have seen so many negative comments on these forums and I just had seen one too many. The Embarcadero of today is a long way from the Borland of yesterday; today's companies seem much more focused on profits than community. I remember the CompuServe days, the flame wars on newsgroups, and being able to connect directly with TeamB. Perhaps this is the last place to collectively vent. Still, it seems that comments are too often directed at programmers that don't likely have much control over their priority list. We can only hope that our frustration is heard up the chain of command.

     

    The Bookmarks and Navigator plugins are my favorite additions to Delphi--I've blogged about it recently. I too am waiting and hoping for an update.


  11. It never ceases to amaze me how people in these forums can have such deep and intimate knowledge of the code of the IDE and it's plugins and libraries that they feel they have the right to highly criticize the hard-working team behind the complex and powerful development tools we use. As an independent programmer, I can set my own deadlines--and I don't release anything until I'm sure it's ready. When I worked for a large corporation, executives that have to please shareholders are the ones that set deadlines--and whatever code was ready, was released. I'm sure the Delphi team would've loved to postpone the release of D11 until it was more fully tested and all the plugins were finished to be released along with them but I'm also fairly certain they didn't have a choice and are also not allowed to voice those internal issues. Personally, I feel sorry for them and the pressure they must be under, especially when they read these posts and can't do a single thing about it.

    • Like 3
×