instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
We're in the business of lead generation. Customers receive leads from us. They view basic information about the lead and decide whether to accept the lead or reject. If they accept the lead, they are deducted 1 credit (for each lead) and they can view the detail info of the lead.
So each lead costs 1 credit (which is ... | stackexchange/codereview |
If I have a variable holding a flags enum, can I somehow iterate over the single-bit values in that specific variable? Or do I have to use Enum.GetValues to iterate over the entire enum and check which ones are set?
| stackexchange/codereview |
I really don't understand why the digg button counter is not working. It's pretty straight forward but..
The page is here: http://hockey-community.com/ if you look at my code I did exactly what they explained here: http://about.digg.com/downloads/button/smart
It just stays at 0.
Anyone had the same problem? Thanks for ... | stackexchange/codereview |
HI,
I am doing an iphone application that works with audio files. Application also contains an audio converter, so I can potentially have a file of any audio format in my /Documents folder.
What I want is to implement a smooth audio file ending by reducing volume level at the end and fading it in at the beginning of th... | stackexchange/codereview |
This is probably a common situation, but I couldn't find a specific answer on SO or Google.
I have a large table (>10 million rows) of friend relationships on a MySQL database that is very important and needs to be maintained such that there are no duplicate rows. The table stores the user's uids. The SQL for the table... | stackexchange/codereview |
What does the [] operator do when addressing an attribute vec4?
attribute vec4 a_MatrixWeights;
...
foo(float weight);
...
void main()
{
foo(a_MatrixWeights[0]);
foo(a_MatrixWeights[1]);
foo(a_MatrixWeights[2]);
foo(a_MatrixWeights[3]);
}
Is this addressing the individual fields of the vec4 (.x, .y, .z, .w... | stackexchange/codereview |
Kindly explain the following regarding Zend Framework and how do I know which one to use, and when and where to use them.
resources.layout.pluginClass
resources.frontcontroller.plugins
| stackexchange/codereview |
I thought I knew this already but now I'm not sure: Is all content sent over http always encoded to character data? ie, if my content type is a binary file type, is it always converted to binhex, or is it possible to send "actual" binary data across the wire?
| stackexchange/codereview |
When using the Facebook real-time callbacks to update user settings/details, are you able to access a users details even without a never ending token?
Realistically, we don't want to have to ask users for offline access, but still want to be able to update their details in our system. Is it possible to do this, or do y... | stackexchange/codereview |
Can anyone give me good tutorial about web service?
i find below tutorial with example but doesn't work
1
2
3
for example if i want to show weather in my app should i get data from specific web site or i can get data from yahoo or other site about weather
| stackexchange/codereview |
I am an iOS developer and I found a great library that handles all kinds of astronomy related calculations for me. The problem is that it's written in Java. Although I have enough experience with languages close to Java, I can't run Java on iOS.
I'd like to port it, but being that I've never ported anything before. Lik... | stackexchange/codereview |
This is the model in Google App Engine:
class Rep(db.Model):
mAUTHOR = db.UserProperty(auto_current_user=True)
mUNIQUE = db.StringProperty()
mCOUNT = db.IntegerProperty()
mDATE = db.DateTimeProperty(auto_now=True)
mDATE0 = db.DateTimeProperty(auto_now_add=True)
mWEIGHT = db.FloatProperty()
So, ... | stackexchange/codereview |
I have some code written in C++ which I would like to use in my iPhone app. I added the source files to the XCode project, but I have problem with some parts of the source code, e.g. I have he following code:
#import <vector>
// (...) some other code
typedef std::vector<keypoint> keypointslist;
// (...) rest of the cod... | stackexchange/codereview |
Ive created a navigation bar where the hover state of each link has be a different color so im trying to select the a:hover states with jquerys nth-child() selector. i can get it to select the li element but not the a or the a:hover. Currently all the hovers are blue.
here is the jquery code im trying to use:
jQuery(do... | stackexchange/codereview |
I am getting this error when generate Database from Entity Framework Code First.
I didn´t see any problem with script:
alter table [dbo].[Votes] add constraint [Post_Votes] foreign key ([Post_Id]) references [dbo].[Posts]([Id]) on delete cascade;
alter table [dbo].[Votes] add constraint [User_Votes] foreign key ([Vote... | stackexchange/codereview |
I'm having a lot of trouble figuring out how to do this. I need an arbitrary precision library for math in C. I'm good with either CLN or PARI/GP, both of which I've installed. I'm using Windows, so I had to do this via Cygwin, and ran the ./Configure files, followed by make install.
Everything's built, but I cannot fi... | stackexchange/codereview |
I've noticed in .NET4 that the SoapHttpClientProtocol appears to cache proxy credentials. Does anybody know if this is true, and how to refresh this cache? If my users change their credentials I would like to try them, but once I get any SoapHttpClientProtocol to successfully connect, any call to invoke appears to work... | stackexchange/codereview |
I started out with Rails development, but soon I realized Rails without JS is pretty much useless. So, I am trying to play with JS in my free time.
So, what are the "tools of trade (IDEs if any)" for JS development?
My primary focus is usage of APIs, Ajax etc, so that I don't get lost when I get develop Rails apps whic... | stackexchange/codereview |
I'm writing some simple PHP to back up a microsite. In my controller, I have a quick security/sanity check
if(!preg_match('/^[a-z]$/i', $req)) { gohome(); }
I'd like to continue my the main code after this, but for aesthetics, I'd like to avoid putting the rest of it inside the else block. What's the best way around t... | stackexchange/codereview |
How can I trace a system responsiveness and application resource usage issue on a remote computer? I deployed my application(written using unmanaged c++ code) on my client's computer running Windows XP sp3 pro, but its running very slowly and I want to diagnose it since it runs well on my Windows 7 machine. How can i f... | stackexchange/codereview |
I've written a bash shell script and part of it is checks if a file is over 30 days old using the find command, sadly when I uploaded it to my host it did not work as the find command is locked down.
Does anybody know how to check if a file is over 30 days old WITHOUT the find command?
I'm thinking I need to do an "l... | stackexchange/codereview |
Here is my current code:
foreach ($swears as $bad_word)
$body = str_ireplace($bad_word, "", $body);
It's filtering bad words, but I'd like to also filter a ":" to a "-" in the body. How can I have multiple foreach statements in my script?
| stackexchange/codereview |
I've seen my colleague do the second snippet quite often. Why is this? I've tried adding print statements to track the ctors and dtors, but both seem identical.
std::vector<ClassTest> vecClass1;
ClassTest ct1;
ct1.blah = blah // set some stuff
...
vecClass1.push_back(ct1);
std::vector<ClassT... | stackexchange/codereview |
I am attempting to send POST data using urllib, but the problem is normally you urlencode your dictionary of fields and then you send that along with your request. But some of my fields that I have to send to the server are named the exact same name, so using a dictionary I end up deleting a lot of my data out of the d... | stackexchange/codereview |
I was wondering what the best way to perform an if/then/else statement with the contents of an XML file. To be more specific, I want to display one of two images based on the content of a certain filed. For example, if the contents of a description item is "Red", I want to display a red button. If it's "Green", then... | stackexchange/codereview |
I use pathogen and have an update script that downloads the latest versions of all the vim plugins I use from vim.org, github, or wherever else they may be. However, this script does not currently update the vim helptags. In order to do so, I have to go to each updated plugin in vim and execute ":helptags doc/". It wou... | stackexchange/codereview |
How can I convert the hslider data format from decimal into an H:M:S?
| stackexchange/codereview |
I'm working on a small Android database application (I'm an Android newbie). I have an existing sqlite3 database created on a different platform. When I use it my SQLiteOpenHelper always calls OnCreate (which of course fails). When I let Android create the Database all works just fine - OnCreate is called for the fi... | stackexchange/codereview |
I know that if you want to run a program in the background from a unix command line, you simply add & to the end of the command, but is there an equivalent in windows in order to run something in the background?
| stackexchange/codereview |
typedef int (*P)(char *(*)());
int (*P)(char *(*)());
Both seems to be doing the same thing to me,what's the typedef there for?
| stackexchange/codereview |
Im facing a problem using the UIImagepicker.
If i use the camera on my iphone the language of the camera controls are in Dutch, but if i use the camera function in my app the language is English. If i choose pictures from my album in my app it is also in English. How can i change the language?
Greetz,
Dave
| stackexchange/codereview |
I've been battling with several IDE's so far without much success, so I decided it would be ask someone wiser. I'd love one to have these features:
Fast code completion;
Completion for HTML (with tags and tags' content), CSS and, preferably, jQuery;
Debugger which can work with WampServer installation;
Completion for ... | stackexchange/codereview |
in magento 1.3.2 which file is responsible forstoring the data of payment gateway options like Mastercard visa AMEX?
pls help
| stackexchange/codereview |
i use Task Library for my image compression service. I would to compress many files concurrency. But i want the service run only when user is idle(or no more impotarnt task in programm).
I know that threadPool does not support "change thread priority" feature, so task also does support this feature.
Can i develop that ... | stackexchange/codereview |
How can be selected element according his value and class with xpath?
The case:Need xpath for class="my_class" + element value = 'First element value'
text....
<div class="my_class"> First element value </div>
text...
<div class="my_class"> Second element value </div>
text...
<div class="not_my_class"> First elem... | stackexchange/codereview |
The error happens when i included my own usercontrol in this line (drag & drop):
<my:ItemParte x:Name="UcItemParte" Panel.ZIndex="6" />
and the error says: "Object reference not set to an instance of an object."
And I don´t know why... any help?
UPDATE:
This is the Sub New()
Shared Sub New()
ListViewFontSizePro... | stackexchange/codereview |
i've designed a custom class (or component?) that extends Sprite whose constructor has 15 parameters. only the first parameter is required, while the remaining 14 have default values assigned. all are necessary.
each of the parameters, except for the first required parameter are actually property setters. the class ... | stackexchange/codereview |
I need a memoizer/cache-like structure that only blocks the first time ever a value is requested and only periodically refreshes (asynchronously, triggered by user request) afterwards. Where can I find one ?
| stackexchange/codereview |
I'm probably missing something very simple here, but please bear with me.
What I want is a div, filling 100% of the width of its parent div (and no more), vertically centered within its parent div, containing content which should horizontally scroll rather than wrapping. Both the inner div and the parent div have varia... | stackexchange/codereview |
May be this question a bit not for StackOverflow, but both compilers and Verilog (which can be considered as programming language) are related to this project.
Where can I find a open-source (or downloadable and free-to-noncommercial-use) compiler from Verilog language to the GDSII format or to Netlist? There are a lot... | stackexchange/codereview |
I have the array $student[]
<?php
$student['id'] = "10402";
$student['hnumber'] = "H030502";
$student['name'] = "Larry Wayne";
print_r($student);
?>
It prints out:
Array ( [id] => 10402 [hnumber] => H030502 [name] => Larry Wayne )
What I want to accomplish is storing values into an array, that will then be inserted ... | stackexchange/codereview |
Document structure:
{
"Type":"post"
"LastModified":"2010-11-01 21:55",
"CategoryID":3,
"ID":12
}
Having a bunch of different post docs in different categories is great. But I can't seem to figure out how to make a view which returns the documents ordered by date, when selecting the ones in, e.g., category 3 an... | stackexchange/codereview |
i am getting this error:
>>> br = Browser()
>>> br.open("http://www.bestforumz.com/forum/")
<response_seek_wrapper at 0x21f9fd0
whose wrapped object =
<closeable_response at 0x21f9558 whose
fp = <socket._fileobject object at
0x021F5F30>>>
>>> br.select_form(nr=0)
Traceback (most recent call last):
File "<pyshell#3>"... | stackexchange/codereview |
I am working android app, where i need a Listview which contain different types of view sets.
They have to update dynamically. i.e , initially i have some list of views, with one header.
Next when i click button i have to add new view set with different header. So can any one tell me . how to achive this complex listv... | stackexchange/codereview |
I am using someone else's library that provides its own scripting host instance, it appears.
This lib provides me with functions to define the type of scripting language such as "jscript" and "vbscript", and I can supply it with script code and have that executed, with passing arguments in and back. So, basically, it w... | stackexchange/codereview |
I'm trying to find a solution I've seen implemented in some iPad apps where what appears to be a UISplitViewController does not display the master view docked to the left in landscape orientation. Instead, the behavior is exactly the same in landscape as in portrait, with a UIBarButtonItem on the left side of a UIToolb... | stackexchange/codereview |
in my stored procedure
why i have to cast the course to varchar (not writing complete stored procedure)
while my course_id in DB is of int type , after casting it works proper what may be the reason
@course int =null,
SET @query = @query + 'Where course_id='+ cast(@course as varchar)
| stackexchange/codereview |
I have a website with a file download option. However not everyone is allowed to download every file. For example if I log in as administrator I can download all files, but if I log in as a customer I can only download certain files.
Currently all these files are stored in a directory outside of the web root, so users ... | stackexchange/codereview |
I have an application running on Linux 2.6.13 and WindRiver Linux 3.0. In Linux 2.6.13 when I do...
ps -eaf | grep myapplication
...the output shows multiple entries of 'myapplication'.
If I give the same command in WindRiver Linux 3.0, the output shows only one entry of 'myapplication'
Is the difference related to th... | stackexchange/codereview |
I have two array of pointers and I want to copy one to other
Int32 *Ptr1[2];
Int32 *Ptr2[2];
Int32 a,b;
Ptr1[0]=&a;
Ptr1[1]=&b;
I want Ptr2 to hold Ptr1[0] and Ptr2[1];
Ptr2[0]=Ptr1[0];
Ptr2[0]=Ptr1[1];
Is there any other way, because If the array is huge, copying will be a problem
I did the following
Ptr2=Ptr1;
Th... | stackexchange/codereview |
So I have this fiddle which totally explains my issue.
Working fiddle
The JS
var w = this.w * this.scale;
var h = this.h * this.scale;
var x = this.x - w * .5;
var y = this.y - h * .5;
//standard Canvas rotation operation
ctx.save();
ctx.translate(this.x, this.y)... | stackexchange/codereview |
I've been following this tutorial on OpenGL and C++:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06
...and I've found myself facing quite the error. Whenever I try to compile, my program crashes with an error of the type, System.AccessViolationException. I've isolated the problem to be in this function:
glTe... | stackexchange/codereview |
I have created a common class with it's admin class which should be inherited by all of my models. My common admin class inherited the VersionAdmin
from reversion.admin import VersionAdmin
class CommonAdmin(VersionAdmin):
pass
The problem is that, the model admins which inherited CommonAdmin is not showing th... | stackexchange/codereview |
I have a remote repository on a UNC \foobar\Git\MKWF.gif
i have two local clones, the first is used for normal development so it really has two branches that track, master and stable. Development is done in master, then merged into stable.
Stable is the branch all other branches come off. This is a basic web framework ... | stackexchange/codereview |
Hey,
I have a ListView with mutliple columns. I wish to attach hard-coded values using a xaml construct like ListViewItem but can not work out how to specifiy multiple columns of fixed data. For example, in the grid shown below I'd like to see two columns, 'Animal' and 'IQ', and pre-populate the data for both columns, ... | stackexchange/codereview |
I am using an unsigned char to store 8 flags. Each flag represents the corner of a cube. So 00000001 will be corner 1 01000100 will be corners 3 and 7 etc. My current solution is to & the result with 1,2,4,8,16,32,64 and 128, check whether the result is not zero and store the corner. That is, if (result & 1) corners.pu... | stackexchange/codereview |
yes can search google but there are thousand of results
by your experience which links give the best for a beginner who has to make some website using it within a month.
i mean the styling,
the ways to style the footer (you knw the copyright message)
using vs08 c# aspx
| stackexchange/codereview |
It is possible to make form and table (View) by both using zend_form with decorators, validators , filters etc, and we can also do this directly in view phtml file writing html as usual. I want to know which one is the best way to do in terms of
Performance
Time
Simplicity
I am new to zend framework.
| stackexchange/codereview |
I saw some topics here regarding facebook and twitter integration with Android Application.
I need help regarding, is twitter integration with Android App possible in real??
[I need to tweet on user's wall and all]
If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if... | stackexchange/codereview |
I have function to check if a string contains only alphanumeric and underscore character...
inline bool IsValidChar(char x)
{
return (isalnum(x) || (x == '_'));
}
My find_if code is:
if(find_if(str.begin(), str.end(), IsValidChar) != str.end())
{
...
}
I just want to remove the IsValidChar function ... | stackexchange/codereview |
Are blank characters like spaces, tabs and carriage returns ignored in json strings?
For example, is {"a":"b"} equal to {"a" : "b"}?
| stackexchange/codereview |
I have a UIViewController subclass whose view is configured in a NIB file. The view has a UIScrollView subview.
The UIScrollView takes up almost its entire NIB file but it's superview is added as a subview to a much smaller view (configured in a different NIB) - e.g. the UIScrollView is 80% the height of it's own NIB b... | stackexchange/codereview |
My program is crashing and I'm having a hard time wrapping my head around why it crashes. The main problem is that the wxwidgets documentation says that reference counting is used for wxImage objects. What exactly does this mean? Why does this code crash it?
wxImage* t = m_default_image; //m_default_image is a pointer ... | stackexchange/codereview |
How safe would be to do something like:
if (flag_val != NULL && strcmp (val, flag_val) == 0) {
// something
} else {
// something else
}
Knowing that sometimes flag_val will be NULL and sometimes not.
I know it will check first if flag_val != NULL, if it evaluates false, it shouldn't check the second condition r... | stackexchange/codereview |
I've been doing a bunch of searching and reading today, and haven't figured out the right way to implement something, or even determining if it's possible.
Here's the gist of what I'm attempting right now. I have an application that loads plugins via MEF. Plugins can implement a variety of interfaces, and let's say I... | stackexchange/codereview |
How to create dylib for springboard and how to use the mobile substrate? Cannot find info, need to create an app to programatically toggle wifi module for any iOS version 3.0 to 4.1. Is creating springboard dylib the solution for my app? Thanks in advance!
| stackexchange/codereview |
We are starting the process of internationalizing our software. To do this we will be writing a series of filters to convert all of our different resource files (resx, text, java resource, etc) into a common format. We will then be outputting xliff files for translation. After translation the process will run in revers... | stackexchange/codereview |
I have a WCF Service that uses a X.509 certificate as client credentials. Most of these credentials do not require a password for using it, just for installing it.
But now, a client of ours has a certificate that requires a password to be entered every time it's used (ie. every time the service is running). This servic... | stackexchange/codereview |
In an iPad app, I have a tableView as a subview of a top level viewController - let's call it topVC. The tableView is controlled by a dedicated viewController, tblVC, which is a property of topVC. I need the tableView to support iPhone-style detailView navigation.
Setting up a UINavigationController property in the to... | stackexchange/codereview |
I have some single page tiff images and just want to convert it into multipage tiff images. Is there any plugin avialable in ruby or in rails?
| stackexchange/codereview |
I have a Post Mode ,and a controller called happy_robot_controller,which will periodically crawl certain web sites , gather the data I am interested in , and then save to the Post Model.
skeleton of happy_robot_controller.rb:
craw the web site and get the interested data, save to title and content variables
#save to... | stackexchange/codereview |
the following code has compilation error in the line of t3:
public <E> List<E> getList()
{
return new ArrayList<E>();
}
public <T> void first()
{
List<T> ret = new ArrayList<T>();
List<T> list = getList();
T t1 = ret.get(0);
T t2 = list.get(0);
T t3 = getList().get(0);
}
The error message is:
... | stackexchange/codereview |
i'm creating a matrix 3x4 with Math MAhout class DoubleMatrix2d, i wrote something like this to begin:
package org.apache.mahout.math.matrix.impl;
import org.apache.mahout.math.function.BinaryFunction;
public class creaMatrice extends DenseDoubleMatrix2D {
public static void main(String args[]){
double array... | stackexchange/codereview |
hey,
am making a program that makes the forms and controls dynamically from xml format in C#.
i found in MS SQL data type XML but dnt know how to manupolate it? how to store xml in it nd how get it back??
| stackexchange/codereview |
I am sure that for most this is a very easy question. But I am writing a token recoginzer for XML in c++ and I am using a stack to make sure there are matching begining and end tags. Well my tags are c strings...
char BeginTag[MAX];
I am trying to push that onto my template stack. But I am unsure what type to pass th... | stackexchange/codereview |
I'm writing a desktop app that retrieves e-mails from an IMAP server. For convenience, the user is given the option to save his username and password for the login screen, so he doesn't have to enter it each time. Can I save the password as plain text? If not, then how do I do this?
(Note that storing a password hash i... | stackexchange/codereview |
I'm a bit confused it seems here. What I'm trying to do is create a Javascript function that disables all inputs on a page, and then a function that enables all the inputs on a page.
This was pretty easy with jQuery. My question is, how can I wrap these jQuery functions in a traditional JS function? The reason I need ... | stackexchange/codereview |
Please Help Me~ :)
Under code complie successful on visual studio. but, Under code could not complie on linux, g++.
The code..
A.h
struct Test { Test(); ~Test(); };
B.h
extern struct Test { Test(); ~Test(); };
A.cpp
#include "A.h"
Test::Test()
{
cout << "Construction" << endl;
}
Test::~Test()
{
cout << "... | stackexchange/codereview |
EDIT: The problem i am having is that i am using the TapKu calendar, so i am relying on the provided delegates. Here is the problm:
- (NSArray*) calendarMonthView:(TKCalendarMonthView*)monthView marksFromDate:(NSDate*)startDate toDate:(NSDate*)lastDate{
//SOAP Request has NSURLConnection which runs asychonrous delegat... | stackexchange/codereview |
We currently are using an ActiveX control from Siemens called JT2G0 viewer to embed a 3D viewer inside a web page.
However, I would like to find other comparable products to research and I'm having a hard time finding 3D CAD viewers that can be embedded inside a web page.
Does anyone have experience with other 3D CAD v... | stackexchange/codereview |
I have a class which is displayed in a property grid. One of the properties is a List<SomeType>.
What's the easiest/correct way to set up the code so that I can add and remove items from this collection through the property grid, preferably using the standard CollectionEditor.
One of the wrong ways is like this:
set no... | stackexchange/codereview |
Should it be capitalised on the first letter? As an example, AddUser.aspx instead of adduser.aspx. Which is better?
| stackexchange/codereview |
Any idea how I would go about have a rails REST web service where a user can only get, put, post, delete only their own data ? I am using Devise as my user authentication gem, but I am not sure if this handles things in a RESTful manner.
How would I assure that the user is 'logged in' and can change their data? Do I h... | stackexchange/codereview |
I am working on the csv generation. I am seperating values which are seperated by comma(,). If the value in a field contains comma, then it should not seperate the field in excel. So I want to put a escape character there. I am using FasterCsv. So how I can put a escape character. What is the escape character of faster... | stackexchange/codereview |
I'm building a REST web service using the Jersey API and I've having a problem passing the parameter to the PUT method. The method is this:
@PUT
@Consumes("text/html")
public void putHtml (String content) {
System.out.println("Content"+content);
}
I'm calling it using the following:
<html>
<head>
<met... | stackexchange/codereview |
I am trying to return docx file from an asp.net service but the service keeps on giving me a response error that it requires text/xml to be returned. The service is SOAP based asp.net webservice and i would like to know how can i return a docx file using a webservice? Or should i go for WCF for this one because i think... | stackexchange/codereview |
In my application,I have to load volumedata from set of images (MRC images) and keep the pixel data in memory.(images are grayscaled ,so one byte per pixel).
My development environment is QT framework ,MinGW for Windows and GCC for Linux.
At the moment,I use a simple data structure to store volumedata as :
unsigned cha... | stackexchange/codereview |
Hi all I have a collection of images that are similar to photos of car registration plates.
I am wondering how to pre process the image before sending it to an OCR engine to determine the text.
I would like to eventually be able to crop the input on only the white content of the registration plate.
The actual image wou... | stackexchange/codereview |
Background: I have written a bookmarklet (JavaScript) that appends an iframe to the current page you are viewing. This iframe's src attribute is pointing to a form back on my (rails) application. I need to pass a key into the form (from the bookmarklet) by either modifying one of the values of the input fields or by pa... | stackexchange/codereview |
I will like to know how does Stackoverflow maintain the additional details of users logging in using open-ids? In my knowledge, the details of these users are stored in the server of google,facebook etc. (The ones whose open id is being used). How then this site is also storing info about user's points, badges, privile... | stackexchange/codereview |
I have a table 'TYPE' in this table i have 2 columns as 'SKEY' AND 'CASECODE'.
'SKEY' contains text value and 'CASECODE' contains the corresponding numeric value.
I have bound the values in the column 'SKEY' to a DropdownList control in ASP.net 3.5 C#, What i want is on selection of one item in the DropdownList the c... | stackexchange/codereview |
I have created an app that sends intents among multiple activities. After doing some research I have found that the ActivityUnitTestCase class is designed for unit testing while the ActivityInstrumentationTestCase2 is designed for functional testing. I understand the use of methods such as setUp(), tearDown(), and te... | stackexchange/codereview |
I am trying to make a search function to work with algebra problems. I want something like Wolfram Alpha but I am building a python framework for it. It should be able to figure out multiple variables and equations on both sides of the equal sign. I have recently asked about a validator for the program so I need a loop... | stackexchange/codereview |
I am trying to compile this Hello World program in Windows 7 with Visual Studio 2010 installed, but I get the following error message when I run nvcc hellocuda.cu:
nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported
How can I compile this CUDA program ?
| stackexchange/codereview |
I have subclassed UIScrollView and added my own custom delegate (currently called delegate). I want to add functionality such as notifying a user when an image is tapped and perform loading like the table view.
However, If I define my own custom delegate, I can not set the parent delegate for responding to events such... | stackexchange/codereview |
Hi I am currently installing a software called super LU and in the README file there is the following instruction for modifying a makefile depending on system set-up.
C preprocessor definition CDEFS.
In the header file SRC/Cnames.h, we use macros to determine how
C routines should be named so that they are calla... | stackexchange/codereview |
i write a method to create a form, then some other commands after that in main.(java)
package pak2;
import javax.swing.*;
public class form6 {
public static void main(String[] args) {
// TODO Auto-generated method stub
JFrame jframe = new JFrame();
JButton jButton = new JButton("JBut... | stackexchange/codereview |
Java Question:
I want to take an undetermined number of lines of input from a user. For instance, I want the user to continue entering names of people as strings until the user has no other names to enter. I want a user-friendly way to easily indicate that the user has no more input. The loop may look like the followin... | stackexchange/codereview |
I'm writing an audio application that has multiple threads producing sound and one thread that mixes the sounds and sends them to the sound card. I've tried several ways of synchronizing threads the 'right' way including Signals and thread safe queues but they were all too slow. So now I use a bool for each producer to... | stackexchange/codereview |
I used eclipse Helios to create a Web Service Client for consuming an axis 1.4 web service.
It generated 2 packages:
1 - datamodel.
2 - client.
Inside client package there are 5 classes:
1- ServiceName
2- ServiceNameProxy
3- ServiceNameService
4- ServiceNameServiceLocator
5- ServiceNameSoapBindingStub
I need to Know ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.