Skip to content

Instantly share code, notes, and snippets.

View josiah14's full-sized avatar

Josiah josiah14

  • 47 Degrees
  • Remote
View GitHub Profile
@josiah14
josiah14 / id3.pl
Created October 23, 2019 17:17
Iterative Dichotemizer example in Prolog
id3 :- ['id3.pl'].
:- ['id3.data'].
:- ['oklog.pl'].
test1(Tree) :-
data1(D), attrlist(L), id3(L, D, Tree).
test2(Tree) :-
data2(D), attrlist(L), id3(L, D, Tree).
@josiah14
josiah14 / prayers-before-work.md
Last active January 13, 2020 18:53
Prayers Before Commencing Work

Troparia and Kontakia to be used during the work day

To those who stumble upon this gist, herein are contained some short prayers to the following Orthodox Christian saints:

  • Elder Porphyrios (for he was a light unto scientists, mathematicians, and engineers in the 1990's, having been givin Divine insight into the intricate workings of nature beyond the scientific knowledge of that time)
  • Saint Patrick (for he built Churches, drove out "snakes" (how many of those do we encounter in our code??), and was exiled and forced to work as a slave. He is considered officially to be a Patron of Engineers by the Church).
  • St. Hubert (for his skill with metalwork and smithing, he is also considered a patron of mathematicians and engineers)
  • St. Eligius (patron of goldsmiths, metalworkers, and of the Royal Electrical and Mechanical Engineers of the British Army)

With the exception of St. Porphyrios, all other Saints are common to the Catholic Church, as well, if there are any Catholics with interest.

@josiah14
josiah14 / garrett-christmas-list-2022.md
Last active November 27, 2022 23:48
Garrett Christmas List 2022