First time being a Slashdot mod!
How to become a Slashdot mod in 3 easy steps:
1. Login and set up autologin. You need to login more to become a mod.
2. Get your karma up to at least Good.
The joys of apt-cacher
It makes creating Debian Live systems *so much faster*!
Debian Live is now at a stage where it is usable and working live CDs can be built. I have built several discs so far and tomorrow I will start distributing them...
I've written some HOWTOs for making new 'flags' for make-live, currently a shell script with the package names hard-coded, on the wiki (http://live.debian.net/wiki). I'm guessing Daniel and Marco are already working on the configuration files and stuff like that (there is a planned program split soon).
As I'm typing I'm building a custom Live CD for a friend of mine who wants to try GNU/Linux for the first time (other than when he came around to my place), which includes KDE 3.5.1, OpenOffice.org, KOffice, Firefox, Thunderbird and a few games. Still only around 500-550MB.
When make-live becomes configurable I'll probably start a site where 'profiles' can be uploaded.
BTW, if you're using apt-proxy or apt-cacher and don't know why your live CD build is failing after debootstrap, make sure that you're using 127.0.0.1 and not localhost, because apt-get executes in a chrooted environment where it cannot read your /etc/hosts file.
Rewriting my CMS
Now I've decided to rewrite the whole lot, using a system of storing files in a database, then using translators to change them to HTML, followed by a template to convert the whole lot into something that looks roughly human-readable.
It would work sort of like this -
- Request made to http://example.com/index.php
- index.php realises there is no pagename therefore it assumes /index.
- Query is made to MySQL through DBFS for the file /index.
- /index is read, the metadata shows that it is a normal HTML content file, using the built-in HTML translator.
- The translator pretty much does nothing.
- The template is loaded and applied to the content.
- The user clicks a link to 'FAQs' on the main page
- A request is recieved for http://example.com/index.php?page=/faqs
- Query is made
- /faqs is read, metadata shows that it needs the Knowledge Base translator
- Translator loaded
- Translator makes nice HTML table
- Template applied.
- Further requests are made to pages like /faqs/Example Category/Example Subcategory/Example Question, for example.
The other advantage of this is that only one database table would be needed, and all further config after the database connection details could be stored in a special configuration file.
The first reading part of the file storage system has been started, expect code within a few weeks.
2006 DPL debate, 16 March
Debian Live Initiative
Blogger messes up non-HTML email-to-blog posts
Myanmar mission night
Monday our church held a night about church planting in Myanmar (Burma). We had a guest speaker, Thang Bwee, head of the Evangelical Reformed Church of Myanmar, which has recently got a deal with the Australian Presbyterian World Mission.
There were about 60 people there, which was good, and we all learned a lot about the situation in Myanmar, the military government and the poverty. The ERC has around 35 churches especially in Chin State in western Myanmar. To get to these remote villages from Rangoon, it takes 1hr by plane or 2 days by 'express' bus, then 12 hours on boat, followed by 30km walking. Nearly three days! Recently they have been purchasing iron roofing for the churches, with help from APWM.
Of Myanmar's 52 million people only 4% are Christian, most are Buddhist. Many live on less than a dollar a day, and many also live in remote areas only accessible by walking through jungle.
In all it was a good night and we all learned quite a bit about the situation of the church in Myanmar.