Home Blog Page 1150

Git Success Stories and Tips from Ceph Creator Sage Weil

Sage Weil, creator of CephGit has changed the way that software is built — including the Ceph open source distributed storage platform, says Ceph Creator Sage Weil. Ceph has used the Git revision control system for seven years, since it switched from SVN. It has changed the project’s work flow and how they think about code.

“Instead of thinking in files and lines, you think in flow of changes. Instead of having a single repository that everyone feeds from and into, everyone now has their own repository, their own branches. The meaning of branch changed,” said Weil, Ceph principal architect at Red Hat. “Everything just fell in place, as if the people who designed it really knew software development at scale.”

In our final “Git Week” profile in celebration of Git’s 10-year anniversary, Weil discusses how and why Ceph uses Git, tells their Git success stories, and gives his best pro tip for getting the most out of the popular tool.

Linux.com: Why does Ceph use Git?

Sage Weil: There are a number of reasons that Ceph chose Git, but in general the flexibility and power that comes with Git is really hard to beat. Of course the distributed nature of the tool also appeals to a team that is working on distributed software as well.

Ceph has been using Git for more than 7 years. We switched from Subversion to Git when we started developing the Ceph kernel module, and never looked back. The simplest and most important feature at the time was a sane representation of merges. Now that the Ceph contributor base has grown we are completely dependent on distributed version control.  

Ceph is deeply embedded in the Linux open-source world and everything there uses Git. There is no other tool which meets our needs for maintaining branches and developing features in parallel over long (and short!) periods of time.

What makes Git such a great tool?

The highlights are definitely the branching workflow (which we use for everything, and check out ‘Git stash’), it’s distributed nature (cherry picking and sharing between developers outside of the central repo), better history management (the ability to make local commits, rebase, clean up the history, and then submit a series of commits for merge to the central repo), and flexibility (version control shouldn’t get in the way). There is a learning curve, but it is worth the pain.

Looking at its history, it still amazes us how it came to the world, and the fact that they were able to pull it seemingly off the cuff, when we needed to move away from BitKeeper. At the time, thinking about version control, at least the free and open source solutions that existed, you ended up with either Subversion or CVS. That was what developers were used to, and we worked within these frameworks. Git changed the whole workflow. Instead of thinking in files and lines, you think in flow of changes. Instead of having a single repository that everyone feeds from and into, everyone now has their own repository, their own branches. The meaning of branch changed. It’s so cheap now. Everything just fell in place, as if the people who designed it really knew software development at scale.

How many developers do you have collaborating on Git?

