836 karma · joined May 13, 2023 (3y ago) · 322 submissions
comment 2y ago · link · parent
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
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
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
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
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
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
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
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
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
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
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.