In an answer to another question it was mentioned that passing XML as a string parameter to a web service was bad practice. What is the reason for this?
Hi Everyone,
I am trying to write a C++ class that calls Python methods of a class that does some I/O operations (file, stdout) at once. The problem I have ran into is that my class is called from different threads: sometimes main thread, sometimes different others. Obviously I tried to apply the approach for Python calls in multi-threaded native…
Is it possible to add some kind of restriction to the web.config to limit URL parameter length? I want to prevent people at the earliest possible point from submitting too large URL parameters so the server doesn't get taxed more than necessary in the event that somebody tries to "attack" it with large invalid URL parameters.
This just saves time.
Since I already have a web applciation.
I can just stick it inside a webview.
The question is: Does it turn off many users? How many users will be disgusted that the entire iPhone app is written in WebView?
I am trying to use JQuery to pull a binary file from a webserver, parse it in Javascript and display the contents. I can get the file ok and parse some of the file correctly. How ever I am running into trouble with one byte not coming out as expected.
I am parsing the file a byte at a time, it is correct until I get to the hex value B6 where I am…
In Scrum it's a good idea to test frequently when iteration is finished at customer. But the question is what kind of test should I use when some of the prototype is done with customer? In my knowledge Acceptance test is ok when all the iteration is done - but not some part of it. Examples for the test plan would be helpful
I want to test my program by installing it in different OS versions. My development computer is Ubuntu. What other Linux versions can I test by installing them inside VirtualBox and running my program there?
Though it is not critical for me right now, I want to try something different and see what happens.
Also, what is the chance that the…
I have a page which has several <canvas> elements.
I am passing the canvas ID and an array of data to a function which then grabs the canvas info and passes the data onto a draw() function which in turn processes the given data and draws the results onto the canvas. So far, so good.
Example data arrays;
$(function() {
…
Like the other "Hidden Features" questions, what are your favourite parts of the SharePoint API and development platform (both WSS 3.0 and MOSS 2007) that help you get the job done?
Please share your tips, tricks and secrets!
Hello,
I've got some SQL that used to work with an older MySQL version, but after upgrading to a newer MySQL 5 version, I'm getting an error. Here's the SQL:
SELECT portfolio.*, projects.*, types.*
FROM projects, types
LEFT JOIN portfolio
ON portfolio.pfProjectID = projects.projectID
WHERE projects.projectType = types.typeID AND…
Hi,
I want to get tree representation answer from my t-sql stored procedure. How can I do it ?
Does .NET have a predefined types for working with xml-answers from stored procedures ?
Hello all,
Is it possible to avoid the spaces X & Y (see image)? There is no padding in CSS!
<html>
<head>
<title>Prova WIDGET</title>
<link rel="stylesheet" href="jquery-ui-1.8.1.custom/css/ui-lightness/jquery-ui-1.8.1.custom.css" type="text/css">
<script…
Supposing that I have millions of user profiles, with hundreds of fields (name, gender, preferred pet and so on...).
With database would You choose?
Suppose that You have a Facebook like load.
Speed is a must.
Open Source preferred.
I've read a lot about Cassandra, HBase, Mongo, Mysql... I just can't decide.....
I have an ASP.NET 2.0 web method with the following signature:
[WebMethod]
public QueryResult[] GetListData(
string url, string list, string query, int noOfItems, string titleField)
I'm running the disco.exe tool to generate .wsdl and .disco files from this web service for use in SharePoint. The following WSDL for the…
E.g.
input: ['A', 'Z', 'F', 'D', ...]
output: [0, 25, 5, 3, ...]
In C I'd just subtract the char from 'A', but I don't seem to be able to do this in java.
I just want to do a textbox class onl accepts integers..
I have done something, but i think it's not enough.
Can anyone help me, please?
Thanks...
import java.awt.TextField
public class textbox extends TextField{
private int value;
public textbox(){
super();
}
public textbox(int value){
…
I'm trying to get client-side javascript objects saved as a file locally. I'm not sure if this is possible.
The basic architecture is this:
Ping an external API to get back a JSON object
Work client-side with that object, and eventually have a "download me" link
This link sends the data to my server, which processes it…
(Yes I know I can call Java code from Scala; but that is pointless; I want to DELETE the Java code, not keep it around and have to look at it and maintain it forever!)
Are there any utilities out there to convert Java source to Scala source?
I believe theoretically it should be possible to accomplish with minimal…