Friday, June 29, 2007

Who I resemble?



Really cool and useless widget! But a great spirit lifter! =)



Permalink

Thursday, June 28, 2007

Paris Hilton's New Flash Game?


From GSN.com's Description of the new Paris Hilton game:

"Paris is back home and designing t-shirts for some extra cash. Help her with her new venture and watch out for Tinkerbell!"

She gets out of jail now she has an online game! Simple game, but enough to keep you busy when you want to relieve some stress! Enjoy!



Permalink

Wednesday, June 27, 2007

One day remaining... iPhone here we come!

With the iPhone soon to hit the markets, I think it's only fair that we put the iPhone in the spotlight once again for one more quick look at it's innocence before we find the bugs, glitches, etc.

Hi-Res Pictures from Apple's iPhone Gallery:

Great view of the iPhone's sleek body and main menu

Showcasing the cool album browser interface

Now we categorize the iPhone the way Apple envisions it:
  1. Revolutionary Phone -The iPhone features an innovative touch screen where you can select the contacts, initiate a call, group the contacts, and even make phone conferences. All with the touch screen! For all you SMS users, the iPhone features a full QWERTY touchscreen keyboard that prevents and corrects some spelling problems. The iPhone also features a 2 MegaPixel camera and has a bundled photo management software, a feature lacking in most upscale phones where you have to transfer it to you computer to manage the photos.
  2. Wide Screen iPod - The iPhone plays both music and video files on it's 3.5 inch display, and the files can be controlled via the touch screen. A neat feature included is that you can also view your videos in a wide screen format, just rotate the iPhone by 90 degree, and wala! Wide screen mode!
  3. Internet in your Pocket - The iPhone is bundled with a fully featured Safari browser (which recently made its 3rd beta release a few weeks ago), which Apple claims to be the most advanced browser on a mobile phone. Loved Google Maps? You don't need to look further, the iPhone features both Google Maps and its own Maps application. More Google love is shown in the iPhone, YouTube is also integrated as a mini video player that can be launched from the iPhone's menu. And finally, coming from Apple, who can forget Widgets? iPhone as a decent collection of widgets to help you get information fast.

Fast Facts (Tech Specs from Apple!)

Size and weight

  1. Height: 4.5 inches (115 mm)
  2. Width: 2.4 inches (61 mm)
  3. Depth: 0.46 inch (11.6 mm)
  4. Weight: 4.8 ounces (135 grams)
Capacity
  • 4GB or 8GB flash drive1

Display

  1. 3.5-inch (diagonal) widescreen multi-touch display
  2. 480-by-320-pixel resolution at 160 dpi
  3. Support for display of multiple languages and characters simultaneously

Operating system

  • OS X

GSM

  • Quad-band (850, 900, 1800, 1900 MHz)

Wireless data

  1. Wi-Fi (802.11b/g)
  2. EDGE
  3. Bluetooth 2.0+EDR

Camera

  • 2.0 megapixels

Audio

  1. Frequency response: 20Hz to 20,000Hz
  2. Audio formats supported: AAC, Protected AAC, MP3, MP3 VBR, Audible (formats 1, 2, and 3), Apple Lossless, AIFF, and WAV

Video

  • Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per second, Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
Power and battery
  1. Built-in rechargeable lithium ion battery
  2. Talk time: Up to 8 hours2
  3. Standby time: Up to 250 hours3
  4. Internet use: Up to 6 hours4
  5. Video playback: Up to 7 hours5
  6. Audio playback: Up to 24 hours


Permalink

My Blog's Film Rating!

I'm sure everyone is familiar with movie ratings like G, PG, PG-13, and R. I happen to chance upon Mingle2's site and found out they rate your blog according to the words within your blog. Check out my rating:




Online Dating

Mingle2 - Online Dating

This rating was determined based on the presence of the following words:

  • sexy (2x)
  • bastard (1x)


Tuesday, June 26, 2007

PutiPuti - Popping Delights!


