Skip to content

Commit d6d54ee

Browse files
committed
Merge branch '000-temp'
2 parents e0e3543 + 07685d1 commit d6d54ee

162 files changed

Lines changed: 2881 additions & 106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

articles-all.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
// Immediate theme application to prevent flash of white
6+
(function() {
7+
const theme = localStorage.getItem('theme') ||
8+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
9+
if (theme === 'dark') {
10+
document.documentElement.setAttribute('data-theme', 'dark');
11+
}
12+
})();
13+
</script>
414
<!-- Google tag (gtag.js) -->
515
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
616
<script>
@@ -53,6 +63,8 @@
5363
<link rel="stylesheet" href="/static/css/dialog.css">
5464
<link rel="stylesheet" href="/static/css/image.css">
5565
<link rel="stylesheet" href="/static/css/collapsible.css">
66+
<link rel="stylesheet" href="/static/css/dark-mode.css">
67+
<script src="/static/js/dark-mode.js" defer></script>
5668

5769

5870
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@@ -63,6 +75,10 @@
6375

6476
</head>
6577
<body>
78+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
79+
<i class="fa fa-moon-o" aria-hidden="true"></i>
80+
</button>
81+
6682

6783
<!-- Primary Page Layout -->
6884
<div class="container">

articles.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
// Immediate theme application to prevent flash of white
6+
(function() {
7+
const theme = localStorage.getItem('theme') ||
8+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
9+
if (theme === 'dark') {
10+
document.documentElement.setAttribute('data-theme', 'dark');
11+
}
12+
})();
13+
</script>
414
<!-- Google tag (gtag.js) -->
515
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
616
<script>
@@ -53,6 +63,8 @@
5363
<link rel="stylesheet" href="/static/css/dialog.css">
5464
<link rel="stylesheet" href="/static/css/image.css">
5565
<link rel="stylesheet" href="/static/css/collapsible.css">
66+
<link rel="stylesheet" href="/static/css/dark-mode.css">
67+
<script src="/static/js/dark-mode.js" defer></script>
5668

5769

5870
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@@ -63,6 +75,10 @@
6375

6476
</head>
6577
<body>
78+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
79+
<i class="fa fa-moon-o" aria-hidden="true"></i>
80+
</button>
81+
6682

6783
<!-- Primary Page Layout -->
6884
<div class="container">

articles/a-review-of-openais-new-chatgpt-o1.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6+
<script>
7+
// Immediate theme application to prevent flash of white
8+
(function() {
9+
const theme = localStorage.getItem('theme') ||
10+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
11+
if (theme === 'dark') {
12+
document.documentElement.setAttribute('data-theme', 'dark');
13+
}
14+
})();
15+
</script>
616
<!-- Google tag (gtag.js) -->
717
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
818
<script>
@@ -55,6 +65,8 @@
5565
<link rel="stylesheet" href="/static/css/dialog.css">
5666
<link rel="stylesheet" href="/static/css/image.css">
5767
<link rel="stylesheet" href="/static/css/collapsible.css">
68+
<link rel="stylesheet" href="/static/css/dark-mode.css">
69+
<script src="/static/js/dark-mode.js" defer></script>
5870
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5971

6072

@@ -66,6 +78,10 @@
6678

6779
</head>
6880
<body>
81+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
82+
<i class="fa fa-moon-o" aria-hidden="true"></i>
83+
</button>
84+
6985

7086
<!-- Primary Page Layout -->
7187
<div class="container">

articles/a-simple-way-to-fix-legacy-code.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<!DOCTYPE html>
33
<html lang="en">
44
<head>
5+
<script>
6+
// Immediate theme application to prevent flash of white
7+
(function() {
8+
const theme = localStorage.getItem('theme') ||
9+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
10+
if (theme === 'dark') {
11+
document.documentElement.setAttribute('data-theme', 'dark');
12+
}
13+
})();
14+
</script>
515
<!-- Google tag (gtag.js) -->
616
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
717
<script>
@@ -54,6 +64,8 @@
5464
<link rel="stylesheet" href="/static/css/dialog.css">
5565
<link rel="stylesheet" href="/static/css/image.css">
5666
<link rel="stylesheet" href="/static/css/collapsible.css">
67+
<link rel="stylesheet" href="/static/css/dark-mode.css">
68+
<script src="/static/js/dark-mode.js" defer></script>
5769

5870

5971
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@@ -64,6 +76,10 @@
6476

6577
</head>
6678
<body>
79+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
80+
<i class="fa fa-moon-o" aria-hidden="true"></i>
81+
</button>
82+
6783

6884
<!-- Primary Page Layout -->
6985
<div class="container">

articles/agile-is-not-the-problem.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6+
<script>
7+
// Immediate theme application to prevent flash of white
8+
(function() {
9+
const theme = localStorage.getItem('theme') ||
10+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
11+
if (theme === 'dark') {
12+
document.documentElement.setAttribute('data-theme', 'dark');
13+
}
14+
})();
15+
</script>
616
<!-- Google tag (gtag.js) -->
717
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
818
<script>
@@ -55,6 +65,8 @@
5565
<link rel="stylesheet" href="/static/css/dialog.css">
5666
<link rel="stylesheet" href="/static/css/image.css">
5767
<link rel="stylesheet" href="/static/css/collapsible.css">
68+
<link rel="stylesheet" href="/static/css/dark-mode.css">
69+
<script src="/static/js/dark-mode.js" defer></script>
5870
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5971

6072

@@ -66,6 +78,10 @@
6678

6779
</head>
6880
<body>
81+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
82+
<i class="fa fa-moon-o" aria-hidden="true"></i>
83+
</button>
84+
6985

7086
<!-- Primary Page Layout -->
7187
<div class="container">

