Better HN
topnewbestaskshowjobs
Log inSign up

StressedDev

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

Submissions

comment 2y ago · link · parent

One of the biggest problems with forums, reddit, X (Twitter), etc. is you don’t know which users know what they are talking about. In your case, you knew about the local metro because you used it. People who claimed it was a disaster obviously never used it and yet there was no easy way to determine which person was knowledgable and which person was making things up or repeating what they had read else where.

comment 2y ago · link · parent

What do you mean by "second order consequences?" Also, what if this is caused by a bug in Google's search engine? Would that also be illegal? Is it anti-competitive if Google made a mistake?

comment 2y ago · link · parent

I have used external monitors for decades with Windows and I have not run into problems. One thing which may help is I always plug the monitors into the video card. I typically use an NVIDIA professional video card. I have also not had problems with laptops plugged into external monitors.

comment 2y ago · link · parent

The analysis post was very good and did a great job of explaining how the attacker (hacker) obfuscated the backdoor.

comment 2y ago · link · parent

Who is melon?

comment 2y ago · link · parent

Given Tesla has not done this for years, I think you have to give them credit for not being stupid. Not every organization wants to create an ad infested product.

comment 2y ago · link · parent

I saw a lot more composition than inheritance in C++ and C#. I think inheritance and polymorphism have their place. Like anything, they can be misused.

comment 2y ago · link · parent

They won't call it a profit. What they will do is spend as much as they can on salaries (especially for the senior employees), increasing the size of the administration (more jobs for insiders), buildings, sports, etc.

Basically, people think non-profit means the organization works for the public or puts the public first. Unfortunately, what it often means is money goes to employees and insiders instead of shareholders. For colleges, it means the students (and the Federal Government which issued the student loads) comes last and the college's employees come first. Not great public policy.

comment 2y ago · link · parent

I have a hard time believing this. Every course I took in college had at least 15 people and usually 30-50 people. Large classes like Calculus 1-2, Linear Algebra, and Differential Equations had at least 300 people. There is no way you cannot pay the salary + legitimate overhead for 1 profess, and 1-10 TAs with these class sizes. My guess is a lot of the money does not go to instruction but goes to administration, sports palaces (stadiums), luxury dorms, etc. Colleges used to be MUCH cheaper in the 1950s, 1960s, and 1970s. The education was just as good but cost far less.

The big problem with colleges today is they are "non-profit" in name only. Instead, of giving profits to shareholders, they are giving them to employees and insiders. This hurts students and the United States. However, colleges do not care because they, their employees, and friends benefit.

comment 2y ago · link · parent

The Office Apps still have desktop versions and they still work very well.

comment 2y ago · link · parent

Thank you for the helpful report of your experience. I liked how you dug into the API and got the error code.

comment 2y ago · link · parent

What is native advertising?

comment 2y ago · link · parent

Your home appliances are not connected to a computer network (hopefully)

comment 2y ago · link · parent

You basically have a device which can and will be hacked by attackers. One thing to keep in mind is while some malicious code infections are obvious (typically using lots of CPU and/or GPU), others are not because their main purpose is to look for sensitive information and/or spread to other devices.

My main point is using devices which do not receive security updates is not safe. This goes for the iPhone, Android phones, Windows PCs (this is why using Windows 7 on a machine connected to a network is a horrible idea), MacOS, Linux, etc.

No security updates = do not connect the device to ANY network.

comment 2y ago · link · parent

It is not going to make a difference. If you run malicious code, you will get hacked. Compiling the code yourself does not prevent the code from being malicious.

The one it might help is it might make it easier to find the back door once you know there is one.

comment 2y ago · link · parent

The problem with the parent's suggestion is you end up banning lots of useful techniques while not actually stopping hackers from installing back doors or adding security exploits. The basic problem is once an attacker can submit changes to a project, the attacker can do a lot of damage. The only real solution is to do very careful code reviews. Basically, having a malicious person get code into a project is always going to be a disaster. If they can get control of a project, it is going to be even worse.

comment 2y ago · link · parent

Your experience is not universal. I get very few SPAM messages or calls on my iPhone.

comment 2y ago · link · parent

This response is not helpful and I know of honest people who have been cheated. Basically, the response boils down to “if you got cheated, you are dishonest and deserved it”. Bullshit.

comment 2y ago · link · parent

You asked for a citation about why almost all RISC chips from the 80s and 90s failed. Well, here it is:

- ARM (ARM) - ARM has done very well. It traditionally focused on low power chips. Over the past two decades, ARM has created faster and faster chips. Its chips can now be used in laptop, desktop, and server systems. I would argue ARM is a success. I would also argue it's not clear that ARM systems are faster than Intel or AMD systems.

- Alpha (Digital Equipment / Compaq / Hewlett Packard) - Alpha is dead. No one makes or sells Alpha computers any more.

- MIPS / Silicon Graphics - Silicon Graphics is gone. MIPS may survive as an embedded chip. MIPS chips are not used in used in main stream servers nor do they out preform x86 chips from AMD or Intel.

- PA RISC (Hewlett Packard) - HP dropped this in favor of Intel's Itanium chips.

