filtering

asp.net MVC ActionMethod causing null exception on parameter

I am trying to add filter functionality that sends a GET request to the same page to filter records in my table. The problem I am having is that the textbox complains about null object reference when a parameter is not passed. For example, when the person first views the page the url is '/mycontroller/myaction/'. Then when they apply a...

Data Structure Behind Amazon S3s Keys (Filtering Data Structure)

I'd like to implement a data structure similar to the lookup functionality of Amazon S3. For those of you who don't know what I'm taking about, Amazon S3 stores all files at the root, but allows you to look up groups of files by common prefixes in their names, therefore replicating the power of a directory tree without the complexity of...

search results filter effects - flex

I've created a search with a couple of comboboxes that allow users to filter their search results. The results are currently using a TileList & itemRenderer to display, and now I'd like to add an animation effect when the user filters their results. I know that you can use the itemsChangeEffect to create an animation effect when the us...

DDD: Trying to code sorting and filtering as it pertains to Poco, Repository, DTO, and DAO using C#?

I get a list of items from my Repository. Now I need to sort and filter them, which I believe would be done in the Repository for efficiency. I think there would be two ways of doing this in a DDD way: Send a filter and a sort object full of conditions to the Repository (What is this called)? Repository result would produce an object...

DevExpress AspxGridView filter in ObjectDataSource

Yet another problem with DevExpress AspxGridView :) The context: One Page In the Page, a custom control In the custom Control, a AspxDropDown The AspxDropDown, has a DropDownWindowTemplate In the DropDownItemTemplate, I add a GridView and a paging/sorting/filtering enabled ObjectDataSource When handling the Selecting event of the Obje...

Flex/Air : Text Area with Line Number Filtering

I need to have a Text Area With Line Numbers, & once the Text File is Imported to the Text Area.. the user must be able to select the line numbers & see the filtered output. I have implemented the same with Numeric steppers. I am in search of an enhanced component. are there better Advanced Components for Textarea ? Any Advanced Textar...

building web page content filter

i want to build a filter to block pornography sites so i have some questions : what tools i need ? what are the algorithms i have to use ? (speed , efficient ) where i can find an open source filter ? and i want to use java . thanks update : i need this filter for my project ...

how to filter selected objects then hide objects not selected.

following up from yesterday... This portion of the code does work. $(document).ready(function(){ $('#listMenu a').click(function (selected) { var getPage = $(this).attr('id'); var getName = $(this).attr('name'); //console.log(getPage); //console.log(getName); $(function() { $("#...

Is there any way to filter certain things in pages served by IIS?

Hello, This is my first time posting here so please keep that in mind... I'll try to be short and get right to defining the problem. We have an ASP.NET 2 application (eCommerce package) running on IIS (Windows Server 2003). The main site's page(s) are using plain HTTP (no SSL), but the whole checkout process and the shopping cart page ...

How to get resource values from the POM

I have a dozen configuration properties files for the ant script. These files are used for a customer customization. For example ant should rename *temp_context.xml* to *customer_name_context.xml* where *customer_name* is a property in the conf. file. Now I would like to reuse the same files in the Maven project. <plugin> <groupId>o...

Wrong item checked when filtering ListView in android

I have a ListView with multiple choice entries where some are checked from the beginning using setItemChecked(position, true); I combine this with the filtering option setTextFilterEnabled(true) so it's easy to find a specific entry in the list. The problem is that when I filter the list the entries switch position in the list vi...

Asp.net Mvc 2: Repository, Paging, and Filtering how to?

It makes sense to pass a filter object to the repository so it can limit what records return: var myFilterObject = myFilterFactory.GetBlank(); myFilterObject.AddFilter( new Filter { "transmission", "eq", "Automatic"} ); var myCars = myRepository.GetCars(myfilterObject); Key question: how would you implement paging and where? Any link...

Laplacian of Gaussian: how does it work? (opencv)

Does anybody know how does it work and how to do it using opencv? Laplacian can be calculated using opencv, but the result is not what I expected. I mean I expect the image to be approximately constant contrast at background regions, but it is black, and edges are white. There are a lot of noise also, even after gauss filter. I filter im...

Regular expression incorporating an exclusion (ie "does not contain") for grep

I'm trying to filter webserver log files using grep. I need to output all lines containing 65.55. but exclude those matching lines which contain msnbot. My starting point is this - but it doesn't work: grep "^.*65\.55\..*(!msnbot).*$" ex100101.log > results.txt I'm using grep for Windows (hence double quotes) but I doubt this matter...

Laplacian of gaussian filter use

This is a formula for LoG filtering: Also in applications with LoG filtering I see that function is called with only one parameter: sigma(σ). I want to try LoG filtering using that formula (previous attempt was by gaussian filter and then laplacian filter with some filter-window size ) But looking at that formula I can't understand how...

IE, Firefox, Safari: Want to write Internet filter: Are there well known "hooks" that I can tie into?

For each of the modern browsers are there well known hooks I can tie into so that I can write an Internet filter while browsing, like an interface where I can write implementations for these types of events: OnBeginSurf(URL) { // check URL to see if goes to porn site } OnContentFinishedDownloading(HTML) { // check HTML for "...

Laplacian of Gaussian

I am having trouble implementing a LoG kernel. I am trying to implement 9x9 kernal with theta = 1.4 as shown in this link http://homepages.inf.ed.ac.uk/rbf/HIPR2/log.htm. However, I am having difficulty with the formula itself. If someone could tell me how to calculate the center ie what x and y values to use in order to get -40 in ...

Bandpass filter of FFT applied image. (Like ImageJ bandpass filter algorithm)

There is a good function that I need, which is implemented in Java program: ImageJ I need to understand the algorithm used there. The function has several parameters: link text And before using FFT it converts image to a special one: The Bandpass Filter uses a special algorithm to reduce edge artifacts (before the Fourier transform, th...

PHP Doctrine: Filter Table?

I'm still not convinced after my previous question and some experience. Requirements: I don't want to use an SQL query everytime a filterBy() function is called and still be able to call ->filterBy() on the returned table. Please find the comment @ ObjectsTable class: "How to instantiate another table and add records which match t...

Adding filter parameter to stream filter when using php://filter

I have a binary that I want to convert to standard MIME-compliant base64 string. I thought I could use the php://filter method to filter the stream, but I'm getting hung up on how to set the "line-length" parameter. There are other methods that would achieve similar results, but I'm trying to figure out if: If it's even possible/allowe...