./codeplexity

waxing philosophical about tech and sci since y2k-11

268 notes &

futurist-foresight:

Some fascinating facts on the Voyager spacecraft. A quick refresher on the program that launched 2 probes:

“The Voyager program is a U.S program that launched two unmanned space missions, scientific probes Voyager 1 and Voyager 2. They were launched in 1977 to take advantage of a favorable planetary alignment of the late 1970s. Although officially designated to study just Jupiter and Saturn, the probes were able to continue their mission into the outer solar system, and are, as of December 2011, on course to exit the solar system.” - Wikipedia

crookedindifference:

Voyager Spacecraft Facts
A total of 11,000 workyears was devoted to the Voyager project through the Neptune encounter. This is equivalent to one-third the amount of effort estimated to complete the great pyramid at Giza to King Cheops.
A total of five trillion bits of scientific data had been returned to Earth by both Voyager spacecraft at the completion of the Neptune encounter. This represents enough bits to fill more than seven thousand music CDs.
Each Voyager spacecraft comprises 65,000 individual parts. Many of these parts have a large number of “equivalent” smaller parts such as transistors. One computer memory alone contains over one million equivalent electronic parts, with each spacecraft containing some five million equivalent parts. Since a color TV set contains about 2500 equivalent parts, each Voyager has the equivalent electronic circuit complexity of some 2000 color TV sets.
Both Voyagers were specifically designed and protected to withstand the large radiation dosage during the Jupiter swing-by. This was accomplished by selecting radiation-hardened parts and by shielding very sensitive parts. An unprotected human passenger riding aboard Voyager 1 during its Jupiter encounter would have received a radiation dose equal to one thousand times the lethal level.
A set of small thrusters provides Voyager with the capability for attitude control and trajectory correction. Each of these tiny assemblies has a thrust of only three ounces. In the absence of friction, on a level road, it would take nearly six hours to accelerate a large car up to a speed of 48 km/h (30 mph) using one of the thrusters.
Voyager’s fuel efficiency (in terms of mpg) is quite impressive. Even though most of the launch vehicle’s 700 ton weight is due to rocket fuel, Voyager 2’s great travel distance of 7.1 billion km (4.4 billion mi) from launch to Neptune resulted in a fuel economy of about 13,000 km per liter (30,000 mi per gallon).
Barring any serious spacecraft subsystem failures, the Voyagers may survive until the early twenty-first century (~ 2025), when diminishing power and hydrazine levels will prevent further operation. Were it not for these dwindling consumables and the possibility of losing lock on the faint Sun, our tracking antennas could continue to “talk” with the Voyagers for another century or two!

futurist-foresight:

Some fascinating facts on the Voyager spacecraft. A quick refresher on the program that launched 2 probes:

“The Voyager program is a U.S program that launched two unmanned space missions, scientific probes Voyager 1 and Voyager 2. They were launched in 1977 to take advantage of a favorable planetary alignment of the late 1970s. Although officially designated to study just Jupiter and Saturn, the probes were able to continue their mission into the outer solar system, and are, as of December 2011, on course to exit the solar system.” - Wikipedia

crookedindifference:

Voyager Spacecraft Facts

  • A total of 11,000 workyears was devoted to the Voyager project through the Neptune encounter. This is equivalent to one-third the amount of effort estimated to complete the great pyramid at Giza to King Cheops.
  • A total of five trillion bits of scientific data had been returned to Earth by both Voyager spacecraft at the completion of the Neptune encounter. This represents enough bits to fill more than seven thousand music CDs.
  • Each Voyager spacecraft comprises 65,000 individual parts. Many of these parts have a large number of “equivalent” smaller parts such as transistors. One computer memory alone contains over one million equivalent electronic parts, with each spacecraft containing some five million equivalent parts. Since a color TV set contains about 2500 equivalent parts, each Voyager has the equivalent electronic circuit complexity of some 2000 color TV sets.
  • Both Voyagers were specifically designed and protected to withstand the large radiation dosage during the Jupiter swing-by. This was accomplished by selecting radiation-hardened parts and by shielding very sensitive parts. An unprotected human passenger riding aboard Voyager 1 during its Jupiter encounter would have received a radiation dose equal to one thousand times the lethal level.
  • A set of small thrusters provides Voyager with the capability for attitude control and trajectory correction. Each of these tiny assemblies has a thrust of only three ounces. In the absence of friction, on a level road, it would take nearly six hours to accelerate a large car up to a speed of 48 km/h (30 mph) using one of the thrusters.
  • Voyager’s fuel efficiency (in terms of mpg) is quite impressive. Even though most of the launch vehicle’s 700 ton weight is due to rocket fuel, Voyager 2’s great travel distance of 7.1 billion km (4.4 billion mi) from launch to Neptune resulted in a fuel economy of about 13,000 km per liter (30,000 mi per gallon).
  • Barring any serious spacecraft subsystem failures, the Voyagers may survive until the early twenty-first century (~ 2025), when diminishing power and hydrazine levels will prevent further operation. Were it not for these dwindling consumables and the possibility of losing lock on the faint Sun, our tracking antennas could continue to “talk” with the Voyagers for another century or two!

0 notes &

Fun With Java — What Do You Think Will Happen?

Let’s see how good of a programmer you are. What do you think will happen when these very simple Java methods are executed?

public static void main(String[] args) {

    int i = 1;

    System.out.println(1);

    while ( i > 0)

        i++;

System.out.println(i);

}

17 notes &

I don’t like it, and I’m sorry I ever had anything to do with it.

This quote comes from none other than the father of Quantum Mechanics, none other than the famed scientist Erwin Schrodinger. QM is a notoriously difficult field of study, namely for the fact that tiny bits of matter — known as quantons — behave in strange, unpredictable ways individually.

Take a photon, for example. It is our name for the basic unit of light. However, a photon is incredibly small, only 0.5 x 10^-15 meters across (in comparison, a hydrogen atom is  100,000x larger!). Because of its tiny size, it is subject to the laws of quantum mechanics, and technically speaking, it can exist in more than one place at one time!

But this is just merely a morsel of the post I’m drafting up at the moment, I just wanted to tease you all a bit.

Filed under quantum mechanics schrodinger

0 notes &

Rebirth & More!

Apologies for the last few months of inactivity — as it turns out, getting to graduation was a long and arduous process. However, now that I have received that elusive B.S. of Computer Science, I suddenly find myself with much more time to update the blog!

Keep your eyes peeled, ladies and gents, as there will be much more to come. For all those who have started following already, thanks! I’ll be sure to pique your curiosity shortly (hopefully starting today, after a proof-reading!). If you like the blog, be sure to tell a friend or two, or just drop a comment telling me what you want to see more of.

Some things I’ve been thinking I’ll write on shortly:

  1. The mind-bending aspects and implications of Relativity.
  2. Quantum Mechanics and time-traveling quantons interfering with themselves.
  3. Whatever happened to that faster-than-light neutrinos story?
  4. The very latest in the future of gesture-based computing.
  5. Nature’s most interesting paradoxes.
  6. …and of course more on the current big stories in technology and computer science.

Let me know what you guys are interested in reading about first.

Filed under rebirth relativity quantum mechanics qm neutrinos gesture-based computing feedback

6 notes &

And Now, A Bit On Quantum Computing

A Model of a Qubit (courtesy wikimedia foundation)

Hey everyone! Sorry for the pretty much dead interim. Now that finals are past, I can get back to regularly updating! Today, though, I thought I’d do a little piece on understanding the basics behind the future of computation, quantum computing. So maybe you’ve heard of it before, and maybe not. Either way, you’ll be fine to read this summarization.

Quantum Computing is the concept of combining computation as we know it now with the mysteries of quantum mechanics, a field well known for its mind-shattering ability to defy everything reasonable. Let’s start with the basics about how information has, is, and will be stored:

  • In the old days, as I have written about before, computers utilized vacuum tubes to hold minute electronic charges (those being either 0 or 1). These charges were called bits. The vacuum tubes proved to be highly unreliable and rather unwieldy, so gradually developments were made until the invention of…
  • Silicon chips. In today’s modern electronic silicon-chip based computing, we have shrunk the vacuum tubes down into small components of electronic logic, microscopic in size. Though they are no longer known as vacuum tubes, they retained the name of bits. Again, these bits held a charge of either 0 or 1. These will likely remain the modern standard until we research more about…
  • Quantum bits (also known as qubits). A qubit is highly unusual compared to just a regular bit. You see, qubits possess some strange qualities — namely that instead of holding just a charge of 0 or 1, they hold both at the same time. Wait, what!?!

