instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am using following code to check first four characters are alphabate or not.
var pattern = new RegExp('^[A-Z]{4}');
if (enteredID.match(pattern))
isValidAlphabates = true;
else {
isValidAlphabates = false;
This is working fine; Now I need to check the next 6 characters (of the entered text) need to be only n... | stackexchange/codereview |
What's the best way to get all of the DOM elements on a page using jQuery?
Thanks,
DLiKS
Edit: This is for use in a script that grayscales an entire page using grayscale.js - http://james.padolsey.com/demos/grayscale/. jQuery because I can! :P
| stackexchange/codereview |
I am generating a CSV file which I then open in Excel via OLE Automation. Because of the format of the data, Excel shows many "Inconsistent Formula" warnings (a green icon in corner of each cell). I can turn this off application-wide via automation, using:
objExcel.ErrorCheckingOptions.InconsistentFormula = false
But... | stackexchange/codereview |
I have a two-dimensional array of ints, for example:
int [][] board=
{
{23,17,3,29,12,10},
{17,4,11,12,10,19},
{32,33,25,25,28,35},
{27,29,24,25,23,37},
{29,40,34,26,24,39},
{23,37,29,36,31,3}
}
I don't want to change the columns of this array at all; however, I would like to swap the rows so that the most similar row... | stackexchange/codereview |
I want to create a Django Admin Action that allows me to create a duplicate of a record.
Heres the use case.
Admin clicks the checkbox next to a record in an app that they want to duplicate.
Admin selects "Duplicate" from the admin action drop down menu.
Admin clicks go.
Django admin creates a duplicate record with a n... | stackexchange/codereview |
We just can use function like
public static List<T> New<T>(params T[] items) {
return new List<T>(items);
}
and more important it's better
var list = new List<int> {1,2,3};
var list = List.New(1,2,3);
So, when we really need to use it?
Dictionary
public static Dictionary<T, K> New<T, K>(T key, K value) {
retu... | stackexchange/codereview |
I've been searching for hours but can't seem to find an answer to this question. I have an https site that I'd like to display in a UIWebView. I can display simple sites like google in the webview but my https site is giving me no joy. I've tried ASIHTTPREQUEST and everything, but still no luck. Any help/code would... | stackexchange/codereview |
Hii Friends,
i m newbie to iphone development , i have to design a iphone webapp,have found these three have the best features,
Plz point out these pros and cons of these mobile frameworks?
Does php is needed for form processing or we can use xml,feeds etc?
| stackexchange/codereview |
I have
ArrayList<String> ids = ArrayList<String>();
What would be the cleanest way to make it Parceleable? Apparently String itself is not parcelable, so Parcel.writeList(ids) is not working.
I was thinking to either parcelize ArrayList<Uri> or put array contents into a Bundle.
| stackexchange/codereview |
I'm trying to paste text into a flex textarea. The text I'm pasting has newlines and tabs, but when I paste the text into the textarea, the tabs are stripped out.
If I comment out the CSS line font-family: EmbArial; the tabs will be preserved. I tried using different font files, but it didn't help.
<?xml version="1.0"... | stackexchange/codereview |
I have strings that looks like this:
John Miller-Doe - Name: jdoe
Jane Smith - Name: jsmith
Peter Piper - Name: ppiper
Bob Mackey-O'Donnell - Name: bmackeyodonnell
I'm trying to remove everything after the second hyphen, so that I'm left with:
John Miller-Doe
Jane Smith
Peter Piper
Bob Mackey-O'Donnell
So, basically,... | stackexchange/codereview |
I have a model form with a file field on it. I have a post_save signal attached to the model so that I can then pass the uploaded file on to a 3rd-party via a web service (using Suds). The web service call is dying when I try to pass it the file contents: it throws "UnicodeDecodeError: 'ascii' codec can't decode byte .... | stackexchange/codereview |
\a3.cpp(75): error C2563: mismatch in formal parameter list
I'm certain I'm passing the function checkout with 3 doubles, I don't know why I'm getting the error I am. Please help.
#include <iostream>
#include <cstdlib>
using namespace std;
const double peanut_PRICE = 1.80;
const double peanut_SHIP = 0.50;
const d... | stackexchange/codereview |
I want to highlight rows (set the backgorund colour) in the Django Admin page (change_list.html) based on a field in the model called status. What is the best way to do this?
I have 3 statuses. Open, Active, Closed. I'd like rows with open to be green, active to be orange and closed to be red.
I've found documentati... | stackexchange/codereview |
I'm thinking of using a print style sheet to fill out a preprinted paper form. So lets say you had a piece of paper that looked like this:
Name: ________________________
Address: _____________________
City: ________________________
State: _______________________
Zip: _________________________
Favorite ice cream: ______... | stackexchange/codereview |
I've got a table from an existing LabView VI (ewww!) that I need to replicate in C#. The table is shown in the image below. Each field will be populated with data returned by status queries to an external device, likely from within a dedicated status thread (when I implement it...). Is there any control, or directio... | stackexchange/codereview |
This is likely a scoping issue but the following code dies. I build a multi-dimensional array from 2 classes, Cell and Map. The map is an X by Y sized grid of Cells. Pretty normal so far (I keep re-writing this same program when I learn a new language). For brevity I'll just post the classes and a basic test that refle... | stackexchange/codereview |
What is preemptive multitasking? After googling it I couldn't find an answer can someone help me?
| stackexchange/codereview |
I am doing 2 programs (cannot have major changes to the layout of the code), but I have an error relating to this line below:
public void actionPerformed (ActionEvent e)
The same problem is for the other program too. Is there a way to fix it (without changing much of the rest, since all of the rest has to be somewhat ... | stackexchange/codereview |
Ello, I'm having an issue with a custom activity that preforms an evaluation of a `ActivityFunc ` and returns false even though it is evaluated in Execute to be true.
Here is my activity
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using System.Co... | stackexchange/codereview |
I was hoping to make an application that did real time voice manipulation like the the T-Pain App. But AVAudioRecorder only enables a post processing from of audio manipulation. Is there another API that will enable real-time audio processing?
thanks!
| stackexchange/codereview |
How to find all chordless cycles in an undirected graph?
For example, given the graph
0 --- 1
| | \
| | \
4 --- 3 - 2
the algorithm should return 1-2-3 and 0-1-3-4, but never 0-1-2-3-4.
(Note that This question is not the same as small cycle finding in a planar graph because the graph is not necessarily plan... | stackexchange/codereview |
if(metres >= 0) return true;
else return false;
Can I do this with a single calculation? (ignoring the ternary operator)
| stackexchange/codereview |
I'm porting some code to another structure:
class EnvironObject
{
protected:
vector<float> mX, mY, mXSpeed, mYSpeed;
int mMaxObjects;
public:
virtual void init(int maxObjects);
virtual void setLimit(int limit);
virtual int getLimit();
virtual void update(float arg) = 0;
};
vo... | stackexchange/codereview |
I have a problem with the following HTML:
<a href="javascript:document.formName.submit();" target="iframe">
Where formName is the name of a form inside the iframe. I would like the browser to navigate to the page "javascript:..." in the iframe, so it executes the javascript on the current page in the iframe. My proble... | stackexchange/codereview |
I have a .sql file I need to enter in to my database, but I can't find how to do it.
I'm using SQL Server Management Studio R2, but haven't found any options on how to add it.
When I try to attach it, I'm told that this file isn't a primary database file, so I can't do it...
EDIT: okay, I had the script execute. That w... | stackexchange/codereview |
is it possible to assign a highres custom uitabbaritem image?
UIImage *img;
img = [UIImage imageNamed:@"TabIcon51@2x.png"];
self.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"more" image:img tag:5];
this doesnt work. is there a workaround, or even better an officel link / solution for this usecase?
th... | stackexchange/codereview |
Is there any way to make an iframe's vertical scrollbar shorter than the iframe itself? For instance have a 500px high iframe with a 450px high scrollbar (but the scrollbar would still fully pan the iframe's content).
(with Javascript, jQuery, or CSS)
Thanks in advance!
| stackexchange/codereview |
Hi
I would like to retrieve documents from an ftp in my Windows phone 7 application (built with XNA in my case).
As far as I understand WP7 does not support ftp due to port and protocol(?) contraints.
Is there any way to get ftp support working?
I guess I will be able to implement it my self once socket support is adde... | stackexchange/codereview |
Possible Duplicate:
Reference - What does this symbol mean in PHP?
I've been doing conditionals with if/else or a year or so now. Looking at some new code, I'm seeing a conditional that appears to use ? and : instead of if and else. I'd like to learn more about this, but I am not sure what to google to find articles... | stackexchange/codereview |
Usually with my output I am writing it to the Transcript with...
Transcript show:
How does one write the output to a file instead?
| stackexchange/codereview |
I've never written an annotation in Java.
I've got a simple Java class for performance measurement. I call it PerfLog. Here's an example of its use:
public class MyClassToTest {
public String MyMethod() {
PerfLog p = new PerfLog("MyClassToTest", "MyMethod");
try {
// All the code that I want to time.... | stackexchange/codereview |
I want to create a Function in my C# code, which can be called from VB as if it were a Macro.
i.e. the VB code should be able to do:
sub vb_method
csharp_method("some_parameters")
end sub
and have that call my C# method:
public object csharp_method(String parameter) {
...
}
I know this can be done in C++:
LPX... | stackexchange/codereview |
In my ASP.NET MVC application I allow users to log in. Each user is associated with a company. Company ID and company data is not part of the Users table in the database. User and Company are connected through a related table (one to many relationship). Company ID is not part of the Users table as a foreign key because... | stackexchange/codereview |
I am using OpenCSV to read data from a CSV file and am using some of the sample code from the homepage:
CSVReader reader = new CSVReader(new FileReader("stockInfo.csv"));
List myEntries = reader.readAll();
And i am now trying to loop through this list and print out each entry. But i cannot seem to figure out the code ... | stackexchange/codereview |
I am currently using CSS to change everything I write to upperCase when I create an entry, but that is not enough. When I save things, the text shown in the text fields is upper case, but the real value that Grails stores stays in lower case.
I am assuming I'd need to change something in the controller or anything.
May... | stackexchange/codereview |
I'm guesing if its possible to have virtual copies of my code with SVN. For example: imagine that I have two programs in my repository. Program A use a subset of files used by B.
My question is if I could update a copy of a file in the context of program A, then commit in SVN and next time I update my code, I have the... | stackexchange/codereview |
Is it possible to get cut out text effect like this using CSS/CSS3 only? or image is the only option to get this effect.
| stackexchange/codereview |
I have an interface defined in C# which has a method
Array[] Foo();
I need to implement this interface in a class written in C++/CLI.
i tried the following syntax
array<array<Object^>^>^ Foo();
But i get an error stating my return type does not match the one in the interface.
Does anyone know how to translate a C# Ar... | stackexchange/codereview |
I recently changed SQL Server 2008 from windows authentication mode, to mixed. I created a new user 'taraw' and set a password. I'm connecting to localhost - which works perfect when using windows authentication, however if I want to use SQL Server authentication with my user - taraw, I get the following error:
Shared... | stackexchange/codereview |
Good morning,
Let's imagine I have a list of Tuple elements, and a function taking a String and returning a Double, for example. How can I, from some other method, use the list's OrderBy method with that function calculated only on the first coordinate of each tuple? For example, return List.OrderBy(FunctionTakingStrin... | stackexchange/codereview |
I'm looking for a way to setup the XML install file for my component and for it to also install the plugins and modules that go along with it all in a single installation. Has anyone done this before, how can this be achieved?
Many thanks
| stackexchange/codereview |
I'm writing a C program which takes n strings and concatenates them using strcat.
First I alloc'd the target string at sizeof(char)* the strlen of every string + 1 (for the null character). Then with a for I use strncat to create the final string.
At the and, I am appending the null character.
Everything goes fine, bu... | stackexchange/codereview |
how can i get mysql results with alphabetical pagination
i.e
i have 2 fields i.e id and name in mysql table and following html links for pagination
A B C D E F G .......
by clicking on A i want to get results names starting with A
how can i do that with php
| stackexchange/codereview |
Some youtube videos server by google cache servers and others by youtube cache servers. I want to find the direct url of a youtube video which server by google servers. For example the direct url for youtube video(id=Q_6qRyYn-68) is
http://r7.fra07s04.googlevideo.com/videoplayback?ip=78.0.0.0&sparams=id%2Cexpire%2Cip%2... | stackexchange/codereview |
Does anyone know if the MS Sync Framework source code is available and how to obtain it ?
| stackexchange/codereview |
i have to extract some data from a foxpro database. I found a sample app that extracts data from a sql server db and stores the connection string in the app.config file in the following format -
<connectionStrings>
<add name="test"
connectionString="Data Source=localhost\SQLExpress;Initial Catalog=test;Int... | stackexchange/codereview |
I found some Java code for generating combinations on, but I can't understand what it is doing as it does some strange operations with bits.
import java.util.Collections;
import java.util.LinkedList;
public class Comb{
public static void main(String[] args){
System.out.println(comb(3,5));
}
p... | stackexchange/codereview |
Xargs can be used to cut up the contents of standard input into manageable pieces and invoke a command on each such piece. But is it possible to know which piece it is ? To give an example:
seq 1 10 | xargs -P 2 -n 2 mycommand
will call
mycommand 1 2 &
mycommand 3 4 &
mycommand 5 6 &
mycommand 7 8 &
mycommand 9 10 &
B... | stackexchange/codereview |
I wrote a simpe test to validate my own understanding of the thrift interface for Cassandra. It just inserts a row into the database (using the keyspace and column familty that come preconfigured with the cassandra installation), then reads it from the database and compares the results.
public class CassandraAPITest {
... | stackexchange/codereview |
I'm looking for "hierarchyviewer" tool, but it's missing in my SDK installation.
Is "hierarchyviewer" part of Android SDK or there's something else I need to install on top of SDK to get it?
| stackexchange/codereview |
I have a swing app and I want there to be a title screen that lasts for a few seconds and then transitions to the program. What's the best way to do this? I was thinking a layered pane with a timer, but maybe there's something better?
| stackexchange/codereview |
Is there a way in objective C that I can define a static int that is thread safe?
for example if I have class called Session that has:
static unsigned int session_id = 1000;
- (int) generateSessionID{
return session_id++;
}
I am constructing session objects from different threads, each session object
should ... | stackexchange/codereview |
Can we say generics are form of polymorphism?
| stackexchange/codereview |
When Using DLLs or Code-injecting to be Specific
this is an example class only intended for explaining
class test
{
int newint1;
char newchararray[512];
void (*newfunction1)( int newarg1 );
int newfunction2( bool newarg1, char newarg2 )
{
return newint1;
}
} mynewclass1;
that covers m... | stackexchange/codereview |
I'm working on a homework assignment for my object oriented design class, and I'm running into trouble with Scala's companion objects. I've read in a few places that companion objects are supposed to have access to their companion class's private methods, but I can't seem to get it to work. (Just as a note, the meat of... | stackexchange/codereview |
I'm creating an IFrame app which users can add to a Pages Tab. When I'm navigating to a page where the app is added as a tab ( next to wall,info, etc ) , I see that the Facebook servers call my server where the application sits, with a POST request, but not passing any additional info.
How can my app get more informat... | stackexchange/codereview |
I am displaying a double to the user, but it is printed as 1.00000000001
However, I need only two digits after the decimal point.
| stackexchange/codereview |
I would like to append a .txt file ussing HTML or java I know this is possible
but keep on running into the ActiveX warning, which in this case is just annoying (we know ActiveX stop being so darn dogmatic)
is there just a simple way of scripting this without AxtiveX prompts?
The current script as follows (or at lest s... | stackexchange/codereview |
How do I copy a stacktrace out of the debugger in Pharo?
I know there's the Debug.log file somewhere near the image, but I'm far too lazy to navigate out of Pharo, to the file system, find the folder, and browse through a gigantic text file if there's a stack trace right in front of me.
| stackexchange/codereview |
I've written the following helper class that should allow me to get an exclusive lock on a file, then do something with it.
public abstract class LockedFileOperation {
public void execute(File file) throws IOException {
if (!file.exists()) {
throw new FileNotFoundException(file.getAbsolutePath... | stackexchange/codereview |
I have an NSTimer running in a shared class. + (GlobalClass *)sharedInstance;
Basically it runs once, and the second time it runs, it just killed the whole app.
This is how I'm doing the NSTimer
myTimer = [NSTimer scheduledTimerWithTimeInterval:5.0
target:self
... | stackexchange/codereview |
I am developing a ERP software inhouse and one of the requests is to have the the username of the person creating any document to appear on the window title when that document is opened.
It will be something like [USR] - Transport Order 123456
Are there any usability rules that I am not adhering to by doing this? It ju... | stackexchange/codereview |
As a developer currently working on a Web app that uses a Java/Tomcat backend, the recent announcement by Apple to deprecate Java is causing me some consternation. Mainly because I'm planning on hosting this Web app on Mac OS X Server (already on 10.5, soon to be on 10.6).
From http://www.appleoutsider.com/2010/10/22/j... | stackexchange/codereview |
For a personal project, I'd need to find out if two cubic Bézier curves intersect. I don't need to know where: I just need to know if they do. However, I'd need to do it fast.
I've been scavenging the place and I found several resources. Mostly, there's this question here that had a promising answer.
So after I figured... | stackexchange/codereview |
The usual way to create a geometry column is AddGeometryColumn, however I have to work with pre-existing columns, so I can't use that function (as far as I know).
Thanks to the PostGIS docs, I can already register the column in the "geometry_columns" table, however AddGeometryColumn seems to do more than create a colum... | stackexchange/codereview |
I need to generate a txt from oracle and put it into a ftp server, I already make the st for build de file but is it possible to transfer it to a ftp directly from the SP???
Thanks.
| stackexchange/codereview |
I'm trying to create a tab based menu using unordered lists and CSS(3).
The sample can be seen here : http://prashantraju.com/pat/tabs.html or code here:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/h... | stackexchange/codereview |
I have to display some print statements (which I get while running a Perl script) in the Tk GUI. I tried to show an example in pictorial format, for example:
Initializing the parser ...
Running the parser ...
Enabling the codec ...
Connected to the socket ...
Sending ipv4 traffic into the code ...
It goes on like ... | stackexchange/codereview |
Here is the error
remote: warning: suboptimal pack - out of memory error: git upload-pack: git-pack-objects died with error.remote: fatal: Out of memory, malloc failed fatal: git upload-pack: aborting due to possible repository corruption on the remote side.remote: aborting due to possible repository corruption on the ... | stackexchange/codereview |
I have an iPhone project with several classes I need to make NSmanagedObjects so I can use them with Core Data, I know how to create new classes from the model, but is there a way to do the opposite, link the classes with the object model graph.
| stackexchange/codereview |
for(;;)
{
if(!$monitor->Throttle($cause))
die('Fatal error: '.$monitor->error);
if($cause == THROTTLE_CAUSE_NONE)
break;
sleep(60);
}
i'm a beginner php developer. So how do you read the "for" syntax in previous code. is it valid ?
i got them from http://www.phpclasses.org/blog/... | stackexchange/codereview |
My question in the previous post was-
I have a cocos2d game, and after I
exit the game and start it again, it
starts at the exact same point it was
before closing.why this is
happening??and not only this, my game
is landscapemode but when I start it
again from simulator it comes in
portrait mode,not it l... | stackexchange/codereview |
So here is the question:
Suppose you have 100 thousand integers which ranges from 1 to 1 million. Please sort out the integers. The time complexity should be O(n).
Anybody who shares his or her ideas is well appreciated.
| stackexchange/codereview |
I'm having a problem parsing my parameters in ASP.Net
Here's what i'm doing
Sub ItemCommand(ByVal Sender as Object, ByVal e as RepeaterCommandEventArgs)
If e.CommandName = "EditDetails" Then
EditDetails() <---- This is where it's dying
Else If e.CommandName = "SubmitDetails" Then
SubmitDetai... | stackexchange/codereview |
I've used CakePHP a few times before but this is the first time I'm trying out Bake. On my Mac I'm running CakePHP 1.3, PHP5.3.3, and MySQL. I've created my database tables and the app connects to the database.
I navigate to the console folder. and type ./cake
I get welcome to the CakePHP v.1.3.5 Console. Then I gives... | stackexchange/codereview |
I'm trying to complete that tutorial with annotated controllers. I got stuck on the Step 2. Here is what they have for Simple Controllers:
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String now = (new Date()).toString()... | stackexchange/codereview |
Does VB6 short circuit conditional tests? That is to say, can I be sure a statement like...
If index <= array_size And array(index) > something Then
will never burst the array, whatever the value of index might happen to be?
| stackexchange/codereview |
I am creating a dictionary and then populating it with entries in main(), then calling a method which uses said dictionary. Short of including the dictionary in the arguments being passed to this method, how can I access it without getting the error 'An object reference is required for the non-static field, method or p... | stackexchange/codereview |
I won't tell you I've searched and tried dozens of syntaxes from the internets. You couldn't tell if I'm lying or not. So...
This is part of my html (the relevant part):
var jsonData = {
address: 'address',
address1: 'address1',
address2: 'address2'
};
var out = JSON.stringify(jsonData);
$.ajax({
type... | stackexchange/codereview |
Okay, here's what I'm trying to do. I have a drupal table (term_data) in mysql that lists tags and their ID numbers and a second table, (term_node) that shows the relationship between tags and the data the tags refer to. For example, if node 1 had 3 tags, "A", "B" and "C". term_data might look like this:
name tid
A ... | stackexchange/codereview |
I want update an _id field of one document. I know it's not really good practice. But for some technical reason, I need to update it.
If I try to update it I get:
db.clients.update({ _id: ObjectId("123")}, { $set: { _id: ObjectId("456")}})
Performing an update on the path '_id' would modify the immutable field '_id'
... | stackexchange/codereview |
I am using AJAX extension in visual studio 2005.
First of all i am created a Web custom control which contains Dropdown list.
I have also set AutoPostBack="true" for getting its SelectionEventChange event.
I am added this web control on another page inside a UpdatePanel.(i added dynamically on another page).
MyControl ... | stackexchange/codereview |
Just found that there is a request header authorization. Want to know what is the use of this header. How is it used in the context of jsp tomcat servlet enviornment. How is it different from a normal login module, where user enters username password in a simple jsp page. How a page passes authorization header.
| stackexchange/codereview |
I save my array of integers in a custom fields with the function:
update_post_meta($post->ID, "images", array(1, 2, 50));
How can I load this array now?
I try to use something like this, but without any luck:
global $post;
$custom = get_post_custom($post->ID);
$myarray = $custom["images"][0];
echo $custom["images"];
... | stackexchange/codereview |
I have a class that implements the INotifyPropertyChanged interface.
If I create a new instance of the object, the PropertyChanged event gets set after I retrieve a value from it.
Example:
MyItem itm = new MyItem(); //MyItem.PropertyChanged == null
string test = itm.Value; //MyItem.PropertyChanged != null
If I ass... | stackexchange/codereview |
For this Wordpress site, I need to generate 24 variables each of which contains a number between 1 and 24. The problem is that two variables cannot have the same value. So I basically need to generate 24 variables each of which contains a number between 1 and 24.
Here's the code that I am using to generate a random num... | stackexchange/codereview |
I need a memory-efficient data structure for for storing about a million key--value pairs, where keys are strings of about 80 bytes, and values are strings of about 200 bytes, the total key and value size being about 280MB. I also need efficient lookup of value by key, preferably a hash-map. The memory overhead should ... | stackexchange/codereview |
I've a Google spreadsheet in Google Apps. When I enter a date/time in spreadsheet, I want to create a corresponding entry in a particular Google Calendar? How can I do this?
This thread suggests some sort of scripting but complete solution is not given. And I'm using Google Apps instead of Google Docs as suggested by t... | stackexchange/codereview |
I am inserting a set of records on Google App Engine. I insert them in batch to avoid deadline exceptions.
When there is a large number of records (for example 1k) I always receive an unexpected:
Transaction collision for entity group
with key
datastore_types.Key.from_path(u'GroupModel',
u'root', _app=u'streamtom... | stackexchange/codereview |
I have been doing some self-study on Big-O. I understand how to give examples of the following notations to algorithms:
O(N):
for(int i = 0; i < n; i++)
sum++;
O(N^2):
for(int i = 0; i < n; i++)
for( int j = 0; j < n; j++)
sum++;
O(N^3):
for(int i = 0; i < n; i++)
for( int j = 0; j < n * n; j++)
... | stackexchange/codereview |
I'm making an app on android, using webview to load google map (using this url for my webview: http://gmaps-samples.googlecode.com/svn/trunk/articles-android-webmap/simple-android-map.html).
but i can't put a marker on that webview, can't somebody tell me how?
| stackexchange/codereview |
I want to check in mysql if a column is either blank, ie '', or 0.
Is there a way to do this with one condition?
Like
WHERE order_id > ''
or
WHERE order_id != ''
Would either of these work, or is there a different solution?
| stackexchange/codereview |
I have a problem with my iPhone simulator. Since yesterday when I press Build and run.
Xcode builds the project
Simulator closes the running app
Simulator opens the running app in same state as it closed (multitasking?)
The old build keeps running, I have to quit the simulator before i can run the new build.
I tri... | stackexchange/codereview |
We have a program made in Borland Delphi that uses Word automation to create documents.
On an installation (terminal server) we are only able to get the Word automation to work when running as local administrator.
When runnnig as anoter user we get an error message "Opdracht mislukt -2146824090" (its dutch version of O... | stackexchange/codereview |
In sharepoint 2010 I need to be able to set a review date on a document and be emailed when this review date is reached. Is this possible?
Thanks for any pointers
| stackexchange/codereview |
I have a POJO I need to format as a MultiValueMap. This MultiValueMap will be used as the request in a POST method using the restTemplate class and will be passed along to my web service as contentType application/x-www-form-urlencoded.
Are there any tools or utilities that will do the POJO -> MultiValueMap conversi... | stackexchange/codereview |
I'm working on a bunch of solutions which uses a third party DLL from vendors like Telerik. We use the dll in most of your solutions. But when i uninstall any of the solutions the dll is getting removed from the assembly. This is a very unfortunate behavior.
I guess even putting the dll in the bin folder wont help it. ... | stackexchange/codereview |
Protobuf-net's project page talks about all .Net versions apart from 4. Are there any issues with using protobuf-net under .Net 4?
| stackexchange/codereview |
HI all,
Im having a strange thing. Im having a code that was working that doesnt anymore. To me, I think i didnt make any changes...Can someone give me an idea what is wrong ??
I'm trying to publish a text with an image and a link using the attachment method of stream.publish.
here is the code :
Bundle myPa... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.