Journal 2025-03-19

A fundamental principle I'm attempting to apply to my current code is that interdependencies should be low. Things should be tied together only as needed, declaratively.

One practical downside, of this, down to how I've got my dev environment set up, is that when something isn't working, rather than an integrated lump needing debugging, typically two things and their connection need checking. Independent places. Right now for me that means separate tools.

A paradoxical downside during this way suboptimal phase, whenever the coupling is too tight the problems it causes are amplified. Side effects spread.


ForEach line 49 /////////////////// TODO put back in this.emit('message', message)


Grr. Fool Danny. SPARQL query, no results. I was looking forsomething before it'd been created.

  :htmlContent ?html .
PREFIX schema: <http://schema.org/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://purl.org/stuff/transmissions/>

SELECT DISTINCT ?p WHERE {
?s ?p ?o
}
"p" ,
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type" ,
"http://purl.org/stuff/transmissions/sourcePath" ,
"http://purl.org/stuff/transmissions/mediaType" ,
"http://purl.org/stuff/transmissions/representationType" ,
"http://purl.org/stuff/transmissions/relPath" ,
"http://schema.org/articleBody" ,
"http://schema.org/dateCreated" ,
"http://schema.org/headline" ,
"http://purl.org/stuff/transmissions/slug" ,
"http://schema.org/dateModified" ,
"http://purl.org/stuff/transmissions/hasRepresentation" ,
"http://schema.org/creator" ,
"http://schema.org/name" ,
PREFIX schema: <http://schema.org/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://purl.org/stuff/transmissions/>

SELECT DISTINCT * WHERE {
  ?article a schema:Article ;
    :sourcePath ?sourcePath ;
    :relPath ?relPath ;
    :slug ?slug ;
    schema:headline ?title ;
 schema:dateModified ?modified ;
  schema:dateCreated ?created ;
    schema:creator ?creator ;
  :htmlContent ?html .
  ?creator a schema:Person ;
    schema:name ?creatorName .

}
ORDER BY DESC(?modified)

Journal 2025-03-19