Home Blog Page 1110

Linux Kernel Plagued by an EXT4 Data Corruption Issue, Patch Available

Apparently, there’s a data corruption issue in the EXT4 file system for multiple Linux kernel branches, affecting several mainstream distributions, including Arch Linux, Fedora, and Debian GNU/Linux.

Several Arch Linux users have already reported data loss after upgrading to Linux kernel 4.0.2, the latest version available in the main software repositories of the … (read more)

The German “Gründlichkeit” (Thoroughness) of the BND and The Open Source Solution

More and more revelations about the practices of both the American and the German nationali intelligence services are published.

Peter Ganten, CEO of Univention, asks himself “What’s the difference between us Germans and, let’s say Americans, if our spying or security agencies instruct the industry to provide them with all relevant data needed to “spy on friends”?”

His thoughts and conclusions that only Open Source can save us from this chase for data with no respect can be found in the Univention Blog.

Review: LG Watch Urbane Has Great Design, Missing Features

LG watch vs seiko

Being an early adopter of anything and everything Linux, I was quick to order the LG Watch Urbane the moment it was made available on Google Store. It was the most expensive watch around, there were no detailed reviews, but I was impressed by the design.

A reluctant buyer

Initially I never planned to buy a smartwatch as I didn’t see it anything more than an accessory or an extension of your phone. One thing that sold me to LG’s Urbane was the design. I am a watch wearer and love my Seiko. LG Urbane looked the most like my Seiko. Since I’ve never used a LG watch boxsmartwatch I did want to give it a try.

The first look

I should not be talking about the packaging of the device… but this was one of the best looking packages for a Linux-powered device. The moment you see it in the box you know you want to wear it.

The hardware

I like the ‘watch-like’ design of Urbane, but it’s a matter of taste. At least it doesn’t look like an iPad shrunk down and strapped around your wrist. It looks like a watch.

The watch comes with a PPG (photoplethysmography) sensor to monitor the rate of blood flow as controlled by the heart’s pumping action. This hardware powers the heartbeat monitor of the watch. It also has a 9-axis gyroscope which is used to turn on the screen when a user looks at the watch.

It’s powered by a 1.2 GigaHertz Quad Core processor, 512 Megabytes of RAM and 4 Gigabytes of storage. The device has a bigger 410 Milli Amp Hours (mAh) battery as compared to 205 mAh powering the Apple Watch. The watch also has one of the best displays; its 1.3-inch P-OLED display with 320×320 pixel (245PPI) resolution. The display is protected by Corning Gorilla Glass 3.

The watch has a button, like the dials of a watch, which is used as an on/off switch as well as a home button. The watch comes with a ‘genuine leather’ strap. It’s the standard 22mm strap so unlike the Apple Watch, you can buy any strap from the market and use it on your watch.

There is a built-in microphone which is used for input. It comes with Bluetooth and WiFi chips for connectivity.

iFixit did a teardown of the watch and found it to be a much more elegant, and easy to repair, hardware assembly in comparison to the glued down Apple Watch.

The software

Android has been ahead of Apple’s iOS for a while and Android Wear is no exception. The watch is powered by the latest version of Android Wear. As usual, contrary to the Apple Watch, it puts the user in control of the device and not Google or LG.

While there are zero third-party watch faces for Apple Watch, on LG Watch Urbane there are at least half a dozen pre-installed watch faces. You can go to the Play Store and install as many watch faces as you want. As a result you can customize your watch to suit your personality or the occasion. Going to the gym? Get the fitness watch face. Going to a party? Get a luxurious one or choose a sober one for the office.

LG watch urbane style

It’s all about swipes

It’s all about gestures. When you swipe the screen from the top to bottom you access system settings where it shows you the remaining battery and other settings. Other settings include changing it to the theater mode, which is pretty useful when you are in a movie theater or any similar event enjoying a show. This mode not only turns the screen off, it also mutes all notifications, so that your watch won’t light up in the dark room every now and then. In the theater mode the screen wakes up only when you tilt it or touch it once. There are many different settings to further enhance this feature. It’s also nice at night, during meetings, while enjoying a movie or play, etc.

LG watch notificationsAnother setting option is brightness boost. If you are outdoors and can’t see the screen, you can boost the brightness, though it will devour your battery faster. I didn’t have any problems reading the screen without boosting the brightness. I wish there was an ambient sensor like Moto 360 which would adjust the screen automatically.

Then there are system settings which will give you complete access to system settings including screen brightness, change watch face, restart or shut down the watch or restore to the factory settings.

