8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 2y ago · link · parent
That's interesting. Growing up in rural Ontario, we didn't know any different at the time, but in hindsight we were way ahead of the curve. For example, I didn't know anyone who didn't have a computer at home by the early-to-mid 80s, even families that were, looking back, quite poor. Apparently that would have been unthinkable for our American counterparts. We had high speed internet to the farm by the year 2000, and in the early 2010s fibre was installed to the farm. That was (and still largely is) unheard of stateside.
Similarly, programming was taught in schools not only during my time, but also my parents' time. They recount writing programs on punch cards in high school. My generation was writing BASIC already in elementary school. Meanwhile, our friends to the south were still desperately trying to get programming into the classrooms just a few years ago!
Suburbs are stereotypically where you find boring people, so perhaps the disinterest in technology that you experienced was simply down to that stereotype playing out? The people around me have always seemed quite excited about technology. Perhaps B.C. was/is behind the curve, but I'm not sure that is telling about the country as a whole. I don't see that being the case at all further east.
> Canada also doesn't have much of an engineering/technology culture.
I posit that Canada's situation is that it is primarily focused on engineering/technology culture at the cost of not being focused on business culture. Canada is quite strong in engineering (and in producing engineers), but as you allude to, since the business culture is lacking the engineering and engineers go to where there is a business culture (i.e. the USA). Engineering for engineering's sake does not stand on its own. You also need business to prop it up. And that's where Canada fails.
comment 2y ago · link · parent
There are a few exceptions, but the majority of ridings are of roughly the same size. For all intents and purposes the electoral system is about as proportional as is reasonably possible. People move around so it can never be perfect. But it really is close enough.
Perhaps you are referring to to the fact that the constituents seem to prefer to hire based on the MP/MPP/MLA's labour union affiliation instead of whom will actually represent them, with the representative often being more likely to work for the union instead of the employer, leaving discorporate favour in government towards the unions instead of the employer? That's definitely a thing, but that is not really the electoral system's fault. That's just abject stupidity on the electorate's behalf. They could vote for non-union members who are actually willing to work for the employer, restoring proportionality. There is nothing about the electoral system that stops them. They simply choose not to...
...I expect because they like the union party scapegoat. It allows a place to defer blame. The Westminster system places a lot of onus on the public at large to be involved and the public at large doesn't like that. The public at large doesn't want to be involved at all. Let's face it, the majority don't want to think about it to any degree, while a smaller segment are willing to pick a dictatorial ruler every four years, but nobody wants to embrace the Westminster system as it is meant to be, which leads to all kinds of weirdness – Yet, interestingly, nobody ever suggests getting rid of the Westminster system despite not wanting to use it. It is always only wanting to change how the representatives are chosen, which doesn't actually fix the problem of the Westminster system expecting people to be involved where the people don't want to be.
comment 2y ago · link · parent
Indeed. And respect to software that knows when it is complete, but is there some relevance to this here?
> Also: https://news.ycombinator.com/item?id=30385195
While the distinction between fuzzing and PBT is, er, fuzzy, what is unquestionable is that PBT is not meant to be coverage driven. It is a means to document behaviour for other developers in a way that is, in some cases, more descriptive than providing a fixed set of examples or other "traditional" ways of providing such documentation. Seeking coverage and "interesting" cases, rather than providing documentation, is decidedly the role of fuzzing.
comment 2y ago · link · parent
I recently had a problem cross my desk which the stakeholders thought might be solvable with an LLM, which may have been true, but ultimately was more easily solved using plain old boring programming techniques. Is that the hype?
While the final solution didn't need to involve LLMs or anything of that nature, I don't think said stakeholders would have been able to even envision the possibility of trying to solve said problem had semi-recent technological developments that has taken on the AI moniker not enabled them to think more creatively about what machines might be able to do. Without that, there is little chance I would have become aware of the problem someone faced.
If that's the AI hype, I'm game. Being able to get computers to do things others didn't think was possible is what brings me to the world of software development.
comment 2y ago · link · parent
A successful test implies that the documentation is true. That is, after all, why you are writing tests: Documentation – To explain to future developers the intent and usage behind the code you wrote. You could just as well write the documentation in Word instead, but then you'd lose the ability to perform machine verification of the documentation, which is a huge boon to moving codebases where the documentation and code are likely to fall out of sync if one is not incredibly careful (although perhaps LLMs will some day bridge that gap?).
The documentation being true does not imply that the documentation is useful, of course. Writing useful documentation is still an art.
comment 2y ago · link · parent
To who? What you describe does not seem much different than the representation governments most of us here are accustomed to, other than the algorithm eases some day-to-day work required of the constituents. Already nobody cares, and no doubt would care even less if they could let an algorithm let them be even less involved.
comment 2y ago · link · parent
Especially licensing. Even on commercial radio you can regularly catch them playing "10 second" clips of different songs, to stay within fair use, that they wish to play but cannot legally do so. The college stations are more brazen about it and will flat out tell you that they can't play different jobs for legal reasons.
Indeed, commercial radio does have to appeal to an audience, but that audience would unquestionably enjoy other music – at least within the same genre. But playing it for them opens up a huge legal minefield. It is a lot easier to pick a small catalog that you can properly audit and disallow anything beyond that.
comment 2y ago · link · parent
comment 2y ago · link · parent
Your "public" tests should document the API for future programmers. This is the concrete contract that should never change, no matter what happens to the implementation. If these tests break, you've done something wrong.
Your "private" tests are experiments that future programmers know can be removed if they no longer fit the direction of the application.
comment 2y ago · link · parent
What's the standard term? While I agree that unary isn't widely known, I don't think I have ever heard of any other word used in its place.
> gRPC didn't need to be completely broken on HTTP/1.1.
It didn't need to per se (although you'd lose a lot of the reason for why it was created), but as gRPC was designed before HTTP/2 was finalized, it was still believed that everyone would want to start using HTTP/2. HTTP/1 support seemed unnecessary.
And as it was designed before HTTP/2 was finalized, it is not like it could have ridden on the coattails of libraries that have since figured out how to commingle HTTP/1 and HTTP/2. They had to write HTTP/2 from scratch in order to implement gRPC, so supporting HTTP/1 as well would have greatly ramped up the complexity.
Frankly, their assumption should have been right. It's a sorry state that they got it wrong.
comment 2y ago · link · parent
But that says that they do use gRPC internally on projects that are new enough to have been able to adopt it?
comment 2y ago · link · parent
More commonly, there are the people who use a SQL server at the lowest level, but then stick another database layer on top in order to provide a more friendly querying experience for the bulk of the users. The prevailing idea is absolutely that most people shouldn't have to use SQL, and most likely that they should use a hipster-web-accessible database, even if SQL exists somewhere inside of a black box.
Niche does not imply that something is nonexistent, but it does seem pretty clear that we go to great lengths to ensure that most people don't have to use SQL, limiting its use to a narrow set of developers who specialize in that niche, while everyone else uses higher level languages to communicate with the database.
Which is not at all what SQL envisioned in its infancy. It was supposed to be the language for all business people far and wide.
comment 2y ago · link · parent