I built a little Pastafarian Calendar website and iCalendar feed. Now you too can know what holy day the Church of the Flying Spaghetti Monster is observing each day! Thanks to Noam for the inspiration.
When interviewing candidates, sometimes we need to know if they grok SQL. Here’s a simple interview question that gives me an idea that someone has had to create a schema from scratch, vs. always using a schema that someone else created. Setup We’re going to design a movies database. Each movie has a title and […]
Dan Karp used to ask this question at Zimbra. I’ve always loved it. 1. warmup Given this API from the java.lang standard Math class in the JDK: Your task is to implement a random integer in the range [0,999]. Don’t overthink it; this is just a warmup. Solution: Idea is to truncate a number like 123.99748 […]
Timely‘s WordPress Calendar plugin doesn’t interoperate well with RFC 2445 iCalendar feeds that contain all-day untimed events specified by both DTSTART and a DURATION:P1D. Instead of interpreting them as a one-day all-day event, it seems to interpret them as a two-day event. I examined a half-dozen calendar apps to see how they generate these kinds […]
My friend and colleague Ray Sun writes about Inventing Favicon.ico on his blog. Nice trip down memory lane, when we could get stuff done in a matter of hours and touch the lives of hundreds of millions of users.
htdig has been retired from radwin.org. Many years ago I set up a site search on radwin.org using a tool called ht://Dig. It was a C/C++ app that would spider/crawl a website and also serve out search results in an HTML-friendly fashion through a CGI. The rest of the world moved onto Lucene/Solr, but I never […]
Three and a half weeks into my sabbatical, and I’ve actually found some time to code on Hebcal! Some Hebcal accomplishments in July: Moved Hebcal for Unix code from SourceForge to GitHub. Added two new user-requested features and released hebcal-3.13 Added Printable PDF support for Hebcal.com Forked a copy of Hebcal for Unix especially for […]
I’m taking 3 months off to hang out with the family! Baby Emma is doing great, and the big kids are, well, big. It’s been about 7 years since I’ve had a sabbatical from work, so this seems like a great time to do it. One of my first projects was to move hebcal for Unix from SourceForge to […]
Dearest New Little One, We are so very happy to greet you, meet you, and welcome you into our immediate family, our big family of friends and neighbors and loved ones, our community, and our big world. We have chosen for you the name Emma Margalit, named after two phenomenal women in your family tree. […]