Mimicing UPSERT/MERGE in Sql Server 2005 (UPDATE or INSERT)
6 weeks ago
NOTE: not concurrency-safe ... need transaction and locking
sql
6 weeks ago
How to bake cakes in jars
10 weeks ago
Video: http://www.chow.com/food-news/108148/how-to-bake-cakes-in-a-jar/
divide 2 + 1/2 cups fresh fruit into 4 (1/2pint)canning jars
combine
1/2 cup flour
1/2 sugar
1/2 tsp salt
mix together and pour over fruit
top with 1 tablespoon butter per jar
place jars in 8 inch baking pan (use dried beans to stop them from sliding) and bake at 350F for 1 hour (till tops are brown/bubbly and cakes have set)
cool, top with whipped cream. Keeps for a week in the fridge
cooking
baking
toTry
kids
picnic
divide 2 + 1/2 cups fresh fruit into 4 (1/2pint)canning jars
combine
1/2 cup flour
1/2 sugar
1/2 tsp salt
mix together and pour over fruit
top with 1 tablespoon butter per jar
place jars in 8 inch baking pan (use dried beans to stop them from sliding) and bake at 350F for 1 hour (till tops are brown/bubbly and cakes have set)
cool, top with whipped cream. Keeps for a week in the fridge
10 weeks ago
The Michel Thomas language learning method
february 2012
via Tim Ferriss http://www.fourhourworkweek.com/blog/2007/11/07/how-to-learn-but-not-master-any-language-in-1-hour-plus-a-favor/
"Michel Thomas CDs are one of the few collections I recommend. Very, very good. The usual Pimsleur tend to be WAY too slow and repetitive for most brains. His CDs are Pimsleur on steroids."
language
japanese
"Michel Thomas CDs are one of the few collections I recommend. Very, very good. The usual Pimsleur tend to be WAY too slow and repetitive for most brains. His CDs are Pimsleur on steroids."
february 2012
Weave, web-based analysis and visualization environment
february 2012
Weave (BETA 1.0) is a new web-based visualization platform designed to enable visualization of any available data by anyone for any purpose. Weave is an application development platform supporting multiple levels of user proficiency – novice to advanced – as well as the ability to integrate, disseminate and visualize data at “nested” levels of geography.
Weave has been developed at the Institute for Visualization and Perception Research of the University of Massachusetts Lowell in partnership with the Open Indicators Consortium, a nine member national collaborative of public and nonprofit organizations working to improve access to more and higher quality data.
visualization
data
totry
Weave has been developed at the Institute for Visualization and Perception Research of the University of Massachusetts Lowell in partnership with the Open Indicators Consortium, a nine member national collaborative of public and nonprofit organizations working to improve access to more and higher quality data.
february 2012
Why Child Sexual Abuse Goes Unreported: A Sociologist Explains
january 2012
Everybody likes to think they would be the whistleblower.
What I told my class was this: Statistically, you’re full of crap.
-- Eric Silver
psychology
community
What I told my class was this: Statistically, you’re full of crap.
-- Eric Silver
january 2012
a softer world: 748
december 2011
Marriage isn't just between a man and a woman;
it's between any two people who love each other;
and want to ruin their lives.
marriage
image
funny
it's between any two people who love each other;
and want to ruin their lives.
december 2011
Org Mode - Organize Your Life In Plain Text!
december 2011
I have been using org-mode as my personal information manager for years now. I started small with just the default TODO and DONE keywords. I added small changes to my workflow and over time it evolved into what is described by this document.
emacs
orgmode
tutorial
toRead
december 2011
DebuggerDisplay attribute best practices - jaredpar's WebLog - Site Home - MSDN Blogs
november 2011
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public sealed class Student {
public string FirstName { get; set; }
public string LastName { get; set; }
private string DebuggerDisplay {
get { return string.Format("Student: {0} {1}", FirstName, LastName); }
}
}
c#
programming
debugging
visualstudio
public sealed class Student {
public string FirstName { get; set; }
public string LastName { get; set; }
private string DebuggerDisplay {
get { return string.Format("Student: {0} {1}", FirstName, LastName); }
}
}
november 2011
The Blog : The Truth about Violence : Sam Harris
november 2011
1) Avoid dangerous people and places
2) Don't defend property
3) Respond immediately and escape
martialart
community
emergency
crime
safety
2) Don't defend property
3) Respond immediately and escape
november 2011
The Once and Future Way to Run - NYTimes.com
november 2011
I snapped a twig and dropped the halves on the ground about eight inches apart to form targets for my landings.
The 100-Up consists of two parts.
For the “Minor,” you stand with both feet on the targets and your arms cocked in running position. “Now raise one knee to the height of the hip,” George writes, “bring the foot back and down again to its original position, touching the line lightly with the ball of the foot, and repeat with the other leg.”
That’s all there is to it. But it’s not so easy to hit your marks 100 times in a row while maintaining balance and proper knee height.
Once you can, it’s on to the Major: “The body must be balanced on the ball of the foot, the heels being clear of the ground and the head and body being tilted very slightly forward. . . . Now, spring from the toe, bringing the knee to the level of the hip. . . . Repeat with the other leg and continue raising and lowering the legs alternately. This action is exactly that of running.”
Cucuzzella ... loved it. “It makes so much physiological and anatomical sense,” he said. “The key to injury-free running is balance, elasticity, stability in midstance and cadence. You’ve got all four right there.”
jogging
The 100-Up consists of two parts.
For the “Minor,” you stand with both feet on the targets and your arms cocked in running position. “Now raise one knee to the height of the hip,” George writes, “bring the foot back and down again to its original position, touching the line lightly with the ball of the foot, and repeat with the other leg.”
That’s all there is to it. But it’s not so easy to hit your marks 100 times in a row while maintaining balance and proper knee height.
Once you can, it’s on to the Major: “The body must be balanced on the ball of the foot, the heels being clear of the ground and the head and body being tilted very slightly forward. . . . Now, spring from the toe, bringing the knee to the level of the hip. . . . Repeat with the other leg and continue raising and lowering the legs alternately. This action is exactly that of running.”
Cucuzzella ... loved it. “It makes so much physiological and anatomical sense,” he said. “The key to injury-free running is balance, elasticity, stability in midstance and cadence. You’ve got all four right there.”
november 2011
Joan Halifax: Compassion and the true meaning of empathy | Video on TED.com
november 2011
"What is the most wondrous thing in the world, Yudhisthira?"
And Yudhisthira replied, "The most wondrous thing in the world is that all around us people can be dying and we don't realize it can happen to us."
-- from the Mahabharata epic
video
death
And Yudhisthira replied, "The most wondrous thing in the world is that all around us people can be dying and we don't realize it can happen to us."
-- from the Mahabharata epic
november 2011
Wellness - Personal Growth and Mind, Body, Spirit - Omega Institute
october 2011
via Mike Alig
Looks like they offer the whole spectrum from "pragmatic" all the way out to "total nutjob"
wellness
health
yoga
meditation
Looks like they offer the whole spectrum from "pragmatic" all the way out to "total nutjob"
october 2011
advice
ajax
analytics
architecture
art
asp.net
audio
automation
baby
backup
blog
book
Bookmarks_Toolbar
books
browser
business
businessidea
c#
calculator
calendar
camera
camping
canada
car
career
charting
cheatsheet
cleaning
cli
clock
clothing
coffee
color
comic
communication
community
computer
construction
cooking
cool
crafts
csharp
css
culture
daily
data
database
decorating
del.icio.us
design
desktop
development
diet
diy
documentation
download
dvd
economy
editor
education
electronics
email
emergency
events
excel
exercise
extensions
filetype:jpg
filetype:pdf
finance
firefox
fitness
flash
font
food
free
funny
furniture
game
games
gardening
generator
gifts
gis
google
googleearth
graphing
grid
gtd
hacks
hardware
health
hiring
history
hosting
house
household
howto
html
ideas
image
images
immigration
improvement
interior
interview
investing
japanese
javascript
jquery
kids
language
legal
library
linux
management
map
mapping
maps
marketing
marriage
math
media:document
media:image
medical
meditation
money
mortgage
movie
music
mvc
networking
nyc
organization
Outlook
paper
parenting
perl
personal
phone
photo
photography
photos
photoshop
php
planning
politics
printer
privacy
productivity
programming
project
python
reading
realestate
recipe
reference
regex
relationships
religion
renovation
research
rss
ruby
school
science
screenscraping
scripting
search
security
seo
server
service
sewing
shopping
sleep
software
sql
sqlserver
startup
stats
storage
story
tax
technology
template
testing
tips
toBuy
toListen
tool
tools
toRead
toTry
toWatch
toys
tracking
travel
troubleshooting
tutorial
tv
useful
utility
vacation
video
vim
visa
visualization
visualstudio
wallpaper
web2.0
webdesign
webdev
webscrape
windows
woodworking
work
writing