Profile cover photo
Profile photo
Adam Thorsen
2,068 followers
2,068 followers
About
Adam's posts

Post has attachment
Photo

Post has attachment
First game of Twilight Struggle lasted into 2nd round of Late War.  Still didn't finish.
Photo

Post has attachment

There is such a wealth of information online. I feel like I'm in a college class with a massive reading list and not nearly enough time in the semester to absorb it all.

It's all so disparate. A great blog post about one topic appears, then another about another completely unrelated topic. There is no continuity or structure that I can put things in to help me remember them or tackle them in an organized way.

I'm trying to fix this by creating an ebook of posts on a related topic. My reader will remember my place, so I can make progress over time, even when I'm interrupted. I'm using zinepal.com to do this.

In my experience, code that I've written that is over a few months old might as well have been written by someone else.

It's something to keep in mind when deciding whether or not to hire someone else to work on an idea. Ultimately the code is going to seem like someone else's no matter who wrote it, so in the long term there's not a huge advantage to writing your own code if you can afford to have someone else write it. Of course, this may not be true for everyone. My memory is not all that great.

I am on a quest to make my own lunch as frequently as possible. I've tried and failed before. These are some stumbling blocks I ran into:

eating out of tupperware is unappetizing
hard to find good new recipes
expensive (money and time) to ramp up for a new recipe
I tend to get bored of a recipe and waste the perishable ingredients
making a lunch takes time, especially for a new recipe
I sometimes run out of ingredients
dealing with dirty tupperware (cleaning, taking it home to wash, etc.) sucks

I'm trying some new techniques to see if I can increase the number of lunches I make and eat.

1. I have to subscribed to beans and lentils on Amazon. I will never run out of staples. The basics will always be there.

2. I have ordered a box of disposable take-out containers. More appetizing, and no washing or return trip transportation required.


I don't yet have a great solution to variety and wasting perishables. It would take a lot of work to come up with a large list of recipes that are easy to prepare, significantly different from each other, and consist of a minimum number of perishables that require special trips to the grocery store.

Post has attachment

I will be ditching VirtualBox for VMWare Fusion for my rails dev environment. Not only does VMWare Fusion lack display issues, it also uses way less CPU, giving my laptop an extra few hours of battery life.

Post has attachment
While working on a project written in Rails 3.1, I've noticed that starting up the rails process (to run a test, or use the console) is slow. I thought perhaps I didn't have enough ram configured on the VM I was using for development, but adding another GB didn't do anything.

I did a bit of research and found that there are some issues requiring gems in ruby 1.9.2 that cause the initialization process to be very slow. I've attached a link that does a great job explaining the issue. Ultimately, switching to 1.9.3-rc1 did shave off about 36% of the time required to load. This is not a straight forward process, as it breaks certain gems, but it does work. Things are still pretty slow, however.

Post has attachment
What is the best way to do javascript in Rails 3.1? I've linked the best writeup I can find. There is no official guide that discusses how javascript should be used in Rails 3.0 - 3.1.
Wait while more posts are being loaded