You are not logged in.

#76 2008-04-24 04:59:16

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: A script proclaiming Arch's superiority

We wouldn't want our friends in Redmond to feel slighted, so I have ported this to Microsoft Visual Basic 6:

Module Superiority
  Sub Main()
      MsgBox("Arch is the best!") 
  End Sub
End Module

A VB.NET version is now in development.

Offline

#77 2008-04-24 06:09:29

tm8992
Member
Registered: 2007-01-01
Posts: 36

Re: A script proclaiming Arch's superiority

Piet, anyone?

Input:
archpietpe5.png

Output:

Arch is the best!

Last edited by tm8992 (2008-04-24 06:11:33)

Offline

#78 2008-04-24 07:05:08

F
Member
Registered: 2006-10-09
Posts: 322

Re: A script proclaiming Arch's superiority

This application has respawned my faith in this community. Thank you all.

Offline

#79 2008-04-24 09:00:31

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: A script proclaiming Arch's superiority

Is it out of beta yet? I'd love to use it, but would hate to have unstable software on my box...

PS: Yes. This shows what a great community is capable of!


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#80 2008-04-24 12:31:41

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: A script proclaiming Arch's superiority

tm8992 wrote:

Awesome! smile Me likes it! wink


It's not the best thing when they call you a "member" you know… wink

Offline

#81 2008-04-24 12:45:53

floke
Member
Registered: 2007-09-04
Posts: 266

Re: A script proclaiming Arch's superiority

Can you make it do different colours like that gentoo thingy?
I tried yaourt -S archisthebest-color but to no avail.

Offline

#82 2008-04-24 20:48:52

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: A script proclaiming Arch's superiority

In an effort to spread Arch's word to new places, I've ported this super-app to the Motorola M68HC12 platform.

    ORG    $0800
    LDX    $F684
    LDY    #str
loop:    LDAB    0, Y
    BEQ    done
    JSR    0, X
    INY
    BRA    loop
done:    SWI

str    DC.B    $41,$72,$63,$68,$20,$69,$73,$20,$74,$68,$65,$20,$62,$65,$73,$74,$21,$00


The source code is untested and provided as is.  The author is not responsible if your microcontroller stops working, catches fire or blows up.  The author is *totally* responsible if the microcontroller starts working better, or if you get a raise as a result of using this program.

Offline

#83 2008-04-24 23:18:04

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: A script proclaiming Arch's superiority

I just can't help thinking of the hilarity if the OP had somehow got the script wrong...

Offline

#84 2008-04-25 00:38:46

insane
Member
Registered: 2006-06-04
Posts: 106

Re: A script proclaiming Arch's superiority

alex_anthony wrote:

I just can't help thinking of the hilarity if the OP had somehow got the script wrong...

Nope... It works fine here. This is Open Source anyway so anyone can improve the code and send back patches.

Offline

#85 2008-04-26 14:37:29

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: A script proclaiming Arch's superiority

While all your efforts have been grand, none of your programs have properly captured the amazingness of Arch compared to the rest.  Thusly, I have converted the application into SPL:

archisbest.spl

Ode to Arch Linux, a play in six parts.

The Ghost, also known as Judd, former ruler of Arch.
Arthur, the good sir Aaron, new overlord.
Hamlet, a die-hard Archer.
Ophelia, lover of other distributions.

                     Act I: Praise for the Rulers.
  
                     Scene I: Glory to He Who Started the Arch.

[Enter The Ghost and Hamlet]

Hamlet:
 Thou art as noble as the quotient between the sum of a cunning 
 gentle handsome trustworthy noble mighty honest hero and a cute 
 angel and a golden summer's day.

 Speak your mind!

The Ghost:
 You are as bold as the difference between a charming cunning 
 peaceful fair fine gentle happy Lord and the difference between
 a blossoming amazing warm rich smooth hero and the sum of a
 happy animal and a cat.

Hamlet:
 Thou art as big as the sum of thyself and the sum of a kingdom 
 and the sum of a huge blue cunning handsome hero and a loving 
 mighty noble sweet trustworthy rose.

 Speak your mind!

The Ghost:
 Speak YOUR mind!

Hamlet:
 Thou art as good as the difference between thyself and the sum
 of a prompt proud trustworthy King and a golden angel.

 Speak your mind!

The Ghost:
 You cunning happy honest noble mighty hero!  Speak your mind!

[Exit Hamlet]
                     Scene II: The torch passes on.

[Enter Arthur]

Arthur:
 You are as lovely as the sum of yourself and a rose.

 Speak your mind!

The Ghost:
 YOU are as lovely as the sum of myself and the sum of a beautiful
 blossoming red rose and a delicious thing!

 Speak your mind!
                     
[Exit The Ghost]

[Enter Hamlet]

Arthur:
 Speak your mind!

[Exit Hamlet]

                     Act II: Dismissal of the Outsider.
  
                     Scene I: Aaron Takes The First Volley.

[Enter Ophelia]

Ophelia:
 Thou art as rotten as the difference between thyself and a pig!
 
 Speak your mind!

Arthur:
 You are as vile as the difference between The Ghost and a cat!
 
 Speak your mind!

Ophelia:
 Thou art as evil as the sum of The Ghost and a dusty lying leech!

 Speak your mind!

[Exit Arthur]

[Enter Hamlet]

Ophelia:
 Speak your mind!

[Exit Hamlet]

                     Scene II: Judd takes a stab.

[Enter The Ghost]

Ophelia: 
 You are as hairy as the difference between thyself and the 
 difference between a devil and an oozing infected rotten toad!

 Speak your mind!

 You are as rotten as Arthur! 

 Speak your mind!

The Ghost:
 You are as half-witted as the difference between thyself and
 the sum of a foul fat-kidneyed distasteful pig and the sum of 
 an evil plague and a goat!

 Speak your mind!

 You are as miserable as the difference between thyself and a 
 beggar!

 Speak your mind!

[Exit The Ghost]

                     Act III: Final Glory.
  
                     Scene I: Ophelia gets TOLD.

[Enter Arthur]

Ophelia: 
 You hound!

 Thou art as rotten as the sum of thyself and a cat!

Arthur:
 You are as stupid as the difference between a hero and
 a foul little oozing smelly disgusting codpiece!

                     Scene II: Ophelia is Converted.

Arthur:
 Speak your mind!

Ophelia: 
 Thou art as noble as the sum of thyself and a hero!

Arthur:
 Am I worse than the sum of a hero and a brave hero?

 If so, we must proceed to scene II.

 You rose. Open your heart!

 You are as healthy as the sum of a brave noble loving 
 hero and a red rose. 

 Speak your mind!
 
[Exeunt]

Here's a Makefile:

BIN       = archisbest
SOURCES   = $(wildcard *.spl)
SOURCES_C = $(SOURCES:.spl=.c)
CXX       = gcc
SPL2C     = spl2c
LIBSPL    = /usr/lib/libspl.a

all: $(BIN)
  
$(BIN): $(SOURCES_C)
  $(CXX) -lm -o $@ $< $(LIBSPL)

%.c: %.spl
  rm -f $@
  $(SPL2C) < $< > $@
  
clean:
  rm -f $(SOURCES_C)
  rm -f $(BIN)

Offline

#86 2008-04-26 14:42:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: A script proclaiming Arch's superiority

I like Cerebral's dedication to this project!  It has been a long time since I looked at SPL...

Last edited by Allan (2008-04-26 14:44:43)

Offline

#87 2008-04-26 15:00:45

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: A script proclaiming Arch's superiority

I can but cite Antonio: "I am dumb."

Offline

#88 2008-05-02 10:01:59

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: A script proclaiming Arch's superiority

Cerebral wrote:

Untested (wow, it's been a while since I've written a PKGBUILD from scratch)

pkgname=best_script_in_the_world
pkgver=1.0
pkgrel=1
url="http://www.archlinux.org"
arch=('i686' 'x86_64')
license=('GPL')
source=()
md5sums=()

build()
{
    mkdir -p $startdir/pkg/usr/bin/
    echo #!/bin/sh >> $startdir/pkg/usr/bin/best_script.sh
    echo >> $startdir/pkg/usr/bin/best_script.sh
    echo 'echo "Arch is the best!"' >> $startdir/pkg/usr/bin/best_script.sh
   
    chmod a+x $startdir/pkg/usr/bin/best_script.sh
}

I can't find it in aur. please help.:(

Offline

#89 2008-05-02 14:55:10

kingjorge
Member
Registered: 2008-03-05
Posts: 16

Re: A script proclaiming Arch's superiority

I am going to have to ask you all respectfully to cease and desist development on this project as I already have a patent on an application that proclaims a state of being for an object.  It is patent # 348947.

I will thank you in the future for respecting my Intellectual property.


PS:  What the hell is Arch Linux?!?

Last edited by kingjorge (2008-05-02 14:57:25)

Offline

#90 2008-05-06 04:23:32

sehwoo
Member
Registered: 2006-09-04
Posts: 20

Re: A script proclaiming Arch's superiority

i didn't see a ruby version..

#!/usr/bin/ruby -w

puts "Arch is the best!"

Offline

#91 2008-05-06 05:45:29

sco50000
Member
Registered: 2008-05-06
Posts: 8

Re: A script proclaiming Arch's superiority

I decided to take it upon myself to port this wonderful program to a few other languages.

#!/usr/bin/python
print "Arch is the best!"
#!/usr/bin/perl
print "Arch is the best!\n";
#!/usr/bin/php
<?php
echo "Arch is the best!\n";
?>
#include <stdio.h>

int main (void)
{
    print "Arch is the best!\n";
    return 0;
}
#include <iostream>
using namespace std;

int main ()
{
    cout << "Arch is the best!\n";
    return 0;
}
HAI
CAN HAS STDIO?
VISIBLE "Arch is the best!"
KTHXBYE
    SECTION .data

    msg    db    "Arch is the best!",0xa ; 
    len    equ     $ - msg

    SECTION .text
    global main

main:
        mov     eax,4        ; write system call
        mov     ebx,1           ; file (stdou)
        mov     ecx,msg         ; string
        mov     edx,len         ; strlen
    int     0x80        ; call kernel

    mov    eax,1        ; exit system call
        mov     ebx,0      
        int     0x80        ; call kernel
10 PRINT "Arch is the best!"
(defun archisthebest ()
  (print "Arch is the best!")
)
program ArchIsTheBest(output);
begin
  WriteLn('Arch is the best!');
end.
<?php
header("Content-type: image/gif");
$rscImage    = imagecreatetruecolor(80, 25);
$intFontC    = imagecolorallocate($rscImage, 255, 255, 255);
$intBGC        = imagecolorallocate($rscImage, 0, 0, 0);
imagestring($rscImage, 2, 5, 5, "Arch is the best!", $intFontC);
imagegif($rscImage);
imagedestroy($rscImage);
?>

Please add to this if you feel the need!

Spread the word: Arch is the best!

Offline

#92 2008-05-06 06:11:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: A script proclaiming Arch's superiority

@sco50000:  it would be good if you could put what language each is written in above the code.  I think I can pick them all but one...  What is third from the bottom?

Offline

#93 2008-05-06 07:23:08

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: A script proclaiming Arch's superiority

Some Lisp dialect, I guess. wink

Offline

#94 2008-05-06 09:16:57

prune
Member
From: Adelaide, Australia
Registered: 2007-01-30
Posts: 13
Website

Re: A script proclaiming Arch's superiority

arch.png

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        MessageBox.Show("Arch is the best", "Arch is the best", MessageBoxButtons.OK, MessageBoxIcon.Information)
    End Sub
End Class

Offline

#95 2008-05-06 16:20:27

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: A script proclaiming Arch's superiority

Oh man, lolcode!

Offline

#96 2008-05-06 18:23:11

debris
Member
Registered: 2008-05-06
Posts: 2

Re: A script proclaiming Arch's superiority

What ? No Whitespace port ?

Offline

#97 2008-05-06 18:53:15

debris
Member
Registered: 2008-05-06
Posts: 2

Re: A script proclaiming Arch's superiority

There we go...Whitespace port:

Download:
http://download.yousendit.com/AB8CA07B0C0BB954

Mandatory screenshot:
http://img138.imageshack.us/img138/2800 … estrt7.png

Can be run with any Whitespace interpreter/compiler, including
the official Whitespace interpreter:
http://compsoc.dur.ac.uk/whitespace/download.php

or Whitespace .NET:
Whitespace .NET: http://spacesharp.batard.info/

No animals were hurt in the making of this software.

Offline

#98 2008-05-06 19:18:45

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: A script proclaiming Arch's superiority

We got all those programming languages, but what about oral/written languages?

braille.png

.- .-. -.-. .... / .. ... / -... . ... -
Fornicis est optimus!
καμάρα is καλύτερος!
Abok zhah alurl!

Last edited by Ghost1227 (2008-05-06 19:19:17)


.:[My Blog] || [My GitHub]:.

Offline

#99 2008-05-06 19:39:19

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: A script proclaiming Arch's superiority

What did you translate Arch into? an actual arch?


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#100 2008-05-06 21:35:10

ornitorrincos
Forum Fellow
From: Bilbao, spain
Registered: 2006-11-20
Posts: 198

Re: A script proclaiming Arch's superiority

¡Arch es la mejor!
Arch onena da!

Last edited by ornitorrincos (2008-05-07 17:15:48)


-$: file /dev/zero
/dev/zero: symbolic link to '/dev/brain'

Offline

Board footer

Powered by FluxBB