Ivorian president's model niece 'acted as go-between for Epstein by introducing him to officials and young women', new emails suggest
Children are being recruited on social media to steal phones before school for £400 each...then do it all over again if they are bailed, admits Met Police chief
Pictured: Two British skiers who were killed in avalanche alongside another man 'after instructor ignored warning'
HS2 bosses accused of splurging 'offensive' amounts of taxpayers' cash on 'spin' as it emerges high-speed rail project's PR department has nearly 100 staff costing up to £14million a year
Inside the top-secret lab working to find Nancy Guthrie's abductor…and why mom and daughter at the helm are fixated on solving the nation's toughest crimes
Jadon Sancho goes public with girlfriend Saweetie as they step out holding hands after romantic dinner in Paris
Heartbreaking reason Robert Duvall never fulfilled dream of becoming a dad despite four marriages
The cheapest month to travel in 2026 revealed - and there are international flights for under £100
Steve Webb's victories over the past 10 years - and how he has made British pensioners MUCH richer
Villagers fear serial firebug is targeting their rural idyll in the heart of Constable Country after string of arson attacks
CodeSOD: Waiting for October
Arguably, the worst moment for date times was the shift from Julian to Gregorian calendars. The upgrade took a long time, too, as some countries were using the Julian calendar over 300 years from the official changeover, famously featured in the likely aprochryphal story about Russia arriving late for the Olympics.
At least that change didn't involve adding any extra months, unlike some of the Julian reforms, which involved adding multiple "intercalary months" to get the year back in sync after missing a pile of leap years.
Speaking of adding months, Will J sends us this "calendar" enum:
enum Calendar { April = 0, August = 1, December = 2, February = 3, Friday = 4, January = 5, July = 6, June = 7, March = 8, May = 9, Monday = 10, November = 11, October = 12, PublicHoliday = 13, Saturday = 14, Sunday = 15, September = 16, Thursday = 17, Tuesday = 18, Wednesday = 19 }Honestly, the weather in PublicHoliday is usually a bit too cold for my tastes. A little later into the spring, like Saturday, is usually a nicer month.
Will offers the hypothesis that some clever developer was trying to optimize compile times: obviously, emitting code for one enum has to be more efficient than emitting code for many enums. I think it more likely that someone just wanted to shove all the calendar stuff into one bucket.
Will further adds:
One of my colleagues points out that the only thing wrong with this enum is that September should be before Sunday.
Yes, arguably, since this enum clearly was meant to be sorted in alphabetical order, but that raises the question of: should it really?