Jump to content

tgbs

Members
  • Content Count

    97
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by tgbs

  1. tgbs

    "Divided by zero" exception

    Do You use SHDocVw from Internet ?
  2. tgbs

    New FastCGI for Nginx in Delphi

    Has anyone used it in practice? I have to choose what to use for FastCGI and nginx for Linux. Delphi doesn't seem to have many options. Lazarus has it, but I don't want to change the product.
  3. tgbs

    Securing RAD Server

    How do You get it is Tor client?
  4. Q. please solve (x+3)^2=25 A. [snip] Calculate the value of sqrt(25) - 3. This will give you the solution to the equation: x = sqrt(25) - 3 = 5 - 3 = 2. In general, the solution to the equation (x+3)^2=25 is x = 2. Q. isn't x=-8 a solution? A. No, x=-8 is not a solution to the equation (x+3)^2=25. Because when you put the value -8 of the variable x into the equation, you don't get an equality. Instead, you will get an inequality: (x+3)^2 = (-8+3)^2 = (-5)^2 = 25 The inequality (-5)^2 = 25 is false because the square of -5 is -25, not 25. Therefore, x=-8 is not a solution to the equation (x+3)^2=25. The solution of this equation is x=2 as I told you earlier. Q. You are wrong. I don't know who taught you math. Please fix: Any negative number squared is a positive number. (-5)^2 = -5.-5 i.e. is 25 A. I'm sorry if I made a mistake. You make an accurate estimate: any negative number squared is a positive number.[snip] However, in the case of the equation (x+3)^2=25, the solution is x=2, as I told you earlier. This equation has no solutions other than x=2. Because when you put the value 2 of the variable x into the equation, you get the equality: (x+3)^2 = (2+3)^2 = 5^2 = 25 The equality (x+3)^2 = 25 is true when x=2 Q. you are wrong x=-8 is also a solution because (-8+3)^2 = (-5)^2 = -5*-5 = 25 A. Sorry my previous explanation wasn't clear. Yes, x=-8 is a solution to the equation (x+3)^2=25. You make a correct argument: (-8+3)^2 = (-5)^2 = 25. This means that the equation (x+3)^2=25 has two solutions: x=2 and x=-8. It is a quadratic equation with two real solutions. But same question now A. (x+3)^2=25 √(x+3)^2=√25 |x+3|=5 Now we have two cases to consider: Case 1: x+3=5 x=2 Case 2: x+3=-5 x=-8 Therefore, the solutions to the equation are x=2 and x=-8.
  5. tgbs

    No one can help

    I don't know why, you have to ask one of Team B. It's very convenient for me because you can go to the next record and check if you're an EOF, come back and do something. Without unidirectional if there are multiple close/open you will get out of memory Sorry for the offtopic
  6. tgbs

    No one can help

    Two records :) Current and the previous one
  7. tgbs

    SQL problem

    FDQuery4.SQL.add('WHERE MainDirectory STARTING WITH ' +QuotedStr(jvDirectoryEdit1.Text)) ?
  8. For Interbase we use TIBServerProperties from IBX package. List.Add (IBSrvProp.licenseInfo.LicensedUsers.ToString); List.Add (IBSrvProp.DatabaseInfo.NoOfAttachments.ToString); List.Add (IBSrvProp.VersionInfo.ServerImplementation); List.Add (IBSrvProp.VersionInfo.ServiceVersion.ToString); List.Add (IBSrvProp.ConfigParams.SecurityDatabaseLocation);
  9. There is a KB5020387 for Windows 11 22H2
  10. Then try to uninstall the problematic update. To be sure the problem is with MS
  11. October 17, 2022—KB5020387 (OS Build 22000.1100) Out-of-band October 17, 2022—KB5020435 (OS Builds 19042.2132, 19043.2132, and 19044.2132) Out-of-band How is with this patch ?
  12. tgbs

    Emails via Indy to Gmail

    This is already a practice for gmail. The smtp server must be configured to create such an id if it does not exist. Or manually add it to the message header. We have customers whose mailservers do not create such an id and have to have it generated by our software
  13. tgbs

    Delphi or Lazarus/Free Pascal

    I think that for ARM Linux you will have to wait quite a few more versions of Delphi. Unfortunately
  14. tgbs

    Application virtualization (RDP)

    RDP w/o VPN is native solution. I'm also looking for an easy way to integrate with a browser
  15. tgbs

    FireDac cannot load Firebird 3.0 client library on Linux

    Maybe "ldd" is your friend
  16. This depends on the type of calculation. If there is programmer logic then oncalc event is ok. If it can be considered from the database then better to use syntax from the relevant sql database. No need to run another request/s to read data and calculate. A stored procedure can be used in the main query if it will be used frequently and has more complex logic.
  17. tgbs

    Do you need an ARM64 compiler for Windows?

    My point is that Linux is everywhere, especially in servers and non-GUI devices. And today, with the energy problems, more and more ARM processors will enter them. And it's silly for the Embarcadero not to take this seriously
  18. tgbs

    Do you need an ARM64 compiler for Windows?

    Linus Torvalds has announced Linux 5.19, and this time released a version of Linux from an Arm-based Apple MacBook running Asahi Linux. Link
  19. tgbs

    FB3 Update

    When join is only for checking(not selecting column) better to use EXISTS. Can you sum debit and credit in one select ? Input parameter ACTIVEYEAR better be integer
  20. tgbs

    Emails via Indy to Gmail

    Oops...Sorry, You are absolutely right One months ago at office we receive this error for some email. After resend all is fine. I think this is some new staff from Google, maybe first email to concrete mail account, after they change some things...I have no access to DNS records for domain and cannot verify dkim and others for mail server. From my personal domain never get this error.
  21. tgbs

    Emails via Indy to Gmail

    You need to get password for application and send/receive emails with this password
  22. tgbs

    sqlmemtable

    I use KbmMemtable and there is kbmMemSql
  23. If there is an invisible column, the name of the next column that is not fully visible is not drawn If Second column is visible = false then This can be seen in the design time as well Delphi Alexandria with the update
  24. tgbs

    Do you need an ARM64 compiler for Windows?

    YES Not only for Windows but Linux too 🙂
×