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",
"litepub": "http://litepub.social/ns#",
"directMessage": "litepub:directMessage",
"Hashtag": "as:Hashtag"
}
],
"id": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960",
"type": "Note",
"summary": "C++",
"inReplyTo": null,
"published": "2024-11-20T21:46:29Z",
"url": "https://functional.cafe/@PaniczGodek/113517473952644960",
"attributedTo": "https://functional.cafe/users/PaniczGodek",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://functional.cafe/users/PaniczGodek/followers"
],
"sensitive": true,
"atomUri": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960",
"inReplyToAtomUri": null,
"conversation": "tag:functional.cafe,2024-11-20:objectId=44773775:objectType=Conversation",
"content": "<p>On various occasions, I think about C++.<br />I devoted a few years of my life developing a 3d engine in C++. I learned the language from Stroustrup's book ("The C++ Programming Language"). I also developed a Qt-like widget framework using boost::signals</p><p>Also, many examples from "The Game Programming Gems" were using C++, and even some of the chapters in those series were devoted to some specific language features (such as template metaprogramming)</p><p>But only after I decided to embed <a href=\"https://functional.cafe/tags/Guile\" class=\"mention hashtag\" rel=\"tag\">#<span>Guile</span></a> <a href=\"https://functional.cafe/tags/Scheme\" class=\"mention hashtag\" rel=\"tag\">#<span>Scheme</span></a> into my engine - which resulted in rewriting the whole thing in pure C - I got enough perspective to criticize the language</p><p>I have a strong feeling that the popularity of C++ stems from three factors:<br />- convincing a lot of people that "C++ is a better C, so if you're using C, you can as well use C++"<br />- lack of critical thinking among most programmers<br />- the love of complexity among (usually inexperienced and naively enthusiastic) programmers</p><p>I started learning C++ around 2003 (so that was ISO/C++98), but - using macros and a GCC extension - I came up with my own range-based for loop:</p><p><a href=\"https://functional.cafe/tags/define\" class=\"mention hashtag\" rel=\"tag\">#<span>define</span></a> for_every(ITERATOR, COLLECTION) \\<br /> for(typeof(COLLECTION.begin()) ITERATOR = COLLECTION.begin(); \\<br /> ITERATOR != COLLECTION.end(); \\<br /> ++ITERATOR)</p><p>I don't love the C programming language, but one thing it is fairly good at is modeling what the computer is going to do, and how the system is going to be organized (especially if you work with it at the level of object files)</p><p>C++ makes this so much harder, with all of its templates, overloading and name mangling. And its design methodology really is reminescent of a kid in a toy store pointing fingers at different toys and saying, "I want this! and that! oh this is so cool can I have it as well?"</p><p>There seems to be very little thought, and design thinking, in C++, on a very fundamental level. (And I liked how the recent drama-blog post pointed out Stroustrup's lack of experience)</p><p>But the worst thing, let me tell you, the worst thing, are all those proponents of C++ that you meet on the Internet, who have very little to no experience with anything else, and even their experience with C++ is somewhat miniscule (so that they don't even know about the existence of weird entities such as "r-value references"), and they appear every now and then to tell you how wrong you are in your criticism of C++, because it's the best single language ever invented, but somehow they are never able to refute your arguments</p><p>I met dozens of them</p>",
"contentMap": {
"en": "<p>On various occasions, I think about C++.<br />I devoted a few years of my life developing a 3d engine in C++. I learned the language from Stroustrup's book ("The C++ Programming Language"). I also developed a Qt-like widget framework using boost::signals</p><p>Also, many examples from "The Game Programming Gems" were using C++, and even some of the chapters in those series were devoted to some specific language features (such as template metaprogramming)</p><p>But only after I decided to embed <a href=\"https://functional.cafe/tags/Guile\" class=\"mention hashtag\" rel=\"tag\">#<span>Guile</span></a> <a href=\"https://functional.cafe/tags/Scheme\" class=\"mention hashtag\" rel=\"tag\">#<span>Scheme</span></a> into my engine - which resulted in rewriting the whole thing in pure C - I got enough perspective to criticize the language</p><p>I have a strong feeling that the popularity of C++ stems from three factors:<br />- convincing a lot of people that "C++ is a better C, so if you're using C, you can as well use C++"<br />- lack of critical thinking among most programmers<br />- the love of complexity among (usually inexperienced and naively enthusiastic) programmers</p><p>I started learning C++ around 2003 (so that was ISO/C++98), but - using macros and a GCC extension - I came up with my own range-based for loop:</p><p><a href=\"https://functional.cafe/tags/define\" class=\"mention hashtag\" rel=\"tag\">#<span>define</span></a> for_every(ITERATOR, COLLECTION) \\<br /> for(typeof(COLLECTION.begin()) ITERATOR = COLLECTION.begin(); \\<br /> ITERATOR != COLLECTION.end(); \\<br /> ++ITERATOR)</p><p>I don't love the C programming language, but one thing it is fairly good at is modeling what the computer is going to do, and how the system is going to be organized (especially if you work with it at the level of object files)</p><p>C++ makes this so much harder, with all of its templates, overloading and name mangling. And its design methodology really is reminescent of a kid in a toy store pointing fingers at different toys and saying, "I want this! and that! oh this is so cool can I have it as well?"</p><p>There seems to be very little thought, and design thinking, in C++, on a very fundamental level. (And I liked how the recent drama-blog post pointed out Stroustrup's lack of experience)</p><p>But the worst thing, let me tell you, the worst thing, are all those proponents of C++ that you meet on the Internet, who have very little to no experience with anything else, and even their experience with C++ is somewhat miniscule (so that they don't even know about the existence of weird entities such as "r-value references"), and they appear every now and then to tell you how wrong you are in your criticism of C++, because it's the best single language ever invented, but somehow they are never able to refute your arguments</p><p>I met dozens of them</p>"
},
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://functional.cafe/tags/guile",
"name": "#guile"
},
{
"type": "Hashtag",
"href": "https://functional.cafe/tags/scheme",
"name": "#scheme"
},
{
"type": "Hashtag",
"href": "https://functional.cafe/tags/define",
"name": "#define"
}
],
"replies": {
"id": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960/replies?only_other_accounts=true&page=true",
"partOf": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960/replies",
"items": []
}
},
"likes": {
"id": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960/likes",
"type": "Collection",
"totalItems": 11
},
"shares": {
"id": "https://functional.cafe/users/PaniczGodek/statuses/113517473952644960/shares",
"type": "Collection",
"totalItems": 3
}
}