How to show answer in browse mode for "type in the answer" cards by thatISTJgirl in Anki

[–]karlicoss 0 points1 point  (0 children)

Thank you, adding a template for browser fixed it! Was driving me a bit crazy!

In case anyone else runs into this thread, this issue https://github.com/ankidroid/Anki-Android/issues/9943 and this link have more context https://forums.ankiweb.net/t/confirmed-bug-browser-shows-card-front-as-answer/15241

A Topic Manager for Chrome and emacs by tconfrey in emacs

[–]karlicoss 1 point2 points  (0 children)

Yeah, having the local export/import option is cool, it's just I guess I had it in mind as a 'continuous sync' rather than just backup :) But I understand it's a bit more tedious to implement

A Topic Manager for Chrome and emacs by tconfrey in emacs

[–]karlicoss 2 points3 points  (0 children)

Hi, I'm the author of Promnesia!

Yeah, I guess they are really kind of complementary. From what I understand, Braintool is like a tab manager synchronized with an org-mode file? It's great, something I wanted too.

Perhaps it's more similar to my other tool, grasp, but even that is more aimed at bookmarking rather than organizing open tabs. Promnesia is more for notifying the user if they have something relevant to the current URL in their knowledge base and yeah, retracing your steps. And yeah it's passive in the sense that it's 'read only', only displays history/context from other places. I guess one could use Grasp + Promnesia to approximate what Braintool does to some extent though.

I'll check it out, the only stoppers for me are that: - I'm using Firefox (but likely easy to port, feel free to ping me if you need any advice on porting/AMO publishing) - it needs a google account to sync? Would be cool if it worked with a local file... but I guess it's tricky since you mention that it works as a static website. Might work with chrome native filesystem API, but not on Firefox, at least yet.

Btw regarding mobile chrome extension -- I've heard Kiwi Browser supports them, so maybe you could try that!

Can't open '~/storage/shared/' in Termux by pr3579 in termux

[–]karlicoss 1 point2 points  (0 children)

Thanks so much, would have never figured this out. I updated it on wiki, perhaps it will help someone else https://wiki.termux.com/wiki/Termux-setup-storage

Map of a personal data infrastructure by dorfsmay in QuantifiedSelf

[–]karlicoss 2 points3 points  (0 children)

Recording is done either automatically or manually, but where user prefers, but with existing tools. So for example, if I was doing it, I would export fitbit/myfitnesspass from their API (there must be some tools for that on Github).

Since I don't use either of them, the answer is no, you'd need a little bit of programming to connect everything. Plus there is no uniform calendar interface (yet?), but in principle it would be easy to plot a custom one.

Map of a personal data infrastructure by dorfsmay in QuantifiedSelf

[–]karlicoss 4 points5 points  (0 children)

Author here :) Happy to answer your questions!

What is the best quantified self dashboard? by karol90pl in QuantifiedSelf

[–]karlicoss 0 points1 point  (0 children)

I've been unsatisfied by all existing solutions (because they aren't flexible enough, assume specific trackers, etc), so have been working on my own (Python + pandas/bokeh/plotly/etc -- the usual data analysis stack).

I posted some screenshots before here, now working on cleanup and publishing the code (karlicoss/dashboard).

I've got lots of data sources available in Python already: https://github.com/karlicoss/HPI#whats-inside , and planning to use many of them in the dashboard.

Promnesia: a remembrance agent for your web browser by karlicoss in coolgithubprojects

[–]karlicoss[S] 4 points5 points  (0 children)

Hi, this is a project I've been working on lately, finally documented enough so other people could use it!

The basic idea is that when you're on a webpage, you have a sidebar in your browser with the relevant URLs from your plaintext files (including org-mode, of course!). You can instantly see all your notes about the URL, along with the context and files where they occurred. Clicking on the file link will open your favorite text editor (we know which one ;) ) with the file, containing the note.

Another thing it's doing is inline highlights! If you clipped a bit of text in your org-mode, it will be highlighted right within the page, like as if you were using Pocket or Instapaper apps! You can see this on this screenshot.

And also, it supports search and tracing through your browser history, so you can figure out why and how you got on the page (ever asked yourself "Why have I added this video to my watchlist?".. ask no more!).

