HNHacker News
TopNewBestAskShowJobs

davidkunz

1,364 karma · joined January 10, 2021

DevOnDuty: https://www.youtube.com/@devonduty

GitHub: https://github.com/David-Kunz

submissionscomments
davidkunz··on Zig's New Async I/O
I'm a bit concerned when library authors only test it with blocking Io and the consuming app with a different kind. Wouldn't this potentially lead to bugs?
davidkunz··on AST-Grep [video]
Thank you! I found ast-grep to be really useful, I hope more people will discover it!
davidkunz··on OpenAI o3 and o4-mini
I wish companies would adhere to a consistent naming scheme, like <name>-<params>-<cut-off-month>.
davidkunz··on Ask HN: What code editors or IDEs are easily scriptable?
I wouldn't exclude Lua, it's a simple language whose basics you can learn pretty quickly if you know JavaScript or comparable languages. I therefore would recommend Neovim.
davidkunz··on Structured Outputs in the API
Maybe if you can't precisely model your structure with (OpenAI's subset of) JSON schema.
davidkunz··on Call the compiler, fax it your code [video]
Nothing new, we've been doing it like that for ages here in Germany. But it's a cool Hamburger phone.
davidkunz··on Creator of Zig asked "how to open a file in C++" in SO 15 years ago
The title is a bit misleading and readers might think he didn't know how to open files in C++. This is not the case, see https://x.com/Deor/status/1815563936671867315
davidkunz··on Japan declares victory in effort to end government use of floppy disks
I look forward to the day when Germany ends the use of fax machines.
davidkunz··on Start presentations on the second slide
Like in video games: Show the door before the key.
davidkunz··on Golden Gate Claude
Advertisers: Great for product placement.
davidkunz··on Helix: Release 24.03 Highlights
It doesn't yet have a plugin system but they're thinking of adding one for the Steel programming language (a lisp).

https://github.com/mattwparas/steel

davidkunz··on Will GPT-4 Run Doom?
I bet Sora can "run" Doom.
davidkunz··on A simple dice game shines a bit of light on the psychology of regret
The experiment seems flawed because they might think the experimenter knows the right choice and tries to lead them to the wrong answer. If you're only interested in studying regret, I wouldn't let the experimenter know the right cup.
davidkunz··on Bash one-liners for LLMs
> Rocket 3b uses a slightly different prompt syntax.

Wouldn't it be better if llamafile were to standardize the prompt syntax across models?

davidkunz··on DeciLM-7B: The Fastest and Most Accurate 7B-Parameter LLM to Date
Yes, I'm using them in my text editor with my plugin [1] and it's already useful for everyday tasks like summarization, fixing grammar or making text more concise.

[1]: https://github.com/David-Kunz/gen.nvim

davidkunz··on Mistral: Our first AI endpoints are available in early access
Well done, Mistral! "Show, don't tell" par excellence.
davidkunz··on Mistral AI Valued at $2B
I use them in my editor with my plugin https://github.com/David-Kunz/gen.nvim
davidkunz··on Bad NEWS, Emacs
> yank from visual mode, which has a similar show-explicitly-what-is-being-copied behavior.

Even better: vim.highlight.on_yank

davidkunz··on Are Open-Source Large Language Models Catching Up?
Yes, it works with an Ollama server and the communication is done via HTTP. I know that someone configured my plugin to talk to OpenAI.
davidkunz··on Are Open-Source Large Language Models Catching Up?
It should work on Linux and also with WSL. You could also try running it in Docker.
davidkunz··on Are Open-Source Large Language Models Catching Up?
Out of personal experience, open source LLMs did not yet reach the quality of GPT 3.5, despite multiple claims with dubious benchmarks. That said, they are already useful as of today and can even run on your local machine. I regularly use them with my Neovim plugin gen.nvim [1] for simple tasks and they save me a lot of time. I'm excited about the future!

[1]: https://github.com/David-Kunz/gen.nvim

davidkunz··on light-dark()
I got confused because I thought it would set a background color. For text it's inverted and hence correct.
davidkunz··on light-dark()
Sorry, I misread your answer. You're right. I automatically assumed setting some background color for which `color: light-dark(white, black);` would be right.
davidkunz··on light-dark()
But why is the order switched below?

Functional notation: light-dark(light-color, dark-color)

davidkunz··on light-dark()
I think `black` and `white` should be switched here:

color: light-dark(black, white);

davidkunz··on Orca 2: Teaching Small Language Models How to Reason
A demo video is in the README (I used Mistral-7b in there).
davidkunz··on Orca 2: Teaching Small Language Models How to Reason
For smaller models, I'm impressed by Mistral-7b or fine-tuned variants like Zephyr. I use it regularly in Neovim[1] for mundane tasks (grammar correction, summaries, ...). I'm curious how Orca 2 performs, downloading it right now.

[1]: with https://github.com/David-Kunz/gen.nvim

davidkunz··on Ollama is now available as an official Docker image
Here's the plugin: https://github.com/David-Kunz/gen.nvim
davidkunz··on Ollama is now available as an official Docker image
Ollama is great, I recently integrated it into my text editor (Neovim), now I have local AI assistance when coding/writing text.

https://youtu.be/FIZt7MinpMY?si=fzcmKq5cw2bniH26

davidkunz··on Llama 2 Long
> Pages before are topics.

What if there's an important detail hidden in a topic?

← PreviousPage 2 of 11Next →