First draft of yarnd 0.16 release notes. π -- Probably needs some tweaking and fixing, but it's sounding alright so far π #yarnd
Problems are Solved by Method\" π¦πΊπ¨βπ»π¨βπ¦―πΉβ πβ― π¨βπ©βπ§βπ§π₯ -- James Mills (operator of twtxt.net / creator of Yarn.social π§Ά)
Regex Isn't Hard - Tim Kellogg π this is a pretty good conscience article on regexes, and I agree, regex isn't that hardβ’ -- However I think I can make the TL;DR even shorter π
Regex core subset (portable across languages):
Character sets β’ a matches βaβ β’ [a-z] any lowercase β’ [a-zA-Z0-9] alphanumeric β’ [^ab] any char but a or b
Repetition (applies to the preceding atom) β’ ? zero or one β’ * zero or more β’ + one or more
Groups β’ (ab)+ matches βabβ, βababβ, β¦ β’ Capture for extract/substitute via $1 or \1
Operators β’ foo|bar = foo or bar β’ ^ start anchor β’ $ end anchor
Ignore nonβportable shortcuts: \w, ., {n}, *?, lookarounds.
Hmmm there's a bug somewhere in the way I'm ingesting archived feeds π€
sqlite> select * from twts where content like 'The web is such garbage these days%';
hash = 37sjhla
feed_url = https://twtxt.net/user/prologic/twtxt.txt/1
content = The web is such garbage these days π Or is it the garbage search engines? π€
created = 2024-11-14T01:53:46Z
created_dt = 2024-11-14 01:53:46
subject = <a href="?search=37sjhla" class="tag">#37sjhla</a>
mentions = []
tags = []
links = []
sqlite>
Search syntax appears to be:
hello
"hello world"
hello AND world
hello OR world
hello NOT world
"this is a phrase"
FYI: I've re-opened up search for anonymous use. So things like this now work without having to have an account on this pod or login. π #search #twtxt