Language Selection

English French German Italian Portuguese Spanish

HowTos

How to use an Arduino and Raspberry Pi to turn a fiber optic neural network into wall art

Filed under
Linux
HowTos

Hollywood has made many big promises about artificial intelligence (AI): how it will destroy us, how it will save us, and how it will pass us butter. One of the less memorable promises is how cool it will look.

There's a great example of amazing AI visualization in Avengers: Age of Ultron when Tony Stark's AI butler Jarvis interacts with Ultron and we see an organic floating network of light morphing and pulsing. I wanted to make something similar to fill blank space on my apartment wall (to improve upon the usual Ikea art). Obviously, I couldn't create anything as amazing as Jarvis as a floating orb of light; however, I could use a machine learning algorithm that looks interesting with quirky data visualization: a neural network! It employs biologically inspired elements that were meant to replicate how (we thought) the human brain works.

Read more

today's howtos and leftovers

Filed under
Misc
HowTos
  • 26 DNF Command Examples for Package Management (rpm) on Fedora Linux
  • Fixing vim in Debian
  • OxygenOS Android 8.0 Oreo Open Beta Available For OnePlus 3/3T, Here’s How To Set It Up
  • How to Create Hard and Symbolic Links in Linux
  • KDE Plasma 5.11, Humble Bundle Acquisition, elementary OS & Snappy | This Week in Linux Ep.9

    Coming up on This Week in Linux. We take a look at some browser releases and a new crowdfunding project for socializing the command line.

  • Red Hat software and services land on Alibaba Cloud

    With that in mind, Alibaba Cloud, which is the cloud computing arm of eCommerce giant Alibaba Group Holding Ltd., said today that it’s partnering with the open-source software company Red Hat Inc. The alliance sees Alibaba Cloud join the Red Hat Certified Cloud and Service Provider program, which makes it possible for it to offer a range of popular Red Hat products to its customers. These will include the company’s flagship Red Hat Enterprise Linux platform, which will soon be made available via a pay-as-you-go pricing model in the Alibaba Cloud Marketplace.

  • Free software log (September 2017)

    I said that I was going to start writing these regularly, so I'm going to stick to it, even when the results are rather underwhelming. One of the goals is to make the time for more free software work, and I do better at doing things that I record.

    The only piece of free software work for September was that I made rra-c-util compile cleanly with the Clang static analyzer. This was fairly tedious work that mostly involved unconfusing the compiler or converting (semi-intentional) crashes into explicit asserts, but it unblocks using the Clang static analyzer as part of the automated test suite of my other projects that are downstream of rra-c-util.

    One of the semantic changes I made was that the vector utilities in rra-c-util (which maintain a resizable array of strings) now always allocate room for at least one string pointer. This wastes a small amount of memory for empty vectors that are never used, but ensures that the strings struct member is always valid. This isn't, strictly speaking, a correctness fix, since all the checks were correct, but after some thought, I decided that humans might have the same problem that the static analyzer had. It's a lot easier to reason about a field that's never NULL. Similarly, the replacement function for a missing reallocarray now does an allocation of size 1 if given a size of 0, just to avoid edge case behavior. (I'm sure the behavior of a realloc with size 0 is defined somewhere in the C standard, but if I have to look it up, I'd rather not make a human reason about it.)

  • Free Software Efforts (2017W41)

    The issue that was preventing the migration of the Tasktools Packaging Team’s mailing list from Alioth to Savannah has now been resolved.

    Ana’s chkservice package that I sponsored last week has been ACCEPTED into unstable and since MIGRATED to testing.

  • How to define a metrics strategy for your community

    Data sets are everywhere, and because open source communities produce plenty of information in addition to source code, most community infrastructures require tools to support the software development process. Examples include bug-reporting systems such as Jira and Bugzilla, versioning systems such as Git, and code review tools like Gerrit. Although communication also takes place through these tools, most is done through mailing lists, IRC, supporting systems like Discourse, and even Twitter and other social channels (especially for marketing and announcements). In fact, most open source communities utilize at least five or ten tools, if not more.

  • Opensource.com Lightning Talks at All Things Open 2017

    Join the Opensource.com community for a set of amazing lightning talks you won't want to miss during the All Things Open conference in Raleigh, NC. Speakers have five minutes to enlighten the audience about an open source topic they are passionate about. We've got everything from DevOps and Kubernetes, to wearables, cloud, and more. Grab your lunch, find a seat, warm up your Twitter fingers, and get ready for the fastest hour at All Things Open 2017. Share your favorite thoughts using hashtage #ATO2017.

  • LibreOffice: SharePoint integration. A year of progress
  • 4 website maintenance mistakes to avoid

    Maintenance is a good idea for every website, but it's a requirement for websites using open source code. The upside of open source is that everyone can participate. The downside is that means keeping up with everyone's changes. Code gets patched, which causes other code to stop working and need patches in turn. Exploits are found and then blocked. Fancy new features are developed, and your users want them. All of this means you need to keep up! The most important weapon to combat these forces is maintenance. Maintenance is a simple process, but there are basic mistakes that many people make at least once. Avoid these and you'll be well on your way to a safer, cleaner website that isn't a huge pain to keep running.

    [...]

    Even if you could do better, are you being paid to rewrite something that's already mostly working? If you're frustrated enough to take it on as a hobby project, is that what you want to spend your weekend on? GitHub is chock full of not-all-that-unique content management systems (CMSes) and static site builders. Most of them are abandoned, clones of more popular systems, or both. Don't be yet another one.

  • ​Windows Subsystem for Linux graduates in Windows 10 Fall Creators Update
  • Open-source mapping being used to help first responders in Puerto Rico

    Satellite images of rural towns, sprawling woodlands and grooved mountainsides fill the computer screens as homeowners and students scroll across digital maps.

    This group of a few dozen people gathered on Friday at the Perry Castenada Library on the University of Texas at Austin campus for a four-hour disaster relief mapathon to bolster humanitarian efforts in Puerto Rico, where 91 percent of the island is still without electricity, and Mexico, which was ravaged by a 6.1 earthquake.

  • Kotlin Programming Language Will Surpass Java On Android Next Year

    At Google I/O 2017, Google announced the newly added support for Kotlin programming language in Android, along with the existing languages Java and C++. As per the experts, Kotlin came as a breath of fresh air in Android development ecosystem to make “Android development faster and more fun. But, what about the numbers? How many developers are making a shift to Kotlin? Let’s find out.

  • Progress Being Made On New "WebGPU" Web Graphics API

    There continues to be progress made on the new Apple/W3C backed web graphics API dubbed "WebGPU" that has the backing of major stakeholders.

    Separate from the work being done by The Khronos Group on "WebGL-Next" there is the "WebGPU" initiative being organized by the W3C.

