Better HN
topnewbestaskshowjobs
Log inSign up

ergocoder

2,579 karma · joined Mar 2, 2019 (7y ago) · 1,387 submissions

Submissions

comment 5y ago · link · parent

Twitter is the real warzone.

If you are moderately famous, anything will be controversial.

You can say "water is good for you", and I can guarantee you that someone will reply with "actually, my friend drank too much water and died". Then, the drama would ensue.

comment 5y ago · link · parent

US starts losing an edge, I agree. With this strange politics that is really anti high-quality immigrants.

I'm one of those who moves to US from a worse country, and I can tell you that I'm much happier.

In countries like China, India, and many other developing countries, every aspect (apart from my family/friend being there) is worse... much worse.

While US won at the expense of those countries, individuals get huge upgrade to their lives.

comment 5y ago · link · parent

Not that I'm in support of this.

But I believe that is what a lot of people on Dems' side support: open borders and accept anyone from mexico.

comment 5y ago · link · parent

> old people need tons of cheap service workers who would work for food

I don't think this is the reason why we accept refugee... to be low-skilled low-paying workers.

We accept them because they cannot live in their home countries due to political reasons (and etc.), so we extend help for humanity reason.

comment 5y ago · link · parent

Making a desktop is generally difficult and mysterious.

JetBrains is (or was) based on NetBeans, which is written in Java.

I'm not familiar with Visual Studio, but it's likely written in C++.

In many apps that you use today, a lot of UIs are custom-made (i.e. written in C++ to draw graphics directly).

If you look to get started, there are a few paths you can take:

1. If you are on Mac, use XCode + Objective-C

2. Use a UI framework like Qt

3. Use Electron. Easier option. Auto-layout provided by html+CSS is a godsend.

comment 5y ago · link · parent

Thank you for clarification. Would you mind providing proof of this?

It seems many other comments claiming that attribution is only provided after being called out.

comment 5y ago · link · parent

> The cumulative loss of something can be huge, but still don't matter because its distributed to a degree where it is barely a rounding error.

Are you claiming it doesn't matter to anyone or just you?

> If I give you back 5 seconds each day, will it matter to you? Will you be able to enjoy or do something that you otherwise wouldn't?

I'd welcome the time back since I don't lose anything in return anyway.

So, a big YES here.

Generally I would put faster library as a plus.

Working in a big company, when choosing between 2 open sources, we will need to list down pros and cons.

Among other things, being 4x smaller is definitely one of the plus consideration. I try not to exaggerate this; it's not a major plus, but a plus nonetheless

Saying these doesn't matter is disingenuous.

To you, maybe, but not for most. If everything else is equal, you would choose chalk despite it is 4x bigger in size and slower? Most will choose the smaller and faster library.

comment 5y ago · link · parent

The disadvantages are meh.

This is like saying "if tim cook and anybody who is smarter than me doesn't exist, I will be apple ceo and earn 200m a year.".

If these smart people didn't work for apple, apple wouldn't exist in the first place.

I can assure you h1b wage depression is minimal.

We of course should get rid of h1b abuse. There is always an improvement.

But we should not get fewer h1b people...

comment 5y ago · link · parent

I don't think that is odd. In business we aim for all sides to win.

Business get more profit and power. Employee also get more money and quality of life.

comment 5y ago · link · parent

Why is it racist?

comment 5y ago · link · parent

> The argument for the US taking in the best from around the world, is that more is better when it comes to that.

Yes, that is better for US, no?

This is also why US tech industry is absolutely eclipsing every other country's tech company combined.

They have the best mind from all over the world working for them.

My main point is that you cannot improve education that your average citizen is better than the best and brightest from other countries. It is infeasible.

Now my main question for US is: why do we want to import fewer brightest mind from other countries?

comment 5y ago · link · parent

> Chalk’s purpose is to color things printed to the terminal. Unless it’s performance is atrocious, which I doubt, it doesn’t matter unless a ridiculous amount of data is printed.

Chalk is downloaded 15 millions per day.

We probably can multiply how much time has wasted from 15 millions run per day. It matters collectively.

> No, they say it doesn’t matter for chalk’s use case. Which is command-line tools that are almost never tree-shaken.

Are you saying people don't package the terminal app when written in Node.js?

It matters in some cases, and it doesn't matter in some.

Chalk maintainers try to brush off these improvements, which seem like bad intents, tbh.

comment 5y ago · link · parent

> Because it's being used to drive wages down and American workers are getting fired from their jobs.

Following the same logic, my manager up to Sundar Pichai is driving down my wage and stripping me of opportunity.

If they didn't exist, I would have been a Google CEO and earned $200M a year?

That's absurd

comment 5y ago · link · parent

Another unrelated note:

I'd say it's infeasible to improve US education that can produce population as good as importing the best and brightest mind from foreign countries.

Please note that I'm not against improving US education, but to think that we can improve it to the point that it can compete with importing the best mind from other countries is delusional.

US has such a huge advantage on this part that an absurd green card system seems like a noise.

comment 5y ago · link · parent

I'm from south east asia. So, nah.

comment 5y ago · link · parent

This may not be a popular opinion.

I'm not sure why US is so against getting more of the best and the brightest, meanwhile we are pushing to get more refugees instead.

