Home Blog Page 604

It’s Complicated, Okay (or Let’s Talk Openly about Mesos’ OSS Neighbors, Friends, and Rivals)

https://www.youtube.com/watch?v=vtIMmstNtvQ?list=PLbzoR-pLrL6pLSHrXSg7IYgzSlkOh132K

Aaron Williams, Head of Advocacy and DC/OS at Mesosphere, discusses the characteristics of what makes some solutions work well with Mesos and calls out the projects that don’t meet the standard.

 

Postmortem of GitLab Database Outage of January 31

On January 31st 2017, we experienced a major service outage for one of our products, the online service GitLab.com. The outage was caused by an accidental removal of data from our primary database server.

This incident caused the GitLab.com service to be unavailable for many hours. We also lost some production data that we were eventually unable to recover. Specifically, we lost modifications to database data such as projects, comments, user accounts, issues and snippets, that took place between 17:20 and 00:00 UTC on January 31. Our best estimate is that it affected roughly 5,000 projects, 5,000 comments and 700 new user accounts. Code repositories or wikis hosted on GitLab.com were unavailable during the outage, but were not affected by the data loss. GitLab Enterprise customers, GitHost customers, and self-hosted GitLab CE users were not affected by the outage, or the data loss.

Losing production data is unacceptable. To ensure this does not happen again we’re working on multiple improvements to our operations & recovery procedures for GitLab.com. In this article we’ll look at what went wrong, what we did to recover, and what we’ll do to prevent this from happening in the future.

Read more at GitLab

PHP vs. Node.js: An Epic Battle for Developer Mind Share

…PHP and JavaScript, two partners who once ruled the internet together but now duke it out for the mind share of developers.

In the old days, the partnership was simple. JavaScript handled little details on the browser, while PHP managed all the server-side tasks between port 80 and MySQL. It was a happy union that continues to support many crucial parts of the internet. Between WordPress, Drupal, and Facebook, people can hardly go a minute on the web without running into PHP. 

Then some clever kid discovered he could get JavaScript running on the server. Suddenly, there was no need to use PHP to build the next generation of server stacks. One language was all it took to build Node.js and the frameworks running on the client. “JavaScript everywhere” became the mantra for some.

Read more at Network World

Practical Approaches to IoT Test Challenges

For engineers working on wireless-enabled IoT system designs, a variety of design challenges and tradeoffs transpire from start to finish. Moving efficiently through the process requires a good test-and-measurement strategy and proper instrumentation to ensure that you make timely and correct design decisions and can overcome potential roadblocks. Not only that, you need to deliver your project on time and on budget. IoT designers face six key challenges where test and measurement is a critical part of the project’s ultimate success:

Read more at Electronic Design

Linux Enhanced BPF (eBPF) Tracing Tools

This page shows examples of performance analysis tools using enhancements to BPF (Berkeley Packet Filter) which were added to the Linux 4.x series kernels, allowing BPF to do much more than just filtering packets. These enhancements allow custom analysis programs to be executed on Linux dynamic tracing, static tracing, and profiling events.

Read more at Brendan Gregg

Python Programming Basics With Examples

Python is a popular and a powerful scripting language that can do everything — web crawling, networking tools, scientific tools, Raspberry PI programming, web development, video games, and much more. With Python programming, you can do even do system programming regardless of the platform you are using.

We will discuss basic Python programming in this post. In future posts, we will build tools and see Python programming in action.

If you find the content of this post is a little tricky, tell me so that I can start from the bottom level of Python programming in the upcoming posts.

Read more at DZone

Zorin OS 12 Review | LinuxAndUbuntu Distro Review Of The Week

Zorin OS is an Ubuntu-based Linux distro that seeks to stand out amongst the many Linux distros around. It is touted as “a replacement for Windows and MacOS, designed to make your computer faster, more powerful and secure”. So what’s the deal with Zorin? Is it worth your attention in the sea of distros? Let us take a look at what makes this distro stand apart.
 

Read More At LinuxAndUbuntu

OPNFV Nearing Commercial Deployment

The somewhat long-awaited report on OPNFV’s December Plugfest emerged this morning, revealing no major surprises but taking some steps forward on integration with other open source projects, namely the Open Compute Project and Open Orchestrator.

It also signals a stage where the OPNFV Project’s software platform could be ready for commercial deployment — dates for which the organization is not setting directly. “We’ll defer to the vendors on that,” says Heather Kirksey, OPNFV director. But she expects to start collecting deployment data this year. Queries to a couple of the involved vendors have not yet produced responses, but stay tuned.

Read more at LightReading

This Week in Open Source News: CNCF Buys RethinkDB’s Source Code, SnapRoute Has $25 Million in Funding & More

This week in Linux and open source news, CNCF announces purchase of RethinkDB’s source code, SnapRoute boasts new, industry-leading backers, and more! Use our weekly digest to round out your OSS news monitoring. 

1) CNCF announces purchase of RethinkDB’s source code and donation to The Linux Foundation, where it will “live on under an Apache license.”

After Corporate Failure, Open Source RethinkDB Lives On Under The Linux Foundation– App Developer Magazine

2) SnapRoute (founded by former Apple engineers) uses OSS to make data center networking more flexible– and now boasts $25 in funding.

Networking Startup SnapRoute Scores Big-Name Backers– Fortune

3) ECOMP has been open sourced and is now a Linux Foundation Collaborative Project.

AT&T Open Sourced the Heart of Their Network– CIO

