DevPinoy.org

A Filipino Developers Community
Welcome to DevPinoy.org Sign in | Join | Help
in Search

cruizer

aspiring to free and open the mind of .NET developers

February 2006 - Posts

  • Long parameter lists

    I don't know if I'm just biased but I really don't like having long parameter lists in functions/methods. It turns me off to the point of avoiding use of such a function if the parameter list requires five or more parameters. Four seems to be pushing it already.

    What's your take on this?

  • When things get real hot...

    I was surprised to find out that my cheapo notebook's CPU was running idle at 75 degrees Celsius! No, don't ask how it goes when the load gets high. Needless to say, the system kicks in auto-off when it reaches 95 degrees, and it sure did so when I tried to run Sisoft Sandra's CPU Arithmetic Benchmark. Good thing I found where to download Mobile Monitor, since its original web site has disappeared.

    Anyway, another good thing is that even if the laptop's real cheap, the store I bought it from offers good support. They replaced the CPU and the heat sink/fan. Now it's running idle at 43 degrees.

  • Ubuntu Linux 5.10 on a generic laptop

    Seems like no one responded to my Ubuntu Linux CD giveaway. Oh well [:P]

    Anyway just last weekend I was finally able to buy myself the cheapest laptop there is -- Celeron M 1.3 GHz, 512MB DDR, 40GB hard disk, WLAN, 14.1" 1024x768 screen for less than PHP 35K. Now I installed Ubuntu Linux 5.10 (yes, one of the copies I was supposed to give away) on it. Let me tell you how it went.

    Well the installation was pretty straightforward. Anybody who has installed Windows XP from a CD-ROM will be able to do it, never mind the stuff about partitions. Ubuntu automatically suggests partition sizing anyway. I think the install went on for about less than an hour and I finally saw the Ubuntu login screen on my desktop. Cool. Except for the brown color. [:P]

    Until I noticed a few things:
    1. The screen resolution was stuck at 640x480, 60 Hz. Ugh. Some of the dialog boxes in the Ubuntu Preferences panel did not even fit the screen.
    2. It did not detect the 802.11g WLAN adapter in the machine (it's a mini PCI card that's connected underneath the laptop chassis). I think it's supposed to be a RALink card, forgot the model number. At least it got the LAN interface right. Oh wait, the built-in software modem wasn't detected too.
    3. Otherwise, all other stuff worked well. It detected the battery level correctly, the touchpad worked (including the scroller), plugging a USB mouse (from CD-R King, cheapo me!) had the system automatically detecting and using it, standby/shut down/hibernate all worked OK. Great!
    I think Linux is getting really ready for prime time. It's almost there. [;)] However, for it to really get there I think it has to progress to a point wherein users won't have to do command-line magic and extensive Google searches just to be able to find workarounds for the WLAN and the video.

    Oh, by the way, I finally got my display working correctly after finding the open source 915resolution utility. [:)] And I settled for the very clean-looking ClearLooks theme for GNOME instead of the default Ubuntu brown.

  • InstallShield keeping me busy

    I have come to loathe InstallShield. It's so buggy and unpredictable at times, even the version 11 Premier Edition that we use in the company. That's what's keeping me busy these days.

    [:(]
  • Hammett says MonoRail scaffolding is OK

    Hammett of the Castle Project says the MonoRail scaffolding support is OK; maybe you can get it to work. In my case I wasn't [:(]

    For those who don't know, scaffolding is a great way to quickly prototype web sites. You simply code the model (e.g. using ActiveRecord) then all you have to do in the controller is to:

    [Scaffolding(typeof(Blog))]
    public class BlogController : Controller
    {
       public BlogController()
       {
       }
    }

    no kidding! and it will instantly supply create-update-delete (CRUD) functionality for your model class (in this case, it's the "Blog" class). Anyway I'll give it another go when I find time.

Powered by Community Server (Commercial Edition), by Telligent Systems