Lurker News

Comments (93) 29 threads

Earlier comments
vbsteven#
Cool project. I've been toying with and thinking about similar ideas lately but more focused on my productivity as a freelance software dev/ops person.

My approach is basically to view myself as a distributed system that receives various inputs (jira tickets, PR comments, slack messages, emails) and performs work that produces outputs (PRs, emails, PR reviews, deploys). I'm trying to model workflows for all types of work I do, and write plugins that process various inputs and outputs so tasks can enter and progress through these workflows.

doelie_#
Cool project. I have been on the lookout for something like this.

The idea of exocortex seems to be something that many people want, and almost universially re-invent because the way in which structuring makes sense is different for everyone. I like the approach of making it modular so people can pick and choose parts and do their own integration.
What I learned from thinking about this problem is that this kind of integration is really hard and almost impossible to tackle without an evolutionary approach, and it made me go meta and focus on incremental development of the integration layer first. My interpretation of the idea of exocortex might be a bit different in that the focus is not so much about information per se, but more about systems that interact with the physical world. Here's a writeup in case anyone is interested in where it took me: https://github.com/zwizwa/erl_tools/blob/master/doc/exo.org

samanator1 reply#
This has been on my development todo list for a year! What are your thoughts about allowing others to contribute new modules?

I'm interested in a my.spotify and a my.film.traktv

karlicoss2 replies#
I don't mind merging new modules at the moment, so would be happy if you try it out and contribute! But it's also possible to use your module without merging in the upstream HPI package [0]

In the long run, I'm not sure how sustainable it is, since there are many different data sources and ways of representing them. This is also particularly difficult when you don't use the service, e.g. as a maintaner I wouldn't have any means of testing Traktv.
So far I've kept all HPI modules close, because a monolith is easier for prototyping and refactoring. But my fear is the fate of oh-my-zsh, or spacemacs, which are overwhelmed by the pull requests.
Ideally I think it should be a simple core, only containing the common utility functions, extraction helpers, error handling, caching, logging, that sort of thing; and make the rest third-party.
It's possible to achieve this in Python, thanks to the namespace packages. The only problem I see is managing these small individual packages, and declaring dependencies between them. This is possible with PIP and setuptools, but there is certain overhead involved, I feel like this step is ought to be simpler, especially to people who don't want to fully dive into Python.
[0] https://github.com/karlicoss/HPI/blob/master/doc/DEVELOPMENT...

the_duke#
> since there are many different data sources and ways of representing them

I've been working on something quite similar for a while (in Rust).
I decided to normalize data to schema.org types where available and store JSON-LD documents in a key/value store. While the schema.org types are far from perfect, it at least morphs data into a standardized format.

simonw1 reply#
Have you looked at Pluggy much?

It's the Python plugin system that was spun out of pytest. I'm really impressed by it - it's a very clean design, and integrates great with Python packaging.
I'm using it extensively for Datasette, which means myself or others can add new features to the core software without needing to ask permission and in a way which supports trying out crackpot new ideas without sullying the design of the core software.
I've been thinking about usi it for my Dogsheep personal analytics suite too, which is currently split up into a bunch of separate tools in separate repos (since the only unifying interface is that they all spit out SQLite databases).

karlicoss1 reply#
Thanks, looks great, I'll check this out! So far I haven't even done proper research of potential solutions, because I feel like it would be overengineering at this stage, I'm still figuring out the core.

Continue this thread — 1 reply

srat172 replies#
Cool!

Offtopic: how did u create the blog? Did you use WordPress? If so, which theme? If not, what UI library did you use?
I ask because I have a blog myself which looks like crap haha.

karlicoss#
Yep, most sources are org-mode, there are few ipython notebooks too.

Hakyll in HTML sources is actually just an artifact left in my template, from the times when I did use Hakyll. Should probably remove it.
I found it a bit overkill for my purposes and often overly restricting me, so I've switched to a Python script to generate everything: https://github.com/karlicoss/beepb00p/blob/master/src/build.... It's a bit ad-hoc, but ended up the same length as my old Hakyll code, and allows me to experiment much faster.

Load more comments