Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

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

Submissions

comment 4y ago · link · parent

> But still most of the kids in college are making a good financial decision even if all of the aren't.

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

> you don't keep constantly overwriting the same variable over and over

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

> Because errors are just return values in golang, and it's not possible to write a linter to guarantee that they're handled

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

> I had assumed that most of Canada would be later than the Northern tier of the US

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

If you overwrite or ignore your variables you're going to have a bad time. Period. That's not unique to errors. I'm not sure you've said anything to convince us that making mistakes around errors alone is anything more than theoretical.

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

While I tend to agree, especially since the photo appears to be of military training and not actual combat, here[1] is a photo of known winter wheat. This photo was taken a little bit later in the year, so the leaf is more pronounced and greener than you'd expect of the current crop, but even then is the casual observer looking for pictures of war going to notice? They really don't look all that different to me without stopping to really study the details and the first photo doesn't have much detail to work with. I would bet that this[2] is a field of wheat seeded into soybean stubble, but how can you really tell for sure?

[1] https://imgur.com/a/MII3Sc1

[2] https://pbs.twimg.com/media/FPMuO-OXwAsWAuU?format=jpg

comment 4y ago · link · parent

> Does it? I've never seen a lawn planted in 7-8" rows.

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

> Go just doesn't give you the choice

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

At least one can respect Go for being consistent, even if requires a little extra manual labour. The languages that require you to manually bubble up some types, but not others, are just bizarre. Like, they're onto something neat, but why stop halfway? I don't want to put in the manual work for any type. If I've decided the manual effort is worthwhile, I don't want weird exceptions to worry about. Pick a lane, programming languages.

comment 4y ago · link · parent

The land is going to be your largest expense in the typical case. If you truly can't come up with the money for inputs, how are you going to carry the land? You can often push your land costs until after harvest, but if you don't have the harvest to pay for it... And if you know you won't be able to put a crop in due to budgetary constraints, why wouldn't you rent it out to another farmer? There are lineups of hungry farmers ready to spend whatever it takes to find new ground to work.

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

> so for many farmers it's cheaper to wait it out and give the soil a rest.

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

> I'll mention that while winter wheat is planted in the winter, it's harvested in the summer or fall.

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

> This aligns with every single combat photo I've seen thus far. I don't think I've seen one field of winter wheat.

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

If we use price as a proxy for wheat availability, let's not forget that wheat was trading for under $5 in 2019. It was up to $8 before the war began. Now, close to $10. Which means that the war has made wheat 25% harder to come by, so to speak, when compared to before the war, but the pandemic and all that's related to that had already made it 60% harder to come by. The war effects would have been less noticeable if we weren't already pushing the limits.

comment 4y ago · link · parent

Sure, but esbuild also drops features found in the compared tools to gain a performance edge. The language may bring some marginal difference, but it's clear that the algorithm is the most significant piece.

comment 4y ago · link · parent

Sucrase, written in Typescript, claims to be 2x faster than esbuild.

I'll leave you to your own benchmarks.

comment 4y ago · link · parent

> Runtime library addition (plugins)

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.

[1] https://pkg.go.dev/plugin

comment 4y ago · link · parent

> I'd argue that golang is inherently not a systems language

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

> I know exactly what you mean, but this is not what Eric Rees means by the term.

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

The Dropbox demo video was a prototype at best, and probably more accurately thought of as an advertisement. Definitely not a product, let alone a viable one. MVP meaning "something I did to make my business successful" isn't meaningful. The first version of Dropbox that landed into users hands and started to generate revenue could be accurately thought of as an MVP. It didn't do everything imaginable, but did just enough that customers wanted to pay for the service, allowing the business to grow into something more.

comment 4y ago · link · parent

Proving what needs to be proven is the role of the prototype. That can also be an important step on your journey, but the MVP is about building a product that is considered viable. Literally. If you don't yet know what is viable in the market, how could you even begin to build something that is viable? You don't yet know what viable means.

comment 4y ago · link · parent

As the name implies, the Minimum Viable Product exists as a way to build the least amount necessary to start generating enough revenue to keep the business viable while you expand the scope of the product to realize your full vision. The MVP isn't for proving the market, but rather capturing a small segment of the market to fund expansion into the much larger market. The validation that there is a market should take place before creating the MVP, like you say.

comment 4y ago · link · parent

Perhaps the speech is free, but instead you're being prosecuted for being seen as a member of the enemy? If you displayed a "Z" in Ukraine right now, best of luck to you, even if it is only because you really like the letter "Z".

comment 4y ago · link · parent

I more wonder how the bigger operators are going to survive with all the debt they've taken on. A neighbour bought three parcels of farmland this year alone. With land selling for $30,000+ per acre, it's certainly not cash flowing itself. He can only be betting that the price of land will continue to rise, using the farm income to service the interest payments in the meantime.

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

Extending it to define transport concerns, akin to Swagger/OpenAPI.

comment 4y ago · link · parent

A day in the life of a bookkeeper.

comment 4y ago · link · parent

> It’s the networking opportunities

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

I imagine that dealing with the feelings of failing society, which has taught us that having children is the worst thing you can do in your life, would be the hardest part. It was still hard to deal with that sentiment when I had my children in my late 30s, even though by that time I had enough life experience to realize that it silly to worry about what other people think. The mind is an interesting thing.
1
151152153
256