Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

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

Submissions

comment 3y ago · link · parent

Tests merely document expected behaviour of your application. If you are unsure of what behaviour your application should exhibit, you need to step away from the code and talk to your customers for a while.

comment 3y ago · link · parent

I disagree. TDD shines most when you don't know what you are building. It allows you to to test hypotheses without needing to over-implement a system to be able to begin to gather data about your design.

In fact, if you know exactly what you are building, how could tests drive your decisions? You have already made up your mind. If you know what you are building you can simply implement it straight away without the data gathering phase.

comment 3y ago · link · parent

> You can just assume that every rural kid between 15 and 18 does the above job for a couple summers

Interesting assumption. As a corn farmer, I've never seen anyone growing seed corn in person. It was certainly not a job I had when I was a kid of such an age. Obviously someone does out there, but you may be overestimating just how prevalent it is.

comment 3y ago · link · parent

In order for someone to be willing to pay you interest they have to have some kind of direction in mind that they expect will return more money than the cost of the interest. If they have a solid plan that is worth investing in, why not pursue it yourself and reap all of the rewards? Management of that might be unrealistic at individual scale, but when you're the size of Google you can go off in all kinds of different directions without much impact.

comment 3y ago · link · parent

> We should just end patents, period.

In the case of seeds, they could still hide behind plant breeders' rights[1], though.

[1] https://laws-lois.justice.gc.ca/eng/acts/p-14.6/

comment 3y ago · link · parent

Yup. That’s what the other comment said…

comment 3y ago · link · parent

If you are referring to a case where litigation was executed under the terms of patent contract, the farmer – being a member of the public who grants such patents – has still entered into a contract by virtue of choosing to be a member of the public who has agreed that patent contracts are desirable to issue. The public had no obligation to issue the patent, but chose to. The farmer need not be a member of that public, but chose to be.

comment 3y ago · link · parent

As a farmer with experience growing roundup-ready crops: In order to obtain roundup-ready seeds you have to sign a contract with the vender. In said agreement, you agree to not do such things.

If you want to do whatever you want with your field, don't enter into contractual agreements where you agree to follow certain rules.

comment 3y ago · link · parent

Scaling businesses, yes. All inter-team communication becoming API contracts enables autonomy in each team. As long as you stick to the contract you can deploy when you want, make the changes you want, etc. without having to bog yourself down in endless meetings with other teams to ensure your changes won't break theirs. In a small organization this may not matter, but in a large organization you might not even know who to talk to, so it becomes a practical necessity to have clearer boundaries between teams in order to keep more people manageable.

What you describe sounds more like Service Oriented Architecture (SOA). SOA is one way – some might say the best way – to keep the aforementioned boundaries strict, so it does often go hand in hand with microservices. But technically you could achieve microservices using shared libraries or even logically separated areas in the same codebase. Of course, the more opportunity you give someone to break the boundaries, the more likely they will which is why especially the last one is bound to fall down in practice.

comment 3y ago · link · parent

It is always amusing when said people are late to the meeting or do not attend. Everyone else is all "Okay, now what we do talk about? There isn't any point to having these meetings, is there?"

comment 3y ago · link · parent

Where that language is Javascript due to the browser push towards it, sure. The exception was already addressed.

comment 3y ago · link · parent

Tell them what? The standard library's debug.PrintStack() reliably prints stack traces.

comment 3y ago · link · parent

> Stuff like this is why everyone uses scripting languages these days

Do they? It seems like everyone is moving away from scripting languages for new projects these days, at least where web browser-related requirements doesn't push them into using Javascript.

Indeed, before this current pendulum swing, scripting languages had a good run. I'm not convinced it was because of stack traces, though. They won hearts and minds on promises of no longer having to do "XML sit-ups" and whatnot.

comment 3y ago · link · parent

> Chances are, it's mostly adults and they have certain expectations about the attire of the preacher.

Right, so he is worried that the congregation will become, as the article puts it, 'social predators' and use his actions against him. That's exactly it. It's funny that so many comments here deny that this would ever happen.

comment 3y ago · link · parent

> which is an extremely wasteful way of producing food.

Depends on what you are optimizing for.

As a farmer, I can make more money growing crops for human consumption. It is the most logical business model. But the real world is a harsh mistress and the nature of... nature means that is isn't realistic to grow the same crops over and over and over again. Disease, soil health, etc. requires crop rotation to sustain a viable farm.

