Better HN
topnewbestaskshowjobs
Log inSign up

calpaterson

4,910 karma · joined May 6, 2008 (18y ago) · 1,031 submissions

meet.hn/city/fi-Helsinki

Socials: - github.com/calpaterson

---

https://calpaterson.com

cal - AT - calpaterson - DOT - com

Submissions

comment 1mo ago · link · parent

I wish there was a much greater stigma against providing unsolicited, almost certainly non-professional medical diagnoses of third parties like you have done.

Whatever the faults of internet rationalists, suggesting that they have a mental health disorder is incredibly anti-social behaviour.

comment 2mo ago · link · parent

I'm not sure I understand - the schema is set and doesn't get changed by agents as they work

comment 2mo ago · link · parent

You don't have to regenerate a zipfile each time you do something - the zipfile is just to give a single file for distribution. It's just a zip of the directory.

Git is supported in the spec, though the tool doesn't yet handle it (soon! git is nice as you get a log "for free" which helps agents understand more about the memories).

As for sqlite in git: yes you can gitignore it, you could use git-lfs, you could use an out of band database. It would be great if there were another format more amenable to git to store vectors in. I looked at csv closely, but I was worried about float formatting/representational bugs. There is a gap in the market for a format here.

comment 2mo ago · link · parent

Thanks for pointing out recfiles. I was not aware of it and will investigate whether we can reuse anything. That said Markdown with YAML frontmatter is not exactly my own invention!

comment 2mo ago · link · parent

I find that semantic search is substantially better than keyword search even for small corpuses. Being able to find "related" material that doesn't match the keyword is a big advance over traditional full text search.

comment 2mo ago · link · parent

What I propose is only a very slightly more formal version of what you describe.

Just to start with: memoryfields are possible to use in a server/client system. That was a key aim and I do already use them over Amazon S3 (though not always).

I started, like you did, with a personal library of prompts. But the issue is that as your library of little pieces of prompts increases a) you get tired of constantly editing them yourself b) you have no easy way to export and share them with others c) it's frustrating that the agent doesn't "automatically" find your little bit of prompt on X even when clearly it is relevant - hence sem search.

I think a lot of people are still using the "personal library of bits of prompt" model. It is ok. But I wanted to propose an minimal, interchangeable standard for sharing them. So the idea of being an institution and having a shared memoryfield: that's something I want as well!

The spec, feedback greatly welcome:

https://github.com/calpaterson/memoryfield-spec/blob/main/SP...

comment 2mo ago · link · parent

Just retrieving usually doesn't count as memory. "Memory" tends to imply writing too.

And I agree: it's not a very special thing. That's why I propose: Markdown + a simple embedding.

comment 3mo ago · link · parent

Most welcome

comment 3mo ago · link · parent

We also meet in the evenings sometimes, so I would join now and figure it out later.

comment 3mo ago · link · parent

You pray that people either have their contact details in their HN profile or that they attached some social networks to their meet.hn post.

Then you trawl through your set of qualified leads :)

comment 3mo ago · link · parent

There is https://meet.hn/, which is a good way to bootstrap (and indeed, how I bootstrapped this meetup)

comment 3mo ago · link · parent

Having it be an open invitation meetup would attract a very different cohort and would have a very different character. Feel free to start that meetup - I might give it a try. But I wouldn't be interested in spending my personal time organising it

comment 3mo ago · link · parent

You were added :) See you in person

comment 3mo ago · link · parent

There is a conscientious objector to every communication system. As was said above: WhatsApp had the fewest.

comment 3mo ago · link · parent

We've been organising this for a while (a year? more?). It's quite relaxed - just a coffee morning every month or two.

I'm sure there are other HN local meetups who could post in this thread - please do if you have a local meetup

16.

Helsinki Hacker News Meetup(calpaterson.com ↗)

185 points · by calpaterson · 3mo ago · 136 comments

comment 3mo ago · link · parent

There was a good explanation when they published the mechanism

https://news.ycombinator.com/item?id=26998309

comment 3mo ago · link · parent

That is indeed how it works

https://news.ycombinator.com/pool

But not in this case. It's a slow Sunday afternoon and getting a few upvotes quickly is enough

comment 3mo ago · link · parent

> Consuming that much caffeine is terrible for your heart.

He's talking about 800mg, and I doubt it. 400mg is well known to be a safe daily level. I doubt by doubling it you will experience massive negative side effects.

Here in Finland (possibly highest caffeine consumption per capita in the world?) there are people who have been drinking well over >1000mg/day for decades and life expectancy and heart health among the population is normal.

comment 5mo ago · link · parent

Interestingly, after writing this (some years ago) I spoke to some of the original authors. They had never used Smalltalk. So I suppose they invented this stuff independently

comment 5mo ago · link · parent

No, no, there is a single world ring. the 16mb limit is for values

comment 5mo ago · link · parent

Well, I say "more or less" :). But the fact that there is a single global database doesn't mean that you can read every key or value (but generally, yes, you can _read_ everything). I mention in passing prolog-style permission systems for evaluating perms.

But anyway, specific trades are rarely private to one part of the bank for many reasons. For example regulatory: these days you have to notify the regulator about every trade.

comment 5mo ago · link · parent

They don't use pip, you just import the module and it is pulled from barbara

comment 5mo ago · link · parent

Mostly is no rule, adding a cache can just save you from having to buy a bigger database instance in many cases.

The most common first thing to cache is getting the current user, because this ends up being a very hot path for most stateless systems. Because you need to get the current user for almost every request, it's quite easy for getting the current user to be 50% of database load: first you get the user, then you do the thing. tada, user lookup is now half your app by volume

comment 5mo ago · link · parent

Once someone decides they want to use redis as something other than a cache, you sort of do have 2 cache technologies anyway. You can't use a redis instance that is configured for caching for any other purpose (caching instance must have eviction, non-caching instance must not have eviction). You need a second redis with a different configuration.

Honestly designing your app to have a "memcache-friedly cache layout" is the same thing as designing it to have a redis-friendly cache layout. The pattern for this kind of application cache is identical: "get, and if not there, calculate and set".

comment 5mo ago · link · parent

Yes I switched from claude code to opencode with deepseek recently.

It is basically indistinguishable from sonnet. At this point my own prompts, AGENTS.md, background docs and so on matter a great deal more than the differences between models.

And deepseek v4 flash (the sonnet comparable) costs 3% of what sonnet does.

comment 6mo ago · link · parent

It often is illegal to pay them. They are often on sanctions lists, or indeed in embargoed countries. And it's just generally not allowed to pay unidentifiable parties for basic anti-money laundering reasons. And a lot of countries are bringing in new legislation to make paying illegal, starting with public sector organisations. I'm sure that will only expand.

Frankly, you pay a ransom at your peril. If it turns out it was North Korea you may well go to jail for it.

28.

The box-tickers shall inherit the Earth(spectator.com ↗)

2 points · by calpaterson · 6mo ago · discuss

12345
35