8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
But you still need all of the various single page REST/RPC endpoints to make use of GraphQL as it is intended. Some developers out there skip the REST/RPC part, making GraphQL their entire service, violating its principles.
If it works it works, but it does not come tradeoff free.
comment 2y ago · link · parent
But I think it comes with a lot more reluctance and skepticism. You are not likely to jump in head over heels, and even when you do give it a try I expect most farmers will do so with the attitude of "if it doesn't work at least I can always go back to the old way".
The "OMG this is amazing and will solve all of my life's problems" attitude I see in tech certainly isn't there in my experience.
comment 2y ago · link · parent
It doesn't need to be for sale to help with the situation, of course. It still relieves pressure on the demand side. An individual can never afford an infinite number of houses. Even if someone is, as you say, hoarding houses, at some point the last house they build will be the last house they can own and then they drop out of the demand side of the equation.
> who does cheap credit / inflation help more, people with assets or people without assets?
Whomever finds opportunity in it, I suppose. Same as always. Someone sitting on cash assets will be worse off (after all, that's what inflation is: a devaluing of a currency), while someone with no assets can leverage the situation to build real wealth. Even the job market tends to improve in a cheap credit / low inflation environment as businesses use that to chase more labour-requiring opportunities, which is a boon for those who have nothing. There is no one answer here.
comment 2y ago · link · parent
In the same vein, if we consider the earth to be flat then the law of universal gravitation no longer works. I see what you mean, but I have no idea why anyone would ever want to convey such meaning. Of course you can "invalidate" every law in existence if you completely redefine the conditions under which the law is made, but that's rather nonsensical.
> So when it comes to building more housing supply, it will never help housing prices no matter how much we build, if that supply which gets built is never for sale.
While I am unsure of how this relates to our discussion, I expect you will find that virtually every house is for sale. Sure, there is always a "stubborn old mule", but I'm certain the vast majority of homeowners would not say no to you dropping a billion dollars in front of them.
The biggest trouble is that new construction costs even more than used houses. Nobody is going to purposefully go out of their way to build a home in order to lose money on it. So while building endless new homes would theoretically reduce prices, it would never happen in the real world because who is going to do it? Houses most certainly don't just magically spring out of the ground.
comment 2y ago · link · parent
In fact, the price is "purely determined" by supply/demand in the scenario you gave. The monopolist is using their monopoly position to create artificial scarcity, thus driving up prices. This is consistent with the law of supply and demand.
> would that indicate the world has a water shortage?
Impossible to say without more information. What is happening around the 2L for sale? Are you rejecting the sale based on price (i.e. preventing price from rising), instead selecting who gets it using some non-priced-based mechanism, such as a lottery or first-come, first-served? If yes, then that indicates that there is a shortage. If it is sold using a price-based mechanism, then clearly not. That is a "normally functioning" market.
Once the water is all used up and there is no remaining water supply, where no amount of money can buy more (i.e. preventing from rising), then perhaps you might say that there is a shortage. However, in the real world, absent of some other factor (e.g. price gouging laws), price will keep rising until you are compelled to make more of that water available, so that still wouldn't be a shortage situation.
comment 2y ago · link · parent
Of course. Remember, homebuilding continues to be incredibly labour intensive. Meanwhile, all of those countries have enjoyed "full employment" for many, many years. Which means that workers have all kinds of job options.
In other words, you can't build without people. Ask yourself, why would the people choose construction? Wouldn't sitting at a comfy desk programming computers all day be more desirable? The small few who enjoy it can’t keep up.
Do you work in construction as a career? If no, why not? What would it take to get you to start building houses? Higher compensation than other jobs, perhaps? But guess what high compensation brings...
comment 2y ago · link · parent
Why would the law of supply and demand fall apart under captive/uncompetitive markets? A captive or uncompetitive market may impact the quantity of a good or service available and/or the quantity of a good or service willing to be purchased at a given point in time, but that doesn't change the law.
> Many also assume trade volume is necessarily representative of a supply shortage, when that isn't always the case, as "supply" and "supply for sale" are two different things.
Huh? Supply is characterized by being "for sale". Of course, a shortage occurs when price is prevented from rising. Housing certainly doesn't have that problem. The so-called "housing shortage" is really an issue of latent demand – people desire homeownership but can't afford it.
comment 2y ago · link · parent
There is a place for interfaces, but not all dependencies need to be interfaces. The database handle mentioned in the previous comment is a good example of where dependency injection can be useful without the need for interfaces. In your configuration example, a string path to the configuration file might be the useful dependency.
comment 2y ago · link · parent
Most tasks humans perform are in following a "script" so stands to reason that software would carry that forward. Why wouldn't most code be of the script variety? It would be quite surprising if that wasn't the case.
> which makes me think you're not even a software engineer at all, are you?
Appeal to authority and ad hominem at the same time. Intriguing.
> I guess that you're talking about embedded development???
I am talking about scripts and systems. You had this figured out earlier when you linked to Wikipedia. It was right there in front of you. Why the confusion again all of a sudden?
It is probably true that embedded device work is generally system in nature. It is likely that their typical workload isn't amenable to scripts, although there are some obvious exceptions, so perhaps that is what you had in mind there? But systems certainly aren't limited to embedded work.
> Where Exceptions are not used because they're a bit too costly
While I respect your ability define words as you see fit, if you really want to be the word pedant, we're talking about errors, not exceptions. Specifically carrying errors via exception handlers. It is not unusual for embedded systems to store exceptions, even in C, but that is well beyond the topic at hand.
It is always funny when the pedants aren't even technically correct. Well, at least you tried. You will always have that.
comment 2y ago · link · parent
But I posit that the "definition" is consistent with the literature. Scripts carry out a defined set of tasks and if something goes wrong they can simply fail, wait for the problem to be resolved, and then try again. Systems don't have the same luxury. They have to find alternative solutions when fault occurs. "An error occurred. Try again later." is not acceptable for systems, but is acceptable and perfectly valid for a large class of computing problems.
Again, "try/catch" is great for scripts as most of the time you just want the error to "bubble up to the top" to notify the user, or whatever, anyway. Such a thing would be unthinkable in systems, though. When you actually have to deal with errors at every turn, "try/catch" is a slog, and I would argue a poor mental model to boot (what's special about errors that deserves something different?).
It turns out that software development is an engineering endeavour, not a religious one. Different tools for different jobs.
comment 2y ago · link · parent
But it not fun when writing systems. That is why we have different tools for different jobs.
comment 2y ago · link · parent
Not many do. Especially those doing the hiring. The thing is, there isn't much business value in making it a core competency, so employers just wing it mostly based on copying what they see someone else do, without any attempt to measure effectiveness, combined with plain old hope and prayer. The result is what you have witnessed.
comment 2y ago · link · parent
There is no solution to that problem other than to give up democracy, but the alternatives come with their own set of trade-offs. The wonderful world of people problems.
comment 2y ago · link · parent
comment 2y ago · link · parent
> When a news reporter is doing man-on-the-street interviews, you have to sign a release that allows them to broadcast footage of you.
If used commercially, yes, without such release you could claim that you were party to the commercial business venture and thus are owed due compensation. Indeed, the broadcaster will seek protections against such a claim. But a hobbyist filming you, the "man on the street", for sheer enjoyment would not require a release.
comment 2y ago · link · parent
To be fair, that does appear to be happening, if slowly. The largest financial drain on young people, college, has shown decline over the past several years. There is still a lot of social entrenchment to overcome, though; like trying to convince marriage hopefuls that they don't need to buy an expensive diamond.
comment 2y ago · link · parent
Object-relational mapping was originally coined in the Smalltalk world, so objects were in front of mind, but it was really about type conversion. I am not sure that functions or methods are significant. It may be reasonable to say that a struct is an object, for all intents and purposes.
A pendant might say that what flimsy definition Kay did give for object-oriented programming was just a laundry list of Smalltalk features, meaning that Smalltalk is (probably) the only object-oriented language out there, and therefore ORM can only exist within the Smalltalk ecosystem. But I'm not sure tradition ever latched onto that, perhaps in large part because Kay didn't do a good job of articulating himself.
comment 2y ago · link · parent
In the last 5-10 years we struggle to even get on the ground until mid-May. This year is no exception. May 13th already and we have only half of a field planted so far.