Hacker Newsnew | past | comments | ask | show | jobs | submit | barhum's commentslogin

I am trying to build a SAAS service for booking services. One of the engineering issues I ask myself is if the following will become an issue in the future: do I save all the options of slots available I show each customer in the database or do I just calculate the slots virtually and save only the confirmed bookings?


May I ask you why you would want to store booking slots? I think the right approach is to recalculate available booking slots everytime (via the nettu-scheduler api) a customer asks for it. And then also store the confirmed booking timespan as a calendar event in nettu-scheduler so that the instructor will not be bookable again during that time. You can have a look at this example: https://github.com/fmeringdal/nettu-scheduler/blob/master/ex...


Well, I was thinking of saving the booking slots presented to the customers for data purposes. Also, I was thinking that it might help to store the presented slots in case someone else books it before the person decides to reserve. This way eliminating the option in realtime might be easier and without having to recalculate all the remaining available slots again? But maybe there is a better solution to this....


Have you tried Dokku? Very similar to Heroku. I run it on a DO server without any issues.


For myself I would prefer a solution were I would still die but can retain all my functions until that day (mental performance, muscle mass, strong bones, bodily functions, etc).


It would be great if Google drive wouldn't use up my MacBook's battery so fast. All the time my cpu usage is at 100% when using Google Backup and sync. Something that other competitors have managed to do better than Google. Using dropbox at the moment.


Dr. Walker has actually stated that very few people can operate with 5 hours of sleep due to genetics. Most of us need between 7 to 9 hours of sleep.


You're also more likely to get struck by lightning than be one of these people.


In bed?


Most people just act irrational and maybe can't really see how much you actually contribute to the organization. We humans are really biased when it comes to choices.

I would read these two books:

How to Win Friends and Influence People

Thinking Fast and Slow


She said the following a while back:

"I think that the minute that you have a backup plan, you've admitted that you're not going to succeed."

I bet she wishes she had a backup plan now...

http://www.inc.com/deborah-petersen/elizabeth-holmes-avoid-b...


Their backup plan was already executed: they switched from their testing methodology to acting as a service provider for somebody else's testing methodology (http://www.businessinsider.com/bill-maris-explains-why-gv-di... """So, we just had someone from our life-science investment team go into Walgreens and take the test. And it wasn't that difficult for anyone to determine that things may not be what they seem here."

That employee found that when he went to get a test done, Theranos wanted more than just a drop of blood in one of its "nanotainers." He denied a full venous blood draw, and ended up getting called back a week later because they wanted him to give more blood.""")


Were they even able to get their Edison device into a functional state?


it was approved for a single test. http://fortune.com/2015/07/02/theranos-fda-approval/ dunno if they ever got the device in a functional state, outside of extremely controlled conditions in a lab.


Thanks for the great tip. I will email you when I have the draft post ready!


Why don't you try out Meteor? I found it really easy to work with. You could probably go through the whole book tutorial (discovermeteor.com) in 20 hours. If you don't end up using it on production; it might help you with faster prototyping.


Write a public domain song called "Joyful day of birth to you"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: