| Journal Home Official Blog |
Big fan of Radio 1In my last job in the UK I used to travel by car on the M1, at the time this was quite a novelty for me as I had always taken the tube to work. Now of course I drive everywhere, (there is no public transport to speak off). I knew that they had a live Internet feed, but for some reason I just didn't think of it. Until now... So for the past week I have been listening to the Chris Moyles breakfast show and Scott Mills, (if you missed scottcam last week you missed radio history). Anyway, that was my little happy moment at work. Things here are not going as strong, the political situation has become 'less than favorable', (this is my bosses polite way of saying that the country is heading the same way as most, (all?), African countries.
Technorati Tags: chris moyles, news, radio 1, scott mills
Filed under: chris moyles, news, radio 1, scott mills 6:15 AM - 10/4/2008 - comments {0} - post commentShare and enjoy register_shutdown_function(...) doesn't work with ob_gzhandler(...)[I have decided to start adding some entries about the re-factoring of journal home, either it will help someone else or someone will be able to offer some comments] I am busy doing a lot of changes to the code of Journalhome.com to ensure that it runs better than the current software, (that is no longer supported in any case). My aim is to speed up the whole delivery of the page to the browsers. The problem with that is that some code that I want to be executed at the very end of the script, (as the script is completing) it does not seem to be executed. In php when you call ob_start('ob_gzhandler'); it tells the php compiler to take all the output, (everything going to the screen), and, instead of sending it to the screen we will send the string to a function called ob_gzhandler who in turn will return a compressed string. Normally the way it works is:
With ob_start( ... ) it is a litte bit more complex
What this means is that the created page is sent out as one big string to the browser.
The problem with that is the function ob_gzhandler(...) does not seem to allow the "Do do some completion code" The problem is almost certainly with register_shutdown_function(...), because as the manual clearly says, if any of the registered function call exit() then the processing will stop completely and no other registered function will be called. The other bigger problem with that logic, (and kind of backs up my theory), is that it seems to allow _some_of the registered code to be completed. This makes sense as the shutdown functions are called in the order they are registered so the ones registered before ob_start('ob_gzhandler'); will be executed but not the ones after. For example...
This works as expected with PHP 5.x and later, but not with php 4.x, (well not with php 4.4.x that I am using).
This will also not work with all flavours of php4.x but it will work with php5.x As I am planning to move to php 5 this is not a problem but I am trying very hard to make sure that he new code works on both 4.x and 5.x, (simply because I want the code to be open source. The 'fix' I have is to remove the compression altogether with php < 5.x
Obviously this is not a perfect solution as the code is no longer compressed, but for those that will be using php4, (that is no longer supported btw), then it will have to do. 7:22 AM - 8/6/2008 - comments {3} - post commentShare and enjoy Moved to new serverOk, so we have moved to the new server and I still need to make a few minor fixes. I must thank the people of eukhost.com they helped me a lot to move all the data from the old server to the new one.The actual move was fairly uneventful but the new nameserver took much longer than usual, (and we had some small databases glitches as well). Some of you will also noticed that I have also removed all the adverts on the front page, this is because the revenue from those ads was really negligible, (if not laughable). Those of you that still use advert on their page will not be removed. You are still welcome to put adverts on your site. I will spend some time designing a new page, not that I think there is anything wrong with this page but the problem is that there are many HTML errors in it and in the long run they are causing us a lot of problems. Finally I will spend some time trying to upgrade the blog software but that is not for the near future Please let me know if you notice anything that is broken, the old server is still up and running in case we need to get something off it. but I will close it in the next 10 days or so. 12:02 PM - 7/10/2008 - comments {2} - post commentShare and enjoy Server move is back on trackThe server move is now back on track and we should be moving to a new server, (in the UK), in the next few days. In the past few days we had some problems with the current provider and/or some sustained IP attack. I have reverted about 50 spam accounts a day so it is not impossible that they somehow found a way in or that they felt the urge to 'teach us a lesson'. 1:14 PM - 7/3/2008 - comments {0} - post commentShare and enjoy Sham elections in Africa[warning: a little political rant] I have been in Africa for a little over 2 years now and I am amazed at the so called democratic process that is going on here. I know that what we do in Europe is not always pretty, but at least people don't die for voting one way or another. First there was a sham election in Kenya, where the result was nowhere near free nor fair, but rather than re-doing the election, (and/or sending someone to jail for it), they chose to have a government of 'national unity'. In other word, 'we don't care who you voted for, we will choose your leaders for you'. Now the elections in Zimbabwe are also a sham, the whole world knows that it is a sham, yet African leaders at the AU summit in Egypt are still patting Robert Mugabe on the back and telling him well done and even applauding him for his abuses. The South African president Thabo Mbeki would rather be seen dancing, (yes, dancing!), with the Zimbabwean dictator rather than actually doing what 90% of the people that voted him in office are telling him to do. Mbeki is happy to close his eyes to the very oppression he claimed he was against. It also makes you think really, what was the ANC really fighting for all this time? To defend the rights of the African people'? because if it is then they are failing the African people miserably over and over again, (how many people must die in Sudan before someone calls Omar Hassan al Bashir and politely asks him to stop doing what he is doing?). And when the Zimbabwean dictatorship falls, (because all dictatorships eventually collapse), he will probably be welcomed with open arms by many African leaders. As I said, European governments are not always much better, but at least we can vote them out of office fairly quickly and we have no one to blame than ourselves. 10:14 AM - 7/1/2008 - comments {4} - post commentShare and enjoy Life without the InternetFor the past week, (and a bit), my Internet at home has been disconnected. There was a small misunderstanding between the wife and I and that resulted in the account been canceled, (personally, I blame the wife). Needless to say I am like a drug addict on week-end, unable to check my emails, visit my favourite forums, nothing! I find myself looking after the garden or doing tasks I have neglected many years ago. When I get to work I do my usual sweep of Spam Blogs that were created overnight and check a few emails, but it's not the same. As you can see on the homepage, JournalHome is still supposed to move to a new server, in fact I have already purchased a brand new web server. But as I cannot do the move we just have to wait where we are for the time been. So please bear with me while I wait to be reconnected, I am still around and I still reply to emails when I can, just not as fast :) 4:09 PM - 5/13/2008 - comments {0} - post commentShare and enjoy We are movingIt's that time again, JournalHome has outgrown it's current home, (that and the current hosts proved somewhat less than willing to help with their problems). Anyway, we are moving to a server that is about 50% larger, more memory, more drive space and so forth. I will close the site as soon as the move starts and it should only take a couple of hours.
So, as long as you see a 'we are closed' sign, it will mean that it is not completely updated. As always, all your images, files, and posts will be backed up before any move is made. Let me know if you have any questions. 12:52 PM - 4/2/2008 - comments {0} - post commentShare and enjoy Election day in AfricaAs some of you might night know it is election day in Zimbabwe, everybody expects Robert Mugabe to steal the election. They even have dead people still on the voters roll or an 'extra' 3 million ballot papers than there are voters in the country. Everybody knows that the elections will not be free and fair, here in South Africa everybody you talk to tells you that the rampant crime and unemployment is partly due to the catastrophic collapse of the Zimbabwean economy, (I think the inflation is still running at 100 000%). But the really scary and alarming thing about it is the fact that the South African government still claims that everything in Zimbabwe is 'free and fair'. 10:23 AM - 3/29/2008 - comments {2} - post commentShare and enjoy Moving to a bigger server... againHi,I am in talks with another service provider to move JournalHome to another, (hopefully more reliable), server. This will give us more room, (as we are fast running out of space), and hopefully they will offer a better service. The changes should not be noticable appart for less down time, (hopefully there will be no more down time). For those of you that are technically minded, there will be double the amount of memory for the database to play with and double the amount of har drive space. More importanly I am moving because the attitude of the current provider was nothing short of shocking, they don't seem to care that the server is down for a couple of hours at a time. I am yet to have a proper explaination from them for many of the problems we am having. For the past 3 or 4 months I have been busy re-writting JournalHome to be a lot more flexible than it is now and this is comming along nicely. I am hoping to have something for testing soon, (but don't worry, JournalHome will not be used for testing, that will be done by others). The bad news is that the server will be down for 24 hours, but I will give you some warning ahead of time. It will be sometime next week, (but I still need to confirm it with the providers). 8:52 AM - 3/19/2008 - comments {2} - post commentShare and enjoy Load shedding in South AfricaThose of you who don't know, there has been quite a bit of load shedding going on in South Africa. Seen that it takes 5 to 10 years to build a new power station I wouldn't expect much economic growth from them for the next couple of years. They even went as far as closing most of their mines, (in case you wondered why the price of gold went thru the roof). I know it is easy to blame the power company, (Eskom), but in fact the government explicitly told them not to build new stations. So now we enjoy daily power outages of between 1 to 2 hours, the mines have been ordered to run at 80%. As this is going to last a few years I can only imagine that it will get worse and worse. 1:23 PM - 2/1/2008 - comments {5} - post commentShare and enjoy Lost contact with America for a while.I was busy doing some normal maintenance on JournalHome for a while when I lost contact with the servers. 10:29 AM - 2/1/2008 - comments {1} - post commentShare and enjoy Small updateOver the past few weeks I have been very busy at my real work but that doesn't mean I didn't keep an eye on JournalHome, I have deleted over 50 spam accounts :), sometimes it makes you wonder why they even bother. I have also been busy developing the next generation of JournalHome, this is a complete rewrite of the current version and will hopefully be a lot more flexible than the current version, (one of the nice thing is that it will allow you to use wordpress templates). But I will have more on that in the next year. That's it really, just to let you know that I am still around and still working in the background. Drop me a line if you see anything wrong or if you have any question. 10:58 AM - 12/21/2007 - comments {0} - post commentShare and enjoy So close, yet so far...Last night England played South Africa in the Final of the rugby world cup. And South Africa won it. Honestly I don't think that England ever really had a chance against the South Africans. But it would have been so nice :). Yesterday the whole of South Africa came to a stand still, the shops closed early, the road were quiet. In other news, I have been been very busy at work, my contract is coming to an end soon(ish). So I haven't been able to dedicate as much time as I would have liked to JournalHome. But I still patrolling as much as I can, I still delete around 10 accounts a day. I have no idea why they keep coming back, surely they can see that it is not working. But I gave up trying to understand spammers a looong time ago. I am fixing a few bugs that were sent to me, but like I said, I am very busy at the moment, but I will get to it, I promise. 9:57 AM - 10/21/2007 - comments {2} - post commentShare and enjoy Add the BlogRush Plugin to JournalHomeI added the BlogRush to the slow growing list of plugins. You can see what it does on my own blog, it list 5 'related' blogs and my blog is placed on other peoples blog. So their visitor might come and see my blog, in other word it is another way of getting more visitors. There is a big divide when it comes to blog rush, some say that it is the 'next big thing' while others cannot complain enough. the recurring theme is that your title must be extremely interesting for other users to click on it, (and visit it), otherwise your click through rate will be pathetic. Lastly they are still in beta, so a lot of things might change soon, so now you will notice that they have no other colors, (in fact no options are available). As with everything on JournalHome, it is really up to you to decide what you want to do. I myself am not sure it really will help as much as they claim. People will abuse it and the 'real' users will loose out. But what do I know. 6:28 PM - 9/20/2007 - comments {1} - post commentShare and enjoy FeedBurner RSS vs JournalHome RSSI created a new plugin, (well to be fair I converted an existing one), to enable you to redirect all your RSS feeds from JournalHome to FeedBurner. As a small example if you go and see my own RSS you will be redirected to the Feedburner of JournalHome. On the subject of Syndication, I have made some small changes to the RSS/Atom pages of JournalHome to make them even more compliant to their respective standards. So now all you need to do is activate the FeedBurner plugin, (be sure to create an account with them first), and enter that value on the plugin page.
Technorati Tags: feedburner, journalhome, plugin, rss
Filed under: feedburner, journalhome, plugin, rss 2:38 PM - 9/19/2007 - comments {1} - post commentShare and enjoy Import wordpress blogs.A user asked me for the ability to import from wordpress blogs.I actually wrote it a while ago and was testing it, so I guess now is as good a time as any. I will import comments, categories and entries. I am still working on other formats, (RSS and JournalHome itself). Contrary to popular belief I don't actually own a wordpress blog so it was not as straight forward as it seems to test. To be fair to the other blog systems, I will release an export function to export all your blogs entries to XML, (in case you want to back up your system or something). Let me know if you come accross anything. 9:30 AM - 9/16/2007 - comments {3} - post commentShare and enjoy At work today and the 2007 rugby world cupI have been quite busy lately at my 'real' job and now I have to work on a Saturday to catch up with some work. Unfortunately the company chose Saturday, (been a quiet day), to do some renovation about 10 meters away from my little cubical. If I wasn't happy to be here in the first place I am now. But I guess I cannot blame them either. I also watched the rugby world cup opening game last night, it is hosted in France. I must admit that I have never seen such a odd ceremony, there was no theme to it, the people were running around, (I guess you could say they were dancing). I am not much of an artist so I should not complain, but I'd like to believe that I am also not too stupid, and if I did not understand the message they were trying to bring across then I guess it was a failure. The opening game itself was a shocker, France should have won the game, (been the hosts and all), but, well, they didn't. I am going out to some dinner/drinks with the wife's friends tonight. They are more like work colleagues of hers, so those kind of dinners can be quite boring, (especially for me as I wont know anybody). Those of you who, (like me), use the Windows Live Writer, they have released a new version of the writer.
Technorati Tags: journalhome, rugby world cup, windows live writter
Filed under: journalhome, rugby world cup, windows live writter 7:58 AM - 9/8/2007 - comments {2} - post commentShare and enjoy Happy Blog day!!I was looking at the twitter site, (the twitter plugin is down BTW), and I saw a notice that apparently today is blogday. If you use your imagination you can see 3108 could look like blog, (if the '8' is dropped a little). They claim that it is the third one, but I must admit that I never heard of it until now. So happy blog day. FFMG 2:09 PM - 8/31/2007 - comments {4} - post commentShare and enjoy Now protecting all the email addresses.As some of you know, it is possible to actually have your email address on your templates, (the flag <%Email%>), but unfortunately this was been abused by some unscrupulous bots that go around harvesting those email addresses. As JournalHome is getting busier and busier, (slowly but surely), I am having to spend a lot of my time dealing with various abuses like email harvesting. I think no one will really mind this small change as it should mean a lot less spam. And also, for the life of me I cannot see why anyone would want to leave their email addresses unprotected. So now in your email links, (on your templates), simply put a normal link <a href='mailto:<%Email%>'> and I will replace it with something a lot stronger. NB: If you just put the code <%Email%> in your template then it will not be protected, (if you want to do that just tell me and I will make changes to accommodate). As always, let me know if you find anything. FFMG 6:47 AM - 8/31/2007 - comments {1} - post commentShare and enjoy Turned strong Captcha on.As some of you might have noticed we have all been receiving a fair amount of spam lately. So I had to turn the more stringent captcha that should hopefully make our friendly spammers life a lot more difficult.
I am going around deleting most of the obvious spam comments but there will still be one or two left to delete. Let me know if you come across any problems or if you think I should protect any other pages. On slightly separate note, the statistics page has been turned back on and is counting everything as usual again. Sadly this means that the stats for the last few days are off a little, (especially yesterday and parts of today). Everything should be 100% by tomorrow GMT. FFMG 12:19 PM - 8/29/2007 - comments {0} - post commentShare and enjoy
|
Description JournalHome.com has created this blog for the purpose of keeping members and visitors up to date with JournalHome.com site information. The easiest way to stay up to date is by using the RSS/XML feed. Place this URL within your rss aggregator and it will automatically update itself whenever a new journal entry is published. If you have any questions which is not answered within this blog then feel free to contact me or post on our forum. Calendar
| |||||||||||||||||||||||||||