Using NSUserDefaults | Mike Zupan's Random Blog
5 days ago
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults]; // getting the string stringVal = [prefs stringForKey:@"stringVal"]; // getting the int intVal = [prefs integerForKey:@"intVal"];
cocoa
objective-c
programming
5 days ago
XCode 4: CoreData Tab Bar Application template | Paul Peelen
6 days ago
xcode 4.3: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application/Tabbed Application.xctemplate
xcode
ios
programming
6 days ago
Cocoa Dev Central: Build a Core Data Application
6 days ago
Although Core Data makes certain things easy, it is not designed for novices. You should at least be familiar with creating a basic Cocoa application and Objective-C syntax before reading this tutorial.
ios
programming
database
coredata
6 days ago
Turnx.info home page
7 days ago
dr greger dvd's maximum nutrition and stopping cancer before it starts viewable online for free
video
towatch
nutrition
7 days ago
Disable the Internal Screen on a MacBook Pro or Air in Mac OS X 10.7 Lion
8 days ago
To disable the internal screen for OS X Lion based laptops, launch the Terminal and enter the following command:
sudo nvram boot-args="iog=0x0"
You’ll need to reboot for changes to take effect, and the internal display will then be completely disabled regardless of whether the Mac is open or closed.
To undo this, you can go back to the Terminal and enter:
sudo nvram -d boot-args
Then reboot again, or you can just zap PRAM by holding down Command+Option+P+R during reboot, which clears out the boot-args as well.
osx
monitor
sudo nvram boot-args="iog=0x0"
You’ll need to reboot for changes to take effect, and the internal display will then be completely disabled regardless of whether the Mac is open or closed.
To undo this, you can go back to the Terminal and enter:
sudo nvram -d boot-args
Then reboot again, or you can just zap PRAM by holding down Command+Option+P+R during reboot, which clears out the boot-args as well.
8 days ago
Articles
8 days ago
To keep my heart rate below 155 beats/minute, I had to slow my pace down to an 8:15 mile. That’s three minutes/mile SLOWER than I had been trying to hit in every single workout I did! My body just couldn’t utilize fat for fuel.
So, for the next four months, I did exclusively aerobic training keeping my heart rate at or below my maximum aerobic heart rate, using the monitor every single workout. And at the end of that period, my pace at the same heart rate of 155 beats/minute had improved by over a minute. And after nearly a year of doing mostly aerobic training, which by the way was much more comfortable and less taxing than the anaerobic style that I was used to, my pace at 155 beats/minute had improved to a blistering 5:20 mile.
That means that I was now able to burn fat for fuel efficiently enough to hold a pace that a year before was redlining my effort at a maximum heart rate of about 190. I had become an aerobic machine! On top of the speed benefit at lower heart rates, I was no longer feeling like I was ready for an injury the next run I went on, and I was feeling fresh after my workouts instead of being totally wasted from them.
maffetone
heartrate
exercise
running
So, for the next four months, I did exclusively aerobic training keeping my heart rate at or below my maximum aerobic heart rate, using the monitor every single workout. And at the end of that period, my pace at the same heart rate of 155 beats/minute had improved by over a minute. And after nearly a year of doing mostly aerobic training, which by the way was much more comfortable and less taxing than the anaerobic style that I was used to, my pace at 155 beats/minute had improved to a blistering 5:20 mile.
That means that I was now able to burn fat for fuel efficiently enough to hold a pace that a year before was redlining my effort at a maximum heart rate of about 190. I had become an aerobic machine! On top of the speed benefit at lower heart rates, I was no longer feeling like I was ready for an injury the next run I went on, and I was feeling fresh after my workouts instead of being totally wasted from them.
8 days ago
Quiz: Are You Addicted to Food? | UCTV Blog
8 days ago
Currently in the scientific community, there’s growing support for the concept of “food addiction.” Highly palatable foods activate the “reward circuitry” in the area of the brain that makes us experience pleasure. It appears that certain people, primarily those with obesity, may have less — not more — of that pleasure response from eating, and that may induce an overwhelmingly strong biological drive to eat more.
addiction
food
nutrition
health
8 days ago
Your Daily Dose of Vegan Outreach!: Jo(h)ns Upstate
9 days ago
I responded with answers that were more nuanced than they expected: that we weren't out to demonize farmers; that factory farming has put more farmers out of jobs than vegetarian advocates have; that factory farming has forced more farm animal breeds to extinction (by streamlining the genetic stock they choose from) than vegetarian advocates ever will; that I did not condone senseless vandalism in the name of animal advocacy; that my dad grew up on a farm in Iowa that raised animals and that I had a cousin who ran a pig farm and that I thought of them as good people; that our consumer preferences change and that just as we have gone from the landline to the cell phone or the PC to the laptop (and companies had to change their strategy if they were to stay in business), our food choices change and those selling food to the American public will have to adjust as well. The ag students (especially one of them) seemed impressed and engaged and we talked for a good 15-20 minutes while John leafleted. We ended up shaking hands and we all said that we learned a good deal from each other.
vegetarian
vegan
ethics
animals
9 days ago
African child mortality: The best story in development | The Economist
10 days ago
The decline in African child mortality is speeding up. In most countries it now falling about twice as fast as during the early 2000s and 1990s. More striking, the average fall is faster than it was in China in the early 1980s, when child mortality was declining around 3% a year, admittedly from a lower base.
africa
mortality
children
news
world
10 days ago
Does Eating Organic Food Actually Make You a Haughty Jerk? « peer-reviewed by my neurons
12 days ago
it’s conceivable that relatively meaningless moral acts (e.g. buying organic) could be crowding out more meaningful moral acts (e.g. important volunteer work.)
ethics
12 days ago
Is HDL Always "Good Cholesterol"?. In the Pipeline:
12 days ago
roteins, and they're following those up with clinical data on cardiovascular outcomes. Untangling the effects of HDL, LDL, triglycerides and other factors isn't easy, but they did find one mutation that appears to raise HDL alone. Looking at the people carrying that one, they find that there's no amelioration of risk in them at all. That's as opposed to the mutations that lowered LDL levels, which were consistently associated with lower risks.
cholesterol
heart-disease
science
research
12 days ago
Study shows compulsive eating shares addictive biochemical mechanism with cocaine, heroin abuse
15 days ago
What happens in addiction is lethally simple, Kenny explained. The reward pathways in the brain have been so overstimulated that the system basically turns on itself, adapting to the new reality of addiction, whether its cocaine or cupcakes.
"The body adapts remarkably well to change—and that's the problem," said Kenny. "When the animal overstimulates its brain pleasure centers with highly palatable food, the systems adapt by decreasing their activity. However, now the animal requires constant stimulation from palatable food to avoid entering a persistent state of negative reward".
After showing that obese rats had clear addiction-like food seeking behaviors, Johnson and Kenny next investigated the underlying molecular mechanisms that may explain these changes. They focused on a particular receptor in the brain known to play an important role in vulnerability to drug addiction and obesity – the dopamine D2 receptor. The D2 receptor responds to dopamine, a neurotransmitter that is released in the brain by pleasurable experiences like food or sex or drugs like cocaine. In cocaine abuse, for example, the drug alter the flow of dopamine by blocking its retrieval, flooding the brain and overstimulating the receptors, something that eventually leads to physical changes in the way the brain responds to the drug.
The new study shows that the same thing happens in junk food addiction.
addiction
food
nutrition
"The body adapts remarkably well to change—and that's the problem," said Kenny. "When the animal overstimulates its brain pleasure centers with highly palatable food, the systems adapt by decreasing their activity. However, now the animal requires constant stimulation from palatable food to avoid entering a persistent state of negative reward".
After showing that obese rats had clear addiction-like food seeking behaviors, Johnson and Kenny next investigated the underlying molecular mechanisms that may explain these changes. They focused on a particular receptor in the brain known to play an important role in vulnerability to drug addiction and obesity – the dopamine D2 receptor. The D2 receptor responds to dopamine, a neurotransmitter that is released in the brain by pleasurable experiences like food or sex or drugs like cocaine. In cocaine abuse, for example, the drug alter the flow of dopamine by blocking its retrieval, flooding the brain and overstimulating the receptors, something that eventually leads to physical changes in the way the brain responds to the drug.
The new study shows that the same thing happens in junk food addiction.
15 days ago
Fat reaches waist just three hours after a big meal - Telegraph
15 days ago
The study, by Fredrik Karpe and Keith Frayne, found the first fat from any meal enters the blood around an hour after being ingested.
By the time three or four hours has passed, they found, most of it had been incorporated into the adipose tissue, much of which lies in the short-term fat stores in the waist.
fat
nutrition
weightloss
news
research
By the time three or four hours has passed, they found, most of it had been incorporated into the adipose tissue, much of which lies in the short-term fat stores in the waist.
15 days ago
Study: Eating Omega-3s May Help Reduce Alzheimer’s Risk | Healthland | TIME.com
15 days ago
They found that the more omega-3s a person consumed, the lower their blood levels of beta amyloid.
fat
omega-3
alzheimer
nutrition
research
15 days ago
8 Cancer Fighting Foods That Are Widely Available: Alternative Cancer
16 days ago
Phytoestrogens – one of the compounds found in soy and its derivatives – edamame, tofu, bean curd, roasted soy beans and miso soup have the ability to prevent estrogen from interacting with breast cells. The mammary glands get easily overstimulated when estrogen levels are too high and that increases the risk of breast cancer. Phytoestrogens get in the way of this process
cancer
soy
nutrition
16 days ago
BBC News - Are Greeks the hardest workers in Europe?
16 days ago
NL is productive, but fewest hours worked in EU
europe
news
stats
16 days ago
Dot Com Infoway Releases Mobile App Marketing Infographic
16 days ago
The total number of apps downloaded so far exceeds 250 billion Apple apps, 10 billion Android and 217 million Windows apps. The infographic also shows that the market yielded $7.3 billion revenue in 2011 and has predicted that revenues will reach $36.7 billion by 2015.
In addition, the infographic reveals that the average time spent by users on mobile apps has increased from 43 minutes to 72 minutes a day between June 2010 to December 2011.
mobile
infographic
business
In addition, the infographic reveals that the average time spent by users on mobile apps has increased from 43 minutes to 72 minutes a day between June 2010 to December 2011.
16 days ago
Dr. McDougall's Online Discussion Board • View topic - Time to end the war on Salt?
18 days ago
Jack Novick's responses to recent news about salt being not that bad for you.
salt
nutrition
research
18 days ago
Wise Brain Bulletin | Dr. Rick Hanson - Author of Buddha's Brain and Just One Thing
19 days ago
The Bulletin offers skillful means – from psychology, neurology, and contemplative practice – for personal well-being, relationships, work, and spiritual development. Each issue contains major articles as well as lots of nuggets about the brain, inspiring quotes, links to awe-inspiring pictures and websites, and much more.
psych
selfhelp
brain
19 days ago
Dean Ornish: Help the body heal itself | Video on TED.com
20 days ago
Now, what happens to your heart when you go on an Atkins diet? The red is good at the beginning, and a year later -- this is from a study done in a peer-reviewed journal called Angiology -- there’s more red after a year on a diet like I would recommend, there’s less red, less blood flow after a year on an Atkins-type diet. So, yes, you can lose weight, but your heart isn’t happy. Now, one of the studies funded by the Atkins Center found that 70 percent of the people were constipated, 65 percent had bad breath, 54 percent had headaches – this is not a healthy way to eat. And so, you might start to lose weight and start to attract people towards you, but when they get too close it’s going to be a problem.
atkins
lowcarb
vegan
video
20 days ago
Disabling Default Auto-Rotate & Scale In Preview | Mac Tricks And Tips
22 days ago
fix for the super annoying auto scale when printing from preview
osx
pdf
22 days ago
Montel Williams confronts MS head on - latimes.com
22 days ago
I've also been involved in a study called the Wisconsin Project by researchers at the University of Wisconsin. It's a device that was made for traumatic brain injury that electrically stimulates the brain through the tongue to help the brain reorganize and create different pathways. It has changed my ability to exercise, and I've learned that exercise and diet can affect everything for physical and emotional well being. I don't care if you're in a wheelchair or bedridden.
I give equal credit to diet in making my life better. I have gone to a high raw vegetable diet: 75%-80% of the food I eat every day is raw fruits and vegetables.
medical
health
nutrition
I give equal credit to diet in making my life better. I have gone to a high raw vegetable diet: 75%-80% of the food I eat every day is raw fruits and vegetables.
22 days ago
Junk food desensitizes the reward centers of the brain : Disease Proof
22 days ago
have published a new study in Nature Neuroscience showing that drug addiction and compulsive eating have the same effects on the brain – they desensitize brain reward circuits.1 In the brain, eating is motivated by pleasure and reward.
brain
food
nutrition
addiction
research
science
22 days ago
Het enige dat werkt tegen al die patat op school, is verbieden - Asha ten Broeke - TROUW
22 days ago
Die bescherming is noodzakelijk, aldus pubergespecialiseerde hersenwetenschappers als Eveline Crone. In haar boek 'Het puberende brein' legt ze uit dat bij jongeren het hersencentrum dat beloningen najaagt sneller ontwikkelt dan de frontale cortex, het gebiedje dat op deze impuls een rem zet. Het effect is dat bij pubers genot het geregeld wint van gezond verstand - hoeveel stukjes voorlichting dat je er ook tegenaan gooit.
Voor het brein maakt het weinig uit of het genot afkomstig is van drank, drugs of lekker eten; in beide gevallen reageren ongeveer dezelfde beloningscircuits.
addiction
food
nutrition
children
parenting
brain
nl
research
Voor het brein maakt het weinig uit of het genot afkomstig is van drank, drugs of lekker eten; in beide gevallen reageren ongeveer dezelfde beloningscircuits.
22 days ago
Code Wide Open: Inkscape Does Support CMYK
22 days ago
inkscape does support cmyk, but not in exported files
inkscape
cmyk
22 days ago
What should every programmer know about security? | Hacker News
23 days ago
I am wary of software security advice that leads with "don't trust user input", or revolves around "validate user input". That principle has been the core of software security strategy for going on 20 years, and has bought us very little. In the real world, we have to start by acknowledging that the verb "trust" is situational, and that in some circumstances virtually all user input is "trusted" somehow.
security
23 days ago
accessibility
adsense
advertising
affiliate
aging
ajax
algorithms
amazon
animals
api
apps
backup
baking
bass
blog
blogging
boardgames
boat
books
brain
bread
buddhism
business
calendar
cancer
charts
cheatsheet
children
color
comparison
computer
convert
cooking
crafts
cruising
css
culture
database
death
delicious
dental
depression
design
dhtml
diet
diy
django
ebooks
editor
education
email
entrepreneurship
environment
ethics
evolution
excel
exercise
family
fat
firefox
fitness
font
food
forms
framework
free
games
gaming
generator
google
graphics
graphs
gtd
happiness
health
heart-disease
history
homeschooling
howto
html
icons
interesting
ios
ipad
iphone
isv
japanese
javascript
job
jquery
knitting
language
layout
learning
legal
linux
logic
longboard
maps
marketing
math
media
medical
meditation
memory
microsoft
mobile
money
motivation
movies
music
news
nl
notetaking
nutrition
online
opera
optimization
oracle
organization
osx
pain
pandemic
paper
parenting
pdf
performance
philosophy
photo
politics
postgresql
presentation
privacy
productivity
programming
psychology
publishing
puzzles
python
quotes
reading
recipes
reference
religion
research
review
rss
running
s3
safety
sailing
school
science
search
security
selfhelp
seo
shell
shoes
shopping
sleep
soy
sql
startup
statistics
stats
survival
table
templates
testing
tips
todo
tools
towatch
travel
tutorial
tv
typography
ui
usa
usability
utilities
vegan
vegetables
vegetarian
video
vim
violence
visualization
web2.0
webdesign
webdev
webservices
weightloss
wiki
windows
wishlist
wordpress
world
writing
xmlhttprequest
zen