TehPers

joined 2 years ago
[–] TehPers@beehaw.org 1 points 19 hours ago

Have you considered doing it in Rust instead? You can even do the frontend in Rust for extra internet points.

[–] TehPers@beehaw.org 6 points 5 days ago* (last edited 5 days ago) (2 children)

Some of these key findings seem a bit overblown. The number of domains persistently connected to shouldn't really matter - one is enough. Update checks are standard for software. Unique IDs/device fingerprinting are so common that browsers build in ways to try to prevent it at scale. JWTs are standard authentication tools - who's the security concern for? ByteDance? Or are you saying the JWTs are from the local machine? And MessagePack isn't exactly a secret format either.

The TL;DR of this seems to be that ByteDance's AI IDE collects a crazy amount of data and offers free AI services in exchange. I'm not really sure why you'd want those services, especially at the cost of all your code potentially being stolen or other data being collected, but it should be obvious that nothing in this world is truly free.

[–] TehPers@beehaw.org 4 points 1 week ago

I would say run Doom, but I'm not confident in that. At the very least, Skyrim hasn't been rereleased on it yet.

[–] TehPers@beehaw.org 2 points 1 week ago* (last edited 1 week ago) (2 children)

An alternative could be to use something like postgres with the pgvector extension to do semantic searches instead of just text-based searches. You can generate embeddings for the text content of the story, then do the same for "sci-fi" or something, and see if searching that way gets you most of the way there.

Generating embeddings locally might take some time though if you don't have hardware suitable for it.

[–] TehPers@beehaw.org 3 points 1 week ago (1 children)

SQL is designed for querying (it's a query language lol). If the stories are huge, you can save them to individual files and store the filepath in the database, but otherwise it can hold columns with a fair amount of data if needed.

You can probably get away with using sqlite. A more traditional database would be postgres, but it sounds like you just need the database available locally.