articles/ai-for-accessibility.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6+
<script>
7+
// Immediate theme application to prevent flash of white
8+
(function() {
9+
const theme = localStorage.getItem('theme') ||
10+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
11+
if (theme === 'dark') {
12+
document.documentElement.setAttribute('data-theme', 'dark');
13+
}
14+
})();
15+
</script>
616
<!-- Google tag (gtag.js) -->
717
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
818
<script>
@@ -55,6 +65,8 @@
5565
<link rel="stylesheet" href="/static/css/dialog.css">
5666
<link rel="stylesheet" href="/static/css/image.css">
5767
<link rel="stylesheet" href="/static/css/collapsible.css">
68+
<link rel="stylesheet" href="/static/css/dark-mode.css">
69+
<script src="/static/js/dark-mode.js" defer></script>
5870
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5971

6072

@@ -66,6 +78,10 @@
6678

6779
</head>
6880
<body>
81+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
82+
<i class="fa fa-moon-o" aria-hidden="true"></i>
83+
</button>
84+
6985

7086
<!-- Primary Page Layout -->
7187
<div class="container">

articles/ai-generated-content-innovation-or-intellectual-theft.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6+
<script>
7+
// Immediate theme application to prevent flash of white
8+
(function() {
9+
const theme = localStorage.getItem('theme') ||
10+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
11+
if (theme === 'dark') {
12+
document.documentElement.setAttribute('data-theme', 'dark');
13+
}
14+
})();
15+
</script>
616
<!-- Google tag (gtag.js) -->
717
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
818
<script>
@@ -55,6 +65,8 @@
5565
<link rel="stylesheet" href="/static/css/dialog.css">
5666
<link rel="stylesheet" href="/static/css/image.css">
5767
<link rel="stylesheet" href="/static/css/collapsible.css">
68+
<link rel="stylesheet" href="/static/css/dark-mode.css">
69+
<script src="/static/js/dark-mode.js" defer></script>
5870
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5971

6072

@@ -66,6 +78,10 @@
6678

6779
</head>
6880
<body>
81+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
82+
<i class="fa fa-moon-o" aria-hidden="true"></i>
83+
</button>
84+
6985

7086
<!-- Primary Page Layout -->
7187
<div class="container">

articles/ai-today-is-like-the-early-internet.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6+
<script>
7+
// Immediate theme application to prevent flash of white
8+
(function() {
9+
const theme = localStorage.getItem('theme') ||
10+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
11+
if (theme === 'dark') {
12+
document.documentElement.setAttribute('data-theme', 'dark');
13+
}
14+
})();
15+
</script>
616
<!-- Google tag (gtag.js) -->
717
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
818
<script>
@@ -55,6 +65,8 @@
5565
<link rel="stylesheet" href="/static/css/dialog.css">
5666
<link rel="stylesheet" href="/static/css/image.css">
5767
<link rel="stylesheet" href="/static/css/collapsible.css">
68+
<link rel="stylesheet" href="/static/css/dark-mode.css">
69+
<script src="/static/js/dark-mode.js" defer></script>
5870
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5971

6072

@@ -66,6 +78,10 @@
6678

6779
</head>
6880
<body>
81+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
82+
<i class="fa fa-moon-o" aria-hidden="true"></i>
83+
</button>
84+
6985

7086
<!-- Primary Page Layout -->
7187
<div class="container">

articles/alan-kay-and-missing-messages-a-follow-up.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
// Immediate theme application to prevent flash of white
6+
(function() {
7+
const theme = localStorage.getItem('theme') ||
8+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
9+
if (theme === 'dark') {
10+
document.documentElement.setAttribute('data-theme', 'dark');
11+
}
12+
})();
13+
</script>
414
<!-- Google tag (gtag.js) -->
515
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
616
<script>
@@ -53,6 +63,8 @@
5363
<link rel="stylesheet" href="/static/css/dialog.css">
5464
<link rel="stylesheet" href="/static/css/image.css">
5565
<link rel="stylesheet" href="/static/css/collapsible.css">
66+
<link rel="stylesheet" href="/static/css/dark-mode.css">
67+
<script src="/static/js/dark-mode.js" defer></script>
5668
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5769

5870

@@ -64,6 +76,10 @@
6476

6577
</head>
6678
<body>
79+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
80+
<i class="fa fa-moon-o" aria-hidden="true"></i>
81+
</button>
82+
6783

6884
<!-- Primary Page Layout -->
6985
<div class="container">

articles/alan-kay-and-oo-programming.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<script>
5+
// Immediate theme application to prevent flash of white
6+
(function() {
7+
const theme = localStorage.getItem('theme') ||
8+
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
9+
if (theme === 'dark') {
10+
document.documentElement.setAttribute('data-theme', 'dark');
11+
}
12+
})();
13+
</script>
414
<!-- Google tag (gtag.js) -->
515
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
616
<script>
@@ -53,6 +63,8 @@
5363
<link rel="stylesheet" href="/static/css/dialog.css">
5464
<link rel="stylesheet" href="/static/css/image.css">
5565
<link rel="stylesheet" href="/static/css/collapsible.css">
66+
<link rel="stylesheet" href="/static/css/dark-mode.css">
67+
<script src="/static/js/dark-mode.js" defer></script>
5668
<link rel="stylesheet" type="text/css" href="/static/css/prism.css"/>
5769

5870

@@ -64,6 +76,10 @@
6476

6577
</head>
6678
<body>
79+
<button id="theme-toggle" aria-label="Toggle Dark Mode">
80+
<i class="fa fa-moon-o" aria-hidden="true"></i>
81+
</button>
82+
6783

6884
<!-- Primary Page Layout -->
6985
<div class="container">

0 commit comments

Comments
 (0)