Arc Forumnew | comments | leaders | submit | ncommentslogin
181.
2 points by jhowe 4645 days ago | link | parent | on: Syntax highlighting mode for .arc files

Here, I found the arc.el for you: https://github.com/arclanguage/anarki/blob/master/extras/arc...
182.

thank you
183.

No, I'm going to set that up. Ok, thanks!
184.
2 points by thisisdallas 4669 days ago | link | parent | on: Create a "sticky" post in news.arc

Ok, great, thanks for reply! I'm still really new to arc so, to be honest, it doesn't really make sense without looking at the actual. Hopefully, later today/this week, I will have some time to sit down and really look into things. Once I get something functioning I will definitely send a pull request.
185.

Thank you!
186.

Yeah, I know, seems old though like 2009.
187.

IMHO, it's awesome. Do you guys know when it will come out?
188.
2 points by Twoflower 4724 days ago | link | parent | on: Still under development?

Thanks! :D
189.

(author of the article here)

Thanks for the analysis!

You're absolutely right in that I've glossed over quite a few details, and clearly I've screwed up in some ways that were immediately obvious to you :P

I guess the first thing I'd have to introduce for the whole issue of basic operations destroying the entire system is to introduce something like:

    def _foo:+(_foo:n, _foo:m):
        ...
i.e. that "underscore something" is a meta-name.

Then we have:

  hello = "hi, "
  world = "planet"

  hello_world = hello + world     # error, since join(hello, world) = top

  # and yet...

  hello_world = "hi, " + "planet" # not an error: join(bottom, bottom) = bottom
yes, this is exactly the point. The idea is that if you're giving it a name, that actually means something pretty significant, much more than just a way to access some specific bit of RAM with a bunch of ascii characters as reference.

I don't know how it'd scale but I imagine that many users of such a theoretical system would find it really annoying to write in the beginning without good tooling (kind of like Java with all those getters and setters :P). I do believe though that this is also the case in Objective-C and that in ObjC this tradeoff is appreciated later when maintaining big code bases. Maybe my rather draconian idea is unfeasible because of this reason alone!

I would like to have the short forms from my examples in ObjC though.. writing "x:x y:y width:width height:height" is actually something that happens quite a bit ^_-

190.
1 point by dram 4761 days ago | link | parent | on: Failed to modify strings in latest mzscheme

Thanks, well done.
191.
3 points by dram 4761 days ago | link | parent | on: Failed to modify strings in latest mzscheme

Your fix is cleaner. :)

BTW, I think `(unescape-ats s)` also needs to be treated as the same.

So that it will not fail when atstrings is set.

192.
2 points by dram 4761 days ago | link | parent | on: Failed to modify strings in latest mzscheme

Great!

I'll make a pull request later.

193.
2 points by dram 4762 days ago | link | parent | on: Failed to modify strings in latest mzscheme

OK.

I'd like to run some tests to make sure it does not cause much problem.

I found this one:

https://github.com/conanite/rainbow/tree/master/src/arc/lib/...

But it failed with following error when using arc3.1.

  arc> (load "unit-test.arc")
  nil
  arc> (rat)
  Error: "_dfn: undefined;\n cannot reference undefined identifier"
194.
4 points by dram 4762 days ago | link | parent | on: Failed to modify strings in latest mzscheme

Yes, That is the problem!

Here is a quick and dirty patch for arc3.1, it postpones string-copy and let it run by eval.

Not sure if it will cause some other problem.

  50,51c50,51
  <           (unescape-ats s))
  <       (string-copy s)))          ; avoid immutable strings
  ---
  >           `(string-copy ,(unescape-ats s)))
  >       `(string-copy ,s)))          ; avoid immutable strings
195.
3 points by dram 4762 days ago | link | parent | on: Failed to modify strings in latest mzscheme

Find this thread in plt-scheme mailing list that pg posted several years ago.

http://comments.gmane.org/gmane.lisp.scheme.plt/14787

It seems that this problem had once been solved, but occurred again.

196.
2 points by cassano 4801 days ago | link | parent | on: Install hackernews Problem

Tks a lot ! it's ok thk U very much ! Welcome to Beijing ! but the air is not good
197.
1 point by cassano 4801 days ago | link | parent | on: Install hackernews Problem

Did not have the file arc/admins No such file or directory

I am a tiro for linux and my english is also bad I am chinese:)

198.
1 point by cassano 4801 days ago | link | parent | on: Install hackernews Problem

sometimes no probelem but now have this problem

help:(

199.
1 point by marcvs 4801 days ago | link | parent | on: Google Analytics inside news?

hey, it works! thank you.
200.
1 point by cassano 4803 days ago | link | parent | on: Install hackernews Problem

gtalk?
201.
1 point by cassano 4803 days ago | link | parent | on: Install hackernews Problem

please help me ths
202.

good tutorial on screen: http://www.rackaid.com/resources/linux-screen-tutorial-and-h...
203.

will do
204.

OK - now how do I get it to run unattended? It is running from the console right now so disappears when I close the terminal.

http://geoengineeringnews.bitnamiapp.com:8080/news

205.

racket -f as.scm works! moving forward ...
206.

tried running it as sudo. No change. There are 23 characters in the first line of as.scm and I am getting the error message

read failed to read all 23 bytes from file mzscheme

207.

I just upgraded to 5.3.3 but that didn't fix it. Still getting the same error.

I am wondering if there is a permissions problem. It sounds like mzscheme is trying to read as.scm but failing.

208.

did you install the latest version of racket? there's an updated version since nicholas published his tutorial. i followed his instructions and everything worked fine.
209.
1 point by Fenng 4851 days ago | link | parent | on: Wrong comments time

OK.

I found another BUG, when click 'Saved' link in profile page, it's a blank page.

210.
2 points by Fenng 4851 days ago | link | parent | on: Wrong comments time

Thanks a lot! It's work now .

By the way, I've set my email in profile.

More