shekharshan's comments

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: 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: 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 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: 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

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.
page 1