Compare commits

..

53 Commits

Author SHA1 Message Date
filifa
d0707c4262 make a bit more interesting 2026-01-06 22:34:55 -05:00
filifa
69ecaa3b8b only float if wide enough 2026-01-06 22:34:21 -05:00
filifa
951585a067 expand my bio a bit 2026-01-06 22:33:45 -05:00
filifa
6899eb372b add mcalc as submodule 2025-12-30 19:26:16 -05:00
filifa
70850027f9 add links 2025-12-30 19:01:23 -05:00
filifa
80e39285c6 put gallery in footer 2025-12-30 18:46:54 -05:00
filifa
0d58dc6f90 add copyright notices 2025-12-30 00:50:32 -05:00
filifa
39d173c400 reorganize 2025-12-30 00:35:29 -05:00
filifa
6071dd63dd remove old selectors 2025-12-30 00:24:04 -05:00
filifa
8ca82748ea mess with padding 2025-12-30 00:16:38 -05:00
filifa
a7480df29f add images 2025-12-30 00:01:00 -05:00
filifa
6475fa6b90 use fixed background attachment 2025-12-29 23:43:38 -05:00
filifa
ed0d93db06 add copyright notices 2025-12-29 22:30:43 -05:00
filifa
d32c065d30 redo css 2025-12-29 18:40:15 -05:00
filifa
55e889b71d replace px with rem 2025-12-29 17:05:59 -05:00
filifa
d6222b84a7 remove <p> tags 2025-12-29 17:05:11 -05:00
filifa
d232e3c406 make alt text a bit more descriptive 2025-12-29 14:08:56 -05:00
filifa
279b585718 have cow image disappear if too little space 2025-12-29 00:20:12 -05:00
filifa
aee8283518 add license 2025-12-28 23:48:31 -05:00
filifa
f50118fdca use justify-content instead of place-content 2025-12-28 23:43:17 -05:00
filifa
5c8d1fca05 add some 88x31 badges 2025-12-28 23:41:58 -05:00
filifa
e1ecc896b2 add page for taoup epub 2025-12-27 19:32:04 -05:00
filifa
dbab4ca77b add a tagline 2025-09-03 19:35:37 -04:00
filifa
0a1dca1b8c add favorites 2025-07-27 20:21:31 -04:00
filifa
91df2b8529 add robots.txt 2025-07-27 19:27:45 -04:00
filifa
8cb98a5735 add email 2025-07-27 18:25:35 -04:00
filifa
c1371e7ea4 add project euler profile badge 2025-07-27 16:43:53 -04:00
filifa
22166a001e reduce width of favorite column 2025-07-27 16:08:22 -04:00
filifa
9440d58125 style table 2025-07-27 15:53:05 -04:00
filifa
cc26ae50b7 mark some favorites 2025-07-27 15:14:14 -04:00
filifa
cab44e03d3 add page description 2025-07-27 14:16:15 -04:00
filifa
65fc4af558 add table with links to project euler solutions 2025-07-27 13:57:17 -04:00
filifa
b945307333 remove some unneeded info 2025-04-07 21:49:26 -04:00
filifa
44d6b3e8f5 add disclaimer 2025-04-07 21:49:23 -04:00
filifa
dc3e783e8c use tabs 2025-04-07 20:33:45 -04:00
filifa
509babde8e move styling to external file 2025-04-07 20:33:42 -04:00
filifa
240898309a add link to statsapi docs 2025-04-07 19:08:57 -04:00
filifa
b743ecf326 add generated docs for stats api 2025-04-07 18:23:11 -04:00
filifa
56de474153 replace about image 2024-10-05 22:13:55 -05:00
filifa
13f693d312 create stylesheets for each page 2024-10-05 20:03:42 -05:00
filifa
658b07f27b restructure 2024-10-05 18:57:50 -05:00
filifa
d67b31bc40 create a simpler header for non-main pages 2024-10-05 18:41:27 -05:00
filifa
dbe78c799a remove custom elements 2024-10-05 18:36:39 -05:00
filifa
9e81c37bfd add an attribution for the usb image 2024-09-08 16:17:15 -05:00
filifa
b1c97c9f9f add attributions page 2024-09-08 15:45:09 -05:00
filifa
ffa7805352 update favicon 2024-08-17 14:31:11 -05:00
filifa
70d26b691b replace aside tag with nav 2024-08-16 00:19:53 -05:00
filifa
4ca952604c make header image the height of the header 2024-08-15 21:39:11 -05:00
filifa
032906cf7b set height and width for usb image 2024-08-15 21:16:44 -05:00
filifa
c784eb3d02 use css for header img 2024-08-15 20:16:46 -05:00
filifa
c6edb71ae2 adjust sizes 2024-08-15 20:00:43 -05:00
filifa
2fe5c02028 change header image 2024-08-15 19:54:04 -05:00
filifa
b9971c9ed0 add contents heading 2024-08-15 19:09:20 -05:00
29 changed files with 10039 additions and 210 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
cheatsheet.aux
cheatsheet.log
cheatsheet.pdf
*.swp

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "mcalc"]
path = mcalc
url = https://scm.dairydemon.net/filifa/mcalc

427
LICENSE.txt Normal file
View File

