Home
current entries friends' entries archives about me Previous Previous
mes amis
the story of an invisible girl
[info]slashdot
Add to Memories
Tell a Friend
[info]getfuzzyfeed
[info]misery_chick
Add to Memories
Tell a Friend
[info]slashdot
Add to Memories
Tell a Friend
[info]cathy_comic
Add to Memories
Tell a Friend
[info]apod
Add to Memories
Tell a Friend

Noctilucent or night-shining clouds lie near the Noctilucent or night-shining clouds lie near the


[info]snopes_dot_com
Add to Memories
Tell a Friend
Did a government memo regulating the sale of cabbages use 27,000 words?
[info]postsecret
Add to Memories
Tell a Friend



PostSecret is an ongoing community art project where people
mail in their secrets anonymously on one side of a postcard.








PostSecret Community





























-----Email Message-----

It's Sunday and I am carefully watching the visitor count at the very bottom of this page. I am going to try to be your quarter billionth visitor!















I am thrilled to present the cover for the new PostSecret book which has more than 250 never-before-seen secrets.

Pre-order
your copy today.

If you've mailed a secret to me and haven't seen it posted, you may find it in this book.





Saturday Secrets & More . . . Follow PostSecret on Twitter.



[info]thoughtblogs
Add to Memories
Tell a Friend

I've been spending a bit of time writing some code to parse the xml of my Feedburner RSS feed and create a graph to show both the daily and weekly average subscribers which you can't currently get from the Feedburner dashboard.

One thing which I found while doing this is that calls to the .NET base class library don't seem to fit in that well with the way that you would typically compose functions together in F#.

For example one of the first things I wanted to do was print the date and the circulation count to the console which I originally did like this:

open System.IO
open System.Net
open Microsoft.FSharp.Control
open System.Xml.Linq
open System
 
let xName value = XName.Get value
 
// GetXml is a function of type string -> string
 
let GetFeedBurnerStats url = 
    let feedBurnerXml = GetXml url |> XDocument.Parse
    feedBurnerXml.Descendants(xName "entry") |> 
    Seq.map (fun x -> x.Attribute(xName "circulation"), x.Attribute(xName "date")) |>
    Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value)

It's quite annoying that we need to store the XDocument as a value before being able to call one of the methods on it to get the data that we want.

I realised that if I created a function which took in the element whose descendants I wanted to find and the XDocument I could then call the 'XDocument.Descendants()' method inside that function:

1
2
3
4
5
6
7
8
9
let xName value = XName.Get value
let GetDescendants element (xDocument:XDocument)  = xDocument.Descendants(xName element)
 
let GetFeedBurnerStats = 
    GetXml >> 
    XDocument.Parse >> 
    GetDescendants "entry" >>
    Seq.map (fun x -> x.Attribute(xName "circulation"), x.Attribute(xName "date")) >>
    Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value)

Since we no longer need to store the intermediate step of creating the XDocument we can now just chain together the functions using the functional composition operator instead of the forward operator.

We can also do this with the calls to 'Attribute' in the 'Seq.map' function on line 9 which helps simplify the code around there.

1
2
3
4
5
6
7
8
9
10
let xName value = XName.Get value
let GetDescendants element (xDocument:XDocument)  = xDocument.Descendants(xName element)
let GetAttribute element (xElement:XElement) = xElement.Attribute(xName element)
 
let GetFeedBurnerStats = 
    GetXml >> 
    XDocument.Parse >> 
    GetDescendants "entry" >>
    Seq.map (fun x -> GetAttribute "circulation" x, GetAttribute "date" x) >>
    Seq.iter (fun x -> printfn "%s %s" (fst x).Value (snd x).Value)
[info]scalzifeed
Add to Memories
Tell a Friend

This is nice: The German version of The Last Colony has been nominated for the 2009 Deutscher Phantastik Preis, in the category of Best International Novel. The entire slate of nominees in the category:

  • Brian Keene: Der lange Weg nach Hause (Otherworld Verlag)
  • Cassandra Clare: Chroniken der Unterwelt – City of Bones (Arena)
  • John Scalzi: Die letzte Kolonie (Heyne)
  • Neal Stephenson: Principia (Manhattan)
  • Patrick Rothfuss: Der Name des Windes (Klett-Cotta)

