From cecb16acfa427421667cfe3e9cba25fd9d32319e Mon Sep 17 00:00:00 2001 From: Nicole Dresselhaus Date: Fri, 29 Aug 2025 10:11:57 +0200 Subject: [PATCH] added Health/Transparency; changed social link --- About/Extracurricular.md | 15 +- About/Work.md | 58 +- Health/Issues.md | 8 +- Health/Transition.md | 72 + Health/Transparency.md | 144 ++ Opinions/Don't train your own LLM.md | 4 +- Opinions/Keyboard-Layout.md | 2 + Uni/Lernerfolg_an_der_Uni.md | 2 + Writing/coding-age-ai.md | 11 +- _meta.html | 1 + _quarto.yml | 2 + dist/About/Experience.html | 56 +- dist/About/Extracurricular.html | 62 +- dist/About/Work.html | 76 +- dist/About/index.html | 56 +- dist/Coding/Haskell/Advantages.html | 56 +- dist/Coding/Haskell/Code Snippets/Monoid.html | 110 +- .../Haskell/Code Snippets/Morphisms.html | 98 +- dist/Coding/Haskell/FFPiH.html | 56 +- dist/Coding/Haskell/Lenses.html | 206 +- .../Haskell/Webapp-Example/Main.hs.html | 60 +- .../Webapp-Example/MyService_Types.hs.html | 60 +- dist/Coding/Haskell/Webapp-Example/index.html | 94 +- dist/Health/Issues.html | 63 +- .../index.html => Health/Transition.html} | 180 +- dist/Health/Transparency.html | 1108 ++++++++++ .../Artikelbewertung durch LLM.html | 1204 +++++++++++ dist/Opinions/Don't train your own LLM.html | 70 +- dist/Opinions/Editors.html | 56 +- dist/Opinions/Keyboard-Layout.html | 62 +- dist/Stuff/Bielefeldverschwoerung.html | 56 +- dist/Uni/Lernerfolg_an_der_Uni.html | 62 +- dist/Writing/Obsidian-RAG.html | 80 +- .../index.html | 4 - dist/Writing/coding-age-ai.html | 475 ++--- dist/Writing/documentation.html | 98 +- dist/Writing/ner4all-case-study.html | 78 +- dist/index.html | 275 ++- dist/index.xml | 1800 +++++++++-------- dist/listings.json | 6 +- dist/search.json | 1545 +++++++------- ...p-9b56b6674ace31b1957ea5f5ef42286f.min.css | 12 - ...k-3c8015a3c2181875b3e8a350495bd83c.min.css | 12 - ...k-716ed94a23403968eaa6fe981e0cbf91.min.css | 12 + ...p-ec71cb1e120c0dd41819aca960e74e38.min.css | 12 + dist/site_libs/bootstrap/bootstrap-icons.css | 34 +- dist/site_libs/bootstrap/bootstrap-icons.woff | Bin 180288 -> 176200 bytes dist/site_libs/quarto-diagram/mermaid.min.js | 1107 ++++------ dist/site_libs/quarto-html/axe/axe-check.js | 145 -- ...ting-6cf5824034cebd0380a5b9c74c43f006.css} | 2 +- ...dark-2c84ecb840a13f4c7993f9e5648f0c14.css} | 2 +- dist/site_libs/quarto-html/quarto.js | 2 - .../quarto-search/autocomplete.umd.js | 4 +- dist/sitemap.xml | 152 +- index.qmd | 2 +- 55 files changed, 6277 insertions(+), 3752 deletions(-) create mode 100644 Health/Transition.md create mode 100644 Health/Transparency.md create mode 100644 _meta.html rename dist/{Obsidian-Articles/index.html => Health/Transition.html} (85%) create mode 100644 dist/Health/Transparency.html create mode 100644 dist/Obsidian-Articles/Artikelbewertung durch LLM.html delete mode 100644 dist/site_libs/bootstrap/bootstrap-9b56b6674ace31b1957ea5f5ef42286f.min.css delete mode 100644 dist/site_libs/bootstrap/bootstrap-dark-3c8015a3c2181875b3e8a350495bd83c.min.css create mode 100644 dist/site_libs/bootstrap/bootstrap-dark-716ed94a23403968eaa6fe981e0cbf91.min.css create mode 100644 dist/site_libs/bootstrap/bootstrap-ec71cb1e120c0dd41819aca960e74e38.min.css delete mode 100644 dist/site_libs/quarto-html/axe/axe-check.js rename dist/site_libs/quarto-html/{quarto-syntax-highlighting-ff1c8a91a872873ab9706226229f9e30.css => quarto-syntax-highlighting-6cf5824034cebd0380a5b9c74c43f006.css} (98%) rename dist/site_libs/quarto-html/{quarto-syntax-highlighting-dark-04b38c9dba5d7c0f1fe2b621b39e7e62.css => quarto-syntax-highlighting-dark-2c84ecb840a13f4c7993f9e5648f0c14.css} (98%) diff --git a/About/Extracurricular.md b/About/Extracurricular.md index 61ab5eb..e449d04 100644 --- a/About/Extracurricular.md +++ b/About/Extracurricular.md @@ -3,6 +3,7 @@ tags: - Drezil status: Done --- + # Studium generale / University-Life (What I did at university besides studying :sunglasses: ) @@ -12,8 +13,8 @@ status: Done - Student Member of Studienbeirat Informatik (Study-Profile Commission) - Student Member of Tutorenauswahlkommission (Tutor-Selection Committee) - Leader Tutorenevaluation (Evaluation of Tutors) -- Student Member of NWI-Master-Auswahlausschuss (Master-Application Committee for - my course of study) +- Student Member of NWI-Master-Auswahlausschuss (Master-Application Committee + for my course of study) - Student Member of NWI-Master-Prüfungsausschuss (Committee for Exam-disputes of my Master course) - Member of the Admin-Team for the student-body pcs @@ -25,7 +26,7 @@ status: Done - [Fortgeschrittene funktionale Programmierung in Haskell](https://ekvv.uni-bielefeld.de/kvv_publ/publ/vd?id=54004629) (Haskell-Lecture) - [Lecture on YouTube](https://www.youtube.com/playlist?list=PLMqFm6rr-xOWhXGroUXzWx00FeaBNfbsa) - - [[FFPiH|more details on the lecture]]# + - [more details on the lecture](/Coding/Haskell/FFPiH.md) ### Summer 16 @@ -34,7 +35,7 @@ status: Done - [Lecture on YouTube](https://www.youtube.com/playlist?list=PLMqFm6rr-xOUEf2YjSxRn8BIhrdRIhZw6) (differs from link above) - This was the **"silver chalk"-lecture** - - [[FFPiH|more details on the lecture]]# + - [more details on the lecture](/Coding/Haskell/FFPiH.md) ### Winter 16/17 @@ -43,7 +44,8 @@ status: Done - [Tutor Introduction to Machine Learning](https://ekvv.uni-bielefeld.de/kvv_publ/publ/vd?id=79599350) (Tutor in this Lecture) - Was awarded **Tutoring-Award** of the faculty -- Remade and updated slides for [Computergraphics-Lecture](https://ekvv.uni-bielefeld.de/kvv_publ/publ/vd?id=79016005) +- Remade and updated slides for + [Computergraphics-Lecture](https://ekvv.uni-bielefeld.de/kvv_publ/publ/vd?id=79016005) - Lecture was **awarded "silver chalk"** among others things because of the updated slides. @@ -53,5 +55,4 @@ status: Done (Haskell-Lecture) - Same as Summer 16 - Totally **reworked Exercises** accompanying the lecture - - [[FFPiH|more details on the lecture]]# - + - [more details on the lecture](/Coding/Haskell/FFPiH.md) diff --git a/About/Work.md b/About/Work.md index 0cfcdb0..22c6e93 100644 --- a/About/Work.md +++ b/About/Work.md @@ -3,8 +3,23 @@ tags: - Drezil status: Incomplete --- + # Work-Experience +- **Mar. 2024 to 2028:** + - Research Software Engineer at the + [Humbold University of Berlin](https://hu-berlin.de) in the group + "[Digital History](https://www.geschichte.hu-berlin.de/de/bereiche-und-lehrstuehle/digital-history)" + of Prof. Dr. Hiltmann. + - Part of [NFDI](https://www.nfdi.de/)-Consortium^[National research data + infrastruture] [4memory](https://4memory.de/)^[Historical Sciences]; + [Task Area: Data Culture](https://4memory.de/ueber-4memory/task-areas/data-culture/) + +- **Jan. 2024 to Feb. 2024:** + - First full-time developer for [Yarvis-GmbH](https://yarvis.de/) + - fully remote position + - only had to quit because i was offered the chance to do my PhD in Berlin. + - **Mar. 2023 to Sep. 2023:** - Developer for 2Lambda.co. Role migrated from just coding stuff to architecting and rewriting the whole software from the ground up using a @@ -37,14 +52,15 @@ status: Incomplete etc.. - **Oct. 2018 to Aug. 2021**: - - ML-Specialist at [Jobware](https://jobware.de) (Paderborn; german Job-Advertising-Platform) - - Extraction/Classification of sentences from JobAds (Requirements, Benefits, - Tasks, ...) + - ML-Specialist at [Jobware](https://jobware.de) (Paderborn; german + Job-Advertising-Platform) + - Extraction/Classification of sentences from JobAds (Requirements, + Benefits, Tasks, ...) - Extraction of Information from JobAds (Location of company, Location of - workplay, contact-details, application-procedure, etc.) including geocoding - of those information (backed by OpenStreetMap) - - Embedding of JobAds into a meaningful space (i.e. "get me similar ads. btw. - i dislike ad a, b, c"). + workplay, contact-details, application-procedure, etc.) including + geocoding of those information (backed by OpenStreetMap) + - Embedding of JobAds into a meaningful space (i.e. "get me similar ads. + btw. i dislike ad a, b, c"). - Analyse & predict search-queries of users on the webpage and offer likely but distinct queries (i.e. similar when typo or complete different words (synonyms, hyponyms, etc.)) @@ -67,20 +83,26 @@ status: Incomplete - **2013-2018**: - several jobs at my University including - - Worked 6 Months in the Workgroup "Theoretical Computer Science" on migrating - algorithms to **CUDA** + - Worked 6 Months in the Workgroup "Theoretical Computer Science" on + migrating algorithms to **CUDA** - Tutor "Introduction to Machine Learning" - - Was awarded **Tutoring-Award** of the Faculty of Technology for excellent - tutoring + - Was awarded **Tutoring-Award** of the Faculty of Technology for + excellent tutoring - Lecture "[[FFPiH|Intermediate Functional Programming in Haskell]]" - - Originally developed as student-project in cooperation with Jonas Betzendahl + - Originally developed as student-project in cooperation with Jonas + Betzendahl - First held in Summer 2015 - Due to high demand held again in Summer 2016 and 2017 - Was awarded **Lecturer-Award** "silver Chalk" in 2016 - First time that this award was given to students - - Many lecturers at our faculty never get any teaching-award until retirement - - Development of Pandoc-Filters for effective **generation of lecture-slides** - for Mario Botsch (Leader "Workgroup Computer Graphics") using Pandoc & reveal.js - - Framework: [https://github.com/mbotsch/revealSlides](https://github.com/mbotsch/revealSlides) - - Example: [https://github.com/mbotsch/eLearning](https://github.com/mbotsch/eLearning) - - Pandoc-Filters: [https://github.com/mbotsch/pandoc-slide-filter](https://github.com/mbotsch/pandoc-slide-filter) + - Many lecturers at our faculty never get any teaching-award until + retirement + - Development of Pandoc-Filters for effective **generation of + lecture-slides** for Mario Botsch (Leader "Workgroup Computer Graphics") + using Pandoc & reveal.js + - Framework: + [https://github.com/mbotsch/revealSlides](https://github.com/mbotsch/revealSlides) + - Example: + [https://github.com/mbotsch/eLearning](https://github.com/mbotsch/eLearning) + - Pandoc-Filters: + [https://github.com/mbotsch/pandoc-slide-filter](https://github.com/mbotsch/pandoc-slide-filter) diff --git a/Health/Issues.md b/Health/Issues.md index 8117448..806eb4f 100644 --- a/Health/Issues.md +++ b/Health/Issues.md @@ -2,7 +2,8 @@ title: Mental Health tags: - Drezil -status: Incomplete +authors: + - name: Nicole Dresselhaus categories: - Mental Health - Article @@ -60,11 +61,6 @@ the autism-part is completely overwhelmed by the ADHD chaos. Both then leading to exhaustion, not being able to do anything .. and basically feeling guilty for the things you did not manage to finish. -Today i finally found myself. I currently have a great partner (with 3 kids) - -and **all** of them have similar issues. Like i said: I best get along with -similar people - and also fall in love with those.. and as AuDHD runs in the -genes all offspring has a good chance of catching it to varies degrees, too. - I think the most important thing was the ADHD-Diagnosis - as this enabled me to get metylphenidate to basically get into a "3-4 hours focused as long as the pill works" and total chaos afterwards. This enables me to have productive diff --git a/Health/Transition.md b/Health/Transition.md new file mode 100644 index 0000000..1c8edfd --- /dev/null +++ b/Health/Transition.md @@ -0,0 +1,72 @@ +--- +title: My Transition - Experiences and Recommendations +draft: true +authors: + - name: Nicole Dresselhaus +categories: + - Mental Health + - Post + - Struggles + - Experience +# date: unfinished +--- + +## Personal + +- egg crack late. + - -> issues since childhood + - ~> polictics + - ~> timeline of trans-regulations in germany +- tl;dr: only now a "safe enough environment" given the rest of my time + remaining + +## medical + +- informed myself pretty good about what happens + - link resources like transfemscience + - link TT-Discord +- gatekeeping + - procedures if you got "normal" health insurance vs. procedure when you just + pay yourself. + - the "neccessity" for the complicated procedure is not rooted in medical + protection. Just protection of money. + - collapsible callout with "story time" of S from H's story. +- uninformed docs + - collapsible callouts (multiple!) with "story time" + +## my way + +- diy +- community-driven + - link diyhrt.cafe + - link transharmreduction +- goal + - yes, samlacian is an option. + - yes, i will do that + - cost 30k - but only once in your life :) + +## my recommendations + +- Warning: im not a medical expert. I "just" hat a few terms of + molecular-biology, neuro-biology, psychology, chemistry etc. in university. I + can READ papers and graphs and understand stuff - but not conduct that + research myself. +- forget about androcur - imo it is only useful the first 6 month for more rapid + onset + - not needed as high enough E-Levels suppress T-Production and generation of + DHT +- aim E2 about 200-400pg/ml, T cis-female range + - -> show Abott 5 and 95-quantile for cis females + - beware also bias because many cis females suffer from symptoms that could be + treated by more E2. +- EEn sc is best for this and has a "cycle" of 1 week +- add P4 only after a year or so of treatment + - -> graph of E2 in cis females 8-18; + - 8-12 elevated E2, only then P4. + - cycle of 1 week instead of 1 month => 4 years in cis ~ 1 year in trans + - beware: just crackpot-theory. No basis. + - P4 should be cycled + - show cis female cycle, basically 14 day on, 14 day off - factor of 20+ + between those values + - only anecdotal evidence .. but .. i got breasts and i can give milk - and + seems to do no harm diff --git a/Health/Transparency.md b/Health/Transparency.md new file mode 100644 index 0000000..37579bf --- /dev/null +++ b/Health/Transparency.md @@ -0,0 +1,144 @@ +--- +title: Being transparent and open +tags: + - Drezil +authors: + - name: Nicole Dresselhaus +lang: en +categories: + - Post + - Struggles + - Experience +date: 2025-08-23 +description: I do lewd stuff online. I am not hiding it. This tells you why. +--- + +## Premise + +The idea for this post is thanks to +[Miranda](https://girlcock.club/@miranda/110135572301247954). She has the same +opinion as me on these things i need to quote the first 2 paragraphs of her +post, because i doubt i can write them better: + +> I don’t like social games. Or more specifically, I like them if they are +> really _games_, e.g. things we do willingly and deliberately, for the purpose +> of having fun or living some other experience, with well defined boundaries +> and context, and with nothing more at stake than the game itself. Roleplaying +> games is an activity I love and that is really important to me, and I enjoy +> playing devious, manipulative, cunning or mysterious characters. But I enjoy +> it _because it’s a game_, I have no interest in being like that in real life, +> because real life is not a game. We only have one life, we are not fully in +> control of how we live it, and there are no boundaries. Decisions can have +> consequences, sometimes drastic and unexpected ones, on both our and others’ +> lives. Everything matters. +> +> Besides, I only have one life too, and as I’ve been painfully aware for a few +> years, it will not last forever. I often feel like I’m running out of time, or +> at least that I’ve already wasted enough time. I’ve suffered and taken bad +> decisions, hurt myself and other people, dedicated insane amount of time and +> energy to fruitless and joyless activities, and spent years passing by whole +> aspects of my life (and overfocusing on the precious few that could bring me +> some satisfaction), mostly because I did not understand who I am, how I work, +> and what I desired. I think the previous sentence is something a lot of people +> can relate to, but I maybe experience it in an extreme way - and yes of course +> it’s about transition. I’m 38 and I’m feeling a whole new world opening to me. +> The way I consider myself, and the way I relate to others, is transformed. My +> emotions, light or dark, as running wilder than ever. I’m feeling like I have +> everything to discover, everything to do, and yet I’m about twenty years late. + +I mean .. i am 40 instead of 38 - but the rest is so on point. I'm also **done +with playing games**. I struggled for the better part of my life (basically +since i could think) and struggled with mental health issues for the last 25 +years. That's enough. That is time i will never get back. This also means that +there so many experiences (good _and_ bad) that i never made. I will never know +how it is like to be a student at school or university in my correct gender. +That's why i decided, that the second half of my life i will make the rules. + +## My current self + +I enjoy myself very much currently. **I am poly**, as most of my friends are. I +**embrace sex-positivity** and are not ashamed of what i do and how much joy it +brings me; and i am open about that **and share it** with the world - even on +social media. + +**If you don't want to see that - just don't look for it.** Those things always +have a proper content-warning (CW) and every platform or client you use can +filter those posts out. But for my part, **I am done hiding.** It has never lead +to anything good for me and was only used to exert pressure or power over +me^[Other Example, but similar: At my old job my direct boss told me, that it +_might_ not be a good idea to talk our wages with each other - as we all haggled +individually in the yearly 'employee-talk'. Fuck this shit.]. Try to shame or +blackmail me with it and i share my public accounts with _your_ colleagues and +tell them what _you_ watch in your free time. + +I am also a **relationship anarchist**. Things are just, what they are. If we do +platonic bondage without any sexual intent or drive through half of Europe for a +weekend of kinky sex - the dynamics of a single relationship are foremost only +relevant to the two people within the relationship. And i very much enjoy it +this way. Nothing is forced, everything can happen, but nothing HAS to happen. +Of course this does not mean, that my partners don't have a say in anything and +i do only what _i_ want - communication is the key here. + +All this also permeates through all my friendships. As said previously many of +my friends are poly and also sex-positive. So also i fuck with them quite +regularly and even have no problem sharing pictures of this on the web (with +their permission) as well. So, where does friendship end and partnership begins? +You tell me. I have no idea. Besides: Having sex with a good friend is way +better than one-night-stands with strangers imo. + +## About Sexwork + +Another big thing that follows from this is, that i will also try to get into +actual sexwork on the side. Not in the immediate future because i still need to +get some things in order (like getting PrEP approved), investigate how, when and +where things are done for how much and if it is worth my time - and most +importantly: get to know the scene beforehand to not be exploited or worse by +some customers that professionals would quickly filter out^[This is actually +currently my main concern. If there are people out there that get turned down by +other sexworkers for \$reasons and i don't know how to spot those things i run a +higher risk of meeting them as they will specialize on preying on the people new +into the business]. + +Also in Germany this means registering a business for that purpose, doing proper +paperwork, etc. pp. And also land on a handful of lists that can easily get me +killed if Nazis come back in power^[I mean, i am sure i am already on some +lists. And more of those are even planned by the government - so what harm does +one more?]. + +## About Social Media + +This one was i thing that i only decided recently. I am active in the Fediverse +and always liked it. What i did not like is to split myself onto two or more +accounts. I mostly did it for the convenience of others. Like when they want to +follow me with their business accounts or whatever. Why do _i_ have to fragment +myself for their convenience? Just don't auto-expand CWs in your client or on +your business-machine. Then you won't be forced to see a closeup of my tits in +the middle of your workday when your boss just walks around the corner. + +My problem then also is that my main and my lewd-account don't get equal +attention. Sometimes the main gets not even looked at for a week (just bosts +stuff i see on my lewd that i would post on my main - and thanks to fedilab i +can just long-press boot and say 'boost as main-account'), not answering to +people questioning me and so on. And even if i try to separate those the +lewd-account always ends up being more of a main-account than my main. I got +many more meaningful connections and answers there, more fun looking and +interacting with other people (you know? The _social_ in social media? Not just +"Building an Audience" -.-) and also feel more at ease there. + +That why i have decided to merge my main (non-lewd) account into my lewd +account. **If you want to follow and interact with me, you get the _full_ me.** +Ramblings on NixOS? Sure. Research with LLMs? Yup. Pictures from Conferences i +attend? You bet. Details from the after-show? Oh yeah :smirk: . Political posts +from my hometown? Absolutely! You can always choose to block posts with i.e. +"lewd" or "sex" in the CW. You can always choose to not open the post with such +a CW. But don't come to me complaining about what you saw there. + +## Final remarks + +No, this whole post is _not_ an invitation to just hit on me, when we never +interacted in at least a semi-personal way. Additionally depending on the +context (i.e. if we only interact work-related or have some kind of hierarchical +relationship (mentor-student, boss-employee, ..)) conversations about my +activities _not_ related to the current topic at hand will not happen. So don't +even think about asking lewd related stuff in a non-private or at least +semi-private setting. diff --git a/Opinions/Don't train your own LLM.md b/Opinions/Don't train your own LLM.md index 5f61209..6cb8652 100644 --- a/Opinions/Don't train your own LLM.md +++ b/Opinions/Don't train your own LLM.md @@ -5,8 +5,10 @@ tags: - incomplete - Experience - Article +authors: + - name: Nicole Dresselhaus title: Don't train your own LLM -doi: not yet +# doi: not yet status: Outline draft: true categories: diff --git a/Opinions/Keyboard-Layout.md b/Opinions/Keyboard-Layout.md index 9330bf0..0435d48 100644 --- a/Opinions/Keyboard-Layout.md +++ b/Opinions/Keyboard-Layout.md @@ -6,6 +6,8 @@ tags: categories: - Experience - Opinion +authors: + - name: Nicole Dresselhaus date: 2025-01-01 --- diff --git a/Uni/Lernerfolg_an_der_Uni.md b/Uni/Lernerfolg_an_der_Uni.md index 7420ba1..2576039 100644 --- a/Uni/Lernerfolg_an_der_Uni.md +++ b/Uni/Lernerfolg_an_der_Uni.md @@ -4,6 +4,8 @@ tags: format: html: code-overflow: wrap +authors: + - name: Nicole Dresselhaus categories: - Article - Experience diff --git a/Writing/coding-age-ai.md b/Writing/coding-age-ai.md index 48103a6..a65a39e 100644 --- a/Writing/coding-age-ai.md +++ b/Writing/coding-age-ai.md @@ -1,6 +1,11 @@ --- tags: - Writing +categories: + - Praxis + - ML + - Experience + - Best Practices cssclasses: - table-wide - table-wrap @@ -10,7 +15,7 @@ description: | abstract: | This report presents practical methodologies and best practices for developing software using Cursor, an AI-assisted IDE. The paper details a structured workflow that emphasizes specification-driven development, comprehensive documentation practices, and systematic task management to maintain quality control when working with language models. Through detailed examples and rule configurations, it demonstrates how to leverage AI capabilities while mitigating common pitfalls such as redundant code generation and context limitations. The methodology presented includes comprehensive PRD (Product Requirement Document) creation, specification adherence checks, and task breakdown systems that ensure alignment between human intent and AI execution. This guide serves as a practical reference for developers seeking to effectively integrate AI tools into their software development workflow while maintaining project integrity and scalability. -lang: de +lang: en date: 2025-06-26 authors: - name: Nicole Dresselhaus @@ -266,7 +271,6 @@ one‑sentence feature description plus any additional Q&A with the stakeholder. it in _Open Questions_. 4. After questions are answered reply exactly: Ready to generate the PRD. 5. On a user message that contains only the word "go" (case‑insensitive): - - Generate /tasks//PRD.md following _Output_ spec. - Reply: /PRD.md created – review it. @@ -327,19 +331,16 @@ Every specification should include: ``` 2. **Scope and Boundaries** - - What is included/excluded - Dependencies on other specifications - Relationship to other components 3. **Detailed Requirements** - - Structured by logical sections - Clear, unambiguous language - Examples where helpful 4. **Error Handling** - - How errors should be handled - Fallback behaviors - Edge cases diff --git a/_meta.html b/_meta.html new file mode 100644 index 0000000..e33ec55 --- /dev/null +++ b/_meta.html @@ -0,0 +1 @@ + diff --git a/_quarto.yml b/_quarto.yml index 45cb3e0..fa2b89f 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -57,6 +57,8 @@ execute: enable: false format: html: + include-in-header: + - file: _meta.html email-obfuscation: javascript lightbox: true code-overflow: wrap diff --git a/dist/About/Experience.html b/dist/About/Experience.html index 360d241..b9f9e26 100644 --- a/dist/About/Experience.html +++ b/dist/About/Experience.html @@ -2,7 +2,7 @@ - + @@ -32,19 +32,17 @@ ul.task-list li input[type="checkbox"] { - - - - + + - - - + + + + @@ -97,7 +96,7 @@ ul.task-list li input[type="checkbox"] { toggleBodyColorMode(bsSheetEl); } } - const setColorSchemeToggle = (alternate) => { + window.setColorSchemeToggle = (alternate) => { const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle'); for (let i=0; i < toggles.length; i++) { const toggle = toggles[i]; @@ -130,7 +129,7 @@ ul.task-list li input[type="checkbox"] { } manageTransitions('#quarto-margin-sidebar .nav-link', true); // Switch the toggles - setColorSchemeToggle(alternate) + window.setColorSchemeToggle(alternate) // Hack to workaround the fact that safari doesn't // properly recolor the scrollbar when toggling (#1455) if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) { @@ -170,7 +169,7 @@ ul.task-list li input[type="checkbox"] { const isFileUrl = () => { return window.location.protocol === 'file:'; } - const hasAlternateSentinel = () => { + window.hasAlternateSentinel = () => { let styleSentinel = getColorSchemeSentinel(); if (styleSentinel !== null) { return styleSentinel === "alternate"; @@ -198,7 +197,7 @@ ul.task-list li input[type="checkbox"] { const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light'; const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark'; let newTheme = ''; - if(authorPrefersDark) { + if(darkModeDefault) { newTheme = isAlternate ? baseTheme : alternateTheme; } else { newTheme = isAlternate ? alternateTheme : baseTheme; @@ -221,20 +220,17 @@ ul.task-list li input[type="checkbox"] { changeGiscusTheme(); } }; - const authorPrefersDark = false; const queryPrefersDark = window.matchMedia('(prefers-color-scheme: dark)'); const darkModeDefault = queryPrefersDark.matches; - document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet'; - document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet'; + document.querySelector('link.quarto-color-scheme-extra').rel = 'disabled-stylesheet'; let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default'; // Dark / light mode switch window.quartoToggleColorScheme = () => { // Read the current dark / light value - let toAlternate = !hasAlternateSentinel(); + let toAlternate = !window.hasAlternateSentinel(); toggleColorMode(toAlternate); setStyleSentinel(toAlternate); toggleGiscusIfUsed(toAlternate, darkModeDefault); - window.dispatchEvent(new Event('resize')); }; queryPrefersDark.addEventListener("change", e => { if(window.localStorage.getItem("quarto-color-scheme") !== null) @@ -245,7 +241,7 @@ ul.task-list li input[type="checkbox"] { toggleGiscusIfUsed(alternate, darkModeDefault); }); // Switch to dark mode if need be - if (hasAlternateSentinel()) { + if (window.hasAlternateSentinel()) { toggleColorMode(true); } else { toggleColorMode(false); @@ -257,8 +253,6 @@ ul.task-list li input[type="checkbox"] {