This little experiment also could relate to what consciousness is. Consciousness develops when there are limits on certain quality of observer's world (space, time, natural resources etc.), so it needs to integrate things from unobserved qualities. From this it's interesting how euphoria could be the main driver for development of people instead of fear and suffering, which are wired semi-subconsciously for adaptation in natural scarcity settings. Limited brain capacity and scalability also means that quantity of thing is perceived relatively to observer's capacity, thus bigger availability means lower producibility after certain optimal point at which consciousness integrates the local maxima, so euphoria naturally at maximum is non-stable driver for development. Solutions to this problem potentially lay in constant individual health and individual safety maintenance and constant interest to discover and build divergent and complex things, but many of them are still subjects either to resource scarcity, or semi-subconscious thrive for intraspecific competition which reinforces resource scarcity. That's why spirituality and education matter, but they're not enough alone as spirituality is inseparable from matter and energy...
#consciousness #maths #experiment #algorithms #simulation
P.S. 21st century or recent relay development has shown, what "free" means to people with relatively low consciousness.
View quoted note →
JayByte
npub1al2d...rnuy
Software Engineer. I love slow/async life, privacy, personal freedom, nature, pantheism and art.
Nostr relay fork:
https://gitlab.com/jbyte777/nostr-rs-relay-x
Tutorials on programming:
https://medium.com/@jzx777
PGP: 6D12 369B 03ED 0C5C 835B F71F 8945 685A 7F70 B06E
Hit blackout for 6 hours straight >_<
I think, best definition of "cohesion vs. coupling" is:
cohesion is "how?"
coupling is "why?"
From this it's clear, why MVPs and new features start from spaghettish mess and then some of them lean towards ideal architecture of "low coupling + high cohesion", which promotes modules with single domain or functional responsibility and simplest interfaces between them as possible. Also this probably applies to social development of compressing the same entropy of conscious entity into single individual (from which the partial case is individualism), making social networks more intricate.
#blog #coupling #cohesion #thoughts
Realtopia


I did Rust coding last time before when I was young programmer who built Mealy machine library and testing Polkadot pallete for some web3 company. Being just creative monk reinventing wheels :D


GitLab
JByte / fsm-rust · GitLab
Old FSM (Mealy machine) library written in Rust in beginning of 2021
*come back from some Rust coding and chores*
If you truly want free Internet with Nostr, then what was your last time when you built something for Nostr? What was your last time when you maintained relay? When did you donate sats for Nostr developers and maintainers? To which developers and maintainers? When did you teach people programming their own RSS-ish and p2p tech? When you built these tech for the last time? What tech you built for the free Internet?
And here's the harsh truth about freedom of speech and centralization. Bitcoin maxis and lolbertarians may disagree with it, but I need to share it. Some people who do decadent slopposting, s%tposting and spamming, just deserve censorship and high control over their activities in the media. They're not only just consooomers, this is okay, especially in young and crises periods. They parasitize on relays maintained from just good heart, promoting their destructive agendas or just sh%tpost, rendering progressive technology of higher conscious entropy as meaningless and reinforcing justification of censorship and one-party control. Also that's why creative clubs of interests has been disappearing, because some people just exploit this social model solely for their self-profit gains, ignoring well-being of people.
#blog #nostr #thoughts #relay #freedomofspeech #freeinternet
To make it clear what cottagepunk is: this aesthetic integrates rural/provincial living, autonomish industrial technologies: semi-handcrafted solar PVs, wind turbines, bathing, 3D printers and computers, and autonomish Internet technologies and organizations: cryptocurrencies, RSS feeds, BBS-like networks, startups and e-commerce. It is not simply a retrograde culture which is not sustainable and prosperous in modern world for obvious reasons. It is a blend of cottagecore basis with self-conscious selection and creation of new technologies. So this culture incorporates both DIY farming, craft, constructed languages and digital nomadism, alternate biology (occasional, with rat-human collapsed elites, pig-human collapsed simple consooomers, catbois, catgirls who evolve from humans by metamorphosis).
The cottagepunk has been created since 2023 when I moved to small town with my ThinkPad laptop and wrote programming tutorials on building distributed networking technology.
For brief example, these pictures are of cottagepunk aesthetic stemmed from the post-cyberpunk 2040s fiction.
View quoted note →
#cottagepunk #postcyberpunk
Custom Nostr #relay for #cottagepunk
Those will also believe that crypto caused electric blackouts lol
Those yearnings of 100 IQ monkeys who can't do basic maths, systems and believe.
Thank you dudes who run noisy bots :3
Test
P.S. The correct version of the command for deletion of events is:
```
#!/usr/bin/env bash
sqlite3 /path/to/nostr-relay/nostr.db "DELETE FROM event WHERE created_at < CAST(strftime('%s', datetime('now', '-365 days')) as INTEGER);"
```
View quoted note →
Found a good website on documentation and examples of SQLite (which is default DB for Nostr relay):
This helps to write queries which can maintain Nostr relays in healthy state.
#nostr #relay #sqlite #howtosetuprelay

