instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
i dont know how to use soap from android to connect mysql
please inform me how to connect android and mysql using soap
regards
renu
| stackexchange/codereview |
A have setup an internal proxy kind of thing using Curl and PHP. The setup is like this:
The proxy server is a rather cheap VPS (which has slow disk i/o at times). All requests to this server are handled by a single index.php script. The index.php fetches data from another, fast server and displays to the user.
The dat... | stackexchange/codereview |
well i mean, that as u will see in my posts, i am getting problems because of caches
so i think cookie less try out
how to declare a cookie less session variable without making the whole website cookie less
meaning,
website should be cookieless=FALSE
vairable cookie less true
| stackexchange/codereview |
Do the Qt signals/slots follow the scope of native C++?
Let's say I have the following classes: House, Kitchen, Cellar, Stove and Shelf.
class House {Kitchen kitchen, Cellar cellar;};
class Kitchen {Stove stove;};
class Cellar {Shelf shelf;};
Now I want to send a signal from the shelf in the cellar to the stove in ... | stackexchange/codereview |
So I have a server and a client that communicate various data back and fourth. Initially I had a complicated method that went through the byte array and converted all of its variables and strings, one by one, into what they were supposed to be. I learned I could put all of the variables into an object and convert it to... | stackexchange/codereview |
Why is the Haskell implementation so focused on linked lists?
For example, I know Data.Sequence is more efficient
with most of the list operations (except for the cons operation), and is used a lot;
syntactically, though, it is "hardly supported". Haskell has put a lot of effort into functional abstractions, such as th... | stackexchange/codereview |
I'm not sure where/how I specify this SQL Spatial Index hint on my query :-
SELECT Whatever
FROM Table1 a
INNER JOIN Table2 b ON a.Id = b.Id
WHERE @SomeBoundingBox.STIntersects(b.SomeGeographyShape) = 1
When I run the query, it's NOT using the Spatial Hint. Yes, I'm using the the latest version SQL Server 2008 r2 ... | stackexchange/codereview |
I want to turn off the sound of a App , because I have a setting of sound , when I switch the sound to off , I want the App not play sound, My app is that:when I load a view and click someplace of it and should play some sound , and now I want to turn off the App sound when users turn off the switch of setting . becaus... | stackexchange/codereview |
I want to search a file by the month of birth and display the results in label7. So what I want is to enter the number 11 into textbox5 press button4 and display all the enteries with a birthmonth of 11 into label7.text. The filename.txt is created in the first part of the program I now what to be able to search that f... | stackexchange/codereview |
I have a list like this:
<div class="commentList>
<div name="version-1>stuff</div>
<div name="version-1>stuff</div>
<div name="version-1>stuff</div>
<div name="version-2>stuff</div>
<div name="version-3>stuff</div>
<div name="version-3>stuff</div>
</div>
I'd like a line of jquery that, given a version #, l... | stackexchange/codereview |
I have this routing
$router->addRoute('clinics',
new Zend_Controller_Router_Route('clinics/:clinicPath', array('controller' => 'clinics', 'action' => 'view')),
new Zend_Controller_Router_Route('clinics/create', array('controller' => 'clinics', 'action' => 'create1')));
And i want to create clinic (do the createActio... | stackexchange/codereview |
As I asked and answered in this post. I have the following example code.
#include <stdio.h>
char foo() { return 'a'; }
char bar() { return 'b'; }
char blurga() { return 'c'; }
char bletch() { return 'd'; }
char (*gfunclist[])() = {foo, bar, blurga, bletch};
char (*(*x())[])()
{
static char (*funclist[4])()... | stackexchange/codereview |
I've been having trouble setting a textarea element's width and using padding via CSS. The padding value seems to change the width of the textarea, which I'd rather it not do.
This is my HTML code:
<div id="body">
<textarea id="editor"></textarea>
</div>
And my CSS code:
#body {
height:100%;
width:100%;
... | stackexchange/codereview |
Using the Pascal scripting, is there any way to connect to a server and send/retrieve data over http? Browsing through the reference I didn't see any way...
| stackexchange/codereview |
i am having a problem whereby when i open my app from the main screen, whether for the first time or not, when i click one of the buttons to show a toast message, the first time i click the button the toast message doesnt appear but it does appear for the 2nd and every subsequent click. if i then go home and launch my ... | stackexchange/codereview |
$this->add ( new Zend_Acl_Resource ( 'index' ) );
$this->addRole ( new Zend_Acl_Role ( 'guest' ) );
$this->allow('guest', 'index','view');
and i have problem in this condition
if (! $this->_acl->isAllowed ( $role, $resource, $action )){
... redirect to access denied
}
Guest is allowed to access to Contoller ind... | stackexchange/codereview |
I have used this line of code many times (update: when string was a parameter to the function!), however when I try to do it now I get a bus error (both with gcc and clang). I am reproducing the simplest possible code;
char *string = "this is a string";
char *p = string;
p++;
*p='x'; //this line will cause the Bus erro... | stackexchange/codereview |
I'm working on a simple network project, and would like to transfer objects directly using a TCPListener / Client connection. I would like to avoid the WCF overhead, and just have a simple way of serializing the object on the way out, sending it over the network, and finally restoring it back to the original on the oth... | stackexchange/codereview |
Hey guys,
I'm making a javascript rock, paper, scissors game!
So the code is below and it doesn't work the alerts isn't showing and I really don't know where I mess things up.
function randomNumber(x,y){ //returns a random number from an interval given
var z;
if (x>y) {z=x; x=y; y=z;} ... | stackexchange/codereview |
We've created a WCF service that is hosted as a Windows Service. Our service is installed with our application on a computer, and it will never be accessed remotely from other clients. So, we've designed it to use named pipes... On our development computer, it works perfectly when we install and run our service and ... | stackexchange/codereview |
This is probably really simple but I have a nested resource lets say:
map. resources :book, :has_many => :pages
I write an action called "turn" that increases page.count by 1. How do I call this action using a link_to? Thanks a lot in advance.
| stackexchange/codereview |
How practical would it be to use Cython as the primary programming language for a game?
I am a experienced Python programmer and I absolutely love it, but I'm admittedly a novice when it comes to game programming specifically. I know that typically Python is considered too slow to do any serious game programming, which... | stackexchange/codereview |
I have a normal pre-populated database. I want to migrate it to core data for my app. What is the best way to achieve this. By the way I have done these things, copied the recipes.sqlite database from apple's sample.exported a table sql. Rename the column names according to the core data table columns(something like th... | stackexchange/codereview |
This question seems easy but I just can't get it right.
<ul id="myUL">
<li id="item1">
<select class="partDesc"><option>Front</option><option>Rear</option></select>
<input type="text" class="itemDesc">
<img src="images/myimg.jpg" class="itemImg" >
</li>
<li id="item2">
<select class="p... | stackexchange/codereview |
How can I set a TTStyledTextLabel inside of a UITableView.
Each TTStyledTextLabel contains Some parsed HTML.
Heres what I have I realize its probably completely wrong.
TTStyledTextLabel* label = [[TTStyledTextLabel alloc] autorelease];
cell.textLabel.text = [TTStyledText textFromXHTML:tempString lineBreaks:YES URLs:YE... | stackexchange/codereview |
I have this script and if I run it I get a different PID number entered in the database from the one that is listed with the top command:
<?php
error_reporting(0);
include_once "config/mysql.php";
// the path
$path = "PATH=$PATH:/share/MD0_DATA/.qpkg/Optware/bin:";
//random number for the log file name
$random = ran... | stackexchange/codereview |
I am using jumplists in .NET 4, so far I got it working fine, but I cannot make a JumpTask read only so a user cannot remove the task from the jump list. I want to remove the Pin to List and Remove from this list options. I cannot figure out how. Here is my code:
var jumpList = new JumpList();
var jumpTask = new JumpT... | stackexchange/codereview |
I am trying to transform an RDF file to HTML using XSLT.
I am using the template that i've found on the web:
http://snippets.dzone.com/posts/show/1164
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syn... | stackexchange/codereview |
The problem I am facing is stated below in code. I am trying to call a 'method' from another class, which is going good until it reaches a activity (like getListView() or getAssets())
Calling class:
public class Main extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstance... | stackexchange/codereview |
I've implemented a deserialization routine for an object using the << stream operator. The routine itself uses an istreambuf_iterator<char> to extract characters from the stream one by one, in order to construct the object.
Ultimately, my goal is to be able to iterate over a stream using an istream_iterator<MyObject> ... | stackexchange/codereview |
I have the requirement that whenever there is a model get's added/changed/deleted, it should send a mail notification. The content will be more like the django_admin_log entries. I just need to extend this functionality in my model to send the mail. Any suggestions?
| stackexchange/codereview |
I'm using the Alert.show in a function and I want to get the user answer from there. So how can I achieve this. The problem is the function that call Alert.show will return a true or false value depend the user answer.
but It seem that in Alert.show it only allow to pass in a CloseHandler for this. that is a new functi... | stackexchange/codereview |
I have a connection to an embedded derby database.
I want to create a temporary table and learned that I have to use DECLARE GLOBAL TEMPORARY TABLE and prefix SESSION to the table name in the INSERT statement.
I have tried using and not using the SESSION prefix in the DECLARE and SELECT statements but it has made no di... | stackexchange/codereview |
I want to hide HTML Button selection like in above image whenever i click on buttons from 1 to 25 Its shows that it is selected like now i hv clicked on 10 its shows dotted border when i click on 10 no button .. I want to hide this for security purpose how can i do this any idea will help me
| stackexchange/codereview |
I have been trying to implement an OData service based upon an entity framework model where the authentication is provided by Sql Azure. I provide row/column access within the database.
I want to be able to call this from LinqPad, Excel, etc. as a secure service.
I have tried the various schemes defined in the standard... | stackexchange/codereview |
Eclipse has tons of features, i'm wondering if this one exsists? Or if any shortcut ways of doing it exist?
I want to arrange my class data into Variables, Constructors, Methods in that flow(Top to Bottom)
Further refined I would like to arrange by access level(pub, private, protected) and type - void or methods that r... | stackexchange/codereview |
I need to allocate a sufficient buffer for format function vswprintf(). When doing the same thing with ANSI string, I'm using:
vsnprintf( NULL, NULL, pszFormat, args );
which returns me required size of a buffer. But it seems that unicode version of this function doesn't have this functionality. When I execute:
vswpr... | stackexchange/codereview |
I am trying to create a simple dialler for my iPhone. I know that there is no way of doing this unless I launch the native dialler using ://tel... I do not have a problem with this but the question is, is there a way to send a name along with the number I want to dial to the dialler so that what appears in the dialler ... | stackexchange/codereview |
please help:
I have a data set need to be stored like tree, following is stucture, I am not sure how to store this, the letters are not comparable, this is just a hierarchic structure
| stackexchange/codereview |
Visual studio 2003, 2008 show a red dot on the left at line where we set a break, When the process stops at the break line, I can hoover and drag the yellow high lighted to skip some statements. I don't see it in visual studio 2010. In 2010, I have to right click and set break, there is no cursor or thing to grab an... | stackexchange/codereview |
What I need is to add an prefix (such as 'secure') for all urls which requires login, is it possible for Seam url rewriting to do this:
<page view-id="/view/*" login-required="true">
<rewrite pattern="/{prefix}/{url}" />
</page>
<page view-id="/view/home.xhtml">
<rewrite url="/home"/>
</page>
| stackexchange/codereview |
We are getting a lot of out of memory exceptions and we can't seem to diagnose what is happening. It seems to be an issue that happens that will spike memory usage from 300 MB to over 1 GB in a matter of a few minutes. Now this is an IIS application and has three application domains running in separate thread pools.
We... | stackexchange/codereview |
I am working on something fairly simple, well I thought it would be.
What I want is when button1 is clicked I want it to disable button1 and enable button2. I get the error below:
Error 1 Only assignment, call, increment, decrement, and new object expressions can be used as a statement.
private readonly Process pro... | stackexchange/codereview |
I'm new to developing with Android, and the biggest new thing is the way the UI is rendered (relative to other views instead of absolute locations and sizes). As a result, I've been experimenting a lot with layouts, and find myself changing 1 view or even just 1 property of a view, then having to recompile and launch ... | stackexchange/codereview |
What's the difference between Process.fork and the new Process.spawn methods in Ruby 1.9.2 and which one is better to run another program in a subprocess? As far as I understand Process.fork accepts block of code and Process.spawn takes a system command plus some other parameters. When I should use one instead of the o... | stackexchange/codereview |
I'm new to jQuery and I have been trying to figure out how to use the jQuery-ui Selectable component as an alternative to a set of checkboxes.
http://jqueryui.com/demos/selectable/
I think I could get it to work if I can find a way to hide the checkbox but still show its label. (I'm no HTML expert either). Is it possi... | stackexchange/codereview |
I would simply like to use publish.stream to post to Facebook from an iPhone app but without using the UIWebview that pops up when you call the Facebook object's dialog method. How do I do this?
| stackexchange/codereview |
When we use tethering for use of 3G connectivity, the header appears twice as high.
This means that the surface of my App being a little bit smaller.
How do I handle this in my application in a good way?
Should I measure header bar everytime view appears ? Or is that any delegate method for that ?
Best regards.
... | stackexchange/codereview |
I have sql data type bit and i want to ask
if(dr[2] != null)
What changes should make it?
Sorry for the mistakes I'm not local.
| stackexchange/codereview |
How do I call a webservice in the Application_Exit event?
private void Application_Exit(object sender, EventArgs e)
{
TestWSSoapClient.ReleaseUserCompleted += new EventHandler<System.ComponentModel.AsyncCompletedEventArgs>(TestWSSoapClient_ReleaseUserCompleted);
TestWSSoapClient.ReleaseUserAsync(UserToken);
}
The ... | stackexchange/codereview |
Is there any way to make smaller DatePicker and TimePicker (but to be visible all parts ) in Android ? I tried to set layout_width="130dp" but then DatePicker isn't visible, just left upper corner.
| stackexchange/codereview |
I have an ftp://host/path URL and want to download the file and resume download if connection is lost in Erlang.
Starting the download is easy enough using the ftp module, but how can I resume it?
| stackexchange/codereview |
I am writing an app to read in a very large tif file (15000x10000), then chop it up into 256x256 tiles which get saved as jpegs. I am trying to use the WPF windows.media.imaging objects to do the chopping. The example below runs fine and will extract a number of tiles for me (it just gets multiple copies of the same ti... | stackexchange/codereview |
I am working on a weather app, and have everything working perfectly...Except the UILabels that are displaying the data. Once the app loads for the first time, it goes through and finds the data correctly and then displays it.
This is what one of the UILabels looks like, inside my main RootViewController:
UILabel *myC... | stackexchange/codereview |
I'm trying to follow a tutorial on Tapestry. (http://tapestry.apache.org/tapestry5.1/tutorial1/env.html) The tutorial recommends Jetty 5.1 so I can use a plugin called JettyLauncher to run Jetty applications from inside Eclipse. Right now though, Jetty is at version 7 I believe. I don't want to start with an out of ... | stackexchange/codereview |
This may be a dumb question, but that fuzzy blue color that you get when focusing on stuff? Yeah, the one I'm getting when focused on this textarea right now. I'm guessing it's a browser thing, but I want to know: what causes this?
More importantly, I notice that when TAB-bing around my own web app, this does not happe... | stackexchange/codereview |
I have a relatively basic question but more than anything just need some clarity really, I have been using Prism (Composite Application Guidance) to create a WPF MVVM desktop application in C#, this bit I am all clear about (or so I thought) along with IoC and Module based architecture etc. At the same time I have star... | stackexchange/codereview |
I have given a fixed width to the textbox and I don't want to wrap the text too. So the problem here is if I enter text larger then the width then on GotFocus event of a textbox I do the following :
txtperson.SelectAll();
But it doesn't justify the text from left ?
Any help how can I achieve this ?
| stackexchange/codereview |
I want to integrate the MySpace API with my iPhone application. I tried using the MySpace demo application provided here, but when I click on the login button it opens Safari and takes me to the MySpace login page.
I want to update status and mood within my application. Using their demo application as a basis, how is ... | stackexchange/codereview |
I have created a bunch of cells which I reuse in a table view. All of those cells just have different UILabels inside them and some UIImageViews (nothing covers the complete cell).
Setting the background color in IB has no effect (always white or transparent, can't say which one of them). But if I press Command-R (simu... | stackexchange/codereview |
I cant seem to find a resource online for the syntax of multidimensional arrays, I was hoping someone here could identify the error, thanks.
I'm storing the array like this:
songs={{'title':'I Like It','artist':'Enrique Englesias','url':'audio/I Like It.mp3'},
{'title':'Driving Me Crazy','artist':'Sam Adams','url':'aud... | stackexchange/codereview |
New to python, bear with me. I have two text files, each has a word on a line (some funny words). I want to create a third file which has the random combination of those. with a space between them.
Example:
File1:
Smile
Sad
Noob
Happy
...
File2:
Face
Apple
Orange
...
File3:
Smile Orange
Sad Apple
Noob Face
.....
How... | stackexchange/codereview |
I am trying create a Regex-based replacement for an article to automatically convert embedded references (many of them) in posts into the appropriate link and title format.
For example, given this:
I have already blogged about this topic ((MY TOPIC ID: "2324" "a number of times")) before. And I have also covered ((... | stackexchange/codereview |
I would like users to be able to sign up a website made with Zotonic. According to the release notes of version 0.5.0, I should use the mod_signup module.
What is the correct way to use this module in a website? I've tried to create a "signup" page and to include the templates of mod_signup, without success.
| stackexchange/codereview |
I want to support both short and long options in bash scripts, so one can:
$ foo -ax --long-key val -b -y SOME FILE NAMES
is it possible?
| stackexchange/codereview |
I've been using the new com.sun.awt.AWTUtilities class and am intrigued. I got com.sun.awt.AWTUtilities/setWindowOpacity(java.awt.Window window, float f) to work perfectly, but am now wondering if there is any way to change the opacity of an individual component, such as a javax.swing.JInternalFrame or javax.swing.JBut... | stackexchange/codereview |
I am attempting to use NSKeyedArchiver to store the state of my UITabBarController. Inside the tabs are UINavigationControllers which contain UITableViewControllers.
The archiving appears to work without any problem.
When unarchiving I am running into strange problems with my UITableViewControllers. initWithCoder: ... | stackexchange/codereview |
I've got a model with let's say two fields: name and subject
And i want user can type "Maria chubbb" in the searchbox and application should return every record which has at least one word from search string (or %word%) and it word can be in any of fields.
How to achieve that?
| stackexchange/codereview |
I want some sample code to learn how to call a perl module which processes input from a xml file in a Winform/WPF application and returns a transformed XML(basically I use Perl's data munging features) file in the directory or returns an error if the input XML is itself wrong.
I'm developing on Windows 7 64bit, VS 201... | stackexchange/codereview |
(Language is c# with VS 2008)
I have the following problem:
There are a number of structs (provided as is from 3rd party) that all implement certain methods with the same signatures.
I would like to wrap these struct with wrapper classes that implement a certain interface so that these classes can be treated in a unifo... | stackexchange/codereview |
I am doing some heavy calculations with Python (using OpenCV and Numpy) and in the end, I end up with a lot of memory usage (>1GB) whereby all refs should be gone and I only have the end-result (which should not be more than a few MB).
To debug this, it would be nice if I could get some stats somehow which show me how ... | stackexchange/codereview |
I have an asp.net mvc (1.0) app in production (IIS7.5, W2008), and need to update one of my data classes.
Can I simply replace the existing DLL with the new one? Do I need to restart IIS, or will it get reloaded automatically?
| stackexchange/codereview |
Can someone assist me with formatting this JavaScript array correctly? I am obviously missing something fundamental:
Javascript:
<script type="text/javascript">
var widths = new Array("225","320","480", "--");
var sidewalls = new Array();
sidewalls["225"] = new Array("65","55","45","40", "--");
va... | stackexchange/codereview |
(char*)GlobalAlloc(GPTR, len + 1);
This is the line of code in question, which I'm using from a tutorial. I'm reading from an EDITTEXT. I'd mostly like to know where GPTR came from, and what it's for. It hasn't been defined anywhere else in the code.
I've got a basic understanding of the rest of the line, but MSDN'... | stackexchange/codereview |
I have define a collection like List ids. I am wondering which is better
1) initialize in the declaration
2) initialize int he constructor.
| stackexchange/codereview |
$uploaded = false;
for($i=0;$i
}
$uploaded_cc = false;
for($i=0;$i
}
Please help me.. Above program works well and store multiple files in my folder but i want store different folder. Above program works first FOR LOOP only and Second FOR LOOP con not work. what problem in my second FOR LOOP , Please reply me
| stackexchange/codereview |
I don't understand the complexities related to CrLf settings in git: core.autocrlf, core.safecrlf
I'm developing a cross-platform project in a team and would like both Windows and Linux developers to be able to work together without git marking files as modified just because of line ending style.
What do the various se... | stackexchange/codereview |
i m trying to use readfile function to read the serial port in c++. i manage to open and read the serial port in c++. the problem i facing now is the decoding of data after i read from the serial port. The below are my codes. When i run my code, my loop of decoding could not detect ((*&szChar == '$')), and it exit the ... | stackexchange/codereview |
Is there any scenario where a client/user/hacker can set $_SESSION variables themselves (excluding malicious software running on a server computer. I mostly mean via the browser)?
The reason I ask is because of this question that I asked a few days ago. Since then I have become pretty confused on the subject, but I've... | stackexchange/codereview |
I'm using SP 2010. Whenever I insert a webpart in a webpart zone, Sharepoint injects a HTML table in the page and places my webpart in a cell of that table. This messes up my layout, since the CSS is created using class inheritance, and I end up having HTML tables in my source, which I don't need and I did not took int... | stackexchange/codereview |
I have been assigned to know to how to make a GPS Navigation Software for Win CE 6.0 operating system. But after searching a lot, I couldn't find a good way to start.
I have downloaded some free software by which i can view the provided ShapeFile files but I want to make a software by which I can view those files in ... | stackexchange/codereview |
could anyone please provide on how to achieve below scenario ?
2 queues - destination queue, response queue
thread picks task up from destination queue
finds out needs more details
submits new task to destination queue
waits for his request to be processed and result appear in response queue
or
monitors response queue ... | stackexchange/codereview |
in the first, i try t install this software "ztemtEVDO_1.1.8-0sue1_i386"
but it's give this error, and then now i want to remove it's from Ubuntu software center
but it's give me this error
installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Re... | stackexchange/codereview |
How to put the current datetime in MySQL using PHP?
The result should be:
mysql_query("INSERT INTO users (r_date) VALUES ('the current datetime')");
The type of r_date is datetime.
| stackexchange/codereview |
I'm relatively new in Android's world and the UI/Thread model is still confusing.
Here is what I am trying to do:
Load data from the web
Handle them
Show them
Show an AlertDialog if there is a problem
I'm currently doing like this, but I'm not sure that using many thread like that is the best way to do it.
Inside the o... | stackexchange/codereview |
I have a game that renders a bunch of sprites (several hundred), almost all of which are using the same texture. Currently, I'm calling glDrawArrays(...) for each one, which I recently discovered was very inefficient. After doing some research, I've learned that I need to put all my vertices for every sprite into one b... | stackexchange/codereview |
I want to know how to attach command to RibbonMenuButton item.
The following is my initial attempt but the command is never called.
<ribbon:RibbonWindow x:Class="RibbonMenuDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006... | stackexchange/codereview |
Currently an event is set on checkboxes, and event.target gives me the status (checked = true/false) of checkbox which is clicked.
I am maintaining an object which keeps the track on all the selected checkboxes
var selectedMap = {};
if(event.target == true){
var key = event.target.id;
var val = event.target.n... | stackexchange/codereview |
In this code mDATE0 for 3 items a, b, z is:
mUNIQUE: z | mDATE0: 2010-11-14 14:55:04.293000
mUNIQUE: b | mDATE0: 2010-11-14 14:53:34.824000
mUNIQUE: a | mDATE0: 2010-11-14 14:50:14.155000
But when I do
...
utc_tuple = rep.mDATE0.utctimetuple()
...
corresponding utc_tuples are:
utc_tuple: time.struct_time(tm_hour=14, ... | stackexchange/codereview |
I find myself wondering about this on occasion but don't know of a way to check.
| stackexchange/codereview |
I've used xjc to create java objects from XSD.
and now I am trying to unmarshal the xml doc to the java objects but I get:
javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"GlobalComponentInformation
Any here here?
EDIT:
I am passing a org.w3c.dom.Document object, it returned from a web service call... | stackexchange/codereview |
For example, I am using wenclient.DownloadfileAsync to download a file asynchronously.
In the DownloadFileCompleted event handler, I can check if I have any exception or not by using AsyncCompletedEventArgs.Error property.
If I re-throw this exception, however my executable is stopping running immediately.
I am wonderi... | stackexchange/codereview |
Ive noticed that putting TextBlocks inside another TextBlock automatically gives them some spacing in between. I would like to use this behaviour for a custom ItemsControl. I want content in this ItemsControl to automatically get a certain amount of pixels between them, but only between and not after the last item or b... | stackexchange/codereview |
i sort of asked this before, but i used what i was told to try to get my program to work:
Its probably because I am noob at C++, but I am having trouble using #ifndef due to the problem that my classes contain the same .h files. both s.h and t.h and main.cpp need the struct defined in r.h
i have
#include "s.h"
#includ... | stackexchange/codereview |
I'm using Mongoid and when I .update_attributes on a model that has a references_one using params[:model_name] I get the error...
@model.update_attributes(params[:model_name])
undefined method `associations' for "...":String
I understand why this is happening. Mongoid is trying to map that .association_name to th... | stackexchange/codereview |
I understand that this question may seem somewhat ungrounded, but if someone knows anything theoretical / has practical experience on this topic, it would be great if you share it.
I am attempting to optimize one of my old shaders, which uses a lot of texture lookups.
I've got diffuse, normal, specular maps for each of... | stackexchange/codereview |
I am using :after and :before CSS pseudo elements and it is working fine in Internet Explorer 8, and all modern browsers but it is not working fine in Internet Explorer 7. Are there known hacks to work around this in Internet Explorer 7?
| stackexchange/codereview |
I have read posts on passing arrays from and to activities, but I am confused as to how I would do it for my specific case.
I have an array of objects called DaysWeather (a DaysWeather[] array) where the objects have several String attributes as well as a bitmap attribute. I read somewhere that you have to make it ser... | stackexchange/codereview |
I require a sliding drawer in my application.
It should be placed at the bottom of the page.
It has to contain a set of images and I have to set a background colour for the sliding drawer. I saw some sample codes...But I am not getting a clear idea on how to do it. Can anyone plz help?
| stackexchange/codereview |
When I use the code -(IBAction) onClick1: (id) sender;, what will be passed as sender? I tried to use the sender as the object id and fails (I mean I used the code sender.tag and it didn't return).
I am sure that when I am using - (void)buttonTouched1:(UIButton *)sender; here the sender should act as an object id.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.