Live data from Hacker News

Ask HN: What did you find out or explore today?

news.ycombinator.com

441–446 of 446 posts

Re: Ask HN: What did you find out or explore today?

#441
post #198

I found out that Claude Code and OpenCode doesn't do vector search and embeddings but relies on grep to power their agents. Most people are satisfied with this even though I think vector search approach is way better and saves on tokens.

I remember thinking the same thing and this articles goes over most of the arguments here - https://milvus.io/blog/why-im-against-claude-codes-grep-only... When it came out and I think it was Boris from Anthropic that said they experimented a lot with Vector Search and grep just worked better. You can try it out using the Claude-Context MCP - https://github.com/zilliztech/claude-context

I built my own ai coding agent and do vector search and embeddings locally

https://slidebits.com/isogen

Re: Ask HN: What did you find out or explore today?

#442

It wasn't literally today, but about 2 days ago I discovered the -H (and --host) arguments to systemctl. These allow you to pass a hostname of a remote server, so you can use systemctl to manage systemd services on remote machines. It layers over ssh, so the cleanest way to do it is to have passwordless ssh with certificates set up to the remote host. If you do, running systemctl commands remotely is totally seamless…

Finally a tool that accepts the greatness of sh, rsh, and ssh. For fun look at telefork(2) https://thume.ca/2020/04/18/telefork-forking-a-process-onto-...

Telefork reminds me of my days writing MPI code on Beowulf clusters! I even took a stab at a similar'ish idea, that was meant to make running code on distributed clusters in Java "just a library" that (somewhat) emulated the existing Threads API. I actually got it to work, but I don't think it was practically useful for anything. More of a learning project. Still, it was fun. :-)

Re: Ask HN: What did you find out or explore today?

#443

Why Bluetooth is detecting peripherals but won't connect to them on the new PC I built. Getting an antenna today but only 50% sure this will fix the issue.

lol I misread this as "What will you find out or explore today?" cuz it was pretty early in the morning. But it was the antenna.

Re: Ask HN: What did you find out or explore today?

#444
post #119

I had some eye strain and think it is because my eye muscles are overused. A doctor told me the muscles in the eye are flat, like tapes, and that I would not feel a muscle ache. I noticed the strain when I focus on different points quickly. I started to pay attention to how I move my eyes and realized I read a lot of text while scrolling, for example reading X posts on mobile while scanning the text at the same time.…

Search "ciliary spasm".

Re: Ask HN: What did you find out or explore today?

#445
post #14

I explored the space of valid Spelling Bee puzzles and found out the lowest scoring puzzle is (x)bejkou with 14 points. Hoping they do it for April 1st one year.

jukebox? jeux is found by my solver, although I'm not sure Sam would include it. I'm working on a site for solving Spelling Bee, Letter Boxed, Strands, etc. What was your algorithm? Compute a bitset for every word, for each word with 7 unique letters, check against every other word if it has a subset of those letters? Surely there's a better than O(n^2) way

Start with your chosen dictionary, remove small words and all 's'es.

Then find all words with 7 unique letters, then get the unique set of letter sets. These are your valid puzzles times 7 for each selection of a center letter.

Construct a trie of your dictionary. For each letter of each puzzle, walk the trie using only the puzzle letters. When you find a word, if it used the center letter, add to list.

In practice it's log(n) for size of dictionary.

Re: Ask HN: What did you find out or explore today?

#446

Earlier quoted context omitted.

do you have 10 plants per square-meter? it's unlikely that you can add enough to make a big difference. plants are nice, but people often ascribe far more to them than is really happening - have you improved the ventilation too? https://www.lung.org/blog/houseplants-dont-clean-air

I was going to say the same thing! It’s a simple energy balance: the human body uses about a 100 watts of energy by burning carbohydrates or fats. Plants would have to fix 100 watts worth of carbohydrates to simply maintain balance. Only a few plants can achieve 5% efficiency, so minimum you’d need 2 kW of light being absorbed by your plants. That’s a weed grow room, not an office!

name checks out
Post reply on HN