Monday, 31 October 2011

Samsung to introduce flexible OLED technology by next year


If a report in PCWorld is anything to go by then mobile phones, for starters by Samsung may well be on their way to sporting flexible screens, by next year. The South Korean company made this announcement late last week. It is learnt that Samsung will first look at incorporating this technology into its mobile phones line-up, and then proceed to tablets and other portable devices.

This is what it would look like (Image credit: Gear Burn)
This is what it would look like (Image credit: gearburn)


The report further suggests that the OLED technology, which Samsung plans to incorporate, contains a material in each pixel, emitting light, which it is being stated is more suited to flexible screens than LCDs. The flip side about LCD's is that they require both a flexible screen and a backlight. Samsung has, according to the report given a glimpse into this technology by showcasing the displays within rigid cases. These rigid cases helped keep the displays curved. Nokia, too showcased the prototype of flexible OLEDs at Nokia World, just recently.

Samsung's decision to incorporate flexible OLEDs, adds the report is its next ambitious move, after the recent success of its Galaxy S II smartphones. Only time will tell if the flexible OLEDs from Samsung find popularity, like the way Galaxy S II smartphones did.

An Introduction to Ruby

Ruby the programming language created by Yukihiro 'Matz' Matsumoto has recently come into the limelight and is slowly gaining traction with the programming world. This can be, in part, attributed to RubyonRails, a web development framework, written entirely in Ruby. Before we explore more on the framework, let's dwell on the language.



Ruby

Ruby is essentially a scripting language. Talking about some of its important features, it's thoroughly object-oriented, dynamically typed and an imperative programming language. It is, in many ways, similar to Python, but differs from it in case of execution and syntax (Introduction to Python here. What sets Ruby apart from the pack, is the fact that it is very easy for beginners to grasp, and at the same time powerful enough for the most advanced programmers.
One of the best uses of Ruby is as a prototyping language, you can have fully-functional working model of your application, in the same time you may have spent floundering to set up the framework while using other programming languages. But its application is not limited to prototyping. Ruby is used extensively almost across the entire spectrum – a programming language can have simulations, 3D modelling, business, robotics, telecommunication, web applications etc.

Installation

We'll discuss the current stable iteration of the language i.e. Ruby 1.9.2. There are three options you can follow to install Ruby:
  • Compile from the source code
  • Use RVM (Ruby Version Manager)
  • Use Ruby Installer