Ever popped the protective sheets with air bubbles that act as shock absorbers in appliance or furniture packaging? Fun and addicting right? But eventually the all the bubbles get popped and leave you craving for more.

But don't fret! Bandai has come up with a cute and novel toy that simulates the popping sensations and sounds created by the bubble sheets called PutiPut. Another cute feature is that for every 100 pops, PutiPuti issues one of it's many random sounds like farting sounds, barking, etc.




Permalink

Sony Ericsson's SeeSaw Concept Phone - Sexy!


Designed by Karsten Willmannd, Sony Ericsson's new concept phone is basically just a phone, yep, your ordinary bread and butter phone without the MP3 players, radios, and the rest of the 3-4G phone. No camera you ask? Notice the weird bulge in the center of the phone? That's the camera and a built-in flash hidden somewhere in the bulge. The OLED screen is also so compressed that you begin to wonder just how far we are in terms of transistor or circuit miniturization.





Permalink

Sunday, June 24, 2007

Some Best Practices to follow when coding .NET languages - Part 3

"The Fundamental Theorem of Formatting is that good visual layout shows the logical structure of a program." - Steve McConnell

To continue the series, we start tackling proper code formatting. This topic is very broad so I'll try to compress it as much as possible and hopefully deliver the message properly.

To start, I'll reiterate the term self-documenting code, which generally means that when someone read and maintains your code, it should be as fluid as possible without having to guess what this procedure does or what these variables mean. It should be like reading a book where everything is straightforword (and enjoyable?).

Refactoring Code

Great algorithms are usually churned out on the fly and are generally very cluttered pieces of work. If you were to maintain the code about 6 months later, I really doubt you would understand the flow or the logic you used before. Sloppy code is still Sloppy code. Everytime you come up with procedures, always try to apply best practices like refactoring commonly used and grouping them into classes or at the very least into methods/procedures. An Example:

using System.Windows.Forms;
using System;

static void main(string[] args)
{
int FirstNumber = 0;
int SecondNumber = 0;
int ThirdNumber = 0;
int ArithmeticResult = 0;

ArithmeticResult = FirstNumber + Second Number;
ArithmeticResult = ArithmeticResult - ThirdNumber;
MessageBox.Show(ArithmeticResult.ToString);


ArithmeticResult = FirstNumber + Second Number;

ArithmeticResult = ArithmeticResult - ThirdNumber;

MessageBox.Show(ArithmeticResult.ToString);

ArithmeticResult = FirstNumber + Second Number;
ArithmeticResult = ArithmeticResult - ThirdNumber;

MessageBox.Show(ArithmeticResult.ToString);

ArithmeticResult = FirstNumber + Second Number;
ArithmeticResult = ArithmeticResult - ThirdNumber;
MessageBox.Show(ArithmeticResult.ToString);
}


I know this may look like a very simple example, but it work to show that this code example could use some refactoring. The first step is to determine the procedures that repeat within a method and replace it with it's own method. We can see that the following lines are repeated:

ArithmeticResult = FirstNumber + Second Number;
ArithmeticResult = ArithmeticResult - ThirdNumber;

MessageBox.Show(ArithmeticResult.ToString);


Refactoring this we have the following method:

public void RefactoredArithmeticMethod(int FirstNumber, int SecondNumber, int ThirdNumber)
{
int
ArithmeticResult = 0;

ArithmeticResult = FirstNumber + Second Number;
ArithmeticResult = ArithmeticResult - ThirdNumber;
MessageBox.Show(ArithmeticResult.ToString);
}


We put the two commonly used operations wintin a new method to reduce the number of lines needed in the main method. Also note that the variable ArithmeticResults' only purpose is to display the arithmetic operation result, so we can move it to the refactored method to reduce it's scope to suit it's purpose.

using System.Windows.Forms;
using System;

