Hacker Newsnew | past | comments | ask | show | jobs | submit | more wrong_variable's commentslogin

As someone who formally studied abstract algebra.

One of the most applicable use-case I remember being constantly mentioned about category theory was classification of some viruses.

Category theory makes sense when your business is large enough and you are looking to make everything streamlined. You could use some Category theory to rearrange everything from employee, customers and products into better types.

But the idea that you absolutely need to understand this stuff to get going does not make sense to me.


I think its also a lack of examples of companies that managed to scale up a remote dev team.


Just wanted to know, am I the only person who is unhappy with react ?


There are 7.4 billion people in the world. It's safe to assume you hold no unique opinions.


What's got you down and what could we make better?


People forget History.

The two times where labor was more valuable than capital.

1 | After the black death in Europe

2 | After the second world war

Most of history's default was the gilded age, the roman empire survived for 600[1] years with having worse inequality than in the modern times.

Usually the only way to reverse the trend is by a large scale elimination of significant portion of young people.

[1] EDIT : correction


Or, you know, we can admit there is enough food and shelter to go around for everyone and stop pretending everyone needs to work.


I'm happy to admit it, and wish others were. But it seems there's a lot of convincing to do first.


Certainly. Didn't mean it would be easy but that's the trick with all social and cultural change. You just keep at it until everyone thinks you were right all along.


Yes... We should promise them free food and shelter, in exchange for votes.


As opposed to tax breaks? Sure, why not.


Or, we simply wait out the next few centuries. Reproduction rates in many developed countries have dipped below replacement. Maybe the total world population will decrease in our time.


Except now people expect retirement and pensions... Not something people back then counted on when populations of people working declined...


This is the problem with our current first world financial system, it is predicated on constant growth. Even the slightest hiccup in growth leads to serious consequences for the over leveraged and make no mistake most of our safety nets are over leveraged and dependent upon unrealistic gains when faced with a stagnant to declining population.

The Great Aging is underway, the EU last year had more deaths than births and will for the foreseable future, Japan has been there for a little while and China's working age population is already in decline. Africa, the Middle East/India and parts of South America are the only places experiencing actual population growth, when immigration is not taken into the equation. With Demographics and Automation deflation is the likely outcome. The Central Banks are trying all they can to prevent this from happening in the near term by spending Trillions of dollars to prop up economies and drive interest rates lower to eek out some inflation. They seem not to care whether growth is actual demand growth or simply a mirage in terms of inflation. The central banks are doubling down their efforts and will be even more accomodative in the next few years when the growth they continue to state is right around the corner never materializes.

Unfortunately I do not see a way out of this without the developing nations taking care of themselves.


Perfect! There are not enough jobs to go around, and so we have more people not working. Sounds like mission accomplished.

...we might need to work on wealth distribution, though.


People seem to have a lot of faith that a drive or urge to reproduce is not something that can be selected for and transmitted through generations, either genetically or culturally, in human beings. If it can be selected for, it will be, and very rapidly, by simple math.


While it is true that the fertility rate goes down with increasing wealth, this may only be true up to some point. With wealth increasing even further the fertility rate seems to start rising again. Whether it crosses the replacement rate again is up for debate. See the chart on the Wikipedia article for income and fertility [1] for an illustration.

[1] https://en.wikipedia.org/wiki/Income_and_fertility


Birth rates and income are not as highly correlated as evidenced by your graph and the birthrates of nations.

https://www.cia.gov/library/publications/the-world-factbook/...

As it stands now the EU has more deaths than births every year for the foreseeable future. When birthrates have been below replacement level for over 30 years it would take a massive baby boom to right the pyramid, but what good would that do? We don't need the population we used to and those babies wouldn't be productive for at least 20 years and as it stands now many of them would be as much of a drain on the state as the retired


I am not arguing that population growth would be a good thing, the population growth rate has to become essentially zero at some point. A constant plus or minus one percent per year means extinction within less than 2000 years. Overpopulation will resolve itself by starvation or resource wars, underpopulation seems actually more dangerous in the long run. But I am relatively sure that we will manage to avoid extinction due to a bad fertility rate.

And the population structure will probably become something like a rectangle then, almost everybody becomes 80 or 90 or whatever and dies within a relative narrow window. Setting aside radical changes like getting hit by an asteroid or discovering the key to eternal life.

I really only wanted to point out that it is not absolutely certain that increasing wealth surely leads to a decreasing population. If all work is done by robots and nobody is at risk of a shortage of good and services, what would people compel not to spend some of their years raising three children?


Current European politicians are trying to reverse this trend with the injection of fresh migrants, following the American model.


Except in the American model they didn't come for welfare benefits, free housing and cars as told by their "recruiters".


Roman Empire only lasted around 600 years, years -27 to 565. Roman Republic lasted slightly shorter that 500 years.

You must me mistaking it for Egypt of pharaoh times.


It lasted in the East until 1453.


I didn't read the username but then saw 'MobX' and went 'wait a minute'


>The proposition decreased property taxes by assessing property values at their 1975 value and restricted annual increases of assessed value of real property to an inflation factor, not to exceed 2% per year.

Sounds pretty insane.


This is why you don't really want to live under a democracy (always assuming you can find a non-democracy that respects human rights). California's government-by-referendum has made it impossibly dysfunctional, because the populace consistently votes for two types of referendum: "spend money on things I like" and "don't raise my taxes."


Yeah, it's hard to argue that 20% yearly increases in SF rent are fine while property owners get limited to 2% .


The person does not seem to draw to anything actionable, and his conclusion is vague.

I am not sure what he even means by 'optimizing for efficiency'

If your business depends on the happiness of your employees then optimizing for their happiness increases your bottom line.

If your business will be shut down if you commit fraud then optimizing for transparency is in your interest.

Is this person blaming economists for something that they do not have much control over - and that is thinking about individual lives. Its mathematically not possible for economists to worry about each person.

The reason why people are angry is that employment is closely linked to your ability to feed yourself and be a consumer of the global economy.

So when politicians talk about employment - what they mean is a person's ability to survive.


For economists, efficiency is simply that goods should be created where the surroundings are best suited for it - first described by David Ricardo in the 19th century. E.g. Cotton should be planted where there is the most fertile soil etc. This works best in a globalized economy where production can move around freely and where there are no trade restrictions. As a result, productivity is higher, meaning that goods are cheaper (if there is competition), meaning that - provided the result is used for consumption - that everybody is better off. This doesn't take into account that a) labor doesn't move freely, meaning the change process creates winners and losers, and uncertainty (locals are in constant danger that their job is reallocated to some other place), b) it gives an incentive to move production to places with lowest priced-in externalities (labor market frictions like unions, environmental damage).


"Cotton should be planted where there is the most fertile soil etc."

Nitpick: this statement is about absolute advantage, whereas Ricardo emphasised comparative advantage: https://en.wikipedia.org/wiki/Comparative_advantage#Ricardo....

Imagine that you're better than me at everything (both programming and needlework). You can program three times as fast, and sew twice as fast as I can. Does that mean you should do all your own programming and sewing? No.

However small my contribution, I can save you some time by doing some sewing for you. In that saved time, you can do more programming than I could have achieved in the time I spent sewing. So in sum we're better off. So, there are potential gains from trade.


Yes, but at a certain threshold that is no longer true due to logistics. For instance, I could try to sell back all the plastic bags I got at the grocery store, and even if I folded them flat, made sure they were clean and ready to reuse, no matter the price, the grocery store owner would with all likelihood refuse to buy them from me.

Because, regardless of how much money would be saved from buying my bags over the ones fresh from the factory, it wouldn't be able to cover the logistical cost to the company's workflow.


My simplified example was designed to demonstrate the difference between absolute advantage and comparative advantage, and show that there are gains from trade, even when one party has absolute advantage for all output goods.

There is no doubt that transactions costs and other friction make some potential exchanges uneconomical. So, what you say is true. But it doesn't help or hinder my explanation, and is irrelevant to the point I was trying to make.


