instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a class, my document class, called SilkRoadTweeter.as
I also have a class called User.as
In my User class I need to call a method called nonce()
I have tried this,
trace(SilkRoadTweeter(root).nonce());
But I get the error,
TypeError: Error #1009: Cannot access a property or method of a null object reference.
| stackexchange/codereview |
I am using following to convert time to integer
mktime(hour,minute,second,month,day,year)
How would I reverse this to get desired Date? Currently I do not need Minutes or Seconds so I am using Zeroes '0' for them. Any suggestions would be appreciated.
Thanks.
| stackexchange/codereview |
I have a public shared function and I'm trying to access the values of a text box and a session variable.
I'm getting the error "Cannot refer to an instance member of a class from within a shared
method or shared member initializer without an explicit instance of
the class."
Is there any way I can get to the values in ... | stackexchange/codereview |
I'm using this function, to submit form in the background, with custom messages. It works perfectly, except with textarea fields. I've read that the serialize function has problems with ex. linebreaks.
$(function() {
$("#comment_form").validate({ submitHandler: function(form) {
$.post('/u/r/l/', $("#c... | stackexchange/codereview |
http://gcc.gnu.org/onlinedocs/gcc-2.95.3/objc-features_1.html#SEC2
The GNU Objective-C runtime provides a way that allows you to execute code before the execution of the program enters the main function. The code is executed on a per-class and a per-category basis, through a special class method +load.
| stackexchange/codereview |
I am working on a django-postgresql project and I need to see every query that django run on database(so I can fine-tune queries). Is there a way to get those queries.
Update: My development environment is on ubuntu linux
| stackexchange/codereview |
I'm trying to use Emacs and everything is fine, but the information about every file in my directory is too comprehensive. How can I tell it to show only file name (and maybe filesize in human readable format)? I tried options like dired-listing-switches but without any luck.
| stackexchange/codereview |
I've been becoming more familiar with the Factory Pattern (along with Strategy Pattern) and what a great benefit the pattern can have. However, I've been struggling with the following situation:
Previously, I would have done something like the following, where there's a manager class that would build and save a Car. ... | stackexchange/codereview |
I've been messing with the OData and realized that URIs are case sensitive. .../Northwind.svc/Products != .../Northwind.svc/products
Is this done on purpose? is there a way to make it case insensitive?
| stackexchange/codereview |
I recently started learning C++ and I installed Netbeans IDE 6.9.1 and also the Cygwin compiler packages and configured them, and added Cygwin to my environment variable PATH like the instructions told me to.
I wrote a basic "Hello World" program and when I press Ctrl+F5 to "Debug Main Project" it seems to build fine b... | stackexchange/codereview |
I have the following json file:
{
"segments": {
"externalId": 123,
"name": "Tomas Zulberti",
"shouldInform": true,
"id": 4
}
}
But the java model is as follows:
public class Segment {
private String id;
private String name;
private boolean ... | stackexchange/codereview |
How can I implement a time counter in JSP page, when click start it will counting down, when time up pop out a message?
| stackexchange/codereview |
Question pretty much says it all. Specifically, I would like the Big-O of all the methods within a structure, aside from the usual. The docs say very little about this.
Addennum
For those who are voting to close, I am not interested in the basic add, remove, iterator, etc
Those sources are fine for regularly used meth... | stackexchange/codereview |
The web designer has given me HTML which looks like:
<div .... style="background: transparent url(xxx.png) 170px center no-repeat">
Unfortunately the contents of the image xxx.png is generated by the software, so I have made it a WebResource and use the following strategy to generate the URL for the resource which I ... | stackexchange/codereview |
I'm inexperienced when it comes to WCF and I can't really figure out a pain-free way to mock WCF services.
The situation: A client and a server that both have access to an interface defining the service, like such:
public interface ICustomerService
{
[OperationContract]
Customer GetCustomer(int id);
}
Now, my fir... | stackexchange/codereview |
I'm sure this question may have been asked to death, but I cant find any answer that i can get to work. Basically I would like to have two combobox controls. One box selects an armor type for example. The next box would show only those unit types that have the armor type selected. I'm complete crap when it comes to SQl... | stackexchange/codereview |
when in Rails irb, how to traverse to beginning/end of line?
is it possible to fire up 'irb' and have it automatically require some libs?
| stackexchange/codereview |
I'm having trouble with selectors I think. Here's what I'm trying to do. I have several H3 tags with an a href within them that are above paragraphs of text. The paragraphs all have a class that hides them. I want to be able to click the link and have only the hidden div for that specific h3 open. Everything I've tried... | stackexchange/codereview |
How can I update an existing record rather then add a new one which is my problem. Right now I'm trying to edit existing product data in the edit form and save the new changes. But instead of existing product data being updated, I get a new product, so everything is being duplicated. New product is created instead of i... | stackexchange/codereview |
I am working through the GWT tutorial. I get through step 3 and when I go to run it I get an error with the web browser that says, "Plugin failed to connect to host mode server at 127.0.0.1:9997"
In the eclipse development mode there are two errors one with finding entry point classes that says,"unable to find type 'co... | stackexchange/codereview |
I'm using Jeditable in order to post some textarea data to the server. When an ajax post fails for some reason (network problem, server error etc.) it is necessary to leave the form visible and preserve the data that user has entered. Is it possible to do that thing with Jeditable? Thanks!
| stackexchange/codereview |
I can specify a square where the Geocoder shall search in, but I found no way to specify a certain country. Unfortunately, my country isn't quadrangular ;( What should I do? Use another reverse geocoding service?
I'd want to build a search box where the user can search for a city (with auto suggestion). On every keyst... | stackexchange/codereview |
I have a xib file with only an NSPanel in it, I'm trying to show this panel as modal sheet (with beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:). The file's owner for this xib is a controller class "MyController" which has the IBOutlet to the NSPanel.
What I am looking for is something like:
...
My... | stackexchange/codereview |
I have a List<CustomObject>
which has 3 properties
A,B,C
and what I need is to transform this List to a Dictionary so the result looks like
Dictionary<string,object>
(Property name) A = Value of A
(Property name) B = Value of B
(Property name) C = Value of C
Pls suggest...
| stackexchange/codereview |
I'm in the process of porting a command-line game to the web. I will be using Ajax to glue everything together.
Now after the first few proof-of-concept lines I wrote I'm facing with architecture doubts. How would you normally structure such a project?
My game engine is written in object-oriented style in Python so I ... | stackexchange/codereview |
I would like to launch directly to the YouTube player on Windows Phone 7.
I tried using WebBrowserTask and giving a YouTube URL, it opens up the browser and brings me to a page with a thumbnail of the YouTube video, I need to click on the thumbnail before the video plays.
I like to skip the extra click. I like the use... | stackexchange/codereview |
When I pass call a Generic Method that return A Func and pass in parameter of the Where, that's dosen't work. (System.InvalidOperationException: Internal .NET Framework Data Provider error 1025.)
The error is when I want to get the Role information.
For the Role, I need to perform a Where Clause Expression EX: (p => p... | stackexchange/codereview |
I have read several posts where users were having this same issue. When compiled, the .exe is unable to load any resources from app.config. This is occurring even when the app.config is copied to the output directory.
Specifically, I'm having an issue with a web service client being unable to determine the proper endpo... | stackexchange/codereview |
I am having problems with some characters after I added some jQuery to my code.
http://www.blueskycouncil.com/login-form.php (login: stack/this)
It worked fine when I was just doing it all in php but now it converts some of the characters weirdly.
This is the jQuery code I am using:
<script type="text/javascript">
// ... | stackexchange/codereview |
I have an array like this:
$array = ['oooo', 'no', 'mmmm', 'yes'];
I'd like to search for a word "yes". I know about array_search(), but I'd like to match "yes", "Yes" and "YES" as well.
How can I do this?
| stackexchange/codereview |
I know my build isn't working, but I can't figure out how to debug it. My only symptom is it only does a get operation for some of the projects in the solution. Setting verbosity to diagnostic tells me nothing, the event log is empty, what gives?
Under TFS 2008 using the barbaric tfsbuild.proj file, you could always e... | stackexchange/codereview |
Hi
I am building a control that shows a ruler from 0 to a maximum. The 0 value is at the bottom and the maximum is in a higher y then the 0(The maximum is not visible until we scroll to it).
The problem is that while 0 is down and the maximum is up. The 0 value of the scroll bar is up and the maximum is down.
I want th... | stackexchange/codereview |
I am experiencing the same issue as described here: http://forums.asp.net/t/1023591.aspx
I have a default page theme set in the <pages /> element of the root web.config, which, in addition to the rest of the website, is being applied to WebService .ASMX pages. I would like to prevent ASP.NET from applying the themes t... | stackexchange/codereview |
How to add parameters in TSmartQuery?
I mean on the Parameter tab which can be seen when I click on params properties.
I found two ways:
-editing the dfm file
-parameters are filled out automatically based on used :vars in Sql tab.
I did not managed to add them manually using a user interface.
| stackexchange/codereview |
This is my first post on StackOverflow so I apologize in advance if it's not the way it should be.
What I'm trying to do:
I run the while(time > 0) loop below and am checking for a button press, when the button is pressed a tone is played using the playsnd command in MATLAB which is in the "sound.m" function. "Sound.m... | stackexchange/codereview |
When and where should I use an interface ?
| stackexchange/codereview |
This seems relatively simple, I'm just stumped on jQuery syntax.
Basically I want to take this form :
<div class="me_signup">
<input type="text" name="referral[0][name]" id="referral_0_name">
<br>
<input type="text" name="referral[0][email]" id="referral_0_email">
</div>
And duplicate it with a button and increa... | stackexchange/codereview |
I'm writing a custom taglet for inclusion of a mathML file in a javadoc html file. I would like to store all my *.mml files in the same folder, possibly in the
{@docroot}/doc-files
folder. My question is : how can I know the value of the @docRoot string within a Taglet object (more specifically, within the toString(co... | stackexchange/codereview |
I developed my program using Eclipse as my IDE. I used to use File|Export| Runnable JAR file option for creating dist build for client.
I was working with project using Run or (often) Debug button in eclipse (so I have configuration for project with valid main method).
Unfortunately when I created build yesterday I had... | stackexchange/codereview |
i want to automatically restart sql server after nightly rebuild index (in a job) to free memory.
any solution?
| stackexchange/codereview |
i wanna know how i can make a pause in the system to wait the answer from the server in an AJAX request?
var method = childs[cont].getAttribute('method');
var address = childs[cont].getAttribute('address');
/*
* Making the AJAX connection
* and returning the results.
... | stackexchange/codereview |
In these two items i call a specific function
$('.item >li> div').click(function (e) {
$('.item .time').live('mousedown', function (e) {
e.stopPropagation();
In opera, firefox this works fine. In chrome when i click the time div my function runs twice instead of once.
In jquerys Additional Notes it mentions this... | stackexchange/codereview |
Can anyone give me a simple comparison of those two? It is hard to get the idea from their web site.
| stackexchange/codereview |
My app has a details screen like an AboutScreen. The height of all fields on the screen is more than the screen height, for all devices. I need to place the elements in a VerticalFieldManager with scrolling.
In the sublayout method, what x and y coordinates are given so that I can place every field one after other?
| stackexchange/codereview |
I have two test cases, one returns a value, the next is supposed to use the return value.
class GenerateAckFeedTest extends PHPUnit_Framework_TestCase
{
public function testThankyouAckFeedErrors()
{
$ackFeed = array(1,2,3);
return $ackFeed;
}
/***
* @depends testCitiThankyouAckFee... | stackexchange/codereview |
I want to set a condition on a gdb breakpoint to only break if a certain function name appears in the backtrace. What's the best way to do this?
| stackexchange/codereview |
I have got some classes
.text-1
.text-2
.text-3
I want to select them all, how to do that?
Thanks for the help
| stackexchange/codereview |
I want to create a file-static variable in PHP. How can I do this or what should I use instead?
Edit:
I'm basically wanting to create a file-scope static variable, similar to what is available in C/C++.
| stackexchange/codereview |
My scenario:
i want to expect reduce image size (10 KB to 3 KB)
| stackexchange/codereview |
I'm making an ajax request and storing my response in an hidden field.I'm doing this through javascript using getelementbyid.value.This javascript function is on body onload.Now after I get this value I would like to use this in C#.I can't have any button onclick event or anything of that sort.Just have a hidden input ... | stackexchange/codereview |
Say I've got some TextBlocks on my UI, something like so:
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding DessertIndex}" />
<TextBlock Text="{Binding Food[2]}" />
<TextBlock Text="{Binding Food[{Binding DessertIndex}]}" />
</StackPanel>
and in my code behind I've got something like this:
publ... | stackexchange/codereview |
I am trying to put the zoom controls of the map on the bottom right corner of screen. I could do it with RelativeLayout using both alignParentBottom="true" and alignParentRight="true", but with Framelayout I did not find any such attributes. How do I align it to the bottom-right of screen?
| stackexchange/codereview |
I have a GridView populated from an xml file, which has the following structure:
<menu>
<item id="1" name="home" page="default.aspx">
*{...some stuff...}*
<item>
<item id="2" name="content" page="content.aspx">
*{...some stuff...}*
<item>
<item id="3" name="user" page="user.aspx">
*{...some stu... | stackexchange/codereview |
My flash-pyamf-gae works nice.
Now I would like to create a classic Django form by following the google tutorial : http://code.google.com/appengine/articles/djangoforms.html
I did but when I post the data entered in my form i get the following message from pyamf :
Malformed stream (amfVersion=110)
400 Bad Request The ... | stackexchange/codereview |
I have a listbox control data bound to a data source and I want to be able to get the value of each selected item so that I can use that information to form an insert query for another table. In other words be able to select a few items out of the returned list and get the selected value of each. I tried using a for ea... | stackexchange/codereview |
Original question:
I know Mathematica has a built in map(f, x), but what does this function look like? I know you need to look at every element in the list.
Any help or suggestions?
Edit (by Jefromi, pieced together from Mike's comments):
I am working on a program what needs to move through a list like the Map, but I ... | stackexchange/codereview |
Is there any simple way to print to a printer with VB.NET?
Specifically, with the console. It seems that stuff that works with forms applications dont work with the console.
| stackexchange/codereview |
Under Windows 7, when I copy an mp3 file to my iRiver H10 I always get a dialog box offering to "convert and copy" the file, or "No, just copy". The mp3 files are not copy protected. The H10 is an mp3 & wma player connected via USB, but does not show up as a drive letter. It shows up in the Windows Explorer as an at... | stackexchange/codereview |
what I done with UrlRewriting.net is just working well while Im locally testing it,
it is not working on the internet why? is there any configuration?
I just did what ever ScottGu said:
link text
thanks inadvance
<configSections>
<section name="rewriter"
requirePermission="false"
... | stackexchange/codereview |
I have one autocomplete input text in that i want key code on valueChangeListener as we can get it in javascript by using event.getKeyCode like that..I m using jsf 1.2 and icefaces 1.7.2.
I want enter key code on valuechangelistener.
<ice:selectInputText id="AutoCmpTxt11" rows="10" width="300"
valueChangeListener="#cr... | stackexchange/codereview |
could you please point me, what is wrong with the following Xml file?
<?xml version="1.0" encoding="utf-8"?>
<root>
<align>right</align>
<columns>3</columns>
<rows>4</rows>
<backgroundColor>#333333</backgroundColor>
<circleButtonColor>#666666</circleButtonColor>
<currentCircleButtonColor>#000000</currentCir... | stackexchange/codereview |
I have been trying to figure this one out but I am having a hard time doing so. I am currently working on an open source project that requires me to allow a user to push to remote repository without it already existing there. I want to avoid manually logging in to a server and running git init or git init --bare.
For o... | stackexchange/codereview |
I decided to learn XML from a professional book instead of reading tutorials online, after some research i decided to read "Beginning XML, 4th Ed" book and it was very interesting book and i recommend it to anyone want to learn XML, my question is:
does reading & learning these chapters:
XQuery, the XML Query Language... | stackexchange/codereview |
Basically we have this aspx script generated by another company, which we need to run, we normally just use coldfusion, for our company.
However this app is an aspx.
We have both a development and production server, it works flawlessly on our dev server, but it fails to work at all in the production server.
It uses a j... | stackexchange/codereview |
Why this code doesn't work inside UpdatePanel controls I have in webform : four CheckBoxes and one TextBox
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim str As String = Nothing
Dim id As String = Nothing
Dim ch As String = Nothing
For Ea... | stackexchange/codereview |
I have a form with child controls.
I want when user move mouse over the form, the form will be closed.
So I catch mouse enter and move leave on the form. But if I move mouse on any controls in form, mouse leave event will be also caught.
Please help me to solve this problem. Thanks.
UPDATE:
When the cursor's position i... | stackexchange/codereview |
How do I draw a cylinder with OpenGL in OpenTK?
| stackexchange/codereview |
you sure know the situation during debugging when the thread of execution suddenly isn't backed by source code and the icon "attach sources" appears... I can't find any settings where it could be set up. I always have to wait till the previously mentioned situation happens to set it up.
Is there this configuration anyw... | stackexchange/codereview |
I'm calling a services API, and it returns a response object, how can I inspect all its properties etc?
I don't know the exact nature of the response object, and there is little documentation on it.
response = .....
In irb, I just do a puts response, will this display all the properties or they can still be hidden?
| stackexchange/codereview |
I'm building a database using a BST (binary search tree) and I want the user to be able to roll back the last 5 commands. Any Suggestions? I'm using Java.
| stackexchange/codereview |
Here's a simplified version of my table.
CREATE TABLE TBLAGENT(AGENTID NUMBER, NUMBERSENT NUMBER, AGENTNAME VARCHAR2(100));
INSERT INTO TBLAGENT VALUES(100,NULL,'KNIGHT');
INSERT INTO TBLAGENT VALUES(200,NULL,'SUPES');
INSERT INTO TBLAGENT VALUES(300,NULL,'SPIDEY');
CREATE TABLE TBLSERVICES(AGENTID NUMBER, SERVICES NU... | stackexchange/codereview |
THE SITUATION
So here's a simplified version of my situation:
I have a Payment model. It has the following attributes:
Payment Amount
Payment Date
I have a Transaction model. It has the following attributes:
Transaction Description
Transaction Amount
Payment ID
NOTES:
A payment can be applied to multiple transacti... | stackexchange/codereview |
In the past few months, I've read multiple articles about this new unobtrusive JavaScript approach in ASP.NET MVC. You can read about it here.
It basically puts everything into HTML attributes prefixed with data-..., and last time I checked, the HTML specification did not allow things like this. (I do not care about HT... | stackexchange/codereview |
I am at a company that does not understand the concept of using frameworks and the benefits of them. I have tried to explain that it provides structure and organization but the people I am trying to explain to are still a little fuzzy about it. In your opinion, what is the best way to describe a framework in the most s... | stackexchange/codereview |
This is driving me a bit nuts. I am trying to do something quite simple, and I have done it many times before. Just trying to call a REST API.
I am trying to call GetMessage with endpoint = "http://feed.linksynergy.com/productsearch?token=717f8c8511725ea26fd5c3651f32ab187d8db9f4b208be781c292585400e682d&keyword=DVD", a... | stackexchange/codereview |
I have a gridview i have customize gridview using labels .. i wanna copy the label in cell 2 to textbox outside gridview ?
| stackexchange/codereview |
We're developing an ASP.NET Website on a 64-bit machine with VS 2008, and deploying it to a 32-bit Windows staging server.
We have two versions of a COM DLL in our posession:
Assembly32.dll for 32 bit machines
Assembly64.dll for 64 bit machines
We know what to use where.
The question is how do we make an easy deploy... | stackexchange/codereview |
I'm very new to WPF and the EF, and I'm trying to display some data from a table in a datagrid. I've got the entity model pulled from an existing database and simple operations seem to work (getting row counts, using 'first').
I'm running against Firebird 2.5.0 using the 2.0.5 DDEX provider and 2.5.2 ADO NETProvider.
W... | stackexchange/codereview |
I am trying to install DSpace on Windows. I have installed all the supporting software required.
As per the instructions given at http://casin.ncsi.iisc.ernet.in/dspace/dspacewindows.htm, to install DSpace I am supposed to copy the dspace.war and dspace-oai.war from the folder C:\Dspace\build to C:\Program Files\Apach... | stackexchange/codereview |
I'm thinking of using the characters #@! in some COM interfaces our system generates. The COM type library is also exported to .NET. Will those characters cause me trouble later on?
I've tested it out for most of the day today, and it all seems fine. Our system continues to work just like it always did.
The reason I'm ... | stackexchange/codereview |
Hello I'm trying to make option for users to login to my site with their facebook accounts.
As far as I read in facebook api I have found only login with pop-up window, but I don't like It...
I'd like to make it like here on stackoverflow
1. user click on "login" image ot button
2. whole window goes to FB page and ask ... | stackexchange/codereview |
here is my code.
public DataSet ConnectandReadList()
{
DataSet ds = new DataSet();
string connection_string="Data Source=hermes;database=qcvalues; Integrated Security=SSPI;";
using (var myConnection = new SqlConnection(connection_string))
{
myConnection.Open();
var command... | stackexchange/codereview |
Probably a silly question, but I need to find the answer. An application we are writing needs to handle distant past and future dates, and I think handling our dates as 64bit Unix Timestamps would be an easy solution provided I understand the PHP manual correctly, which states that the maximum int value is platform de... | stackexchange/codereview |
I have a edit view whose url is /group/edit/1 where 1 is the group id which is dynamic.
I am validating the form data in controller as :
if ($this->form_validation->run() == FALSE)
{
$this->load->view('group/edit', $data);
}
How do I pass the id parameter "1" to this view ?
Below option does not work since the url... | stackexchange/codereview |
Can someone please explain to me how a multi-threaded application can be faster when a single core cpu can only do a single thing at a time. If I have 10 threads then only 1 of those threads is really 'running' at any given moment on a single core cpu and all the extra threads just add context switching overhead. So if... | stackexchange/codereview |
hey there.. need some advice again :)
I'm working on a project with a filterable portfolio [based on this plugin link: www.gethifi.com/blog/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours.
the portfolio items are shown in a horizontal slider which is adding scroll areas (hot spots) on the left a... | stackexchange/codereview |
Is there a language which has a feature that can prevent a class accessing any other class, unless an instance or reference is contained?
isolated class Example {
public Integer i;
public void doSomething()
{
i = 5; // This is ok because i belongs to this class
/*
* This is forbi... | stackexchange/codereview |
My SQL Server query analyzer raises an error when I type my table names with lower-case letters.
My server and database collations are SQL_Latin1_General_CP1254_CI_AS.
Despite of it, Select * from table raises an error, while Select * From TABLE doesn't raise any error.
Where I am wrong? How can I make case-insensiti... | stackexchange/codereview |
I'm trying to find a open source pdf viewer that I can embed in a java swing application. The PDFs will have embedded media in them so I will need the viewer to be able to play the media. Does anyone know of any good pdf viewers?
I've tried ICEpdf, JPedal and Pdf Renderer but playing the embedded media in all of them... | stackexchange/codereview |
What is the point of
public class ThemedViewPage<T> : WebViewPage<T>
{
public override void Execute()
{
}
}
What am I supposed to do with it? I ask because I've left it empty and the world is a good place and everything appears to work - just updating a demo I'm running this afternoon and this is a quest... | stackexchange/codereview |
In my iphone app, i have a navigation Controller and a tabBar Controller.
The TabBarController has three tabs. In the second and third Tab the NavigationController are added to the viewControllers.
Problem :
In third tab viewController shows the NavigationBar but the in second tab viewController doesnot display naviga... | stackexchange/codereview |
I'm developing using the cocos2d framework, Obj-C. I have a whole method for taking a screenshot called "screenshot". I'd like to know how I can take a screenshot. I've been told to just call [self screenshot]; but I get the warning 'GameOver' (class) may not respond to '-screenshot'. The screenshot method is in the Ap... | stackexchange/codereview |
Does anybody have experience with Tersus for Android ? Is it useful and worth to try or to continue to develop GUI on standard way from Eclipse ?
| stackexchange/codereview |
In my code:
Vector2 colCircle = new Vector2();
colCircle = new Vector2((R * Math.Sin(D)), -(R * Math.Cos(D)));
While:
R = 22.627
D = 89.214
When checked on my calculator, the X value is correct, but the Y value should be -0.310 but in program it is -7.134.
Any ideas why?
| stackexchange/codereview |
We have a project that makes use of Web Services supplied by another group. They supply 3 sets of JARs for the web services, one set for each environment (Dev vs Test vs Prod).
What is the best way to structure a project in Eclipse that has different JARs for Dev/Test/Prod? Here is what I was thinking:
WEB-INF/lib ... | stackexchange/codereview |
I have the following HTML/PHP code:
<img id="imageViewer"src="someData" height="" width="" alt=""></img>
<?php
//a counter so we know what image to return
$counter =0;
print("<a href='#'>Click me</a>");
$imageArray = array(0 => "image link", 1 => "image link... | stackexchange/codereview |
We have an invoice, a invoice detail and a order table and the tables are linked by the invoice detail rows because the invoice details are grouped by delivery date so a invoice often covers multiple order numbers.
Now I would like to build a view that would display the order number if there is only one order involved ... | stackexchange/codereview |
I am trying to understand Jetty.
Tell me please:
When is it better to use Servlets and when Handlers?
Can I use Connectors with Servlets for "thread-per-request model"?
| stackexchange/codereview |
I've been thinking about learning about stubs and mocks, and I know of several of the available libraries for .Net: RhinoMocks, Moq, TypeMock... and although I still don't have too clear the difference between stubs, and mocks, I know it is there, and I could always google about it.
I'd like to know, without being into... | stackexchange/codereview |
I'm looking for a solution to "linkify" (twitters term, not mine) tweets - to ensure that @names are correctly linked, at that html links are ready for use too prior to displaying the tweet in a uiwebview
I can see a couple of potential routes
NSScanner based solution where I look for an @ and then the next " " and li... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.