#taskwarrior

/

      • lydgate_ joined the channel
      • seschwar_ has quit
      • bleader_ is now known as bleader
      • doppo joined the channel
      • fling joined the channel
      • ktosiek joined the channel
      • gahr has quit
      • gahr joined the channel
      • Haudegen has quit
      • e8johan joined the channel
      • Haudegen joined the channel
      • viq has quit
      • viq joined the channel
      • ktosiek joined the channel
      • CodeBot3000 joined the channel
      • djp releases more code: "two" at https://github.com/linuxcaffe/two -- Task Wiki Opener
      • djp
        .. you're all using taskwiki.. right??
      • tbabej: this is where I was going with taskwiki issues #42 and #43
      • working great here (not rocket science)
      • Lynoure
        Never actually tried taskwiki yet.
      • djp
        use taskwarrior? use vimwiki? you gotta!
      • Lynoure
        so far not yet vimwiki, though it sounds interesting.
      • bqf
        can someone running OSX verify that "sleep 0.1" works? i'd like to use decimal sleep values, but apparently that is not POSIX compliant.
      • pbeckingham
        time sleep 0.1
      • real 0m0.102s
      • user 0m0.001s
      • sys 0m0.001s
      • tbabej
        djp: cool! working bash script that solves your use case
      • tbabej is so proud
      • bqf
        pbeckingham: thanks!
      • tbabej feels the karma boost
      • tbabej
        Unode: botbot seems not to show the individual kudos level for participants, only precentage of messages that contain gratitude
      • I'm kinda disappointed, all those thanks bqf jokes were kinda off then :/
      • nitefall joined the channel
      • plopix joined the channel
      • bqf
        tbabej: so those were not expressions of true gratitude? screw you then! i'm opening my own taskwarrior channel. with blackjack. and hookers.
      • Haudegen joined the channel
      • djp: http://wbsch.de/on-exit_git.sh updated, timeout added before throwing an error. vit and/or tw-vim should still rethink their task calls and possibly add "rc.hooks=off" for some/most of them.
      • it's a bit of a trade off. you want the hooks to run for normal reporting so they can work their magic even with a GUI active, but you don't want them to run when you query for certain things like "task count" or whatever your GUI was trying to display in the status bar.
      • djp
        bqf: I'm patient, that's awsome, gonna go for it this evening, yay!
      • pbeckingham
        bqf: Also, let it be clearly stated: hooks kill UI performance.
      • djp
        bash conditional question: how do I ask 'if [[ ${1} endswith ':' ]]
      • =$
      • ?
      • erikw joined the channel
      • pbeckingham
        if [[ "$1" =~ :$ ]]
      • djp
        or, better [[ ${1} == [a-zA-Z0-9]':'$ ]] sort of thing
      • oh cool, thanks pbeckingham
      • pbeckingham
      • djp
        I see you use quotes and not the curly-braces, I'm just copying syntax, without knowing the diperfect
      • oops
      • meant to say "perfect"
      • pbeckingham
        djp: Consider your example, if $1 is empty.
      • djp
        I have a conditional for that
      • pbeckingham
        djp: No, what I mean is if $1 is blank, your line becomes: if [[ == [a-zA-Z0-9]':'$ ]]
      • tbabej
        bqf: Speaking of overkill solutions, I think all you need is a client side daemon to queue these pushes.
      • pbeckingham
        With quotes, that is: if [[ "" == [a-zA-Z0-9]':'$ ]]
      • But then the double [[ ]] come into play, and it all gets a bit ...
      • djp
        tbabej: client-side daemon +1
      • task-actor-hook
      • :)
      • tbabej
        Also, I'd argue hooks & UI can go together, UI just must make sure to aggregate 'task' calls as much as possible.
      • djp: No, no, actor is a daemon for entirely different purpose.
      • djp
        i know
      • tbabej
        djp: Curious, have you actually tried it?
      • djp
        not yet
      • looked at it a bunch
      • I should really install it, I'm a poster-child for that sort of thing :)
      • distractions?
      • tbabej
        djp: I can send you some configuration files to get you started
      • djp
        rilly? I'm IN!
      • tbabej
        namely a config for curfuw and time wasting websites
      • djp
        I need to stop myself from spanding all night on bash and docs, like last-night
      • tbabej
      • this is the sleep habit
      • and this the config file for making sure you don't access time wasting sites :)
      • djp
        cool! like github! speaking of docs..
      • tbabej: nudge
      • tbabej
        djp: yeah, I know, soon :)
      • djp: those config files will not work directly for you - you need to cut out the Hamster (Time Tracker) as I persume you don't use it
      • djp
        copy that
      • bqf
        djp: no, tbabej said to _remove_ it from the config. (sorry, couldn't resist)
      • ktosiek joined the channel
      • pbeckingham: yeah, absolutely. certain hooks will kill performance. the on-exit_git.sh hook doesn't if only run for maintaining a local git repo, but it will if you have it pull/push from/to a repo.
      • tbabej
        I need some advice.
      • So Actor is a tool that makes sure you don't do stuff you promised yourself you won't do, like staying up all night.
      • However, there are certain cases when I disable it, for varyious reasons (i.e. I need to finish this project).
      • CodeBot3000 has quit
      • I wanted to implement some kind of a server part, which would track for how long it has been disabled.
      • So that a third party user with credentails could access that information and nag me.
      • But I can't think of a way how to make this work for the times when I am offline.
      • Basically, I want the application itself being able to prove to the server that it has been running.
      • I'm thinking of varyious timestamp hash-approaches, blockchains and stuff, but it's hard to figure out a system that will not allow you to generate the proof retrospectively.
      • I have some more thoughts, but I'm not gonna spam them here, so if anybody has ideas, PM me.
      • bqf
        tbabej: when you're at the "i need to come up with a system that i can't tamper with myself so i don't fake work" stage, you might want to think about what you're doing.
      • ktosiek joined the channel
      • tbabej
        bqf: Yeah, I agree it's probably impossible to do it, I'm just trying to make it sufficiently hard enough so that it would be more cumbersome than actually doing the stuff.
      • djp
        bash question: after 'if [[ ${1} =~ [0-9a-zA-Z]:$ ]]', finding foo:, how do I then assign 'ATTRIB=foo' (or $1 without the ":")
      • CodeBot3000 joined the channel
      • tbabej
        ATTRIB=`echo $1 | cut -d: -f1`
      • CodeBot3000 has quit
      • djp
        thanks tbabej, similarly, after 'if [[ ${1} =~ [0-9a-zA-Z]:[0-9a-zA-Z] ]]' assign $ATTRIB:$FILE
      • Lynoure
        As I am the queen of stupid questions: why do you need to make it fake proof? I mean, lying to yourself through such hassle seems crazy. Other people using it to monitor things seems freaky.
      • CodeBot3000 joined the channel
      • tbabej
        Lynoure: You're right. I'll go with the simply status pinging, as I am online most of the time anyway.
      • Lynoure: However, it's a interesting problem, so I've been trying to come up with a cryptographic proof system.
      • Lynoure
        tbabej: if you want statistics, you could just gather them locally and submit later, too.
      • tbabej
        Lynoure: yep, that's the plan.
      • Lynoure: but if all the client is reporting is 'OK', and timestamp then it's ridicolously easy to fake
      • ktosiek joined the channel
      • So if this is a aversary user, who's trying to bypass the restrictions and fool his mentor, I need to somehow crank the level up.
      • Lynoure
        tbabej: Sounds a bit Karate Kid :) I'd be lazy and wait for that feature request.
      • bqf
        tbabej: here's an alternative - give me root access on all your machines. i will then randomly monitor your activities so you can never be sure whether you're being watched or not.
      • all this for only $299/month
      • tbabej
        bqf: Sorry, that's more then my rent :D you'll need to amend your price levels.
      • bqf
        tbabej: i don't do discounts. you'll just have to earn more, which you will with the help of my services. with your productivity reaching entirely new levels, you will be a millionaire in no time at all.
      • so you can either invest in your future now or keep living your boring, normal life. it's your choice.
      • tbabej
        bqf: Is there any guarantee of no easter-bqf-eggs landing up in my system as a side-effect? :P
      • CodeBot3000
        Anyone got a tip on how to easily modify tasks that have already been completed?
      • tbabej
        CodeBot3000: yeah, look it up via 'task all <part of description>', and then use it's uuid to 'task <uuid> mod <your modifications>'
      • Haudegen joined the channel
      • CodeBot3000
        tbabej: Cool, thanks. But what if I wanted to modify multiple tasks? I'd have to write the uuid for all of them?
      • tbabej: OK, so I did what you suggested and copied the uuids to Vim, then edited them into a command and it all worked out. Thanks!
      • bqf
        tbabej: this is a professional offer and you have my personal guarantee that there won't be any nasty surprises. if you want that guarantee in writing that can be arranged as well, but it's part of my enterprise plan. if $299 already seems high to you, you probably won't be interested in that.
      • CodeBot3000: if you have a filter that is specific enough, you can just do "task yourfilterhere mod yourmodificationshere" - it works for completed tasks as well. tbabej only mentioned copying the uuid because you might find several tasks with your partial description search.
      • CodeBot3000: for example, if all task you want to modify have the "+foo" tag, "task +foo mod +bar" would add a "+bar" tag to all of them. if you only want to modified completed tasks, "task +foo status:completed mod +bar" would do it.
      • s/to modified/to modify/
      • CodeBot3000
        bqf: Thanks!
      • What I'm trying to do, specifically, is get all the tasks that have priority M BUT the ones already completed and bump them down to priority L
      • Is there a way to ignore completed tasks?
      • task status:pending?
      • tbabej
        CodeBot3000: yes, if you want only the pending tasks (there are also deleted tasks to consider)
      • you can also use +PENDING as a equivalent of that
      • CodeBot3000
        Cool, it worked. Thanks!
      • stef204 joined the channel
      • fling has quit
      • pbeckingham
        djp: I recommend either [a] learn bash so you can tell us all to get lost, or [b] follow advice: if [[ "$1" =~ ...
      • jwest joined the channel
      • djp
        column [a] or column [b] you say? :p
      • stef204 has quit
      • Haudegen joined the channel
      • fling joined the channel
      • fling joined the channel
      • e8johan has quit
      • nitefall has quit
      • Haudegen joined the channel
      • stef204 joined the channel
      • e8johan joined the channel
      • stef204 has quit