8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 3y ago · link · parent
Well schooled residents, at least. Canadians have more schooling than anywhere else in the world according to the OECD. How well they are educated is questionable, however. Canada lacks the markers of an educated society – incomes are low and stagnant, very little political engagement, etc.
> Giving birth to one OpenAI per year is arguably better than getting 100 new dry-cleaner businesses per-year.
The article is written through the eyes of BDC. Is one OpenAI actually better for them than 100 dry cleaning businesses? Would an OpenAI-like business even seek funding through BDC when they can just as easily secure a payday from Microsoft?
comment 3y ago · link · parent
The stated solution was always to move to where the jobs are. Perhaps counterintuitively, the trouble with high housing prices is that even the job providers don't want to live there. In fact, through the mid-to-late 2010s as Vancouver and Toronto became unmanageable, the strongest job market in Canada was in a predominantly rural area with an average home price of $200,000.
The trouble is that people eventually take notice, so it is always a moving target. The average home in that rural region is now $700,000 as people have pushed their way in to bask in the job opportunity. Which, of course, also means the job market is no longer as strong (although remains stronger than a lot of country according to September data – the decline takes time) as job providers have started moving to more prosperous ground again. You can't say "move to <location>, problem solved" because as soon as you do, <location> will necessarily need to change to somewhere else.
A story as old as time, of course. Canada wouldn't exist at all if people weren't always needing to find a new location. That is life, I suppose.
comment 3y ago · link · parent
[1] Probably wrong as Canada is considered, according to the OECD, the most educated nation in the world.
comment 3y ago · link · parent
Perhaps what has actually changed in the last 20 years is that, thanks to technical advancement, a need for employees has declined – not that fewer people are taking on business operational risk as entrepreneur is more typically defined?
For example, I operate three different businesses in Canada, but only one of them hires employees.
comment 3y ago · link · parent
Of course it does. Why would labour settle for anything less than every last cent (within some reasonable margin of error) of value that it produces? Labour is highly mobile and holds all the power. Labour is able to produce value even without capital. Capital, on the other hand, doesn't function without labour. You are simply not going to keep labour around to maintain capital operation if you don't give back all the labour value it produces.
In practice, we can also demonstrate that this is the case as even when unions roll into town – which really reenforces how much power labour wields – you never see the needle move more than small percentages that are within the margin of error. A $10 per hour job might be able to push for $11 per hour, but never does a $10 per hour job suddenly jump to a $100 per hour job.
comment 3y ago · link · parent
Maybe centuries ago that was true. In the modern economy, workers are already extracting the full amount of value they generate[1]. Profit for a business comes from the additional value its capital is able to generate on top of the labour value.
[1] Within reason. The market is never perfectly efficient. Sometimes workers see slightly less – sometimes slightly more – but not anything hugely out of line.
comment 3y ago · link · parent
Is there some value in this logically flawed correspondence that I have overlooked? What is it trying to add?
comment 3y ago · link · parent
At 134e support might be crap. What kind of support contract are they offering you if you throw, say, another 1000e at them? How about 10,000e? 100,000e? To value something requires demonstration of actually valuing it. You can't just say "I value this" and expect things to magically change. Words are meaningless. Only action gets things done.
I get the impression that what you actually value is a phone leveraging economies of scale with decent support.
comment 3y ago · link · parent
comment 3y ago · link · parent
But so long as people don't truly value repairable smartphones (see the other comment about someone wanting a repairable smartphone for practically free – that's not valuing something), there is no realistic avenue for someone to create a repairable one, just as there would have been no realistic avenue to creating smartphones in the first place if the consumer did not see value in them.
comment 3y ago · link · parent
Does 400e speak to you meaningfully valuing such an item? That's little more than a single meal at a high end restaurant, for a highly complex device that takes many thousands of man hours to create.
You can't even buy many non-repairable smartphones for that much. This does not demonstrate you valuing a repairable device at all.
comment 3y ago · link · parent
You still need to handle the errors you receive to ensure that implementation details do not leak to the next caller. That, at very least, means returning (or raising/throwing) a new error that is relevant to the function returning it - not what was relevant to any functions it happened to call.
To continue with your example: If your database error bubbles up, callers will come to rely on those error values. Then, when changing requirements sees you need to switch your implementation to a web service API – with a whole different set of errors – now everything they wrote is broken.
Which is especially problematic in languages like Go and Python where possible error values are not well communicated to the caller via language constructs. Your code will compile just fine, and seemingly run fine, until that SQL error you were expecting becomes a 500 HTTP error that you didn't know to handle, and now you're in a difficult place. Maybe you can get away with that practice if you have checked exceptions, as at least the compiler will blow up when the possible set of errors change, but it's still a pretty awful API design to leave the caller breaking like that just because you changed an insignificant (to the caller) implementation detail underneath the abstraction they are using.
> (frankly, that's condescending)
Flawed logic. There is no emotional component to a discussion.
comment 3y ago · link · parent
There is only one solution: The population valuing repairable products.
After that, problem solved. That will make them the more profitable one, penalizing production of non-repairable products through loss of profitability, and companies will jump at the chance to produce that which is repairable.
But so long as we, as a population, don't value repairable products, companies are going to continue to produce what we actually value instead. After all, a company can only stave off bankruptcy by producing what people want.
There is no other option. Even if you want to penalize through law, or similar means, democracy requires that the population first value repairable products to usher in such a law, and at that point the company's quest for profitability will have already solved the problem anyway.
comment 3y ago · link · parent
Easier doesn't mean perfect – there is no such thing as perfect here – but users on Twitter tend to tell a larger story about themselves, more so than the typical newsroom reporter, and from that you have more information to gauge their thought processes.
comment 3y ago · link · parent
try:
something()
except FooError as err:
raise BazError("something bad happened", err)
except BarError:
return 1
and err := something()
switch {
case errors.Is(err, FooError):
return 0, NewBazError("something bad happened", err)
case errors.Is(err, BarError):
return 1, nil
}
? I see no meaningful difference at all.The only thing that stands out to me is that Go version gets you thinking about errors more (although not as much as some other languages), not being sourced from something bolted onto the side. In Python, you are more likely to lazily call something() blissfully unaware that an error may occur. Is the problem actually not with Go per se, but that people don't want to be reminded that errors are a thing, presumably because they don't want to put in the hard work to properly deal with them?
It is quite true that properly dealing with errors is hard work. Really hard work. But it is also the most important code in your application, so I posit that it is work worth doing.
comment 3y ago · link · parent
If that particular platform doesn't interest you, why pay for it? As before, the store down the street probably sells the same thing. There is nothing I know of that Amazon sells that you can't also get somewhere else.
comment 3y ago · link · parent
If consumers actively choose to trade an IOU that offers future goods or services (that's what money is) to Bezos for something Bezos is offering now, and not to you for whatever it is you are offering now, I guess he "deserves" it, no? Surely people should have autonomy in who they decide to make trades with?
comment 3y ago · link · parent
What do you find surprising about consumers preferring to buy something from Amazon rather than their local mom and pop store?
Hell, that's the entire foundation of the urbanization movement. When the population was rurally isolated, they had little choice buy to buy from the local mom and pop – keeping wealth widely distributed, but we collectively saw value in having one big "mom and pop" enabled by having large populations living in close proximity to each other, so we (the majority of us) made the migration into the city.
If you have ever chosen to live in a city, you must have recognized the value too? Else why would you be there?
comment 3y ago · link · parent
Indeed, there is a class of programming, known as scripting, where errors actually don't matter. If something bad happens you simply fail, deal with the problem through human intervention, and try again later. It is not unreasonable to carry errors up the stack using exception handlers in this type of problem domain. Arguably communicating an error state this way is the best solution we know of to that problem.
However, there is another class of programming, known as systems, where error handling is the most important code you will write. This is the domain where exception handlers are just plain not suited to the problem. The idiomatic Go solution is not pleasant, but a huge improvement over dealing with catching exceptions everywhere.
As before, because catching exceptions is so painful, many applications that probably should be systems are pushed into being scripts. Which may very well be a good engineering solution to the problem of dealing with a quirky language, but idealistically a programming language will not shape your application requirements like that.
But, yes, Go is not at all designed to be a scripting language. It has been quite explicit about that since day one.
comment 3y ago · link · parent
The discussion is always just about the pleasantness of the development experience, and exception handlers are simply not pleasant to use (when carrying errors) – to the point that, when using those languages, developers go out of their way to find ways to avoid having to deal with errors to not have to write out the monstrosity that is to catch an error thrown.
Indeed, that's life. You have to deal with the hand you are dealt. If that means changing how the application functions to not make your developer life a complete living hell due to quirks of a programming language, so be it. But idealistically, that does not make for a good language design. There is a reason why they are called exception handlers, not stack traversers, or whatever.
comment 3y ago · link · parent
It is safe as long as you don't write too much code for no reason. The problem in the example is that DatabaseError needlessly defined an Error method. It serves no purpose other than to allow the issue to arise. Remove said method, which has no reason to exist, and the program will fail to compile.
> Its a real problem. People don't write perfect code.
Okay, sure. It is possible that a programmer may, for whatever reason, leave out entire blocks of logic that the program needs. Imagine not adding billing logic to your storefront software – I'm sure it has happened to someone before! Making interfaces more intuitive does not solve that problem, though.
comment 3y ago · link · parent
It's a contrived problem, at least. In reality, your code is going to look more like:
func GetUserByID(id string) (string, error) {
s, err := QueryDatabase(fmt.Sprintf("select * from users where id = %v", id))
if err != nil {
// Do something with the error, returning a new error if necessary.
return "", someNewErr
}
return s, nil
}
The callers of GetUserByID have absolutely no concern for the implementation details of QueryDatabase. When requirements change and you replace QueryDatabase with QueryWebService, callers expect to still get the same errors back, not HTTP errors all of a sudden when the code was previously getting MySQL errors. That would be plain horrible API design. So, you wouldn't actually ever encounter this particular issue in practice (assuming nobody hates you).