Home Blog Page 738

With ChakraCore on Linux, Microsoft Doesn’t Discriminate

At Node Summit this week, Microsoft announced the availability of ChakraCore for Linux. ChakraCore is the core part of the Chakra JavaScript engine that powers Microsoft Edge and Universal Windows Platform. 

With this move, Microsoft is putting one of its core technologies on a competing platform. This, more than any other Linux-friendly move the company has made, is a clear departure from the Microsoft of Gates and Ballmer that used its technologies to lock users into Windows.

Chakra engineers wrote in a blog post that there is no discrimination between Windows and Linux. “ChakraCore and by extension Node-ChakraCore, on other platforms have the same support for the broad set of JavaScript features as their Windows counterparts, …”

Read more at CIO

Scheduling Your Kubernetes Pods With Elixir

Kelsey Hightower gave a really interesting talk at ContainerSched about how to create your own scheduler using the Kubernetes HTTP API. The talk was awesome. It’s incredible to see what kind of things you can do with a base system as good as Kubernetes.

However, I missed one thing. The example provided by Kelsey was a Go application. Which is the main language used with Kubernetes. So, if check that code without any context, you might think it’s using some kind of Kubernetes internal packages. But it’s not! It’s a standalone piece of code that happens to make some HTTP calls.

To illustrate this point, I decided to write my own scheduler, in a different language. In my case,Elixir, because that’s the language I happen to be learning at the moment.

Read more at DEIS

Docker 1.12 Debuts, Bringing Windows, Mac Desktop Editions

Desktop development environments for Mac and Windows use native virtualization for speed and boost Docker’s out-of-the-box cluster management and scheduling system.

Docker unveiled version 1.12 of its core software-containerization system today, along with the first full desktop editions of the software for development on Mac and Windows machines. Docker for Mac and Docker for Windows, which debuted as beta products earlier this year,  provide developers on those platforms with something that had always seemed out of reach: the ability to do container work with Docker as a native application.

Read more at InfoWorld

Stable Mitaka HA instack-virt-setup on CentOS 7.2 VIRTHOST

Following is step by step self sufficient instruction performing Mitaka HA instack-virt-setup on CentOS 7.2 VIRTHOST based on delorean repos  :-

http://trunk.rdoproject.org/centos7-mitaka/current/delorean.repo
http://trunk.rdoproject.org/centos7-mitaka/delorean-deps.repo

It follows official guide lines and updates undercloud with OVSIntPort vlan10 for br-ctlplane OVS bridge making posible HA and/or Ceph overcloud deployments with “Network Isolation” enabled. See also upstream commit https://review.openstack.org/#/c/329438/  been done by Marios Andreou on 06/14/2016

Complete text may be seen at http://bderzhavets.blogspot.com/2016/07/stable-mitaka-ha-instack-virt-setup.html

How to Set Up a UFW firewall on Ubuntu 16.04 LTS Server

Firewalls screen data coming in and out of computer networks, blocking unauthorized access and halting traffic from unsafe Internet sources. A firewall is a barrier between you and the internet. UFW is is uncomplicated firewall for Ubuntu and Debian based server. It is used for managing a Linux firewall and aims to provide an easy to use interface for the user.

In this tutorial you will learn how to use UFW a front end to iptables for managing firewall on Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members.

Read full article

 

XenServer 7 – Pool Upgrade via CLI and XenCenter Web Interface

The first article in this XenServer 7 Series covered how to install/upgrade a single XenServer host. Most XenServer installs are likely to be in a pool of many XenServer hosts.

This article will cover the process of an entire XenServer pool upgrade. The final component will cover some house keeping with the guests running on the XenServer hosts.

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]

Read full article

Selling Open Source the Smart Way

Open source software is experiencing huge growth, with a staggering 64% of companies currently participating in open source projects. But you probably know that already. What’s more interesting to look at is how to sell it, and with a little luck, make some money to help support the people who develop your software and sustain your project.

Why we love open source software

Having a deep understanding of why so many organizations use and trust open source is key when it comes to selling it. As one of our own GitLab colleagues explains, it “allows for a level of transparency which closed sourced products do not have; …”

Read more at OpenSource.com

Facebook Tries a New Way to Release Open-Source Projects

Last week, Facebook launched Create React App, a new project that helps React developers get started with their new projects. Turns out, that was only part of the story. Create React App was also the first project to enter the Facebook Incubator on GitHub.

The Facebook Incubator is the company’s new process for releasing open-source projects and ensuring that they do well in the long run. The best way to think of it is as a beta stage or proving ground for new open source projects from Facebook.

As Facebook’s head of open source James Pearce told me, the idea here is to better manage the life cycle of these projects.

Read more at TechCrunch

5 Best Calendar Apps for Linux Desktop

Time is money, as goes an old saying, therefore you need to manage it very well. This then calls for proper planning of your daily schedule, future events, appointments and several other daily activities…

You can only achieve this efficiently and flexibly by using a calendar application especially on your Linux desktop. In this article, we shall walk through a brief review of some of the best calendar applications that can help us plan and manage our daily lives.

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]

MQTT Library Demo

This is the demo project for Tibbo’s MQTT library. The project demonstrates how easy it is to create sophisticated network-enabled applications in Tibbo BASIC and Tibbo C. The code is extremely simple and easy to understand. Take this app and modify it for your MQTT needs.

To illustrate the use of the MQTT library, we have created two simple Tibbo BASIC applications called “mqtt_publisher” and “mqtt_subscriber”.

In our MQTT demo, the publisher device is monitoring three buttons (Tibbits #38). This is done through the keypad (kp.) object.

The three buttons on the publisher device correspond to the red, yellow, and green LEDs (Tibbits #39) on the subscriber device.

As buttons are pushed and released, the publisher device calls mqtt_publish() with topics “LED/Red”, “LED/Green”, and “LED/Red”. Each topic’s data is either 0 for “button released” or 1 for “button pressed”. The related code is in the on_kp() event handler.

The subscriber device subscribes to all three topics with a single call to mqtt_sub() and the line “LED/#”. This is done once, inside callback_mqtt_connect_ok().

With every notification message received from the server, the subscriber device gets callback_mqtt_notif() invoked. The LEDs are turned on and off inside this functions’s body.

Testing the MQTT demo

The demo was designed to run on our TPS3 boards, but you can easily modify it for other devices.

The easiest way to get the test hardware is to order “MQTTPublisher” and “MQTTSubscriber” TPS configurations.

You can also order all the parts separately:

  • On the publisher side:
    • TPP3 board in the TPB3 enclosure.
    • Your will need Tibbits #00-3 in sockets S1, S3, S5; and
    • Tibbits #38 in sockets S2, S4, S6;
    • You will also need some form of power, i.e. Tibbit #10 and #18, plus a suitable 12V power adaptor.
  • On the subscriber side:
    • TPP3 board in the TPB3 enclosure.
    • Your will need Tibbits #00-3 in sockets S1, S3, S5;
    • Tibbit #39-2 (red) in S2;
    • Tibbit #39-3 (yellow) in S4;
    • Tibbit #39-1 (green) in S6;
    • You will also need some form of power, i.e. Tibbit #10 and #18, plus a suitable 12V power adaptor.

Test steps

  • Install a suitable MQTT server. We suggest HiveMQ (www.hivemq.com):

    • Download the software here: www.hivemq.com/downloads/ (you will be asked to register).
    • Unzip the downloaded file.
    • Go to the “windows-service” folder and execute “installService.bat”.
    • Go to the “bin” folder and launch “run.bat”.
    • You do not need to configure any user names or passwords.
  • Open mqtt_publisher and mqtt_subscriber projects in two separate instances of TIDE, then correct the following in the projects’ global.tbh files:
    • OWN_IP – assign a suitable unoccupied IP to the publisher and to the subscriber (you know that they will use two different IPs, right?);
    • MQTT_SERVER_HOST – set this to the address of the PC on which your run HiveMQ.
  • Select your subscriber and publisher devices as debug targets, and run corresponding demo apps on them.
  • Press buttons on the publisher to see the LEDs light up on the subscriber.
  • If you are running in debug mode you will see a lot of useful debug info printed in the output panes of both TIDE instances.
  • You can switch into the release mode to see how fast this works without the debug printing.