That’s not bad company to be in. Here’s more information about the award itself.

It’s fun to be nominated for stuff. It’s fun to occasionally win, too. But being nominated is fun enough. Danke, German readers!

[info]slashdot
Add to Memories
Tell a Friend
piperki
[info]healthyus
[info]piperki
Add to Memories
Tell a Friend
I don't know what came over me but for the past couple of months I've been eating kind of like a teenage boy and it sure shows. Add to that my bizarre dizziness and mysterious leg injury and you get: flab. While my son was away at camp last week, I sealed his bag of chips in a ziploc and put it in the back of the cupboard, bought a bunch of fruit and started seriously counting every bite of non-vegetable carbs that went into my mouth. If I can't work out like I'm supposed to, I have to get more serious about the food thing.

I also went to water aerobics. Hated it. I wasn't the youngest person there but it was still not fun...corny music and although it wasn't a big class, it was crowded because we had to stand as close to the instructor as possible to hear her. Water aerobics will definitely be a desperation move on the days when everything hurts too much for me to do anything else.

But the good news is, I can walk for exercise again! I still can't run, it hurts too much, but I can walk and if I take it easy maybe I'll be able to run after another week or so! I only had to take advil once today, such an improvement. Went to the gym and rode the bike, only half an hour but I was just glad to be doing anything after so much sitting.

Only two and a half more weeks until I get the physical therapy that's supposed to cure my dizziness.
cynnerth
[info]cynnerth
Add to Memories
Tell a Friend
I ate haggis for the first time today and liked it!

From Wikipedia:
"sheep's 'pluck' (heart, liver and lungs), minced with onion, oatmeal, suet, spices, and salt, mixed with stock, and traditionally boiled in the animal's stomach for approximately three hours."

Tags:

ruhoo
[info]healthyus
[info]ruhoo
Add to Memories
Tell a Friend
Weight woes
I have been exercising and eating right EVERY SINGLE DAY for the past month. I go to the gym and burn an average of 700 calories PER a DAY.

I look on the scale........

165.

WTF. I haven't even lost a single pound. The scale hasn't budged. I feel that I have muscles and things are getting toned, but I'm the same weight. I want the scale to drop. WTF is wrong????
ruhoo
[info]dietingsupport2
[info]ruhoo
Add to Memories
Tell a Friend
I have been exercising and eating right EVERY SINGLE DAY for the past month. I go to the gym and burn an average of 700 calories PER a DAY.

I look on the scale........

165.

WTF. I haven't even lost a single pound. The scale hasn't budged. I feel that I have muscles and things are getting toned, but I'm the same weight. I want the scale to drop. WTF is wrong????
[info]slashdot
Add to Memories
Tell a Friend
[info]scalzifeed
Add to Memories
Tell a Friend

Because, yes. I know how he suffers.

(Hat tip to the fabulous Karen Meisner)

bloggingchick
[info]bloggingchick
Add to Memories
Tell a Friend
I did not make it to the 48 Hour Film Project meeting roughly 34 miles away. The closest freeway is 5/I-96/I-275/I-696. I started out and discovered too late that the part I needed to take was closed. Long story short I suddenly began to think that perhaps overnight I had been transported to an alternate reality in which I was not allowed to leave the city where I am currently. I eventually ended up contacting the "leader" of the group and told him I just could not make it in time. Fortunately, there is another meeting tomorrow. I WILL get out of the city and make it to the meeting.

In other news, James Moran who has written an episode for Dr. Who, Primeval and two for Torchwood (most recently Day 3 for the current series) among other shows is on Twitter. I felt bad for him because he ended up spending several hours trying to explain that he was not personally responsible for an episode he did not write but in which he still received a lot of backlash.

Today there was discussion about ghosts. I'm not entirely certain how it originated, but there it was. JM tweeted about everyone shouting for the Ghostbusters and "tinkle the top two notes on the piano- apparently ghosts hate that".

I passed to him the links for my videos of the Masters of Lightning playing Ghostbusters and the Dr. Who theme tune with the musical tesla coils telling him they were best versions ever, although I did not tell him they were my videos. I had absolutely no expectation whatsoever of him even seeing it but I figured what the hell. Not only did he see it, he watched them and responded back to me:

"That rocks. Hard."





Tags: , , , , ,
Current Mood: dorky

[info]slashdot
Add to Memories
Tell a Friend
ruralrob
[info]ruralrob
Add to Memories
Tell a Friend



This really is a follow-up to the discussions here yesterday about the relative merits of compacts vs DSLR's, and their respective abilities to produce decent images with ease.

So I experimented. The subject in each case is a clivia that sits in our basement two-thirds of the year, but flourishes on our porch, right by the front door, during the simmer months. We've had it for over twenty year and it flowers every June. Anyway, both images were taken within seconds of each other, so the lighting conditioins were the same

This first one was taken on my little Lumix LX-2. Frankly I don't mess much with this camera. It's usually on one of the automatic setting, in this case close-up. I chose to exploit its ability to capture a no-nonsense image, whose merit I suppsoe is that it plays on the symmetry of the subject. It's the kind of shot that's easy to pull off on a compact. The EXIF data shows it was shot at ISO 22, f4.9 at 1/8.

The second shot is from the Nikon D90; I went fully manual on this one, deliberately under-expsoing it. I don't think I could have done this easily on the LX2 (at least without heavy post-editing); although the compact has full manual settings, the issue here is that the poor viewfinder makes it hard to see what you've just shot, so it prevents you from thinkering with the exposure after each shot, which is generally the way folks do manual. Because the ISO was pushed to 3200, you'll note that grain has set in, but I'm OK with that here. Other settings: f10 at 1/80. The next logical step would have been to convert this image to b/w perhaps, but I didn' go there, as it would have made comparisons all that more difficult.



I guess this exercise just reinforces the fact that interesting images can be taken on all kinds of cameras. You may in fact prefer the one taken here on the much cheaper camera of the two. It doesn't really matter. The point, I think, is that whatever camera you're using, there are ways to exploit its strengths and cover off its weaknesses.

What do you think?
[info]slashdot
Add to Memories
Tell a Friend
[info]scalzifeed
Add to Memories
Tell a Friend
[info]_weightwatchers
[info]wwmrsn
Add to Memories
Tell a Friend
[info]slashdot
Add to Memories
Tell a Friend
dagibbs
[info]dagibbs
Add to Memories
Tell a Friend
I did a bouldering problem (that I've done nicely before) really badly... feet peeled off about 4 times and I had to recover. In doing it, though, I peeled skin off three fingers. Ouchies.

Tags:

[info]scalzifeed
Add to Memories
Tell a Friend

Have a video of a song I liked, oh, 20 years ago:

The band: An Emotional Fish, thus proving that bands with terrible names can make reasonably good music. This is actually the first time that I’ve seen video in all that time, however. Interesting. And not a speck of blue in it.

[info]slashdot
Add to Memories
Tell a Friend
butterflytobe
[info]butterflytobe
Add to Memories
Tell a Friend
Amelia seems to be doing really well. She's eating more than she has been.
I joke to Keith that she's eating us out of house and home-but that
couldn't make me happier. She still bounces about to the window sill.
And jumps onto the bed. Which she has to do :D, as she sleeps in my lap
every night. I love that! And she still purrs and is vocal so I think
she's comfortable and happy. Here are a few pics from the end of June.








I'm truly sorry for not putting the second two under a cut. I just could not make it work for some reason today. I wanted to be sensitive to those of you who have lost kitties. I'm sorry if it seems like I'm not.

Tags: ,

[info]slashdot
Add to Memories
Tell a Friend
muteid10t
[info]muteid10t
Add to Memories
Tell a Friend

[info]daddy_guido 's talk about his new car inspired me to post about my piece of Detroit Muscle. A 1969 Ford Torino GT

This ones not mine, mine doesn't have a black hood but you get the idea.
I have been meaning to get this car back on the road for a while now but lack of time has been my limiting factor.
I think sometime in the next few months I will pull it out of storage and start getting it back in road ready order.
Here's to having my baby back on the road for next spring or summer.

Tags: , ,
Current Location: Home

[info]slashdot
Add to Memories
Tell a Friend