News for hackers. Stuff that matters.
Re:Shortest program to print "Never gonna give you up..." by ColinWright on Friday June 01, 2012 @09:43AM (#4053300)
597 bytes of Python:

    : d="""ou@on@he@ell@ w@ay it
    : @ otUr@BVna @make4 @ve@'re@ing@t's been@ a@
    : (Ooh@o @ g@
    : YX@ t@ know@nd @
    : N2@ how I'm feelJ
    : @iL4 up@6)E)8giL, n2giL
    : (G@ yX@
    : I justSannaxT47Gotta Munderstand0@eLrP@
    : 
    : We'Lqn eachQ for sClVgzr UarHFchJ butzKxoCshyxCsRInsideSe bothqShaHBoJ V
    : WeqxUBameF9weKPplR@
    : 8g68let4 down8runFrX9a9desert48Mcry8sayBoodbye8tTF lieF9hurt4@WeK nCstrangersxCloLzqxU rulesF9sCdCI
    : A full commitment'sShat I'mxhinkJ ofzSXldn'tBetxhis fromFnyQBuy31A9if4Fsk me7DV'txT me4KxoCbli9tCsee00
    : E,B6)E,B556)1300
    : """
    : for s in 'XVUTSRQPMLKJHFECBzxq9876543210':
    :  a,b=d.split('@',1)
    :  d=b.replace(s,a)
    : print d
I could make it a little better, but could only spend 30 minutes or so.

Added in edit: a small tweak gets it to 594 bytes - not included here.

Re:Shortest program to print "Never gonna give you up..." by goatforce5 on Friday June 01, 2012 @01:01PM (#4054431)
"not included here."

Didn't we learn anything from Fermat?

Re:Shortest program to print "Never gonna give you up..." by ColinWright on Friday June 01, 2012 @01:22PM (#4054532)
OK, 589 bytes:

    : d="""ellU wTay it
    : S otherRConna Qmake4 PveMndL aK'reJingHt's beenFo E gC
    : (OohB
    : Youz txKL q know9
    : N28 how I'm feelH
    : 7iM4 up66)B)8giM, n2giM
    : (G5 you4
    : I justTannaxU47Gotta PuLerstaL03eMrQ2
    : 
    : We'M9n eachR for sElongzr hearFKchH butzJxoEshyxEsSInsideTe both9ThaFCoH on
    : We9xheCameqweJQplS1
    : 8g68let4 down8runKrouLqdesert48Pcry8sayCoodbye8tUK lieqhurt40WeJ nEstrangersxEloMz9xhe rulesqsEdEI
    : A full commitment'sThat I'mxhinkH ofzTouldn'tCetxhis fromKnyRCuy31AL if4Ksk me7Don'txU me4JxoEbliLxEsee00
    : B,C6)B,C556)1300"""
    : for s in'UTSRQPMLKJHFECBzxq9876543210':a,b=d.split(s,1);d=b.replace(s,a)
    : print d
Re:Shortest program to print "Never gonna give you up..." by jholman on Friday June 01, 2012 @01:28PM (#4054558)
You can hardly blame ColinWright; although his tweak is truly marvelous, it is one which this textfield is too narrow to contain.