@mxshift Also wait, I seem to recall you mentioning an older Audi previously -- whence the switch? (Or am I misremembering...)
@mxshift Any fun decorations planned?
@cks @wingo Very tempted to implement this and then combine with https://github.com/zevweiss/bashc to see how many language roundtrips a simple program can make and still work.
@rk Step 1: #define CHAR_BIT 32768
@arj @wyldtom [raises glass] There's no staying power like that of a gross, ad-hoc hack.
@rk @mathew @mcc @darius I think that might just scale up the playback speed by about 6%...I await the "C♯ is faster than C!" blog posts.
@mxshift The amount of murder that can be gotten away with in software is one of the most depressing aspects of computing as a whole.
@mxshift
$ head -n6 src/sources/avstream/capture.c
////////////////////////////////////////////////////////////////////////////////
// CONFIDENTIAL and PROPRIETARY software of Magewell Electronics Co., Ltd.
// Copyright (c) 2011-2024 Magewell Electronics Co., Ltd. (Nanjing)
// All rights reserved.
// This copyright notice MUST be reproduced on all authorized copies.
////////////////////////////////////////////////////////////////////////////////
$ tail -n3 src/sources/avstream/capture.c | head -n1
MODULE_LICENSE("GPL");
Nice.
The vendored PNG library, in-kernel file access, misunderstanding of the linux/list.h API, and passing kernel pointers to and from userspace are all very confidence-inspiring too.
@th @dashdsrdash @gvwilson I had the exact same thought, and figured this one could do with the graphical treatment as well.
@rk Likewise for right-clicking.
And scrolling.
And text selection & copy/paste.
(Okay, maybe github specifically isn't guilty of doing all of these, but I really think browsers should have a stricter, more aggressive demarcation of what is native browser UI that will be consistent no matter what jervascrapt fuckery is going on.)
@tedu, a #honkpatch for honk backup
to handle non-default -datadir
locations (existing code appears to be hardwired for "."
AFAICT) -- I'm not sure if it's necessarily 100% correct in all cases, but maybe mostly so?
Attachment: honk-backup-attachmentpath.patch honk patch to handle -datadir in svalbard() (1611)
@cliffle @kbob
(...omg I should try to modulate the data _onto the fans_)
I came very close to implementing that at my last job: https://honk.bewilderbeest.net/u/zev/h/HW2GcrgzthGts7DXR8
I wish more people on the internet were dogs.
@jzb "If it bleeds, it leads" applied to niche nerd news.
Breaking out the old hits in solidarity with Texas.
@regehr
No system has bit addressing
Sounds like someone's never programmed an 8051.
@kevinrothrock It's probably these same teens from 2014 now of drinking age: https://theonion.com/teens-migrating-from-facebook-to-comments-section-of-sl-1819595619/
$50 craigslist rotohammer getting toasty, but definitely sped up the brick-removal process as compared to the manual minisledge-and-chisel.
@arj @acsawdey Hmm, actually on further investigation it looks like that actually sorts via gnulib's filevercmp, which apparently has some additional smarts to make it slightly more DWIM-y. So, perhaps subtly different, but similar in spirit.
Moodlit dog.
@acsawdey @arj Yep, -v
:
$ ls -l
total 0
-rw------- 1 zev zev 0 Aug 4 01:58 10
-rw------- 1 zev zev 0 Aug 4 01:58 9
$ ls -lv
total 0
-rw------- 1 zev zev 0 Aug 4 01:58 9
-rw------- 1 zev zev 0 Aug 4 01:58 10
@corbet @lwn LWN is indeed an absolute gem; and while all the other topics the site covers are generally quite well done too, I would point to your kernel articles in particular as an exemplary job of combining both technical depth and remarkable accessibility despite the nature of the material (and yes, likewise something my own career has also benefited enormously from).
Bravo, and I will remain doggedly subscribed even as the scraper bots and LLM slop are busily trying to suffocate the last bits of useful life on the web.
@rk @RikerGoogling Little do we realize it, but as we enter commands at our shell prompts, we are also in the background composing...the greatest shell script in history.
@arj crates.io links at the end of the post look a bit broken, just FYI.
It still happens; I still love it.
@benjojo Well, it does appear that they had the foresight to allow multiple (up to 255?) content tags, so you can encode things like "adult (general) + gardening + team sports (excluding football)" and cover a decently broad array of niches.
@mxey @brauner @monsieuricon Someone by the same name used to pester comp.arch (and probably other newsgroups) with reams of similar blather; looks like the demise of usenet has forced them to find a new outlet, though now sadly they have much more powerful tools at their disposal for generating voluminous drivel.
@rk @gerrymcgovern
We put a chip in it!
It was a dumb thing. Then we put a chip in it. Now it's a smart thing.
https://weputachipinit.tumblr.com/
@arj @nixCraft leftpad.sh
@jzb Yes, though pretty much exclusively only when seeing ligatures (or worse, but much more rarely, variable width fonts). Absolute madness. Otherwise...meh.
...but only if separated by a space! Commas don't get the same treatment.
$ ps -fp $$,$PPID
UID PID PPID C STIME TTY TIME CMD
zev 3199 1638 1 19:21 pts/41 00:00:00 -bash
zev 1638 1 0 Jun29 tty1 00:13:52 urxvtd -q -f -o
@GeoffWozniak My particular condolences if you happen to be at the intersection of the two (i.e. gdb's remote protocol). That protocol...would probably need to be published on April 1 if it were ever written up as an RFC.
@swetland @drj I'm an aficionado of neither fonts nor typewriters, but I found TT2020 to be an interesting one: https://copypaste.wtf/TT2020/
(I used it for the signage at my wedding.)
@tedu whaddya suppose the odds are this ultimately boils down to php's famously robust, meticulous data type coercions?
It seems like tar
is the usual go-to case of weird, inconsistent, hard-to-remember command-line flags, but I think ps
is far more bizarre and unpredictable.
While there are plenty of other examples of its weirdness, the one I've just tripped over is this:
$ ps -fp $$
UID PID PPID C STIME TTY TIME CMD
zev 10079 1638 0 11:04 pts/29 00:00:00 -bash
$ ps -fp $$ $PPID
UID PID PPID C STIME TTY STAT TIME CMD
zev 1638 1 0 Jun29 tty1 S 7:49 urxvtd -q -f -o
zev 10079 1638 0 11:04 pts/29 Ss 0:00 -bash
Why on earth does adding a second PID change the output format?
Where once there was a stovepipe, now there is a hole.
And miraculously, I managed to do it without dropping any tools into the attic (though there was a close call or two), and ended up with only a very mild case of fiberglass itch!
@arj @fay59 On a similar note, man operator
provides a convenient listing of C operator precedence & associativity. Section 7 is a gold mine of odds and ends.
@rk @cks ext4 on Linux still does!
$ man mke2fs
...
-m reserved-blocks-percentage
Specify the percentage of the file system blocks reserved for
the super-user. This avoids fragmentation, and allows root-
owned daemons, such as syslogd(8), to continue to function
correctly after non-privileged processes are prevented from
writing to the file system. The default percentage is 5%.
@arj Hah -- what project is that from? (And I'm assuming it is in fact accurate and not an artifact of github language misidentification.)
@benjojo Fun that it's almost always length-preserving (single bit flips in most of the cases shown), but occasionally (e.g. beljjo
) drops a whole byte...wonder what's going on there?