Zod is a critical piece of infrastructure to virtually any TypeScript project. Glad to see they are taking inspiration from other similar validation libraries on performance and ergonomics.
HN user
timbuckley
Web Developer
Related discussion on a different article: https://news.ycombinator.com/item?id=28505103
And for the first time in history, since the middle of the previous century, we have some capacity of ending the entirety of human life on the planet, with only a few hands involved.
It's a beautiful language but it lacks a lot of features to make it useable at scale.
Can you expand on this? What features is it missing?
Exactly. The only way a pyramid-shaped population chart "works" is if people die soon after (or before) they reach the top of the pyramid.
In the long run, the only stable population shape ultimately is a column that is thicker at the base.
This is also why universal basic income is a fantastic policy.
I suggest you look at Andrew Yang’s 2020 platform of Freedom Dividend and explanation of how to pay for it.
Yang would offer each person an annual choice between existing benefits or an unconditional transfer payments (UBI). This allows for an easier transition to more UBI while preventing lapses in important benefits for those who need it.
As for the pay-fors: You do NOT need a policy proposal to be revenue neutral (ie 100% paid for by spending reductions and/or tax increases) if it grows the economy or if it saves costs elsewhere in the system. This is true of any policy. We have never paid for our spending during and after WW2, but that doesn’t matter because we grew our economy as to make that debt trivial to the size of the economy.
In UBIs case, we have strong evidence from studies that it tends to improve health (especially child health), reduces crime, and increases business creation (a stable albeit small income is a fantastic platform for entrepreneurship), among other benefits. How much does it cost society to fail to eradicate below-poverty incomes? How about failing to end involuntary homelessness? UBI is the cheapest way to get those things.
Back to Andrew Yang’s plan: 1) Institute a 10% VAT. 2) Save on reductions in social services (to the degree Freedom Dividend is chosen) 3) Remaining balance paid with deficit spending, growing the economy and reducing upstream costs.
To a large degree that's because the cost is far higher to pay a human to do the driving.
In a world of self-driving cars, more of them can be stations geographically close to where they may be needed - without having to pay for a human driver.
So they will become both cheaper and easier/quicker to use than existing ride-share services. That will change the calculus for many many people - but not necessarily everyone, of course.
You can have convoluted or simple FP programs as you can have the same for OOP. Nonetheless, is paradigm better at yielding more robust software you can reason about well more of the time? I would say yes, and FP does this.
The article is refuting a strawman
This is simply not true. How often have you heard the phrase "equal pay for equal work"? That phrase literally implies that for the same work, women are paid less. That is what people mean when they say it, and because it is so common, it is a very worthy myth to debunk.
Some evidence it is not a strawman:
1) College Humor video strongly implying that a woman is being paid significantly less than all of the men around her.
2) President Obama in a 2015 SOTU address saying that a law should be passed saying that a women should be paid the same as a man for doing the same work.
[0] https://www.youtube.com/watch?v=bm3YfMtgEdI
[1] https://www.youtube.com/watch?v=ayO4vl6YZoo
Moreover, this myth is actually deleterious, because focusing on trying to ensure equal pay for equal work will be futile and a waste of attention so long as the real causes of disparities are ignored.
Do you consider ethics business related?
I'm curious as to what 30 years of sitting, programming, drinking cool-aid will do to health vs 30 years of lugging steel... Trawler fishing, I agree - v.dangerous, not good for you!
In those 30 years, you will likely accumulate injuries that make it harder to keep doing the work. My father is a general contractor, and though he does the work far less often than those who work for him, he has accumulated a number of minor injuries that stay with him.
For a great example of its use in a dynamically typed language, see Elixir.
Not really sure how you can reach that conclusion. With JSX you are declaring what the HTML will look like, rather than specifying how to do the transitions. It's difficult to get more declarative than that.
Here's a direct link to the Imperative vs Declarative video.[0]
[0] https://courses.reacttraining.com/courses/advanced-react/lec...
It's exactly because there is so much violence that we need to reward actors who work to reduce it.
I agree whiteboards are great for all those things. But they are terrible as a way to write actual code. The problem is that many whiteboard interviews have you write actual code on the board, and all of the inefficiencies involved in that.
Indeed. I'm a graduate (3+ years ago). Best thing I ever did.
App Academy is extremely selective (less than 3%). Also there is probably sample bias, since these are all self-reported.
I'm an App Academy grad. I don't work at Google myself, but I know a few who do.
App Academy is indeed extremely selective, with an acceptance rate less than 3%.
The salaries shown are all self-reported (App Academy isn't releasing this), so there is likely some sample bias for sure.
And you doubt that a/A grads work at Google or similar companies? See for yourself: https://www.linkedin.com/search/results/people/?facetCurrent...
People on LinkedIn who have gone to App Academy who currently or previously work at Google: https://www.linkedin.com/search/results/people/?facetCurrent...
The vast majority of these are App Academy (a/A) programming bootcamp graduates, which explains why only 10% have CS degrees. Bootcamp graduates are probably not representative of all CS grads, or even most devs, so take this with a grain of salt.
I graduated from App Academy NYC in January 2014.
I'm in my 2nd post-bootcamp developer job at a small-ish company, making double my previous salary before a/A. I love what I do and attending the bootcamp was the hardest and most rewarding thing I've done in my professional life.
I keep in touch with some friends of the bootcamp (my cohort and others), and they have gone to work at various companies like Spotify, Google, Thoughtbot, Bloomberg, Capital One, Vimeo, Tumlbr, WeWork, and lots of smaller companies.
I'm going to use this opportunity to plug my Redux Saga testing library: redux-saga-test-engine[0][1]. It makes saga tests much less verbose. Let me know if you like it (or don't)! :)
[0] https://github.com/DNAinfo/redux-saga-test-engine [1] npmjs.com/package/redux-saga-test-engine
I guess other companies should be wary of persons who leave Uber in the past few weeks or so.
There must be SOME minimum wage level at which jobs would be lost. (If you doubt this, consider how a $100 minimum wage would work.) The question is, what is the maximum minimum-wage before jobs are lost?
How does a (more) progressive tax system increase real median wage?
The non sequitur here is dizzying.
You are welcome to start working on it at any time.
Double post, please delete one.