Running GUI applications in LXD on Fedora 26

Instructions on how to use LXC (Linux Containers) to run GUI applications within a container. The example shows how to run chromium with X11 and GPU-accelerated.

johnnydecode

Create container:

Install needed tools:

Map UID and GID ramges:

Set UID/GUID ranges for container:

Mount X11 socket and .Xauthority file:

Passthrough GPU device:

Check results with:

Now we can install and run chromium browser inside:

View original post

Advertisements

Learn How To Create a Cool NaiveCoin Cryptocurrency

Naivecoin is an open source implementation of a cryptocurrency. It includes all the major components needed to build a cryptocurrency such as a miner and the blockchain. If you’ve been reading about BitCoin and other cryptocurrencies and still don’t quite understand how they work, you should check out the code in Naivecoin.

Sometimes to understand a concept we have to implement it ourselves. Or in this case, we can use someone else’s implementation as a live simulation that we can watch and read through the code.

Naivecoin is written in Node.js which should make it easy for everyone to learn from. It is short and the author aims to keep it as small as possible.

We had a blog post about Copay, a shared bitcoin wallet. It would be cool to see someone implement a shared wallet for NaiveCoin. Another idea is to add smart contracts to NaiveCoin.

If you have an idea for how a cryptocurrency could be better, you can use Naivecoin as a basic implementation and proof of concept.

Liberapay: an open source Patreon/crowdfunding alternative

Liberapay: an open source Patreon/crowdfunding alternative

Liberapay is a recurrent donation platform, similar to Patreon, GoFundMe and other platforms. What makes it different is that LibreaPay is a non-profit organization and they fund themselves rather than charging transaction fees (though you will still get charged payment processing fees).

The source code for their platform is also open source. The code for Liberapay is available on Github.

What’s nice about Liberapay is that it’s easy to use, the transaction fees are non-existent and it gives users of free/open source software another platform on which to support developers. Recurring donations are sponsorships of a project. OpenCollective is a similar platform that we’ve covered before.

If you’re interested in more crowdfunding platforms for your free/open source projects, the Snowdrift Co-op has an amazing wiki page full of research on crowdfunding platforms.

Facebook Patents Grant License is Causing Chaos

Facebook Patents Grant License is Causing Chaos

Note: this blog post was updated on 25 September 2017.

The popular React Javascript library from Facebook, amongst other open source projects from them, has a license (3-clause BSD license) and a patents grant. Recently, the Apache Software Foundation declared that this license + patents grant belongs to Category X. The licenses in Category X means that projects that are part of the ASF (Apache Software Foundation) umbrella cannot use libraries or code that are licensed under those licenses.

The patents grant basically amounts to this:

The patent grant says that if you’re going to use the software [Facebook] released under it, you lose the patent license from us if you sue [Facebook] for patent infringement

This means that if you’re using React.js in your startup’s code and later on down the line, Facebook patents something related to your startup and you try to sue them for patent infringement, then Facebook revokes the patent license. Their reasoning for this is that it will prevent patent trolls from suing Facebook but this doesn’t make much sense. There are other ways to protect themselves from patent trolls and it feels like this chaos is much more punishing to the open source communities around Facebook’s code.

Continue reading “Facebook Patents Grant License is Causing Chaos”

Node.js has forked into Ayo

Ayo (pronounced “eye-oh” or IO) is a fork of the popular Node.js JavaScript runtime. It was created because of a Code of Conduct issue in the Node.js project.

A committee at the Node.js project voted 60% in favour of allowing a developer to stay on with the project. The vote put forward to the committee noted some violations of the Code Of Conduct. The fact there was a vote means that they took the Code of Conduct seriously.

Continue reading “Node.js has forked into Ayo”

Austin is fine without Uber and Lyft… until it isn’t

https://techcrunch.com/2017/03/12/austin-is-fine-without-uber-and-lyft-until-it-isnt/

Using a clickbait headline, TechCrunch reveals that Austin, Texas is doing just fine without the predatory companies Uber and Lyft.

The only time there has been an issue is when the servers running behind the scenes for the Austin-specific rideshare apps were overloaded.

The lesson isn’t that Uber amd Lyft do technology better and have the best uptime, the lesson is that rideshare apps should band together and share their tech and techniques. It benefits no one when all servers for rideshare are overloaded.

I’m hoping to see rideshare server technology like LibreTaxi to take off to make it even easier for cooperative rideshare companies to launch and oprate.