Code Golf: Fractran

Fractran – 1779 fractions (Edit: fixed) (I hope people are still following this thread, because this took a while!) It appears SO won’t let me post something as long as this, so I posted the Fractran source here. Input is specified as follows: First, we encode a fraction m/n = p_0^a0… p_k^ak by: Start with … Read more

How does the Brainfuck Hello World actually work?

1. Basics To understand Brainfuck you must imagine infinite array of cells initialized by 0 each. …[0][0][0][0][0]… When brainfuck program starts, it points to any cell. …[0][0][*0*][0][0]… If you move pointer right > you are moving pointer from cell X to cell X+1 …[0][0][0][*0*][0]… If you increase cell value + you get: …[0][0][0][*1*][0]… If you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)