SQLite
![]() | |
Developer(s) | D. Richard Hipp |
---|---|
Initial release | 17 August 2000 |
Written in | C |
Operating system | Cross-platform |
Size | 699 KiB |
Type | RDBMS (embedded) |
License | Public domain[1] |
Filename extension |
.sqlite3, .sqlite, .db |
---|---|
Internet media type | application/vnd.sqlite3 [2] |
Magic number | 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 (zero-terminated ASCII "SQLite format 3") |
Initial release | 2004-06-18 |
Open format? | yes (Public Domain) |
Website | sqlite.org/fileformat2.html |
SQLite (/ˌɛsˌkjuːˌɛlˈaɪt/,[3][4] /ˈsiːkwəˌlaɪt/[5]) is a relational database management system (RDBMS) contained in a C library. In contrast to many other database management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end program.
Code of Ethics
The SQLite team published a document Code of Ethics, also known as "Code of Conduct", as a reference for developers, in which the founder and the developers participating in the project pledged to govern their interactions with each other, with their clients, and with the larger SQLite community, taking inspiration from chapter 4 of the Rule of Saint Benedict.
The spirit of Saint Benedict's Rule is summed up in the motto of the Benedictine Confederation: pax ("peace") and the traditional ora et labora ("pray and work"). Compared to other precepts, the Rule provides a moderate path between individual zeal and formulaic institutionalism; because of this middle ground it has been widely popular. Benedict's concerns were the needs of monks in a community environment: namely, to establish due order, to foster an understanding of the relational nature of human beings, and to provide a spiritual father to support and strengthen the individual's ascetic effort and the spiritual growth that is required for the fulfillment of the human vocation, theosis.
This code of ethics has proven its mettle in thousands of diverse communities for over 1,500 years, and has served as a baseline for many civil law codes since the time of Charlemagne.
— Purpose, https://sqlite.org/codeofethics.html,
Number 3 of the SQLite Code of Ethics states the "instruments of good works" in foresaid chapter of the Rule of Saint Benedict:
- First of all, love the Lord God with your whole heart, your whole soul, and your whole strength.
- Then, love your neighbor as yourself.
- Do not murder.
- Do not commit adultery.
- Do not steal.
- Do not covet.
- Do not bear false witness.
- Honor all people.
- Do not do to another what you would not have done to yourself.
- Deny oneself in order to follow Christ.
- Chastise the body.
- Do not become attached to pleasures.
- Love fasting.
- Relieve the poor.
- Clothe the naked.
- Visit the sick.
- Bury the dead.
- Be a help in times of trouble.
- Console the sorrowing.
- Be a stranger to the world's ways.
- Prefer nothing more than the love of Christ.
- Do not give way to anger.
- Do not nurse a grudge.
- Do not entertain deceit in your heart.
- Do not give a false peace.
- Do not forsake charity.
- Do not swear, for fear of perjuring yourself.
- Utter only truth from heart and mouth.
- Do not return evil for evil.
- Do no wrong to anyone, and bear patiently wrongs done to yourself.
- Love your enemies.
- Do not curse those who curse you, but rather bless them.
- Bear persecution for justice's sake.
- Be not proud.
- Be not addicted to wine.
- Be not a great eater.
- Be not drowsy.
- Be not lazy.
- Be not a grumbler.
- Be not a detractor.
- Put your hope in God.
- Attribute to God, and not to self, whatever good you see in yourself.
- Recognize always that evil is your own doing, and to impute it to yourself.
- Fear the Day of Judgment.
- Be in dread of hell.
- Desire eternal life with all the passion of the spirit.
- Keep death daily before your eyes.
- Keep constant guard over the actions of your life.
- Know for certain that God sees you everywhere.
- When wrongful thoughts come into your heart, dash them against Christ immediately.
- Disclose wrongful thoughts to your spiritual mentor.
- Guard your tongue against evil and depraved speech.
- Do not love much talking.
- Speak no useless words or words that move to laughter.
- Do not love much or boisterous laughter.
- Listen willingly to holy reading.
- Devote yourself frequently to prayer.
- Daily in your prayers, with tears and sighs, confess your past sins to God, and amend them for the future.
- Fulfill not the desires of the flesh; hate your own will.
- Obey in all things the commands of those whom God has placed in authority over you even though they (which God forbid) should act otherwise, mindful of the Lord's precept, "Do what they say, but not what they do."
- Do not wish to be called holy before one is holy; but first to be holy, that you may be truly so called.
- Fulfill God's commandments daily in your deeds.
- Love chastity.
- Hate no one.
- Be not jealous, nor harbor envy.
- Do not love quarreling.
- Shun arrogance.
- Respect your seniors.
- Love your juniors.
- Pray for your enemies in the love of Christ.
- Make peace with your adversary before the sun sets.
- Never despair of God's mercy.
This choice of Christian ethics as a basis for the SQLite community brought some public scrutiny upon the SQLite founder and the SQLite community.[6][7][8]
Source code
Each of the files that comprise the source code of the SQLite project, together with the free software copyright, contains a blessing:
,/* ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give.
Biblical references
The Rule of St. Benedict is based on a number of Scripture texts, the first of which are the Ten Commandments and the Great Commandment.
The Greatest Commandment (rules 1-2)
See also the other two synoptic gospels, Mark 12:28-31 and Luke 10:25-28.
Jesus is quoting these two Old Testament passages:
The Greatest Commandment part 1: Love of God (rule 1)
The Greatest Commandment part 2: Love of neighbour (rule 2)
The Ten Commandments (rules 3-7)
See also Deuteronomy 5:6–21.
Honor all people (rule 8)
The Golden rule (rule 9)
Hillel the Elder (c. 110 BCE – 10 CE),[9] used the aforementioned verse of Leviticus 19:18 as a most important message of the Torah for his teachings. Once, he was challenged by a gentile who asked to be converted under the condition that the Torah be explained to him while he stood on one foot. Hillel accepted him as a candidate for conversion to Judaism but, drawing on Leviticus 19:18, briefed the man:
What is hateful to you, do not do to your fellow: this is the whole Torah; the rest is the explanation; go and learn.
—
Hillel recognized brotherly love as the fundamental principle of Jewish ethics. Rabbi Akiva agreed, while Simeon ben Azzai suggested that the principle of love must have its foundation in Genesis chapter 1, which teaches that all men are the offspring of Adam, who was made in the image of God.[11][12] According to Jewish rabbinic literature, the first man Adam represents the unity of mankind. This is echoed in the modern preamble of the Universal Declaration of Human Rights.[13][14] And it is also taught, that Adam is last in order according to the evolutionary character of God's creation:[12]
Why was only a single specimen of man created first? To teach us that he who destroys a single soul destroys a whole world and that he who saves a single soul saves a whole world; furthermore, so no race or class may claim a nobler ancestry, saying, 'Our father was born first'; and, finally, to give testimony to the greatness of the Lord, who caused the wonderful diversity of mankind to emanate from one type. And why was Adam created last of all beings? To teach him humility; for if he be overbearing, let him remember that the little fly preceded him in the order of creation.[12]
Deny oneself to follow Christ (rule 10)
Mortification of the flesh (rule 11)
Detachment from worldly pleasures (rule 12)
Fasting (rule 13)
Almsgiving (rule 14)
Corporal works of mercy (rules 15-17)
Spiritual works of mercy (rules 18-19)
The Lord is a help in time of distress, and gives comfort to the afflicted:
Psalms 9:8-11; Psalms 22:23-27; Psalms 27:4-5; Psalms 30:2-4; Psalms 46:2; Psalms 55:22; Psalms 56; Psalms 71:20-22; Psalms 116; Psalms 119:49-50; Jeremiah 29:11-14; Lamentations 3:21-24,31-33; Nahum 1:7-8; Matthew 11:28-30; John 14:15-18,27; John 16:22-23; 2 Corinthians 5:17; 1 Peter 5:5-11; Revelation 21:4
Being a help to others in times of trouble, and comforting the afflicted:
Deuteronomy 22:4; Proverbs 3:27; Proverbs 11:25; Proverbs 19:17; Proverbs 22:9; Matthew 5:16; Matthew 5:42; Matthew 10:8; Luke 3:10-11; Luke 6:38; Luke 12:33; John 15:12; Acts 20:35; Romans 12:13; Ephesians 4:32; Galatians 6:2; Philippians 2:4; 1 Thessalonians 5:11; Hebrews 6:10; Hebrews 13:16; James 2:14-17; 1 John 3:17
Be a stranger to the ways of the world (rule 20)
Prefer nothing more than the love of Christ (rule 21)
- ↑ "SQLite Copyright". sqlite.org. Retrieved May 17, 2010.
- ↑ "SQLite database file format media type at IANA". Internet Assigned Numbers Authority. IANA. Retrieved 2019-03-08.
- ↑ "Why SQLite succeeded as a database — Richard Hipp, creator of SQLite". The Changelog. Episode 201. Event occurs at 00:17:25.
How do I pronounce the name of the product? I say S-Q-L-ite, like a mineral.
- ↑ D. Richard Hipp (presenter) (May 31, 2006). An Introduction to SQLite (video). Google Inc. Event occurs at 00:01:14. Retrieved March 23, 2010.
[...] ess-kju-ellite [...]
- ↑ D. Richard Hipp (presenter) (May 31, 2006). An Introduction to SQLite. Google Inc. Event occurs at 00:48:15. Retrieved March 23, 2010.
[...] sequelite [...]
- ↑ https://www.theregister.com/2018/10/22/sqlite_code_of_conduct/
- ↑ https://pjmedia.com/news-and-politics/paula-bolyard/2018/10/24/tech-community-outraged-after-sqlite-founder-adopts-christian-code-of-conduct-n61746
- ↑ https://archive.fo/qivKH
- ↑ Jewish Encyclopedia: Hillel: "His activity of forty years is perhaps historical; and since it began, according to a trustworthy tradition (Shab. 15a), one hundred years before the destruction of Jerusalem, it must have covered the period 30 BCE–10 CE"
- ↑ Shabbath folio:31a
- ↑ (Sifra, Ḳedoshim, iv.; Yer. Ned. ix. 41c; Genesis Rabba 24
- ↑ 12.0 12.1 12.2 "ADAM". JewishEncyclopedia.com. Retrieved 12 September 2013.
- ↑ "Mishnah Seder Nezikin Sanhedrin 4.5". sefaria.org. Retrieved 17 July 2016.
- ↑ "Tosefta on Mishnah Seder Nezikin Sanhedrin 8.4–9 (Erfurt Manuscript)". toseftaonline.org. 2012-08-21.