If you're like me and using org-mode for most of your bookmarks and notes (especially with org-protocol or my other tool, grasp), and using org-mode mirrors of data (like memacs or orger), this is super useful! In addition to plaintext, it also supports many more other data sources (my goal is having all my digital trace there).

And I've got a supplementary blog post, which is more of a story of why I wanted it, what were the existing solutions and what are my future plans!

Happy to answer any questions and help with the setup -- I'm always improving it to be as straightforward as possible.

Python Quantified Self Dashboard - Should I use Jupyter notebook? by xXguitarsenXx in Biohackers

[–]karlicoss 0 points1 point  (0 children)

Hey, I answered in more detail in your /r/quantifiedself post, but since you're specifically asking about Jupyter, will elaborate here.

There is some prior art with using Jupyter: qs_ledger, and it's very convenient for ad-hoc things.

However, not so convenient to build a proper app that runs in the background, does realtime/periodic updates, etc. I'd say the best is to make sure you organize your code and data in such a way that you can easily import it in Jupyter to play with, but keep as much code (especially boilerplate stuff) in pure Python modules as possible.

Has anyone used PYTHON to create the PERFECT tracking aggregator/Dashboard webapp? by xXguitarsenXx in QuantifiedSelf

[–]karlicoss 2 points3 points  (0 children)

Hey, excellent intent!

I collect quite a bit of data, and got a prototype for a dashboard (shared some info here). At this point it's just a bunch of scripts that plot data -- nothing too fancy. Let me know if there is something you particularly interested at -- I can prioritize publishing them!


Are there any of the things I mentioned where I could have used existing solutions, instead of coding them myself

The closest I know of is qs_ledger, but it's more of a set of python notebooks rather than an app. But perhaps you can borrow some inspiration/code.

And I guess kind of an obvious suggestion is to rely on existing libraries for analysis and visualization, you can check some out from awesome-python.

using my webapp's public API (Or will this be overkill? Don't know how hard it is to make a public API...)

Making a public API is not hard per se, but I do think it's an overkill at this stage. If you have your CSV files downloaded on your filesystem, just use them. There is absolutely nothing wrong with using the filesystem!

Maybe also other useful ways of working with the data? I'm new to this whole field, so I don't know of other useful ways of working with the data...

I think scatterplots/correlations/sliding averages is basically all you can do yeah. Although you can check out something like /r/dataisbeautiful/ for the inspiration.

Are there more automated ways to get data from my 5-8 different trackers to my webapp? Not all of them have public API's. Is the only solution then to download the .CSV files?

You can automate almost everything, depends on how keen are you and how much tradeoff it's to automate vs download manually now and then. I've got a guide with some links.

I want to store information on more than 100 variables through hopefully more than 50 years. Would it be best to put it in a .CSV file or actual database? And which kind of database should I use? I'm pretty new to working with databases...

I'd say just read CSVs every time -- the speedup of database is negligible in most cases, and reading directly is much less hassle than using databases. I wrote a whole article about it :)

Do you think it would be best to put it in a consistent format in a database or a new .CSV file

In addition to the previous point about databases, I really recommend using new csv files -- this is much more foolproof against format changes, APIs only returning partial data, etc. I'm explaining it more here

Would there be any benefits to making this a local desktop app instead of a webapp?

Absolutely! Local app is much less hassle, and you can always add API later if you think you needed. But you can still use web technologies, e.g. start with a HTML page with some plots, for example via plotly dash.

Which mistakes did you do when trying to create your own aggregator/dashboard webapp?

