Saturday July 31, 2010 @ 04:13:52 GMT+10    ( Weather:  18°C / 64°F  -  Partly Cloudy )
Home » Weblog Archives

Powered byD's Bloggie
Weblog Archive browse by category ...
 → Category :
Display order:
Page 1 of 4   ( 31 entries , showing 1 - 10 )
    1 2 3 4 Next  >>

Shout ! - 1:33 am
bloody spammer keep abusing the shout system...
Personal , Site Updates  -  poster 

img
A quick update to the shouting system using captcha to combat shout spam. Recently there's been a few thousands of spams posted via shouting system. During peak there are around 40+ IPs spamming, looks like they're coming from the same source, just rotating the IPs and abusing the shout system.

After this update, shouter now needs to enter the 3 character code before a shout can be posted.

Eat shit n die you spammers !


After more than a year's maintenance - I'm back - 11:56 am
Personal , Site Updates  -  poster 

More than a year ago, due to worm attack on the server and corrupted all my files (several times actually), I decided to pull my blog down and go into maintenance mode.

Now, it's the time to open it back to the public ~

こんにちは皆 !

Public upload section cleaning - 4:23 pm
Site Updates  -  poster 

As a part of site update process, I have deleted some very old files in public upload to tidy up that section. The navigation interface is upgraded to D's File Manager v1.2.

D's Weather Forecast - 11:49 pm
http://ahkuan.com/misc/weather.php
Site Updates  -  poster 

Brisbane current weather
While digging through the source code files for my website, I sort of like realize I got a lot of forgotten things that's left behind unfinished. For example, I was cleaning up the codes for Weather Report and found out a few huge section of code fragments that got commented out, took me couple of mins and some chips to remember what the heck is it, and trying to figure out where did I stop last time. fear

Oh well, this time I managed to finished it, D's Weather Forecast, and it's time to show it to world. heh

D's Weather Forecast

Based on the original Weather Report, the weather XML data feed is pulled from Weather.com. Besides displaying the current weather info, it provides 7 days weather forecast (although Weather.com is able to provide up to 10 days).

The Weather report and forecast that can be accessed via the top navigation menu 'Misc' -> 'Weather', or here. Just select a location, then click to view the 7 days forecast for that particular area.

Top navigation menu now works in IE7.0/Win - 2:55 pm
some site updates...
Browser , Site Updates  -  poster 

Updated the Javascript and CSS for site-wide top horizontal navigation bar. The menus are now displayed correctly in IE7.0/Win.

The script, FreeStyle Menus, is borrowed from Angus Turnbull. Check out his site.

See Site News Archive for more info.

Some minor site updates during CNY ? - 5:59 am
Site Updates  -  poster 

Spent a couple of hours to make minor progress on my site.
  1. Added 2 new options for D's Bloggie [img] tag : 'noborder' and 'simple'
  2. Minor updates on the BBCode manual
  3. Added a handy tool, String Sorting under Tools section

Check out Site News Archive for more info...

Site affected during DNS propagation - 8:02 pm
Site Issue , Site Updates  -  poster 

Just blog this to keeptrack the update history on my site.

Alright, my webhosting company has moved my site to another new server. During the DNS propagation period, some people are visiting the latest content on new server and some are seeing the old content on old server, that causes some of the shout messages and also my weblog entries are messed up in new and old server. Luckily I still got the chance to do a database dump on the old server and merge with the dump on new server. The rest of the files (eg photos) can be uploaded again from local computer. So now everything is restored and should be appeared correctly in order.