Now the problem of equipment and markets. While I could theoretically introduce more human foods into the rotation, those human foods aren't compatible with the equipment I have. Nor is there a local market for them. This means more heavy iron, more trucking, more fuel, more fertilizer (no animals to help provide it), etc. Is that not a waste?

I primary grow food for humans, but every 2-4 years (depending on the quality of the farmland) in my rotation a field will get a crop destined for animal consumption to address soil health and disease/pest control most particularly. If there is a way to avoid this without simply trading for waste somewhere else, I'm all ears. I'd be happy to grow nothing but human food.

Agriculture is already excessively optimized to a fault, so it seems likely that we have already found what is least wasteful overall. Of course, if you want to minimize a specific waste to the detriment of others then no doubt the calculus changes.

comment 3y ago · link · parent

> The fertilizer shortage is caused by the war in Ukraine.

The war certainly exacerbated the issue, but there were already fertilizer supply issues before. I remember well purchasing my 2022 crop year fertilizer in December 2021, which is earlier than I normally get around to it, but was prompted to because the prices had already risen substantially by that time and were predicted to go even higher (which they did). War in Ukraine didn't break out for at least another month after that. Not so much COVID directly, but natural gas prices were a large component, seeing fertilizer plants go offline in the mid-2021 timeframe[1].

[1] https://www.nytimes.com/2021/09/16/business/natural-gas-pric...

comment 3y ago · link · parent

Trying to increase short-term profitability, no doubt. But I don't know for certain.

comment 3y ago · link · parent

The middle class are those who have the capital to be capitalists to some degree, but not enough capital that they can live entirely off that capital, still requiring some kind of job to make ends meet. Someone earning $18k per year at their job could be middle class and someone earning $80k per year at their job could be working class. Their job income doesn't tell us anything with respect to their capital holdings.

comment 3y ago · link · parent

Soy on soy (on soy, on soy...). Disease soon sets in if not regularly rotated.

comment 3y ago · link · parent

Many years ago one of my neighbours tried not rotating is crops. It worked out okay the first couple of years, but it wasn't long before his yields nosedived and within the five years he was bankrupt.

comment 3y ago · link · parent

No doubt, but it remains that if there was a suitable market for the same camera + no record limit, even if at a premium to compensate for taxes + extra work, vendors would take notice and put in the necessary effort to engineer their devices to compensate for the heat. Without a suitable market, though, why bother? Design them only to the point that they can record for ~30 minutes and the market says that's good enough.

comment 3y ago · link · parent

We do. Perhaps you may not recognize our lingo. For example, around here we humorously refer to wheat as 'poverty grass' because there is no money in growing it but recognize it as a necessity to keep in the rotation for the ecological health benefits it provides.

comment 3y ago · link · parent

> travel to exotic places, fantasy novels, meeting new people.

Interesting for the actor, perhaps, but probably still boring for the observer. Generally, there is nothing interesting about people doing those things. They are common things people commonly do. A lifelong hermit who has never met another person finally deciding it is time to meet someone would be interesting, but that's an exceptional case.

Which brings us back to the article questioning why people don't shake things up sometimes. Like, why didn't the preacher at church not wear a KISS costume last Sunday? That would be interesting for me to see. It could become boring if done regularly, but one time out of the blue to the shock and awe of the congregation would be quite interesting. Is there some underlying mechanism that would keep said preacher from being willing to do that?

comment 3y ago · link · parent

Stable is boring when stable reflects what has been done time and time again. Interestingness requires novelty. Someone who seeks stability in living on the moon and has a plan to make it happen would be hard to call boring – until many more people follow the same blueprint, at which point it too will become boring.

comment 3y ago · link · parent

What's really at risk beyond succumbing to the "social predator"? Say "strait laced" grandpa throws on grandma's frilly dress for the first time and goes for a stroll down the street. It doesn't cost anything and, for the sake of discussion, isn't anything he wouldn't otherwise do in his own clothing.

The only risk is that his social contacts start to cut him out of their life for his actions (i.e. social predators).

comment 3y ago · link · parent

Isn't that saying the same thing using different words? It is not like the "social predator" is some kind of distinct monster that only has to be slain and then all is right with the world. It is fundamentally just people being people and the observation therefore. Even if in some hypothetical way the "social predator" was something that was to be attacked, that would merely make the attacker a "social predator" too, rendering the whole notion an impossibility.
1
118119120
256