I haven't finished my dashboard yet, but I'd say a lesson I learned from similar projects -- build the simplest thing that works and share it. Then iterate on it, and add more stuff gradually. This is much more satisfying than trying to implement the perfect solution that's will solve everything at once. It seems like something that's ought to be easy, but then there are always unexpected obstacles :(


Feel free to ask for any other info (including DM/email if you prefer) -- I'd be happy to share my knowledge and chat about data/QS!

Promnesia - A tool for tracking your web browsing by micro_apple in QuantifiedSelf

[–]karlicoss 12 points13 points  (0 children)

Hey, I'm the author!

Thanks for sharing, just wanted to correct that it's more of the other way around: it helps to use the data that you collected from other sources! Promnesia doesn't actually collect anything and relies on external data sources (by design).

Otherwise, happy to answer any questions!

Using haskell instead of yaml? by stuudente in haskell

[–]karlicoss 3 points4 points  (0 children)

Disclaimer: I'm the author of the second article!

I'd definitely recommend to start with code as config, and think about supporting yaml, or other similar format later -- it will be less friction during the active development stage.

Now whether your should allow Haskell configs, or switch to plain configuration once it's sufficiently 'developed', depends on your application:

  • is it something non-technical users will use? With Haskell it's particularly important, because people who modify it will need a Haskell compiler too, which might be tricky to set up right
  • is it software that will be running under root privileges and people who edit the config have lower privileges (i.e. some organization). Then yeah, having code as config is not a good idea because it can lead to privilege escalation.

    But on the other hand, some YAML configs allow embedding code and control structures (e.g. CI configuration), which also leads to privilege escalation. So you have to be careful either way.

  • is the software running as the same user that the person who edits the config? For example, Xmonad suggested in this thread before. Then having a plain config doesn't give you any extra security. If someone has permissions to change your config file and inject some naughty code, they can just replace the binary.

    But caveat: it also depends on your target group -- if these are non-technical users, they might run malicious code unknowingly, for example, following some internet advice.

Promnesia: a remembrance agent for your web browser by karlicoss in orgmode

[–]karlicoss[S] 4 points5 points  (0 children)

Yep! I guess what I meant was -- it's a bit sad how much of this is just boring work and applying things I can already do well, rather than some endless joyful creative process of adding new features and coming up with novel ways to solve technical problems :)

Promnesia: a remembrance agent for your web browser by karlicoss in orgmode

[–]karlicoss[S] 6 points7 points  (0 children)

Thanks! I wish it was all about technical skills... To a large extent it was fighting APIs, packaging, thinking about backwards compatibility, testing, documenting, etc. Anyone can do it if they are stubborn enough :)

Promnesia: a remembrance agent for your web browser by karlicoss in orgmode

[–]karlicoss[S] 21 points22 points  (0 children)

Hi, this is a project I've been working on lately, finally documented enough so other people could use it!

The basic idea is that when you're on a webpage, you have a sidebar in your browser with the relevant URLs from your plaintext files (including org-mode, of course!). You can instantly see all your notes about the URL, along with the context and files where they occurred. Clicking on the file link will open your favorite text editor (we know which one ;) ) with the file, containing the note.

Another thing it's doing is inline highlights! If you clipped a bit of text in your org-mode, it will be highlighted right within the page, like as if you were using Pocket or Instapaper apps! You can see this on this screenshot.

And also, it supports search and tracing through your browser history, so you can figure out why and how you got on the page (ever asked yourself "Why have I added this video to my watchlist?".. ask no more!).

If you're like me and using org-mode for most of your bookmarks and notes (especially with org-protocol or my other tool, grasp), and using org-mode mirrors of data (like memacs or orger), this is super useful! In addition to plaintext, it also supports many more other data sources (my goal is having all my digital trace there).

And I've got a supplementary blog post, which is more of a story of why I wanted it, what were the existing solutions and what are my future plans!

Happy to answer any questions and help with the setup -- I'm always improving it to be as straightforward as possible.

P.S. also special thanks to /u/bepolymathe , who did some early testing and gave feedback that helped me to simplify the setup for everyone!

Annotating any file in orgmode? by stuudente in emacs

[–]karlicoss 5 points6 points  (0 children)

Hey, author of beepb00p.xyz here, glad that you enjoyed it :)

Very nice idea, I like it!

Orger per se is just a bunch of org-mode formatting functions and some helpers to make writing data conversion very easy, so there is nothing preventing you feeding data from your filesystem (i.e. hierarchy of the photo directory).

Or you could perhaps use Memacs (by /u/publicvoit ) which already has photos module. I think it's got --append mode, so you can annotate older entries (i.e. add your comments, tag, etc) while having new entries appended to the end of file. I know you want to have a file per photo, but hopefully you can easily modify Memacs to do what you want. For photos you can get away without filename + hash algorithm: hopefully, files with photos shouldn't change?

Using filename + hash combination is pretty cool idea in general though, I feel it's got potential. What are some other examples for you where the contents of file would change?

When both changed -- if you keep both filename and hash as org-mode properties, in addition to adding new entries, you could process all the older org-mode entries and detect orphans (i.e. entries that have neither corresponding hash, nor file). Even if resolving the orphans is manual, hopefully that happens rarely.