Language Selection

English French German Italian Portuguese Spanish

Python Programming: Designing Big Picture, Test and Code, Copied Talk and Learning to Code On the Go

Filed under
Development
  • Designing Big Picture

    Web design encompasses many different skills and disciplines in the production and maintenance of websites. The different areas of web design include web graphic design; interface design; authoring, including standardised code and proprietary software; user experience design; and search engine optimization. Often many individuals will work in teams covering different aspects of the design process, although some designers will cover them all

  • Test and Code: 100: A/B Testing - Leemay Nassery

    Let's say you have a web application and you want to make some changes to improve it.
    You may want to A/B test it first to make sure you are really improving things.

    But really what is A/B testing?

    That's what we'll find out on this episode with Leemay Nassery.

  • Re-using my presentations

    Yesterday I got an email saying that someone in Turkey had stolen one of my presentations. The email included a YouTube link. The video showed a meetup. The presenter (I’ll call him Samuel) was standing in front of a title slide in my style that said, “Big-O: How Code Slows as Data Grows,” which is the title of my PyCon 2018 talk.

    The video was in Turkish, so I couldn’t tell exactly what Samuel was saying, but I scrolled through the video, and sure enough, it was my entire talk, complete with illustrations by my son Ben.

  • Mobile Apps for Learning to Code On the Go, Even in Space

    In a way, programming is like riding a bicycle. You won’t know how to write code unless you do it for a while. In other words, this skill requires much practice to learn and even more support.

    There are several ways one can get started: buy books, watch videos on YouTube, or go the more traditional route and join classes at an educational institute. However, the most convenient way to start your journey is right here at your fingertips.

    Mobile apps that teach you to code have become increasingly popular. And this is not a surprise: with the whole programming course right here on your smartphone; you can learn to code on the go. Whether you’re stuck in a queue or traffic jam, have 10 minutes before going to bed or go somewhere in a bus — open an app and level up your skills.

    That’s why I’ve compiled a list of coding applications that will help you stay up to date, no matter what level you are and what programming language you decided to learn.

More in Tux Machines

Programming: Java, Python, Perl and More

  • Azul Systems Extends Open Source Java Offerings with a new Zulu Distribution of OpenJDK 14
  • Azul Systems brews up fresh blend for open source Java

    Java runtime solutions company Azul Systems has announced the general availability of its Zulu release of OpenJDK 14 builds. [...] All Zulu 14 JDKs and JREs are verified against and pass the TCK certification tests required to ensure the correct execution of Java SE 14 applications.

  • Python File I/O

    Start writing here..In this article, you'll learn about Python file operations. More specifically, opening a file, reading from it, writing into it, closing it and various file methods you should be aware of. What is a file? File is a named location on disk to store related information. It is used to permanently store data in a non-volatile memory (e.g. hard disk). Since, random access memory (RAM) is volatile which loses its data when computer is turned off, we use files for future use of the data.

  • Python: Pros and Cons of Lambda

    lambda is a keyword in Python, we use it to create an anonymous function. So we also call lambda functions as anonymous functions.

  • Learning pandas by Exploring COVID-19 Data

    The European Centre for Disease Prevention and Control provides daily-updated worldwide COVID-19 data that is easy to download in JSON, CSV or XML formats. In this tutorial, we will use the pandas data analysis tool on the comma-separated values (CSV) data to learn some of the basic pandas commands and explore what is contained within the data set.

  • Rotation in R^2 - CY's take on PWC#053 Task 1

    This is a part of Perl Weekly Challenge(PWC) #053 and the followings are related to my solution. If you want to challenge yourself on Perl, go to https://perlweeklychallenge.org, code the latest challenges, submit codes on-time (by GitHub or email) if possible, before reading my blog post.

  • Perl Weekly Challenge 053: Rotate Matrix and Vowel Strings
  • IoT Adoption Survey Reveals Open Source Rules

    The Eclipse Foundation's IoT Working Group has issued a report that reveals that for commercial organizations the IoT is real and adoption is growing, albeit with a degree of caution. As far as IoT is concerned, the open source model clearly dominates. Conducted online between October and December 2019, with 366 respondents, the IoT Commercial Adoption Survey was the first exercise of its kind. Its aim was gain a better understanding of the IoT industry landscape by identifying the requirements, priorities, and challenges faced by organizations that are deploying and using commercial IoT solutions. It can be seen as the counterpart of the IoT Developer Survey, which since 2015 has been an annual exercise reporting on the programming languages, platforms, infrastructure and tools used for building IoT solutions.

  • What happens when the maintainer of a JS library downloaded 26m times a week goes to prison for killing someone with a motorbike? Core-js just found out

    In November 2019, Denis Pushkarev, maintainer of the popular core-js library, lost an appeal to overturn an 18-month prison sentence imposed for driving his motorcycle into two pedestrians, killing one of them. As a result, he's expected to be unavailable to update core-js, a situation that has project contributors and other developers concerned about the fate of his code library.

  • [Old] When to assume neural networks can solve a problem

    The question: “What are the problems we should assume can be solved with machine learning?”, or even narrower and more focused on current developments “What are the problems we should assume a neural network is able to solve?”, is one I haven’t seen addressed much.

    There are theories like PAC learning and AIX which at a glance seem to revolve around this, as it pertains to machine learning in general, but if actually applied in practice won’t yield any meaningful answers.

    However, when someone asks me this question about a specific problem, I can often give a fairly reasonable confidence answer provided I can take a look at the data.

    Thus, I thought it might be helpful to lay down the heuristic that generate such answers. I by no means claim these are precise or evidence based in the scientific sense, but I think they might be helpful, maybe even a good start point for further discussion on the subject.

  • Uber Open Sources Piranha Stale Code Remover

    Uber has released an open source version of Piranha, a tool that scans source code to delete code related to stale, or obsolete, feature flags. Piranha is run at Uber in an ongoing pipeline for its Android and iOS codebases and has been used to remove around two thousand stale feature flags and their related code. Uber says it has led to a cleaner, safer, more performant, and more maintainable code base.

  • Piranha Is An Open Source Tool That Automatically Deletes Obsolete Code

