Live data from Hacker News

Smjörið er brætt og hveitið smátt og smátt hrært út í það, þangað til það er gengið upp í smjörið.

news.ycombinator.com

161–165 of 165 posts

Re: Smjörið er brætt og hveitið smátt og smátt hrært út í það, þangað til það er gengið upp í smjörið.

#163
post #46

To je výborný !

Zdravím do Čech :)

Byl jsem narozeny cech, spravne prazak, ale ted jsem american. Prominte, muj pocitac nema hacky a carky, a moje cesina je detska.

Re: Smjörið er brætt og hveitið smátt og smátt hrært út í það, þangað til það er gengið upp í smjörið.

#164
post #146

Earlier quoted context omitted.

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.

Also curious how this would look

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ð, þangað til það er gengið upp í smjörið.

#165
post #76
post #72

Earlier quoted context omitted.

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.

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).

news.arc stores all information in flat files as lists.
Post reply on HN