diff --git a/Wiki-OcttKB/tiddlers/Normal/OcttKB/_WIP.tid b/Wiki-OcttKB/tiddlers/Normal/OcttKB/_WIP.tid index b28abbd1..541efcf8 100644 --- a/Wiki-OcttKB/tiddlers/Normal/OcttKB/_WIP.tid +++ b/Wiki-OcttKB/tiddlers/Normal/OcttKB/_WIP.tid @@ -1,13 +1,13 @@ created: 20230126105640952 creator: Octt -modified: 20231105154317265 +modified: 20231105214741288 modifier: Octt tags: OcttKB WIP title: OcttKB/WIP !!! ''WIP/TODO'' -//Note: this section is by itself in an heavy WIP state... I will never escape from this 😱️// +//Note: this section is by itself in an heavy WIP state..., and currently it's really outdated... I will never escape from this 😱️// * Better footnotes (should be clickable) * Fix StaticRiver template, broken after introducing breadcrumbs ~~(showing duplicate title, and also broken elements)~~ diff --git a/Wiki-OcttKB/tiddlers/Normal/_C Language.tid b/Wiki-OcttKB/tiddlers/Normal/_C Language.tid index 15dc9b83..f0ff4dd7 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_C Language.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_C Language.tid @@ -1,6 +1,6 @@ created: 20231029134919585 creator: Octt -modified: 20231105110313014 +modified: 20231105222349930 modifier: Octt tags: title: C Language @@ -14,5 +14,7 @@ title: C Language * [[strcpy vs. memcpy|https://stackoverflow.com/questions/2898364/strcpy-vs-memcpy]] --- //strcpy stops when it encounters a NUL ('\0') character, memcpy does not//, aka as the names suggest often strcpy is perfect for strings while for generic data memcpy could be needed. * [[ISO C90 forbids mixed declarations and code in C|https://stackoverflow.com/questions/13291353/iso-c90-forbids-mixed-declarations-and-code-in-c]] --- old C standards required that new variables can be declared only before any other actual instruction in a scoped block, e.g. only at the top of a function + * [[Creating empty function macros|https://stackoverflow.com/questions/9187628/empty-function-macros]] --- only safe way is `#define SomeFunction(arg) ((void)0)` ** [[C macros, what's the meaning of ((void)0)?|https://stackoverflow.com/questions/61157541/c-macros-whats-the-meaning-of-void0]] +* [[How to use "else if" with the preprocessor #ifdef?|https://stackoverflow.com/questions/68696585/how-to-use-else-if-with-the-preprocessor-ifdef]] --- the only widely-supported way is: `#if defined(X)`...`#elif defined(Y)`...`#else`...`#endif` diff --git a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid index e5da7924..1492e059 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid @@ -1,6 +1,6 @@ created: 20221110145611678 creator: Octt -modified: 20231103214720248 +modified: 20231105221457293 modifier: Octt tags: Development $:/i18n:en Web title: JavaScript @@ -22,6 +22,9 @@ title: JavaScript * [[Does JavaScript have a method like "range()" to generate a range within the supplied bounds?|https://stackoverflow.com/questions/3895478/does-javascript-have-a-method-like-range-to-generate-a-range-within-the-supp]] --- `[...Array(5).keys()]` * [[Array.prototype.splice()|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice]] --- //changes the contents of an array by removing or replacing existing elements and/or adding new elements in place// * [[Listen for triple clicks in JavaScript|https://stackoverflow.com/questions/6480060/how-do-i-listen-for-triple-clicks-in-javascript#6480113]] +* [[XMLHttpRequest|https://www.w3schools.com/xml/xml_http.asp]] +** <> +* [[Fastest method to escape HTML tags as HTML entities?|https://stackoverflow.com/questions/5499078/fastest-method-to-escape-html-tags-as-html-entities]] --- in the browser, `(html) => { var escape = document.createElement('textarea'); escape.textContent = html; return escape.innerHTML; }` !!! ''Tools'' diff --git a/Wiki-OcttKB/tiddlers/Normal/_Keyboard.tid b/Wiki-OcttKB/tiddlers/Normal/_Keyboard.tid index a9741d47..679a4687 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Keyboard.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Keyboard.tid @@ -1,7 +1,9 @@ created: 20230725112836922 creator: Octt -modified: 20231105114026409 +icon: ⌨️ +modified: 20231105214847933 modifier: Octt +page-cover: https://source.unsplash.com/random?keyboard tags: title: Keyboard diff --git a/Wiki-OcttKB/tiddlers/Normal/_Language.tid b/Wiki-OcttKB/tiddlers/Normal/_Language.tid index 9acf127f..7fc2785e 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Language.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Language.tid @@ -1,6 +1,6 @@ created: 20230216193546517 creator: Octt -modified: 20230217094958892 +modified: 20231105202624812 modifier: Octt tags: title: Language @@ -20,4 +20,5 @@ title: Language * [[Il gender e la traduzione di videogiochi — Outcast|https://www.outcast.it/home/il-gender-e-la-traduzione-di-videogiochi]] - <> ; Tools -: Machine translation: [ext[//DeepL.com]] | [ext[//Translate.Google.com]] +: Machine translation: <> | <> +:* <> <<[# "Scraper Git" "https://github.com/thedaviddelta/lingva-scraper">> diff --git a/Wiki-OcttKB/tiddlers/Normal/_Octt.tid b/Wiki-OcttKB/tiddlers/Normal/_Octt.tid index 0e8357d5..8c5e535a 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Octt.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Octt.tid @@ -2,28 +2,28 @@ caption: Me created: 20230206204149478 creator: Octt icon: 😼 -modified: 20230223220703013 +modified: 20231105222046315 modifier: Octt tags: $:/ToC title: Octt -''Octt'', aka ''OctoSpacc'', or ''Andrea'', is me, the living entity who primarily maintains the [[OcttKB]]. I am powered by a natural neural network, in case that wasn't obvious. +''Octt'', aka ''OctoSpacc'', or ''Andrea'', is me, the living entity who primarily maintains the [[OcttKB]]. I am powered by a natural neural network running on a meat machine, in case that wasn't obvious, but I plan of making a copy (or multiple?) of myself that will live in silicon machines. Some info about me should go here, I suppose, so here are some points: -* I can program enough things in [[vanilla JavaScript|JavaScript]], [[Python]], sh, some C and Java, and [[TiddlyWiki]] (wow). I will also say HTML and CSS just to make you cry with "they're not programming languages!!1!". +* I can program enough things in [[vanilla JavaScript|JavaScript]], [[Python]], `sh`, [[C|C Language]] and some [[Java]], and [[TiddlyWiki]] (wow). I will also say: I can program with HTML and CSS, just to make you cry with "they're not programming languages!!1!". ** I've had to use C++, well I hate it. Never had to use Rust, and I'm happy because that syntax //scares me//. -* I can solve some puzzle games (very little in the grand scheme of all puzzles of this world). -* My [[#ShowYourStripes|https://showyourstripes.info/l/europe/italy/all/]] --- aka the climate change situation also where I live. +* I can solve some puzzle games (very little in the grand scheme of all puzzles of this world, but still fun) and play some card games, they fun sometimes. +* Here is my [[#ShowYourStripes|https://showyourstripes.info/l/europe/italy/all/]] if you're curious --- aka the climate change situation also where I live. -After this, there's not a lot more info about me here for now. Tough luck. Maybe go read the about page on my [[sitoctt]] in the meantime: [[https://sitoctt.octt.eu.org/Chi-Sono.html]]. +After this, there's not a lot more info about me here for now. Tough luck. Maybe go read the about page on my [[sitoctt]] in the meantime, there's something more in there: [[https://sitoctt.octt.eu.org/Chi-Sono.html]]. Here are some things I like or do or whatever, that I'm putting here honestly just to get some tiddlers connected together, because I like graphs like the ''Focus'' one on the sidebar. * Graphs.. I just said I like them. Some others are at [[OcttKB/Data]]. * [[Gaming]], but I have special tastes probably. ** This not only includes videogames, but also puzzle games. -** [I should write my best picks here]. +** [I should write my best picks here...] * [[Writing]], like on my [[sitoctt]] or here. * Software [[Development]], mostly frontend ([[CSS]] is crappy but epic). ** My [[Web]] places wouldn't be as unique if this wasn't the case and I were to only write content. diff --git a/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_AiLinks.ui.tid b/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_AiLinks.ui.tid index 173a8a62..cfd105af 100644 --- a/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_AiLinks.ui.tid +++ b/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_AiLinks.ui.tid @@ -1,7 +1,7 @@ Enabled: 0 created: 20230413083119554 creator: Octt -modified: 20230429202841556 +modified: 20231105185906145 modifier: Octt tags: $:/GlobalOption title: $:/OcttKB/Config/AiLinks.ui diff --git a/Wiki-OcttKB/tiddlers/System/Styles/View/_9-99-Hacks.tid b/Wiki-OcttKB/tiddlers/System/Styles/View/_9-99-Hacks.tid index 5b82924c..d7f37c22 100644 --- a/Wiki-OcttKB/tiddlers/System/Styles/View/_9-99-Hacks.tid +++ b/Wiki-OcttKB/tiddlers/System/Styles/View/_9-99-Hacks.tid @@ -1,11 +1,11 @@ created: 20230124112022156 creator: Octt -modified: 20231103220122034 +modified: 20231105185849353 modifier: Octt tags: $:/tags/ViewTemplate title: $:/Styles/View/9-99-Hacks -\define AiLinks(Enabled:1) +\define AiLinks() \whitespace trim <