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

LibreOffice extension to remove blank cells – Help to improve it!

Rafael Lima from the Brazilian LibreOffice community is working on an extension to remove blank cells in LibreOffice Calc. It has four modes (single column, single row, blank rows and blank columns). Here’s a quick animation of it in action... So far, the main functionality is there, but Rafael would like to improve it. We asked him for some more info… Read more

5 Best Free and Open Source TypeScript Static Site Generators

LinuxLinks, like most modern websites, is dynamic in that content is stored in a database and converted into presentation-ready HTML when readers access the site. While we employ built-in server caching which creates static versions of the site, we don’t generate a full, static HTML website based on raw data and a set of templates. However, sometimes a full, static HTML website is desirable. Because HTML pages are all prebuilt, they load extremely quickly in web browsers. There are lots of other advantages of running a full, static HTML website. Read more

You Can Now Install KDE Plasma 5.23 on Kubuntu 21.10, Here’s How

Released last week, Kubuntu 21.10 ships with KDE Plasma 5.22.5 as default desktop environment, but users who want to use the recently released KDE Plasma 5.23 “25th Anniversary Edition” desktop environment can now upgrade their installations if they have the Kubuntu Backports PPA repository installed. The Kubuntu team announced today that the KDE Plasma 5.23.1 packages are now available in the Kubuntu Backports PPA repository, along with the KDE Frameworks 5.87 and KDE Gear 21.08.2 software suites, to make your Plasma desktop and KDE apps experience better. Read more

New Arduino Projects/Showcase

  • Labyrinthian Circuit Sculpture Evokes Moods With Sound And Light | Hackaday

    We can’t help but wonder if [Eirik Brandal] was evoking such Wilde thoughts when he wrote to tell us about ddrysfeöd, an electronic sound and light sculpture which he called “uselessly applied electronics.” Given the mood created by the video below the break, we have to agree that it is indeed quite artful. But if it serves a purpose to inspire and cause wonderment, is it really useless? Let the philosophers philosophize. On to the hack!

  • This Arduino radio looks like something from 100 years ago | Arduino Blog

    As time has progressed, personal radios have shrunk from the size of a large filing cabinet down to a tiny circuit that can be integrated into other ICs. Instructables user exposedwire wanted to bring back the feeling of a vintage 1920s radio set, so they built one out of wood that carries the same antique feeling with some more modern features. For the electronics, exposedwire went with an Arduino Uno for the main control board, along with a TEA5767 FM receiver IC that communicates with the Uno over I2C. The currently tuned frequency is displayed on a seven-segment LED module, which is driven by the ubiquitous TM1637 chip. The station can be changed by rotating the accompanying rotary encoder. Finally, the resulting audio signal is sent from the TEA1637 to an NS8002 amplifier and outputted from a small speaker.

  • Quit Hunching Over Your Screen With A Little Robotic Help | Hackaday

    This simple Arduino-based build uses the ubiquitous MPU-6050 which provides 3-axis acceleration and 3-axis gyro data all processed on-chip, so it can measure where you’re going, which way you are orientated and how fast you are rotating. This is communicated via the I2C bus, so hooking into an Arduino or Raspberry Pi is a simple affair. There are plenty of Open Source libraries to work with this very common device, which helps reduce the learning curve for those unfamiliar with programming a fairly complex device.