Avatar
Rif'at Ahdi R
2b67e480b7f99d2835684a8f7276d86edbe8e318ea55cf77ccfd559c5f24f645
Special family-friendly relay with filter settings (Language, Safe For Work, Hate speech, Sentiment, Topic, etc) for Global Feed: https://github.com/atrifat/nostr-filter-relay/blob/main/USAGE.md wss://nfrelay.app Indonesian. Learning and interested in PHP, JS, Go, DevOps, Android, and Machine Learning

Test of nostr-filter-relay new feature in dev branch.

The following comment reply below will have inappropriate comment, hidden with NIP-36. The comment(s) are some toxic comment, insult, or hate speech. I'm sorry, this is only test for nostr-filter-relay new features πŸ™

If you are a casual user (want to play some popular games in GNU/Linux) then you can probably pick PopOS. It is based on Ubuntu but have been integrated with Nvidia drivers out of the box (don't need to do hassle setup). If you are not familiar to setup drivers for your GPU then PopOS really helps with that.

If you have just migrated from Windows and still learning about Linux environment then Kubuntu is quite good for transition.

If you want challenge, have lots of time to tweak or even debug some unexpected error then Arch linux is your friend πŸ˜„

Kebanyakan mereka k-poper, mereka gabung bareng temen-temennya saat itu. Mereka kira nostr itu adalah proyek bluesky yg disponsori sama Jack. Setelah tahu bluesky launching beneran pada banyak yg stop main nostr karena merasa salah make app.

Inget banget saat mereka bilang Amethyst "soang ungu" πŸ˜„

I was really afraid in the morning whether my laptop components were melted or not πŸ˜…

Can't zap you, noy sure why πŸ˜…

There is bug report related to this, not sure if you were also affected. I think Vitor and KotlinGeekDev have been aware of the issue and might prepare the bug fix later

https://github.com/vitorpamplona/amethyst/issues/688

By the way, not sure whether if you can read this comment, unless you also enable free relay to read πŸ˜…

I have once run visual object tracking code overnight using GPU in laptop. Makes my laptop achieve 87Β° C πŸ˜…

Replying to Avatar elsat

nostr:npub19dn7fq9hlxwjsdtgf28hyakcdmd73cccaf2u7a7vl42echey7ezs2hwja7

has the following relay in his profile. I havent dug into the effectiveness or how it works.

Yes, nostr:npub1zafcms4xya5ap9zr7xxr0jlrtrattwlesytn2s42030lzu0dwlzqpd26k5

nostr-filter-relay is configurable relay with several parameters. If you are familiar with filter.nostr.wine then you might easily understand how nostr-filter-relay work.

There are many examples (with different parameters relay) documented in USAGE https://github.com/atrifat/nostr-filter-relay/blob/main/USAGE.md

In nostr:npub12z8jsett3k6rv9fa2guau5p540qr2xuvjzkr8e432mglafjt99sqkw9zmx case, it can support her works actually as shown in illustration example:

"I want to make a specialized Nostr client for non sfw content creator (pornhubstr). I don't need any sfw/regular content"

wss://nostr-id-relay.hf.space/?content=nsfw

And vice versa:

"My Nostr client is s*cks. It doesn't have any settings or toggle button to filter Non SFW or sensitive content"

wss://nostr-id-relay.hf.space/?content=sfw

Users can freely customize relay settings using different parameters based on their needs. Feel free to test them. πŸ™‚

Yes, it is known issue. I think Vitor and KotlinGeekDev has already aware of the issue and might prepare the bug fix later

https://github.com/vitorpamplona/amethyst/issues/688

https://unifiedpush.org πŸ‘€

Maybe, you can probably release two versions of Damus Android in the future:

- Google Play version (using FCM)

- FOSS version (unifiedpush)

Amethyst have done that.

Fast and reliable even for the old phone. Since not all android users using (can afford) the latest android phone. πŸ˜…

It's possible tho. As long as the quincy arc finished properly and become success (make a lot of money for author and production studio) they might continue on hell arc later πŸ˜…

Replying to Avatar Rif'at Ahdi R

Early working code (PoC) for Hate speech (Toxic content) detection

https://github.com/atrifat/hate-speech-detector-api

This API server will be included as part of dependency for nostr-filter-relay.

#machinelearning #deeplearning

Update:

A public demo instance is available on HuggingFace Space - https://atrifat-hate-speech-detector-api-demo.hf.space. There is no guarantee for the uptime, but feel free to test this API server.

There is no Graphical UI (yet), so we can test it using tools like Postman, Reqbin, or Curl:

curl https://atrifat-hate-speech-detector-api-demo.hf.space/predict --header "Content-Type: application/json" --request POST --data '{"api_key":"", "q":"good morning"}'

Reqbin test tool: https://reqbin.com

nostr:nevent1qqsfk3xg82zpugnr25wp6punjvggltz64twuu8hypfa6cxd74zrsz9gpr4mhxue69uhkummnw3ez66ty94ex2mrp0yhxse3wwdcxzcm9qgszkelyszmln8fgx45y4rmjwmvxaklguvvw54w0wlx064vutuj0v3grqsqqqqqpaj4a4p

Early working code (PoC) for Hate speech (Toxic content) detection

https://github.com/atrifat/hate-speech-detector-api

This API server will be included as part of dependency for nostr-filter-relay.

#machinelearning #deeplearning

Thank you. Yes, it helps. I take the water every 15 or 30 minutes to stay hydrated and stay focus. Usually before or after lunch, i need to go to the restroom as the result. πŸ˜…

Have you ever got some headache whenever working in a long time in front of PC/laptop? How did you manage to work for a long time in those condition?

I can barely stay for 3-4 hours in a day, before i got hit with headache.

#asknostr

Dear scraper from Hetzner Server (IP Censored). What do you need for 52 connections simultaneously opened? πŸ˜…

You can send multiple REQ subscribe in single connection actually to the relay. It will be more efficient. Thank you.

Reading manually, one by one, for thousands of data makes me remember how i've done my undergraduate theses "Comparison of Naive Bayes smoothing methods for Twitter Sentiment Analysis". It takes quite a toll and focus to finish that. πŸ˜…

Oh no, i did not say that. I am not sure if you read my previous comment using Japanese translation or not. Maybe there are some incorrect translation, kohei-san. πŸ˜…

What i mean is, "Relay softwares can accept TOR connection as long as Relay owner allow it. Usually, it will depends on relay owner."

Update:

There were 4358 sample data classified as potential toxic notes/posts from 75000+ total notes/posts within 24 hours, with minimum classification thresold score of 0.2.

I will take a look manually to see how the data behave. Hopefully, it won't 'poison' much to read them πŸ˜…

nostr:nevent1qqs9xr3aegytyds0fmlwz0x2pzyaafccedxy9emjrj5589ltwwwcuyspp4mhxue69uhkummn9ekx7mqzyq4k0eyqklue62p4dp9g7unkmphdh68rrr49tnmhen74t8zlynmy2qcyqqqqqqg6udx7n

Congrats Vitor, wish you in the goodness. Thank you for your works. πŸŽ‰

It's fascinating that there are lightweight models that can achieve 'real time' or at least 'near real time' under 100ms.

One of those models is from detoxify (unbiased-small) which achieves evaluation score of 93.74 (Top Performer score: 94.73).

nostr:nevent1qqs9xr3aegytyds0fmlwz0x2pzyaafccedxy9emjrj5589ltwwwcuyspp4mhxue69uhkummn9ekx7mqzyq4k0eyqklue62p4dp9g7unkmphdh68rrr49tnmhen74t8zlynmy2qcyqqqqqqg6udx7n

Let's see how the data will be formed after 24 hours πŸ‘€

WIP - Hate Speech detection