Jump to content

Sensei

Senior Members
  • Joined

  • Last visited

Everything posted by Sensei

  1. The positions of Russian soldiers, flying planes, flying helicopters, flying missiles halfway to their targets, drones, are monitored by Western countries from satellites in real time and immediately transmitted to the Ukrainians.. That's how Qaddafi dictator was assassinated.. His convoy was observed by NATO from the sky and information about position and direction transmitted to rebel forces..
  2. koti, I am astonished by the level of misinformation that you introduced by yourself into this thread to provoke and blacken. I gave examples from history what happened to other similar dictators and their families, who were responsible for mass murdering people.. Probably, if I told you what the future held for you, you would claim I was threatening you.. Wouldn't you? ps. Didn't you say to stop writing to you? You broke your own rule..
  3. @J.C.MacSwell There are three things VP is afraid of: safety of family, SWIFT and low price of oil & gas. Blockade of transportation between EU and Russia. Entire. Germany, for instance, should immediately restart its nuclear reactors to reduce gas consumption.. https://www.reuters.com/world/europe/how-much-does-germany-need-russian-gas-2022-01-20/ "Gas burning accounted for 15.3% of German electricity generation last year, according to BDEW."
  4. Sanctions? Sanctions don't work. Did they work on North Korea? Did they work on Iran? Did they work on Japan? (Japan was in the worst situation - no natural resources - the result was an attack on the US). After just one day of the attack, Russia lost 0.5% of all forces involved (~1000 soldiers killed).
  5. Russian plane destroyed. It starts at 40, so wait patiently:
  6. Lies.. More lies.. Where are Hitler's children? Where are the children of Goebbels? Caligula? Nero's? Where are the children of [...].. ? Putin's daughters will be RAPED and MURDERED.... and their children too... No one in his family in the XXII century will survive due to his current actions.. The death of an entire branch of the family is inevitable due to his criminal activities here and now and being a mass murderer....
  7. D.T. plays Monopoly Railroad Tycoon .. V.P. plays C&C.. I play Populous.. (2k years ago I reversed the rules of the game and the one who kills less wins )
  8. @iNow I think this is still on topic of the thread. Some right-wing US politicians are still infected by D.T. and will try to sabotage anything the current POTUS will try to do.. Thus, although D.T. is not the current official US leader, he still can influence U.S. politicians from the deep state.. So, better listen carefully what he has to say to his followers..
  9. If anyone has objections about Trump being Putin's sockpuppet, they should see his reaction to Russia's criminal activities: https://www.nytimes.com/2022/02/22/world/europe/trump-putin-russia-ukraine.html "Former President Donald J. Trump called Russia’s aggression toward Ukraine “genius” and called President Vladimir V. Putin of Russia “very savvy” for describing the troops aligned on the Ukrainian border as peacekeepers." Mr. Trump said: “That’s the strongest peace force I’ve ever seen. There were more army tanks than I’ve ever seen. They’re going to keep peace, all right. No, but think of it. Here’s a guy who’s very savvy.”
  10. Electrons are accelerated by an external electric field and have a certain maximum kinetic energy that depends on the strength of the electric field. An electron hitting a screen loses its kinetic energy, the atom in the screen becomes excited, and as it transitions to ground state, it emits photons. The nearly motionless electron is then captured by the electrode. 230V (230 Vrms!) 60 Hz are properties of AC, not quantum states..
  11. Download universal automation tool AutoHotKey, and write a script. https://www.autohotkey.com/ It has commands to click LMB, RMB, https://www.autohotkey.com/docs/commands/Click.htm mouse move, https://www.autohotkey.com/docs/commands/MouseMove.htm send key press, and so on. https://www.autohotkey.com/docs/commands/Send.htm I have used it with a web browser (Firefox but does not really matter) to get all the data I needed from websites with protections against crawlers like wget/curl. In your case you should send ctrl-o, open the file, send ctrl-a, send ctrl-c, activate the text editor window, send ctrl-v, repeat. Reading a line of text from a text file: https://www.autohotkey.com/docs/commands/LoopReadFile.htm Then you can paste it in the file requester (after sending ctrl-o) Eventually, list directory to get file names: https://www.autohotkey.com/board/topic/87864-get-list-of-files-in-selected-folder/ Use Sleep to introduce a delay (needed for many things, apps think a human is doing the work, not a bot!) https://www.autohotkey.com/docs/commands/Sleep.htm (e.g., if you send a Page Down/Up/Home/End key, you must wait for the browser to update the window to retrieve data from the page (via screen-grabbing)) An interesting (and very commonly used) command: https://www.autohotkey.com/docs/commands/ImageSearch.htm e.g. open a web browser, make a screen-grab, cut out the icon with the thing you are interested in (e.g. PDF icon), and in the script search for it, send mouse move, send RMB and simulate click on "Save file as..." and repeat... If you use AutoHotKey, any text editor will suffice... It is free to use. But if you like it and use it often, you can make a donation to the authors. Buy from companies that offer PayPal, Google Pay, Apple Pay... They will hide your credit card information.
  12. 2D world is equivalent to 3D world but with one axis constant zero.. e.g. z=0 (which is used all the time by computer graphics cards/modern operating systems, i.e. even when you look at the screen it's actually an accelerated 3D gfx)
  13. Poor Data.. ps. ...but is the simulated ribosome molecule OK to meet your definition.... ?
  14. ..the same can be said by AI "living" inside a game-engine/simulation.. about the things AI sees around it..
  15. Define what is alive..
  16. ...doubtful that they would be interested in knowing about AI in e.g. a game-engine/simulation that has gained self-awareness.. (and it's doubtful I'd be interested in being published in any newspaper for mortals in the first place) how do you prove that the AI has gained self-awareness? ..prove me, you gained self-awareness..
  17. Check your drive - you may already have an artificial life on it, but you don't know anything about it either...
  18. Server administrators have a built-in "dd" command... e.g. dd if=/dev/null of=/dev/sda bs=64M will wipe the entire HDD/SSD dd if=/dev/sda of=/dev/sdb bs=64M will copy the entire HDD/SSD to a 2nd HDD/SSD dd if=/dev/sda of=/media/root/pendrive/file.img bs=64M will copy entire HDD/SSD to a pendrive https://en.wikipedia.org/wiki/Dd_(Unix) You can backup, wipe out or restore MBR/GPT. https://en.wikipedia.org/wiki/Dd_(Unix)#Master_boot_record_backup_and_restore (Or check if the MBR/GPT has been modified by a hacker. Create a script that reads the MBR/GPT, calculate the hash and compare it to the previous version, possibly sends it to the other machine.... and alert you if it has changed) It works on Windows data. Just download Linux live DVD, Rufus create bootable pendrive, and you can make a backup of Windows data as well.
  19. The only "shock wave" we have reading layman's post on the forum..
  20. It is also the result of propaganda.. If you prevent people from openly sharing extremist ideas, it doesn't mean that those people will automatically disappear.. They still have their worldview, but hidden underground, sharing it only with people similar to themselves.. Spreading to children and family..
  21. General tip: Search net for "python online debugger". It will give you for example: https://www.onlinegdb.com/online_python_debugger Copy'n'paste code, and debug it, step-in, step-out, step-over etc. Observe what Python interpreter is doing. Observe how variables change every line.
  22. Sensei replied to Johnn's topic in Engineering
    @Johnn From the regular electrical grid? There is a couple possibilities. Usually fairly inexpensive, as long as you create them yourself. Cockcroft-Walton generator: https://en.wikipedia.org/wiki/Cockcroft–Walton_generator Marx generator: https://en.wikipedia.org/wiki/Marx_generator Tesla coil: https://en.wikipedia.org/wiki/Tesla_coil Van de Graaff generator: https://en.wikipedia.org/wiki/Van_de_Graaff_generator
  23. Experimenting with simulated spotlight inside a 3D application (for a quick check of results): The mathematical equation is rather self-explanatory.
  24. Why is it in physics? Sounds like a Computer Science topic, Ray-Tracing, to me.. https://en.wikipedia.org/wiki/Ray_tracing_(graphics) In simulations of real world, we usually have light sources with different types: distant, point, spotlight, area, environment, dome, IES. The main difference between them is the direction vector of the light sample. The distant light type has a uniform vector of light sample direction. It is used to simulate sunlight that is nearly parallel (due to the great distance between the Sun and Earth). The point light type has the light sample direction vector is calculated by the formula: Normalize( hit_position - light_position ) The spotlight type is a compilation of the point light type with the distant light type. You have a vector like in distant type and calculate a vector like in point type (both must be normalized!) and if you will do a dot-product between them you will get a cosine, use arc-cosine to get the angle in radians/degrees, and pass to the gradient function which will return 0 for no light in that direction, or 1 for full intensity, and 0...1 for a smooth transition between the two extremes. When you have both the surface normal vector and the light sample direction vector calculated, you do -dot_product( surface_normal, light_sample_direction ) (note: MINUS!). Then you should get rid of the negatives by max(x,0). Repeat the procedure with more samples from the same light (for multi-sample lights like IES, dome, environment, area), and iterate through all the lights in the scene. To have shadows in backward ray-tracing, the programmer should cast the ray from the hit_position in the direction REVERSE to the direction of the light sample (as in the point light type). If the ray-cast function hits another object before reaching the light position, the evaluated spot is in shadow, and the light sample has no effect on that spot. I hope it will help a bit.
  25. Where? In a 3D app? In OpenGL/Direct3D? In the Unity/Unreal etc. game engine? In C/C++/C#/Java etc. ? C/C++ code: void moveTo( int x, int y ) { // fill me } void lineTo( int x, int y ) { // fill me } void hexagon( int x, int y, int radius ) { for( int i = 0; i < 6; i++ ) { double angle1 = 2.0 * M_PI * 360.0 * i / 6; double angle2 = 2.0 * M_PI * 360.0 * ( i + 1 ) / 6; moveTo( x + sin( angle1 ) * radius, y + cos( angle1 ) * radius ); lineTo( x + sin( angle2 ) * radius, y + cos( angle2 ) * radius ); } } In the 3D application. I used the Sphere tool, set Z to 0 to have a circle, changed the number of segments to 6, and then used the Array tool:

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.