Yay, I finally made it to level 25 at Project Euler! Look:
I had to write my own sieve of eratosthenes (easy if you don't actually generate all the numbers to strike off :), use a cache more times than I'd like (but it's useful for fibonacci numbers), and once nearly killed my sweet little MacAir with all the swapping (I should look into optimisation for some of the problems, I guess :).
Finally, after nearly 6 months of trying to decide what to do with my website, I have updated the software again. Not many people will notice or even care, but here's what I did:
- I used the excellent pypress, a pretty solid wordpress clone written in python using the wonderful flask framework.
- I dropped the weird chinese WYSIWYG editor, all the twittery stuff and the ability to upload links. I wrote a new theme, tweaked a couple of the URLs, added a recaptcha to the comments, and generally tweaked the whole thing to my liking. YAY for open source software, especially the stuff written in cool frameworks and fun languages :)
- I may try and set up github to actually fork my changes - maybe somebody else might be interested.
- The look is slightly different from last time, but still grey (what do you expect from a site with silver in its name?)
Have fun, comment and don't spam, please :)
freshen: Behavior Driven Development and testing for python (and django)
Having stumbled upon freshen recently and not finding much about it on the web apart from the (entirely sufficient) documentation, I decided to use my seldom-updated blog to help remedy that situation.
Finally, after about 10 years, this is the 4th incarnation of my website, and it has a blog now! (It's also editable online, at least for me :). The site is powered by dokuwiki and locked down as mentioned in the CMS pages. I also added the blog plugin and (for prettier syntax) the Creole plugin. Finally, I tweaked the Arctic theme (yay sidebars) to look more silvery and show way less of the wiki behind everything.
Nutrition, Diet and Emotional Eating
After I got "The Female Body Breakthrough", I tweaked the program. It motivated me to get started with fitness and seriously check out my eating habits, but I haven't followed the workout plan much - I got into kettlebells, it's just way easier to practice at home! I got "Get in the best shape of your life" by Lisa Shaffer and have been doing workouts based on that book 5 days a week, if possible, for the past couple of weeks now. I have lost weight, not much, but got back to weight I've always had trouble getting to before (60.x right now), but what's more important - I feel really strong, my arms are getting definition, and I hope my tummy and legs too :). It will probably take some more months for me to really see muscles, but I love the kettlebells and the fact that workouts take no longer than 20 minutes.
Normally, I limit the number of WIPs I have. But last Friday, I had 5 socks on my needles, and now I have one mended pair, one to be finished soon and one to be ripped.