<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.murlstutz.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.murlstutz.ch/feed.php">
        <title>Lerndoku</title>
        <description></description>
        <link>https://wiki.murlstutz.ch/</link>
        <image rdf:resource="https://wiki.murlstutz.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-11-28T13:36:46+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests:percentile&amp;rev=1795792537&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:stresstesting&amp;rev=1795709115&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=ai:machine_learning&amp;rev=1795619478&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=ai:modelle&amp;rev=1795589871&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:js:clipboard&amp;rev=1795188166&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:js&amp;rev=1795187014&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=ai:prompt_engineering&amp;rev=1795102212&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=server:code_deployment&amp;rev=1795015114&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:updating_dependencies&amp;rev=1794928541&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:logical_operators&amp;rev=1794497799&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:mathematical_operators&amp;rev=1793891961&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:designpatterns:reuse_variables&amp;rev=1793806138&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums:mapping&amp;rev=1793718883&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:nullsafe&amp;rev=1793370754&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums&amp;rev=1793288360&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=open_source&amp;rev=1793201388&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:deprecations&amp;rev=1793113260&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests&amp;rev=1792765821&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:unittest:fake_requests&amp;rev=1792680352&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:pcre_functions:preg_grep&amp;rev=1792593781&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.murlstutz.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Lerndoku</title>
        <link>https://wiki.murlstutz.ch/</link>
        <url>https://wiki.murlstutz.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests:percentile&amp;rev=1795792537&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-27T15:15:37+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>percentile - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests:percentile&amp;rev=1795792537&amp;do=diff</link>
        <description>Percentile

Percentile is important in loadtests but also generally in statistics, to indicate which part of a result was calculated. Sounds weird, but basically, statistically it can be the case that the biggest and lowest values of a result are so far from the average, they are not even included in the calculation.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:stresstesting&amp;rev=1795709115&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-26T16:05:15+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>stresstesting - list</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:stresstesting&amp;rev=1795709115&amp;do=diff</link>
        <description>Stresstesting

Stresstesting is the process of trying to push a server OVER its expected limit to find possible bottlenecks and see what processes fail first and how it cascades.

This is done to be able to open up said bottlenecks and minimize risk, incase a situation like that does happen.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=ai:machine_learning&amp;rev=1795619478&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-25T15:11:18+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>machine_learning - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=ai:machine_learning&amp;rev=1795619478&amp;do=diff</link>
        <description>Machine Learning

Machine Learning is a kind of Artificial Intelligence basically using statistical algorythms to learn from large amounts of data and perform tasks with said data, without explicitly having to apply an algorythm to the data.

Machine Learning can be used to analyze data far more efficiently than manually putting it through algorythms and trying to see patterns. Machine Learning is basically made for pattern recognition.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=ai:modelle&amp;rev=1795589871&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-25T06:57:51+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>modelle - AI Models</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=ai:modelle&amp;rev=1795589871&amp;do=diff</link>
        <description>AI models

An AI model is a program that has been trained on a set of data to recognize certain patterns or make certain decisions without further human intervention. Artificial intelligence models apply different algorithms to relevant data inputs to achieve the tasks, or output, they’ve been programmed for.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:js:clipboard&amp;rev=1795188166&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-20T15:22:46+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>clipboard - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:js:clipboard&amp;rev=1795188166&amp;do=diff</link>
        <description>Clipboard

Accessing the clipboard through JavaScript can be very useful if you&#039;re trying to quickly copy or paste something from/into a field. The clipboard functionality allows writing to and reading from the clipboard.

The clipboard functionality is blocked if the browser deems the connection insecure, so someone malicious cannot simply read out your clipboard, especially when you&#039;re trying to copy the password or something, or paste something malicious into your clipboard that could cause h…</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:js&amp;rev=1795187014&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-20T15:03:34+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>js - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:js&amp;rev=1795187014&amp;do=diff</link>
        <description>JavaScript

This is a second entry for this due to me getting rate limited on the others??</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=ai:prompt_engineering&amp;rev=1795102212&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-19T15:30:12+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>prompt_engineering - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=ai:prompt_engineering&amp;rev=1795102212&amp;do=diff</link>
        <description>Prompt Engineering

Prompt Engineering refers to the act of designing an AI prompt in a way where an AI can most efficiently interpret what is said and most accurately give the result that you were looking for.

At times you have to make a whole document describing what the result of the prompt should be.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=server:code_deployment&amp;rev=1795015114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-18T15:18:34+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>code_deployment - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=server:code_deployment&amp;rev=1795015114&amp;do=diff</link>
        <description>Code Deployment

Theres many ways to deploy code to a server, the easiest is to simply replace/add/remove files manually on the server. This can be a huge hassle and a security issue if not done correctly or simply if the application is big.

So then theres the way we do it at ORCA which is basically semi-automatic. A zip package is uploaded to the server and a script is used to, unpack the code, run the migrations, set variables. Whatever you need it to do. This is already better than doing it …</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:updating_dependencies&amp;rev=1794928541&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-17T15:15:41+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>updating_dependencies - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:updating_dependencies&amp;rev=1794928541&amp;do=diff</link>
        <description>Updating Dependencies

It is important to update your dependencies to ensure your application doesn&#039;t contain any security vulnerabilities, works compatible with the programming language or frameworks you use or just uses the most modern possible code to expand upon.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:logical_operators&amp;rev=1794497799&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-12T15:36:39+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>logical_operators - Added Types and Array</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:logical_operators&amp;rev=1794497799&amp;do=diff</link>
        <description>Logical operators

