I'm having trouble getting the taglist plugin working properly with Scala. I've installed the plugin and ctags and verified that it works properly with Java and C++. I then followed the instructions on this page (minus the Lift specific instructuions), but was nothing shows up in the taglist window when I open it while editing a Scala file. Has…
Hm... I'm trying to convert single line break into double line break, as in
This is a sentence.
This is another sentence.
into
This is a sentence.
This is another sentence.
Apparently this doesn't work ThisContent = ThisContent.replace(/(\n)/gm, "\n\n"); since it replace everything, including double line breaks.
What's the…
I have an iPhone app that I have started to turn into a universal app, however the process is not complete and I want to release an update to the iPhone version.
I know that you can specify device capabilities in the Info.plist file to restrict your app to certain devices, but how can I do this to prevent the unfinished universal version…
A site that I was working is resolving to a staging server through google. I've removed all the information. How long does it take for google to update the information so that it does not show up. is there anyone that I can contact to move this along?
It appears that IE8 is not rendering properly a local file:
Consider this simple webpage: http://sayang.free.fr/ie8render.html (html code below) extracted from a w3c tutorial on opacity.
Save it locally and display it again: the local file has no opacity!
That's very annoying, especially when one wants to design complex pages on…
How to add sort function for the table via ajax in ASP.NET MVC?What is the best practice.
If not use Ajax, it maybe much easier, just return View, but if use AJAX, what data structure should return?I just use Json to return the data, but i found each JSON data model return to the client browser, the JS have to use different…
I created a workspace in AccuRev under M:\EclipseWorkspaces\.
The project checked out fine.
Then I moved the project to C:\EclipseWorkspaces\.
Now AccuRev thinks the project does not exists. This is probably because AccuRev is looking for the project on my M drive.
How do I get AccuRev to find my project?
I am using version…
This is similar to Add Non-GAC reference to project but the solutions presented there don't seem to help.
I have a WinForms UI Library (Krypton from ComponentFactory) installed in the GAC. There's a bug I want to track down in that library, so I added the source code to my solution, removed the old references from my WinForms…
I have a class with various public properties which I allow users to edit through a property grid. For persistence this class is also serialized/deserialized to/from an XML file through DataContractSerializer.
Sometimes I want to user to be able to save (serialize) changes they've made to an instance of the class. Yet at other…
I am just messing around with reading input files with java until I got stumped at the most basic of steps... finding the input file!
The input.txt file is in the same directory as my class file that is calling it yet eclipse still gives me an error that it cant be found:
"Exception in thread "main" java.lang.Error:…
What are my best options for creating a financial open-high-low-close (OHLC) chart in a high level language like Ruby or Python? While there seem to be a lot of options for graphing, I haven't seen any gems or eggs with this kind of chart.
http://en.wikipedia.org/wiki/Open-high-low-close_chart (but I don't need the…
I have two C#.NET projects in a single solution ModelProject and PluginProject. PlugInProject is a plug-in for another application, and consequently references its API. PlugInProject is used to extract data from the application it plugs into. ModelProject contains the data model of classes that are extracted by…
does the object creating a sub appdomain get instantiated in that sub appdomain?
I have an object that is in the main AppDomain and it is creating another AppDomain and it requires the calling class to be serializable and is creating an instance of the calling class in the new sub AppDomain.
I'm wondering if…
If I'm using a ListView in virtual mode then, as I understand it, the list view only keeps track of a small number of items in the list. As the user scrolls it dynamically retrieves items it needs to show from the virtual list.
But what if an item is added or removed from the master list? If an item is…
I was wondering how to do this, consider the following classes
public class Fruit
{
public string Name { get; set; }
public Color Color { get; set; }
}
public class Apple : Fruit
{
public Apple()
{
}
}
How can I instantiate a new fruit but upcast to Apple, is there a way to…
Scenario
Multiple application servers host web services written in Java, running in SpringSource dm Server. To implement a new requirement, they will need to query a read-only PostgreSQL database.
Issue
To support redundancy, at least two PostgreSQL instances will be running. Access to…
I'm using bison & flex (downloaded via cygwin) with vc++. When I compile the program I got an error:
...: fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
The corresponding code in the flex-generated file is:
#ifndef YY_NO_UNISTD_H
/* Special case…
i think i know the answer to this question, but just want to make sure before i dismiss the possibility.
is it possible with user permission for my web app to access pim data like the address book on a iphone, similar to how a web app can access the location service?
Hey all. I'm working on an application that was originally intended for HTML, but I've recently concluded that the best thing to do for my purposes is to do it in Flash instead.
One of the big things I need is to be able to bring in movieclips from external files and add them to my main…
Current I have this code:
var imgCount = 36;
var container = $('#3D-spin');
var loaded = 0;
function onLoad()
{
alert(loaded);
loaded++;
if(loaded >= imgCount)
{
alert('yay');
}
}
for(var i = imgCount-1; i >= 0; i--)
{
container.prepend(
…
I have a situation where our developers extended a Third party database (MS SQL) by adding tables, views, stored procedures, and functions. Recently when the vender issued updates to the database they dropped all of our custom objects. The question now is what are some best practices…
I am trying to put together a dialog that should look like this:
Fill in the below fields
___________ likes ________________
where the "_" lines are the EditFields.
I am sticking all the fields in a HorizontalFieldManager, which I add to the dialog. Unfortunately, the first…
So everyone knows what I mean by "implicit methods"? They're like those default properties
from the Windows COM days of yore, where you could type something like
val = obj(arguments)
and it would be interpreted as
val = obj.defaultMethod(arguments)
I just found out…
I've got a website, already hosted, and I'd like to add a blog section to it. However, I'm running out of time, so am looking for a quick and dirty solution.
Ideally, I'd like to use something like blogger or wordpress and integrate it into my site, rather than starting…