HNHacker News
TopNewBestAskShowJobs

subhobroto

626 karma · joined January 2, 2012

Like something I said? Hate something I said? Want to talk more?

Feel free to reach out: my handle at gmail.com

Writings from 10 years ago: https://www.quora.com/profile/Subhobroto-Sinha-1

submissionscomments
subhobroto··on Remote work means anyone can take your job
> so we aren't ruining society in a race to the bottom

Nope.

What is going on here is the person from India gets to now enjoy a much higher quality of life (because 50% of a U.S. salary gets you a lot in India) while the person from California sees their effective take home pay decrease (because their costs continue to grow but not their salary)

Definitely not a race to the bottom but it sucks to be the person from California.

subhobroto··on Remote work means anyone can take your job
> Also, some states, like CA, are very unfriendly which regard to the extra costs required for employees in terms of benefits, wages (salary exempt) and classification of employees with the ABC test [1], so the wins that states make for employees incentivizes many employers to look elsewhere instead.

This is exactly right.

People seem to think all these regulations are doing them a favor and increasing their freedom but what's actually happening in reality is pretty much the opposite.

It's now literally cheaper even after accounting for delivery risks to hire people from Tennessee, North Carolina, etc.

subhobroto··on A third of Americans now show signs of clinical anxiety or depression
> out-of-pocket max

> yes, for international folks, people in the US

That's not the end of it. There's an "in network" deductible and "out of network" (OON) deductible.

Depending on the health plan you have and the state you live in, the hospitals can also "balance bill" if they are OON.

When giving birth, parents in the U.S. is very much expected to ask everyone involved, I repeat, everyone involved that they are not OON.

It's insane.

subhobroto··on 8GB Raspberry Pi 4 on sale now at $75
> Routers can do it, but it's hardware accelerated and won't generate packets at that speed

Yeah,

Are there any SBC with an off-CPU networking fibre/module?

What I am building are LTE enabled ethernet bridges.

The closest fits that I have found are router boards but most of them don't come with mini PCIe ports that I can connect LTE modems to.

There are a few proprietary router boards but I was thinking there could be other options - you would likely know!

subhobroto··on 8GB Raspberry Pi 4 on sale now at $75
> single board computer that would be suitable for just shoveling data on the network at close to 10gbps

I am also interested so here's what I have found:

We want a SBC with an off-CPU networking module.

You don't want to tie up the CPU shuffling data bits for networking - there are now cheap and dedicated modules for that.

Most of what I have found are 1gbps Broadcom modules.

My issue is that the closest fits that I have found are router boards.

Please reach out if you can, would love to solve this myself.

subhobroto··on Software will eat software in a remote-first world
> Most of my consulting customers can't even express the problem they are trying to solve

I keep on repeating this here on HN and everytime I mention it I get downvoted to hell.

Programming is not intuitive. Iteration is not intuitive. Object design is not intuitive.

If someone gave a random guy a bunch of 2x4 and 2x6 studs and asked them to make a wall, they won't even know where to begin.

Software is way more complicated than building a frame and bolting drywall on.

subhobroto··on Software will eat software in a remote-first world
Brilliant!

> English to Mandarin is easy if both people are also fluent in Hindi

This is so true. In one of my tasks as a consultant at a law firm, this is literally what happened when working on a plaintiff side case.

A partner spoke Mandarin, Japanese and Hindi while I spoke English, Hindi. We were called upon by translators a lot to proof eDiscovery case files.

subhobroto··on Ask HN: Do you still use MongoDB?
KeyValDB -> a pseudo adhoc Key Value store on a DataBase
subhobroto··on Ask HN: Do you still use MongoDB?
> but you're not going to listen to me (since you didn't the first time either)

I listened to what you had to say the first time (which is why I responded to it) and will continue to listen to what you have to say. My contact info is on my profile.

> Please stop assuming that people who don't agree with you are doing so from ignorance

I make no such assumptions.

I shared why I think the JSON blob on a RDBMS causes more pain than it solves and I look forward to your refutation of everything I wrote.

My contact info is on my profile and I keep it there because I like to know where I am wrong.

Have a great weekend and look forward to connecting with you

