instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have some ajax calls in my document.ready()
like :
for (j=1; j <= 7; j++){
(function(index) {
$.getJSON('my.php', {id:index},
function(data) {
$.each(data, function(index2, array){
........
});
});
})(j)
}
//DO NOT CONTINUE UNTIL FINISH AJAX CALLS
........
MO... | stackexchange/codereview |
I'm developing simple image sharing site to train my ruby-on-rails-fu. I have following resources in my config/routes.rb file.
resources :users do
resources :images
end
resources :images
Here's the problem I'm facing - how should I go about implementing functionality like "latest images" and "your image subscriptio... | stackexchange/codereview |
package pkg_2;
import java.util.*;
class shape{}
class Rect extends shape{}
class circle extends shape{}
class ShadeRect extends Rect{}
public class OnTheRun {
public static void main(String[] args) throws Throwable {
ShadeRect sr = new ShadeRect();
List<? extends shape> list = new LinkedList... | stackexchange/codereview |
I am probably missing soemthing very simple, but the following is a comment posted on in my rails app and if the content is too long..then it doesnot wrap automatically withing the paragraph and overflows onto the page.
The content of the paragraph is generated by Redcloth, though this particular paragraph does not con... | stackexchange/codereview |
I've got the Android SDK downloaded, got a AVD booted and running, but haven't been able to find the Marketplace application. Do the images available through the SDK utility not include a marketplace app? If not, is there somewhere I can get it?
| stackexchange/codereview |
what kind of usage? i don't know it's custom name. what can i write on google to search below kind of codes...
service.TraceFlags = TraceFlags.EwsRequest | TraceFlags.EwsResponse;
| stackexchange/codereview |
I have been working for iphone for about like 1 month and i want to know that is their any method by which we can set the orientation of the components, like when the device is turned in landscape left or right or in portrait mode then the components must set their view accordingly.
Please help me out regarding this
Th... | stackexchange/codereview |
I have written some code which sends queries to google and returns the query results. Apparently the contents which are retrieved are in unicode format, so when I put them in a list for example and print this list (the whole list together and not member by member) an annoying extra 'u' is always behind all of the membe... | stackexchange/codereview |
In this question, draggables are created on the fly, when the mouse enters the element to drag.
I'd like to do the same kind of thing, but with droppables : decides whether to make the element droppable only when the dragged element arrives over it. I'm sure it's possible but after a bit of research, I couldn't make it... | stackexchange/codereview |
I am wondering how I can make the orientation of the screen permanent, even when the phone has a slide-out keyboard. This is the code I have:
<activity android:name=".AppName" android:label="@string/app_name"
android:screenOrientation="portrait">
Thanks.
| stackexchange/codereview |
I have a function that takes in a pointer to a series of char.
I wish to copy 256 chars from that point, and place them in a string.
msg is not null-terminated.
The below code seems to give me some problem.
Is there a correct way to do this?
Init( msg: PCHAR)
var
myStr: String;
begin
for i:= 1 to 256 do
begin
mySt... | stackexchange/codereview |
I'm using Asp.net to create a csv file that the user can open directly in excel. I want to make it possible to show the download popup and for the user to choose "Open with Excel" and that will open the file in excel.
The code to create the csv:
Response.Clear();
Response.AddHeader("content-disposition", string.Format... | stackexchange/codereview |
I'm making an http request. I'm on a platform (android) where network operations often fail because the network connection might not be immediately available. Therefore I'd like to try the same connection N times before completely failing. Was thinking of something like this:
DefaultHttpClient mHttp = ...;
public Http... | stackexchange/codereview |
In my very simple app (based on the default Hello World app but with a button added) I try to open one of my phone's (a SE X10 Mini) preinstalled activities, like this:
Intent calendarIntent = new Intent();
calendarIntent.setClassName("com.sonyericsson.calendar","com.sonyericsson.calendar.dayview.DayActivity");
startAc... | stackexchange/codereview |
I am using Access 2003 and I have a form that collects some filtering criteria for the report. Once the criteria is entered the user clicks and "OK" button and the report is launched using the following VBA.
DoCmd.OpenReport "ReportName", acViewPreview
After the report is opened I issue the following command to close ... | stackexchange/codereview |
I wrote this method to find the minor of a sparse matrix:
SpMatrixVec SparseMatrix::minor(SpMatrixVec matrix, int col) const{
SpMatrixVec::iterator it = matrix.begin();
int currRow = it->getRow();
int currCol = col;
while(it != matrix.end()) {
if(it->getRow() == currRow || it->getCol() == c... | stackexchange/codereview |
I searched around on Google for this, but the only things I came up with were outdated and did not work.
Does anyone have any information on how to get joystick data using C# .NET?
| stackexchange/codereview |
Starting from Android 2.2, the FileNotFoundException contains additional information about problem:
java.io.FileNotFoundException: /foo/bar (No such file or directory)
The error message format is:
java.io.FileNotFoundException: path (reason)
I have seen such reasons:
Invalid argument
No space left on device
No such ... | stackexchange/codereview |
I have a C# client which once every hour needs to post some zip files to ASP.Net site. This needs to be completely automated with no user interaction.
Wondering the best way to go about it.
Ideally would like to post the file without setting up any non .aspx / .asp pages.
Thanks for the help!
| stackexchange/codereview |
I have a Flash document viewer embedded in my page, where the user can view the preview version of the document, and then purchase the full version if they like. Is it possible to have a hyperlink in the document itself "BUY NOW" which would command the browser to do something on the current page without having to ref... | stackexchange/codereview |
If I do this in a subclass of UIView:
[self performSelector:@selector(doSomething) withObject:nil afterDelay:5];
Then cancel it like this (I've tried both versions):
[[NSRunLoop currentRunLoop] cancelPerformSelectorsWithTarget:self];
//[[NSRunLoop mainRunLoop] cancelPerformSelectorsWithTarget:self];
The "doSomethin... | stackexchange/codereview |
I'm new to Objective C.
I've installed jEdit on windows 7 and the gcc compiler too.
I need to know how to use jEdit to develop Objective C applications on windows
Thank you.
| stackexchange/codereview |
My C# application receives image files from KOFAX VRS TWAIN driver in TWSX_FILE mode, but neither my own .NET based application nor Windows default image viewer can open these files. However, Adobe Photoshop can open them without any problem.
I tried FreeImage library and although it detects their dimensions correctly ... | stackexchange/codereview |
there's a label control on the master page..if its value is "Value1" ,I want this CSS Sprite to display on my webform..if the Value is "Value2"..the CSS sprite should use some different image..just the image needs to be changed ..nothing else in that Sprite..
I found out that I can use "FindControl" method to find out ... | stackexchange/codereview |
I see "IoC" and "DI" mentioned pretty much everywhere for ASP.NET MVC. While I'm well aware of ... 'kind of' what these are, it's one of those almost ambiguous, amorphous floating concepts that seems to have either passed me by, or I'm just not looking in the right place. With the upcoming release of ASP.NET MVC 3.0, I... | stackexchange/codereview |
We're using ADO.NET with parameterized queries with SQL Server using the DBCommand object, so the parameter symbol is @, and things have been working fine. However we now have a query where @ is part of the hard coded data. By default ADO.NET thinks it IS a parameter and the whole thing goes pear shaped.
Is there a w... | stackexchange/codereview |
I would like to know whether is it possible to use my HTC wildfire (some links would be nice) for android development instead of the emulator.
I have tried to find the information by Google, but so far no useful results.
If I get more information, I'll update here.
[When I used wildfire with eclipse, I got this.]
Than... | stackexchange/codereview |
Our client follows SOA principles and have design web services that are very fine grained like createCustomer, deleteCustomer, etc.
I am not sure if fine grained services are desirable as they create transactional related issues. for e.g. if a business requirement is every Customer must have a Address when it's create... | stackexchange/codereview |
I am trying to create a custom view and load it into a window.
In the end, I know there will be a few steps to follow, reflecting the key relationships that I am missing. I am hoping someone can explain, in a series of steps, how one creates a view object, view controller, associated .xib, and then loads it into a win... | stackexchange/codereview |
I am working on a project that requires me to POST some data to a url that requires a username and password for access. How do I build the URL so that it automatically logs into the system?
$.ajax({
url: "https://xxxxxxx",
type: "POST",
data: "___PUT_BODY___="+file+"&file="+time,
})
| stackexchange/codereview |
The purpose of the function is to take a string and, if it contains parens, delete everything in the parens. Here's what I have:
CREATE FUNCTION clearmethodparams(IN qname text) RETURNS text AS
$BODY$
IF position($o$($o$ in qname) = 0 THEN
return qname;
ELSE
return substring(qname from 0 for posi... | stackexchange/codereview |
I have models that extend Doctrine_Record, and are directly mapped to one specific record from the database (that is, one record with given a given id, hardcoded statically in the class).
Now, I want the specific record class to initialize itself as if Doctrine_Query would. So, this would be the normal procedure:
$quer... | stackexchange/codereview |
I have a text, in which only <b> and </b> has been used.for example<b>abcd efg-123</b> . Can can I extract the string between these tags? also I need to extract 3 words before and after this chunk of <b>abcd efg-123</b> string.
How can I do that? what would be the suitable regular expression for this?
| stackexchange/codereview |
i has a int:
int f=1234;//or f=23 f=456 ...
i want to get:
float result=0.1234; // or 0.23 0.456 ...
dont useing:
float result = parseFloat ("0."+f);
what's best way to do?
thanks
| stackexchange/codereview |
So, I have a template string with X amount of tokens in it. Hypothetically it could look like this:
template = "render=@layer0@-@layer1@-@layer2@-@layer3@-@layer4@"
The tokens, obviously, take the form of @tokenname@. In this hypothetical case it has five tokens. Each token has a different set of possible values. For ... | stackexchange/codereview |
I just reviewed some really terrible code - code that sends messages on a serial port by creating a new thread to package and assemble the message in a new thread for every single message sent. Yes, for every message a pthread is created, bits are properly set up, then the thread terminates. I haven't a clue why anyone... | stackexchange/codereview |
I'm about to implement this function to calculate some numbers.
CREATE FUNCTION [dbo].[funLookupFTE] (@PFID int) RETURNS
VARCHAR(20) AS BEGIN
DECLARE @NumberOfFTE AS VARCHAR(20)
SET @NumberOfFTE = (SELECT SUM(CASE WHEN Hours <= 20 THEN 0.5 WHEN Hours > 20 THEN 1 END) AS FTECount
FROM tbl... | stackexchange/codereview |
The following statement doesn't work:
dist_include_DATA = someheaders.h
which cause error:
Makefile.am:8: `includedir' is not a legitimate directory for `DATA'
Using:
GNU Autoconf 2.65
GNU Automake 1.11.1
GNU Make 3.81
| stackexchange/codereview |
Is there a way in JavaScript to call a function without parentheses?
For example in jQuery:
$('#wrap').text("asdf"); will work and so will $.ajax(ajaxOptions);
I'm mapping a function (class) to window.$ that has a set of functions I want to be able to call with or without parentheses. Like jQuery.
Here's a code example... | stackexchange/codereview |
In MainPage.xaml.cs (Silverlight Application) I can do something like this:
StackPanel myStackPanel = new StackPanel();
Button myButton = new Button();
myButton.Content = "Button";
myButton.Width = 200;
myButton.Height = 30;
Button myButton1 = new Button();
myButton1.Content = "Button 1";
myButton1.Width = 200;
myBut... | stackexchange/codereview |
When this code finishes, what is the result of myObject?
object myObject = "something";
object yourObject = null;
myObject = null ?? yourObject;
| stackexchange/codereview |
Not sure how to use javascript or jquery to make my divs populate with accordian style headings and content.
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script... | stackexchange/codereview |
I am working with several Spring MVC web applications and I use the getter/setter dependency injection and configure all my beans in my app-servlet.xml file.
I believe that I am following convention with most of the properties and beans that I am injecting into my controller beans such as my DAO's and other beans that ... | stackexchange/codereview |
How can I create a scrollable text area which is disabled? By this I mean, I would like the user to be able to scroll to see the contents of the text area but not be able to edit it.
| stackexchange/codereview |
I'm a Ruby developer (bioinformatics analysis, haven't done Ruby on Rails for a couple of years), and in my spare time I've been given responsibility for a very simple Perl-based website.
Although there are plenty of resources that teach Perl, I'm hoping for something aimed at Ruby programmers, so that I can take advan... | stackexchange/codereview |
i was able to send an MMS using DK's code sample from here and here. I'd like to put an image into the MMSPart class. I think the mimetype will be "image/jpeg" (correct me if I'm totally worng on that), but how to I put an image into the Data parameter - do I need to read the image into a fileInputStream or bitmapfacto... | stackexchange/codereview |
Can someone tell me whats wrong with the nhibernate config below? Using the latest ODP.NET version.
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory>
<property name="connection.driver_class">NHibernate.Driver.OracleDataClientDriver</property>
<property name="connection.con... | stackexchange/codereview |
Hey some im writing a bootloader using nasm a virtual machine ect. Anyhow, im using vram to display background and font color changes triggered by keys s, d, f, g. S switches the color of the font with the background color. I know how this can be done but i do not know the proper way. vram is setup as so 2 bytes the f... | stackexchange/codereview |
Is there an existing program that helps forming a JSON Schema?
| stackexchange/codereview |
I am setting up a server and decided to install the latest Ruby from source. I downloaded ruby-1.9.2-p0.tar.gz and installed that with no problems.
Next up, was installing Rubygems. Using the 1.3.7 I downloaded from Rubyforge I ran setup.rb and got the error:
./setup.rb: 13: Syntax error: "(" unexpected (expecting "th... | stackexchange/codereview |
Updated 10/21: Changed title and question in order to possibly get an answer (other than "no").
We're experiencing leaks in Safari (confirmed in Windows and Mac, suspected in iOS). Are there any Safari extensions that lets one profile JavaScript/DOM memory usage to discover potential leaks? Better yet, is there any t... | stackexchange/codereview |
In order to duplicate an array in JavaScript: Which of the following is faster to use?
Slice method
var dup_array = original_array.slice();
For loop
for(var i = 0, len = original_array.length; i < len; ++i)
dup_array[i] = original_array[i];
I know both ways do only a shallow copy: if original_array contains refer... | stackexchange/codereview |
I wonder how to store xml data from one variable in another.
This works ($oldvariable contains xml data):
<xsl:variable name="newvariable" select="$oldvariable"/>
But this does not work (probably because of some obvious reason for an experienced XSLT-coder):
<xsl:variable name="newvariable">
<xsl:copy-of select="$ol... | stackexchange/codereview |
If I open a window via
mywin = window.open(...);
Is there a way I can be notified when mywin has loaded? I mean the opener be notified?
| stackexchange/codereview |
How to model something if the desired information is the same as an already existing record e.g. Address (Street, Country, Province, Zip)
We need to capture an User who has a permanent address and an address for correspondence (i.e. 2 rows per user). There is a provision to say that the "address for correspondence" is ... | stackexchange/codereview |
I am looking for an algorithm that will allow me to visually separate any two to four vehicles within a large list of vehicles that are close enough together on a map such that they obscure one another. I need to filter out instances where there are more than four vehicles as the vehicles will congregate in certain ar... | stackexchange/codereview |
I'm struggling to parse the output of the time command in bash - and even to stop it from printing out its output when I call it. This is my test code:
#!/bin/bash
TIME=`time ls -lh > /dev/null`
echo "Testing..."
echo $TIME
This currently prints out:
{blank-line}
real 0m0.064s
user 0m0.002s
sys 0m0.005s
Test... | stackexchange/codereview |
I have two projects, my main android application and another test project that runs on top of that android application.
I have placed a text file in my android test project, This file contains information xml content. The xml content is what my android application will receive when I hit my server.
I am using the Test... | stackexchange/codereview |
I have a UserControl containing interactive elements within a grid. The user can move and resize these elements, often causing them to fall outside the bounds of my control. When elements do fall outside, I don't want them to clip. I want them to be visible no matter what. Unfortunately, setting ClipToBounds to FAL... | stackexchange/codereview |
select col1 from tablename
returns 2 rows, I want to concat these two data rows into a single column separated by a comma.
| stackexchange/codereview |
New to Android development and have decided to use NetBeans 6.9.1 as my IDE. So far the process has been somewhat painful, but I'm getting things rolling. However, I am creating an ImageView subclass for my first custom View and I can't figure out how to add my Box.png file to the project. Drag and Drop doesn't work... | stackexchange/codereview |
I am new at this. I am trying to populate a datagrid from a table source. My code is attempting to do two things.
First it populates a dataGrid with columns from a table. Then it adds a column called "SELECT" at the end of the grid. This select is CheckBox. However, when I execute this code, it adds the "SELECT" column... | stackexchange/codereview |
How does one apply rich text to Flash at runtime? Specifically, I need to dynamically create bullet-points and paragraphs with line breaks.
| stackexchange/codereview |
ANY advice would be apprecated. I'm stumped...
Problem
On my laptop, anytime our application tries to load the application-config.xml, I get a java.lang.reflect.MalformedParameterizedTypeException.
The EXACT same code works on my desktop and my coworker's desktop/laptop. But on my laptop it throws this error. Since m... | stackexchange/codereview |
I have a File class defined as following
public class File
{
public string FileName {set;get;}
public List<Property> PropertyList;
}
Here is how Property class looks like:
public class Property
{
public string PropertyName { set; get;};
public string PropertyValue { set; get;};
...
}
I need to bind a List<File> ... | stackexchange/codereview |
I just want to know how can a hacker setup a reverse proxy in front of website (say www.xyz.com) to steal user information. A simple example will be more than enough. If user types www.xyz.com in web browser then is it possible that the request goes through the reverse proxy set up by a hacker or it will be like phishi... | stackexchange/codereview |
I've been assigned to do some work on a huge Java project, and the influence of several iterations of developers is obvious. There is no standard coding style, formatting, naming conventions or class structure. It's a good day when I come across a class with Javadoc, and unit testing is a happy daydream.
So far those... | stackexchange/codereview |
My rating system allows anonymous users to add ratings, but Google's crawler is rating things.
How can I ensure that Googlebot won't follow the link?
| stackexchange/codereview |
How is is that it is possible for us to delete dynamically allocated arrays, but we can't find out how many elements they have? Can't we just divide the size of the memory location by the size of each object?
| stackexchange/codereview |
I have form with 4 buttons and Image. For all these controls i have added tool tip by using the following code
ToolTip objToolTip=null;
.....
public Form1()
{
objToolTip=new ToolTip();
}
.....
//Used to set the button lables based on Data from database
private void SetButtonlabels()... | stackexchange/codereview |
Basically I have two problems:
My newly coded module is not showing into module list , so I am unable to install.
I want to debug my module before installation , is there any way through i can do that
| stackexchange/codereview |
I'm quering the table MsysObjects for making a list of the objects in my database:
SELECT MsysObjects.Name, MsysObjects.Type
FROM MsysObjects
WHERE (((Left$([Name],1))<>'~') AND ((Left$([Name],4))<>'Msys'))
ORDER BY MsysObjects.Name;
I know the meaning of this values:
-32768 = Form
-32766 = Macro
-32764 = Report
-3276... | stackexchange/codereview |
So far my research telling me that there is no free library for voice recognize.
Is this still a case, (because all post I found is old few years).
Is there sample app, or anything that I can start with If I want to make my WinMobile C# app be able
to recognize Voice from input.
| stackexchange/codereview |
I believe it is possible to execute a java script function within PHP, but will it then remain server side as opposed to client side? Can I, within PHP, call a .js function, passing it some args, and have it return to the PHP that called it?
A script I want to use returns XML, and I want to get the user inputs using P... | stackexchange/codereview |
I am currently using nested masterpages in my latest asp.net 4.0 project and i want to change the look and feel dynamically, so the homepage may just be 1 column wide, about us page may be 2 columns etc.
I am dynamically loading the masterpage dependant on the record selected in the DB (1column.master, 2column.master) ... | stackexchange/codereview |
I want to navigate QTableWidget in a similar way to MS Excel.
For example, when the user presses the right arrow key while editing a cell, the editing will finish and the next cell to the right will be selected. I have searched the Qt docs, but can't seem to find out how.
| stackexchange/codereview |
I have a collection of keys in this massive flat single array I would like to basically expand that array into a multidimensional one organized by keys - here is an example:
Input:
[
'invoice/products/data/item1',
'invoice/products/data/item2',
'invoice/products/data/item2',
]
Desired result:
[
'invoic... | stackexchange/codereview |
I need to write an event listener which will execute my custom C# code while uploading a document in the list. For example, When I upload a pdf document ( which is having some editable text fields ) in a list , my c# code will write some information to the pdf and it will get attached to the list.
Can someone guide me... | stackexchange/codereview |
Is there any quick-to-grasp article about the concepts such as "Windows Session", "token", "Windows identity", "impersonation", "default computer account", etc.
I want to know how different types of applications run on windows in different sessions with different identities. (Hope I make myself clear.)
Many thanks...
| stackexchange/codereview |
I use original method XML data can show in rootviewcontroller TableView. When i use New Procedure it show the table only no data. How can i show the data in New Method?
Original Method
appDelegate.m (setup XML & load the data)
rootviewController.m (use nsarray & load the data into table view)
New Method
appDelegate... | stackexchange/codereview |
Has anyone successfully added a Content-Length header to regular ColdFusion (I'm using CF9) pages? I'm setting up a new server behind a Cisco load balancer with compression - the box refuses to compress anything without this header, but CF doesn't pass it by default.
<cfheader name="Content-Length" value="something"> w... | stackexchange/codereview |
as the tilte is possible autoimport or there is an option in xcode that allow to import all callbacks of a delegate(as MKMapviewdelegate or other)?
I use this option in Eclipse (Java) to import getters/setters methods to access class variables.
Thanks in advance.
| stackexchange/codereview |
Where is the Apache module installed for Phusion Passenger? I want to adjust some of the config values found in "Configuring Phusion Passenger".
I don't know where this config file is. I've installed everything like the documentation says for Nginx.
| stackexchange/codereview |
I want my Formview to start in Insert mode and then change to Edit mode when a user selects a row from the Gridview in the same page.
The Formview has the inline attribute: DefaultMode="Insert"
How can this be done and why isn't this working?
protected void GridView1_SelectedIndexChanged(object sender, System.EventArg... | stackexchange/codereview |
I am working on creating a simple HTTP server as part of a Java server. One component of this Java server is to capture images live from a webcam. Currently I am writing the images out to disk, and serving them through Apache.
What I want to do in the end though is write the JPEG to memory in a List of JPEG objects... | stackexchange/codereview |
I have JSON data being provided to my application but unfortunatly it is not very well formed. Sometimes I am getting String representations of numbers when I am expecting numbers.
For some reason some values may have a prefix of whitespace.
What is the best way to deal with this? Currently I am forced to check the ... | stackexchange/codereview |
how can i convert my grails application from http to https under Linux operating system
| stackexchange/codereview |
I have a few perl CGIs which almost query the whole table with more than 5000 rows as result and send that data to browsers. The size of html data generated is around 1MB.
Earlier I was using tables(which should be ideal approach).
Unfortunately most users use IE and it does not display data till it receives closing ta... | stackexchange/codereview |
I'm integrating "Sign in with twitter account" function at my site.
So, I'm sending request to https ://twitter.com/oauth/request_token, getting token, making redirect to https ://twitter.com/oauth/authenticate?oauth_token=%oauth_token%
Then I recieving call back with oauth_token and oauth_verifier
This goes fine.
But ... | stackexchange/codereview |
I'm new to MySQL. I'm doing the tutorial and trying to create a connection. I need to have a username and password. I get an error each time saying it
can't connect to username@localhost using password YES.
I'm just trying to set this up locally. What are the username and password supposed to be? How is the account cre... | stackexchange/codereview |
Simple question really, I've been looking all over the Internet probably for the past few days for several hours a day looking for some solid information on OpenID and Facebook Connect integration on a website.
I have seen the same names popup such as Janrain offering their solution, but I see a lot of websites such as... | stackexchange/codereview |
Given two random integer generators one that generates between 1 and 7 and another that generates between 1 and 5, how do you make a random integer generator that generates between 1 and 13? I have tried solving this question in various ways but I have not been able to come up with a solution that generates numbers fro... | stackexchange/codereview |
I am studying membership algorithms and I am working on this particular problem which says the following:
Exhibit an algorithm that, given any regular language L, determines whether or not L = L*
So, my first thought was, we have L* which is Kleene star of L and to determine if L = L*, well couldn't we just say that si... | stackexchange/codereview |
I installed the following in that order:
Java Runtime
Java SE SDK
Netbeans 6.9.1 (which components should I choose?)
XAMPP 1.7.3 for the MySQL database server
????
I don't know whether that is enough for developing Java EE applications. What are the things I should install and in what order, so that I can develop Ja... | stackexchange/codereview |
I've delopped some Scala code to control the lifecycle of MySQL server. The code runs fine on Windows XP, but fails under Windows 2008 R2 standard with the following exception:
Exception in thread "main" java.io.IOException: Cannot run program "mysql" (in directory ".\bin"): CreateProcess error=2, The system cannot fin... | stackexchange/codereview |
I have cucumber feature
...
Given I am on my domain page
When I press "send data to external domain"
Then I should be on the externel domain page
...
In production and development enviroments "My domain page" (www.example.com/mydomainpage) redirects user to "external domain page" (www.externaldomain.com/page). But in ... | stackexchange/codereview |
# config/doctrine/schema.yml
Category:
actAs: { Timestampable: ~ }
columns:
name: { type: string(255), notnull: true, unique: true }
Project:
actAs: { Timestampable: ~ }
columns:
category_id: { type: integer, notnull: true }
title: { type: string(255) }
description: { type: string(400... | stackexchange/codereview |
Given n circles with radii r1 ... rn, position them in such a way that no circles are overlapping and the bounding circle is of "small" radius.
The program takes a list [r1, r2, ... rn] as input and outputs the centers of the circles.
I ask for "small" because "minimum" radius converts it into a much more difficult pr... | stackexchange/codereview |
i try round function, but standart function don't good to me(all number must work in one function).
I have numbers: 0.7555 and 0.9298
And how round i this case:
0.7555 - 0.75
0.9298 - 0.93
Thanks
| stackexchange/codereview |
i don't know how to ask this question. problem is given below.
I'm using One Main form and many sub forms but not MDI Forms.
Main form Contains 5 Buttons and a Panel. each button will call a form
inside that Panel(as Parent). in that sub forms, one form(Sub3) contain TMainMenu component.
every form is working correctly... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.