At last check there are 242 contributors identified in our core repository. However, with our metrics dashboard (http://metrics.ceph.com/), we track about 460 developers across all of our sub-projects.

How much do you personally use it?

Git is part of the daily workflow for all developers. It’s the single most used tool other than the editors and the compiler toolchain.

What’s Ceph’s most active Git repo right now and why?

The most active repo is definitely the core ceph.git repo. While we have sub-projects on GitHub for some of our associated development, most of the development happens in Ceph itself.

What is your favorite pro tip for using Git?

The combination git gui’s ability to quickly stage and unstage lines or hunks into a commit and git rebase -i’s ability to reorder and combine commits is invaluable. This allows you to work with the history as a series of patches and rearrange the content of those patches into a clean history for submission upstream.

Any Git success stories you can share?

Just a couple of months ago we worked on merging a patch set that diverged for six months with hundreds of commits and with many conflicts that would not have ended successfully using any other tool. Trying to do the same thing with SVN (at least as it existed when we made the switch) would have been very challenging and would not have provided a clear view of the code changes. The whole way of thinking about code flow is now different.

Anything else you’d like to say to mark the 10-year anniversary?

It’s hard to believe Git is 10 already. Ten years ago using Git was quite a pain. There were all these wrappers and frontends that made it easier to contribute to a project that was using Git. There is no such need anymore. Usability has improved and users have learned to understand what it’s all about (and internalize the UI inconsistencies and idiosyncrasies). I think that’s a success story.

Read more

Git Success Stories and Tips from Wine Maintainer Alexandre Julliard

Git Success Stories and Tips from Puppet Labs’ Michael Stahnke

Git Success Stories and Tips from Tor Chief Architect Nick Mathewson

Git Success Stories and Tips from Drupal Core Committer Angie Byron

Git Success Stories and Tips from Qt Maintainer Thiago Macieira

Git Success Stories and Tips from KVM Maintainer Paolo Bonzini

10 Years of Git: An Interview with Git Creator Linus Torvalds

Linux Kernel 3.19.4 Brings ARM64, PowerPC, Sound and WiFi Improvements

After yesterday’s announcement for Linux kernel 4.0, Greg Kroah-Hartman announced today, April 13, the immediate availability for download of the fourth maintenance release of Linux 3.19 kernel, along with new point releases for the LTS (Long Term Support) Linux kernels 3.14 and 3.10.

According to the appended shortlog, Linux ke… (read more)

Read more at Softpedia News

3DR’s Solo Drone Boasts Dual Linux Computers Running Dronecode

3DR solo drone

3DRobotics today announced its first Linux-based drone, a Solo quadcopter touted as the first Unmanned Aerial Vehicle (UAV) to support full control of GoPro cameras and deliver live-streaming HD video to mobile devices. The ground controller, as well as the onboard computer connected to the drone’s Pixhawk 2 autopilot, integrates a 1GHz Cortex-A9 computer running Linux. The Solo is available for pre-sale at $1,000, or $1,400 with a GoPro gimbal, with units shipping via 2,000 locations starting May 29.

The Solo’s computers are more powerful than those of 3DR’s usual APM (ArduPilot Mega) open source drone and autopilot kits, which run the Nuttx RTOS on Arduino hardware. The Solo’s onboard “brainstem” autopilot flight computer is closely linked via WiFi to the ground controller’s “frontal cortex” system, “dramatically reducing the likelihood of autopilot system failure during flight,” according to 3DR.

The Linux computers enable greater autonomy and ease of use than earlier 3DR models such as the $750-and-up Iris+ or the newer, $1,350-and-up X8+ octocopter, says 3DR. The Solo can automatically takeoff, return home, and land, among other features.

Wireless video

The Solo is claimed to be the world’s first drone to wirelessly transmit HD video from a GoPro to an iOS or Android device from up to half a mile, which it does with a claimed latency of 180 milliseconds. (According to Engadget, this is actually 720p, rather than 1080p HD.) Industry leader DJI announced a somewhat similar feature last week with its new Phantom 3 drone, which is claimed to zap live Solo appHD video to you from up to 1.2 miles (see farther below).

In conjunction with GoPro cameras, the Solo controller lets you start and stop recording video while in flight, as well as easily pre-program aerial camera shots. These so-called Smart Shots routines include a follow-me mode, as well as filming along a virtual track of waypoints. There’s also an orbiting mode that focuses on an object while circumnavigating it, and a selfie establishing shot that backs up and away from you. Some of these features appear to require the $399 GoPro camera gimbal, which keeps the camera image stable with under 0.1 degree pointing accuracy.

The GPS-enabled Solo can fly 25 minutes without a camera or other payload (1,500 grams), or 20 minutes with the GoPro and its gimbal (1,800 g), says 3DR. Its “smart battery” communicates with the device’s computers to warn you when it’s time to head home.

Like the Phantom 3, as well as other consumer drones, the Solo ships with a controller designed to fit an Android or iOS device as a display. The mobile app lets you take still photos, change the FOV and frame rate, and adjust exposure and other settings.

The Solo’s controller features WiFi and a micro-HDMI port, so you can also directly feed live video to a monitor or FPV goggles. A small built-in display is provided, along with dedicated buttons that enable direct hands-on flight when the drone is flying nearby. There’s even a panic button that stops the drone and directs it to hover in midair.

Solo first to run Dronecode via DroneKit SDK

There was little talk of Linux last October when 3DR and the Linux Foundation launched the Dronecode Project as a community project and governance body for APM. The Berkeley, Calif.-based 3DR did say, however, that it was working to port Linux to its open source APM platform. It also announced plans to integrate a Linux-based companion computer for its advanced Iris+ drone using an Intel Atom Edison module.

Solo drone flyingThe Solo, however, is a much more ambitious dive into Linux. It’s only the second Linux-on-APM drone we know of after Erle Robotics’ hobbyist Erle-Copter. Other Linux-based quadcopters include the slightly lower end Parrot BeBop.

With the help of Dronecode, and 3DR’s DIY Drones community, the company has for several years offered open source hardware and software UAV autopilot designs to the hobbyist community. Like 3DR’s commercially sold Iris+ and x8+, however, it appears that access to parts of the Solo will be opened only to selected developers.

The Solo runs apps developed with a recently released, open source DroneKit SDK and web API, backed by the Dronecode Foundation. A “Made for Solo” development program, meanwhile, is “aimed at enabling small companies with great ideas to work directly with us and our manufacturing partners on developing and launching fantastic new accessories,” says 3DR.

It’s unclear how deeply 3DR will open the Solo hardware, and to whom exactly. So far, the company has yet to reveal many detailed specs. Yet, the design is clearly designed to be expandable.

The quadcopter integrates a gimbal bay, an accessory bay, and “easy-to-swap motor pods with integrated speed controllers,” says 3DR. The gimbal bay will be enable manufacturers to create plug-and-play gimbals or imaging devices as an alternative to GoPro, complete with “HD feed to Solo’s mobile app, full camera control, and even access to Solo’s computing power,” says the company.

The accessory bay will be similarly opened to gizmos like optical flow indoor flight stabilizers, ballistic parachute systems, and LED lighting system. The swappable motor pods will eventually support upgraded propulsion systems, says 3DR.

Phantom 3 pushes to 4K

Even if the Solo is not entirely open source, it’s almost certainly more accessible than the Phantom 3. DJI’s latest quadcopter will ship with an SDK for mobile app development, but it’s otherwise a very proprietary platform.

I was intrigued by several reports from hackers that have claimed the Phantom 2 is based on OpenWRT Linux. (Examples can be found here, here, here, and here.) However, when I asked DJI Creative Director Sheldon Schwartz last week at the Phantom 3 launch event in New York, he said there was no Linux in the Phantom 3 or controller.

Whatever is under the hood of the Phantom 3, it will be tough for 3DR’s Solo to beat. Even if you already own a GoPro, the Phantom 3 is cheaper, since it ships with a built in camera and s gimbal for $999. A $1,259 Pro version gives you a 4K camera. In addition to the HD video transmission feature, the Phantom 3 also introduced a vision positioning system that can help the quadcopter navigate in areas with poor GPS reception.

On the other hand, Phantom 3 doesn’t have anything quite like Smart Shots, such as waypoint or follow-me modes. According to a favorable hands-on story about the Solo by The Verge, the Solo was largely shaped by DJI expat Colin Guinn, now Chief Revenue Officer at 3DR.

To give it a boost in its battle with the Phantom, 3DR is offering a 30-day money-back guarantee, as well as a free replacement if Solo breaks in flight. Meanwhile, the future looks bright for both products. In the U.S., the FAA continues to expand exemptions on commercial use, and last week, it allowed Amazon to test its promised delivery drones.

https://www.youtube.com/watch?v=PfN9lTp8ma0″ frameborder=”0

5 Things To Know About The Rise Of Open Source

If you still think open source technology is less reliable than proprietary software, or less secure, it’s time to learn more about the private sector’s digital revolution.

During the past year major tech brands such as Google, Facebook and Microsoft have adopted a more open source philosophy, evident in their latest software releases. Similarly, more large companies are utilizing open source solutions alongside proprietary software to tap into open source’s diverse, creative, cooperative community of developers, thought leaders and users.

If you want to expand the use of open source in your own business, there are a few things you should know.

Read more at Forbes.

IBM Deepens its Cloud Services Entrenchment with the U.S. Government

IBM is making further inroads into getting its cloud computing tools and infrastructure solidified with the U.S. government. Big Blue recently announced that the U.S. Army is using IBM Hybrid Cloud to power one of the biggest logistics systems in the federal government. The new hybrid cloud system will be part of an ambitious Army data center designed to connect the IBM Cloud to the Army’s on-premise environment to enable use of data analytics. The Army foresees cost savings of 50 percent over its current cost structure, based on migrations to IBM’s cloud tools.

The new Logistics Support Activity initiative– known as LOGSA — provides on-time integrated logistics support of Army operations worldwide. Since migrating to an on premise hybrid cloud model with IBM in 2014, LOGSA already processes 40 million unique data transactions every day — more than the New York Stock Exchange. 

 

Read more at Ostatic

Qualcomm Pressured by Major Investor to Split Company

Activist shareholder Jana wants Qualcomm officials to separate their licensing and chip businesses in order to boost shareholder returns.

Read more at eWeek

PMEM Persistent Memory Driver Coming For Linux 4.1

After months of work, the Intel-developed PMEM driver has been called for pulling into the Linux 4.1 kernel…

Read more at Phoronix

Linux 4.1 Will Improve AMD Bulldozer’s ASLR Entropy Issue

The Linux 4.1 kernel will improve AMD’s ASLR workaround for Bulldozer processors in order to increase randomization…

Read more at Phoronix

An Extensive Look At The Changes Of GCC 5

GCC developer Honza Hubička has written a lengthy blog post about the features coming up for GCC 5, what will be initially released as GCC 5.1 in the next two weeks…

Read more at Phoronix

LaCie Doubles Rugged Thunderbolt SSD Capacity

Seagate Technology has doubled the capacity of its premium brand of LaCie Rugged Thunderbolt solid state drives (SSDs), which will now be available in a 1 terabyte (TB) capacity, with no size or weight increase compared to the 500 GB offering.Designed by award-winning product designer Neil Poulton, the Rugged will be available this month through the LaCie Online Store and the company’s network of resellers.

Read more at eWeek