Python Type Hints – *args and **kwargs (2021)
When I started writing type hints, I was a little confused about what to do with Python’s variable argument operators, * and ** (often called *args and **kwargs). Here’s what I figured out.
When I started writing type hints, I was a little confused about what to do with Python’s variable argument operators, * and ** (often called *args and **kwargs). Here’s what I figured out.
Hackweek 22 took place last week. During this week all the SUSE employees are free to hack on whatever they want. This one of the perks of working at SUSE 😎.
The original ANSI C standard, C89, introduced the concept of “undefined behavior,” which was used both to describe the effect of outright bugs like accessing memory in a freed object and also to capture the fact that existing implementations differed about handling certain aspects of the language, including use of…
Loris Cro's Blog
Web components can dramatically loosen the coupling of JavaScript frameworks. To prove it, we're going to do something kinda crazy: build an app where every single component is written in a different JavaScript framework.
In which I tell you that you're overcomplicating things and you should throw everything behind a single git repository.
It is no secret that I am not a fan of logs; I’ve baited (rapala in work lingo. Rapala is a Finnish brand of fishing lure, and used to mean baiting in this context) discussion in our work chat with things like: If you’re writing log statements, you’re doing it wrong. This is a pretty incendiary statement, and while…
Here's a quick tip on how to manage multiple Git identities (e.g. personal, work, client1, client2).
Why I joined my company's CI team to fix Jenkins, the two options we weighed, and what I learned about developer-productivity work.
Polly the Frog by ...
A fully commented disassembly of Video Chess
A discussion of the minimal version of Make included in 'The AWK Programming Language', as well as a Python port of the AWK program.
I was curious to explore how long a program takes to run, how much memory is used over time, and what processes/threads are spawned. To provide answers I wrote a tool, which I named st . Here are a few things I looked into.
Early in my research career, I had a chance to work with some of the best system researchers1 in the world on a number of really interesting system designs. One of the enjoyable aspects of research was the particular process used by researchers (particularly in the SOSP/OSDI community) to come up with novel yet…
The Internet is the first thing that humanity has built that humanity doesn’t understand, the largest experiment in anarchy that we have ever had.
Should you be scared of Unix signals?
Little things you'll notice and need to learn when learning Zig
There's more than one way to write an IP address: decimal, hex, octal, overflowed octets and omitted zeroes all resolve to the same host. A fun trick to mess …
Early stage technology decisions must be, uncomfortably, a means to an end.
Base64 is an elegant way to convert binary data to text, making it easy to store and transport. This article covers the basics of Base64 encoding, including what it is, how it works and why it's important. It also shows how to encode and decode Base64 data in various programming languages.
Here is a Go function, if_max(). It finds the max value of an array of integers. Simple enough:
We talk about programming like it is about writing code, but the code ends up being less important than the architecture, and the architecture ends up being less important than social issues.
People always talk about "P vs NP" like P problems are easy and NP problems are hard. This is a useful day-to-day model but also an oversimplification....
oppiliappan's μsings