Lurker News
What are you working on? Any new ideas that you're thinking about?

Comments (1,468) 897 threads

Earlier comments
kennethwolters#
LLM-driven narrative game. Main technical issue is how go do compaction. I’ve devised a memory hierarchy that compacts the story to a constant amount of tokens per layer. Arc -> Scene -> Moment -> Line. Not sure if that’s the right dimensions to decompose into. Also tinkering how to get the right amount of “divergence” for story progression option generation. A lot of unanswered questions…
pypt1 reply#
I'm building https://aero.zip, an E2E encrypted, resumable file transfer tool (think WeTransfer but encrypted and not P2P). I just posted it to Show HN:

https://news.ycombinator.com/item?id=46262540
A few technical details I enjoyed working on:
* Streaming ZIP: To allow downloading multiple files as a single archive without buffering, I implemented a custom streaming ZIP64 archiver. A Service Worker intercepts the request, fetches encrypted chunks, decrypts them, and constructs the ZIP stream on the fly in the browser.
* OPAQUE auth: I used the OPAQUE protocol (via serenity-kit) for the password-authenticated key exchange. It ensures the server never learns the password and protects weak passwords against offline attacks if the DB leaks.
* Passkey PRF auth: If your passkey provider supports PRF (like iCloud Keychain or Windows Hello), the app derives the data encryption key directly from the passkey, allowing a login flow that doesn't require entering a master password.

hamiecod1 reply#
How is it different from croc?
pypt1 reply#
From what I understand, croc is P2P, i.e. both computers have to be on for the transfer to happen (the "relay" that they mention only helps negotiate the connection between two peers). With aero.zip, you upload your files to a server, and the recipient can download it whenever - either real-time while you're still uploading them (imitating the P2P/croc model), or at a later date. This is a more universal approach IMHO.

Also, aero.zip is a webapp, i.e. there's nothing to install, and you don't even need to sign up to send small files. Meanwhile, croc is a CLI utility which will be hard to use by mom-and-pop users.

hamiecod#
Got it. Is it safe to say that aero.zip is closer to wetransfer than it is to croc?
zelphirkalt#
Working on my language learning app (Python, tkinter) "Xiaolong Dictionary"[0]

It is supposed to implement all kinds of features, that I usually miss in vocabulary learning applications, such as a very powerful search function, and the ability to add arbitrary tags, a table of words, and learning progress statistics (not yet implemented).
It has minimalistic dependencies. Currently the only non-development dependency it has is jsonschema.
I keep the configuration of the application in a JSON file. This configuration already allows to configure many things, like for example the various learn levels, and what their meaning in terms of the spaced repetition system is, which attributes of a word will be revealed in what order, when practicing, what attributes to show in the columns of the vocabulary table, and what font to use for the big character display widget (useful for languages like Chinese).
It's AGPL, so feel free to fork, but adhere to the license.
[0]: https://codeberg.org/ZelphirKaltstahl/tkapp

joozio#
LLMatcher - blind testing arena to find which AI model actually works best for you.

You enter prompts, compare two anonymous responses, pick the better one. After voting, it reveals which models you preferred. Built it because model benchmarks don't match real-world preference, and blind pairwise comparison cuts through the hype.
http://llmatcher.com

Load more comments