Madonna Hard Candy
February 28th, 2008
Pam Anderson has filed for an annulment from her husband Rick Salomon after only 4 months! A lot longer than I thought. Anderson has cited “fraud” as the reason for the failed marriage! [ACCESSHOLLYWOOD]
Paris Hilton could be getting her own show on MTV or VH1! Hilton’s reality show will follow the blonde on her mission to find a new best friend! Hilton fans should get ready because “[The new show is] going to be full of good chick drama and you will see a side of Paris not seen on Simple Life” an unknown source has said! I think we’ve seen every view possible when it comes to Hilton! In the meantime it looks like Paris has found herself another boyfriend! Benji Madden from “Good Charlotte” has been seen out in public holding hands with the hotel heiress! Did he lose a bet? The band has also changed their webpage displaying a new photo with Hilton in it! [CS]
Jimmy Kimmel retaliates by fucking Ben Affleck!
Mischa Barton has been charged with DUI. [MSNBC]
Madonna has finally made it into the Hall of Fame. The ceremony is scheduled to take place at the Manhattan’s Waldorf-Astoria Hotel on March 10th. Madonna will be inducted in by Justin Timberlake. Timberlake worked with Madonna on her upcoming album titled “Hard Candy” set for release on April 29th. [APNEWS]
I’m not really buying this one! The new rumor in Hollywood is that Justin Timberlake and Kate Hudson have been involved in a top secret affair for a year now! Kate Hudson is rumored to be pregnant! [SHOWBIZSPY]
Jessica Simpson and Tony Romo relationship not so hot for the singer’s career! Simpson’s label could be dropping her soon. Sources are saying
March 16th, 2008 at 11:07 am
It’d be nice if it actually worked.
March 16th, 2008 at 11:57 am
While I didn’t find much of interest, I have to admit that the line: [Monads] have been turned into a tool of intellectual terrorismmade me laugh.
March 16th, 2008 at 12:48 pm
Do you want to study chinese on tuesday? I think I am going to re take the exam
March 16th, 2008 at 1:38 pm
He may mean this paper: http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/baastad.pdfIf that doesn’t help there are a number of other monad related papers on Wadlers page here: http://homepages.inf.ed.ac.uk/wadler/topics/monads.html
March 16th, 2008 at 2:29 pm
That is what I am thinking. If we cannot get the joy of having karma, there will be no incentive to post bullshit. I am not really sure if it would really work like that, but hey it is an idea
March 16th, 2008 at 3:20 pm
You might be interested in “implicit parameters” in Haskell, for passing around configuration.
March 16th, 2008 at 4:10 pm
Spoken like a true addict.
March 16th, 2008 at 5:01 pm
I assume you’re joking. My cat meows at the door because it wants to go out. That does clearly show an “if I do this, then that happens” form of thinking.
March 16th, 2008 at 5:51 pm
I’ll be honest, if you want something to help, Try this http://www.nofutz.com
March 16th, 2008 at 6:42 pm
What do you mean “give it access to Monad”?Giving something access to a piece of configuration information should just involve adding some function parameters. I suppose if you want to be really fancy about it, you could use the Reader monad, but that’s usually excessive. Just add a parameter for a record consisting of your configuration data, and pass it down to wherever it’s needed. It’s really not as painful as you think.The article itself is pretty incoherent. I have no idea what it means by “monad bundle”, and it seems pretty obvious that whoever wrote it has spent little to no time whatsoever programming in Haskell and actually using monads.Monads are not generally intended to be combined, and when they are, the result is generally something nontrivial, and probably deserves its own module. In order for the composition of two monads to be a monad, you need something called a distributive law.Haskell programmers almost never use this method of combining monads, and you won’t find it in the standard libraries. If you’re interested, Conal Elliot’s TypeCompose defines an appropriate class for distributive laws, and an instance of Monad for the composite.There are monad transformers, for building up more complex monads from simpler ones, but this is not the same thing as combining monads, though it does in some sense combine the effects of certain monads, and again, it’s not something to be taken lightly. You generally stack a bunch of monad transformers to get exactly the monad which you’re interested in, or perhaps something somewhat more general, then newtype that and hide the fact those monad transformers ever existed for users of your library. For detail on that, see my article How to use monad transformers.In general, it just doesn’t make sense to mix computations from different monads. You usually apply some ‘run’-function to carry out the computations built up in one monad and then use the results in a completely different one. For example, in a compiler, you might use the IO monad to read in a file, and then pass the resulting string off to a parser written in some parsing monad, get back a syntax tree, then manipulate that with some pure functions into, say, some C code, and eventually do some output in the IO monad. None of this really involves mixing effects from different monads at the same time — for example, doing a bunch of I/O in the middle of some backtracking parser might be useful in rare cases, but for the most part would be pretty unpredictable and dangerous. If you really want that, there’s a monad transformer version of Parsec, but I’d recommend against doing it unless you were really sure you couldn’t do the I/O before or after parsing. (Which in my experience, basically never happens, and you can always factor the I/O out. At worst, you can have your parser return an IO action to be carried out afterward.)The only reasonable places to use unsafePerformIO is in adding new features to the evaluation model of the language, or new primitive data structures. Consider it similarly to modifying the Haskell compiler. There really is a better way to do everything else.I think a lot of these complaints also come from trying to use fancy monads for simple tasks which are better handled with pure functions and parameter passing.A lot of the simpler monads are just ways of factoring out certain patterns of parameter passing. The flip side of that coin is that you don’t know which monad you want until you understand how to write the thing without using a monad. I see far too many beginners jumping into solutions which use some complicated combination of monad transformers without first seeing what the code looks like written in a direct style.
March 16th, 2008 at 7:32 pm
You got me there
March 16th, 2008 at 8:23 pm
If you’re just throwing out ideas, why get so pissed off? I’m just throwing out ideas myself.I’m just saying that as internet rewards go, Karma is a pretty weak one.On some forums I’ve been too, you get “reputation”, little green bars under your username, avatar and post count. There are two main differences-Everyone can see your “rep” whenever you post, and it’s like a little badge you wear. (Same with post count)People on the forums develop a pecking order, with stars and nobodies.In the case of reddit, nobody can see your karma unless they really want to. And aside from say the 911 was an inside job guy and maybe Captain Obvious, there are no “stars”, at least that I know of. As far as I can recall we’ve never talked before, and likely won’t again. Its a lot more anonymous than most forums. So far as I can tell, there’s no social ladder to climb. I would love it if you could credibly prove that no one else here cares about karma.Well, I would love for you to prove everyone, or even many people, do. I can’t prove they don’t, you can’t prove the opposite. We’re both just throwing out ideas.But let me ask you this- who do you know for a fact that karma whores? I can’t think of anyone. Why do they do it? I can’t think of any reason.
March 16th, 2008 at 9:13 pm
I suspect he went into all this with expectations he didn’t want to let go. Darcs is slow. Haskell is not. Careless abuse of monads is ugly. Monads are not. I think the author fails to realize the difference.