My bookmarks

This is a list of Alvin Alexander's bookmarks.

I don’t know how good this article is, but at least it’s a reminder to start some good daily habits. leadership principles.

“Our Leadership Principles aren’t just a pretty inspirational wall hanging. These Principles work hard, just like we do. Amazonians use them, every day, whether they’re discussing ideas for new projects, deciding on the best solution for a customer’s problem, or interviewing candidates. It’s just one of the things that...

This is an article that attempts to explain via analogy/metaphor what functional programming (FP) is, and why it’s (arguably) better than other programming styles, such as object-oriented programming (OOP). As part of its analogy it compares the development of a software application to an automobile factory, i.e., the process of building cars, specifically a Tesla. Since a lot of people...

The URL shown helped me set up the wireless network on my new Raspberry Pi 2. I can confirm that it works as of August, 2015.

From the article:

ANCHORAGE - A longtime Anchorage pizzeria received some national recognition Wednesday, as a travel website named it one of the top pizza parlors in the United States.

According to website, the Moose’s Tooth Pub and Pizzeria is the third-best pizza place in the U.S., behind first-place Juliana’s Pizza in Brooklyn, N.Y. and Pizza Time...

How To Reset Your Mac’s SMC & PRAM

Sometimes your Mac will act strange for no apparent reason — lights won’t be working correctly, volume settings will be off, display resolution will change, or a number of other issues that aren’t related to specific apps will pop up. Most of the time, these issues can be solved by closing all of your apps and restarting the...

If you are having problems with getting an Apple Wireless Bluetooth keyboard, mouse or trackpad from connecting to your Mac (iMac, Macbook or Mac Pro), you can try this trick. The following mentions the keyboard, but it should work for other wireless devices that have a on/off switch of the contact type (i.e. press on and off, rather than a physical slide switch).

This is a link to a Haskell cheat sheet (reference card) on the Haskell wiki.

A discussion by Marius Eriksen (of Twitter) about the use of Futures, and how they compare to threads.

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

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