8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 10y ago · link · parent
If Rails is not the right tool for the job, reimplementing Rails on top of Go isn't going to make it the right tool.
It is possible that some future "killer app" will emerge out of the Go ecosystem like Rails did with Ruby, but the effort to build something like Rails to duplicate Rails is not a particularly good use of someone's time.
comment 10y ago · link · parent
Of course, you can write software in the same domain where ORMs excel in Go, but I am not sure it is the best tool for that job. A good ORM would go a long way to making that less true, but I'm not sure even that would put Go at the same level as tools that are geared towards that type of problem. Go, like all tools, is still targeted at a certain class of problems.
comment 10y ago · link · parent
If you come to farming with $2-3M cash in hand, you will typically be in pretty good shape (~$60K average yearly income based on the above assumptions), assuming you have figured out the management aspects. But most don't have $3M lying around doing nothing, and that's the real challenge. The way forward seems to be to hold another job (programming in my case), and take all you can from that job and put it into the farming business until you have built up enough capital that the farm becomes self-sustaining.
It's a long road, but hopefully worth it. As they say, if it were easy, everyone would be doing it.
comment 10y ago · link · parent
If you have family willing to hand down the business or already independently wealthy, then maybe leaving programming to farm is more realistic.
comment 10y ago · link · parent
1. Prices tend to be sticky. Someone who thought he could get $1M a couple of months ago is still going to try and get $1M now. The time to sale may not be immediate like in the past, but as long as the seller is willing to wait, the prices can remain high for a long time. There has not been a significant drop in price yet, and it is too soon to tell where the market will go.
2. Sales have slowed, but it is not yet clear why. It may be that foreign investors pulled out, but it may be that the locals stopped buying because they thought foreign investors would pull out. Similarly, it may be that the locals have stopped buying because they fear a government that changes the rules on a whim. Once these questions start to become more clear, and confidence is restored, we may quickly see a return to the way it was. Again, it is far too soon to tell.
comment 10y ago · link · parent
Nobody is concerned that the top level baseball players are all men of similar characteristics because the teams themselves aren't making it an issue. The leagues realize that it is those men of similar characteristics that they are selling. Fans latch onto the players, even to the point of buying merchandize with the player's own brand. There is absolutely no worry about paying such a person millions of dollars, because the crowd is there to see David Ortiz, not a random woman who was born in India. There is no drop-in replacement for the brand of (insert your favorite player), and there never will be.
Tech is different. The product is the tech, not the people. In this case, it may have been Linus Torvalds or that random woman born in India who built your product. Assuming they are able to deliver equally, it makes absolutely no difference to the customer. Theoretically, everyone could be a drop-in replacement. As such, driving down wages is a top business priority, and the way to drive down wages is to increase the supply of the product you are buying (i.e. labour).
The stats show that men with certain characteristics are also most likely to be building the tech. "Group X/Y/Z" is the most logical untapped market to go after. If we assume women make up half the population, but make up almost no portion of the tech labour force, that is half the population that has not previously been within your hiring pool and are ripe for the picking. It is in your best business interest to encourage them to join the ranks.
This is also why those who couldn't find cheap labour are pushing learn to code initiative so hard. We don't see the baseball industry pushing for "learn to baseball" initiatives because, again, they are selling specific people and adding more random people nobody cares about does not help them lower labour costs.
comment 10y ago · link · parent
I have become especially fond of the latter approach, when possible. No million dollar moonshots like you often read about around here, but I've had good luck at least making back the cost of my time/materials, which is quite gratifying for something I'd tinker with for free in my spare time anyway.
I think it works really well for me. I love the flexibility and variety while still being practical. But, again, I have been fortunate to be almost exclusively interested in things that people are willing to pay for.
comment 10y ago · link · parent
I would have thought you'd be more likely to see a millionaire living in those conditions. You don't get rich by living extravagantly, you get rich by living on the bare minimum and investing the rest. Granted, a detached house could have been a good buy in the right market over the past while.
comment 10y ago · link · parent
While I agree that stronger definitions are necessary, that implies that all high school dropouts from rich families were personally making 1st quintile incomes at some point before the age of 40. That seems highly unlikely to me. Even children of rich families are usually expected to work and find a way to make their own income (even if that comes through family connections), not have their parents income flow to them unimpeded and reclaimed as their own income. There is no reason to believe that these children of rich families were ever making as much as their parents at any point in time, save the 14% that did accomplish it.
As such, for all intents and purposes, the chart shows what two groups who both effectively started with zero income were able to achieve by the age of 40. The interesting thing is that there isn't much variance. Yes, the poor college graduates fared slightly better – but only slightly. That is in stark contrast to the popular narrative that high school dropouts are doomed to failure, forever stuck working for minimum wage, if they are lucky and that getting a degree will magically save you from being poor.
comment 10y ago · link · parent
Not quite. All it says that the people who are able to do well in school also are able to do well in the workplace.
If you want to try and derive causation here, the simplest and most reasonable explanation is that the qualities that allowed them to do well in school are also what allowed them to do well in the workplace. It does not seem shocking at all to think that those who have drive, desire, ability, etc. perform better in everything they do, be it education or the workplace.
The idea that schooling magically turns you into a new person able to finally succeed for the first time seems like a huge stretch.
comment 10y ago · link · parent
Where does it show that? The chart you linked to shows income quintiles, not wealth. I couldn't find it in the article either, but may have overlooked it.
A wealth visualization would be quite appropriate here though, as a high income does not necessarily lead to retaining wealth. Some suggest that those who grow up poor struggle to manage their money, so it would be interesting to see if those who came from poor families with higher earnings became rich themselves, or if they remained poor.
> I'm sure is even better when you compare poor high school dropouts vs. poor college graduates, which is why a college degree may still be worth the money and the best pathway out of poverty
I'm not sure what you are really going to glean from that comparison? People generally don't drop out of high school without a reason. Usually, those reasons are what also lead them to do poorly in the workplace. If you try to compare education and income like that, you end up with a bias towards those whose situation did not provide the problems that resulted in them dropping out of school and doing poorly in the workplace.
What may be revealed here is that rich kids have more opportunity. They have all the reasons to drop out that the poor have, but additional reasons such as having a golden opportunity at the family business or within the family's social network. The latter does not negatively impact their future because they dropped out for positive reasons, not because they had a deeper problem that was holding them back in their schooling and continued to hold them back in the workplace.
comment 10y ago · link · parent
That's hilarious, but in no way representative of the real world. In fact, the tech industry in particular goes out of its way to welcome people without degrees with open arms. You're in the wrong place if you think the tech industry doesn't provide good jobs.
Check out the income distribution of bachelor earning college graduates sometime. They are pretty well evenly represented through every income group, just as they would be without a degree. The exception is those who have post-graduate degrees. They are disproportionately represented amongst the highest earners. But of course they are. Doctors, lawyers, etc. which are traditionally entered through post-graduate schooling implement supply management to artificially limit supply, which artificially increases their incomes.
Of course, that has nothing to do with education, just a manipulation of the market. Since we've been talking about Canada, the dairy industry there does the same thing[1]. There, you have to invest in quota instead of investing in a post-graduate degree to become one of the chosen few, but the economic results are the same.
[1] https://en.wikipedia.org/wiki/Supply_management_(Canada)
> Sorry I still don't see how this means that urbanization is the issue.
What part don't you understand? It's just preschool level economics.
> A college degree absolutely leads to higher incomes. This has been studied and is a fact.
If incomes have increased as more and more have college attainment, then there isn't stagnation. Which is it? You can't have it both ways.
> Why are home prices high in Vancouver?
~$500K USD for the median place isn't that high, especially compared to most world-class cities around the world, but Vancouver does have a few things going for it:
1. Low population density. About half that of even San Francisco. The city is growing and people are buying these single occupant homes with the plan of turning them into multi-occupant homes in the future. $1M when you divide it by 100 families down the road is nothing.
2. The climate! The Vancouver region is very unique to Canada, consistently warmer than pretty much anywhere else in the country. Those who wish (or forced) to remain in Canada, but not live out the normally harsh winters are immediately attracted to Vancouver.
3. The geography is breathtaking. Mountains, the ocean, and prime farmland all define the boundaries of the city. Again, there is not much else like it in Canada, especially if you want to reside in a city.
> but it looks like more than 40% of residents in San Francisco are earning $100k +
But realistically, you need about $250K+ to even consider the median home in SF. What percentage of the population does that comprise of? In contrast, about $120K in Vancouver. It would be interesting to see how those numbers compare, not the same income in both cities, because again a home is about half the cost in Vancouver.
> The median is misleading.
It doesn't tell the whole story, for sure. I welcome more comprehensive data. However, it's not misleading to tell the story of the people who live there. Median is simply the number in the middle, so we know that half the population make less, half the population make more. Likewise, we know half of the homes cost more, half cost less.
If you want the people of a given city to be able to afford homes, then the median household realistically has to be able to buy the median home. If we don't care about everyone being able to buy a home, then who cares who is buying them? They could be $100M homes and nothing would change.
It seems I have lost track of your original point here.
comment 10y ago · link · parent
I think we can apply the Pareto principle here. The car seems to work surprisingly well in ideal conditions, but probably doesn't in less than ideal ones (let's see it operating in a snow storm!). So, let's say that 80% of the work is done, leaving 20% to fix all the little edge cases that are bound to pop in the real world.
According to Wikipedia, the first truly autonomous cars started to appear in the 1980s. Let us round that off to 30 years of development. According to the principle, that means 30 years represents 20% of the time.
Thus, 120 more years before they become available. If the ownership model persists, I'd add another 5 years to let people replace their existing vehicles to reach common status. If the shared fleet model takes hold, as many suggest it will, then that number may be reduced somewhat.
comment 10y ago · link · parent
Respectfully, that's absolutely ridiculous. As you can see, even now those with degrees are only 30% of the population. The unemployment rate is nowhere near 70%, I can assure you.
I am willing to agree that the numbers have gone up because people fell for the marketing that told them they wouldn't find work without a degree, but that's entirely on them. We wouldn't give them sympathy if they bought an iPhone, that they couldn't afford, because Apple told them they had to have one.
> Even with home ownership I don't think the issue is as simple as urbanization.
It still comes down to supply and demand, and cities tend to be land-locked, leaving up the only way to expand. But as most people still desire detached homes, up is not an option to help with that market. Not to mention zoning issues, financial issues, etc. that can add considerable time to making upward growth available to those who are interested. Outside of that, the only thing that can give is on the demand side, but these cities continue to grow by leaps and bounds regardless.
Outside the cities, where supply is effectively unlimited and demand has waned in favour of urban living, we can find markets where houses have gone down in price.
> I'd say it's more related to something like wage stagnation
Which clearly dispels any myths that more education leads to higher incomes, so that isn't a justification for being there either, in case you were thinking it (many do, sadly).
> Vancouver is the colloquial example here I think.
I don't know why Vancouver gets all the attention. I think it is because Canada typically reports using mean, while most of the rest of the world use median. The mean average will tend to skew higher given the nature of the market, so it sounds scary to those not paying attention.
The median home price in San Francisco is about $1.1M USD[1]. The median home price in Vancouver is about $540,000 USD[2].
[1] http://www.zillow.com/san-francisco-ca/home-values/
[2] http://www.timescolonist.com/news/b-c/real-time-sales-number...
Now, the median income in Vancouver is about $20,000 USD per year lower than in SF, but $20K isn't anywhere near enough to cover an additional $560,000 on a mortgage. Not even close. So, in reality, the issue is far more apparent in SF than it is in Vancouver.
comment 10y ago · link · parent
To be fair, that's largely because engagement was so low[1]. Under 10% of the population were college graduates. If we returned to those levels, costs would drop dramatically.
[1] http://i.imgur.com/1xUOimy.jpg
> home ownership was a given
But so was living in small town/rural areas, something that is completely unfathomable to most people these days. Like college attainment, urbanization is an upward trend. The difficulty of trying to fit more and more people into a relatively fixed area is what is largely responsible for the increased difficulty of affording a home.
The real problem here is that we think we can do what they did, with our own unique twist on it. If we actually lived like they did, those would still be true today. But we expect more, and that comes with a cost.
comment 10y ago · link · parent
You assume wrong. They were not straight up textbook problems, but I agree that I used a wealth of existing knowledge to apply it to my specific problems. That's what engineering is.
> You didn't solve these problems, other people did
Naturally. If you are working on finding novel discoveries the world has never seen before, you would be appropriately labeled a scientist working on science. Hence, also why we consider the algorithms I mentioned before to come from computer science, not software engineering.
comment 10y ago · link · parent
What, in your mind, makes an engineering problem hard? I've certainly had to dig out CS algorithms and 'clever' applications thereof to reach desirable performance out of some custom widgets in front end projects. I don't know if that can considered hard – hindsight tends to make everything seem easy – but it is certainly beyond pasting in a library like you describe.
I have to agree that you can create some very useful projects that do not deviate from a framework/library's documentation, or what have you. But we don't really know what the parent in particular is working on.
comment 10y ago · link · parent
Which is the same reason why you see barns going up everywhere instead.
comment 10y ago · link · parent
I, quite honestly, really struggle to imagine this person. As someone involved in the agriculture industry, I see a lot of blue collar people. They all seem quite intelligent and capable to me. Some I could consider absolute geniuses. Save a small group who have real crippling disabilities, I'm not sure I have ever met a person who I think would struggle with those technical concepts.
It's a time commitment, for sure, but not a particularly difficult undertaking. What I have observed over the years are numerous people who think that this kind of technical work would be an awful way to make a living. That's the real barrier to entry. It is difficult to put in the necessary time when you get absolutely no enjoyment out of it, as difficult as that is for me – and I expect everyone else around here – to understand.
Or maybe I've just lived a sheltered life. The high school completion rate where I live is about 90%, so these people who you say can be identified as high school dropouts are not particularly common to begin with.
comment 10y ago · link · parent
The function in question that could return an error is being called in the main function. Who are you going to pass it to, exactly? error is a not a return value on main. If you knew what the error could be, you might find a suitable workaround under those conditions. But since the error does not even exist for you to handle, about all you can do is terminate the application. Which is exactly what will happen in this circumstance anyway, even if you don't check the error result.
I'm still not clear what you are really going to meaningfully do with the error information here even if you did magically start getting errors against the compatibility promise? If you are going to handle errors, you actually have to know what you want to do with them. The following adds nothing to your code.
if err != nil {
// I didn't expect that. Oh well.
}
It's not like anyone is suggesting you should avoid checking errors in all circumstances. We're talking about very specific cases where all of the conditions are known. If GET stops being an HTTP request method, or http://example.com/ is no longer a valid URL, you've got way bigger problems than not gracefully handling the world flipping upside down.comment 10y ago · link · parent
That isn't quite the same thing. That says that an error is returned only because it is required to conform to the io.Writer interface. Without that requirement, it wouldn't return error in the first place. It tells the reader that they should not be confused as to why writing to a buffer might return an error, when such an operation should fundamentally not return an error.
These other functions in question have very good reasons to return an error: Invalid input.
> Looking at the implementation is no guarantee that the implementation won't be changed in future.
The Go compatibility promise says that the behaviour won't change, except under exceptional circumstances – like a security flaw that cannot be fixed using the original behaviour. It is highly unlikely that is an issue for those particular functions.
But, if you still think it is important, what do you plan to do with an error that might just randomly appear in the future anyway?