Better HN
topnewbestaskshowjobs
Log inSign up

vidarh

46,997 karma · joined Jan 31, 2009 (17y ago) · 18,934 submissions

Consulting / part-time/retainer AI, devops work, and cloud cost optimization via my consultancy:

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

Submissions

comment 1d ago · link · parent

Alpöge's primary result is a formalised proof in Lean. The need to read it is a lot less because there are tools to verify it, unlike Masullo's manuscript, which must be read because it is not a formalised proof.

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 1d ago · link · parent

It is relying heavily on it:

> each module imports 4.3 other modules of the project on average, and 136,003 modules import all of Mathlib

But most known mathematics is still not formalised.

comment 4d ago · link · parent

I have a todo list long enough I don't even have time to prompt for all of it...

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 4d ago · link · parent

Roles change and inevitably software development for most is likely to move further and further away from computer science.

comment 5d ago · link · parent

I've found Matrix really nice for isolated setups, funnily enough.

E.g. my wireguard network has an isolated/non-federated Matrix server all my AI agents to talk to me over. It's great for that, but I have no interest in using it to talk to people.

comment 5d ago · link · parent

We'll also get this with tool use and browser automation. The models are increasingly good enough that they can build custom integration tailored to your specific use case. It'll be very hard to maintain a lead there when your "lead" is functionality the models can write unilaterally on the whim of a user.

comment 5d ago · link · parent

Not going to speculate on how they'll do vs. OpenAI, but to your point on a lot of problems now effectively being "solved", I tend to agree.

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

My first compiler was for a Pascal-like language that started with just reading assembler in and spitting assembler out, and then I layered in blocks and expressions step by step and slowly rewrite the compiler itself from a basic text processor in assembler to a proper compiler, making use of each new feature as soon as I'd made sure it worked.

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.

[1] https://en.wikipedia.org/wiki/High_Level_Assembly

comment 1w ago · link · parent

One of the noteworthy papers I remember reading in the early 90's was a demonstration that you could even add SSA form to ETH's Oberon compiler to apply optimisations equivalent to the then-current version of gcc with very little loss in compilation speed.

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

Denormalization brings a complexity cost when updating to ensure integrity, though. And if storage and compute is cheap then you can easily get the benefits of denormalization without the downsides by keeping data normalized for consistency and instead build indexes to let you query it dernormalized when it makes sense.

comment 1w ago · link · parent

It can, but in practice there are plenty of options where this isn't a problem, and you'll need to deal with similar or worse complexity for most other message systems, without the decades of mostly interoperable software to pick and choose from.

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

It says it's compatible with Delta Chat, though. I think it's fine to slot in other software - the appeal to me when I used e-mail for this was exactly that we could start with the tooling we already had (which was a heavily modified qmail - we started as an e-mail provider) and could slot in additional changes as/when needed but remain entirely compatible with existing tools for most things.

comment 1w ago · link · parent

Does any of these handle the case where the site needs you to pass a bot detection that fails if the browser is remote controlled and so need a human to access the same profile via a non-remote controlled browser first?

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 find it funny that it starts with email and then proceed to dismiss it in favour of building a bunch of things from scratch.

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

Good luck trying to get through to a human at Amazon KDP that has any kind of authority to override any kind of system.

comment 1w ago · link · parent

The vast majority of authors are not represented by any publishers, and KDP is built around exactly those. The KDP limits does not affect anyone represented by larger publishers - only indies and small press (and genuine small press as opposed to imprints of larger publishers are few)

comment 1w ago · link · parent

> That's a book a day (give or take), per account. No human author is publishing a book per day.[0]

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

There are a number of clipboard sync apps, but personally I swear by simply having an E2E encrypted chat app on both your desktop and phone that lets you send messages to yourself. Serves both the clipboard usecase and as a general "notes to self" space.

comment 1w ago · link · parent

Most of your comments are dead/flagged, maybe due to the LLM translation. Some have been vouched for, but you might want to reach out to HN via the e-mail in the footer and let them know you'll write the comments manually going forward in case your account itself is shadowbanned.

comment 1w ago · link · parent

The problem is that I most certainly does not have the patience for that. I'd rather have automation, or hired help, do it for me.

comment 1w ago · link · parent

Too high-level. That requires judgment, and takes unnecessarily much time.

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

If this takes off and agents struggle to bypass it, someone will set up Mechanical Turk style services to provide an API to people carrying out the steps. And use it to collect all the data needed to use it to bypass more and more detection attempts.

comment 1w ago · link · parent

Prediction: For a short time we'll see a market for services where humans will act as flesh-puppets for agents.

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

My understanding is that he has been very hands on, but it's also not that unusual for people who have built successful businesses to "check out" once the role chances from building an early-stage company to growing a large one. Whether or not that works obviously greatly depend on whether the people around them can take up the slack.

comment 1w ago · link · parent

> heressy!

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

Presumably he was not given a choice by the board.

comment 1w ago · link · parent

SF doesn't sell that well either. But I think it's not generally helpful to compare the genres as a whole with best sellers. The top literary fiction - and certainly winners of prestigious prizes - does sell well - and I'd assume that the very top significantly outsells SF for the same reason the very top non-fiction sells crazy amounts: Most people don't read much, and what little they read (or at least buy) is seriously concentrated things the mainstream deems culturally significant.

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.

comment 1w ago · link · parent

You can click the "I'm not a robot" checkbox as well, and a fake captcha pops up...

comment 1w ago · link · parent

There are plenty of contexts where adults can't even legally consent, because it sometimes becomes impossible to rule out coercion, and many more where it may be legal but still shows questionable judgement for the same reason.

comment 1w ago · link · parent

In principle I agree. But at some point there were many enough of them that anyone who gets involved with Musk has very little legitimate basis for claiming to believe there won't be others.
12345
632