topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 25, 2024, 4:20 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KynloStephen66515 [ switch to compact view ]

Pages: prev1 ... 134 135 136 137 138 [139] 140 141 142 143 144next
3451
Its a pretty sad effort for a Social Media/Lifestreaming outlet...I've seen some bad ones, and this is amongst the worst.

Why do you say that?

They are not including any of the features that are loved by the users, there is no way to 'export' your posts, and it seems like a very very simple platform, which could be launched by anybody, they should of taken a leaf out of Facebook's book, or even adopted scripts such as PHPizabi ... at least those have interesting features :)

3452
Idea: Place Google ads, on a hidden section of the website (no main links on any pages, except in maybe a forum post) that way, people who want to donate, but are unable to, for one reason or another, can do so, by clicking a few links?

This wouldn't affect the website in any way, and it wouldn't have to scare off prospective members.

3453
Its a pretty sad effort for a Social Media/Lifestreaming outlet...I've seen some bad ones, and this is amongst the worst.

3454
Tried it, hated it, left it, now hiding from it  :down:

3455
Living Room / Re: The Mathematics Behind Quantum Computing
« on: February 09, 2010, 06:41 PM »
Related: Youtube Video


3456
Yes it works.  It DOESNT technically need to be on a USB drive, but its handy, just in case there is a problem with the wordpad on a target computer.

3457
Easily portable from a USB stick, just download the RAR file attached to this message, unpack it, and put the folder (and ALL contents onto your USB drive)


3458
Microsoft Wordpad?

This saves in RTF format, its Free, and its bundled on to every windows machine.

3459
Living Room / Re: Someone needs to expand our WikiPedia article
« on: February 09, 2010, 03:04 PM »
I may be wrong but their referencing system is a bit dubious to say the least - I got involved in debate a while back about another page and just got totally frustrated & gave up.

Is there a way to search (bing google whoever) for "donationcoder" but to exclude this whole site?
That way we could throw in a few external links, might help

Ive just actually spent about 30 minutes searching for any decent 'backlinks' to DC, but couldn't find a reliable enough source to be honest, its unlikely that you can hit Google with a 'DC' search, whilst excluding any domains with donationcoder.com in them, seems like a good idea, but unsure its actually possible.

3460
logo.png

Get 10% off all services provided by www.moojuicedesigns.com

Please reply to this post or PM me on the forum to receive your unique discount code.

Thanks

**Please Note**

I have no affiliation with this company, other than knowing the owner.  I receive no commission, compensation, or royalties for providing you with these codes.

3461
Living Room / Re: The Diagram of Geek Culture
« on: February 09, 2010, 12:15 PM »
Misread the title -- spent ages looking for moussaka  :(
-cranioscopical (January 07, 2010, 08:50 AM)

I Clicked this on the mis-conception that it said 'Greek' culture, then looked at the picture and got really confused...haha

3462
possibly, but at least you have figured it out  :Thmbsup:

3463
Have you had a look in BIOS? see if there is something there that could be kicking the USB Drive out?

3464
Living Room / Re: Nearly caught by spam.. [or 'Saved by Thunderbird']
« on: February 09, 2010, 11:49 AM »
Your BANK will NEVER ask for you to confirm ANYTHING via e-mail, this is a scam that has been going around for a long time, if they require you to confirm anything they will call you and ask for you to come into the bank.  Even if they ask you to do it over the phone, you can refuse and request to go into your local branch.

I have received e-mails off banks that i do not even have an account with, telling me that there has been 'fraudulent activity' on my account.  These have been arriving for about 12 months, the easiest thing to do, if you have ANY concerns, is to simply ignore them and contact your bank directly to ask if the info you have been given is correct.

Just remember, make sure they have your up-to-date contact details and you will be OK.

NEVER TRUST E-MAILS CLAIMING TO BE FROM OFFICIAL SOURCES AS THEY WILL 99.9% OF THE TIME, BE A SCAM.

The following link is for the UK but it is also valid for the rest of the world.

http://www.shropshir...9E4E802574C100447396
(RAW LINK) - Always hover over a link and look in your status bar to check if the link is actually what it seems to be...


Example:

Hover over the following links and look in your status bar:

Http://www.google.com

Http://www.google.com

Notice, the first link, takes you to google, and the 2nd link looks like the same thing, but if you hover over the second link, you will notice (in your status bar at the bottom of your browser) that it takes you to Microsoft.com...

Hope this helps :)

