Difference between revisions of "Talk:Arch is the best"

From ArchWiki
Jump to: navigation, search
(C code: re, close)
 
(55 intermediate revisions by 18 users not shown)
Line 1: Line 1:
Do you think a GTK implementation in Python would be a bit long to add to the article? Here it is:
+
== Greek translations ==
  
#!/usr/bin/python
+
We currently have [[wikipedia:Attic Greek|Attic]] and [[wikipedia:Demotic Greek|Demotic]].
+
import pygtk
+
pygtk.require('2.0')
+
import gtk
+
import random
+
+
class ArchIsTheBest:
+
def __init__(self):
+
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
+
window.set_title("Arch is the best!")
+
window.set_size_request(500,250)
+
window.connect("delete_event", self.delete_event)
+
window.connect("destroy", self.destroy)
+
+
vbox = gtk.VBox(False, 0)
+
window.add(vbox)
+
vbox.show()
+
+
textview = gtk.TextView(buffer=None)
+
textviewb = textview.get_buffer()
+
textviewt = "Arch is the best"
+
textviewb.set_text(textviewt)
+
textview.set_editable(False)
+
textview.set_cursor_visible(False)
+
textview.set_wrap_mode(True)
+
vbox.pack_start(textview, True, True, 0)
+
textview.show()
+
+
button = gtk.Button(stock=gtk.STOCK_CLOSE)
+
button.connect("clicked", lambda w: gtk.main_quit())
+
vbox.pack_start(button, False, False, 0)
+
button.set_flags(gtk.CAN_DEFAULT)
+
button.grab_default()
+
button.show()
+
+
window.show()
+
+
def delete_event(self, widget, event, data=None):
+
return False
+
+
def destroy(self, widget, data=None):
+
gtk.main_quit()
+
+
def main(self):
+
gtk.main()
+
+
if __name__ == "__main__":
+
archisthebest = ArchIsTheBest()
+
archisthebest.main()
+
  
Also, is it possibly violating The Arch Way by providing a GUI to this application? I think it may just entice those Ubuntu users to jump ship to Arch if we provide this as a GUI, however it is definitely not 'simple'.
+
I think more translations should be added, such as [[wikipedia:Katharevousa|Katharevousa]], [[wikipedia:Pontic Greek|Pontic]] or any local dialect. Speakers are few nowadays, so if anyone can contribute, please do. [[User:Sudowoodo|Sudowoodo]] ([[User talk:Sudowoodo|talk]]) 09:29, 23 January 2015 (UTC)
[[User:Barrucadu|Barrucadu]] 19:25, 13 May 2008 (EDT)
+
  
Whilst the [https://bbs.archlinux.org/viewtopic.php?id=47306&p=1/ forum thread] relating to this is fun, this page does not add anything meaningful to the Arch wiki, and I don't see how this page adheres to the wiki philosophy or Arch principles (KISS minimalism).  Have flagged this page for deletion.
+
== <s>C code</s> ==
[[User:Joetotale|Joetotale]] 05:42, 9 January 2011 (EST)
+
  
:I agree. I marked it for deletion some time ago, and didn't really feel like pursuing the subject because it would've been an exchange involving a grand total of 2 people.
+
This comment https://www.reddit.com/r/archlinux/comments/4g0y7v/arch_is_the_best/d2dq13e, while ironic in a tone, seems to have a point. Is the C code unnecessary bloated and not in the Arch way?
:There's always some truth to irony, and 'Arch is the best' is implicit enough to survive undetected under the reach of armchair psychology! [[User:Lavandero|Lavandero]] 18:32, 10 January 2011 (EST)
+
  
::I DISagree ^_^. This is an interesting and fun project, and causes no harm for being here. Not only was the page created by an Arch developer, deletion has been removed before by a WIKI ADMIN "(unmarking for deletion (no rationale -- I think this is clever); marked for expansion; categorized)" I should probably put back on the expansion template. Enjoy life, have fun, don't hate on fun. [[User:Jmad980|Jmad980]] 21:27, 2 February 2011 (EST)
+
Wouldn't this be better? (simple hello world repurpose)
  
:::^_________^ [[User:Lavandero|Lavandero]] 22:06, 2 February 2011 (EST)
+
    #include<stdio.h>
 +
   
 +
    int main(void) {
 +
        printf("Arch is the best!\n");
 +
        return 0;
 +
    }
 +
--[[User:JonnyRobbie|JonnyRobbie]] ([[User talk:JonnyRobbie|talk]]) 09:32, 23 April 2016 (UTC)
  
 +
:+1 -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 10:19, 23 April 2016 (UTC)
  
We need it in klingon language!!
+
:Same issue with the C++ version. -- [[User:Rdeckard|Rdeckard]] ([[User_talk:Rdeckard|talk]]), [[ArchWiki:Maintainers|Maintainer]] 13:50, 23 April 2016 (UTC)
 +
 
 +
::I thought it might be some involved meta joke I'm not getting. The same with the three space indentation. --[[User:JonnyRobbie|JonnyRobbie]] ([[User talk:JonnyRobbie|talk]]) 14:17, 23 April 2016 (UTC)
 +
 
 +
:::+1, but still incl. the 3-space meta nudge towards [https://www.python.org/dev/peps/pep-0008/#indentation python]. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 15:02, 23 April 2016 (UTC)
 +
 
 +
::::On second thought: you might as well argue against printf because it's turing-complete [https://github.com/HexHive/printbf], and stdlib just provides a symbolic constant here for added clarity. Together with the remark below, this can be closed. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 20:16, 1 July 2016 (UTC)
 +
 
 +
:I'll argue that it's not better at all, GCC 5.3 generates identical binary for both versions, even with default options. The reddit post is complete nonsense.
 +
:Besides, nitpicking about indentation width and minimality of this code is the least concern compared to the X11 example or any esoteric language.
 +
:-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 19:03, 23 April 2016 (UTC)

Latest revision as of 20:16, 1 July 2016

Greek translations

We currently have Attic and Demotic.

I think more translations should be added, such as Katharevousa, Pontic or any local dialect. Speakers are few nowadays, so if anyone can contribute, please do. Sudowoodo (talk) 09:29, 23 January 2015 (UTC)

C code

This comment https://www.reddit.com/r/archlinux/comments/4g0y7v/arch_is_the_best/d2dq13e, while ironic in a tone, seems to have a point. Is the C code unnecessary bloated and not in the Arch way?

Wouldn't this be better? (simple hello world repurpose)

   #include<stdio.h>
   
   int main(void) {
       printf("Arch is the best!\n");
       return 0;
   }

--JonnyRobbie (talk) 09:32, 23 April 2016 (UTC)

+1 -- Alad (talk) 10:19, 23 April 2016 (UTC)
Same issue with the C++ version. -- Rdeckard (talk), Maintainer 13:50, 23 April 2016 (UTC)
I thought it might be some involved meta joke I'm not getting. The same with the three space indentation. --JonnyRobbie (talk) 14:17, 23 April 2016 (UTC)
+1, but still incl. the 3-space meta nudge towards python. --Indigo (talk) 15:02, 23 April 2016 (UTC)
On second thought: you might as well argue against printf because it's turing-complete [1], and stdlib just provides a symbolic constant here for added clarity. Together with the remark below, this can be closed. -- Alad (talk) 20:16, 1 July 2016 (UTC)
I'll argue that it's not better at all, GCC 5.3 generates identical binary for both versions, even with default options. The reddit post is complete nonsense.
Besides, nitpicking about indentation width and minimality of this code is the least concern compared to the X11 example or any esoteric language.
-- Lahwaacz (talk) 19:03, 23 April 2016 (UTC)