HNHacker News
TopNewBestAskShowJobs

samrohn

981 karma · joined November 26, 2018

python dev/data engineer/skeptic
submissionscomments
samrohn··on Shakuntala Devi – The Human Computer (2016)
Here is a 1977 video of Shakuntala Devi's demonstration on national television https://www.youtube.com/watch?v=MGBTHb0FigI
samrohn··on Designing Event Driven Systems Book
Choose epub or Mobi - which do not require email signup
samrohn··on Ask HN: Do you follow TDD at work?
Interesting perspective. I was watching this talk and thought there should be a way to do this https://www.youtube.com/watch?v=EZ05e7EMOLM
samrohn··on Ask HN: Do you follow TDD at work?
I know the exact expected behavior before I start coding. But I am having trouble translating that expected behavior into my TDD test cases. For example. an expected behavior could be the functionality I am building should periodically look into database, compute some metrics and then generate a report. This is a broad piece of expected behavior, unlike a unit test when you test small functionality. As per the TDD principles, it is advised to write tests at your interface and avoid any dependency on your implementation details as these may change in future. I am having a hard time trying to understand how do I do this for the use case I just mentioned ?
samrohn··on Slack was down
Makes sense. I recollect some of the postmortem reports I read where live config changes triggered cascading outages.
samrohn··on Slack was down
If anyone is curious about their deployment process https://slack.engineering/deploys-at-slack-cd0d28c61701?gi=e... Seems hard for a new deployment to cause a global outage since they do a phased deploy. Could be some network glitch causing this issue. We never know until they come up with an update.
samrohn··on Ask HN: How do you keep notes of things you learn
I use https://colab.research.google.com/ for long form notes like setup instructions, code snippets Anything small, I use google keep
samrohn··on Ask HN: I would pay 100$/Mo if you can solve this problem
I would suggest something basic. Take a print out of monthly habit tracker from here: https://tealnotes.com/free-printable-bullet-journal-habit-tr... and add the goals/ habits you want to achieve. Put the goals in the order in which you want to do every day. Stick it on your wall such a way that it is very visible to you (this matters as this act a reminder for you). Every day check this list off. I have tried a lot of things in the past, and found this approach the most effective.
samrohn··on We use Kubernetes and spot instances to reduce EC2 billing up to 80%
Yes. We ran into this early on. Setting your bid price(maximum price you are willing to pay for the resource you are spinning up) higher than the average spot price do not protect you against instance termination. Also even if you place your spot bid price at current on-demand price (you only get charged at the current spot market price) your instane will be terminated if there is no resource availble in the spot instance pool. For example, you have spin up an ec2 instance with 100 GB RAM with type spot instance, with bid price set to the on-demand price. If someone else spin up a 100GB as on-demand instance type- if there is no resource left in spot pool, your instance will be terminated.
samrohn··on Uber sells food delivery business in India to Zomato
Ubereats user from India here. Just opened the Ubereats app and it says "your account is now set up on Zomato" and directing to Zomato app. Looks like they completely shut down the app and moved their operations to the Zomato app.
samrohn··on Ask HN: Who wants to be hired? (November 2019)
Looking for remote part time work Location: India Remote: Yes Tech Stack: Python, Pandas, Kafka, Kafka connect, AWS, Cloudformation, Jenkins, Elastics search, ELK, Docker Email: samrohn77[at]gmail.com
samrohn··on Ask HN: Highest quality resources about anything?
AWS, Devops https://linuxacademy.com
samrohn··on Ask HN: How do you keep track of links/docs/assets relating to a project?
I use google colab IPython notebooks to keep track of my project related docs. https://colab.research.google.com/notebook
samrohn··on India Plans to Launch Moon Mission in July
The first mission in this series Chandrayan-1(https://en.wikipedia.org/wiki/Chandrayaan-1) had provided more evidence of presence of water on moon https://en.wikipedia.org/wiki/Lunar_water
samrohn··on Ask HN: What tools do you use for note-taking, progress tracking and TODO lists?
You can take a look at https://colab.research.google.com/ (hosted jupyter notebook from google) to keep your notes organised.
samrohn··on Ask HN: What are some of the best Python related talks that you have watched
These are some of my favorites: Clean Architectures in python: https://www.youtube.com/watch?v=DJtef410XaM Pandas from ground up: https://www.youtube.com/watch?v=5JnMutdy6Fw How to write actually object-oriented python: https://www.youtube.com/watch?v=VUvEDg30FyY It's Time to Learn Regular Expressions: https://www.youtube.com/watch?v=abrcJ9MpF60
samrohn··on Ask HN: Do you keep a personal knowledge repository?
Yes. Exactly. They can be used with local Jupiter notebook instance as well.
samrohn··on Ask HN: Do you keep a personal knowledge repository?
I use google colab (https://colab.research.google.com/notebooks/)for things like work notes on setting things up, any new tech I am learning. The best thing is it support code(python). Google keep(http://keep.google.com) for noting down any interesting thoughts/ideas/lesson I learn through out the day. I usually create a card per month to keep it organised.
samrohn··on Ask HN: Some good engineering blogs that go through the design process?
https://github.com/kilimchoi/engineering-blogs has a list of engineering blogs https://github.com/donnemartin/system-design-primer good resource into distributed system design
samrohn··on Google Maps Billing API Down, Breaking Website Relying on Their API
There is multiple issues going on https://status.cloud.google.com/ I am not able to access my cloud console / login to any of my machines on GCP from cloud shell
samrohn··on Google Cloud Console Broken
yes. Not able to access any of the services deployed on GCP from web console. Random pop-up says "The server has timed out while trying to process your request."
samrohn··on Ask HN: Do you keep a journal of ideas?
Yes. I use google keep for keeping interesting ideas. I also have one card created per month to note down important lessons I learned that month personally and professionally.
samrohn··on 800M Email Addresses Leaked Online by Email Verification Service
catch-all domains cannot be validated this way. The only way(wrong) to verify them is to send a real mail and see if it bounces.
samrohn··on Google Search Operators: A Complete List (2018)
yes. This is true. https://youtu.be/o6zfp6lRw2E?t=89