nicolas lopeswriting

lifed is born

your first question is probably: what is this?

or maybe you clicked around, saw the site just launched, ended up here as there's not much to explore here yet. fair.

so here's where the idea came from, and what i want it to become.

2019, part one

the year was 2019. I was 15 and hadn't built anything mature in tech, just toy projects.

the coolest one was a license plate reader that my school actually ended up using. a camera read the plate of an employee's car, and if it matched, the gate opened on its own. this was before LLMs, so i had to learn everything the hard way, computer vision, a bit of machine learning (k-NN algorithms), and how to get a Raspberry PI talking to other machines.

looking back, there was a lot i just didn't know. to get the PI talking to a Java app on a desktop i used MQTT and wrote my own system to build and read the messages. a plain HTTP call would have done the job.

and since then this is one lesson that i keep coming back to in any area that i want to put my opinion in:

if i had known the simpler option existed, i would have used it. i didn't know what to ask.

it's also what i tell anyone asking me whether something is worth learning or building, understand the trade-offs. everything is a trade-off. there's no silver bullet.

2019, part two

the same year i found this post by Stephen Wolfram: the personal analytics of my life. he'd tracked decades of his own life, with charts for everything:

  • keystrokes
  • meetings
  • emails sent and received
  • steps

and a lot more.

i tried to build my own. it didn't go well. there was much less info out there, Rust hadn't gone mainstream yet, getting real data out of the OS (and the permissions to do it) was a pain, and i kept switching between Linux and Windows at that time in life, so i would have had to build everything twice.

all that bullshit said... i gave up.

what this have to do with your own site?

two reasons.

first, the itch never went away.

second, i want to learn data for real. big piles of events you slice into charts, not just the same usual crud style thing we keep doing over and over. i had some amount of experience that is enough to know some of the words of this at my last gig. i've never set one up from scratch, and i want to understand the basics of data engineering and data science properly. there's also a fun overlap with product thinking on taking raw data and making it make sense, and making it nice to look at.

so the plan is:

  1. capture every data point that I can think of
  2. clean it up and store it properly
  3. build insights on top of it
  4. most important: make it run on autopilot. only the stuff a computer truly can't see gets logged by hand, so i actually stick with it

meet lifed, the life daemon.

lifed

my deviceslifed, macos for noweventsclean uppublicprivateolap dbthe sinkcronthis sitestatic pages and chartsmy deviceslifed, macos for noweventsclean uppublicprivateolap dbthe sinkcronthis sitestatic pages and charts
only the public half reaches this site

there are two halves.

lifed is a small program that runs in the background on my machines and records what happens. it launches on macOS only, but its core is built in a way that multiple targets are supported and doesn't necessarily care what it runs on, so it can later go to Windows, Linux, iOS, Apple Watch, an ESP32, and so on. it's a small set of primitives for sending events off safely and reliably, and adding new kinds of events is easy.

the sink receives those events and takes care of them:

  • keeps the data clean
  • splits what's public from what's private, and hides the private stuff
  • turns raw events into numbers worth looking at
  • stores it all in an analytics database (not decided yet, probably ClickHouse)

the sink is not open to the internet. on a schedule, it rebuilds the charts and pages on this site. that's what this site is for, at least to start.