- POWER (IBM) - This architecture is still being sold by IBM in real products. My guess is it is a good chip but it is still more expensive and slower than chips from AMD and Intel. Still, IBM deserves a lot of credit for keeping POWER going for over 30 years and for outlasting all of the other server/workstation RISC chips from the 1980s and early 1990s (ARM was not in servers or workstations during this time period). One sign that POWER is slower than Intel and AMD is there are no POWER chip benchmark results for the integer speed tests on the SPEC web site (https://www.spec.org/cpu2017/results/cint2017.html). This implies that IBM's cores are slower than x86 cores.

- PowerPC (Motorola and IBM) - This may survive as an embedded chip. It is not used in servers or desktop/laptop computers. Apple was the only user and they switched to Intel in the 2000s (they also recently switched from Intel to their own custom ARM Mx chips).

- SPARC (Sun Microsystems) - The microprocessor design team radically downsized sometime in the last decade (https://www.networkworld.com/article/964265/the-sun-sets-on-...). It still has support but my guess is the chips are not fast or cheap. The only reason you would use it is if you had software you could not move to x86 or ARM systems.

We had 7 RISC chip architectures launch in 1980s and 1990s. 6 were used in workstations and servers. One (ARM) was primary used in low power systems in the 1990s. In 2024, 2 are still going (ARM and POWER), 1 is on life support (SPARC), 2 may be used in some embedded systems (MIPS and POWER PC), and 2 are dead (Alpha and PA RISC).

ARM chips may be able to outperform x86 chips but I have seen very little evidence of this (Apple's M1, M2, and M3 may be better but it is hard to tell without reliable independent benchmarks). POWER is probably a good chip but it has failed to beat x86's performance. The rest are irrelevant in the laptop, desktop, and server world.

My main point is RISC's proponents promised that RISC chips would be faster than CISC chips like the x86/x64 chips. In 2024, we have not seen any evidence that the fastest chip must be a RISC chip. In fact, we have seen the opposite where none of the RISC architecture's hold the undisputed performance crown. If RISC was better, at least one of the RISC chip designs would have defeated AMD/Intel by now.

comment 2y ago · link · parent

Do you have benchmarks showing this? People would switch to ARM if this is true. Note Linux and Windows runs just fine ARM.

comment 2y ago · link · parent

I am going to be blunt. If CISC is so bad, why did almost all of the RISC chips from the 1980s and 1990s fail? Why aren't we using them today? The closest you will get is ARM chips. If you are going to claim RISC is fundamentally better, why aren't the fastest and most power efficient chips RISC chips? Why are Amazon, Google, and Microsoft buying an enormous number of x64 chips? It's not because they love the architecture. It's because x64 chips are the best in terms of cost, power usage, and performance.

My guess is the most important thing for chip performance is the manufacturing process. After that, it's things like pipelining, branch predictors, super-scaler design, etc. (I am not an expert and this is just a guess). I don't think instruction set really matters that much when chips have billions of transistors.

RISC was a great idea in the 1970s because a more complex instruction set meant fewer transistors for performance improvements. The same was also true in the 1980s. By 1995-1996, the Pentium Pro was the fastest 32-bit chip. At this point, RISC's proponents had to start explaining why a better instruction set did not translate into a faster chip. They never did. Instead, they keep on banging on the "RISC is better" drum without supplying better chips.

comment 2y ago · link · parent

We will when you are willing to pay for the massive cost of redoing everything which already works well. Also, are you going to buy everyone new hardware for your new better architecture?

Note that we would probably end up with something which has just as many problems or maybe even worse. Rewrites are very hard and you really need to know what you are doing to get everything right or to even to make things better.

comment 2y ago · link · parent

It depends where you are taking the train from. I know of a lot of places in New Jersey where the train fare is a lot more than $6/person.

comment 2y ago · link · parent

Do you have a source for this? London is not known as a poor city. In addition, some people in both cities are wealthy but a lot more are not. I doubt someone living in the South Brox or Far Rockaway can afford a $15/day charge.

comment 2y ago · link · parent

Nope - This bug was not caused by the language. Also, no one has ever claimed Rust is perfect. What people are claiming is it is a good alternative to C/C++ which prevents a lot of common errors like buffer overflows.

comment 2y ago · link · parent

Thank you for the thoughtful reply. I really appreciated it.

comment 2y ago · link · parent

OK, this comment was not really helpful. The article described some really interesting tech. Trashing tech or people who are excited by it does not really make things better.

comment 2y ago · link · parent

C (the language) does not cause people to write unmaintainable or hard to understand code. Programmers who choose to write unmaintainable or hard to understand code are the problem. I have seen great C code, good C code, mediocre C code, etc. It really depends on who is writing this. This is true of all languages.

In short, technology cannot fix people problems.

comment 2y ago · link · parent

The Switches games are all available on the Switch's store. There is no good reason to pirate them. As usual, pirates make excuses for ripping off creators.

comment 2y ago · link · parent

Yup - I do not use Kagi but Kagi's incentive is to make the best search engine. Google's incentive to make the best ad impressions engine.
1
567
11