I had asked a question on how to implement real time updates in ASP.NET and received a very explanatory and a helpful answer from "jdk" at:
http://stackoverflow.com/questions/2347771/how-to-implement-real-time-updates-in-asp-net
I understand that memcached or .net caching application block can be used as the caching layer. Currently, I am looking for a very simple mechanism to implement this and do not have the resources for using memcached or the caching application block.
Can someone suggest a solution?
I want to write a simple SMPP Server that basically forwards traffic to another SMPP server (C#, PHP). What are the things I need to know? How do I proceed?
I´ve been researching a bit in the net but didnt find any Straightforward answer, i am looking for a simple way to Load Vertex and U/V data from a collada .dae file, i don´t need textures and normals for my application (for now) but i want it as lightweight&fast as possible. Any hints or existing solutions?
Hello,
I would like to know what is the best solution to create simple menu with functionality described below (pseudo code) just like im used to:
while (true){
x = readLine();
case (x):
x == "1" then do sth1 function
x == "2" then do sth2 function
}
thanks for help, maybe any other ideas on how to make menu not in pattern described above?
I have loaded my database with one table under "Data Connections" in the "Server Explorer" pane.
What is the standard / best-practices way to handle a simple query in a VB ASPX page?
My left <div> would be a set of form elements to filter rows, and when the button is clicked, the main <div> would show the columns I want for the rows returned.
Note: Answers in C# are okay too, I'll just translate.
I'm surprised I can't find a simple tool for this. Basically, sometimes as a result of text munging, or using some piece of software, I end up with some text that has some troublesome characters - such as looking a lot like other characters, but being distinct from them. I'd like a tool (preferably online, javascript based) where I can paste the text, and it will tell me all the characters involved, their names, unicode codes etc.
I don't get it; this should be simple:
Why does this text box entry: Foo 2010
Validated by this REGEX: ValidationExpression="^[a-zA-Z0-9 -_!]+$"
Throw an invalid entry error? It is intended to allow alphamumerics, spaces, dashes, underscores and exclamation marks.
REGEX gives me a headache ...
I have to tables as follows;
Employees: Name nvarchar(50), Job Title nvarchar(50) and Salary int.
Employers: Name nvarchar(50), Job Title nvarchar(50)
I would like to select every item from the 'Employers' table where 'Job Title' does NOT show up in the 'Employees' table.
I know this is a simple query but it has me stumped.
I'd be grateful for any help. Thanks.
I wanted to start using the Amazon Simple Notification Service (http://aws.amazon.com/sns/), but I have not found any PHP libraries that I can use to access the service. I would rather not create my own library, I wanted to see if anybody has used any PHP libraries for the SNS service, and if they would recommend any.
I am implementing a very simple requirements management tool.
I want the URLs to look like this:
Shows home page for "Project One":
http://projectmanager/Project/Project%20One
Shows a list of requirements being worked on for "Project One"
http://projectmanager/Project/Project%20One/Requirements
Shows requirement 1 for "Project One"
http://projectmanager/Project/Project%20One/Requirement/1
How could I set up routes so that
http://projectmanager/Project/Project%20One
is handled by the project controller
http://projectmanager/Project/Project%20One/Requirements
and
http://projectmanager/Project/Project%20One/Requirements/1
is handled by the requirements controller.
Is it even possible?
Hi all, I would like to know simple k-means algorithm in java. I want to use k-means only for grouping one dimensional array not multi.
For example,
before grouping the array consists of 2,4,7,5,12,34,18,25
if we want four group then we got
group 1: 2,4,5
group 2: 7,12
group 3: 18,25
group 4: 34
Hello,
Can somebody give me a resource (or just explanation? :-) of what "prototype" is and how it works in Javascript. May be comparison with something in Java? (not really necessary).
But it should be as simple/easy as possible so inexperienced person just learning Javascript would understand (need to explain this to jr designer who is proficient with CSS/HTML, but not with Javascript).
Thank you!
I am new to CoreAudio, and I would like to output a simple sine wave and square wave with a given frequency and amplitude through the speakers using CA. I don't want to use sound files as I want to synthesize the sound.
What do I need to do this? And can you give me an example or tutorial? Thanks.
Hello,
I want to create an iPad app that would have a simple view at launch with buttons to different components of the app. Each button then could open up a splitviewcontroller type views. (Interface similar to WebMD: http://itunes.apple.com/us/app/webmd-for-ipad/id373185673?mt=8)
I was reading online that Apple does not allow splitviewcontroller inside other controllers (like NavigationController).
How do I solve this?
Thanks!
I'd like to get started with antlr, but after spending a few hours reviewing the examples at the antlr.org site, I still cant get a clear understanding of the grammar to java process.
is there some simple example? something like a four operations calculator implemented with antlr going through the parser definition and all the way to the java source code?
Hello,
Im astonished. Im trying this simple calculation in a Java application:
System.out.println("b=" + (1
- 7/10));
Obviously Im wainting for "b=0.3" in the output but here's what I get:
b=1
What?! Why this happens?
If I make:
System.out.println("b=" + (1-0.7));
I get the right result which is "b=0.3".
What's going wrong here?
Thanks!
I need to create a custom volume slider for a WMP object. The current slider is complicated to modify, and use, is there a simple way to generate a slider on an HTML page that can have it's value passed to a javascript function?
How can I make Grizzly HTTP server allow JaaS for simple HTTP AUTH?
I can't see any code/sample out there: There's another post here in StackOverflow that directly assumes that jaaS is available in Grizzly, but doesn't explain how to add it.
I want to make a little php poll. The script should ask the users a question they can only answer by numbers from 0-999. After pressing the submit button the data should be stored into mysql. So I just want to know how much users choosed the same number (in percent). It's a simple poll but I don't want any output to be shown.
I have a simple xml file and I want to remove everything before the first tag.
.....
item1
....
The following java code is not working:
String cleanxml = rawxml.replace("^[\\s\\S]+<item>", "");
What is the correct way to do this? And how do I address the non-greedy issue? Sorry I'm a C# programmer.
Basically I want to show the users location plus a list of selected location on a map. It can even have the standard iphone annotations. But, I have no idea of the general steps I would take to achieve this. Would I use MKMapView, or Core Location, or both? Could someone give me a simple outline of steps to take, or a link to a good tutorial or sample code. Thanks
Hello,
Im astonished. Im trying this simple calculation in a Java application:
System.out.println("b=" + (1
- 7/10));
Obviously Im wainting for "b=0.3" in the output but here's what I get:
b=1
What?! Why this happens?
If I make:
System.out.println("b=" + (1-0.7));
I get the right result which is "b=0.3".
What's going wrong here?
Thanks!
I need some classes to befriend other classes in my system. Lack of this feature made me publicize some methods which shouldn't be public. The consequences of that are that members of my team implement code in a bad and ugly way which causes a mess.
Is there a way to define a friendship in php 5.3?
(I am aware of http://bugs.php.net/bug.php?id=34044 You might want to vote there if there is no simple solution).
I am looking for a PHP blog engine which needs to be easy to redesign (CSS, HTML). It also needs to be free and have simple user interface so that the client doesn't struggle to add posts. Any suggestions?