Embarcadero: Firemonkey OOP
Embarcadero: Firemonkey C++
As you have probably seen, Embarcadero has released a few patches for 10.2.3. I wrote about them at http://blog.marcocantu.com/blog/2018-april-10-2-3-patches-recap.html and there was a new one for iOS covered by Sarina at https://community.embarcadero.com/blogs/entry/rad-studio-10-2-3-ios-11-3-patch-available. Yesterday, the compony released a patch that addresses a few critical issues when deploying RAD Server modules to Apache on Linux. The reported bug mentioned is not the key one, as the main issue was found and reported internally and not on Quality Portal. If you have any interest in deploying a RAD Server solution to Linux, this patch is a must have. The download is at https://cc.embarcadero.com/item/30836 . Just in case you missed is, remember that part of a RAD Studio. Delphi, or C++Builder Enterprise or Architect product, you now have the license to deploy a single RAD server instance without any further cost.Read More
Recently I was installing Linux Mint on a new Acer laptop with UEFI boot manager. The laptop came with preinstalled “Endless OS” which turned out to be useless because of absence of a package manager. I’ve created Linux Mint 18.3 bootable USB using Rufus, and chosen “GPT partition scheme for UEFI”. I did not make any BIOS changes before installation, and the installation procedure worked fine; I’ve chosen “Erase the entire disk” option during installation. After the installation, when I tried to launch the newly installed OS, I’ve got “No Bootable Device” screen. After several “try and error” iterations I came with the following solution: During installation, do not check “Install 3rd party drivers …” option – the drivers will not be installed anyway; they can be installed later using Driver Manager. After the installation is over, boot into BIOS settings (on Acer laptops by pressing F2 key after switching power on) and set the EFI file created during installation as trusted. The procedure is written in much detail here, only in my case the file turned out to be grubx64.efi The system should boot now, but without some drivers. The worst thing in my case appeared after installing Oracle’s Virtual Box – Virtual Box installs it’s own kernel driver, and Virtual Box did not work because the driver did not work. So you need to enable driver installation now, and it is done by disabling “Secure Boot” option in BIOS.Read More
In this video we have a quick look at some code I've written to produce a Minesweeper clone - in both the VCL and partially in FireMonkey, check it out on YouTube, it's about 10 minutes long.Read More
Our TMS XData expert Wagner R. Landgraf travels from Brasil to Germany especially for the TMS RADical Web training day on May 24th at Marienfeld, Germany. TMS XData is the tool for Delphi developers to enable creating fast, easy and secure REST APIs to access cloud databases from desktop, mobile and web client applications. As there is a demand for in-depth training on this powerful TMS XData product, we decided to also offer a possibility for training on TMS XData on May 25th, the day after the TMS RADical Web training day and available for an ultra limited number of developers to ensure a personal, hands-on and very interactive training. TMS XData Training Day (all sessions in English) 09h00 - 09h30 Welcome, coffee, meeting 09h30 - 10h30 1. Introduction to TMS Sparkle and TMS XData a) Presenting TMS Sparkle concepts: http.sys, modules, example server b) Creating a XData module with a “hello world” operation c) XData overal concepts: service operations and entities 10h30 - 11h00 Coffee break / Instructor available for questions and discussion 11h00 - 12h00 2. Service Operations a) Creating service operations - interface and implementation b) Parameter passing: in body, in url c) Supported parameter types: scalar, structured and PODO d) Parameter by reference e) Memory Management f) Using/receiving TStream 12h00 - 13h30 3-course warm lunch / instructor available for questions and discussion 13h30 - 15h00 3. Database access a) “Traditional” approach b) Connection Pool c) Aurelius integration in service operations d) Entity publishing: CRUD operations e) Querying, paging and counting entities f) Entity set permissions 15h00 - 15h30 Coffee break / Instructor available for questions and discussion 15h30 - 16h15 4. Desktop client-side development a) TXDataClient overview b) Invoking service operations c) CRUD operations from client d) Memory management 16h15 - 17h00 5. Web client-side development a) TXDataWebClient overview b) TXDataWebDataset usage c) Asynchronous paradigm 17h00 - 17h30 Closing, questions and answers. Alternative advanced topics that can be handled on-demand: a) JWT and authentication b) Server-side events c) Custom error-handling in server d) Swagger/OpenAPI The TMS XData training day price is 295EUR. For Delphi developers attending both the TMS RADical WEB training day and TMS XData training day, price is 395EUR. Contact us directly by email firstname.lastname@example.org for registrations. Contact us as quickly as possible as registration is on a first-come, first-serve basis.Read More
Success. Each one of us; you, me, Buffett, his pilot all want success. Whether we acknowledge it or not, we each hunger for success. So, what separates the exceptionally successful people from the rest of us?
Check out this story about Warren Buffet and his long-time pilot then you decide.
Mike Flint was Buffett’s personal airplane pilot for 10 years. Flint had flown for 4 different U.S. Presidents before, so he was pretty good at flying. Yet he still felt as though he hadn’t achieved all of the career and life goals that he wanted to.
So one day Buffett jokingly says to Flint: “The fact that you’re still working for me tells me I’m not doing my job. You should be out going after more of your goals and dreams.”
So Flint asks Buffett for his help, and Buffett tells him to go through this 3-step exercise.
Here’s how it works (you can play along at home, too)…
Buffett started by asking Flint to write down his top 25 goals – the things that came to mind when he thought of success in his career and life. So, Flint took some time and wrote them down.
Then, Buffett asked Flint to review his list and circle his top 5 goals – the things that were most important to him and that he wanted more than anything else in the world.
This was a lot harder for Flint, since everything on his list was important to him (after all, that’s why he wrote them down). But Warren insisted that he could only pick five, so after some time and thought, he made five circles.
“Are you sure these are the absolute highest priority for you?” Warren asked. Steve confidently replied that they were.
At this point, Flint had two lists. The 5 items he had circled were List A and the 20 items he hadn’t circled were List B.
Warren now asked Flint when he planned to get to work on these top 5 goals and what his approach would be.
Flint explained, “Warren, these are the most important things in my life right now. I’m going to get to work on them right away. I’ll start tomorrow. Actually, no I’ll start tonight.”
Flint went on to explain his plan, who he would enlist to help him, when he expected to complete each item…
And that’s when Buffett asked him about the second list, “And what about these other 20 things on your list that you didn’t circle? What is your plan for completing those?”
Flint replied, “Well the top 5 are my primary focus, but the other 20 come in at a close second. They are still important so I’ll work on those intermittently as I see fit as I’m getting through my top 5. They aren’t as urgent, but I still plan to give them a dedicated effort.”
To which Buffett replied:
“No. You’ve got it wrong, Mike. Everything you didn’t circle just became your ‘avoid at all cost list.’ No matter what, these things get no attention from you until you’ve succeeded with your top 5.”
zilchworks.com … Read More
I have already blogged specifically about the 10.2.3 release, the patches we delivered for it, and linked to the collection of related articles in the community site at https://community.embarcadero.com/blogs/tags/tag/10-2-3. In particular, the launch webinar reply is available at https://community.embarcadero.com/blogs/entry/10-2-3-webinar-replay. Not much else to add, if not that it has been very well received by the users. Technical Blog Posts Very interesting, focused suggestions in Positioning a Task Dialogue by David at http://www.davidghoyle.co.uk/WordPress/?p=1921 Media file meta-data on Android in Delphi by Craig at https://community.embarcadero.com/blogs/entry/media-file-meta-data-on-android-in-delphi 5-Minute-Snack: Understanding TWebRequest’s ContentFields and QueryFields with regard to MethodType by Holger at https://flixengineering.com/archives/649 Using CData’s Gmail connector in C++ Builder by Greg at https://cppthingsblog.wordpress.com/2018/04/09/using-cdatas-gmail-connector-in-c-builder/ (as it also applies to Delphi, almost identically) Ready for Debate? Which Windows Framework and What About StackOverflow? Two topics that could spawn a significant debate, I'm sure. The first is I found it very interesting to read this article by respected technical author Tim Anderson on "Which .NET framework for Windows: UWP, WPF or Windows Forms?" at https://www.itwriting.com/blog/10182-which-net-framework-for-windows-uwp-wpf-or-windows-forms.html. I strongly believe VCL provides a better option than any of the current Microsoft framework, plus it clearly wins for a long-lived applications and has the highest degree of long time support and compatibility. A couple of comments hinted at VCL, nice. Anyway, Tim recently reiterated the question on Twitter, https://twitter.com/timanderson/status/981933828964003840. The second good topic for a discussion is reading Nick's take on the status of StackOverflow, at http://www.codingindelphi.com/blog/in-which-i-pontificate-about-stackoverflow/. But read also this twitter thread by an internal : https://twitter.com/balpha/status/984839394829000706.Read More
The replay launch webinar done by the PM team earlier in April is available on YouTube and it is linked at https://community.embarcadero.com/blogs/entry/10-2-3-webinar-replay. You can also browse the community for all of the 10.2.3 related blog posts at https://community.embarcadero.com/blogs/tags/tag/10-2-3 Two two recent patches are: C++Builder 10.2.3 C++ Compiler 4k Stack Allocation Patch at https://cc.embarcadero.com/item/30834 RAD Studio 10.2.3 Context Help Patch at https://cc.embarcadero.com/item/30833 (notice that depending on the browser you used for download, the files might have a wrong permission setting, read the additional information in the download page) I already blogged about these previous patches: RAD Studio 10.2.3 EMS Package Wizard Patch at https://cc.embarcadero.com/item/30832 RAD Studio 10.2.3 Android Push Notification Patch at https://cc.embarcadero.com/item/30831 Finally, you can find on the GetIt package manager IBLite 2017 and IBToGo 2017 as additional downloads.Read More
Just a quick notice that the DWScript source code has begun a transition to Delphi 10.2.3 up from Delphi XE. The goal is to target Win32 and Win64 compilers, mobile platforms and Delphi Linux are currently not in the scope. At the moment “most” of the test suite is successful in both Win32 and Win64,…Read More
We’re excited to inform we are organizing a new training day: TMS RADical Web Day in Germany.
Learn everything about fascinating new ways to create modern new web development with Delphi!
When you’re a passionate Delphi developer and interested in applying your skills for creating web applications, you cannot miss the TMS RADical Web Day.
On the TMS RADical Web day, you can:
- Discover how to apply your Delphi knowledge to create high performance web applications.
- Learn how RAD techniques can be applied to go web with components.
- Learn how you can integrate existing web frameworks like jQuery.
- Experience how to use REST services from your web applications.
- Learn how TMS XData or Embarcadero RAD server data can be used from web apps.
- Learn how you can now use FNC UI controls not only for VCL, FMX, LCL apps but also for the web.
- Mingle with fellow Delphi developers.
- Get a glimpse of the roadmap of future developments under the TMS RADical Web umbrella.
- Talk in person to the experts from TMS software.
- Receive a gift with the fully functional trial version of TMS WEB Core, samples and documentation.
- Get 20% discount for one product of your choice, for your new licenses!
Sessions are presented by:
- Bruno Fierens, CTO of tmssoftware.com + Embarcadero MVP
- Roman Kassebaum, architect tmssoftware.com + Embarcadero MVP
- Wagner Landgraf, architect tmssoftware.com + product manager TMS Business Subscription
- Adrian Gallero, architect tmssoftware.com + product manager TMS Flexcel product line
- Leon Kassebaum, Delphi & TMS WEB Core enthusiast
This extraordinary event will take place at Hotel-Residence Klosterpforte, Klosterhof 2-3, 33428 Harsewinkel-Marienfeld, GERMANY. The location is easily accessible via the A2 motorway.
TMS software has chosen for Hotel-Residence Klosterpforte as it offers an inspiring and peaceful place in the midst of the nature and green to maximize your concentration & creativity. Facilities for hotel rooms at the event are optionally available for attendees.
Early bird: 195 EUR (before May 1, 2018)
Regular price: 245 EUR
The registration fee includes a full day access to the sessions and coffee/drinks during this day. A 3 course hot meal is served for lunch.
Seats are limited. Don’t delay your registration and reserve your seat!
Get more information or make your reservation here!
We look forward to see you!
Researching for some Natural Language Processing tasks for a .NET application recently, I've come across Facebook's FastText library. FastText is an open-source, free, lightweight library that allows users to learn text representations and text classifiers. It works on standard, generic hardware. Models can later be reduced in size to even fit on mobile devices. It's written in C++ and builds onRead More
Open: Improve Android and iOS debug compilation speed – grijjy blog – Set the Debug information option to Limited Debug information
If you develop mobile apps with Delphi, you know it: compiling for Android and iOS is sloooooooooooooow, especially for debug builds. This little tip makes compiling Debug builds much faster…… Set the Debug information option to Limited Debug information When I read a thing like that, I always think “how come I never thought about that before?” Well done Erik! [WayBack] Improve Android and iOS debug compilation speed – grijjy blog via: [WayBack] Here’s a quick tip to improve the compilation speed of debug builds for iOS and Android… – Erik van Bilsen – Google+ –jeroenRead More
Woll2Woll’s BEAM (Beacon External Advanced Mapper) is the missing feature for RAD Server’s BeaconFence technology and the March 2018 Winner of our Cool App contest. With RAD Server and BeaconFence it is easy to create an application that accurately tracks indoor location. Using the IDE map layout editor you place beacons on your floor plan, and then your app can accurately track its location through the map.
That is where Woll2Woll’s BEAM technology comes in. It makes it easy to let your end users edit and create their own maps for use with your BeaconFence app. This flexibility makes your apps so much more flexible and powerful. You can build your app around BeaconFence without concern about the specifics of the location where it will be used. Then with BEAM it can be updated to based on beacon placement and the floor plan.
Beyond BeaconFence and FireMonkey BEAM also makes use of Woll2Woll’s amazing FirePower components to round out its user interface. According to Roy Wall of Woll2Woll software, “BEAM uses RAD Studio’s FireMonkey so it is a universal application that shines in both usability and performance . . . with a common codebase it is trivial to add advanced features with a single development team.” The great thing is BEAM is available on iOS, macOS, Windows, and Android, supporting touch input as well as keyboard and mouse. It is in all the major App stores.
Interested in submitting for the Embarcadero’s Cool App contest? It’s open to any business or consumer application built with RAD Studio, Delphi or C++Builder. Embarcadero awards Cool App contest winners a $500 Amazon gift card and winning submissions are also highlighted on the company’s YouTube channel. For more information on the contest and a link to the submission form, click here.
Open: Disable the Delphi clipboard history; originally by Attila Kovacs at https://plus.google.com/u/0/108426155215159556558/posts/6MBZuMYDTCD
[WayBack] Castalia had a Clipboard History for Delphi since a long time and since the acquisition of it around Delphi XE8, that was [Archive.is] integrated into the IDE for everyone to use as the [WayBack] “Delphi Clipboard History” Some people object to the history viewer, for instance: stability reasons security issues Even though used by a […] … Read More
2018 Symposium Event Update The Australian Delphi Users Group are hosting the 2018 ADUG Symposium in May Perth – Wednesday 23rd May 2018 Melbourne – Friday 25th May 2018 Click here for Full Details and Registration Presentations Herman Schoenfeld – Sphere 10 Software PascalCoin – an Object Pascal based crypto currency Dave Nottage – Hard Won Battle Scars from Mobile App Development Peter Thönell – OO in Delphi From the ground up.… Continue reading ›Read More