Unix Timestamps and How Computers Track Time
What January 1, 1970 means, why counting seconds beats calendars, the Y2K38 problem, and how time zones complicate everything.
Have you ever noticed that some Google results show star ratings, FAQ dropdowns, or recipe cook times directly in the search listing? That's not magic — it's structured data. By adding machine-readable annotations to your pages, you tell search engines exactly what your content means, not just what it says.
HTML gives content structure for humans — headings, paragraphs, lists. Structured data adds a parallel layer of meaning for machines. It uses the Schema.org vocabulary, a shared dictionary maintained by Google, Microsoft, Yahoo, and Yandex. When you mark up a page with Schema.org types, search engines can parse facts like “this page describes a Product with a price of $29.99 and a rating of 4.5” instead of guessing from the raw text.
There are three ways to add structured data: Microdata (inline HTML attributes), RDFa (another inline format), and JSON-LD (a script block). Google explicitly recommends JSON-LD because it separates the markup from the HTML — you can add it without touching your templates. It's just a <script type="application/ld+json"> tag in the head.
| Type | Rich result | Key properties |
|---|---|---|
| Article | Headline, image, date | headline, author, datePublished |
| Product | Price, rating, availability | name, offers, aggregateRating |
| FAQPage | Expandable Q&A | mainEntity, acceptedAnswer |
| Event | Date, location, ticket link | startDate, location, offers |
| Recipe | Cook time, calories, rating | cookTime, nutrition, recipeIngredient |
| LocalBusiness | Address, hours, reviews | address, openingHours, geo |
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is structured data?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Machine-readable annotations that help search engines understand page content."
}
},
{
"@type": "Question",
"name": "Does structured data improve rankings?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Not directly, but rich results can significantly increase click-through rates."
}
}
]
}
</script>Before structured data, meta tags were the only way to communicate with search engines. They still matter:
og:title, og:image)twitter:card, twitter:image)The robots.txt file sits at your site root and tells crawlers which paths they may or may not access. A common misconception: robots.txt is not a security mechanism. It's a polite request — well-behaved crawlers honour it, but malicious bots ignore it entirely. If you need to block access to a page, use authentication or server-side access control, not robots.txt.
# Allow everything except admin pages
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
# Point to your sitemap
Sitemap: https://example.com/sitemap.xmlStructured data, meta tags, and robots.txt form a communication layer between your site and search engines. Get all three right, and you control how your content appears across the web.
What January 1, 1970 means, why counting seconds beats calendars, the Y2K38 problem, and how time zones complicate everything.
What UUIDs are, v4 vs v7, collision probability, hashing fundamentals, broken vs secure algorithms, and how JWTs carry authentication.
Core SQL operations, JOINs explained simply, GROUP BY and aggregates, why formatting matters, SQL dialects, and when to choose NoSQL.