Hacker News

Big Bath

Hacker News - Sun, 10/27/2024 - 11:01pm
Categories: Hacker News

Ask HN: How do I support multiple file versioning (any file type) using diffs?

Hacker News - Sun, 10/27/2024 - 10:58pm

Hi Friends.

I'm trying to do multi-version support for my users so they can upload the same file (same name) and have a version history.

For example, user uploads "Site Details Oct-2024.docx". They make some changes, upload the file again. Instead of giving them an option to Keep/Replace, I'd like for them to be able to have a version history that they can view/revert/etc. Less clutter, better organization, and most importantly it will make it easier for them to see what actually changed.

Right now I'm doing the naive way - uploading that updated file and storing the distinct files. The downside is that this will Nx my storage. If they have a 2mb file with 5 revisions, my current approach will use up 10mb.

I have no idea how this stuff works, so I did some googling and also asked chatGPT.

I found something called xdelta and bsdiff. Has anyone used this before? Seems like neither are actively maintained.

If you know any other way to do this also please let me know. Text files seems pretty straightforward, but again for formats like PDF docx etc. I am not sure how to do this.

I'd be happy if there are node/go/python bindings (in that order of preference), but no worries if not I can figure it out.

Thank you!

Comments URL: https://news.ycombinator.com/item?id=41967440

Points: 1

# Comments: 0

Categories: Hacker News

Designing Bug-Proof Engines

Hacker News - Sun, 10/27/2024 - 10:57pm
Categories: Hacker News

Turn PDFs into brainrot using AI

Hacker News - Sun, 10/27/2024 - 10:53pm

Article URL: https://www.memenome.gg/

Comments URL: https://news.ycombinator.com/item?id=41967418

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: How to get players for a multiplayer game?

Hacker News - Sun, 10/27/2024 - 10:46pm

Hi,

I'm currently trying to build a player base for a multiplayer game I've created and I'm struggling to get players. I've tried various ways of marketing but while some are quite effective for players to try the game it usually results in that they try it one by one and rarely multiple people at the same time.

Things I've tried:

- created a web version of the game (this was essential as almost nobody downloads the native apps - but perhaps it is specific to my game)

- I'm trying to be online when others plays (I have a notification when people are on the server)

- building a Discord community (only few joins)

- for another game in the past I've tried to put a popup message that mentioned specific hours for playing in the hopes that people would try to be online at these hours (it had no effect)

- posting on various reddits and indiedb/moddb, that worked but only rarely there would be multiple people online

Things I've dismissed:

- posting on Facebook and other similar sites, I don't have any experience with these and not sure it would be effective

- paid advertisment, I don't have a budget for it and don't think a general advertisment would work (it would need to be VERY specific to actually work - I've only witnessed it once in a specific Minecraft community where it was actually effective)

- posting on itch.io, it doesn't seem to have much to offer for propagation of your game and there are too many games already making it even harder

The game I'm trying to bootstrap is CellSplit, a survival 2D arcade game (an open source clone of Agario): https://www.cellsplit.org/

I've created it to solve the problem with teamers and griefers that plague the original game.

However my question is also a general one, how one can build a player base for their multiplayer game? Anything else to try?

Comments URL: https://news.ycombinator.com/item?id=41967388

Points: 1

# Comments: 0

Categories: Hacker News

KAG: A knowledge-enhanced generation framework

Hacker News - Sun, 10/27/2024 - 10:28pm

Article URL: https://github.com/OpenSPG/KAG

Comments URL: https://news.ycombinator.com/item?id=41967291

Points: 1

# Comments: 1

Categories: Hacker News

Why it's time to retire CRUD

Hacker News - Sun, 10/27/2024 - 10:17pm

Article URL: https://xtdb.com/blog/retire-crud

Comments URL: https://news.ycombinator.com/item?id=41967248

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: IndieResources – 1000 Free Resources for Indie Hackers

Hacker News - Sun, 10/27/2024 - 10:15pm

Now in data-importing period. If you have indiehacker tools. welcome to submit

Comments URL: https://news.ycombinator.com/item?id=41967243

Points: 1

# Comments: 1

Categories: Hacker News

The Complete History and Strategy of Meta

Hacker News - Sun, 10/27/2024 - 10:12pm
Categories: Hacker News

Pages