Language Selection

English French German Italian Portuguese Spanish

The $149 PinePhone Linux smartphone will support modular add-ons

Filed under
GNU
Linux
Gadgets

The upcoming PinePhone is expected to be an inexpensive, but versatile smartphone designed to run GNU/Linux operating systems. Yesterday we took a look at some of the operating systems that are already being ported to run on the PinePhone. But it looks like the software isn’t the only thing that’s actively under development.

Pine64 has posted an update on the state of the smartphone’s hardware with new details about the phone’s battery, hardware kill switches, and a previously announced feature — support for swappable back covers that can add functionality to the $149 smartphone.

Read more

More in Tux Machines

Open source: A matter of license and lock-in

Recently, a few bits of newsworthy information hit the open source landscape. Separately, these pieces of news were not that glaring, but when you put them together something a bit more ominous comes into focus--something I never would have thought to be an issue within the open source community. Before I get into this, I want to preface this by saying I am not usually one to cry foul, wolf, or squirrel! I prefer to let those pundits who make a living at gleaning the important bits out of the big bowl of alphabet soup and draw their own conclusions. But this time, I think it's important I chime in. Yes, at this very moment I am donning my tin foil hat. Why? Because I think it's necessary. And with me sporting that shiny chapeau, understand every word you are about to read is conjecture. Read more Also: Why Did Red Hat Drop Its Support for Docker's Runtime Engine?

Python Programming Leftovers

  • JavaScript destructuring like Python kwargs with defaults

    I'm sure it's been blogged about a buncha times before but, I couldn't find it, and I had to search too hard to find an example of this.

  • Create the input text box with tkinter

    In the previous post, I have written a python program to create the database, earning table as well as input the first row of data into the earning table. In this chapter, I will create a simple UI to accept the user’s input so we do not need to hardcoded the values into the SQL query. I will leave the SQL commit code to the next chapter, we will only create a simple input’s UI in this chapter first. A description box and the earning box of the Earning Input user interface As you can see I will create the above simple UI with tkinter which can then be further upgraded in the future to include more stuff.

  • Start using 2FA and API tokens on PyPI

    To increase the security of PyPI downloads, we have added two-factor authentication (2FA) as a login security option, and API tokens for uploading packages. This is thanks to a grant from the Open Technology Fund, coordinated by the Packaging Working Group of the Python Software Foundation. If you maintain or own a project on the Python Package Index, you should start using these features. Click "help" on PyPI for instructions. (These features are also available on Test PyPI.)

  • How to Build RESTful APIs with Python and Flask

    For some time now I have been working with Python but I just got to try out Flask recently, so I felt it would be nice to write about it. In this aritcle I'll discuss about Flask and how you can use it to build RESTfull APIs. Flask is a Python-based microframework that enables you to quickly build web applications; the “micro” in microframework simply means Flask aims to keep the core simple but extensible.

  • Reading Binary Data with Python

    When you deal with external binary data in Python, there are a couple of ways to get that data into a data structure. You can use the ctypes module to define the data structure or you can use the struct python module. You will see both methods used when you explore tool repositories on the web. This article shows you how to use each one to read an IPv4 header off the network. It’s up to you to decide which method you prefer; either way will work fine.

50 Useful and Productive cURL Command in Linux

The cURL utility is a simple yet powerful command-line tool for transferring files to/from remote locations. Its full form stands for ‘Client URL’. It has cemented its position as one of the best tools for remote data transfer over the internet. cURL offers a robust collection of commands that enable many advanced functionalities. Additionally, most curl command in Linux works exceptionally well for headless agents and/or automated scripts. To help you get started with cURL, our editors have compiled this thoughtfully curated introductory guide. Although it’s meant as a starting point for beginning Linux users, seasoned users can use it as a reference guide. The cURL utility supports a wide variety of protocols and features. We’ve outlined the essential commands with appropriate examples and suggest readers try them interactively for gaining first-hand experience on them. As with any Linux tool, your expertise with cURL will only grow when you continue to use it in everyday life. Read more

E-con ships 5MP cam for Nano Dev Kit, which gets rev’d with second CSI link

E-Con has launched a $69, 5-megapixel “e-CAM50_CUNANO” camera for the Jetson Nano Dev Kit with a MIPI-CSI2 interface and Linux driver. Meanwhile, Nvidia launched a revised “B01” version of the kit with a second CSI connector and support for the Xavier NX. E-Con Systems has followed its 3.4-megapixel e-CAM30_CUNANO camera for the Jetson Nano Dev Kit with a 5-megapixel model. Like the 3.4MP model, the e-CAM50_CUNANO uses a MIPI-CSI2 interface, but is built around OnSemi’s 1/2.5″ AR0521, a 2.2µm pixel CMOS image sensor with integrated ISP. Read more