8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 2y ago · link · parent
Yet you admit to following the advice for error, returning the zero value for err and making it useful when you do. If you don't have a meaningful error state, why not just return junk? Clearly you recognize the value of making the return values useful, always. Why make exceptions?
comment 2y ago · link · parent
What new code being written today is violating that pattern?
comment 2y ago · link · parent
Indeed, Quebec tradition ensures that most people will choose to recognize the laws crafted under the given framework and not beyond. But they can also choose to look beyond it if they so wish. Of course, they don't have to either.
comment 2y ago · link · parent
Let's face it, if the rich list was comprised of mostly black women, we would be bowing down to them and praising their every move. They are marginalized because they, by and large, don't have a good answer to "But what can you do for me?"
comment 2y ago · link · parent
In practice, that typically means returning the zero value. To which idioms suggest that zero values should be useful. Rob Pike's Go Proverb[1] even states: "Make the zero value useful." Most commonly when returning (T, error) that zero value is nil. In Go, nil is a useful value!
If the caller wants to observe the error state, great. But it is needlessly limiting if you force it upon them. That is not for the library author to decide.
comment 2y ago · link · parent
Granted, that waste keeps people employed. The tech layoffs of late is unquestionably because "Agile" isn't cool anymore, and those hours wasted to standups are now, by and large, put to productive use instead.
comment 2y ago · link · parent
Whether or not anyone else is willing to go along with it is another matter. Making a law does not automatically compel others to accept it as their law. Indeed, those who believe in the French civil law system, which describes the majority of Quebec residents, are not likely to accept laws that are made outside of that framework.
But they might. The only thing that would try to stop it is other people, but if those other people are also on board then anything is possible.
comment 2y ago · link · parent
No doubt because the Go team disagrees. They have been abundantly clear that, from their point of view, goroutines should be used and even used as part of the public API when it makes sense.
That said, it is still probably really good advice for newcomers who won't have a good understanding for the cases where it does make sense, and especially because goroutines are the shiny thing every newcomer wants to play with and will try to find uses that don't make sense just to use it. As a rule, you don't want to force the caller into things they might not want. In the vast majority of cases, a synchronous API is what you will want to give them as it is the most versatile.
And, really, that's something that applies generally. For example, in the case of the common (T, error) pattern, you will want to ensure T is always useful even when there is an error. The caller may not care about the error condition. That's not you for, the library author, to decide. The fewer assumptions you can make about the caller the better.
comment 2y ago · link · parent
Funny, iCraveTV is the 90s 'dot-com' company I remember most.
> cell phones were only on tv
Perhaps you are referring to an 80s tech boom instead? That's when the "Zack Morris" phone was something for TV. By the 90s tech boom, everyone had a MicroTac.
> server side programming was done in C
And bash! Hard to imagine now. Although Perl reigned supreme.
comment 2y ago · link · parent
That's largely the systemic problem with joining certain professions. Those are most often the qualities the market seeks, but education and experience are biased towards the wealthy. You need resources to attain them. For historical reasons, non-white people as a group don't have the same kind of wealth.
comment 2y ago · link · parent
comment 2y ago · link · parent
But ultimately that's just people.
comment 2y ago · link · parent
The system isn't handed down to us by a higher power. It's just people. It's shaped simply by what people decide to do. Want different? Then you must do different.
There is no alternative. There is no magical genie that will grant you three wishes. If you don't do the work someone else will, and they will do it the way they want it done, same as you would.
comment 2y ago · link · parent
No doubt because, as you point out, the typical person would rather spend their time making ends meet (i.e. pay for the luxuries of life) than the worry about making agreements with their neighbours day-in, day-out. You can technically survive on very little time commitment to "make ends meet". Just look at the homeless population. It is not a life you would want to live, but it could be done if you truly saw the need to assert your power. But, understandably, most people would rather focus on their personal goals and let the figurehead worry about the community problems.
What's the alternative? It's just people at the end of the day. There is no magic. Those who do the work are going to do the work the best way they know how. Even if they value your input and want nothing more than to work with you so that you can show your better way, they are not going to scour the globe to find you. If you don't put the effort in to make yourself known on a regular basis you will be forgotten about.
comment 2y ago · link · parent
There is if the population agrees that the representative is not acting in accordance to wishes of the population: Off with their head – literally. What are they going to do about it with no head?
In practice, representatives by and large do act in accordance with the wishes of the constituency to the best of their ability. The larger problem they face is a constituency that doesn't want to be involved. I expect at least 95% of the population have never even spoken to their representative even just once. But the representatives are only human. They do not possess mind reading abilities, so they can only go on what the tiny fraction of the population who are active submit.
But, of course, the tiny fraction of the population who are active are probably not representative of the entire population as a whole, and so you get large disconnects even when the representatives are acting in good faith.
comment 2y ago · link · parent
Yes, of course. Those with wealth hire people, often referred to as lobbyists, to put in the hard work. Technically, representative democracy requires everyone to be, or have, their own lobbyist, but in practice that's a lot of work that most people don't want to put in. They prefer to defer to a figurehead. It's easier that way. And, as such, give up power because of it.
comment 2y ago · link · parent
But in practice that's a lot of work. The reality is that most people don't want to be involved and are happy to have some figurehead do the work for them, even if that means complaining about it later.
comment 2y ago · link · parent
That doesn't sound like Agile, at least not the Manifesto one. Agile is pretty clear that there are no managers. It, ultimately, offers suggestions of what you need to think about if you are to move to an ad-hoc organization structure. For instance, per the 12 Principles, "Business people and developers must work together daily throughout the project." There is no room for a manager in that. There is no independent "keeping the runway clear" or "coming up with ideas behind the scenes". That's the work developers and business people are doing – why they are working together.
Here's a few more:
* "Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale." – Translation: Without a manager keeping tabs on everyone's progress, the easiest way for the team to stay on top of progress is to see it.
* "Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done." – Translation: Don't accept people into your group who need someone (i.e. a manager) to hold their hand.
* "The most efficient and effective method of conveying information to and within a development team is face-to-face conversation." – Translation: There is no manager ensuring everyone is aligned and on the same page.
* "The best architectures, requirements, and designs emerge from self-organizing teams." – Translation: With no manager to organize the group, you need to figure out who is going to do what on your own.
* "At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly." – Translation: You don't have a manager watching over to see where improvement can be made. Figure it out for yourselves.
Whether or not Agile is suitable for your organization, or any organization!, is another matter. Indeed, one should not accept Agile into their life just because it has a catchy name. Probably not at all. One must remember that the Agile signatories live in a different reality to most developers.
> If you hate the idea of a meeting like this it's possible your managers suck and don't listen to you.
Whether or not they are listening, I'm not sure what I would want to tell them? What I do know from many, many years of experience is that when you have a good manager, you won't even know they exist. A manager who needs to gather the group around the campfire each day is decidedly not a good manager. Heck, even most staunch standup supporters will tell you that managers shouldn't be invited to the standup as it easily becomes a crutch for bad management.
comment 2y ago · link · parent
Then what's the point? I probably don't care about someone's status in the first place, and when I do a big fat notification informs me when the status has changed the second it changes. "Duh. I'm still working on it, obviously." doesn't tell me anything.
> If someone is blocked they should briefly state why and follow up ASAP
If someone is blocked by my doing, they would have already told me 23.5 hours[1] before the scheduled meeting came around, when they became blocked. I don't need to hear it a second time. If it has nothing to do with me, I don't care. What's the point?
[1] Or even longer if not on a daily meeting schedule. Way too long if you sit around and wait for the meeting to finally come around before talking to anyone.
comment 2y ago · link · parent
Use of a bush hug does not imply the need for a bush hog, though. Even for routine maintenance of the grass you're apt to choose the bush hog out of convenience and practicality. It's not like you're going to waste time puttering around with the push mower you cut your grass at home with for a tower site out in the middle of nowhere.
comment 2y ago · link · parent
Granted, the market had ramped up so quickly, and then crashed so fast, that the number of underwater mortgages was likely small – and probably haven't come up for renewal yet. So, you're right that there isn't much management experience, and may never be.
comment 2y ago · link · parent
Because it is easier. Most people don't want to put in the hard work that democracy requires. They want to go to their job, play with their children, see their friends, exercise at the gym, go on dates, etc. They quite like that there is a "great leader" ready to take the load of community off their backs so that they can focus on the personal things they deem more important.
A terribly unsettling event can cause people to change priorities pretty quickly, but when things are comfortable and everything appears to be running smoothly enough, it's hard to see why, when someone has happily stepped up to do the work, there is any reason to put in the time and effort too.