@@ -0,0 +1,427 @@
Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@@ -3,23 +3,96 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="styles.css" />
<link rel="icon" href="favicon.ico" />
<script src="elements.js" type="text/javascript" defer></script>
<link rel="stylesheet" href="/styles/default.css" />
<link rel="stylesheet" href="/styles/about.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>About</title>
</head>
<body>
<dd-header></dd-header>
<header>
<a id="homelink" href="/">dairydemon.net</a>
</header>
<main>
<article>
<h1>About.</h1>
<img id="usbimg" src="usb.jpg" alt="an unsettling comic showing a man
putting a usb dongle into his mouth and moving his face with
the connected mouse" />
<p>I'm in your walls.</p>
<img id="aboutimg" src="/images/loveland-frog.png" alt="an artist's
rendering of the Loveland frog monster" width=944 height=850
/>
<p>I grew up in South Dakota, and early in my working career was a
pharmacist at my father's store. But deep in my heart, my true passion
was politics. Pretty soon I went back to school and earned a bachelor's
from the University of Minnesota, and a master's from LSU, both in
political science.</p>
<p>I then returned to U of M, planning to earn a doctorate and become a
professor, but life had other plans. I married my wife of 43 years and
raised four children. I ended up heavily involved in Minneapolis
politcs and served as mayor for four years. </p>
<p>After this, I was elected to the United States Senate. I was the
leader of several important initiatives, and eventually was tapped to
be my party's vice presidential nominee. We then cruised to victory in
the general election.</p>
<p>However, largely due to the public's disdain for the bloodshed in
Vietnam, my running mate did not seek re-election. I then launched my
own campaign, and was able to secure the party's nomination, but the
war hung around my neck like an albatross. I ended up losing the
election to Richard M. Nixon. Afterwards I returned to the Senate and
served until my death in 1978.</p>
<h2 class="cleared">Favorites.</h2>
<h3>Albums.</h3>
<ul>
<li>Oceanic - ISIS</li>
<li>Panopticon - ISIS</li>
<li>Ants From Up There - Black Country, New Road</li>
<li>Ashes Against the Grain - Agalloch</li>
<li>In Rainbows - Radiohead</li>
<li>Mellon Collie and the Infinite Sadness - Smashing Pumpkins</li>
<li>Flood - Boris</li>
<li>Solace - Jakob</li>
<li>Emergency &amp; I - Dismemberment Plan</li>
<li>The Downward Spiral - Nine Inch Nails</li>
<li>Lift Your Skinny Fists Like Antennas to Heaven - Godspeed You! Black Emperor</li>
<li>Stage Four - Touche Amore</li>
<li>Mirror Reaper - Bell Witch</li>
<li>Sunbather - Deafheaven</li>
<li>Somewhere Along the Highway - Cult of Luna</li>
<li>This Will Destroy You - This Will Destroy You</li>
<li>Siamese Dream - Smashing Pumpkins</li>
</ul>
<h3>Movies.</h3>
<ul>
<li>2001: A Space Odyssey</li>
<li>The Dark Knight</li>
<li>The Big Short</li>
<li>Spider-Man 2</li>
<li>Bill and Ted's Execellent Adventure</li>
<li>Inglourious Basterds</li>
<li>Monty Python and the Holy Grail</li>
<li>Napoleon Dynamite</li>
<li>Clerks</li>
<li>My Cousin Vinny</li>
<li>The Departed</li>
</ul>
<h3>TV shows.</h3>
<ul>
<li>Community</li>
<li>Nathan for You</li>
<li>Veep</li>
<li>Arrested Development</li>
<li>It's Always Sunny in Philadelphia</li>
<li>Workaholics</li>
</ul>
<h2>Contact.</h2>
<p><a href="mailto:filifa.breath652@8alias.com">filifa.breath652@8alias.com</a></p>
</article>
</main>
<dd-footer></dd-footer>
<footer>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</footer>
</body>
</html>

51
attributions.html Normal file
View File

@@ -0,0 +1,51 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="/styles/default.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>Attributions</title>
</head>
<body>
<header>
<a id="homelink" href="/">dairydemon.net</a>
</header>
<main>
<article>
<h1>Attributions.</h1>
<ul>
<li>
"<a href="https://www.flickr.com/photos/genista/45519453/in/photostream/">watching</a>"
by
<a href="https://www.flickr.com/photos/genista/">Kai Schreiber</a>
is licensed under
<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA 2.0</a>
</li>
<li>
"<a href="https://commons.wikimedia.org/wiki/File:Loveland_frog.png">Loveland frog</a>"
by
<a href="https://commons.wikimedia.org/wiki/User:Triangulum">Tim Bertelink</a>
is licensed under
<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
</li>
<li>
<a href="https://archive.org/details/nineinchnails_ghosts_I_IV">Ghosts I-IV</a>
by <a href="https://nin.com">Nine Inch Nails</a>
is licensed under
<a href="https://creativecommons.org/licenses/by-nc-sa/3.0/us/">CC BY-NC-SA 3.0</a>
</li>
<li>
"The Internet 2003" by Barrett Lyon/<a href="https://www.opte.org">The Opte Project</a>
is licensed under
<a href="http://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>
</li>
</ul>
</article>
</main>
<footer>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</footer>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

View File

@@ -1,41 +0,0 @@
class DDHeader extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<header>
<img id="headerimg" src="/dairydemon.jpg" alt="cow with glowing eyes" />
<div id="headermain">
<p><a id="homelink" href="/">dairydemon.net</a></p>
<nav>
<ul>
<li><a href="https://social.dairydemon.net">mastodon</a></li>
<li><a href="https://scm.dairydemon.net">git</a></li>
</ul>
</nav>
</div>
</header>
`;
}
}
class DDFooter extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<footer>
<ul>
<li><a href="/about.html">about</a></li>
</ul>
</footer>
`;
}
}
customElements.define("dd-header", DDHeader);
customElements.define("dd-footer", DDFooter);

691
eulerbooks/eulerbooks.html Normal file
View File

@@ -0,0 +1,691 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="/styles/default.css" />
<link rel="stylesheet" href="/styles/eulerbooks.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>Eulerbooks</title>
</head>
<body>
<header>
<a id="homelink" href="/">dairydemon.net</a>
</header>
<main>
<article>
<img id="euler-badge" src="https://projecteuler.net/profile/filifa.png" alt="a badge showing filifa's up-to-date Project Euler statistics (solved 168 as of 2025-07-27)" width="200px" height="60px"/>
<h1 id="eulerbooks">Eulerbooks</h1>
<p>This is a collection of Jupyter notebooks containing solutions and
discussions for the first 100 <a
href="https://projecteuler.net">Project Euler problems</a> using <a
href="https://www.sagemath.org">SageMath</a>.</p>
<p>My main goal with these notebooks is not simply to provide working
code for solving the problems. Frequently, solutions to these problems
are short, but theyre not always easy to follow without understanding
some important mathematical principles. Therefore, my aim is to provide
insight into the underlying algorithms and mathematical concepts that
make an efficient solution possible. I personally find that these
topics are frequently even more interesting than the problems
themselves, which I see as mainly existing to provide situations to
apply the concepts after learning about them. In short, its more about
the journey, not the destination, so these notebooks mainly exist to
discuss the former.</p>
<h2 id="approach">Approach</h2>
<p>Frequently, either Python or SageMath provide functions and
libraries that make it trivially easy to write a solution. I dont have
a problem with presenting solutions that use these, since for practical
purposes, its better to use whats already available than to reinvent
the wheel. It also tends to lead to code that is easy to read and
understand, which is the best kind of code.</p>
<p>However, when a function already exists that does the heavy lifting,
I also tend to provide my own basic implementation and an explanation
of why it works. This is especially true if a solution or algorithm is
based off of an important mathematical concept that is not especially
intuitive.</p>
<p>When not especially tedious, I like writing up solutions that do not
require programming at all, since these approaches often require
interesting mathematical techniques.</p>
<p>Another thing to note is that I dont prioritize a solutions
performance above all. When a solution is fast enough (using Project
Eulers own “one-minute rule” as a rule of thumb), I instead usually
focus on making the code easy to read. You can basically always
optimize, but there are frequently diminishing returns, and it tends to
negatively impact readability. Once a solution is fast enough to solve
the problem at hand, I only consider optimizing further if the concepts
are reusable.</p>
<h2 id="solutions">Solutions</h2>
<p>Solutions are provided as non-interactive HTML renderings that you
can view directly in your browser. Alternatively, you can download the
Jupyter notebooks to play with them yourself. I've also marked some of
my favorite problems.</p>
<table>
<caption>
Project Euler solutions
</caption>
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">HTML</th>
<th scope="col">Notebook</th>
<th scope="col">Favorite?</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td><a href="html/problem0001.html">View</a></td>
<td><a href="notebooks/problem0001.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">2</th>
<td><a href="html/problem0002.html">View</a></td>
<td><a href="notebooks/problem0002.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">3</th>
<td><a href="html/problem0003.html">View</a></td>
<td><a href="notebooks/problem0003.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">4</th>
<td><a href="html/problem0004.html">View</a></td>
<td><a href="notebooks/problem0004.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">5</th>
<td><a href="html/problem0005.html">View</a></td>
<td><a href="notebooks/problem0005.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">6</th>
<td><a href="html/problem0006.html">View</a></td>
<td><a href="notebooks/problem0006.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">7</th>
<td><a href="html/problem0007.html">View</a></td>
<td><a href="notebooks/problem0007.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">8</th>
<td><a href="html/problem0008.html">View</a></td>
<td><a href="notebooks/problem0008.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">9</th>
<td><a href="html/problem0009.html">View</a></td>
<td><a href="notebooks/problem0009.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">10</th>
<td><a href="html/problem0010.html">View</a></td>
<td><a href="notebooks/problem0010.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">11</th>
<td><a href="html/problem0011.html">View</a></td>
<td><a href="notebooks/problem0011.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">12</th>
<td><a href="html/problem0012.html">View</a></td>
<td><a href="notebooks/problem0012.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">13</th>
<td><a href="html/problem0013.html">View</a></td>
<td><a href="notebooks/problem0013.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">14</th>
<td><a href="html/problem0014.html">View</a></td>
<td><a href="notebooks/problem0014.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">15</th>
<td><a href="html/problem0015.html">View</a></td>
<td><a href="notebooks/problem0015.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">16</th>
<td><a href="html/problem0016.html">View</a></td>
<td><a href="notebooks/problem0016.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">17</th>
<td><a href="html/problem0017.html">View</a></td>
<td><a href="notebooks/problem0017.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">18</th>
<td><a href="html/problem0018.html">View</a></td>
<td><a href="notebooks/problem0018.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">19</th>
<td><a href="html/problem0019.html">View</a></td>
<td><a href="notebooks/problem0019.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">20</th>
<td><a href="html/problem0020.html">View</a></td>
<td><a href="notebooks/problem0020.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">21</th>
<td><a href="html/problem0021.html">View</a></td>
<td><a href="notebooks/problem0021.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">22</th>
<td><a href="html/problem0022.html">View</a></td>
<td><a href="notebooks/problem0022.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">23</th>
<td><a href="html/problem0023.html">View</a></td>
<td><a href="notebooks/problem0023.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">24</th>
<td><a href="html/problem0024.html">View</a></td>
<td><a href="notebooks/problem0024.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">25</th>
<td><a href="html/problem0025.html">View</a></td>
<td><a href="notebooks/problem0025.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">26</th>
<td><a href="html/problem0026.html">View</a></td>
<td><a href="notebooks/problem0026.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">27</th>
<td><a href="html/problem0027.html">View</a></td>
<td><a href="notebooks/problem0027.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">28</th>
<td><a href="html/problem0028.html">View</a></td>
<td><a href="notebooks/problem0028.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">29</th>
<td><a href="html/problem0029.html">View</a></td>
<td><a href="notebooks/problem0029.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">30</th>
<td><a href="html/problem0030.html">View</a></td>
<td><a href="notebooks/problem0030.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">31</th>
<td><a href="html/problem0031.html">View</a></td>
<td><a href="notebooks/problem0031.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">32</th>
<td><a href="html/problem0032.html">View</a></td>
<td><a href="notebooks/problem0032.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">33</th>
<td><a href="html/problem0033.html">View</a></td>
<td><a href="notebooks/problem0033.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">34</th>
<td><a href="html/problem0034.html">View</a></td>
<td><a href="notebooks/problem0034.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">35</th>
<td><a href="html/problem0035.html">View</a></td>
<td><a href="notebooks/problem0035.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">36</th>
<td><a href="html/problem0036.html">View</a></td>
<td><a href="notebooks/problem0036.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">37</th>
<td><a href="html/problem0037.html">View</a></td>
<td><a href="notebooks/problem0037.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">38</th>
<td><a href="html/problem0038.html">View</a></td>
<td><a href="notebooks/problem0038.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">39</th>
<td><a href="html/problem0039.html">View</a></td>
<td><a href="notebooks/problem0039.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">40</th>
<td><a href="html/problem0040.html">View</a></td>
<td><a href="notebooks/problem0040.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">41</th>
<td><a href="html/problem0041.html">View</a></td>
<td><a href="notebooks/problem0041.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">42</th>
<td><a href="html/problem0042.html">View</a></td>
<td><a href="notebooks/problem0042.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">43</th>
<td><a href="html/problem0043.html">View</a></td>
<td><a href="notebooks/problem0043.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">44</th>
<td><a href="html/problem0044.html">View</a></td>
<td><a href="notebooks/problem0044.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">45</th>
<td><a href="html/problem0045.html">View</a></td>
<td><a href="notebooks/problem0045.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">46</th>
<td><a href="html/problem0046.html">View</a></td>
<td><a href="notebooks/problem0046.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">47</th>
<td><a href="html/problem0047.html">View</a></td>
<td><a href="notebooks/problem0047.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">48</th>
<td><a href="html/problem0048.html">View</a></td>
<td><a href="notebooks/problem0048.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">49</th>
<td><a href="html/problem0049.html">View</a></td>
<td><a href="notebooks/problem0049.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">50</th>
<td><a href="html/problem0050.html">View</a></td>
<td><a href="notebooks/problem0050.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">51</th>
<td><a href="html/problem0051.html">View</a></td>
<td><a href="notebooks/problem0051.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">52</th>
<td><a href="html/problem0052.html">View</a></td>
<td><a href="notebooks/problem0052.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">53</th>
<td><a href="html/problem0053.html">View</a></td>
<td><a href="notebooks/problem0053.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">54</th>
<td><a href="html/problem0054.html">View</a></td>
<td><a href="notebooks/problem0054.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">55</th>
<td><a href="html/problem0055.html">View</a></td>
<td><a href="notebooks/problem0055.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">56</th>
<td><a href="html/problem0056.html">View</a></td>
<td><a href="notebooks/problem0056.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">57</th>
<td><a href="html/problem0057.html">View</a></td>
<td><a href="notebooks/problem0057.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">58</th>
<td><a href="html/problem0058.html">View</a></td>
<td><a href="notebooks/problem0058.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">59</th>
<td><a href="html/problem0059.html">View</a></td>
<td><a href="notebooks/problem0059.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">60</th>
<td><a href="html/problem0060.html">View</a></td>
<td><a href="notebooks/problem0060.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">61</th>
<td><a href="html/problem0061.html">View</a></td>
<td><a href="notebooks/problem0061.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">62</th>
<td><a href="html/problem0062.html">View</a></td>
<td><a href="notebooks/problem0062.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">63</th>
<td><a href="html/problem0063.html">View</a></td>
<td><a href="notebooks/problem0063.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">64</th>
<td><a href="html/problem0064.html">View</a></td>
<td><a href="notebooks/problem0064.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">65</th>
<td><a href="html/problem0065.html">View</a></td>
<td><a href="notebooks/problem0065.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">66</th>
<td><a href="html/problem0066.html">View</a></td>
<td><a href="notebooks/problem0066.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">67</th>
<td><a href="html/problem0067.html">View</a></td>
<td><a href="notebooks/problem0067.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">68</th>
<td><a href="html/problem0068.html">View</a></td>
<td><a href="notebooks/problem0068.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">69</th>
<td><a href="html/problem0069.html">View</a></td>
<td><a href="notebooks/problem0069.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">70</th>
<td><a href="html/problem0070.html">View</a></td>
<td><a href="notebooks/problem0070.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">71</th>
<td><a href="html/problem0071.html">View</a></td>
<td><a href="notebooks/problem0071.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">72</th>
<td><a href="html/problem0072.html">View</a></td>
<td><a href="notebooks/problem0072.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">73</th>
<td><a href="html/problem0073.html">View</a></td>
<td><a href="notebooks/problem0073.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">74</th>
<td><a href="html/problem0074.html">View</a></td>
<td><a href="notebooks/problem0074.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">75</th>
<td><a href="html/problem0075.html">View</a></td>
<td><a href="notebooks/problem0075.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">76</th>
<td><a href="html/problem0076.html">View</a></td>
<td><a href="notebooks/problem0076.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">77</th>
<td><a href="html/problem0077.html">View</a></td>
<td><a href="notebooks/problem0077.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">78</th>
<td><a href="html/problem0078.html">View</a></td>
<td><a href="notebooks/problem0078.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">79</th>
<td><a href="html/problem0079.html">View</a></td>
<td><a href="notebooks/problem0079.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">80</th>
<td><a href="html/problem0080.html">View</a></td>
<td><a href="notebooks/problem0080.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">81</th>
<td><a href="html/problem0081.html">View</a></td>
<td><a href="notebooks/problem0081.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">82</th>
<td><a href="html/problem0082.html">View</a></td>
<td><a href="notebooks/problem0082.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">83</th>
<td><a href="html/problem0083.html">View</a></td>
<td><a href="notebooks/problem0083.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">84</th>
<td><a href="html/problem0084.html">View</a></td>
<td><a href="notebooks/problem0084.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">85</th>
<td><a href="html/problem0085.html">View</a></td>
<td><a href="notebooks/problem0085.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">86</th>
<td><a href="html/problem0086.html">View</a></td>
<td><a href="notebooks/problem0086.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">87</th>
<td><a href="html/problem0087.html">View</a></td>
<td><a href="notebooks/problem0087.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">88</th>
<td><a href="html/problem0088.html">View</a></td>
<td><a href="notebooks/problem0088.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">89</th>
<td><a href="html/problem0089.html">View</a></td>
<td><a href="notebooks/problem0089.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">90</th>
<td><a href="html/problem0090.html">View</a></td>
<td><a href="notebooks/problem0090.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">91</th>
<td><a href="html/problem0091.html">View</a></td>
<td><a href="notebooks/problem0091.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">92</th>
<td><a href="html/problem0092.html">View</a></td>
<td><a href="notebooks/problem0092.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">93</th>
<td><a href="html/problem0093.html">View</a></td>
<td><a href="notebooks/problem0093.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">94</th>
<td><a href="html/problem0094.html">View</a></td>
<td><a href="notebooks/problem0094.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">95</th>
<td><a href="html/problem0095.html">View</a></td>
<td><a href="notebooks/problem0095.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">96</th>
<td><a href="html/problem0096.html">View</a></td>
<td><a href="notebooks/problem0096.ipynb">Download</a></td>
<td>Yes</td>
</tr>
<tr>
<th scope="row">97</th>
<td><a href="html/problem0097.html">View</a></td>
<td><a href="notebooks/problem0097.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">98</th>
<td><a href="html/problem0098.html">View</a></td>
<td><a href="notebooks/problem0098.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">99</th>
<td><a href="html/problem0099.html">View</a></td>
<td><a href="notebooks/problem0099.ipynb">Download</a></td>
<td></td>
</tr>
<tr>
<th scope="row">100</th>
<td><a href="html/problem0100.html">View</a></td>
<td><a href="notebooks/problem0100.ipynb">Download</a></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</main>
<footer>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</footer>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/12GhostsII.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
images/24GhostsIII.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

BIN
images/33GhostsIV.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

BIN
images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/loveland-frog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 KiB

BIN
images/opte-small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

BIN
images/watching.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -3,24 +3,74 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="styles.css" />
<link rel="icon" href="favicon.ico" />
<script src="elements.js" type="text/javascript" defer></script>
<link rel="stylesheet" href="/styles/default.css" />
<link rel="stylesheet" href="/styles/index.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>Dairy Demon</title>
</head>
<body>
<dd-header></dd-header>
<header>
<div id="headermain">
<a id="homelink" href="/">dairydemon.net</a>
<p id="tagline">located several wrong turns off the Information Superhighway</p>
</div>
</header>
<main>
<article>
<h1>Hi.</h1>
<p>Welcome to one of the most boring websites on the internet.</p>
<p>For your own safety, please keep your anti-static wrist strap on
while browsing this site.</p>
<p>The only interesting thing here right now is
<a href='mgs/mgs.html'>this Metal Gear Solid trivia game I made.</a>
</p>
<h2>Now what?</h2>
<p>There is <em>some</em> stuff to look at here. Unfortunately, it's
for dweebs. :(</p>
<p>Even worse, it's mostly stuff for <em>computer dweebs</em>. :((</p>
<ul>
<li>If you like trivia, try this <a href='mgs/mgs.html'>Metal Gear Solid trivia game I made</a>.</li>
<li>If you're a computer dweeb, take a look at <a href="https://scm.dairydemon.net">my software forge</a>.</li>
<li>If you're a computer dweeb that also likes baseball, you may find <a href='statsapi/index.html'>generated documentation for MLB's Stats API</a> useful.</li>
<li>If you're some blend of a math and computer dweeb, peruse these <a href='eulerbooks/eulerbooks.html'>Jupyter notebooks for the first 100 Project Euler problems</a>.</li>
<li>If you're a computer dweeb that likes to read about computers, you can download <a href='taoup/taoup.html'>The Art of Unix Programming, converted to an epub</a>.</li>
<li>If you're the kind of math dweeb that finds yourself asking questions like "What's the multiplicative order of 10 modulo 19?", you might like this <a href="mcalc/index.html">modular arithmetic calculator</a>.</li>
</ul>
<p>If you're not any of these flavors of dweeb, or you don't even know what some of these words mean, there may be hope for you yet. Go outside. Feel the sun's rays and the air's breeze. Listen to the birds sing. <a href="https://www.youtube.com/watch?v=j8v_XqFO8Bc">Escape, before it's too late.</a></p>
<ul>
</ul>
</article>
</main>
<dd-footer></dd-footer>
<footer>
<ul>
<li><a href="/about.html">about</a></li>
<li><a href="/attributions.html">attributions</a></li>
</ul>
<div id="badges">
<a href="https://creativecommons.org/licenses/by-sa/4.0/"><img class="badge" alt="CC BY-SA icon" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/CC_BY-SA_icon.svg/120px-CC_BY-SA_icon.svg.png" width="88" height="31" /></a>
<a href="https://www.linux.com/"><img class="badge" alt="Made on GNU/Linux badge" src="https://88x31.kate.pet/madeon_linux.gif" width="88" height="31" /></a>
<a href="https://debian.org"><img class="badge" alt="powered by Debian badge" src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Powered_by_Debian.svg/120px-Powered_by_Debian.svg.png" width="88" height="31" /></a>
<a href="https://www.gnu.org/"><img class="badge" alt="GNU badge" src="https://www.gnu.org/graphics/gnubanner-2.png" width="88" height="31" /></a>
<a href="https://www.vim.org/"><img class="badge" alt="Designed Using Vim badge" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Icon-designed_using_vim.svg/120px-Icon-designed_using_vim.svg.png" width="88" height="31" /></a>
<a href="https://joinmastodon.org/"><img class="badge" alt="Leave Twitter; Join Mastodon badge" src="https://88x31.kate.pet/masto.gif" width="88" height="31" /></a>
<a href="https://en.wikipedia.org/wiki/Main_Page"><img class="badge" alt="Wikipedia badge" src="https://upload.wikimedia.org/wikipedia/commons/a/aa/Wikipedia-button_88x31.png" width="88" height="31" /></a>
<img class="badge" alt="graphic design is my passion badge" src="https://upload.wikimedia.org/wikipedia/commons/8/89/Graphicdesign.png" width="88" height="31" />
</div>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
<div id="gallery">
<img src="/images/watching.jpg" alt="cows with red eyes" width="64" height="64" />
<img src="/images/24GhostsIII.jpg" alt="street lights" width="64" height="64" />
<img src="/images/12GhostsII.jpg" alt="birds" width="64" height="64" />
<img src="/images/opte-small.png" alt="opte" width="64" height="64" />
<img src="/images/33GhostsIV.jpg" alt="birds" width="64" height="64" />
</div>
</footer>
</body>
</html>

1
mcalc Submodule

Submodule mcalc added at 4e5e59f6aa

View File

@@ -3,16 +3,18 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="/styles.css" />
<link rel="icon" href="/favicon.ico" />
<script src="/elements.js" type="text/javascript" defer></script>
<link rel="stylesheet" href="/styles/default.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>Metal Gear Solid Trivia</title>
</head>
<body>
<dd-header></dd-header>
<header>
<a id="homelink" href="/">dairydemon.net</a>
</header>
<main>
<aside>
<nav>
<h2>Contents</h2>
<ol>
<li><a href="#metal-gear-solid-trivia">Top</a></li>
<li><a href="#structure">Structure</a></li>
@@ -27,7 +29,7 @@
<li><a href="#some-more-notes">Some more notes</a></li>
</ol></li>
</ol>
</aside>
</nav>
<article>
<h1 id="metal-gear-solid-trivia">Metal Gear Solid Trivia</h1>
@@ -209,6 +211,8 @@
</ul>
</article>
</main>
<dd-footer></dd-footer>
<footer>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</footer>
</body>
</html>

125
robots.txt Normal file
View File

@@ -0,0 +1,125 @@
# many entries lifted from https://seirdy.one/robots.txt
# several also come from https://radar.cloudflare.com/bots#verified-bots
# and still others from https://github.com/ai-robots-txt/ai.robots.txt
# adtech
User-Agent: peer39_crawler/1.0
Disallow: /
# IP-violation scanners
User-Agent: TurnitinBot
Disallow: /
User-Agent: AcademicBotRTU
Disallow: /
User-Agent: NPBot
Disallow: /
User-Agent: SlySearch
Disallow: /
User-Agent: BLEXBot
Disallow: /
User-agent: CheckMarkNetwork/1.0 (+https://www.checkmarknetwork.com/spider.html)
Disallow: /
User-agent: BrandVerity/1.0
Disallow: /
# Identity data scraper
User-agent: PiplBot
Disallow: /
# Gen-AI data scrapers
User-agent: GPTBot
User-agent: ChatGPT-User
User-agent: OAI-SearchBot
Disallow: /
User-agent: Google-Extended
User-Agent: GoogleOther
User-Agent: Google-CloudVertexBot
User-Agent: Gemini-Deep-Research
User-Agent: GoogleAgent-Mariner
Disallow: /
User-agent: Applebot
User-agent: Applebot-Extended
Disallow: /
User-agent: ClaudeBot
User-agent: Claude-User
User-agent: Claude-Web
Disallow: /
User-Agent: FacebookBot
User-Agent: meta-externalagent
User-Agent: Meta-ExternalAgent
User-Agent: meta-externalfetcher
User-Agent: Meta-ExternalFetcher
Disallow: /
User-agent: Cotoyogi
Disallow: /
User-agent: Webzio-extended
Disallow: /
User-agent: Kangaroo Bot
Disallow: /
User-Agent: GenAI
Disallow: /
User-Agent: SemrushBot-OCOB
User-Agent: SemrushBot-FT
Disallow: /
User-Agent: VelenPublicWebCrawler
Disallow: /
User-Agent: Amazonbot
Disallow: /
User-Agent: PetalBot
Disallow: /
User-Agent: PerplexityBot
User-Agent: Perplexity-User
Disallow: /
User-Agent: DuckAssistBot
Disallow: /
User-Agent: anthropic-ai
Disallow: /
User-Agent: MistralAI-User
User-Agent: MistralAI-User/1.0
Disallow: /
User-Agent: cohere-ai
Disallow: /
User-Agent: Quora-Bot
Disallow: /
User-Agent: Scrapy
Disallow: /

8193
statsapi/index.html Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,144 +0,0 @@
/* general styling */
html {
font-family: monospace;
font-size: large;
background: linear-gradient(to bottom right, turquoise, teal);
min-height: 100%;
}
header,
footer,
article,
aside {
border: 3px black solid;
background: turquoise;
margin: 5px;
box-shadow: 2px 2px 2px;
}
/* header and footer */
header {
display: flex;
align-items: center;
min-width: min-content;
}
footer {
text-align: center;
}
#headerimg {
border-right: 3px solid black;
max-height: 128px;
flex: initial;
}
#headermain {
text-align: center;
flex: auto;
}
#headermain a {
color: blue;
text-decoration: none;
text-transform: uppercase;
}
#headermain a:hover {
text-decoration: underline;
}
#homelink {
font-size: xx-large;
font-weight: bold;
}
nav {
font-size: x-large;
}
nav ul,
footer ul {
padding: 0;
}
nav ul li,
footer ul li {
display: inline;
}
nav ul li + li::before,
footer ul li + li::before {
content: " | ";
}
/* main content */
aside {
padding: 10px;
}
article {
padding: 20px;
text-align: justify;
hyphens: auto;
/* about page is janky without this; see
* https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats#clearing_boxes_wrapped_around_a_float */
display: flow-root;
}
h1, h2, h3, h4, h5, h6 {
text-align: left;
}
ul {
padding-left: 2ch;
}
ol {
padding-left: 3ch;
}
ol ol {
list-style: lower-alpha
}
ol ol ol {
list-style: lower-roman
}
#usbimg {
width: 256px;
max-width: 100%;
margin-right: 10px;
margin-bottom: 10px;
float: left;
}
@media screen and (min-width: 80ch) {
/* to avoid zoom issues, grid layout is only used when mid-width is
* large enough */
body {
display: grid;
place-content: center;
}
main {
/* min-width is set due to zoom issues */
min-width: 100%;
display: flex;
align-items: start;
}
aside {
flex: auto;
position: sticky;
top: 10px;
}
article {
/* width is set for the about page */
width: 80ch;
max-width: 80ch;
flex: auto;
}
}

17
styles/about.css Normal file
View File

@@ -0,0 +1,17 @@
#aboutimg {
width: 256px;
height: auto;
max-width: 100%;
margin-right: 1rem;
margin-bottom: 1rem;
}
@media screen and (min-width: 512px) {
#aboutimg {
float: left;
}
.cleared {
clear: left;
}
}

82
styles/default.css Normal file
View File

@@ -0,0 +1,82 @@
/* general styling */
html {
font-family: monospace;
font-size: large;
background: fixed linear-gradient(to bottom right, turquoise, teal);
}
body {
background: turquoise;
max-width: 80ch;
margin: 0 auto;
}
/* padding */
header,
nav,
article,
footer {
padding-left: 1rem;
padding-right: 1rem;
}
header {
padding-top: 1rem;
}
footer {
padding-bottom: 1rem;
}
/* header and footer */
#homelink {
color: blue;
text-decoration: none;
text-transform: uppercase;
font-size: xx-large;
font-weight: bold;
}
#homelink:hover {
text-decoration: underline;
}
#copyright {
font-size: small;
text-align: center;
}
/* main content */
article {
text-align: justify;
hyphens: auto;
/* about page is janky without this; see
* https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats#clearing_boxes_wrapped_around_a_float */
display: flow-root;
}
h1, h2, h3, h4, h5, h6 {
text-align: left;
}
ul {
padding-left: 2ch;
}
ol {
padding-left: 3ch;
}
ol ol {
list-style: lower-alpha
}
ol ol ol {
list-style: lower-roman
}
@media screen and (min-width: 80ch) {
body {
border: 3px black solid;
}
}

24
styles/eulerbooks.css Normal file
View File

@@ -0,0 +1,24 @@
table {
width: 100%;
text-align: left;
}
caption {
font-weight: bold;
}
tbody > tr:nth-of-type(even) {
background-color: mediumturquoise;
}
tr :nth-child(1) {
text-align: right;
}
tr :nth-child(4) {
width: 20%;
}
#euler-badge {
float: right;
}

52
styles/index.css Normal file
View File

@@ -0,0 +1,52 @@
/* header */
header {
padding: 0;
}
#gallery {
display: flex;
justify-content: center;
flex-flow: wrap;
}
#headerimg {
float: right;
}
#headermain {
padding: 1rem;
}
#tagline {
font-style: italic;
}
/* footer */
footer {
text-align: center;
}
#badges {
display: flex;
flex-flow: wrap;
justify-content: space-around;
}
.badge {
image-rendering: pixelated;
}
nav ul,
footer ul {
padding: 0;
}
nav ul li,
footer ul li {
display: inline;
}
nav ul li + li::before,
footer ul li + li::before {
content: " | ";
}

179
styles/statsapi.css Normal file
View File

@@ -0,0 +1,179 @@
body {
font-family: Trebuchet MS, sans-serif;
font-size: 15px;
color: #444;
margin-right: 24px;
}
aside {
background-color: lightgray;
border: 1px solid black;
color: black;
padding: 8px;
}
h1 {
font-size: 25px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
font-weight: bold;
}
hr {
height: 1px;
border: 0;
color: #ddd;
background-color: #ddd;
}
.app-desc {
clear: both;
margin-left: 20px;
}
.param-name {
width: 100%;
}
.license-info {
margin-left: 20px;
}
.license-url {
margin-left: 20px;
}
.model {
margin: 0 0 0px 20px;
}
.method {
margin-left: 20px;
}
.method-notes {
margin: 10px 0 20px 0;
font-size: 90%;
color: #555;
}
pre {
padding: 10px;
margin-bottom: 2px;
}
.http-method {
text-transform: uppercase;
}
pre.get {
background-color: #0f6ab4;
}
pre.post {
background-color: #10a54a;
}
pre.put {
background-color: #c5862b;
}
pre.delete {
background-color: #a41e22;
}
.huge {
color: #fff;
}
pre.example {
background-color: #f3f3f3;
padding: 10px;
border: 1px solid #ddd;
}
code {
white-space: pre;
}
.nickname {
font-weight: bold;
}
.method-path {
font-size: 1.5em;
background-color: #0f6ab4;
}
.up {
float: right;
}
.parameter {
width: 500px;
}
.param {
width: 500px;
padding: 10px 0 0 20px;
font-weight: bold;
}
.param-desc {
width: 700px;
padding: 0 0 0 20px;
color: #777;
}
.param-type {
font-style: italic;
}
.param-enum-header {
width: 700px;
padding: 0 0 0 60px;
color: #777;
font-weight: bold;
}
.param-enum {
width: 700px;
padding: 0 0 0 80px;
color: #777;
font-style: italic;
}
.field-label {
padding: 0;
margin: 0;
clear: both;
}
.field-items {
padding: 0 0 15px 0;
margin-bottom: 15px;
}
.return-type {
clear: both;
padding-bottom: 10px;
}
.param-header {
font-weight: bold;
}
.method-tags {
text-align: right;
}
.method-tag {
background: none repeat scroll 0% 0% #24A600;
border-radius: 3px;
padding: 2px 10px;
margin: 2px;
color: #FFF;
display: inline-block;
text-decoration: none;
}

41
taoup/taoup.html Normal file
View File

@@ -0,0 +1,41 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="/styles/default.css" />
<link rel="icon" href="/images/favicon.ico" />
<title>The Art of Unix Programming</title>
</head>
<body>
<header>
<a id="homelink" href="/">dairydemon.net</a>
</header>
<main>
<article>
<h1>The Art of Unix Programming</h1>
<p><strong><a href="eric-steven-raymond_the-art-of-unix-programming.epub">Click here to download The Art of Unix Programming in epub format!</a></strong></p>
<p><cite>The Art of Unix Programming</cite> is
<a href="http://www.catb.org/esr/writings/taoup/html/">available online</a>
from the author himself as a set of HTML pages. I was interested in
reading it, but navigating that website on a phone is a bit of a pain,
so I decided to see if I could convert it to a more convenient epub
format.</p>
<p>This was created using the tooling provided by
<a href="https://standardebooks.org">Standard Ebooks</a>.
I also tried to follow their
<a href="https://standardebooks.org/contribute/producing-an-ebook-step-by-step">production guide</a>,
but admittedly got lazy. To be clear, this conversion is certainly not
up to Standard Ebooks' level of quality, but it's nice enough that I
thought I would share it anyway. In particular, the book's numerous
footnotes have been redone to play nicely in an epub.</p>
</article>
</main>
<footer>
<p id="copyright">© 2025 filifa. This page is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</p>
</footer>
</body>
</html>

BIN
usb.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB