If performance is not a factor, then I would suggest that all threads remain permanently open to commenting. That way an inactive thread could become active and show up under the 'comments' tab, and be of use long after the original contributors have left it.
1) Grant admin access to arclanguage.org to a high karma ranking Arc Forum member to update that painfully outdated home page OR update the home page appropriately, with added links to other Arc focused sites such as https://sites.google.com/site/arclanguagewiki/
2) Regarding modifying the current HN based forum:
a. A built in search utility, of course
b. Add 'popular' and 'sticky' tabs to the existing new | threads | comments, etc tabs.
- The 'popular' tab could be a pure karma based collection of the heaviest threads (sum of plus votes, in descending order).
- The 'sticky' tab should be threads created or selected by the admin, usually a collection of how tos, work arounds and frequently sought help. Order should be admin settable, and there should be an area above each thread where the admin can clearly highlight the purpose of the thread.
- if possible, the sticky threads should remain commentable unlike normal threads that become uncommentable after a certain period. I'm not sure how this would affect the site from a performance standpoint as I understand HN currently uses this strategy to optimize performance.
I agree that the HN format isn't ideal for the Arc Forum. However, to make even the littlest change here would require one of the active members here to have admin authority. Perhaps a good first start would be for someone here to talk pg or rtm into extending that privilege. We could then update some of the pages here that obviously need updating (eg. the install instructions page!) and begin the process of exploring how to modify HN to better suit a support forum.
I figure that everyone here will prefer to use a hack of the HN format, ie. must be Arc-based, rather than some other commonly used forum application. ;)
I agree. The Arc community will be better served with more forum focused ways to highlight important/useful threads no matter how old. Dedicated threads with high visibility, including sticky posts within those threads, are used to great effect at many successful community sites.
And search is a huge missing feature on this forum. Googling Arc Forum helps, but not the same thing.
Added an Installing Arc section to the wiki. It's very Ubuntu-centric right now and I will try to expand coverage in the future.
It doesn't yet show up on the top page of a Google search for "install Arc Lisp" but hopefully it will, and hopefully ahead of the Arc Forum | Install page. : )
@akkartik: I've been granted write privileges and have begun contributing to the wiki. I agree that some reorganization is necessary and have been taking a good look at the current state. I will focus on giving newbies some more hand holding at the getting started stages, and have opened a new Installing Arc page where I will be more elaborate in detailing installation instructions.
@pauan: I agree that Lite-Nu is the simplest in getting installed and started, and so will add Lite-Nu install instructions and references as well. Newbies should thus be attracted, deservedly, towards Lite-Nu especially in the initial stages. :) After that of course, it's up to them.
@Pauan, thanks. I like Lite-Nu. I particularly like the ability to run arc scripts from the command line and shell scripts written in Arc - very nifty! I think this gives one the opportunity to get deeply immersed in Arc.
I haven't played enough with it to provide other meaningful feedback or ask questions but I will as I starting using it.
Heh, thanks rocketnia. I did have a feeling it would incline toward client-side Arc in Javascript.
A static site generator in Arc also sounds interesting. I know that's the direction the Jekyll folks have taken, and doing something like Jekyll with Arc generated static code would be of interest to me. Let me tuck away this thought as I get up to speed with core Arc.
I will do that. It's been my habit to take lots of notes when trying out new stuff, so no worries about forgetting. :) I will distill it as well as I can and start making some contributions to the wiki. In the absence of an active admin here, hopefully the wiki will start showing up on top of Google Arc searches.
:) Thanks for the sympathy, and for the help. I am looking forward to some great times with Arc.
BTW, just looking ahead a bit, is it possible to run Arc on a shared hosting website? Not being mainstream, I don't see hosting services including Arc as an option, so I'd be keen to know if somehow it is technically feasible to set it up on a shared hosting website without having admin access to the box itself. I figure it would probably not be possible, in which case what would be the best options to develop on Arc for shared hosting situations?
Thanks Pauan and akkartik. I will definitely try out lite-nu and get back to you with my impressions. From the discussions on lite-nu here as well as the description on its Git page, it sounds very promising. I will also try out arc2js for the same reason.
@akkartik, I realize anarki is bleeding edge. I'm just grateful I stumbled across it and that it's working :) I will revert to the official Arc 3.1 version if it turns out to be too bleeding edge for me.
Now that I've been able to read more threads on this forum, I realize I would have saved a lot of time had I done so earlier. I wouldn't have gone on that long loop with Clojure and Common Lisp.
I think the main problem starts with the Arc Forum | install page (http://arclanguage.org/install). The instructions still are:
"1. Install version 372 of MzScheme. (Don't use the latest version. Versions after 372 made lists immutable.)
2. Get http://ycombinator.com/arc/arc3.tar and untar it.
3. Type mzscheme -m -f as.scm and you should get an Arc prompt.
4. If you ^C an Arc program, you'll get the Scheme REPL. Use (tl) to get back to the Arc REPL.
5. If you have questions or suggestions, post them on the forum. "
I assumed, naturally, that the most prominent page on the forum dedicated to installing Arc would be current. Hence the inevitable install run around.
If either of you are admins here, or if any admin comes across this comment, I would suggest that the Arc Forum | Install page REALLY needs to be updated. A lot of interest in Arc will be killed by frustrating experiences at set up time.
I did visit http://sites.google.com/site/arclanguagewiki (in fact I'd already bookmarked it). However, the instructions there just cover a series of links and could do well with a more detailed instruction set, especially if it is to appear more useful than the Arc Forum install instructions I've referred to above.
After I settle down with Arc, I will contribute in that direction.
Yes, you're right, the prompt was being returned- I wasn't careful enough :)
It came as a surprise that HN serves directly off port 80- wonder how to they manage ssl from arc. I plan to serve via apache rewrite rules (reverse proxy)- and yes, sadly all ips in the arc logs show the local address. Thanks for this link. Also, who is that strange user on my logs (there are different names on different hosts)? :)
One OT question: Is there someway I can make comments on a story's page appear sorted by time- let's say- by pressing some button "show oldest/newest first" ? I have not yet started to hack the code- wanted to be a little comfortable with the system first. I assume working with news.arc would be enough for the news page?
I managed to run arc-news, thanks to all your help.
After running it, I have a few more questions, I hope you aren't frustrated with me yet :)
1. What is the difference between "racket -m -f" (this one doesn't work, but used to work with mzscheme) and just "racket -f"? The manpage asks to visit the webpage and i went to this page to look for help, but I dont seem to be able to locate it: http://docs.racket-lang.org/guide/racket.html
2. In the arc prompt, after loading "news.arc", I would like to run the news server on a different thread, eg: "(= app (thread (nsv)))" (read on the web), but it doesnt return me the arc prompt.
3. Just to test what happens under increased load, I went to localhost:8080 and repeatedly hit the refresh button on my browser. After many repeated refreshes, the news page was no longer served. Here's what was happening in the arc screen: http://pastebin.com/TcBa2SuM and here's the tail of logs/srv-* file: http://pastebin.com/Xiym77sR (i wonder who the strange user 0PgEaESj is :))
How can I configure arc to continue working under heavy load (maybe by denying requests only from the client that's flooding)?
Hi,
Thanks a lot to your earlier comment, about running "racket -f as.scm"- I found out that racket couldnt be located by the system. Something must be unclear with the description of Ubuntu/Debian packages- I got an impression that "plt-scheme" contained racket. I manually installed racket by downloading from here: http://racket-lang.org/download/ .
I must have done some mistake then. I admit that I didnt see akkartik's link before posting that reply. I think my downloaded files are older than October- the directory has a timestamp from October and the ac.scm file has a timestamp from August 2009. The diff is here: http://pastebin.com/BLp6p69v
Yes, I would like to use something that works, and something that is as latest as possible :) I seem to be using Racket (in the form of plt-scheme) and it seems to work for an older version of arc. The point of my question was if I needed to do something to keep up with the changes made in Arc.
Hi Markkat, thank you very much for your detailed reply. If you don't mind, I'd like to ask more questions.
- If I want to start hacking into the news code, is news.arc the only file I start with? I would also like to change the css, make email field compulsory, send email confirmation and so on. If you could show me some direction, it would be very helpful.
- by integration with other services, I mean allowing likes, +1, commenting, log-in etc. I think I will have to look into the code to start understanding this more, so it is related to the above point.
- about identifying video URLs- how would you recommend expanding something like, say a bit.ly link?
- Yes, I haven't done anything with the code yet because it looks a little unfamiliar at this point. But I'd love to.
I see some changes in in as.scm and ac.scm (esp the one that is being reported in the error message).
The debian package description of racket (http://packages.debian.org/sid/racket) says that the package was previously plt-scheme. So, I seem to be using it :(
The debian package description of racket (http://packages.debian.org/sid/racket) says that the package was previously plt-scheme. So, I seem to be using it :(
which package provides racket in Ubuntu/Debian systems? I am running the October version on a Debian 6 system and it is running fine. apt-cache search racket returns no relevant package.
Sorry if I'm hijacking the discussion. Also sorry if i am asking too many questions.
I am also working on creating a discussion forum based on arc news. I have programming and web development experience but none with arc or list-like languages. I saw hubski's site and liked it a lot. I have some specific questions:
- like the OP asked, how difficult would it be to add open-id, facebook, twitter, g+ integration?
- how does hubski distinguish text submissions vs videos and so on? How do I group/categorize all of them?
- how do I add tags to submissions or allow admins to add tags?
- how do i decrease the karma required to downvote?
- how do i mimic HN's job page, ie: no name of the poster and no comment field- just link and text. How to group all such posts?
Thanks for your detailed response. I have a development background - mostly scripting on mainframe systems, but no web development experience. The HN format seems so clean and simple I figured there would be a lot of support for it somewhere even if it is not written in ARC in the same way that Digg has a bunch of open source options for someone who wants to 'clone' the site. Yes site administration would be a big consideration for me too - Is HN as simple on the backend for the admin as it is for users on the front end. If developing and deploying the site turns out to be out of my depth I would gladly outsource it to someone else but knowing where to start in terms of what open source options are out there that are currently closest to the goal of what I want to achieve comes first. The PHP bbs wont work for me. So, still looking...
$c declares the constants;
$v declares the variables;
$f are floating hypotheses, used to give types to variables;
$a are axiomatic assertions;
$p are provable assertions.
demo.mm's content is:
$( demo0.mm 1-Jan-04 $)
$(
PUBLIC DOMAIN DEDICATION
This file is placed in the public domain per the Creative Commons Public
Domain Dedication. http://creativecommons.org/licenses/publicdomain/
Norman Megill - email: nm at alum.mit.edu
$)
$( This file is the introductory formal system example described
in Chapter 2 of the Meamath book. $)
$( Declare the constant symbols we will use $)
$c 0 + = -> ( ) term wff |- $.
$( Declare the metavariables we will use $)
$v t r s P Q $.
$( Specify properties of the metavariables $)
tt $f term t $.
tr $f term r $.
ts $f term s $.
wp $f wff P $.
wq $f wff Q $.
$( Define "term" (part 1) $)
tze $a term 0 $.
$( Define "term" (part 2) $)
tpl $a term ( t + r ) $.
$( Define "wff" (part 1) $)
weq $a wff t = r $.
$( Define "wff" (part 2) $)
wim $a wff ( P -> Q ) $.
$( State axiom a1 $)
a1 $a |- ( t = r -> ( t = s -> r = s ) ) $.
$( State axiom a2 $)
a2 $a |- ( t + 0 ) = t $.
${
min $e |- P $.
maj $e |- ( P -> Q ) $.
$( Define the modus ponens inference rule $)
mp $a |- Q $.
$}
$( Prove a theorem $)
th1 $p |- t = t $=
$( Here is its proof: $)
tt tze tpl tt weq tt tt weq tt a2 tt tze tpl
tt weq tt tze tpl tt weq tt tt weq wim tt a2
tt tze tpl tt tt a1 mp mp
$.
These should give you some pointers to follow, besides Shutt's writings (which can be intimidating at first, but are perfectly clear once your fexpr juices are flowing.)