Stuff

Stuff

Tuesday, June 06, 2006

Excel: Code to add picture to Excel Comment: "Ok... so I am not sure of all the medicinal uses of this technology but it is cool. Imagine that you have a list of parts for a product and you want to assign them to cells... then your users could see them as they hover over the cells... I dunno there must be something :s

Anyway, here is the code to do this in VBA (it assumes that the picture name comes from the cell text):

Sub AddPictureToComment()
Dim rng As Range
Dim shp As Comment

Set rng = ActiveCell

If Not rng.Comment Is Nothing Then
rng.Comment.Delete
End If

If rng.Text <> '' Then
Set shp = rng.AddComment('')
shp.Shape.Fill.UserPicture rng.Text
End If

End Sub"

Monday, June 05, 2006

Xanadu - Wikipedia, the free encyclopedia: "Xanadu, Zanadu, or Shangdu (Chinese: 上都; Pinyin: Shàngdū) was the summer capital of Kublai Khan's Mongol Empire, which covered much of Asia. Archeological findings assert that the city was situated in the present-day Inner Mongolia of China. The capital consisted of the square-shaped 'Outer City', 'Inner City', and the palace, where Kublai Khan stayed in summer. The palace is believed to have been half the size of Forbidden City in Beijing (China).

The Mongolian Khans made very few changes to their country, imbibing much of the Confucianist and Taoist philosophies, and remodelling their government on the native dynasties they had defeated. However, they opened up the empire to westerners, allowing travellers like Venetian explorer Marco Polo in 1275 to report the wonders of the Eastern capital to their fellow Europeans.

The reported splendour of Xanadu later inspired Samuel Taylor Coleridge to write his great poem Kubla Khan and caused Xanadu to become a metaphor for opulence. Xanadu is remembered today largely thanks to this poem, which contains the following often-quoted lines:

In Xanadu did Kubla Khan
A stately pleasure-dome decree:
Where Alph, the sacred river, ran
Through caverns measureless to man
Down to a sunless sea."

Wednesday, May 31, 2006

eBandwagon Software: "Especially designed for the recovery of content from PDF files that have been locked, either where you have forgotten the user password, and so cannot even open the file to read it, or if you have just forgotten the owner password, and so cannot edit, copy, or print the file."

Tuesday, May 23, 2006

Xinhua - English: "A Seattle-based research team has found that a person's physical performance has much to do with his or her future mental ability.

They said a simple way to tell one's chances of developing dementia or Alzheimer's disease in old age is by timing one's walk, testing the strength of the grip of one's dominant hand and checking one's balance when standing still.

The research team, led by Dr. Eric Larson, director of Group Health's Center for Health Studies, has studied 2,288 people 65 and older. Each person in the study was assessed every two years, or three times. The analysis of the first six years was published in Monday's Archives of Internal Medicine."

Lifestyle Changes for Alzheimer's? | Caremark Health Resources: "More and more evidence suggests that people who exercise regularly into their later years are less likely to develop Alzheimer's: In a recent study, older women who were physically active during the six to eight years of follow-up were less likely to suffer from impaired memory and reasoning. In addition, several case-control studies suggest that a sedentary lifestyle is a risk factor for the disease."

Pork barrel - Wikipedia, the free encyclopedia: "In politics, a pork barrel (or pork barrel politics) is a derogatory term describing government spending that is intended to benefit constituents of a politician in return for their political support, either in the form of campaign contributions or votes. The term is thought to have originated on Southern plantations, where slaves were allocated the unwanted remainder of slaughtered pigs, or the 'pork barrel'. Typically it involves funding for government programs whose economic or service benefits are concentrated in a particular area but whose costs are spread among all taxpayers. Public works projects and agricultural subsidies are the most commonly cited examples, but they do not exhaust the possibilities. Pork barrel spending is often allocated through last-minute additions to appropriation bills.

One of the earliest examples of pork barrel politics in the United States was the Bonus Bill of 1817, which was introduced by John C. Calhoun to construct highways linking the East and South of the United States to its Western frontier using the earnings bonus from the Second Bank of the United States. Calhoun argued for it using general welfare and post roads clauses of the United States Constitution. Although he approved of the economic development goal, President James Madison vetoed the bill as unconstitutional. Since then, however, U.S. presidents have seen the political advantage of pork barrel politics. The Oxford English Dictionary gives the first appearance of the term in print as 1909, in the Westminster Gazette:

