Live data from Hacker News

Twake Drive – An open-source alternative to Google Drive

github.com

91–100 of 219 posts

Re: Twake Drive – An open-source alternative to Google Drive

#91
post #75

58.9% TypeScript and 32.6% JavaScript wouldn't be my first preference to implement such a high performance and throughput demanding application? Why is that?

Maybe ask all the startups looking to scale their TS\JS microservices "stack" using event driven architecture.

Re: Twake Drive – An open-source alternative to Google Drive

#92
post #80

Open source drive tools live or die on three things. 1) Simple sync that never surprises. 2) Clean conflict handling you can explain to a non tech friend. 3) And zero drama upgrades. If Twake nails those and keeps a sane on prem story with S3 and LDAP, it has a shot. The harder part is trust and docs. Clear threat model. Crisp migration guides from Drive and Dropbox. And a tiny CLI that just works on a headless box.…

I'd add a fourth; "Make it easy to do backups and verify they're correct".

I don't think I've ever considered a data store without that being one of my top concerns. This anxiety comes from real-life experience where the business I worked at had backups enabled for the primary data store for years, but when something finally happened and we lost some production data, we quickly discovered that the backups weren't actually possible to restore from, and had been corrupted this whole time.

Re: Twake Drive – An open-source alternative to Google Drive

#93
post #68

Earlier quoted context omitted.

As for the permissions, using ACLs would work better here. Then you don't need a separate group for every grouping.

TIL about ACLs! I think that would nicely solve the group permission issue.

The final project for my senior year filesystems class thirty years ago was to implement ACLs on top of a SunOS 4 filesystem. That was a fun project.

Re: Twake Drive – An open-source alternative to Google Drive

#94
post #19
post #7

In TypeScript, interesting. Not the obvious choice IMO but trying to keep an open mind. Was that because of team expertise or particular aspects of TS you thought suited the domain?

since it's I/O heavy an async web-oriented stack (ie. NodeJS) makes sense, and then TS is an obvious improvement over raw JS, and if the frontend is also JS/TS then at least there's some chance that expertise can be shared

The problem is such systems are also CPU heavy, with extensive hashing, encryption, and really quite a lot of general paperwork, and as such, a system that can efficiently use multiple CPUs is really important. I guarantee that plenty of Twake installs are absolutely spending a ton of time blocked on CPU, both because of the multithreading, and the general 10x-slower-than-C you can expect from Javascript on general code.

Javascript was a poor choice that will hold the project back just as choosing PHP for the base has done and continues to do a lot of damage to NextCloud/OwnCloud. This is not a task for a scripting language, because they're disqualified on performance. It's also not a task for dynamic typing, and using Typescript can help with that, but it doesn't change the fact that Javascript is just generally slow and does not play well on multiple CPUs.

Re: Twake Drive – An open-source alternative to Google Drive

#95
post #76

I built something similar years ago. These are terribly hard to build, so I did a bit of digging. 1: This appears to be backed by a French company called Linagoria. I don't know much about the company, but they've been around for a bit. 2: I experimented with Mongodb for the similar product, and it turned out to be very unreliable. A lot can change since I used Mongodb, but in general, I'm weary of any product that u…

I’ve had similar warnings from multiple very senior devs to never go near mongo. So better explain that choice if you’re wanting adoption. Reliability was the concern.

Re: Twake Drive – An open-source alternative to Google Drive

#97
post #75

58.9% TypeScript and 32.6% JavaScript wouldn't be my first preference to implement such a high performance and throughput demanding application? Why is that?

> 58.9% TypeScript and 32.6% JavaScript

Isn't that just 91.5% JavaScript?

TypeScript is not real.

Re: Twake Drive – An open-source alternative to Google Drive

#98
post #62

Earlier quoted context omitted.

> Looks like there is a single commit where a majority of the code came from. I do this all the time, right before open sourcing a project. Basically while it's private, commit quality can be a bit rough, and if I want to open source it, I'll remove .git, make a new init commit then open source it. No one needs to see what I do in my private abode :)

The history of the development since its beginning can help a lot in studying the code, so I encourage people to avoid the single commit as much as possible. It's much better to refactor (rebase) the messy commits, removing the personal or embarrassing stuff; although that might result in a "false" history, a series of smaller-sized commits will usually be much easier to follow than reading a whole code base all at o…

I promise you're not missing much, except some commits that are implementing something, reverting it, implementing it again slightly differently, fixing typos, replacing 80% of the codebase in one swoop and similar stupid and un-needed stuff.

If the project is from the get-go supposed to be a long-lived project (like professional development for a business) then I agree, don't smoke the entire history no matter how embarrassing it is.

But for my personal projects, I can let you know that having access to the git history before I made it FOSS will make you dumber rather than being helpful for anything, compared to one clean starting commit.

Re: Twake Drive – An open-source alternative to Google Drive

#100
post #96

If you want to increase adoption, change the name: https://www.paulgraham.com/name.html TDrive would work

> If you want to increase adoption, change the name: https://www.paulgraham.com/name.html

> If you have a US startup called X and you don't have x.com, you should probably change your name.

But they do own https://twake-drive.com/ already? What exactly is your point here? Either you misunderstand the linked article, or I do. But seems people would be able to find that just fine if they search for, as twake-drive.com comes up as the first result when I search for "Twake Drive".

Besides, Graham's articles are almost always geared towards startups in one way or another. This doesn't seem to be that, so not sure I'd even try to read it if I was the owner of Twake Drive.

Post reply on HN