-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
executable file
·170 lines (139 loc) · 10.5 KB
/
index.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
<!DOCTYPE html><html xmlns:dc="http://purl.org/dc/terms/"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width"><link rel=stylesheet type="text/css" href="/style.css">
<script type="text/x-mathjax-config"> MathJax.Hub.Config({"HTML-CSS": { availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, preferredFont: "TeX" },
tex2jax: { displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ], processEscapes: true } });
</script><script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML-full"></script></head><body> <div class="header">
<nav><p><a href="#navigation">Menu</a> - <a href="#top">Top</a> - <a href="/">Home</a></nav></div>
<div class="mainarea" id="top">
<h1 id="peteroupcgithubio">peteroupc.github.io</h1>
<p>Welcome to peteroupc.github.io. This page contains more information
on several of my programming projects on GitHub. View <a href="https://github.com/peteroupc/peteroupc.github.io"><strong>this site’s repository</strong></a>
to see this site’s source code.</p>
<p><a id="Articles"></a></p>
<h3 id="articles">Articles</h3>
<p>Open-source articles on randomness, programming, and more. Help me on my <a href="./requests.html"><strong>requests and open questions</strong></a> (and <a href="./bernreq.html"><strong>open questions on the Bernoulli factory problem</strong></a>, and <a href="./requestsother.html"><strong>other open questions on probability</strong></a>).</p>
<p><strong>Random and Pseudorandom Number Generators</strong></p>
<ul>
<li><a href="./random.html"><strong>Random Number Generator Recommendations for Applications</strong></a></li>
<li><a href="./randextract.html"><strong>A Note on Randomness Extraction</strong></a></li>
<li><a href="./randomtest.html"><strong>Testing PRNGs for High-Quality Randomness</strong></a></li>
<li><a href="./hqprng.html"><strong>Examples of High-Quality PRNGs</strong></a></li>
<li><a href="./jump.html"><strong>Notes on Jumping PRNGs Ahead</strong></a></li>
<li><a href="./bdshuffle.html"><strong>A Note on the Bays–Durham Shuffle</strong></a></li>
</ul>
<p><strong>Random Variate Generation, Randomization, and Exact Sampling</strong></p>
<ul>
<li><a href="./randomfunc.html"><strong>Randomization and Sampling Methods</strong></a></li>
<li><a href="./randomnotes.html"><strong>More Random Sampling Methods</strong></a></li>
<li><a href="./exporand.html"><strong>Partially-Sampled Random Numbers for Accurate Sampling of Continuous Distributions</strong></a></li>
<li><a href="./bernoulli.html"><strong>Bernoulli Factory Algorithms</strong></a></li>
<li><a href="./bernsupp.html"><strong>Supplemental Notes for Bernoulli Factory Algorithms</strong></a></li>
<li><a href="./randmisc.html"><strong>Miscellaneous Observations on Randomization</strong></a></li>
<li><a href="./estimation.html"><strong>Randomized Estimation Algorithms</strong></a></li>
<li><a href="./sampling.html"><strong>The Sampling Problem</strong></a></li>
<li>More:
<ul>
<li><a href="./randomcommon.html"><strong>The Most Common Topics Involving Randomization</strong></a></li>
<li><a href="./autodist.html"><strong>Code Generator for Discrete Distributions</strong></a></li>
</ul>
</li>
</ul>
<p>In the articles above, I put an emphasis on random variate generation that:</p>
<ul>
<li>Samples exactly from a discrete distribution (such as Bernoulli factory algorithms).</li>
<li>Samples from a continuous distribution with arbitrary precision and a user-specified accuracy.</li>
<li>Avoids floating-point arithmetic.</li>
<li>Avoids calculating transcendental functions when possible.</li>
</ul>
<p><strong>Colors, Graphics, and Music</strong></p>
<ul>
<li><a href="./colorgen.html"><strong>Color Topics for Programmers</strong></a></li>
<li><a href="./suppcolor.html"><strong>Supplemental Color Topics for Programmers</strong></a></li>
<li><a href="https://peteroupc.github.io/svg.html"><strong>Essentials of SVG</strong></a></li>
<li><a href="./graphics.html"><strong>Graphics and Music Challenges for Classic Computer Applications</strong></a>
<ul>
<li>Three challenges: retro graphics engine, public-domain music synthesis, and <a href="https://github.com/peteroupc/classic-wallpaper"><strong>classic tiled wallpapers</strong></a>.</li>
</ul>
</li>
</ul>
<p><strong>Other Articles on Mathematics and Programming</strong></p>
<ul>
<li><a href="./bernapprox.html"><strong>Approximations in Bernstein Form</strong></a>
<ul>
<li>Used above all in the supplemental notes for Bernoulli factories.</li>
</ul>
</li>
<li><a href="./hash.html"><strong>A Note on Hash Functions</strong></a></li>
<li><a href="./pseudocode.html"><strong>Pseudocode Conventions</strong></a></li>
<li><a href="https://peteroupc.github.io/complexity.html"><strong>On a claim of computational complexity</strong></a></li>
<li><a href="./filenames.html"><strong>File Name Support in Applications</strong></a></li>
</ul>
<p><strong>Other Articles</strong></p>
<ul>
<li><a href="https://peteroupc.github.io/insmat.html"><strong>Suggestions for Instructional Materials</strong></a></li>
<li><a href="https://peteroupc.github.io/usage.html"><strong>Overused and Discouraged Words and Phrases</strong></a></li>
<li><a href="./newatlas.html"><strong>A Wish for a New Atlas</strong></a></li>
</ul>
<p><a id="PDF_Versions"></a></p>
<h4 id="pdf-versions">PDF Versions</h4>
<ul>
<li><a href="./pseudocode.pdf"><strong>Pseudocode Conventions</strong></a></li>
<li><a href="./random.pdf"><strong>Random Number Generator Recommendations for Applications</strong></a></li>
<li><a href="./randomfunc.pdf"><strong>Randomization and Sampling Methods</strong></a></li>
<li><a href="./randomnotes.pdf"><strong>More Random Sampling Methods</strong></a></li>
<li><a href="./randomcommon.pdf"><strong>The Most Common Topics Involving Randomization</strong></a></li>
<li><a href="./exporand.pdf"><strong>Partially-Sampled Random Numbers for Accurate Sampling of Continuous Distributions</strong></a></li>
<li><a href="./bernoulli.pdf"><strong>Bernoulli Factory Algorithms</strong></a></li>
<li><a href="./randomtest.pdf"><strong>Testing PRNGs for High-Quality Randomness</strong></a></li>
<li><a href="https://peteroupc.github.io/randmisc.pdf"><strong>Miscellaneous Observations on Randomization</strong></a></li>
<li><a href="./hqprng.pdf"><strong>Examples of High-Quality PRNGs</strong></a></li>
<li><a href="./jump.pdf"><strong>Notes on Jumping PRNGs Ahead</strong></a></li>
<li><a href="./hash.pdf"><strong>A Note on Hash Functions</strong></a></li>
<li><a href="./randextract.pdf"><strong>A Note on Randomness Extraction</strong></a></li>
<li><a href="./bdshuffle.pdf"><strong>A Note on the Bays–Durham Shuffle</strong></a></li>
<li><a href="./filenames.pdf"><strong>File Name Support in Applications</strong></a></li>
<li><a href="./colorgen.pdf"><strong>Color Topics for Programmers</strong></a></li>
<li><a href="./suppcolor.pdf"><strong>Supplemental Color Topics for Programmers</strong></a></li>
<li><a href="https://peteroupc.github.io/svg.pdf"><strong>Essentials of SVG</strong></a></li>
</ul>
<p><a id="HTML_JavaScript"></a></p>
<h3 id="htmljavascript">HTML/JavaScript</h3>
<ul>
<li><a href="./html3dutil"><strong>html3dutil</strong></a>: A public domain JavaScript library for easing the development of HTML 3D applications.</li>
<li><a href="./html-gears"><strong>html-gears</strong></a>: An HTML5 3D implementation of the public domain sample, gears.c</li>
<li><a href="./canvasback"><strong>canvasback</strong></a>: Displays an HTML canvas-based background that draws boxes in about the same color as the background color</li>
<li><a href="./colorpicker"><strong>colorpicker</strong></a>: A color picker in JavaScript. Supports adapters for integrating other popular color pickers, and can use native color selection controls. In the public domain.</li>
<li><a href="./IdnaJS"><strong>IdnaJS</strong></a>: A JavaScript implementation of IDNA 2008 and Unicode normalization</li>
<li><a href="./BigNumber"><strong>BigNumber</strong></a>: An arbitrary-precision arithmetic library for JavaScript</li>
</ul>
<p><a id="C_sharp"></a></p>
<h3 id="c-sharp">C-sharp</h3>
<ul>
<li><a href="./Fuzzer"><strong>Fuzzer</strong></a>: This is a program that generates slightly altered versions
of data files, for testing algorithms that parse file formats.</li>
<li><a href="./colorvalidator"><strong>colorvalidator</strong></a>: This is a library for parsing and generating HTML and CSS colors.</li>
<li><a href="./petero-csharp"><strong>petero-csharp</strong></a>: Library containing utility methods and classes.</li>
<li><a href="./CBOR"><strong>CBOR</strong></a>: A C# implementation of Concise Binary Object Representation (RFC 7049).</li>
<li><a href="./Enriched"><strong>Enriched</strong></a>: C# program that converts text/enriched files to HTML</li>
<li><a href="./MailLib"><strong>MailLib</strong></a>: A portable library in C# and Java for parsing Internet mail messages</li>
<li><a href="./Encoding"><strong>Encoding</strong></a>: A portable library in C# and Java for character encodings</li>
<li><a href="./TurtleParser"><strong>TurtleParser</strong></a>: A portable library in C# and Java for parsing the Turtle RDF format</li>
<li><a href="./Calculator"><strong>Calculator</strong></a>: A calculator for .NET, intended to demonstrate
two features of the <a href="./CBOR"><strong>CBOR library</strong></a>: its arbitrary-precision arithmetic capabilities, and its data serialization possibilities.</li>
</ul>
<p><a id="Python"></a></p>
<h3 id="python">Python</h3>
<ul>
<li><a href="https://github.com/peteroupc/peteroupc.github.io/blob/master/desktopwallpaper.py"><strong>desktopwallpaper.py</strong></a>: Python module to aid in generating desktop wallpapers and button-like graphics.</li>
</ul>
<h2 id="about">About</h2>
<p>Written by <a href="https://github.com/peteroupc/"><strong>Peter O.</strong></a>.</p>
</div><nav id="navigation"><ul>
<li><a href="/">Back to start site.</a>
<li><a href="https://github.com/peteroupc/peteroupc.github.io">This site's repository (source code)</a>
<li><a href="https://github.com/peteroupc/peteroupc.github.io/issues">Post an issue or comment</a></ul>
<div class="noprint">
<p>
<a href="//twitter.com/intent/tweet">Share via Twitter</a>, <a href="//www.facebook.com/sharer/sharer.php" id="sharer">Share via Facebook</a>
</p>
</div>
</nav></body></html>