Databases and experiments
I'm working on updating the Contacts database I amended from the example application packaged with Lazarus using an Sqlite3 backend. It's coming on nicely and should be finished shortly.
I will post again when it has been finished and uploaded onto my web site.
I've received a few comments on the first version of SimpleCompressor and I've altered it a bit.
It now backs up the original executable before it processes it, informs you when it has finished and tells you how small your new executable is.
There is also an About box with simple instructions. Simple, to match the compressor.
Available from my Software pages for Windows 32bit, Linux 32bit and Linux 64bit, along with the sources.
Reducing the size of Lazarus's compiled executables is fairly frequently commented on in the Lazarus forum. The default is for the exe to have all of the debugging tags kept in so this makes for a bulky exe even though the app in itself may be modest .
I have modified a small app by Marien van Westen from 2006 to enable you to compress your app to a very reasonable size.
Example: The compressor can work on another instance of itself to reduce its size from 19.5MB to 1MB.
I am packaging it so that versions exist for both Windows and Linux. There will be packages with just the necessary executables for both and a source package.
These will be uploaded soon onto my website and I will post in the Lazarus forums that they are available.
I've been using Slackware Linux and its Vector derivative for some time now and I have found that Freepascal and Lazarus make a great programming combination.
Installing is not a problem. Download the stable build of Freepascal, untar it, and, as root install using the shell script. Simply a matter of writing ./install.sh and pressing enter.
After downloading the source file Lazarus is installed into your home folder by untaring it, opening a terminal in the folder and issuing the command, make clean all.
This is how it's done with the latest versions anyway.
I have had the previous version (2.2.2) of Freepascal installed for a while and I have had a problem compiling updated versions of Lazarus. The errors that came up involved GTK2 calls. I investigated updating GTK2 just in case, no need to apparently, I have the latest version. It was only when I updated to Freepascal 2.2.4 and then compiled Lazarus that the errors were conspicuous by their absense!
Just a word to the wise if you are having this problem.
New Application uploaded.
My database explorer application is taking longer to complete and release than I expected. I think I'm making it overly complicated, so I am editing and refining the code I have written before I finish the first release.
I have uploaded onto my website a small application that will, depending on the date picked from a calendar, allow you to enter, edit and delete notes. It uses a TDbf table to do so. It is a bit rough around the edges but works quite well.
One thing I have noticed is with the Linux version you have to place the database table and the HTML help file into the Home folder instead of the apps folder. This isn't necessary with the Windows version. Strange. I intend to continue working on it to iron out this wrinkle and I will hopefully add a print option to the File menu.
My Db explorer is coming along and I expect to have it ready for download within the next two months or so. This will be a testing release so, don't use it for any kind of production use.
You have been forewarned!
Lazarus 0.9.24 released.
Yes, the latest release is available and having downloaded and installed it on both Windows XP and Mandriva 2007 Spring I can tell you that it's the best yet. Lots of updates and bug fixes and a pleasure to use.
Try it out.
In between work and my Open University course studies I have been working on a small dbf explorer and editor. It is fairly slow going but it is progressing at least. When it is finished (are they ever?) a user will be able to load a database examine and edit its table structure, and add, delete and edit individual records within it.
When will it be finished? Hopefully, within the next 3 months, or that's the plan.
One mans exploration into the possibilities of an open source RAD