Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[BRAINFUCK] /prog/ challenge [EXPERT]

Name: /prog/ challenge master 2013-01-31 16:56

Problem: Write the shortest brainfuck program that outputs the value of 21000 in decimal, followed by a newline.  The brainfuck program must not accept any input.

Judging: The entries will be judged by their correctness (the most correct first), then by their length (shortest first), and finally by their dates of submission (earliest first).  Note that a longer correct entry wins to a shorter incorrect one.

Participating: You are required to cryptographically sign your solution (e.g. by creating a throwaway GPG key with fake info and sync'ing it to a keyserver).  This is needed so you that may claim your prize (and not an impostor).  The lack of any means of authentication leads to immediate disqualification.  You may submit as many entries as you like.

Remark. I realize that not everyone here is familiar with GPG.  This should give you a head start:
$ cat submission.txt
+++[...
$ gpg --gen-key
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 2
DSA keys may be between 1024 and 3072 bits long.
What keysize do you want? (2048) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 1y
Key expires at Fri 31 Jan 2014 04:26:47 PM EST
Is this correct? (y/N) y

You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Himmler (Der Henker) <heinrichh@duesseldorf.de>"

Real name: hello kitty
Email address:
Comment:
You selected this USER-ID:
    "hello kitty"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

You don't want a passphrase - this is probably a *bad* idea!
I will do it anyway.  You can change your passphrase at any time,
using this program with the option "--edit-key".

(snip)

pub   2048D/0xD77B493754AB980C 2013-01-31 [expires: 2014-01-31]
      Key fingerprint = 6531 777E 6F1D BC81 2786  BE6F D77B 4937 54AB 980C
uid                 [ultimate] hello kitty
sub   2048g/0xF1AB3377C8CB418C 2013-01-31 [expires: 2014-01-31]

$ gpg --send-keys 54AB980C
gpg: sending key 0xD77B493754AB980C to hkp server pgp.mit.edu
$ gpg --clearsign -u "hello kitty" submission.txt
$ cat submission.txt.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

+++[...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iF4EAREKAAYFAlEK5hYACgkQ13tJN1SrmAyvSwEAtLoi4LXi1YQtJV0rbH3t4gNr
3MMBC2KmorxTRr+3HakA/RxqRTy0ARjbYDV9DG2/z5OOQb/a1S6QngsM7trHYZzd
=4/xg
-----END PGP SIGNATURE-----
$


Prize: The winner will be offered a document describing the art of infinite multiple quotation on Shitchan.  If the prize is not claimed within one week of its announcement, it will be offered to the next best submitter.

Deadline: 2013-04-01 at 00:00 UTC.


Attached: Signed version of this post.
data:application/octet-stream;base64,owGFV81vI0kVz7KwYpsPMaeV0Eo8RiOtvTNufybOmJ1dHNtxPiZOYmdmyFpeVN1ddte6u6qnujpOZ/kDOCFOSIgj4ghXrkgg7YHLnrlyWIS4wYULu6+qOk4YIhFZSafr1fv4vfd+7/nn33p9w7l39fnzXzmffeN7r/32m3/y3vRDEkWUL+ip8/mnU292IoUX0Xha9WYdeCGZoqBCCmkopKKpAk8SxueZv4REioUkMR4TBSJTSaZSI3tBooyCmENjmmbJrF6r1aZV/QSMQ0B9FpPoEcxFFIkVDcDLgQCnq4hx6gKcoYb/NRJnaJsLBcT3aYJ/eI7a0KTrOOj1QRYsGF9Yr7UGypVkNIUViyLwKHyMAtYWesgk+EJK6itO0xRK2ulYoIHiLcyZTFX5kZblN3c0TCqE0hqLazHCA3zmCGR+Ix0QlNEopJkXszRlgkOJEhmxm6sY7kgYhBFCApHAPKx9MzHkGAFHWAUeW7sS476WEIiYif+ESMV8lhC1RuFcZEAkBUlfZkxi7KjDl3miNKBJyHzjbsoWHHKRSUhFlCnrpLtwdRy+pEYfmlahFCuyIjkMT4awpNothGJOlhTdmQsDQZpz/x0tz5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xD9HTn9qu1y367vdN63GxPs9lmq7vzeLvWm1azma7ZZqVWr2AJT4uq7phCti9nRcvoosfJjFMVhwrC8AS2NvFKu90ewNZuvQ87ve06NNrbWwA7g61d0PZAG4TCIlybdDLsq1d/psibuM4oOoNb6XbSdQwLjGG33t1pNtvt3nZvp1Xf7v1/59f8nlIeVAxpvgKAg+cd0McaZ00JN1hdy+kCCZcJ2BkMySJxcca5NMjW+v1Ic4cm70r23xX76uS5axy5JPXBqeifncFwfwQnwxOY7A9Hgz4cDSaT7nBgDp09koYdmOx1N+sNZz3E7rjYPXs2Lu48p1Lb6cCQZ7hzXNTdlltvQGk4elZ9ynh2ibXCdluD7nhw2O2e73ajweFmeN7tLZan9aY6GNUnMu7mF5PVoKueCtZ6+iNWPz9VB89r0ttrqtZiJJ3m0dFOr3EYC3l5NpYPm3tk2a2OL1+Oz/Jad/yxd95//rg/bFSvNo+PT70qqU+2TvkiPWoruXf+4VXgPGlVLxc2ksGof1ccD6bVeGaXNL3X3KyouNhxKtcbqpjPqTQtHgg/M8wX0NSXzGPFnMLNQA903LcY13t5rIsviSi8zISySw9+JiHDtdubTdNEMGTCmcLlu3jUa7g30/2L7bw/N1rttsXsbDNbGDqhe5VpddSMKWMWKZtwLjLuU0tcyA2vOo8Vp3VyeonfFPSea/cq3FrtntrHHUfv+RYF2we66jV51GqdWg2enfVQ1OkqRfyQBlg1WJ2o+cKWg/bEsgouhK6jy+inH311456z8cbXvqK/wmw4b37n+hvOt3+y8UV4dXUw+Ifz7+4nw+mL3//i6+7P3v7dp3994w8//ovf+uw30VsbX3zy57//7bth1lz+896v/zP447R877T8r+FxfPLa4ji8+OX+lw==

Name: Anonymous 2013-02-13 11:44

>>37
I've seen monkeys writing BF interpreters in less than 10 minutes in less than 10 minutes

Name: Anonymous 2013-02-13 11:53

LLLLLLLLLLEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
>LE MONKEY!
>EGIN GWIN WGIN GRO

Name: Anonymous 2013-02-13 11:55

Please! African-American, you guys are such racists gawd!

Name: Anonymous 2013-02-14 10:17

czechum

Name: Anonymous 2013-02-24 1:13

Name: Anonymous 2013-03-26 14:16

Deadline's approaching.

Name: Anonymous 2013-03-26 22:03

i
n
f
i
n
i
t
e
m
u
l
t
i
p
l
e
q
u
o
t
a
t
i
o
n
o
n
S
h
i
t
c
h
a
n
.

Name: Anonymous 2013-03-27 10:52

lemon key face

Name: Anonymous 2013-03-27 11:25

Oh
god
how
did
this
get
here
Im
not
good
with
computer!

Name: Anonymous 2013-03-27 11:47

why would you give someone a prize for this, it's fucking trivial

Name: Anonymous 2013-03-27 11:51

>>50
then submit your implementation you massive homolord, a trivial one has already been posted (>>7)

Name: nikita sadkov !/84.nIkITA 2013-03-27 11:55

>>50
Shalom, Hymie!

Name: Anonymous 2013-03-27 12:06

+

Name: nikita sadkov !/84.nIkITA 2013-03-27 12:32

I am a faggot ;) I love the JEWISH cock. Sometimes I keep screaming for it, to feel that head against my throat. I will call you symta.

Name: Anonymous 2013-03-27 12:51

>>52,54

Looks like somebody's a little too exited about figuring out how to use tripcode explorer.

Name: nikita sadkov !/84.nIkITA 2013-03-27 12:52

>>55
Shalom Hymie!

Name: Anonymous 2013-03-27 12:53

>>52,54
Your joke is so funny, I almost fell off my chair because I couldn't stop laughing. That was a good shit, a great shit, congrats man.

Fuck off back to /b/.

No, I'm not the Russian raghead, you fucking retard.

Name: nikita sadkov !/84.nIkITA 2013-03-27 12:55

>>57
Shalom Hymie!

Name: Anonymous 2013-03-27 12:56

>>57
SHALAM SADKIKE!

Name: nikita sadkov !/84.nIkITA 2013-03-27 12:58

Знаете ли Вы, что до поражения Германии во Второй Мировой, было два вида математики, - арийская и еврейская, - названные так по национальности своих сторонников?

Арийская Математика брала пример с естественных наук, склонялась к эмпирицизму, конечности и познаваемости мира, и работала исключительно c объектами, которые можно построить физически (например, в памяти ЭВМ или на бумаге).

Еврейская Математика же склоняется к религиозной абстракции и казуистике: всеохватывающей бесконечности, множествам, и порождаемым ими апориям. Так Еврейская Математика постулирует, что можно удвоить объект, путём перекладывания его частей, пространство делимо на "бесконечно малые", а для любого числа, Бог может создать большее число (аксиома о бесконечности).

Основатель Еврейской Математики, Гидеон Кантор, писал, что работает с "Абсолютом - непознаваемым человеком Актус Пьюриссимус, именуемым многими Богом". Примечательно, что Кантор окончил свою жизнь в психиатрической лечебнице, однако дело Кантора поддержали сионистские организации и католическая церковь, доведя до того, что сознательные германские студенты и профессора протестовали, требуя убрать еврейскую заразу из ВУЗов.

После войны, евреи сделали всё возможное, чтобы уничтожить Арийскую Математику, удалив её сторонников и подменив математику Теорией Множеств - центральной опорой Еврейской Математики. Так основатель интуиционизма, Лёйтзен Брауэр, подвергся изоляции, а результаты Русских и Английских финитистов умалчивались и не получили распространения. В русской истории от рук евреев страдали математики Егоров (погиб в ГУЛАГе), Лузин (подвергся травле и был отстранён), Флоренский (расстрелян), Есенин-Вольпин (репрессирован).

Сегодня математика стала еврейской даже по-цвету. Государства поддерживают так называемую "анти-расистскую математику", требующую например использовать еврейские имена в примерах и задачках, рассказывая при этом о великом "вкладе" еврейства в развитие математики.

Name: Anonymous 2013-03-27 12:59

>>51
what brainfuck interpreter are you using OP?

Name: nikita sadkov !/84.nIkITA 2013-03-27 13:03

>>61
If it ain't symta, it ain't [b]shit[b].

Name: nikita sadkov !/84.nIkITA 2013-03-27 13:03

>>62
The jews made me fail.

Name: Anonymous 2013-03-27 14:47

>>60

Translation:

"Aryan mathematics" is about "knowability of the world" (so its actually science)
"Jewish mathematics" is about set theory and the concept of infinity
Jews created set theory to corrupt our schools and our way of thinking

Look at this barely educated slav kike trying to join in on the fun. How cute.

Name: Anonymous 2013-03-27 14:52

>$ gpg --gen-key
>
Please select what kind of key you want:
>
    (1) RSA and RSA (default)
>
    (2) DSA and Elgamal
>
    (3) DSA (sign only)
>
    (4) RSA (sign only)
>
Your selection? 2

Why create an encryption key for doing a one-time sign? Just select 3 instead.

Name: Anonymous 2013-03-27 14:53

what a beautiful bbcode fail i just made lel

Name: Anonymous 2013-03-27 15:00

I just wrote about half.. I can't be fucked doing any more

Name: Anonymous 2013-03-27 16:21

babbyCode fail

Name: Anonymous 2013-03-27 16:48

>>64
Mathematics isn't science

Name: Anonymous 2013-03-27 17:53

>>65
So that I may encrypt the prize with your public key.

Name: Anonymous 2013-03-27 17:56

>>67
come on, I know you can do it.

Name: Anonymous 2013-03-27 18:49

>>71
I know I can do it too, that's why it's not fun anymore - and it looks likes >>7 will be shorter than all the code to deal with lists of digits and long division

Name: Anonymous 2013-03-27 19:10

>>72
I can amend the challenge to read 210000 instead of 21000 (so that the retarded bruteforce way is penalized) if you want.

Name: Anonymous 2013-03-27 21:16

When there is a significant difference between the parent's and child's sense of the amount of attention needed, the child is often described as seeking excessive or inappropriate attention, particularly if the child is whiny, clingy, silly, or provocative. Children generally seek so-called inappropriate attention when they feel unable to manage their emotions or behavior. Needing extra help is usually a sign that a child is not functioning at his or her best level. We call this regression.

Some children engage in so-called "negative attention-seeking behavior," which involves an effort to provoke a response that they know will be negative. Such behavior should always perplex parents, and cause them to examine the behavior more deeply, because negative attention never feels good to a child - after all, the attention comes with quite a price. Disapproving, irritated, reproachful attention does not fill a child with good feeling any more than such attention feels welcomed by an adult! There needs to be quite a "pay-off" to induce a child to actually seek out such negativity. One possibility is that child has been over-indulged and therefore has not developed age appropriate skills, autonomy, and independence.

Name: Anonymous 2013-03-28 6:18

ok I was wrong this isn't trivial. Here's a thing that converts 0x1000000000 to decimal backwards by doing quotent/remainder repeatedly.


$ ../bff l2 > foo.txt
^C
$ cut foo.txt -b 1-100
6376749178600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000


you would have to store digits on a stack to get them printed in the right order. Seems like a real hassle checking if we're done (have to count the number of nonzero digits of the number).. the most series problem with this code is that is that it doesn't reduce the digits to hexadecimal so it overflows if you try it with higher numbers - that's fixable but I can't be bothered.



>>>>>>>
+>+>>>>>>

+++++++++
[[->>>>>>>+<<<<<<<]+>>>>>>>-]<<<<<<<[<<<<<<<]

>>>>>>>
[

[

<<<<<[->>>>>>++++++++++++++++<<<<<<]>>>>>>

[
>>++++++++++[-<<
[->>>+>+<<<<]>>>>[-<<<<+>>>>]<
[<<+<->>>[-]]<<<
>>]<<
[->>>+>+<<<<]
>>>>[-<<<<+>>>>]<
[<<[-]>>>>+<<[-]]<<<
]
>>>>>[-<<<<<+>>>>>]<<<<<

<>>>>>>>

]

<<<<<<<>>
++++++++++
++++++++++
++++++++++
++++++++++
++++++++
.
[-]
<<[<<<<<<<]>>>>>>>

]

Name: Anonymous 2013-03-28 6:20

forgot to say that code is being released under GPLv3 http://www.gnu.org/licenses/gpl-3.0.html

it should be mostly self explanator but if anyone can be bothered fixing it and wants to ask questions I will explain.

Name: Anonymous 2013-03-28 6:41

I just realized what I did wrong in my code (the reason it doesn't work for larger numbers), i was doing the first "digit" divided by 10.. andadding 16* the remainder to the next digit but you're supposed to do 16*first digit + next digit then divided by 10 and use quotient remainder.. can't beleive I forgot how to do long division..

Name: Anonymous 2013-03-28 9:36

This
could
be
your
post!
Unlock
the
secrets
today!

Name: Anonymous 2013-03-28 10:23

I
would
enter
the
challenge,
but
I
already
know
how
to
do
this.

Name: Anonymous 2013-03-28 13:51

>>79
There
is
not
much
elseI
can
give
you.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List