Skip navigation and move to Contents...
Bible 2.0 Инжилнинг далили ўз оятларидадир Bible 2.0

The Word 2016: Where Are My Dates?

Last week, I reported about clusters of Bible sayings for The Word 2016.

Preliminary List

This resulted in a preliminary list for The Word 2016:

"2012-01-01";"E1v15-16";"Ps35v18"
"2012-01-02";"1Rg18v30";"H3v7-8"
"2012-01-03";"J5v14";"Esr9v13"
...
"2012-12-29";"E5v20";"Job1v21"
"2012-12-30";"Jon4v4";"Ps139v1-2"
"2012-12-31";"Mt9v9";"Dt31v8"

Restore Dates

Unfortunately, with mixing sayings from the current contributions in the BibleStudio and from 2009, I missed one point: the date assignments shown in the BibleStudio while people assigned cross-references. To restore these in the preliminary list, I took the list of first sayings and dates from BibleStudio

"2016-01-01";"2K7v10"
"2016-01-02";"Prv26v17"
"2016-01-03";"Act6v4"
"2016-01-04";"Is63v19"
"2016-01-05";"Ps142v2"

and put these dates into the preliminary list. Interestingly, this showed that 11 first sayings in the BibleStudio have been assigned to each other, but to no other cross-reference:

2016-01-11;"Job31v4";"J1v48";2016-09-27
2016-05-04;"Act10v36";"Ps85v9";2016-12-28
...

This is clearly a feature missing in the BibleStudio: when I assign a selected saying to a first saying, let me know (typically show in blue font) if the selected saying is itself a first saying at another date of the year. Ok, one more feature request...

Excursion: Emacs Macros

Experts, interested in how I mixed the two .csv lists? Programming a clever C#/Java/Python/Javascript/PHP/whatever application? No - save the effort... Typically I perform such operations interactively in the Emacs editor. I open both lists side by side, so that I can easily navigate via keyboard from one list to the other (Ctrl-x "o"). Then I record a macro (Ctrl-x "("), roughly: copy the date in one list to the clipboard (Emacs: kill ring; Alt-w), then start an incremental search for the Bible reference (Ctrl-s Ctrl-w some times, ENTER), then navigate to the other list, jump to the beginning of the list (Esc "<"), repeat the search (Ctrl-s Ctrl-s), stay at the found line (ENTER), navigate to the end of the line (Ctrl-e), add a semicolon separator and insert the copied date (Ctrl-y). Navigate back to the first list (Ctrl-x "o"), one line down (Ctrl-a Ctrl-n Ctrl-a), and finish the macro (Ctrl-x ")"). Then repeat as long as appropriate (Ctrl-u "0" Ctrl-x "e"). Now I already have the information combined in one list, and so goes it on.

One detail: when the repeated search does not find the Bible reference, macro execution stops. This is not comfortable. To avoid this interruption, I first copied the entire second list at the end of the first one.

The Word 2016 With Dates Goes Server

The list with dates from BibleStudio now starts like:

"2016-01-01";"Ps125v2";"Ps34v8"
"2016-01-02";"Prv26v17";"2T2v24"
"2016-01-03";"Act6v4";"R12v12"
"2016-01-04";"Is63v19";"2T2v19"

To put this to the server, another Emacs macro converts the list to an SQL statement like:

INSERT INTO tmp (Date, Qual1, Qual2)
VALUES
  ("2016-01-01","Ps125v2","Ps34v8")
, ("2016-01-02","Prv26v17","2T2v24")
, ("2016-01-03","Act6v4","R12v12")
, ("2016-01-04","Is63v19","2T2v19")
...

With some more SQL, the list of sayings for 2016 are available in the server database. A command already implemented on the server extracts the Bible text of the verses from the Schlachter 2000 and English Standard Version, creating a raw version of the sayings.

Cross-checking: Formatting Sayings 2016 For Two Bible Editions

To cross-check that all sayings are available in various Bibles, I thenformat them for the Schlachter 2000 and the English Standard Version. This works comfortably in our internally available browser application.

This is the same application all the translation editors use to prepare the formatted sayings in all Bible editions supported. On top, it shows the formatted saying in the reference Bibles Schlachter 2000, at the bottom it shows the saying in the Bible edition currently edited. As soon as the English Standard Version saying is available, it can also be used as reference.

For The Word 2016, there were ca. 100 sayings to format in the English Standard Version. All verses were available in both the Schlachter 2000 and the English Standard Version. So the list of sayings for The Word 2016 is confirmed!

This is enough for today. The next step is to check the Bible references for some important holidays. Then I would create, check and publish the .twd files from the formatted sayings.

2015-07-15 • HSteeb • updated 2024-05-21