I've been playing with i2c on #FreeBSD and did a writeup of the basics https://blog.tyk.nu/blog/freebsd-and-i2c/
Next step is getting #FreeBSD support in the smbus2 Python library https://github.com/kplindegaard/smbus2/issues/66 which in turn will open the door for #FreeBSD support in Qwiic_Py_i2c https://github.com/sparkfun/Qwiic_I2C_Py/issues/2
An app written in C without any dependencies is streaming pixels back to drawterm using 9p.
Imagine hosting these tiny applications online, and using drawterms to connect and use them. This is the true web app.
The applications themselves won't include any rendering libraries like SDL, but stream responses to libdraw queries.
I thought I found a bug in the cal(1) command, in how it numbered weeks. Today "cal -w" shows week 5, where my other (work) calendar shows week 4.
Turns out it's not a bug, but it's much worse.
In the US "Jan 1 is always First week", so a week is actually assigned two numbers, depending on the year. In ISO-8601, a week only has one number (so Jan 1 2021 was week 53).
See "cal -wm"
https://github.com/karelzak/util-linux/blob/master/misc-utils/cal.c#L1121-L1123
"Communist society"; in the sense of a society organized exclusively on that single principle -- could never exist. But all social systems, even economic systems like capitalism, have always been built on top of a bedrock of actually-existing communism.
-- David Graeber
“But the 8-hour workday is too profitable for big business, not because of the amount of work people get done in eight hours (the average office worker gets less than three hours of actual work done in 8 hours) but because it makes for such a purchase-happy public. Keeping free time scarce means people pay a lot more for convenience, gratification, and any other relief they can buy. It keeps them watching television, and its commercials. It keeps them unambitious outside of work. We’ve been led into a culture that has been engineered to leave us tired, hungry for indulgence, willing to pay a lot for convenience and entertainment, and most importantly, vaguely dissatisfied with our lives so that we continue wanting things we don’t have. We buy so much because it always seems like something is still missing.”
— Your Lifestyle Has Already Been Designed https://www.raptitude.com/2010/07/your-lifestyle-has-already-been-designed/
new article on #lowtech magazine that I'm sure will resonate with a lot of folks here:
'How and why I stopped buying new laptops'
https://solar.lowtechmagazine.com/2020/12/how-and-why-i-stopped-buying-new-laptops.html
Also, shoutout to one of the greater stackoverflow replies...
There's a #define line between undefined behavior and A̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜
Shoutout to an awesome site:
The proprietor, producing neither by his own labor nor by his implement, and receiving products in exchange for nothing, is either a parasite or a thief.
-- Pierre-Joseph Proudhon
"Yes, sure Pension Company, please let me fill and submit in my health details via a PDF that _only_ works in Acrobat f#*!ing Reader. It's only a program that has a loooong history of security problems, but I'm sure there's no problem when handling potentially sensitive health data."
If you can't tell, I'm pretty pissed off now...
What. The. Fuck.
Consumer debt is the lifeblood of our economy. All modern nation states are built on deficit spending. Debt has come to be the central issue of international politics. But nobody seems to know exactly what it is, or how to think about it.
-- David Graeber
IETF RFCs are generally approachable reading.
The RFC for PNG even has sample CRC code.
Consistently mediocre at many things.
Linux and Gentoo enthusiast Climbing (bouldering) when I can.