News for hackers. Stuff that matters.

shubh2336

Ask HN: Best open-source projects to learn from?

What are the best open-source projects / snippets of code that caught your attention? I understand that there are different criteria when someone classify something as best / beautiful. I mean below properties when I mention the word 'best' -a) Solves a real problem b) Relatively easier to understand c) Relatively easier to modify / extend d) Relatively easier to test e) Has seen an...

( Read More... | 3 comments | on HN )
Re:Ask HN: Remote co-founders, yay or nay? on Thursday September 30, 2021 @02:03AM (#28703645)
I would say no.

I would advise never to start with a distributed team. Sure we have the tools & technologies to shorten the distance & the communication-gap, but nothing beats the in-person talk where people can tap on your shoulder to discuss ideas, disagree with you & informally communicate with you. Once you enable the team to take decisions on their own without your active involvement, that would be an appropriate time to go distributed. My learning is that the team has to be decentralised (in decision-making) before it's distributed. Otherwise, founders could end up becoming the bottlenecks in startup's growth.

Please take my opinions with a pinch of salt as I've never been a founder myself, but I was part of a geographically distributed founding-team member of a startup, which got acquired ~3 years ago.

Ask HN: Blogs/YouTube Channels on Cancer?

Are there any blog/Youtube Channels on Cancer? My family is fighting this deadly disease & except a few bits of info here & there I'm struggling to gather a comprehensive set of information about this disease. Communication with doctors is another challenge where a bunch of medical terminology frequently comes up in the conversation which I've no clue about. I guess, oncologists in my...

( Read More... | 3 comments | 3 points | on HN )
Re:Principles and Techniques of Data Science on Friday April 26, 2019 @07:00AM (#19756217)
Shouldn't joins be explained as cartesion product instead of venn diagrams [1] when co-relating with sets?

[1] https://www.textbook.ds100.org/ch/05/cleaning_structure.html...

Re:Postgres data types you should consider using on Thursday August 30, 2018 @01:09AM (#17874221)
I struggled with this dilemma for a long time. Have tried three approaches.

In one approach, enum columns were integer columns in db & we relied on ActiveRecord's (RoR) enum definition to map string values their integer representation. This created issues for our (separate & independent) internal application which was feeding off the read-replica.

In second approach, enums were defined as db-types. This solved most of issues seen with the first approach, but again sql-migration for maintaining the enum-values was another pain-point. Though it was not as painful as i thought, as the enums didn't change very frequently.

In third approach, used a separate table to maintain enum definition. If the column has a wider presence then, additional join might prove relatively costly compared to second approach.

Currently, we follow a mix of last two approaches.

Re:We Don’t Run Cron Jobs (2016) on Thursday August 23, 2018 @11:45AM (#17828200)
We use Sidekiq's scheduled jobs[1] to replace the cron dependency in our codebase. Did you try it before opting for Sidekiq Cron?

[1]: https://github.com/mperham/sidekiq/wiki/Scheduled-Jobs

Ask HN: How do you optimize your shower-thoughts?

I have wondered a lot about the kind of thoughts I have during shower. On most days, I find the best alternative solution to the problem I'm stuck upon for hours (personal or professional ones).How many of you go through the similar experiences everyday? And if it's a common phenomena, how do you make sure that you're thinking on the right problem at the right time?

( Read More... | 2 comments | on HN )
Re:Ask HN: 2018 resolutions? on Monday January 01, 2018 @12:40AM (#16044877)
Contribute to an open-source Project.

Read at least 30 books from my reading-list (mostly non-fiction).

Run a half-marathon by mid-year.

Travel to an unknown place unplanned.

Re:Arthur Schopenhauer on the Dangers of Clickbait on Monday October 16, 2017 @03:19AM (#15481428)
True, i got myself clickbated reading the title!
Re:John Scalzi: Being Poor (2005) on Friday August 18, 2017 @05:14AM (#15044676)
Barring a few instances, feeling of being poor is similar in a developed economy vs a developing one. I'm experiencing this in a South Asian country-

Being poor is falling in a debt-trap no matter how financially disciplined you are.

Being poor is calculating your income & expenditures everyday and dreaming you would break even in the next month for sure.

Being poor is trying to avoid the worst days your loved ones have seen.

Being poor is going to work even if you feel sick.

Being poor is not knowing why you are so poor.

Re:Ask HN: What do you do while your code compiles? on Wednesday April 26, 2017 @12:34PM (#14204533)
I guess that's one of the advantages of interpreted languages over compiled languages.

I spend no time waiting for compilation to happen (ruby). I used to spend a lot in my previous job (C#), where the time was utilised (wasted) in going through blogs/articles.