Friday, October 10, 2014

Er skummet melk sunt?

En liter skummet melk inneholder 1400 kJ.

Den samme mengden energi får man fra 560 g helmelk, 359 g ymer(hvíta) eller 543 g skyr.

Så dosen med skummet melk inneholder nesten dobbelt så mye sukker som det nest søteste alternativet: Helmelk

g g fett g protein g sukker
skummet melk 1000 1 33 46
helmelk 560 17 18 26
ymer/hvíta 359 14 27 14
skyr 543 1 60 20

Sammenligning per liter gir et annet resultat. Men hverken melk, jus eller øl skal drikkes som tørste­slukkere.

Thursday, July 19, 2012

The etymology of Rock and Roll

Kenneth Williamson, Faroe Islands, 1941:

"The stupid whales […] in water too shallow for swimming they rocked and rolled without control"

Source: Pilot Whaling in the Faroe Islands by Jóan Pauli Joensen. ISBN 978-99918-65-25-6

Friday, May 4, 2012

SharePoint: Alternate Access Mapping explained

The public URL is the base for the URLs generated internally by Sharepoint.

The internal URLs are alternative URLs that are accepted in external links to the SharePoint site.

So I can't help but think that the terms had better be switched.

More meaningful terms for me, would have been Default URL for public URL, and Alias URL for internal URL.

Microsoft's explanation: Configure alternate access mapping

Thursday, April 12, 2012

SharePoint: " Cannot uninstall the LanguagePack 0 because it is not deployed"

Strange SharePoint error message:

Update-SPSolution : Cannot uninstall the LanguagePack 0 because it is not deployed.

The workaround seems to be Remove-SPSolution, Add-SPSolution, Install-SPSolution in place of Update-SPSolution.

Monday, March 5, 2012

Decoding: "A specified logon session does not exist. It may already have been terminated"

Got the error A specified logon session does not exist. It may already have been terminated when choosing a certificate for an SLL binding in IIS.

Turns out that the error was that the certificate should have been marked as exportable when importing it into IIS.

I need a better ear for language in this job.

Thursday, February 9, 2012

TMG changing protocol in URLs

TMG changing protocol in URLs

The problem isn't really in host headers, but that URLs in content delievered through TMG is changed. HTTP: to HTTPS: and vice versa.

Fix for URLs in Javascript: Splitting the string, so TMG won't recognize it as a URL. Not "https://www.blogger.com" but "htt" + "ps" + "://www.blogger.com"

Update:
There is a tab on the TMG rule called Link Translation. Uncheck Apply link translation to this rule and TMG stops doing that. Can't be much simpler. Except maybe no translation should have been the default?

Tuesday, September 6, 2011

"The local farm is not accessible"

In Sharepoint 2010 Management Shell, logging in as an administrator is not enough. You have to right-click the link, and choos Run as Administrator. Otherwise, get the error "The local farm is not accessible"