keywords

alternative to goto statement in Java

What is an alternative function for goto keyword in java? Since Java does not have goto. ...

Where is DotNetNuke page keywords stored in database?

Which SQL Server table can I locate keywords associated with a page in DotNetNuke? ...

Why does a programming language need keywords?

For example (in C): int break = 1; int for = 2; Why will the compiler have any problems at all in deducing that break and for are variables here? So, we need keywords because we want the programs to be readable we do not want to over-complicate the job of already complex compilers of today but most importantly, a language is lot ...

Keyword to SQL search

Use Case When a user goes to my website, they will be confronted with a search box much like SO. They can search for results using plan text. ".net questions", "closed questions", ".net and java", etc.. The search will function a bit different that SO, in that it will try to as much as possible of the schema of the database rather than ...

When should clojure keywords be in namespaces?

In clojure, keywords evaluate to themselves, e.g.: >>:test :test They don't take any parameters, and they aren't bound to anything. Why then, would we need to qualify keywords in a namespace? I know that creating isa hierachies using derive requires namespace qualified keywords. Are there any other cases where there is a clear nee...

Clever way of building a tag cloud? - Python

Hi folks, I've built a content aggregator and would like to add a tag cloud representing the current trends. Unfortunately this is quite complex, as I have to look for keywords that represent the context of each article. For example words such as I, was, the, amazing, nice have no relation to context. Help would be much appreciated...

Basic site analytics doesn't tally with Google data

After being stumped by an earlier quesiton: SO google-analytics-domain-data-without-filtering I've been experimenting with a very basic analytics system of my own. MySQL table: hit_id, subsite_id, timestamp, ip, url The subsite_id let's me drill down to a folder (as explained in the previous question). I can now get the following ...

Why would you avoid C++ keywords in Java?

A popular editor uses highlighting to help programmers avoid using C++ keywords in Java. The following words are displayed using the same colors as a syntax error: auto delete extern friend inline redeclared register signed sizeof struct template typedef union unsigned operator Why would this be considered important? ...

Key word extraction in Python

I'm building a website in django that needs to extract key words from short (twitter-like) messages. I've looked at packages like topia.textextract and nltk - but both seem to be overkill for what I need to do. All I need to do is filter words like "and", "or", "not" while keeping nouns and verbs that aren't conjunctives or other parts ...

Doctrine Text Analyzers with other languages

I am planing on using Searchable templates with Doctrine and was wondering if there is a way to add / modify the stop-keywords based on the language of the text inserted in to the database? ...

Is there a goto statement in java?

I'm confused about this. Most of us have been told that there is no goto statement in Java. But I found that it is one of the keyword in Java. Where can it be used? If it can not be used, then why was it included in Java as a keyword? ...

How can I have my python file show its mercurial tag or revision as the module version?

I'd like to add a --version command line option to my python application that will show the right version depending on the tagged status of the command: If the file comes from a version whose short hex ID was abcdef01 that was tagged TAG, --version should show this: MyApp Version TAG (abcdef01) If the file comes from the tip, --versi...

What Algorithm will Find New Longtail Keywords for *keyword* in PPC

I am looking for the algorithm (or combo) that would allow someone to find new longtail PPC search phrases based on say one corekeyword. Eg #1 word word corekeyword eg #2 word corekeyword word Google search tool allows a limited number vertically - mostly of eg#1 (https://adwords.google.com.au/select/KeywordToolExternal) I also know ...

Use of @keyword in C# -- bad idea?

In my naming convention, I use _name for private member variables. I noticed that if I auto-generate a constructor with ReSharper, if the member is a keyword, it will generate an escaped keyword. For example: class IntrinsicFunctionCall { private Parameter[] _params; public IntrinsicFunctionCall(Parameter[] @params) { ...

How can I build a list of popular/interesting subject keywords?

I'm working on an app that requires a list of interesting keywords, these can be common/popular people/places/things. Where can I aggregate this type of information? I've considered using twitter trends but they're mostly hashtags and obsecure/niche-related-things. Any suggestions(sites, APIs, etc..)? Thx! ...

Keywords dictionary

I developed a web site to search a database of videos indexed by keywords. There are several keywords that are repeated like "kid" and "kids" or "children" I'd like that when users search for a keyword they will find also videos with similar keywords and keywords translation (ex. "kid" > "kinder"). I was thinking about using an externa...

Can Python directory names be keywords? E.g. 'import'?

Am I allowed to have a directory named 'import' containing Python code? Or will the import command fail to parse it as a result? Is there any way around that? ...

Fastest PHP Routine To Match Words

What is the fastest way in PHP to take a keyword list and match it to a search result (like an array of titles) for all words? For instance, if my keyword phrase is "great leather shoes", then the following titles would be a match... Get Some Really Great Leather Shoes Leather Shoes Are Great Great Day! Those Are Some Cool Leather Sho...

Best way to implement keywords for image upload gallery

I'm starting to spec out an image gallery type system similar to Facebook's. Members of the site will be able to create image galleries and upload images for others to view. Images will have keywords the the uploader can specify. Here's the question, what's the best way to model this? With image and keyword tables linked vi a HABTM r...

order keywords by frequency in PHP mySql

Hello, I've got a database with video ids and N keywords for each video. I made a table with 1 video ID and 1 keyword ID in each row. What's the easiest way to order keywords by frequency? I mean to extract the number of times a keyword is used and order them. Is it possible to do that with sql or do I need to use php arrays? Thank...