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

Android Leftovers

Why 2020 is the best time to use the Kate text editor

The KDE Plasma Desktop has a lot to offer—a great desktop, a flexible file manager, and tightly integrated applications. However, it can be easy to overlook its default text editors, one of which is Kate. On December 14, 2020, Kate turns 20 years old, and in its two decades of development, it has achieved a perfect balance between a straightforward editor and a modest Integrated Development Environment (IDE). Kate seems, at first, unassuming. It looks like every other text editor—a big blank window ready to accept lots of typed input, a menu bar along the top, some metadata around the edges to indicate character encoding and line count. The moment you start using it, though, you realize that it has all the features you need, right where you want them. Read more

Android Leftovers

today's leftovers

  • How to tell my mother that Free Software can cost money?

    For this episode we talk about why Free Software can cost money. Bonnie Mehring and Matthias Kirschner discuss the topics: How can I pay for Free Software and why is it important to pay and thereby support Free Software? What are the different models of earning money with Free Software and where is the difference of earning money as an individual or as a company. Throughout this conversation both explain the concept of Free Software and talk about some of the most common questions. This is the perfect episode for explaining to your loved ones what Free Software is.

  • The International Day Against DRM (IDAD) is today -- here's what you can do to help | Defective by Design

    There's no time like the present to stand up against Digital Restrictions Management (DRM). Fittingly, today is the Defective by Design campaign's annual International Day Against DRM (IDAD)! As months of quarantine have only tightened the stranglehold DRM has on how so many people experience culture, we have a lot of work ahead of us. If each person reading this takes a small step to show their support for the movement, we can have a meaningful and lasting effect.

  • Are Bill Gates’s Billions Distorting Public Health Data?

    “It seems to be a version of the playbook Trump follows,” says Sam Clark, a demographer at Ohio State University. “Absolutely nothing negative sticks, and the more exposure you get, the better, no matter what. It’s really stunning, and I don’t know any other scientific personality or organization that is able to pull it off quite like IHME.”

  • Nicholas Nethercote: Farewell, Mozilla

    Today is my last day working for Mozilla. I will soon be starting a new job with Apple. [...] I have a lot of memories, and the ones relating to these two projects are at the forefront. Thank you to everyone I’ve worked with. It’s been a good time. As I understand it, this blog will stay up in read-only mode indefinitely. I will make a copy of all the posts and if it ever goes down I will rehost them at my personal site.

  • Google Opens Up "Atheris" To Automatically Find Bugs In Python Code - Phoronix

    Google today is announcing the open-sourcing of Atheris, a Python fuzzer they developed internally for automatically finding bugs within Python code and native extensions.

  • Dbus-Broker 25 Released With More Fixes

    The BUS1 kernel code for providing an in-kernel, capability-based IPC mechanism hasn't seen much (or any?) activity in well over a year but at least the Dbus-Broker project continues ahead. Dbus-Broker continues ahead as this D-Bus compatible implementation focused on correctness while being optimized for performance.

  • [Older] VTOWN Goes to Current

    Hey all, it's been a while since i posted here, but today there's a big update that i want to share to all Slackware users who have waited for this to happen and this is one of the remaining part of my wishlist and that is the one and only, Plasma 5!!! Yes, Patrick has finally decided to push Plasma 5 after coming with teaser in previous updates. At this moment, the Plasma 5 packages are still in /testing directory, but i'm guessing it won't be long until it's merged into the main tree along with other updates. I have downloaded the new Plasma 5 packages at my current desktop at home, but didn't have time to upgrade it this morning so i did test the upgrade on my workstation at the office first and once i confirmed it worked well, i perform the upgrade on my laptop which i used to write this post.

  • Thanksgiving Updates

    It's Thanksgiving day in the US and Patrick gives a very nice gift to every Slackware users which he posted on his Patreon page. He pushed GNOME-related stacks to main tree (including UPower 0.99.x) and XFCE stack to vtown. Please note that this update will affect those who are using MSB and CSB projects as some of the dependencies are now part of the main tree, so before upgrading, it would be good idea to remove them first.