MS Office 2010 beta is ready for download

19 11 2009

MS Office 2010 beta is ready for download.
This beta version will expire on October 2010.

Download: http://www.microsoft.com/office/2010/en/download-office-professional-plus/default.aspx
Features of Office: http://www.labnol.org/software/microsoft-office-2010-review/11132/

Courtesy: labnol.org





Differences between Blu-ray and HD-DVD

14 10 2009

Blu-ray technology is supported by electronics giants such as Sony, Samsung, Phillips, and Panasonic. The storage capacity of Blu-ray media is at least 50 gigabytes (GB), which is six times higher than any existing DVD.

Blu-ray DVDs can store a 13-hour normal-quality video or 2-hour high-quality video. HD-DVD, which is supported by Toshiba and NEC, and is compatible with the current DVD standard and cheaper than Blu-ray. HD-DVD’s storage capacity is about three times that of the DVD disk (4.7 GB), which is 15GB for single-layer discs and 30GB for double-layer discs. It can support recording and playback of existing CD or DVD discs. You can enjoy high-quality video at 1080p resolution, which is about six times sharper than the existing DVD. Blu-ray’s advantage is its huge storage capacity, whereas HD-DVD is comparatively cheap. So these two products are leading the market with equal influence





Sony LCDs do a dieting :P

19 09 2009

Edgelit LED backlighting has allowed LCDs to get thinner than ever, but at some point you run into physical limitation; you can’t make a TV thinner than the actual inputs. That is, unless you move the inputs somewhere else, which is precisely what Sony has done with its new KDL-XBR10 line of LCDs. The XBR10 series uses a separate media receiver to handle inputs, and it transmits video wirelessly to the display, similar to the design of Panasonic’s 1-inch-thick Z1 plasmas. The rest of the features are similar to what’s available on other Sony LCDs

Source:





Super-digital-highway

15 07 2009

Looking at the title, one might think that the content is about some expressway which has some sophisticated infrastructure. Well, it is not. Super-digital-highway is a concept thought about by ITU (International Telecommunications Union) during the early 2000s during 3G technology planning. I came across this in one of the telecom forums.

I was amazed by the cryptography that they planned. Unfortunately, it is still not implemented. To say in an understandable terminology, it is a technology to cram 11,000 phone calls onto one optical fibre and extract them again.

Well, they say this concept got saturated slowly due to the telecoms crash during 2001 and more business based ideas later. Whatever the reasons might be, hats off to the extensive R&D done by the engineering organisations and companies, where they go to an extent which even makes techies feel “wow”. This is why research, patience and standards are given utmost importance in telecom industry to make it strong, which IT is definitely lacking and making itself more volatile.





Irksome May!

17 06 2009

No blog updates, hot weather, no movie releases, no gadget hypes and horrible cricket! Well, there couldn’t be a month as boring as it was.

The only achievement i could do was to find out a hack which downloads RS links without a Premium Account, just like the way IDM does with a Premium Account. I got a polish software, (on which nothing can be understood basically as the options are written in polish and unfortunately no translations), which if u can tamper with a little Javascript, handles the downloads in a queue. The time countdown between each files is also handled by the software itself. Though it has certain limitations like pausing a file dowload during progress is not possible currently, but it suffices the major usecase of downloading stuff from warez. Have to see if we can mod it more.

Gadget updates, there aren’t many that i’ve read/come across except for the Dolphin Music Players, Windows 7, Power Cinema etc. I would soon come up with some reviews!





The Power of Vote

16 04 2009

I casted my vote today morning at Secunderabad constituency. Its a proud feeling, i have to say. I dont want to be one of the so-called ‘civilized’ people, who just ‘talk’ too much whenever we have some criticism to be made about the politicians and end-up by doing nothing as a responsibility at the end of the day. Those who do not vote, doesnt have the right to comment on the politics, government or the crime happening around you. If you think you have the right to democracy, it is only after that you vote.

Buddies, i believe in doing things than talking. You have the power to change – the corruption, increasing poverty, falling economy and everything. Utilize the power.

Please do cast your vote.





Talk to your IPOD now. Apple’s new “tech-cessory”

13 03 2009

What can i say about this new generation i-pod which apple has come out with? It is as big as your door lock key!, and guess what?, you can talk to it. As mentioned in the apple site “A French love song. A Spanish bolero. An Italian cantata.”, it understands about 14 languages and shuffle’s the song based on titles, artists and playlist names.

This third generation iPod shuffle is significantly smaller than a AA battery, holds up to 1,000 songs and is easier to use with all of the controls located on the earphone cord. With the press of a button, users can play, pause, adjust volume, switch playlists and hear the name of the song and artist.

The iPod shuffle comes in silver or black and features a new aluminum design with a built-in stainless steel clip that makes it ultra-wearable.

The iPod shuffle can tell also tell users status information, such as battery life and can speak 14 languages including English, Czech, Dutch, French, German, Greek, Italian, Japanese, Mandarin Chinese, Polish, Portuguese, Spanish, Swedish and Turkish.

iPod shuffle comes with the Apple Earphones with Remote and the iPod shuffle USB cable.

Some pictures from the web:





Childhood Blues

27 02 2009

My Cousin’s son Praneeth in a lovely mood!

dsc00704





Bunty’s new Bike

27 02 2009

Some pictures of Bunty’s new Bike Unicorn on the Vizag beach road, Oh! I Love my photography!





Testing your code. How? Why?

