parent
3b77099bec
commit
0e01664cfb
|
@ -1 +1 @@
|
|||
# See Makefile and maitenance.md
|
||||
# See Makefile and `explore/README.md`
|
|
@ -33,6 +33,18 @@ Seen repos
|
|||
Fully indexed repos
|
||||
`select count(*) from repos where last_indexed_rev <> '' and (last_indexed_rev >= first_rev_since_reset or first_rev_since_reset is null or first_rev_since_reset = '');`
|
||||
|
||||
Get list blocks
|
||||
|
||||
non-partitioned (very slow)
|
||||
|
||||
```
|
||||
select count(*) from (select distinct repo from records where collection in ('app.bsky.graph.listblock') and content['subject']::tex
|
||||
t like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');
|
||||
```
|
||||
|
||||
partitioned (slow)
|
||||
`select count(*) from (select distinct repo from records_listblock where content['subject']::text like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');`
|
||||
|
||||
Count all records
|
||||
|
||||
`analyze records; select relname, reltuples::int from pg_class where relname like 'records';`
|
||||
|
@ -51,4 +63,23 @@ SELECT pid, age(clock_timestamp(), query_start), state, query
|
|||
FROM pg_stat_activity
|
||||
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
|
||||
ORDER BY query_start asc;
|
||||
```
|
||||
|
||||
Explore new collection types
|
||||
|
||||
```
|
||||
select * from records where collection not in (
|
||||
'app.bsky.actor.profile',
|
||||
'app.bsky.feed.generator',
|
||||
'app.bsky.feed.like',
|
||||
'app.bsky.feed.post',
|
||||
'app.bsky.feed.repost',
|
||||
'app.bsky.feed.threadgate',
|
||||
'app.bsky.graph.block',
|
||||
'app.bsky.graph.follow',
|
||||
'app.bsky.graph.listitem',
|
||||
'app.bsky.graph.list',
|
||||
'app.bsky.graph.listblock'
|
||||
) limit 20;
|
||||
|
||||
```
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"$type": "app.bsky.actor.profile",
|
||||
"avatar": {
|
||||
"ref": {
|
||||
"/": "bafkreihcxxwlssxseaxa2dclcci3l6qpnhy25igjqmqhig44iddlxneymm"
|
||||
},
|
||||
"size": 169608,
|
||||
"$type": "blob",
|
||||
"mimeType": "image/jpeg"
|
||||
},
|
||||
"banner": {
|
||||
"ref": {
|
||||
"/": "bafkreiejgeq5mo4kxx5s4t3jpmxxr3kirdgv7ozkvfm4hfh3p7eaow6xyu"
|
||||
},
|
||||
"size": 272387,
|
||||
"$type": "blob",
|
||||
"mimeType": "image/jpeg"
|
||||
},
|
||||
"labels": {
|
||||
"$type": "com.atproto.label.defs#selfLabels",
|
||||
"values": [
|
||||
{
|
||||
"val": "!no-unauthenticated"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "Full time parent, part time gamer. [He/Him]\n\nNeurodivergent [AuDHD] Demi 🦜\n\nSci-fi/Fantasy, video games, music, cats, anime, horror, crows, clothing, and human cognition are my jam. Not the extent of my interests - just what I'm willing to admit 😁 [NSFW]",
|
||||
"displayName": "Flux 🤍🩶💜🖤"
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"did": "did:web:skyfeed.me",
|
||||
"$type": "app.bsky.feed.generator",
|
||||
"createdAt": "2024-02-11T18:10:26.365Z",
|
||||
"description": "絵描きさんと繋がりたい\n創作クラスタさんと繋がりたい\nクラスタフォロー\nの単語が含まれているPostのフィードです",
|
||||
"displayName": "絵描きさん探し",
|
||||
"skyfeedBuilder": {
|
||||
"blocks": [
|
||||
{
|
||||
"id": "aaajsgtnqrcm6",
|
||||
"did": "did:plc:l425td4tg5lq7y5gsrvfyhp5",
|
||||
"type": "input",
|
||||
"inputType": "firehose",
|
||||
"firehoseSeconds": 604800
|
||||
},
|
||||
{
|
||||
"id": "aaajsgtnqqgya",
|
||||
"type": "remove",
|
||||
"subject": "language",
|
||||
"language": "ja"
|
||||
},
|
||||
{
|
||||
"id": "aaajsgtnqqobo",
|
||||
"type": "regex",
|
||||
"value": "絵描きさんと繋がりたい|創作クラスタさんと繋がりたい|クラスタフォロー",
|
||||
"target": "text|alt_text",
|
||||
"caseSensitive": false
|
||||
},
|
||||
{
|
||||
"id": "aaajsrd2o422c",
|
||||
"type": "remove",
|
||||
"value": "0",
|
||||
"subject": "image_count"
|
||||
},
|
||||
{
|
||||
"id": "aaajsgtnqsjne",
|
||||
"type": "sort",
|
||||
"sortType": "created_at",
|
||||
"sortDirection": "desc"
|
||||
}
|
||||
],
|
||||
"license": "EUPL-1.2",
|
||||
"displayName": "絵描きさん探し"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"$type": "app.bsky.feed.like",
|
||||
"subject": {
|
||||
"cid": "bafyreiacuywksad5m72btsueyedsirbfamtovqdfdof2ulg2io7oofziv4",
|
||||
"uri": "at://did:plc:iq5uninsn3ovpycv7rkth3ik/app.bsky.feed.post/3kjbob2uwra25"
|
||||
},
|
||||
"createdAt": "2024-02-06T15:23:11.641Z"
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"text": "Чесно кажучи це один з найкращих епізодів, на ряду з безсмертним другом",
|
||||
"$type": "app.bsky.feed.post",
|
||||
"langs": [
|
||||
"uk"
|
||||
],
|
||||
"reply": {
|
||||
"root": {
|
||||
"cid": "bafyreienbpdlpqqwcovc56lgao2botzjleuqjocitapq5f2eficz2j2hdy",
|
||||
"uri": "at://did:plc:wymxmgvtvzuumvldtnz76aez/app.bsky.feed.post/3kjr2i3gsl22v"
|
||||
},
|
||||
"parent": {
|
||||
"cid": "bafyreienbpdlpqqwcovc56lgao2botzjleuqjocitapq5f2eficz2j2hdy",
|
||||
"uri": "at://did:plc:wymxmgvtvzuumvldtnz76aez/app.bsky.feed.post/3kjr2i3gsl22v"
|
||||
}
|
||||
},
|
||||
"createdAt": "2024-01-24T23:37:39.813Z"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"$type": "app.bsky.feed.repost",
|
||||
"subject": {
|
||||
"cid": "bafyreiglj4rlihlxraqqr7wvea2zybrk3ddugwk42qwiemwrytvnchc4hy",
|
||||
"uri": "at://did:plc:zvouh5woyfppe4gp6er354dl/app.bsky.feed.post/3kj3gjrmn7r2o"
|
||||
},
|
||||
"createdAt": "2024-01-16T12:28:45.555Z"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"post": "at://did:plc:gfrzrhrhzfrocrqnnutnuhk4/app.bsky.feed.post/3kgbzbuxh462c",
|
||||
"$type": "app.bsky.feed.threadgate",
|
||||
"allow": [],
|
||||
"createdAt": "2023-12-11T18:07:47.314Z"
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"$type": "app.bsky.graph.block",
|
||||
"subject": "did:plc:yp6otbdle4znllf2wxf5vrzx",
|
||||
"createdAt": "2023-11-16T17:20:56.410Z"
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"$type": "app.bsky.graph.follow",
|
||||
"subject": "did:plc:cwcgqihgua35pkw6j4iqvv7o",
|
||||
"createdAt": "2023-09-19T13:31:21.477Z"
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
[
|
||||
{
|
||||
"name": "絵師",
|
||||
"$type": "app.bsky.graph.list",
|
||||
"purpose": "app.bsky.graph.defs#curatelist",
|
||||
"createdAt": "2024-02-07T03:28:14.317Z",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "AI Art Bros",
|
||||
"$type": "app.bsky.graph.list",
|
||||
"avatar": {
|
||||
"ref": {
|
||||
"/": "bafkreicsl3dkam2uswcmck3j7xt7nvqwuxnpwydnkqeu5ncsgf22er46iu"
|
||||
},
|
||||
"size": 58526,
|
||||
"$type": "blob",
|
||||
"mimeType": "image/jpeg"
|
||||
},
|
||||
"purpose": "app.bsky.graph.defs#modlist",
|
||||
"createdAt": "2024-02-07T21:29:36.219Z",
|
||||
"description": "A list of ai art makers. We like to put our soul in our art. Get outta here! This list will expand overtime as I catch em >:D"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"$type": "app.bsky.graph.listblock",
|
||||
"subject": "at://did:plc:aobkgz6khzavtdmd5ng3ilme/app.bsky.graph.list/3k6xopgz3xc23",
|
||||
"createdAt": "2024-01-05T23:19:05.067Z"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"list": "at://did:plc:nqouwdgddza2z3vwlxs73t4x/app.bsky.graph.list/3kksd6ja5622n",
|
||||
"$type": "app.bsky.graph.listitem",
|
||||
"subject": "did:plc:rd5rkwppbfxlfegsyddk24oz",
|
||||
"createdAt": "2024-02-07T03:28:23.842Z"
|
||||
}
|
Loading…
Reference in New Issue