Admun's Tech Journey

thoughts, ideas, projects, and discoveries on technologies

  • Main
  • Tag Cloud
  • Archives

27

Nov

What a Theme Should Not Do...

Posted by Admun  Tags: blog, wordpress
When I first start my blog back in 2003, two of the final candidates were NucleusCMS and Wordpress. At the time, Wordpress is still pre-1.0 and by looking at their feature list I decided NucleusCMS is more fun to play with.

Not that this is important...

Later, I re-visited my previous decision when Wordpress rapidly advances and gains popularity while Movable Type pisses off its users and caused a mass exodus. At that time, Wordpress has grow into something interesting as there is a huge community surrounding it. But I decided to stay with NucleusCMS because:
- NucleusCMS seem has better performance as my own benchmark shows.
- There are already a big developer community when compare to NucleusCMS, . It's crowded, IMHO. In NucleusCMS, I can make contributions on many fronts.
- I do not like certain aspect of how the project is being ran.
- I like the skin/template system in NucleusCMS over theme in Wordpress. My main reason is: It is wrong to see PHP code in your theme.

I guess my instinct was not just from my bias over NucleusCMS, after all. PHP code in theme/skin/template is a security risk...

Yes, a skin can included links that is potentially harmful. But there is no code actually executed on my server, and browser has protection to malicious code if there is any XSS present. The same cannot be said for Wordpress theme as the example show.

In addition, I do not think a certified "marketplace" for theme is the answer to theme policing. A properly designed theme system is needed.

Are Hackers Exploiting WordPress Themes? - GigaOM
Leave a comment

27

Nov

My FreeNAS #1

Posted by Admun  Tags: nas
One of the reasons I upgrade my home LAN to 1Gbps is to gain higher throughput for access to NAS. My dad and brother have been using external HDD for backup and file transfer in the past, there's been close-call that HDD was corrupted and near data lost. Also, it's inconvenient to move files around with the external HDD. The NAS provides a centralize and reliable data storage for backup (w/ True Image), personal data storage/sharing (via CIFS and FTP), and media streaming via UPnP.

As we move our data to the network, 100Mbps ethernet is unable to catch up. A test show that write over network top at ~1MB/s, sending 1GB of data takes over 16 minutes. In addition, a 1000Gbps switch is relatively cheap ($65.99) these days. Onto the storage, each of 3 PCs on the network has about 300GB HDD installed. Therefore, NAS requires over 1TB of storage. This mean a typical BYOD RAID0/1 NAS is not sufficient as 1TB size HDD is still very expensive. Furthermore, SOHO-grade RAID5 NAS is also too expensive (i.e. Synology CS-407 costs over $600 w/o disks). After some search around on Fry's, I settled on a DYI system with a Abit AN-M2 m/b, socket AM2 Athlon 64 X2 3800+ CPU, and 1GB DDR2 RAM. It costs ~$170 without disks. Then I added 4xSATA2 HDD (for storage), 1xPATA HDD (for system), and a CDROM drive to the system.

This NAS is setup using FreeNAS. A friend of my setup a NAS earlier with this BSD based software and seem work quite well, so I decided to give it a try. I was a bit surprise by the problems I run into with the latest 0.686b "beta" version. It just failed to install on to the 10GB PATA HDD, period. After many failure attempts, I finally manage to install a older version 0.684b..... Then I found the on-board 1Gbps ethernet adaptor is not supported, I solved the problem by install a Trendnet NIC that works.

After setting up RAID5, mount point, CIFS, FTP, and UPnP on the NAS, the system is finally up and running. I put the system in the garage as our server room for 24/7 operation. Then a CAT5 cable is laid to my dad's room as the wiring closet, where the rest of DSL modem, wireless DSL router, and 1Gbps switch are located.

Wiring closet: DSL modem, wireless DSL router, and 1Gbps switch NAS in the garage

Stay tuned for part 2, we will look at some numbers.
Leave a comment

25

Nov

My Home Network Infrastructure

Posted by Admun  Tags: networking
Just finished some upgrade to my home network in San Francisco. Netgear GS608 is the latest addition to bring 1000Mbps ethernet to the LAN.

More about the NAS, MCE later.

My LAN @ S.F.
Leave a comment

18

Nov

Fedora 8 #2

Posted by Admun  Tags: fedora
More update on my Fedora experience
- Miro didn't work, it failed to play video.... see this bug
- bluetooth bug seem like a kernel problem impacting other TP laptop, a work around fixed it for now.
- gdesklets weather widget seem to rollover to next day now. not... I think I dream about it.
- suspend to ram and hibrnate works. But I think it will not work if I installed ATI driver for X...
- mugshot is very buggy, crashed often
- power usage improvement npoticed, laptop life about ~ 2 hours 15 min on normal usage (compared to ~2 hours)
Leave a comment

13

Nov

Fedora 8 #1

Posted by Admun  Tags: fedora
It's been 3 days since I installed the new Fedora 8 on my T60. This new incarnation came with impressive set of features.

Like previous experience, there are always some rough edges with a new Fedora.

- The default 10pt fonts a bit too big for T60's 1400x1200 screen.
- Even with a new and improved version of NetworkManager, it is not yet fully integrated with the rest of the system (which will be a feature for F9). I have to manually install pam_keyring and make some file change to allow login with networking on without enter keyring access key see here.
- Codec buddy is really irrelevant to me.... It often come with no suggestion for me when I try a propitiatory format . livna gets the job done in a better way.
- Pulseaudio is still very beta.... I found that PCM and Master volume level are somehow messed up. Skype is broken (fortunately there is a work around)
- Bluetooth is not working... [update] bug report is opened
Leave a comment

About Me

admun My passion has always been on software development, and I know it since I wrote my first program on an Apple II. I worked on cellular wireless system in the past (C/C++) and now focus on web application (LAMP, PHP, MySQL, CakePHP, Symfony, jQuery, Google AppEngine/python).

Tags

abit android apache app engine audio bandwidth benchmark bing blogroll bluetooth boinc bookmark botnet bt cakephp cdma cellphone chinese chrome clouds coding crash crawler date dns drm dsl fedora friendster g1 gaim gdesklets gmail google grid h323 hardware html ie6 instant messaging internet javascript jquery language lifestreaming linux liunx meetup ming motorola msi mysql nas nat networking nokia ntp nucleus opinion optimization os p2p palm parrot php power reblog redhat regex rss sdk se search security shell skype social network spam stats string svn syntax sysadmin t-mobile teksavvy telecom thinkpad time tips tuning tv twitter unix voip web web app web2.0 webos wordpress

Archives

  • Full archive
  • May, 2013
  • Feb, 2013
  • May, 2012
  • Aug, 2011

Search

Powered by LMNucleus CMS v3.66 | Copyright Edmond Hui
This page takes 0.036 sec/33 queries to process | NP_BadBehavior blocked 334 spams for the past 7 days
Theme Design by short funny jokes | Ported to Nucleus CMS by BABOCHTA
[Valid XHTML 1.0 Strict]