Messages - DeVamp [ switch to compact view ]

Pages: prev1 ... 15 16 17 18 19 [20] 21 22 23 24 25next
96
N.A.N.Y. 2011 / Re: NANY 2011 Teaser: TaskDaddy Pre Release
« on: September 22, 2010, 08:11 AM »
Yes, and I ran it. I doubt I will integrate it into my existing code. My current code is like a desk, it is messy but I know where everything is. Plus lately every new line of code I add introduces a new bug. Plus, it is a section of code that I have investing a lot of testing and bug fixes in, I am not ready to begin that cycle again.
Ofcoure, that logic.
But I made it to implement my idea of logic of subject and body.
I thought it would made it easier to explain how exactly I had it in mind.

97
N.A.N.Y. 2011 / Re: NANY 2011 Teaser: TaskDaddy Pre Release
« on: September 22, 2010, 04:30 AM »
Daddydave,

Did you get my PM with the link?

98
N.A.N.Y. 2011 / Re: NANY 2011 Teaser: TaskDaddy Pre Release
« on: September 20, 2010, 08:08 AM »
For the colons:
My first idea:
As it is programmed now, we need to use 2 colons to keep 1:
@Stuff New stuff 2 #01/11/2010 the stuff @important_stuff hupla, do stuff @stiff_this even more stuff :: todostuff
gives
... even more stuff : todostuff

Actually there is a general problem to be solved here that I would very much like to solve..how to allow special characters to be non-special without cluttering up the syntax..for example what if I want a subject that starts with #? I thought about allowing something like a backslash..
I'll think along with you. It will grow on me in the background while working on my work things.

Here's my quick idea:
We could also use 2 special characters to seperate a part:
(I've never understood why to use a '@' in front of a category, so I don't use them)

EX1:
@@Stuff New stuff ##01/11/2010 the stuff @@important_stuff hupla, do stuff @@stiff_this even more stuff : todostuff
Gives:
Subject : New stuff
Cat : Stuff, important_stuff, stiff_this
Due : 01/11/2010
Body : the stuff hupla, do stuff even more stuff :: todostuff


EX2:
@@Stuff Stuff again :: Need to exercise on : the other stuff aswell
Subject : Stuff again
Cat : Stuff
Due : N/A
Body : Need to exercise on : the other stuff aswell



One more thing:
I'm assuming you parse the string from left to right, but since I have no idea how you programmed it, I'm may be wrong.
BUT:
in ex1, after you've parsed the Subject, you know that you already have a subject, so I would assume the rest is automatically body, and then you have to parse the "body" for dates and categories and remove then from the body.

Wow, thats a lot in the preview.
I hope everything makes sense here :-)
If not, ask me so I can clear out things.

99
N.A.N.Y. 2011 / Re: NANY 2011 Teaser: TaskDaddy Pre Release
« on: September 20, 2010, 05:18 AM »
------snip
@Stuff New stuff 2 #01/11/2010 the stuff : hupla
Since the due date “interrupts” the task subject, the task subject is considered complete and TaskDaddy deduces that any remaining unmarked text is the subject body, in spite of not including the colon. Task body deduction is the only time the order of the task attributes matters.
However, there is no harm in including the colon every time you specify a task body.
------end snip
Is this good enough or are you requesting it to be interpreted differently?

* On further reflection, I think I learned this in typing class and not in English class, so I am not sure if it is a grammar rule or not.
Personally I had in mind that while the body can be determined after the due date, it wouldn't check for a colon in the text and just take it all :-)

It's just that I find the result strange:
You check for a colon to split the title and the body, but you still return the whole part after the due date. And not just the part after the colon.

so if the body would be "hupla", i would understand it.

And you are correct, normally the colon needs to be attached to the previous word, but consider me not normal :p
The way I use it in tasks is not like written in a continuously text. :-)
I use it more as a seperator and I don't like to use ' - '.

100
N.A.N.Y. 2011 / Re: NANY 2011 Teaser: TaskDaddy Pre Release
« on: September 20, 2010, 02:00 AM »
Great to see an update. :-)


One thing I've seen is that ':' (colon) is removed from the body.
EX.: @Stuff New stuff 2 #01/11/2010 the stuff : hupla

See attachment for result.

Oh, and the site gives me an error :'(


Pages: prev1 ... 15 16 17 18 19 [20] 21 22 23 24 25next
Go to full version