today's howtos

Filed under
HowTos
  • ScalaFX: ListView with CellFactory
  • Business accounting with Odoo

    Odoo is, according to Wikipedia, "the most popular open source ERP system." Thus, any survey of open-source accounting systems must certainly take a look in that direction. This episode in the ongoing search for a suitable accounting system for LWN examines the accounting features of Odoo; unfortunately, it comes up a bit short.

    Odoo is the current incarnation of the system formerly known as OpenERP; it claims to have over two million users. It is primarily implemented in Python, and carries the LGPLv3 license. Or, at least, the free part of Odoo is so licensed; Odoo is an open-core product with many features reserved for its online or "Enterprise" offerings. The enterprise version comes with source code, but it carries a proprietary license and an end-user license agreement forbidding users from disabling the "phone home" mechanism that, among other things, enforces limits on the number of users. Online offerings are not of interest for this series, and neither is proprietary software (the whole point is to get away from proprietary systems), so this review is focused on the community edition.

  • TeX Live Manager: JSON output
  • Google App Engine: Using subdomains
  • How to Switch to Xorg from Wayland in Ubuntu 17.10 [Quick Tip]
  • tmux config
  • Secure and flexible backup server with dm-crypt and btrfs

Software and howtos

Filed under
Software
HowTos
  • Weblate 2.17
  • 7 Best eBook Readers for Linux

    Lately, the demand for digital books has increased as people find it more comfortable in reading a book on their handheld devices, Kindle or PC. When it comes to the Linux users, there are various ebook apps that will serve your purpose in reading and organizing your ebook collections.

    In this article, we have compiled seven best ebook readers for Linux. These ebook readers are best suited for pdf, epubs and other ebook formats.

  • How to write/create a Ubuntu .iso to a bootable USB device on Linux using dd command
  • Check disk usage at the command line with du
  • Install Redis and Redis PHP on cPanel
  • Qt 4 and 5 and OpenSSL1.0 removal
  • GLib tools rewrite

    If you’re still stuck with Autotools, though, you may also want to consider dropping glib-genmarshal, and use the FFI-based generic marshaller in your signal definitions — which comes at a small performance cost, but if you’re putting signal emission inside a performance-critical path you should just be ashamed of yourself.

    For enumerations, you could use something like this macro, which I tend to employ in all my projects with just few, small enumeration types, and where involving a whole separate pass at parsing C files is kind of overkill. Ideally, GLib would ship its own version, so maybe it’ll be replaced in a new version.