H1B/greencard often acquires the very best mind of foreign countries. More is good.

At the current state, we try hard to get less the best and the brightest and more refugees.

I understand there's a humanity reason for the refugees. But why can't we do both?

comment 5y ago · link · parent

> And he copied the entire source code earlier and didn't mind hiding who wrote that?

I agree with you here, but aren't we talking about something else?

> But now suddenly a tiny fix

It's an impactful fix. Now colorette can claim that there's no performance difference between colorette and nanocolors.

If this fix wasn't there, colorette would be objectively slower than nanocolors.

If I am the user, I will choose the one that is faster, so this is an important improvement.

> is worthy of demanding attribution for?

Yes. Are you against both attributing each other accurately?

Nanocolors currently attributes colorette for the whole fork (albeit after being called out).

Colorette still refuses to attribute nanocolors specifically for this important performance improvement, even after being called out.

> That's really not the moment to go nitpicking the other guy.

Why not? The current topic is about improper attribution.

It's fair to look at improper attribution on both sides, not just one side.

comment 5y ago · link · parent

Why? Colorette clearly copies that line from nanocolors, no?

And he incorporated it into his benchmark to show that colorette is as fast as nanocolor.

It sounds like an important optimization.

If this wasn't copied, colorette would have been objectively worse than nanocolor.

comment 5y ago · link · parent

I would stay away from both, unfortunately.

The colorette's creator, Jorge, tried to dcma other repos on GitHub: https://news.ycombinator.com/item?id=10271304

Use his libraries at your own risk.

comment 5y ago · link · parent

I don't think the main message from chalk maintainers is good.

Chalk maintainers basically discard the performance improvement as micro-benchmarking (i.e. "doesn't matter in the real world"). Chalk maintainers also say tree shaking doesn't matter in the real world.

Why do they minimize these 2 improvements? If 2 libraries are equivalent, I'd go with the ones with extra improvements.

Chalk maintainers also mentioned that chalk would have no dependencies soon (not now, but soon). They also mentioned that chalk is well maintained for over 10y.

So, over the past decade, they can't remove dependencies? Suddenly, nanocolors show up, and now they will remove dependencies soon? That doesn't sound well-maintained.

Speed/tree-shaking aside, having no dependencies is a huge improvement.

comment 5y ago · link · parent

No way it is 6M. That is too low. I could have got that by joining stripe a few years back while enjoying high salary.

comment 5y ago · link · parent

Zero prediction power is an extremely exaggeration.

If this was true, Google could have just hired everyone who failed and rejected everyone who passed the interview?

If Google started doing that, the company would collapse pretty quickly.

comment 5y ago · link · parent

Then, say that instead of lying that natural immunity doesn't work.

comment 5y ago · link · parent

+500k doesn't fall on to the category you mentioned.

They likely don't have many cars.

Many can afford to live close to schools and offices, so they won't use road as much.

They also pay for their own healthcare.

We haven't factored in social cost of raising kids who cause problems to society

I doubt it is that clear cut to compare upper middle class with poor people to see who costs more to the country's infrastructure.

In any case, from everything you mentioned, it seems way way better to tax on luxurious goods.

Buying Mercedes Benz? Tax is 2000%. Good luck. Buying a yatch? Here is 100000% tax. A private jet? Here is 10000000000% tax. A second/vacation home? It's 100000000% tax. An island? Here is a trillion % in tax.

There problem solved. But for some reasons no politicians and thier supporters (Dems or republicans) never ever think of this solution.

comment 5y ago · link · parent

This convo also doesn't address fairness. It never addresses fairness.

It is simply "you won't die without less money. Therefore, you must pay more".

comment 5y ago · link · parent

But these high earners already pay fair share of tax.

I thought we would target billionaires, no?

comment 5y ago · link · parent

> Let's not even get into the fact that Capital gains tax is at its lowest ever, and at one point capital gains for top earners was 40%, and income tax was even higher.

Oh yeah. Gay right is also better than ever. Minority right is also better than ever.

Woman actually can get a degree from Harvard now.

Should we all just shut up?

---

You also ignore that salaried employees already pay fair share of tax.

Why don't we tax billionaires more like Dems advertise for years?

comment 5y ago · link · parent

There lies the problem in US.

The problem is just passed on "oh it's the state, oh it's the city"

As a taxpayer, I don't give a shit.

Federal and state and city should work together to come up with a holistic solution.

My city/state/country are all democrats. How come they can't work together??

comment 5y ago · link · parent

> People who make that much and more use more infrastructure

I doubt this is true for silicon valley engineers who earn more 500k.

I pay +100k in tax a year. I pay for my own healthcare on top of that. Yet public safety is rather low. Public school is bad. And etc. If anything, it doesn't feel I get much out of it.

Apart from that, any proposed tax plan almost always hurts the most the high-end salaried employees who already pay their fair share of tax (RSU is taxed immediately). Might as well just call it yet-another-silicon-valley-engineer tax.

Meanwhile the billionaires or hundred-millionaires will still be able to find a way to reduce their tax because they have enough capital to hire an army of tax accountants.

Dems shout about billionaires and hundred-millionaires for years. Yet they never make law that targets this particular group. What is up with that?

1
323334
47