Difference between revisions of "Main Page"
From Dirks Personal WiKi
DirkMittler (talk | contribs) m |
DirkMittler (talk | contribs) m |
||
(79 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''This is a personal MediaWiki...''' |
|
⚫ | |||
⚫ | |||
+ | |||
⚫ | |||
⚫ | |||
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] |
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] |
||
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] |
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] |
||
Line 10: | Line 11: | ||
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] |
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki] |
||
+ | == Some Experimentation with MediaWiKi == |
||
− | <span id="Eq 1">Eq 1</span> {{spaces|2|em}} <math>y=\pm\sqrt{1-x^{2}}</math> {{spaces|4|em}} (Equation for circle.) |
||
− | |||
− | <tab name="Drop-Down Menu" dropdown> |
||
− | * <nowiki>[[Plastic Widgets]]</nowiki> |
||
− | * <nowiki>[[Framistans]]</nowiki> |
||
− | * <nowiki>[[Pet Rocks]]</nowiki> |
||
− | * [[#Eq 1|Eq 1]] |
||
− | </tab> |
||
− | |||
− | The following is a hypothetical exercise... |
||
− | |||
− | [[File:Wikipedesketch.png|thumb|left|alt=A cartoon centipede reads books and types on a laptop.|The Wikipede edits ''[[wikipedia:Myriapoda]]''.]] This example is supposed to show how thumbnails can be made to display by default, as well as how inter-WiKi links work. |
||
− | |||
− | <div style="clear: both"></div> |
||
− | |||
− | ---- |
||
− | |||
− | The following is some code which has been suggested, to compute the reciprocal square root using a trick. It may not be helpful, because this code requires that the language implementation can already convert a floating-point number into its 64-bit representation. |
||
− | |||
− | <syntaxhighlighter lang="cpp"> |
||
− | /* Fast Inverse Square Root, using Matthew Robertson's |
||
− | * Magic Number for double-precision floating-point. |
||
− | * |
||
− | * Implemented August 2, 2024 |
||
− | * by Dirk Mittler |
||
− | * |
||
− | */ |
||
− | |||
− | #include <cstring> |
||
− | #include <cstdint> |
||
− | |||
− | typedef double float64_t; |
||
+ | : [[First_Page|The Site's First Presentable WiKi Page]] |
||
− | float64_t Q_rsqrt(const float64_t number) noexcept { |
||
− | const float64_t threehalfs = 1.5; |
||
− | const float64_t halfnum = 0.5 * number; |
||
− | uint64_t temp; |
||
− | float64_t y; |
||
− | static_assert(sizeof(uint64_t) == sizeof(number), |
||
− | "`double` has a weird size."); |
||
− | memcpy(&temp, &number, sizeof(float64_t)); |
||
− | // temp = 0x5f3759df - (temp >> 1); // Original 32-bit fr Quake III |
||
− | temp = 0x5FE6EB50C7B537A9 - (temp >> 1); // Matthew Robertson's |
||
− | memcpy(&y, &temp, sizeof(float64_t)); |
||
− | y *= (threehalfs - (halfnum * y * y)); |
||
− | y *= (threehalfs - (halfnum * y * y)); |
||
− | y *= (threehalfs - (halfnum * y * y)); |
||
− | return y * (threehalfs - (halfnum * y * y)); |
||
− | } |
||
+ | The first page on this site started as an addendum to the Getting Started page that the MediaWiKi software shipped with. Now that that page is fleshed out, it has also been converted into a standalone page. |
||
− | </syntaxhighlighter> |
Latest revision as of 16:18, 2 September 2024
This is a personal MediaWiki...
Getting started
The User's Guide will explain how to use the WiKi software, to Dirk (the owner of this Web-site).
- Configuration settings list
- MediaWiki FAQ
- MediaWiki release mailing list
- Localise MediaWiki for your language
- Learn how to combat spam on your wiki
Some Experimentation with MediaWiKi
The first page on this site started as an addendum to the Getting Started page that the MediaWiKi software shipped with. Now that that page is fleshed out, it has also been converted into a standalone page.