Monthly Archives: October 2011

Selection vs Insertion Sort

I would’ve thought the swapping of values in the sorted list in Insertion sort would be worse than doing more comparisons as in Selection sort. If you think about it though, when you have a hand of cards, I’m more … Continue reading

Posted in Coding | Leave a comment

Android Programming: @android:id/list vs @+id/list

Ran into this problem today in a layout. Threw me off for a bit.  What’s the difference if I declare an ID @android:id/list vs @+id/list? For Example <ListView android:id=”@android:id/list” android:layout_width=”wrap_content” android:layout_height=”wrap_content” /> The tutorial explains it like this: The @ symbol in the id strings … Continue reading

Posted in Coding, troubleshooting | Tagged , | Leave a comment

Android Testing

Need to take a step back and learn how to use android test functionality. Going through Android Test tutorial. Never really learned JUnit testing so hopefully this an example of both.

Posted in Coding | Leave a comment

App Idea: Notable LA Restaurant App

Everyone likes to eat right? Yelp gives too many results especially if I just want to know what the “best” or “hottest” restaurants are. I was looking through a magazine of best restuarants of LA and was like I’m in some of … Continue reading

Posted in App Idea | Tagged , | Leave a comment

Android Programming: Google Maps troubleshooting

I’ve been working on my Groupon app off and on and been running into a problem when trying to load Google Maps. I’m able to load Google Maps as a stand alone program buy trying to include it within a … Continue reading

Posted in Coding | Tagged , | Leave a comment

App Idea #2

I was perusing the August magazine of LA Times Magazine. Inside there’s a list of top restaurants. I never remember where the restaurants are, which neighboorhood or how close I am to one. What about an app sort of like … Continue reading

Posted in App Idea | Tagged | Leave a comment

Generating a List of Primes: The Sieve of Eratosthenes

Learned of The Sieve of Eratosthenes from Cracking the Coding Interview Ed. 5. The Sieve of Eratosthenes is a highly efficient way to generate a list of primes. It works by recognizing that all non-prime numbers are divisible by a … Continue reading

Posted in Coding | Leave a comment