46,997 karma · joined Jan 31, 2009 (17y ago) · 18,934 submissions
https://hokstadconsulting.com
Engineering management/leadership; AI; devops; software development, architecture; Ruby, C, JavaScript, C++, PHP, Java, Go, Python (roughly in descending order of commercial experience)
E-mail: vidar@hokstad.com (job opportunities, contracts, and questions about my comments or projects are all good, but please be to the point and I can be slow to reply to unsolicited e-mail)
Mastodon: @vidar@galaxybound.com / https://m.galaxybound.com/@vidar
LinkedIn: https://www.linkedin.com/in/vhokstad/
Personal site: http://www.hokstad.com and http://www.hokstad.com/blog
My (not regularly updated) Ruby compiler project: http://www.hokstad.com/compiler
Github: https://github.com/vidarh
One of my favourite recent projects is this ~500 line TrueType font renderer in Ruby: https://github.com/vidarh/skrift
Site for my science fiction book series: https://galaxybound.com
comment 1d ago · link · parent
If I handed you the source code for a working program that demonstrably produced the result I claimed it to, and someone else handed you a spec for how to write such a program, one would need to be read end to end, and the other would merely need to be run.
comment 4d ago · link · parent
If I could justify enough tokens, I'd point an agent at my harddrive and tell it to formalise all of my old notes and goals, and spin up agents to build all of the things I've made notes about that I would like to exist. It'd still likely take years...
I just kicked off Kimi building a game based on a concept I had kicking around. I wouldn't have time to build the game or even write the spec, but I had time to type "write a game based on [paste of the concept]" to see what falls out of it.
I can't imagine ever running out of things I want, because every thing I finish tends to result in my todo list growing with new things.
comment 5d ago · link · parent
comment 5d ago · link · parent
I have one recent use case now where using Claude to review it, it first wanted to use Fable, got all excited about possible savings from lower defect rates, had to backtrack and admit that Fable provided no benefit whatsoever to justify the extra cost over Opus after it ran evals (in fact, arguably the quality was worse, but that part was a subjective measurement).
There's a mounting number of tasks like this where the value is going to be falling costs whether by switching providers, or moving down their model ladder as the one below gets good enough.
Given Opus 5.5 is now good enough for the task in my example, it means we have every incentive to start evaluating cheaper models now and again, instead of waiting eagerly for new, smarter models.
comment 1w ago · link · parent
I wish I still had the code for it - because it had a very simple Wirth-style code generator it was predictable enough that you could even use registers directly in expressions. (M68k, so e.g. you could do "x = D7.w" to set the variable x equal to the low 16 bit word of register D7)
EDIT: Worth mentioning Randall Hyde's "High Level Assembly"[1] here as an actually published language that did something similar.
comment 1w ago · link · parent
I guess today if you want fast, optimized codegen you need to look more at JIT research since it seems the AOT compiler research seems as you say to have just accepted that slow compilers is normal.
comment 1w ago · link · parent
comment 1w ago · link · parent
It's not the most performant out of the box for high performance internal messaging solutions without a lot of work, but back in the day we handled 2m+ mailboxes on hardware that was significantly slower than my laptop. Most people don't need more.
And if you do, it's easy enough to selectively allow more streamlined modes for compatible clients, while still retaining the ease of federation and ability to test with any suitable client.
comment 1w ago · link · parent
comment 1w ago · link · parent
That's what's stopping me from using most of these things instead of just having the agent drive a browser directly with lower level integrations.
comment 1w ago · link · parent
I have used email as a decentralised messaging protocol for software.
It works just fine, and we got a lot for free, including queueing, retries, federated lookup etc.
And it made debugging so easy: Just Cc: messages, or send messages from your email client.
It underpinned part of the initial infrastructure for the demo registrar platform and the email forwarding for the .name top level domain.
comment 1w ago · link · parent
comment 1w ago · link · parent
Note that it is 2 per week per format. So if you want to publish an e-book, print book and audiobook of your title, you can publish 2 titles, not 6.
Still more than most humans will typically sustain but it does change publishing patterns.
E.g. on Kindle+ (formerly Kindle Unlimited) a lot of people would publish short stories or short novellas. You absolutely can turn around more than 2 short stories per week.
The changes may push some writers to change what they write or bundle up stories.
> How do people think that distribution will change now that supply has increased (at least) tenfold? If the consensus on X.com is to be believed, it's all about personal brand. This used to be the case, but perhaps 80% of it. Is conventional discovery dead now?
For books, I'm hearing there are literary agents who now won't even sign anyone unless they have a sizeable social media following.
Conventional discovery for books will get you a very slow drip. But Amazon massively reward you if you publish lots and often by showing each of your works if someone clicks on one, letting you link series, and letting you do giveaways that are actually quite heavily promoted.
This, of course, incentivises people without a budget for promotion to push hard to release often. E.g. shorter titles, short-stories/novellas.
And that as noted above is being affected by the reduced limit.
> [0] - If this includes organisations, like publishing houses, then fair enough.
It includes anyone who is not large enough to get Amazons attention to get access to send them feeds directly.
I have a client that runs a small press, and basically their only option for Amazon is going via aggregators (and that too is relatively limited) and only pushing their top titles direct as until/unless they sell a lot more than they do now it seems they won't even get to talk to someone with any power to even escalate to anyone with authority to let them bypass KDP.
For e.g. Google on the other hand they got ONIX feeds set up no questions asked (ONIX is an XML format for feeding larger book catalogues to retailers) and pushed their entire ca. 200 book backlog right out of the gate. But Google e-book sales are tiny compared to Amazon - last I heard it was about 5% of their revenue.
The problem for Amazon - and for everyone else - is that for anyone but the biggest publishers Amazon is so dominant that most of the effort from people who want to push out high volume will continue to target Amazon.
comment 1w ago · link · parent
comment 1w ago · link · parent
I'm thinking more having a human effectively act like Playwright or other browser automation.
For lots of sites you won't even need to farm out much. E.g. I have a workflow where an agent needs to occasionally bypass CloudFlare's captcha to log in, and it just opens a VNC viewer on my desktop to let me interact with a non-remote-controlled browser (because they do detect that), to log in, captures the cookies, spins up a remote controlled browser and happily continues without me - the rest of the site doesn't do any detection.
It happens rarely enough that it's not been worth figuring out a fully automated workaround.
That's the kind of thing I have in mind.
You can then if you want record all the interactions, and use it to improve detection bypass and feed a smaller and smaller proportion of tasks to humans.
Any attempt at detecting bots for these types of things in the long term only has a hope in hell of working for services so low value that the cost of a "human Playwright" for the occasional form filling and button pressing is too costly.
comment 1w ago · link · parent
Mostly for offline services not otherwise accessible to agents (e.g. things requiring physical presence), but also for things where providers are get sufficiently aggressive at blocking that it's cheaper to provide an API to request a human to do something than playing cat and mouse with blocking attempts.
Mostly - beyond fringe services - for a short time because most of the gaps people are willing to pay for will be closed by proper automation pretty quickly.
comment 1w ago · link · parent
comment 1w ago · link · parent
Maybe I'd feel differently if I didn't have a growing history of plant murder behind me.
> Hum, suddenly you have exactly the most skill wanted in gardening.
Unfortunately, I believe a necessary pre-condition for my skill to work is that you need to have a genuine desire for the plant to survive first.
It seems near certain it will die shortly afterward.
comment 1w ago · link · parent
But I get the impression that the genres that sell well overall does so in large part because of binge readers that reads broadly. A client of mine runs a small press - I help them with tech stuff.
They're small enough that they can "see" in the stats how often people buy an entire 20+ volume set of everything a given author has published at the same time. It's a sigificant proportion of their sales, and that doesn't really happen in literary fiction to nearly the same degree, not least because few writers in literary fiction write enough significant books for it to happen.