home tags events about rss login

Things happen.

zev bonked 27 Nov 2023 16:50 -0800
original: ktemkin@chaos.social

i don't understand; i've used dozens of these so far and i'm not any closer to passing FCC??? help???

an advert for beads in the shape of ferrets

zev honked 27 Nov 2023 14:12 -0800

Hovering over a work Sharepoint email link...good thing those spaces are zero-width or they might have screwed something up!

Browser link-preview display showing "mailto: %u200B[redacted]@[redacted]%u200B%u200B%u200B"

zev honked 27 Nov 2023 04:16 -0800

From the curse of docker:

...and opinionated is often a nice way of saying "unsuitable for any configuration other than the developer's."

[nods emphatically]

zev honked back 26 Nov 2023 14:31 -0800
in reply to: https://honk.bewilderbeest.net/u/zev/h/9b2pzjj76Mf7f279B2

@mcc @megmac @swetland All the ones that translate it to "/tmp" above also do the same with ./. instead of . (not hugely surprising). It gets interesting with other ways of spelling the same thing though:

$ for s in bash zsh dash mksh 'busybox sh' tcsh rc; do echo $s; strace -qqq -e chdir -e signal=none $s -c 'cd ./foo/..'; done
bash
chdir("/tmp/./foo/..")                  = -1 ENOENT (No such file or directory)
chdir("./foo/..")                       = -1 ENOENT (No such file or directory)
bash: line 1: cd: ./foo/..: No such file or directory
zsh
chdir("/tmp/foo/..")                    = -1 ENOENT (No such file or directory)
chdir("./foo/..")                       = -1 ENOENT (No such file or directory)
zsh:cd:1: no such file or directory: ./foo/..
dash
chdir("/tmp")                           = 0
mksh
chdir("/tmp")                           = 0
busybox sh
chdir("/tmp")                           = 0
tcsh
chdir("./foo/..")                       = -1 ENOENT (No such file or directory)
chdir("./foo/..")                       = -1 ENOENT (No such file or directory)
./foo/..: No such file or directory.
rc
chdir("./foo/..")                       = -1 ENOENT (No such file or directory)
rc: ./foo/..: No such file or directory

bash & zsh handle it correctly IMO, whereas dash, mksh, and busybox get a bit overzealous and hallucinate the existence of a directory that isn't there (or isn't actually a directory -- the above is unchanged even after running touch foo, aside from s/ENOENT/ENOTDIR/).

zev honked back 26 Nov 2023 14:18 -0800
in reply to: https://chaos.social/users/swetland/statuses/111473334417944832

@swetland @mcc @megmac Yeah, as alluded to elsewhere in the thread, this is due to the shell doing "unexpected" things internally... cd . doesn't really translate to chdir(".") in most cases:

$ for s in bash zsh dash mksh 'busybox sh' tcsh rc; do echo $s; strace -qqq -e chdir -e signal=none $s -c 'cd .'; done
bash
chdir("/tmp")                           = 0
zsh
chdir("/tmp")                           = 0
dash
chdir("/tmp")                           = 0
mksh
chdir("/tmp")                           = 0
busybox sh
chdir("/tmp")                           = 0
tcsh
chdir(".")                              = 0
rc
chdir(".")                              = 0

So the "trick" in question here won't work if you're using rc or tcsh.

zev honked 10 Nov 2023 14:27 -0800

Firefox really throwing in the towel on providing anything remotely useful in its error messages.

The greyed-out-but-still-clickable "try again" button is a nice touch too.

firefox saying, literally, "Oops. [...] Firefox can't load this page for some reason."

zev honked back 05 Nov 2023 19:51 -0800
in reply to: https://ozlabs.house/users/shenki/statuses/111361469761110348

@shenki Not a lot of information available online that I can see, but from what I can glean from the dts and this page that's a quad 1.6GHz Cortex-A35 with 32K L1 I & D caches, a 512K L2, and probably multiple gigs of memory? Not too long ago those would've been pretty decent specs as a server all its own!

Maybe the host CPU will eventually become redundant and can be depopulated for cost savings...or perhaps the 2700 will need a 2500 or 2600 on the side to manage it in turn.

zev honked 05 Nov 2023 12:01 -0800

Front yard tree producing nice fall colors.

tree with red fall leaves

