You are not logged in.
The only problem with that being that I don't know which code matches up to which language. =/ .
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
Love, and do what thou wilt - St. Augustine of Hippo
Offline
Alright, I'll get to work.
e:Here's my attempt. It works for me (en_US), but I don't really have the desire to try switching up my locale just to test it out.
lang = `locale|grep LANG|cut -c6-7`.chomp
case lang
when "id"
puts "Arch terbaik!"
when "eu"
puts "Arch onena da!"
when "bn"
puts "Arch shobcheye bhalo!"
when "zh"
puts "Arch 是最牛逼的!"
when "cs"
puts "Arch je nejlepší!"
when "cs"
puts "Arch er bedst!"
when "de"
puts "Arch ist das Beste!"
when "nl"
puts "Arch is de beste!"
when "en"
puts "Arch is the best!"
when "fil"
puts "Mabuhay ang Arch!"
when "fr"
puts "Arch est le meilleur!"
when "gl"
puts "Arch é o mellor!"
when "el"
puts "Το Arch είναι το καλύτερο!"
when "hi"
puts "आर्ख सब से अच्छा है ।"
when "hu"
puts "Az Arch a legjobb!"
when "ja"
puts "アーチュが一番ですよ!"
when "nn"
puts "Arch er best!"
when "pl"
puts "Arch jest najlepszy!"
when "pt"
puts "Arch é o melhor!"
when "quebecois"
puts "Arch est le plus meilleure du monde!"
when "ru"
puts "Арч - лучший!"
when "sr"
puts "Arch je najbolji!"
when "sl"
puts "Arch je najboljši!"
when "es"
puts "¡Arch es la mejor!"
when "sv"
puts "Arch är bäst!"
when "tr"
puts "Arch en iyisidir!"
when "he"
puts "ארצ' זה הטוב ביותר!"
else
puts "Sorry, I don't know #{lang}. :("
end
Last edited by elmer_42 (2009-03-21 18:51:47)
[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]
Offline
Elven: Arch air si shaer!
Consistency is not a virtue.
Offline
I just remapped my keyboard (physically, it is dvorak virtually)
It looks like this:
________________________
|A R C H L I N U X ' § , <|
|1 5 ` Z 3 - B E S T . ^ |
|W Y M F 2 4 J 6 7 8 9 0 |
|K Q + Å P D Ä G V O Ö |
----------------------------
ARCHLINUX 15 ZE BEST
translated: archlinux is the best
bugfix, Q was missing.
Last edited by hatten (2009-04-15 17:49:00)
Offline
2 elmer_42:
PLease add uzbek (uz) language too!
"Arch eng zo'r!" (latin)
"Arch энг зўр!" (cyrillic)
Last edited by presario (2009-07-10 11:02:12)
Running ArchLinux on Compaq Presario v2000
Offline
Pig Latin: "Archway isway ethay estbay!"
Free cross platform games - Free games that will run in Windows, Linux and OS X.
Offline
Whatabout in klingon!?
Or goa'uld?
KREE!!! QA'PLA!!!
Offline
Didn't see any java swing version.
Heres one
ArchBest.java
import javax.swing.JOptionPane;
public class ArchBest {
public static void main(String args[]) {
JOptionPane.showMessageDialog(null, "Arch is the Best!");
System.exit(0);
}
}
Compile and Run
javac ArchBest.java
java ArchBest
Offline
Awesome project. Maybe we could get a LiveCD of this going.
Offline
I know it has been a while but this thread really made me cry, so I somehow have to contribute too:
Here is a little operating system that can be written on a floppy disk (or booted with a vm (like qemu)):
org 0x7C00
jmp 0x0000:start
start:
cli
mov ax, 0x9000 ; Stack
mov ss, ax
mov sp, 0
sti
; Segment register
mov ax, 0x0000
mov es, ax
mov ds, ax
mov [bootdrv], dl
mov ah, 0x02
xor bx, bx
xor dx, dx
int 0x10
mov cx, 0x7d0
mov al, 0x20
mov ah,0x0E
mov bx,0x0007
.clearscreen:
int 0x10
loop .clearscreen
mov ah, 0x02
xor bx, bx
mov dx, 0x0B1B
int 0x10
mov si, messagebox1
call putstr
mov ah, 0x02
xor bx, bx
mov dx, 0x0C1B
int 0x10
mov si, messagebox2
call putstr
mov ah, 0x02
xor bx, bx
mov dx, 0x0D1B
int 0x10
mov si, messagebox3
call putstr
.never:
hlt
jmp .never
bootdrv db 0
messagebox1 db "| ~~~~~~~~~~~~~~~~~~~ |",0
messagebox2 db "| Arch is the Best! |",0
messagebox3 db "| ~~~~~~~~~~~~~~~~~~~ |",0
putstr:
lodsb
or al,al
jz short putstrd
mov ah,0x0E
mov bx,0x0007
int 0x10
jmp putstr
putstrd:
retn
times 512-($-$$)-2 db 0
dw 0AA55h
To compile it you need nasm: nasm -f bin archos.asm
and to test it with qemu: qemu -fda archos
and to write it on a floppy: dd if=archos of=/dev/fd0
Offline
@moljac024: Made an german translation. Sorry, if i made any mistake, but I'm new to programming!
#!/bin/sh /usr/bin/zenity --info --text "Bogen ist das am Besten!"
Epic translation.
The initial post would have been even funnier with [hidden] tags.
Last edited by demian (2010-04-15 08:18:27)
no place like /home
github
Offline
Just for those not speaking/understanding German, "Bogen ist das am Besten" is sort of pidgin German saying "Arch/Bow/Curve is the at (the) best"
And yea, awesome thread.
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
#!/bin/sh
echo "Arch est la meilleure distribution de Linux"
Offline
Can we get this optimized for SMP. It would be sweet on my Core 2 Quad.
Guarantee does not cover shark bite, bear attack, or children under 5.
Offline
will this be visible on my netbook's 1024x600 screen?please someone, help..am a newbie to all this
what i cannot build, i do not understand
Offline
Added Kazakh translation and Lua code
Всем выйти из Сумрака!!!
Уважение - это когда чтобы поприветствовать человека вытаскиваешь оба наушника.
my blog
Offline
perl -e '$_="arch";(print$_.$^O),$_=~s$arch$is$;printf(" %s the",$_);printf(" %s!\n",$^O='best');'
Offline
Autohotkey:
+!a:: MsgBox Arch is the best!
Now ewerytime you press Alt-Shift-A, you get a shiny message! (in Windows that is...)
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I know it has been a while but this thread really made me cry, so I somehow have to contribute too:
Here is a little operating system that can be written on a floppy disk (or booted with a vm (like qemu)):
org 0x7C00 jmp 0x0000:start start: cli mov ax, 0x9000 ; Stack mov ss, ax mov sp, 0 sti ; Segment register mov ax, 0x0000 mov es, ax mov ds, ax mov [bootdrv], dl mov ah, 0x02 xor bx, bx xor dx, dx int 0x10 mov cx, 0x7d0 mov al, 0x20 mov ah,0x0E mov bx,0x0007 .clearscreen: int 0x10 loop .clearscreen mov ah, 0x02 xor bx, bx mov dx, 0x0B1B int 0x10 mov si, messagebox1 call putstr mov ah, 0x02 xor bx, bx mov dx, 0x0C1B int 0x10 mov si, messagebox2 call putstr mov ah, 0x02 xor bx, bx mov dx, 0x0D1B int 0x10 mov si, messagebox3 call putstr .never: hlt jmp .never bootdrv db 0 messagebox1 db "| ~~~~~~~~~~~~~~~~~~~ |",0 messagebox2 db "| Arch is the Best! |",0 messagebox3 db "| ~~~~~~~~~~~~~~~~~~~ |",0 putstr: lodsb or al,al jz short putstrd mov ah,0x0E mov bx,0x0007 int 0x10 jmp putstr putstrd: retn times 512-($-$$)-2 db 0 dw 0AA55h
To compile it you need nasm: nasm -f bin archos.asm
and to test it with qemu: qemu -fda archos
and to write it on a floppy: dd if=archos of=/dev/fd0
Someone needs to port Doom to it.
A new OS without Doom is not a good OS.
Offline
I am Just Another Lazy Perl Hacker and I was bored while fixing my daughter's windoze box (sigh) so I wrote this to keep my spirits up ;^)
I began by just doing a localized version but I got lazy when it came to stuff like generating .pos and such. So I just hacked it together. In doing so, I realized that what makes Arch the best is having so many ways to say it, so say it loud and proud!
Oh, and please note that this program will be a good test of your terminal's current level of Unicode support.
#!/usr/bin/perl
use strict;
use warnings;
use POSIX qw(locale_h);
use locale; # for locale detection
use utf8; # unicode source code
binmode STDOUT, ":encoding(UTF-8)"; # print unicode
# These would be easier to produce as opposed to string literals, besides, what
# about octal and stuff like mime base 64 ... not to mention the lack of XML.
# Binary ASCII => 0100000101110010011000110110100000100000011010010111001100100000011101000110100001100101001000000110001001100101011100110111010000100001
# Hexidecimal ASCII => '4172636820697320746865206265737421'
# is el right for Greek? It's supposed to be Modern Greek
# how would one indicate an Ancient Chinese locale?
# I just made up fr_CA
# Uzbeck (uz) -- I went with cyrillic
# "Arch eng zo'r!" (latin)
# "Arch энг зўр!" (cyrillic)
# reversed => !tseb eht si hcrA
# haxor => 'Arch 15 7h3 b357!',
# Morse Code => q|..- -... ..- -. - ..- / .. ... / - .... . / -... . ... -|,
# Braille => q|⠁⠗⠉⠓⠀⠊⠎⠀⠮⠀⠃⠑⠎⠞⠲|,
my %AITB = (
ar => 'ارتش هو الأفضل',
bg => 'Арч е най-добрия!',
bn => 'Arch shobcheye bhalo!',
cs => 'Arch je nejlepší!',
cs_MO => 'Arch je nejbetélnější!', # Hantec, dunno a real code
da => 'Arch er bedst!',
de => 'Arch ist das Beste!',
en => 'Arch is the best!',
en_AU => 'Arch is fair dinkum, mate!',
en_GB => 'Arch is simply spiffing.',
'en_US@piglatin' => "Archway isway ethay estbay!", # inkscape says so, lol
es => '¡Arch es el mejor!',
es_MX => '¡Arch es padrísimo!',
eu => 'Arch onena da!',
fi => 'Arch on paras!',
fil => 'Mabuhay ang Arch!',
fr => 'Arch est le meilleur!',
fr_CA => 'Arch est le plus meilleure du monde!', # Québécois, is fr_CA right?
el => 'Το Arch είναι το καλύτερο!',
gl => 'Arch é o mellor!',
he => "ארצ' זה הכי אחי!",
hi => 'आर्ख सब से अच्छा है ।',
hu => 'Az Arch a legjobb!',
id => 'Arch terbaik!', # Bahasa Indonesia
ja => 'Archが一番ですよ!',
kk => 'Арч - ең жақсы!',
lv => 'Arch ir labākais!',
mr => 'आर्च सगळ्यात भारी आहे!',
nl => 'Arch is de beste!',
no => 'Arch er best!',
pl => 'Arch jest najlepszy!',
pt => 'Arch é o melhor!',
ro => 'Аrch e cel mai bun!',
ru => 'Арч - лучший!',
se => 'Arch är bäst!',
sl => 'Arch je najboljši!',
sr => 'Arch je najbolji!',
ta => 'ஆர்ச்சே சிறந்தது!',
'tr' => 'Arch en iyisidir!',
uz => 'Arch энг зўр!',
zh => 'Arch 最棒了!',
'zh_??' => '阿祺,盡善矣。', # Ancient Chinese, dunno a code
);
my $lang = shift || get_lang() || 'en'; # the original was English
print "$_\t$AITB{$_}\n" for sort keys %AITB;
defined $AITB{$lang} and print $AITB{$lang}, "\n";
sub get_lang {
my $loc = setlocale(LC_CTYPE);
$loc or return undef;
defined $AITB{$loc} and return $loc; # Why not support en_US@piglatin
my ($l5, $l2) = $loc =~ /^((\w\w)_\w\w)/;
return $l5 if defined $AITB{$l5};
return $l2 if defined $AITB{$l2};
return undef;
}
PS: I forgot to mention that I added es_MX
Last edited by rowdog (2010-08-02 20:38:23)
Offline
@rowdog & @schneida: :-D
Offline
I've ported this to HTML5:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Arch is the best!</title>
</head>
<body>
<p>Arch is the best!</p>
</body>
</html>
I also ported this to LolCode:
HAI
CAN HAS STDIO?
VISIBLE "Arch is the best!"
KTHXBYE
Last edited by SolomonKull (2010-08-02 22:06:42)
Offline
I have successfully ported it to the Go programming language:
package main
import "fmt"
func main() {
fmt.Println("Arch is the best!")
}
All bug reports are appreciated.
Offline
I have successfully ported it to the Go programming language:
package main import "fmt" func main() { fmt.Println("Arch is the best!") }
All bug reports are appreciated.
Awesome. I've added concurrency:
package main
import (
"fmt"
"strings"
)
func proclaim(c chan<- string) {
for _, w := range strings.Fields("Arch is the best!") {
c <- w
}
close(c)
}
func Proclamation() <-chan string {
c := make(chan string)
go proclaim(c)
return c
}
func main() {
for w := range Proclamation() {
fmt.Printf("%s ", w)
}
fmt.Println()
}
Offline