Jump to content

Sensei

Senior Members
  • Posts

    7683
  • Joined

  • Last visited

  • Days Won

    26

Sensei last won the day on October 27 2023

Sensei had the most liked content!

Profile Information

  • Interests
    Quantum Physics, C/C++/.NET Framework/Java programming.
  • Favorite Area of Science
    Quantum Physics

Recent Profile Visitors

61495 profile views

Sensei's Achievements

Genius

Genius (11/13)

1.3k

Reputation

  1. Hemodialysis (or blood transfusion) can indeed solve many problems if they are related to the presence of microorganisms, viruses or other (unwanted) chemical elements in the blood. But who said that autism is caused by a chemical imbalance in the blood? If it were so easy, it could be easily detected with blood analysis and resolved with drugs which fix the imbalance.
  2. To check whether two objects of any shape have collided, the programmer can treat them as spheres at the first stage, i.e. calculate the min-max bounding box from all points, calculate the center point and the maximum radius. Then, if the distance between two such spheres is greater than the sum of the radii, the objects are too far away to be bothered with. However, if the distance between them is smaller, a less optimal, slower algorithm is performed to check the objects nearby. Several levels of spheres are used in 3D games. One sphere to cover the entire body. A second set of smaller spheres for all parts of the body. These are checked similarly to the previous step, but instead of comparing triangles with triangles (or polygons with polygons), because they are very slow for the processor, still spheres vs spheres are checked. People use KD-Tree (3D), Octree (3D) or Quad-tree (2D) to optimize such work. https://en.wikipedia.org/wiki/K-d_tree https://en.wikipedia.org/wiki/Octree https://en.wikipedia.org/wiki/Quadtree i.e. objects that are close to each other are in the same leaf or in a neighboring leaf. If an object does not move between frames, it does not need to be removed from the leaf and added to a new one. With a fixed number of elements, you can use voxels ("volumetric pixels"). https://en.wikipedia.org/wiki/Voxel Remember that in animation up to a certain level, you can reuse calculations from the previous frame(s) in future frames.
  3. If you weren't in hot water writing this post, you would have read (or between the lines i.e. in good faith) that we were talking about the potential bombing of Tokyo.. so, I was not comparing Hiroshima vs Washington, but Tokyo vs Washington, i.e. destruction of capital city of 1st country vs destruction of capital city of 2nd country.. Which is quite obvious from my statement. Thus, the introduction of Hiroshima into this topic is out of place, as I was comparing destruction of two capitals..
  4. I like your proposal. Politicians are like children. Want to put on the ritz, show off in the sandbox.. It is irrelevant.. Nuclear fission was discovered by German-Nazi scientists in 1938. https://en.wikipedia.org/wiki/Discovery_of_nuclear_fission ..and this led to Einstein's proposal to create an American version of it, before Nazis.. This is patently untrue. Are you suggesting a large cost? Compare how much NASA spent, and how much SpaceX spent, on the same task. Would the Americans surrender if Washington was destroyed? https://en.wikipedia.org/wiki/Burning_of_Washington ..it could have been done anywhere and none of the living observers would have understood what actually happened.. This statement is silly..
  5. ..everyone here understands that your understanding of physics and chemistry is petty.. ..doesn't burn because there is no Oxygen. Rockets have Oxygen in their fuel tanks, so..
  6. Use a lighter and check again...
  7. To avoid spending the next 30 years with a home loan?
  8. ..at least you will have a chance to learn something unknown and have fun.. Plugging in a ready-made solution and voila it's no fun..
  9. Mechanical analog timer, such as: will be a PITA because you will have to rewind the wheel every time the previous cycle ends.... e.g. 48h The Arduino method will work as long as there is power (if there is no power, the plants also have no light anyway).
  10. You can purchase an Arduino module with RTC (real-time clock) or even an Arduino clone with built-in RTC or software emulated RTC. ESP8266 has built-in WiFi ($8 cost) https://forum.arduino.cc/t/setting-the-esp8266-internal-clock/680099 If you keep it online via WiFi, it can automatically update the time. The ESP8266 is much smaller than a typical Arduino and does not allow external expansion modules to be connected on top of it. For basic work you don't need them anyway. But there are cool extension modules with built-in SD/SDHC reader/writer with built-in RTC. This one will work with the ESP8266, because it is not a plug-in from above on the Arduino. Why you may need it? Writing logs, reading the program, when to turn on the lights or whatever you want to control. Reprogramming via SD/SDHC without touching the C/C++ Arduino source code. Arduino with WiFi can be accessed by web browser: https://www.google.com/search?q=set+up+http+server+arduino For example, instead of saving SD/SDHC or reprogramming, it can be done from the phone's web browser.
  11. It would be cheaper and more flexible to buy a $5 Arduino clone. e.g. https://www.ebay.com/itm/145160861832 and relay module for $1.5 e.g. https://www.ebay.com/itm/354746987710 You can then control any 110/230-volt electrical system and turn it on or off on demand using a hand-written C/C++ program that you put on the Arduino board. Sample code in the video below. It is very simple. An 8-channel relay for Arduino costs $6 here, so you can control up to 8 different electrical systems with different parameters. https://www.google.com/search?q=how+to+use+relay+arduino e.g.
  12. It is not about the problem. It's about getting a small amount of energy, as @Airbrush pointed out in his OP. A home office can save a huge amount of energy not wasted on travel. Free public transportation (instead of a flood of cars on streets) can save a huge amount of energy not wasted on fuel. If people use free public transportation, they don't have to buy new cars, spend money on maintenance, etc. All things that the oil, gas, energy and cars sectors (and their shareholders) will be very unhappy about. Employees will demand government intervention to maintain the status quo, etc.
  13. I appreciate the sense of humor. But you can get vitamin D from the UV radiation emitted by artificial lights indoors. BTW, imagine how much energy you save with a home office!
  14. https://en.wikipedia.org/wiki/Atomic_battery Atomic batteries (waste from nuclear power plants) are used in space travel. Very low capacity, but long life. "Atomic batteries usually have an efficiency of 0.1–5%. High-efficiency betavoltaic devices can reach 6–8% efficiency.[5]" Putting it in your pocket ("the size of a smartphone"), suggesting using it for everyday use is just silly..
  15. You participated in his first utility model (not patent) thread. It was pretty much the same as this one.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.