
Writing about C++, Programming, FOST.3™, Mahlee™, the web, Thailand and anything else that catches my attention—with some photos thrown in
Since the Windows server that was running this web site got unexpectedly turned off some time ago I put in a bit of work to transform the site into something that would work on Linux, but it hasn't received any love since then.
There's more than a few things that I need to do. Because I'm a bit of an idiot, I accidentally deleted the photo backup from S3 when clearing old buckets one day, so when the server was turned off I lost most of the images (the ones that are here now where on the way back machine). There are also parts of the site that don't work properly. Property pages and the postcode pages are the most noticeable I guess.
Fixing the photos is going to take time. I have all of the original photos, but I may need to re-edit some so they will never be exactly the same as the ones that were lost. I don't think that matters all that much really. There are also missing diagrams and screen captures. These will have to be re-created. All in all, this process is going to take time and it would help me to get some measure of progress.
For the functionality that isn't working, I need to implement new versions of these parts of the site. I'm thinking of making much more use of AngularJS to drive these parts of the site. The Fost 4 technology stack has some very cool RESTful JSON database technology that should make this fairly simple, so long as I don't care about Google indexing these pages. That's probably find to start with.
The main thing of course is new content. I have a few open source projects that really need to have much better documentation. The two main ones are Fost 4 and Django Slumber, and I need to make time to start to put that together in a much better form.
What is hard right now is the publishing process. I'm still running the old FOST.3™ stack on a Windows VM that I use for authoring. I then have some Python scripts that dump that data out and transform it into something that the new Fost 4 based web server I wrote can deal with. This is all a bit awkward, but passably workable. It'll be a lot of work to put together something with the features that the site uses that make authoring directly on the site available again.
The other thing that I've been forced to turn off is the user comments. Due to the spam issues this wasn't such a big deal, but something like Disqus should make it reasonably simple to get working comments again without too much work.
One of the things that I should probably also write a bit about is an old test spider. You can let this loose on a site and it will crawl it looking for errors. When I turn it lose on the site it sees a total of 1,194 resources, of which 248 are errors of one form or another.
So, until I get around to fixing more of this, you'll just have to put up with the new larger font :)
The latest release was tagged a little while ago and I've been late putting this note together :(
There are a number of small changes, and two breaking changes, although they're quite easy to deal with. The old functions replaceAll and absorbException have been renamed replace_all and absorb_exception in order to fit in with the naming convention of everything else.
The biggest new addition is the start of a progress meter. There is only a very basic implementation so far and I think the interface will change once we work out how to deal properly with tracking progress of multiple tasks across many threads.
| Linux & Mac |
|---|
svn co http://svn.felspar.com/public/fost-hello/tags/4.13.03.44670 fost-hello cd fost-hello Boost/build hello/compile dist/bin/hello-world-d On the Mac you will need to set DYLD_LIBRARY_PATH before running hello-world-d export DYLD_LIBRARY_PATH=dist/lib dist/bin/hello-world-d |
| Windows |
svn co http://svn.felspar.com/public/fost-hello/tags/4.13.03.44670 fost-hello cd fost-hello Boost\build hello\compile dist\bin\hello-world-gd |
Everything is available through our Subversion repository. Below are the locations for the tagged releases for Fost 4.13.03.44670 components.
A fairly small release this time, but does include some important fixes for later versions of Boost and Python. There's also an important improvement to the backup files for the JSON databases.
| Linux & Mac |
|---|
svn co http://svn.felspar.com/public/fost-hello/tags4.12.12.44490 fost-hello cd fost-hello Boost/build hello/compile dist/bin/hello-world-d On the Mac you will need to set DYLD_LIBRARY_PATH before running hello-world-d export DYLD_LIBRARY_PATH=dist/lib dist/bin/hello-world-d |
| Windows |
svn co http://svn.felspar.com/public/fost-hello/tags/4.12.12.44490 fost-hello cd fost-hello Boost\build hello\compile dist\bin\hello-world-gd |
Everything is available through our Subversion repository. Below are the locations for the tagged releases for Fost 4.12.12.44490 components.
This release was tagged a bit late, and this announcement is even later — sorry for that. Hopefully all of the good stuff in it makes up for that.
| Linux & Mac |
|---|
svn co http://svn.felspar.com/public/fost-hello/tags4.12.09.44431 fost-hello cd fost-hello Boost/build hello/compile dist/bin/hello-world-d On the Mac you will need to set DYLD_LIBRARY_PATH before running hello-world-d export DYLD_LIBRARY_PATH=dist/lib dist/bin/hello-world-d |
| Windows |
svn co http://svn.felspar.com/public/fost-hello/tags/4.12.09.44431 fost-hello cd fost-hello Boost\build hello\compile dist\bin\hello-world-gd |
Everything is available through our Subversion repository. Below are the locations for the tagged releases for Fost 4.12.09.44431 components.
worker.set to the jsondb::local transaction to update the value of the JSON irrespective of what is already there.boost::filesystem::wpath instance, not only from a fostlib::string.
The latest version of Fost was tagged in our repositories a few days ago.
This release features the first new library in some time, fost-web. This library contains a number of building blocks to help build web servers in C++ — like the web server that runs this site. This is the first of the libraries that is hosted on GitHub rather than our normal Subversion repository.
| Linux & Mac |
|---|
svn co http://svn.felspar.com/public/fost-hello/tags/4.12.06.44200 fost-hello cd fost-hello Boost/build hello/compile dist/bin/hello-world-d On the Mac you will need to set DYLD_LIBRARY_PATH before running hello-world-d export DYLD_LIBRARY_PATH=dist/lib dist/bin/hello-world-d |
| Windows |
svn co http://svn.felspar.com/public/fost-hello/tags/4.12.06.44200 fost-hello cd fost-hello Boost\build hello\compile dist\bin\hello-world-gd |
Everything is available through our Subversion repository. Below are the locations for the tagged releases for Fost 4.12.06.44200 components.