Readit News logoReadit News
abhimanyugrover commented on Ask HN: Founders who offer free/OS and paid SaaS, how do you manage your code?    · Posted by u/neya
ezekg · a year ago
I have a single code base [0] for the self-hosted editions and for the SaaS. I split features up across two editions: community edition (CE) and enterprise edition (EE), and then also two modes: singleplayer and multiplayer (single- vs multi-tenant). The switching is done via environment variables, KEYGEN_EDITION and KEYGEN_MODE. The SaaS offering actually runs the EE edition in multiplayer mode, and is right now the only instance of the EE edition in multiplayer mode (other EE customers are entitled to singleplayer only).

I've been running this set up for about a year [1] and it's working well. Having a single code base was a requirement before I made the project fair source [2]; the fair source ELv2 license lets me add feature gates to facilitate this, while protecting me from forks giving away EE features for free (while still allowing forks).

Updates are pushed to the SaaS offering daily. I cut self-hosted releases bi-annually unless it's for a critical fix.

[0]: https://github.com/keygen-sh/keygen-api

[1]: https://keygen.sh/blog/all-your-licensing-are-belong-to-you/

[2]: http://fair.io/

abhimanyugrover · a year ago
Say if someone copied your codebase tomorrow, and rebranded it as a competing solution and started advertising on same places as you are, what do you do?
abhimanyugrover commented on Sleepless in Silicon Valley   economist.com/business/20... · Posted by u/lxm
not_a_moth · 6 years ago
Matthew Walker, probably the best known sleep scientist, has been critical of Oura and pretty much all the sleep trackers for sleep phase data. Unsurprisingly, it's difficult to guess at brain EM wave patterns from a band on the finger, wrist, etc.

I'm 6 months on Oura, and I don't think it's actually that consistent, i.e. I don't think you can say "Oura shows 50% more deep sleep today, so even if the base mumber is wrong, I must have gotten 50% more deep sleep". I wear a fitbit to cross validate each night, and the readings on both often contradict each other seemingly arbitrarily, night to night.

Overall I've found they're great for tracking overall sleep time (HRV, heart rate, temp too) but I don't read too much into the actual sleep phase data. (Day-to-day self asessment of cognitive performance is probably the best proxy.)

abhimanyugrover · 6 years ago
> Day-to-day self asessment of cognitive performance is probably the best proxy.

How do you do that?

abhimanyugrover commented on Entrepreneurism Is Overrated   greyenlightenment.com/ent... · Posted by u/paulpauper
pxue · 6 years ago
I think the author fail to distinct between how "entrepreneurism" and "venture backed business" differ.

A one man consultancy operation is as much entrepreneurism as serving billions of users world wide.

I think we have this misconception that success mean you need to have hockey stick growth on bunch of metrics, anD that you must make your investors 10x return on their investments.

Fundamentally the wrong approach. As an entrepreneur I don't strive to "make money", I strive to learn, adapt, and survive. Money and success depends solely on how well I can iterate those three things.

abhimanyugrover · 6 years ago
> As an entrepreneur I don't strive to "make money", I strive to learn, adapt, and survive. Money and success depends solely on how well I can iterate those three things.

Beautifully said!

u/abhimanyugrover

KarmaCake day4June 20, 2011View Original