Programming Leftovers
-
I was wrong, 80 characters is fine
If there should be 66 non-white space characters per line, then a line should be 66 * (average word length + 1) / (average word length) characters long to hold 66 non-white space characters, on average, if it’s displaying a run of words. In English, the average word length is about five. That gives us 79.2 characters per line.
-
How does Swift decode "weird" JSON numbers?
Swift has several number types like UInt64 and Double. Like most languages, these types can’t represent every possible number. For example, Int16 can only represent numbers between -32768 and 32767.
The JSON specification has no such restriction. Numbers like 9999999999999999999999999999999999999999 or 0.00000000000000000000000000000000000001 are completely valid.
-
“Out of the Software Crisis”: Making Software
Hence the idea of pivoting — and acquisitions. It’s about getting a team of people working in a system that can generate something of value, regardless of what the thing actually is. What is acquired (or acui-hired) is primarily the system of people working together and their capabilities, and only secondarily the (by)product of their work.
-
CRAN Download counts
I really like developing software and making my own life and work easier with it. But what I enjoy even more is to see others actually use it! So every now and then I look at CRAN download counts of my R packages. I’m not in any top-10 rankings or anything. But that was also never the point. I just like sharing my knowledge and see others use it!
-
Visualizing the CPython Release Process
Last week I met with the CPython Developer-in-Residence and Release Manager Łukasz Langa to discuss the release process for CPython (detailed in PEP 101). Everything I learned I've documented below and will be proposing enhancements like introducing additional hardening for the release process and capturing Software Bill of Materials for the build process and the final built artifacts.
-
Quarkus extensions give Java dependencies superpowers
Quarkus extensions are one of Quarkus' best hidden-in-plain-sight features. Read on to learn how Quarkus extensions give Java superpowers and how you can get started with them.
What are Quarkus extensions?
Quarkus extensions are essentially adapter layers for Java-based libraries or technologies that enhance your application.
However, the scope of Quarkus extensions goes well beyond "just" importing dependent libraries. They can significantly increase the application's performance, help developers be more productive while developing their applications, integrate complex dependencies much easier, and simplify the application's source code.
Examples of Quarkus extensions include the Java Database Connectivity (JDBC) libraries, OpenAPI generators, Kubernetes manifest generators, and Apache Camel components. But there are many, many more.
Quarkus extensions enhance app performance
-
This Week In Rust: This Week in Rust 511
Hello and welcome to another issue of This Week in Rust!