> For economists, efficiency is simply that goods should be created where the surroundings are best suited for it - first described by David Ricardo in the 19th century. E.g. Cotton should be planted where there is the most fertile soil etc.

This seems slightly off to me. Cotton can be grown more efficiently (in the usual sense of less cost per unit return) in some climates than others. But the economy as a whole may be more efficient if cotton is grown exclusively in subpar-for-cotton areas; perhaps the ideal-for-cotton areas are needed for another crop.

As I understand it, "efficiency" in economics will refer to one of two ideas:

1. Small deadweight losses. The smaller they are, the more efficient the economy is.

2. Pareto efficiency. (That is, the economy is efficient, in this sense, if there is no reallocation of resources that makes somebody better off without making anyone worse off.)


"This seems slightly off to me."

You are correct. GP gave an example of absolute advantage. But Ricardo is more famous for demonstrating that comparative advantage can be enough to make trade worthwhile.

Your field may be 1/3 as efficient at making cotton than mine. But perhaps it's 1/5 as efficient as mine in growing olives. So, assuming we both want cotton and olives, it would be worth you growing more cotton, and swapping for some of my olives. I get a little more cotton than I would have alone. And you get a few more olives than you would have.


easy, using vanilla.js !

you attach event-handlers to each virtual-dom the same way you would do with a normal-dom.

and those event-handlers can react to change the way you want.

If you mean how to do auto-data binding

oldDom = patch (document.body,newDom)

newDom = h ('div','hello world')

patch (oldDom,newDom)

patch is the function that does the dom diffing.

The amazing thing is most web components do not need auto-diffing.

Sometimes you want fine grained control where you write your own update functions - making imperative changes to the dom based on your needs.

And for other web components where you want more auto-updates you can patch accordingly.

The thing that is amazing is that you can dial it up and down based on your individual needs.

A good example is table components with a lot of data.

You really do not want to incrementally update the table.

So for the divs with the data you patch

but other components that have a lot of interactivity you can simply not patch and do updates by hand.


Its surreal watching snabbdom on HN.

Snabbdom is a gem of a library, it makes microsoft ( angular) and facebook ( react ) look like idiots.

Whoever came up with dom diffing in Facebook is clever, but facebook took that idea and made it into a weird beast, which doesn't integrate well with the rest of the open web ecosystem ( I guess facebook has way too many downstream engineers )

Snabbdom implements the core dom-diffing algorithm and leave the architecturing to you and that is where its power lies.

Snabbdom is really powerful when you mix it with the rest of the small libraries that are written in the UNIX way.


So... Angular comes out of Google, Microsoft's key JS contribution is TypeScript.


RxJS is also from Microsoft and a huge contribution.


Geez.

Americans do not realize how lucky they got with Obama.


I, for one, have loved the slow and steady erosion of my civil liberties. Not to mention the endless wars, abysmal GDP growth, and continued centralization and bolstering of federal power. He's the best!


Presidents have about as much influence on the economy as they do the weather. That's especially true in this modern globalized age. Nobody is in control. The global economy is not controllable, even if a concerted will to do so existed.

On issues of civil liberties, national security + surveillance, and a growing police state, Obama has been similar if not worse than the previous regime.


Then the federal government should stop attempting to control it... That is literally my gripe. The Fed and things like QE (ignoring regulation all together) have been extremely harmful. He has done nothing but perpetuate the nonsense.

On your second point; that is extremely subjective. But even still, that should make me feel lucky?!


Hey aside from the GDP growth, you should realize that all of these have been going on for the past 40 years at least. Hell, since ww2


Totally agree and very understood. He is at the very least compliant with business as usual and I hardly feel lucky.


Slow gradual decline.


There's not any actual evidence of sluggish GDP growth, it's really just anti-Obama pundits, like this guy:

http://www.thegatewaypundit.com/2016/04/simply-worst-obama-f...

Have a look here:

http://www.tradingeconomics.com/united-states/gdp-growth-ann...

choose "trend line". You'll see that 2015/2016 GDP growth is precisely on the trend line. The main difference in the last 8 years is more stable GDP growth, rather than the extreme peaks and troughs of the previous 60 years.

