Language Selection

English French German Italian Portuguese Spanish

Programming: Git, Qt and Python

Filed under
Development
  • Properly managing your .gitignore file

    There's not a single month where I don't have to explain this. I thought it'd be a good opportunity to write about this .gitignore file so everyone is up to date on this magic file.

  • The Qt Marketplace has landed!

    Today marks a very special day for us as we are finally able to present you the Qt Marketplace. We have been working very hard for the past year to build the marketplace and to onboard the first set of fantastic extensions with the help of our great community. Huge thanks for everyone involved in the process! To make this our joint effort for #Qt we would like to invite you for populating it with all the fantastic extensions including Qt Creator Plugins, tools and modules … that has been done with Qt.

  • The Qt Company Launches Qt Marketplace For Free + Paid Qt Extensions / Add-Ons

    While there is the KDE Frameworks that offers a wonderful set of complementary extensions/add-ons to the Qt5 tool-kit, for those looking for more Qt5 extensions, The Qt Company has launched "The Qt Marketplace" as a source for both free and paid extensions.

    Qt Marketplace offers extensions to add additional functionality around the tool-kit, new Qt Creator Plugins, tools, modules, and more. There are 100+ extensions at launch including Felgo that offers additional Qt APIs, Incredibuild as a network-based build system for Qt Creator, Froglogic to help with testing Qt programs, KDAB's KUESA workflow software, and various KDE add-ons.

  • Seems SimpleParse needs work for 3.8

    So as I work through all the OpenGLContext projects to get automatic (or near automatic) releasing, SimpleParse wound up failing on the 3.x branches with a weird xml test failure. But with Python 3.8 the C code just won't import at all. Seems there was a change in Python 3.8 where it does a load-time test for functions in the module and the hand-coded C module triggers it. So I'll have to spend some time on that before I can get the whole stack releasing.

  • PyCharm 2019.3 is out now

    Interactive widgets for Jupyter notebooks, MongoDB support, and code assistance for all Python 3.8 features. Download the new version now, or upgrade from within you IDE.

  • Pandas: How to Read and Write Files

    Pandas is a powerful and flexible Python package that allows you to work with labeled and time series data. It also provides statistics methods, enables plotting, and more. One crucial feature of Pandas is its ability to write and read Excel, CSV, and many other types of files. Functions like the Pandas read_csv() method enable you to work with files effectively. You can use them to save the data and labels from Pandas objects to a file and load them later as Pandas Series or DataFrame instances.

  • Casual Python, Part 11

More in Tux Machines

Open source luminaries turn up spotlight on GitHub over ICE deal

An open letter to Git Hub demanding that it drop its controversial contract with the US Immigration and Customs Enforcement agency was heading towards 400 signatures from open source maintainers and developers as of Friday. The open letter, posted, naturally, on GitHub, referenced a previous open letter four years ago that lit a fire under the company and forced to fix a range of issues that had been troubling users. “Now, we are asking you to help again,” the signatories wrote, going on to say that as it enforces the Trump administration’s immigration policies, ICE “is actively committing numerous crimes and human rights violations, in contravention of both US and international law”. “At the core of the open source ethos is the idea of liberty,” the letter writers say. “Open source is about inverting power structures and creating access and opportunities for everyone.” Read more Also: A group of developers sent a letter demanding GitHub cancel its ICE contract, saying it puts the Microsoft-owned company at odds with its own community and values

Events: Paris Open Source Summit 2019 and Advent of Code 2019

  • Paris Open Source Summit 2019 (in english)

    Just so you know, the Fedora-fr community will be present at the 2019 edition of Paris Open Source Summit. This year, POSS will be held on December 10th and 11th from 9am to 6pm and, like every year, will be held at Dock Pullmann, in Aubervilliers. We will have a stand on the associative village (booth A34, to be quite exact). We will be there to answer any questions about Fedora, offer to burn an image of Fedora 31 on your USB key. We will have Fedora goodies for people who are interested. Feel free to come to the Salon if you have time during the 2 days in question and drop by to say hi if you're there!

  • Advent of Code 2019

    My work does not involve that much coding any more. I probably spend more time doing email, attending meetings, and preparing presentations than anything else these days. Still, my fingers itch if I don’t get to write some code now and then. This has resulted in small apps such as Mattemonster, where I pushed myself to get it into a presentable state so that I could publish it to Google Play. Any one with kids starting with maths should try the app – my son loves it!