To compile Ruby from source code, head over to the Download Ruby page on its website and grab the latest source-code tarball, and compile it for your system. Mindwell, this will only work for *nix-based systems and not for Windows. For *nix-based operating systems a better option (and a recommended one too) would be to use RVM which stands for "Ruby Version Manager", which allows you to install and manage multiple copies of Ruby on your system, as well as multiple alternate implementations of Ruby. Installing RVM is slightly more aggravating, you will need to follow the instructions for a 'Single User Install' as mentioned here. Make sure you have curl and other dependencies resolved (these dependencies are same as the ones encountered when compiling any software from its source code).
NOTE: If you are running Linux, your distribution repository may also have Ruby e.g. For Ubuntu use the command sudo apt-get install ruby1.9.1 (This will install 1.9.2, the name is kept for library compatibility) On other systems it is prudent to use RVM. Mac OS X has a built-in support for Ruby (one of the reasons, for Ruby becoming famous) Lion supports 1.8.7, again here RVM is advised as Mac OS X is a Unix based system.
If you are running Windows, neither of the two methods mentioned above will work for you. Download the Ruby installer from its website. Run the setup and you will be greeted with the usual fare; license and so on. The important part in the setup is selecting which features you want, when you reach the screen, same as the one shown below, select options as shown (We've left out the installation of Tcl/Tl toolkit as we will not be working on GUI-based programs, you can install it you do plan to work on the same)
Select the location for your Ruby installation

This shouldn't take too long!
And you are done, you have successfully installed Ruby on your system, now on to coding.

The customary greeting

It is an unwritten rule in the world of programming that, you cannot start learning any programming language without greeting the world, first-hand. So we'll start with simple Hello World! Program. Fire up the terminal or the command prompt, type in irb (which stands for Interactive Ruby, and is a fantastic way to learn and test code in Ruby) and hit enter, you will be greeted with the irb prompt, enter the code snippet shown below puts “Hello World!!”
It will look something like this. And Voila! You are done.
Yes, it may seem unbelievable but you just ran your first Ruby code. If this is not tough or challenging enough for you, we’ll execute the same program in a different way. Open Notepad or any text editor of your choice, enter the same code snippet and Save the File as hello.rb Now fire up the command prompt, navigate to the folder where your source code recides and enter the command below
And once again you are done. Perhaps you would want your program to do something more, say greet the world multiple time, here is how you go about it.
\5.times {
puts Hello World!!
}

The above program greets the world 5 times, and the syntax is also much simple and more intuitive as compared to other languages, the same program in C would look something like this
#include <stdio.h>
void main() {
int i = 5;
while (i != 0) {
printf("Hello World!!n");
i--;
}
}

This is one of the many advantages of using Ruby; the syntax is so simple, it seems that you are giving commands to the interpreter in English. The program can be read: 5 time print “Hello World!!” on a new line and hence it is very easy for novices to grab the intricacies of the language
NOTE: The example discussed, justifies the statement that Ruby is thoroughly or we can say strictly object-oriented. Even a primitive data type such as Integer is encapsulated in an object. (For those not familiar with object-oriented programming an introduction to OOP here)
Executing your Ruby Scripts
Moving further, those of you who have a little background in programming will be able to recognize this pattern
*
**
***
****
*****
Now how would you have gone about writing a program which generates the aforementioned pattern in C? The code would most probably look something like this:
#include <stdio.h>
void main() {
int i,j;
for(i = 1; i <= 5; i++) {
for(j = 1; j <= i ; j++) {
printf("*");
}
printf("n");
}
}

Now coding the same program in Ruby will look like this:
i = 1
(
j = 0
(
print "*"
j += 1
) until j == i
print "n"
i += 1
) until i == 6

Here we’re using until as a modifier, which causes a statement to be executed repeatedly until the condition is met, the syntax in its simplest form looks like:
Expression until Condition
Also the variables are not declared, you can just assign value to variable to use it. The variables also do not need to be type-casted, Ruby handles that for us. And we’ve used print here instead of puts, as puts adds a new-line character at the end of the string, which will result in a line rather than a triangle of made up of *s. What changes, do you think, will have to be made to get a pattern like this:
1
12
123
1234
12345
Keep in mind, that the code mentioned here can be directly executed using irb or you can go for the other method in which you make .rb file and run it using the Ruby interpreter (i.e. the ruby command on the command-line or terminal). 

Skype Uses DMCA To Remove Reverse-Engineered Code


It appears as if Skype has taken action to contain the information that is posted on the skype-open-source blog, which posts progress on a Skype reverse engineering project.
ZoomThe blog owner received three takedown notices from its host, Google's Blogger, and there is now a confirmation that Skype and its new owner Microsoft are using the legal foundation of the DMCA to remove information that could violate Skype's IP rights as well as copyrights.
The editor of the Phoronix blog, which was first to report about the Skype reverse engineering, reported that he was contacted by Skype when he published an article on the project - and described a skype-open-source application that allowed users to send messages to Skype users.
However, the skype-open-source blog owner keeps posting notes and the code for his Epycs app is still available. Epycs emulates Skype 1.4 protocol session handshakes and allows users to send messages to Skype users. However, Skype has abandoned 1.4 some time ago and it cannot login to a network anymore. The skype-open-source author recently said that he is now working on "patching" Skype 4.1 and 3.8 "extensively". The goal is to send messages to Skype clients version 3, 4, and 5.

Intel Releases SSD Toolbox 3.0 Software


Intel has released an updated version to the Intel SSD Toolbox (Version 3.0) for use by Intel SSD users.
The new Intel SSD Toolbox offers a new visual interface, with pie-charts and all. With the new interface, you see your drives as tabs across the top, with the Intel drives listed first. You are able to see vital information for your Intel SSD, including: Model Number, Capacity, Firmware version, Drive Health, and Estimated Drive Life Remaining (useful for those worried about drive life). The toolbox provides SMART attributes and IDENTIFY DEVICE information for Intel SSDs and non-Intel SSDs.
Going down the tabs on the side of the toolbox, you see tools for:
  1. Optimizing the performance of an Intel SSD using Trim functionality
  2. Updating the firmware on a supported Intel SSD (see below for more details)
  3. Running either a quick or full diagnostic scans to test the read and write functionality of an Intel SSD
  4. Checking and tuning your system settings for optimal Intel SSD performance, power efficiency, and endurance
  5. Viewing your system information and hardware configuration, such as central processing unit (CPU), chipset, controller name, and driver versions
  6. Running Secure Erase on a secondary Intel SSD
Intel SSD Toolbox 3.0
Zoom
Intel SSD Toolbox 2.0
Zoom
     
The Intel SSD Toolbox supports firmware updates on the following Intel SSDs: 
Intel® Solid-State DriveLatest Firmware Version
Intel® Solid-State Drive 710 Series6PB10362
Intel® Solid-State Drive 320 Series4PC10362
Intel® Solid-State Drive 311 Series2CV102M5
Intel® Solid-State Drive 310 Series 2CV102M3
Intel® X18-M / X25-M SATA SSDs (34nm)2CV102M3
Intel® X25-V SATA SSD 2CV102M3
     
The Intel SSD Toolbox does not support firmware updates on the following Intel SSDs. To update the firmware on these SSDs, use the Intel® SATA Solid-State Drive Firmware Update Tool.
Intel® Solid-State DriveLatest Firmware Version
Intel® Solid-State Drive 510 SeriesPPG2 or PPG4  (120GB SSD)
PWG2 or PWG4 (250GB SSD)
Intel® X18-M/X25-M SATA SSDs (50nm)045C8820
Intel® X25-E SATA SSD (50nm)045C8850

This Nikon DSLR Costume is Fully Functional


Photographer turns himself into a human Nikon D3 DSLR for Halloween.
ZoomCreated by photographer and designer Tyler Card, this DIY Halloween costume is sure to be the life of the party. From a distance it may appear to just be a gigantic camera suit, that is until it snaps a photo of you and displays it on the backside. We've seen several camera costumes throughout the years, but none of them have gone as far as Card's masterpiece.
Nikon DSLR Costume
Tyler Card's DIY costume features a functional LCD, built-in camera flash, and even a shutter release. No word on how long the process took, but Card's creation craftily combined the use of a Dell laptop screen, camera parts and a lot of cardboard to turn himself into a human DSLR. 

A framework initially pitched by Google for real time communication within a browser has been promoted to a working draft at the W3C.


WebRTC was initially disclosed in May of this year when the W3C created a working group who set the goal to develop APIs that will support audio and video communication in real time within a web browser window. According to the current plan, the recommendation spec is due in the first quarter of 2013.
Initially developed by Global IP Solutions, a company that was acquired by Google in May of last year, WebRTC was open-sourced under a 3-clause BSD license in June of this year and is currently supported by Chrome, Firefox and Opera.
The working draft outlines the APIs for WebRTC, including the Stream API, as well as descriptions of P2P connections, and garbage collection.

Intel Ditching Smart TV Business


It appears that Intel will be turning its back on the once-praised Google TV package.
ZoomOne the eve of the announcement of an Android Market version of Google TV, market research firm IHS released some numbers that show that Intel may not be as committed to the smart TV market anymore as it announced back in 2010.
Wrapped up in a group of new entries in the TV chip supplier segment, Intel had less than 2 percent market share in the first half of 2011. According to IHS, Intel has begun shifting its resources away from the TV market and is now focusing on mobile devices such as tablets and smartphones. The TV SoC market is dominated by Mstar with a 39 percent share and Mediatek with 12 percent.
One of the problems Intel and other new suppliers may be facing is that the term smart TV isn't defined yet and that, despite a TV market volume of hundreds of millions of units each year, there are long replacement cycles and the smart TV just has not caught on yet. IHS said that it will take several more years until the smart TV will hit substantial volumes - and account for 65 percent market share by 2015.
“In a television semiconductor market characterized by entrenched suppliers and weak near-term growth prospects, Intel was facing enormous challenges in trying to establish itself as a competitor,” said Randy Lawson, principal analyst for display and consumer electronics at IHS. “And with the first-generation Google TV products proving unsatisfactory given their slow sales, it’s no surprise that Intel is moving away from the television SoC market.” There was no information how Intel will react to the Google TV upgrade.
However, it is already clear that it will take much more than a sophisticated chip to break into the TV market as even Broadcom hinted that it would be leaving the TV chip because of the rough competitive environment.

Free Online JavaScript Tutorial a Hit, Gets 2.5M Injection


A site offering JavaScript lessons for free just received a 2.5 million investment to expand.
ZoomDevelop reports that website Codecademy has been injected with $2.5 million USD in Series A round funding provided by Union Square Ventures and other investors to expand its operations to more countries and with more manpower. What's so special about this site? It teaches JavaScript programming from the very basics, and does it for free.
Codecademy launched back in August and drew more than 250,000 visitors in its first four days. It ditches the books and sterile method of teaching my making the lessons actually fun using conversational language and simple tasks. Users aren't even required to set up an account in the first few lessons, but they'll lose their progress after the first few lessons if an account isn't established by then.
The first lesson introduces promising programmers to the command line, asking them to enter their name in quotes, use the .length command and perform simple calculations. The next lesson covers the confirm or deny popup window messages and alerts. Nope, nothing boring so far!
"Codecademy was created out of the frustrations Zach [Sims] and Ryan [Bubinski] felt with learning how to program," reads the site's About Us page. "Tired with less effective text and video resources, Ryan and Zach teamed up to create Codecademy, a better, more interactive way to learn programming by actually coding. This is just the beginning."
Now sitting on a huge mound of cash, Codecademy is currently hiring additional developers and designers.
"You can find more about the openings on our jobs page, but we think there are few opportunities that offer you the chance to make a difference in the lives of hundreds of thousands of people," reads the Codecademy blog. "We're creating an educational revolution and improving equality of access to education and we want you to be a part of it.  If that sounds awesome, send us an email and check out our jobs page."

Stream HD VE Streams HD Content From PC to HDTV


This USB-based system will stream 1080p content from your PC to an HDTV up to 30 feet away.
ZoomWarpia last week announced a new "Value Edition" of its StreamHD system which streams 1080p HD video and audio content from a PC to an HDTV. The device also enables mirror and extended desktop modes to an HDTV within 30 feet without the need for annoying cables.
The StreamHD VE includes a USB-based transmitter and an HDMI-based receiver. That said, users stuck with component connections can't use the system unless they purchase a separate HDMI to Component adapter. The connection HDTV must also be in the same room or at least in "line of site" range.
According to the specs, the StreamHD VE offers 32-bit True Color support with display resolution of up to 1920 x 1080 (SXGA+), and a resolution of up to 1080p. It also offers 48 kHz, 16-bit Stereo via the HDMI connector and uses 128-bit AES security while tossing the data across the room.
To use this media streaming device, users will need to be running Windows XP (32-bit only), Vista (32/64-bit), or Windows 7 (32/64-bit). Windows Vista Starter Edition and Windows 7 Starter Edition are not supported as they do not allow multiple displays, the company said.
For streaming video up to 720p, Warpia suggests using Intel's Core 2 Duo 1.8 GHz CPU or similar with 1 GB of memory. 1080p streaming needs Intel's Core 2 Duo 2.4 GHz CPU with 2 GB of memory at the very least.
To get the StreamHD VE, Warpia is selling the system for $129.99 on its website here. The company is also offering the full-blown StreamHD system which adds S/PDIF 5.1 Surround Sound and a 3.5-mm audio output for $159.99. There's also the ConnectHD that adds a wireless webcam and TV mount for an unknown price.