What's the difference between the two? They seem to have the same functionality at first glance.
Which one has faster performance which one is easier to use?
I am interested in learning to create custom backends for Wordpress that extend the functionality.substantially. Anyone know of any books or resources that are particularly helpful for this.
we are adding new functionality in our application where in there would be some users posting short comments and on the other side there would be some users monitoring the activity or comments posted by the other users within the same application. my question is, what is the best way of implementing the notification of new comment availability(similar to tweet update notification)?
FYI the application is on .Net 3.5.
Does MySQL have an equalavent to MS SQL Servers "indexed view" functionality?
http://stackoverflow.com/questions/439056/is-a-view-faster-than-a-simple-query
What I'm specifically looking for is a way for MySQL to create a "view" that will return results faster than simply performing the underline view's query/sql.
I'm working on a python class that is being shared between two products. 90% of the functionality applies to both products. For the 10% that's different the code is littered with this kind of thing:
#Start of file
project = 'B'
#Some line of code
if project == 'A':
import moduleA
elif project == 'B':
import moduleB
#Many lines of code
if project == 'A':
print moduleA.doA(2)
elif project == 'B':
print moduleB.doB(2)
This doesn't seem very elegant or very readable, has anyone encountered this sort of thing before? Are there better ways of doing it?
I have a html textbox on which I've bound a function via jQuery to the paste event to prevent users pasting a value into the textbox. This functionality works well.
However it is possible to select some text from another textbox on the page and drag it into the textbox in which pastes are prevented. Is there a jQuery event that I can bind to that will prevent users dragging text into the texbox?
Hi,
I put several shapes (like Ellipse and Rectangle) on a Canvas.
Now, I want user to be able to drag & drop these shapes.
Is there some predefined functionality that I can use, or I should implement the drag & drop myself using the mouse events ?
Thanks !
Hi,
I wanted to know how I could find the previous active control on a page. I have a couple of textboxes and a button, and when i am on a certain textbox and I click the button, I want to highlight that textbox. I have the highlight functionality covered, but I don't know how to find out which textbox to run the function on...
Please help,
Thanks!
I'm looking for a C# class that represents a file system path. I would like to use it (instead of strings) as the data type of variables and method arguments (top reasons: type safety, concat-proof, logical comparisons).
System.IO.Path provides most of the functionality I want, but it is abstract.
System.IO.FileInfo, as I understand, performs IO operations to do its job. I only want a wrapper for the path string.
Thanks!
I am interested in the following features: Code highlighting, Intellisense, Refactorings, Code navigation (Go to Definition etc.).
If this functionality is missing from Visual Studio 2010 maybe Microsoft is planning to add these features in the future or there are community project to develop IronRuby tooling add-in?
Hi!
I want to create a small code in C++ with the same functionality as "tail-f": watch for new lines in a text file and show them in the standard output.
The idea is to have a thread that monitors the file
Is there an easy way to do it without opening and closing the file each time?
I've found an old plugin called acts_as_habtm_list - but it's for Rails 1.0.0.
Is this functionality built in acts_as_list now? I can't seem to find any information on it.
Basically, I have an artists_events table - no model. The relationship is handled through those two models specifying :has_and_belongs_to_many
How can I specify order in this situation?
Speaking entirely in technology-free terms, what is the best way to make a mobile friendly site? That is, I want to make a site that will work on a regular computer but also have mobile versions of the pages. Should I rewrite each page? The pages will probably have different functionality, so should I rewrite the backend code? Should it be an effectively different site with the same database?
I'm looking for a HashTable or Dictionary implementation in C++ that has similar functionality to the one in C#? Does the STL contain an object like this and how would I use it?
Hi,
Want to wrap the original exe to produce new exe. This new exe works with it's original functionality, no limitation but the outer part controls the trial situation.
Is it possible to do with VC++
Please give some valuable help
I want to use the built-in membership functionality that comes with the SQL Express database that is created when the project is built but I want to use it in my SQL Server database without having to re-create the wheel so to speak.
As was pointed out in a recent post scoping does not work as expected inside of Module.
An example from that thread is:
Module[{expr},
expr = 2 z;
f[z_] = expr;
f[7]]
(*2 z$1776*)
But the following works as almost as expected.
Module[{expr},
expr = 2 z;
Set@@{f[z_], expr};
f[7]]
(*14*)
What language design consideration made wolfram choose this functionality?
Why do we have equals() and equalsIgnoreCase() as two different methods, when equals() could have been overloaded with a special ignoreCase argument to provide equalsIgnoreCase() functionality?
I am calling this function which is modifying an array by reference:
function addWord(&$words, $wordIndex, $word)
{
$words[$wordIndex] = $word;
}
At the function call,
addWord(&$words, $wordsIndex, $word);
($words is used only during the function call)
doesn't work. How do I make this or a similar functionality work? I want the addWord to be a separate function.
Hi,
I'm having a bit of a strange problem with an application using the Files.probeContentType(path)-method to test for file type: On both my Ubuntu and Fedora systems, it works fine, but when moved to a RedHat Enterprise server (2.6.18-194.el5 #1 x86_64 x86_64 x86_64 GNU/Linux), it only returns null. I'm using java 7 early access (1.7.0-ea-b84). I have to use this version due to functionality that isn't included in 1.6.
Does anyone have an idea of what might be the problem here?
I have an app, say MyApp Free. I want to create MyApp Pro which I can charge for that has some additional functionality. The obvious way is to have a library that contains almost all my app code, then two Android app projects for the Free and Pro versions which reference that library.
Suggestions?
How would I go about reading all files in a directory?
In C# I would get a DirectoryInfo object, and get all files into a FileInfo[] object.
Is there similar functionality in the STD namespace in C++?
Hi,
I have a folder named as 2010.
In this I want a folder for each month like "Jan10", "Feb10"....."Dec10"
In each month folder I want to create folder for "Todays date"
I have create a shortcut for that 2010 folder with Target as
C:\WINDOWS\explorer.exe /n, /e, /select, F:\2010
I want a functionality that will execute when I click the shortcut for f:\2010 icon.
Any pointer would be great help.
I have a simple jQuery toolbar, the basic functionality is:
Hover: Background change to defined value & add .active class
OnClick: Move the icon down 4px, and change background of the toolbar to that of the element
What I would like to do move the icon down 4px when it has the class 'active' applied, however also remove the onclick event?
Somehow I need an 'IF' statement in my jQuery for the Onclick event.