Daily Shaarli
Persisting between program runs
This is all very well, but Memoize uses an in memory cache. Jolly's problem is that each time he runs his code his program has to re-do all the work up until the point that it crashes. Using memoize like above won't speed up his code at all as every time the script runs it starts with a fresh empty cache.
What we need to do is what the Wise Old Elf suggested - persist our results between program runs.
Well, Memoize can do that:
Imager is a handy dandy image drawing library in Perl that we're going to be using for our Meme creation needs.
Imager has about a gazillion methods to do pretty much every standard graphics manipulation you can imagine. But, shockingly, it doesn't have a way to draw standard meme text (Impact font, white text, black outline.) We can fix that by adding our own plugin:
- Develop a daily writing habit
- Watch popular speeches and learn how to critique them
- Observe the strong communicators in your own life
- Record yourself every day talking into a camera for 3 minutes
- Reach out to one person a week whose work you admire
- Volunteer to teach whatever you can whenever you can