Visit site Leonardo's blog

July 2017

0
votes
Vote UpVote

Postgresql Streaming Replication recipe

Leonardo's blog – This is a quick recipe for PostgreSql 9.x Streaming Replication configuration between a Master and Slave servers based on https://www.howtoforge.com/tutorial/postgresql-replication-on-ubuntu-15-04/Master: IP 192.168.1.249Everything should be done as postgres user.psql CREATE USER replica REPLICATION ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2017-07-19 16:13

March 2016

1
vote
Vote UpVote

PostgreSql tablespaces

Leonardo's blog – This is my 1nst post after more than two years, I can’t believe how much time has passed since my last article. In this period I was still programming using FPC/Lazarus and Delphi (only from time to time, fixing bugs/adding features to old apps), also doing some stuff in C++ (using the DCMTK dicom ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2016-03-27 13:25

March 2014

1
vote
Vote UpVote

Improving Performance with Zeos and PostgreSql

Leonardo's blog – Last month I was asked if one of our client-server applications can run from a remote site via Internet, sure, why not?, just open a port in your router and point the connection's IP to the external address and done.A couple of days later, the same customer calls again, telling me that the ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2014-03-06 15:17

September 2013

10
votes
Vote UpVote

Lazarus + PostgreSql's JSON (your secret weapon)

Leonardo's blog – Hi, today I've read the news about the new PostgreSql 9.3 and, as usual, I went directly to the Release Anouncement, pretty impressive stuff. The part that caught my attention was the JSON related part, so I've read a little more here and couldn't stop the desire to do some tests.So, the first thing ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2013-09-09 10:30

March 2013

1
vote
Vote UpVote

Quick CGI SpellChecker

Leonardo's blog – Here's a small CGI program that provides spellchecking services based on GNU Aspell. I use it on a local network where Delphi Win32 clients connects to this CGI hosted on an Apache Server, running on Linux, to ask for spelling suggestions.This simple spellchecker has a small API that does the very ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2013-03-06 15:12

February 2013

0
votes
Vote UpVote

FreeBsd resize VirtualBox disk

Leonardo's blog – I have a FreeBsd 9.1 VirtualBox guest machine I've created with a 10G disk. After installing my usual programs, I've got the not-so-friendly "disk full" message.What to do:Resize the virtual disk:VBoxManage \ modifyhd "FULL_PATH_TO_VDI" \ --resize SIZE_IN_MBSFor example: VBoxManage modifyhd ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2013-02-03 14:33

April 2012

5
votes
Vote UpVote

ExtJs 4 - MVC - Tutorial

Leonardo's blog – After a long period without posting here, I'm proud to introduce my tutorial about ExtJs 4 MVC with Lazarus and Sencha Designer 2. The tutorial is a step-by-step guide to creating a not so easy CRUD (Create, Read, Update and Delete) application, with user administration, a semi complex layout and a ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2012-04-25 10:03

June 2011

4
votes
Vote UpVote

Using Lazarus as a GDB frontend

Leonardo's blog – Did you know that you can use Lazarus to debug applications compiled with other languages than Pascal?. If not, I can tell you that yes, you can!.Some times, I need to connect Delphi/FPC applications to C or C++ shared libraries compiled with gcc or g++, but its a pain to debug using command line ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2011-06-07 14:14

March 2011

2
votes
Vote UpVote

Technical analysis with FreePascal and TA-lib

Leonardo's blog – As the home page explains, TA-Lib is a C++ library widely used by trading software developers requiring to perform technical analysis of financial market data. It Includes 200 indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, and Candlestick pattern recognition.The library was written ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2011-03-16 12:32

February 2011

4
votes
Vote UpVote

Working with C++ dll's from ObjectPascal

Leonardo's blog – It's a well known fact that there are many excelent libraries written in C++, and we, as Object Pascal programmers can take advantage of them. Many times, I have found in forums or mailing lists, questions such as "How can I translate XYZ library to ObjectPascal?", or "How can I use a C++ from ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2011-02-16 07:20

October 2010

1
vote
Vote UpVote

Web 2.0 Programming with Object Pascal III

Leonardo's blog – Debugging CGI applicationsIf you build web applications, surely often you'll face the need of a way to debug them. Remember that CGI or FastCGI applications run inside the Web Server, and you can't debug them by placing breakpoints in your Lazarus code.The easiest way I found to debug web ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2010-10-21 15:02

August 2010

0
votes
Vote UpVote

FreePascal 64bits Port for FreeBSD 8.x

Leonardo's blog – Since a couple of days, the users of FreeBSD 8.x can enjoy developing with FPC 2.4.0 64bits!.Just update the ports tree and compile FPC.portsnap fetch updatecd /usr/ports/lang/fpcmake install cleanIf you want to compile the bleeding edge 2.5.1, you can start with this compiler and follow the same ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2010-08-19 08:01

July 2010

0
votes
Vote UpVote

Installing FreePascal 2.5.1 on FreeBsd 8.x-i386

Leonardo's blog – The other day my Ubuntu 9.10 home server broke my /boot partition and Grub2 wasn't able to boot, I don't know why this happened, I tried to reinstall Grub2 using SystemRescueCD and lost one complete day trying, but it didn't work, so I thaught it whould be the time to try FreeBSD 8.1-RC2.This ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2010-07-18 18:59

March 2010

2
votes
Vote UpVote

Web 2.0 programming with Object Pascal (Part 2)

Leonardo's blog – As I promised in my last article, here I'll show you how to add CRUD (Create, Read, Update and Delete) operations to the sample application.The first step is to add a toolbar to the Grid, with three buttons, btnAdd, btnEdit and btnDelete in charge of Inserting, Updating and Deleting data. Also I'll ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2010-03-21 14:49

February 2010

14
votes
Vote UpVote

Web 2.0 programming with Object Pascal

Leonardo's blog – I'm sure you experience the same feeling as me, when a "web developer" looks at your computer screen saying "wow! you program in Delphi, I used to use it before programming web applications". When I hear that, I want to start telling them that Delphi (Object Pascal) can help you get better results ...
Details Favorite? Off-Topic? Leonardo M. Ramé @ 2010-02-21 14:23
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)