instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am working on a new project, which needs Authorize.net CIM to be integrated as a payment gateway. User can have multiple cards, Can you please anyone let me know the minimum details I need to save in DB and DB schema for saving the card details?
| stackexchange/codereview |
In this question, I tried to give an example of two ways of doing the same thing in C++: one short but complicated "fancy" piece of code; and a longer but more readable and understandable way of doing the same thing. The question asks whether it's better to have a well-commented fancy piece of code or a self-commented ... | stackexchange/codereview |
A cat at my company walked over a keyboard and has left a valid 1000+ line of executable Perl code for me to maintain.
Thanks to Perl's TMTOWTDI philosophy I find myself searching Google to make sense of every line of code she has produced.
To add to my misery the code is not indented and one find frequent occurrence o... | stackexchange/codereview |
Let's say I have a contact manager system. There are notes associated to each contact made by employees.
So, here's my quick example:
ContactName, NoteCount
John, 100
Rob, 10
Amy, 10
Chris, 10
How do i figure out the that 75% of contacts have 10 notes assoicated with them and that 25% of contacts have 100 notes assoc... | stackexchange/codereview |
I want to create... basically a macro program. After you click record, it keeps track of all mouse (and maybe eventually keyboard) activity. Then you can save it, and play it, and the mouse should move and click in the same spots that it did when you were recording it.
I know how to grab global mouse events, but I don'... | stackexchange/codereview |
We're using URLRewriter (http://urlrewriter.net), and would like to rewrite queries like this:
domain.com/find/red-boots
to this:
domain.com/search.aspx?k=red+boots
The sample code to go into the web.config is this (I'm a bit unfamiliar with this syntax)
<if url="/tags/(.+)" rewrite="/tagcloud.aspx?tag=$1" />
How can I... | stackexchange/codereview |
I have found the solution to this, but what in case one of the column is a subquery, how can i include it in group by, or do i need to include that in group by. I will paste the query here..
SELECT s.customerid, s.denomid,
(SELECT su.quantity
FROM stockupdations su
WHERE s.customerid = su.cu... | stackexchange/codereview |
"Update yourself in the latest core java language, and some of the advanced Java technologies and frameworks" is the advice I got from a fellow senior programmer as a pre-requisite to looking for a better job. I want to do that.
Background: I am a beginner java developer. I have several years of experience writing Java... | stackexchange/codereview |
I have the following strings
http://example.com
https://example.com
http://www.example.com
how do i get rid of the http:// or https://?
| stackexchange/codereview |
I need some help figuring out how to make some changes to some .jsp pages that are contained inside of a .war package.
I am using jbilling opensource billing software and need to modify some elements/display and want to do it directly in the .jsp, so I unpacked the .war file and made a change, then packaged it back up ... | stackexchange/codereview |
A stupid question on formatting but not able to figure out the correct negate parameter. I've the following string value which needs to be passed as a constructor arg through spring.
private final static String STRING_PATTERN = "\\<.*?>";
In spring config,
<bean class="com.test.TestBean">
<constructor-arg value="\\<.*... | stackexchange/codereview |
So I've been working on getting my app ready for iOS 4 and iPhone 4. Installed the latest Xcode and SDK and have been tweaking out graphics, etc. All is working flawlessly except I'm having problems running the app on the iPad simulator. I don't have an actual iPad to test.
My app uses an ABUnknownPersonViewController ... | stackexchange/codereview |
I have a page that's not displaying correctly in ie8 quirks mode. If I want to create some CSS to target just that mode, but not ie8 normally, what would be the conditional HTML?
For example, if I wanted to just hit ie8:
<!--[if IE 8]>
awesome hacky stuff goes here
<![endif]-->
So what is the IE 8 part for ie8 qui... | stackexchange/codereview |
I have the following struct:
public struct Declarations
{
public const string SchemaVersion = "urn:ean.ucc:gdsn:2";
}
And the SchemaVersion is used by some XmlElements which are trying to be serialized like this:
[XmlElement(Type=typeof(SomeGarbage),ElementName="moreJunk",IsNullable=false,Form=XmlSchemaForm.Unqualifi... | stackexchange/codereview |
I am trying to decorate an actual class, using this code:
def my_decorator(cls):
def wrap(*args, **kw):
return object.__new__(cls)
return wrap
@my_decorator
class TestClass(object):
def __init__(self):
print "__init__ should run if object.__new__ correctly returns an instance of cls"
test... | stackexchange/codereview |
I have some SQL thats getting run and it is taking to long to return the results / parse / display, etc. in a asp.net c# application.
I have SQL Server Management Studio 2008 R2 installed to connect to a remote SQL Server 2000 machine. Is there a Query Analyzer or profiler I can use to see whats going on? I'm not sure ... | stackexchange/codereview |
How do you look for a delete ID number that has been used, but deleted as is no longer used, before you just append on top of the last ID number that has been added
For example:
ID Name
1 Orange
5 Apple
I have auto increment on, I want to add Banana in to number 2, but auto increment is adding ... | stackexchange/codereview |
if (c=='a' || c=='e' || c=='i' || c=='o' || c=='u') {
count++;
When i give the above statement it returns number of vowels in a word only if the given word is in lowercase (ie: input: friend output 2 vowels). I Want to know even if i give uppercase or mixed it should return number of vowels. How to do it?
| stackexchange/codereview |
I have this mapping file:
'class name="WebTools.Data.Common.IHObjekt, WebTools.Data" table="IHObjekt"'
....
'property name="TYPBEZEICH" type="string"'
...
'many-to-one name="standort" column="STANDORT_ID" fetch="join"'
And I would like to use a 'Projections.ProjectionList()' to reduce the number of returned... | stackexchange/codereview |
Possible Duplicate:
Is it possible to write a C++ template to check for a function's existence?
say there are 2 classes:
struct A{ int GetInt(){ return 10; } };
struct B{ int m; };
I want to use object of type A or B in following function
tempate< typename T >
int GetInt( const T & t )
{
//if it's A, I'll call: ... | stackexchange/codereview |
How would I insert a key => value pair into the midst of a nested array?
example:
array
1 => string 'a' (length=1)
2 => string 'b' (length=1)
3 =>
array
'this' => string 'that' (length=4)
'meh' => string 'foo' (length=3)
'blah' =>
array
'a' => int 1
'b' => int 2... | stackexchange/codereview |
I'm looking at building a custom web application for a client (a specialized auction site, in this case), and we're evaluating using some existing CMS as the "scaffold" for the application.
The justification is the fact that for many custom web application projects, some 70% of the code written goes in to adding CMS fe... | stackexchange/codereview |
Here's a problem I'm always wanting to solve with htaccess. I haven't found a way yet, though it looks like it should be possible - perhaps someone can help.
Let's say I have a folder at the root of my site called /foo/. I want users to be able to access that folder at the path /bar/, but for various reasons I can't re... | stackexchange/codereview |
I'm using gcc, which implements enums as 32 bit integers on the architecture I have (don't know in general). If I try to assign an enum value too large, I get
warning: integer overflow in expression
Is there a way to make gcc use 64 bit integers as the underlying integer type? A gcc specific way is fine, although if ... | stackexchange/codereview |
Take for example the following two statements:
if (booleanVariable)
{
doSomething();
return true;
}
else
{
return false;
}
and
if (booleanVariable)
{
doSomething();
return true;
}
return false;
Which one would be preferred?
They both return the same result in the end.
Any reason one would be better to us... | stackexchange/codereview |
How many different ways are there to define constants in C or C++?
I am already aware of using the const keyword and the #define directive. I heard somewhere that there are two more ways to define constants, but I've never seen any others.
Are there any others?
| stackexchange/codereview |
We have an application that is currently required to be accessed using two authentication schemes, Forms Auth and Active Directory or NTLM / Windows Auth.
The way the application is now, there are two IIS sites pointing to different folders with the same set of files, everything identical except the web.config.
Before ... | stackexchange/codereview |
First, let me tell you what the border of a string is,
let x = "abacab"
let y = "ababab"
The border of a string is a substring which is both a proper prefix and proper suffix of the string — "proper" meaning that the whole string does not count as a substring. The longest border of x is "ab". The longest border of y i... | stackexchange/codereview |
I'm trying to use Jython instead of Python for a project (want jdbc driver for a sort of rare database).
Everything is working OK so far, but I can't find any good tools for code coverage. Does anyone have a solution to this?
The googling I've done seems to indicate that jython is missing some things that code coverage... | stackexchange/codereview |
Every time I build my .NET application with Visual Studio, I got a appname.vchost.exe file along with my appname.exe file. This file doesn't exist when I build with command line commands. So,
What is this *.vchost.exe file for?
Could someone explain its working mechanism in detail?
Thanks.
| stackexchange/codereview |
I have a: has_and_belongs_to_many :friends, :join_table => "friends_peoples".
To add a friend I do: @people.followers << @friend which create the relationship and a new person profile.
Now I'd like to delete the relationship ONLY and not the person profile.
I tried @people.friends.delete(guilty.id) but it deletes the p... | stackexchange/codereview |
Bad style notwithstanding, is it legal C to have a for loop with braces inside the parens? Like this:
char *a = "a ";
char *b = "b ";
for ( { int aComesFirst = 1;
char *first = a;
char *second = b;
};
aComesFirst >= 0;
{ aComesFirst--;
swap(first, second);
} )
{
print... | stackexchange/codereview |
I subclassed UITableViewController and called it FeaturedGamesViewController. Ok, I also have a navigation controller to which I added this FeaturedGamesViewController as the root. All pretty standard stuff that you do in the App Delegate.
Also note that there is no NIB file created for FeaturedGamesViewController. Jus... | stackexchange/codereview |
I have 3 domains:
domain1.com
domain2.com
domain3.com
I want to 301 redirect all to domain3.com/$1. That includes domains with www and non-www.
domain1.com -> domain3.com
www.domain1.com/$1 -> domain3.com/$1
domain2.com -> domain3.com
www.domain2.com/$1 -> domain3.com/$1
domain3.com X-> domain3.com (no redirect)
www.do... | stackexchange/codereview |
I have two servers, A and B. A has the repo and can ssh to B. B is a new server I want to have the repo, but cannot ssh to A. I've tried copying the repo, create a remote to push, git clone with a -u... any suggestions?
| stackexchange/codereview |
Is there a way to delete the newline at the end of a line in Vim, so that the next line is appended to the current line?
For example:
Evaluator<T>():
_bestPos(){
}
I'd like to put this all on one line without copying lines and pasting them into the previous one. It seems like I should be able to put my cursor to ... | stackexchange/codereview |
http://elektrikhost.com/
You see the penguins thats over the header on the columns? I'm trying to get them to be over the header and list. I'm wondering what would you do? use position absolute, or relative? I'm stuck.
HTML:
<section class="starter">
<img src="../images/plan-icon.png" width="62" height="73" alt="Plan... | stackexchange/codereview |
I am about to start development of a web based application and we need to create a data model for that.
Is there any
web based
free and ready to go
or open source so I can install it on my linux server
that allows collaboration
application for data modeling?
| stackexchange/codereview |
How would i go about delaying the total load of a SilverLight Page? I take a parameter out of the querystring on the page load of a Silverlight web page, and then send it to a web service boolean function to process. The result of the return value is used to determine whether to fully load and display the page, or dire... | stackexchange/codereview |
Is is possible to change TextView text after using Linkify to create links? I have something where I want the url to have two fields, a name and id, but then I just want the text to display the name.
So I start off with a textview with text that includes both name and id, and linkify to create the appropriate links wit... | stackexchange/codereview |
I want to practice Unix (mostly KornShell (ksh) scripting and VI editor) on a windows Vista machine. What is the best solution for this? I do not like Cygwin. So anything other than Cygwin which gives the closest feel of Unix Environment without re-installing the OS.
Thanks.
| stackexchange/codereview |
I want do wrap error messages that appears (in #error div) and disappears from page to page in a jQuery UI dialog. Some of error messages are added dynamically by jQuery $('body').append('blablabla') or another insertion method. So this construction:
$('#error').load(function() {
$('#error').dialog({
dragg... | stackexchange/codereview |
So I recently had a tree conflict when trying to merge a branch into the trunk. This cascaded into a series of events in which I scrambled to try and fix the issue, but now just can't really do anything (things won't commit, things won't update, etc.)
How can I just say, okay -- go back to here and start fresh, or what... | stackexchange/codereview |
Why does the commented out code work, while the other code returns a BoundField error? Shouldn't they be equivalent?
form = PostForm(request.POST)
post = Post(title = form['title'], details = form['details'])
#post = Post(title = request.POST['title'], details = request.POST['details'])
Also, I fear the title to this... | stackexchange/codereview |
because the way jquery dialogs woks, when using a "confirm" dialog, you have to return false immediately, and if the user selects "Ok", then trigger the form submit.
so, I'm using this code:
function validoForm()
{
//some code here...
if (datosTdcIncompletos==true)
{
var $dialogTDC... | stackexchange/codereview |
Say I have something like this
ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv
-ar (Audio sampling rate in Hz)
-ab (Audio bit rate in kbit/s)
regarding the -ar and the -ab how do I know what rate to use? I got this ffmpeg command from a site somewhere and I was wondering how the person knew what ... | stackexchange/codereview |
I don't have an Android phone right now. But in my application I need to use the accelerometer values. How can I do this in a simulated environment?
| stackexchange/codereview |
I am new to Linux programming.
I am returning a value from thread. But when compiled it is listing some errors. I am listing the code and error below. Please help me to understand why the error and how to solve it.
code
#include <pthread.h>
#include <stdio.h>
void* compute_prime (void* arg)
{
int x = 2;
... | stackexchange/codereview |
Google says there are:
Jenkins ( first impression: not lightweight )
Cruise control ( first impression: not lightweight )
Bitten ( seems to be dead, last ticket >8 months old)
BuildBot
But BuildBot seems a bit outdated, offering no statistics, not very intuitive to configure... Features we are interested in are:
Mul... | stackexchange/codereview |
I wrote a program that creates a TCP and UDP socket in C and starts both servers up. The goal of the application is to monitor requests over the TCP socket as to what UDP packets to send it (i.e. monitor for something like "0x01 0x02" and if I see it, then have the UDP server parse the payload, and forward it over to t... | stackexchange/codereview |
#include<stdio.h>
int main()
{
double fract=0;
int tmp;
//scanf("%lf",&fract);
fract=0.312;
printf("%lf",fract);
printf("\n\n");
while(fract>0){
fract*=(double)10;
printf("%d ",(int)fract);
fract-=(int)fract;
}
getch();
return 0;
}
this code shoud have ... | stackexchange/codereview |
I have been trying to wrap my head around this issue but I am not making much progress. My goal is to do a left join between two tables with criteria for the right table. I would like to see the list of all products and prices for the current day even though there is no pricing row for the current day. Here is an ex... | stackexchange/codereview |
how to make content of a web page fully scaled whatever the width/height of the device visible portion is?
| stackexchange/codereview |
I have a LI element to which I have added a "Toggle" event handler
$("#myUL li").toggle {}
Inside the LI there is an anchor (link) element:
<ul id ="myUL">
<li>Click anywhere to initiate toggle handler <a href="/">(Except here)</a></li>
</ul>
How can I tell jQuery not to initiate the Toggle event if the user clicks o... | stackexchange/codereview |
I have a navigationController from where I launch a ModalViewController.
In this ModalViewController I will display the MailComposer which itself another ModalViewController.
Now if the user hits the send button the MailComposerView should be dismissed as well the other ModalViewController. For that I call a delegate m... | stackexchange/codereview |
I am building a web application that is supposed to make it easier for users to generate correct XML for a given utility.
As a simple test, I created a textarea that contains the generated XML. I then created a button (<input type="button">) with a jQuery handler that will send the contents of the text area to my PHP ... | stackexchange/codereview |
CommunicationException was unhandled by user code
The socket connection was aborted. This could be caused by an error processing your message
or a receive timeout being exceeded by the remote host, or an underlying network resource
issue. Local socket timeout was '02:48:04.9840000'.
I've been testing this application ... | stackexchange/codereview |
Though I have gone through some articles regarding MVC and MVP, I am not able to take decision to write code with MVP or MVC pattern?
Which pattern will allow us to write loosely coupled code? Can I assume Asp.Net web forms is MVP by default?
| stackexchange/codereview |
I want to implement a tree structure which has fixed depth, i.e. when adding children to the leef nodes, the whole tree structure should "move up". This also means that several roots can exist simultaneously. See example beneath:
In this example, the green nodes are added in iteration 1, deleting the top node (grey) a... | stackexchange/codereview |
I have an image that is 320x480 and upon orientation change this image obviously hangs out of view. There are some images where the focal point of it sits with it's bottom cut off (which isn't undesirable). My issue however is when the user pans vertically to see the full image, the view appears to snap to the bottom ... | stackexchange/codereview |
PHP 5.3.3-pl1-gentoo (cli) (built: Aug
17 2010 18:37:41)
Hi all, I use a simple autoloader in my project's main file (index.php):
require_once("./config.php");
require_once("./app.php");
require_once("./../shared/SqlTool.php");
function __autoload($className) {
$fn = 'file-not-exists-for-{$className}';
if ... | stackexchange/codereview |
I'm very new to ANT and have started using it in a Flash Builder project.
When I run the compiler I need to pass in some library paths. The whole thing looks like this:
<mxmlc
file="${SOURCE_DIR}/com/${PACKAGE_NAME}/Main.as"
output="${RELEASE_DIR}/assets/swf/${IDENTIFIER}/main.swf"
locale="${LOCALE}"
s... | stackexchange/codereview |
I have to create a backup XML file every few minutes, here's the current code:
XElement xml = new XElement("Items",
new XElement("Backup",
new XElement("Console", consoleName),
new XElement("Begin", beginTime),
new XElement("End", endTime),
new XEl... | stackexchange/codereview |
The solutions for my school's assignments all have waterstamps on the PDFs with our username on it.
I was wondering if you guys know how to do something like that using PHP? Do they run a script prior to the download process?
Thanks.
| stackexchange/codereview |
i have a js function which gets html to create new employee from controller, inserts it inside a form tag (for later .serialize()), and then inserts this html to createDialog div and shows this div as dialog.
<div id="createDialog" style="display:none;">
</div>
$.get('/Employee/Create',
function (html) {
... | stackexchange/codereview |
I've got a clear and simple question.
The webapplication i'm working on is using unit tests (close to 1500 tests). Due to an required modification in the application several tests are failing because The HttpRuntime.BinDirectory doesn't have a value and therefor throws and ArgumentNullException.
Is there a way to set m... | stackexchange/codereview |
I want to use find_or_create_by, but this statement does NOT work. It does not "find" or "create" with the other attributes.
productproperty = ProductProperty.find_or_create_by_product_id(:product_id => product.id, :property_id => property.id, :value => d[descname])
There seems to be very little, or no, information on... | stackexchange/codereview |
There are plenty of SO questions on weighted random, but all of them rely on the the bias going to the highest number. I want to bias towards the lowest.
My algorithm at the moment, is the randomly weighted with a bias towards the higher values.
double weights[2] = {1,2};
double sum = 0;
for (int i=0;i<2;i++) {
sum +... | stackexchange/codereview |
Suppose I have some geometrical data and I wish to render it in wireframe mode. Obviously, this can be done using the API (for example, by setting some appropriate mode like D3DFILL_WIREFRAME in DirectX).
But I was interested if that is possible to achieve using vertex / geometry / pixel shaders (combined, probably).
... | stackexchange/codereview |
class Collector
class ContentNotFound < Exception
end
class DuplicateContent < Exception
end
end
begin
raise Collector::ContentNotFound.new
rescue
puts "catch"
end
When I run the script I don't get "catch" message I see error:
lib/collector/exception.rb:10:in `<main>': Collector::ContentNotFound (Collect... | stackexchange/codereview |
I have a div element that is 980px wide and I'd like to be able to trigger an event if the mouse is in the last 100 pixels or so of the div (I want to slide it). I already know how to slide it, but I haven't been able to make something that tells me when the mouse is either in the first 100pixels so it scrolls left or ... | stackexchange/codereview |
I'd like my remote repository to refuse any pushes that contains a file that contains a tab, but only if the file belongs in a certain class (based on the filename). Is that possible?
I have looked a bit at the update hook in githooks, and I think that is the correct one.
So in short, a push should be rejected if:
th... | stackexchange/codereview |
I am currently a asp.net guy, but have to do some jsp work now. I know that in asp.net, you can define a public static method with [WebMethod] attribute e.g.
[WebMethod]
public static string GetIt(string code)
{
return GetSomething(code);
}
then, I can call this method in jquery
$.ajax({
type: "POST",
... | stackexchange/codereview |
My ClearCase storage location has something like viewname.tmp folders, I believe they got created for my views.
I would like to know how can I delete those .tmp folders from my storage location (eg : \\server1\views\username).
If I do with delete button then "Access denied" message is coming.
| stackexchange/codereview |
There is isValidDropPoint() in TreeDropZone from which if we return false then it will not drop that node (or goto beforenodedrop event)
I want to know what function is there in GRID from which if i return false then it will not drop that node (or goto notifyDrop event)
Thanks alot in advance
Regards
| stackexchange/codereview |
I appear to be missing something here so I'm hoping someone can point at the place I should be looking.
I have a google map on my HTML page that I am manipulating to load markers and add markers on click, now I want a search box so people can search for the general area before they click to add a location.
I am readin... | stackexchange/codereview |
I am using the POCO support for entity framework v4. I would like to get the Type of the POCO class that is mapped to that entity. For example you can get ObjectStateEntry from the ObjectStateManager. That entry then has a reference to the entity. The Entity is of type object so it is useless until you cast it.
This i... | stackexchange/codereview |
I have happened upon the following pattern, and wondered if there is a name for it?
An enum defines the concrete classes:
enum Fruits{ eApple, eBanana };
And a templated struct provides the interface:
template< Fruit T >
struct SomeFruit {
void eatIt() { // assert failure };
};
We can then implement the concrete ... | stackexchange/codereview |
I would like to know how one achieves the following signature. I have read online that (al least in the past) researchers will take the "suspected" file the binary code, convert it to assembly, examine it, pick sections of code that appear to be unusual, and identifying the corresponding bytes in the machine code.
But ... | stackexchange/codereview |
I am working on an application in which I need to migrate the whole code of it from carbon to cocoa.I have experience in programming of C,C++,python and Java during my college time and internship but have never touched objective C or have done any programming for Mac(Carbon and Cocoa) before this.
So Can you please sug... | stackexchange/codereview |
I know, it is posible to create PDF's from PHP. fpdf, tcpdf, ezpdf, zend_pdf are some examples. Al those libraries does not support creating a "savable pdf".
I mean by that, a pdf with some input fields, and after entering the fields, just save the complete pdf, with the data.
Anybody idea's?
Alessandro
| stackexchange/codereview |
I have a Three documents, here is a sample with fields not shown
class College
include Mongoid::Document
references_many :students,:stored_as => :array, :inverse_of => :colleges
end
class Student
include Mongoid::Document
embedded_in :college, :inverse_of => :students
embeds_one :mark
end
class Mark
incl... | stackexchange/codereview |
I always had a question about heap memory behaviour.
Profiling my app i get the above graph. Seems all fine. But what i don't understand why,at GC time, the heap grows a litle bit, even there is enough memory (red circle).
That means for a long running app that it will run out of heap space at some time ?
| stackexchange/codereview |
How to secure a hard disk programmatically through C#?
Like if a user wants to open a hard disk and first he/she has to give a password to access it. If the password is wrong then the hard disk is hidden from that user..
| stackexchange/codereview |
If I create a new class library project in VB.NET, I can create subfolders (a la C#), add WinForm objects to these subfolders, and then specify a namespace:
Namespace Sub1.Sub2
Public Class SomeForm
Public Sub New()
InitializeComponent()
End Sub
End Class
End Namespace
This resolve... | stackexchange/codereview |
I'm developing several mavenised projects on my laptop, and periodically pushing to github. I've set up a private hudson server in the cloud that polls the git repositories for updates, and thus performs builds - so far so good.
Unfortunately, when I execute a 'mvn release:prepare' on my laptop to perform a release (sa... | stackexchange/codereview |
I am working with JPA (1.0 or 2.) + hibernate (3.4.0 or 3.6.0) and I have run into a problem with I think caching somewhere. What I do:
Find an object with my JPA class (row in the database with a particular id)
update a boolean flag on the object (tinyint field in the database)
persist the object
grab the entire ta... | stackexchange/codereview |
I am working through the HTML5 canvas tutorial on the following website:
Mozilla Developers.
In this tutorial, they say that you can use a canvas element as the backdrop of another canvas element. I have tried to do exactly that with the following html page. Unfortunately, the debugger in chrome says failed to load res... | stackexchange/codereview |
I have an asp.net dynamic data website .net 3.5 built on ado.net entity framework with mysql database.
Currently I have just one table in my entity model.
Everything is working fine on my local machine but when i uploaded on my server i got this error message:
"More than one item in the metadata collection match the id... | stackexchange/codereview |
I've been playing around with the samus mongodb driver, particularly the benchmark tests. From the output, it appears the size of the documents can have a drastic effect upon how long operations on those collections take.
Is there some documentation available that recommends what balance to strive for or some more "re... | stackexchange/codereview |
My issue involves jQuery .post and Joomla. I have a template with a form that is within one of the accordion areas (using jQuery UI accordion). I have a button type=submit in the form. The form html is generated via jQuery when a user clicks a button in the accordion area.
When a user clicks the form submit button, ... | stackexchange/codereview |
I'm testing the workings of a unicode-scrubbing routine using FitNesse, but the unicode characters I enter in the decision table don't make it through to my fixture.
The decision table looks a little like this,
|first name before|last name before |first name after|last name after |
|Władysław |Belina-Prażmowski... | stackexchange/codereview |
Ok, this one is driving me crazy.
I have a html table with about 100 rows. I want the rows to change color when you move the mouse above it.
I tried :
:hover in CSS,
onmouseover/onmouseout events in javascript
jquery .hover
jquery .mouseover/.mouseout
mouseover on the table with e.target etc
All work perfectly fast... | stackexchange/codereview |
Hi
I wrote a webForm that is used to display a ".pdf" document receiving from one other webForm the path of the file by queryString.
The all is working well but if from acrobat reader somebody try to save the file in local on openDialog is displayed the name of webForm ("PopVisPdf.pdf").
the question is:
How can displa... | stackexchange/codereview |
I want to start developing IPhone application.
I need to understand something about it - I am working with a graphic designer.
If she supplies the GUI in HTML - will it be easy for me to develop with it?
How does it work? like regular web development?
| stackexchange/codereview |
I am using org.apache.commons.dbcp.BasicDataSource and I want to monitor the UNCLOSED connections.
What properties i have to set in hibernate config file?
Thanks.
Giovanni
| stackexchange/codereview |
I need to be able to have AVCaptureVideoDataOutput and AVCaptureMovieFileOutput working at the same time. The below code works, however, the video recording does not. The didFinishRecordingToOutputFileAtURL delegate is called directly after startRecordingToOutputFileURL is called. Now if i remove AVCaptureVideoDataOutp... | stackexchange/codereview |
Let's say we have a User Model that has many Posts.
The Posts Model has many Categories
The Posts Model also has many Comments.
How do we find dynamically, the relationships that the User Model has?
The idea is to make an admin backend to a site, where I can have one function, that when passed a model, can retrieve all... | stackexchange/codereview |
I'm new to iPhone programming, and in fact, programming of any kind. For nearly a year now I've been teaching myself C, and then Objective-C, and for the past few months I've been making an iPhone game, so far of which i'm pretty proud of.
Anyways I've hit quite a stumbling block and I've been trying to figure it out f... | stackexchange/codereview |
I just found out this nice SVN option that would be very useful on our project, but yet again I'm having problems integrating it with word files, .docx to be exact.
I am using Tortoise client. If I create .txt file with $Rev$ content in it and put SVN property on it with Rev it works like a charm, in other words when I... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.