zev honked back 03 Nov 2023 05:16 -0700
in reply to: https://social.tchncs.de/users/arj/statuses/111345625380762381

@arj I've taken to keeping a file called CHECKLIST in my kernel git tree that I run through before taking the --dry-run off of git send-email. Granted, only about 10% of it is specific to the emailed-patches workflow, most of it's just generic "do docs or MAINTAINERS need updates?" and "spellcheck commit messages" kinds of things.

zev honked 26 Oct 2023 14:44 -0700

All-American business plan: half-price, half-height flag poles! Why pay for a top half you're never going to use anyway, right?

zev bonked 26 Oct 2023 11:22 -0700
original: juergen_hubert@thefolklore.cafe

Too many people take infrastructure for granted.

It's not even: "I don't use this, so why should I pay taxes for it?"

It's: "I am completely unaware of the tremendous, heroic efforts that are required on a day-to-day basis to keep civilization running, and me personally safe, healthy, and comfortable, and I refuse to educate myself on the subject - so why should I pay taxes for it?"

The machinery of civilization is becoming ever more complex, yet people are _still_ crying out for "simple solutions", as if there is such a thing anywhere outside of the fevered imaginations of populists.

zev honked 18 Oct 2023 23:16 -0700

Fun times with gdb and a Vec named buf:

(gdb): p buf.buf.ptr.pointer.pointer 
$16 = (*mut u8) 0x5555555c9ae0

If only I'd made the Vec a member named buffer of another struct also called buffer.

zev honked back 16 Oct 2023 14:16 -0700
in reply to: https://mastodon.social/users/cks/statuses/111246683658407826

@cks @dalias Yeah, I end up using shift-right-click often, but was hoping for something that would obviate the need for the modifier.

I see the opposite behavior though -- I've never seen shift-right-click do anything but bring up firefox's "real" native context menu as it should, but upon experimenting with dom.event.contextmenu.enabled=false right-clicking a link in Discord brings up both the firefox menu and Discord's obnoxious in-page one. Alas...

zev honked 08 Oct 2023 12:53 -0700

Ozomatli at the Nectar Lounge last night. Realized it's been 20 years since the first time I saw them live; still awesome.

Ozomatli on stage

zev honked back 28 Sep 2023 11:49 -0700
in reply to: https://honk.tedunangst.com/u/tedu/h/ndsqtD4KrVY24S9CH3

@tedu I haven't used one in any seriousness in some years now, though from the last time I did I recall some wistful sadness at the general feeling that macports was a dying project, losing out to (the IMO markedly inferior) homebrew.

From a skim of those comments it sounds like maybe macports has had some degree of resurgence though? So if in the future I am in fact ever compelled to use a mac again, perhaps at least macports will still be a viable option...

zev honked back 27 Sep 2023 14:13 -0700
in reply to: https://hachyderm.io/users/Obdurodon/statuses/111138752360568068

@Obdurodon The slope of the computer-improvement line has really leveled off -- I'm typing this on a computer that's 10 years old, and in 2023 that's basically fine, and aside from some relatively minor performance differences not really noticeably "old". Running a 10-year-old computer in even, say, 2005 would have been laughable.

zev honked 19 Sep 2023 09:38 -0700

30% acetic acid is certainly an effective way of learning exactly where all the tiny little cuts and scrapes you didn't know you had on your hands are.

zev honked back 19 Sep 2023 00:24 -0700
in reply to: https://hachyderm.io/users/stephen0x2dfox/statuses/111088814579464702

@stephen0x2dfox Proprietary BMC firmware (especially from a particular three-lettered vendor, it seems) has been and likely will remain for as long as people care to poke at it a wellspring of easily-exploited vulnerabilities, yes.

Open-source alternatives are, I'd hazard an educated guess, likely to be substantially better in that regard, however. I'm hedging a bit here of course because there's still lots of non-memory-safe code involved (though some of us are working on getting Rust integrated), but (a) while there are still likely to be remotely-triggerable bugs, I'd guess they're probably somewhat less numerous/egregious, and (b) enabling some basic protections like ASLR and a non-executable stack at least raise the difficulty level of writing exploits a bit.

zev honked 01 Sep 2023 03:26 -0700

Unexpected factors in multimeter probe purchasing decisions: fearlessness.

Multimeter probe kit proudly labeled "silicone line not afraid coldness"