Software: ScreenCloud, BleachBit and MP4Tools

  • ScreenCloud is an open source image capturing tool that can optionally upload images to Google Drive, OneDrive, Dropbox, Imgur

    We have reviewed many screen capturing tools at gHacks including Ksnip, Automatic Screenshotter, Auto Screen Capture, Ashampoo's Snap 11, or Martin's favorite program PicPick. [...] To finalize it, copy and paste the authorization code generated by the cloud service into the box that the program opened for connecting to your account. You may choose the screenshot naming pattern such as Screenshot at %H-%M-%S representing the time (hours, minutes, seconds) when the screenshot was taken. The result will be something like Screenshot at 19-45-00. Select the folder name that the application should save content to, and whether you want it to copy the public link to the clipboard after the uploading process has been completed. Hit the save button and you're all set to use it. The application isn't portable. The lack of a crop tool in ScreenCloud's editor was a slight let down for me, but this is intended to be a basic screen capturing tool, besides I'm too used to ShareX's options.

  • BleachBit 3.9.0 Beta

    Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Internet Explorer, Adobe Flash, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source.

  • MP4Tools is an open source set of utilities for merging or splitting video files

    Note: The application kept crashing when the play button was used. But it works just fine when adding split points, and the split process was successful. I'm not sure why it crashed, especially since the preview panel displayed the frames of the split points correctly. A quick search on the program's SourceForge page revealed a similar issue reported by a user. This suggests that it could be a bug in the latest version. [...] Both programs in the MP4Tools suite use FFMPEG for encoding videos. MP4Tools is a 32-bit software. It is available for Windows and macOS. Linux users will have to compile it from the source code. It is not a portable application.

Qt/KDE: RSIBreak 0.12.12, "App" Stores, Icons and KDE Web Development

  • RSIBreak 0.12.12 released!

    All of you that are in using a computer for a long time should use it!

  • KDE in app stores

    If you use KDE software, there is a good chance you’re on a Linux distribution and you download the software from your distribution’s repositories. But the fact is you can get KDE software from a number of sources on different platforms. As project coordinator for KDE e.V. helping with KDE Goals, I was tasked to look at app download statistics. Join me in my quest to understand how popular KDE apps are in various app stores.

  • New Icon theme

    Like everyone else, I am also in quarantine, and during this quarantine I got closer to the program that I love, inkscape. I started to make smartphone mockups again, which I published on my Instagram profile (maybe I will also make posts here). But I started a new icon theme , since I have many free hours a day, I have a lot of time to devote to this project.

  • This month in KDE Web: March 2020

    This month KDE web developers worked on updating more websites and some progress was made in a new identity provider and a lot of other exiting stuff and a lot of background work was also done.

GTK Apps and GNOME: Maps, Window Blur and Extension

  • Marcus Lundblad: Maps in GNOME 3.36

    There's been quite a while since the last blog post. Since then 3.36.0 was released, and also the first update for the stable 3.36 branch, 3.36.1 has been released. As I've written about before one of the main features in 3.36 is the support for trip planning for public transit using third party services, as shown here from Paris...

  • TIL Wayfire Supports Background Window Blur in GTK Apps

    One longstanding complaint I hear about modern day GTK apps is that they don’t like anywhere near as fancy as their macOS, Windows, iOS and even KDE Plasma counterparts. And a big reason for that is the lack of blur effect support in Mutter (and GNOME Shell at large, though yes: this is changing). Thing is, next-gen window compositors based on the Wayland stack are already capable of doing more than just ‘showing’ windows on the screen.

  • An introduction to GNOME shell extensions

    GNOME has a sleek interface, designed to support your work while being out of your way when possible. These considerations depend on your preferences. Some people want all the graphics and the icons, some wants to minimize distractions while remembering how to run stuff with keyboard shortcuts. A known issue is that GNOME has taken away the application menu that is common in other systems. you can add an extension to add it yourself. You write extensions for GNOME in JavaScript, though there are times when you can link to other languages. Because you use JavaScript, you can also use CSS packages such as Bootstrap. What are the extensions changing? This may seem like an irrelevant question but as you start troubleshooting, you need to know this. Any extension is actually adding code to the gnome-shell. Due to this, your desktop will crash due to a bad extension so test carefully before trusting any code. It is a good idea to remember this both when you are installing other people’s extensions and when you are coding yourself. You can learn how to make an extension quickly if you know JavaScript and you follow the documentation at the GNOME wiki. You can start by using the standard tools which create the required files for you. There are only two required files, though, so creating them yourself is not a big task.