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