Better HN
topnewbestaskshowjobs
Log inSign up

StressedDev

836 karma · joined May 13, 2023 (3y ago) · 322 submissions

Submissions

comment 2y ago · link · parent

There are a lot of web sites which will not work without JavaScript. I am not sure why so many people do not like JavaScript but it seems to work well.

The other reason Google will always support JavaScript on web sites is because advertisers (including Google) use it. In fact, I suspect one of the motivations for improving Chrome's JavaScript performance was to make ads work better (i.e. allow ads to run more complex scripts to improve ad targeting, and fight ad fraud).

comment 2y ago · link · parent

Google will never tell you how the ranking algorithm works because if they did, the ranking algorithm would be gamed. Basically, the problem is a lot of people will try to get less relevant content to rank higher than the best content. If you tell these people how Google's ranker works, they will make Google search worse because they will learn how deceive the ranker.

A ranker is a piece of software which determines what results should be show to a user on the search results page.

comment 2y ago · link · parent

Amazon’s AWS has good customer service. I get good customer service at the Apple Store, and I also got good customer service when Microsoft had retail stores. I have used Azure’s customer service and it was OK. Amazon’s AWS is know for outstanding customer service. My main point is some big tech companies have terrible service. Some don’t.

comment 2y ago · link · parent

Do you have a source for this? I suspect search makes at least 75% of Google’s profits.

comment 2y ago · link · parent

Also, Blizzard recently released Diablo 4. Finally, you do not need a license to use DirectX. It’s a public API.

comment 2y ago · link · parent

GTA is made in the UK. It’s not an American game.

comment 2y ago · link · parent

This is excellent advice. Another thing I will add is if something is not ethical, misleading, or dishonest, just do not do it. The world will be a better place if people behave ethically. Also, I strongly suspect that long term success in business requires ethical conduct.

comment 2y ago · link · parent

It's better to pay taxes on profits than to lose money and not pay takes. The reason is very simple. If you pay taxes, you keep the portion of money you made. If you lose the money, you have nothing. Note, I suspect that the Alexa business is worth nothing, and I bet the shareholders would rather have the money spent on Alexa instead of having the Alexa business.

comment 2y ago · link · parent

Retail is extremely competitive. Amazon does not have the best prices, and has a horrible experience for shopping. It's basically a specialized search engine with lots of ads at this point. Also, the things which made Amazon shopping a no-brainer are gone. Items no longer always arrive within two days if you have Prime, there are lots of poor-quality items, and it's hard to find what you really want. Finally, it's obvious Amazon's retail employees are not customer obsessed. Look at the web site design, and ask yourself if you would design a retail web site like Amazon's?

My guess is Amazon's retail business will eventually start declining as customers discover it's relatively expensive, and it's too easy to buy low quality items.

comment 2y ago · link · parent

The basic problem is Alex never had a business plan, which means Amazon never figured out how to build a profitable (sustainable) business. It also looks like Alexa's leadership gamed internal metrics to make Alexa look far more successful than it really was. I think this is what we can learn from Alexa:

1) Do not assume you can build a business, and then make it profitable. You always need to understand how a business can become profitable. Also, avoid fuzzy ideas, and metrics. For example, claiming unprofitable product X, is a success because it helps a company's brand, or causes people to buy more of product Y unless you have very very very strong evidence to back up these claims.

2) Dishonesty and bullshit do not work - Leaders, and teams need to be honest with themselves and with senior leadership. Do not use metrics to mislead other people, and point out flaws and limitations in metrics. Also, misleading people in general is not a good idea, and it harms organizations.

3) While killing products prematurely is a bad idea (see Google), continuing to support failing products for decades is probably not a good idea either.

I wish the Alexa team luck. I hope they can figure out how to create a profitable business which delights customers.

comment 2y ago · link · parent

I think Amazon actually sold 500 million Alexa devices, not 500 hundred thousand.

comment 2y ago · link · parent

What is the pattern of discrimination? Can you give some examples?

comment 2y ago · link · parent

Agreed - The worst part is most of the people making these unhelpful comments are probably doing the same sorts of things which caused this outage.

comment 2y ago · link · parent

Thank you for pointing this out. Whenever I read articles about security, or reliability failures, it seems like the majority of the commenters assume that the person or organization which made the mistake is a bunch of bozos.

The fact is mistakes happen (even huge ones), and the best thing to do is learn from the mistakes. The other thing people seem to forget is they are probably doing a lot of the same things which got CrowdStrike into trouble.

If I had to guess, one problem may be that CrowdStrike's Windows code did not validate the data it received from the update process. Unfortunately, this is very common. The lesson is to validate any data received from the network, from an update process, received as user input, etc. If the data is not valid, reject it.

Note I bet at least 50% of the software engineers commenting in this thread do not regularly validate untrusted data.

comment 2y ago · link · parent

Boeing has been losing market share to AirBus for decades. That is what happens when you cannot fix your problems, sell a safe product, keep costs in line, etc.

comment 2y ago · link · parent

Not caring about the actual product will eventually kill a company. All companies have to constantly work to maintain and grow their customer base. Customers will eventually figure out if a company is selling snake oil, or a shoddy product.

Also, the tech industry is extremely competitive. Leaders frequently become laggards or go out of business. Here are some companies who failed or shrank because their products could not complete: IBM, Digital Equipment, Sun, Borland, Yahoo, Control Data, Lotus (later IBM), Evernote, etc. Note all of these companies were at some point at the top of their industry. They aren't anymore.

