Computers are amazing



23022012, 07:10 PM




RE: Computers are amazing
Ah, yes, good call. sqrt(x) is indeed a good place to stop. But you need to limit the number of decimals calculated, as many prime numbers have sqrt resulting in irrational numbers (a potentially infinite number of decimals with no observable pattern) or the program will waste a lot of processor power calculating decimals.
Oh, no Hallucinations 4:11 says the 'gilded sheep should be stewed in rat blood' but Morons 5:16 contradicts it. (Chas) I would never shake a baby unless the recipe requires it. 

23022012, 07:23 PM
(This post was last modified: 23022012 07:23 PM by rook2004.)




RE: Computers are amazing
(23022012 07:10 PM)Malleus Wrote: Ah, yes, good call. sqrt(x) is indeed a good place to stop. But you need to limit the number of decimals calculated, as many prime numbers have sqrt resulting in irrational numbers (a potentially infinite number of decimals with no observable pattern) or the program will waste a lot of processor power calculating decimals. Hummm, StackOverflow says sqrt is implemented in hardware in the floating point unit on modern processors, so its performance is hardware dependent. (I actually didn't realize that.) But if, by doing one sqrt per check, you can save the cost of dividing by every prime between sqrt(n) and n/2, you probably still save a whole lot of time. Anyway, are you on to assignment 3 now? 

11062014, 05:21 AM




RE: Computers are amazing
Not a bad article sir, but your estimations of computer capability, while flattering, are still well behind the reality even for 2011.
>>> that can write when we dictate (not very well but hey they can!),<<< Actually extremely well. Dragon Naturally Speaking can easily cope with 100 words per minute effortlessly. >>> we can save 100 books on a small ereader and it will remember on what page<<< An average eReader can store thousands, not hundreds of eBooks, and in addition to remembering an infinite number page locations, can have a complete dictionary instantly available, can enable the user to buy new books online, have daily newspapers delivered wirelessly, and do it all on about one charge per month with the average reader. >>> call people from a plane<<< Call, video conference, etc. Commercial carriers are rapidly adding WiFi, which means that 35 thousand at 600 MPH is no different than your living room. >>> the friggin microwave is programmable<<< The microwave, the air conditioner, the coffee pot, the fish tank, and just about everything else in a modern home. But aside from my additions…we are 100 percent in agreement…Computers ARE amazing, and were still only at the tip of the iceberg. (19022012 04:49 PM)Leela Wrote: So recently a friend gave me a link to the open courseware of MIT. I decided to study computer science and programming (which is one course). 

12062014, 04:04 AM




RE: Computers are amazing
(11062014 05:21 AM)rbruner9393 Wrote: Not a bad article sir, but your estimations of computer capability, while flattering, are still well behind the reality even for 2011. Over 2 fucking years old... 



« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)