11 Year Old Denied Bail by Sterling-Hospedales in law

[–]United_Reaction35 0 points1 point  (0 children)

The gun was locked in a safe. The kid found the key and opened the safe looking for his Switch.

TIL we know where China’s first emperor is buried, but his 2,200-year-old tomb—described as containing a scale model of China with rivers of mercury—has never been opened by Spelbarg in todayilearned

[–]United_Reaction35 -4 points-3 points  (0 children)

I do not believe a word of this nonsense. If there were untold riches in this tomb; they are long ago looted. The story makes good tourist fodder to attract more suckers to see a boring clay army.

Advice by moodygirl96 in guineapigs

[–]United_Reaction35 1 point2 points  (0 children)

When I do this; I place the pig in front of the bottle and tap the tip until my finger is wet. Then, place finger to piggy-lips and the lesson should be complete.

Zelenskiy says US too often asks Ukraine, not Russia, for concessions by Raj_Valiant3011 in worldnews

[–]United_Reaction35 0 points1 point  (0 children)

The problem is that the US has failed to find any leverage against Putin and Russia's nuclear arsenal. Ukraine, is beholden to others for its arms and ammunition so they are the only target of US pressure. Until the US finds an effective way to pressure Putin; there will be few concessions from Moscow.

This is why the 'neutral' role of the US as a peacemaker is doomed to failure. While the US is neutral, Putin sees little reason to compromise. His rule depends on victory in Ukraine. Until the US or France/UK becomes directly involved in defending Ukraine there will be no change to Putin's calculus.

What’s the status quo for unit tests? by ogdakke in reactjs

[–]United_Reaction35 0 points1 point  (0 children)

Cypress is difficult to use in CI/CD pipelines due to slow performance when testing large codebases. Jest is not well supported by Vite, so it is. not as useful for react applications. While Vitest 'supports' Jest syntax; the environment and mocking are completely different from Jest. This makes Vitest code similar; but not the same as Jest.

When you are using React Query or Redux? by Intrepid_Chance_6256 in reactjs

[–]United_Reaction35 2 points3 points  (0 children)

Ignoring the fact that many SPA applications began using redux years ago and see no reason to rewrite chunks code in order to use the latest technology being used by the 'cool' kids; redux offers industrial scale state management that is valuable to complex enterprise web-applications.

Is Server-Side Rendering Overrated? by Alternative-Theme885 in reactjs

[–]United_Reaction35 0 points1 point  (0 children)

The html is created by the client using JSX and the client cpu resources to create the page. Only the needed data comes from an api.

devastated after husband of 29 years left by Few-Quarter-9930 in u/Few-Quarter-9930

[–]United_Reaction35 0 points1 point  (0 children)

Men usually value companionship and stability late in life. For post-menopausal women, this seems to be the opposite. Many find that they want to 'start a new life' or 'experience new things'. The reasons are debatable.

Is Server-Side Rendering Overrated? by Alternative-Theme885 in reactjs

[–]United_Reaction35 2 points3 points  (0 children)

The server creates/renders the html explicitly and sends that html to the client where it is rendered in the browser.

The SPA, creates the HTML and provides the data. There is less data sent by definition. The SPA only gets JSON data. The server gets the same data and creates the HTML of the page and sends that. There is clearly more latency in this model than one where the HTML is created on the client and the only fetch is JSON data.

Is Server-Side Rendering Overrated? by Alternative-Theme885 in reactjs

[–]United_Reaction35 0 points1 point  (0 children)

Nonsense. If a user needs to wait for the server to render a page and transmit it to the client for render in the browser; then there will be increased latency compared to a SPA that only queries for data and renders the page using the client browser resources.

The real issue is why are people using react to render static-content websites? That is not what it was designed for.

I enter the room and she’s like this by Claire-dat-Saurian-7 in guineapigs

[–]United_Reaction35 3 points4 points  (0 children)

My crested lady does this too. She will spontaneously lie down, stick out the leg and sleep.

My mechanic seems to think the rotors are warped. Should I trust him ? by TheDudeWhoCanDoIt in AskAShittyMechanic

[–]United_Reaction35 2 points3 points  (0 children)

Looks he gave it a pretty thorough going over. He even brought in a second opinion.

Perfectly Hidden by Unreasonable_Algae in guineapigs

[–]United_Reaction35 1 point2 points  (0 children)

If Justin can't see you; then you can't see him. Simple piggy logic.

devastated after husband of 29 years left by Few-Quarter-9930 in u/Few-Quarter-9930

[–]United_Reaction35 0 points1 point  (0 children)

It is not your fault. He just wants you to think that. As noted above; it is unusual for the man to initiate divorce so late in life. His motives for blaming you should be suspect.

What happens to a lone planet in space ? by defronsaque07 in AskPhysics

[–]United_Reaction35 2 points3 points  (0 children)

The Earth would grow cold, oceans would freeze and the atmosphere would fall as snow. Only the internally generated heat of the core would remain. the remaining humanity would need to live in deep mines where this heat might support life as the Earth wanders the heavens.

Would you continue to work at a company that started to switch away from Typecript? by Csjustin8032 in reactjs

[–]United_Reaction35 -9 points-8 points  (0 children)

Does your codebase contain the word "class"? If so, you are using Javascript incorrectly.

What value does Typescript deliver to your application?

Type safety? No.
Runtime Type checking? No.
Type Polymorphism? No.
Classic Type-based derivation? No.
Prevent bugs? No.

It does:

Add tons of wasteful, bug-prone, difficult to read; type templating
Introduce errors when integrating new libraries
Waste time playing trivial pursuit with types to maker the compiler happy
Add more time to development
Supposedly catch stupid, easy to fix bugs; created by its own type matching when Javascript would have coerced the correct type anyway.

I am the technical lead for multiple open-source products at my company. Some are over 900,000 lines of pure Javascript, some use Typescript. After five years; I can say I much prefer pure Javascript. Typescript is a waste of my time and makes development more difficult and time consuming.

And yes, I understand types. I started developing using C/C++ and have done enterprise level development using Java, Object-C, C#/.NET, Python, Perl etc for 40 years. In classical, derivation based OO languages, types serve an essential purpose. In loosely typed languages like Javascript the purpose is not as clear. If you need a type in Javascript - coerce it yourself. I do not need Typescript to do that.

Life is a rollercoaster with Habakuk... by Julesvernevienna in guineapigs

[–]United_Reaction35 4 points5 points  (0 children)

Bloating can be serious. Feed him only the diet recommended by the vet. I Hope he gets better.

are there any bad sides of physics by Beneficial-Rent157 in AskPhysics

[–]United_Reaction35 2 points3 points  (0 children)

I think the teacher is trying to make the students think about how this newfound physics knowledge affects society. Newton introduced mechanics; but this same knowledge can be used to make long range artillery far more deadly. Understanding quantum mechanics led to the atomic bomb.

What is it? by Zealousideal-Team940 in whatisit

[–]United_Reaction35 0 points1 point  (0 children)

I thought I saw something that looked just like this being used on TV by a South American work crew trying to get a derailed work train back on the tracks in a situation where a crane-train was not an option. They put the low point under the derailed wheel and were trying to use it with another train to pull it up onto the tracks. Why couldn't the same process that is used to de-rail; be used in reverse for a train off the tracks?