Collecting my attempts to improve at tech, art, and life

2024-07-10

Tags: hackers-town look

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Activity Log

hackers.town: 2024-07-10 Wed 05:39

@nazokiyoubinbou yep and unsurprisingly autism is well-represented in my family history as well.

hackers.town: 2024-07-10 Wed 11:29

+332, -432

Well, I’d hoped for a more dramatic chop, but less code is less code. And I can make my way through it again, which is the important part.

hackers.town: 2024-07-10 Wed 12:24

“you can only experience one emotion at a time”

words said by someone who’s clearly never heard of ambivalence

hackers.town: 2024-07-10 Wed 13:27

Hm. Even though Hugo can build an entire site from a single JSON file these days, I see mounting evidence to suggest this is not something one would want to do.

(unless you really like Go templating)

hackers.town: 2024-07-10 Wed 16:29

@NatalyaD I’m very glad to learn about stuff like this.

My own family’s had their own uh journey of discovery as everybody willing to see a doctor has gotten an ADHD and / or autism diagnosis.

hackers.town: 2024-07-10 Wed 16:56

@NatalyaD Yep, similar. Along with the occasional born-again.

hackers.town: 2024-07-10 Wed 17:33

https://hackers.town/users/IamMrsGeek/statuses/112765029052312543

hackers.town: 2024-07-10 Wed 17:40

doing an awful lot of text processing in not-perl here

like some dang fool

hackers.town: 2024-07-10 Wed 17:42

@IamMrsGeek I enjoyed that movie.

Also how all the good guys went to one of those 80s action movie sharpshoorter classes.

One of the advanced ones.

hackers.town: 2024-07-10 Wed 18:39

It’s very nearly a browsable Web site with actual Web pages.

I think once I’m copying images over, a fresh pull+build (my Go code parsing Logseq notes and Hugo building the output, in a relay race) will probably take more than two seconds.

Alas.

A nicely formatted Web page about “Logseq’s Export Formats”

hackers.town: 2024-07-10 Wed 19:39

@genehack statistically inevitable, but not in the general crowd no.

Some have told me that once they got the hang of Go, its standard template library made a lot more sense.

Which I noted was not the same as saying they liked it.

hackers.town: 2024-07-10 Wed 19:44

@genehack I’ve gotten used to and even enjoy most everything else about Hugo, but dropping the multiple templating options they started with in favor of — that —

like

Here? This is where you want to draw the line about sticking with the standard library? Really?

hackers.town: 2024-07-10 Wed 20:44

@kroyio @genehack I mean honestly the only templating system I ever actually liked was HTML::Template. Everything since has felt excessive.

hackers.town: 2024-07-10 Wed 20:50

@kroyio @genehack BLOCKED AND REPORTED

But no for real I’m glad a lot of people that used Perl early in their career moved beyond that too.

hackers.town: 2024-07-10 Wed 20:51

@kroyio @genehack (because there’s a lot of great languages out there, and Perl was never the right fit for everyone. Still isn’t.)

hackers.town: 2024-07-10 Wed 21:09

@kroyio @genehack every programming language horrifies and delights me in its own special way.

hackers.town: 2024-07-10 Wed 22:33

Oh I don’t dare commit this. I made it work. I need sleep and then some coffee before I make it work correctly.

Incidentally

so just over 2s. I was correct after all.

(and in case you’re morbidly curious, Logseq takes ~5-10s to do its own built-in JSON export, which is why I wrote my own in Go)

detail of a Web page with an image, showing that I have successfully copied images from my notes and linked to them in the published version

hackers.town: 2024-07-10 Wed 22:34

@jamie ooh bookmarking that for a day when I’m doing a bit less resume-driven development.

hackers.town: 2024-07-10 Wed 22:53

I’m fairly confident I can make my export faster. It’s all clumsy newbie Go, and doing everything one at a time.

But honestly 1,000 pages per second is plenty fast for oh at least another thousand pages.