When you swipe the screen from the bottom to top, you access the great Google Now cards and other notifications. You can dismiss them by swiping to the right. This is where Android does a much better job than iPO/Apple Watch. It pulls information from apps and email. I can see the status of Amazon orders and my watch vibrates the moment Amazon ships an order or the moment UPS delivers it to my door. It will keep you updated with events added to the Google Calendar and alarms.

If your order from Amazon has been shipped or delivered you will get a notification on your watch. Alarms for important events will buzz on your watch.

To access all installed apps you have to swipe from right to left. Here you will see all the apps that you installed for the watch. You can open any app by tapping on it once and to get out of the app, just push the dial once.

How to install apps

First of all when you start the watch for the first time it will ask you to pair it with a phone. You need the Android Wear app installed on the supported smartphone. The initial pairing will be done over Bluetooth so you need to enable bluetooth on your smartphone. Once it is paired and synced to your device, you can start installing apps from your smart phone. Just open the Android Wear app on your phone and search for the apps.

Different apps work differently. You can use the Amazon app to search for an item and place the order directly from the watch without having to pull out the phone. You can do a quick Google search using Ok Google and get answers immediately. That’s where I found the watch to come in handy, for example if I were taking a walk and wanted to check something. I asked the question to my watch and it gave me the answer without needing the phone. The screen is big enough to read text. Checking weather and sending out a quick message are a few things that the watch does great. I am waiting for the Nest support for the watch so I don’t have to use my phone to control the temperature in my home.

It’s extremely easy to change watch faces. You do need your phone to install new watch faces. Just open the Android Wear app on your phone and then install the desired watch faces. You can set the current face either from the phone or by tapping and holding the home screen of the watch.

Battery life

I was able to get more than 18 hours of battery life after some tweaking. Just make sure to reduce the amount of notifications. I limited them to calls, sms, messages and important emails. Notifications seem to be the biggest consumers of the battery after the screen.

What can it do

You can make calls, but the watch itself won’t make a call; it will open the dialer on the phone and make the call from the phone. I have no problem with it, but in most cases I use Google Hangout for the calls and the watch can’t choose whether you want the cellular network or VoIP to make the call. That’s where I am envious of Apple Watch as it can make calls directly from the watch. That’s certainly what I would want from my Linux watch.

The camera app allows you to control the camera of your Android phone; a tap on the watch screen will take a picture.

Sending emoji was never this easy. You can draw and emoji on the watch using your finger, it will pull the emoji closest to your drawing! It works really well.

lg watch emoji

The fitness app allows you to monitor your heartbeats. There are two apps installed by default – Google Fit and LG’s own LG Pulse app. You can download third party apps as well.

You can play music on the phone, using the bluetooth headphones, or you can use it as a remote to manage music playback on your phone.

You can quickly take notes by using the apps like Google Keep, and you can also manage Wunderlist. However I found both these to be useless in a practical scenario because if I want to take down notes during a meeting I am not going to speak into the watch, I would be silently keying it on my phone using a keyboard.

I can easily record the whole content of the meeting. There are many voice recording apps for the watch which work fine.

One cool app on the watch is find my phone, which will ring your phone if you can’t find it. And that’s something that will happen a lot once you start using the watch as you won’t be carrying your phone around.

What’s Wifi doing on my watch

The latest version of Android Wear brings WiFi support to smart watches. It’s a great feature. First of all it’s extremely easy to configure the wifi on the watch. It automatically pulls the wifi info from the paired device and can connect to the desired wifi without having to enter password. The wifi kicks in when you move out of the bluetooth range of your phone; you continue to get updates and notifications; you can continue to use the watch because it’s using the network.

However, given that the watch can’t do much on its own; you would rather not leave your phone behind. That said, even if you are away from the watch you can send messages using the device.

What it can’t do

I was very excited about GPS navigation using the watch, but I was disappointed. I can search for a location on the watch but it opens the GPS on the phone and not the watch. I am not sure whether the watch can be used as a navigation device like Moto 360 or Apple Watch. Not being able to make calls from the watch is another deal breaker for me.

It’s not just Android watch

The limitations I pointed out are not limited to LG Watch Urbane, the reviewers of Apple Watch are also not very excited about what it still can’t do. Hardcore Apple fans are suggesting to wait for the next version of Apple Watch. I hope that Android players will up the game and stay ahead Apple, as they have so far.

Google I/O is coming up and I am looking forward to some major improvements to Android Wear. It’s already a great platform compared to iOS due to its open-ness, more control to users and the power of Google Now. However, LG has made a decent move with their first Android Watch and there are some features that we certainly want in a smart watch.

