Language Selection

English French German Italian Portuguese Spanish

Programming: Interviews, Snek, JavaScript, Perl and Python

                   

  • The Horrifically Dystopian World of Software Engineering Interviews

                     

                       

    I am rather confused with the advertised rankings of a software engineer. There seem to be only two rankings: non-senior and senior. In general job ads ask for 5 years of experience in order to be considered a senior. There seem to be some missing rankings. What do we call someone with 20 years of experience? Are they really the same thing as someone with 5? In my case, what do we call someone with 4 years of experience? I am not a new grad. I know how to write software on my own. I know how version control works and how to exist in an Agile environment. Depending on the situation I need people to set the direction for my work. To add further complexity to the issue, there is the the issue of years of experience in a technology. If a person has 5 years of experience writing Java and moves to a team that uses Python and is made up of only people who have less than two years of experience in Python should this person be considered a junior? This is such a confusing topic that it warrants an entire article of its own and even then I am not sure I can make any sense of it. My point is that I lie somewhere between junior and senior and it seems to be slim pickings for my experience level.

  •                

  • Decomposing Splines Without Recursion

    To make graphics usable in Snek, I need to avoid using a lot of memory, especially on the stack as there's no stack overflow checking on most embedded systems. Today, I worked on how to draw splines with a reasonable number of line segments without requiring any intermediate storage. Here's the results from this work:

  • JavaScript Internationalization in 2020

    2020 is shaping up to be an amazing year for JavaScript Internationalization API.

    After many years of careful design we’re seeing a lot of the work now coming close to completion with a number of high profile APIs on track for inclusion in ECMAScript 2020 standard!

  • av_fetch can return NULL

    If you create an array by inserting values, in the following way,

    $thing{key}[10] = 1;
    and then don't populate the rest of the array, a call to av_fetch in the array to retrieve values lower than the tenth one may return a NULL value.

  • Selection Sort in Python

    Sorting, although a basic operation, is one of the most important operations a computer should perform. It is a building block in many other algorithms and procedures, such as searching and merging. Knowing different sorting algorithms could help you better understand the ideas behind the different algorithms, as well as help you come up with better algorithms.

    The Selection Sort algorithm sorts an array by finding the minimum value of the unsorted part and then swapping it with the first unsorted element. It is an in-place algorithm, meaning you won't need to allocate additional lists. While slow, it is still used as the main sorting algorithm in systems where memory is limited.

    In this article, we will explain how the Selection Sort works and implement it in Python. We will then break down the actions of the algorithm to learn its time complexity.

  • Multiple File/Image Upload with Django 3, Angular 9 and FormData

    In the previous tutorial we have seen how to implement file uploading in Django and Angular 9. In this tutorial, we'll see how to implement multiple file uploading.

    It's recommended that you start from the previous tutorial to see detailed steps of how to create a django project, how to install Angular CLI and generate a new Angular 9 project along with services and components as we won't cover those basics in this part.

  • Solving python error - ValueError: invalid literal for int() with base 10

    We can get this error when trying to convert a variable to an integer.

  • New features for Raspberry Pi, Wireguard in the Linux kernel, NSA Python course and more open source news

    The National Security Agency has released its own Python tutorial for beginners. It is a 118-megabyte PDF download that provides a complete course of study from a first Python project to advanced programming examples. While it’s not clearly licensed, it is declassified and available as a great resource to learn the language. Many thanks to Chris Swenson who submitted the FOIA request to the NSA for their Python training materials, which resulted in this treasure trove of Pythonics.

  • redirect-chain - Getting a comfortable insight input URL redirects history

    You can accomplish the same with curl -L but I've had this as a little personal hack script in my ~/bin folder on my computer. Thought I'd make it a public tool. Also, from here, a lot more can be done to this script if you wanna help out with ideas.

  • Solving python error - TypeError: 'NoneType' object is not iterable

    This is one of the most common errors we all faced at least once while working on a Python code. If you are facing a similar error then it is probably due to a for or while loop on an object.

  • Creating the ultimate terminal experience in Spyder 4 with Spyder-Terminal

    The Spyder-Terminal project is revitalized! The new 0.3.0 version adds numerous features that improves the user experience, and enhances compatibility with the latest Spyder 4 release, in part thanks to the improvements made in the xterm.js project.

Struggle getting PDL book example to work on Windows 10

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.