today's howtos and programming


-
How to Install SOPlanning on CentOS 7
-
Arduino IDE Commands Cheat Sheet
-
Low profile SDM signage board features Whiskey Lake-U
Axiomtek has launched an SDM form-factor “SDM500L” signage board with an 8th Gen Whiskey Lake-U processor with triple 4K display support, up to 32GB RAM, 3x M.2 sockets, and extended temperature support.
Like the 6th Gen Skylake-based Nexcom NDiS S538 that we covered earlier this week, Axiomtek’s new SDM500L signage computer conforms to Intel’s Smart Display Module-Large (SDM-L) form factor, a sleeker version of its OPS (Open Pluggable Specification). It’s similarly designed to be integrated with SDM compliant displays via a PCIe x8 edge interface in special cabinetry aimed at locations with space constraints. Like OPS, SDM also supports remote management.
-
Fuzzing and tests
For the last week, I've mostly been writing tests and fixing bugs. One or two bugs were new, caused by the switch to using the protocol unmarshaling code generator that I wrote a week ago, but most are older bugs that occur when waypipe is exposed to malformed protocol messages. For example, there used to be a use-after-free when a Wayland request to a given object was crafted to create a new object that would overwrite the existing object, but not replace all the references to the old object. Several such bugs were found by fuzzing, using AFL.
AFL is a file-format fuzzer, so it's not immediately obvious how to make it fuzz a pair of programs which use Unix socket connections as input. Furthermore, the Wayland protocol requires file descriptor transfers via sendmsg, and almost no fuzzers are set up to do that. The solution I chose for waypipe is to write an alternative frontend, which runs two linked copies of waypipe as distinct threads, and has a third thread which reads from a given input file and sends messages to the other two threads. The input files are structured with a simple header based format which the third thread can use to decide to which copy of waypipe it should send the next block of data. The headers also include a field indicating how large of a shared memory buffer, if any, to sendmsg to the next selected waypipe thread. To provide the initial test cases for AFL, I wrote a script which proxies a Wayland application and dumps its (formatted) protocol messages to a file.
-
EuroPython Society: List of EPS Board Candidates for 2019/2020
At this year’s EuroPython Society General Assembly we will vote in a new board of the EuroPython Society for the term 2019/2020.
-
Episode #219: Take a Python tour of duty at the United States Digital Service
In the US, we have a very interesting civil option that is quite new: The United States Digital Service. This service was created by President Obama to fix broken government software systems such as the rocky start of the healthcare system.
Developers and designers can serve in this service for as little as 3 months or as long as 4 years and they pay roughly market rates.
-
Python: Sleep Function Explained
In Python, or any other programming language, sometimes you want to add a time delay in your code before you proceed to the next section of the code.
If this is what you want to do, then you should use the sleep function from the time module.
First, I will start by discussing how to use Python’s sleep function. After that I will talk more about some frequently asked questions and how the sleep function is actually implemented under the hood.
-
The Python Help System
When writing and running your Python programs, you may get stuck and need to get help. You may need to know the meaning of certain modules, classes, functions, keywords, etc. The good news is that Python comes with an built-in help system. This means that you don't have to seek help outside of Python itself.
In this article, you will learn how to use the built-in Python help system.
-

- Login or register to post comments
Printer-friendly version- 2008 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
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.
|
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.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago