Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Day 1, Week 3: Hundred Pushup Program

    First day of week 3 of the hundred pushup program: Set tally, “-“=60-second recovery period. “[#]”=max Abdominal muscles still sore from yesterday’s 16 mile run. That’s pretty atypical. Did the week 2 end-of-week test earlier in the day. Had to reset after 10 pushups because of my daughter trying to jump on my back to…

    July 20, 2008
  • Optimized prime number generator

    Same specs as previous system, 8 hours to find all primes to ULONG_MAX. #include <stdio.h>#include <malloc.h>#include <limits.h>#include <math.h>struct linked_list{ unsigned long number; struct linked_list *next;};int main(int argc, char **argv){ unsigned long divisor, max_divisor, prime_test; unsigned long max_prime_to_store; struct linked_list *first=NULL, *current=NULL, *last=NULL; first=(struct linked_list *)malloc(sizeof(struct linked_list)); first->number = 2L; first->next = NULL; last = first;…

    July 20, 2008
  • Nice little “rural” Fern Creek run.

    Crossed paths of cyclists on Seatonville Rd five times this morning. Most of them were pleasant, one of them was a bit anti-social. I’ve decided that my favorite drivers are in the 60+ age group and drive 10+ year old pickup trucks in very good condition. Generally, these drivers pass carefully with a decent amount…

    July 19, 2008
←Previous Page
1 … 246 247 248 249 250 … 310
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress