Working with the author of this little skeleton that is _attempting_ to try to demonstrate how to use FFI with Flutter on both Android and iOS -- Useful in in first-class Mobile App for Salty.im without having to rewrite all our client/crypto Go code in Dart (_uggh 🤮_) cc @eaplmx #Salty.im #Flutter #FFI_
Working with the author of this little skeleton that is _attempting_ to try to demonstrate how to use FFI with Flutter on both Android and iOS -- Useful in in first-class Mobile App for Salty.im without having to rewrite all our client/crypto Go code in Dart (_uggh 🤮_) cc @eaplmx #Salty.im #Flutter #FFI_
Working with the author of this little skeleton that is _attempting_ to try to demonstrate how to use FFI with Flutter on both Android and iOS -- Useful in in first-class Mobile App for Salty.im without having to rewrite all our client/crypto Go code in Dart (_uggh 🤮_) cc @eaplmx #Salty.im #Flutter #FFI_
Also this link is a better view (ignoring whitespace ahgnes).
This function is used by two kinds of buttons that are nested differently and have different DOM structure. You'll have to write two different versions of this function, or find a better way to match the button(s).
Also this link is a better view (ignoring whitespace ahgnes).
This function is used by two kinds of buttons that are nested differently and have different DOM structure. You'll have to write two different versions of this function, or find a better way to match the button(s).
#1010 - Add support for indexing and searching an archive - yarn - Mills
cc @jlj @darch @xuu @eldersnake @abucci -- Let me know what you think of the interface, capabilities and so on. I plan to integrate this soon into the Web UI and API for
yarnd 🤞
#1010 - Add support for indexing and searching an archive - yarn - Mills
cc @jlj @darch @xuu @eldersnake @abucci -- Let me know what you think of the interface, capabilities and so on. I plan to integrate this soon into the Web UI and API for
yarnd 🤞
> Another risk on a persistent comment system is to remember to have a way to moderate the posts, since you need to control what gets on your page and can potentially stay there forever.
This ☝️ There will be zero ways to "moderate" or "filter" such content if one were to use teh soon and upcoming search of any given Yarn.social pod. The only way for a user to filter content or hide things is to have an account on said pod where things like "hidden twts" and "muted feeds" can be taken into account.
It _might_ be possible to do things like "exclusion matches" and such, but now that's getting into some tricky territory. Oh well, let's see how it goes 😅 -- Google already indexes all pods anyway 🤣
> Another risk on a persistent comment system is to remember to have a way to moderate the posts, since you need to control what gets on your page and can potentially stay there forever.
This ☝️ There will be zero ways to "moderate" or "filter" such content if one were to use teh soon and upcoming search of any given Yarn.social pod. The only way for a user to filter content or hide things is to have an account on said pod where things like "hidden twts" and "muted feeds" can be taken into account.
It _might_ be possible to do things like "exclusion matches" and such, but now that's getting into some tricky territory. Oh well, let's see how it goes 😅 -- Google already indexes all pods anyway 🤣
> @tkanos dropped by to say hello and showed us his strange hotel room
Nevermind 😅
> @tkanos dropped by to say hello and showed us his strange hotel room
Nevermind 😅
=> https://meet.jit.si/Yarn.social
cc @xuu if it's not too late for you 🤞=
=> https://meet.jit.si/Yarn.social
cc @xuu if it's not too late for you 🤞=
$ time ./index_archive ./data
...
ERRO[1046] error decoding archived twt data/archive/fd/bcbe3e.json error="unexpected end of JSON input"
ERRO[1048] error decoding archived twt data/archive/fe/51cf5a.json error="unexpected end of JSON input"
real 17m35.719s
user 16m42.758s
sys 3m48.809s
There were (sadly) 332 broken archived twts my archive 😢
Other interesting tidbits:
$ du -s -h data/archive/
5.0G data/archive/
$ du -s -h data/index/
555M data/index/
@xuu Feel like working on an archive compaction? 😅
$ time ./index_archive ./data
...
ERRO[1046] error decoding archived twt data/archive/fd/bcbe3e.json error="unexpected end of JSON input"
ERRO[1048] error decoding archived twt data/archive/fe/51cf5a.json error="unexpected end of JSON input"
real 17m35.719s
user 16m42.758s
sys 3m48.809s
There were (sadly) 332 broken archived twts my archive 😢
Other interesting tidbits:
$ du -s -h data/archive/
5.0G data/archive/
$ du -s -h data/index/
555M data/index/
@xuu Feel like working on an archive compaction? 😅
- We really don't care about old content so much or what people said in the past
- We really should get away from the notion of "oh buy you said blah blah"
Elaborating on my 2nd opinion, it is dangerous to make it easy to pull up what someone said or had an opinion on in the past. What if they have since changed their mind? What if they no longer believe in what they once said? What if it was something stupid and nefarious person(s) can/will hold that "post" accountable to them?
The _reason_
yarnd does this sort of thing in the first place is two-fold:- It's an optimization and keeps Pods limited in "scale" (by design)
- It's a feature my old man talked to me about that I also believe in (see above).
- We really don't care about old content so much or what people said in the past
- We really should get away from the notion of "oh buy you said blah blah"
Elaborating on my 2nd opinion, it is dangerous to make it easy to pull up what someone said or had an opinion on in the past. What if they have since changed their mind? What if they no longer believe in what they once said? What if it was something stupid and nefarious person(s) can/will hold that "post" accountable to them?
The _reason_
yarnd does this sort of thing in the first place is two-fold:- It's an optimization and keeps Pods limited in "scale" (by design)
- It's a feature my old man talked to me about that I also believe in (see above).
yarnd. First task, see how long it takes to walk the archive:
$ time ./index_archive ./data
...
INFO[0489] Twt 7776khq
INFO[0489] Twt vkkyqca
real 8m9.652s
user 7m35.754s
sys 2m31.565s
yarnd. First task, see how long it takes to walk the archive:
$ time ./index_archive ./data
...
INFO[0489] Twt 7776khq
INFO[0489] Twt vkkyqca
real 8m9.652s
user 7m35.754s
sys 2m31.565s
a or q 🤔
a or q 🤔
$ yarnd --help 2>&1 | grep 'max-cache'
--max-cache-fetchers int set maximum numnber of fetchers to use for feed cache updates (default 12)
-I, --max-cache-items int maximum cache items (per feed source) of cached twts in memory (default 150)
-C, --max-cache-ttl duration maximum cache ttl (time-to-live) of cached twts in memory (default 240h0m0s)
But you would have to supply insanely large values. Better solution would be to improve the search codebase and then incorporate those improvements (hopefully in a reusable way) into
yarnd itself so we can index and search the archive.
$ yarnd --help 2>&1 | grep 'max-cache'
--max-cache-fetchers int set maximum numnber of fetchers to use for feed cache updates (default 12)
-I, --max-cache-items int maximum cache items (per feed source) of cached twts in memory (default 150)
-C, --max-cache-ttl duration maximum cache ttl (time-to-live) of cached twts in memory (default 240h0m0s)
But you would have to supply insanely large values. Better solution would be to improve the search codebase and then incorporate those improvements (hopefully in a reusable way) into
yarnd itself so we can index and search the archive.
$14.45 USD? I have a _virtual_ MasterCard here that apparently I can't even use (_can only use in the US 🙄_) that I got from a class action suit. First US Yarn.social netizen to respond gets it 😅 (_of course you'll have to figure out how to securely reach me too and all that, Email? Signal? Salty Chat? 😅)NO THIS IS NOT A SCAM 🤣
$14.45 USD? I have a _virtual_ MasterCard here that apparently I can't even use (_can only use in the US 🙄_) that I got from a class action suit. First US Yarn.social netizen to respond gets it 😅 (of course you'll have to figure out how to securely reach me too and all that, Email? Signal? Salty Chat? 😅)NO THIS IS NOT A SCAM 🤣_
$14.45 USD? I have a _virtual_ MasterCard here that apparently I can't even use (_can only use in the US 🙄_) that I got from a class action suit. First US Yarn.social netizen to respond gets it 😅 (of course you'll have to figure out how to securely reach me too and all that, Email? Signal? Salty Chat? 😅)NO THIS IS NOT A SCAM 🤣_
- Check for dead feeds, and remove from cache
- Check for dead feeds and remove from User's Followers
- Check for redirects and rewrite urls
- etc...
- Check for dead feeds, and remove from cache
- Check for dead feeds and remove from User's Followers
- Check for redirects and rewrite urls
- etc...
Twter list => https://gist.githubusercontent.com/prologic/7c1bf78a4134fc582abfd4fd7d2a1516/raw/ea7634071006f00c82d44ab6d7989ef420568ffe/gistfile1.txt=
Twter list => https://gist.githubusercontent.com/prologic/7c1bf78a4134fc582abfd4fd7d2a1516/raw/ea7634071006f00c82d44ab6d7989ef420568ffe/gistfile1.txt=