Page tree
Skip to end of metadata
Go to start of metadata

Howdy!

Welcome to my personal home base on the Web where I record discoveries, ideas, lessons-learned, and general notes on life. I record all this stuff mainly because I don't trust my own memory, but hopefully it can be helpful to someone else too.


Here's a SPARQL query that counts all statements (triples) in a repository. SELECT (COUNT(?s) AS ?triples) WHERE { ?s ?p ?o } Note that this can be a long running query. For me it took took 21 seconds to count the statements in a repository with 30 million triples.
An example SPARQL query that can help you assemble the hierarchy of classes in an ontology.
Recently I completed a little study incorporating Spring for Stardog into a Spring Boot web app, with successful results. Here's how.
Some very rough notes I took while learning to create an Atlassian Confluence plugin. Perhaps, I'll clean these notes up a bit when I create my next plugin.
Linux and Unix Commands
A cheatsheet for common Linux / Unix commands.
An example SPARQL query filtering for resources within a given date range (between two given dates).
To automatically serve static resources with Spring Boot (e.g. when using spring-boot-starter-web), you can simply place the static resources in one of several paths that Spring Boot automatically recognizes as a static file paths.
What are the most popular database management systems? DB-Engines Ranking provides a list that's updated monthly. You can look at the complete ranking or filter by types like Relational DBMS, Key-value stores, Document stores, Graph DBMS, RDF stores, Search engines, and more. For a ranked list of popular databases, check out the DB-Engines Ranking page http://db-engines.com/en/ranking on the DB-Engines site, a knowledge base of relational and NoSQL database management systems.…
Logging with Spring Boot is dead simple. Everything's pretty much setup and ready to go. In this post, I provide some quick and simple tips to get your Spring Boot logs rolling.
Confluence Panel Macro
A macro for Atlassian Confluence that mimics a Bootstrap 3 Panel.
This page is a never-ending work-in-progress where I've decided to capture handy little tips for enhancing workflow in WebStorm. Shoot me an email if you know of any other handy little things that I can add to this list.
Did you know that Emmet's built-in to WebStorm? Emmet takes the snippets idea to a whole new level: you can type CSS-like expressions that imply the HTML structure you want, press Tab, and then WebStorm spits out the desired HTML.
Here's how to avoid tracking page views in Google Analytics when you're logged in as an administrative or other specific user.
In my digital journal, I've kept a page called "Bucket List", but I've kicked it out in favor of a new title: "Goals". I've learned that the language you use and the story you tell yourself is fundamentally important to what you actually achieve and do. And maybe it goes even deeper than that. Maybe it's not just the language you use, but the personal meaning that you've ascribed to the concepts in that language.…
This week, I've been listening to the audiobook, Benjamin Franklin: An American Life by Walter Iscaacson. My favorite part, so far is where he recounted thirteen virtues that Benjamin Franklin recorded in his autobiography. I think Ben Franklin wrote these in 1726, at the mere age of twenty. Temperance. Eat not to dullness; drink not to elevation. Silence. Speak not but what may benefit others or yourself; avoid trifling conversation. Order.…
Angular 2 provides a Title service that you can use to set the title of a page. This is good, of course, for SEO. Here's how to use it.
Pink Hearts
My sister tried to kill herself. Or, at least, I think she did.

I was eleven years old. I don't remember much about it; it was a long time ago - kind of a blur at this point. The thing that sticks out is all the little pink hearts - speed pills. She'd swallowed a shit-load, then sprayed them all over the upholstery of the car with her vomit.

In my last two posts about Carbon LDP, I used a very simple Create Blog Postexample to show how to save a document http://localhost:8080/2016/09/02/carbon-js-sdk-101-save-a-document/ and then how to save a document tree http://localhost:8080/2016/09/05/carbon-js-sdk-101-save-a-document-tree/using the JavaScript SDK. In this post, I build upon those examples by showing how to save a document using established vocabularies.…
In my previous post http://localhost:8080/2016/09/02/carbon-js-sdk-101-save-a-document/, I used a very simple Create Blog Post example to show how to save a document using the Carbon LDP JavaScript SDK. In this post, I build upon that example by showing how to save a tree of multiple documents instead of just one. When you create a document with the Carbon JS SDK, it can be the parent of another. So, in LDP terms, you could say that we're creating a hierarchy of LDP containers.…
If you're new to programming with Carbon LDP, you will likely want to learn the bare essentials first - like CRUD operations (Create, Read, Update, Delete). In this post, I show how to use the Carbon LDP JavaScript SDK to create a document based on inputs from a simple UI form. Until we get a chance to improve the getting started guide https://carbonldp.com/site/documentation/javascript-sdk/getting-started, I hope this provides some additional context. Input Form Example First,…
RDF Syntax Examples
RDF can be expressed in a variety of different serialization formats. It can also be used inline with HTML. Following is an example of the most widely used of these formats so that you can compare them at a glance.
Your inbox says a lot about you. What does it say? That you waste precious time? That you lose sight of important messages? That you're unresponsive? Unfocused? Unprofessional? If you don't have a simple and consistent system for dealing with e-mail, you should be ashamed of yourself. Stop the madness, get your ass in gear and get a handle on it, man. Here's a simple system that (usually) works for me.
Last night, I did something I haven't done in a long time. I went to bed without my laptop or smart phone. Once in the bed, I did not so much as peek at either screen. I didn't even set an audiobook or podcast to playing as usual. I just laid there in the dark with nothing but silence and my very own thoughts. Not even a book. As I laid there, for what seemed like forever, I was reminded of a conversation I often have with my son, which goes something like this. "Caden," I say,…
Writing is rewriting. If you want to improve your content, here's an editor's checklist you can use to polish your work.
In Angular, to format a currency, use the currency pipe on a number as shown here.


  • No labels