The USA is a hard country to get presents for, because you seem to have everything.
But as an Australian, I'd like to give a gift of the word "Fortnight". Fortnight is a word that means "2 weeks". Its a little old fashioned but awfully useful. Its a common word in Australia (and the UK I think) and you can find it in every English language dictionary.
Like "week", fortnight can be used as an adjective. For example, "Fortnightly meeting" - which means "A meeting that takes place every 2 weeks." Unlike "bimonthly meeting", a "fortnightly meeting" is clear and unambiguous. It is also well understood by the rest of the English speaking world.
in most countries the dates 6th - 14th october 1582 existed since far from all countries switched to the Gregorian calendar when the Papal bull to switch was issued. Essentially only Catholic countries followed the bulla. Russia, for example, didnt switch from the Julian calendar until 1917.
That’s pretty interesting. So is Ruby’s behavior - calling the date invalid - is that bad behavior, or a totally reasonable choice to assume the DateTime is Gregorian? It would be neat if the exception said why the date was invalid, but I guess for any dates going back in history globally we should try to use a more sophisticated time lib that takes calendar and locale into account whenever they exist.
The Gregorian calendar was adopted in arguably four main spurts. The first spurt changed over in 1582, and was exclusively Catholic countries. Most of Protestant Europe then changed in 1700, in a second spurt. The third spurt was the Anglosphere, switching in 1752, and Sweden, switching for good in 1753. The final spurt was Orthodox countries changing over during and after World War I.
There is an additional wrinkle to comment on, which is that not every country started their year on January 1. And when a country changed their year start to January 1 is often not the same as when they changed from Julian to Gregorian.
In the absence of more specific information, it is usual to assume that an unlabeled calendar reference is a Julian date reference (starting on January 1) until October 4, 1582 and a Gregorian date reference from October 15, 1582 onwards, with October 5-14, 1582 not existing. It should be noted that this calendar does not correspond to any actual calendar used by any polity in actual history that I am aware of, but it would tend to be less confusing than actual historical calendars.
What about non-european cultures? When was the Gregorian calendar adopted generally in india, central asia, the far east (china, japan, korea), south-east asia, east africa, west africa?
East Asia adopted the Gregorian calendar as part of the drives to Westernization: Japan in 1873, Korea in 1895, and China in the early 20th century (post-Qing China wasn't a unified country following the same rules).
In the Americas, the Julian or Gregorian calendar would have been adopted at time of European conquest. Similarly, in most of the rest of the world (which was conquered by Europeans at some time or another), civil administration would have switched to Gregorian when Europeans started administration, although this might not imply a change in local usage of calendar.
Islamic countries have had the most resistance to the Gregorian calendar, with Saudi Arabia not using it (de jure, although it was used in private industry de facto) until 2016 and Iran and Afghanistan still not using it.
Iran uses its own observation-based solar calendar (which means it follows the seasons exactly every year), but it also reports the Gregorian date on the nightly news. People in Iran are generally aware of the Gregorian month and year they are in, if not the exact date.
>A Date object can be created with an optional argument, the day of calendar reform as a Julian day number, which should be 2298874 to 2426355 or negative/positive infinity. The default value is Date::ITALY (2299161=1582-10-15).
What exactly would you call globbing if not the feature that is controlled using the nullglob, failglob, nocaseglob and dotglob options as well as the GLOBIGNORE variable.
Globbing has an ambivalent definition given that it’s mostly used for filename matches (especially given its origin as the glob command), but it’s really a specific form of pattern matching using wildcards such as * and ?, it need not apply only to filenames or paths on the filesystem: this matching is also used to match strings in case/in/esac constructs and test’s == !=
You're right regarding glob functionality, but the curly braces are a separate shell feature. The most useful idiom I use it for is renaming or copying, e.g.:
Maintainer, not maintainers. If you look at the vim repo, https://github.com/vim/vim, essentially all commits are from the same person. Encouraging contributions and splitting maintenance between multiple people was one of the key factors when forking neovim. IIRC neovim was a result of Bram, the vim creator, refusing a PR for async plugins. Functionality that is today regarded as extremely important.
A couple of questions I have come to myself on a similar topic:
1. On what grounds are we a Nazi? What are the political implications of the use of "feminism"?
2. What's the reason the German government killed one of its female and Nazi leaders. If a german leader was killed because of sexism by other groups, how are they protected if there is a Nazi?
3. What is their motivation in this? Do they have a goal to end war and that they do not have a "war of Nazes"? And why are politicians so against the idea that "theirs" are not a communist?
man, last week i created https://peg.gy. similar idea when it comes to rating and tagging but no intention of fetching online discussions. it's just a proof of concept for now.
i even created a similar bookmarklet to drag to the bookmark bar, but "Peg it" instead of "Jar It"