3465
Nope, unless E-Machines have some sort of affiliation with HP, funno if it would be that though because there is very little left inside my tower that was originally there lol

3466
Living Room / Re: VALENTINES CODY: THE GAME!
« on: February 08, 2010, 08:37 PM »
or even submit their versions of Cody, in games format :D

**edit**

If anybody makes a game using this, feel free to pop it in this post, whether it's Cody related or not :P

3467
Living Room / VALENTINES CODY: THE GAME!
« on: February 08, 2010, 08:31 PM »
I apologize for the bad quality image of cody, but this was a very quick build to test if it worked...

Anyhow, the link is below...hope you enjoy :P

Play Valentines Day Cody, Now!

Screenshot - 2_8_2010 , 8_30_50 PM_thumb.png

3468
General Software Discussion / Re: DC Reveal/Hide feature
« on: February 08, 2010, 05:37 PM »
I am assuming you mean the 'Spoiler' option, if so, just click the button that says 'SP' (in between the topic title and the smileys) and type between the tags!

Very easy to use
Spoiler
Just click to reveal...im only guessing this is what you mean :P


as far as i am aware, this is only for use on the forum, you cannot use this tag on any other platform (unless you see the option)

3469
In which case, I can't be much more help to you I'm afraid, this is the only explanation I could think of as it happens to me also and I took a stab in the dark at troubleshooting it for myself, figured it might be the same for you.

3470
Living Room / How a computer works: The Router
« on: February 08, 2010, 04:55 PM »
We're all used to seeing the various parts of the Internet that come into our homes and offices -- the Web pages, e-mail messages and downloaded files that make the Internet a dynamic and valuable medium. But none of these parts would ever make it to your computer without a piece of the Internet that you've probably never seen. In fact, most people have never stood "face to machine" with the technology most responsible for allowing the Internet to exist at all: the router...

Click here to read the full article on the source website...

3471
Living Room / How a computer works: The DVD Burner
« on: February 08, 2010, 04:53 PM »
To transfer data onto a blank DVD media in a way that is readable by the DVD player, the burner must record a digital pattern of reflective and non-reflective areas. To do this, a moving write laser has to alter the surface of the disc. Just like the read laser of a DVD player, the write laser follows the same spiral path. Pre-pressed grooves guide the laser along the outwardly path starting at the center of the disc. Even if it seems complicated, it is quite simple how the burner writes data to a blank disc. As the disc spins, a mechanism calibrates the rate of...

Click here to read the rest of this article on the source website...

3472
Living Room / How a computer works: The DVD-RW
« on: February 08, 2010, 04:51 PM »
You've seen people watching Austin Powers on their laptops. But with Digital Versatile Disc, aka DVD, you can do more than watch movies: You can also store gigabytes of data and run multimedia applications. DVD's 4.7GB of storage far surpasses that of CD-ROM's 650MB, though the discs are the same small size. Within the next few years, DVD-ROM drives will likely replace CD-ROM drives on most new computers.

Read the rest of this post on the source website...

3473
Living Room / How a computer works: The Hard Disk Drive
« on: February 08, 2010, 04:49 PM »
Nearly every desktop computer and server in use today contains one or more hard-disk drives. Every mainframe and supercomputer is normally connected to hundreds of them. You can even find VCR-type devices and camcorders that use hard disks instead of tape. These billions of hard disks do one thing well -- they store changing digital information in a relatively permanent form. They give computers the ability to remember things when the power goes out.

Read the rest of this article on the source website...

3474
Living Room / How a computer works: The CPU and Memory
« on: February 08, 2010, 04:47 PM »
The computer does its primary work in a part of the machine we cannot see, a control center that converts data input to information output. This control center, called the central processing unit (CPU), is a highly complex, extensive set of electronic circuitry that executes stored program instructions. All computers, large and small, must have a central processing unit. As Figure 1 shows, the central processing unit consists of two parts: The control unit and the arithmetic/logic unit. Each part has a specific function...

Read the rest of this post on the source website.

3475
Living Room / The Mathematics Behind Quantum Computing
« on: February 08, 2010, 04:30 PM »
    Quantum computing

    Quantum computing may be just around the corner or it may be, for all practical purposes, permanently out of reach: The physics needed for a useful quantum computer has not yet been discovered, and may in fact not exist.

    A quantum computer, real or potential, is essentially different from an adding machine. Whereas the dials in Pascal's A.D. 1645 brass calculator always line up to read out exactly one 6-digit number, the set of qubits in a quantum register exist in a superposition of states: When the register is interrogated one of these states is read out, with a definite probability, and the remaining information is lost. Because the register can simultaneously be "in" a huge number of states, a huge number of calculations may be carried out simultaneously. But the inputs to a quantum computer must be organized to take advantage of superposition, and the calculating process must force the probabilistic output to give useful information. This is the problem of programming a quantum computer, and in certain important and interesting cases it has been solved. One of the quantum computing algorithms, a factorization algorithm due to Peter Shor, will be the focus of these two columns.

    The factorization problem

    Communication security today is almost universally ensured by the use of RSA Encryption his method relies on the inaccessibility of large prime factors of a large composite number. The problem is an artificial one: The encrypter takes two (or more) large primes and multiplies them. The decrypter tries to work backwards from the product to the factors. It is hard work. The largest number factored so far ("RSA-640") had 193 decimal digits and took "approximately 30 2.2GHz-Opteron-CPU years," over five months of calendar time. At that rate a 1024-bit number, the size currently recommended by a commercial cyrptology site, would take on the order of 10145 years ("bit" is short for "binary digit;" each additional bit contributes a factor of 2 to the size of the calculation). The site adds: "For more security or if you are paranoid, use 2048 or even 4096 bits."

    A quantum computer of suitable size could factor these large numbers in a much shorter time. For a 1024-bit number, Shor's Algorithm requires on the order of 10243, about one billion, operations. I do not have any information on how quickly quantum operations can be executed, but if each one took one second our factorization would last 34 years. If a quantum computer could run at the speed of today's electronic computers (100 million instructions per second and up) then factorization of the 1024-bit number would be a matter of seconds.

    A note on "suitable size." To run Shor's Algorithm on a 1024-bit number requires two quantum registers, one of 2048 qubits and one of 1024. These qubits all have to be "in coherence," so that the totality of their states behaves as a single, entangled state. (More about entanglement later). It was reported as an extraordinary technical feat when IBM scientists in 2001 constructed a coherent quantum register with 7 qubits and used it with Shor's Algorithm to factor 15.

    This column and next month's will present a description of Shor's Factorization Algorithm in terms appropriate for a general mathematical audience. This month will cover the number-theoretical underpinning along with the Discrete and Fast Fourier Transforms. These convert factorization into a frequency-detection problem which is structured so that it can be adapted for quantum computation. The problem itself has a definite answer but takes exponential time to get there. Next month's column will address the more specifically quantum-computational aspects of the algorithm, including superposition and entanglement, leading up to Shor's ingenious quantum jiu-jitsu, which forces the quantum read-out, with high probability, to give a useful answer. That probability is high enough, and the running time on a suitable machine would be short enough, for the calculation to be repeated until the unknown factors are produced.

    Number Theory and Fourier Analysis

    The light from a star can be split into a spectrum, where the characteristic frequencies of its elements can be detected. Analogously, a composite number N can be made to generate a spectrum, from which its factors can be calculated.

    Choose a number a relatively prime to N, and make the list of integer powers of a modulo N: a, a2, a3, ... . If a and N are relatively prime, it follows from a theorem of Euler that this list will eventually include the number 1. (Euler's Theorem says specifically that if φ(N) denotes the number of positive integers less that N which are coprime to N then aφ(N) is congruent to 1 modulo N). Suppose this happens for an even power of a, say a2b = 1 mod N, i.e. a2b – 1 = 0 mod N. This means that (ab + 1) (ab – 1) is a multiple of N; if it is one times N we have our factors; otherwise the Euclidean Algorithm will speedily find a common factor of, say, ab + 1 and N.

    These examples are trivially simple, but illustrate the phenomenon:
    Take N = 85 and a = 19. The powers of 19 mod 85 are 19, 21, 59, 16, 49, 81, 9, 1, 19, 21, ...; in particular 198 = 1 mod 85. We deduce that 194 + 1 = 17 and 194 – 1 = 15 both have common factors with 85. In fact the first is a factor and the second has 5 as common divisor with 85.

    Take N = 85 and a = 33. The powers of 33 mod 85 are 33, 69, 67, 1, 33, 69, 67, 1, ...; in particular 334 = 1 mod 85. We deduce that 332 + 1 = 70 and 332 – 1 = 68 both have common factors with 85. In fact the first yields 5 and the second 17.

    Note that φ(85) = 64, so 64 would always work; but this number cannot be calculated a priori: you have to know the prime factorization 85 = 17 x 5, and use the rule φ(pq) = (p–1)(q–1) for p and q prime.

    How do we get our hands on b? Just examining the terms of the sequence and waiting for 1 to show up takes too long, because the length of the list is commensurate with the number N we want to factor: It increases exponentially with the number, say n, of bits used to write N. But think of the stream of numbers a mod N, a2 mod N, a3 mod N, ... as the light emitted by N. If we can find the frequency, or equivalently the period, with which this sequence repeats itself, we can use the equivalence aj = ak <=> aj–k = 1 (modulo N), and find a factorization of N as above. We will see that on a quantum computer, this computation requires a number of steps increasing only as a polynomial in n. That is the key to quantum factorization.
    Discrete Fourier Transforms

    Fourier transforms detect periodicity; we will find b using a quantum adaptation of the Fast Fourier Transform, a speeded-up version of the Discrete Fourier Transform, which itself arises from adapting to sequences the Fourier Series designed to work with continuous functions.

    The (complex) Fourier coefficients of a real-valued function f(x) defined on [0,2A] are
    1.jpg
    Notes:
    • Writing ei nπx/A as cos nπx/A + i sin nπx/A and cn = an + i bn gives the usual sine and cosine coefficients, except that c0 is twice the usual a0.
    • The factor 1/2A allows the identity
    2.jpg
                 which will be important in our later quantum computations.

    Suppose now we think of a sequence f = f0, f1, ... , f2A–1 (A now an integer), as the set of values at x = 0, x = 1, x = 2, ... , x = 2A–1 of a function f(x) defined on the interval [0,2A], and that we define a new cn by replacing the Fourier integral with a left-hand sum with 2A equal subdivisions of length 1. This sum only involves the elements of f:
    3.jpg
    Notes:
    • ei (2A+k)mπ/A = ei 2mπ ei kmπ/A = ei kmπ/A, so coefficients indexed 2A and higher give no extra information.
    • The sequence c of coefficients c0, ... , c2A–1 is the Discrete Fourier Transform of the sequence f.
    • Essentially the same calculation retrieves f from c:
    4.jpg
                (note the minus sign in the exponents).

    Transform of a periodic sequence

    Suppose that f has period p, i.e. fm+p = fm for every value of m; the simplest case to analyze is when p is a divisor of 2A, say p = 2A/k, k an integer. In that case, if n is not a multiple of k (green boxes in the examples below) the periodic reappearances of a sequence item fm are multiplied by coefficients which cycle through a complete set of roots of 1, and thereby add up to zero. The explicit formula is:
    5.jpg
    [/list]
    So the only chance for a non-zero Fourier coefficient is when n is a multiple of k, (and then, up to a factor, c0, ck, c2k, ... , c(p–1)k are the 0th, 1st, 2nd, ... , (p–1)-st Fourier coefficients of the sequence f restricted to a single period).

    6.jpg
    Fig. 1. Discrete Fourier Transform analysis of the sequence given by the first 16 powers of 19 (modulo 85), a sequence with period 8 and frequency 16/8 = 2. When n is a multiple of 2 (e.g. orange boxes) every re-occurrence of a sequence item gets the same coefficient, and cn has a chance of being nonzero. Otherwise (e.g. green boxes) it is zero. The complex numbers in the matrix are graphically represented as unit vectors. Each cn is the weighted vector sum of the entries in the column above it, weights coming from the fk column on the right, with an overall factor of 1/2A = 1/4. The cn have been uniformly scaled to fit in the picture.

    7.jpg
    Fig. 2. Discrete Fourier Transform analysis of the sequence given by the first 16 powers of 33 (modulo 85). This sequence has period 4 and frequency 16/4=4. The non-zero cn only occur for n a multiple of 4. Graphic conventions are the same as in Fig. 1.

    Why powers of 2?

    I have chosen for illustration a number (85) which generates power residue sequences with periods which are powers of 2, and I have chosen to analyze a length (16) of sequence which is also a power of 2. The second choice is not immaterial: The Fast Fourier Transform we will use, and its quantum adaptation, both require it. The first choice is only for covenience in generating a small example. Shor shows that to get a reliable read on the power residue period in general, in the problem of factoring N, one must analyze sequences of a length 2n between N2 and 2N2. So to analyze a number like 85 realistically, we would have to work with sequences of length 8192.

    The Fast Fourier Transform

    The Fast Fourier Transform which adapts directly to quantum computation is the Radix-2 Cooley-Tukey algorithm, invented in 1965 (reinvented, actually, since it later turned out to have been known to Gauss). To control the width of this presentation, I am going to work with the order-8 Discrete Fourier Transform, rather than order-16 as above. Taking ω = eiπ/4= 2–1/2(1 + i) as our primitive 8th root of 1, the 0-7th powers of ω are
    1, eiπ/4, eiπ/2, e3iπ/4, eiπ, e5iπ/4, e3iπ/2, e7iπ/4,

    1, ω, i, iω, –1, –ω, –i, –iω,

    the numbers represented graphically above as
    8.jpg,9.jpg,10.jpg,11.jpg,12.jpg,13.jpg,14.jpg,15.jpg
    The transform c of an arbitrary length-8 sequence f = f0, f1, ..., f7, given by
    16.jpg

    would be produced from the array

    1       1   1       1   1       1   1       1   f0
    1   ω   i   iω   –1   –ω   –i   –iω   f1
    1   i   –1   –i   1   i   –1   –i   f2
    1   iω   –i   ω   –1   –iω   i   –ω   f3
    1   –1   1   –1   1   –1   1   –1   f4
    1   –ω   i   –iω   –1   ω   –i   iω   f5
    1   –i   –1   i   1   –i   1   i   f6
    1   –iω   –i   –ω   –1   iω   i   ω   f7
    c0   c1   c2   c3   c4   c5   c6   c7

    by setting the last row to be f0 times the first plus ... plus f7 times the eighth, the whole sum divided by 8. This calculation would require eight multiplications and seven additions for each item in c, or 120 operations in all. Working with a sequence of length 2n, the number of operations would be 2n (2n+1 – 1).

    Our Fast Fourier Transform leads in n steps from the elements f0, ... f2n–1 of the input sequence to the coefficients c0, ... c2n–1 of its Discrete Fourier Transform. We illustrate the process here for n = 3. Each column represents a successive step of the calculation.

    19.png

    Notes:
    In this presentation of the algorithm the elements of the sequence f are ordered backwards and the elements of the transformed sequence c appear in "bit reversed" order: cn appears on line k where (in binary) k is n written backwards; e.g. c6 (110) appears on line 3 (011).
    Working with a sequence of length 2n the computation table has 2n rows; in each row are n columns requiring computation; each entry is calculated as a linear combination of two entries from the previous column, and so requires two multiplications and a sum; altogether 3n operations per row for a total of 3n2n operations. Contrasting this with the 2n (2n+1 – 1) operations to implement the Discrete Fourier Transform shows that the Fast Fourier Transform is fast indeed.

    Why does this work?

    The most transparent explanation I know uses properties of polynomial long division. Here I will specalize to the example at hand.
    For a sequence f of length 8, the expression for the nth Fourier coefficient can be read as the value at einπ/4 of the polynomial f(x) = f0 + f1 x + ... + f7 x7:
    17.jpg

    If a polynomial p(x) is divided by the monic, first degree polynomial x–a, the remainder is exactly the number p(a).

    So cn is (1/) times the remainder when f(x) is divided by (x– einπ/4). The shift in focus from evaluation of a polynomial to calculation of remainders is the key to the economies of the Fast Fourier Transform.

    The remainder when f(x) is divided by x4– 1 is
    (f3 + f7)x3 + (f2 + f6)x2 + (f1 + f5)x + (f0 + f4),
    and its remainder upon division by x4+ 1 is
    (f3 – f7)x3 + (f2 – f6)x2 + (f1 – f5)x + (f0 – f4).

    And in general, if a2n–1x2n–1 + ... + a0 is divided by xn – c, the remainder is an–1xn–1 + ... + a0 + c (a2n–1xn–1 + ... + a2n). This is what makes calculation of remainders especially simple when the overall degree is a power of 2.

    Since
    x4 – 1 = (x2 – 1)(x2 + 1) = (x – 1)(x + 1)(x – i)(x + i),
    it follows that f(x) and p(x) = (f3 + f7)x3 + (f2 + f6)x2 + (f1 + f5)x + (f0 + f4) have the same remainder when divided by any one of the factors (x – 1), (x + 1), (x – i) or (x + i).
    Because if f(x) = (x4 – 1) q(x) + p(x) and for example p(x) = (x – i)q'(x) + a, then f(x) = [(x – 1)(x + 1) (x – i)(x + i)]q(x) + (x – i)q'(x) + a also has remainder a when divided by (x – i).

    Similarly, since x4 + 1 = (x2 – i)(x2 + i) = (x – ω)(x + ω) (x – iω)(x + iω), the degree-3 polynomial (f3 – f7)x3 + (f2 – f6)x2 + (f1 – f5)x + (f0 – f4) can be used, via its remainders, to calculate f(ω), etc.

    Returning to the Fast Fourier Transform calculation

    18.jpg

    we can understand Step 1 as transforming the degree-7 polynomial f into two degree-3 polynomials (red boxes) each of which can produce, via its remainders, half of the cn. Then Step 2 transforms each of the degree-3 polynomials into two degree-1 polynomials (green boxes), each of which can produce a quarter of the cn, and Step 3 transforms each of the degree-1 polynomials into two degree-0 polynomials, which are their own remainders.

    References

    For the Fast Fourier Transform, I have followed Henry Laufer's text Discrete Mathematics and Applied Modern Algebra, Prindle, Weber & Schmidt, Boston 1984.

    The Wikipedia entry on Fast Fourier Transform gives an alternative explanation; it also provides references to Cooley and Tukey's 1965 paper as well as to the spot in Gauss' Nachlass where he develops the technique, both items in its extensive bibliography on the ancient and recent history of the algorithm.

    References on the "Quantum Fourier Transform" and on Shor's Algorithm:

    D. Coppersmith, An Approximate Fourier Transform Useful in Quantum Factoring, IBM Research Report 07/12/94, available as arXiv:quant-ph/0201067

    A. Ekert and R. Jozsa, Quantum computation and Shor's factoring algorithm, Reviews of Modern Physics 68 (1996) 733-753

    Peter W. Shor, Algorithms for Quantum Computation: In: Proceedings, 35th Annual Symposium on Foundations of Computer Science, Santa Fe, NM, November 20--22, 1994, IEEE Computer Society Press, pp. 124--134. An expanded version is available, under the title
    Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, as arXiv:quant-ph/9508027

    Credit to:
    Tony Phillips
    Stony Brook University
    [email protected]



    Some Places to help you understand the math:

    Quantum Theory

    Wiki: Quantum Mechanics

    AMS

    Pages: prev1 ... 134 135 136 137 138 [139] 140 141 142 143 144next