A GNU COBOL status update
When in November we turn back our clocks, then naturally do programmers' thoughts turn to Cobol, its promise, and future.At last post, nine months ago, we were working our way through the NIST CCVS/85 test suite. I am pleased to report that process is complete. As far as NIST is concerned, gcobol is a Cobol compiler.
Posted Nov 15, 2023 13:55 UTC (Wed)
by grawity (subscriber, #80596)
[Link] (1 responses)
Posted Nov 15, 2023 17:52 UTC (Wed)
by rahulsundaram (subscriber, #21946)
[Link]
Yes. gcobol which project is an independent implementation is intended to be part of GCC while GNUCobol (originally OpenCOBOL before it became a GNU project) is a transpiler to C.
Posted Nov 15, 2023 14:26 UTC (Wed)
by Flameeyes (guest, #51238)
[Link] (7 responses)
Wut?
Posted Nov 15, 2023 17:38 UTC (Wed)
by smurf (subscriber, #17840)
[Link] (4 responses)
That language cannot be too many decades in the past, IMHO.
Posted Nov 15, 2023 18:05 UTC (Wed)
by Flameeyes (guest, #51238)
[Link] (3 responses)
I'm in no sarcastic way not understanding what the connection would be between turning back clocks and COBOL.
Unless *everything* to do with computer goes back to COBOL in the mind of the author which could be understandable, but would worry me nonetheless.
Posted Nov 15, 2023 18:08 UTC (Wed)
by willy (subscriber, #9762)
[Link] (2 responses)
Posted Nov 15, 2023 18:29 UTC (Wed)
by Flameeyes (guest, #51238)
[Link] (1 responses)
Okay I wouldn't have made that particular leap. Thanks!
Posted Nov 18, 2023 7:50 UTC (Sat)
by ssmith32 (subscriber, #72404)
[Link]
Posted Nov 15, 2023 18:26 UTC (Wed)
by ballombe (subscriber, #9523)
[Link] (1 responses)
Posted Nov 16, 2023 8:28 UTC (Thu)
by kaesaecracker (subscriber, #126447)
[Link]
Posted Nov 15, 2023 19:17 UTC (Wed)
by sammythesnake (guest, #17693)
[Link] (13 responses)
When I Rule The Worldâ„¢ I'll change the orbit &v rotation of Earth a little so we have a 25 hour day, a 400 day year, and 10 months reach of 4x 10-day weeks.
Vote for me!
Posted Nov 15, 2023 20:33 UTC (Wed)
by smurf (subscriber, #17840)
[Link]
So, no vote for you.
Posted Nov 15, 2023 23:34 UTC (Wed)
by dskoll (subscriber, #1630)
[Link] (11 responses)
Interesting... the Earth's rotational kinetic energy is 2.138 * 10^29 J. Slowing its rotational period to 25h would require the dissipation of 1.676 * 10^28 J. That's a mere quadrillion Hiroshima atomic bombs, give or take, so there could be a slight logistical difficulty...
Posted Nov 16, 2023 0:04 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link] (10 responses)
Posted Nov 16, 2023 1:01 UTC (Thu)
by ErikF (subscriber, #118131)
[Link] (9 responses)
Posted Nov 17, 2023 20:09 UTC (Fri)
by rgmoore (✭ supporter ✭, #75)
[Link] (8 responses)
Posted Nov 17, 2023 20:35 UTC (Fri)
by Wol (subscriber, #4433)
[Link] (1 responses)
At my workplace (and I think it's EU rules) many people are simply NOT ALLOWED to work more than six consecutive days, on safety grounds.
Cheers,
Posted Nov 17, 2023 21:28 UTC (Fri)
by mpr22 (subscriber, #60784)
[Link]
Boney abolished the ten-day week in 1802, after making nice with the man beyond the mountains, and then the Republican calendar in its entirety on 1 January 1806, a little over a year after being crowned Emperor of the French).
Posted Nov 18, 2023 7:52 UTC (Sat)
by ssmith32 (subscriber, #72404)
[Link] (1 responses)
Posted Nov 20, 2023 7:42 UTC (Mon)
by eduperez (guest, #11232)
[Link]
Posted Nov 18, 2023 13:11 UTC (Sat)
by geert (subscriber, #98403)
[Link] (1 responses)
Posted Nov 18, 2023 19:29 UTC (Sat)
by gmatht (guest, #58961)
[Link]
Posted Nov 19, 2023 21:32 UTC (Sun)
by NYKevin (subscriber, #129325)
[Link] (1 responses)
If it had been implemented, the World Calendar would have introduced a three-day weekend beginning on Saturday, December 30* and ending on Sunday, January 1, with the middle day being called "Worldsday" and having no day of the week (or month, for that matter). In leap years, another intercalary day is inserted between Saturday, June 30, and Sunday, July 1. The calendar has the same number of days as the Gregorian calendar and uses the same leap year formula, so there would be no need to add or subtract days in order to switch to it (as was done with the Gregorian reform).
If you want something more standard and widely-supported, you could use the ISO 8601 week-numbering year, which always has a whole number of weeks, but usually does not agree with the Gregorian calendar as to the nth day of the year. The week-numbering year works by labeling whichever week contains the first Thursday in January (according to the Gregorian calendar) as "week 1," and then numbering weeks consecutively until you get to "week 1" of the following year. This means that, for example, if a year begins on Wednesday (according to the Gregorian Calendar), then the week-numbering calendar says it begins on December 30 (the preceding Monday). If a year begins on Monday, then both calendars agree on the beginning of the year, and the nth day of the year, but they will disagree as to when it ends. Because the week-numbering year defines its starting point relative to the Gregorian calendar, it cannot fall too far "out of sync," and periodically makes up for the lost days by having 53 weeks in a year. No individual year is closely aligned with the tropical year, but in the long run, the discrepancies cancel out.
Unfortunately, there's probably no good way to combine these types of reform: You can either have a year that follows the tropical year, as the Gregorian and World calendars are, or you can have a whole number of weeks, as the ISO week-numbering year does, but you can't do both.
* The calendar shortens December to 30 days, as part of a broader reform intended to produce more consistent month durations and four equal quarters.
Posted Nov 20, 2023 17:15 UTC (Mon)
by Wol (subscriber, #4433)
[Link]
It mildly annoys me when Easter is called "a moveable feast". It isn't, it's the first Sunday of the first month of the New Year. Just not our modern Gregorian New Year.
I gather the old Roman Calendar only had ten months, and was also a lunar calendar. It started roughly on the Spring Equinox, ran ten months to end roughly on the Winter Solstice, and then the calendar stopped for Winter until the new calendar started on the next spring equinox.
(Easter - with certain ecclesiastical fixes - is defined as the "first Sunday after the first full moon after the Spring Equinox". So if New Year's Day is the Spring Equinox - which it sort of was, I'm not sure if it was the 21st or 25th March, the first moonth was the first "full moon to full moon" of the year. Passover has approximately the same definition, but Passover has nothing to do with Sunday, and if Passover falls on a Sunday, Easter is the following Sunday. I think that only happens if Passover falls on a full moon.)
Cheers,
This is apparently COBOL for the GNU Compiler Collection, and not the same thing as the older GnuCOBOL project?
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
A GNU COBOL status update
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
You can redefine the second to get a 25 hour day, but you have to make some kind of physical change to the Earth's rotation or orbit to get a 400 day year. I would suggest the least drastic move that would actually improve the calendar would be to slow the Earth's rotation just enough to get a year of exactly 364 days. That would allow a year of exactly 52 weeks, so the year would always start on the same day of the week. Of course we'd have to eliminate the moon so our rotation wouldn't be slowed by tides...
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
Wol
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
(replace weekday and Sunday by the days of your liking)
Correct birthdays.
[OT] Time zones, etc (was A GNU COBOL status update)
[OT] Time zones, etc (was A GNU COBOL status update)
Wol