chaostreff-alzey.de/treffen/2020-06-07/index.html

145 lines
7.7 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="de">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Chaostreff vom 07.06.2020</title>
<head>
<link rel="stylesheet" href="/assets/css/default.css">
</head>
<body>
<header>
<h1>Chaostreff vom 07.06.2020</h1>
</header>
<h2 id="themen">Themen</h2>
<ul>
<li>Jan versucht einen Access-token einzutippen. Anscheinend erfolgreich.</li>
<li><a href="#Markdown-test">Das Pad wird getestet</a></li>
<li>
<a href="https://www.neo-layout.org/">Neo 2</a>®©</li>
<li><a href="https://www.emojicode.org/">Emojicode</a></li>
<li>
<a href="#Rust">Rust</a> &lt;- Link geht <del>nicht</del> :)</li>
<li><a href="https://nodered.org/">NodeRED</a></li>
<li>Wie und Wann sollten Kinder an Technik herangeführt werden?
<ul>
<li>Smartphones ab der 5. Klasse</li>
<li>Internet ab dem Punkt, wenn man bereit ist mit dem Kind über Pornographie zu reden</li>
<li>Regeln (Bei Gesprächen nicht)</li>
<li>Grundlegendes Verständnis vermitteln</li>
</ul>
</li>
<li><a href="https://www.fieggen.com/shoelace/">Shoelaces</a></li>
<li>Thelie macht jetzt LFS <img class="emoji" title=":100:" alt=":100:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png" height="20" width="20">
</li>
<li>
<p><a href="https://esolangs.org/logs/stalker.html">Esoteric IRC Channel</a>
<img src="https://imgs.xkcd.com/comics/team_chat.png" height="222"></p>
</li>
<li><a href="https://pyra-handheld.com/boards/pages/pyra/">Pyra Handheld</a></li>
<li><a href="http://www.anti-powerpoint-party.com/de">Anti Powerpoint Partei</a></li>
<li>Reverse Proxy mit Apache kommt soon™
<ul>
<li>
<em>$Jemand</em> möchte ein Docker-Image
<ul>
<li>Sollte PHP schon mit enthalten</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="https://eugeneyan.com/2020/04/05/note-taking-zettelkasten/">Zettelbox-Notizen</a>
<ul>
<li><a href="https://blog.viktomas.com/posts/slip-box/">Zettelkasten note-taking in 10 minutes</a></li>
</ul>
</li>
<li><a href="http://tokipona.net/tp/janpije/okamasona.php">Toki Pona</a></li>
<li><a href="http://www.sl4.org/crocker.html">Crockers Rules</a></li>
<li>Diskussion über Antrieb zur Technik-Spielerei (oder sowas)
<ul>
<li>Ein Aspekt:
<img src="https://thumbs.gfycat.com/CluelessDisloyalJaeger-max-14mb.gif" width="100">
</li>
</ul>
</li>
<li><a href="https://github.com/carlini/printf-tac-toe">Tic Tac Toe in einer printf()-Anweisung</a></li>
<li><a href="https://github.com/go-gitea/gitea/issues/1029">Gitea Roadmap</a></li>
</ul>
<h1 id="rust">Rust</h1>
<p>Variablen in anderen Threads benutzen:</p>
<div class="language-rust highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">use</span> <span class="nn">std</span><span class="p">::</span><span class="nn">thread</span><span class="p">::</span><span class="n">Thread</span><span class="p">;</span>
<span class="k">use</span> <span class="nn">std</span><span class="p">::</span><span class="nn">sync</span><span class="p">::</span><span class="nb">Arc</span><span class="p">;</span>
<span class="k">use</span> <span class="nn">std</span><span class="p">::</span><span class="nn">cell</span><span class="p">::</span><span class="n">RefCell</span><span class="p">;</span>
<span class="k">fn</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span>
<span class="k">let</span> <span class="n">r</span> <span class="o">=</span> <span class="nn">Arc</span><span class="p">::</span><span class="nf">new</span><span class="p">(</span><span class="nn">RefCell</span><span class="p">::</span><span class="nf">new</span><span class="p">(</span><span class="mi">42u8</span><span class="p">));</span>
<span class="k">let</span> <span class="n">r1</span> <span class="o">=</span> <span class="n">r</span><span class="nf">.clone</span><span class="p">();</span>
<span class="k">let</span> <span class="n">t</span> <span class="o">=</span> <span class="nn">Thread</span><span class="p">::</span><span class="nf">scoped</span><span class="p">(</span><span class="k">move</span> <span class="p">||</span> <span class="p">{</span>
<span class="k">loop</span> <span class="p">{</span>
<span class="k">match</span> <span class="n">r1</span><span class="nf">.try_borrow_mut</span><span class="p">()</span> <span class="p">{</span>
<span class="nf">Some</span><span class="p">(</span><span class="n">n</span><span class="p">)</span> <span class="k">=&gt;</span> <span class="p">{</span> <span class="o">*</span><span class="n">n</span> <span class="o">+=</span> <span class="mi">1</span> <span class="p">;</span> <span class="k">break</span> <span class="p">}</span>
<span class="n">_</span> <span class="k">=&gt;</span> <span class="p">{</span> <span class="p">}</span>
<span class="p">}</span>
<span class="p">}</span>
<span class="p">});</span>
<span class="n">t</span><span class="nf">.join</span><span class="p">();</span>
<span class="nd">println!</span><span class="p">(</span><span class="s">"{}"</span><span class="p">,</span> <span class="o">*</span><span class="n">r</span><span class="nf">.borrow_mut</span><span class="p">());</span>
<span class="p">}</span>
</code></pre></div></div>
<p>Spaß aufgrund von Feld-zugriff durch Kindobjekte:</p>
<div class="language-rust highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">pub</span> <span class="n">store_refs</span><span class="p">:</span> <span class="nb">Option</span><span class="o">&lt;</span><span class="nb">Vec</span><span class="o">&lt;</span><span class="nb">Option</span><span class="o">&lt;&amp;</span><span class="nv">'a</span> <span class="k">mut</span> <span class="n">Store</span><span class="o">&lt;</span><span class="nv">'a</span><span class="o">&gt;&gt;&gt;&gt;</span><span class="p">,</span>
</code></pre></div></div>
<p><a href="https://doc.rust-lang.org/stable/book/">Fangt an Rust zu lernen. (no pressure)</a></p>
<p><a href="http://cliffle.com/blog/bare-metal-wasm/">Rust Wasm Demos</a></p>
<h1 id="markdown-test">Markdown-test</h1>
<p><img class="emoji" title=":santa:" alt=":santa:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f385.png" height="20" width="20"><img class="emoji" title=":santa:" alt=":santa:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f385.png" height="20" width="20"><img class="emoji" title=":santa:" alt=":santa:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f385.png" height="20" width="20">
<img class="emoji" title=":fire:" alt=":fire:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f525.png" height="20" width="20"><img class="emoji" title=":fire:" alt=":fire:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f525.png" height="20" width="20"><img class="emoji" title=":fire:" alt=":fire:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f525.png" height="20" width="20"></p>
<p><b>Hallo</b></p>
<p><img src="https://media.giphy.com/media/Bz853dgjLFEaI/source.gif"></p>
<p>λελ λασστ WO IST MEIN 0x41 0x51 0x43 0x49 0x49???!!! Oo</p>
<p><b>Dies ist ein Body?</b></p>
<p><em>kursiv</em></p>
<p><strong>bold</strong></p>
<p>~crossed~</p>
<p>Markdown kann auch <strong>Follmilch</strong>… Ferde mögen das.</p>
<h2 id="das-ist-eine-überschrift">das ist eine Überschrift();</h2>
<p><code class="language-plaintext highlighter-rouge">aeaeaeae ueueue</code></p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#sweetes markup
fn hello_world() {
println!("hello world.");
}
</code></pre></div></div>
<!--Links-->
</body>