Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gkfasdfasdf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
gkfasdfasdf
11mo ago
What were you using for RAG? Did you build your own or some off the shelf solution (e.g. openwebui)
32.
▲
by
gkfasdfasdf
1y ago
You can specify python version requirements in the comment, as the standard describes
33.
▲
by
gkfasdfasdf
1y ago
Looks like the homebrew formula is one behind the latest, 3.0.0 vs 3.0.1 on your site - is the homebrew formula maintained by you or someone else?
34.
▲
by
gkfasdfasdf
1y ago
or even use caller to print a full backtrace: https://news.ycombinator.com/item?id=44636927
35.
▲
by
gkfasdfasdf
1y ago
not sure what you mean, you can have separate ERR and EXIT traps that run independently.
36.
▲
by
gkfasdfasdf
1y ago
I love this feature of uv but getting linters/language servers to pick up the venv when editing the files is a bit of a pain. I currently have a script 'uv-edit' which I am using to run Neovim with the correct environment:
37.
▲
by
gkfasdfasdf
1y ago
That would indeed be faster, looks like it requires bash 4.2+
38.
▲
by
gkfasdfasdf
1y ago
Why not leverage the bash 'caller' builtin? It's meant for printing stack traces, e.g. #!/bin/bash die() { local frame=0 while caller $frame; do ((++frame)); done echo
39.
▲
by
gkfasdfasdf
1y ago
I wonder, what happens when you hook up an MCP server to a database of malicious LLM prompts and jailbreaks. Is it possible for an LLM to protect itself from getting hijacked while also reading the malicious prompts?
40.
▲
by
gkfasdfasdf
1y ago
Great article, discussed previously on HN: https://news.ycombinator.com/item?id=31592934 (200 comments) https://news.ycombinator.com/item?id=37782493 (105 comments)
41.
▲
by
gkfasdfasdf
1y ago
Just curious, how do you know your questions and the SQL aren't in the LLM training data? Looks like the benchmark questions w/SQL are online ( https://ghe.clickhouse.tech/ ).
42.
▲
by
gkfasdfasdf
1y ago
Ok so it's not Cygwin, how is it better (or worse) than Cygwin?
43.
▲
by
gkfasdfasdf
1y ago
I hope it is faster. Homebrew operations take forever for me.
44.
▲
by
gkfasdfasdf
2y ago
I guess one advantage of the author's approach is that any apt-get's etc done in building the initial image can reuse the host package cache.
45.
▲
by
gkfasdfasdf
2y ago
That's brilliant, thanks! EDIT - 'uv run nvim' works also
46.
▲
by
gkfasdfasdf
2y ago
I am a casual python user, and for that I love uv. Something I haven't quite figured out yet is integration with the pyright lsp - when I edit random projects in neovim, any imports have red squiggles. Does anyone know of a good way to
47.
▲
by
gkfasdfasdf
2y ago
For remembering CLI args, I now often turn to command line AI tools like 'llm' [0] or 'gh copilot suggest' [1]. They work remarkably well. [0] - https://llm.datasette.io [1] - https://docs.github.c
48.
▲
by
gkfasdfasdf
2y ago
Thanks for the tip, another awesome tool from sharkdp.
49.
▲
by
gkfasdfasdf
2y ago
It would be nice if uv had something like uvx but for scripts...uvs maybe? Then you could put it as a single arg to env and it would work everywhere.
50.
▲
by
gkfasdfasdf
2y ago
I don't think rounding clocks would be any more useful in the scenario about mentally calculating how many minutes until the meeting at noon, because a rounding clock would show noon 30 seconds earlier, so the average difference betwee
51.
▲
by
gkfasdfasdf
2y ago
That's handy, thanks! `osc copy` may also take args for files to copy to the clipboard, but in the absence of that and no data on stdin it maybe should switch to paste.
52.
▲
by
gkfasdfasdf
2y ago
pbcopy and pbpaste are handy, for a version that works over ssh connections there is osc: https://github.com/theimpostor/osc
53.
▲
by
gkfasdfasdf
2y ago
sama agrees search for extensions not easy lol: https://x.com/sama/status/1852163907735162937
54.
▲
by
gkfasdfasdf
2y ago
How did you find the extension? Searching the Chrome Web Store for 'SearchGPT' turns up a ton of third-party extensions, not made by OpenAI. Also, there doesn't appear to be a way to search by developer.
55.
▲
by
gkfasdfasdf
2y ago
This question was posed to o1, it is able to reason through it - but now I wonder if that is because the model is already aware of the puzzle. https://x.com/d_feldman/status/1834313124058726894
56.
▲
by
gkfasdfasdf
2y ago
Was anyone else horrified because they thought the powerplant was going to be run by a Microsoft AI? (TFA is about Microsoft purchasing nuclear power to run their AI)
57.
▲
by
gkfasdfasdf
2y ago
Very nice! Would be nice to filter by NVMe as well. Also, one of the listings didn't come with a power adapter which was some custom lenovo thing. Finally, you totally should include your affiliate link.
58.
▲
by
gkfasdfasdf
2y ago
Meta the new "Open" AI?
59.
▲
by
gkfasdfasdf
2y ago
I don't know, I do recall exa was a little finicky about linking with libgit2 - maybe some distros didn't come with it linked by default.
60.
▲
by
gkfasdfasdf
2y ago
Great list! I would also add: viddy, a replacement for watch that includes history
More ›