8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 4y ago · link · parent
And when you look the breakdown you'll see when direct payments ended. Insurance is going to pay out, yes. That's what insurance is for...
> I would also not call the price protection programs an insurance program.
I would. It is setup as an insurance system. Price/income insurance isn't uncommon, even outside of agriculture. If you work as an employee, you are afforded access to similar insurance.
comment 4y ago · link · parent
No, that isn't practical. Which is why government is set up in reverse: The citizens tell Biden what they want. The citizens are the boss, after all. It stands to reason that the message comes down from the boss. Except that isn't practical either, so middlemen are employed to combine and distill the information they receive from the boss into a more digestible form that can be presented in a practical manner to the worker.
Those middlemen are chosen by the citizens through a long and arduous process to ensure that they are trustworthy enough to accurately convey the desired message to the worker on the ground. Yes, theoretically an unscrupulous middleman could spread false information, but through hundreds of years of using this system the citizens have shown to have a strong degree of confidence in the effectiveness of the selection process.
Not only do they have confidence, but they also find utility. It would be downright silly to go to all of the trouble of selecting the most trustworthy middleman and hire him, at a decent rate of pay I might add, only to never use his services. The citizens recognize the value they get by hiring these people to pass their orders to the workers.
You personally may have no use for said middlemen as you management style sees you sit back and forever wait for Biden to knock on your door, but citizens (plural) is inherently about more than you.
comment 4y ago · link · parent
Sure. There is no doubt a tipping point. Seeing 100% exports wouldn't work. But the nation of the US is made up of its citizens, so only when the citizens start to feel that tipping point has nearing or has occurred will they take measures to prohibit such exports.
Clearly we're not there. There is still more upside than downside.
comment 4y ago · link · parent
As you can see in your second link, the direct payments ended under Obama. All of the remaining programs for commodity producers are insurance-based.
Perhaps what you are trying to say is that there are time travellers coming to us from the past to tell us about how things used to be (from our perspective)? But why would anyone listen to them?
comment 4y ago · link · parent
It's a globally traded commodity. If someone in NY won't pay 40% more, someone in Europe will. Just like you work for who gives you the most compelling offer, so too does natural gas go to who presents the most compelling offer.
> the US should not make citizens suffer in order to prop up European nations
Given that the US is where most of the natural gas is produced, per your comment, the US will realize a huge windfall by shipping its product to Europe at a high markup. The citizens of the US will be emboldened by it. They may have to pay more for heat, but stand to gain even more than that. Europe loses either way.
comment 4y ago · link · parent
Most of farm subsidies that people talk about goes towards food stamp-type programs. Not wanting the poor to starve may be a good reason.
And when people talk about product subsidies (like corn subsidies) they are referring to the insurance system operated by the government. Due to the nature of what is being insured (i.e. something that is likely to affect most policy holders when disaster strikes), it is difficult for private business to provide the necessary insurance.
Traditional insurance products rely on only a few policy holders needing insurance each year. When mass disaster strikes, such as a hurricane destroying homes across a wide area, the government typically does step in to cover the difference. Since this is the norm for agriculture, the government stays at the ready. Farmers still have to maintain a paid policy to be participants in the insurance system.
Perhaps insurance should be abandoned, but it's generally considered a social good.
comment 4y ago · link · parent
Case in point: This discussion was originally about SQLite.
comment 4y ago · link · parent
As we all know, Pike is a bit of a troll, so nobody is surprised that his random musings said that they'll never come. But it also was never his project to decide. He was involved to some degree, and you can recognize his influence, but it's really Ken Thompson's baby. Griesemer was the only founding member young enough to not want to retire after the initial work was done, so it soon became his to oversee. Not to mention that ultimately the project is owned by Google, who is capable of squashing Pike like a bug if he wasn't acting in the interest of the company's assets.
Officially, generics were always on the table and would come once a suitable implementation was found. And, guess what? A suitable implementation, after a lot of flawed tries, was found and generics came. Imagine that.
Had the open source community wanted generics more perhaps they would have jumped in and helped Taylor where he was struggling to speed up the process, but such is life. Ultimately people don't care, are lazy, and like to make others do the work for them, all while complaining about it the whole way. Google eventually found a domain expert willing to be hired to close the gaps Taylor was struggling with and the rest is history.
comment 4y ago · link · parent
Not at all. This is a grave misunderstanding of computing. Functions fundamentally can't fail. They can only enter different states. Only under exceptional circumstances, like the programmer screwed up or the machine is literally on fire, could they fail.
Indeed, Go does provide a method for dealing with exceptional circumstances (what we often call exceptions for short). See: panic/recover.
comment 4y ago · link · parent
Pew Research conducted a similar study and found that 90% of respondents believe in a higher power, which echos GALLOP, but only 56% believe in God as described in the Bible.
It's not clear what percentage of people believed in the Bible's God 60 years ago, but if we, for argument's sake, assume 90-100% then 56% support now is comparatively uncommon. Under those assumptions, it would be quite reasonable to think that religious culture has changed dramatically.
The key takeaway here is that communication is hard and that data is easy to twist.
comment 4y ago · link · parent
That sounds utterly horrible. You would never actually write that Go code in the real world.
Let's modify the original example slightly:
res1, err1 = canFailA()
if err1 != nil {
return err1
}
res2, err2 = canFailB()
if err2 != nil {
return err2
}
Let's assume an error was returned. You realize from the error that there is a bug in the code. Now you're tasked with debugging the code given the error that was presented.Which function did the error come from? Who knows. And what if canFailA/canFailB return errors from other functions up the stack the same way? Now you've got a massive tree of possibilities to try and work through. A complete nightmare.
In the real world you would take the error and do something with it. Even if you still end up returning an error, it won't be the error you received. It will be a new error that provides pertinent information about the situation.
Go brought forth a legitimate "try" proposal that was very similar to the Rust example and, while well received on the surface, it failed because it was determined that you couldn't possibly use it, at least not beyond toy examples, because of the above.
Presumably Go could introduce a concept of error (it currently has none) which could then include information like stack traces to help with that problem, but that's way more than what you're talking about, and would still lack all the other benefits you get when you handle errors as soon as you get them, not blindly pass them up the stack.
Rust's solution may be nice for Rust, being designed for that pattern. It wouldn't fit well in Go without radically rethinking the language.
> On the other hand, Go will let you forget to handle an error, if you do "res1, err1 = canFail()" but then forget to return an error yourself in the "err1" case.
You can also forget to return res1 (per the original example).
This is a real problem that should be solved, but it's not a problem of errors. It's a problem of values in general. Remember, the Go language has no inherit concept of error. Anything that we happen to call an error is actually just a user-defined type, same as any other type a user might define (birthdate, order number, stock price, etc.).
To frame it as a problem of errors shows a misunderstanding of the problem.
comment 4y ago · link · parent
I would expect something like:
canFail()?!
canFail()?!
The Go code looks like at least some thought was put into the design, even if it is not the best code ever written.comment 4y ago · link · parent
panic is certainly appropriate if programmer error left the application in an inconsistent state (an exceptional state, or exception for short as it is often referred to). I've never seen a Go developer, or developer in any other language for that matter, try to deal with these cases by hand.
comment 4y ago · link · parent
Celebrity status doesn't make someone's comments any less random.
> Let's not try to rewrite history.
No need to rewrite anything. It was written right on golang.org for most, if not all, of Go's public life. Though obviously no longer relevant these days.
The various generics proposals (eight of them, if I recall correctly) were also published publicly.
comment 4y ago · link · parent
Nobody who mattered said that Go didn't need generics. In fact, Ian Lance Taylor, the lead behind getting generics in Go, has been working on adding generics to Go inside Google since before any of us outside of Google had even heard of Go.
It was always explicitly on the table. It just took a long time, after many failed proposals, to find a solution that didn't come with unacceptable compromises.
comment 4y ago · link · parent
Wait until you try Typescript. First you have to try/catch and then you also need an if statement to type assert the error in order to do anything with it. Now that's painful. If errors were commonly returned as values you could beautifully reduce it to if statements alone.
comment 4y ago · link · parent
Each problem people say Go has with error handling is actually a more general problem with value handling and/or interfaces and the right solution would solve for those problems across the board. The problems are real, but not related to errors specifically.
comment 4y ago · link · parent
Um, actually this[1] suggests that it originally wasn't about anything other than seeming like a good name and that any deeper explanation that has been given was made up. Of course, by the same token, "it seemed like a good name" could have also been made up. But it appears that the team eventually embraced it in the oxidization[2] sense.
[1] https://www.reddit.com/r/rust/comments/27jvdt/internet_archa...
comment 4y ago · link · parent
No. The word has a well defined meaning in an economic context and is used regularly per that definition. You can't get any more matter of fact. If it was something like "Ocean shipping rates have jumped off a cliff without a parachute towards its impending fiery death this year" you'd have a stronger case.
> and connotes that the decrease is faster and/or greater than would normally be expected.
No. It only connotes that it happened quickly. There is no association to expectation colloquially or by definition. A 60% decline in eight months is fast compared to historical norms regardless of whether or not it was expected. That the decline was fast is worthwhile information to communicate.
> Again, nuclear fireball is a perfectly accurate description of the sun
Accurate, but abnormal usage. This is incomparable to the common usage of plunge. A better analogy would be the headline: "Sun to light up San Francisco tomorrow". To "light up" could mean to set on fire. But, given the clear context and regular usage of the words, it's a stretch to think people would be tricked into clicking the link because they think SF will be ablaze.
> "Shipping rates decreased 60% year over year as industry moves past pandemic"
Thing is, had you been compelled to read the article you would have known that shipping rates decreased by more than 73% year over year. Given that the headline didn't compel you to read the article we have further evidence of it not being clickbait.
comment 4y ago · link · parent
Yes, but that doesn't apply here. Straight up matter of fact statements, like the one used in this title, is as mundane and uninteresting as is possible. The only thing that could garner less interest would be to permanently cut off all communication with others. The topic itself carries some interest, but the headline doesn't add to it.
"This one weird trick allows you to save 60% on ocean freight. International shippers hate him." would have been clickbait-y.
comment 4y ago · link · parent
When SQLite arrived it got lumped in with file storage that can't scale. Rails only perpetuated what everyone was already thinking.
comment 4y ago · link · parent
For better or worse, this is what we, as an industry, have adopted and a generation has grown up not knowing any better.
comment 4y ago · link · parent
Governments of the last 20 years have held the status quo, which leaves them equally culpable.
comment 4y ago · link · parent
It remains as a compiler target for those tools, but I am not sure that is the level of abstraction in question.