mattnใใใใใใใจใใใใใพใใ feed2nostr ใงใฎ็งใฎๆๅใฎ PR ใๅใๅ ฅใใฆใใใ ใใพใใใใใใ็งใฎใชใผใใณใฝใผในใฎๆ ใฎๅงใพใใงใใใจใฆใๆ่ฌใใฆใใพใ ๐
Oh kirain duluan ๐
Sering update om buat ytmous? Kalo gak salah Youtube cukup sering ngerubah api mereka kan ya biar gak gampang discrape sama 3rd party (ytmous, invidious, yt-dlp, newpipe, dkk)? Ane inget newpipe pernah gak bisa dipake bentar gara-gara youtube update kode ๐
Males males gitu aja bisa buat banyak proyek ๐
ytmous mirip invidious ya? Tapi lebih duluan ytmous dari invidious?
I also made other projects.
- ytmous - Lightweight YouTube proxy
https://github.com/ytmous/ytmous
- Novelscript - Small, simple, extensive novel script engine
https://github.com/Yonle/novelscript
- Toard/Tird - An imageboard
(Also on my web: https://yonle.lecturify.net/discover.html )
- Live-Repeater - Livestream repeater / proxy
https://github.com/Yonle/live-repeater
(And other ... probably)
Udah berapa lama aktif proyek open source om? Banyak proyeknya ๐
^ True
I find putting an open source ROM on an older phone makes them run much faster. Especially Samsung's! Even a Galaxy S5 can have up-to-date #Android using https://lineageos.org/
And Amethyst flies on this old Pixel 5 I'm typing on. Flies straight into a segfault sometimes, but that's what "app under active development" actually means :-p
Yes, LineageOS is really great especially for older phones which usually don't have support for GrapheneOS. I wish my phone are supported by LineageOS ๐
I see. So the "point" you bring is related to "point" in physics. I thought it is about how dot symbol (46 in ASCII) represents "point" in computer display which shape is actually 2d round object or almost near round object if we print it ๐
What if we look the "point" in microscopic or even atomic level? Maybe the "point" will be shown as an irregular 2d or 3d object that just too small so we perceive it as 1d object ๐
Yes it is still working, if i'm not mistaken the minimum version required is Android 8.0. But yeah, older phone usually have low cpu performance so it is quite slow and much lag ๐
Android has similar problems. Even Amethyst sometimes makes my phone quite hot. Sorry, my phone is not that powerful ๐
There are lighweight alternatives such as Yana, Nostrmo, and Nozzle for Android.
New domain for nostter? ๐
nostter.app seems quite good
Update: It has been restarted successfully. Data starting from November 5, 2023 04:10:00 (Yesterday) should be available since the older data is deleted cause of instance reset (hosted on Huggingface SaaS space demo instance).
Not sure if it is the same case that you want
Usually i just redirect stdout and stderr to proper files:
```
cat filetoread.log | while read -r line;do
echo $line | another_script.sh 1>>/tmp/stdout.log 2>>/tmp/stderr.log
done
```
and run another script tail the error log:
```
tail -F /tmp/stderr.log | while read -r line;do
echo $line | do_whatever.sh
done
```
PSA:
Public demo instance of nostr-filter-relay wss://nostr-id-relay.hf.space will be restarted shortly for 5-10 minutes at November 6, 2023 04:00:00 UTC. Temporary downtime for code update and small improvements. This updates should also make relay handle better websocket connections.
Starting from this week, i will also continue development to implement planned features such as:
- Sentiment analysis
- Hate speech detection
- Topic classification
Any suggestion? If you have found some problems during testing, please let me know. Thank you.
The difference between NIP-46 and how amber sign event is NIP-46 need signer to be 'online' while amber implementation is 'offline' signer right? I think based on that you can probably write new NIP.
> amber is android signer
I think this can be generalized. iOS probably can do similar things like amber uses android intents. Maybe there is similar mechanism. Probably need someone to make amber for iOS first though ๐
More relay implementation? ๐
Did you connect using VPN? Maybe it can helps
Currently, I can connect and get stable connection to relays only when i'm using VPN. Direct connection using my ISP has some problems, easy to disconnect.
May Allah swt grant you with having a good and beautiful family here and hereafter ๐
I wish i can make it too
Today i learned that there are another contender to challenge the throne of Node.js modules as 'the heaviest object' in universe which are Python AI/ML dependencies.
You can try with:
pip install --no-cache-dir detoxify pandas Flask
and build docker image using those dependencies. ๐
Is there anyone know the tricks to solve that whenever you need to deploy and need those dependencies for your apps?
#asknostr #python #machinelearning
Hopefully, more Indonesian translator will participate. Also for other languages. ๐
Btw, so you won't accept any translation PR anymore? Only accept translation via crowdin?
Yes, i think i will prefer this way since not every posts always stay in one language. It just needs good UI so it won't bother common users. They can manually or use auto detected language as default language value before posting. NIP-32 allows regular notes to embed 'l tag' to mark the language
Ideally, it needs to be implemented in some clients as part of their on-boarding process. Unfortunately, i think most clients even don't have clear/good on-boarding steps for new users. If user can pick their language preference (speak) correctly then we can use those with NIP-32 to include language tag in each notes. ๐
Thank you nym (and GPT/LLM if they were used) for the responses. We can see that it is really challenging to make a robust and complex Web of Trust in decentralized network. Such a big homework for relay operator and clients developer to solve all of the issueย ๐
What are the best practices to handle languages on notes? Is this implemented on the protocol level or is it something a client should care of?
For example I'm wondering how I can filter notes and other events on just a specific language. Finding content in my native language is really hard at the moment.
I've found these related NIP proposals (I'm also a Mastodon user):
https://github.com/nostr-protocol/nips/pull/632
This seems somewhat more complicated and it's only the relay which can set the language for a specific event? I think it should be set by user / client and the relay feedback could be used as a fallback (but on the other hand: this makes relay smarter which have to kept as dumb as possible).
https://github.com/arthurfranca/nips/blob/nip-17/17.md#language
#askNostr #devNostr #NostrDev
We have to filter and classify on our own since no guideline probably to cover that ๐
Yes, nostr-filter comments come from upstream (imksoo/nostr-filter), haven't touch any of those yet. imksoo-san primarily makes this mainly for their Japanese relay at first. I can understand a bit based only on the code written ๐
Thank you, hopefully the code will be quite easy to read, please bear with me if it is not quite clean ๐
Thank you. Yes, it acts like frontend proxy before forwarding any request into the backend (strfry internal relay). However, RELAYS_SOURCE determines where to fetch/aggregate Nostr events (kind 1) before classifying them into various category and send them into target relay (strfry internal relay). UPSTREAM_WS_URL is the correct one for settings which relay to be the target of proxy. I have run several tools in this docker image, maybe it makes a bit confusing ๐
Maybe try these, i am not a developer so i don't know, but people use it
Yes, it will be easier to use those libraries to start nostr project instead of writing all the things from scratch ๐
Hello #nostr, this is my first note, after mostly lurking as silent reader for a while ๐
Happy to introduce my first nostr project, https://github.com/atrifat/nostr-filter-relay , an aggregator filter relay which classify notes/posts into various category. This relay can be used mainly as "Global" relay in nostr clients, helping users to filter their global feed.
Currently, it has already several filtering features (also planned features listed):
- Language detection
- Not SFW or SFW image content detection
- User type filtering (Nostr non-bridged/regular user, activitypub/mostr pub bridged user)
- (Planned) Sentiment analysis
- (Planned) Topic classification
- (Planned) Hate speech detection
Feel free to check "USAGE" docs in Github for more information and examples on how to use the relay.
There is a public demo (beta/test) relay wss://nostr-id-relay.hf.space for those who can't run their own nostr-filter-relay software. Feel free to test the relay, although the performance is not always guaranteed, since this is only a test server.

