-
Notifications
You must be signed in to change notification settings - Fork 7
/
blog.html
288 lines (224 loc) · 11.6 KB
/
blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BVDP76N9NB"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BVDP76N9NB');
</script>
<!-- Facebook -->
<meta property="fb:app_id" content="329861788447703" />
<meta property="og:image" content="https://ovid.github.io/static/images/facebook/ovid-facebook.jpg" />
<meta property="og:image:alt" content="A black and white image of the author, Curtis “Ovid” Poe." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://ovid.github.io/blog.html" />
<meta property="og:title" content="Blog Entries by Ovid, page 1" />
<meta property="og:description" content="" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<!-- Basic Page Needs -->
<meta charset="utf-8">
<title>Blog Entries by Ovid, page 1</title>
<meta name="description" content="Blog Entries by Ovid, page 1">
<meta name="author" content="Curtis Poe">
<link rel="alternate" type="application/rss+xml" title="Subscribe to my technical blog" href="https://ovid.github.io/article.rss" />
<link rel="alternate" type="application/rss+xml" title="Subscribe to my personal blog" href="https://ovid.github.io/blog.rss" />
<!-- Mobile Specific Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<!-- CSS -->
<link rel="stylesheet" href="/static/css/normalize.css">
<link rel="stylesheet" href="/static/css/skeleton.css">
<link rel="stylesheet" href="/static/css/main.css">
<link rel="stylesheet" href="/static/css/dialog.css">
<link rel="stylesheet" href="/css/layout.css">
<link rel="stylesheet" href="/static/css/image.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Favicon -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<!-- Primary Page Layout -->
<div class="container">
<div class="row books">
<div class="twelve columns header">
<ul>
<li><a href="https://www.amazon.com/Perl-Hacks-Programming-Debugging-Surviving/dp/0596526741/" target="_blank"><img src="/static/images/perl-hacks.jpg" alt="The cover of the 'Perl Hacks' book" class="book"></a></li>
<li><a href="https://www.amazon.com/Beginning-Perl-Curtis-Poe/dp/1118013840/" target="_blank"><img src="/static/images/beginning-perl.jpg" alt="The cover of the 'Beginning Perl' book" class="book"></a></li>
<li><img class="book" src="/static/images/profile.png" alt="An image of Curtis Poe, holding some electronic equipment in front of his face."></li>
</ul>
</div>
</div>
<div class="row title">
<!-- Back to top button -->
<span aria-hidden="true"><a href="#top" class="arrow"><button id="scrollToTopButton">↑</button></a></span>
<h1><a name="-title-no-title-found-"></a>Blog Entries by Ovid, page 1</h1>
<hr>
<div class="twelve columns header">
</div>
</div>
<div class="row">
<div class="two columns">
<span id="wasm_search"></span>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
<script type="module">
// Use ES module import syntax to import functionality from the module
// that we have compiled.
//
// Note that the `default` import is an initialization function which
// will "boot" the module and make it ready to use. Currently browsers
// don't support natively imported WebAssembly as an ES module, but
// eventually the manual initialization won't be required!
// import { search, default as init } from './tinysearch_engine.js';
import { search, default as init } from '/static/js/search/tinysearch_engine.js';
window.search = search;
async function run() {
// First up we need to actually load the wasm file, so we use the
// default export to inform it where the wasm file is located on the
// server, and then we wait on the returned promise to wait for the
// wasm to be loaded.
//
// Note that instead of a string here you can also pass in an instance
// of `WebAssembly.Module` which allows you to compile your own module.
// Also note that the promise, when resolved, yields the wasm module's
// exports which is the same as importing the `*_bg` module in other
// modes
await init('/static/js/search/tinysearch_engine_bg.wasm');
}
run();
</script>
<script>
// And afterwards we can use all the functionality defined in wasm.
function doSearch() {
let value = document.getElementById("demo").value;
console.log(`Search query: ${value}`);
const results = search(value, 5);
console.log(`Results: ${results}`);
let ul = document.getElementById("results");
ul.innerHTML = "";
for (i = 0; i < results.length; i++) {
var li = document.createElement("li");
let [title, url] = results[i];
let elemlink = document.createElement('a');
elemlink.innerHTML = title;
elemlink.setAttribute('href', url);
li.appendChild(elemlink);
ul.appendChild(li);
}
}
// https://stackoverflow.com/questions/47879864/how-can-i-check-if-a-browser-supports-webassembly#:~:text=There%20are%20a%20few%20ways,js).
const wasm_supported = (() => {
try {
if (typeof WebAssembly === "object"
&& typeof WebAssembly.instantiate === "function") {
const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
if (module instanceof WebAssembly.Module)
return new WebAssembly.Instance(module) instanceof WebAssembly.Instance;
}
} catch (e) {
}
return false;
})();
if (!wasm_supported) {
// don't even show them the search box if they don't have web assembly
// document.getElementById("wasm_search").innerHTML = "Your browser does not support WebAssembly. Please use a modern browser.";
}
else {
document.getElementById("wasm_search").innerHTML = '<div id="search"><strong>Search</strong><input type="text" id="demo" onkeyup="doSearch()"><ul id="results"></ul><div><hr>';
}
</script>
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="/articles.html">Articles</a> <a href="/article.rss"><img border="0" alt="Subscribe to Articles by Ovid" src="/static/images/rss.png" width="12" height="12"/></a></li>
<li><a href="/blog.html">Blog</a> <a href="/blog.rss"><img border="0" alt="Subscribe to Blogs by Ovid" src="/static/images/rss.png" width="12" height="12"/></a></li>
<li><a href="/videos.html">Talks</a></li>
<li><a href="/hireme.html">Hire Me</a></li>
<li><a href="/wildagile.html">WildAgile</a></li>
<!-- <li><a href="/tau-station.html">Tau Station</a></li> -->
<li><a href="/starmap.html">Starmap</a></li>
<li><a href="/escape.html"><strong>Escape!</strong></a></li>
</ul>
<hr>
<strong>Find me on ...</strong>
<ul>
<li><a href="https://www.linkedin.com/in/curtispoe/">LinkedIn</a></li>
<li><a href="https://github.com/Ovid/">GitHub</a></li>
<li><a href="https://fosstodon.org/@ovid" rel="me">Mastodon</a></li>
<li><a href="https://bsky.app/profile/ovid.bsky.social">Bluesky</a></li>
</ul>
<strong>Tags</strong>
<ul class="cloud" role="navigation" aria-label="Tag cloud for Ovid's site">
<li><a href="/tags/programming.html" data-weight="9">Software</a></li>
<li><a href="/tags/business.html" data-weight="6">Business</a></li>
<li><a href="/tags/oop.html" data-weight="5">OOP</a></li>
<li><a href="/tags/perl.html" data-weight="5">Perl</a></li>
<li><a href="/tags/ai.html" data-weight="4">AI</a></li>
<li><a href="/tags/corinna.html" data-weight="4">Corinna</a></li>
<li><a href="/tags/databases.html" data-weight="3">Databases</a></li>
<li><a href="/tags/personal.html" data-weight="3">Personal</a></li>
<li><a href="/tags/politics.html" data-weight="3">Politics</a></li>
<li><a href="/tags/space.html" data-weight="3">Space</a></li>
<li><a href="/tags/writing.html" data-weight="3">Writing</a></li>
<li><a href="/tags/family.html" data-weight="2">Family</a></li>
<li><a href="/tags/math.html" data-weight="2">Math</a></li>
<li><a href="/tags/science.html" data-weight="2">Science</a></li>
<li><a href="/tags/expat.html" data-weight="1">Moving Abroad</a></li>
</ul>
</div>
<div class="ten columns verticalLine article">
<ul id="articles">
<li><a href="/blog/the-new-terrorism-threat-in-the-usa.html">The New Terrorism Threat in the USA</a></li>
<li><a href="/blog/why-we-dont-read-the-news.html">Why We Don't Read the News</a></li>
<li><a href="/blog/being-a-keynote-speaker.html">Being a Keynote Speaker</a></li>
<li><a href="/blog/a-city-on-mars-review.html">"A City on Mars" Review</a></li>
<li><a href="/blog/marc-andreessen-techno-babble.html">Marc Andreessen: Techno Babble</a></li>
<li><a href="/blog/young-persons-guide-to-moving-abroad.html">Young Person's Guide to Moving Abroad</a></li>
<li><a href="/blog/rocket-physics-101.html">Rocket Physics 101</a></li>
<li><a href="/blog/searching-for-alien-life.html">Searching for Alien Life</a></li>
<li><a href="/blog/the-documentary-that-took-46-years-to-release.html">The Documentary That Took 46 Years to Release</a></li>
<li><a href="/blog/adventures-in-traveling.html">Adventures in Traveling</a></li>
</ul>
<nav class="pagination">
<span class="inactive">«</span>
<a class="active" href="/blog.html">1</a>
<a href="/blog_2.html">2</a>
<a href="/blog_3.html">3</a>
<a href="/blog_4.html">4</a>
<a href="/blog_5.html">5</a>
<a href="/blog_2.html">»</a>
</nav>
<script>
var latestArticle = document.getElementById("articles").firstElementChild.innerHTML;
document.getElementById("articles").firstElementChild.innerHTML = '<em>' + latestArticle + '</em> <span class="new">New!</span>'
</script>
<p>If you'd like top-notch consulting or training, <a
href="mailto:[email protected]">email me</a> and let's discuss
how I can help you. Read my <a href="/hireme.html">hire me</a> page
to learn more about my background.</p>
</div>
</div>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="row">
<div class="two columns">
<p></p>
</div>
<div class="ten columns">
<hr>
<p>Copyright © 2018-2025 by Curtis “Ovid” Poe.</p>
</div>
</div>
<div id="disqus_thread"></div>
<div class="row">
<div class="twelve columns">
</div>
</div>
</div>
</body>
</html>