magic_lobster_party

  • 1 Post
  • 393 Comments
Joined 1 year ago
cake
Cake day: August 15th, 2024

help-circle




  • From the FAQ:

    Statcounter is a web analytics service. Our tracking code is installed on more than 1.5 million sites globally. These sites cover various activities and geographic locations. Every month, we record billions of page views to these sites. For each page view, we analyse the browser/operating system/screen resolution used and we establish if the page view is from a mobile device.

    So yeah, they’re basing of browser user agents.




  • Not the one you asked, but I don’t like XML compared to alternatives like JSON.

    The main problem with XML is that it’s an unnecessarily complicated standard. There are often multiple ways to represent the same thing, each with their own gotchas and drawbacks.

    JSON on the other hand has a much simpler standard. The entire JSON standard fits easily in one page. It’s also closer to how data is actually represented in memory. There’s often one ideal way to represent whatever you have in memory to a JSON file, and the reverse is also true.

    Despite it’s simplicity, JSON covers most cases XML would cover. Often in a more elegant way.

    If you like pain, then XML is the right choice for you.