News for hackers. Stuff that matters.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by far33d on Thursday February 07, 2008 @01:19PM (#111145)
So. A note to all the "unicode makes this unusable" people -

Apparently, while you were complaining, someone else was solving.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by menloparkbum on Thursday February 07, 2008 @02:05PM (#111227)
Thanks, grandma.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by henning on Thursday February 07, 2008 @03:55PM (#111382)
OK. Now how about database access (with support for prepared statements), regular expressions, and networking?
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by benmathes on Thursday February 07, 2008 @04:11PM (#111397)
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by henning on Thursday February 07, 2008 @04:17PM (#111401)
Super-duper. I'm not going to use Arc for anything serious until essential libraries are in place.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by pg on Thursday February 07, 2008 @05:35PM (#111491)
Different people have different ideas of serious. To me, exploratory programming is fairly serious, because that's the kind of programming that generates ideas.

Arc is already capable of supporting some subset of applications that are serious in your sense. News.YC is at least moderately serious in that sense.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by henning on Thursday February 07, 2008 @05:50PM (#111512)
You said News.YC uses some kind of persistent hash structure for storing everything. This seems to me like Greenspun's Tenth Law except with Berkeley DB instead of Common Lisp; I wouldn't want to write the logic to do what BDB already does much better and faster (I don't want to implement ACID transactions myself if I decide I need them).
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by niels_olson on Sunday October 12, 2008 @09:28PM (#330643)
news.arc stores all information in flat files as lists.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by Xichekolas on Thursday February 07, 2008 @04:44PM (#111418)
Darn.

At least you were kind enough to let us know.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by sammyo on Thursday February 07, 2008 @07:14PM (#111618)
Well you'll be late to the table for Web 3.0 then... ;-)
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by benmathes on Thursday February 07, 2008 @06:35PM (#111582)
clarification: Arc should probably have some kind of database hook at some point, not much point in reinventing that wheel when it works so well for many problems. But that's not the point, as the author has repeatedly pointed out.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by Kaizyn on Thursday February 07, 2008 @06:29PM (#111572)
Which of those are you planning to contribute?
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by eru on Friday February 08, 2008 @03:55PM (#112334)
I'd love to see regular expressions as s-expressions in arc - not pasted on as interpreted strings.

Actually I think I have seen a library for MzScheme that does it this way.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by pchristensen on Friday February 08, 2008 @05:30PM (#112392)
Also curious how this would look
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by eru on Monday February 18, 2008 @12:31AM (#117950)
It could look like this: (* (+ "a" (* "b"))) for: "(a+b)" [Perhaps you prefer not to re-use + and * for this.]

Sure, it's somewhat more verbose for this toy examples - but every intermediate expression (and the whole thing) is a Lisp-Object in its own right.

You would not even need macros.

Edit: There is a place for macros here to make things less verbose. Just write a macro that 'compiles': (* (+ a (* b))) into the form above.

For convenience you can offer a function that builds RegExps out of strings in the usual way.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by sjs on Friday February 08, 2008 @11:58AM (#112167)
There is a public git repo anyone can push to (the so-called git "wiki", or anarki). It contains regular expressions. You could wrap some DB bindings for mzscheme with relative ease.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by microdan on Thursday February 07, 2008 @02:07PM (#111234)
I think the complaints were more about how pg was originally saying that he intended to never support Unicode. That said, people should realize that UTF-8 encoding/decoding is the zeroth step to internationalization with Unicode.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by curi on Thursday February 07, 2008 @02:12PM (#111249)
pg didn't say that. people just made it up.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by olavk on Thursday February 07, 2008 @02:27PM (#111285)
He did however say:

"It's not for everyone. In fact, Arc embodies just about every form of political incorrectness possible in a programming language. It doesn't have strong typing, or even type declarations; it uses overlays on hash tables instead of conventional objects; its macros are unhygienic; it doesn't distinguish between falsity and the empty list, or between form and content in web pages; it doesn't have modules or any predefined form of encapsulation except closures; it doesn't support any character sets except ascii. Such things may have their uses, but there's also a place for a language that skips them, just as there is a place in architecture for markers as well as laser printers." (http://arclanguage.com/)

I certainly interpreted this as ASCII-only (along with presentational markup) was an explicit design decision, and I don't think this is a far-fetched interpretation. Luckily PG has clarified (http://news.ycombinator.com/item?id=111189) that this is not really what he meant, and now everyone is happy and has regained trust in Arc!

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by curi on Thursday February 07, 2008 @04:42PM (#111415)
What kind of site does it make YC if this is how to get karma?
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by rms on Thursday February 07, 2008 @05:38PM (#111492)
there is a very different pattern of karma for comments in "big" threads.
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by curi on Thursday February 07, 2008 @05:45PM (#111504)
On reflection: your reply is ♫♪♫ to my ears. I ♥ good points...

Edit: heh, "thanks grandma" has even more than that.

Edit: btw it's funny that i'm still being upmodded

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by curi on Thursday February 07, 2008 @06:25PM (#111563)
so someone downmodded all of:

- a simple, popular comment

- a comment suggesting maybe the first one shouldn't have been upmodded so much

- a comment backing off

Why would you downmod all of them? If you like dislike the first comment, you should like the second, and vice versa. And if you're unhappy with me in general for the first two, you should like the third one.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by euccastro on Thursday February 07, 2008 @07:55PM (#111644)
1) How do you know the same person downmodded the three?

2) Simplest explanation for that case would be that he's downmodding the latter two as noise. You can agree to a comment and still believe it doesn't add anything to the topic in which it appears.

Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by immad on Thursday February 07, 2008 @08:04PM (#111651)
I downmodded because the discussion was getting too meta :P
Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það... by curi on Thursday February 07, 2008 @10:14PM (#111743)
all 3 downmods appeared between quick refreshes.