18 02 2009

Obviously you have to test your code to get it working in the first place

> You can do ad hoc testing (running whatever tests occur to you at the moment), or
> You can build a test suite (a thorough set of tests that can be run at any time)

Disadvantages of a test suite

> It’s a lot of extra programming
(This is true, but use of a good test framework can help quite a bit)
> You don’t have time to do all that extra work
(False—Experiments repeatedly show that test suites reduce debugging time more than the amount spent building the test suite)

Advantages of a test suite

> Reduces total number of bugs in delivered code
> Makes code much more maintainable and refactorable
(This is a huge win for programs that get actual use!)

In the Extreme Programming approach,

> Tests are written before the code itself
> If code has no automated test case, it is assumed not to work
> A test framework is used so that automated testing can be done after every small change to the code
(This may be as often as every 5 or 10 minutes)
> If a bug is found after development, a test is created to keep the bug from coming back

Consequences

> Fewer bugs
> More maintainable code
> Continuous integration—During development, the program always works—it may not do everything required, but what it does, it does right

There are two major java testing framework.

> JUnit is written by Eric Gamma of the GoF fame and Kent Beck. JUnit has long been un-unchallenged in the testing framework arena.
> TestNG, written by Cedric Beust is a newer framework, which uses innovative concepts, much of which have been picked up by JUnit in the 4.x versions.

JUnit

> JUnit is a framework for writing tests
> JUnit was written by Erich Gamma (of Design Patterns fame) and Kent Beck (creator of XP methodology)
> JUnit uses Java’s reflection capabilities (Java programs can examine their own code)
> JUnit helps the programmer:
# define and execute tests and test suites
# formalize requirements and clarify architecture
# write and debug code
# integrate code and always be ready to release a working version

> JUnit is not yet (as far as I know) included in Sun’s SDK, but an increasing number of IDEs include it
> BlueJ, JBuilder, and Eclipse now provide JUnit tools
> A test fixture sets up the data (both objects and primitives) that are needed to run tests
Example: If you are testing code that updates an employee record, you need an employee record to test it on
> A unit test is a test of a single class
> A test case tests the response of a single method to a particular set of inputs
> A test suite is a collection of test cases
> A test runner is software that runs tests and reports results
> An integration test is a test of how well classes work together
> JUnit provides some limited support for integration tests

How to write a JUnit test class

> A JUnit test class is a class you write that extends junit.framework.TestCase
# As usual, you can use the default constructor or write your own constructors
> Your test class will inherit the following methods:
# protected void setUp()
$ This a method that will be called before each of your test methods
$ Typically, you will override this method and use it to assign values to some instance variables you need in testing
# protected void tearDown()
$ This a method that will be called after each of your test methods
$ Typically you will just ignore this method, unless you need to close files
> You will also write any number of test methods, all of which have the form public void testSomething()
> Something is usually, but not necessarily, the name of the method you want to test.

How to write a JUnit test method

> Your test method should start with
public void testSomething(), where Something is any name you like (typically the name of the method you are testing)
> This is a normal Java method; you can put any Java in it that you like
> Your method will typically use one of the “assert methods”, such as assertEquals(expected_value, computed_value) or assertTrue(boolean_condition)
> You do not need to call these methods; as long as they are defined as above, they will be called automatically
> You do not need to do anything if the tests fail; the framework will take care of this for you

A simple example

> Suppose you have a class Arithmetic with methods int add(int x, int y) and boolean isPositive(int x)
public class ArithmeticTest extends junit.framework.TestCase {
 public void testMultiply() {
assertEquals(4, Arithmetic.add(2, 2));
assertEquals(-15, Arithmetic.multiply(3, -5));
}
 public void testIsPositive() {
assertTrue(Arithmetic.isPositive(5));
assertFalse(Arithmetic.isPositive(-5));
assertFalse(Arithmetic.isPositive(0));
}
}

BlueJ

> BlueJ provides support with commands such as Create Test Class and Create Test Method
> You can create objects on the test bench and move them to the fixture (and back again)
> BlueJ also has a “recording” mode where you create and manipulate objects, and BlueJ turns your actions into test code
> This is a first implementation and is still quite buggy
> It’s worth experimenting with, but you have to check the code produced to see if it makes sense
> BlueJ also makes it easy to run a single test, a suite of tests, or all tests
> BlueJ’s display of JUnit results is virtually identical to the way results are displayed by commercial IDEs, such as JBuilder

Test-Driven Development (TDD)

> It is difficult to add JUnit tests to an existing program
> The program probably wasn’t written with testing in mind
> It’s actually better to write the tests before writing the code you want to test
> This seems backward, but it really does work better:
> When tests are written first, you have a clearer idea what to do when you write the methods
> Because the tests are written first, the methods are necessarily written to be testable
> Writing tests first encourages you to write simpler, single-purpose methods
> Because the methods will be called from more than one environment (the “real” one, plus your test class), they tend to be more independent of the environment

Stubs

> In order to run our tests, the methods we are testing have to exist, but they don’t have to be right
> Instead of starting with “real” code, we start with stubs—minimal methods that always return the same values
> A stub that returns void can be written with an empty body
> A stub that returns a number can return 0 or -1, or whatever number makes least sense
> A stub that returns a boolean value should usually return false
> A stub that returns an object of any kind (including a String or an array) should return null
> When we run our test methods with these stubs, we want the test methods to fail—to report all kinds of errors
> This helps “test the tests”