I live in Canada and don't have a dog in this race, but I find it interesting that Americans are so obvlivious of the facts and willing to believe at face value all the BS that comes out of the likes of Trump.


"The call of blood, history, faith, culture and memory is winning the struggle against Economism, the Western materialist ideology that holds that the desire for money and things is what ultimately motivates mankind."


Unemployment sharply reduced, iraq and afghanistan wars ended, guantanamo in the process of being closed, torture ended. Some people are just never happy. Americans dont deserve him.


"Unemployment sharply reduced": you and I both know that is nonsense. The way unemployment is measured is completely illogical.

"Iraq and Afghanistan wars ended": He's continued to murder literally hundreds of people with his drone strikes. He is the opposite of a peaceful president.

"In the process of being closed": haha. He signed the NDAA. It is now harder to close than ever.

"Torture ended": Not really[1].

[1]:http://america.aljazeera.com/opinions/2015/12/has-obama-bann...


> "Unemployment sharply reduced": you and I both know that is nonsense. The way unemployment is measured is completely illogical.

I disagree. Both the primary and alternative official measures of labor force underutilization are logical; each of them may sometimes be referenced in situations where the particular measure referenced is not the most appropriate measure, but those are illogical uses of the measures, not signs that the measures themselves are illogical. If you think that there is a more appropriate measure relevant to this context that shows the opposite of what was contended, then you should present it at be prepared to defend your position that it is a more appropriate measure.


the number of Americans who are no longer in the labor force has hit an all time high of 94.7 million. If one were to factor in the low labor force participation rate, the actual unemployment rate would be significantly higher than the headlines.

According to CLSA economists, if the participation rate stayed at the levels before the financial crisis, the unemployment rate would be 9.6%, more than double what it was at the time of their study (fixed) [1].

[1] http://www.zerohedge.com/sites/default/files/images/user5169...


> the number of Americans who are no longer in the labor force has hit an all time high of 94.7 million.

And the number of American's who are in the labor force also hit an all time high this year, and 158.9 million.

You offer no reason to believe that the absolute size of the population outside of the labor force is a more relevant measure than any of the official labor force underutilization measures for the claim about unemployment.

> According to CLSA economists, if the participation rate stayed at the levels before the financial crisis, the unemployment rate would be 9.6%, more than double what it is today

Well, first, its 4.9% today (well, June 2016, the most recent month for which numbers are available), and 9.6% is not more than double 4.9%.

Second, even if it were more appropriate to compare employment on a constant-participation-rate basis (for which you have presented no argument), 9.6% on 66% labor force participation rate (what is used as the pre-crisis rate in your source) would still be an improvement over Obama's term, since unemployment was at 9.8% the month Obama took office (considerably post-crisis), with a 65.7% LFPP (which would about 10.1% on a 66% participation rate.)


> You offer no reason to believe that the absolute size of the population outside of the labor force is a more relevant measure than any of the official labor force underutilization measures for the claim about unemployment.

If I understand that sentence correctly, you're putting words in my mouth. I never said it was a more relevant by itself, I said it needs to be factored in. It should be factored in because if people give up looking for work, that isn't a sign of a strong economy.

> Well, first, its 4.9% today (well, June 2016, the most recent month for which numbers are available), and 9.6% is not more than double 4.9%.

You are correct, I misspoke. I meant compared to the final unemployment report for which the CLSA studied, not today since today had not happened yet when their study was conducted. Fixed.

> Second, even if it were more appropriate to compare employment on a constant-participation-rate basis (for which you have presented no argument), 9.6% on 66% labor force participation rate (what is used as the pre-crisis rate in your source) would still be an improvement over Obama's term, since unemployment was at 9.8% the month Obama took office (considerably post-crisis), with a 65.7% LFPP (which would about 10.1% on a 66% participation rate.)

With the suggested metric factored in, you can clearly see there has not been an improvement between 2009 and the end of the study. Here is the graph again: http://www.zerohedge.com/sites/default/files/images/user5169...


Gitmo is not closed.


fixed.


I'm looking forward to seeing the "Miss me yet?" billboards with Obama's face on them...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: