고정된 글
Sigma@sigmasternchen@comfy.social
random thought that turned into micro fiction펼치기
I mean: Reading/watching isekai content is currently my main outlet for escapism. But I do still have the sneaking suspicion that escaping to a fantasy world with swords and magic wouldn’t solve anything.

Reading stories with hard magic systems makes me think that doing complex magic is probably essentially like programming: There is a language that the spells are formulated in, there are probably primitives for basic stuff like conjuring up matter or moving objects, and for complicated things there are constraints you have to work around. You probably have to be careful not to exhaust any resources, likely have some kind of staging environment before releasing anything, …
I imaging aome crazy magic-scientist backed by a corrupt kingdom will probably have noticed that language is the key to a lot of different domains, and started building golems that can use language to a similar degree as humans. They are trained with all of humans knowledge, using enormous amounts of mana and magic stones, and are so large that only some big companies can afford them. Even running them takes a wast amount of mana. However, they are already being integrated into everything. A notable example are magic mirrors that can answer any question. They are by far not always right, but they are right enough that people consider them useful. Sure, quite a few times people asked stuff like "Mirror, mirror on the wall, who in this land is fairest of all." and went completely off the rails because of the answer the mirror provided.
The mirrors are pretty error-prone, but the things is: They are good-enough with language (and also the ancient language) that they can actually write magic spells on their own. In fact if you do it right, they are way more effective than an apprentice sorcerer. Consequently, a lot of magicians are contemplating switching careers because they are afraid these new golems might make them obsolete.
Some are thinking about what it would be like to live in a sci-fi world with computers - maybe they could become "programmers" or whatever they are called…
고정된 글
Sigma@sigmasternchen@comfy.social
Counting for ~~Dummies~~ Programmers:펼치기

Imperative:

for(let i = 0; i < 10; ++i) {
   console.log(i);
}

Declarative:

const range = (from, to) => [...Array(to - from).keys().map(i => i + from)];
range(0, 10).forEach(i => console.log(i));

Recursion:

const count = (from, limit) => {
    console.log(from);
    if (limit > 1) count(from + 1, limit -1);
};
count(0, 10);

???

((f,l)=>
    (f=>(g=>f(h=>g(g)(h)))(g=>f(h=>g(g)(h))))(
        c=>([f,l])=>console.log(f)??l>1?c([f+1,l-1]):null
    )([f,l])
)(0, 10)
❤4
1 1 4
고정된 글
Sigma@sigmasternchen@comfy.social

In case you were wondering:

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/IT d-(--)>+ s:>- !a C++(+++)$ UBL*++(+++) P-(--) L++(+++)$ !E---(-) W+++(++)$ !N o? K--? w(—)$ !O M+$ V? PS+(++) PE(-) Y+(++) PGP+>++ t(+) !5 !X R !tv b(+)>++ DI !D G e++ h---(++) r++ z?
------END GEEK CODE BLOCK------
고정된 글
Sigma@sigmasternchen@comfy.social
My old #introduction post is a bit outdated, so I decided to write a new one. ^^

Hi there, I am Sigma, a #software #engineer from Germany.
My great passion are #computers and even in my spare time I love tinkering with #software and #hardware. Beyond that my interests are very diverse: I like scientific topics - especially linguistics and chemistry - as well as #games, #music, #films, and #shows - #anime in particular.
I post about pretty much everything, from my day-to-day life, through funny videos I find online, to strange quirks in #programminglanguages. I love interacting with people and finding new friends. So feel free to reply and/or message me anytime. 😊
My native language is #German, however I'll be posting mostly in #English on this account.

I also have a #blog on https://blog.sigma-star.io/ which I mainly use for longer posts about technical topics.

#introductions #neuhier
❤26:purplestar:1:thermia_heart:1
2 5 26 2