4) Slimbook’s Apple Air-like laptops come with KDE Neon installed.

Finally, a Linux Laptop Worthy of KDE– TechRepublic

5) Red Hat’s growth spurt has “allowed the company to invest in Africa……opening offices in SA and looking at entering other markets.”

Red Hat’s Cloud Application Platforms Boost Growth– ITWeb

SemiCode OS Might Be Your Next Development Platform

One thing about Linux is that it’s very coder-friendly. Why? Simple: Nearly any developer can have every tool they need at their fingertips with ease and little to no cost. Tools like gcc, make, Bluefish, Atom, vi, emacs… the list goes on and on and on.
Many of these tools are ready to serve, via a quick install from either your package manager or by downloading them, individually, from their respected websites. But what if you wanted all of those tools, at the ready, on a single, programmer-friendly platform? If the thought of having every tool you need to develop, pre-installed on a Linux distribution, appeals to you, there’s a new platform in the works that might fit your needs to perfection. That distribution is SemiCode OS.

SemiCode OS is an operating system geared specifically toward programmers and web developers, and it includes most of the programming languages, compilers, editors and Integrated Developer Environments (IDEs) that you’ve grown accustomed to using. With tools like:

As for compliers, you’ll find OpenJDK for Java, Ruby compiler, .NET with Mono Runtime, and many more.

All of these packages are ready to work on a well-appointed, slightly tricked-out GNOME desktop (you’ll find the Dash To Dock extension enabled as well as a couple of handy desktop menus — Figure 1).

Figure 1: The SemiCode OS desktop is a perfect UI to help you get your work done.

What is interesting about the programming landscape for Linux is that you’ll find an abundance of tools, but when it comes to a programming-specific distribution, the choices become significantly slimmer. This is partly due to the fact that nearly every Linux distribution can, with just a bit of work, be easily reworked to be a programmer’s Nirvana. However, if you could have a distribution at the ready, with no extra work involved, you’d most likely jump at the chance.

That is where SemiCode OS comes in; a platform perfectly geared toward developers.

Very much in beta

Before you head directly to the SemiCode OS website, know that the platform is very much in heavy development. In fact, the distribution is so new, it doesn’t even ship with the ability to install. That’s right, the only way to run SemiCode OS is as a live distribution. Search all you want on the SemiCode OS live desktop and you will not find any means to install. If you want to kick the tires of this very promising platform, I suggest you download the beta and run it as a virtual machine. Read the SemiCode OS blog post about why they don’t include an installer (yet).
The minimum requirements for running SemiCode OS as a live instance are:

  • CPU – 1GHz single core

  • RAM – 1.5GB

  • Storage – 20GB

SemiCode OS is based on, not surprisingly, Ubuntu. It is surprising, however, that SemiCode is based on Ubuntu 14.04. Considering 16.04 is an LTS release, it would seem to me the more logical foundation would be the most recent. But I’m not the one making those calls (and I’m sure there are reasons for sticking with the out-of-date 14.04).

What makes SemiCode OS stand out? Let’s take a look at the inclusion of two tools.

Scratch

Not a coder, but want to learn? That’s why SemiCode OS ships with the Scratch application. Scratch is a fun way to help people, new to programming, learn the craft. It is geared more toward younger users, but anyone can take advantage of the simple to use, drag and drop interface (Figure 2).

Figure 2: The Scratch IDE in action.

Scratch makes learning to code fun and simple for any level of user.

Sarah

Most of the applications found on SemiCode OS are fairly pedestrian, everyday tools that have been available for nearly any distribution. There is, however, one new tool that’s pretty exciting (and will hopefully make its way to other distribution repositories). The application in question is called Sarah.

Sarah is a command-line AI tool that allows you to ask it questions and it will do its best to answer. With Sarah, you can do things like ask every day questions (sarah what is linux?), run a speedtest (sarah speedtest), view the weather (sarah weather), get information about a movie (sarah watch Hackers), view lyrics to a song (sarah lyrics DevinTownsendProject Kingdom), download a file (sarah download http://link_to_file), download site for offline viewing (sarah grab http://link_to_download), generate an “Hello World” application in nearly any language (sudo sarah first python).
Sarah was originally written in Python, but the developers realized they’d eventually want to extend the feature set, so they migrated to to the Vala language. Thanks to that change, the developers were able to create a plugin system for Sarah. Now any developer can extend the feature set of Sarah.

As with the whole of SemiCode OS, Sarah is in beta and doesn’t offer full functionality (and some of the functionality doesn’t work as expected; but the idea is sound and my guess is that, when SemiCode OS comes out of beta, Sarah will offer quite a bit more in the way of features.
If you want to test Sarah (outside of SemiCode OS), you can grab the code from the Sarah GitHub Page.

Keep SemiCode OS on your radar

If I were to speculate about the future of SemiCode OS, I’d have to say it looks quite bright. The Linux landscape needs a distribution exactly like this and the addition of Sarah makes SemiCode OS a no-brainer. Although SemiCode OS is still very much in beta, it is definitely worth checking out. Run a live instance of this new platform and you will immediately be enamoured of the available tools, the GNOME layout, and Sarah.

Hopefully, we won’t have to wait too long before SemiCode OS is available for installation. Once it is released, I hope we see serious plugin development on Sarah, as this has the making of something Linux could really use.

Learn more about Linux through the free “Introduction to Linux” course from The Linux Foundation and edX.