Language Selection

English French German Italian Portuguese Spanish

Python Programming, Interview With Brett Slatkin, Switching From Python to Java and More

Filed under
Development
  • How to Plot a Histogram with Pandas in 3 Simple Steps

    The post How to Plot a Histogram with Pandas in 3 Simple Steps appeared first on Erik Marsja.

    In this post, we are going to learn how to plot histograms with Pandas in Python. Specifically, we are going to learn 3 simple steps to make a histogram with Pandas. Now, plotting a histogram is a good way to explore the distribution of our data.

  • Python Community Interview With Brett Slatkin

    Today I’m speaking to Brett Slatkin, a principal software engineer at Google and the author of the Python programming book Effective Python. Join us as we discuss Brett’s experience working with Python at Google, refactoring, and the challenges he faced when writing the second edition of his book. Without any further ado, let’s get into it!

  • World's average country population and inspection paradox

    Have you ever thought how much is the world’s average country population? And what does it say about the country you are living in or for the quality of life of the average person? All these questions are related to what we call the “Inspection Paradox” which we are going to illustrate here using Python.

    First of all we need to find some data. For that purpose we could use wikipedia. We are going to do everything without even opening a web browser! There is a nice Python library we could use to access and parse data from Wikipedia. In order to install it we need to simply run.

  • Is Switching From Python to Java is a Good Idea?

    The idea of having Python as a first programming language has a rational background. First of all, the syntax of Python is short and clear and the underlying model of objects and variables working is perfectly consistent. That means you can write “real” and pretty powerful applications without great effort. So there is nothing strange that many schools teach students programming using Python.

    However, knowing two languages is always better than one. If you are thinking of learning a second language after Python, Java could be a really nice choice. In this article, we are going to discuss switching from Python to Java in the case of a beginner software developer.

  • Tensorflow basics

    Machine learning might be frightening for beginners.

    So let's learn something extremely simple so you could feel the ground.

More in Tux Machines

Xfce’s Thunar File Manager Gets Split View, File Creation Times, and More

Thunar 4.17 is here as the first milestone towards the next major release that will be part of the upcoming Xfce 4.18 desktop environment, which is now in early development. I know many of you love and use Thunar, so here’s a look at the major new features coming to your Xfce desktop environment. The big news is that Thunar now finally features a split view, allowing you to use the file manager as a dual-pane file explorer/commander. I bet many of you were hoping for this feature, so here it is and you’ll be able to use soon on your Xfce desktop, hopefully later this year. Read more

9to5Linux Weekly Roundup: January 24th, 2021 (1st Anniversary)

Believe it or not, today is 9to5Linux’s first anniversary! It is on this day (January 24th) that I’ve launched 9to5Linux.com a year ago and it wouldn’t be possible without your support, so THANK YOU for all your feedback and donations (they were put to good use) so far. Here’s to us and to many more happy years together! This has been another amazing week of Linux news and releases as TUXEDO Computers and System76 announced new Linux laptops, Oracle announced Linux 5.10 LTS support for VirtualBox, Raspberry Pi Foundation announced their own silicon, and the KDE Plasma 5.21 desktop environment entered public beta testing. Check them all out in the weekly roundup below, along with all the latest Linux distro and app releases! Read more

today's howtos

  • Install Oracle Virtualbox 6.1.18 in Ubuntu 20.04 / CentOS 8 & Fedora

    Virtualbox an open-source application for running operating systems virtually in our base system and this application available for multiple operating systems (ie) Windows, Linux, and macOS. It has a large number of features, high performing software used in enterprise-level and licensed under General Public License (GPL). It is developed by a community based on a dedicated company. This tutorial will be helpful for beginners to install Oracle VirtualBox 6.1.18 in Ubuntu 20.04, Ubuntu 19.10, CentOS 8 / Redhat 8, and Fedora.

  • How To Install Docker on Linux Mint 20

    In this tutorial, we will show you how to install Docker on Linux Mint 20. For those of you who didn’t know, Docker is an open-source project that automates the deployment of the application inside the software container. The container allows the developer to package up all project resources such as libraries, dependencies, assets, etc. Docker is written in a Go Programming language and is developed by Dot cloud. It is basically a container engine that uses the Linux Kernel features like namespaces and control groups to create containers on top of an operating system and automates the application deployment on the container. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation of Docker on a Linux Mint 20 (Ulyana).

  • How to Secure Email Server Against Hacking with VPN (CentOS/RHEL)

    In this tutorial, I’m going to share with you my tips and tricks to secure CentOS/RHEL email servers against hacking with a self-hosted VPN server. Many spammers are trying to hack into other people’s email servers. If successful, they would use the hacked email server to send large volumes of spam or steal valuable data. Why do we use a self-hosted VPN server? Because it allows you to enable whitelisting, so only trusted users connected to the VPN server can access your mail server.

  • Fixed compile of libvdpau-va-gl in OE

    I posted yesterday about the problem in OpenEmbedded when the compile of a package requires execution of a binary: https://bkhome.org/news/202101/fixed-compile-of-samba-without-krb5-in-oe.html This problem does not occur if the build-architecture and target-architectures are the same. The problem occurs with a cross-compile. Today I had the same problem, with package 'libvdpau-va-gl'. I had previously compiled this in OE, but now the build-arch is x86_64 and the target-arch is aarch64.

KDE: Kate and Konsole

     
  • The Kate Text Editor - January 2021

    It not only got some nice visual refresh but a much better fuzzy matching algorithm. The fuzzy matching algorithm is on its way to be upstream to KCoreAddons to be used by more parts of the KDE universe. Praise to Waqar Ahmed for implementing this and pushing it to upstream. And thanks to Forrest Smith for allowing us to use his matching algorithm under LGPLv2+! [...] As you can see on our team page a lot of new people helped out in the scope of the last year. I hope to see more people showing up there as new contributors. It is a pleasure that Waqar Ahmed & Jan Paul Batrina now have full KDE developer accounts! Especially Waqar came up with a lot of nifty ideas what could be fixed/improved/added and he did already do a lot of work to actually get these things done! I actually wanted to write earlier about what cool new stuff is there, but had too much review requests to look after. Great! ;=) No I can read review request instead of light novels in the evening.

  •  
  • Contributing to Konsole

    I never thought I could contribute with Open Source, or even imagined I could change my workspace, in my mind doing it was beyond my programming skills. I was a Windows user for a long time, until one day I couldn’t stand anymore how the system was so slow, it was not a top computer, but it was a reasonable one to be that slow. So I changed to Debian and used it for a time until change to other distros, but I was amazed how fast it was, of course I couldn’t use all of the same programs I used to work with but I did learn new ones.