You are not logged in.
This thread started out pretty useful, but then contributors kept adding lots of useless cruft to the original. Maybe they didn't understand that the original script was meant as a joke. It didn't even handle arguments. I propose the following, back-to-the-simplicity-of-the-original script. Except that now we can handle arguments, so it's possible to have the script say "Arch is the best" in multiple languages.
#!/bin/bash
case "$0" in
"Arch is the best!") echo "Arch is the best!";;
"Arch ist das Beste!") echo "Arch ist das Beste!";;
"Arch e la Migliore!") echo "Arch e la Migliore!";;
esac
Offline
I have even better: it works with any language and doesn't need an extra file, just a command to set it up.
[18:48 catwell] alias archbest=echo
[18:48 catwell] archbest Arch e la Migliore!
Arch e la Migliore!
Offline
Back to basics
01000001011100100110001101101000001000000110100101110011001000000111010001101000011001010010000001100010011001010111001101110100
Offline
#!/usr/bin/env python
# -*- coding: utf8 -*-
##################################################
#Program: "Arch is pretty much the best ever"
#Author: Cyrus Metcalf
#Date: 28 June 2008
#Version:1.0
##################################################
#Altered by Allison Leigh
#Date: 29 June 2008
#Added Chinese and Vally slang
##################################################
#Altered by Jon-Petter
#Date: 7 August 2008
#Added Norwegian and Swedish
##################################################
#Altered by Vedant Kumar
#Date: 11 August 2008
#Added Pythonicness (2.5.2)
##################################################
#Altered by Evangelos Foutras
#Date: 19 August 2008
#Replaced loop with get() and added Greek
##################################################
#Altered by Kazuo Teramoto
#Date: 30 August 2008
#Added Portuguese (BR)
##################################################
menu = """
Options:
1) English
2) Chinese
3) German
4) Greek
5) Dutch
6) Italian
7) Australian
8) Norwegian
9) Swedish
10) 4chan.org slang
11) Valley slang
12) Portuguese
0) Quit
"""
axn = {
0 : "May the Arch be with you.",
1 : "Arch is the Best!",
2 : "Write it in Chinese!",
3 : "Arch ist das Beste!",
4 : "Το Arch είναι το καλύτερο!",
5 : "Arch is de Beste!",
6 : "Arch e la Migliore!",
7 : "Arch you little ripper! Mate, that's fully sick, tops!",
8 : "Arch er best!",
9 : "Arch är Bäst!",
10 : "I like arch, eh is a preetty cool guy! eh Has Kiss method\n and doesn't afraid of Anything!",
11 : "Arch's not the Best!?, As if, I'm so sure!"
12: "Arch Linux é o melhor!"
}
def main():
language = int(raw_input(menu))
print axn.get(language, "You fail at picking a number .-.")
if language == 0:
exit(0)
#####################################################################
#here is a recipe for cream wafers, my favorite cookie. yum.
# 2 cups all-purpose flour
# 1 cup butter
# 1/3 cup heavy cream
# sugar
# Mix ingredients, chill for an hour, roll to 1/8" thick (2mm)
# Cut out 1 1/2"(3cm) circles. fork 4 times and bake for 7-9 mins at 375F(190C)
# Creamy Filling!
# 3/4 cups powdered sugar
# 1 tsp. vanilla
# 1/4 cup butter.
# mix and slather on wafers
#####################################################################
if __name__ == '__main__':
main()
Offline
Isn't it time to add gettext support?
You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.
Offline
Isn't it time to add gettext support?
patches welcome ;-)
Offline
Where's the facebook app?
Offline
http://img217.imageshack.us/img217/4922/leetpostin8.png (just a screenshot, SFW - safe for work)
"Today ..."
I had to point that out.
-dav7
Last edited by dav7 (2008-09-23 03:48:39)
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
# WTFPL
kdialog --msgbox "Arch is the best"
wget ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/iso/2008.06/archlinux-2008.06-core-i686.iso
kdialog --msg "Burn the ISO and rock on"
Offline
.nolist
#include "ti83plus.inc"
.list
.org userMem - 2
.db t2ByteTok, tAsmCmp
b_call(_ClrLCDFull)
b_call(_HomeUp)
ld hl, $0003
ld (curRow), hl
ld hl, archMsg
b_call(_PutS)
b_call(_NewLine)
ret
archMsg:
.db "Arch is the best", 0
.end
end
Last edited by Wintervenom (2008-09-28 20:35:03)
Offline
haskell
-- WTFPL
module Main where
main = putStrLn "Arch is the best!"
You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.
Offline
Even the Gpg app thinks so.....
----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.9 (GNU/Linux)jA0EAwMCoH7WqrSuRchFgyVKiSKnGFaoMPQnk7AewtHVKeXQm7Ly6580Gju3f0nj6OXUD
BnV2m1Kjom19w0KoqTv1esth5Ca+bzCOvvxpjHXHWughYHybZBQxblJSlg7RHsL71p
dvU0
=dm1F
-----END PGP MESSAGE-----
Offline
Japanese translation:
アーチが最高!
Chinese and/or Korean translation coming soon! (hopefully)
아치가 최고여!
korean translation now
Offline
I took the liberty of porting this to 1890's technology:
.- .-. -.-. .... / .. ... / - .... . / -... . ... - -.-.-- -.-.-- -.-.--
Offline
I took the liberty of porting this to 1890's technology:
.- .-. -.-. .... / .. ... / - .... . / -... . ... - -.-.-- -.-.-- -.-.--
Thank you for this very important contribution. This grants Arch to be the first choise for early adaptors of emerging communication technology. Good to know, arch is still bleeding edge.
Offline
I've converted the brainfuck code to Ook
Ook. Ook. Ook. Ook. Ook. Ook? Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook? Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook.
Ook. Ook. Ook! Ook? Ook. Ook? Ook! Ook?
Ook! Ook! Ook. Ook? Ook. Ook. Ook? Ook.
Ook? Ook! Ook? Ook. Ook! Ook! Ook. Ook?
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook? Ook. Ook? Ook!
Ook. Ook? Ook. Ook? Ook! Ook. Ook? Ook.
Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook?
Ook! Ook? Ook! Ook! Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook? Ook? Ook! Ook? Ook.
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook?
Ook! Ook! Ook? Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook? Ook? Ook! Ook? Ook. Ook! Ook.
Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook. Ook? Ook.
Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook?
Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook!
Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook.
Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook?
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook.
Ook! Ook. Ook? Ook. Ook? Ook. Ook. Ook.
Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook!
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook.
You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.
Offline
Pseudo-binary!
000000000000000000000
001100111000111010010
010010100101000010010
011110111001000011110
010010101001000010010
010010100100111010010
000000000000000000000
000000111101001001110
011110011001001010000
000000011001111011110
011110011001001010000
000000011001001011110
000000000000000000000
011100011100111011110
010010100001000001100
011100111100110001100
010010100000001001100
011100111101110001100
Can you spot it?
Offline
SkonesMickLoud wrote:I took the liberty of porting this to 1890's technology:
.- .-. -.-. .... / .. ... / - .... . / -... . ... - -.-.-- -.-.-- -.-.--
Thank you for this very important contribution. This grants Arch to be the first choise for early adaptors of emerging communication technology. Good to know, arch is still bleeding edge.
Legacy, FTW!
Offline
shouldn't we digg this or something like that?
i freaking love this thread. It could be a starting tutorial to introduce programing and its differences in various languages
Offline
Here's my AutoIt3 port for windows:
ConsoleWrite("Arch is the best!");
GUI Version:
Oh shit - I can't get the AutoIt Help working under wine. Hopefully someone else makes one, because GUIs are important to windows users.
Last edited by thoughtcrime (2008-10-03 17:38:07)
- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user
Offline
Here's my AutoIt3 port for windows:
ConsoleWrite("Arch is the best!");
GUI Version:
Oh shit - I can't get the AutoIt Help working under wine. Hopefully someone else makes one, because GUIs are important to windows users.
You dare insult windows users with a console application ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
thoughtcrime wrote:Here's my AutoIt3 port for windows:
ConsoleWrite("Arch is the best!");
GUI Version:
Oh shit - I can't get the AutoIt Help working under wine. Hopefully someone else makes one, because GUIs are important to windows users.You dare insult windows users with a console application ?
haha. thats exactly my thought. Give that to widows users and they wont know what to do with it anyway
Last edited by yama (2008-10-03 17:44:50)
Offline
moljac024 wrote:thoughtcrime wrote:Here's my AutoIt3 port for windows:
ConsoleWrite("Arch is the best!");
GUI Version:
Oh shit - I can't get the AutoIt Help working under wine. Hopefully someone else makes one, because GUIs are important to windows users.You dare insult windows users with a console application ?
haha. thats exactly my thought. Give that to widows users and they wont know what to do with it anyway
Okay, you guys are right. Here's something every windows-user can use
$version = "0.1 Alpha";
while 1
TraySetToolTip("Arch is best! Reminder " & $version);
Msgbox(0,"Yo listen up!","Arch is best!");
sleep(3600*1000);
wend
Last edited by thoughtcrime (2008-10-03 17:49:45)
- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user
Offline
You need to provide the executable, not some silly code ;-)
Offline
You need to provide the executable, not some silly code ;-)
Oh I kinda forgot that we were really talking about windows users. Anyone knows a good host where I can put it?
- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user
Offline