The Nokia 7705 Twist is a cute swivel QWERTY phone. It comes with 3-megapixel camera, 2.4-inch, 262K TFT QVGA screen, EV-DO Rev. 0, 2.5 mm headset jack, Bluetooth, HTML browser, built-in mirror, “Post to Blogs” feature and Compatible with services including VZ NavigatorSM, V CAST Music with Rhapsody, V CAST Video, Visual Voice Mail, Mobile Broadband Connect and Corporate Email. It is available through Verizon Wireless at $99.99 after a $50 mail-in rebate with a new two-year customer agreement.
Nokia 7705 Twist
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 2:04 PM 0 comments
Cucumber and Ruby on Rails (Part 7) My learning materials
Now lets see a scenario to go through the links and how the cucumber deals with that scenario.
Before write the scenario lets look at the scree shots and what could be the scenario.
1 Step:- I am on the “List of products” page and I can see
Titled = Ruby on Rails
Description = Model View Architecture
Image url = ror.jpg
Price = 22
2 Step:- Now I click on “New Product” link.
3 Step:- Now click on “Back” link again. Then I am again on “List of Products”.
4 Step:- Now click on “Show” link and then I can see
5 Step: like wise we can navigate through the links
Now lets see how this scenario can be written. Before that look at these step definitions. You can find them in webrat_steps.rb file.
When /^I press "([^\"]*)"$/ do |button|
click_button(button)
end
This can be used for when we click on button
When /^I follow "([^\"]*)"$/ do |link|
click_link(link)
end
When /^I follow "([^\"]*)" within "([^\"]*)"$/ do |link, parent|
click_link_within(parent, link)
end
These two can be used when we navigate through the links.
Now lets see the scenario.
Scenario: Go Through Links
Given I have products titled Ruby on Rails, description Model View Architecture, Image url ror.jpg, Price 22
When I go to the list of Products
Then I should see "Ruby on Rails"
And I should see "Model View Architecture"
And I should see "ror.jpg"
And I should see "22"
When I follow "New Product"
And I follow "Back"
And I am on the list of Products
Then I should see "Ruby on Rails"
And I should see "Model View Architecture"
And I should see "ror.jpg"
And I should see "22"
When I follow "Show"
Then I should see "Ruby on Rails"
And I should see "Model View Architecture"
And I should see "ror.jpg"
And I should see "22"
When I follow "Back"
And I am on the list of Products
Then I should see "Ruby on Rails"
And I should see "Model View Architecture"
And I should see "ror.jpg"
And I should see "22"
When I follow "Edit"
And I follow "Back"
And I am on the list of Products
Then I should see "Java"
And I should see "Platform Independent"
And I should see "java.jpg"
And I should see "20"
save this scenario as go_through_links.feature and run the cucumber features/go_through_links.feature
Then you can see the following screen shot.
Why this scenario failed. Look at these steps.
When I follow "Edit"
And I follow "Back"
And I am on the list of Products
Then I should see "Java"
And I should see "Platform Independent"
And I should see "java.jpg"
And I should see "20"
These steps are wrong. They should be as follows.
When I follow "Edit"
And I follow "Back"
And I am on the list of Products
Then I should see "Ruby on Rails"
And I should see "Model View Architecture"
And I should see "ror.jpg"
And I should see "22"
Edit the feature file and run again cucumber features/go_through_links.feature. Now you can get the all the steps are passed massage.
This is how the cucumber work with the navigation scenario.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 10:16 AM 0 comments
Window Phone : Blow Your Cell Phone to Write A Text Message
The Window Phone is a concept mobile phone that is able to transform its appearance like a window as per the weather. The phone is designed as a thin, clear and transparent plastic sheet, which remains clear during a sunny day, becomes humid during a rainy day and takes a dump outlook during a snowy day. The user can write text messages or draw pictures on the phone in different weather conditions which will later transform and show as SMS characters. The screen features sensitive interaction with the user and comprises the state of a window in differentweather conditions.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 2:11 PM 0 comments
The Boondock Saints II: All Saints Day
Theatrical Release:Friday, October 30, 2009 (Limited; 65 theaters)
Starring:
* Billy Connolly
* David Della Rocco
* Brian Mahoney
* Clifton Collins
* JoJo Rhama
Directed by: * Troy Duffy
Genres:Drama Action Sequel Thriller Crime
SYNOPSIS
The film is the continuation of writer/director Troy Duffy's tough, stylized cutting edge saga of the MacManus brothers (Norman Reedus, Sean Patrick Flanery). The two have been in deep hiding with their father, Il Duce (Billy Connolly), in the quiet valleys of Ireland, far removed from their former vigilante lives. When word comes that a beloved priest has been killed by sinister forces from deep within the mob, the brothers return to Boston to mount a violent and bloody crusade to bring justice to those responsible. With a new partner in crime (Clifton Collins Jr., Star Trek) and a sexy FBI operative (Julie Benz) hot on their trail...the Saints are back!
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:39 AM 0 comments
Tablet Mac Computer Concept
There are lots of good options available on the web for a sleek, stylish and elegant laptop. But if you wish to have something unique that you can show off, then Other World Computing has come up with a future trend of computers for you, which is known as “Tablet Mac Computer”. This laptop doesn’t need a keyboard and extremely practical for business professionals, artists and technology leaders. The most appealing part in this 13.3 inch widescreen LCD is that it will enable one to inscribe on the screen with true pen and Handwriting recognition. This sleek laptop will hit the market with all essential features such as internal CD/DVD combo drive, Bluetooth, Wi-Fi capabilities and Global Positioning System.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:30 AM 0 comments
Labels: New Technology 1
Futuristic Landstorm Concept Vehicle for The Year 2058
Landstorm concept is a vehicle that is designed for future, when airborne vehicles will not be much effective to reach a particular area because of frequent natural disasters which is the result of future global warming. This vehicle has been designed as an all terrain vehicle that is equipped with a collection of hidden gadgets or compartments and the ability to interchange the pods located on its back. There is a variety of Pods that can be enclosed with the vehicle before it is sent to a particular location. These pods have been designed considering scouting missions, food and water transportation to a disaster affected area, medical pods that can treat 2 patients simultaneously, excavation pods that can work as a robust crane to remove large pieces of wreckage, and fire rescue pod where the tank can hold 750 gallons of water and can drain water from lakes with outboard pumps.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:23 AM 0 comments
Futuristic RollTop Foldable Notebook with 17-inch OLED Display and Full Fledged Keyboard
The RollTop is a flexible notebook concept that can be folded like a roll of paper allowing the user ultimate convenience of carrying and storing it even in a congested place. It features a 17” flat-screen OLED display when fully rolled out with the multi-touch facility that will offer the ease and functionality of that of an iPhone. Also, when required, it can be folded into a 13” smart tablet pc. Aside from the touch-screen controlling, it features full fledged keyboard like conventional notebooks with which convenient typing can be performed. When folded, this compact notebook takes the size of a water carrier and can easily be hanged over the shoulder with a hanging belt.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 2:59 PM 0 comments
Labels: New Technology
Tribons Is A Vision of Future Computer System Technology by FrogDesign
Tribons concept is a vision of future technology to be influence and shape ideas of community and tribalism, self-awareness and education, trust and global citizenship. The idea of Tribons concept is based on a lightweight and powerful computer system that connects kids with their friends and family, thus providing emotional support to those who are living anonymously in different cities because of the recent mobility.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:38 AM 0 comments
Labels: New Technology
Clover Eco-Sensitive Mobile Phone Grows Old With You
The Clover is an eco-friendly mobile phone concept that has been designed to grow old with the user. This phone features four module interfaces; sound, sensor, vision and location, allowing the user to customize the phone according to their need and taste. Moreover, users can add quite a few numbers of additional modules to make the phone even more functional and attractive. The sleek black touchscreen offers different way of checking out the functions and a user-friendly operating environment. The phone is branded under the name of Samsung and is a great physical device that can develop and share environmental awareness through a built-in collaborative social network name “eco-map”.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 1:17 PM 0 comments
Labels: New Technology
Introduction to Design Patterns
What are Design Patterns?
Creational -
Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding which objects need to be created for a given case.
Structural -
Structural patterns help you compose groups of objects into larger structures, such as complex user interfaces or accounting data.
Behavioral -
Behavioral patterns help you define the communication between objects in your system and how the flow is controlled in a complex program
Creational Design Patterns:Read More...
Singleton - Ensure that only one instance of a class is created and Provide a global access point to the object.
Factory(Simplified version of Factory Method) - Creates objects without exposing the instantiation logic to the client and Refers to the newly created object through a common interface.
Factory Method - Defines an interface for creating objects, but let subclasses to decide which class to instantiate and Refers to the newly created object through a common interface.
Abstract Factory - Offers the interface for creating a family of related objects, without explicitly specifying their classes.
Builder - Defines an instance for creating an object but letting subclasses decide which class to instantiate and Allows a finer control over the construction process.
Prototype - Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
Object Pool - reuses and shares objects that are expensive to create..
Behavioral Design Patterns:Read More...
Chain of Responsibility - It avoids attaching the sender of a request to its receiver, giving this way other objects the possibility of handling the request too.
Command - Encapsulate a request in an object, Allows the parametrization of clients with different requests and Allows saving the requests in a queue.
Interpreter - Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language / Map a domain to a language, the language to a grammar, and the grammar to a hierarchical object-oriented design
Iterator - Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
Mediator - Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.
Observer - Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Strategy - Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
Template Method - Define the skeleton of an algorithm in an operation, deferring some steps to subclasses / Template Method lets subclasses redefine certain steps of an algorithm without letting them to change the algorithm's structure.
Visitor - Represents an operation to be performed on the elements of an object structure / Visitor lets you define a new operation without changing the classes of the elements on which it operates.
Null Object - Provide an object as a surrogate for the lack of an object of a given type. / The Null Object Pattern provides intelligent do nothing behavior, hiding the details from its collaborators.
Structural Design Patterns:Read More...
Adapter - Convert the interface of a class into another interface clients expect. / Adapter lets classes work together, that could not otherwise because of incompatible interfaces.
Bridge - Compose objects into tree structures to represent part-whole hierarchies. / Composite lets clients treat individual objects and compositions of objects uniformly.
Composite - Compose objects into tree structures to represent part-whole hierarchies. / Composite lets clients treat individual objects and compositions of objects uniformly.
Decorator - add additional responsibilities dynamically to an object.
Flyweight - use sharing to support a large number of objects that have part of their internal state in common where the other part of state can vary.
Memento - capture the internal state of an object without violating encapsulation and thus providing a mean for restoring the object into initial state when needed.
Proxy - provide a “Placeholder” for an object to control references to it.
Advantages And Disadvantages
Advantages:
1. A standard solution to a common programming problem
2. Enable large scale reuse of S/W
3. Helps in improve developer communication
4. Capture expert knowledge and design trade-offs and make expertise widely available
5. A technique for making code more flexible by making it meet certain criteria
6. A design or implementation structure that achieves a particular purpose
7. Speed up the development process by providing tested, proven development paradigms.
8. Reusing design patterns helps to prevent subtle issues that can cause major problems, and it also improves code readability for coders and architects who are familiar with the patterns.
9. Design patterns provide general solutions, documented in a format that doesn't require specifics tied to a particular problem.
10. In addition, patterns allow developers to communicate using well-known, well understood names for software interactions. Common design patterns can be improved over time, making them more robust than ad-hoc designs
Disadvantages:
1. Do not lead to direct code reuse
2. Complex in nature
3. They are deceptively simple
4. Design patterns may increase or decrease the understandability of a design or implementation. They can decrease understandability by adding indirection or increasing the amount of code.
5. They are validated by experience and discussion
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 12:16 PM 0 comments
Labels: Dessign Patterns
First X-Men Origins Game
See the screenshot , that’s the first in-game pic of X-Men Origins: Wolverine, the videogame, NOT the movie. As you can tell, it looks like not only does the game use the likeness of Hugh Jackman as Wolverine, but the graphics will be extremely detailed and very close to the real deal.
According to 1-Up and EGM, who got the exclusive cover-story blow-out on the game, say that it is not only very violent (in keeping with the Wolverine of the comics, I hope) but also more along the lines of Ninja Gaiden II than a “standard” action game. Players will get to take the role of Logan and experience the tormented origins of Wolverine, from his escape of the Weapon X facility to the jungles of Africa and beyond. Here is the official description of the game:
X-Men Origins: Wolverine is an epic action-adventure featuring a true-to-character Wolverine gameplay experience that takes gamers through and beyond the movie’s storyline. Set in a variety of vivid real-world locales, the title challenges players to hone their animal instinct as they uncover hidden dangers, hunt and destroy enemies, and take on seemingly insurmountable situations while discovering the truth about Wolverine’s tragic past. With razor-sharp adamantium claws unsheathed, the future X-Man enacts lightning-quick combat, evasive maneuvers, in-depth combo attacks, and an array of brutal finishing moves. Wolverine doesn’t just deliver massive damage, either — he also takes it, thanks to his mutant regenerative power that heals him in real time right before the player’s eyes.
Developed by Raven Software (makers of X-Men Legends and Marvel Ultimate Alliance), the game will feature a “simple but elegant” and accessible combat system, cool boss fights including an initial one against a Sentinal robot (YES!), seamless cinematic cut-scenes that will bridge the gameplay bits and lots more.
The game will launch alongside the global release of the film in May of 2009 for Xbox 360, PS3, PS2, PC, Wii, DS, and PSP game systems.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 10:09 AM 0 comments
Labels: New Games
Michael Jackson's This Is It
Theatrical Release:Wednesday, October 28, 2009 (Wide; 3,400 theaters)
Directed by: Kenny Ortega
Genres: Documentary Music
Distributor:Sony Pictures
SYNOPSIS
Michael Jackson's "This Is It" will offer Jackson fans and music lovers worldwide a rare, behind-the-scenes look at the performer as he developed, created and rehearsed for his sold-out concerts that would have taken place beginning this summer in London's O2 Arena. Chronicling the months from March through June, 2009, the film is produced with the full support of the Estate of Michael Jackson and drawn from more than one hundred hours of behind-the-scenes footage, featuring Jackson rehearsing a number of his songs for the show. Audiences will be given a privileged and private look at Jackson as he has never been seen before. In raw and candid detail, Michael Jackson's "This Is It" captures the singer, dancer, filmmaker, architect, creative genius, and great artist at work as he creates and perfects his final show.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 9:54 AM 0 comments
Labels: New Movie
GoOd MoRnInG My DeAr FrIeNdS
“New” day
“New” aims
“New” hopes
“New” plans
“New” efforts
“New” success,
“New” feelings
I wish u a Happy &
very SuccesfuL “NEW DAY”
GOOD MORNING MY DEAR FRIENDS
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 6:04 AM 0 comments
Labels: Welcome
Software Test Tools
What Are Software Test Tools?
Software test tools help development teams investigate software bugs, verify functionality, and ensure both the reliability and security of the software they develop. Tools are available for all stages of a software development project. Some software testing tool vendors offer an integrated suite that will support testing and development throughout the life of a project, from gathering requirements to supporting the live system. Other vendors concentrate on a single part of the application development life cycle.
Software Test Tools Business Drivers and Benefits
1) Increase the quality of software applications.
2) Software performance measurement.
3) Improving process management lifecycle of the product.
4) Perform a risk analysis and benchmarking.
5) Gain consistency in testing procedures with automated testing tools (as opposed to manual testing, which may be incompatible).
6) Improving the time to put on the market following the effective detection of functional performance, and security issues.
7) Save money on software development and maintenance costs
Software Test Tools Risks
1. Automated testing can produce quantities of raw data cumbersome. Test for choosing one form tool you can easily manipulate the data that is capable of change and should work together.
2. It undermines the efficiency of fault injection is not important. Fault injection tool specific code paths above weaknesses, particularly, the path that are victims of security attacks can not show through the check.
3. There are two drawbacks you enough for choosing the wrong software tools have not only wasted time and resources, but also an obstacle that you can get your teams made solutions difficult.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 1:13 PM 0 comments
Labels: Software Test Tools
Astro Boy
Theatrical Release:
Friday, October 23, 2009 (Wide; 3,014 theaters)
CAST AND CREW LIST
Directed by:
* David Bowers
Starring:
* Nicolas Cage
* Donald Sutherland
* Freddie Highmore
* Kristen Bell
* Matt Lucas
* Eugene Levy
* Nathan Lane
* Bill Nighy
Screenwriter:
* Timothy Harris
Producer:
* Maryann Garger
Genres:
Adventure Fantasy Sci-Fi Animation
SYNOPSIS
A computer graphics adaptation of Osamu Tezuka's famous manga about a boy robot, first published in 1952.
Set in futuristic Metro City, "Astro Boy" is about a young robot with incredible powers created by a brilliant scientist named Tenma (Nicolas Cage). Powered by positive "blue" energy, Astro Boy (Freddie Highmore) is endowed with super strength, x-ray vision, unbelievable speed and the ability to fly.
Embarking on a journey in search of acceptance, Astro Boy encounters many other colorful characters along the way. Through his adventures, he learns the joys and emotions of being human, and gains the strength to embrace his destiny. Ultimately learning his friends and family are in danger, Astro Boy marshals his awesome super powers and returns to Metro City in a valiant effort to save everything he cares about and to understand what it takes to be a hero.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:41 AM 0 comments
Labels: New Movie
Nokia's 'Booklet 3G' Netbook
Nokia's 'Booklet 3G' Netbook With 12 Hour Battery-Life. Form and Functionality.
If you're a fan of Netbooks, and also a fan of Nokia, you'll soon be able to indulge your preference. On 2 September 2009, Nokia plans to release availability and pricing details for their new netbook called the "Booklet 3G"
Yes, Nokia is bringing out its own kind of Netbook, and even though it may look like a regular netbook, it will carry the classy, smooth design we're used to see from Nokia.
The Booklet 3G will be Windows based and powered by the popular and efficient Intel Atom processor with a whopping 12 hour battery life. This means people will be able to leave their power cables behind a little more often, without losing connectivity.
Weighing only 1.25 kilograms, this new lightweight plans to pack a significant punch with its highly portable aluminium casing. It's little more than 2 centimetres thick.
Connectivity options include 3G/HSDPA as well as Wi-fi, offering users high speed access to the internet.
The device features a HDMI port enabling HD video out, a built-in camera for video calling, blue tooth and SD card reader. Featuring a 10-inch glass HD ready display and a built-in A-GPS (which works with the Ovi Maps gadget), pinpointing your exact position takes only seconds.
We cannot really be surprised by this move, considering that Nokia is one of the world's leading providers of connectivity. Considering that Nokia is probably one of the most well known names in the world today, consumers should be able to look forward to be able to add to their list of gadgets the new Booklet 3G.
Nokia seems to be upping their game every time a new product is released, and we expect pretty much the same this time. Of course consumer expectations will likely be high with this new addition to their product line, but if Nokia continues to deliver the high quality we've grown accustomed to over the years, I'm sure it will be a hit with users.
Product availability and pricing details will be released on 2 September, 2009 through Nokia World
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:29 AM 0 comments
Labels: New Technology
What Microhoo means to you
The deal Microsoft and Yahoo made today to combine their ad and search efforts has its roots in the mid-1990s, near the dawn of the Web.
It was then Yahoo CEO Tim Koogle who made the decision that Yahoo would become a “portal,” a gateway to an internal Web world. All the smart guys in New York and in the mainstream media were urging this. Search, they said, was limited, it was techie, it was obscure. The real growth was in media.
Around the same time Microsoft decided it must “embrace and extend” its monopoly from Windows to Office to the Web, through Internet Explorer. Rather than selling what it made, it would bundle its monopoly products with its browser and dominate that way. This led to its antitrust case, and it has embraced, even extended itself into, the legal profession ever since.
So it was mistakes made long ago that created the new Microhoo. Yahoo will become the salesman and public face for Microsoft’s technology. The hope is this will slowly eliminate the technology, legal, and marketing mistakes both are known for, relying on the two firms’ complementary strengths.
For more info...
http://www.smartplanet.com/technology/blog/thinking-tech/what-microhoo-means-to-you/918/?tag=content;col1&gclid=CL73tZ6T0p0CFUtp4wodBnx8sQ
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 8:18 AM 0 comments
Labels: My Readings
Nokia Unveils Its First Linux Phone N900
Nokia unveiled N900, its first smart phone running on Linux software, aiming at improving its offering at the top end of the market.
The Nokia N900 runs on the Linux-based Maeme 5 software, featuring true multitasking with applications as well as Web browsing with Adobe Flash support.
Nokia’s workhorse Symbian operating system controls half of the smartphone market volume — more than its rivals Apple, Research in Motion and Google put together. Nokia said Linux would work well in parallel with Symbian in its high-end product range.
“As Nokia announces the software platform that will drive its future services aspirations it created a dedicated solutions unit — the challenge will be to ensure that all these elements work in harmony in the face of fierce competition from Apple and Google,” said Ben Wood, head of research at CCS Insight.
The new N900 model, with cellular connection, touch screen and slide-out keyboard, will retail for around $712, excluding subsidies and taxes.
Nokia also unveiled a new Solutions business unit, which aims to better tie together its phone operations and new mobile Internet services offering.
Technical details of N900:
Display:
3.5 inch touch-sensitive widescreen display
800 × 480 pixel resolution
Web browsing:
Maemo browser powered by Mozilla technology
Adobe Flash™ 9.4 support
Full screen browsing
Camera:
5 megapixel camera (2584 × 1938 pixels)
Image formats: JPEG
CMOS sensor, Carl Zeiss optics, Tessar lens
3 × digital zoom
Autofocus with assist light and two-stage capture key
Dual LED flash
Full-screen viewfinder
Photo editor on device
TV out (PAL/NTSC) with Nokia Video Connectivity Cable (CA-75U, included in box) or WLAN/UPnP
Landscape (horizontal) orientation
Capture modes: Automatic, portrait, video, macro, landscape, action
Video:
Wide aspect ratio 16:9 (WVGA)
Video recording file format: .mp4; codec: MPEG-4
Video recording at up to 848 × 480 pixels (WVGA) and up to 25fps
Video playback file formats: .mp4, .avi, .wmv, .3gp; codecs: H.264, MPEG-4, Xvid, WMV, H.263
Music and audio playback:
Maemo media player
Music playback file formats: .wav, .mp3, .AAC, .eAAC, .wma, .m4a
Built-in FM transmitter
Ring tones: .wav, .mp3, .AAC, .eAAC, .wma, .m4a
FR, EFR, WCDMA, and GSM AMR
Digital stereo microphone
DLNA
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 9:37 AM 0 comments
Labels: New Technology