today's howtos

Filed under
HowTos
Syndicate content

More in Tux Machines

Announcing Season of KDE 2018

KDE Student Programs is pleased to announce the 2018 Season of KDE for those who want to participate in mentored projects that enhance KDE in some way. Every year since 2013, KDE Student Programs has been running Season of KDE as a program similar to, but not quite the same as Google Summer of Code, offering an opportunity to everyone (not just students) to participate in both code and non-code projects that benefits the KDE ecosystem. In the past few years, SoK participants have not only contributed new application features but have also developed the KDE Continuous Integration System, statistical reports for developers, a web framework, ported KDE Applications, created documentation and lots and lots of other work. For this year’s Season of KDE, we are shaking things up a bit and making a host of changes to the program. Read more

How To Get Started With The Ubuntu Linux Distro

The Linux operating system has evolved from a niche audience to widespread popularity since its creation in the mid 1990s, and with good reason. Once upon a time, that installation process was a challenge, even for those who had plenty of experience with such tasks. The modern day Linux, however, has come a very long way. To that end, the installation of most Linux distributions is about as easy as installing an application. If you can install Microsoft Office or Adobe Photoshop, you can install Linux. Here, we'll walk you through the process of installing Ubuntu Linux 17.04, which is widely considered one of the most user-friendly distributions. (A distribution is a variation of Linux, and there are hundreds and hundreds to choose from.) Read more

today's leftovers

'Turbo Boost Max 3.0' and Mesa 17.2.4

  • Turbo Boost Max 3.0 Support For Skylake Fixed With Linux 4.15
    The platform-drivers-x86 updates have been sent in for Linux 4.15 and include a range of improvements for Intel hardware support. One of the bigger items is support for Skylake CPUs with Turbo Boost Max 3.0.
  • Mesa 17.2.4 Graphics Stack Lands for Ubuntu 16.04 LTS and Ubuntu 17.10 Gamers
    Canonical's Timo Aaltonen reports on the availability of the Mesa 17.2.4 open-source graphics drivers stack on the X-SWAT updates PPA for Ubuntu 16.04 LTS and Ubuntu 17.10 systems. Ubuntu systems have always lagged behind the development of the Mesa 3D Graphics Library, the Linux graphics stack containing open-source drivers for Intel, AMD Radeon, and Nvidia GPUs, but they usually catch up with it through a specially crafted PPA (Personal Package Archive) repository that can be easily installed by users.