static void main(string[] args)
{
int FirstNumber = 0;
int SecondNumber = 0;
int ThirdNumber = 0;

RefactoredArithmeticMethod(FirstNumber, SecondNumber, ThirdNumber);
RefactoredArithmeticMethod(FirstNumber, SecondNumber, ThirdNumber);
RefactoredArithmeticMethod(FirstNumber, SecondNumber, ThirdNumber);
RefactoredArithmeticMethod(FirstNumber, SecondNumber, ThirdNumber);
}


As shown above, doing the refactoring drastically reduces the amount of code to do the exact same thing. And the best thing about refactoring the method is that you can reuse the method anywhere within the namespace it is declared in.

Next in the series I'll be continuing code formatting, focusing on line continuation and line indention. Hope you guys stick around!

Links to the other articles in the Series:
  1. Part 1
  2. Part 2
  3. Part 3


Permalink

Thursday, June 21, 2007

Nvidia Tesla, hardcore graphic superchip!


Nvidia finally releases it's entry to the high performance chips arena with Tesla, which Nvidia introduced as making high-density parallel processing capabilities available in workstation computers. It's intended application is focused on high-performance computing environments such as geosciences, molecular biology, or medical diagnostics. These fields require very powerful computers to continuously calculate predictions and give exact values, especially in the field of medicine.

The power of supercomputing coupled with Nvidia's advanced capabilities, enable the Tesla to graphically rendered some of the most complex graphics, examples include complex AI neural nets, and a super detailed view of biological specimens.

Tesla is currently available in two packages called
Deskside Supercomputer and the Computing Server, the workstation and server versions, respectively. The Deskside Supercomputer includes two Tesla GPUs, is attached to a PC terminal or worksta, and delivers up to 8 teraflops of processing power. A teraflop is the processing of a trillion floating point operations per second.

Taken from Nvidia's Tesla Page

NVIDIA® Tesla™ D870 deskside supercomputer is the first to bring a massively multi-threaded architecture to high performance computing (HPC) applications for scientists, analysts and other technical professionals.

The Tesla D870 deskside supercomputer connects easily to a certified PCI Express workstation creating an advanced HPC solution powered by two 128-processor computing core GPUs.

With a C-language development environment for the GPU, a suite of developer tools, and the world’s largest ISV development community for GPU computing, Tesla D870 deskside supercomputer allows professionals to develop applications faster and to deploy them across multiple generations of processors.

The Tesla D870 deskside supercomputer is used in tandem with multi-core CPU systems to create a flexible computing solution that fits seamlessly into your existing IT infrastructure.

Technical Specifications
Product Tesla D870
Form Factor Deskside System
# of Tesla GPUs 2
Total Dedicated Memory 3 GB (1.5 GB GDDR3 per GPU)
Peak Flops Over 500 gigaflops per GPU
Floating Point Precision IEEE 754 single-precision floating point
Host Adapter Card PCI Express x16 or x8, Small Form Factor, Passive (10W)
Power 520W max., 100-240 VAC Autosensing
Acoustics 40 dB
Weight ~19 lb


Taken from Nvidia's Tesla Page

NVIDIA® Tesla™ S870 GPU computing server is the first to bring a massively multi-threaded architecture to high performance computing (HPC) applications for scientists, analysts and other technical professionals.

The Tesla S870 GPU computing server is a slim 1U form factor to fit into an enterprise server cluster environment. In addition, it easily scales to solve the most complex, data-intensive HPC problems.

Featuring four 128-processor computing core GPUs, a C-language development environment for the GPU, a suite of developer tools, and the world's largest GPU ISV development community, the Tesla S870 GPU computing server allows professionals to develop applications faster and to deploy them across multiple generations of processors.

The Tesla S870 GPU computing server is used in tandem with multi-core CPU systems to create a flexible computing solution that fits seamlessly into your existing IT infrastructure.

Technical Specifications
Product Tesla S870
Form Factor Standard 19" 1U rack-mount chassis
# of GPUs 4
Total Dedicated Memory 6 GB (1.5 GB GDDR3 per GPU)
Peak Flops Over 500 gigaflops per GPU
Floating Point Precision IEEE 754 single-precision floating point
Power 550W typ. (800W max), 100-240 VAC Autosensing
Host Adapter Card PCI Express x16 or x8, Small Form Factor, Passive (10W)

