My Bookmarks

This article has some good information on “defensive” stock investments, i.e, investments for times when you don’t have a good feel for whether the market is going up or down.

Some quotes:

Stocks in “defensive” sectors (like consumer staples, healthcare, and utilities) typically have low relative betas since these companies tend to generate stable cash flow regardless of the state of the overall economy.

This team is made up of 20 “defensive” dividend stocks that also meet the parameters below:

Believe it or not, just over a year ago, GitHub Pages, the documentation hosting service that powers nearly three-quarters of a million sites, was little more than a 100-line shell script. Today, it's a fully independent, feature-rich OAuth application that effortlessly handles well over a quarter million requests per minute.

As a young investor, I wanted to pick the brain of someone who's been there and done that so that I might learn from their experience.

Buyandhold 2012 has had a successful investing career that spans over four decades. His strict portfolio management system may not work for everyone, but it is still worthy of consideration.

Beating the S&P 500 over the long-haul is an impressive feat. Buyandhold 2012 claims to have done so and he tells you how in this article.

Google Fonts is a cool project that makes good fonts freely available to your web projects.

This is a link to the Android application manifest (ApplicationManifest.xml) documentation page. Includes the debuggable setting, and all other settings for that matter.

This link contains a nice collection of articles about being a good product manager, including a PDF titled, “Good Product Manager/Bad Product Manager,” by Ben Horowitz.

This is a good article on how to capture audio sound/output on a Mac, such as sound that's playing in a web browser. I don’t condone this for illegal activities, but I just captured some audio from a movie as part of a joke for a friend (after which I’ll delete the audio).

This is a collection of resources that may help show a block of variable-size text in an Android TextView, where I programmatically adjust the font size so the text doesn’t have to scroll:

This link may help in the problem where I want to adjust my Android TextView font size based on whether its ScrollView is scrolling, i.e., whether the text fits on screen without scrolling.

This other link may also help.

This link may help in the problem where I want to adjust my Android TextView font size based on whether its ScrollView is scrolling, i.e., whether the text fits on screen without scrolling.

This link may help in the problem where I want to adjust my Android TextView font size based on whether its ScrollView is scrolling, i.e., whether the text fits on screen without scrolling.

I’ve had to become a fan of Tom Izzo at Michigan State, mostly because his teams usually beat the Rick Pitino teams of the University of Louisville. (It’s kind of like the New England Patriots; I can’t say I like them, but after all they’ve done over all these years, I have to respect them.) This story tells a little bit about his basketball program.

This was a nice short article on how to make Android checkboxes larger, and different colors and shapes.

Solution: Put android:launchMode="singleTask" for your activity (or activities) in the manifest (AndroidManifest.xml). That does the trick. Whenever an NFC intent is dispatched by the system, always a new Activity will be created. This is unique for NFC intents. So setting android:launchMode="singleTop" will not work, nor will setting flags in the PendingIntent.

Apple has some good, free Swift programming language resources available at the URL shown, including the main Swift book, a book on how to use Swift with Objective-C and Cocoa, and the Swift standard library reference.

The Android Cookbook source code examples are at the URL shown.

The volume of comments and Twitter traffic in reaction to last week’s Monday Note, The Fantastic Apple Car, was just one small rivulet in this week’s gusher of rumors, jokes, and proclamations about Apple becoming a car manufacturer. Bloomberg takes the car as fait accompli, telling us that “Apple…is pushing its team to begin production of an electric vehicle as early as 2020”.

The URL shown has worked out well so far for letting me add an “Image Chooser” to my current Android application.

In case that URL every goes away, this code is needed to launch the Intent:

Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(i, RESULT_LOAD_IMAGE);

This method isn’t what I need for my purposes, but I’m using it as a starting point:

The people at Lion’s Roar compiled a list of their favorite ten Buddhist books. They’re not my favorite ten books, but it’s nice to see someone else’s perspective.

I never thought of the Dalai Lama as being “relentless,” but Newsweek thinks he is: