# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 10
# self = https://watcher.sour.is/conv/xyiy3da
Random thought: Would be great if you could do for i in ...; do something "$i" & done ; wait in a Shell script, but with the Shell only spawning one process per CPU.
Random thought: Would be great if you could do for i in ...; do something "$i" & done ; wait in a Shell script, but with the Shell only spawning one process per CPU.
Random thought: Would be great if you could do for i in ...; do something "$i" & done ; wait in a Shell script, but with the Shell only spawning one process per CPU.
@movq Isn’t this what parallel is good for?
@movq Isn’t this what parallel is good for?
Good idea. Plan 9 sets $NPROC on boot to the number of cores, so other things can use it. mk will dispatch things in just that way.
Good idea. Plan 9 sets $NPROC on boot to the number of cores, so other things can use it. mk will dispatch things in just that way.
@prologic You mean this? https://www.gnu.org/software/parallel/ Yeah, that works. xargs might suffice, too. The thing is, you’ll have to structure your program in a specific way for these tools to work. Can be done, sure, but if for had this built in, it would be easier. 😊
@prologic You mean this? https://www.gnu.org/software/parallel/ Yeah, that works. xargs might suffice, too. The thing is, you’ll have to structure your program in a specific way for these tools to work. Can be done, sure, but if for had this built in, it would be easier. 😊
@prologic You mean this? https://www.gnu.org/software/parallel/ Yeah, that works. xargs might suffice, too. The thing is, you’ll have to structure your program in a specific way for these tools to work. Can be done, sure, but if for had this built in, it would be easier. 😊