'The Democratic Party…has periodically inveighed against the extravagance of the present administration, but its representatives in the Legislature have exercised no critical surveillance over their appropriations. They have preferred to take for their own constituencies whatever could be got out of the Congressional 'pork barrel'.'"

Tuesday, May 09, 2006

One Thing They Aren't: Maternal - New York Times: "In a word — ha. As much as we may like to believe that mother animals are designed to nurture and protect their young, to fight to the death, if need be, to keep their offspring alive, in fact, nature abounds with mothers that defy the standard maternal script in a raft of macabre ways. There are mothers that zestily eat their young and mothers that drink their young's blood. Mothers that pit one young against the other in a fight to the death and mothers that raise one set of their babies on the flesh of their siblings."

Thursday, May 04, 2006

'The Book of Lost Books,' by Stuart Kelly - The New York Times - Book Review - New York Times: "More debatable is Mr. Kelly's suggestion that the loss of a suitcase containing the young Ernest Hemingway's apprentice writings — his first wife, Hadley, was transporting his possessions to Switzerland in 1922, when the valise was apparently stolen — was actually a fortuitous event that forced him to develop his famous style and write the books he was capable of writing."

California Bill Would Limit Ultrasound Distribution - New York Times: "When Tom Cruise announced he had bought an ultrasound machine so he could see images of his unborn child, a California lawmaker thought the ''Mission: Impossible III'' star had gone too far."

Starlings' Listening Skills May Shed Light on Language Evolution - New York Times: "In the current issue of Nature, scientists report that starlings recognize song patterns based on rules of the sort that make language possible. Their paper has drawn sharp reactions pro and con from linguists and animal communication experts.

The debate is over what, if anything, the results mean for human language. Some scientists believe that the findings offer new clues to how it evolved. Others dismiss the notion."

American Chronicle: A Mormon President?: "The next time a news reporter questions whether a Mormon can be elected president, take a look at it for what it is. A lazy reporter needed a story about Romney and could not come up with anything new other than to rehash the same tired story so many others have already done. The evangelical pastors that reporters quote in such stories are quick to exaggerate. In reality the typical evangelical Christian is not much different than a Mormon.

They both want the best for their families, and they both do their best to live according to the beliefs of their religion. Some of their doctrines are different, but their values are not. As more and more people focus on values instead of doctrines they will recognize that having a Mormon as president is just what this country needs."

Doctors Object to Gathering of Drug Data - New York Times: "Although virtually unknown to consumers, the information has long been considered the most potent weapon in pharmaceutical sales — computerized dossiers showing which physicians are prescribing what drugs. Armed with such data, a drug sales representative can pressure a doctor to write more prescriptions for a name-brand medicine or fewer orders for a competitor's drug.

But now a rebellion is under way by some doctors, who consider the data-gathering an intrusion that feeds overzealous sales practices among the nation's estimated 90,000 drug company representatives. Public officials are also weighing in. A vote on a state bill to clamp down on the practice is scheduled for today in New Hampshire, and similar bills have been introduced in other states, including Arizona and West Virginia."

Tuesday, May 02, 2006

HSPH: Department of Health Policy and Management: "Postdoctoral Fellowships

The department offers two-year postdoctoral fellowships to candidates who wish to do independent research in such areas as quality of medical care, technology assessment and costeffectiveness, health care policy, management of health care organizations, and AIDS policy. The program emphasizes methodology in evaluation research, decision science, economics, and organizational analysis and permits fellows to design individualized programs of study. Fellows may also apply for admission to a formal degree program. Candidates must hold an MD, DDS, PhD, or equivalent degree and must be U.S. citizens or permanent residents. Applicants must submit a curriculum vitae; three letters of reference; and a statement describing career goals, research interests, and reasons for applying. The application deadline is December 20, 2005, for a fellowship beginning in July 2006."

Lifestyle/Scene - Ex-CEO applies his skills for God - sacbee.com: "Last year, Van Johnson was making more than $800,000 as CEO of Sutter Health in Sacramento. Now he's working 14-hour days with a young, inexperienced staff that calls him at all hours of the night with questions.
And he's doing it all for free"