ps: It would really freaks me out if I can't perform database dump on the old server because I don't have any recent backup... So regular backup of your database is really a good habit... (nah, I'm a lazy person.. who cares anyway about database backup eh ?)

Website is doomed for 3 days - 10:16 pm
omg... where did I save my recent database dump ?
Site Issue , Site Updates , Web Hosting  -  poster 

Yikes... my site has been acting strangely or totally down since the evening of 2/10/2006 until this evening sad At first I'm pretty nervous because I suddenly remembered that I haven't pay the bill and it's going to due... in 1 day time....

However, the sql is acting strange and keep throwing a "Too many connections" error on my face. If I didn't pay the bill, they should stop serving my site temporarily and shouldn't be this weird or stupid. After checking out with the admin, I just realized they're carrying out a server update. In fact, it's a huge update... . glare

The RAM has arrived at the datacentre and they have advised an upgrade window of approximately four (4) hours. The upgrade will only take a few minutes, but please allow the full window so as to allow time for any issues that may arise. We expect full services to be restored by approximately 14:30 AEST.

...

We are waiting for a response from the data centre about an upgrade due to a RAM issue on the Milkyway server, the server is currently running on a gigabyte of RAM thus using quite abit of swap causing the slow accessing times. The main services suffering are - ftp, email and sql. We appologise for the inconvinience.


So, during the update process in these few days, sometimes the site is totally down, sometimes it's up but the PHP script has sql connection problem. If I managed to get through, either everything is fine or I'll notice the site's content is old one. It's sort of a database rollback, just that the problem is it didn't rollback to the most recents one. It's like right now I'm seeing the most updated content on my site, 1 hr later I visit again it's rollback to the content that's few days back. Then I come back again, it's restored to the latest one... I can't issue a lockdown on my site because of this and also FTP is not working too... bangwall

Anyway, thank god the update has completed, and thank god again all the data is restored properly heh

Fixed several url rewrite problem in Apache - 9:18 pm
also including a "cheat sheet" for it ^^
Bug , Site Issue , Site Updates  -  poster 

Fixed several url rewrite problem in Apache on server side. Apparently that's my mistake, I tried to do something like [0-9\w], which is invalid and will be interpreted as [0-9w]. However, it works perfectly for the new version of Apache on my local computer.

Below is a quick reference or a cheat sheet for Apache mod_rewrite from www.ilovejackdaniels.com :

Apache mod_rewrite cheat sheet, credit goes to  Dave Child.
Enlarge
Apache mod_rewrite cheat sheet, credit goes to Dave Child.

Last edited: Sat 2006-09-30 @ 23:20 , by DaRen 1 time(s)

Site updates completed. Introducing D's Bloggie v3.1 ! - 8:55 pm
Also arming my site with rifles and bobby traps...
Personal , Security , Site Issue , Site Updates  -  poster 

Test... Test... Testing 1 2 3...

Ladies and gentlemen, I 'officially' announce that the updates on my site has completed! This update took me almost 3 months to finish. That's pretty long time, since all the updates are on local and I don't focus on this everyday, so sometimes I tend to forget where I stop the last time. Anyway, this update is accompanied by the release of D's Bloggie v3.1 . Weblog is the main content on my site. So for most of the time, whenever there is a major site update, my D's Bloggie will be updated too, and vice versa.

This site update, like most of the major updates, which heavily involved in backend changes. For database part, I've created 5 new tables, added 21 new columns to existing tables and dropped 5 existing columns. This is not fun, I've to change lines of lines of codes. I've also revised most of the sql queries and remove any duplicate queries. On a full standard page it usually needs around 30 queries, after the tuning, it now requires only around 20 queries =) For search engine optimization (SEO) part, I added 'description' and 'keyword' to the HTML <META> tag. Depending on the page's content, different or custom descriptions and keywords will be used. I'm not sure why Google indexed my main page but not the rest of other pages. I even added new rewrite rules to rewrite all the URLs that points to weblog and shout entries. For example, '/weblog/100/' will now be rewrote to '/weblog/100.html'. So I hope this will help abit for Google... although Yahoo has already crawled almost all the pages on my site. That's weird eh ? hmm

Weblog entries are now able to carry multiple tags/categories instead of just a single tag/category. Tag and category is an exchangable term on my site. I've expended from originally 9 categories to 41 categories in this update. The new categories can be arranged into hierarchy format, which means every category can be a parent category and allowed to have sub categories beneath it. The public is also able to perform a search on the weblog entries, by matching the entry's title, description and content. The default search mode will be 'exact search', and it's the only search mode available right now. Read my other entry Stucked with "homemade" search engine for own weblog for more info.

spam
This site update also indicates the starting of the battle between my site and spammers. Now, this site is armed with site-wide banning (IP range, hostname). On top of that, suspicious private message/shouts/comments will not be added. You're free to view my blacklisted list. For security, CAPTCHA (aka verification code) is used on several new pages as well as extra tracking to strengthen site's security.

For tools section, I added a few new tools. Most of them are for administrative purpose. Only URL Extract is opened for public. For weather report, I added new weather reports that cover most of the cities/capitals in Australia.

The most noticeable layout changes will be the new logo design and the side navigation menu. The side navigation menu is moved to the right hand side. This is also a part of the SEO, data comes first wink On this update, side navigation menu is break down into modules, every page can choose to load the required or preset module instead of displaying all. For example, the shoutbox will only be loaded on the main page's side navigation menu. It will never appear in other pages because it's not needed.

For D's Bloggie part...
What's new in D's Bloggie v3.1
  • ! Multibyte-safe parser and related classes since the site's default encoding is changed to UTF-8 (from ISO-8859-1) -- 2006.06.10
  • ! Changes on the BBCode parser's rendering/parsing part. Right now using 2 phase parse instead of single phase. 2 phase parsing is a more "clean" way to deal with certain tags like [code], [nobb] etc
  • + New [table] tag. This tag is inspired by the Wiki Table using pipe syntax. See http://meta.wikimedia.org/wiki/Help:Table -- 2006.06.12
  • + Check the wellformedness of the content -- 2006.06.12
  • + Allow dumping the raw structure for specific entry -- 2006.06.12
  • + [code] Tag: Rewrote major part for this tag. Syntax changed. New attributes 'lang' 'linenum' 'nojs' 'title'. Now individual code snippet/fragment has their own options to highlight, show line number and etc. All this is done by setting the attributes in the [code] tag instead of controlling via settings of individual blog entry.
  • + [url] Tag: Added a new attribute 'external' 'local' 'clean'. Originally needed 4 regex matching (include [lurl] tag), now simplified down to 1 regex matching only
  • + [img] Tag: Rewrote almost the whole part for this tag. Syntax changed. Now support flexible attributes such as image position(left,right,center), image size, additional caption, image thumbnail. Inspired from Wikipedia.
  • - New [left], [right] tag for text alignment
  • - New [bquote] tag for blockquoting
  • - New [pre] tag for preformatted text
  • - New [ nobb ] tag for disabling bbcode parsing on certain context
  • - Dropped [lurl] tag. Use the 'local' attribute in [url] instead
  • - Dropped a markup tag that uses regex "===(.+)?==="
  • - Added new smiley icons, also dropped/renamed a few ones
  • - In this new update, anchor links from an image can be achieved with [img=pic.jpg|link=somewhere.html]. In previous version, this can only be archieved with [link=somwhere.html][img][/img][/link]
  • - % WEBLOG % now points to a new folder path to avoid confusion between the virtual rewrote url and actual path
  • - Dropped the 'Highlight Coding' option in the create blog page as a result affected by the changes of [code] tag

For more info, checkout here.


Again, please report any bugs or weird CSS rendering. You can also contact me and let me know.

*Update 2006-09-30* Forget to mentioned duplicate sql thing.
Page 1 of 4   ( 31 entries , showing 1 - 10 )
    1 2 3 4 Next  >>
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.87 , 21 queries , 0.2057s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost