diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-16 22:29:35 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-16 22:29:35 +0800 |
| commit | 301adf7f088e4bc75d37ea927c11fe2e4a455d8f (patch) | |
| tree | b7d30a48e4869b838cd10a4e4a9b10c2374b2a5a | |
| parent | 1517a5cdf8a1a3d57cadc3f363931ace5af06438 (diff) | |
| download | www-301adf7f088e4bc75d37ea927c11fe2e4a455d8f.tar.gz | |
Remove matrix style.
| -rw-r--r-- | _config.yml | 2 | ||||
| -rw-r--r-- | _includes/foot.html | 2 | ||||
| -rw-r--r-- | _layouts/post.html | 1 | ||||
| -rw-r--r-- | _log/site-search.md | 25 | ||||
| -rw-r--r-- | about.html | 6 | ||||
| -rw-r--r-- | assets/css/main.css | 68 | ||||
| -rw-r--r-- | assets/css/skeleton.css | 2 | ||||
| -rw-r--r-- | assets/fonts/AveriaSerif-Light.ttf | bin | 0 -> 77504 bytes | |||
| -rw-r--r-- | assets/fonts/Nouveau_IBM.ttf | bin | 69540 -> 0 bytes | |||
| -rw-r--r-- | assets/lic/FONTLOG.txt | 63 | ||||
| -rw-r--r-- | assets/lic/averia.txt (renamed from assets/lic/im_fell_english_font.txt) | 187 | ||||
| -rw-r--r-- | index.html | 12 |
12 files changed, 185 insertions, 183 deletions
diff --git a/_config.yml b/_config.yml index 1ee0de6..cbf8b18 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ title: ASCIIMX -author: W. D. Sadeep Madurange +author: Sadeep M. Wickramage Don permalink: pretty diff --git a/_includes/foot.html b/_includes/foot.html index a1fdfcf..6e01dc2 100644 --- a/_includes/foot.html +++ b/_includes/foot.html @@ -1,7 +1,7 @@ <div class="footer"> <div class="container"> <div class="twelve columns right container-2"> - <p id="footer-text">© {{ site.title }} - {{ site.time | date:"%Y"}}</p> + <p id="footer-text">© {{ site.author }} - {{ site.time | date:"%Y"}}</p> </div> </div> </div> diff --git a/_layouts/post.html b/_layouts/post.html index dd7ef06..b6c79a4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -12,7 +12,6 @@ <h5 class="center">{{ page.date | date_to_long_string | upcase }}</h5> <br> <div class="twocol justify">{{ content }}</div> - <p class="post-author right">by {{ site.author }}</p> </div> </div> </main> diff --git a/_log/site-search.md b/_log/site-search.md index 0ff97fc..df5a7ab 100644 --- a/_log/site-search.md +++ b/_log/site-search.md @@ -9,9 +9,9 @@ Needed search for site. Requirements: matches substrings, case-insensitive, fast, secure. No JavaScript. -Architecture: browser → httpd → slowcgi → Perl CGI script. +Architecture: browser → httpd → slowcgi → Perl script. -SA index implemented with three files: corpus.bin, sa.bin, file_map.dat. Index +Implemented SA index with three files: corpus.bin, sa.bin, file_map.dat. Index built with site: ``` @@ -40,8 +40,10 @@ my @sa = 0 .. (length($corpus) - 1); Sort is the bottleneck. Time complexity: O(L⋅N log N). Fast path caps L at 64 bytes (length of a cache line) → O(N log N). -Search: Textbook range query with twin binary searches. Uses fixed-width -offsets for random access: +32-bit offsets limits index size to 4GB (243k articles). + +Search: Textbook range query with twin binary searches. Fixed-width offsets +enable random access: ``` seek($fh_sa, $mid * 4, 0); @@ -80,17 +82,18 @@ regex search: - Peak RAM (SA): 12504 KB - Peak RAM (Regex): 12804 KB - Search (SA): 0.0161 s - - Search (Regex): 0.9120 s + - Search (Regex): 0.9120 S -Security: httpd, slowcgi, Perl in base system--no dependencies. File system -permissions govern access. Runs in chroot. +Security: httpd, slowcgi, Perl are in the base system--no dependencies. File +system permissions govern access. Runs in chroot. Resource exhaustion and XSS attacks are inherent. Lock-file semaphores limit -concurrent searches. Query length (64B) and result set (20) capped. All output -is HTML-escaped to prevent XSS. +concurrent searches. Query length (64B) and result set (20) are capped. All +output is HTML-escaped to prevent XSS. + +Warranty: 10,000 / 12 → 833 years. -Warranty: 10,000 / 12 → 833 years. Next release: inverted index, year of our -Lord 2859. +Next release: inverted index; Anno Domini 2859. Commit: <a href="https://git.asciimx.com/www/commit/?h=term&id=6da102d6e0494a3eac3f05fa3b2cdcc25ba2754e" @@ -18,7 +18,7 @@ title: About <h4>Navigation</h4> <ul> - <li>hme: Latest articles.</li> + <li>hme: Home page.</li> <li>poc: Projects.</li> <li>abt: About site.</li> <li>lup: Article lookup.</li> @@ -28,7 +28,9 @@ title: About <h4>Site credits</h4> <p> - Font: Arto Hatanpää's Nouveau IBM. + Font: Dan Sayers' <a href="/assets/lic/FONTLOG.txt" class="external" + target="_blank" rel="noopener noreferrer">Averia Serif</a> (<a + href="/assets/lic/averia.txt" target="_blank">license</a>). </p> <p> diff --git a/assets/css/main.css b/assets/css/main.css index 6a65a21..d3355d9 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,13 +1,12 @@ @font-face { - font-family: 'Nouveau IBM'; - src: url('/assets/fonts/Nouveau_IBM.ttf') format('truetype'); + font-family: 'Averia Serif'; + src: url('/assets/fonts/AveriaSerif-Light.ttf') format('truetype'); } :root { - --main-bg-color: #202020; - --main-fg-color: #00B140; - --font-family: 'Nouveau IBM', monospace; - --text-shadow: 0 0 1px var(--main-fg-color), 0 0 6px var(--main-fg-color); + --main-bg-color: #ffffff; + --main-fg-color: #000000; + --font-family: 'Averia Serif', serif; } *, @@ -26,18 +25,15 @@ body { font-family: var(--font-family); background-color: var(--main-bg-color); background-size: 2px 2px; - /* text-shadow: var(--text-shadow); */ } ::selection { color: var(--main-bg-color); background: var(--main-fg-color); - /* text-shadow: var(--text-shadow); */ } ::-moz-selection { color: var(--main-bg-color); background: var(--main-fg-color); - /* text-shadow: var(--text-shadow); */ } .footer { @@ -46,7 +42,7 @@ body { width: 100%; padding-top: 10px; padding-bottom: 10px; - color: var(--main-fg-color); + color: rgba(0, 0, 0, 0.6); } a { @@ -124,10 +120,6 @@ td { padding-top: 20px; } -.cursor::after { - height: 2.2rem; -} - .center { text-align: center; } @@ -207,62 +199,15 @@ pre::-webkit-scrollbar { display: none; } -code { - line-height: 2.4rem; - font-family: var(--font-family); -} - input { font-family: var(--font-family); } -.typewriter-1 { - overflow: hidden; - white-space: nowrap; - margin: 0 auto; - animation: typing 3s steps(40, end); -} - -.typewriter-2 { - overflow: hidden; - visibility: hidden; - white-space: nowrap; - margin: 0 auto; - animation: typing 3s steps(40, end); - animation-delay: 2.5s; - animation-fill-mode: forwards; -} - -@keyframes typing { - 0% { width: 0; visibility: visible; } - 100% { width: 100%; visibility: visible; } -} - -.typewriter-2::after { - filter: brightness(0.9); - background-color: var(--main-fg-color); - /* box-shadow: var(--text-shadow); */ - content: ''; - display: inline-block; - width: 0.9rem; - height: 1.3rem; - margin-left: -6px; - animation: cursor-blink 1s steps(1, start) infinite; - animation-delay: 3.5s; -} - -@keyframes cursor-blink { - 0% { visibility: visible; } - 50% { visibility: hidden; } - 100% { visibility: visible; } -} - #search-box { border-radius: 0; border-color: var(--main-fg-color); color: var(--main-fg-color) !important; background-color: var(--main-bg-color); - /* text-shadow: 0 0 1px var(--main-fg-color), 0 0 6px var(--main-fg-color); */ } #search-btn { @@ -270,5 +215,4 @@ input { border-color: var(--main-fg-color); color: var(--main-fg-color); background-color: var(--main-bg-color); - /* text-shadow: 0 0 1px var(--main-fg-color), 0 0 6px var(--main-fg-color); */ } diff --git a/assets/css/skeleton.css b/assets/css/skeleton.css index a7170dd..bf123b5 100644 --- a/assets/css/skeleton.css +++ b/assets/css/skeleton.css @@ -287,7 +287,7 @@ ol { code { padding: .2rem .5rem; margin: 0 .2rem; - font-size: 95%; + font-size: 90%; white-space: nowrap; border-radius: 4px; } diff --git a/assets/fonts/AveriaSerif-Light.ttf b/assets/fonts/AveriaSerif-Light.ttf Binary files differnew file mode 100644 index 0000000..5a58a05 --- /dev/null +++ b/assets/fonts/AveriaSerif-Light.ttf diff --git a/assets/fonts/Nouveau_IBM.ttf b/assets/fonts/Nouveau_IBM.ttf Binary files differdeleted file mode 100644 index 5e621f0..0000000 --- a/assets/fonts/Nouveau_IBM.ttf +++ /dev/null diff --git a/assets/lic/FONTLOG.txt b/assets/lic/FONTLOG.txt new file mode 100644 index 0000000..26df546 --- /dev/null +++ b/assets/lic/FONTLOG.txt @@ -0,0 +1,63 @@ +FONTLOG +Avería Serif font family +======================== + + +This file provides detailed information on the Avería Serif family of fonts. +This information should be distributed along with the Avería Serif fonts and +any derivative works. + + +Basic Font Information +---------------------- + +Avería ("breakdown" or "mechanical damage" in Spanish - related to the root +of the English word "average") is a Unicode typeface family created from the +average of all fonts on the computer of the creator, Dan Sayers. The process +is described at http://iotic.com/averia/. All metrics are the result of an +averaging process. The included glyphs are those that existed in a majority +of the source fonts - which are the following: + +Range Description +U+0020-U+007E Basic Latin +U+00A0-U+00FF Latin-1 Supplement + +And some glyphs from the following: + +Range Description +U+0100-U+017F Latin Extended-A +U+0180-U+021F Latin Extended-B +U+02B0-U+02FF Spacing Modifier Letters +U+0370-U+03D5 Greek +U+2000-U+2122 General Punctuation +U+2200-U+25CS Mathematical Operators + +Avería Serif exists in Regular, Bold, Italic, Bold Italic, Light and Light +Italic styles - based on the serif subset of the 725 fonts on the creator's +computer. + + +ChangeLog +--------- +(This should list both major and minor changes, most recent first.) + +2 Nov 2011 (Dan Sayers) Avería Serif version 1.00 +- First public release +- No hinting is included in this version. + + +Acknowledgements +---------------- +(Here is where contributors can be acknowledged. If you make modifications +be sure to add your name (N), email (E), web-address (W) and description +(D). This list is sorted by last name in alphabetical order.) + +N: Dan Sayers +E: i@iotic.com +W: http://iotic.com/ +D: Original Programmer and Creator + +For more information please visit the Avería page on the iotic website: +http://iotic.com/averia/ + +Or send an email to <i AT iotic DOT com>
\ No newline at end of file diff --git a/assets/lic/im_fell_english_font.txt b/assets/lic/averia.txt index 2318e86..5b2c66f 100644 --- a/assets/lic/im_fell_english_font.txt +++ b/assets/lic/averia.txt @@ -1,93 +1,94 @@ -Copyright (c) 2010, Igino Marini (mail@iginomarini.com)
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-https://openfontlicense.org
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded,
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.
+Copyright (c) 2011, Dan Sayers (i@iotic.com), +with Reserved Font Name Avería Serif. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. @@ -5,18 +5,8 @@ title: ASCIIMX <div class="container"> - <h2 class="center">{{ site.title | uppercase }}</h2> - <h5 class="center typewriter-1"> - $ cu -l /dev/asciimx - </h5> - <h5 class="center typewriter-2"> - <span>UNIX / EMBED / -O3 </span> - <span class="cursor"></span> - </h5> + <h2 class="center">UNIX / EMBED / -O3</h2> - <br> - <br> - {% include latest.html limit="50" %} </div> |