subhobroto··on Ask HN: Do you still use MongoDB?
> I much rather build upon the relative robustness and consistency of the sql I got so far, than JSON that is all over the place.

Yup.

> almost every time I made a JSON column in Postgres for the sake of saving time in the past, it slowed me down almost immediately after adding it

Backs my experience fixing software from companies that had terrible data loss issues after these JSON hacks reared their ugly head.

I am not saying JSON does not belong in a DB - I have many well tested and audited code that does do that. What I am saying is I have seen things go wrong far too much, for me to trust that someone who proposes that approach to actually know what they are getting themselves into.

Plus, it's way cheaper to use a custom built KeyValDB that actually supports object semantics if one does not mean to use RDBMS semantics.

Anyways, I am being severely downvoted and cant respond until a few hours between posts so I wont be responding any longer on this thread as I have a lot of work to do the next few days and cant wait around.

See my other comments. Contact info in my profile, would love to be in touch!

subhobroto··on Ask HN: Do you still use MongoDB?
> This is not true.

Everything or certain parts of it?

> Using the JSON-to-SQL workflow, I can mess around with feature design and iterate fast, and then crystallise the schema into SQL once it has stopped changing.

Sure, you're experimenting and things are in a state of flux.

I get it. Been there done that, but not in production.

Your customers want features over reliability. This is perfectly OK at a startup - the customers already depend on a system elsewhere but that system does not meet all their needs so they are experimenting with you but if your company runs to the ground tomorrow, they still have not migrated 100% over to you, so they are "safe". If your software loses data, they probably won't even notice until they really start to move over for real and lose money (if they did not do testing for consistency).

In your position I would be honest and say data can be lost or corrupted and thats the price I am willing to pay for flexibility given the resource constraints I have.

It's too expensive to do things properly and customers don't really want that reliability so we can take some risks.

However, it would be naive to say you just designed an ACID complaint KV store by implementing some adhoc KV operations using JSON columns in a RDBMS.

I make a lot of money based off the disasters software like this creates when the original architect of such a system have "moved on" to other companies.

Data corruptions, losses, inconsistencies, meaningless key relationships, subpar performance (one place had two columns - an ID and a JSONB and were wondering why their query performance was poor, the DB locked so much and some updates never appeared to go through or "reset" the data).

There are KV-stores out there, that sell for a pretty penny, handle all KV conflict scenarios natively without the KV-store client having to worry about it (and doing a halfassed, buggy job about it because they are not DB designers and might not even know the bombs they are planting in their code. Maybe ignorance is bliss?). These systems have conflict resolution algorithms, offer CRDTs for the clients to use and engineers who know what they are doing, use them.

> The feature may not even make it to production

Feel free to do whatever you want with code that never makes it to production and affect people's livelihood.

I would argue you don't even need a DB to give you the warm fuzzy feelings and just do everything in memory.

Afterall, memory is cheap and configuring a DB correctly can get too expensive.

As an aside - if you're working at a company that regularly pushes features that do not even make it to production, there's a miscommunication issue.

Your business is bleeding money.

This is not to say overall, your business is not profitable - its just that it's bleeding money in that specific project and other more profitable ones are making up the slack.

At the minimum, the deliverable should be broken down into a POC and, when it's clear a production need absolutely exists, that POC is delivered production ready.

> Writing solid migrations can end up being more complex than the feature code itself

Sure, thats the price you pay for ACID compliance.

Nothing is free. There is no magic.

> I'm using it because the cost of changing the schema for a feature that may only be experimental is too high. I started off changing the schema every time, and it just got too expensive.

Again, you are free to do whatever you want in an experimental setup but we are talking production here.

If your proposal is you push the same design to production that you use in your experimental/POC setup, in a serious, well used and depended on production environment without anyone noticing, I would really like to know more! My contact info in the profile.

If your claim is you have figured out a way to get something for nothing - hmm.

The ROI of the businesses you help run just trended towards infinity!

subhobroto··on Ask HN: Do you still use MongoDB?
Hey there, thanks for reading my comments and sharing your thoughts.

> in my experience software engineers/data engineers/DBA with postgres experience are easier to find.

I need to understand what "postgres experience" means in this context. Having experience writing postgres client software using some postgres driver is a different kind of experience than installing, provisioning, monitoring and turning postgres itself.

The former is a days worth of work for any good engineer; the later can take decades and those people are really hard to find.

> you are still getting ACID transactions, envryption, user/access controls, backup/restore, libraries, etc

Sure, at a high level, making a KV-store on top of a RDBMS feels like a grand idea - hey you get ACID for free and all the RDBMS goodness while getting the flexibility of a KV-store to boot.

As they say - when something sounds too good to be true ...

One small scenario worth thinking about:

What does a KV-store on top of a RDBMS with ACID semantics even mean?

How do you handle merging objects?

Does the RDBMS even supporting merging objects inside a column?

What would happen if I have the different attributes in the same object that I then update one after the other into a JSON column on a RDBMS?

Does it fail one of the updates with an error message that data is lost?

Does it automagically merge the data? How does it even know how to handle conflicts?

Hint: No it cannot - the reason why a RDBMS can even offer ACID semantics is because RDBMS operations assume certain rules have been followed. Database Decomposition is important for a number of reliability reasons.

There are KV-stores out there that handle all these scenarios natively without the client having to worry about it (and doing a halfassed, buggy job about it because they are not DB designers). They have conflict resolution algorithms, offer CRDTs for the clients to use and engineers who know what they are doing, use them.

Using the right tool for the right job is what experienced engineers do because it not only makes their lives easier but the businesses they help run more reliable and resilient.

There is no magic.

subhobroto··on Ask HN: New software engineer, startup failing to pay salary. What do I do? (UK)
> If I choose to stay what should I be asking for in return for taking such a risk?

I think this is the primary question you are asking.

You are an experienced software engineer and with more and more companies looking to hire remote workers, your market reach is ever-widening.

In other words, you can find a better, higher paying, more challenging job anytime this week or the next.

So, the question you are really asking is what are the risks you are taking and what would you like in return for taking those risks?

We cant answer that question without knowing, among other things, what risks indeed you are taking - so what are they?

subhobroto··on Ask HN: Do you still use MongoDB?
> I never understood the appeal of the JSON to SQL columns workflow.

The appeal is non-technical.

Writing good migrations, having tests around them to ensure they didn't leave the DB in an inconsistent state if a subset of them failed requires good understanding of a RDBMS and the specific product.

You'll be surprised how many engineers don't meet that criteria.

The JSON to SQL columns workflow allows any developer to offload what a RDBMS does into the client/server/bootstrap code.

At that point the DB is like a key-value store and you get to claim you are using Postgresql.

Is that what I would use if I had reliability and performance in mind?

No... but it's way cheaper (and quicker) to find devs who can do this (JSON to SQL columns workflow) than devs who can write well tested, reliable and non hacky migrations.

Often at a startup, reliability and performance have lower priority than getting some features out the door in a day.

subhobroto··on Students are failing AP tests because the College Board can’t handle HEIC images
> It's because the software industry doesn't respect experience

Untrue.

They go and found their own companies.

Silicon valley literally started off with a engineer-manager who left Shockley Semiconductor Laboratory in 1957 to found Fairchild Semiconductor, because William Shockley, while a brilliant academic, was authoritarian and just sucked at managing people.

On the other hand, if the point you are making, is that the software industry simply has to respect experience because a lot of blood, sweat, tears and divorces were weathered by these engineers as they got manipulated and brainwashed - no.

Yes, it sucks that these engineers got manipulated and brainwashed but now they have the experience to detect manipulation and brainwashing and the divorces and health issues were the price they paid to gain this experience.

In summary - the best way to get the value you deserve is to start your own thing. Otherwise, complain all one wants but they will get the minimum someone else can get away with giving.

Everyone wants what is best for them, even your manager and the company they work for, which includes paying as little as possible for the labor they get.

The difference is called profit.

subhobroto··on Work-from-home boom leads to more surveillance
> How cute... telling yourself off.

Reality is what remains after all beliefs have been stripped away.

I did not respond to your comment as the grandparent made no sense - neither management, nor boss nor god in the sky works for you.

Only you work for you and they work for them.

Naivety is believing it works any other way.

subhobroto··on Jack Dorsey is giving Andrew Yang $5M to build the case for a basic income
> The large majority of the money isn't going to the insurance company, it's going to healthcare providers.

I have upvoted you but on HN, the prevailing belief is that doctors are gods and insurance companies are evil.

The data clearly shows that, on the average, insurance companies lose money while hospitals charge a 10000% markup - that's right, a 10000% markup.

I have written extensively on this topic (see my Quora) but I am finding it incredibly challenging getting people to see the reality.

Because I am often a contrarian here I am no alien to the downvote silence system here on HN - it's likely you can't respond to this comment of mine because HN won't let you for a few hours.

My email is in my profile, would love to connect with you - a person aware of reality.

Thank you

subhobroto··on Work-from-home boom leads to more surveillance
> If regulations are totally ineffective why give them any mind at all?

Because each regulation is a fly constantly nagging at you. There's nothing stopping you from continuing to do what you were doing and if you concentrate enough, you don't even feel the flies but they are still there buzzing around and nagging at you.

It's annoying as hell mate.

What's one regulation that really changed your life?

Hold on, we are not done yet - now think of one regulation, without which you really could have, really, changed your life.

With those two now, let's talk.

subhobroto··on Work-from-home boom leads to more surveillance
> Any manager who feels the need to peek over the shoulders of their workers should submit to the same.

Sounds like a "Tit for tat".

Why?

If I cut your finger off and stabbed you in your kidney, would it change your personal situation if you did the same?

If your immediate boss calls you every 30 minutes you are away from work, you want to do the same?

That's madness!

There is no "poor management".

What are these uneducated decision makers even doing at your place of work?

There's always a boss.

The boss is paying for the behavior they want to see.

Now if you argue the ultimate boss is clueless, then, what are you even doing there?

You might want to tell yourself that your immediate boss who calls you every 30 minutes you are away from work is just ineffective, but if he was not delivering on what his boss wanted from him, he would be gone.

"Tit for tat" is a great children's activity.

Adults are not children.

If your boss behaves like a child it's time to have a conversation.

Depending on your specific situation that conversation might very well be with a new company.

subhobroto··on Mitch McConnell Moves to Allow Warrantless Collection of Browsing&Search History
> Oddly this trends globally, so I think it's related to the leveling of power in communication and news that came with the internet

An astute observation.

People on HN live in a bubble. That does include myself. We are pretty isolated from reality given the rich life we live.

The person scrubbing floors at the gas station during COVID-19 infections have a very different view of life.

In my bubble, I try my best to gain that view and inject it back here on HN.

> they're very similar.

Amen.

People like you are the reason why I continue commenting on HN.

There's strong distaste for differing opinions on here but input like yours make all the hate worth this experience.

PS: We exchanged notes earlier on a health insurance topic here where I was championing for repealing employer provided health insurance which is a vestige from WW2 wage regulation.

subhobroto··on Mitch McConnell Moves to Allow Warrantless Collection of Browsing&Search History
> learned helplessness

There's a quote I love:

“When you’re young, you look at television and think, There’s a conspiracy The networks have conspired to dumb us down. But when you get a little older, you realize that’s not true The networks are in business to give people exactly what they want That’s a far more depressing thought Conspiracy is optimistic! You can shoot the bastards! We can have a revolution! But the networks are really in business to give people what they want. It’s the truth.”

subhobroto··on Work-from-home boom leads to more surveillance
I don't get the "Except in cases where" because it feels like we are on the same page.

Let me explain.

> - That boss's boss is related to the CEO and is coasting / not at the wheel

i.e. the boss is paying for the behavior they want to see.

> - That boss's boss is already looking for ways to let go of him

then it's a solved problem - unless the boss's boss continues to look for ways to let go for months on end, in which case really, again, the boss is paying for the behavior they want to see

> - That boss's boss needs him in place for a while longer, due to other factors, but is still annoyed by the micromanagement

i.e. the boss is paying for the behavior they want to see

"annoyed"?

It seems like the value is "needs him in place for a while longer" and all the "annoyance" does is affect that somewhat.

Can we measure the effect of the "annoyance" on the decision? Let's see:

If I have a racist employee and their racism "annoys" me, I still am supporting racism with my dollars.

Otherwise, real action is: ask them to move on.

If I have a noisy neighbor and their noise "annoys" me, I still am supporting their behavior with my dollars.

