50 Lines of Code
Ruby Prime Generation
For a possible job in the Seattle area, one of my prospective employers is having me submit some solutions to problems found on Project Euler. While working on a particular issue, I’ve discovered that the method I’ve used for calculating the list of prime numbers performs better than the stock Prime class that is provided [...]
Tags: 50 lines of code, algorithm, code, euler, math, number, prime, prime number, project euler, questions, ruby
Posted in 50 Lines of Code, Neat and Interesting, personal, Ruby, Tech | 1 Comment »
50 Lines of Code – day 2: more LWP
More Paint LWP work… See gist at bottom. Anyway, all I’ve been doing is just letting my hands type out the general idea of what I want. I have yet to test it in any emulator or device, to make sure it’s doing what I think it is. I just want to make sure I’m [...]
Posted in 50 Lines of Code, Android, General | No Comments »
50 Lines of Code, Day 1: Live Wallpaper
My first 50 Lines of Code entry, is the beginnings to an Android 2.1+ Live Wallpaper. Called Paint, the idea is to have four main colors at the edge of the screens. By the phone’s tilt, those colors will bleed into the screen itself, causing the animation, and interactivity with the phone regardless of whether [...]
Tags: 50loc, Android, code, Gist, github, Live Wallpaper, LWP
Posted in 50 Lines of Code, Android, Java, Neat and Interesting, Tech | No Comments »
