Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions

Submissions

comment 3y ago · link · parent

> bad cause there are no jobs.

Yet Detroit's unemployment rate is 3.8%. For comparison, New York's unemployment rate is 4.6% and San Francisco's unemployment rate is 4.0%.

comment 3y ago · link · parent

> well educated residents

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

> Someone who says the solution to the housing problem is to move somewhere horrible with no jobs

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

BDC from the article is a bank – owned by the government of Canada that exclusively lends to entrepreneurs. They have the money needed for someone to become an entrepreneur. What is missing is people with a vision to use that money. The idea they are presenting, right or wrong[1], is that educating yourself can produce the missing vision.

[1] Probably wrong as Canada is considered, according to the OECD, the most educated nation in the world.

comment 3y ago · link · parent

> For its report, BDC defined an entrepreneur as a self-employed worker who hires employees to support their venture.

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

Except, the return on capital input is what generates the profit. Labour extracts the entire return on labour input for itself.

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

I don't understand the question. How could capital create additional value on top of labour if labour was not involved?

comment 3y ago · link · parent

> but profit comes from the value you generate beyond what you are paid.

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

The original comment clearly states that, for the purposes of the comment, Kay's definition for OOP is in force. Your personal definition is cool and all, but has no relevance to the context established in this thread.

Is there some value in this logically flawed correspondence that I have overlooked? What is it trying to add?

comment 3y ago · link · parent

> You can buy a repairable Nokia G21 for 134e at the moment would probably be sufficient for my usage but sadly support is crap :(

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

Technically true if you enable it with the @objc flag. However, the documentation suggests that you are only use that when needing to interface with Objective-C code, so it is not how one would use Swift in a pure Swift environment. Swift's primary object model design is much more like C++.

comment 3y ago · link · parent

Barring impossible regulatory barriers, which isn't really a problem for smartphones, options appear when consumer sentiment is there. In fact, at one time smartphones didn't exist at all. They emerged as a viable product because the consumer saw value in them. Someone will try to build a repairable smartphone as soon as they believe that is what consumers want, and if they got that notion right, it will become the dominate smartphone and everyone else will quickly follow suit to maintain their own profitability.

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

> I want a repairable phone with extended support for around 400e can you find me one ?

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

> there may not be any reason to manage all of their possible failures upfront

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

> we need to find a way to penalize this kind of behavior harshly and quickly.

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

> How does that make it easier to make sense of who is misleading you?

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

With respect to Python, what is the practical difference between:

    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

There is no risk if you truly believe in what you say. There is also no reason why you need to give up your job for such a venture.

So, I guess we're back to questioning why you think people would choose Bezos over you.

comment 3y ago · link · parent

> I honestly think they get away with it because mom and pop are out of business. I’d go back if I could.

That tells that you believe there is room for mom and pop to return, which questions why you aren't becoming the mom and pop?

comment 3y ago · link · parent

Actually, access to use the platform is what you are buying. In fact, Bezos gives the products you are interested in to you for free as an incentive to buy into using his platform. He then, of course, is able to use the proceeds from you buying into using the platform to pay for the product he gave away to you for free, and keeps some for himself to justify operation of the platform.

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

While some businesses are able to create regulatory moats that prevents (by military force, if necessary) consumers from spending their money elsewhere, I'm not sure what stops consumers from spending their money elsewhere when it comes to Amazon? I see nothing that it offers which is meaningfully unique. Anything I have ever considered buying from Amazon is also available at the 'mom & pop' store down the street.

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

> It boggles the mind that the system allows some people to accrue that much wealth

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

They only give the illusion of providing a better development experience if you forgo dealing with errors.

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

There are no practical problems found in error handling, period. They aren't anything special. It is no different than handling a person's age, and who has problems with handling that? You have failed to grasp programming at even the most basic level if you are struggling with handling values.

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

> but essentially never safe to communicate to the compiler the error types your function returns.

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

> Its a significant, real problem.

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).

comment 3y ago · link · parent

I must misunderstand, but your request does, indeed, sound like a failure – and not at all related to the discussion taking place. Perhaps you could explain how "middle layers" and "top context" fit?
1
959697
256