Arc Forumnew | comments | leaders | submit | nex3's commentslogin
1 point by nex3 6466 days ago | link | parent | on: Probably just me being stupid...

This is a problem with Windows compatibility. I believe the Git wiki is fully compatible, although I'm not sure.

-----

2 points by eds 6465 days ago | link

I get the following on the latest from arc-wiki (Tue Feb 26 10:33:26 PST 2008):

  Use (quit) to quit, (tl) to return here after an interrupt.
  arc> (defop hello req (pr "hello world"))
  #<procedure:gs1657>
  arc> (asv)
  The syntax of the command is incorrect.
  ready to serve port 8080
and then when I direct my browser to http://localhost:8080/hello

  'uname' is not recognized as an internal or external command,
  operable program or batch file.
  make-string: expects argument of type <non-negative exact integer>; given -1
  
   === context ===
   cut
   date
   memodate
   srvlog
   gs1078
   handle-request-thread

-----

1 point by nex3 6464 days ago | link

This has been fixed, although there are still a few issues with OpenSSL.

-----

1 point by improbable 6466 days ago | link

OK, thanks

-----


The first time you clone the repository with "git clone," you'll be fully up-to-date until someone pushed something else. Then you can use "git pull" to grab that.

-----

3 points by kens 6466 days ago | link

Thanks; I've updated my blog posting.

-----

4 points by nex3 6466 days ago | link | parent | on: ~Tilde and macros

Just as a note, the wiki is fixed now.

-----

1 point by absz 6466 days ago | link

I saw, that's how I was able to test. Thank you for setting it up, by the way! And if you fixed it, thank you for that; if someone else did, thank them for that.

-----

3 points by nex3 6466 days ago | link

You're welcome :-). It would be wfarr who fixed this issue, though.

-----

2 points by nex3 6467 days ago | link | parent | on: OpenID consumer support for Arc, release v1

Could you add this to the wiki?

-----

1 point by CatDancer 6463 days ago | link

The conventions for Anarki say to use docstrings for documentation, and I disagree (http://arclanguage.org/item?id=2888)

-----

1 point by nex3 6463 days ago | link

From the CONVENTIONS file:

"It's useful for functions and macros to include docstrings, although this isn't mandatory to encourage exploratory programming."

-----

1 point by CatDancer 6463 days ago | link

So someone usefully adds docstrings to the OpenID code in Anarki, and when I push my next version I'd need to be dealing with code that has docstrings in it.

I think it's perfectly fine that Anarki prefers to have its documentation in docstrings. I welcome anyone who wants to to add the OpenID code to Anarki to do so (it's in the public domain, after all). If you had said, "can I add this to Anarki", I'd say "sure, I'd be delighted". If there are any patches that would help make my code easier to incorporate into your distribution, I'd be happy to consider them.

But your question was "could you add it to Anarki". The answer is no, I'm not going to take the time to be a downstream maintainer for code in a distribution that has conventions that I don't like. In fact, I'm not sure I'd become a downstream maintainer of code in a distribution that I did like.

Everyone, every single person, has exactly the same amount of time. We all have 24 hours in the day. We all have different goals, different desires. If someone out there likes the direction Anarki is going in and thinks this OpenID code I wrote is useful and wants to spend some of the limited time they have to add it to Anarki, I'm delighted. More power to you, whoever you are.

And if no one wants to take the time to do that, that's OK with me too! :-)

-----

1 point by nex3 6463 days ago | link

I don't suppose you'd be willing to put your OpenID stuff in a git fork of the Anarki official branch, then? The official branch is just arcn.tar, and it would allow us to easily share patches back and forth.

If you need hosting, I have more GitHub invites than I know what to do with.

If not, that's fine, too, of course.

-----

1 point by CatDancer 6462 days ago | link

I am in fact leaning towards basing my projects on your new stable branch. arcn + bug fixes sounds like a good place to build upon ^_^ Plus I could see myself cherrypicking particular functionality that I want from the wiki.

I did my first commit using git ever this morning pushing the atomic-invoke bug fix to the stable branch... let me know if I did everything in the right way in terms of the log message and so on; I know nothing about what typical git project conventions are.

-----

1 point by nex3 6462 days ago | link

You got it just right - first commit line is the subject, after that is a more detailed description, etc.

Anyway, let me know if you want that GitHub invite.

-----

1 point by CatDancer 6462 days ago | link

Great!

I assume that once I read some more of the git tutorials I'll discover I can easily publish at least a read-only copy of my git repository off of my web site, yes?

-----

2 points by nex3 6467 days ago | link | parent | on: Arc2.tar

I believe Anarki works on Windows, although I wouldn't swear to it. If it doesn't, patches would be appreciated.

-----

2 points by mec 6466 days ago | link

Forgive my newbness but I've not used git before and don't really have a clue where to start. I did read that you can connect to git repos with other clients (I currently have TortoiseSVN installed) and would love to know how to do that as it would probably be the easier than setting up cygwin and figuring out git. Any help would be appreciated.

-----

3 points by nex3 6466 days ago | link

I think Cygwin is the official way to use Git on Windows, but there's a MinGW that seems to be very functional (http://code.google.com/p/msysgit/downloads/list).

Once you've got one of those installed, the basic workflow I talked about at http://arclanguage.org/item?id=1387 should work fine.

-----

3 points by raymyers 6466 days ago | link

I would encourage you to go ahead and try using git. However, here's a current snapshot of Anarki you can play with.

http://cadrlife.com/arc/arc-wiki.tar.gz

-----

2 points by sjs 6466 days ago | link

You can use git as a frontend to an svn repo but I haven't heard about doing it the other way. Because git is a superset of svn it may be possible but a quick search turns up nothing. Setting up cygwin is a snap. I am still a git noob. After an hour or two of reading you'll be able to use the git basics and after a few hours more reading you'll be able to use the basics and actually know wtf is going on underneath.

http://robsanheim.com/2008/02/22/learn-git-10-different-ways...

-----

3 points by nex3 6467 days ago | link | parent | on: Arc2.tar

Anarki should work fine on all Unixes (or at least Linux and BSD-based ones) and maybe Windows.

-----

1 point by lojic 6466 days ago | link

I'd like to stick to the canonical source for a while before I consider forks.

-----

3 points by mst 6466 days ago | link

anarki isn't really a fork any more than -ac is a linux fork.

Nor any less, I suppose.

Draw your own conclusions.

-----

10 points by nex3 6467 days ago | link | parent | on: Arc2.tar

I'm about to start merging.

-----

7 points by nex3 6467 days ago | link

Alright, all done. If someone (bsalty?) could look at srv.arc, that would be great.

-----

2 points by byronsalty 6467 days ago | link

will do

-----

1 point by cooldude127 6467 days ago | link

now master needs some love

-----

1 point by cooldude127 6467 days ago | link

awesome!

-----

6 points by nex3 6467 days ago | link | parent | on: Special Forms objects on arc git

Please follow the Anarki conventions. Don't use hard tabs, format your code properly, use descriptive commit messages, and don't clobber other people's improvements without a reason (in this case, the lset special form).

I've pushed fixes for the formatting/tabbing and lset issues.

-----

2 points by nex3 6467 days ago | link | parent | on: Hello web app broken again on Linux

The patch for this was one of the first things added to Anarki.

-----

3 points by nex3 6467 days ago | link | parent | on: Name to Variable Bindings

I'd rather see this as a prefix operator:

  (@if (tab x) (frob it) (alist-ref alist x) (foo it) (bar x))
Also, what if the explicitly-unhygienic macros want to have some hygiene? By this I mean that, for example, if you make "aif" totally unhygienic, more than just "it" gets exposed. "@if" is in no way a black box - you also need to be concerned about shadowing "let", "car", etc.

-----

More