Readit News logoReadit News
barhum commented on Show HN: Nettu Scheduler – A self-hosted calendar and scheduler server   github.com/fmeringdal/net... · Posted by u/fmeringdal
fmeringdal · 5 years ago
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...
barhum · 5 years ago
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....
barhum commented on Show HN: Nettu Scheduler – A self-hosted calendar and scheduler server   github.com/fmeringdal/net... · Posted by u/fmeringdal
barhum · 5 years ago
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?
barhum commented on We Don’t Use Docker   launchyourapp.meezeeworko... · Posted by u/mundanerality
intellix · 5 years ago
Unfortunately I also had to waste my time learning containers when all I wanted was Heroku without the insane prices for addon services. For delivering just apps I think Cloud Native Buildpacks solve that: https://buildpacks.io/
barhum · 5 years ago
Have you tried Dokku? Very similar to Heroku. I run it on a DO server without any issues.
barhum commented on Who wants to live for ever? Ageing can be cured–and, in part, it soon will be   economist.com/books-and-a... · Posted by u/jkuria
barhum · 5 years ago
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).
barhum commented on Google One is coming soon   one.google.com... · Posted by u/tvvocold
barhum · 8 years ago
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.
barhum commented on Health dangers of sleep deprivation   independent.co.uk/life-st... · Posted by u/pmoriarty
barhum · 8 years ago
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.
barhum commented on Ask HN: After working 70+ hrs a week my manager says no for promotion    · Posted by u/ye55gi5
barhum · 9 years ago
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

barhum commented on Theranos Executive to Depart Amid Regulatory Probes   wsj.com/articles/theranos... · Posted by u/joering2
barhum · 10 years ago
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...

u/barhum

KarmaCake day720September 5, 2013View Original