zone

Are some places more conducive to programming than others?

I have been experimenting with programming in different places like parks, coffee houses and even the beach !!! I have almost always found that programming in places such as these stimulates the brain and increases productivity. Seeing people smiling and having a good time in general creates a good pleasant ambience that results in less...

Looking for a zone file parser written in php

I am looking for a class to parse root zone files. Have you seen one? My current script is in php so the class would need to be as well. G-Man ...

How do I modify my settings to allow VS2010 to load 3rd party XSD files from the "Unauthorized Zone"?

I have opened a 3rd party XSD file in Visual Studio 2010 that imports namespaces from other schema files from the same 3rd party. In the XML editor view of the schema file, the xs:import element is underlined with the following error: Request for the permission of type 'System.Security.Permissions.FileIOPermission', mscorlib, Version=4....

Get Time Zone abbreviation given GMT offset with Objective C

Is there a way to lookup a timezone abbreviation when only the temporal offset is known? Example: Say i'm given the offset of GMT -5, i'd like to display the abbreviation of EST (assuming US) as apposed to GMT -5. If you initialize a NSTimeZone object with [NSTimeZone timeZoneWithName:@"America/Argentina/Buenos_Aires"], you can get th...

Bind9 DNS Zone Transfer Script - Bash script to avoid duplicates

I created a bash script to transfer my zones between my primary and secondary DNS server. It downloads my zone list from the primary and checks for any new zones and then downloads and inserts those zone files into the zone directory and into the .local file for bind. The problem I have is that if the zone file does not exist, the scrip...

mapping location to a time zone

I need to get the time zone for a given address/location. Assume that the address/location can be reverse geocoded (using google) to a lat/lng if necessary. This means that I may not have a zip code. I was really hoping that google provided some kind of API for this, but it seems that they don't. At a minimum you can google search fo...

Joda Time subtracting 24 hours from an instance of MutableDateTime, I would like to know why

I do not understand why MutableDateTime.setDate() is setting the time to "yesterday" (see the log timestamp hours - it is 20:28). Is this timezone related? Do I need to set something on the formatter? I would expect that after calling setDate with "10/27/2010", the date would be the same as the parsed date 00:00 EDT 10/27/10, instead ...