Programming: “Pseudolocale”, Python, Go and GNU's Gas

-
Developer tool for i18n: “Pseudolocale”
While browsing for some internationalisation/localisation features, I found an interesting piece of functionality in Android's developer documentation.
-
Format your log messages in Python
Getting log messages into the desired format can sometimes be a problem, but with syslog-ng you can use Python to get exactly the format you need. The syslog-ng Python template function allows you to write custom templates for syslog-ng in Python. It was available in syslog-ng already for almost two years, but somehow stayed under the radar for me. The Python template function can work on the whole log message (which is passed on to it automatically as an object) or on the data received as argument.
In this blog I show you a simple use of the Python parser: resolving IP addresses to host names. I also show you a nice new feature, the logger method, which enables you to log to syslog-ng’s internal() log source instead of writing logs from Python to stdout. This way you can follow what your Python code does even if syslog-ng is running as a daemon in the background.
-
AnacondaCON 2019 Day 2 Recap: AI in Medicine, Cataloging the Contents of Stars, and More!
We’re back with a recap of Day 2 of our annual AnacondaCON. (In case you missed it, you can read our Day 1 recap here). Things started off on an exciting note with an Opening Keynote by Scott Collison, CEO of Anaconda, announcing the new PyCharm for Anaconda.
This new partnership will bring JetBrains’ Integrated Development Environment (IDE) and notebook capabilities into Anaconda Enterprise, empowering Python developers and data scientists with tight integration and optimized workflows.
-
Anaconda 2019.03 Release [Ed: Two falsehoods from Anaconda yesterday (in "Windows is the most popular operating system in the world"); 1) it is not popular, just widely used owing to Microsoft corruption. 2) Android is most widely used, or Linux.]
Windows is the most popular operating system in the world and consistently has 75% or more of the worldwide desktop market. According to the JetBrains Python Developers Survey, 49% of Python developers use Windows as their desktop operating system. Previous Windows releases of Anaconda Distribution included a command shell specifically for running conda and Python scripts. The 2019.03 release features full conda integration with Windows Powershell.
In addition to Powershell integration, this release addresses the issue of slow uninstalls of Anaconda on Windows. Working with shared libraries in Windows can be tricky and we’re working to resolve conflicts by setting an environmental variable to gracefully handle library conflicts commonly known as DLL Hell.
This release includes conda 4.6.11, an update from our initial release of conda 4.6.0. Features for the 4.6 release are detailed in this article. Since the release, we’ve been updating conda based on community input. Thank you and kudos to the Anaconda community for helping us continuously improve conda as a leading package manager.
-
The Power of Workflow Scripts
Nextcloud has the ability to define some conditions under which external scripts are executed. The app which makes this possible is called “Workflow Script”. I always knew that this powerful tool exists, yet I never really had a use case for it. This changed last week.
-
API v3 of the yaml package for Go is available
API v3 of the yaml package for Go is out, and it brings comment handling, intermediate node representations, and much more.
The initial sketch for v3 of the yaml package for Go was first drafted almost exactly a year ago, by the end of March last year (2018). If this package doesn’t sound familiar, it’s the underlying code that reads and writes configuration files for many of the popular Go packages that we benefit from, including snaps, Kubernetes, juju, and many others.
This time what finally broke the stability barrier was the desire of having an intermediate representation that allowed YAML to be understood and described in a structure closer to the text format. This unlocks a number of interesting features that were long time requests in the issue tracker, such as the ability to manipulate comments, surfacing line and column locations for data, better handling of style, encoding and decoding of anchors and aliases, and so on.
The package was born in late 2010, and its v2 API was stabilized by 2014, so between then and now there were about 4 years of small paper cuts to address in its behavior. But paper cuts are rarely a good motivation to introduce a breaking change that forces people to perform manual actions.
-
Python Bytes: #124 This is not the None you're looking for
-
First test with 3.7.3 and opencv-python module version 4.0.0 .
-
GNU Gets Gas'ed Up For Intel BFloat16 Support
While Cascade Lake Xeon Scalable processors launched just this week, already with their successor "Cooper Lake" we are looking forward to Intel supporting the BFloat16 floating-point format designed for machine learning workloads. GNU's Gas now has assembler/disassembler support for BF16 instructions.
With Intel always working for punctual support for new CPU instructions in the open-source toolchain, they landed on Friday support for BF16 into the Binutils code-base for Gas, the GNU Assembler.
-

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