Increment


++$a // Pre increments it, returns first then increments
$a++ // Post increments it, increments and then returns
--$a // Same but decrement
$a-- // Same but decrement


Assignment


$a;

$a = 5; // = is used as an asigning operator

// Arithmetic assignment
$a = 2;
$b = 2;

$a += $b; // $a is now equal to 4, also works with all other arithmetic operations

// Concatenation
$a = &#039;hel&#039;;
$b = &#039;lo&#039;;

$a .= $b; // $a is now equal to &#039;Hello&#039;

// Null coalesence

$a = nul…</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:mathematical_operators&amp;rev=1793891961&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-05T15:19:21+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>mathematical_operators - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:mathematical_operators&amp;rev=1793891961&amp;do=diff</link>
        <description>Mathematical Operators

Mathematical Operators are important in programming as alot of things are based on numbers, and of course you also work with numbers, so having a good idea of the different operators is nice.

Identity


$a = 27;

// Switches $a over to a float of 27.00
+$a</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:designpatterns:reuse_variables&amp;rev=1793806138&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-04T15:28:58+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>reuse_variables - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:grundlagen:designpatterns:reuse_variables&amp;rev=1793806138&amp;do=diff</link>
        <description>Reusing variables

Reusing variables, can both be dangerous but also helpful.

From a logic and security standpoint, it is the safest to always reinitialise a variable from the database or something similar. Like reinitializing the tenant, incase anything about it has changed, so it can be safely assumed that the current state of the tenant is the correct one, and can be worked with.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums:mapping&amp;rev=1793718883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-03T15:14:43+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>mapping - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums:mapping&amp;rev=1793718883&amp;do=diff</link>
        <description>Mapping between enums

Mapping can be decently important for enums, to properly accomodate different integrations of systems etc.

Like if the list of valid salutations in one integration was &#039;MALE&#039;, &#039;FEMALE&#039;, &#039;COMPANY&#039; and null, but interally the list of valid salutations is &#039;MISTER&#039;, &#039;MISS&#039;, &#039;COMPANY&#039; and &#039;NOT_SET&#039;, you can map the enums to eachother, so if you get a value that is valid within the integration it can be mapped to the internal enum easily like so:</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:nullsafe&amp;rev=1793370754&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-30T14:32:34+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>nullsafe - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:php:nullsafe&amp;rev=1793370754&amp;do=diff</link>
        <description>Nullsafe

Nullsafe in PHP basically means that incase any given value somehow ends up as null, it is correctly handled, may that be an expection, a validation error etc.

Theres another way. In PHP theres a “Nullsafe operator” written as “??”</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums&amp;rev=1793288360&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-29T15:39:20+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>enums - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:php:enums&amp;rev=1793288360&amp;do=diff</link>
        <description>Enums

Enums, full name Enumerations, are a way to set a list of options “cases” possibly including assigned values.

Enums are classes in PHP, so you can define a class of for example “Currency” with possible options like “CHF”, “EUR”</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=open_source&amp;rev=1793201388&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-28T15:29:48+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>open_source - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=open_source&amp;rev=1793201388&amp;do=diff</link>
        <description>Open Source

Open Source in IT context refers to any application, dependency, tool etc. (basically any software) that is published openly alongside its source code, so anyone has access to it, and its code. This is both a good and can be a bad thing.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:deprecations&amp;rev=1793113260&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-27T15:01:00+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>deprecations - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:deprecations&amp;rev=1793113260&amp;do=diff</link>
        <description>Deprecations

Deprecations in programming is basically an information of someone making a programming language, tool, dependency etc. that a certain functionality, or a certain way of implementing it, or even just a certain function name will no longer work in a future breaking change.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests&amp;rev=1792765821&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-23T14:30:21+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>loadtests - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:loadtests&amp;rev=1792765821&amp;do=diff</link>
        <description>Loadtests

Loadtesting is different from performance testing (i should totally add an article for this) in the way that loadtesting focuses on a different goal. They can both sometimes cover eachothers nieches but loadtests focus on the MAXIMUM load that a server or application can sustain, instead of the time it takes to do something.</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:unittest:fake_requests&amp;rev=1792680352&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-22T14:45:52+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>fake_requests - created</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:testing:unittest:fake_requests&amp;rev=1792680352&amp;do=diff</link>
        <description>Faking requests

For testing you may need to fake requests to be able to test the according case.

To do so you can prepare a ServerRequest, it technically only needs a URI, along with a request handler.

The test request handler in BookingEngine looks like so:</description>
    </item>
    <item rdf:about="https://wiki.murlstutz.ch/doku.php?id=programmieren:php:pcre_functions:preg_grep&amp;rev=1792593781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-21T14:43:01+00:00</dc:date>
        <dc:creator>admin (admin@undisclosed.example.com)</dc:creator>
        <title>preg_grep - link</title>
        <link>https://wiki.murlstutz.ch/doku.php?id=programmieren:php:pcre_functions:preg_grep&amp;rev=1792593781&amp;do=diff</link>
        <description>preg_grep

preg_grep is very useful too as it can search for a pattern within an array, and return the array elements that match said pattern.

Its mostly used to filter certain patterns out of an array list.

Usage


preg_grep(&#039;/&quot;node_modules\/.+|&quot;version&quot;: &quot;.+/&#039;, $separatedPatch)</description>
    </item>
</rdf:RDF>
