You are not logged in.

#151 2008-05-14 14:28:03

the_glu
Member
Registered: 2008-05-11
Posts: 35

Re: A script proclaiming Arch's superiority

A way to add new language would be usefull to ^^

Offline

#152 2008-05-14 14:31:04

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: A script proclaiming Arch's superiority

the_glu wrote:

A way to add new language would be usefull to ^^

Done big_smile

Offline

#153 2008-05-14 15:15:48

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

Re: A script proclaiming Arch's superiority

Good choice of licensing terms big_smile

Anyway, since human languages seem to count as well, let me provide an Italian translation:

Arch è la migliore!

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

#154 2008-05-14 17:17:08

uzbirglones
Member
From: São Carlos - SP - Brazil
Registered: 2007-06-01
Posts: 24

Re: A script proclaiming Arch's superiority

ok... after many days of hard work i've finnaly made it to brazilian portuguese:

Arch é o melhor!!

just have to check if in other portuguese-speaking countries it should be fine...

Last edited by uzbirglones (2008-05-14 17:18:39)

Offline

#155 2008-05-14 21:07:02

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: A script proclaiming Arch's superiority

Made a few improvements:
  - Adding a new language actually works now (yay)
  - The number of implementations in each language is shown next to the name of the language in the sidebar
  - You can click the title of an implementation to be taken to a page where you can comment on it (example).

Any more ideas? big_smile

Last edited by Barrucadu (2008-05-14 21:07:44)

Offline

#156 2008-05-14 21:17:06

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: A script proclaiming Arch's superiority

Based on danielsoft's script, but using libnotify:

#!/bin/sh
arch=$(uname -r)
if [[ "$arch" =~ "ARCH" ]]; then
    notify-send -u critical 'Arch is the best!'
else
    notify-send -u critical 'Get a proper distribution...' 'Arch is the best!'
fi

Urgency set to "critical" because it is, of course, vital that the user should be aware of Arch's superiority.

Edit: Gah! That's what I get for running a custom kernel! I couldn't understand why it kept failing here. lol

Last edited by dunc (2008-05-14 21:22:21)


0 Ok, 0:1

Offline

#157 2008-05-14 22:27:14

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

Re: A script proclaiming Arch's superiority

Barrucadu wrote:

After much work, I amassed this into an unofficially official website for the project: http://arch.yarrt.com

Brilliant! Kudos! big_smile


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

Offline

#158 2008-05-15 05:53:39

CuleX
Member
Registered: 2007-09-15
Posts: 107

Re: A script proclaiming Arch's superiority

I've created a PKGBUILD for the kernel module now. I had to create a tar.gz with the source files, sorry.

Tarball with PKGBUILD, install-file and sources: http://www.file-upload.net/download-851 … ar.gz.html

Offline

#159 2008-05-15 19:31:04

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: A script proclaiming Arch's superiority

Added two TeX implementations smile

Offline

#160 2008-05-18 01:39:00

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

Re: A script proclaiming Arch's superiority

What about SQL?

SELECT "Arch is the best!"

or for reuse

DECLARE @Arch varchar(14);
SET @Arch = "Arch is the best!";

SELECT @Arch

Offline

#161 2008-05-18 03:20:09

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

Re: A script proclaiming Arch's superiority

@Barrucadu:  The C++ page is a bit screwy...

Offline

#162 2008-05-18 17:51:45

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Re: A script proclaiming Arch's superiority

I'd like to contribute a finnish localization:

"Arch on paras!"

And what about some ASCII-banners?

Offline

#163 2008-05-18 19:40:01

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

Re: A script proclaiming Arch's superiority

Ok, time for a serbian translation.

"Arch je najbolji!"

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

#164 2008-05-18 20:54:16

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: A script proclaiming Arch's superiority

Finally, after almost a month of intensive bughunting I fixed the german translation. So here is the german translation of the bash-script in version 1.0final:

#!/bin/sh
/usr/bin/zenity --info --text "Arch ist das Beste!"

Offline

#165 2008-05-19 22:47:07

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Re: A script proclaiming Arch's superiority

We should consider using GNU gettext for i18n to keep things maintainable.

Offline

#166 2008-05-20 17:45:49

Dream_Team
Member
Registered: 2006-01-06
Posts: 34

Re: A script proclaiming Arch's superiority

Well for our CASIO friends (Graph 35+,65+,85 even if it may be too fast for the screen big_smile) :

\ClrText
\Locate 1,1,"Arch is the best"
\Stop

(ready to be copy pasted into gasetta).

Evolved version that bounces "Arch is the best" on your screen (when it reaches corners) :

1\->A~F
\While 1
A\->C
B\->D
A+E\->A
B+F\->B
A=1\=>1\->E
A=7\=>\(-)1\->E
B=1\=>1\->F
B=5\=>\(-)1\->F
\ClrText
\Locate B,A,"Arch is the best !"
\WhileEnd

Code released at do what the f*ck you want liscence
I'm not responsible of cool things done by spreading Arch's goodness.

Last edited by Dream_Team (2008-05-20 18:02:18)


Fight our cause here . http://freesyko.co.nr

Offline

#167 2008-05-20 23:17:26

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: A script proclaiming Arch's superiority

Dutch translation:

'Arch is de beste!'

Offline

#168 2008-05-29 18:32:03

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: A script proclaiming Arch's superiority

I made a quick and dirty Tkinter implementation:

#!/usr/bin/env python

import Tkinter as tk
from sys import exit

THE_BEST = 'Arch is the best!'

class Dialog(object):
    def __init__(self, label):
        self.label = label
        top = tk.Tk()
        f = tk.Frame(top)
        f.pack()
        l_msg = tk.Label(f, text=self.label)
        l_msg.pack()
        b_exit = tk.Button(f, text='Ya, rly!', command='exit')
        b_exit.pack()
        top.mainloop()


def main():
    Dialog(THE_BEST)

main()

Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#169 2008-05-29 18:43:44

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

Re: A script proclaiming Arch's superiority

This thread is becoming epic.  I'm gonna sticky it for a while.

Offline

#170 2008-05-29 19:32:50

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

Re: A script proclaiming Arch's superiority

I wonder if that while will be like the while of the "worse than failure" post... tongue
due to the importance of this project it should be here longer, I propose creating it's own git branch


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

Offline

#171 2008-05-30 09:35:17

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: A script proclaiming Arch's superiority

MOS 6502/6510 (Commodore 64) Assembler, just a quick hack smile

        .org   $2000        ; start address
        ldx    #0
loop    lda    output,x     ; main loop
        jsr    $ffd2
        inx
        cpx    #23
        bne    loop 
        rts
output  .byte  "ARCH LINUX IS THE BEST!"

SEE IT IN ACTION

Some info: The "program" only takes up 37 bytes in memory: 23 bytes for the output text and 14 bytes for the logic... I wanted it as simple as possible, so it doesnt even contain a basic start routine to make it runnable via "run". That stuff can be added of course, but it will nearly double the size of the program...

Wow, its a long time since i last touched this stuff, and its still the same fun... Seems i am getting old roll


want a modular and tweaked KDE for arch? try kdemod

Offline

#172 2008-05-30 10:37:50

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: A script proclaiming Arch's superiority

@ornitorrincos:  lol +1 big_smile
we should also make a package containing "every" developed implementation tongue
(obviously it must be kept stable.... something always break in development versions big_smile)

Offline

#173 2008-05-30 22:00:56

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: A script proclaiming Arch's superiority

funkyou wrote:

MOS 6502/6510 (Commodore 64) Assembler, just a quick hack smile

Argh. I've always regretted not learning Z80 asm on the Spectrum back in the '80s, but never more so than now.


0 Ok, 0:1

Offline

#174 2008-05-31 22:34:52

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: A script proclaiming Arch's superiority

Vala console version:

public class Best : GLib.Object
{
    public static void main(string [] args)
    {
        GLib.stdout.printf("Arch is the best!\n");
    }
}

and GTK+ version

using GLib;
using Gtk;

public class Best : Window 
{
    construct 
    {
        title = "Arch is the best!";
        create_widgets();
        this.resize(200, 100);
    }

    public void create_widgets() 
    {
        destroy += Gtk.main_quit;
        var vbox = new VBox(false, 1);
        var label = new Label("Arch is the best!");
        var button = new Button.with_label("Got it. Exit.");
        button.clicked += b => { main_quit();  };
        vbox.pack_start(label, true, true, 0);
        vbox.pack_start(button, false, false, 0);
        add(vbox);
    }

    public static void main (string[] args) 
    {
        Gtk.init(ref args);
        var best = new Best();
        best.show_all();
        Gtk.main();
    }
}

Last edited by Husio (2008-05-31 23:05:41)

Offline

#175 2008-06-10 04:53:22

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: A script proclaiming Arch's superiority

Japanese translation:

アーチが最高!

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


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

Board footer

Powered by FluxBB