Ubuntu Virtualisation and Ubuntu Touch

  • Comparison between LXC and LXD

    Traditionally, we would have a physical computer and expect to run a single operating system on it. One way to go over this limitation, is to use virtualization, which allows us to run multiple operating systems (virtual machines) on a computer. For virtualization to work efficiently, we would need special virtualization support from the CPU (Intel CPUs: VT-x, AMD CPUs: AMD V). Relevant virtualization software include KVM, Xen, VirtualBox, Hyper-V and VMWare. Virtualization is good, but takes lots of system resources because you boot up a full operating system for each virtual machine. Can we have an additional option for lightweight virtual machines that do not require to boot their own Linux kernel but can reusing the running Linux kernel of the host? Well, we can, and these are the Linux Containers.

  • Discussion on running X11 applications from within LXD system containers

    With LXD, you can create system containers. These system containers are similar to virtual machines, while at the same time they are very lightweight. In a VM, you boot a full Linux kernel and you run your favorite Linux distribution in a virtualized environment that has a fixed disk size and dedicated allocation of RAM memory. To get a graphics application to run in a VM, you need a virtualized GPU, such that will have hardware accelerated access to the host graphics driver. In contrast, in a system container, you keep using the running Linux kernel of the host, and you just start the container image (runtime, aka rootfs) of your favorite Linux distribution. Your container uses as much disk space are needed from a common storage, and the same goes with the memory (you can also put strict restrictions, if you need). To get a graphics application to run in a container, you need to pass a Unix socket of your existing X server (or a new isolated X server).

  • [Older] Ubuntu Touch: reports of its death have been greatly exaggerated

    Remember the times when Canonical was working on a Qt-based desktop and mobile phone? Remember Unity, the default Ubuntu desktop that was about to be rewritten in Qt under the name as Unity8 shortly before Canonical killed the project and switched to GNOME? And Remember Ubuntu Touch, the Linux-based operating systems for tablets and smartphones based on Ubuntu with a QML-based user interface? Turns out that the Ubuntu-based mobile operating system is living on and thriving in an independent community under the auspices of the UBports project. Quite possibly, being driven by a community of passionate volunteers may be turning out as one of its strongest points. Time to try it out! Wouldn’t it be cool if besides Android and iOS there was a mobile operating system that was truly open source not only by license but also by spirit, one in which you you could actually be in full control over your device and personal data, one which you could change as you please, one which you wouldn’t have to “jailbreak” and fiddle around with to get at a Linux root shell and to install a system-wide ad blocker? One where you could send a pull request on GitHub with a realistic change of it being reviewed and merged?

Google Chrome and Mozilla Firefox

  • If you want an example of how user concerns do not drive software development, check out this Google-backed API

    A nascent web API called getInstalledRelatedApps offers a glimpse of why online privacy remains such an uncertain proposition. In development since 2015, Google has been experimenting with the API since the release of Chrome 59 in 2017. As its name suggests, it is designed to let web apps and sites determine whether a corresponding native app is installed on a user's device. The purpose of the API, as described in the proposed specification, sounds laudable. More and more, the docs state, users will have web apps and natives apps from the same source installed on the same device and as the apps' feature sets converge and overlap, it will become important to be able to distinguish between the two, so users don't receive two sets of notifications, for example.

  • Mozilla Releases DeepSpeech 0.6 With Better Performance, Leaner Speech-To-Text Engine

    DeepSpeech 0.6 currently achieved a 7.5% word error rate for this open-source speech-to-text engine. The new release has various API changes, better training performance with TensorFlow 1.14 cuDNN RNN support for their training graph, trimmed down their language model to be using the top 500k words, adding various data augmentation techniques, a tool for bulk transcribing large audio files, and various other changes.

  • [Older] Give Firefox a chance for a faster, calmer and distraction-free internet

    Using Firefox gives you peace of mind and keeps you away from the advertising companies constantly following you around, profiling you and tempting you to purchase their products.