2,579 karma · joined Mar 2, 2019 (7y ago) · 1,387 submissions
comment 5y ago · link · parent
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
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
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
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
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
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 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
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
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 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
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
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
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
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
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
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
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
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?