My bookmarks

This is a list of Alvin Alexander's bookmarks.

This New York Times article is part of a series that looks at robots. This part looks at “sexbots,” and something called the “uncanny valley.”

Six high-altitude roads in Colorado you need to drive:

  1. Skyline Drive
  2. Old Fall River Road
  3. Mount Evans Byway
  4. Million Dollar Highway
  5. Trail Ridge Road
  6. Pike’s Peak Highway

The links shows a way to subclass java.util.Random using an XORShift generator, with the Java source code looking like this:

public class XORShiftRandom extends Random {
  private long seed = System.nanoTime();

  public XORShiftRandom() {
  }
  protected int next(int nbits) {
    // N.B. Not thread-safe!
    long x = this.seed;
    x ^= (x << 21);
    x ^= (x >>> 35...

From the URL:

Monads are very useful in Haskell, but the concept is often difficult at first. Since they have so many applications, people often explain them from a particular point of view, and that can confuse your understanding of monads in their full glory.

Historically, monads were introduced into Haskell to perform input/output. A predetermined execution order...

As the title implies, this link is to a print version of the Haskell Wikibook. A nice thing about this is that all of the content is on one page, so you don’t have to flip through pages while reading, and of course it’s printable.

An interesting idea from Warren Buffett on how to prioritize things in your life:

  1. Make a list of 25 goals in life.
  2. From that list, circle the Top 5 that are really important to you.
  3. Completely forget about the other 20, and only focus on the Top 5.

This reminds me of the discipline Steve Jobs brought to Apple.

A collection of 11 books from Warren Buffett’s bookshelf, i.e., 11 books he recommends.

This is a good article about Charlie Munger and the art of picking stocks. This is just one quote from the article:

“Everyone has the idea of owning good companies. The problem is that they have high prices in relations to assets and earnings, and that takes all of the fun out of the game. If all you needed to do is to figure out what company is better than others,...

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.

We wanted to take a look back at what we learned from...

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...

https://www.google.com/fonts

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.