Meta and stuff

Whatever man, I don't know.

Telling Assistant to translate python code to Go

Yesterday was spent hacking on ChatGPT. I almost got it to convert pymarc to golang. The key is to strip down the source code to the bare bones so that it can fit into Assistants memory.

I tried python-minifier but that didn't really help, I think it made it worse by nearly obfuscating some code. If I can't read it, Assistant probably can't either. I think it just needs comments and docstrings stripped out. Assistant really also can only see things as one document, so if you got 10 files, it needs them merged to one, in an order than tells a story.

Chasing Markdown down a rabbit hole

A while ago I tried to create a markdown build script. Markdown is such a weird thing. It is English, so it needs spellcheck, grammar check. It is a templating language so it can benefit from linting. It also an input to a lot of CMS's that all did different things to handle Markdowns limitations.

Here is what I made:

I also had the pre-commit hook call the build script adn the build commit call pre-commit run and wondered why it took forever.

And cloudflare fought with me until I wrote this script to deploy it.

Running

Also ran on the treadmill. With November, December, and January being an endless collage of some sort of common code, I'm still not at 100% like I was in the autumn.

Kids went to swimming lessons yesterday, so not a lot of activies. I'm trying to catch up on that today.

Read and Comment »

Hacking on the first weekend of January 2023

Learning about Github Issues, Actions and writing a Markdown build script.

All I did all weekend was Github hacking. First I invested a lot of time learning about Github Issues and Projects. It is like Jira, but more limited. Will it convince me to stop using a TODO.md document? Maybe.

I also reviewed all my repos, deleted junk repos and forks I don't care about. I added all my repos to lists, e.g. "My Best Repos" so that I could find them. I noticed that Github allows pinning repos but not lists and not gists.

I started adding Github actions to all my repos that I care about and got passing builds on about half dozen.

I noticed many repos were text oriented, so I revived my idea of writing a build script for markdown + English. In other words, doing the things that word-processors do, spellcheck, format, grammar check, but doing so with the tools of software development.

I went the Reston library and got some books. Feels like old times.

Read and Comment »

Does it work?

Does it work

I guess it works.

Read and Comment »