Skip to content

Commit 5b1f2a4

Browse files
minor formatting
1 parent 5b3410b commit 5b1f2a4

File tree

3 files changed

+22
-30
lines changed

3 files changed

+22
-30
lines changed

book/20-concepts/00-databases.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ Modern databases typically separate data management from data use through distin
8181
### Common Architectures
8282

8383
**Server-Client Architecture** (most common): A database server program manages all data operations, while client programs (your scripts, applications, notebooks) connect to request data or submit changes. The server enforces all rules and access permissions consistently for every client. This is like a library where the librarian (server) manages the books and enforces checkout policies, while patrons (clients) request materials.
84+
The two most popular open-source relational database systems: MySQL and Postgres implement a server-client architecture.
8485

85-
**Embedded Databases**: The database engine runs within your application itself—no separate server. This works for single-user applications like mobile apps or desktop software, but doesn't support multiple users accessing shared data simultaneously. SQLite is a common embedded database.
86+
**Embedded Databases**: The database engine runs within your application itself—no separate server. This works for single-user applications like mobile apps or desktop software, but doesn't support multiple users accessing shared data simultaneously.
87+
SQLite is a common embedded database @10.14778/3554821.3554842.
8688

87-
**Distributed Databases**: Data and processing are spread across multiple servers working together. This provides high availability and can handle massive scale, but adds significant complexity. Systems like Google Spanner and Amazon DynamoDB use this approach.
89+
**Distributed Databases**: Data and processing are spread across multiple servers working together. This provides high availability and can handle massive scale, but adds significant complexity. Systems like Google Spanner, Amazon DynamoDB, and CockroachDB use this approach.
8890

8991
For collaborative scientific research, the server-client architecture dominates because it naturally supports multiple researchers working with shared data while maintaining consistent integrity and security rules.
9092

book/30-database-design/052-lookup-tables.ipynb

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": 2,
57+
"execution_count": null,
5858
"metadata": {},
5959
"outputs": [],
6060
"source": [
@@ -66,18 +66,8 @@
6666
" grade_point = null: decimal(3,2) unsigned # Corresponding grade point\n",
6767
" \"\"\"\n",
6868
" contents = [\n",
69-
" ('A', 4.0),\n",
70-
" ('A-', 3.67),\n",
71-
" ('B+', 3.33),\n",
72-
" ('B', 3.00),\n",
73-
" ('B-', 2.67),\n",
74-
" ('C+', 2.33),\n",
75-
" ('C', 2.00),\n",
76-
" ('C-', 1.67),\n",
77-
" ('D+', 1.33),\n",
78-
" ('D', 1.00),\n",
79-
" ('F', 0.00),\n",
80-
" ('I', None)\n",
69+
" ('A', 4.00), ('A-', 3.67), ('B+', 3.33), ('B', 3.00), ('B-', 2.67), ('C+', 2.33),\n",
70+
" ('C', 2.00), ('C-', 1.67), ('D+', 1.33), ('D', 1.00), ('F', 0.00), ('I', None)\n",
8171
" ]"
8272
]
8373
},

book/80-examples/070-fractals.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@
3434
"Each different value of $c$ produces a completely different fractal pattern—some connected, some fragmented into dust-like structures. Small changes to $c$ can produce dramatically different images, making exploration of the parameter space endlessly fascinating."
3535
]
3636
},
37-
{
38-
"cell_type": "code",
39-
"execution_count": 24,
40-
"id": "87bd1a0f",
41-
"metadata": {},
42-
"outputs": [],
43-
"source": [
44-
"%matplotlib inline\n",
45-
"from matplotlib import pyplot as plt\n",
46-
"import numpy as np\n",
47-
"import datajoint as dj"
48-
]
49-
},
5037
{
5138
"cell_type": "markdown",
5239
"id": "64956c79",
@@ -71,6 +58,19 @@
7158
"The resulting image shows how quickly different regions of the complex plane \"escape\" under iteration, creating the beautiful fractal boundaries we see in Julia sets.\n"
7259
]
7360
},
61+
{
62+
"cell_type": "code",
63+
"execution_count": 24,
64+
"id": "87bd1a0f",
65+
"metadata": {},
66+
"outputs": [],
67+
"source": [
68+
"%matplotlib inline\n",
69+
"from matplotlib import pyplot as plt\n",
70+
"import numpy as np\n",
71+
"import datajoint as dj"
72+
]
73+
},
7474
{
7575
"cell_type": "code",
7676
"execution_count": 25,
@@ -189,7 +189,7 @@
189189
"source": [
190190
"## Image Processing: Denoising Fractals\n",
191191
"\n",
192-
"In real-world applications, fractal generation often involves noisy data. While we're adding noise artificially here for demonstration, similar challenges arise when:\n",
192+
"In real-world applications, data acquisition often involves noisy data. While we're adding noise artificially here for demonstration, similar challenges arise when:\n",
193193
"\n",
194194
"- Processing images from telescopes or microscopes\n",
195195
"- Analyzing scientific data with measurement errors\n",
@@ -1010,7 +1010,7 @@
10101010
},
10111011
{
10121012
"cell_type": "code",
1013-
"execution_count": 49,
1013+
"execution_count": null,
10141014
"id": "4917c8c2",
10151015
"metadata": {},
10161016
"outputs": [

0 commit comments

Comments
 (0)