A small tool to view real-world ActivityPub objects as JSON! Enter a URL
or username from Mastodon or a similar service below, and we'll send a
request with
the right
Accept
header
to the server to view the underlying object.
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"ostatus": "http://ostatus.org#",
"atomUri": "ostatus:atomUri",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"conversation": "ostatus:conversation",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount",
"expiry": "toot:expiry",
"Hashtag": "as:Hashtag"
}
],
"id": "https://qoto.org/users/freemo/statuses/105428039966398348",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2020-12-23T06:17:03Z",
"url": "https://qoto.org/@freemo/105428039966398348",
"attributedTo": "https://qoto.org/users/freemo",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://qoto.org/users/freemo/followers",
"https://groups.qoto.org/users/math",
"https://groups.qoto.org/users/math/followers"
],
"sensitive": false,
"atomUri": "https://qoto.org/users/freemo/statuses/105428039966398348",
"inReplyToAtomUri": null,
"conversation": "tag:qoto.org,2020-12-23:objectId=105428039966397962:objectType=Conversation",
"context": "https://qoto.org/contexts/105428039966397962",
"content": "<p><span class=\"h-card\"><a href=\"https://groups.qoto.org/@math\" class=\"u-url mention\">@<span>math</span></a></span> </p><p>Early rough draft, haven't proof read it yet. But just wanted to share the math behind creating an efficient Exponential Moving Average with a finite length/cut off. I found this was needed for a project I am working on where the EMA much be determined by random access to various points in a time series and couldn't be calculated for the entire time series in one go.</p><p>I needed to modify the EMA for a finite back-length. The standard EMA is only really efficient when calculated sequentially for the entire time series. This implementation is an efficient design that allows for calculation at a point by using finite back-length.</p><p>This is an early draft, did not proof read it yet, just whipped it together, though pretty sure the math is close to the final form. I will publish it sometime tomorrow but want to share what I have and welcome and questions or feedback before I publish it.</p><p><a href=\"https://beta.jeffreyfreeman.me/an-efficient-exponential-moving-average-of-finite-length/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">beta.jeffreyfreeman.me/an-effi</span><span class=\"invisible\">cient-exponential-moving-average-of-finite-length/</span></a></p><p><a href=\"https://qoto.org/tags/Programming\" class=\"mention hashtag\" rel=\"tag\">#<span>Programming</span></a> <a href=\"https://qoto.org/tags/Math\" class=\"mention hashtag\" rel=\"tag\">#<span>Math</span></a> <a href=\"https://qoto.org/tags/Maths\" class=\"mention hashtag\" rel=\"tag\">#<span>Maths</span></a> <a href=\"https://qoto.org/tags/Mathematics\" class=\"mention hashtag\" rel=\"tag\">#<span>Mathematics</span></a> <a href=\"https://qoto.org/tags/algorithms\" class=\"mention hashtag\" rel=\"tag\">#<span>algorithms</span></a> <a href=\"https://qoto.org/tags/Science\" class=\"mention hashtag\" rel=\"tag\">#<span>Science</span></a> <a href=\"https://qoto.org/tags/QOTOJournal\" class=\"mention hashtag\" rel=\"tag\">#<span>QOTOJournal</span></a></p>",
"contentMap": {
"en": "<p><span class=\"h-card\"><a href=\"https://groups.qoto.org/@math\" class=\"u-url mention\">@<span>math</span></a></span> </p><p>Early rough draft, haven't proof read it yet. But just wanted to share the math behind creating an efficient Exponential Moving Average with a finite length/cut off. I found this was needed for a project I am working on where the EMA much be determined by random access to various points in a time series and couldn't be calculated for the entire time series in one go.</p><p>I needed to modify the EMA for a finite back-length. The standard EMA is only really efficient when calculated sequentially for the entire time series. This implementation is an efficient design that allows for calculation at a point by using finite back-length.</p><p>This is an early draft, did not proof read it yet, just whipped it together, though pretty sure the math is close to the final form. I will publish it sometime tomorrow but want to share what I have and welcome and questions or feedback before I publish it.</p><p><a href=\"https://beta.jeffreyfreeman.me/an-efficient-exponential-moving-average-of-finite-length/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">beta.jeffreyfreeman.me/an-effi</span><span class=\"invisible\">cient-exponential-moving-average-of-finite-length/</span></a></p><p><a href=\"https://qoto.org/tags/Programming\" class=\"mention hashtag\" rel=\"tag\">#<span>Programming</span></a> <a href=\"https://qoto.org/tags/Math\" class=\"mention hashtag\" rel=\"tag\">#<span>Math</span></a> <a href=\"https://qoto.org/tags/Maths\" class=\"mention hashtag\" rel=\"tag\">#<span>Maths</span></a> <a href=\"https://qoto.org/tags/Mathematics\" class=\"mention hashtag\" rel=\"tag\">#<span>Mathematics</span></a> <a href=\"https://qoto.org/tags/algorithms\" class=\"mention hashtag\" rel=\"tag\">#<span>algorithms</span></a> <a href=\"https://qoto.org/tags/Science\" class=\"mention hashtag\" rel=\"tag\">#<span>Science</span></a> <a href=\"https://qoto.org/tags/QOTOJournal\" class=\"mention hashtag\" rel=\"tag\">#<span>QOTOJournal</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://groups.qoto.org/users/math",
"name": "@math@groups.qoto.org"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/programming",
"name": "#programming"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/math",
"name": "#math"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/maths",
"name": "#maths"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/mathematics",
"name": "#mathematics"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/algorithms",
"name": "#algorithms"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/science",
"name": "#science"
},
{
"type": "Hashtag",
"href": "https://qoto.org/tags/qotojournal",
"name": "#qotojournal"
}
],
"replies": {
"id": "https://qoto.org/users/freemo/statuses/105428039966398348/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://qoto.org/users/freemo/statuses/105428039966398348/replies?only_other_accounts=true&page=true",
"partOf": "https://qoto.org/users/freemo/statuses/105428039966398348/replies",
"items": []
}
}
}