You are not logged in.
Italian version: "Arch è la migliore!"
Love, and do what thou wilt - St. Augustine of Hippo
Offline
Updated for the new Italian translation, and I'm working on getting a Spanish translation.
# 11 Nov 06:44:53 PST
# Italian tranlsation fixed
puts "Pick a language (or type quit to quit):"
%w(english spanish chinese german greek dutch italian australian norwegian swedish 4chan valley portuguese lol russian).each do |i|
puts i.capitalize
end
lang = gets.chomp.downcase
case lang
when "english"
puts "Arch is the best!"
when "chinese"
puts "Write it in Chinese!"
when "german"
puts "Arch ist das beste!"
when "greek"
puts "Το Arch είναι το καλύτερο!"
when "dutch"
puts "Arch is de beste!"
when "italian"
puts "Arch è la migliore!"
when "australian"
puts "Arch, you little ripper! Mate, that's fully sick, tops!"
when "norwegian"
puts "Arch er best!"
when "swedish"
puts "Arch är bäst!"
when "4chan"
puts "i liek arch, eh is a pretty cool guy! eh has kiss method"
puts "and doesn't afraid of anything!"
when "valley"
puts "Arch's not the best!? As if, I'm so sure!"
when "portuguese"
puts "Arch Linux é o melhor!"
when "lol"
puts "lulz, n00b - arch is teh pwnz0r"
when "russian"
puts "Арч лучший!"
when "quit"
puts "May the Arch be with you."
exit
else
puts "Unknown language \"#{lang}\""
end
Last edited by elmer_42 (2008-11-12 03:10:17)
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
> archisthebestpy @ http://vminch.googlepages.com/archisthebest!
:: 3.0alpha1 is out!
Updates:
- new patches
- code restructure
- less documentation
- main() runs in O(1) (it used to be O(1), but that *felt* a little laggy so of course we reimplemented it).
Developers wanted!
Last edited by vkumar (2008-11-11 23:26:55)
div curl F = 0
Offline
@vkumar
I hate runtime exceptions... I'd change the main function like this:
def main():
language=None
while not language:
try:
language = int(raw_input(menu))
except ValueError:
print "Please stick to numbers >_>"
print axn.get(language, "You fail at picking numbers -_-.")
seems more robust in this way
Offline
@zukka: Innovative, but - KISS!
dict.get() normally takes 1 argument (a key), but can also take another (a message).
In case your specified key is not in the dict, it will print your message.
The present version accomplishes the same thing .
def main():
language = int(raw_input(menu)) # cast as int
print axn.get(language, "You fail at picking numbers -_-.") # latent error handling
and -
What do you guys think about a live cd? I mean, everbody should try this in a safe environment without harming his carefully optimized windows installation, so a live cd is a must in my eyes...maybe we can think about an multi-language graphical installer with some eye candy?
+1. Will contribute anything I can!
Last edited by vkumar (2008-11-12 00:05:07)
div curl F = 0
Offline
@zukka: Innovative, but - KISS!
dict.get() normally takes 1 argument (a key), but can also take another (a message).
In case your specified key is not in the dict, it will print your message.
I know, or better , I studied it after i saw it in the code and I'll probaly use it when I'll have the opportunity .
My "try" was there to trap the exception while converting a non numerical input string to int.
I wrote it because the program crashed on me the first time I used it .
I must admit that at the time I was not so good at using this great program .
Here's the error I got
:: Enter a number:
a
Traceback (most recent call last):
File "./archisthebest.py", line 68, in <module>
main()
File "./archisthebest.py", line 64, in main
language = int(raw_input(menu))
ValueError: invalid literal for int() with base 10: 'a'
Offline
ahhckk! A bug!
I was hoping that int() would run ord() on non-integer characters.
2 solutions;
lang = raw_input(menu)
nums = map(str, range(0, 10))
for char in lang:
if char not in nums:
print "stop wasting your time"
language = int(lang)
or the one you posted.
If you wanted, you could run ord() on each char and then % the resulting number by 10.
--
I must ask though - why on Earth would you enter 'a' after you read "Enter a number:"?
I assumed that nobody would..
div curl F = 0
Offline
I've added a Spanish translation, straight from a native speaker. Arch es el mejor!
# 11 Nov 06:44:53 PST
# Italian tranlsation fixed
# 11 Nov 19:07:14
# Added Spanish translation
puts "Pick a language (or type quit to quit):"
%w(english spanish chinese german greek dutch italian australian norwegian swedish 4chan valley portuguese lol russian).each do |i|
puts i.capitalize
end
lang = gets.chomp.downcase
case lang
when "english"
puts "Arch is the best!"
when "spanish"
puts "Arch es el mejor!"
when "chinese"
puts "Write it in Chinese!"
when "german"
puts "Arch ist das beste!"
when "greek"
puts "Το Arch είναι το καλύτερο!"
when "dutch"
puts "Arch is de beste!"
when "italian"
puts "Arch è la migliore!"
when "australian"
puts "Arch, you little ripper! Mate, that's fully sick, tops!"
when "norwegian"
puts "Arch er best!"
when "swedish"
puts "Arch är bäst!"
when "4chan"
puts "i liek arch, eh is a pretty cool guy! eh has kiss method"
puts "and doesn't afraid of anything!"
when "valley"
puts "Arch's not the best!? As if, I'm so sure!"
when "portuguese"
puts "Arch Linux é o melhor!"
when "lol"
puts "lulz, n00b - arch is teh pwnz0r"
when "russian"
puts "Арч лучший!"
when "quit"
puts "May the Arch be with you."
exit
else
puts "Unknown language \"#{lang}\""
end
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
...and the Thai translation
อาชดีทีสุดี
edit: I'm still learning Thai so this may not be entirely correct
Last edited by sand_man (2008-11-12 03:33:05)
Offline
I must ask though - why on Earth would you enter 'a' after you read "Enter a number:"?
I assumed that nobody would..
Because "A" is the best letter. Doh.
Offline
French one :
Arch est le meilleur !
Offline
I've added the French translation
# 11 Nov 06:44:53 PST
# Italian tranlsation fixed
# 11 Nov 19:07:14
# Added Spanish translation
# 11 Nov 06:56:44
# Added French translation
puts "Pick a language (or type quit to quit):"
%w(english spanish french chinese german greek dutch italian australian norwegian swedish 4chan valley portuguese lol russian).each do |i|
puts i.capitalize
end
lang = gets.chomp.downcase
case lang
when "english"
puts "Arch is the best!"
when "spanish"
puts "Arch es el mejor!"
when "french"
puts "Arch est le meilleur!"
when "chinese"
puts "Write it in Chinese!"
when "german"
puts "Arch ist das beste!"
when "greek"
puts "Το Arch είναι το καλύτερο!"
when "dutch"
puts "Arch is de beste!"
when "italian"
puts "Arch è la migliore!"
when "australian"
puts "Arch, you little ripper! Mate, that's fully sick, tops!"
when "norwegian"
puts "Arch er best!"
when "swedish"
puts "Arch är bäst!"
when "4chan"
puts "i liek arch, eh is a pretty cool guy! eh has kiss method"
puts "and doesn't afraid of anything!"
when "valley"
puts "Arch's not the best!? As if, I'm so sure!"
when "portuguese"
puts "Arch Linux é o melhor!"
when "lol"
puts "lulz, n00b - arch is teh pwnz0r"
when "russian"
puts "Арч лучший!"
when "quit"
puts "May the Arch be with you."
exit
else
puts "Unknown language \"#{lang}\""
end
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
java?
public class Best {
public static void main (String args[]) {
System.out.println("Arch is the Best!")
}
}
Last edited by jelly (2008-11-14 15:28:44)
Offline
java?
public class Best {public static void main (String args[]) {
System.out.println("Arch is the Best!"
}
}
Just a minor bugfix on the java version:
public class Best {
public static void main (String args[]) {
System.out.println("Arch is the Best!")
}
}
Offline
jelly wrote:java?
public class Best {public static void main (String args[]) {
System.out.println("Arch is the Best!"
}
}Just a minor bugfix on the java version:
public class Best { public static void main (String args[]) { System.out.println("Arch is the Best!") } }
Another bugfix release:
public class Best {
public static void main (String args[]) {
System.out.println("Arch is the Best!");
}
}
Offline
Quite a buggy app you've got there, Java devs.
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
mmhmm.
div curl F = 0
Offline
java... what do you expect?
nexuiz, quake, wsw and other players can join a game using this config:
set name "Arch is the best!"
bind MOUSE1 "say ^3Arch ^2is the ^3best^2!!!"
bind MOUSE2 "say ^2Arch ^3is the ^2best^3!!!"
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
It's a very really hilarous and crazy topic! Do you think "Arch is the Best!" could be turned ISO 9000 ?
I've made a version in Inform 7, a system in natural language for creating textual adventures.
"Arch is the best" by Farvardin.
My Room is a room. The description of My Room is "The bedroom of a geek.".
The computer is a switched off device in My Room.
The description of computer is "You've just uninstalled Ubuntu from this computer to switch to the best linux distro ever.".
Corridor is outside from My Room.
After switching on computer:
say "Arch is the Best!".
After switching off computer:
say "Arch was still the Best today!";
continue the action.
Instead of going outside when the computer is switched on, say "You can't leave such a good Linux distribution when there is still something on the screen...".
test me with "examine computer / turn on computer/go out/turn off computer/go out"
Inform 7 turns this code into a file which can be read by a virtual machine, the z-machine (like the one used by Zork).
You can try an interpreter in java:
http://ifiction.free.fr/index.php?id=je … &terp=zmpp
The focus may not work well with firefox on linux (even if archlinux is the best...).
There is a java web start for using the interpreter outside the browser:
http://ifiction.free.fr/zmppjnlp.php?j=038
and even a flash version:
http://ifiction.free.fr/index.php?id=jeuflash&j=038
NOTE: Beware, this page (and maybe others) is spammed:
http://arch.yarrt.com/implementations/BASIC
Last edited by farvardin (2008-11-15 21:26:54)
Offline
@vkumar: Dude, where's my upside down cat (.-.)? I just saw this funny looking cat (-_-) sitting in its place.
This isn't cool, this isn't cool at all.
Offline
lol
Last edited by cameron122000 (2009-09-17 02:11:05)
Offline
@vkumar: Dude, where's my upside down cat (.-.)? I just saw this funny looking cat (-_-) sitting in its place.
This isn't cool, this isn't cool at all.
Oh noes!
I'm not going to risk a fork! Fixing it right away!
Also, announcing that the project has MOVED (yes, again).
http://pigdeth.co.nr/Arch/archisthebest.html
We have our own server (well, we have space on mine).
Contributions still welcome.
div curl F = 0
Offline
@cameron122000: seriously? Perhaps you haven't seen the *real* truth yet.
div curl F = 0
Offline
Finnish: Arch on paras!
----
I lol'd.
Last edited by Exitium (2008-11-27 11:08:32)
Offline
I hate to be a downer on this magificent effort and brilliant showmanship of Arch superiority, but some noobish bot is spamming our Unofficially Official Project Website!
Surely this is a concerted attempt by users of other distributions to try and undermine our power by offering us great offers on "silver and black metallic dress" "flat wire for making jewelry" and "flowers pacific gold mustard."
We must let them know that we, the best users IN THE WORLD will not be distracted by such things.
Offline