8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 3y ago · link · parent
If your abstraction leaks that the implementation is a local call, and then you try and change that later, unquestionably. Again, you need to avoid leaking implementation details, which is too why you can't just add a try operator and make it automatically useful. Any leak of any kind in your abstraction will make life miserable later. Don't let your abstraction leak.
> Yeah, and it avoids all the hassle.
All it does is move where the code is located, placing the onus on the producer "the producer is always right" instead of the caller "the customer is always right". You don't actually avoid anything, just change the perspective.
> Why couldn't any language (and especially Go) just do the same?
Perhaps it could, but it requires that the language take a more macro look at the problem. It is not a microfeature.
comment 3y ago · link · parent
comment 3y ago · link · parent
But you're right that having a low priority Slack channel that you can casually look at when you're at a natural stopping point is way less disrupting than having to drop everything you are doing because the clock says it is meeting time.
I wonder sometimes if people who get engrossed into this meeting culture have just never experienced better? Anything can seem like a good idea if it is all you know.
comment 3y ago · link · parent
The original context was about meetings intended to let others know there is a problem. A time to allow you to say things aren’t going smoothly. But why would you wait for a meeting to let others know there is a problem?
The only reason is because you feel pressure to ensure the meeting isn’t silence. Otherwise you would have logically made it known long before. What is really gained in withholding information from the team?
comment 3y ago · link · parent
You’ve sat in regularly scheduled silence for the past 10 years and people still show up?
> Obviously everybody is welcome to bring up whatever is interesting nd worth discussing
But logically they would have already said it when it first became interesting, unless they felt pressure to pad a scheduled meeting with content, withholding information from the group until the meeting takes place. So, again, what’s the point of sitting in silence or purposefully denying the team information to satisfy the social pressure?
comment 3y ago · link · parent
You might, but it (typically) comes so late in life is it really worth it? I worked while my friends went to college. They're now starting to see these doors open. I'm ready to retire.
> Find a way to speed run a degree. It'll be worth it.
That will help over a traditional track, but unless you're ready to speed run a degree at like the age of 10, you're still going to be way behind. Due to the time value of money, the most valuable working years are in your teens (or even before, although the law can often make that a challenge).
comment 3y ago · link · parent
comment 3y ago · link · parent
After all, if everyone sent out their emails, so to speak, what would be left for the meeting? I mean, what are the odds of someone discovering something worthwhile to communicate to the team just seconds before the meeting starts? Any earlier and the email would have already been sent and there would be nothing left for the meeting. Maybe it happens once in a blue moon, but regularly across a wide number of people? No way.
I've never attended a status meeting that was completely void of participation, so there must be withholding of information done so to pad the meeting. Not everyone may feel such pressure, but it is apparent that some – and I dare say most – do.
comment 3y ago · link · parent
A dream house is another example of this. Let's face, housing is awful. The pie in the sky dream would dream of not needing housing at all, but more realistically I can also dream of a house that makes some things slightly less awful. Dreaming about that house provides me with information that I need to move towards it.
More likely it is a semantic thing. I imagine everyone does something like that, but may not call it dreaming.
comment 3y ago · link · parent
Thankfully, I eventually came to realize that you can choose a random number. Nobody gives it another thought after you've answered.
comment 3y ago · link · parent
Are they? At one time in my career you just let people know when something isn't going smoothly/not on schedule. A quick email (or equivalent) was more than sufficient to raise awareness.
For various reasons I eventually fell into this meeting culture. I don't get it. It produces this weird state where everyone saves up what they have to say for the meetings to avoid an awkward lack of participation or "I have nothing" in the meeting, which results in a barrage of mostly useless information, all while the nuggets of gold that the meeting would benefit from regularly get missed because everyone is too overwhelmed by the information overload.
And because everyone saves up what they have to say, the team seems more distant, which diminishes other beneficial outcomes that arise when everyone is regularly chatting with each other. The information lag also dramatically decreases the overall efficiency of the team, not having useful knowledge as it becomes available.
> You might not like it, but the information must be shared for the system to remain efficient.
The thing is, I actually like meetings. After you've recognized something isn't going smoothly, calling a meeting to formulate a plan of attack under the narrow scope of that specific problem at play can often lead to really great outcomes.
But I dare say that if the meeting is there simply to find out that there is a problem, you are doing something wrong.
comment 3y ago · link · parent
My only takeaway from all this is that you don't like the way things are with respect to how T-Mobile conducts support. That cannot be disagreed with. What you claim is your opinion can only be taken for what it is.
How would one even begin to disagree with that? "No, that's not your opinion! You actually feel this." I have no way to actually prove that assertion, leaving it to be an illogical statement and a bad faith response.
comment 3y ago · link · parent
Not at all. I'm in no rush.
> Secondly, what I think actually happens is that most companies using microservices aren't this disciplined and just end up bodging or implicitly coupling services.
If an organization is sufficiently large you may have no way to get another team on the line to even try. At that scale the other teams may as well work for other companies and that is what microservices models. If your organization is small, I tend to agree that you won't succeed. You can't beat Conway's Law.
> I find little value in providing that specification through the TDD approach or associated ceremony.
But, ultimately, what's the difference between writing your spec in an executable way or writing it in a Word document beyond the superficial differences in the languages? What is communicated to other developers ends up being the same.
> I prefer as few tests as possible at as high a level as possible with as few mocks as possible. I'll take a single test that takes 15 seconds to run over 1000 tests running in milliseconds.
Seemingly not all that common, interestingly, but Go comes to mind as a language that provides constructs to define separation between specification (TDD) and developer tests. Conceivably you could exclude your TDD specs from execution, only running the tests that help in your development process.
The value of TDD isn't in the execution, but in what is communicated to other developers. That the specs are executable is merely a nice side benefit to help with confirming that the implementation conforms to the spec. You still get 90% of the benefit of TDD even if you never run the executable, albeit granted at that point it is just a fancy Word document.
> I think there's a lot of healthy debate to be had about how much testing is needed.
Perhaps, but TDD isn't about testing. TDD is about providing documentation. I think there is less room for debate there. I'm not sure anyone who has ever inherited a codebase has wished it gave less insight into what the 'business needs' of the program are. Again, a Word document can provide the same documentation, but if you're going to write that Word document anyway why not go the extra mile and gain the additional benefits that come with execution?
comment 3y ago · link · parent
But perhaps communication with the capital isn't even necessary if you could clone the function of the capital? Imagine, for example, a cluster of AI agents, that are programmed to think just like the capital compromised of humans would, spread out throughout the universe. Each clone site may be limited to a solar month of reach, but the system as a whole would theoretically remain a single empire.
comment 3y ago · link · parent
As before, "should" cannot be answered in good faith, but a request for support ("Can you help me with my problem?") is very different to a complaint ("You have not resolved my problem."). People are going to do what they are going to do, but traditionally people will request support first and file a complaint only after that request failed to achieve resolution. Have you first requested support for the problem you have with support?
> If it is all just 'pipes' and phones and Twitter is in the same category, then the difference is that it is a different company.
And different companies go to where their particular customers live. If customers live on social media, social media is where the company will place their effort. That doesn't mean there won't be any effort to try and help others in other places, but there is only so much time in the day.
comment 3y ago · link · parent
A big problem, among many, with doing that is that you leak implementation details out of the abstraction. If, to stick with your example, you have a function that helps you with reading files, the caller shouldn't care where the data is stored. Today it might be the local filesystem, tomorrow S3, and when you make that change nothing about the rest of the program should break.
But you can't count on the lower level functions using the same errors. As you suggest, a "a file I’m trying to read doesn’t exist" isn't represented as a "bucket 404", even though at a higher level they are the exact same thing. If you straight returned the "a file I’m trying to read doesn’t exist" error as you got it from the file API, now the caller is going to depend on that, and when you replace it with the S3 function that returns a "bucket 404" error, everything starts to break.
What you typically want to do is return a more generalized "not found" error that can remain stable regardless of specific implementation details. There are rare cases where you can get away with simply returning the value up the stack, but in the majority of cases you need to handle the error, either by doing something with it or returning a new error that is more useful to the caller. And, so, try becomes essentially unusable without the language taking a larger macro take on supporting such a feature.
Like the sibling comment points out, Rust does "from" conversion when using try (?) to try and avoid encountering the same fate.
comment 3y ago · link · parent
For all practical purposes the state of the world is encoded into the universe. Relaying that state does not require emotion to carry into the message. If I exclaim 1+1=2, what emotion can you extract from that? The motivation for suggesting that 1+1=2 requires emotion to be present internally, but those emotions do not leak into the information presented.
> Do you have some additional insight/resources that could substantiate your claim?
I guess? https://www.history.com/news/rise-fall-telephone-switchboard...
I'm not sure what you're looking for, exactly.
> part of me sincerely doubts telecoms moved to, say, react framework to connect phonecalls.
If you use the phone app on your pocket computer, it very well could be using the React (React Native) framework. In the real world more likely it uses the OS's native APIs directly, but indeed React Native is just a thin layer above that anyway so the distinction is flimsy.
But yes, modern switching is also done in software. The phone is just another service that rides on the same network as all of these other services that we're talking about. Ultimately, what's really so different between Twitter and a phone call other than the exact bit arrangement that goes down the wire?
> I am not sure if you ever sent a complaint letter to a bank or similar regulated institution.
We are talking about support, not complaint. Those are very different letters.
> but, if anything, written letter gets a much closer scrutiny.
Particularly when the government is involved, no question. We already established earlier that the community that is government tends to live by paper. Once again, the "A team" lives where the people are. Even if Twitter is the best place for support, if you sent a complaint by Twitter it would be more likely be ignored because that's not where the regulators live. Like the recurring theme continues to tell, the most effort is put into where the people are...
comment 3y ago · link · parent
So while it is indeed a nifty feature if the rest of the language is also designed for it, it's not something that is easily tacked on to a language that is not.
comment 3y ago · link · parent
If all employees rejected them, companies would have no option but to disband them.
The issue is that when one enters into a non-compete without equivalent compensation the government loses potential tax revenue. Income tax is maximized when workers are working most productively, so there is a strong incentive for the government to keep workers working productively. Similar reason for why we have minimum wage.
If non-competes provide sufficient "garden leave" then the tax revenue should not be impacted, so there is no reason for the government to care. The productivity is still captured. The government isn't in the business of spotting bad deals for individuals – you are quite free to make all kinds of boneheaded financial decisions – only bad deals for itself.
Granted, execution and enforcement can be a challenge. Say you enter into a non-compete with "garden leave" of $1. Is that sufficient compensation with respect to the intent of allowing "garden leave"? Now you need a tribunal to make the call and all the complexities to go along with it. And so, when drafting laws, it may be more practical to prohibit "garden leave" as well.
comment 3y ago · link · parent
A factory machine that requires active involvement by a worker to be useful would have no impact if it were turned off, so even if a company wanted to bring legal action forward because a machine was turned off what would it be over?
> Shutting down a machine is not the same as destroying it.
Whereas the function of the machines here are quite useful even if there isn't a person in the place, at least so long as they continue to run not having staff to maintain them. The service would be damaged and would need to be repaired when people come back.
There is plenty of legal precedence for interruption of service being considered damage. Again, incidental interruption would no doubt side to the unions, but if done with malicious intent I can't see it standing.
> By "collapse", I meant a lot of stuff would stop functioning, most temporarily so.
Temporarily being as long as the employer can stave off hunger. Meaning that you need to be able to stave off hunger even longer if you want to hold the power.
> Currency has no "essential" value.
But it has value.
> The value of the currency is defined by what you can buy with it
Yup. Which is true of everything. Your value of car is defined by what you can buy with it. The value of your house defined by what you can buy with it. If you sell plastic trinkets, the value of those plastic trinkets are defined what you can buy with them.
If your car is traded for 10 chickens, your car's value is considered equal to 10 chickens. If 10 chickens is traded for 5 hours of labour, then your car is considered to have the same value as 10 chickens and 5 hours of labour. If 5 hours of labour is traded for 50 US dollars then 50 US dollars is considered to have the same value as 5 hours of labour, 10 chickens, a your car.
Now let's say that a study found that chicken has magical healing properties and, with greater desire to have chickens, the value of chicken doubled. Now you need either two of your cars to buy 10 chickens or accept that your single car can now only buy five chickens. Likewise, you now need 100 US dollars to buy 10 chickens. This scenario saw chicken inflation, but not currency inflation. The value of the currency remained the same.
It's all the same. Currency is just another thing that gets traded. The only thing unique about currency is that we normally like to talk about value relative to the value of currency. The question: "What's a dollar worth?" is then met with "A dollar!", but that doesn't actually answer the question. So, we use inflation to answer the question instead.
CPI takes a basket of goods and looks to extract uniform price movement across the basket to try and determine what is the currency component. If, say, the price of everything went up by 10% at the same time, you can reasonably conclude that it is the currency that declined in value and not that the value of everything else went up by the same amount at the same time. The latter is statistically unlikely and you can safely say that inflation is 10%. If the price of only one item in the basket went up by 10%, with no change to the rest, it is likely that there was no inflation. The real world isn't nearly as clean and tidy as a HN comment can be, but we try our best.
> This may or may not be true
Which is why we seek counterexamples to find cases where it hasn't been true. Even if technically possible, if it has never happened before, it is not worth presenting as something that likely to happen as has been done earlier in this conversation.
> Anyway, my prediction is that we're likely to have more labor market conflicts in 2023 in many places
It is certainly possible. All signs point to labour becoming stronger, and as indicated earlier, labour is more likely to stand up when they are strong – being in a better position to weather the storm that comes with pushing back. The wildcard is government, which throughout much of the world are working hard to crush labour's growing strength – a number of central banks have made it quite clear that they won't sleep until unemployment is high. If that is successful, labour could lose power before they stand up.
comment 3y ago · link · parent
Questions of "how should a company behave?" can only be answered by one's feelings, and feelings require emotions to be formed. There are no rules of business encoded into the universe. Business itself is merely a human construct.
> At end the end of the day, if I need to make a call to the old country and various apps don't work for one reason or another
The modern phone system is built on apps, so if apps are not working for one reason or another the app you call a phone isn't going to work anyway. Long gone are the days of an operator physically connecting copper wires between two locations. The phone system you seem to be imagining no longer exists outside of museums.
> Papyrus is older than telegraph and yet it is still used to deliver important messages
And like I said in another comment, if you used papyrus to request support from your telecom operator, I expect you would receive even worse support than by phone. It's not where they are going to focus their energy because papyrus isn't where the community of customers live. I imagine they would put in some effort to accommodate you, but with only so much time in the day it will pale in comparison to where they put their focus.
> unless you have some evidence to prove, calls are indeed a fringe channel
Like I said, it depends on the business. The phone is unquestionably the primary channel of communication for some businesses when the community of customers primarily live by phone. Other businesses, particularly those close to government, do rely on papyrus as their primary channel of communication. And other businesses see physical presence as their primary channel. Going back to the restaurant, you're going to receive better service walking in the door than you will by phone. No doubt there will be a best effort to provide good service over the phone as well, but the customer who walks in the door is going to get the "A team".
The business of which we speak here is mostly in the business of connecting one's pocket computer to social media, so social media is quite expectedly where the community primarily lives. That doesn't mean they won't put a best effort into other communication channels, but if you want the "A team", you will reasonably go where the people are. Same as with every business.
comment 3y ago · link · parent
While there are no doubt jurisdictional variances, unions are typically absolved of responsibility to incidental damage to company property, but purposefully damaging company property is unlikely to stand up. If the machines start to fail without oversight that's one thing, but purposefully shutting them down conveys an explicit intent.
> Most likely, the police would be used against them
No doubt. Such malice is most likely illegal. If the police aren't going to step in when someone is breaking the law, what purpose do they serve?
> society would collapse in days or hours.
You'd really better have your ducks in a row if you're going to cause society to collapse. That's going to require an incredible amount of money upfront. After society has collapsed it will be too late to prepare. So once again, you can't reasonably do this unless you're already rich.
> much of Europe is already unionized
Colour me skeptical. Canada is claimed to be the 6th most unionized country in the world and only ~25% of its workforce is unionized. There are 44 countries in Europe, according to the UN. This suggests that very few workers in Europe are in unions. Maybe I misinterpret what you are trying to say?
> My point is that the labor market conflicts can ALSO cause inflation.
Inflation can only occur if a currency loses value. What mechanism of labour conflict causes a currency to lose value (or lose more value than it would have otherwise)? If anything, I would expect currency to become more valuable as it becomes harder to attain during labour withdrawals.
The labour of industrialization doesn't go back that far in time so we don't have an incredible amount of data to look at, but from what data we do have it would appear that high inflation always precedes union growth. Which, again, seems expected as workers become stronger during the beginnings of high inflation due to the reasons explained above.
Where do we find counterexamples?
comment 3y ago · link · parent
Which may not be surprising as high inflation discourages saving, meaning that people are more likely to buy the things they want now to not have to pay much more later, which results in businesses increasing production to fill the increased demand, requiring more labour, and thus labour finds itself in a stronger position.
As the only power unions wield is the threat of stoppage of service, the workers have to be in a strong enough financial position to be able to execute on that – to be able to live without an income for months, if not years – in order to make it a credible threat. This is why unions are typically only found in high paying professions, but during periods where the general labour pool grows stronger then that expands.
comment 3y ago · link · parent
"Should" requires applying emotion and you cannot participate in a good faith discussion if you bring in emotions.
All we can discuss is what is. If what you are trying to ask is: "Do some businesses only accept inquiries by social media?" I don't know for sure, but expect it happens. I know for certain that there are businesses which do not accept phone calls. There are even more businesses that do not accept inquiries by telegraph. Do any businesses accept inquiries by telegraph?
Like I said, businesses will put the most effort into accommodating the majority of customers where they are found. If that's social media, then social media is where the most effort will be made. Indeed, it stands to reason that a business that is primarily in the business of providing internet service for pocket computers used to access social media will find most of their customers congregating on social media. Other businesses might find that the customers are most likely to come in person. A retirement community might even find that the phone is where the people are. Certainly there is no universal medium here. Each business will be different.
That doesn't mean there won't be some best effort attempts to support customers on the fringes, but there is only so much time in the day and if you lose the customers on the fringes... Oh well? You will never win them all anyway.
comment 3y ago · link · parent
It would be irrational to pay for a service you are unhappy with. Perhaps you mean you are are "unhappy" in the same way that one is "unhappy" to have a $5 BigMac over a $50 steak? Which is to say that the BigMac is good for the price, even if not the best food imaginable.
> If I had 20 providers to choose from, somehow I do not think we would have this conversation.
Just about anyone (with reasonable knowhow) can provide you phone support. If there are fewer than 20 people out there willing to do that for you, I'd be flabbergasted. But they won't work for free, and probably not even for cheap. You've no doubt chosen the bargain basement option provided by T-Mobile because you find it balances the best value for the money. It's not great service, but it is cheap service. It's the $5 BigMac, even if you are really craving $50 steak, but don't want to spend $50 on a meal.
> Ever since I was a little boy, there were only a handful of telecoms for some unfathomable reason.
We seem to be flailing around here a lot, but it was made clear to me in the last comment that we're talking about the phone support being paid for. Phone support does not have to work directly for the telecom to interface with the telecom. They can talk to you to find out the problem and then do whatever it takes to get the job done with the carrier afterwards.
How much are you actually willing to pay for that, though? It seems the answer is not much. So why would competition rise up to make no money?
Let's take that further: Why aren't you offering this service to others? Because you realize you won't make any money?
comment 3y ago · link · parent
That's approximately the timeframe when I last had to speak to my telecom operator, yes. Like I said in the previous comment, it's been a while.
I wouldn't expect that to be where business is conducted in 2023. The world certainly doesn't stand still. You can stand still if you wish, I guess, but don't expect everyone else to cater to that choice.
Don't get me wrong, I like banging out morse code on the telegraph as much as anyone, but if you don't get the desired results from it at some point you have to look inward.
comment 3y ago · link · parent
My misunderstanding. So, in that case, you got what you think you are paying for and are clearly happy with what you got in return for your money as you continue to pay for it going forward. What's your concern again?
> I am fairly certain if more options were available, this run towards the bottom would not be so awful from customer experience perspective
Perhaps there aren't more options because you're too price sensitive? I'll give you all the top quality telephone support you could ever want for $10,000,000 per year, but I strongly suspect already that your answer is "no thanks". If I had to offer you phone support at the same price as T-Mobile it would be unquestionably worse, not having the economies of scale they have.
Since you are clearly happy with the product they offer, at least given the price they offer it at, how could any other options rise up? Anyone smaller trying to offer an alternative would have to charge more just to provide the same level of support, and a lot more to provide better support. Are you getting out your wallet to see that happen or is this one of those fake rants that "actions speak louder than words" was coined for?