Awards recognize innovations in computing technology for industry, education, and society
Computing - Computer Science - High-performance computing - IPad - Research
As mentioned in a previous question, I am having difficulty intercepting all android.intent.action.SCREEN_ON events without a long-lived service (discouraged).
I may be able to work around the need if I can simply work out when the screen is on at any given time, in the service.
Can anyone suggesting a method call that would return this…
Hi all,
I've had a good look around and am certain that there's no matching question on SO, so here goes.
Has anyone created a 'helper' method on their model that generates jquery (or plain javascript) rules validation dynamically, based on the criteria/rules that are contained within the object and taken from a repository (i.e. DB).
…
I always find myself needing to enclose a block of code in curly braces { }, but unfortunately that isn't included in the C# surround code snippets, which seems to be an oversight. I couldn't find anything on building your own surround snippets either (just other kinds of snippets).
I am actually running Resharper too, but it…
I'm writing an inner loop that needs to place structs in contiguous storage. I don't know how many of these structs there will be ahead of time. My problem is that STL's vector initializes its values to 0, so no matter what I do, I incur the cost of the initialization plus the cost of setting the struct's members to their…
I am getting the following error intermittently when a call is made to display an action sheet.
Assertion failure in -[UIActionSheet showInView:]
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: view != nil'
Now in this case I've not…
My C# (.NET 2.0) application has a StringBuilder variable with a capacity of 2.5MB. Obviously, I do not want to copy such a large buffer to a larger buffer space every time it fills. By that point, there is so much data in the buffer anyways, removing the older data is a viable option. Can anyone see any obvious…
I'm trying to learn the Microsoft data / service stack. I want to build a database in SQL Azure and expose it to a c# client application.
I've never worked with any SQL database technology.
Looking online, everything just seems so confusing -- too many technologies, hard to tell what's new vs what's old.
…
Seam 2.1 and JBoss 4.2.2
I have set up the first App to have the EJB in the EAR with a local interface.
the 2nd app can look up JDNI name "ear-name/ejbname/local" but fails with "NoClassDefFound".
Does the EJB .jar need to be outside of the EAR?
Is this a classloader visibility issue or Is this a JBoss…
Hi,
If I have a parent and child modelled relationship.
How to I select the parent, and some of the child rows. I cannot seem to do it, and load the parent object.
var query = (
from parent in Parents.Include("Children")
from child in parent.Children
where child.Date == parent.Children.Max(x => x.Date)…
I have a bag defined for a many-to-many list:
<class name="Author" table="Authors">
<id name="Id" column="AuthorId">
<generator class="identity" />
</id>
<property name="Name" />
<bag name="Books" table="Author_Book_Map" where="IsDeleted=0"…
Hi,
I am attempting to reference a sub-object in a field expression in a studio 2010 report.
This used to work in prior versions.
When account references another object with properties the following used to work.
=Fields!Account.Value.Name
(Name is a property of the child object, Account is the…
What are some options for implementing a chat feature in a C#/WPF desktop application? Is it possible to do this without a central server?
I have a desktop app and 1 user may be logged in at one time or 50 users may be logged in. I would like to add a chat feature that will allow them to…
I really can't find the right Google terms to track this down. But you're all quite smart so thought I'd post it here.
You know how sometimes you are on a good site and you click a button (like to submit a form) and the form doesn't go away, instead, the foreground becomes transparent…
Full lifecycle solution automates application migration and continuous application readiness projects; InstallShield for VS 2010 also available
Windows 7 - InstallShield - Microsoft Windows - Microsoft - Operating Systems
Draft standard recommends making computer science part of high school mathematics education
Education - Mathematics education - Math - Research - Teaching Resources
Using VS 2008
Have a C++ class in which I'm calling functions from a 3rd party dll. The definition in the header file is as follows:
namespace OITImageExport
{
class ImageExport
{
private:
SCCERR seResult; /* Error code returned. */
VTHDOC hDoc; /*…
Using a random number to be included with another character. Then I want to strip out the random number and just leave the other character. I have this code that generates the random number (8 characters long) consistently. If you hit your refresh button multiple times, the “ID” field…
I created a jquery collection that stores xml as follows:
var rh_request = $('')
.attr('user_id', user_id)
.attr('company_id', company_id)
.attr('action', 'x');
I want to post it to my server via an ajax request as follows:
$.ajax({
type: "POST",
url: mywebsiteURL,
…