Programming: LLVM, Python, C, Fuzzing, and GNU "Core Utilities"

-
LLVM 8.0 Drags On As An RC5 Now Gets Scheduled
LLVM 8.0 had been expected for release prior to the end of February, but now as we approach the middle of March, this major compiler update along with associated sub-projects like Clang 8.0 have yet to see the light of day.
LLVM 8.0 is running quite tardy at this point compared to its 27 February release target. On Friday a fourth release candidate was issued as their second unscheduled RC while this morning it was announced a fifth RC is likely coming out in the days ahead. LLVM release manager Hans Wennborg announced a fifth release candidate is on the way for picking up another new commit.
-
Working with LDAP and Active Directory
-
Mike Driscoll: PyDev of the Week: Maria Khalusova
This week we welcome Maria Khalusova ( @mariakhalusova) as our PyDev of the Week! Maria works for JetBrains and will be speaking at AnacondaCON this April. If you’d like to catch up with her, you can check out Maria’s blog. Let’s take a few moments to get to know Maria better!
-
Programiz: Python RegEx
-
Linux C Programming Tutorial Part 9 - Variable Scopes
If you are following our C programming tutorial series, you should be aware of the concept of variables. While we've discussed the basics of variables, there's another important aspect related to variables that we'll be discussing here: scope of variables.
-
Inside Kdenlive: How to fuzz a complex GUI application?
Fuzz-testing, also called Fuzzing, is an essential tool inside the tool-box of software developers and testers. The idea is simple yet effective: simply throw a huge amount of random test inputs at the target program, until you manage to get it to crash or otherwise misbehave. This crashes are often revealing some defects in the code, some overlooked corner-cases that are at best annoying for the end-user if she stumbles upon them, or at worse dangerous if the holes have security implications. As part of our refactoring efforts of the main components of Kdenlive, this is one of the tools we wanted to use to ensure as much stability as possible.
One of the most commonly used fuzzing library is called LibFuzzer, and is built upon LLVM. It has already helped finding thousands of issues in a wide range of projects, including well tested ones. LibFuzzer is a coverage based fuzzer, which means that it attempts to generate inputs that creates new execution paths. That way, it tries to cover the full scope of the target software, and is more likely to uncover corner-cases.
Building a library (in this case Kdenlive’s core library) with the correct instrumentation to support fuzzing is straightforward: with Clang, you simply need to pass the flag -fsanitize=fuzzer-no-link. And while we’re at it, we can also add Clang’s extremely useful Address sanitizer with -fsanitize=fuzzer-no-link, address. This way, we are going to detect any kind of memory malfunction as soon as it occurs. -
5 Popular Python Open-Source IDEs For Data Science Enthusiasts
Integrated Development Environment (IDE) is the daily-used coding tool for a programmer which enables a complete set for Source Code.
-
Post Multipart Form Data in Python with Requests: Flask File Upload Example
In this tutorial we'll demonstrate how to upload a file from a Python server to another server by sending a POST request with multipart/form-data using the Python requests library.
-
GNU Coreutils 8.31 Released With New basenc Command, Stat Prints File Creation Time
A new release of the GNU "Core Utilities" is out that brings with it the new basenc command.
The GNU Coreutils 8.31 release brings better handling of --version/--help arguments for a number of commands, the date command now supports the "+" conversion specification flag from POSIX.1-2017, sleep and other commands now accept floating point numbers in both the current and C locales, stat/tail are now familiar with Android's sdcardfs file-system, and a number of bug fixes,
One change worth pointing out as well is that stat now can print file creation time when running on a capable file-system paired with Linux 4.11+ and Glibc 2.28+ for having the necessary bits for carrying the file creation time.
-
Become Queen Bee for a Day Using Python's Built-in Data Types
Like many other nerds, I love word puzzles. I'm not always great at them, and I don't always have time to do them, but when I do, I really enjoy them.
I recently discovered a new daily puzzle, known as "spelling bee", that the New York Times offers online. The idea is simple. There are seven different letters, one in the center of a circle and six around it. Your job is to make as many different words as you can from those seven letters. Each word must be at least four letters long, and each word also must contain the center letter. You can use each letter as many times as you want.
So if the letters are "eoncylt", with a center letter of "y", some of the words you could create might be "cyclone", "eyelet" and "nylon".
The online game gives you a score based on how many words you've made from the potential pool. If you get them all, you're awarded "queen bee" status.
I do pretty well at this puzzle, but I've never managed to find all of the hidden words. Nevertheless, I have become queen bee on a few occasions. How? The answer is simple. I cheated. How? Using Python, of course.
Now, cheating at games isn't necessarily the first order of business when it comes to programming. And cheating at word games in which you're competing against yourself is probably a sign of unhealthy competition. But, doing so also provides a great way to review some of the ways you can use Python's built-in data types and the ease with which you can process words and text.
-

- Login or register to post comments
Printer-friendly version- 1905 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