shekharshan
|
5 years ago
|
on: Magic mushrooms are changing the lives of terminal cancer patients
You can become aware on your own by accident. In fact a lot of us do that. Remembering to be aware means there is a muscle memory that does automatic mental state check, there is an intention behind this state check.
shekharshan
|
5 years ago
|
on: Magic mushrooms are changing the lives of terminal cancer patients
I would recommend unvarnished Buddhism, not mindfulness in a pill that is being taught by these crazy apps. Buddhism teaches mindfulness in the context of wisdom and morality, not just mindfulness. Moreover the word itself is a horrible translation of the Pali word “Sati” which means “remembering to be aware of the state of your mind”. The key is “remembering to be aware”, not just “awareness”.
shekharshan
|
5 years ago
|
on: CQRS: Command Query Responsibility Segregation (2011)
To give a more concrete example, we have a single Angular app. The app has two areas, one where the user can search for records using free text while another where the user can create or update records. Our source of truth is a Postgres database where all updates and inserts are sent using a microservice. The data flows from Postgres to Elasticsearch using SQS in AWS. The Angular app then queries Elasticsearch using a different microservice. So essentially our command domain model is separate from our query domain model.
shekharshan
|
5 years ago
|
on: A Coronavirus Vaccine Could Kill Half a Million Sharks, Conservationists Warn
@yes_man, mammals capable of same emotions that humans have, are brought into this world just so that they can be stacked on top of each other in horrid conditions for 1/10th of their natural lifespan in order to be slaughtered and fed to a species that is dying of obesity anyways.
shekharshan
|
5 years ago
|
on: A Coronavirus Vaccine Could Kill Half a Million Sharks, Conservationists Warn
It’s more upsetting to know that over 2.7 million are killed for cosmetics. Humans truly know how to dispense misery on mass scale.
shekharshan
|
5 years ago
|
on: The Gap: Where Machine Learning Education Falls Short
The author highlights not teaching enough mathematical theory behind the various techniques. I have tried Andrew Ng's course on Coursera. It uses Octave from what I remember. After a point the lack of mathematical background started to show up. I have always wondered where can I find course that teaches both the mathematical background as well as the hands-on programming in a balanced way.
shekharshan
|
5 years ago
|
on: Effects of Time-Restricted Eating on Weight Loss and Other Metabolic Parameters
Precisely. If I fast for 16 hours it does not do much. As a male in early 40s I have to hit atleast 18-20 hours of fasting to start seeing a difference. I have to restrict sugar intake also during the 4-5 hour eating window.
shekharshan
|
5 years ago
|
on: Good sleep, good learning, good life
TL;DR! For me, I can always fall asleep within 5-10 minutes of lying down. However on some nights I wake up EXACTLY between 3-4 hours fully energized as if I had 7-8 hours of sleep. Then going back to sleep becomes a problem. This typically happens if I stay on my laptop after 8 pm and particularly if I spend time coding after 8 pm. I am a morning person.
shekharshan
|
5 years ago
|
on: Why the Arabic world turned away from science (2011)
The more strong your faith the more likely you are to suppress reason with violence, particularly when reason challenges strongly held beliefs.
shekharshan
|
5 years ago
|
on: Hiring for tech jobs has increased more than 100% in these Midwestern cities
"Take him to Detroit"!!
shekharshan
|
5 years ago
|
on: Why do we use the Linux kernel's TCP stack? (2016)
To implement file system in userspace or TCP stack in userspace how does the process invoke the device driver? I am sure the Kernel steps in at some point. What system calls would you invoke from userspace TCP stack to access the NIC?
shekharshan
|
5 years ago
|
on: Ask HN: How did you get started in tech and/or Linux?
I got my hands on “Computer Systems: A programmer’s perspective” and it brought together hardware, compilers and C programming language in context of Linux. That was it and I was hooked.
shekharshan
|
5 years ago
|
on: Staff at Top Tech Companies Less Liberal Than Often Assumed, Biden survey
As a developer I try to understand issues and the factors/context behind those issues. My take is most developers tend to do that. If you act like that you cannot possibly be conservative or liberal. I have a hard time categorizing myself.
shekharshan
|
5 years ago
|
on: Seeing Theory: A Visual Introduction to Probability and Statistics
A couple of years ago I was just learning Python and was playing around with matplotlib. Running simulation of a dice roll 100, 1000, 10,000, 100,000, and 1,000,000 times started to show how the distribution starts to catch up with the expected 1/6th probability of each face. I was thinking how good it would be to teach young students this way.
shekharshan
|
5 years ago
|
on: Database Version Control with Liquibase
Thanks, that is really great. I didn't know about that one.
shekharshan
|
5 years ago
|
on: Database Version Control with Liquibase
My organization is a big fan of Liquibase. We execute Liquibase using Jenkins. It has a lot of awesome features such as ability to re-execute some changesets if file has SHA signature has changed. You can also decide to re-run some SQL files on every deployment. For example we run ANALYZE on our Postgres RDBMS at each deployment, just to ensure that as part of deployment the stats is updated for the query planner.
shekharshan
|
5 years ago
|
on: I no longer build software
I don't miss pre-2000 days when an admin would bounce the Linux servers and not bother to add a startup script for our JBoss or Tomcat servers in their service startup scripts. Our web servers would disappear for no reason from time to time and we would run around chasing the cause.
shekharshan
|
5 years ago
|
on: We need young programmers; We need old programmers
Focus on keeping your knowledge current. If you have sound grounding in modern stack from virtualization and up using containers and monitoring, I don't see why you should worry about anything. Always be ready to code and even be ready to get your hands dirty with RDBMS query plan troubleshooting.
shekharshan
|
5 years ago
|
on: Fasting improves chemotherapy results and protects from side effects: study
Thanks @voisin, this is very helpful.
shekharshan
|
5 years ago
|
on: Fasting improves chemotherapy results and protects from side effects: study
In my own Sangha (community) of lay people, we have several who observe the 8 daily precepts. Every retreat I have gone to, I have never seen monks eat more than one meal a day.