Delphi

Developer Survey: Which Developer Streamers Do You Follow?

Whether you are watching on YouTube or Twitch there is no denying that online streaming of software development and video games is hot. We put together this survey to find out who your favorite developer streaming personalities are so that we can get to know them and possibly build content with them for you! Let us know in the survey below!

Read More

Data Visualization: 5 Ways To Be An Enterprise-Grade Master!

What is data visualization? Data Visualization is an interdisciplinary field that deals with the graphic representation of data. It is a particularly efficient way of communication when the data is diverse and potentially complex. Visualizing data, whether in charts, graphs, or some other form, is important because it can give meaning to the data for a broader audience. “Visualization gives us a way to parse and understand data so that we can add it to our stories, we can incorporate it into our thinking” says Ellie Fields, Senior Vice President of product development at Tableau. How do I start learning data visualization in Windows? With a plethora of online tools and software packages for Data Visualization available, online classes, and resources to help you hone your skills, the entry barrier for creating compelling Data Visualization is lower than ever before. That means you can become proficient in presenting data visually “without a real background” in computer science, data science, or programming. But with so many options, finding a place to start can be overwhelming. In this tutorial, we’ll introduce you to how to integrate any Python’s Data Visualization libraries with Embarcadero’s Delphi, using Python4Delphi (P4D) to get you started in creating Windows GUI apps. How does Python4Delphi help with data visualization? P4D empowers Python users with Delphi’s award-winning VCL functionalities for Windows which enables us to build native Windows apps 5x faster. This integration enables us to create a modern GUI with Windows 10 looks and responsive controls for our Python Data Visualization applications. Python4Delphi also comes with an extensive range of demos, use cases, and tutorials. How to use Matplotlib, Seaborn, Bokeh, NetworkX, and Plotly Python libraries to perform data visualization tasks All of the libraries we show in this demo can be integrated with Python4Delphi for you to easily create Windows Apps with data visualization capabilities. Prerequisites: Before we begin to work, download and install the latest Python for your platform. Follow the Python4Delphi installation instructions mentioned here. Alternatively, you can check out the easy instructions found in the Getting Started With Python4Delphi video by Jim McKeeth. Time to get started! First, open and run our Python GUI using project Demo1 from Python4Delphi with RAD Studio. Then insert the script into the lower Memo, click the Execute button, and get the result in the upper Memo. You can find the Demo1 source on GitHub. The behind the scene details of how Delphi manages to run your Python code in this amazing Python GUI can be found at this link. Open Demo01.dproj. 1. How do I Visualize Data with Matplotlib in Windows?  Matplotlib is one of the most popular and oldest data visualization libraries in Python which is commonly used in exploratory data analysis and machine learning. In data science and machine learning, Matplotlib helps us to gain insights from a huge amount of data through different data visualization techniques. With the growing demand for data science and analytics skill sets, visualizing data programmatically is one of the most crucial tasks these days. You can easily solve these tasks by combining the Matplotlib library with Python4Delphi (P4D). Matplotlib can be used in Python scripts, in the Python and IPython shell, on web application servers, and various graphical user interface toolkits (in this post, Python GUI by Delphi’s VCL using […]

Read More

Use FNC Pack To Easily Build Powerful Dashboard Apps For Windows, Mobile, And The Web

Technology Partner TMS Software provides a wide range of fantastic components for Delphi and C++ builder. Their components have a modern look and are well optimized. All of TMS’ components have a trial version so you can try out the various features and capabilities inside your own applications before you decide to go ahead with a purchase. Are you looking for cross-platform component set for Windows, macOS, iOS, Android, Linux and the web? Among their other offerings TMS has a component pack called The FNC pack. FNC stands for Framework neutral components. If you use the FNC components you can get your Delphi and C++ programs to target Windows, macOS, iOS, Android, Linux and the web without any code changes simply by using the FNC components which then internally handle the various differences between the operating systems for you. What’s in the TMS FNC Pack? TMS FNC Component Studio TMS FNC Blox TMS FNC Chart TMS FNC Cloud Pack TMS FNC Core TMS FNC Dashboard Pack TMS FNC Grid Excel Bridge TMS FNC Maps TMS FNC UI Pack What is TMS FNC Dashboard Pack? TMS FNC Dashboard Pack contains, perhaps obviously, a set of controls which emulate gauges and dials you might find useful for creating dashboard type visualizations. there are a broad range of very customizable components suitable for visualizations and the components work in VCL and FMX apps as well as TMS WEB Core (TMS’ solution for creating native web applications using Delphi code). You can get a free trial of the component pack from this link: https://www.tmssoftware.com/site/tmsfncdashboardpack.asp What comes with the TMS FNC Dashboard Pack? Let’s look at what components packed inside the TMS FNC Dashboard pack. TTMSFNCWidgetProgress This is a circular progress indicator. You can add your own bitmaps to customize it. Also you can convert it to a continuous progress bar. TTMSFNCWidgetSetPoint This is an indicator with a range. We can set a point and set start, end, center point texts. So according to the value it will show relevant text. For example you could use it to indicate temperatures and get it indicate when a maximum or minimum temperature has been achieved. TTMSFNCWidgetMultiProgress This is a circular progress indicator with multiple values. This indicator can also be heavily customized such as with your own bitmaps. TTMSFNCWidgetDistributionIndicator This component can visualize Pie charts, Donut graphs, Funnel types, Horizontal bar or a Vertical bar indicator. It can show values as percentage or an absolute. You can also customize the footer and legend according to your preferences. TTMSFNCWidgetMarqueeProgress / TTMSFNCWidgetMarqueeContinuousProgress Displays as either a continuous or marquee progress indicators. TTMSFNCWidgetLCDLabel This is seven segment LCD indicator. You can adjust the number of digits and the separator positions. TTMSFNCWidgetGauge You can add any number of needles to this gauge control, custom ranges and many more. TTMSFNCWidgetArrow This is a trending indicator arrow. It will adjust it color according to its angle. TTMSFNCWidgetTrendIndicator How to provide data for TMS Dashboard controls? Adding data is easy. You can live bind to a database or add manually in the design time or runtime. Where can I find demo applications of TMS FNC Dashboard Pack? TMS offers a live demo on its website. To check the live version of the TMS FNC Dashboard Pack web version go to the following link: Live […]

Read More

Developer Stories: Ruslan Gospodarencu Explains His E-Schimb Software

Ruslan Gospodarencu started working with version 6 of Delphi. He submitted his software (E-Schimb) as a showcase entry at the Delphi 26th Showcase Challenge and we asked more about his adventures with Delphi. Visit his website at E-Schimb for more details about his software. When did you start using RAD Studio/Delphi and have long have you been using it? I’ve started to use Delphi from version 6 for small projects. From 2010 I’ve started to work on larger projects and switched to Delphi 10.3 when it was released. What was it like building software before you had RAD Studio/Delphi? I have experience working with different programming languages and over the years I have tried to use different IDEs, but none of them have been as convenient and fast in working as Delphi. How did RAD Studio/Delphi help you create your showcase application? Simplicity was the most important reason I chose Delphi. Working with visual elements, the ability to form a unique and visual application design, code structuring, working with databases, are just some of the benefits of using the Delphi IDE. What made RAD Studio/Delphi stand out from other options? From my practice, before starting work on a project I spend a lot of time thinking about how the given system should work so that it contains the established functional of the tasks and fulfills the proposed objectives. When I started thinking about this project, the first thought that was was that the best solution for development is none other than Delphi. What made you happiest about working with RAD Studio/Delphi? The first thing that made me happier was introduction of FireDAC. Before that i’ve been using different components for different databases, but now it is much more easier to achieve the same goals. Then it was livebindings and Firemonkey. I was very excited with all of them. What have you been able to achieve through using RAD Studio/Delphi to create your showcase application? User interface design. Working with database. Comfortable work using messaging system. Reporting. What are some future plans for your showcase application? Multilingual support. Report designer. Use of different databases (PostgreSQL, MySQL/MariaDB, MS SQL, NoSQL) also cloud databases (like Amazon Aurora). Thank you, Ruslan! Check out his showcase entry through the link below Showcase

Read More

A Clean Workflow: Are You A Secret Soaper?

If you’re anything like me you don’t probably put a huge amount of thought into the workflow processes that go into making a bar of soap. In fact, most of the time I don’t think I’ve ever really thought about what soap is actually MADE from let alone how it’s made. I mean, I know there’s something called “parfum” and if I pay a bit extra the soap has a fancy name or advertising which implies I will suddenly smell like the freshest mountain breeze… but even then I only have the most vague idea of the litany of chemical names on the ingredients label and even then if you dumped them onto the table in front of me I’d be lost. Enter the Soapers Imagine then my surprise to find out that there is a whole cadre of people out there who not only understands the difference between Linoleic and Linolenic acid but actually know the whole process and procedures behind making their own soaps. They are affectionately called “soapers“. SoapOpera makes making soap less of a soap opera drama SoapOpera, from Russian Company Eco Electrics, is a Delphi mobile application which helps soapers through the whole workflow process of making their own soaps. Making great use of RAD Studio Delphi’s Firemonkey cross platform FMX framework the beautifully engineered Android app contains tools to assist with ingredient calculations and recipe storage as well as an oils database. It’s a great-looking mobile app with terrific functionality. Website SoapOpera Google Play SoapOpera Screenshot Gallery RAD Studio gets your desktop and mobile apps to market fast – are you ready to clean up?

Read More

Developer Stories: Marco Wobben Discusses His CaseTalk Software

Marco Wobben has been using Delphi since the 1.0 version. He submitted his software (CaseTalk) as a showcase entry at the Delphi 26th Showcase Challenge and we got to talk to him about his Delphi adventure after many years of developing with it. You can check out his software through the CaseTalk website. When did you start using RAD Studio/Delphi and have long have you been using it? I have been using Delphi since version1.0, but to be honest I was a Pascal fan starting at Turbo Pascal 3. Graduated University using Turbo Pascal for Windows. What was it like building software before you had RAD Studio/Delphi? I have built various off-the-shelf applications using the TTT toolkit, before even TVision was available. Building Windows applications using TP for Windows, was doable, but extremely cumbersome. Every form had to be made up with a resource editor, and completely independent of that the code had to match up the resources. Lot’s of trial and error in case of a mistake. How did RAD Studio/Delphi help you create your showcase application? CaseTalk is entirely built in Delphi, I could not have built such a rich client interface without the superb IDE which integrates OOPascal, Components, Live Designers, and neatly integrated debuggers. What made RAD Studio/Delphi stand out from other options? We’ve tried Java using jBuilder for a project once. The IDE worked, but there were so many resource leaks, that we spent a large part of our time working out how to control application memory/garbage collections. Developing in Delphi with full control is amazing and beyond comparison. What made you happiest about working with RAD Studio/Delphi? Delphi is amazing, it allows developers to go high level design to low level api and sql code. It all works as expected and newbies can grow into it at any pace and level. Being able to use ready made components, libraries, API’s, and database frameworks, and even being able to swap one out for another, is just very productive. What have you been able to achieve through using RAD Studio/Delphi to create your showcase application? With Delphi, the speed of debugging, compiling, adding new features is a dream. It is so fast, with a click of a button, the application is compiled and running. The level of service I can give to my customers is amazing. It’s almost an instant delivery from design to hand-off. What are some future plans for your showcase application? Currently, CaseTalk is developed in to a suite of Delphi applications. It contains the Information Modeler, which performs model to model transformations. The CaseTalk manager provides a Teams solution to store multiple models and versions in centralized dbms. The CaseTalk Viewer shows ER and UML diagrams, and now the CaseTalk Portal will be released, which is a Delphi build web service to publish all data to all users in the enterprise. Thank you, Marco! Check out the link below for his showcase entry. Showcase

Read More

Detect Real-World Places Of Interest With A Super-Easy API

How cool would it be for your Windows or mobile app to allow travelers to take random pictures at interesting places and retrieve instant useful information about the location they are visiting and the landmarks they can see? In this article we will see how to easily do just that using RAD Studio and Delphi with only few lines of code! Google API – harnessing super computing power the Delphi way Google may be a great search engine but behind all of the search hits and map directions there is a massive stack of super-computing power driving it all. A search on a location in Google Maps quite often shows not only a detailed map and even a street-level view of the area but also, frequently, a series of additional information about the locale such as points of interest, local landmarks and other items about the selected place. Google allows us to tap into that rich enhanced intelligence and apply it not just to maps but to objects and places in images we have taken or have in our data. This is done via the Google Cloud Vision API. Google’s Cloud Vision API – using machine learning to ‘understand’ our images Google Cloud’s Vision API offers powerful pre-trained machine learning models that you can easily use on your desktop and mobile applications through REST or RPC API methods calls. Lets say you want your application to detect objects, locations, activities, animal species, products, or maybe you want not only to detect faces but also their emotions, or you may have the need to read printed or handwritten text, this and much more is possible to be done for free (up to first 1000 units/month per feature) or at very affordable prices and scalable to the use you make with no upfront commitments. Detecting landmarks The option to “Detect Landmarks” is part of the Vision API that we can use to detect and extract information about entities in an image n order to identify a landmark and retrieve its GPS coordinates. We can use RAD Studio and Delphi to easily setup its REST client library to take advantage of Google Cloud’s Vision API to empower our desktop and mobile applications and if the request is successful, the server returns a 200 OK HTTP status code and the response in JSON format. Our RAD Studio and Delphi applications will be able to either call the API and perform the detection on a local image file by sending the contents of the image file as a base64 encoded string in the body of the request or rather use an image file located in Google Cloud Storage or on the Web without the need to send the contents of the image file in the body of your request. How do I set up the Google Cloud Vision Landmark Detection API? Make sure you refer to Google Cloud Vision API documentation in the “Detect Landmark” section – https://cloud.google.com/vision/docs/detecting-landmarks – generally, this is what you need to do on Google’s side: Visit https://cloud.google.com/vision and login with your Gmail account Create or select a Google Cloud Platform (GCP) project Enable the Vision API for that project Enable the Billing for that project Create a API Key credential AI vision, in your apps! Lets say one good friend […]

Read More

Developer Stories: Manuel Lopez Talks About Fotomorsaicos

Manuel Lopez has working with Delphi since 1995. His software (Fotomorsaicos) was one of the showcase entries for the Delphi 26th Showcase Challenge and we had a conversation with him about his experience with Delphi through the years. Download the software through the FotoMorsaicos sourceforge page. When did you start using RAD Studio/Delphi and have long have you been using it? I started using Delphi from version 1, which came out in 1995 and was announced at the Borland Conference that year. From there I used versions 1, 23, 3, 4, 5, 6 and 7, the latter being the most stable and the best. Later new versions came out but I no longer worked with them. However, for an academic project, I acquired the Delphi RAD Seattle academic license a couple of years ago. What was it like building software before you had RAD Studio/Delphi? Before you had to do a lot of work manually. The idea of components (visual and non-visual), was undoubtedly an advance in the way of programming. I think the programming paradigm changed with the arrival of Delphi, making Windows applications really easy to create. Turbo Pascal already had some possibilities thanks to the enormous amount of source code available (even from Borland), but the idea of components simplified many of the previous difficulties in programming. How did RAD Studio/Delphi help you create your showcase application? The manipulation of graphics, images and the methods of the corresponding components made writing a program like the photomosaics really much easier. In fact, the idea of the “canvas”, with its corresponding methods, makes the problems to solve much easier. I think that a photomosaic system without the help of these components would be much more difficult to program. What made RAD Studio/Delphi stand out from other options? I never really thought of another option, as I had previously used Turbo Pascal and Delphi is finally Pascal on Windows. Also, the speed of the compiler is unmatched comparing with other development tools. What made you happiest about working with RAD Studio/Delphi? Easy to program, great debugger, stable code, powerful language and rich in expressiveness. All of this shows up clearly in the Delphi compilers over time. It seems to me that programming with all these facilities is of great help. What have you been able to achieve through using RAD Studio/Delphi to create your showcase application? The creation of the photomosaic program had some results that made me happy. For example, the fact that creating a photomosaic could be done in a couple of minutes. Considering the amount of calculations that must be done (about 500 thousand square roots), the speed of the code is very, very acceptable. What are some future plans for your showcase application? Some ideas for the photomosaic app is to create images with photographs that are not necessarily rectangular. Also improve the possibility of avoiding repetitions and combining different image libraries to have more attractive mosaics. Showcase

Read More

Natural Language Processing: 5 Ways To Use NLP In Your Windows Apps

How do I start using Natural Language Processing in Windows? Natural language processing (NLP) is a subfield of Linguistics, Computer Science, and Artificial Intelligence which concerned with the interactions between computers and human language, in particular, how to program computers to process and analyze large amounts of natural language data, or teaching machines how to understand human languages and extract meaning from text. The common tasks in NLP include Text Mining, Text Classification, Text Analysis, Sentiment Analysis, Word Sequencing, Speech Recognition & Generation, Machine Translation, and Dialog Systems, to name a few. Since NLP relies on advanced computational skills and tools, developers need the best available tools to help them to make the most of NLP approaches and algorithms for creating services that can handle natural languages. We can build Windows apps with Natural Language Processing capabilities using Embarcadero’s Python4Delphi (P4D). P4D empowers Python users with Delphi’s award-winning VCL functionalities for Windows which enables us to build native Windows apps 5x faster. This integration enables us to create a modern GUI with Windows 10 looks and responsive controls for our Python Natural Language Processing applications. Python4Delphi makes it very easy to use Python as a scripting language for Delphi applications. It also comes with an extensive range of demos and tutorials. With Python4Delphi, you can integrate any Python features, functionalities, and libraries with Delphi to create a nice GUI for your Natural Language Processing applications in Windows. In this tutorial, we will discuss the following: How to use these 5 Python libraries with different Natural Language Processing capabilities to perform Natural Language Processing in Windows Apps: NLTK, FlashText, Gensim, TextBlob, and spaCy. All of them would be integrated with Python4Delphi to create Windows Apps with Natural Language Processing capabilities. Prerequisites: Before we begin to work, download and install the latest Python for your platform. Follow the Python4Delphi installation instructions mentioned here. Alternatively, you can check out the easy instructions found in the Getting Started With Python4Delphi video by Jim McKeeth. Time to get started! First, open and run our Python GUI using project Demo1 from Python4Delphi with RAD Studio. Then insert the script into the lower Memo, click the Execute button, and get the result in the upper Memo. You can find the Demo1 source on GitHub. The behind the scene details of how Delphi manages to run your Python code in this amazing Python GUI can be found at this link. Open Demo01.dproj. 1. How do I enable NLTK for NLP inside Python4Delphi in Windows? NLTK is a leading platform for building Python programs to work with human language data. Natural Language Processing or NLP for short — in a wide sense, to cover any kind of computer manipulation of natural language. NLP is a field in Machine Learning with the ability of a computer to understand, analyze, manipulate, and potentially generate human language. NLTK provides easy-to-use interfaces to over 50 corpora and lexical resources such as WordNet, along with a suite of text processing libraries for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for industrial-strength NLP libraries, and an active discussion forum. Do you want to perform Natural Language Processing tasks like predicting text, analyzing & visualizing sentence structure, Sentiment Analysis, gender classification, etc. in the Windows GUI app? You can easily solve these tasks by […]

Read More

Working with OpenAI’s GPT-3

The webinar was a huge hit. Planning future follow-up webinars on the topic. Blog post: OpenAI’s Introduction to the API with sign-up for the waiting list Academic Paper: Language Models are Few-Shot Learners Documentation: OpenAI API Personally curated YouTube playlist providing a  Slides for today’s webinar (subject to change)

Read More