News for hackers. Stuff that matters.

sarehu

Re:Sun Makes History: First Spotless Month in a Century on Monday September 01, 2008 @07:10PM (#292207)
The sun's surface rotates with a period of 25 to 35 days, depending on latitude, so I would guess not.
Re:Has a surfer Ph.D. rewritten physics? Maybe. on Sunday July 27, 2008 @03:13PM (#258364)
It's my understanding that a theory of everything describes the rules by which the universe operates. It doesn't say anything about emergent properties of these rules.

For example, if everything in the universe obeyed Newtonian mechanics, I would say that Newtonian mechanics was a theory of everything. You would say that it isn't.

Re:Has a surfer Ph.D. rewritten physics? Maybe. on Sunday July 27, 2008 @02:45PM (#258346)
What about it? All Godel's incompleteness theorem says is that there will be open questions about a universe describable by finitely many rules. The laws of physics don't need to provide answers to questions about whether computers in its universe will halt or whether planetary systems are stable.
Re:Has a surfer Ph.D. rewritten physics? Maybe. on Sunday July 27, 2008 @02:21PM (#258331)
That's complete nonsense. There's nothing about Godel's theorem that says the physical rules of the universe can't be described. You're babbling religiously.
Re:Minimalism (computing) on Saturday July 19, 2008 @12:58PM (#250721)
How is vi considered minimalist compared to Notepad?
Imagine... people doing what they want and making decisions that are best for themselves.
Re:Donate to help a MySQler on Saturday July 19, 2008 @01:11AM (#250499)
He should be downvoted; there's no need for him to grand stand about how hard he's trying.
Re:Malcolm Gladwell on Hiring: the Mismatch Problem on Wednesday June 04, 2008 @11:52PM (#209651)
But it does filter out people who don't have that tenacity. Those people who do have that kind of tenacity would already have learned about pointers and O notation.
Re:Why Perl 6 Scares The Hell Out Of Me on Tuesday June 03, 2008 @10:19PM (#208509)
I wasn't asking why macros were useful in general, but thanks anyway.
Re:Why Perl 6 Scares The Hell Out Of Me on Monday June 02, 2008 @09:50PM (#207496)
You can perfectly easily write with-foobar functions of any kind, so macros aren't a win there, except maybe in Lisp where it saves you a parenthesis or two. You can replice define-memoized-function with

   (define f (memoize (lambda args ...)))
so I don't see what macros gain you there. (Well, they save you from having to write lambda.) Especially if you're using a language with 'nicer' syntax, like Haskell:

    withFile $ \h -> do
      ...

    fib = memoize $ \n -> if n <= 1
                          then n
                          else fib (n - 1) + fib (n - 2)
Example (2) seems interesting though. And I'd like to see some examples of (3) that couldn't be so easily overcome. (Granted, my example is rather fake, since I don't know how you'd implement memoize for general types that only have a comparison function on them, without resorting to using some IO operation.)