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",
"https://w3id.org/security/v1",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive",
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"alsoKnownAs": {
"@id": "as:alsoKnownAs",
"@type": "@id"
},
"movedTo": {
"@id": "as:movedTo",
"@type": "@id"
},
"toot": "http://joinmastodon.org/ns#",
"featured": {
"@id": "toot:featured",
"@type": "@id"
},
"Emoji": "toot:Emoji",
"blurhash": "toot:blurhash",
"votersCount": "toot:votersCount",
"schema": "http://schema.org#",
"PropertyValue": "schema:PropertyValue",
"value": "schema:value",
"ostatus": "http://ostatus.org#",
"conversation": "ostatus:conversation"
}
],
"type": "Article",
"id": "https://chrichri.ween.de/o/a2f68e10237f48eda18858391deefd5a",
"attributedTo": "https://chrichri.ween.de",
"content": "<p>My <a href=\"https://chrichri.ween.de/t/notebook\" class=\"mention hashtag\" rel=\"tag\">#<span>notebook</span></a> contains a <a href=\"https://chrichri.ween.de/t/fan\" class=\"mention hashtag\" rel=\"tag\">#<span>fan</span></a>. It's one of the compromises I made when I selected it. I do not want it to run.</p>\n<p>To keep it quiet I limited the <a href=\"https://chrichri.ween.de/t/cpu\" class=\"mention hashtag\" rel=\"tag\">#<span>cpu</span></a> <a href=\"https://chrichri.ween.de/t/frequency\" class=\"mention hashtag\" rel=\"tag\">#<span>frequency</span></a> to about 70% and disabled frequency boost. No fan running. Downside: UI can't just demand more CPU if something makes me wait. Demanding a lot of CPU over a short time doesn't make the fan run and makes the whole UI more snappy.</p>\n<p>Today I had the fan running constantly when I started working: One of two <a href=\"https://chrichri.ween.de/t/thunderbird\" class=\"mention hashtag\" rel=\"tag\">#<span>Thunderbird</span></a> instances I use started background activity and it kept running and running and the fan blowing and blowing.</p>\n<p>I rarely use Thunderbird, but I need it opened to look at my email once in a while and get notified if there's something new. I know, I could do it differently, but at least at work thunderbird is the officially supported way to work with email.</p>\n<p><a href=\"https://chrichri.ween.de/t/cgroups\" class=\"mention hashtag\" rel=\"tag\">#<span>cgroups</span></a> allow to control the ressources used by the tasks running in a cgroup. After stopping thunderbird running wild, I did the following (<a href=\"https://chrichri.ween.de/t/debian\" class=\"mention hashtag\" rel=\"tag\">#<span>Debian</span></a> <a href=\"https://chrichri.ween.de/t/bookworm\" class=\"mention hashtag\" rel=\"tag\">#<span>Bookworm</span></a> / <a href=\"https://chrichri.ween.de/t/pureos\" class=\"mention hashtag\" rel=\"tag\">#<span>PureOS</span></a> <a href=\"https://chrichri.ween.de/t/crimson\" class=\"mention hashtag\" rel=\"tag\">#<span>Crimson</span></a>):</p>\n<pre><code>\nsomeuser@pureos:~$ cat .config/systemd/user/thunderbird.slice \r\n[Slice]\r\nCPUQuota=30%\r\nsomeuser@pureos:~$ systemctl --user daemon-reload \r\nsomeuser@pureos:~$ systemd-run --user --slice=thunderbird.slice thunderbird\r\nRunning as unit: run-r671b7cde254945c597a409b9a96cdaf5.service\r\n\n</code></pre>\n<p>Thunderbird resumed whatever it wanted to do and didn't use more than 30% CPU, no fan running. The UI of Thunderbird became slow, but that is a compromise I can live with since I do not use it much.</p>\n",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://chrichri.ween.de/followers"
],
"published": "2024-02-21T08:10:35Z",
"context": "https://chrichri.ween.de/contexts/992cf237952148f680ee9b416b06d21d",
"conversation": "https://chrichri.ween.de/contexts/992cf237952148f680ee9b416b06d21d",
"url": "https://chrichri.ween.de/articles/a2f68e1/running-hot-cgroups",
"tag": [
{
"href": "https://chrichri.ween.de/t/notebook",
"name": "#notebook",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/fan",
"name": "#fan",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/cpu",
"name": "#cpu",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/frequency",
"name": "#frequency",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/thunderbird",
"name": "#thunderbird",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/cgroups",
"name": "#cgroups",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/debian",
"name": "#debian",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/bookworm",
"name": "#bookworm",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/pureos",
"name": "#pureos",
"type": "Hashtag"
},
{
"href": "https://chrichri.ween.de/t/crimson",
"name": "#crimson",
"type": "Hashtag"
}
],
"summary": null,
"inReplyTo": null,
"sensitive": false,
"attachment": [],
"name": "Running hot? cgroups!"
}