Yes, you heard right. Qubits are specially manufactured to harness the shall we say unpredictable nature of electrons. In case you didn’t know, electrons behave in weird ways, and when I say weird, I really mean it. An electron will behave differently based on whether or not it is being observed (i.e. the famed double-slit experiment showed that electrons behave like a particle when you observe them, and behave like a wave when you don’t!).

A qubit is thus a way to represent all possibilities instantly. So hypothetically speaking, if I had 10 bits vs. 10 qubits…

  • 10 bits = 2^10 = 1024 possible values. However, as each bit must be either a 0 or a 1, these 10 bits can only represent one value at a time.
  • 10 qubits = 2^10 = 1024 possible values. However, as each bit is both a 0 and a 1 at the same time, these 10 qubits represent all 1024 values at the same time.

It really blows my mind to think about it. Basically, what this means for the future of computation is that utilizing a quantum algorithm, we can solve problems (i.e. traveling salesman problem) that right now might take us more time than the universe has left to exist nearly instantaneously! It’s a show-stopper, really. Right now, from what I understand, scientists are still hard at work trying to develop better qubits, and have only chained together 8 qubits at max. Keep your eyes peeled on this subject, as I have little doubt that in 15-20 years, quantum computing will absolutely become the standard of computing.

You’ll be able to put computers smaller than the tip of a pencil that need nearly no power in anything, and they’ll be vastly more powerful than the largest and fastest super-computers of today. If that doesn’t blow your mind, I don’t know what will!

Filed under quantum computing quantum mechanics bits qubits traveling salesman

6 notes &

The World’s First Ever Computer Bug

Did you ever wonder where the term ‘bug’ came from, in relation to computers? Why do we say when something goes wrong in a computer, it is a bug? Well, here’s your answer:

What you are looking at is the first documented case of a computer bug. See, back in 1947 scientists working on the Mark II computer noticed that the results they were getting weren’t quite right (for example, maybe they add 2+2 and get -4). These were the days before silicon-based chipsets. Computers were composed of tiny vacuum tubes which contained electrical charges (you can think of them as the old-school ‘bit’ unit, where 1 means charged and 0 means uncharged).

After a search through the computer room (yes, the computer was a room), they finally unearthed this specimen of moth that had evidently crawled into one of the tubes and short-circuited it, producing the given wonky results.

Pretty strange, but I find it fascinating!

Source

Filed under Mark II bug computer bug computer science history

9 notes &

P vs. NP: What does that mean?

So maybe you’ve heard people chattering online sometime about a famous and as of yet unsolved major computer science problem. I’m talking about P vs. NP of course! But have you ever wondered what it means, if only those techno geeks could turn it down a few notches for the average layman?

You don’t need to know this necessarily, but P stands for Polynomial Time and NP stands for Non-Deterministic Polynomial Time. Don’t worry about what those mean for now.

Here’s a simple example of the meaning of NP. I give you a stack of plates containing one million plates, and ask you the following: is there a plate, which, if you turn it over has a smiley face on it? Note that I do not tell you if such a plate exists. Currently, the only known way of solving this problem is the following: take a plate, turn it over, and see if there’s a smiley face. If there is, then your done, and if not, on to the next plate.

Now here’s a definition of the meaning of P: I give you a single plate, and ask you “does it have a smiley face on the bottom of it?” All you do is simply turn it over and examine. It’s a simple check, as all you have to do is that little flip, and you’re done with a definitive “yes there’s a smiley face” or “no, there’s no smiley face”.

The P vs. NP problem is basically asking that if we can check a solution to a problem quickly (i.e. flipping over the plate), is there also a quick solution to the million-plates problem? Mathematically speaking, if so then we would say that the set of functions P is a subset of NP, and if not, the set of functions P is a distinct set from NP.

As of yet, we don’t know. The best minds in mathematics and computer research still can’t quite come up with a formal proof either way (though there are often attempts which later become discredited).

What would the ramifications be?

Well, they’d be enormous. If we could find even just one algorithm to show that, yes, there is also a quick-solution to the million-plates problem, then for all NP problems (of which there are tons affecting your daily life), there is a quick solution.

Let me know if any of y’all out there would want some more clarification or for me to go in-depth on the subject.

Filed under P NP P vs. NP theoretical computer science