Skip to main content

Posts

Sun Tech Days 2008 Day 2 - OpenSolaris 2008.5 Track

Sun admitted that Solaris’ late move to open source is a big mistake. They said that while they were busy making money, they were already losing the server market, Linux is taking over very fast. Having tried several versions of Solaris and OpenSolaris , in my honest opinion, opening its source code to the public is a good move. What’s cool in OpenSolaris 2008.5 ? 1. IPS - a network package management system that resembles an apt-get type of command. Thanks to Ian Murdock. 2. Bourne Again Shell - C Shell is no longer the default one. This makes majority of the Linux users comfortable when shifting to OpenSolaris. 3. OpenSolaris Developer Expert Assistance - A dedicated online support service for developers that provides technical assistance for code support, programming questions, diagnostic advice, how-to’s and best practice guidance. 4. OpenSolaris Subscription Support - Telephone and online technical support. Provides automatic notification of securit...

Sun Tech Days 2008 Day 1 - NetBeans 6.1 Deep Dive

Though in a project with a tight schedule, I was given the chance to attend Sun Microsystem’s Sun Tech Days. I got a free VIP pass luckily because our company uses Solaris boxes. Anyway, here’s what I’ve picked up today. 1. NetBeans 6.1 has -/+ 40% improvement in performance - This is good news. I might be able to use this as an argument for replacing Red Hat Developer Studio in our company. It’s an Eclipse-based IDE, it’s not bad though but there are some glitches. 2. NetBeans 6.1 Platform for Desktop Application Development - The wizard for a kick-start is cool! You can jump in and start crafting without worrying some productivity-killer configurations. Mantisse rocks! 3. NetBeans 6.1 JavaScript Support - If you’re a web developer, and you’re worried too much of cross-browser compatibility issues, this IDE is intelligent enough to determine if your code will work in a specific browser. 4. NetBeans 6.1 Improved Refactoring - If you are ...

Data Operations in Java

In my previous posts, I have enumerated the different types of data, the place where they temporarily reside and their characteristics. Those data are no way different from garbages if operation or manipulation is prohibited. Java operators can be classified in to three categories according to their operands: 1. Unary Operator - requires one operand, examples are: ++a; a++; --a; a--; 2. Binary Operator - requires two operands, examples are: j + k 3. Ternary Operator - requires three operands, a very good example is: !isJosetHandsome() ? "You are a liar!" : "Honesty is such a lonely word."; Java operators can be also classified in to the following categories according to their purpose: 1. Arithmetic - operators that perform basic math operations a % b 2. Relational - operators that are being used for comparison mine > yours 3. Logical - operators that are used for applying boolean logic isClear() && isConcise() 4. Assignment - ope...

Fixed SVN + SSH in Red Hat Developer Studio CR1

If you get the following message during an svn+ssh transaction using Subclipse, The system cannot find the file specified. svn: Can't create tunnel: The system cannot find the file specified. You need to specify an ssh executable or equivalent. Modify the Subversion config file. On W!ndoz3 the file can be found in: C:\Documents and Settings\[user]\Application Data\Subversion\config In the [tunnels] section, see to it that it is not commented. Add / modify the following line: ssh = C:/Program Files/TortoiseSVN/bin/TortoisePlink.exe If you have Pageant running, you need not to specify the ssh key explicitly.

Nonprimitive Data Types in Java

Nonprimitive data types in Java are reference variables (object references), arrays and enums. All nonprimitive data types are references to memory where the objects live. [objects] References provide access to objects. The declaration syntax is just the same as with primitives. Decryptor decryptor; The above example shows that we are creating a reference to a Decryptor object. Take note that no real object is created yet. The object is created through the new operator. decryptor = new Decryptor(); The reference decryptor now points to a Decryptor object in the heap. [arrays] Arrays are objects used to hold a collection of primitive or nonprimitive data of the same type. Take note that even if an array holds primitive data, it is always an object. Steps for creating an array: 1. Declaration of an array variable (reference) char[] charArray; //or char charArray[]; 2. Instantiation of an array of a certain size charArray = new char[8]; 3. Initialization of ...

Removing bar311 worm

I got it from my sister’s digicam. Thanks to Leerz for the walkthrough. This worm is really annoying especially if you are more comfortable doing stuffs in the console. 1. Check for any bar311.exe, Autorun.inf, pc-off.bat files in mounted drives. 2. Delete if found. 3. Edit the following entries in the registry. HKCU\Software\Microsoft\Command Processor\"Autorun" HKLM\Software\Microsoft\Command Processor\"Autorun" Alternatively, you can download Noob.Killer , run it, then watch and learn.