Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Time and Relational Theory

    Time and Relational Theory

    C. J. Date, Nikos Lorentzos, Hugh Darwen

    Systems & OS
    Open LibraryAmazon
    Stats for nerds
    1recommend
    2mentions
    2people
    2021–2023years
    50% recommend50% neutral

    Mentions per year

    202120222023

    What Hacker News says

    1. fiparOct 2023
      I found Time and Relational Theory a very interesting read on this topic: https://www.oreilly.com/library/view/time-and-relational/978...
      thread
    2. pjungwirJun 2021
      Codd's paper is not that hard. [0] is a PDF copy. One of the pros to reading primary sources is you then know "the whole story": what if anything is missing from popular explanations, and what is changed.

      A striking bit of trivia (but OT to SQL) is that in Turing's "On Computable Numbers" [1] he treats a Turing Machine that halts as having a problem, whereas in basically every popular treatment a machine that halts is one that gives you an answer, and a machine that doesn't halt is one with a bug, like it entered an infinite loop. But his paper is the opposite (and doesn't use the word "halt" at all!):

          If a computing machine never writes down more than a finite number of symbols
          of the first kind it will be called circular. Otherwise it is said to be circle-free.
      
          A machine will be circular if it reaches a configuration from which there is no possible
          move, or if it goes on moving, and possibly printing symbols of the second kind,
          but cannot print any more symbols of the first kind.
      
      More relevantly, Codd's paper from ten years later [2] is even more interesting than the first one. Everyone focuses on the first half (discussing NULLs and outer joins) but the second half is way more interesting, and has never been implemented anywhere AFAIK. It sounds a lot like graph databases and queries that dynamically change structure based on querying the data catalog.

      Re relations containing relations, I was very surprised that C.J. Date is apparently okay with them. He is a perfect example of the disciple who is more zealous than the master, and has spent his career trying to remove NULLs and non-unique rows. But in page 17-18 of [3] he writes:

          To repeat, any type whatsoever---apart from the two exceptions noted in the
          section "Types" earlier---can be used as the basis for defining attributes of
          relations. In particular, relation types can be used for this purpose. (So too can
          tuple types.) Thus, attributes can be *relation valued*, meaning we can have relations
          with attributes whose values are relations in turn.
      
      Wow! Part of me wonders if he is really just compromising because relations-inside-relations is so useful for his goals in that book. I had to re-read that passage over and over to convince myself I wasn't misunderstanding.

      [0] https://www.seas.upenn.edu/~zives/03f/cis550/codd.pdf

      [1] https://www.cs.virginia.edu/~robins/Turing_Paper_1936.pdf

      [2] https://gertjans.home.xs4all.nl/usenet/microsoft.public.sqls...

      [3] C.J. Date et al, Time and Relational Theory

      thread

    Related

    Cover of SQL and relational theory
    2010–2020

    SQL and relational theory

    C. J. Date
    9 recommend · 17
    Cover of Computer systems
    2009–2026

    Computer systems

    Randal Bryant
    67 recommend · 110
    Cover of Database Design and Relational Theory
    2012–2021

    Database Design and Relational Theory

    C. J. Date
    1 recommend · 3
    Managing Time in Relational DatabasesTom Johnston
    2017–2021

    Managing Time in Relational Databases

    Tom Johnston
    2 recommend · 4
    Cover of Social physics
    2015–2025

    Social physics

    Alex Pentland
    3 recommend · 13
    Cover of An introduction to database systems
    2009–2024

    An introduction to database systems

    C. J. Date
    14 recommend · 35
    Cover of The Order of Time
    2018–2026

    The Order of Time

    25 recommend · 42
    Cover of A Brief History of Time
    2008–2026

    A Brief History of Time

    Stephen Hawking
    76 recommend · 181