But all this comes at a relatively steep price tag of course! The Tesla GPU in it's lonesome cost about $1499, the Deskside Supercomputer at $7500 and the Computing Server at $12000! Tesla is expected to ship by November or December, if you're itching to get ordering information, visit Nvidia's "Where to buy" page.




Permalink

Wednesday, June 20, 2007

Google wins case against Microsoft? Too easy?

Microsoft bowed down and agreed to change it's Vista search engine to conform to Google's complaint. Microsoft hasn't disclosed how it intends to implement this. Up to now, Google hasn't released any formal details on why Vista's search violates the anti-trust case, which is weird because Google Desktop and even Yahoo's product deliver better results. What's even weirder is that Microsoft decided to settle in such a short span of time without waging war on it's accusers.




Permalink

Cool Hard Disk Enclosure! Holds four SATA Hard Disks!


For all you data storage freaks out there, Icy Dock has come up with cool Mac Mini inspired enclosure designed to hold 4 named the MB561 series, yes FOUR, hard disk drives! This baby even includes its own Open Frame power supply to power the disks and is connected via 4 e-SATA ports. The enclosure features a hot looking aluminum alloy body that ensures your hard disks are protected and shock absorbers to stabilize hard disk operations, these are SATA hard disks after all, FOUR of them! Icy Dock SRP for the MB561 series is about $229.95.

Icy Dock Hard Disk Enclosure Specifications:

Internal interface: Serial ATA
Drive Fit 3.5" SATA HDD x 4
Cooling Fan 80 x 80 x 25mm ball bearing fan
Drive Type: Standalone with vertical positioning
Transfer Rate: eSATA 3Gb/Sec
Insert & Extract connection Via: 15 pin direct hard drive connection
Structure: Aluminum body w/ partial plastic
LED Display Color: Mini White
OS Requirement: Windows 98/SE/ME/2000/XP ; Mac OS 9.0 or higher
I/O port: e-SATA x 4
Power ON / OFF Button Switch
Dimension (L x W x H) 234.9×141×175 mm

If you want to include four Seagate barracuda 500 GB 7200 SATA along with the MB561 series, check out the TheTechGeeks online store, they have a great offer on the MB561 series bundled with the hard disks for only $1000. Expensive you say? They already slashed $250, so hurry up!





Permalink

Tuesday, June 19, 2007

Jack PC Thin Client solution - fits in a wall socket!

clipped from blog.scifi.com
jackpc_w.jpg

blog it
This really compact thin client is small enough to fit a wall socket and is capable of running solely on Power Over Ethernet (power from your LAN cable!). This feature greatly reduces the number of wires you need, both the power and network connections are already intergrated into the Power Over Ethernet feature.

Included in the Jack PC is a resident Citrix ICA, Microsoft RDP, local browser IE 6, and many other plug-ins for local applications. It also features location memory feature for accurate location pinpointing, making remote configuration with Active Directory a breeze! Maybe one of the greatest features is the super low power consumption of 5W considering that the thin client only runs the basics needed to run (it's up to the host manager computers to provide the software). And since this is a thin client, you won't have to worry about data theft since data is not stored on the thin client.

Just connect the display, keyboard and mouse and your done!




Permalink

No More Google Video! Long Live Google Video!

Dugg by moojj:

Google Video, the web-based service that provided almost the same functions as the popular YouTube, is not an online video sharing solution anymore. The parent company Google upgraded the product and made it a search technology that allows users to find clips on the entire Internet. At this time, the official page of the service is exactly the same



read more | digg story | Permalink

Monday, June 18, 2007

Viral Icons, more virals, the better!

If you liked the benefits of viral tags then you should also try this out! Instead of tags, your blog or site's favicon is inserted instead of text hyperlinks. I got this from First Time Dad, who also introduced me to viral tags. Be sure to fill in the three important parts of your viral icon, which is the source of your favicon, the hyperlink to your blog, and the alt text which would be used to help the crawlers identify and associate your alt text with your icon.


———Copy and paste the VIRAL-ICONS and instructions below this line———

Instructions:

Important Update - Please read here!

1) Copy and paste the matrix of “
Viral Icons” below courtesy of Ilker Yoldas from The Thinking Blog. (to support Ilker’s quest of launching his own Internet Startup with a student budget, please consider subscribing to the Full RSS Feed and enjoy interesting posts in the meantime. "Knowledge grows when shared!").

