8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
What's unique about Silicon Valley is the density of software-minded people willing to adopt products made by their friends. It sets up a "if you build it, they will come" situation. That promotes the early adoption needed to grow into something larger. If you were located in Iowa and your friend group was made up of farmers, they likely won't care about the software you are building, and you'll stall out quickly in trying to find users.
On the flip side, if you are building something that would be of interest to Iowan farmers, you will have a greater chance of success having that farmer friend group than a bunch of Silicon Valley tech bros to share with.
comment 4y ago · link · parent
If you were loading the regexp from an alterable file at runtime, to allow the user to change it after the program is shipped, you wouldn't use regexp.MustCompile. You would use regexp.Compile and gracefully deal with any errors that the user may have made.
If you are talking about compile-time configuration, where once your program is built it won't change, why would you use YAML when you could simply use language-native variables/constants with actual compile-time safety? Regexps can improve on some programming problems over writing the equivalent code, so it's a good tradeoff in some cases. YAML is never nicer than the equivalent code.
comment 4y ago · link · parent
Sounds backwards. A shortage is a situation where price is unable to rise. If there is a shortage, salaries should be higher than they are.
Price gouging laws are a good example of where shortages can occur. We experienced a shortage of toilet paper at the beginning of the pandemic because the law (in many jurisdictions) prevented vendors from charging the fair market value. If vendors were legally able to sell them for $1,000 a roll, the market would have been easily satisfied as the average person unable to pay $1,000 a roll would have bowed out of the market, leaving just the right amount for those who still were willing to pay up. Instead, because of the law toilet paper remained as affordable as it ever was, so it became a race to see who could get it first instead of letting a higher price scare some people away.
Within the scope of labor, healthcare can be prone to shortages as governments have been known to impose price ceilings on practitioners to try and make healthcare more accessible to all, so that the rich don't buy up all the doctors' time with a better offer, leaving no service available to the poor. This is quite uncommon generally, though, and not something I've ever seen within the software industry. We're quite happy to let Google outbid Mom and Pop's Used Book Emporium for developers.
comment 4y ago · link · parent
regexp.MustCompile exists to catch programmer mistakes. You've presumably done your testing and when you ship the software you believe the regexp is correct and it should be impossible to fail, so if it still fails, something exceptional has happened; an exception as we call them in the biz.
What you are doing when reading a config file is dealing with user mistakes. These are not exceptional, they are very much expected to happen and when they do you would traditionally want to provide useful feedback to the user, not simply crash.
This may be something that people do, but it isn't what you'd want them to do. panic/recover are intended for exceptions, not errors. Why make it easier for developers to do silly things? In the rare cases where you actually have exceptions to deal with, a little extra work to make the situation clear to the reader is okay.
comment 4y ago · link · parent
comment 4y ago · link · parent
But if the companies were to be become sufficiently poorer, the amount they are able to pay has to come down at some point, and once that happens you've got a reduction in demand. That doesn't necessarily mean firing anyone, demand simply measures desire and ability to pay a given price to attain what is wanted.
comment 4y ago · link · parent
Once you’re confident that you can’t be wrong, you’re not going to care about the topic anymore. There is good reason why we don’t sit around talking about how 1+1=2 all day.
comment 4y ago · link · parent
2006 is when the housing bubble was pierced. It took another couple of years to fully deflate, so bursting isn't likely the best depiction of the event, but typically when we talk about bubbles bursting we refer to the first moment of weakness, not the tail end.
It was the securities market that crashed fast and hard five years later. The housing market crash played a role in that happening, I'm sure, but isn't housing itself.
comment 4y ago · link · parent
I'm quite sure they were realizing it before that. Here in Canada, Statistics Canada data was already showing stronger job markets away from the large urban areas during the mid-2010s, which continues today, and the 2016 census showed a meaningful decline in large urban areas with communities of 1,000-29,999 seeing the largest growth. The 'counter-urbanization' moment was already well underway.
It is fair to say that COVID sped things up. There was, and still is, a lot of friction involved in making that transition, but COVID no doubt provided a lot of grease.
comment 4y ago · link · parent
He has a point, though. On a developer salary, the basics like food and gas make up only a small portion of one's income. It may be an increasing portion, but still just a portion. The remainder can buy more, depending on what you want to buy.
comment 4y ago · link · parent
> many companies went from having around 1000 job offers open in linkedin on a weekly basis to having now around a third of that.
But if we want to use labour as an indicator of recession for the sake of discussion, that's a rather substantial decline. Why is that not indicative of a recession? A recession is considered a decline in business activity and if businesses are now not seeing the activity to support two thirds of that prior activity, that seems like a meaningful decline to me.
comment 4y ago · link · parent
In the long run, but it is not uncommon to see production lose money when their input costs are higher than the consumer price. A vendor is still beholden to what someone will pay and when you have to pay for your inputs before proving what the end consumer will pay, you can quickly be left holding the bag. This corrects eventually, but not usually within the span of days or even months. It can often take years to see things correct.
You still can't have inflation if the people don't have money. A business can't magically charge more than someone is willing and able to pay. And they say the people don't have more money to pay with, currently subsisting on draining their savings, so inflation will be short lived – unless incomes start to rise. The FED is working tirelessly to try and prevent that from happening, but we'll see.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
If you are handed $73,000 and still need to frantically look for a new job, something strange is going on.