Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/17/23 in all areas

  1. Sherlock

    Try-Finally-end; & Exit??

    Just as a totally unqualified insertion: We are talking about the GOTO statement right? The one Dijkstra is rotating in his grave about? Ok, just checking. Carry on....
  2. Stefan Glienke

    Try-Finally-end; & Exit??

    I do, but I know a dozen other things I would rather like to have, and know most of them have been reported for almost a decade or longer and nothing has happened about them - such as this no-brainer.
  3. Kas Ob.

    Try-Finally-end; & Exit??

    https://english.stackexchange.com/questions/107785/is-there-a-clean-version-of-no-sht-sherlock I am really sorry, i just couldn't resist Hope it make you smile
  4. Just to clear few things here, 1) All binaries that runs on Windows will go through some sort of security check, although it can be disabled or adjusted by policy editor or registry but it is not recommended. 2) All Signed files (binaries or not like cab or msi..) with certificates that have CRL (Certificate Revocation List) extension will and must be checked against the provided URL in that CRL, unless it is disabled by policy, this check happen with intervals defined and provided by the CRL server and the OS will remember to check again when you run or access that file, CRL extension is not the only one that cause such checking online but there is also the OCSP, and there is other extensions and services but less popular. 3) These checks and connections appears from the EXE but they are coming from OS DLL loaded forcibly by the OS into the memory. 4) If a file not signed it will not check for any certificates of course, but here will kick the installed security software if it is Windows Defender or else, every single one of them have an option/setting to send samples for unknown software (singed or not) to there servers for deep analysis, some of these are enabled by default, as mentioned above it could be Microsoft Defender that issuing such connections, yet and it is important find IPs to Akamai or Microsoft doesn't mean it is Windows service, it could be an 3rd party software that using Azure or Akamai CDN .... 5) almost every application will crash on these sandboxes in VirusTotal, and as these Sandboxes with Windows on default settings or may be aggressive security settings, will generate WER report and will try to send it to Microsoft, hence these extra connections. So back to regedit.exe, it is signed and that sandbox most likely will revert to its default with each run, and each time will try to update its Root or at least the CA store, on other hand regedit have GUI and most likely will crash too and generate a report and use the WER, as evidently reported.
  5. Stefan Glienke

    Try-Finally-end; & Exit??

    Could a goto out of a try block be supported - yes. It would require properly transferring control to the finally blocks and then transferring control to the target label. This would require significant work in the compiler. Given how popular the use of goto is, that would be a complete waste of resources. See how the C# spec defines the behavior of a goto out of a try block: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/statements#13104-the-goto-statement
  6. Jonah Jeleniewski

    SonarDelphi v1.0.0 released!

    We are pleased to announce the release of SonarDelphi v1.0.0. SonarDelphi is a free and open-source Delphi language plugin for the SonarQube code quality platform. GitHub: https://github.com/integrated-application-development/sonar-delphi Release: https://github.com/integrated-application-development/sonar-delphi/releases/tag/v1.0.0 Background If you're thinking "I've seen this before", you're probably right! SonarDelphi was originally open-sourced by Sabre Airline Solutions in 2012. It's bounced from maintainer to maintainer on GitHub (including Embarcadero). This project is a greatly improved version that has been actively developed (and extensively rewritten) by IntegraDev for the last 4 years. Features Powerful semantic analysis 120+ analysis rules Custom rules via templates or a programmatic java API Import NUnit test reports (compatible with DUnitX) Import test coverage reports (compatible with DelphiCodeCoverage) Feedback and contributions are welcome!
  7. sgcWebSockets is a complete package providing access to WebSocket, MQTT, STOMP, AMQP, HTTP/2, STUN, TURN... and more protocols and APIs.  What's new latest Versions - Rad Studio 12 Athens support - Components to build ChatBots using OpenAI API - New Pinecone API Client: it's a vector database which provides long-term memory for AI using embeddings from AI models. - New WebPush Protocol for Server and Client Components. Main Features: - WebSocket and HTTP/2 Support: sgcWebSockets includes client and server-side implementations of the WebSocket protocol (RFC 6455). HTTP/s is also full supported. Support for plain TCP is also included. - SSL/TLS for Security: Your messages are secure using our SSL/TLS implementation. Widest compatibility via support for modern TLS 1.3 and TLS 1.2 - Protocols and APIs: Several protocols are supported: MQTT (3.1.1 and 5.0), STOMP, AMQP, WEBRTC, SIGNALR CORE, WAMP... Built-in protocols support Transactions, Datasets, QoS, big file transfers and more. APIs supported for third-parties like Binance, Coinbase, Kraken... - Cross-platform: Share your code using our WebSockets library for your Delphi VCL, Firemonkey, Javascript and .NET projects. Includes Server, Clients and several protocols for building and connecting to WebSocket applications. - High Performance WebSocket Server based on Microsoft HTTP Framework and IOCP. - Indy Servers (WebSocket + HTTPs) for Windows (IOCP) and Linux (EPOLL). - WhatsApp and Telegram clients. - Authorization protocols like OAuth2 and JWT are supported on Server and Client Components. - STUN and TURN protocols are supported on Server and Client Components - OpenAPI Pascal Client Generator for OpenAPI 3.0 and Swagger 1.0-2.0. - Use OpenAI API to build ChatBots, Translators and more. Trial Version: https://www.esegece.com/websockets/download/download-delphi-cbuilder Compiled Demos: https://download.esegece.com/sgcWebSockets_bin.zip More Info: https://www.esegece.com/websockets
  8. Remy Lebeau

    open dialog

    Just note that comparing filesystem paths as plain strings is not 100% reliable. Better to use system APIs that are better suited for that task, so you don't run into issues related to differences in casing, localization, 8.3 shortening, etc...
  9. everybyte

    Delphi CE application accesses unknown IPs

    Funny that SysMon64.exe could not start in Windows 11 - there was a just screen flash. When opening UAC stated that the app is from an unknown publisher although in properties it is actually properly signed.
  10. Stefan Glienke

    Try-Finally-end; & Exit??

    That code only wastes 2 bytes of binary code because the CPU will most likely apply register renaming and mov elimination (yes, there is some cost for decoding the unnecessary mov). But from all the possible optimizations in the x86 and x86-64 codegen this is one of the least important ones I can think of. FWIW x86-64 code will emit the lea instruction for both.
  11. esegece

    ANN: sgcWebSockets Rad Studio 12

    Hi, Thanks for your feedback, find my answers below: 1) Thanks for the suggestion, I'll check if this protocol can be implemented, you are not the first who ask about this protocol. 2) Standard and Professional can use the openssl libraries, the difference with the Enterprise Edition is the Standard and Professional use the default Indy package that comes with delphi (which by default only supports openssl 1.0.2 libraries). While the Enterprise Edition comes with a custom Indy version that supports openssl 1.1.1 and 3.0.0 3) The basic edition is for customers more sensible with the price but I always recommend the source code edition. Thanks for your opinion, feedback is always welcome. Kind Regards, Sergio
  12. dummzeuch

    Try-Finally-end; & Exit??

    No. Both, break and continue make a jump to the finally block and then to the end or beginning of the loop. Not a big difference to what a goto must do. The only difference is that goto can jump to an arbitrary position in the code while break and continue only jump to the end or beginning of a loop.
  13. Nigel Thomas

    Delphi CE application accesses unknown IPs

    Really? Here's the VirusTotal Sysinternals Sandbox report for network activity from a scan of the Windows 10 x64 C:\Windows\regedit.exe: (not an application you'd expect to be accessing external IP addresses) IP Traffic 23.216.147.64:443 (TCP) 23.216.147.76:443 (TCP) a83f:8110:0:0:100:0:1800:0:53 (UDP) a83f:8110:1800:0:0:0:0:0:53 (UDP) Perhaps rather more worrying for your "Advanced" Users, if they see those IP addresses from a seemingly benign Microsoft application? If your Advanced Users are paranoid enough to be concerned about the Sysinternals Sandbox report, point them to the other sandbox reports for your app which do not show any network connectivity. Nigel
  14. We are looking for Delphi developers working on our existing and new products. Your tasks: development of backend classes based on DDD architecture development based on defined requirements working on risk analysis and test requirements Your profile: senior (Delphi) developer experiences working with current development tools working with teams and alone knowledge with common dmbs knowledge with mORMot advantageous German and/or English Further information can be found in our official job offer: https://www.psyprax.de/wp-content/uploads/2023/Stellenanzeigen/MA_Software-Entwickler_.pdf Feel free to contact me for any questions.
  15. David Heffernan

    Try-Finally-end; & Exit??

    For the sake of future readers, this example is not minimal. I can't imagine where there are two goto statements. The issue you raise needs one. Minimality is important. This is the example you should have posted: procedure Foo; label L1; begin try goto L1; finally end; L1:// E2127 here end; The other thing that is missing is what the compiler error says. Often there's information there. Why omit it. Again for future readers, it says:
  16. While updating to 12 I found out this feature request is still open, so I patched my GX_OtaUtils and build a new DLL locally. Can I get these changes into the trunk somehow for the future? I've attached a the newly patched version on sourceforge again.
  17. Yaroslav Brovin

    FGX Native - crossplatform mobile native development

    Hello @Anders Melander, The difference in price is due to different markets. For the CIS countries, the price level is much lower than for other countries. Incomes of the population are lower, respectively, and prices are lower. If we consider the price relative to the subsistence minimum, then the ratio will be approximately the same. I also want to draw your attention to the fact that technical support is included for this price. Which includes consultations and problem solving. And if we take into account the average range of hours of work of an average programmer about $ 50-80 (correct me if this is not the case), plus take into account the fact that sometimes it can take several hours to consult and support a client. Then it turns out that this price should be higher. But in fact, it is kept at the same level as other similar products for Delphi. So the price for the Russian version is rather an exception to the rule. Thank you, Yaroslav Brovin
  18. Yaroslav Brovin

    FGX Native - crossplatform mobile native development

    Good evening, dear Delphi developers. A lot of time has passed since our latest news on this forum, but we have not been idle and are happy to share new products with you. 1. SVG support We wrote our SVG render from scratch. And now you can use SVG in your applications. https://forum.fgx-native.com/blogs/entry/61-поддержка-svg-в-11550/ 2. Authentication services Apple ID, Facebook Login, Google Sign In, VK Login We have developed a set of components for performing authentication using popular services Apple ID, Facebook Login, Google Sign In, VK Login 3. Maps Maps remain an important component for our clients, so we have expanded their support and added the ability to use custom tiles or ready-made tiles in maps (for example, OpenStreetMap) https://forum.fgx-native.com/blogs/entry/60-провайдеры-тайлов-в-tfgmap-с-11530-openstreetmap/ 4. Firebase Push notification We have expanded Firebase support and implemented push notifications not only for Android, but also for iOS. In addition, we have developed a component for simplified work with push notifications. With it, you can easily get a device token and track work with uvedoleniyamit. https://forum.fgx-native.com/blogs/entry/55-firebase-push-уведомления-на-ios-с-11520/ 5. Application Analytics We have also added new components to collect analytics of the use of your application using Firebase Google Analytics. https://forum.fgx-native.com/blogs/entry/57-firebase-google-analytics-с-11530/ 6. New fast build system for Android We have integrated a third-party Android application build system. Thanks to this, it was possible to speed up the build time of the application, speed up the restart after making changes, and much more. https://forum.fgx-native.com/blogs/entry/52-новая-система-сборки-android-приложений-со-значительным-приростом-скорости-🔥/ 7. Full AAR support It's no secret that there are many more ready-made solutions for Android in the Java/Kotlin world. Therefore, if you are not limited to using only native code, then now you can easily connect ANY JAR/AAR library and even just specify a dependency as a string without having to download libraries and all dependencies, etc. https://forum.fgx-native.com/blogs/entry/56-интеграция-android-библиотек-просто-и-быстро-с-11520/ 8. Yandex Mobile Ads We have also added another Yandex Mobile Ads advertising platform to display ads in your apps. 9. Share We have added a new service to be able to send your data to other mobile applications - quickly, simply and conveniently. 10. Working with photos We have improved our tools for selecting photos from system applications and added the possibility of multiple photo selection. At the same time, the implementation has become multithreaded, which allows you to upload a large number of photos and control the upload process without blocking the UI. 11. Video recording We have developed a cross-platform solution for video recording from a phone camera. 12. In-app purchases Now our users can organize in-app purchases, both for iOS and Android, in order to sell digital content in your app. And if you need built-in payment methods, then you can use the ready-made solution for ApplePay(in testing) / GooglePay. 12. Images Additional methods for working with images Tint Crop Flip Rotate Thumbnail EXIF orientation Luminance https://forum.fgx-native.com/blogs/entry/63-новые-методы-по-работе-с-tfgbitmap-и-exif-в-11600/ 13. Canvas Canvas matrix transformation, canvas state. 14. Resource support We have improved our resource designer and now you can generate the necessary images/stubs for rapid prototyping of your mobile application in a couple of clicks. https://forum.fgx-native.com/blogs/entry/47-анонс-11440/ 15. Viewing Android system logs We have improved our tool for viewing system logs in Delphi. https://forum.fgx-native.com/blogs/entry/49-анонс-11450-и-улучшение-android-log-viewer-ios-simulator-arm-64-bit/ 16. Barcode scanner We have added support for new barcode formats: InvertedDataMatrix for Android. Codabar for iOS. 17. List component For our super fast list we have added: Advanced selection. Allows you to animate and independently implement the visual selection of elements Horizon mode 18. Header file generator for Java/Kotlin code We have improved our generator: AAR support Displaying information in headers about when the type/method was introduced, and in which version of Android is outdated. Intelligent processing of circular dependencies related to the feature of the JAVA batch structure Kotlin library support It has never been so easy to connect any android library and use it in Delphi. 19. Dark theme We have improved support for the dark theme for Android/iOS Tracking the change of the system theme Getting information about the system topic. Automatic change of the style of the system status bar depending on the content of the form https://forum.fgx-native.com/blogs/entry/59-улучшенная-поддержка-темной-темы-с-11530/ 20. Backward compatibility with RTL Java bridge Especially for FGX Native, we have developed a module that allows, if necessary, to simplify migration from the RTL bridge to ours. In addition, we are correcting errors that exist in older versions of Delphi in RTL Java Bridge. 21. Demo samples We provide more than 100 demo samples. We performed presentation at Embarcadero CodeRage 2022.
  19. It would make his project fit on 10 floppy disks instead of 35.
  20. And makes your app a target for anti virus products. And what what gain? You end up with the same executable loaded in memory. I've never understood the point of this tool.
  21. Sadly not, that's why I've posted parts of it above. Remote is fine. Not quite decided yet, but likely within Europe is fine.
  22. Larry Hengen

    Delphi Developer wanted

    I see the job post is in German. Do you have an English translation? Is the position open to remote developers, or on-site? If open to remote devs, what time zones will be considered?
×