2) Upload your non-animated favicon (GIF image of size 16x16 pixels) to
ImageShack, a similar free image hosting server or to your own server provided by your hosting service if you have one.

3) Substitute the Host Icon and one of the “Viral Icons” in the matrix with your ALT text of choice and your blog’s URL. Maximum of 3 specific keywords for the ALT text are best for it to be effective.


4) When you get a ping back from someone that has your icon in one of their “Viral Icons”, practice good karma by copying his/her Host Icon’s code (automatically the associated ALT tag will also be copied) and paste it over one of your “Viral Icons” below.

5) Invite your readers to do the same and soon this can grow virally.

Host Icon: Yummy Silicon Chips



VIRAL-ICONS

Affordable Graphic Design asian celebrity Internet Business Ideas Make Money Blog Make Money Online The Broken Bow The AnitoKid Technology for Humans KLAPKiDS Music Technology Life Mindtrick Blog Branding & Money Making Feedget adsense MF (stealing cameos from the Web)
Mommy's Getaway and Chat Better Education Together OFW Nostalgia Manila Train Brain Manifesto TV Television AGLOCO Internet Marketing Domestic Reviews Life Heroin Addiction Codependency copywrighter blog writer blogging blog writer Complete Help Blogger Blogging traffic tips MSM Shill
MLM Business, Rich First Time Dad Artist, Portraits, Art Personal Finance Blog MMMiii Sarah Cada Yummy Silicon Chips Kabayan Junction Angel Blush SEO Pagerank Alexa A Great Pleasure Travel Philippines Angel Blush Revellian
Make Money Online w/ Court OTWOMD Cash Money Blogging snapshots of life Anything goes!HERE DZI BEADS NEPAL SHOP NEPAL AND TIBET ART Colloquium JHS,Esq. The Bulletproof Harpist Learn About e-Learning Biggest Italian Jackass Resource the biggest loser West Virginia Baby!
Entrepreneurs and Freelancers Pro Audio Matrix Quality Photoshop Tutorials web20 news tutorials Allergi & depression Hardcore Design Forum Simple Life Daniel Shin World of Solution Manila Mom Flsam NiggyBuzz Blog Munny 4 Hunny The Skinny Cook
Woman's Swim Wear Linky Love Antarctica Cruises Liver Cancer Spring flower bulbs Rienzie Liberty Roots Kev Walkabout iBubbs Tickling your senses YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE
YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE
YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE YOUR KEYWORDS HERE




Rules: No Porn Sites, Only 1 icon per person (i.e. don't hog the ViralIcons!), and please don't tamper with other people's ALT tags, URLs or favicons.



Important: Once I get a ping back from you (I promise to do the best I can), I will add your favicon and the associated code you designate as “Host Icon” here, replacing one of the “Viral Icons” from the matrix above. Feel free to drop a comment here with your blog URL, ALT tags and favicon URL (we don't mind if it is the same all over the blogosphere).



Optional: Display the “Viral Icons” badge on your sidebar and promote your blog. As more and more bloggers copy and paste the “Viral Icons” from the matrix above, the more backlinks you will have with your ALT text, and in turn the more promotion your blog with get. The sooner you participate, the more link love you will receive!





Promote Your Site


———Copy and paste the VIRAL-ICONS and instructions above this line———