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

Programming/Development: Most In-Demand Programming Languages and More

  • Top 7 Most In-Demand Programming Languages Of 2018: Coding Dojo
    Most of the fields in the tech industry demand a regular learning from you as they are dynamic in nature. You need to be up-to-date with the latest trends and make sure that your skillset matches the needs of your target industry. For developers, this change becomes even more necessary. For example, today’s mobile app developers need to eventually make a shift from Java and Objective-C to Kotlin and Swift, respectively. This growing adoption and demand is reflected clearly in different lists of the popular programming languages. [...] Coding Dojo analyzed the data from job listing website Indeed.com. This job posting data revolved around twenty-five programming languages, frameworks, and stacks. It’s worthing noting that some most loved programming languages like Ruby and Swift didn’t make the cut as their demand was lower as compared to other biggies. The other growing languages that didn’t make the cut were R and Rust.
  • The proof is in the pudding
    I wrote these when I woke up one night and had trouble getting back to sleep, and spent a while in a very philosophical mood thinking about life, success, and productivity as a programmer.
  • littler 0.3.3
    The fourth release of littler as a CRAN package is now available, following in the now more than ten-year history as a package started by Jeff in 2006, and joined by me a few weeks later. littler is the first command-line interface for R and predates Rscript. In my very biased eyes better as it allows for piping as well shebang scripting via #!, uses command-line arguments more consistently and still starts faster. Last but not least it is also less silly than Rscript and always loads the methods package avoiding those bizarro bugs between code running in R itself and a scripting front-end.

Games: Project 5: Sightseer, 'Jupiter Hell', Dimension Drive, Keep Talking and Nobody Explodes, Counter-Strike

Liberated Linux Drivers Help AMD 'Transparency'

  • AMD Navi spotted in Linux drivers
    The architecture name is hidden under SUPER_SECRET codename. Normally we would be seeing the real name of the GPU, but AMD is likely trying to avoid generating hype for architecture which is still months away (I heard something about late 2018), hence the secret.
  • AMD’s next-gen GPU has been spotted in Linux drivers
    With AMD’s RX Vega now out and about, it is time to start looking towards the future. We’ve known for some time that Vega will be followed up by ‘Navi’ at some point between 2018 and 2020. Now, we know that progress is being made as AMD’s next-gen GPU has appeared in a new driver.
  • AMD's Next Gen Navi GPU Architecture Found Referenced In Linux Drivers
    This has been a big year for AMD, there is no doubt about that. Having launched a new CPU and GPU architectures (Zen and Vega, respectively), the company thrust itself back into relevancy in the high-end market, whereas previously the top shelf was the exclusive domain of rival Intel. So, what's next? On the GPU side, AMD is expected to roll out its Navi architecture sometime next year, with references to its next generation GPU already showing up in driver code.
  • AMD 7nm “Super Secret” Navi GPU Spotted In Driver, 2H 2018 Launch Expected
    AMD’s upcoming next generation 7nm based graphics architecture code named “Navi” has been spotted in Linux driver code. The all new GPU architecture is officially slated to debut next year, with all whispers indicating a debut in the latter half of the year.

ScummVM 2.0

  • ScummVM 2.0 Released To Relive Some Gaming Classics
    ScummVM 2.0 has been released as a major update to this open-source game engine recreation project. ScummVM has advanced well past just supporting the original LucasArts adventure games and with today's v2.0 rollout supports "23 brand new old games", including many older Sierra adventure titles. Among the games that can now be played atop ScummVM 2.0 are Police Quest 4, Lighthouse, Leisure Suit Larry 6/7, King's Quest VII, Full Pipe, and many other titles.
  • ScummVM 2.0.
    Just in time for the holidays, the final release of ScummVM 2.0 is here! This version adds support for 23 brand new old games, including almost all of the 32-bit Sierra adventures...
  • ScummVM 2.0 released adding support for more classic games
    For those who enjoy the classics, you might want to check out the latest release of ScummVM which adds support for more classic titles. When it comes to the games, they've added support for 23 more titles like King's Quest VII, King's Questions, Leisure Suit Larry 6 (hi-res), Leisure Suit Larry 7, Riven: The Sequel to Myst and more. It's a rather impressive list, but of course the 2.0 release doesn't stop at adding support for more titles.