My version of this is called Dogsheep, and involves building tools that suck my data from various sources into SQLite databases so I can query it all using Datasette.
https://dogsheep.github.io/ I enjoyed reading this author's essay on why he doesn't think loading everything into relational databases is the best approach: https://beepb00p.xyz/unnecessary-db.html I think I have a workarounds for most of the issues he describes there. One example: I mostly create my base table schema automatically based on the shape of the incoming JSON, and automatically add new columns if that JSON has keys I haven't seen before. Very thought-provoking writing (and software) here.
Ooooh, I totally forgot to add your link, I remember you commenting, sorry! Will amend now.
Ah I see, so your approach is using databases as an 'intermediate' layer, rather than the main source of 'truth'.
My main objection to databases is the fricton with the maintenance and the speed of prototyping, but if it's automatic and used as a cache, I agree it's reasonable. Although I'd still be worried about normalising something wrong, but this is my personal sort of anxiety :) I've got something similar [0]: if you have a sequence of NamedTuples/dataclasses, you can get a database 'for free'. [0] https://beepb00p.xyz/unnecessary-db.html#cachew_cachew
It downloads your data from social media (or other online sites) into a single sqlite database. It can even draw relations between various accounts/people. I use it to back up my Google Photos.
I've focused on Google Takeout exports so far. Only gotten Hangouts and Voice working at this point. I feel like all of us need to be working on a common codebase for all these parsers. I just found out a week ago that the Hangouts format changed significantly and totally broke my parser (which I actually adapted from https://bitbucket.org/dotcs/hangouts-log-reader/)
Yep, agree about the common codebase, that's why I'm trying to keep everything modular and thinking a lot about it. I describe this bit of my philosophy/design here [0]. I've only written parsers/exporters if I haven't found any (or any that wouldn't be a complete pain to adapt) so far. Google Takeout processing is a part of HPI, but I was going to extract it in a separate repository, so perhaps we both could benefit from it. [0] https://beepb00p.xyz/exports.html#bindings
It sounds like a ‘schema-less’/document database like Mongo might work better for API results, which are often non-relational but sorta-hierarchical instead.
(Shakes fist at the RTM API which would return one and many child tasks in different ways, so it took me an extra half-hour to write the convoluted Jq query.)
I have been toying with a similar idea for a very long time.
I want to have an all-encompassing personal history for the same reasons I want good access and error logs. I want to see when something wrong happens, and I want the means to diagnose the problem and fix the damage. A few good examples: - Did I forget to write down any tax-deductible expenses? - What is my net worth? Is my current lifestyle sustainable? - Which parts of my city have I yet to explore? - Can I search all my conversation with John across 3 messaging apps, email, SMS and phone? I took a few jabs at these problems. Invariably, the services I consumed data from shut down their API or hid my data better. In some cases, I wanted to use a different service, but didn't feel like updating my scripts. I'm currently looking into this again, but this time it's also a matter of privacy. I want to own all that data I create. I'd rather integrate tools under my control than services who actively try to hold my data hostage.
> Can I search all my conversation with John across 3 messaging apps, email, SMS and phone? These are totally pain points for me / questions I'd love to have some answers for... Anyone tried to get the historic iOS location data to answer the first question?
There is a open source digital forensics project called APOLLO (https://github.com/mac4n6/APOLLO) -- that could be used for personal use to get location information off your phone. Here's a blog post by the author, with a little bit of explanation:
> What is my net worth? Is my current lifestyle sustainable?
YNAB's method is excellent for this. TLDR: you record your expenses for some time, and then you begin planning them ahead for each month semi-automatically, putting in money for costly purchases in advance and leaving some for when shit happens. I've been kinda looking for an OSS/self-hosted implementation of the method, but none seem inviting so far. (G2A seems to have a Steam key for the old version of YNAB, under ‘You Need A Budget’—which version could sync via Dropbox, without its own cloud service. But the key costs quite a bit more than what I've paid for the app back then.) > Which parts of my city have I yet to explore? I'm using desktop QGIS to mark my trips, while OsmAnd on the phone shows the exported GPX on the go (among other pleasant features). In theory I can use OsmAnd itself to record the trips with GPS, or any of the other dozen apps for that, but personally I don't believe that Google won't suck the location up regardless of my settings.
Today abstraction is no longer that of the map,
the double, the mirror, or the concept. Simulation
is no longer that of a territory, a referential being
or substance. It is the generation by models of a real
without origin or reality: A hyperreal[1]. The territory
no longer precedes the map, nor does it survive it.
*It is nevertheless the map that precedes the territory—
precession of simulacra—that engenders the territory.*
Starting on a project to improve one's life by engaging latent gifts is one of the smartest things one can do. It is aligned with the best advice psychology can offer. If that means maintaining a measurement system works for you--great. It's not as if we lack data showing that measurement systems are beneficial to human development.
Only if you think of "maintaining your system to improve your life" as work. I would think of it more as play. It's not time wasted if you enjoy it.
Hm. I actually don't agree with that sentiment as written. It's not time wasted if you enjoy it and have something to show for it? That's not it either. Maybe this. I view the work we're discussing like a programmer's equivalent of woodworking in your garage. Sure, it's not necessary. But it's creative, fulfilling, and enjoyable. There's something immensely satisfying about using something you made with your own two hands, even if it's not perfect. As long as all these things remain true, I wouldn't call it time wasted. To me your critism reads something like, "if you wanted to canoe, why did you spend a year making your own? you could have bought one and spent that year doing what you really wanted to do!" Well, I wanted do that, but I also enjoyed making something to do that too. I feel my life is better for having made it.
> It's not time wasted if you enjoy it and have something to show for it
Yep, agree! I really enjoy it, my only problem is that there are too few hours in day :)
I guess it depends on the goals though -- it's perfectly fine to build something just for the sake of it, as long as you have fun. One of my goals through is to stop/pause the active phases of building and spending more time using it. Partly because of the lack of time, partly because it means iterating and reflecting on whatever I've already built. So ultimately I agree that it's important to improve your life instead of building something that may improve it one day. I mean, do I want my time back? Yes, sure, like with any learning in hindsight it always feels that I spent more time than necessary om this. But the thing is, I did improve my life while building this! I've learnt so much: obvious things like building better and more resilient software to my preferences in terms of tools and services. I've started the blog to share this system and the related things, which made me appreciate writing, and I feel like I'm getting better at it. The whole quantified self thing was super useful: it motivated me to think and learn how my body works, to eat healthy, etc. However stupid it is, self-tracking gives me extra motivation for the regular exercise and trying to pish my limits. Every new bit of data I'm adding is easier and smoother, so I can easily imagine myself using this system for years (and fixing minor bits that break once in a while, just like people fix things in their homes). Sharing it also means I can potentially improve others' lives, which makes me regret the time I spent building and researching much less. > "if you wanted to canoe, why did you spend a year making your own" I feel it's more like "you can rent/borrow a canoe, but you only have a spoon instead of a paddle which you can't switch. Oh and it can also collapse anytime. Why would you spend a year making your own?"
Fantastic job with this! Feels like I've stumbled upon a [vastly more productive] clone of myself.
The best way I can describe this type of thinking is a very strong, overriding compulsion to think and live in an augmented, external, hivemind-like capacity. It's beautiful, but it certainly isn't normal. It makes one wonder what the etiology of such thinking is. Were I to guess, based on personal experience: hypomania, ADHD, obsessive tendencies, indignation at tech platforms sucking so bad, technology fracturing our fucking minds. Any combination thereof. >I'm not willing to wait till some vaporwave project reinvents the whole computing model from scratch Sorry, turns out it's kind of hard! :)
Comments (93) 29 threads
https://dogsheep.github.io/
I enjoyed reading this author's essay on why he doesn't think loading everything into relational databases is the best approach: https://beepb00p.xyz/unnecessary-db.html
I think I have a workarounds for most of the issues he describes there. One example: I mostly create my base table schema automatically based on the shape of the incoming JSON, and automatically add new columns if that JSON has keys I haven't seen before.
Very thought-provoking writing (and software) here.
Ah I see, so your approach is using databases as an 'intermediate' layer, rather than the main source of 'truth'. My main objection to databases is the fricton with the maintenance and the speed of prototyping, but if it's automatic and used as a cache, I agree it's reasonable. Although I'd still be worried about normalising something wrong, but this is my personal sort of anxiety :)
I've got something similar [0]: if you have a sequence of NamedTuples/dataclasses, you can get a database 'for free'.
[0] https://beepb00p.xyz/unnecessary-db.html#cachew_cachew
It downloads your data from social media (or other online sites) into a single sqlite database. It can even draw relations between various accounts/people. I use it to back up my Google Photos.
I've focused on Google Takeout exports so far. Only gotten Hangouts and Voice working at this point.
I feel like all of us need to be working on a common codebase for all these parsers. I just found out a week ago that the Hangouts format changed significantly and totally broke my parser (which I actually adapted from https://bitbucket.org/dotcs/hangouts-log-reader/)
Yep, agree about the common codebase, that's why I'm trying to keep everything modular and thinking a lot about it. I describe this bit of my philosophy/design here [0].
I've only written parsers/exporters if I haven't found any (or any that wouldn't be a complete pain to adapt) so far. Google Takeout processing is a part of HPI, but I was going to extract it in a separate repository, so perhaps we both could benefit from it.
[0] https://beepb00p.xyz/exports.html#bindings
Continue this thread — 1 reply
(Shakes fist at the RTM API which would return one and many child tasks in different ways, so it took me an extra half-hour to write the convoluted Jq query.)
I want to have an all-encompassing personal history for the same reasons I want good access and error logs. I want to see when something wrong happens, and I want the means to diagnose the problem and fix the damage.
A few good examples:
- Did I forget to write down any tax-deductible expenses?
- What is my net worth? Is my current lifestyle sustainable?
- Which parts of my city have I yet to explore?
- Can I search all my conversation with John across 3 messaging apps, email, SMS and phone?
I took a few jabs at these problems. Invariably, the services I consumed data from shut down their API or hid my data better. In some cases, I wanted to use a different service, but didn't feel like updating my scripts.
I'm currently looking into this again, but this time it's also a matter of privacy. I want to own all that data I create. I'd rather integrate tools under my control than services who actively try to hold my data hostage.
> Can I search all my conversation with John across 3 messaging apps, email, SMS and phone?
These are totally pain points for me / questions I'd love to have some answers for... Anyone tried to get the historic iOS location data to answer the first question?
Google Takeout gives me my location history, but getting it is a manual process.
Banks must offer an API. I just haven't looked into it yet.
Continue this thread — 1 reply
https://www.mac4n6.com/blog/2019/8/21/i-know-where-you-were-...
YNAB's method is excellent for this. TLDR: you record your expenses for some time, and then you begin planning them ahead for each month semi-automatically, putting in money for costly purchases in advance and leaving some for when shit happens.
I've been kinda looking for an OSS/self-hosted implementation of the method, but none seem inviting so far.
(G2A seems to have a Steam key for the old version of YNAB, under ‘You Need A Budget’—which version could sync via Dropbox, without its own cloud service. But the key costs quite a bit more than what I've paid for the app back then.)
> Which parts of my city have I yet to explore?
I'm using desktop QGIS to mark my trips, while OsmAnd on the phone shows the exported GPX on the go (among other pleasant features). In theory I can use OsmAnd itself to record the trips with GPS, or any of the other dozen apps for that, but personally I don't believe that Google won't suck the location up regardless of my settings.
Hm. I actually don't agree with that sentiment as written. It's not time wasted if you enjoy it and have something to show for it? That's not it either.
Maybe this. I view the work we're discussing like a programmer's equivalent of woodworking in your garage. Sure, it's not necessary. But it's creative, fulfilling, and enjoyable. There's something immensely satisfying about using something you made with your own two hands, even if it's not perfect. As long as all these things remain true, I wouldn't call it time wasted.
To me your critism reads something like, "if you wanted to canoe, why did you spend a year making your own? you could have bought one and spent that year doing what you really wanted to do!" Well, I wanted do that, but I also enjoyed making something to do that too. I feel my life is better for having made it.
Yep, agree! I really enjoy it, my only problem is that there are too few hours in day :) I guess it depends on the goals though -- it's perfectly fine to build something just for the sake of it, as long as you have fun. One of my goals through is to stop/pause the active phases of building and spending more time using it. Partly because of the lack of time, partly because it means iterating and reflecting on whatever I've already built. So ultimately I agree that it's important to improve your life instead of building something that may improve it one day.
I mean, do I want my time back? Yes, sure, like with any learning in hindsight it always feels that I spent more time than necessary om this.
But the thing is, I did improve my life while building this! I've learnt so much: obvious things like building better and more resilient software to my preferences in terms of tools and services. I've started the blog to share this system and the related things, which made me appreciate writing, and I feel like I'm getting better at it. The whole quantified self thing was super useful: it motivated me to think and learn how my body works, to eat healthy, etc. However stupid it is, self-tracking gives me extra motivation for the regular exercise and trying to pish my limits.
Every new bit of data I'm adding is easier and smoother, so I can easily imagine myself using this system for years (and fixing minor bits that break once in a while, just like people fix things in their homes). Sharing it also means I can potentially improve others' lives, which makes me regret the time I spent building and researching much less.
> "if you wanted to canoe, why did you spend a year making your own"
I feel it's more like "you can rent/borrow a canoe, but you only have a spoon instead of a paddle which you can't switch. Oh and it can also collapse anytime. Why would you spend a year making your own?"
The best way I can describe this type of thinking is a very strong, overriding compulsion to think and live in an augmented, external, hivemind-like capacity. It's beautiful, but it certainly isn't normal.
It makes one wonder what the etiology of such thinking is. Were I to guess, based on personal experience: hypomania, ADHD, obsessive tendencies, indignation at tech platforms sucking so bad, technology fracturing our fucking minds. Any combination thereof.
>I'm not willing to wait till some vaporwave project reinvents the whole computing model from scratch
Sorry, turns out it's kind of hard! :)
yep, same
All comments shown.
Couldn't load more comments. Check your connection and try again.