keywords

HTML Help keyword location

I'm writing a manual and some important keywords are repeated in several pages. In the project's index I defined the keywords like this: <LI> <OBJECT type="text/sitemap"> <param name="Name" value="Stackoverflow"> <param name="Name" value="Overview"> <param name="Local" value="overview.html#stackoverflow"> <param name="Name" value="C...

Open-source full-text article recommendation engines

I'm wondering if there are any good .NET recommendation algorithms available in open source projects, whether attached to a search engine or not. By recommendation I mean something that accepts a full-text article and recommends other articles from its index based on keyword similarity. At the high end there are document classification...

Do you ever use the volatile keyword in Java?

In work today, I came across the volatile keyword in Java. Not being very familiar with it, I found this explaination: http://www.ibm.com/developerworks/java/library/j-jtp06197.html Given the detail in which that article explains the keyword in question, do you ever use it or could you ever see a case in which you could use this keyword...

Regular Expression to exclude set of Keywords

I want an expression that will fail when it encounters words such as "boon.ini" and "http". The goal would be to take this expression and be able to construct for any set of keywords. ...

What's the best way to count keywords in JavaScript?

What's the best and most efficient way to count keywords in JavaScript? Basically, I'd like to take a string and get the top N words or phrases that occur in the string, mainly for the use of suggesting tags. I'm looking more for conceptual hints or links to real-life examples than actual code, but I certainly wouldn't mind if you'd like...

Ruby: builtin do ... while ?

Ruby has a wealth of conditional constructs, including if/unless, while/until etc. The while block from C while (condition) { ... } can be directly translated to Ruby: while condition ... end However, I can't seem to find a built-in equivalent in Ruby for a C-like do ... while block (in which the block contents are execu...

Is it possible to explode an array so that its elements can be passed to a method with the params keyword?

Take this non-compiling code for instance: public string GetPath(string basefolder, string[] extraFolders) { string version = Versioner.GetBuildAndDotNetVersions(); string callingModule = StackCrawler.GetCallingModuleName(); return AppendFolders(basefolder, version, callingModule, extraFolders); } private string AppendFolder...

What is the difference between "AS" and "IS" in an Oracle stored procedure?

I see Oracle procedures sometimes written with "AS", and sometimes with "IS" keyword. CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **AS** ... vs. CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **IS** ... Is there any difference between the two? Edit: Apparently, there is no funct...

auto c/c++

Has anyone ever seen the storage class auto explicitly in use in c/c++? If so, in what situation? ...

Etymology of linux commands

Just for fun ... I tend to keep myself alert by looking for serendipitous puzzles throughout the day. One of the things I love about linux is the never-ending amount of cleverness it embodies, from its elegant simplicity all the way to the comments in its manual pages. Can you articulate the unwritten rules that dictate how new command...

What does the @ in this code sample mean?

Html.TextBox("ParentPassword", "", new { @class = "required" }) what the gosh darned heck is the @ for the @class. ...

multiple keyword search script needs some expert input

I have been writting a keyword search script based on this tutorial: http://www.hackosis.com/2007/11/06/howto-simple-search-engine-with-php-and-mysql/ Like some of the commenters mentioned, the script only ends up returning results based on the last word in the search terms. So I have also tried to implement one of the suggestions from ...

Whats the difference between the 'ref' and 'out' keywords?

I'm creating a function where I need to pass an object so that it can be modified by the function. What is the difference between: public void myFunction(ref MyClass someClass) and public void myFunction(out MyClass someClass) Which should I use and why? ...

Continue keyword in Java

I saw this keyword for the first time and I was wondering if some one could explain to me what it does. The situation in which I saw the keyword was: if(obj.isFlagSet()) ; else continue; I can't seem to figure out what the continue is doing. ...

Implementing keyword comparison scheme (reverse search)

I have a constantly growing database of keywords. I need to parse incoming text inputs (articles, feeds etc) and find which keywords from the database are present in the text. The database of keywords is much larger than the text. Since the database is constantly growing (users add more and more keywords to watch for), I figure the bes...

What are possible causes of a sudden drop in google serps for some (not all) queries?

A site I manage has seen a sudden drop in visits from google. It used to have about 300-500 daily visits until a week ago. They were 10% from a strong, competitive query; 80% were long tail queries. Now I lost both, and visits dropped by 90%. I still have There were no changes on the site for the last 3 months, and all changes since l...

What is your system for avoiding keyword naming clashes?

Typically languages have keywords that you are unable to use directly with the exact same spelling and case for naming things (variables,functions,classes ...) in your program. Yet sometimes a keyword is the only natural choice for naming something. What is your system for avoiding/getting around this clash in your chosen technology? ...

How to access keywords for files generated by desktop search engines like Windows Search or Copernic Desktop Search

Dear Folks, I am trying order the files on a common fileshare of my department, containing thousands of documents of various filetypes. My idea was to sort them by content-related keywords. Only few files contain valid info in the keywords file attribute provided by Windows. My idea was to let some desktop search engine index the files ...

Is null a Java keyword?

Is null is a keyword in Java? ...

Why does the 'sealed' keyword exist in .Net?

A large number of classes in the .Net framework are marked as 'sealed', preventing you from inheriting those classes with your own. Surely this goes against the nature of object orientation, where you can extend and redefine the behaviour of existing objects. Is there a good reason for the existence of the 'sealed' keyword? As an ex...