SQLite Tutorial
SQLite LIKE - Querying Data Based On Pattern Matching
This tutorial shows you how to use SQLite LIKE operator to query data based on pattern matching using two wildcards: percent sign % and underscore _
SOOOOOOOOQA
Also. Learn at least programming, OSes, basic technology, maths, history and biology. Preserve your knowledge and build new stuff as much as you can. Every technology is prone to unclear patches which serve primarily for monkeyish political gain.
Recently I've set up my own Nostr relay. The key strugles during my setup of nostr-rs-relay were:
1. Assuming that Caddy would issue SSL certificate for bare IP address. It doesn't even though it is possible to issue SSL certificate for bare IP address. Before publish your relay, be sure you set up a domain and linked it to your VPS. And then configured it in the Caddyfile like so:
```
your-relay-domain.com {
reverse_proxy 127.0.0.1:8080 # internal IP of your Nostr relay
tls your-email@example.com
log {
output file /var/log/caddy/nostr.log {
roll_size 1gb
roll_keep 1
roll_keep_for 720h
}
}
}
```
Then after restarting Caddy, it sets up SSL certificate for domain automatically.
2. Setting up cleanup cron job for too old Nostr events for preserving disk space. It wasn't very obvious, that the `datetime` function will return valid date with two flags set: 'now' and 'unixepoch', so I covered it with the `strftime` function and then casted to integer:
```
#!/usr/bin/env bash
sqlite3 /path/to/nostr-relay/nostr.db "DELETE FROM event WHERE CAST(strftime('%s', datetime('now', '-365 days')) as INTEGER);"
```
Before taking these notes into account, follow standard path of installing nostr-rs-relay and Caddy. For example: . Or you can ask LLM and follow instructions with good knowledge of Linux based systems. And configure separate user (for ex. `deploy`) which has full read/write/execute permissions to Nostr relay directory and directory where you would store cleanup script.
You can test your relay with the Go CLI util nak:
```
nak event -c "Hello from the nostr :3 ^_^" wss://your-relay-domain.com
```
#blog #nostr #relay #howtosetuprelay #caddy
Join Nostr
I don't want to live in dystopian future where technologies and knowledge are controlled only by few corporations and governments, because it will lead to harsh civilizational collapse of declining monotheistic paradigm with endless covering competition and scarcity mentality. With free global Internet and digital nomadism, there's at least a good possibility of recovering of humanity to new quality of life and freedoms with FOSS and free scientific knowledge bases. So I did my little part in preserving Nostr and I want to share my notes on setting up Nostr relay :p
#blog
Haha. I remember times when I contributed for free software so much. One time was when I was a teenager who built and designed arcade game with custom game mechanics from lowest level. Further times were when I did cognitively easy-peasy frontend job (tho project was big).