home tags events about login

zev rss

Hoo boy...what have I gotten myself into?

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.)