Recent submissions

Comment · 6 days ago
The name of the solution is RAG - retreival augumented generation. It is pretty easy to whip up your own over a corpus of material. I built one for myself within a week over a corpus of my favorite cook and homebrewing books. All you need is source material, postgress (pgvect) and some compute (llama.cpp with a decent chat model for chunking and labeling, an embedding and a rerank model. or some $ to use those via a router). When the corpus is indexed, you use your favorite coding agent and a system prompt that forces the model to answer only from search results.
Comment · 1 year ago
I didn't think that there was something wrong with my git workflow, or that git was complicated. I switched from darcs as my primary VCS to git around 2007. I was skeptical about jj at first but gave it a try. Did not look back ever since.

My impression is, that git is ok for managing shared history. And thats what i was using it for mostly. But jj added another whole dimension for managing my work in progress, different paths of code that i am working on in the moment. jj made it almost frictionless. I did not know I was missing it, but i'm not going back.

Comment · 2 years ago
I think there was a prop 65 warning on a box of kreg pocket screws (or was it the jig?).
Comment · 2 years ago
> "they don't help us because they are racists"

That is not what i meant when posting the poem.

When someone asks "Why is every western government not warning Pakistan...", he is basically rephrasing Kipling and asking to "Take up the White Man's burden".

This has been attempted before, didn't go so well. That might give a clue, why we are in the current state of affairs.

Comment · 2 years ago
Take up the White Man's burden—

  Send forth the best ye breed—
Go bind your sons to exile

  To serve your captives' need; 
To wait in heavy harness

  On fluttered folk and wild—
Your new-caught, sullen peoples,

  Half devil and half child.
(...and six more verses)

- Rudyard Kipling

Comment · 2 years ago
There is some life in Rails, but new greenfield rails projects are rare. It is mostly legacy stuff now.

The ecosystem is slowly fading away. Big industrial libs are still good, but a lot of smaller projects are abandonware, last updated in 18-19.

The cool kids moved on to Go, Rust, TS, Elixir etc.

Comment · 2 years ago
Aren't you a little short for a stormtrooper?

I mean 180+ commits, 3 month old, bold claims and already 8 releases on rubygems?

There ought to be a vetting/voting process for packages, before they are accepted into a public repo and pollute the global namespace. Like in arch repo/AUR.

Comment · 4 years ago
All fungi are edible! Tho some you can eat only once.
Comment · 4 years ago
Once i had an idea: instead of styrofoam or packing peanuts just use pop corn or puff rice. Thermal insulation, shock absorbent and biodegradable! Not sure about flame resistant. Also reusable. Make a mash, add some amylase and yeast and you can distill biofuel. Win-win.

EDIT: (fungal aspect) seed it with the right spores for container shipping and you get some free penicillin upon delivery!

Comment · 4 years ago
Just licked mario + rabbids I got yesterday. Tastes ok.
Comment · 5 years ago
A chapon is a castrated cock. That might offend animal rights activists!
Comment · 5 years ago
We can always switch to Qeng Ho time units, since we all kind of already using them now anyway.
Comment · 5 years ago
>> You used a lot of words to make a mundane, unsupported assertion sound profound.

Well, that's the game, isn't it?

Btw, like some of your music. Do you have finished tracks online?

Comment · 5 years ago
One of my favorite zen koans is "Fire-poker Zen":

"Hakuin used to tell his pupils about an old woman who had a teashop, praising her understanding of Zen. The pupils refused to believe what he told them and would go to the teashop to find out for themselves.

Whenever the woman saw them coming she could tell at once whether they had come for tea or to look into her grasp of Zen. In the former case, she would serve them graciously. In the latter, she would beckon to the pupils to come behind her screen. The instant they obeyed, she would strike them with a fire-poker.

Nine out of ten of them could not escape her beating."

It is a great metaphor. Nine out of ten applications of the tolerance paradox do not pass the fire poker test. One needs a certain level of enlightenment and maturity of judgement to apply it, otherwise it can turn into metooism, mob behavior and plain hypocrisy.

Comment · 5 years ago
I have been cooking for 20+ years, and i had to read that chicken parm recipe several times to make sense of it.

I have been entertaining the idea of writing a cookbook, that is not based on recipes, but defines some king of framework, describes the main criteria that you will use to judge the result and gives a definition and parameter range to the usual vague "cook until done", "salt, pepper to taste". Kind of Good Eats meets Naked Chef, but describes it all in OO, FP, C2 Wiki and Agile metaphors.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton