You are not logged in.

#326 2010-08-16 22:32:24

valium97582
Member
Registered: 2010-06-19
Posts: 126

Re: A script proclaiming Arch's superiority

Scheme version:

(begin
  (display "Arch is best!")
  (newline))

Common Lisp version:

(format t "Arch is best!")

And a proper LOLCODE version:

HAI
CAN HAS STDIO?
VISIBLE "ARCH IZ D BEST!!!!!111!!!!1!"
KTHXBYE

Last edited by valium97582 (2010-08-16 22:39:34)


I'm also known as zmv on IRC.

Offline

#327 2010-08-17 04:03:16

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: A script proclaiming Arch's superiority

falconindy wrote:
itsbrad212 wrote:

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()
}

Thank you. This is a breakthrough in the world of software development, thanks to you.

Offline

#328 2010-08-17 13:00:42

Raqua
Member
Registered: 2007-11-24
Posts: 146

Re: A script proclaiming Arch's superiority

I see that nobody translated it into slovak yet, so here I go:

Arch je najlepší !

Offline

#329 2010-08-18 00:54:23

urist
Member
Registered: 2009-02-22
Posts: 248

Re: A script proclaiming Arch's superiority

Where's the OCaml love?

print_string "Arch is the best!\n";;

I may have reinvented the wheel, but I didn't see a LaTeX version either. I could have missed it.

\documentclass[a4paper,12pt]{article}
\begin{document}
Arch is the best!
\end{document}

Offline

#330 2010-08-18 05:04:07

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: A script proclaiming Arch's superiority

IRC code (just copy and paste this entire block of code into an IRC chat, be careful not to get kicked for spamming though big_smile):

   12mm                 2#               15"                    12m    12#            
   2##    2m 2mm   15mmm   15# 15mm          14mmm     14mmm          12mm#mm  2# 2mm    2mmm  
  2#  2#   15#"  15" 15#"  15"  15#"  14#           14#    12#   12"           2#    2#"  2#  2#15"  15# 
  15#mm#   15#     15#      14#   14#           12#     12"""m           2#    15#   15#  15#"""" 
 15#    15#  14#     14"#mm"  14#   12#         12mm#m2m  2"mmm"           15"mm  15#   15#  15"14#mm" 
                                                                             
                                                                             
                                                                             
        2#                      15m      15m                                      
        2#mmm    15mmm    15mmm   15mm#14mm    14#                                      
        15#" 15"#  15#"  15#  15#   14"    14#      14#                                      
        15#   15#  15#14""""   14"""m    14#      12"                                      
        14##m#"  14"#mm"  14"m12mm"    12"mm    12#

Same thing but HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<title>Generated by libcaca 0.99.beta17</title>
</head><body>
<div style="font-family: monospace, fixed; font-weight: bold;">
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;</span><span style=";color:#55f">mm</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">&quot;</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">m</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#55f">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;</span><span style=";color:#00a">##</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#00a">m</span><span style="">&#160;</span><span style=";color:#00a">mm</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">mmm</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;</span><span style=";color:#aaa">mm</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">mmm</span><span style="">&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">mmm</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">mm#mm</span><span style="">&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;</span><span style=";color:#00a">mm</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#00a">mmm</span><span style="">&#160;&#160;</span><br />
<span style="">&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#aaa">&quot;</span><span style="">&#160;</span><span style=";color:#aaa">#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#aaa">&quot;</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#55f">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#55f">&quot;</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;</span><span style=";color:#00a">#</span><span style=";color:#aaa">&quot;</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;</span><br />
<span style="">&#160;&#160;</span><span style=";color:#aaa">#mm#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">#</span><span style="">&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">&quot;&quot;&quot;m</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#&quot;&quot;&quot;&quot;</span><span style="">&#160;</span><br />
<span style="">&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">&quot;#mm&quot;</span><span style="">&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#55f">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">mm#m</span><span style=";color:#00a">m</span><span style="">&#160;&#160;</span><span style=";color:#00a">&quot;mmm&quot;</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">&quot;mm</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;</span><span style=";color:#aaa">&quot;</span><span style=";color:#555">#mm&quot;</span><span style="">&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">m</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">m</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#00a">#mmm</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">mmm</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">mmm</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">mm#</span><span style=";color:#555">mm</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">#&quot;</span><span style="">&#160;</span><span style=";color:#aaa">&quot;#</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#555">&quot;</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;&#160;</span><span style=";color:#aaa">#</span><span style="">&#160;&#160;</span><span style=";color:#aaa">#</span><span style=";color:#555">&quot;&quot;&quot;&quot;</span><span style="">&#160;&#160;&#160;</span><span style=";color:#555">&quot;&quot;&quot;m</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#555">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#55f">&quot;</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style=";color:#555">##m#&quot;</span><span style="">&#160;&#160;</span><span style=";color:#555">&quot;#mm&quot;</span><span style="">&#160;&#160;</span><span style=";color:#555">&quot;m</span><span style=";color:#55f">mm&quot;</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#55f">&quot;mm</span><span style="">&#160;&#160;&#160;&#160;</span><span style=";color:#55f">#</span><span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
<span style="">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><br />
</div></body></html>

Both generated with toilet tongue

Last edited by doorknob60 (2010-08-18 05:06:25)

Offline

#331 2010-08-18 05:38:13

livibetter
Member
From: Taipei
Registered: 2008-05-14
Posts: 95
Website

Re: A script proclaiming Arch's superiority

Pierre wrote:

The script does not work for me. But hey this is open source: here is my improvment:

#!/bin/sh
yes Arch is the best!

You can easily pipe this to your favorite mail or irc client to tell the world what you think about Arch.

Decorate a bit more...

#!/bin/bash
fonts=() ; for font in /usr/share/figlet/*.flf ; do fonts[${#fonts[@]}]="$(basename $font)" ; done ; while [[ 1 ]] ; do echo -e "\e[$((31 + $RANDOM % 7))m" ; figlet -f ${fonts[$(($RANDOM % ${#fonts[@]}))]} -c -t Arch is the best! ; sleep 0.1 ; done

Deps: Bash and figlet.

(edit: looks better with `sleep`)
(edit2: I made a video)

Last edited by livibetter (2010-08-18 06:54:35)

Offline

#332 2010-08-18 15:01:25

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: A script proclaiming Arch's superiority

I wrote a version of this script in Scheme (Guile implementation):

#!/usr/bin/guile -s
!#
; Proclaiming Arch Superiority
(use-modules (ice-9 format))
(use-modules (ice-9 rdelim))

(define myhash (make-hash-table))
(define newlang
  (lambda (a b)(hash-set! myhash a b)))
(define aitb
  (lambda (p) (display (hash-ref myhash p))(newline)))
(define showkeys
  (lambda ()
    (format #t "Available languages are:")
    (hash-for-each-handle (lambda (p)
                            (format #t " ~@(~a~)" (car p))) myhash)(newline)))

(newlang "german" "Arch ist das Beste!")
(newlang "english" "Arch is the best!")
(newlang "esperanto" "Arch estas la plej bona!")

(system "clear")
(showkeys)
(define yourinput (begin
                    (format #t "Please choose a language (or 'quit'): ")
                    (read-line)))
(if (string-ci=? "quit" yourinput)
     (quit)
     (aitb (string-downcase yourinput)))

(I only put in 3 languages to keep it small for reading, however adding more languages is as simple as (newlang "languagename" "languagearchisbest"))

Ogion

Last edited by Ogion (2010-08-18 15:03:03)


(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

#333 2010-12-01 14:34:21

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: A script proclaiming Arch's superiority

chart?cht=qr&chs=150x150&choe=UTF-8&chld=H%7C4&chl=Arch%20is%20the%20best%21
or the mega version
chart?cht=qr&chs=150x150&choe=UTF-8&chld=L%7C4&chl=Arch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21

Last edited by lolilolicon (2010-12-01 15:47:54)


This silver ladybug at line 28...

Offline

#334 2010-12-01 21:45:22

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: A script proclaiming Arch's superiority

sam87 wrote:

will this be visible on my netbook's 1024x600 screen?please someone, help..am a newbie to all this sad

Nope; the script is far too bloated and shiny and resource-hogging to be used on a puny netbook. Everybody knows that you need at least a few gigs of RAM and a 4-core processor to run the most basic of programs these days! Get a real computer, man!

... wink

EDIT: If my post number had a 1 in front, it'd say 1337 wink

Last edited by Sloshy (2010-12-01 21:46:48)

Offline

#335 2010-12-01 23:50:46

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: A script proclaiming Arch's superiority

urist wrote:
\documentclass[a4paper,12pt]{article}
\begin{document}
Arch is the best!
\end{document}

Bloatware. This is more Archy:

\documentclass{minimal}
\begin{document}
Arch is the best!
\end{document}

Arch x64 on Thinkpad X200s/W530

Offline

#336 2010-12-02 02:44:18

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: A script proclaiming Arch's superiority

Pank wrote:

Bloatware. This is more Archy:

\documentclass{minimal}
\begin{document}
Arch is the best!
\end{document}

Bah. Not archy enough. Why use LaTeX when Plain TeX will do?

Arch is the best!\bye

Last edited by frabjous (2010-12-02 02:44:32)

Offline

#337 2010-12-02 02:50:53

CountDuckula
Member
Registered: 2010-02-28
Posts: 151

Re: A script proclaiming Arch's superiority

venox wrote:
kensai wrote:

Can this be ported to *BSD?

Why would you want to run it on *BSD? Arch is the best!

You can port it to BSD but RMS may have something to say about it. Which begs me to ask is the script in question GPL1 or 2?

Anyway, I'm porting it to paper right at this minute smile

Offline

#338 2010-12-02 07:16:25

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: A script proclaiming Arch's superiority

[quote=lolilolicon][url]http://chart.apis.google.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=H%7C4&chl=Arch%20is%20the%20best%21[/url]
or the mega version
[url=http://chart.apis.google.com/chart?cht=qr&chs=547x547&choe=UTF-8&chld=L%7C1&chl=Arch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21][url]http://chart.apis.google.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L%7C4&chl=Arch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21[/url][/url][/quote]

which language is this? (Coded your reply for ze lulz)

Offline

#339 2010-12-02 08:52:43

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: A script proclaiming Arch's superiority

It's actually:

[img]http://chart.apis.google.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=H%7C4&chl=Arch%20is%20the%20best%21[/img]
or the mega version
[url=http://chart.apis.google.com/chart?cht=qr&chs=547x547&choe=UTF-8&chld=L%7C1&chl=Arch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21][img]http://chart.apis.google.com/chart?cht=qr&chs=150x150&choe=UTF-8&chld=L%7C4&chl=Arch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21%0AArch%20is%20the%20best%21[/img][/url]

No idea how FluxBB got img tags converted to url tags when you clicked Quote...
For the record, that is the Google compiler for which we write code in URLs. Someday I'll be drinking this:

http://kitchen.google.com/A%20Cup%20of%20Coffee

Last edited by lolilolicon (2010-12-02 08:53:07)


This silver ladybug at line 28...

Offline

#340 2010-12-09 02:52:27

markbabc
Member
Registered: 2010-11-06
Posts: 157

Re: A script proclaiming Arch's superiority

Not sure if its posted on here already but i noticed that the wiki for this is outdated.

in the wiki it has

#!/usr/bin/env python

print 'Arch is the best!'

now that Arch is shipped with python3 as python it should be

#!/usr/bin/env python

print('Arch is the best!')

and for python2

#!/usr/bin/env python2

print 'Arch is the best!'

Last edited by markbabc (2010-12-09 02:53:06)

Offline

#341 2010-12-11 05:17:45

bunburya
Member
From: Dublin, Ireland
Registered: 2010-09-06
Posts: 64

Re: A script proclaiming Arch's superiority

I have translated this script to the Irish. Although my Irish is terrible so I hope it's right big_smile

#!/bin/sh

echo "Arch é is fearr!"

EDIT: Also, ROT13:

#!/bin/sh

echo "Nepu vf gur orfg!"

Last edited by bunburya (2010-12-11 05:24:58)

Offline

#342 2010-12-15 10:19:38

kaitocracy
Forum Fellow
From: Durham, NC
Registered: 2010-04-21
Posts: 59
Website

Re: A script proclaiming Arch's superiority

Not sure if anyone has ported this to SQL yet, so here we go

SELECT 'Arch is the best!';

Last edited by kaitocracy (2010-12-15 10:28:56)

Offline

#343 2010-12-15 20:30:24

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: A script proclaiming Arch's superiority

In older Oracle versions you have to

select  'Arch is the best!' from dual;

zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#344 2011-06-07 19:54:09

NictraSavios
Member
From: Cape Breton, Nova Scotia
Registered: 2011-04-13
Posts: 29
Website

Re: A script proclaiming Arch's superiority

Cerebral wrote:

Untested (wow, it's been a while since I've written a PKGBUILD from scratch)

pkgname=best_script_in_the_world
pkgver=1.0
pkgrel=1
url="http://www.archlinux.org"
arch=('i686' 'x86_64')
license=('GPL')
source=()
md5sums=()

build()
{
    mkdir -p $startdir/pkg/usr/bin/
    echo #!/bin/sh >> $startdir/pkg/usr/bin/best_script.sh
    echo >> $startdir/pkg/usr/bin/best_script.sh
    echo 'echo "Arch is the best!"' >> $startdir/pkg/usr/bin/best_script.sh
   
    chmod a+x $startdir/pkg/usr/bin/best_script.sh
}

Wrong Licence. as said previously, It is released under wtfpl

Offline

#345 2011-06-07 20:22:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: A script proclaiming Arch's superiority

Congrats. That's a 3 year old post you just nitpicked.

Offline

#346 2011-06-07 20:29:44

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: A script proclaiming Arch's superiority

falconindy wrote:

Congrats. That's a 3 year old post you just nitpicked.

Last post was half year ago, not 3 years ago. I mean are you mods really that rule freaks? This comment was perfectly aligned to the spirit of that thread. Or do you really expect NictraSavios to open a new thread with a link to this one as the etiquette in the wiki describes? I find this ridiculous.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#347 2011-06-07 20:34:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: A script proclaiming Arch's superiority

Cerebral's post was 3 years ago. Refer to the first page. I'm also not a mod, I just felt the obvious kneejerk reaction was a bit too jerky.

Last edited by falconindy (2011-06-07 20:35:21)

Offline

#348 2011-06-07 21:45:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,610

Re: A script proclaiming Arch's superiority

I ported the script to my grocery list format:

- go to Arch forum
- klick on thread
- Post "Arch is the best!"
- trollface.jpg

Online

#349 2011-06-08 09:24:17

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,928
Website

Re: A script proclaiming Arch's superiority

ckristi wrote:

For kernel mode, add to init/main.c (in your kernel source directory) the following:

printk ("Arch is the best");

Patch submitted to Linus. Awaiting Mr. Torvalds response. smile

ckristi wrote:

Linus said it must be thoroughly tested (so everyone, pick a copy of Arch and do it)... and maybe it will be merged upstream in the 3.0.x or 3.2.x version of the kernel. ;-)

So, the time is nearing now smile hmm, I can't see the relevant parts in 3.0rc1... Linus has dropped it??!!!

Note to falconindy: yes, this post was posted in 2008 tongue


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#350 2011-08-03 14:28:38

doxanthropos
Member
Registered: 2011-08-03
Posts: 1

Re: A script proclaiming Arch's superiority

This thread convinced me to try Arch. It must be the best!
Unfortunately it seems as if the suggestion of headhunter242 has gone nearly unnoticed:

headhunter242 wrote:

Maybe you are missing the fundamental of programming...

http://img110.imageshack.us/img110/2558 … ramrv0.png

As you can see you can express your free opinion!

What good is a message if you don't make sure, that it's understood?
So with next to none python knowledge I put together this:

#!/usr/bin/env python2
answer = "no answer yet"
while answer != "y" :
        print "Arch is best!"
        print "Do you agree?(y/n)"
        answer = raw_input()
        if answer == "n" :
                print "Maybe you should reconsider your opinion."
        elif answer != "n" and answer != "y" :
                print "There are only two possible answers and this is none of them."
print "Glad you agree!"

Offline

Board footer

Powered by FluxBB