LG is planning to bring a more standalone smartwatch which will have built-in LTE and be able to make calls and do other stuff, but it’s not powered by Android. It’s powered by LG’s own proprietary OS and I am certainly not interested in any such proprietary technology.

I would rather see LG investing in Android Wear so users can not only benefit from the constantly growing repository of content and software in Google Play Store, but also have the confidence that buying an Android watch from LG won’t be a wrong decision as LG may not be fully committed to it.

To buy or not to buy?

Let’s be clear: currently smartwatches are mere extensions of your smartphones. You do need to pull out your phone to do things. I totally get that one device can’t replace the functionality of the other. A desktop is my main device and I spend more than 90 percent of my productive hours on there. There are many things that my Nexus 6, Nexus 7 or the iPad can’t do. I am not expecting the watch to change that, but there are many tasks that can be easily performed on the watch itself. The less I have to pull my phone out, the more reasons there will be to invest in a watch which costs more than $366.

In my opinion the LG Watch Urbane is like a knock on the door; it will tell you that someone is there. But you will have to get up, walk to the door and open it to greet your guest. Or, in other words, you will still need to pull your phone out and perform a task.

Now the question is: Are you are willing to pay for that knock on the door?

Get Started With Tizen Development On Linux Mint 17

Tizen is a great platform to develop apps for if you are someone who comes from a web development background. The ability to write apps for wearable devices and smartphones using nothing more than HTML/CSS and JavaScript makes building simple applications a breeze. Tizen extends the functionality of these languages by giving them access to all of the sensors found in many wearable devices and smartphones, which allows developers to build unique apps using simple languages.

This guide is tested on Linux Mint 17, and most of it should also work for Ubuntu.

Read more at Samsung Open Source Group blog.

CoreOS Aims to Help Secure OpenStack Clouds

VIDEO: Brian “Redbeard” Harrington, principal architect at CoreOS, discusses the intersection of containers and the cloud.

Read more at eWeek

Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel

With the Linux 4.1 kernel coming together nicely I’ve begun my testing (separate from all the fully-automated Git testing done each day via the LinuxBenchmarking.com systems) of this new kernel under a variety of different workloads, stressing different systems, and focusing on the changes in the major subsystems. One of the systems this week has been running some fresh Btrfs RAID Linux file-system benchmarks. From an eight-disk server I’ve started this Btrfs RAID testing as some fresh numbers since my Btrfs RAID tests from a few months back on an older server.

Read more at Phoronix

Virtualization or Containers? Consider the Application

container houseRarely does the juxtaposition between the push of innovation and the pull of caution become so evident than in the adoption of new technologies. Time after time, technological innovators introduce new software and hardware into the market that are eagerly consumed by early adopters and retail consumers. And yet it is businesses that tend to hold back, weighing their options before deciding how and if they will join the ranks of users for such new technologies.

Virtualization, the capability to abstract hardware away from the operating system and the applications that run within the OS, has been around for a long time, relatively speaking, in the technology world. Hypervisors such as KVM power a wide range of virtualization tools such as oVirt, RHEV, RDO, Proxmox, and OpenStack. Indeed, virtualization, once approached with caution like any other new technology, is being actively embraced by organizations as an increasingly desired solution to stretch out hardware resources and more nimbly manage machines and the business-critical applications that run on them. With more than 250 members and supporting companies, the Open Virtualization Alliance, a Linux Foundation Collaborative Project, is a testament to the broad adoption of KVM and virtualization, in general.

Today, the newcomer on the block is container technology. Containers abstract the operating system itself; allowing multiple user namespaces to be used with a single kernel. The end result of such an abstraction means that applications and services can be run as separate instances without relying on the operating system itself. Inside a container is the application itself and any specialized libraries it might need to run, and little else.

“Newcomer” is a bit tongue-in-cheek. Containers have been around quite a while as well. The recent popularity of containers has been brought about by the introduction of Docker — the now-ubiquitous container technology that has improved upon existing container shortcomings and container portability. Indeed, that portability has become a key feature of Docker containers–create a container with Docker and you can put that container on any other Docker host machine. This feature, coupled with the advantage of being able to develop applications without the attendant need to worry about the operating system, has made containers very attractive to developers and system administrators alike.

When Worlds Collide?

