sheet (4,251)


search - Lucene Score results

search - Lucene Score results

In Lucene if you had multiple indexes that covered only one partition each. Why does the same search on different indexes return results with different scores? The results from different servers match…


Catching SQL Injection and other Malicious Web Requests

I am looking for a tool that can detect malicious requests(such as obvious SQL injection gets or posts) and will immediately ban the IP address of the requester/add to a blacklist. I am aware that i…


regex - Learning Regular Expressions

I don't really understand regular expressions. Can you explain them to me in an easy-to-follow manner? If there are any online tools or books, could you also link to them?…



javascript - How to set up a CSS switcher

I'm working on a website which will switch to a new style on a set date. The site's built in semantic HTML and CSS, so the change should just require a CSS reference change. I'm working with a design…


Haml: how do I set a dynamic class value?

I have the following html.erb code that I'm looking to move to Haml:<span class="<%= item.dashboardstatus.cssclass %>"><%= item.dashboardstatus.status %></span> What it does is associate the CSS cl…


Conditional Visibility and Page Breaks with SQL Server 2005 Reporting Services

I know there's a bug with conditional visibility and page breaks with SQL 2005, but I wonder if anyone has come up with a work around. I have a table that has a conditional visibility expression, and…


Lucene exact ordering

I've had this long term issue in not quite understanding how to implement a decent Lucene sort or ranking. Say I have a list of cities and their populations. If someone searches "new" or "london" I…


How do you retrieve selected text using Regex in C#?

How do you retrieve selected text using Regex in C#? I am looking for C# code that is equivalent to this Perl code: $indexVal=0; if($string=~/Index:(\d*)/){$indexVal=$1;}…


windows - simultaneous Outlook reminders on multiple devices

Disclaimer: This is not actually a programming question, but I feel the audience on stackoverflow is more likely to have an answer than most question/answer sites out there. Please forgive me, Joel,…


Reading Excel files from C#

Is there a free or open source library to read Excel files(.xls) directly from a C# program? It does not need to be too fancy, just to select a worksheet and read the data as strings. So far, I've bee…




cheat tutorial example how pdf regex examples python multiple from