news
Programming Leftovers
-
Vikash Patel ☛ Hash & HMAC Generator
In a Certificate Authority (CA) environment, cryptographic hashes are the structural foundation of trust. Every X.509 certificate issued across the WebPKI binds a Subject distinguished name to a public key through a digital signature computed over a cryptographic digest (SHA256withRSA, SHA256withECDSA, SHA384withECDSA).
Hashes in PKI operations serve three distinct roles: [...]
-
Vikash Patel ☛ Unix Epoch & Timestamp Converter
A quick reference for getting the current Unix timestamp and parsing an epoch integer (1800000000) into a human-readable date across common environments: [...]
-
Vikash Patel ☛ JSON to YAML & TOML Converter
Engineering workflows routinely require transforming configuration structures across formats. Kubernetes controllers and Helm charts expect YAML, web service APIs consume JSON, and Cargo or pyproject files rely on TOML.
This converter runs Go’s standard ecosystem parsers (encoding/json, gopkg.in/yaml.v3, and github.com/pelletier/go-toml/v2) directly in the browser via WebAssembly to ensure identical syntax compatibility with backend tooling.
-
Nat Bennett ☛ Process Doesn't Matter
But as levers for improving a team and the work the team is doing, I think process changes themselves are pretty weak. They're mostly downstream of more important factors, like:
Who is on the team? What are their incentives?
-
Daphne Preston-Kendal ☛ crumbles.blog: FAQ: Why isn’t mutable a subtype of immutable, or vice versa?
Periodically, in various programming language forums, the discussion comes up of why a certain language doesn’t provide the immutable and mutable variants of some data structure as subtypes or supertypes of one another. Now, it’s not impossible to do this, but it’s actually not formally correct to do so, and by doing so you’ll lose at least some of the type checking guarantees your language can usually make for you.
-
Kentaro Hayashi: Building Mozc with dh-bazel, buildsystem support for debhelper
After bazel-bootstrap 7.7.1 was landed into Debian unstable, I'm working on packaging newer Mozc (Most famous Japanese input method editor) with Bazel.
-
The Register UK ☛ Swift 6.4 unifies building across Linux, macOS, Windows
-
Python
-
Eric Matthes ☛ Teaching models vs real-world models
I have a project I'm really excited about, and building it out past the proof-of-concept phase has me thinking about the difference between the code examples we tend to teach from, and the examples we end up using in real-world projects. The real-world versions tend to be much more complex, and reflect a lot of interesting aspects of a project.
I'm building a chess practice app; there are many great tools already available, but the one I'd like to use doesn't exist as far as I'm aware. In this post, we'll look at how a chess position was modeled in the earliest version of this project, what that model looks like currently, and what it might look like in the production version of the project.
-
-
Shell/Bash/Zsh/Ksh
-
It's FOSS ☛ Zsh Quiz: How Well Do You Know Your Shell?
Think you've mastered zsh? Test your knowledge with this quiz.
-