You are not logged in.

#201 2008-08-28 14:53:08

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: A script proclaiming Arch's superiority

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

#202 2008-08-28 16:48:55

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: A script proclaiming Arch's superiority

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

#203 2008-08-30 07:20:29

richs-lxh
Member
Registered: 2008-08-23
Posts: 76

Re: A script proclaiming Arch's superiority

Back to basics wink

01000001011100100110001101101000001000000110100101110011001000000111010001101000011001010010000001100010011001010111001101110100

Offline

#204 2008-08-31 00:34:14

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: A script proclaiming Arch's superiority

#!/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

#205 2008-09-16 21:15:06

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: A script proclaiming Arch's superiority

Isn't it time to add gettext support? wink


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

#206 2008-09-17 02:56:38

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

Re: A script proclaiming Arch's superiority

Blµb wrote:

Isn't it time to add gettext support? wink

patches welcome ;-)

Offline

#207 2008-09-23 02:07:48

eldalion
Member
From: Chapel Hill, NC
Registered: 2008-03-11
Posts: 35

Re: A script proclaiming Arch's superiority

Where's the facebook app?

Offline

#208 2008-09-23 03:48:25

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: A script proclaiming Arch's superiority

http://img217.imageshack.us/img217/4922/leetpostin8.png (just a screenshot, SFW - safe for work)

"Today ..." lol

I had to point that out. tongue

-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

#209 2008-09-28 16:50:56

clinx
Member
From: Muenster, Germany
Registered: 2008-04-13
Posts: 11

Re: A script proclaiming Arch's superiority

# 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

#210 2008-09-28 20:34:17

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: A script proclaiming Arch's superiority

.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

#211 2008-09-29 16:55:08

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: A script proclaiming Arch's superiority

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

#212 2008-09-29 17:07:08

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: A script proclaiming Arch's superiority

Even the Gpg app thinks so..... wink

----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.9 (GNU/Linux)

jA0EAwMCoH7WqrSuRchFgyVKiSKnGFaoMPQnk7AewtHVKeXQm7Ly6580Gju3f0nj6OXUD
BnV2m1Kjom19w0KoqTv1esth5Ca+bzCOvvxpjHXHWughYHybZBQxblJSlg7RHsL71p
dvU0
=dm1F
-----END PGP MESSAGE-----

Offline

#213 2008-09-29 17:12:35

oseb
Member
From: Busan, Korea
Registered: 2005-05-26
Posts: 31

Re: A script proclaiming Arch's superiority

violagirl23 wrote:

Japanese translation:

アーチが最高!

Chinese and/or Korean translation coming soon! (hopefully)

아치가 최고여!

korean translation now

Offline

#214 2008-09-29 17:33:11

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: A script proclaiming Arch's superiority

I took the liberty of porting this to 1890's technology:

.- .-. -.-. .... / .. ... / - .... . / -... . ... - -.-.-- -.-.-- -.-.--

Offline

#215 2008-09-30 09:21:06

kakTuZ
Member
From: Hannover, Germany
Registered: 2007-10-20
Posts: 86

Re: A script proclaiming Arch's superiority

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.

Offline

#216 2008-09-30 10:23:42

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: A script proclaiming Arch's superiority

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

#217 2008-09-30 22:11:06

sqrg
Member
Registered: 2008-09-30
Posts: 2

Re: A script proclaiming Arch's superiority

Pseudo-binary!

000000000000000000000
001100111000111010010
010010100101000010010
011110111001000011110
010010101001000010010
010010100100111010010
000000000000000000000
000000111101001001110
011110011001001010000
000000011001111011110
011110011001001010000
000000011001001011110
000000000000000000000
011100011100111011110
010010100001000001100
011100111100110001100
010010100000001001100
011100111101110001100

Can you spot it? smile

Offline

#218 2008-10-01 00:10:19

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: A script proclaiming Arch's superiority

kakTuZ wrote:
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

#219 2008-10-01 01:20:22

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: A script proclaiming Arch's superiority

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 wink

Offline

#220 2008-10-03 17:37:39

thoughtcrime
Member
Registered: 2008-09-27
Posts: 156
Website

Re: A script proclaiming Arch's superiority

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

#221 2008-10-03 17:41:38

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: A script proclaiming Arch's superiority

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 ?


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

#222 2008-10-03 17:44:25

yama
Member
From: Norway
Registered: 2008-04-03
Posts: 71

Re: A script proclaiming Arch's superiority

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 lol

Last edited by yama (2008-10-03 17:44:50)

Offline

#223 2008-10-03 17:48:44

thoughtcrime
Member
Registered: 2008-09-27
Posts: 156
Website

Re: A script proclaiming Arch's superiority

yama wrote:
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 lol

Okay, you guys are right. Here's something every windows-user can use smile

$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

#224 2008-10-03 17:57:24

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: A script proclaiming Arch's superiority

You need to provide the executable, not some silly code ;-)

Offline

#225 2008-10-03 17:59:19

thoughtcrime
Member
Registered: 2008-09-27
Posts: 156
Website

Re: A script proclaiming Arch's superiority

lucke wrote:

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

Board footer

Powered by FluxBB