home tags events about rss login

Things happen.

zev bonked 22 Jan 2023 18:11 -0800
original: thedextriarchy@mastodon.social

It’s very funny to me that the dominant Twentieth Century conception of AI was a slightly awkward nerd with an inhuman mastery of facts and logic, when what we actually got is smooth-talking bullshit artists who can’t do eighth-grade math.

zev bonked 22 Jan 2023 01:51 -0800
original: SwiftOnSecurity@infosec.exchange

History in pics: Testing prototype Roomba's in 1982. It would take two decades until they could be made small enough to clean under a couch.

A cray supercomputer roomba with signature bumper

zev bonked 20 Jan 2023 22:52 -0800
original: rysiek@mstdn.social

Normalize using the word "Safe" as the opposite of "Smart" in the context ot #IoT / home appliances.

"I got myself a nice new Safe TV." 👍


zev honked 19 Jan 2023 00:50 -0800

Some say emailed patches are a relic of the past and projects need to modernize, PRs on web-based forges or bust.

But true modernity, true enlightenment...can only be reached one way: patches via honk.

zev honked back 18 Jan 2023 19:25 -0800
in reply to: https://honk.tedunangst.com/u/tedu/h/J3PK33W5lh6sv2bCP2

@tedu something like this maybe?

diff --git a/mz/mz_test.go b/mz/mz_test.go
index a2259ab60891..17f431fb802a 100644
--- a/mz/mz_test.go
+++ b/mz/mz_test.go
@@ -5,14 +5,18 @@ import (
-func doonezerotest(t *testing.T, input, output string) {
-	var marker Marker
+func doonezerotestwithmarker(t *testing.T, marker *Marker, input, output string) {
 	result := marker.Mark(input)
 	if result != output {
 	t.Errorf("\nexpected:\n%s\noutput:\n%s", output, result)
+func doonezerotest(t *testing.T, input, output string) {
+	var marker Marker
+	doonezerotestwithmarker(t, &marker, input, output)
 func TestBasictest(t *testing.T) {
 	input := `link to https://example.com/ with **bold** text`
 	output := `link to <a href="https://example.com/">https://example.com/</a> with <b>bold</b> text`
@@ -121,6 +125,16 @@ func TestImagelink(t *testing.T) {
 	doonezerotest(t, input, output)
+func TestMentions(t *testing.T) {
+	input := "@foo@example.com @bar@example.org @baz@example.net are pals but @notamention isn't"
+	output := "foo@example.com bar@example.org baz@example.net are pals but @notamention isn't"
+	var marker Marker
+	marker.AtLinker = func(text string) string {
+	return text[1:]
+	}
+	doonezerotestwithmarker(t, &marker, input, output)
 func TestLists(t *testing.T) {
 	input := `hello
 + a list

(Probably still whitespace-damaged...but one bug at a time.)

Fails without the prior regex patch; passes with it applied.

zev honked back 17 Jan 2023 15:38 -0800
in reply to: https://honk.bewilderbeest.net/u/zev/h/P2s71W94hqd93fSC7V

@tedu Having now learned how to copy/paste/modify a go mod edit -replace invocation, I can report that the following seems to work, at least in some cursory testing:

diff --git a/mz/mz.go b/mz/mz.go
index 90ce6ba39293..107d5cf82242 100644
--- a/mz/mz.go
+++ b/mz/mz.go
@@ -37,7 +37,7 @@ var re_lister = regexp.MustCompile(`((^|\n)(\+|-).*)+\n?`)
 var re_tabler = regexp.MustCompile(`((^|\n)\|.*)+\n?`)
 var re_header = regexp.MustCompile(`(^|\n)(#+) (.*)\n?`)
 var re_hashes = regexp.MustCompile(`(?:^| |>)#[\pL\pN]*[\pL][\pL\pN_-]*`)
-var re_mentions = regexp.MustCompile(`(^|[ \n])@[[:alnum:]._-]+@[[:alnum:].-]*[[:alnum:]]([ \n.]|$)`)
+var re_mentions = regexp.MustCompile(`(^|[ \n])@[[:alnum:]._-]+@[[:alnum:].-]*[[:alnum:]]\b`)
 var lighter = synlight.New(synlight.Options{Format: synlight.HTML})

zev honked back 15 Jan 2023 16:11 -0800
in reply to: https://honk.tedunangst.com/u/tedu/h/4J3y3T4J71Dx9721v3

@tedu That seems consistent with what I've seen -- when given three or more consecutively it appears to alternate between matching and non-matching I think. I don't know the go tooling well enough offhand to have figured out how to actually test this (given it being in a dependency rather than the honk codebase itself), but any chance something like the following in webs would do the trick?

diff --git a/mz/mz.go b/mz/mz.go
index 90ce6ba39293..72caa2fb8e43 100644
--- a/mz/mz.go
+++ b/mz/mz.go
@@ -37,7 +37,7 @@ var re_lister = regexp.MustCompile(`((^|\n)(\+|-).*)+\n?`)
 var re_tabler = regexp.MustCompile(`((^|\n)\|.*)+\n?`)
 var re_header = regexp.MustCompile(`(^|\n)(#+) (.*)\n?`)
 var re_hashes = regexp.MustCompile(`(?:^| |>)#[\pL\pN]*[\pL][\pL\pN_-]*`)
-var re_mentions = regexp.MustCompile(`(^|[ \n])@[[:alnum:]._-]+@[[:alnum:].-]*[[:alnum:]]([ \n.]|$)`)
+var re_mentions = regexp.MustCompile(`\b@[[:alnum:]._-]+@[[:alnum:].-]*[[:alnum:]]\b`)
 var lighter = synlight.New(synlight.Options{Format: synlight.HTML})

zev honked 02 Jan 2023 22:52 -0800

Bowie, besnoozed.

dog asleep with tongue sticking out

zev honked back 26 Dec 2022 11:24 -0800
in reply to: https://social.tchncs.de/users/arj/statuses/109579639749807572

@arj Hmm, hadn't heard that previously (though apparently it was announced in April?)...I had of course been expecting some more mundanely off-putting specific technical decision (e.g. more ads-in-motd or the like). Red Hat AFAIK managed to refrain from suchlike even after going public, but if Canonical was already engaged in that...who knows where they might end up?

zev bonked 14 Dec 2022 16:14 -0800
original: mjk@hachyderm.io

For your entertainment, I present:

Every Way that Google Meet Transcribed "I²C" in a Recent Video Call

I squared C
iceberg seed
I squirt, C
I scored sea
Iceberg, Sea
ice script C
expert. C
Iceberg C
ice grid C
I scored C
ice, courtesy
I scored see
Ice Court C
ice. Query city
I swear it's c
i squirt seat

zev honked 12 Dec 2022 15:56 -0800

Reports from the front, Maui edition.

Screenshot of a text message reading "There's a couple sitting next to me discussing what they'd like their last meal to be, if they ever had to choose. Dude genuinely can't decide between his mother's chicken and Panda Express"

zev honked back 30 Nov 2022 02:02 -0800
in reply to: https://aus.social/users/jk/statuses/109431905119042157

@jk I have enough trouble typing "i2c" as it is...you mean I have to reach all the way up to the numeric keys? And remember not to keep holding shift when uppercasing it?

My typing accuracy is on the whole not great, but those three characters trip me up probably 50% of the times I attempt them.

zev honked back 25 Nov 2022 16:06 -0800
in reply to: https://federate.social/users/mattblaze/statuses/109406919947945576

@mattblaze @sehe I dunno, honestly even in the ML sense I still bristle at the use of "AI" to describe anything that currently exists (or believably could in the foreseeable future). It's not just that it's not general, but even in the fairly limited scopes of the problem domains it's applied to, the failure modes it exhibits do not give the impression that what's going on under the covers has any relation to the workings of "real" intelligence.

It's certainly a pretty lost cause at this point, but I think I'll probably continue to stubbornly employ air-quotes any time I (grudgingly) use the term myself.

zev honked back 24 Nov 2022 02:35 -0800
in reply to: https://honk.bewilderbeest.net/u/zev/h/34B532R7mKCY7b14Pt

@w8emv Oh, and I guess you'll probably also need to hit the re-sub button on all your honkers, and maybe unsub them from the old domain first before changing it as a small courtesy to other servers? (If my vague understanding of ActivityPub is right, which it may well not be.)

zev honked back 24 Nov 2022 02:32 -0800
in reply to: https://pinateck.dunker-pentatonic.ts.net/u/w8emv/h/1c974blQs1F1wtGY77

@w8emv Sounds like the NXDOMAIN thing would apply regardless of which approach is taken? And if that's a concern, any chance of leaving a CNAME in place to point to the new one?

As for data transfer, I don't know if there's anything in the backup/restore machinery that would handle a domain change; at a guess I might try a relatively brute-force approach like

$ sqlite3 old-honk.db .dump | sed 's/olddomain/newdomain/g' | sqlite3 new-honk.db

but I dunno offhand if there might be any hashes or the like floating around somewhere that that might screw up (I'd guess probably not, but I'm not that intimately familiar with it). I suppose that would also have the effect of rewriting history by changing any references to it in honk body text...but history is written by the winners, right?

@tedu@honk.tedunangst.com, any sage wisdom to impart?

zev bonked 22 Nov 2022 15:59 -0800
original: InBabel@social.coop

Watching George Takei go from “We’ll try this mastodon thingie and see if its any good” to “We need to liberate our minds from shackles of billionaire oligarchopathy.” in one week flat, has been an absolute joy.

zev honked back 22 Nov 2022 00:05 -0800
in reply to: https://chaos.social/users/swetland/statuses/109384929288857200

@swetland @sindastra I think it has basically four glaring problems -- the two you've mentioned (trailing commas being disallowed and the all-numbers-are-floats javascript dain-bramage), plus the lack of comments (since of course people are going to use it for config files and such), and the missing support for 0x...-style hex notation. The numeric-types problem is the only one that's non-trivial, but with a modicum more thought at the outset it could have been a decent data format -- but of course it's obviously far too late now, sigh...

zev bonked 20 Nov 2022 21:03 -0800
original: eliza@xantronix.social

i reject the western chauvinist circadian imperialism of “good morning”. mornings are not good, mornings are violence.

zev honked back 20 Nov 2022 20:56 -0800
in reply to: https://hachyderm.io/users/briandorsey/statuses/109379821319374059

@briandorsey Maybe a little "boring", but I'll add another vote for bash, and also note that it has a lot more going for it interactively than I think most people realize. For example, I'd bet 99% of bash users don't know about C-]/C-M-] -- things like that can let you zip around command lines at a shell prompt very efficiently. (man bash is long, but the section on readline and its various built-in keybindings is worth a read.)

zev honked back 20 Nov 2022 20:09 -0800
in reply to: https://social.afront.org/users/kwf/statuses/109379604808910675

@kwf To be fair, most BMCs use a similar "pretend to be a USB device" scheme to provide the iKVM keyboard/mouse functionality (and of course the remote-media virtual CD-ROM).

What might be a lot more horrifying is what it requires (or doesn't) to put itself into that mode -- on a Dell, I'm going to go out on a limb and guess it was basically nothing beyond being root on the host? (i.e. no BMC password required?)

(Also, 308MB seems pretty bonkers, but I guess that's just the way of the world...)

zev honked 18 Nov 2022 16:58 -0800

One of these things is not like the others...

Someone has been doing this in the Seattle craigslist "tools" section for a while, and it never fails to give me a chuckle.

screenshot of nine craigslist "tools" ad thumbnails, eight of which show real tools and one of which shows soft plush kids toy tools

zev honked 18 Nov 2022 13:28 -0800

Bowie has, somehow, determined that this is the comfortable way to lie on his bed.

dog lying over the firm edge of his ~8"-tall bed, awkwardly draped with head hanging down

zev honked back 17 Nov 2022 19:45 -0800
in reply to: https://social.tchncs.de/users/arj/statuses/109362676133083296

@arj On a lark I requested an archive download of my (long-dormant, never really used, microscopic quantity of data) Twitter account a week or so ago; at that point it took about 24 hours to receive the email that it was ready, FWIW. Now, however...yeah, who knows.

Also note (as you may already be aware) that the archive still refers to external resources on twitter's servers, so if you actually want all the data locally you have to run a script over it to really download everything. (Which itself seems like a pretty gross failure on their part, but that's another can of worms...)

zev honked 17 Nov 2022 15:31 -0800

@tedu, a #honkbug: parenthesized markdown links seem to get their close-parens greedily parsed as part of the URL.


Source written like so:


zev honked back 14 Nov 2022 16:00 -0800
in reply to: https://social.afront.org/users/kwf/statuses/109344443602092228

@kwf But with just a little bit more work we could eliminate all other software entirely and achieve the transcendent ideal! The entire industry has been laboring for decades toward this moment, culminating in a final cut of the umbilical cord to release us into a pure world of package managers, untainted by any foreign contaminants.

zev bonked 13 Nov 2022 19:57 -0800
original: thewritertype@mastodonapp.uk

Nobody gazes long into the abyss any more. They take a photo of the abyss on their phone, intending to gaze into it later, but they never do. Nietzsche would be so disappointed.