8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 4y ago · link · parent
Not likely. The data continues to show that incomes are stagnant. If there was a financial benefit, not just filtering, incomes should be rising alongside the rise of college attainment.
The filtering effect is real. Colleges put a lot of effort into rejecting people who aren't "born successful" to maintain an aura of prestige. Colleges pumping out graduates with severe mental disabilities that hinder learning, for example, would not serve the brand well. The model only works if you limit the possibility of graduation to those considered the "best of the best". The same people who are more likely to do well in their careers. There being an income spectrum, with some making a lot of money, and some making very little, predates the existence of college.
The decline in college attainment among males no doubt comes on the back of colleges recognizing that males are now less valuable in society (i.e. they are less likely to be among the best of the best) and apply the appropriate filters in response, not the other way around.
comment 4y ago · link · parent
Except when you do...
> Whats worse something like this
Yes, this could be catastrophic.
dir, file := path.Split(fileToKeep)
dir2, file2 := path.Split(fileToDelete)
if file2 == "x" {
removeFile(file)
}
What does it have to do with errors?> golang errors are basically strings
That's not true at all. The error interface asks that you provide a string representation of your error when called upon (i.e. the Error() method), but you don't want it to be a string underneath. Further, you don't even need to use the error interface. Not all Go functions, even in the standard library, return errors declared using the error interface.
> Errors are special because they need to carry certain state about the program when an error happened (e.g. stack trace).
A stack trace is useful when you have an exceptional circumstance, but Go's exceptions (panic/recover) already provides that for exceptions. We are, however, talking about errors, not exceptions. Why would you ever need a stack trace when the network is down, for example? There is nothing unusual about the network being down. It's just another happy state along your happy path and logically dealing with it is no different than branching on the user inputting 1 vs. 2. Should languages also have special constructs for dealing with that? Of course not.
> I've experienced the issues that come out of golang's overly simplistic design.
No doubt. I have made clear that Go could improve here. None of those improvements are specific to errors, though. The idea that errors are special just doesn't jive. Every problem you encounter with errors will also be encountered with other types sooner or later.
> languages like Rust have it much better than golang.
Rust is a good example of how errors aren't special, though. The constructs you may use for errors in Rust are built upon lower level features that help with state management generally. Mentioning Rust here is a is a bit strange seeing as how it contradicts the entire premise you're trying to push. The features of Rust that can help you with errors can also help you with problems of other types. Rust is a good example of how good design can work to solve the problem generally, not just for errors like you want to do.
To really get to the meat of this, your entire comment sums up to say that Go could do more to help you with state management. We already established exactly that in previous comments. Where do you think errors specifically begin to come into play?
comment 4y ago · link · parent
That's true of all types, though. Nothing specific to errors applies there. Spend enough time in Go and that's going to bite you, even when the error interface is nowhere to be found. You've still not made clear what's special about errors that makes the concern about errors, not all types, more than theoretical.
> There needs to be a notion of error handling in the language.
Why? The computer doesn't have a concept of errors either. All the computer offers is different states. What Go could offer is more guarantees around ensuring that you've handled different states correctly, but that has absolutely nothing to do with errors specifically.
Now, humans have a concept of error. Of course. We classify specific computer states as being errors. But since the language and computer treat errors and other states as being the exact same thing, why would that human classification of error magically lead you to start making mistakes that you wouldn't make with other states? That doesn't make any sense.
Here's a thought: Stop classifying those states as errors. Call them "happy fun times". Then you won't have whatever mental hangups around errors that are causing you problems specific to errors. Because, from a technical perspective, errors don't exist. They are entirely a human construct. There is nothing about that human construct that should be tripping you up in the tech.
No, there should not be any special concept for errors. Errors are not special. As far as the tech is concerned, errors don't even exist. What Go could do is improve on state management generally. Applicable to not only states you've decided to call errors, but all other states as well. Anything that tries to improve state management for only what you've decided to call errors still leaves all of the exact same problems dangling for every other type. That is poor design and doesn't actually solve the problem.
comment 4y ago · link · parent
It is, but you don't find much winter wheat outside of Southern Ontario, which is actually pretty far south in the grand scheme of things. The most southern end of the province is on the same plane as California.
The Canadian prairies, where most of the wheat is grown, are all about the spring wheat. That's typically a September harvest.
> Idaho, Minnesota, Montana, Oregon, Washington, and Wyoming
Only one of those states is not contiguous with Canada. Given much of the same environment, they share a lot of the same farming practices as western Canada. In other words, your dates no doubt include spring wheat, despite what the opening section of the document says. This explains the wide variances (July - September) in some cases, with winter wheat being the early crop and spring wheat being later.
comment 4y ago · link · parent
Beyond defining an interface named error (early versions didn't even offer that), Go does not have a concept of errors, so I'm not sure it is even possible for there to be a problem specific to errors. Certainly Go could do more to help you with correctness in general.
comment 4y ago · link · parent
comment 4y ago · link · parent
I've never seen 7.5" rows be row-able at that stage unless you line yourself up just perfectly. Given that the photographers aren't focused on the crop itself, what are the chances? With sufficient resolution of the photo maybe you can still tell, but someone's random cell phone photo isn't going to give you that. Even a top of the line camera scaled down to web resolutions is going to lose that information.
> Regardless of the species of plant in the photo, does that look like a tilled field to you?
No, but why would you till it? Wheat is the easiest crop to no-till out there. Even the moldboard mafia no-till their wheat. You'd have to be dealing with some heavy compaction or other issues with the land to justify that fuel burn just to grow poverty grass.
comment 4y ago · link · parent
The encoding/json package in the Go standard library uses exceptions for error handling. You absolutely have a choice, but it's a choice you're not likely to want to make because exceptions are named exceptions for good reason: It's for exceptions, not errors. Those are very different things.
But sometimes the trade-offs of overloading something beyond its intent is worth it. In those cases do it. Balancing trade-offs is what engineering is all about.
comment 4y ago · link · parent
comment 4y ago · link · parent
I find it hard to believe that land is going to lay fallow this year specifically because of what's going on. Certainly people are adjusting what they plan to grow to optimize for the situation. That is definitely happening.
comment 4y ago · link · parent
If you play your cards right, and Mother Nature plays nice, this could be the most profitable year of farming seen in a long time. Costs are up, yes, but the income potential is up even more. Why would anyone choose this year, of all years, to "give the soil a rest"?
comment 4y ago · link · parent
Who is harvesting winter wheat in the fall? Even here in snowy Canada it's a late harvest if the winter wheat comes off in August. Mid-July is typical. Spring wheat is a different story.
comment 4y ago · link · parent
1. How many photos from the war have you seen of farmland? It's not exactly the prime battleground.
2. We can assume that you can recognize winter wheat at this stage from photos not focused on the crop? It, of course, looks like someone's dead lawn when it first emerges from it's winter rest. Hard to differentiate from any other grassy area unless the photo has a lot of detail.
On that note, I started looking at some random pictures after I read your comment. I came across this one[1] of a field. Wheat or no in your opinion? In my opinion as a winter wheat grower: I have no idea. Maybe.
[1] https://asianatimes.com/wp-content/uploads/2022/02/XFXJX6VK3...
comment 4y ago · link · parent
comment 4y ago · link · parent
I don't see anything inherit to Go that would prevent it. gc even added rudimentary support some time ago, fostering the addition of the plugin package[1], but those doing the work ultimately determined that it wasn't useful enough to dedicate further effort towards improving it.
There was a proposal to remove it, but it turns out that some people are using runtime library addition, and so it remains.
comment 4y ago · link · parent
First you'd have to establish what "systems" means. That, you'll find, is all over the place. Some people see systems as low level components like the kernel, others the userland that allows the user to operate the computer (the set of Unix utilizes, for example), you're suggesting databases and things like that.
The middle one, the small command line utilities that allow you to perform focused functions, is a reasonably decent fit for Go. This is one of the places it has really found a niche.
What's certain is that the Go team comes from a very different world to a lot of us. The definitions they use, across the board, are not congruent with what you'll often find elsewhere. Systems is one example that has drawn attention, but it doesn't end there. For example, what Go calls casting is the opposite of what some other languages call casting.
comment 4y ago · link · parent
Frank Robinson coined the Minimum Viable Product. This is what he had to say about it:
"The MVP is the right-sized product for your company and your customer. It is big enough to cause adoption, satisfaction and sales, but not so big as to be bloated and risky."
Steve Blank is credited with popularizing the term. Here he emphasizes that the MVP is about reaching sustainability for the company. What he calls an 'MVP tree', which produces potential MVP candidates, may be closer to what we're discussing here.
"An MVP tree is a way of methodically breaking your mission into smaller components and formulating MVP candidates that may get your company sustainable and scalable."
Ries, whoever he is, was free to make up his own definition, just as I can define the sky to be the hot molten lava deep inside the earth, but his definition does not match the usage of its originator nor is it in alignment with how (most) everyone else uses the term.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
As a small farmer myself I'm a little more optimistic. We're poised to be more diversified to weather any storms and haven't taken on the massive debt to become the big farms. When the big farms start to feel the crunch we'll be in the best position to buy up their assets.
comment 4y ago · link · parent
The move to taking university online, and the masses of students following, through the COVID period suggests not. Online university does not provide any unique networking opportunities that aren't already available through every other online service, HN included.
comment 4y ago · link · parent