Jump to content

pzkpfw

Senior Members
  • Posts

    690
  • Joined

  • Last visited

  • Days Won

    4

pzkpfw last won the day on December 10 2023

pzkpfw had the most liked content!

1 Follower

Profile Information

  • Location
    New Zealand
  • College Major/Degree
    B.Sc. Computing
  • Favorite Area of Science
    I.T.
  • Biography
    Born, grew, living, working.
  • Occupation
    Self employed programmer.

Recent Profile Visitors

10273 profile views

pzkpfw's Achievements

Molecule

Molecule (6/13)

254

Reputation

  1. I don't know about that, but if we treat 55 and 145 as lengths in metres, you could fit 450 average bananas between them.
  2. Web forums are more dangerous than the printed word, I'd say.
  3. Nothing that big would have stayed secret. https://en.wikipedia.org/wiki/Atomic_spies
  4. Can you use pipeclamps and bolts? Glue is pretty one-way. (Though drilling polycarbonate sheet for bolt holes can be tricky.)
  5. As a rule of thumb (i.e. close enough), you'd block Proxima Centauri from all viewers on Earth at the same time with a disk the diameter of Earth, if the disk is next to Earth, or the diameter of Proxima Centauri if the disk is next to that star. Anywhere in between would be a ratio. (Give or take a little gravitational lensing, and assuming everything stays still ... etc ...)
  6. Did you abandon your previous thread? I'm assuming (not "suing"!) you mean JavaScript not POstScript here, too. JavaScript has no sleep. The idea of blocking code in something built for the UI is an anathema. However, you can fake it. The following works. It wraps the setTimeout in a promise, then uses await to block on it. <html> <head><title>Not a great general purpose programming environment</title></head> <body> <script> ShowLine("You can't always get what you want."); function sleep(ms = 0) { return new Promise(resolve => setTimeout(resolve, ms)); } async function ShowLine(input) { for (let i = 0; i < input.length; i++) { await sleep(250); document.write(input[i]); }; } </script> </body> </html> It seems to me you're really needing something else to do your programming with. (But you don't provide much detail to work with.)
  7. setTimeout is async, i.e. it's non-blocking and will never work like this. The for loop would race ahead and make 100 setTimeouts all at once, then they'd all fire at more or less the same time, not 100 ms after each other. Also, Endy0816 is right that the null cannot be used. You do need to call a function, or have a string that evaluates to code, or use a lambda (arrow function). This works: <html> <head></head> <body> <p>Test:</p> <script> let i = 100; setTimeout(ShowDot, 100); function ShowDot() { document.write("."); if (i-- > 1) { setTimeout(ShowDot, 100); } } </script> </body> </html> If you want the first dot to show immediately, just replace the first: setTimeout(ShowDot, 100); With: ShowDot(); See: https://developer.mozilla.org/en-US/docs/Web/API/setTimeout
  8. Don't you already have a thread on this stuff over in Medical Science | Anatomy, Physiology and Neuroscience ?
  9. It's just sloppy language. From the point of view of a person anchored to the ground, another person might appear to lift in this scenario. But it's not lift, it's more that the ground is "falling away from" the un-anchored person, and they continue to move as they did.
  10. Occams' razor suggests that bigfoot isn't people wearing bigfoot costumes, it's bigfoot hiding by wearing black bear costumes.
  11. If new physics is required, how do you then answer the question in post #1 ?
  12. Pareidolia https://en.wikipedia.org/wiki/Pareidolia
×
×
  • 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.