The real action would be: I move/ I ask them to move, or take them to court while getting an stay order to ensure the noise is constrained while the matter is settled.

At a previous apartment, there was a stay at home mom above mine who would begin her aggressive yoga and home gymnastics at 5AM and end at 9AM. Constant pounding. I spoke with her first and she felt the gym in the complex was too crowded for her. I recorded her activities from below in my room, sent it to the office, yelp, facebook for the complex, broke my lease and moved.

Life is too short for nonsense.

> - That boss's boss is intimidated by his underling and feels something bad might happen if he takes action against the unwanted behavior

i.e. the boss is paying for the behavior they want to see

I feel there's some sympathy for the boss, almost as if they were misguided children.

Adults are not children.

If your boss behaves like a child it's time to have a conversation.

Depending on your specific situation that conversation might very well be with a new company.

subhobroto··on Work-from-home boom leads to more surveillance
Regulation, by definition, decreases freedom.

The word regulate, in regulation literally means "decrease freedom".

In physics, a regulator is used to decrease freedom. That's why regulators are used in the first place.

> Regulations often increase freedom for some while decreasing it for others

Again, regulations can only decrease freedom.

It does not make sense to "increase" something that already exists.

The freedom to live does not make you more alive than what you already are.

> Constitutions are just regulations for government--does preventing the government from infringing on the right to free speech, for example, increase or decrease freedom?

The concept of free speech is innate and available everywhere, including countries that does not recognize free speech.

Free speech is an inalienable right that every person is born with. It does not require someone else to grant or validate it.

All that the first amendment to the Constitution does is _recognize_ (not increase) your freedom to speak against the "government".

That is it.

The "government" still can jail you or even kill you.

All that a country that recognizes free speech promises is that after the deed is done, it will bring that misdeed to justice and hopefully right that wrong.

If that was not the case, the courts would be way less crowded than it already is.

Also, first amendment to the Constitution does not apply to private citizens.

If you suddenly started to yell at your neighbor's lawn, not matter how well placed and logical your arguments are, you will still get booted with no legal recourse.

The only thing that is left is if this was the government that booted you out, you can take them to court and expect to win if you have a valid case.

There can be no such expectation in a country that does not recognize free speech.

subhobroto··on Work-from-home boom leads to more surveillance
We were having a conversation about how passing regulations against surveillance at work is meaningless because just like all regulations, majority of companies will find ways to work around it while complying with regulations.

When it became illegal to directly discriminate against race, employers found out ways to indirectly discriminate against race by putting in requirements for schooling and degrees that are just not in the reach of certain races and ethnic groups.

... but let's indulge you for a moment.

I can pass all the kinds of laws against assault I want all day and you can come along and pay enough money to redefine what assault really means.

Every regulation I pass is a restraint against my own freedom.

I can chop my foot off as much as I want in an attempt to save my head but if someone really wanted my head, they will have it no matter how hard I try to stop it.

Regulation does not help the common man at all and the rich already have help to get what they want. Regulation or no regulation.

subhobroto··on Work-from-home boom leads to more surveillance
> One person's rights/freedoms are another person's responsibility

yes

> There can be no freedom without responsibility.

yes so as I like to say it - freedom is anything but free

> Regulation is legally enforced responsibility.

Yes!

The issue I have with regulation is it requires enforcement to be truly useful and part of that requires the person seeking enforcement to yield their freedom to the enforcing authority to kick in.

Yet people seem to believe that regulation is this magic pixe dust that grants everyone special powers.

That's crazy talk!

I tried to make the point here: https://news.ycombinator.com/item?id=23169673

subhobroto··on Diagram as Code
> "Diagram as Config" not source code generally

Yup!

As "Diagram as Config" this tool is a great fit but not for "Diagram as Code". There are better alternatives out there.

subhobroto··on Work-from-home boom leads to more surveillance
> the spirit of Hanlon's razor, it's more likely that the managers are simply bad at their job.

> In some sense, it doesn't even matter. If the manager is sacrificing profit for a fuzzy feeling of domination, then he's doing a bad job at increasing profit. And if the business is in competition with another that doesn't succumb to that kind of error, then the market will make it very clear

We have to be consistent in our views.

