873 karma · joined Jan 2, 2016 (10y ago) · 422 submissions
comment 10y ago · link · parent
Water could be allowed to drain naturally from either the ocean or other rivers, no need of manual pumps.
You could also build homes on top that due to the surrounding crops and sea underneath be really cool when it comes to temperature.
Also you have have cool walk-able or (boatable !) paths like in Venice.
A modern day paradise in the middle of the desert.
So much potential
comment 10y ago · link · parent
If in your head you try to think of the "120Kg" deadlift you need to do, it might be hard to motivate yourself given that it might remind you of the pain involved.
A easier technique is to think "I am going to go to gym and browse HN on the sofa", 50% of the battle is to get yourself to the gym and once you are there its much easier to do the 120Kg deadlift.
After thinking about why I constantly fail to make going to the gym a routine - a big part of the problem is physiological.
comment 10y ago · link · parent
Lets look at the salary of Actuaries shall we ?
£ 222,936 - Chief actuary, senior partner
£ 140,814 - Senior function head, practice director
£ 117,343 - Function head, practice head
£ 89,442 - Department manager, managing consultant
£ 80,664 - Section manager, senior consultant
£ 73,043 - Section leader, consultant
£ 66,118 - Senior actuary, junior consultant
£ 52,067 - Actuary
£ 36,241 - Student actuary
£ 33,130 - Recent graduate
Each level is incremental - X amount of work increases your salary by Y amount.
All you need to do pass the exams and you can work in USA + Canada + Europe + India + Australia !
Now being a Chief Actuary is quite improbable - but look at the salary ! how probable is it that a programmer is going to earn that much after 25 years of experience ? we have all heard stories of unemployed experience engineers.
Coming from a maths background I really want some answers as to why I choose software engineering
To me the rampant unprofessionalism, the lack of structure, the insane amount of discrimination that is normal due to age, race, gender.
I really want to rage quit and go back and became an actuary due to lack of options for career progression.
comment 10y ago · link · parent
Osama Bin Laden can be directly linked to CIA's action in Afghanistan trying to defeat the Soviet and propping up the most repressive regime in the middle east ( Saudi Arabia ).
There has also being many instance of terrorist activity from sympathizer of the Palestine cause ( how would america like it if 8 million Muslims moved into Manhattan and resulting the displacement of most of New York's population ?)
I can go on ..
(overthrowing Iran's democratically elected leader )
(Selling weapons to Saddam in exchange for Oil, rather than help Iraq develop)
(Putting minority paranoid dictators in power so that they can be controlled)
(drone warfare in yemen, somalia)
......
......
......
......
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
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
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
Economist and social scientists would see this as a failure of markets, and do some analysis to figure out a balanced approach to create some sort of Laffer curve.
I think going the other direction and allowing a free for all situation with substances would be a problem too.
There is a reason why its in my interest to not have my neighbor stockpile chlorine in his basement.
The best example I can think of is the Israeli govt or the Chinese govt. Where the Israeli govt since they actually have a serious terrorism problem, do not have things like the TSA.
The other problem in the UK is old people who have been brainwashed to believe that drugs/homosexuality are terrible. Its going to take a generational purge for the political needle ( no puns intended ) to move.
comment 10y ago · link · parent
Right,
What is the difference between Civil/Environmental and Environmental ?
It seems the best bet is to study something like mining since the R_0 is so low there.
comment 10y ago · link · parent
less than 10% of the world would be of american and European decent.
50% would be Asian and 40% would be African.
When I first heard it, it took me some time to think about what that means.
Think about what history books would read like in the year 2150. It would be sort of surprising to them that that the world was so eurocentric - they would prolly all be of same skin color and of a darker shade. The anti-immigration stance that is becoming so mainstream must feel to them similar to what reading about slavery feels to us.
There is also something much more profound, when we view historical data about dinosaurs or other species we always look at statistics of their representation - essentially out of factors that is outside their control, their is a peaceful extinction of the European gene pool, so you really cannot fault the reactionary response to it. Extinction is also the wrong word to use here, genetically the best features would get absorbed by the human species of all 'race'. Its inevitable but the recent surge in immigration is making people deal with that fact in a very direct way.
The world has always had less Europeans and people of white color skin then other shades, if you took every person in the world and randomly changed their location, it would be a huge shock to most white people that they are surrounded by non-white people. For everyone else seeing an extra white person a year is not as shocking.
The thing that is happening in england is also happening in america but its not as bad because of the sheer size of america.
In England a change in demographics is a lot more noticeable - either it be age, ethnicity, language or religion.
comment 10y ago · link · parent
The UK signed the deal knowing the consequences of it, why would another country sign a trade deal with you knowing that you will not follow the terms due to your countries internal politics ?
comment 10y ago · link · parent
Its also two things negotiators and knowing your strengths.
The world's best negotiators wont be able help you very much if you do not have much to offer.
Also I am skeptical of your assertion that anyone could write trade deals. It requires a very deep understanding of economics, international finance, geopolitics and a bunch of other topics - I would say being able to be a good trade negotiator is a lot more difficult than being a programmer and has far more profound consequences.
comment 10y ago · link · parent
Even if by some miracle Theresa May decides to withhold invoking article 50 before creating new treaties using back channels with the 50 other trading partners of the UK, it wont be possible to enact them until the UK leaves the EU and negotiates a new trade deal with the EU.
comment 10y ago · link · parent
The decision UK made to leave the EU is akin for Unilever to switch from selling shampoos to selling software - and we are not talking about a multinational with 100,000 employees. We are talking about an entire country.
The UK -> EU export is 40% but even the rest of the 60% happens through EU treaties with other non-EU countries.
Not only will the EU trade treaty need to be renegotiated, but so does the 50 other trade treaty with other nations - those treaties took a lot of time and over 600+ negotiators to write, the UK only have 30 negotiators and about 2 years.
A reworking of the economy usually results is a lot of unemployment and retraining. Imagine if the C standard library made a small change in some function. Retraining means public investment or as the austerity people put it - deficit spending - not sure how much appetite the UK govt has to do something like that.
Regardless of how much people hate on Java and Oracle - if they suddenly disappeared it would be chaos and lose of GDP for many years before we retool our software on Python/Go etc.
Also there is uncertainty - usually the horizon for bringing new laws into action are declared ahead of time by 4-5 years to give people/businesses time to plan.