Articles Archive for January 2010
Featured, Headline, Life & Introspection, Science, Weird Wide World »
Is there an intelligent designer? If so then they are surely a mad and cruel scientist. Observe the parasite “Cymothoa exigua” [LINK]. Here’s is an animal, a parasite, that attaches to a fish’s tongue. Once attached it cuts off the blood to the tongue which eventually falls off. It then happily lives in its unfortunate hosts’ mouth. I assume its incredibly painful for the host fish who is powerless to get rid of it.
Or how about “Sacculina”, the mind-control barnacle? [LINK]
“Upon finding a host crab, a female Sacculina will crawl …
Featured, Headline, Life & Introspection »
Bob Proctor is at it again. The Secret, which benefited greatly from “The Oprah Effect” essentially put The Law of Attraction, around which much of Proctor’s shtick is based, on the map. The Law is…
“Essentially, “if you really want something and truly believe it’s possible, you’ll get it”, but putting a lot of attention and thought onto something you don’t want means you’ll probably get that too.”
This claim is entirely fantasy based, with no clinical evidence to back it up AT ALL. Yet The Secret was purchased by over 2 …
Featured, Headline, Web Development »
I had a weird Serialization problem with Linq to SQL the other day and since I didn’t Google the fix I figured I’d publish it here.
I had a table which refers to itself, something like this:
CREATE TABLE [dbo].[node](
[id] [int] IDENTITY(1,1) NOT NULL,
[title] [nvarchar](50) NOT NULL,
[parentId] [int] NULL,
CONSTRAINT [PK_node] PRIMARY KEY CLUSTERED
(
[id] ASC
)
ALTER TABLE [dbo].[node] WITH CHECK ADD CONSTRAINT [FK_node_node] FOREIGN KEY([parentId])
REFERENCES [dbo].[node] ([id])
I have a stored function to retrieve all the nodes, including their descendants from the DB, mine’s based on the function included here [LINK]
Once I got the rows, …