In the first sentence, the Hanlon's razor applies but not in the second one?

What if the market is inefficient and the manager sacrificing profit for a fuzzy feeling of domination actually comes ahead?

Does the Hanlon's razor support that theory?

In that case, how does this conversation proceed?

I am (trying to) applying a consistent view - that there's always an objective function in a game and society is a game.

Right now, you and I are playing a game - I'm trying to clarify my thoughts and so are you.

My objective function is to test the clarity of my thoughts and the best way to go about it, I feel, is to discuss it with someone who holds a contrarian view.

That said, I've been having a hard time doing that here on HN as once downvotes (which work like a silencing mechanism here) happen, I literally cant respond back until a few hours have passed since the last downvote.

Don't hesitate to reach out over email. I am enjoying this exchange.

subhobroto··on Work-from-home boom leads to more surveillance
> It's more readable on small screens

Yup!

With over a million views of my content, I have noticed that this style is preferred by an overwhelming majority of readers.

I am sure there are who disagree. I am explicitly open to open dialog with all my channels listed on my profile.

My focus is to reach people and listen to what they have to say.

My objective is to test the clarity of my thoughts and the best way to go about it, I feel, is to discuss it with someone who holds a contrarian view.

That said, I've been having a hard time doing that here on HN as once downvotes (which work like a silencing mechanism here) happen, I literally cant respond back until a few hours have passed since the last downvote.

subhobroto··on Work-from-home boom leads to more surveillance
> poor management. Uneducated decision making

There is no "poor management".

What are these uneducated decision makers even doing at your place of work?

There's always a boss.

The boss is paying for the behavior they want to see.

Now if you argue the ultimate boss is clueless, then, what are you even doing there?

You might want to tell yourself that your immediate boss who calls you every 30 minutes you are away from work is just ineffective, but if he was not delivering on what his boss wanted from him, he would be gone.

> in highly secured environments or when dealing with highly sensitive documents

Its about control.

No matter how highly secured an environment is, human ingenuity can and will still work around it. There's literally several professions dedicated to it.

NO matter how highly sensitive a document is, if someone decides to share it, they will.

Crocodiles, fire pits, stripdowns, armed guards, MRIs or any camera is no obstacle to a determined individual.

> If you don’t understand your employees workload and don’t trust them then either you resign or fire the employees.

Nah - it's just about control.

Look at this video: https://www.youtube.com/watch?v=xA_fJh4lzqQ

Did "Jim" not know that he was on facebook for 8 hours yesterday?

Will bringing that to his attention suddenly make him "more productive"?

Why would it have that effect?

You could try and fake empathy for the hand that feeds you (you have reason to!) but even if this kind of management had absolute clarity into employees workload, they still would do surveillance.

Why?

... because their messaging is "we control you during the hours you work for us".

It's unlikely anyone's watching the surveillance data and footage. Honestly, people don't have time and it's a very high noise-to-signal ratio activity. Even at retail where loss prevention is at least one dedicated department, it's impossible to follow up on surveillance data and footage.

Do you honestly believe anyone would look a those verbose reports generated in the video at any detail?

No.

For all purposes, its not the how but the why.

Control.

All this talk about productivity, workload and trust are "feel good" concepts that give the illusion that there just some "miscommunication" happening.

If only that "miscommunication" went away, everything would be perfect with the world again.

It provides a distraction from the reality that the people one's working for are sycophants and extremely manipulative.

The truth is - action has no miscommunication - it either works or it does not.

The toilet needed to be scrubbed?

Its either done or not done. Couldn't be done because someone was having a seizure there that required a team to come in and block the cleaning from happening? Check.

If the cleaner had to badge in and out and had a camera mounted at the restroom entrance to check if they went in or out - does not have any relation to the job getting done.

IF the individual cleaner was so determined to clean the restroom during the seizure, they would manage to do it.

Russia, China and the companies that hire the likes of InterGuard Employee Monitoring for surveillance is doing it for control.

Putin wants dirt on you so when you become a problem for him, he can use it against you.

Surveillance is all about control.

subhobroto··on Work-from-home boom leads to more surveillance
Spot on. I am so surprised you've been downvoted to hell.

Sometimes it seems basic economics is an alien concept.

← PreviousPage 7 of 16Next →