Live data from Hacker News

Ask HN: Show your failed projects and share a lesson you learned

news.ycombinator.com

281–285 of 285 posts

Re: Ask HN: Show your failed projects and share a lesson you learned

#281

Earlier quoted context omitted.

Fair point. In my defense, people say you should pick the tech-stack you're most familiar with: https://news.ycombinator.com/item?id=29626371 Perhaps I'm misusing the word architecture - I guess I really mean tech-stack. I'm most familiar with F#, so I went with that and Blazor initially (to avoid learning JS). PostGres feels fairly uncontroversial. Perhaps I magpied from there to event sourcing - I still find it sur…

Why indexed db and offline syncing? Ps. https://martendb.io/ and https://www.microsoft.com/en-us/download/details.aspx?id=232... ( Microsoft sync framework)

A person should be able to study their flashcards/notes in an offline environment. E.g. on a plane, on a train in a tunnel, where-ever. Also, flash cards are quite personal, and many people have hesitations about trusting them to some cloud-only server. Imagine if Obsidian/VSCode/your-note-app only worked while online. (Heck, look at how much pain Notion is going through trying to support offline behavior.) At the very least there needs to be a way to export their data to some CSV. IndexedDB is a nightmare, but it has a library that lets it easily sync with the cloud (PouchDb/CouchDb). I'd consider Sqlite, but its syncing features/community are significantly smaller than *ouchDb.

Unfortunately MartenDB is on PostGres (which makes it unviable for electron-style clients) and Microsoft Sync Framework looks dead.

Re: Ask HN: Show your failed projects and share a lesson you learned

#282

I tried to build StackOverflow for flashcards (i.e. spaced repetition with collaboration as a first class feature.) After working on it on nights/weekends for ~2 years, I realized my architecture was shit. I started out with Blazor + F# + PostGres, but eventually I realized that syncing offline client DBs to the cloud was a very nontrivial problem. So I moved to event sourcing. Turns out that's not much better - I st…

I feel your pain. I'm a .net guy who transitioned to typescript 5 years ago. If I may, could I suggest Firebase as something to consider? It has automatic offline sync over indexdb, and you can subscribe your app to data changes to sync all devices etc. It takes about a day to get your head around how it works, and given your use case you probably just need the Hosting, Firestore + Auth modules. I use it a lot now in…

The main thing that's been scaring me away from Firebase is the vendor-lockin/pricing. My target audience are students who are very price sensitive, and I hear firebase is pricy as heck. I will likely launch this as a freemium service. Sync is kinda table stakes, so it'll need to exist in some capacity for free users.

Re: Ask HN: Show your failed projects and share a lesson you learned

#283
post #193

Earlier quoted context omitted.

There is such a boss in dark souls 3 but if you are offline an AI will play as the boss

Do both of you look like the protagonist on each console?

no, the human playing as the boss knows they acting in the boss role

Re: Ask HN: Show your failed projects and share a lesson you learned

#284

Earlier quoted context omitted.

Why indexed db and offline syncing? Ps. https://martendb.io/ and https://www.microsoft.com/en-us/download/details.aspx?id=232... ( Microsoft sync framework)

A person should be able to study their flashcards/notes in an offline environment. E.g. on a plane, on a train in a tunnel, where-ever. Also, flash cards are quite personal, and many people have hesitations about trusting them to some cloud-only server. Imagine if Obsidian/VSCode/your-note-app only worked while online. (Heck, look at how much pain Notion is going through trying to support offline behavior.) At the ve…

According to me, a PWA is batteries included for offline usage:

https://developer.mozilla.org/en-US/docs/Web/Progressive_web...

Re: Ask HN: Show your failed projects and share a lesson you learned

#285

Earlier quoted context omitted.

A person should be able to study their flashcards/notes in an offline environment. E.g. on a plane, on a train in a tunnel, where-ever. Also, flash cards are quite personal, and many people have hesitations about trusting them to some cloud-only server. Imagine if Obsidian/VSCode/your-note-app only worked while online. (Heck, look at how much pain Notion is going through trying to support offline behavior.) At the ve…

According to me, a PWA is batteries included for offline usage: https://developer.mozilla.org/en-US/docs/Web/Progressive_web...

Yep, I was originally intending for this to be a PWA. I'm now planning on Electron (or Tauri, if stars align). There may eventually be a PWA down the line, but I think most students will be okay with installing a program. Electron and PouchDb can both use Sqlite/LevelDb/IndexedDB, which is cool because IndexedDB is a slow POS. So on Electron I think I'll use PouchDb's LevelDb adapter, and when/if I start work on a PWA version I'll use PouchDb's IndexedDB adapter.
Post reply on HN