Page 8 of 13
Re: Self-descriptions
Posted: Mon Feb 22, 2010 7:11 pm
by SekoETC
I agree. Overall, the comments in this thread have been rather positive. The only major problem is the language issue.
Re: Self-descriptions
Posted: Mon Feb 22, 2010 7:21 pm
by Doug R.
You can go ahead and fix that bug, Seko.
Re: Self-descriptions
Posted: Mon Feb 22, 2010 7:52 pm
by Dudel
SekoETC wrote:I agree. Overall, the comments in this thread have been rather positive. The only major problem is the language issue.
The "language issue" isn't exactly a problem. I mean, I can look at someone who's not from my area and tell they aren't from my area. Maybe not the language they speak BUT you get my gist.
Re: Self-descriptions
Posted: Mon Feb 22, 2010 8:08 pm
by Piscator
I think it was also agreed upon that an external description should be able to be changed anytime. If you really don't want someone else to know which language you speak, you could just delete the description.
Re: Self-descriptions
Posted: Mon Feb 22, 2010 9:00 pm
by Dudel
Or translate it multiple times.

Lots of options, yeah.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 3:24 am
by SekoETC
Although this is not in the accepted section (yet), I've implemented it in the test environment and people with access can check it out. It doesn't log the changes yet, though (although it claims it does), and I'm also working on a script that will hopefully strip html tags from the descriptions since even though the instructions say that HTML isn't allowed and doesn't work, I'm sure someone would include it anyway just to test it and that would look out of place, so I'm trying to make it so that it deletes the tag signs and everything in between. But that requires getting the positions of the opening and closing tags (there's a function for that, fortunately) and then I should be able to make an array of lengths to snip out.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 9:30 am
by EchoMan
Re: Self-descriptions
Posted: Tue Feb 23, 2010 9:34 am
by randognsac
Kinda wish I understood any of that, but then again I would probably never get off the computer if I did.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 12:59 pm
by SekoETC
Oh, cool, thanks Echoman. I wonder how it handles mismatched tag signs, though.
Well bloody hell, how am I supposed to find out where it creates the reports in the first place when Windows Search doesn't work? Microsoft has admitted that it made it stop searching the whole contents of the files in order to save time. Well it's supposed to search the whole contents of the files or otherwise it can't find shit. If it doesn't have reports in the title then it's not going to find it, and it's not in one of those two files. So I know where it processes the reports, and I know how it updates those reports, but it must first create the reports in some point or it can't update them. It's impossible to update something that doesn't exist. So will I have to open every file to search the contents with some other program? I guess so. Bloody retarded. I guess I could just make it check for if the report already exists and make it insert one if it doesn't, but that's suboptimal. It doesn't do that for the other reports, it must process them somewhere but it doesn't have a logical file name.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 2:04 pm
by EchoMan
Now you lost me.

Re: Self-descriptions
Posted: Tue Feb 23, 2010 2:11 pm
by SekoETC
Yeah, maybe it's complicated... But maybe I read wrong and it never deletes stuff from that table so it would never have to insert anything either, I guess it just updates them as blank when they are emailed. It's for tracking changes, it requires it to write stuff in a report and email it while it emails all the other reports, but I have trouble understanding this code.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 3:47 pm
by EchoMan
I really fail to see how this have anything to do with stripping tags from a textarea input element. Are we still talking about that?

Re: Self-descriptions
Posted: Tue Feb 23, 2010 3:51 pm
by Piscator
I think this is about creating the report that will be sent to PD.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 3:53 pm
by EchoMan
Ah, ok. I missed that part.
Re: Self-descriptions
Posted: Tue Feb 23, 2010 3:56 pm
by SekoETC
Yeah. I've got the logging working in the db but haven't quite figured out the mailing script yet. And also I was trying to use a javascript to show how many characters you have left because not like anyone would use Word or something if they were concerned about their text getting truncated, but it doesn't seem to work. I don't know why, I did it like the example says but it does nothing. But since the private description box also has a max length that's just not revealed to the user, I guess it could be left out, it would just be a bad user interface.