Showing entries 1 to 2
Displaying posts with tag: priority (reset)
MySQL Indexing Considerations Of Implementing A Priority Field In Your Application

Introduction

If you, like me, are building or thinking of implementing a MySQL-powered application that has any need for prioritizing selecting certain data over other data, this article is for you.

Example

As a real world example, consider a queue-like video processing system. Your application receives new videos and processes them. The volume of incoming videos can at times be higher than the processing rate because the process is CPU bound, so occasionally a pretty long queue may form. You will try to process them as fast as you can but…

Note that I am using a queue here, so the the next item to be processed is a result of sorting by some sort of field in a ascending order, for example ORDER BY id or ORDER BY upload_date. Iâ€ll pick the id sort here.

…suddenly, you need to process a video somewhere in the middle of the queue or an important video enters and …

[Read more]
TaskFreak! v0.6.2 - Tweaking Priority Menu

Background Knowledge

For some reason or another the priority menu in the edit task panel is not wide enough and therefore it cuts off the priority names. This can be easily fixed by modifying some inline CSS. Yes I agree this should be done within the skin’s CSS file, however there is nothing present in the CSS file to alter that I could find.

Solution

Edit /taskfreak/include/html/xajax_panel_edit.php at line #18 by changing the width value of “40px” to “125px” or to what you desired width.

Code Before

16
17
18
19
<td>< ?php
$objTemp = new ItemPriority();
$objTemp->qSelect('priority',($objTask->priority)?$objTask->priority:3,'','','style="width:40px"');
?></td>

Code After

1
2
3
4
<td>< …
[Read more]
Showing entries 1 to 2