comment 2y ago · link · parent

The United States Constitution requires the United Staes Government to run a postal service. This means that the USPS must exist and it must be properly funded.

comment 2y ago · link · parent

Probably not - The reason we continue to see attacks is for a couple of reasons:

1) There are very few consequences. At worst, a hacker will get 5-7 years, and the chance of getting caught is low.

2) Security is very very very hard. The defender must get everything right. The attacker only needs to find one flaw.

3) Security does not just depend on security staff. It depends on every software engineer, operations (or devops) engineer, every software dependency, every piece of hardware, etc. If one of these people or dependencies has a problem, the whole system can be cracked. Examples of problems include writing insecure code, getting hacked, not removing old employees from an ACL or group, installing a tool with a back door, etc.

The point is security is hard and it depends on people doing the right thing. It's very hard to get people to do the right thing.

comment 2y ago · link · parent

Skype for Business has very little to do with Skype the consumer application. Skype for Business used to be called Lync. It's a messaging, and communication application for business users. It was replaced by MS Teams.

comment 2y ago · link · parent

You do not seem credible. Here is why:

1. You can get rid of OneDrive by uninstalling it.

2. You seem to be implying that MS will get rid of its desktop applications. This seems unlikely give that the desktop applications work well and are popular. Do you have any proof that they will be replaced.

3. You also claim that releasing a new version of Outlook somehow is equivalent to canceling it or ruining it. I switched to the new version and it worked fine. I actually liked how the user interface was simplified.

It's fine to prefer other products. That being said, spreading FUD is really not helpful.

Do you have any proof about MS Office desktop apps being cancelled? I have not heard about that. Also, the new Outlook works fine.

comment 2y ago · link · parent

I have found it useful. I used to install PowerShell 7.x, kubectl, Bicep (Azure language for deploying resources), etc. It works fine. The biggest problem I have is I cannot use it to install helm because the helm package is not shipped by the helm team (I don't trust packages shipped by third parties).

comment 2y ago · link · parent

Thank you for pointing this out. I doubt that their patches always (or even frequently) fix the underlying security issue. It is a lot harder to patch something when you don't have access to the source code, and to a test team which can verify the fix.

comment 2y ago · link · parent

"Especially when they see what Win11 has become." Windows 11 works great. In fact, it works as well as Windows 10, Windows 7, etc. One thing I always find amusing is people are constantly claiming the latest version of windows is "bad", and the last version of Windows is soooo much better. This has been happening at least since Windows XP was released.

comment 2y ago · link · parent

I suspect that these patches frequently do not fix the security bug. Basically, if you care about security, you should use software supported by the vender, or open-source team which produces the software.

comment 2y ago · link · parent

You can probably download it if you have a Visual Studio Professional or Enterprise subscription. VS Professional costs about $1,100 for the first year, and about $750/year after that. You get access to all MS software BUT you can only use it to develop software. You cannot use it in production.

comment 2y ago · link · parent

The biggest group of people paying lip service to security are software engineers, and ops people. Both groups regularly choose implementation speed, and reduced work over sound security practices.

A good example of this is in C/C++. Most C code bases I have seen spread buffer use and allocation code over hundreds or thousands of files. Anyone of these files could have a security bug because some code does not check the buffer size before writing data into a buffer. There is no way this pattern will ever be secure because it requires software engineers to get every check right which is impossible.

Even worse, many software engineers do not care about security, or even correctness. They will happily write dangerous code because it takes less time.

Another example of both operations and software engineers having a blind spot is cloud computing. When you write software in the cloud, you want to minimize secrets for the following reasons:

1) They have to be periodically rotated (changed). Rotation takes time, and it is error prone. Making a mistake leads to an outage. Not rotating them can lead to a hack when an employee leaves the team or when a breach occurrs and the attacker gets a copy of the secret.

2) If a breach occurs, secrets have to be rotated very quickly. This is hard to do unless a team has spent a lot of effort on automated secret rotation.

The solution is to use managed identities (i.e. identities which automatically rotate their credentials every X days). I know Azure provides them, and I bet AWS, GCE, etc. also provide them. It takes a little more work but now, you do not have to worry about secret rotation anymore.

The problem is, more work means a lot of people just won't do it.

The final example is the principal of least privilege. Convincing people to only give the appropriate privileges to an account, managed identity, person, etc. is hard. Lots of people just give as much access as possible "in case someone needs it", or because it is easier. This leads to much worse security breaches.

My basic point is security problems are not just because companies don't care or are not punished enough. They also occur because software engineers, ops, and other technical people don't really care. If the people doing the actual work don't care, the situation is not going to ever improve.

comment 2y ago · link · parent

The OP never said ShotSpotter is selling A and B. The OP is making a general statement. Note I could see ShotSpotter combined with something else as being an effective crime fighting tool. I could also see ShotSpotter never working well.

comment 2y ago · link · parent

I am not sure why this comment is being down voted. It's true. A good example is the combination of psychotherapy, and psychiatric drugs is the best solution for many mental illnesses. Using either one alone is less effective.

comment 2y ago · link · parent

I doubt everyone loves the result. I am a lot of the students are not thrilled about giving up their phones.

comment 2y ago · link · parent

I am not sure what you mean by it’s “terrible”. It works well for me. It saves my passwords, generates secure passwords for me, works with Safari, and works with apps.
12345
11