Filed under Crunched

Water-Cooler Talk: CoffeeScript, Sass and Markdown!

As we know, the Water Cooler talks bring together like-minded people to chat about common interests.

SASS

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It’s translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

Sass has two syntaxes. The new main syntax (as of Sass 3) is known as “SCSS” (for “Sassy CSS”), and is a superset of CSS3’s syntax. This means that every valid CSS3 stylesheet is valid SCSS as well. SCSS files use the extension .scss.

The second, older syntax is known as the indented syntax (or just “Sass”). Inspired by Haml’s terseness, it’s intended for people who prefer conciseness over similarity to CSS. Instead of brackets and semicolons, it uses the indentation of lines to specify blocks. Although no longer the primary syntax, the indented syntax will continue to be supported. Files in the indented syntax use the extension .sass.

Read more about Sass



CoffeeScript

CoffeeScript is a little language that compiles into JavaScript. Underneath all those awkward braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.

The golden rule of CoffeeScript is: “It’s just JavaScript”. The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly from CoffeeScript (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.

CoffeeScript on the left, compiled JavaScript output on the right.

Read more about CoffeeScript


Markdown

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML.

Read more about Markdown

New Gmail design

Google accidentally posted a video of a new version of Gmail that features a revamped look, redesigned conversation threads and improved search to its YouTube channel. The new version of Gmail has been in the works since June this year when Google began tinkering with its features.

This unofficial video, which features Jason Cornwell, user experience designer for Gmail, highlights other upcoming features in the new revamped Gmail. Google has since made the video private but not before YouTube user crlsndrsjmnz uploaded it to his YouTube account.

Tagged ,

Lytro: Only camera that captures life in living pictures

Sometime ago, when I heard about Ren Ng, while he was a researcher at Stanford, he was photographing a friend’s daughter and noticed “it was incredibly difficult to focus the image properly and capture her fleeting smile in just the right way.” After completing his Ph.D, Ng decided to use his experience in light field research to “start a company that would produce light field cameras that everyone could enjoy.”

In 2011, Lytro demonstrated a camera that allows users to change the focus of a picture after the picture is taken. Lytro is developing “a new type of camera that dramatically changes photography for the first time since the 1800s,” according to TechCrunch.

The company’s first camera was launched on October 19th, 2011 in 8GB ($399) and 16GB ($499) versions, shipping in early 2012. It’s a global revolution but we only ship to the US for now. You need a Mac to import and edit your pictures.

The technology is being used in this camera is – Light field photography (also known as plenoptic photography) captures all the available light in a scene going in every direction. It works by breaking up the main image with a microlens over an image sensor. Prior to development of the Lytro camera, light field images had to be taken with hundreds of different cameras tethered to a computer to compose the image.

Features of plenoptic cameras include:

Refocusing: Users are able to refocus images after they are taken.
Speed: Because there is no need to focus the lens before taking a picture, a plenoptic camera can capture images more quickly than conventional point-and-shoot digital cameras.
Low-light sensitivity: the ability to adjust focus in post-processing allows the use of larger apertures than are feasible on conventional cameras, thus enabling photography in low-light environments without a flash.

Make it magic.

Lytro lets you take pictures like never before. Unlike a conventional camera that captures a single plane of light, the Lytro camera captures the entire light field, which is all the light traveling in every direction in every point in space.

Capture everything – instantly.

Capture living pictures with the press of a single button. By instantly capturing complete light field data, the Lytro gives you capabilities you’ve never had in a regular camera.

Focus after the fact.

Since you’ll capture the color, intensity, and direction of all the light, you can experience the first major light field capability – focusing after the fact. Focus and re-focus, anywhere in the picture. You can refocus your pictures at anytime, after the fact.

And focusing after the fact, means no auto-focus motor. No auto-focus motor means no shutter delay. So, capture the moment you meant to capture not the one a shutter-delayed camera captured for you.

Share the love.

Don’t keep the fun to yourself. Easily share from the desktop or from Lytro.com to friends and family on Facebook, Twitter, email or your blog.

Tagged , ,

What did one BlackBerry user say to the other BlackBerry user? Nothing.

For last two days I have been experiencing issues while using BlackBerry services that makes me wonder what the heck they are doing. Later I came to know after getting a message from RIM that we’re experiencing some issues. That message says:

“You may again be experiencing intermittent issues while using BlackBerry services. BlackBerry provider. RIM is working on the issue and it will likely to be restored withing the next 4 hours. We regret the inconconenience caused.”

Other important aspect covered by the report is the problem that such a technology is facing around the world:

When I knew that many people are facing the problem around the world. After getting hit with this issue, BlackBerry users across the world have been left without email or text services for a second day due to an unexplained fault. Customers in Europe, the Middle East, Africa, India, Brazil, Chile and Argentina have now reported problems with their devices.

BlackBerry manufacturer Research In Motion (RIM) released a statement saying: “The messaging and browsing delays being experienced by BlackBerry users… were caused by a core switch failure within RIM’s infrastructure.

“Although the system is designed to failover to a back-up switch, the failover did not function as previously tested.”

“As a result, a large backlog of data was generated and we are now working to clear that backlog and restore normal service as quickly as possible.”

“We apologise for any inconvenience and we will continue to keep you informed.”

The server problems started on Monday morning.

Steve Dinneen, technology columnist with City AM newspaper, described the situation as a disaster for Blackberry.

Speaking on Jeff Randall Live, he stressed the outage had badly damaged the firm’s brand, which is already struggling.

“It couldn’t have come at a worse time for Blackberry – it’s already seen its share price fall by two thirds since the start of this year,” Mr Dinneen said.

“If ever there’s a time that people were going to jump ship from Blackberry, this is it.”

Customers have been venting their fury at the lack of service on Twitter and other social networking sites.

One tweeted: “You realise that sending a letter in a bottle and putting it in the Thames is more reliable than a BlackBerry.”

Another joked: “What did one BlackBerry user say to the other BlackBerry user? Nothing.”

RIM had given the all-clear on Tuesday morning after the first problems.

But they struck again later, leaving users unable to access emails or the internet or use messaging services.

Regular voice-calling services appear not to have been affected, and the problem seems to be limited to personal rather than business contracts.

Mobile operators in the UK including T Mobile and Orange posted messages on their websites referring customers experiencing difficulties to the manufacturer.

Vodafone said: “Research in Motion (RIM) is currently investigating the issue as a priority to restore services as soon as possible.”

TV critic Ian Hyland tweeted: “All we need now is for i-phones to start playing up and we’ll have the dream headline: ‘Apple and Blackberry Crumble.’”

Tagged ,

Facebook has acquired friend.ly

Facebook has acquired friend.ly, creator of a question and answer application for getting to know other people on the social network.

Friend.ly lets people answer questions within their social network.

The team writes :

“We’re excited about this because we feel the spirit of friend.ly aligns well with Facebook’s vision, and we’re thrilled to be joining such an innovative company. The friend.ly team will be focusing on new projects at Facebook, but friend.ly will continue to operate as a separate service.”

Other acqui-hires have gone on to do great things at Facebook. Sam Lessin, for example, led the charge on Facebook’s new timeline feature.

Tagged , ,

Setting Up Email with Google Apps for your own domain

The Google Apps has now become very popular for many businesses and bloggers. This service from Google providing independently customizable versions of several Google products under a custom domain name. It features several Web applications with similar functionality to traditional office suites and Gmail is one of them.

You can send and receive email from your own mapped domain using Google Apps. With just a few clicks, you can configure your DNS records to use this service to provide your email. A free Google apps account includes several gigabytes of space and the ability to set up multiple mailboxes.

This means you can have your own blog and email addresses on your own domain.

To set this up:

Map a top-level domain (e.g. example.com) you already own (not a subdomain, such as blog.example.com), or register a new one.

Go to Google Apps site and sign up.

You can choose the plan that fits your email needs best. There is also a free plan which allows you to create upto 50 email addresses.

Google Apps (Free) – up to 50 email addresses

On the next page after clicking a signup link or button, enter your domain name that you already own and have mapped to your own parked domain.

Enter domain

Fill out the signup form with your information. Do not enter the email address you’re trying to set up with your custom domain. The “Email address” here has to be a valid address you can currently receive email with.

On the next page, create a username and password for the domain’s administrator account on Google Apps.

Once the account is set up, you will receive an email from Google and you’ll be taken to a login page for your new Google Apps account. Login with the information you just set up.

Google apps login

When Google asks you to verify domain ownership, you can choose to use a DNS record and select “Other” from the Instructions pull-down menu. You’ll be provided with a TXT record that starts with “google-site-verification.” Copy this code, and keep this window open.

On your hosting site dashboard, find your mapped domain, and click Edit DNS.

In the large text area, enter TXT, followed by a space, then the record provided by Google in step 7 as seen in the screenshot below. Click Save DNS records.

Return to your Google Apps control panel and select the “Active” link under Email.

You’ll see a list of MX Server addresses. Return to the Edit DNS screen from step 9 and enter MX, followed by a space, followed by the priority number, followed by the MX Server address as seen in the screenshot below. Click Save DNS records.

Go back to your Google Apps control panel (where you copied the verification code at the above), make sure you have selected the DNS record option, and click the Verify button to complete the verification process. You will see a message like this:

You’re done! As the message suggests, it can take up to 48 hours for all the DNS changes to filter through the Internet. Don’t panic if it doesn’t work right away.

You can now set up your email accounts in the Google Apps control panel.

By default, your can access your webmail at http://mail.google.com/a/example.com (the last part is your actual custom domain) to send and receive all email with your domain.

Your inbox will be protected by Google’s excellent spam filters. You can access your mail using the Gmail web interface for your domain, forward it to another mailbox, set up POP, IMAP, and SMTP access, or even use smart filters to manage your mailbox.

See my email UI integrated with the Google apps:

Tagged ,

Ubuntu 11.10 with breathtaking features under the hood of Oneiric Ocelot

Ubuntu 11.10 Oneiric Ocelot Ubuntu 11.10 is dubbed Oneiric Ocelot and will include new and breathtaking “under the hood” technologies, such as Linux kernel 3.0, multi-arch support, GNOME 3.2 desktop environment, GTK3, Python 3.2, GCC 4.6.1, Common UNIX Printing System (CUPS) 1.5.0, and lots more.

The Ubuntu 11.10 (Oneiric Ocelot) operating system, due for release on October 13th, 2011 with new features:

Breathtaking login manager (a.k.a login screen or display manager)

Lots of Unity launcher, Unity Dash, and Unity panel improvements, including smart application finder when dragging different files, unread counters for Mozilla Firefox, Mozilla Thunderbird, Empathy and Pidgin, and smart search in Dash.

Awesome backup up tool, called Deja Dup, that will backup and restore all the files (yes, including the hidden ones) in your home folder.

Mozilla Thunderbird 7.0 as the default email client (replacing Evolution Mail and Calendar, which has been completely removed from the system).

Mozilla Firefox 7.0 as the default web browser!

Brand-new ALT+Tab functionality that will work across multiple desktops.

Improved office suite – LibreOffice 3.4

Easily access various settings straight from the Unity panel, to setup your monitor, bluetooth devices, startup applications, printers, USB devices, and system updates.

Simplified and good looking file manager – Nautilus 3

Last but not least,

Breathtaking Ubuntu Software Center!

Update: Ubuntu 11.10 Oneiric Ocelot launched today at 2pm. If you want to download and install the free Linux operating system, it’s live now at www.ubuntu.com/download.

Tagged , , , ,

Android-based tablet computer priced at $35

India has launched what it says is the world’s cheapest touch-screen tablet computer, priced at just $35 but full functioning device in order to attempt to bridge the digital divide. Aakash is an Android-based tablet computer designed and developed by UK-based company DataWind and IIT (Rajasthan) primarily as a platform for audio-visual media including books, periodicals, movies, music, games, and web content.

The commercial version of the tablet will be retailed under the brand name UbiSlate 7. Costing a fraction of Apple’s iPad, the subsidised Aakash is aimed at students.

It supports web browsing and video conferencing, has a three-hour battery life and two USB ports, but questions remain over how it will perform.

It hopes that Aakash tablet will give digital access to students in small towns and villages across India, which lags behind its rivals in connectivity.

“The rich have access to the digital world, the poor and ordinary have been excluded. Aakash will end that digital divide,”

“We’ve created a product that will finally bring affordable computing and internet access to the masses.”

The company says it will also offer a commercial version of the tablet, called UbiSlate. It is expected to hit the shelves later this year, retailing for about $60.

“Our goal was to break the price barrier for computing and internet access,” DataWind CEO said.

Experts say it does have the potential to make a huge difference to the country’s education, particularly in rural areas where schools and students do not have access to libraries and up-to-date information.

But critics say it is too early to say how the Aakash will be received as most cheap tablets in the past have turned out to be painfully slow.

“The thing with cheap tablets is most of them turn out to be unusable,” Rajat Agrawal of technology reviewers BGR India told Reuters news agency.

“They don’t have a very good touch screen, and they are usually very slow.”

Critics also point out that an earlier cheap laptop plan by the same ministry came to nothing.

In 2009, it announced plans for a laptop priced as low as $10, raising eyebrows and triggering worldwide media interest.

But there was disappointment after the “Sakshat” turned out to be a prototype of a hand-held device, with an unspecified price tag, that never materialised.

Tagged , , ,

Will Apple stay hungry without Steve Jobs?

Steve Jobs, the man who made “i” the most famous prefix in history, passed away… He was a true visionary and one of the greatest innovator of all time.

Steve JobsSteve Jobs, Apple Inc’s co-founder and former CEO who died last Wednesday after a long battle with pancreatic cancer, created a series of seminal electronics products, reinvented several industries, and built Apple into a $350 billion juggernaut.

Now big question is – Can Apple succeed without Jobs? Apple has plenty of new products in the pipeline, and there should be few bumps in the short term. But it’s not clear if Jobs’ brilliance — both as a product visionary and a super-salesman — was ultimately transferable.

Jobs’ health had been an issue with investors for years (he was diagnosed in 2004), but that has not stopped Apple shares from marching higher. The biggest factors affecting the stock currently are the reliability of its iPhone and iPad product pipeline, and how well the company wards off smartphone challenger Google Inc and burgeoning rival Amazon.com Inc.

As far as Jobs’ legacy is concerned, Jobs is counted among the greatest CEOs in history, mentioned in the same breath as Henry Ford and other historical giants of corporate America. One of his most unique achievements was vaulting Apple to world leadership not just once, but twice.

After co-founding the company with Steve Wozniak in 1976 and giving the world the Apple II and the Macintosh, he was famously pushed out in a clash with his hand-picked CEO, John Sculley. When Jobs returned in 1997 the floundering company’s survival was in doubt, but he proceeded to radically transform an aging computer-maker and take it in a new, and wildly successful, direction. There are few examples in any field of such a brilliant second act.

Along the way, Jobs in 1986 also bought Pixar, which was then little more than an experiment in digital animation technology. The company ultimately became a juggernaut of its own, and when it was acquired by Disney in 2006, Jobs became the largest shareholder of the entertainment giant. Again, there are few examples of a CEO turning a side project into a world-class innovator and business success story.

Jobs’ few critics say the Macintosh was mostly borrowed technology, and beyond that all Apple gave the world was a sleek cellphone and an improved music-player. But many people — in the tech world and beyond — believe his impact on society and culture was monumental. He prompted millions to embrace digital technology, online media and mobile communications in ways they never did before.

Will Apple change under Cook? While both Cook and Jobs have earned reputations as hard-driving perfectionists, Jobs’ successor is considered easier to work with. While Jobs was infamous for chewing out employees — multiple stories have him firing workers in the elevator — Cook is said to be better at forging consensus.

Who else is important to the company’s future success? Design guru Jonathan Ives, marketing chief Phil Schiller, and mobile-software head Scott Forstall are three of the most important players. Schiller filled in for Jobs on several product launches, and with Cook being more low-key by nature, Schiller may gain a higher public profile.
Thank you Jobs!

What will be Apple’s “Next Big Thing”?

There’s no shortage of speculation on what direction Cook will take Apple in, and whether Jobs had already laid the foundation for Apple’s “Next Big Thing”. For now, industry speculation centers around some sort of concerted attempt to shake up the living room, and TV. Apple has delivered results in the past by diving into fragmented, stagnating industries — notably music and telephones — and re-imagining them through technological innovation. Many experts say TV and its confusing array of options is ripe for an Apple-like “simple is beautiful” makeover.

(Reporting by Edwin Chan in Los Angeles, editing by Jonathan Weber, Bernard Orr)

Tagged , , , , , , ,

Computer virus hits U.S. Drone Fleet: We keep wiping it off, and it keeps coming back

Air Force Cyber­space CommandWIRED reported October 7, 2011 that a computer virus hits U.S. Drone Fleet who control U.S. Air Force drones flown on the warfront. There are no confirmed incidents of classified information being lost or sent to an outside source. The virus did not stop pilots from flying any of their missions. Network security specialists are uncertain if the virus was part of a directed attack or accidentally infected the networks.

We keep wiping it off, and it keeps coming back,”says a source familiar with the network infection, one of three that told Danger Room about the virus. “We think it’s benign. But we just don’t know.

Use of the drives is now severely restricted throughout the military. But the base at Creech was one of the exceptions, until the virus hit.

Predator and Reaper crews use removable hard drives to load map updates and transport mission videos from one computer to another. The virus is believed to have spread through these removable drives. Drone units at other Air Force bases worldwide have now been ordered to stop their use.

In the meantime, technicians at Creech are trying to get the virus off the GCS machines.

The Air Force declined to comment directly on the virus. “We generally do not discuss specific vulnerabilities, threats, or responses to our computer networks, since that helps people looking to exploit or attack our systems to refine their approach,”says Lt. Col. Tadd Sholtis, a spokesman for Air Combat Command, which oversees the drones and all other Air Force tactical aircraft.

WIRED said in the story:

It’s getting a lot of attention, the source says. But no one’s panicking. Yet.

Tagged ,