1
retoor
3d

So, a while ago I made a keylogger (called tikker (project is on my site) and now I created plot with statistics. Interesting, I work literally full time (24h) :P So now I have a graph of activity per hour:

Comments
  • 0
    Activity per day:

    Fun stuff, can't wait to have multiple weeks.

    The database contains 800.000 records and is 50Mb big after more than one week.
  • 4
    Apparently you never release. Someone needs to get laid.
  • 1
  • 2
    @retoor it's me. I need to get laid.
  • 2
    @atheist just be like me, write graphs instead and after that impress girls with your keystroke statistics while you tell them the keys are not the only thing that needs to get stroked. Wink wink
  • 1
    @atheist or join me on the anti spam mission. Today I gonna clear the first five pages of devrant from spam. It was cleared before but they upvotes again..
  • 1
    @retoor I'm currently rewriting the invoke python library because I use it quite a lot. It's very clearly written by someone with a degree in computer science that's a very competent programmer but a horrendous coworker....
    https://github.com/pyinvoke/invoke

    They have test cases which are like "test init takes args", "test init raises exception if arg missing"...

    Everything is dynamic. Like, Python is dynamic but their code looks like javascript. They've used the lexicon library which let's you just set anything anywhere. https://pypi.org/project/lexicon/
  • 1
    @atheist fuck, i was writing something like that too! Will you publish it on github? I didn't know about pyinvoke. Yeah, thaat's a cool think to do. Make is too limited. Can't even give freaking arguments. I want to do `invoke serve -port=1337`. Not `PORT=1337 make serve`.
  • 0
    Wauw, this is my most inpopular rant ever. Did I say smth racist? :P
  • 1
    @retoor when it works I'll let you know. At the moment invoke works (and I've been using it) but it's very esoteric, type annotations aren't great, there are some features I'd like to add but I figure it's easier to rewrite than try to change...

    But yeah, I use it instead of make for running tests, building docs, stuff like that.
  • 1
    @atheist I will do too. I will install invoke globally, the point for me is not sitting on an env while I execute invoke. My Make files also prevent activating env. They look like this:

    PYTHON=./.venv/bin/python

    PIP=./.venv/bin/pip

    APP = ./venv/bin/myapp

    install:

    $(PIP) install -e .

    test:

    $(PYTHON) -m unittest

    run install

    ./$(APP)
  • 1
    @retoor have you found pipx yet?
  • 1
    https://github.com/pypa/pipx
    Basically let's you install a python package like a system binary
  • 1
    @atheist I know it but i don't use it. I have a global virtual env: and i do just ln -s ~/.venv/bin/[the python app] /usr/local/bin/[name]. Works fine.
Add Comment