﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ken Egozi commented on By foul moon</title><description>The Hebrew Calendar is based on the moon. ie, in the firsdt day the moon is "empty", at the middle it's "full", and towards the end of the month the moon is emptying again.
  
That's how it's defined.
  
In old times, they did not even had a calendar. they just looked at the skies and when the moon was empty, it was decided as a new month.
  
</description><link>http://ayende.com/2333/by-foul-moon#comment5</link><guid>http://ayende.com/2333/by-foul-moon#comment5</guid><pubDate>Sat, 28 Apr 2007 06:12:08 GMT</pubDate></item><item><title>Ayende Rahien commented on By foul moon</title><description>@Ken,
  
Using the Hebrew calendar would be too easy... :-)
  
Regardless, is it guaranteed that 15th of a month is full moon?
</description><link>http://ayende.com/2333/by-foul-moon#comment4</link><guid>http://ayende.com/2333/by-foul-moon#comment4</guid><pubDate>Fri, 27 Apr 2007 21:53:40 GMT</pubDate></item><item><title>Ken Egozi commented on By foul moon</title><description>return Moon.Capacity == Moon.Length
  
  
seriously, you can use Hebrew Calendar and check for day==15
  
  
def IsWitch:
  
    return hasBroomstick and UsesBoo()
</description><link>http://ayende.com/2333/by-foul-moon#comment3</link><guid>http://ayende.com/2333/by-foul-moon#comment3</guid><pubDate>Fri, 27 Apr 2007 21:29:37 GMT</pubDate></item><item><title>Ricardo Stuven commented on By foul moon</title><description>Where are the unit tests? Will you mock then Moon object?
  
:-)
</description><link>http://ayende.com/2333/by-foul-moon#comment2</link><guid>http://ayende.com/2333/by-foul-moon#comment2</guid><pubDate>Fri, 27 Apr 2007 03:32:04 GMT</pubDate></item><item><title>James Kovacs commented on By foul moon</title><description>The implementation is simple if you ask a vegetarian to write it:
  
  
public class ArcaneArts {
  
   public bool WasChickenSacrificed() {
  
      return false;
  
   }
  
}
  
  
:^P
</description><link>http://ayende.com/2333/by-foul-moon#comment1</link><guid>http://ayende.com/2333/by-foul-moon#comment1</guid><pubDate>Thu, 26 Apr 2007 23:09:19 GMT</pubDate></item></channel></rss>