I learned this because I play a daily game called FoodGuessr, where you have to guess which country a food dish is from. I tend to struggle in Eastern Europe.
Ask HN: What did you find out or explore today?
221–230 of 446 posts
Re: Ask HN: What did you find out or explore today?
#222Figuring out how to create my own dictionary with Dictionary Development Kit to create a dictionary where people can find definitions of terms.
Also let the system learn names of products and services, so the system can do better autocorrect.
1. https://developer.apple.com/documentation/coreservices/dicti...
Re: Ask HN: What did you find out or explore today?
#223Re: Ask HN: What did you find out or explore today?
#224I 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.
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
Re: Ask HN: What did you find out or explore today?
#225In the past few weeks I have been exploring mDNS and IPv6. Your router doesn't provide local DNS? Not an issue, add .local to the hostnames and boom, everything works.
For example, run `python3 -m http.server` on your laptop, then open the browser on your phone and browse yourlaptopname.local:8000 ! There's more, services are advertised on mDNS, that's how your printer magically appears on your computers and phones.
Re: Ask HN: What did you find out or explore today?
#226I'm doing PHP for the first time in years. I needed a function that returns the date of last week's Monday. Turns out PHP has a funky date querying language. I can just do: $today->modify('monday last week'). Makes me happy.
https://www.php.net/manual/en/datetime.formats.php#datetime....
Re: Ask HN: What did you find out or explore today?
#227I wish I had encountered complexity science earlier in life. It touches on so many of the questions that have sparked my imagination over the years, I’m so pleased to find such an accessible introduction.
Re: Ask HN: What did you find out or explore today?
#228Re: Ask HN: What did you find out or explore today?
#229Re: Ask HN: What did you find out or explore today?
#230It 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…
systemctl --host foo status httpd.service
vs ssh -t foo systemctl status httpd.service
?