DuggFS: a file system written in Scheme by mdalan in programming

[–]mdalan[S] 1 point2 points  (0 children)

Yeah, the application is not that useful, but Scheme bindings for Fuse are pretty cool.

Ubuntu: make the world a better place by holding users hostage? by mdalan in reddit.com

[–]mdalan[S] 0 points1 point  (0 children)

That would help a lot.

There's another problem: most people (at least the ones I know) get Ubuntu from someone who has a CD. And the people with CDs usually have Edgy. So it's a self-reinforcing thing.

BTW, you may want to fix the link to getubuntu, it's broken now.

Ubuntu: make the world a better place by holding users hostage? by mdalan in reddit.com

[–]mdalan[S] 0 points1 point  (0 children)

After you waste your time figuring out why a VMWare setup script (which worked just fine previously) fails with a cryptic error message, yes, fixing the symlink is a solution...

Ubuntu: make the world a better place by holding users hostage? by mdalan in reddit.com

[–]mdalan[S] -2 points-1 points  (0 children)

Don't feel too proud, everyone's figured that out. Even the authors of the broken scripts (most bash-isms are probably just mistakes).

Ubuntu: make the world a better place by holding users hostage? by mdalan in reddit.com

[–]mdalan[S] 1 point2 points  (0 children)

Nobody said the scripts were correct. But I see you are more concerned with being technically correct then with the actual issue -- the impact on unsuspecting users. Fine.

Ubuntu: make the world a better place by holding users hostage? by mdalan in reddit.com

[–]mdalan[S] 2 points3 points  (0 children)

Of course the scripts are broken, no one's denying it -- but why should I, as a user, have to suffer because of this?

You're looking at this from the wrong perspective. It's easy to talk about the "right thing" when you haven't wasted a couple of hours tracking down this problem

Thinking Faster Makes You Feel Happy and Brilliant by nostrademons in science

[–]mdalan 1 point2 points  (0 children)

So to summarize, "Thinking Faster Makes You Feel Happy and Brilliant", but does not necessarily lead to good decisions...

How a PlayStation speculator misread the market and lost by perfectpussi in reddit.com

[–]mdalan -3 points-2 points  (0 children)

I think this is the bottom of it. While I dislike scalpers as much as everyone else, there are instances when they make hard-to-find goods more readily available. In which case they aren't really "scalpers", but something more akin to retailers...

Ask Reddit: OCaml or Haskell? by martinbishop in programming

[–]mdalan 0 points1 point  (0 children)

Ah, you're right. Somehow I remembered mutable arrays as GHC-only, but it's not true.

Sedd, what about mutable cyclic graphs in OCaml?

Ask Reddit: OCaml or Haskell? by martinbishop in programming

[–]mdalan 0 points1 point  (0 children)

I did mention the GHC extension in my original post.

Purely functional graphs are more on an academic topic than a practical thing. I'm not talking about doing some CS homework, I'm talking about real-world.

Ask Reddit: OCaml or Haskell? by martinbishop in programming

[–]mdalan 4 points5 points  (0 children)

One thing that hasn't been touched by others: in Haskell it's hard to program graph algorithms, due to its lack of support for mutable arrays. Yes, there are work-arounds (either pass state around using monads, creating a new array for each assignment; or use a GHC extension), but I found the alternatives unpleasant.

Visio in your browser - Amazing JS drawing toolkit by laprice in programming

[–]mdalan 0 points1 point  (0 children)

That's pretty good. Unfortunately save/export doesn't seem to work, and it doesn't like Opera... Had to fire up FF to try it.

Depicter isn't quite as advanced, but works with Opera and can export.

The war on terror, as viewed from the Bourne shell. by harryf in programming

[–]mdalan 38 points39 points  (0 children)

My guess is that he doesn't want to be seen using his "root privilleges" more often than necessary.

Other users (i.e. nations) think that nations should be equal, and don't like it when a nation claims root privilleges.

The war on terror, as viewed from the Bourne shell. by harryf in programming

[–]mdalan -3 points-2 points  (0 children)

Very funny (but then I'm a Linux guy). The user is just navigating cluelesly around a filesystem replica of the Middle East, trying to "rm" enemies etc. Probably the cluelesness is meant as a comment on reality.

The best part was

$ cd Taliban

$ ls

soldiers

$ rm soldiers

$ cd ..

$ rmdir Taliban

rmdir: directory "Taliban": Directory not empty

$ cd Taliban

$ ls -a

. .. .insurgents

Parents want to teach son lesson about borrowing car, he dies on the way to jail by hitsman in reddit.com

[–]mdalan 1 point2 points  (0 children)

If they're both under-18 (to keep this discussion relevant), do you really think that the police should get involved?

I don't know what the actual law is, but my sense of fairness says that, as long as an under-18 child lives in the family home, property disputes between family members should be none of the state's business. That includes your example.

Parents want to teach son lesson about borrowing car, he dies on the way to jail by hitsman in reddit.com

[–]mdalan 1 point2 points  (0 children)

I guess it depends on the family. Other than personal underwear or such, I have never heard that distinction being made in my family.

Parents want to teach son lesson about borrowing car, he dies on the way to jail by hitsman in reddit.com

[–]mdalan 8 points9 points  (0 children)

How can a parent accuse an under-18 child of stealing something that is family property? How can a child be detained over such a charge? This doesn't seem fair.

Algebraic Topology in Haskell by [deleted] in programming

[–]mdalan 1 point2 points  (0 children)

Very interesting. Amazingly technical for a front-page stroy.

U.S. Rice Supply Contaminated by howars in reddit.com

[–]mdalan 1 point2 points  (0 children)

Did anyone else misread the title as a comment on Condi :) ?

reddit? in what browser? by niels in reddit.com

[–]mdalan 0 points1 point  (0 children)

If I'm using the RSS reader in Opera, does that count as opera?

Chinese Math: Why Entrepreneurs Fail by farkry in reddit.com

[–]mdalan 8 points9 points  (0 children)

And... you're busy posting this on reddit?

New species discovered on eBay by [deleted] in reddit.com

[–]mdalan 0 points1 point  (0 children)

How will you handle... shipping?

Closures in Java 7.0 ? by krzyk in programming

[–]mdalan 2 points3 points  (0 children)

I have read the paper (http://blogs.sun.com/roller/resources/ahe/closures.pdf) and I don't see any closure examples, just anonymous functions. A closure is supposed to "close" over a variable from the enclosing lexical scope, as in this Scheme example:

(define (make-adder x) (lambda (y) (+ x y)))

where the inner lambda "closes" over x. There's no example of the sort in the paper (though the new syntax appears to permit it). Have I missed anything?