X.KOJIRA.IO
Timeline

JayByte

npub1al2dfgute5qqf5csxxshju4x563mxtlx7w2njkxy043jtu4c6yrq0xrnuy
Autistic and creative. I love programming, slow/async life, privacy, freedom, pantheism and art.

Nostr relay fork: https://gitlab.com/jbyte777/nostr-rs-relay-x

PromptQL: https://gitworkshop.dev/npub1al2dfgute5qqf5csxxshju4x563m…

Tutorials on programming: https://medium.com/@jzx777

================

Another profiles:

- Software Engineering: @nprofile1qqs0r2jc5kfzp224w04g5fkt3e6t4yeamjue4cjv98r2e4y2xjrg87g775lle

- Art: @nprofile1qqsdw6tjlkmm7xkdq4s50mten8rnthnzyfwkmuq74qcj3l7regwjc5q3wvkkx

- Research and analytics: @nprofile1qqszv4u0qjhc3p6qweqqh5nwgavxcnmduhzexvy2p0cy347k5qdr6sg7wckaj
Chicken is AI
Then why time feels slower in adulthood than in teens? 😳️
*to implement the idea
Ok. I wouldn't even reply to the idea of rating system if this idea wasn't potentially disruptive to Nostr protocol. I love Nostr and I don't want to implement it. That's all.
There are already "magic" tools, which can help you with motivation at basic level, implement what you want etc. Why did you ask me to implement the idea in the first place?
> So then competitive force tries to defy it with their antipod version of maximally diversified choices.

It might work for better, but I don't trust it. As it's about speculations without new quality of freedoms and love. So this is a degeneracy in my view.
(fuzzily read some of the papers)

I think competitive side is dominating in the crisis as it's easily reinforced. Resistance to this also evolves, which at some point takes a form of maximally diversified choices of Internet resources, food, lifestyle practices (slow life, meditation), coins etc. So then competitive force tries to defy it with their antipod version of maximally diversified choices. Hence the POLYcrisis in my understanding (hybrid war relates to it). That's what I was trying to convey.

This is reality: I decided to write the post specifically because of risk of increasing collapse of informational infrastructure combined with mass surveillance and reducing freedoms (even if they're cheap: like remote work and open source software). How to make this reality better: it's very hard to decide even if possible at all at large scale. So recently I've fallen for more localized/relativistic view on life combined with ever increasing entropy. I do what's in my current capabilities and in what I love.

> We need to start from mindset shift from polycrisis to metacrisis.

Nah. This works for people, who are self-motivated to learn new paradigms. I already experienced a mind trap in 2010s, assuming that all people are already equally smart and self-motivated (and have common desires for love), they just(!) need "right knowledge". It doesn't work like that. So recently I've fallen into viewing life more like a game in open world like Minecraft with survival mode. Sometimes I write blog post, sometimes create art, sometimes contribute to FOSS, sometimes chilling much. And all this with privacy and diversification of content providers. Reminds me of Y2K Internet heh.
> Why do we always have to *be the Cylons and own everything*, creating yet another enshitified ecosystem?

Hierarchical normies.
Because for midwits it's easier to think in categories with crisp boundaries ("you are either rich, or poor").
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.
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);"
```
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);"
```

nevent1qvzqqqqqqyp…
Found a good website on documentation and examples of SQLite (which is default DB for Nostr relay): https://www.sqlitetutorial.net/sqlite-like/

This helps to write queries which can maintain Nostr relays in healthy state.

#nostr #relay #sqlite #howtosetuprelay
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 [email protected]
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: https://usenostr.org/relay . 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
( and I was younger xD )
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).
Yep. That's why "free open-source" either is an utopia, or can only be maintained by community for long time and persistently in yet scarcity society.

nevent1qvzqqqqqqyp…
Most people think in simple linear way. That's understandable
Yep. JavaScript is a rabbit hole language. Also response body can only be read once and you can guess this behavior only from docs.

nevent1qvzqqqqqqyp…
Because the key point of cyberpunk is "high tech low life". Which is compatible with economic decline due to energy scarcity, and police states powered by digital technology.
It was a fantasy about post-collapse world in 2040s after failure of system with centralized digital control and heavy reliance on "renewable" energy sources like solar PVs. Kinda hybrid of cottagecore with digital technology and human mutants. Some of these mutants are product of collapse from former elites and resist to New Renaissance of people who live in towns and villages where they migrated.
I don't think the human species will go extinct. At the worst this could lead to type I human civilization decline. Like Abkhazia with digital technologies and defragmented "renewable" energy networks.