instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
select *
from other table inner join
(
select Count(*),
F1,F2,F3
from Table
group by F1,F2,F3
) on F1 = OtherF
Incorrect syntax near the keyword 'on'.
| stackexchange/codereview |
I need the following results
100.12 -> 100.00
100.44 -> 100.00
100.50 -> 101.00
100.75 -> 101.00
.round() or .setScale() ? How do I go about this?
| stackexchange/codereview |
Okay, I have reached a complete mental block on trying to get this to work and was wondering if anyone else might be able to get their head around it. I have the following structure to HTML.
<?xml version="1.0" encoding="utf-8"?>
<root>
<listing>
<name>Frank Spencer</name>
<dob>2010-09-01<... | stackexchange/codereview |
I am new to dozer framework. I want to copy some objects to a Map using dozer.
For instance Belwo is the example scenario which reflects my requirement.
public void createUser(String userId,String password,String firstname)
{
Map<String,String> userMap=new HashMap<String,String>();
userMap.put("LoginId... | stackexchange/codereview |
Given the following code, I am having trouble returning a Dictionary.
[JsonProperty]
public virtual IDictionary<Product, int> JsonProducts
{
get
{
return Products.ToDictionary<Product, int>(x => x.Key, v => v.Value);
}
}
public virtual IDictionary<Product, int> Products { get; set; }
I get the fol... | stackexchange/codereview |
I am currently working on libpcap-python, I found it does not help(I don't know how) in modifying packet data. Is there any library which can be used to create network packet?
| stackexchange/codereview |
Maybe I'm mistaken in my understanding of Big-O notation (it has been a while since I've taken a course on algorithms) but the following has never made too much sense to me:
This would be considered O(n^2):
for (int i = 0; i < num_1; i++)
{
for (int j = 0; j < num_2; j++)
{
cout << i << " " << j << end... | stackexchange/codereview |
I am doing authentication and receiving a null cookie. I want to store this cookie but sever is not returning me a cookie. But the response code is 200 ok.
httpConn.setRequestProperty(
"Authorization",
"Basic " + Base64OutputStream.encodeAsString(
login.getBytes(), 0, login.getBytes().lengt... | stackexchange/codereview |
im trying to test symfony application behaviour by BDD symfony plugin and im stucked because i realized i dont know how to reset database directly by PHP in my BDD bootstraping file :-/ .
Does anybody know how to reset it without loading fixtures? (Result has to be empty database)
| stackexchange/codereview |
In our company we use Hudson for our CI-servers. We have a separate server running for each current project (there is usually between 3 and 10 ongoing projects).
We would like to setup a monitor in a central location that shows the status for all the build servers at once.
I guess this has been done before, so is there... | stackexchange/codereview |
I have a CSV file which contains 10 columns. I want to select only some columns from that file and load them into a MySQL database using the LOAD DATA INFILE command.
| stackexchange/codereview |
I have many TextBox in a page.
I would like to know if there is a ways to check pro grammatically all input for this TextBox and
apply Server.HtmlEncode to each one.
So I do not need apply Server.HtmlEncode for every single String.
Thanks!
| stackexchange/codereview |
I have a script in a web application of mine which forces users to type only numbers into certain text fields. However, when the appropriate text field is selected, the script blocks ANY keyboard input other than number keys and tab. I don't want to limit the user from being able to use their browser's or my app's keyb... | stackexchange/codereview |
would it make any difference if i use c-style functions to search an array or cstring?
| stackexchange/codereview |
$('.rUl li').eq(0).click();
Show first item of my news rotator. But with $('.rUl li').eq(0).hover(); the first item not visible. What is the difference between click() and hover() in this issue?
How can I show first item with hover()?
Thanks in advance
| stackexchange/codereview |
Let's say I have A: /A_Project/trunk/A and B: /B_Project/trunk/B in my SVN. I want to merge A with B and store it in B. I've used the 'merge two different trees' options in my TortoiseSVN GUI. Everything is fine except the final revision does not have change-log of the A tree!
The question is: how to merge two differe... | stackexchange/codereview |
Everything was working fine earlier. I then happened to add a new xml file to my layouts. now, one of my classes is giving an error when setContentView points to (R.layout.menu). Eclipse is telling me that R.layout.menu cannot be resolved. I can't figure out why; I have a layout called menu defined in my layout folder.... | stackexchange/codereview |
I have a small set of validation classes which I have created which have served me well, however now I need to update them to handle prioritized rules. If a high priority rule is met, then I don't need to run any further validations, as we will just tell the user one single error message instead of adding the entire s... | stackexchange/codereview |
I'm writing a small Perl script that goes through an XML file via XML::Simple
my $xml = new XML::Simple;
my $detail= $xml->XMLin($xml_local);
Sometimes, the contents of an element in the XML are empty.
When there is no content in an element in the XML, and I try to print out the contents using:
print $detail->{Parsing... | stackexchange/codereview |
I'm using Unreal Commander as a free alternative for total commander(win os). I've chosen to show native icon's and context menu and for tortoise cvs everything was fine. Since I started using Tortoise SVN I don't see it's icons on files and folders, and also if I left click on them I don't see SVN in context menu(stil... | stackexchange/codereview |
How to load and call java compiled classes from within C ?
| stackexchange/codereview |
i saved a string into database
then i retrieved that data in xml format in a php file and call that xml data from another php
file. it works fine for simple text record stored in database but when i save a string like this
i replace < to < and > > then save to database
if x<y and y>z
and retrieve in php file it... | stackexchange/codereview |
As we know, Scala generates getters and setters automatically for any public field and make the actual field variable private. Why is it better than just making the field public ?
| stackexchange/codereview |
We have a user name and telephone field. User opens android keyboard and enters user name. Then in the keyboard user clicks the ‘Next’ button and it launches the telephone type keyboard.
But the same behavior is not observed in case of swift keyboard. If user chooses swift keyboard, App doesn’t bring the telephone keyb... | stackexchange/codereview |
Is there any difference between these two string storage formats?
| stackexchange/codereview |
I have the output of SQL Servers Tasks -> Generate Scripts... for all the tables in my database on one file.
Is there an easy way to break up the single SQL script into one file per table?
Obviously, if I could run the Generate Scripts task with the File per object setting selected, I wouldn't be asking this.
| stackexchange/codereview |
Can someone tell me what is the need to declare a class like this:
public class Test {
String k;
public Test(String a, String b, String c){
k = a + " " + b + " " + c; //do something
}
public void run(){
System.out.println(k);
}
public static void main(String[] args) {
String l = args[0];
String m = ar... | stackexchange/codereview |
I have an iphone app, and when there are upgrades available, I want to prompt the user to upgrade, and if they click upgrade, I want to redirect them to the apple store. How is this done?
Thanks
| stackexchange/codereview |
My program is exhibiting some odd behavior when I step through it in the debugger. In the following excerpt, it checks pktNum != ~invPktNum and then proceeds directly the the second return 1; statement.
The debugger shows that pktNum is an unsigned char that is 0x01 and invPktNum is an unsigned char that is 0xFE.
/* V... | stackexchange/codereview |
I've been bundling JRE with my app by simply copying the files from $JAVA_HOME/jre to my app's distribution. This may be against the spirit of Java, but it reduces potential problems by ensuring that my app runs on a version of JRE that it was tested on (including the bitness; I use some JNI which requires that the JRE... | stackexchange/codereview |
i have a countries, states, cities tables , and I need 3 dropdown menus
wherein, if i select a country like e.g United States, the states dropdown menu will automatically show only the states that are under United States, and next, if I select a State like e.g California, the Cities drop down menu will only show off th... | stackexchange/codereview |
My code:
<script type="text/javascript">
var req = new XMLHttpRequest();
req.open("GET","http://surfkid.redio.de/link.php");
req.send(null);
document.write(req.responseText);
</script>
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
... | stackexchange/codereview |
when doing the following i can watch the memory usage just soar in the task manager in chrome. i don't get it. if i comment out one line ($("#main_table tbody").html(string);) then all is fine in the world. any thoughts? thanks everyone. oh this is run once per second in a "setTimeout" loop thats how i am seeing t... | stackexchange/codereview |
I have a controller class that uses asynchronous calls to perform some network operations. My view hierarchy is navigation based e.g. View1 > View2 > View3.
Now lets suppose my View3 (View3Controller) uses asynchronous calls to perform some network operations, and View2Controller also implements some of the delegate me... | stackexchange/codereview |
I have this javascript code:
var listitem = $(".landkaart > ul > li"),
len = listitem.length,
index = 0;
$(".landkaart > ul > li:first").addClass('open');
setInterval( function() {
$(".landkaart > ul > li").removeClass('open')... | stackexchange/codereview |
I'm using matlab.
I have matrix like
9 4
5 7
Its inverse must be
k= [ 7 -4
-5 9]
When I use inv matrix at matlab
inv(k);
I get adouble matrix
Like (not true number)
.37 -.32
-.32 .44
How can I get the inverse from the previous matrix?
7 -4
-5 9
| stackexchange/codereview |
what is the best solution to write a oracle package for record persistence?
I've always written something like this:
create or replace
PACKAGE BODY "USP_PRICELIST" AS
PROCEDURE usp_TABLE1Save
(
pErrorCode OUT NUMBER,
pMessage OUT VARCHAR2, ... | stackexchange/codereview |
I built a small query tool for Oracle with CSV export function with an OracleDataAdapter to fill a dataset that is displayed in a DataGrid (WinForms). At first I used .NET types (DateTime, decimal, string,...) but I got overflow exceptions in some cases because of larger precision in Oracle (NUMBER(30,10)). Therefore I... | stackexchange/codereview |
A quick question about class design. I'm fairly new to Software Development and wondered how people structure their classes.
By that I mean, for example, if you have an interface and a number of small classes that inherit that interface, would you put group them all into a single source file or split them and have one... | stackexchange/codereview |
Hi *
I need to show a map by passing the address. however, in some cases, the whole app will be forced to close. it may be because of gecoding the address to coordinate. My question is what is the best way to handle the exception while calling the map? The following function is my function for getting the gecoder resul... | stackexchange/codereview |
I have an NSIS-based installer file called setup.exe. When I go into Properties->Details, many details are missing. When I run the installer, UAC requests for elevated permissions (which is ok), but the publisher is "Unknown".
How can I set these properties in the final setup.exe, preferably by only changing the NSIS i... | stackexchange/codereview |
I need some help on streaming live video from android camera to server. What is the best approach in acheiving this ? Is it possible to use MediaRecorder for streaming video over internet ?
| stackexchange/codereview |
I am working on a Winforms application that allows users to print a few different Reporting Services reports. Unfortunately, if the user tries to print to PDF using the Adobe PDF printer, it crashes. We haven't been able to solve this issue, so as a work around we want remove the ability for users to print to the Ado... | stackexchange/codereview |
Lets say I have an MVC project called Test123. When I publish it from VS in the bin folder I have all referensed non-global(?) DLLs and Test123.dll. What is the purpose of this last file? Can I safely delete it? I thought ASP.NET will compile the site on 1st access.
| stackexchange/codereview |
I have a UIViewController that implements
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
Then, I try to popup a modal on top of that view:
ModalViewControll... | stackexchange/codereview |
I have a model called Thing with an attribute called name, and I want name to be a char field that's only 3 characters long.
How do I write a test for that?
class TestCase1(TestCase):
def test1(self):
thing = Thing(name='1234')
that test should fail. How do I properly write the test so that the test passes... | stackexchange/codereview |
Im in a big trouble, can any one help me please..?
My problem is I want to return my flashplayer into first frame after playing the external video.
The following script is used for my flash player,
function checkTime(flv)
{
var _loc2 = flv.playheadTime;
var _loc3 = Math.floor(_loc2 / 60);
var _loc1 = Math.f... | stackexchange/codereview |
I have an aspx page that postsback when it should not. there are two text boxes, two listboxes and two buttons on the page. if at any-point the enter key is pressed the first button is given focus and "clicked" resulting in a loss of selection within the listboxes.
How do I disable this? There are tons of tutorials on ... | stackexchange/codereview |
//ClassA.h
Class ClassA
{
private:
UtilityClass utilityCls; // this is the instance that I need to access
virtual void Read();
static bool IsValid(char c);
}
//ClassA.cpp
void ClassA::Read()
{
....
string str = "abcdefg"; // sample only
if(find_if(str.begin(), str.end(), IsValid) == str.... | stackexchange/codereview |
I need to implement this scenario in C#:
The matrix will be very large, maybe 10000x10000 or larger. I will use this for distance matrix in hierarchical clustering algorithm. In every iteration of the algorithm the matrix should be updated (joining 2 rows into 1 and 2 columns into 1). If I use simple double[,] or doub... | stackexchange/codereview |
Can I use the JDBC adapter that is used by JBoss Application Server (preferably version 4.2.3)
outside of the application server?
Background: I have a problem that occurs sometimes on the application server and the stacktrace starts in org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection and I want have it cov... | stackexchange/codereview |
I am writing a small desktop application and was wondering what the security concerns would be when connecting to a hosted database that is currently used for a website. Specifically, I would like to know if SQL Server connections are encrypted and if it is safe to connect to a hosted (by a web hosting company) databas... | stackexchange/codereview |
Hello I'm trying to display the latest tweet using the code below. This preg_replace works great for wrapping a link round twitter @usernames but doesn't work for web addresses in tweets. How do I get this code to wrap links around urls in tweets.
<?php
/** Script to pull in the latest tweet */
... | stackexchange/codereview |
If one want to use the google map api and its map data,he should register for a key for his website.
Now we want to open our own map api for other,so we require user who use our map api and map data register first.
However we have no idea how to validate.
FOr example, I have obtain a key of google map api,when I call t... | stackexchange/codereview |
I am reading the Facebook API and I am google'ing for a method or function to be able to set an image as profile picture.
I need to know if something like this is possible at all.
In the old REST Api you find a note, that it isn't possible to upload a picture into the users profile pic album. But.. is this step requir... | stackexchange/codereview |
I'm using the svcutil tool to generate a set of proxies for a 3rd party wdsl. One of the types, defined in an associated XSD file uses the xs:any element:
<xs:any namespace="##any" processContents="lax"/>
The code produced uses a property of type XmlElement to represent this:
[System.Xml.Serialization.XmlAnyElementAtt... | stackexchange/codereview |
I'm new to WPF and have a View Model with a DateTime property. I already implemented INotifyPropertyChanged and auto-update my view with properties contained in the view model. I want to wire the DateTime property to a simple animation. How would I trigger an animation when the DateTime value changes?
| stackexchange/codereview |
As my title says, I want to know if I there's a way to allow a user to use not only his username, but also his user's email to login. I want to standardize the login procedure because at the moment I'm having my users use many different conventions and it gets pretty messy.
| stackexchange/codereview |
I'm working with the Datanucleus tutorial application for JDO, specifically this one.
Regardless which "inheritance strategy" I try the table layout is the same. I would like two tables, one for PRODUCT and one for BOOK, but using the configuration below I only get the PRODUCT table with columns for both class Product ... | stackexchange/codereview |
I need to automate the click events defined below on a timer. Say every 5-6 seconds or so. So the page starts out on 'longevity' and a user click is simulated using javascript on a loop. The loop should stop running once a user has manually clicked on a tab as well. Any ideas ?
<script type="text/javascript">
$(... | stackexchange/codereview |
I have an Excel file that downloads automatically, but for some reason the binary XLS file contains some garbage HTML text at the end of it.
When opening the file in the Excel application, it shows a warning but proceeding will automatically remove the garbage HTML text.
However, I need to open the file programmatical... | stackexchange/codereview |
I need to avoid the additional cost of copying and destructing the object contained by a std::vector caused by this answer.
Right now I'm using it as a std::vector of pointers, but I can't call std::vector::clear() without deleting each object before nor I can use std::auto_ptr with std containers.
I wanted to do somet... | stackexchange/codereview |
I encode the image for use video capturer and encode it in h264 by ffmpeg and sent to my client pc .
my client pc decode it and display it . It can be decoded and display well.
But I save these compressed image in a file . and it can be decoded by vlc or quicktime. But It can be decoded by ffplay
I think because i d... | stackexchange/codereview |
I have a base library to maintain in multiple versions. I do a SVN switch whenever I need to work on another version.
I don't have multiple versions of my test application solution, so I thought that for different versions I could do multiple solution / project configurations that define symbols for the version to be a... | stackexchange/codereview |
I successfully manage to implement an iPhone push notification server (PHP) last year; I had to change the server, and was thinking that moving files was sufficient... I was wrong, since the modification notifications are not sent anymore. There's no error, everything seems ok, but notification aren't received.
Below i... | stackexchange/codereview |
After reading the responses to a question about singletons in Objective C it appears that each solution makes some tradeoff in regards to threading in the instance accessor. i.e.
@synchronized(self)
{
if (sharedInstance == nil)
sharedInstance = [[MySingleton alloc] init];
}
return sharedInstance;
This... | stackexchange/codereview |
I have an AVMutableComposition with a video track and I would like to add a still image into the video track, to be displayed for some given time. The still image is simply a PNG. I can load the image as an asset, but that’s about it, because the resulting asset does not have any tracks and therefore cannot be simply i... | stackexchange/codereview |
I have a ASP.NET website which uses forms authentication. The timeout is twenty minutes.
I have noticed that if a user half completes a form, and is then timed out, they are redirected to the login page, fill it in, and are redirected back to the form but with EMPTY controls.
I had prevously assumed that ASP.NET would ... | stackexchange/codereview |
I have written my own DBX 4 in Delphi 2010 for Firebird database. The driver is a dynalink driver and it works fine with TSQLConnection.
Recently, I try to use the DataExplorer.exe released with Delphi 2010 and encounter error:
"Attempted to read or write protected memory.
This is often an indication that other memory... | stackexchange/codereview |
Does anyone of an algorithm that extracts contents from a webpage? like instapaper?
| stackexchange/codereview |
I am trying to convert this scriptlet code to JSF class.
The view code
<f:view>
<h:form binding="#{jsfSocketClient.form}">
<h:outputText binding="#{jsfSocketClient.text}"/>
</h:form>
</f:view>
and the java code
private HtmlForm form = new HtmlForm();
private HtmlOutputText text = new HtmlOutputText();
public Htm... | stackexchange/codereview |
I'm not able to open the file when I click on the link on page in MVC. I get the following message. I've added the impersonation in the code. I'm able to delete and save the file.
Access to the path '\servername\folder1\folder2\folder3\foder4\filename.pdf' is denied.
Description: An unhandled exception occurred during... | stackexchange/codereview |
I have to write a program which has a predicate p(A,B,C,D,E,F). A,B,C,D,E,F are lists.
A contains D, E and F. (Something like A and B is D, A and C is E) F contains A without D and E.
And also elements in list F are in pairs (example if A contains [a,b,c] then F would contain [a,a,b,b,c,c].)
So.. I can't get where to s... | stackexchange/codereview |
So, this might be a heretical question, but I'm looking for an Emacs mode that handles syntax highlighting of .vimrc files. This particular question has proved pretty hard to Google for the obvious reasons, but it seems extremely likely to me that someone would have written such a mode in the 20+ years of open warfare ... | stackexchange/codereview |
I discovered Clamato the other day and want to play a bit with it. I don't seem to find how one can declare and use class variables in Clamato. The docs only mention instance variables.
Here's the link to http://clamato.net/ if you didn't already know it.
Here's the source: http://bitbucket.org/avibryant/clamato/src
| stackexchange/codereview |
I have a frustrating problem when I want to use the pipe(|) feature with the Window's CMD shell's CALL :Label option. I have a very small example (below): call-test.cmd and sample output.
The nub of the issue was/is to pipe the output of a CMD script to another program, for example the tee utility, or find command. F... | stackexchange/codereview |
I'm trying to convert the very useful LabeledMarker class to Google Maps API V3.
I used it in my V2 map... but I want something similar in my V3 map.
I read Mike's article about extending GMarker.
I'm trying to do the same with google.maps.Marker, but I'm running into some problems.
Here's my very simple code:
functio... | stackexchange/codereview |
I'm looking into using Table Storage for storing some transactional data, however, I need to support some very high level reporting over it, basically totals per day / month.
Couple of options I have though of:
Use a partition / row key structure and dynamically perform sum
e.g. 20101101_ITEMID_XXXXXXXX (x = guid or t... | stackexchange/codereview |
I'm converting Makefile to Rakefile for small C++ project. I have src dir with *.h and *.cpp files and obj dir where all *.o goes (I don't want them in src). How to do it with Rake rules?
This works fine but I want to have a generic rule.
rule("#{OBJ_DIR}hello.o" => "#{SRC_DIR}hello.cpp") do |target|
This returns "Don... | stackexchange/codereview |
In a tb with 1 mil. rows if I do (after I restart the computer - so nothing it's cached):
1. SELECT price,city,state FROM tb1 WHERE zipId=13458;
the result is 23rows in 0.270s
after I run 'LOAD INDEX INTO CACHE tb1' (key_buffer_size=128M and total index size for tb is 82M):
2. SELECT price,city,state FROM tb1 WHERE z... | stackexchange/codereview |
how to make dynamically edittext field for accepting only double and float values?
| stackexchange/codereview |
Usually, I will just use Environment.Exit(code) to exit an application. (Usually through a button click.) But I would like to know is it the proper way to exit, ie, releasing memory etc etc...
| stackexchange/codereview |
I am having this problem with webpart in our Sharepoint 2010 site. There are tabs with links like this one:
<a id="ctl00_m_g_d9ca320c_03e7_455c_9233_3c23891113ed" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_d9ca320c_03e7_455c_9233_3c23891113ed$Itella", "", true, "", "", false, ... | stackexchange/codereview |
I dont know why on earth jquery html() is doing this, but after i do
$('html').html()
i get "©" automatically converted to ©
anyway to avoid this? I need to dump the html of the page using javascript and dont need this useless conversions that are screwing up the html.
| stackexchange/codereview |
BOOST_FOREACH invalidates a weak_ptr that resides as a member in the class GroupMember, please help me understand why.
The code below explains the error:
class GroupMember
{
bool logInState;
boost::weak_ptr<CUser> wpUser;
};
GroupMember::iterator it;
BOOST_FOREACH(EachLevel aLevel, levels)
{
if(aLevel.exist(spU... | stackexchange/codereview |
I am running itno a jquery/coldfusion problem, demonstrated by the following files:
cflayout.cfm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<cflayout name="tabtest" type="tab">
<c... | stackexchange/codereview |
Got a SOLR query question here, how do I construct my query to suit the following condition:
(value of field 1 is same as field 2) OR (field 1 is empty)
Cheers
James
| stackexchange/codereview |
It is easy to do an Exact Binomial Test on two values but what happens if one wants to do the test on a whole bunch of number of successes and number of trials. I created a dataframe of test sensitivities, potential number of enrollees in a study and then for each row I calculate how may successes that would be. Here i... | stackexchange/codereview |
I tried to write a little function to reset the form to default. Therefore, I want to access the Controls of the page. I'm using a MasterPage. Maybe because of that, I have no access to the ContolsCollection via Page.Controls.
Any solutions for that?
| stackexchange/codereview |
I am parsing some Openxml word documents using the .Net OpenXml SDK 2.0. I need to replace certain sentences with other sentences as part of the processing. While iterating over the paragraphs, I know when I've found something I need to replace, but I am stumped as to how I can replace it.
For example, lets say I need... | stackexchange/codereview |
Problem summary:
Using the same DataContext to both insert and update a User with a relation to a number of Roles, the relations are not correctly updated in my LinqToSql classes (but fine in the database). Using one DataContexts to insert and another to update works fine.
Detailed description:
I have a User table and... | stackexchange/codereview |
I have 2 different ostreams, one of them cerr, using the same streambuffer, I have some libraries in that might have modified cerr somehow,(flags? format modifiers?).
cerr.rdbuf(&mystreambuffer);
ostream teststream(&mystreambuffer);
cerr << "This " << " is " << " a " << " test";
teststream << "This " << " is " << " a ... | stackexchange/codereview |
Hi I have write a code that can copy database table from one sever to another but the record of each table did not copy how to write a function that can copy tables and each record from one db server to another?
here's my sample code:
<?php
$dbNewDB = 'newdb';
$dbNewUser = 'newroot';
$dbNewUserPswd = 'newpass';
$dbCon... | stackexchange/codereview |
I want to create a tilelist in which there would be different canvas or vbox etc, and i want to make them drag able.
I wrote a code to do this, but the output does not shows anything in a list.
<mx:TileList width="1500" height="1000" dragMoveEnabled="true"
selectable="true" selectionColor="#FFFFFF"
... | stackexchange/codereview |
I am required to publish a JSP/Java servlets webapp. Unfortunately IIS does not support such deployments. The server I need to deploy it on already runs IIS and several IIS applications. I don't want to interfere with those applications but it is necessary for them and the new webapp to run on the same server. I tried ... | stackexchange/codereview |
Aside from actually attempting to send an email with mail() and checking the returned value for a failed result, is it possible to 'feature detect' whether mail() will work?
If it is not possible, what would be common tell-tale signs that it is likely to fail?
Some scenarios:
Giving site administrators warning about e... | stackexchange/codereview |
I am working on a multi-module Maven project, whose structure is like this:
war-module
jar-module
The war-module depends on the jar-module, and will add the jar artifact into the webapp's lib directory after packaging.
And both the war-module and jar-module use Apache log4j for logging, and share the same log4j config... | stackexchange/codereview |
Android devices become incredible cheap (especially those with android v1.6). I'm considering to use one as a brain of autonomous robot. Unfortunately I didn't find any info on that.
I would like to connect two external USB-webcams and some DIY-selfmade USB ADC & output-ports converter to steer the wheels and read ana... | stackexchange/codereview |
I am trying to convert an array to an linked list.
so basically, im gonna have a structure called "head" which will be the first element
and node, which will be the other elements.
any ideas so i can it started?
| stackexchange/codereview |
Classic ASP creates cookies with name something like ASPSESSIONIDSSDSQQCR where suffix after "ASPSESSIONID" is different.
If you work for some time with application browser keeps storing all previous session cookies (could be 10 cookies or more), so there is no way to understand which cookie is for the current sessio... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.