So many YouTube videos start out Before we begin click the like button click subscribe and click notifications. In other words just assume this video is great before you find out what a steaming pile of crap it really is. Maybe you’ll forget to undo everything once you figure it out.
Monthly Archives: August 2021
Free Pascal & SQLite
I’ve been looking for a good example of doing this non GUI in Free Pascal. Read some tips but nothing came together. So I found this example that works. So full credit to Mr Bee pakLebah. It does use the Lazarus IDE, I think because it uses some Lazarus components…but not objects but it creates …
Install Jupyter notebooks on Tumbleweed
sudo zypper install python38-jupyter-core. Tried pip3 install first but afterwords it couldn’t find Jupyter.
JuliaAcademy.com
Decided to look into this, so I joined Julia Computing. They recommend I install JuliaPro. Of course now I need to join JuliaPro. I’m already a member of Julia Discourse. Anyway Julia Pro is about 3 times bigger than the latest version of Julia. OK have to abandon install on OpenSuse because not in prerequisites. …
Lazarus file weirdness
I can’t quite nail it down but weird things happen to your Lazarus files. I open a project and don’t save. Then I create or open another project and it pulls in stuff from the last place I was at. Same with saving, things aren’t necessarily saved in the project directory you think you’re in.
Tumbleweed applying 93 updates!
Success!
Lazarus SQLite
A very simple example of displaying data on a form from an SQLite table. The SQL select is hard coded in the SQLQuery1 object. Only the grid is visible. Anywho I successfully compiled and ran a simple SQLite program. Returning values in a data grid, Visually it looks like this Behind the scenes Lazarus creates …
Getting weird messages on old SQLite projects
Unable to find the component class “TSqlitePassDataset”.It is not registered via RegisterClass and no lfm was found.It is needed by unit:/home/bill/Mystuff/Pascal/Lazarus/sqlite/unit1.pas Also getting error on “SqlitePassDbo” in Unit1 uses. Still seeing the controls on the form and basically recreating them got me somewhere
New Lazarus .lpi files and oddities
Double clicking on a new Lazarus .lpi file, does open the code and form. As noted it wasn’t working on older .lpi projects. Something strange is happening though. After getting things working, I’m unaware of making any other changes. But perhaps look at another project…once again not making any changes or saving that I’m aware …
Free Pascal
I remember learning Pascal (Free Pascal) and Lazarus soon after. First attempts was in 2003. I remember writing a decent name parsing (Prefix, First, Middle, Last, Suffix) routine in Free Pascal. Below, timings for a million records. bill@bill-MS-7B79:~/Mystuff/Pascal> time ./nameparse Enter Input file : Enter Output file : 1000001 records read. real 0m4.016suser 0m1.962ssys 0m0.983sbill@bill-MS-7B79:~/Mystuff/Pascal>