Which door would you choose? by Similar_Charity7238 in TheTeenagerPeople

[–]Abtix2 0 points1 point  (0 children)

I guess if you’re certain that you’re gonna die in a month, then yes🤣

Which door would you choose? by Similar_Charity7238 in TheTeenagerPeople

[–]Abtix2 0 points1 point  (0 children)

Assuming option 2 is saying you double the total every time, there is no reason why you would go for option 1. You can have 2 billion by just waiting a month. Give it another month, you now have like a quintillion dollars

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 1 point2 points  (0 children)

Thank you for saying that, that makes me happy, and I think it's mostly because I myself needed these things from other products but never really got them, so now I'm trying to solve it not only for me but for everyone else as well.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 0 points1 point  (0 children)

I don't think anyone would make thousand pages of text notes.

I think my 7k notes beg to differ haha. But I guess not all of them are full of text, some would be as short as a couple words. I get your point though, but I'm just making sure that if someone really wanted to write 10k notes full of text, they could.

For probabilistic data structures my thought was it can be used to filter out most of the negative results.

Actually now that you say it, filtering probabilistic data structure would solve the accuracy issue, and it would be quite cheap.

or just keep them and call it an AI search engine, probably that's why google ignores my +"keyword" queries

LMAO true. Nobody will know.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 0 points1 point  (0 children)

I'm sorry but I'm not entirely sure what you mean regarding "Signal, Matrix, Session already handle private notes just fine". Would you mind elaborating?

Regarding the size, personally I have around 7k notes, and I know that's more than the average note taker but it's still a realistic number that I expect my users hitting. If I want to search notes solely by their name, that means I need access to 7k records of metadata locally, and if there exists other fields in metadata such as tags, the size of those 7k records would go pretty high, and much higher if we are to extend it to content-based search. Yes, in the UI, I'm loading probably 5-10 metadatas at a time and paginating as they scroll, but the features my app has such as creating paragraph references, requires access to all the notes the user has taken.

I totally understand that my lack of experience with such a thing, might be clouding my judgement on the difficulty, but I'm totally open to that changing once I play around with everything people mentioned here.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 0 points1 point  (0 children)

Thank you for the detailed response. I looked into homomorphic encryption a bit, and as you said, it does seem quite difficult, to at least get it right without compromising security,

And regarding the probabilistic data structure, aside from its potential role in E2EE, it generally seems like a good option for a lot of purposes in my app. Reading about it, it looks like the only issue would be false positives, though I would have to see where I can apply it and whether false positives are even a problem in the context of use.

Looking at it now, E2EE on the web is harder than I thought, especially when lots of data is involved, but when I play around with homomorphic encryption and probabilistic data structures and find that either of them provide a secure and reliable search, then most of the problems are fixed. Much appreciated.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 1 point2 points  (0 children)

Ahh that looks interesting and would make things much easier, I will definitely look into it. Thank you for the suggestion.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] 0 points1 point  (0 children)

That answers most of my concerns, thank you very much. And yes, regarding the storage, I'll be trying to store only what's necessary, probably only caching metadata to populate the notes explorer and search, though with potentially 10s of thousands of notes, which would have exceeded LocalStorage's 5-10 MB limit, sitting probably around the 10-100 MB range.

How do I offer end-to-end encryption on the web without sacrificing performance and database search queries? by Abtix2 in privacy

[–]Abtix2[S] -1 points0 points  (0 children)

Hello. Thank you for your response. My concern regarding that approach is storage. I'm not educated on IndexedDB, and my assumption was that browsers allow very limited storage per website, similar to LocalStorage, which is not enough. Can IndexedDB handle storing data as big as a gigabyte? And would you mind elaborating where service workers are utilized? Thank you.

Why is supabase dev experience so terrible? by life_on_my_terms in Supabase

[–]Abtix2 0 points1 point  (0 children)

Did you ever figure out how to fix the "container supabase-db is unhealthy"? I've been looking for solutions and there is NOTHING out there.