Programming Leftovers
-
Andy Wingo: missing the point of webassembly
I find most descriptions of WebAssembly to be uninspiring: if you start with a phrase like “assembly-like language” or a “virtual machine”, we have already lost the plot. That’s not to say that these descriptions are incorrect, but it’s like explaining what a dog is by starting with its circulatory system. You’re not wrong, but you should probably lead with the bark.
-
Adam Young: Print the line after a match using AWK
We have an internal system for allocating hardware to developers on a short term basis. While the software does have a web Hey Hi (AI) it is not enabled by default, nor in our deployment. Thus, we end up caching a local copy of the data about the machine. The machine names are a glom of architecture, and location. So I make a file with the name of the machine, and a symlink to the one I am currently using.
-
Mike Blumenkrantz: First Bug Down
It’s been a slow start to the year, by which I mean I’ve been buried under an absolute deluge of all the things you can imagine and then also a blizzard. The literal kind, not the kind that used to make great games.
Anyway, it’s not all fun and specs in my capacity as CEO of OpenGL. Sometimes I gotta do Real Work. The number one source of Real Work, as always, is
my old codethe mesa bug tracker.Unfortunately, the thing is completely overloaded with NVIDIA bugs right now, so it was slim pickins.
-
Hackaday ☛ Putting The C In C64
Older CPUs and some fairly modern microcontrollers are not made to readily support C compilers. Among those are the 1802, some 8-bit PICs, and the 6502 at the heart of the Commodore 64. That’s not to say you can’t make a C compiler for any of them, but the tricks required to handle the odd word sizes, lack of stack manipulation, or whatever other reason C isn’t a good fit tends to make compiled code bloated and possibly slower. [Dr. Mortal Wombat] took a different approach. The oscar64 compiler takes C source code and compiles it to a virtual machine code or native machine code for cases where performance might be important.
-
Medevel ☛ Add Watermark to images with batch support using Python
This open-source free Python script enables you to add a watermark or logo to images recursively in a specified directory and its subdirectories.
The script requires Python installed and the Pillow library: [...]
-
R
-
Rlang ☛ Conquering Daily Data: How to Aggregate to Months and Years Like a Pro in R
Taming the beast of daily data can be daunting. While it captures every detail, sometimes you need a bird’s-eye view. Enter aggregation, your secret weapon for transforming daily data into monthly and yearly insights.
-
Rlang ☛ Financial Assistance is Available for Your R User Group in 2024!
The R Consortium is excited to open the doors to the 2024 RUGS Program, starting January 8th, 2024!
-
Rlang ☛ One billion row challenge using base R
One of my new years resolutions is to blog a bit more on the random shenanigans I do with R.
-