Having had the opportunity to work with two open source projects that each dealt with virtualization and containers, respectively, it’s been easier to see the advantages and disadvantages of each approach. With
oVirt, KVM-based virtual machines are managed all the way up to the datacenter level, giving administrators
flexibility in managing virtual networks, clusters, and pools. Project Atomic provides a robust set of container
management tools on just-enough operating system, delivering maximum efficiency for developers and administrators alike.

As projects like Atomic continue to make strides within the open source ecosystem, it inevitably raises the question: Is virtualization’s fate sealed by the rise of containers? Dramatic hyperbole aside, it’s a question that has merit, because businesses are looking to adopt the best technology for their needs. Wouldn’t they run the risk of adopting some technology that was on its way to becoming obsolete?

Such concerns are based on the assumption that any new technology must automatically supplant any old technology, which is not always the best assumption to make. While the advent of cell phones in the 90s would nearly completely replace the standard payphone, and reduce the deployment of home-based landlines significantly, not every new form of innovation is the cause of the demise of that which came before it.

Ships and trains were not completely removed from existence when commercial airplanes took off. These forms of transportation are still around. But one thing is also true: the use of trains and ships were radically changed by air transportation. Passenger train use, particularly in North America, fell dramatically, as did the use of passenger ships as a destination conveyance. Trains are now used for freight transport, or passenger transport on routes short enough to match the efficiencies of jet airliners. Freighter ships were unaffected by air transport, but all but a few ships are now vacation destinations, rather than a modes of tranoceanic modes of transportation.

This kind of transformation is what can happen whenever older technology meets its descendant. As people begin to rapidly adopt new technology, the user of older technology will adapt to a new use. If it can’t, then, like the payphones of lore, it may fade away.

So, is virtualization about to be disconnected by containers?

Two Sides… One Coin

The simple answer is… no.

The flexibility and utility of a virtualized machine in the datacenter is simply too great to be dismissed. Putting aside for a moment the relative immaturity of container use in the datacenter–because, to be fair, that will fade with more IT experience–the fact is that virtualization is ready to deploy applications now. Any applications or services that can run on a physical machine can be run on a virtual machine, with essentially no changes to the application or the configuration of the machine.

We see this ready-to-go status affecting the adoption of a not-so-old variation of virtual technology: cloud computing. Cloud computing depends on virtualization as it manages virtual machines on an elastic basis. But to take advantage of that elasticity–automated control of virtual resources by the apps themselves–applications have to be re-coded to connect with a cloud platform’s API. If this does not happen, then cloud computing is no different than running a virtual datacenter. It’s the elasticity that makes cloud truly cloud computing. But even today, developers and administrators are finding that the work to gain that elasticity may not be worth the effort.

And the decision point between virtual datacenters and cloud computing is very analogous to that of virtualization and containers. Cloud is not better than virtual datacenters, and vice versa. Nor is container better than virtualization. They are different, and through their differences, they are best used under very specific use cases.

Right now, conventional wisdom seems to be putting containers squarely as the foundation technology for platform-as-a-service (PaaS) software, like OpenShift, and virtualization as an infrastructure-as-a-service (IaaS) technology. That’s an acceptable way to classify container and virtualization use, but that might be too limiting. Containers can have a place in IaaS, for instance, as tools like OpenShift Nova and XenServer support containers.

A broader use case scenario might be the provenance of your applications. Existing, legacy applications might be a better fit for virtualization. You don’t have to re-engineer them for the virtual datacenter, and while legacy applications do need to be altered for cloud platforms, it is not a significant alteration.

Newer applications, on the other hand, could have a place with containers. With services and applications that are just being put together, the very DevOps-friendly environment of container space would tend to be a better home.

Even this is not an absolute guideline: older applications can be containerized, and newer applications can run just fine on virtual stacks. But as a general rule, building your new services on containers will take full advantage of this new technology, while keeping your existing applications on virtual machines will save your time and resources now.

Technology will move forward, as virtualization and containers have both demonstrated with their respective inventions. But moving forward does not mean that anything has to be left behind.

More Intel Driver Code Merged Into DRM-Next For Linux 4.2 Kernel

David Airlie has pulled Intel’s latest batch of changes into DRM-Next that they’ve been queuing up for merging into the Linux 4.2 kernel…

Read more at Phoronix

NVIDIA 352.09 Linux Driver Brings G-SYNC Improvements, Fixes

NVIDIA introduced yesterday their first beta driver in the new 352 Linux / Solaris / FreeBSD graphics driver series…

Read more at Phoronix

IBM Launches OpenStack Services

The company said that it will roll out a series of OpenStack services designed to help enterprise customers use the cloud framework for hybrid, private and public cloud deployments.

Read more at ZDNet News