Language Selection

English French German Italian Portuguese Spanish

Programming: Webview and Lorca, Python, C++, Anaconda, PyPy, GTK/Rust

Filed under
Development
  • Electron Apps Are Bad, So Now You Can Create Desktop Apps With HTML5 + Golang

    The Electron software framework that allows creating desktop GUI application interfaces using JavaScript and relies upon a bundled Chromium+Node.js run-time is notorious among most Linux desktop users for being resource heavy, not integrating well with most desktops, and generally being despised. For those that are fond of using web standards for creating desktop GUIs, now there is a way to create desktop application front-ends using HTML5 and Golang but with less baggage. 

    Developer Serge Zaitsev presented at FOSDEM 2019 last weekend in Brussels about his work on the Webview and Lorca libraries. These libraries allow building modern desktop applications within the Go programming language while writing the interfaces in HTML5.

  • Return the day in a week with python

    In this example, we are going to develop a method which will receive a number from the user input and returns which day in a week is that numbers refer to. For example, 1 is Sunday and 2 is Monday. If the number is too large or too small then the program will return an error message. Below is the solution to this question, if you have a better solution don’t forget to leave your answer on the below tweet.

  • The Zen of Python
  • Moving iterators in C++

    This will be a short post about a feature in STL that seems to be not as well-known as it should be.

    Imagine we want to create a small function that collects files in the subdirectories of the current directory. So, a list that would be returned by ls */*.

    Note that namespace fs = std::filesystem; is used in the examples.

  • Catching up with the Anaconda distribution

    It's time to catch up with the Anaconda crew and see what's new in the Anaconda distribution. This edition of Python was created to solve some of the stickier problems of deployment, especially in the data science space. Their usage gives them deep insight into how Python is being used in the enterprise space as well. Which turns out to be a very interesting part of the conversation.

  • Düsseldorf Sprint Report 2019

    We are happy to report a successful and well attended sprint that is wrapping up in Düsseldorf, Germany. In the last week we had eighteen people sprinting at the Heinrich-Heine-Universität Düsseldorf on various topics.

  • MPSC Channel API for painless usage of threads with GTK in Rust

    A very common question that comes up on IRC or elsewhere by people trying to use the gtk-rs GTK bindings in Rust is how to modify UI state, or more specifically GTK widgets, from another thread.

    Due to GTK only allowing access to its UI state from the main thread and Rust actually enforcing this, unlike other languages, this is less trivial than one might expect. To make this as painless as possible, while also encouraging a more robust threading architecture based on message-passing instead of shared state, I’ve added some new API to the glib-rs bindings: An MPSC (multi-producer/single-consumer) channel very similar to (and based on) the one in the standard library but integrated with the GLib/GTK main loop.

More in Tux Machines

today's howtos

Wine 4.0.2 Released

  • Wine Announcement

    The Wine maintenance release 4.0.2 is now available.

  • Wine 4.0.2 Released With 66 Bug Fixes

    Wine 4.0.2 is out today as the second stable point release to this year's Wine 4.0 cycle. As is customary for Wine stable point releases, only bug fixes are allowed in while new features come by way of the bi-weekly development releases that will lead up to the Wine 5.0 release in early 2020.

  • The stable Wine 4.0.2 release is now available

    If you prefer to walk on the calmer side of life, the Wine 4.0.2 release has been made available today. As it's just a "maintenance" release, there's no big new features which are reserved for the current 4.xx series currently at 4.14 released on August 17th. With that in mind they noted 66 bugs being marked as solved. These bugs include issues with Worms 2, Warframe, Rogue Squadron 3D, Settlers III, Mass Effect, F.E.A.R. 2: Project Origin, The Sims and plenty more.

  • Linux Gaming FINALLY Doesn't SUCK!

28 facts about Linux for its 28th birthday

Nearly three decades ago, Linus Torvalds sent the email announcing Linux, a free operating system that was "just a hobby" and not "big and professional like GNU." It's fair to say that Linux has had an enormous influence on technology and the world in general in the 28 years since Torvalds announced it. Most people already know the "origin story" of Linux, though. Here's 28 things about Linux (the kernel and larger ecosystem) you may not already know. 1 - Linux isn't very useful alone, so folks took to creating Linux distributions to bundle user software with it, make it usable and easier to install. The first Linux distribution was Softlanding Linux System (SLS), first released in 1992 and using the .96p4 Linux kernel. You could buy it on 5.25" or 3.5" floppies, or CD-ROM if you were high-tech. If you wanted a GUI, you needed at least 8MB of RAM. 2 - SLS didn't last, but it influenced Slackware Linux, which was first released in 1993 and is still under development today. Slackware is the oldest surviving Linux distribution and celebrated its 26th birthday on July 17th this year. 3 - Linux has the largest install base of any general purpose operating system. It powers everything from all 500 of the Top 500 Supercomputers to Android phones, Chomebooks, and all manner of embedded devices and things like the Kindle eBook readers and smart televisions. (Also the laptop used to write this post.) Read more

Quick Guide to The Awesome GNOME Disk Utility

GNOME Disk Utility is an awesome tool to maintain hard disk drives that shipped with Ubuntu. It's called simply "Disks" on start menu on 19.04, anyway. It's able to format hard disks and USB sticks, create and remove partitions, rename partitions, and check disk health. Not only that, it also features writing ISO into disk and vice versa, create ISO image of a disk. This tutorial explains in brief how to use it for 8 purposes. Let's go! Read more