instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have next dependency property:
public static DependencyProperty RequestObjectProperty = DependencyProperty.Register("RequestObject", typeof(RegistrationCardSearch), typeof(RegCardSearchForm),new UIPropertyMetadata(Changed));
private static void Changed(DependencyObject d, DependencyPropertyChangedEventArgs e... | stackexchange/codereview |
I have an assignment that is supposed to be written in C (not C++), in which I need to create some structs from reading multiple text files. I have learnt c before (2 years ago) - I'm far more comfortable with Java, just can't use that for this project. I guess my issue comes from not understanding the pointer syntax v... | stackexchange/codereview |
I a totally new to sat4j solver..
it says some cnf file should be given as input
is there any possible way to give the rule as input and get whether it is satisfiable or not?
my rule will be of the kind :
Problem = (
( staff_1 <=> staff_2 ) AND
( doctor_1 <=> physician_2 )
) ... | stackexchange/codereview |
How can I find the seq number given the id in this example?
<table>
<tr class="row_header thin_border">
</tr><tr id="id33192010101533333" seq="2">
<td>20101015</td>
<td>600</td>
<td>730</td>
<td><a href="#" onclick="deleteActivity(3319,20101015,1);">Click</a></td>
<td><a href="#" oncli... | stackexchange/codereview |
I have two columns in a center column. (They are all div tags.) When I set the inner divs to float:left, the outer div does not wrap around the inner divs.
Why, and how do I fix that?
| stackexchange/codereview |
Is there a way I can generate variable names in python in a loop and assign values to them? For example, if I have
prices = [5, 12, 45]
I want
price1 = 5
price2 = 12
price3 = 45
Can I do this in a loop or something instead of manually assigning price1 = prices[0], price2 = prices[1] etc.
Thank you.
EDIT
Many people ... | stackexchange/codereview |
I've been a long time user of the Make build system, but I have decided to begin learning the Maven build system. While I've read through most of the online docs, none seem to give me the analogies I'm looking for. I understand the system's lifecycle, but I have not see one reference to compile step dependencies. For e... | stackexchange/codereview |
I am facing a problem of "design time support" best practices. I am using PRISM, and my objects are created by a DI container. Lets assume the following simple scenario:
I have an object workflow. This workflow has several properties, and there is a WorkflowProvider which provides a list of workflows.
If I design the L... | stackexchange/codereview |
This might be related to another problem i am having. But in this case my app was idling and i had a crash in my GetConnection() on conn.open().
Since i was idling i figure it had comething to do with my queue in the background and possibly garbage collection? I took a look at netstat and found 16 connections.
Does mys... | stackexchange/codereview |
In jQuery, is there another way to write this?
Version 1
$("#date_filter-enable").click(function() {
$("#search_dates").removeClass("hidden");
});
$("#date_filter-disable").click(function() {
$("#search_dates").addClass("hidden");
});
Version 2
$("input[id^=date_filter-]").... | stackexchange/codereview |
I am planning to write an app that can open and display PDF documents, and perform OCR on vector graphic elements within the PDFs. The user must be able to select regions of the document and I need to draw real-time annotations on the document. I don't need to alter or save the document itself.
I have plenty of experie... | stackexchange/codereview |
I've upgraded to Python 2.7 from Python 2.6 on Ubuntu Maverick Meerkat (10.10) and I'm unable to import PyQt4.
austin@gerald:~$ python2.7
Python 2.7.0+ (r27:82500, Sep 15 2010, 18:04:55)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
Traceback (most recent... | stackexchange/codereview |
Using the Android 2.0 ContactsContract API, is it possible to build a list of objects representing contacts in a Contact Group like this:
public class GroupContact {
public String displayName;
public List<String> phoneNumbers;
}
While making fewer than O(n) SQL queries?
| stackexchange/codereview |
Facebook fixed the /likes in Graph API. /likes now returns the complete list of user's that liked a particular object in the graph (Photos, Albums, etc). In before, it returns only 3 - 5 users.
My question is, how do you count the total number of "likes" without parsing the entire JSON and getting the element count? I'... | stackexchange/codereview |
I'm working on a xml service at the moment , which is a sum of 20+ other xml's from other site's services.
So at first it was just ;
GetherDataAndCreateXML();
But obviously getting 20+ other xml , editing and serving it takes time , so i decided to cache it for like 10 minutes and added a final.xml file with a DateT... | stackexchange/codereview |
I want to change Button drawing based on button size using XAML.
I know it is possible using c# code not sure about XAML
Thanks
Update :
my code is like
<Grid Width="60" Height="60">
<Ellipse Width="57" Height="57" StrockThickness="1">
</Ellipse>
</Grid>
I am applying above style to Button control. but h... | stackexchange/codereview |
I'm looking into using Solr for a project where we have some specific faceting requirements. From what I've learned, Solr provides range-based facets, where Solr can provide facets of different value-ranges or date-ranges, e.i. field values are "grouped" and aggregated into different bins.
I would like to do something ... | stackexchange/codereview |
I'm using the following code to add a label and a view to a UIPickerView.
- (UIView *)pickerView:(UIPickerView *)pickerView
viewForRow:(NSInteger)row
forComponent:(NSInteger)component
reusingView:(UIView *)view {
CustomPickerView *customView = [[CustomPickerView alloc] initWithFrame:CGRectMake(0.... | stackexchange/codereview |
So I have 16 GB worth of XML files to process (about 700 files total), and I already have a functional PHP script to do that (With XMLReader) but it's taking forever. I was wondering if parsing in Python would be faster (Python being the only other language I'm proficient in, I'm sure something in C would be faster).
| stackexchange/codereview |
When I resize the browser window to a lower width than 477px, window.innerWidth or window.getSize().x (using mootools) still returns 477px.
Anyone ever had that problem? What's going on here?
The problem occurs in Firefox and Chrome.
| stackexchange/codereview |
I am trying to use the chooser so I don't have to create a selector-dialog. Maybe it is the wrong construct or widget to be using. What is happening is that the list of intents that I supply are inserted into a chooser dialog, but so are all the other applications on my device. Then if I use the back-button, the app... | stackexchange/codereview |
I have some HTML taken from an originally printed document. It has some page numbers:
<span class="page">42</span>
sprinkled in the middle of paragraphs where the original document had page breaks (for no semantic reason, but just because that's where the end of the page happened to fall).
Right now I've just hidden t... | stackexchange/codereview |
I have a number of objects that I need to create and add to an array. However the code below seems dirty and difficult to maintain in the long run. What I'm thinking is, I should store the Name and Value properties in a table and build each comCommand object at runtime.
However, I'm not exactly sure what the best metho... | stackexchange/codereview |
I have a class which is called TestPlan (to put it simple, let's assume that it's a usual java bean).
I need to store TestPlan instances in xml-files (1 instance per file). The most appropriate way to do it which I can see is using another class which should do only xml-related work.
It'll have methods like:
public Tes... | stackexchange/codereview |
Can any one provide me a simple example on how to consume a webservice using Qt C++ ?
| stackexchange/codereview |
I was working on a slider using an unordered list. Standard structure, example (not the same code I'm using):
<div style="overflow: hidden;width: 500px;padding: 20px;position: relative">
<ul style="width: 1000px;position: relative;padding: 0;margin: 0;list-style: none;">
<li style="width: 500px;padding: 0;margi... | stackexchange/codereview |
Say I have a program X.EXE installed in folder c:\abcd\happy\ on the system. The folder is on the system path. Now suppose there is another program on the system that's also called X.EXE but is installed in folder c:\windows\.
Is it possible to quickly find out from the command line that if I type in X.EXE which of the... | stackexchange/codereview |
I'm trying to create a multi-table database for my android application. I'm following the suggestion given on this site http://androidforbeginners.blogspot.com/2010/01/creating-multiple-sqlite-database.html for doing it. I keep on getting the error below. The error seems to be cause by the onCreate of the databaes tabl... | stackexchange/codereview |
I have a simple polymorphic association
#comment.rb
belongs_to :commentable, :polymorphic => true
has_many :comments, :as => :commentable
#post.rb
has_many :comments, :as => :commentable
accepts_nested_attributes_for :comments, :allow_destroy => true
So in IRB I can do, Post.co... | stackexchange/codereview |
We are having a problem on our web server which is driving us mad!!
When we define defaultDocument in our web.config we always get the dreaded 403.14 Http error. The config is (inside system.webserver):
<defaultDocument enabled="true">
<files>
<clear/>
<add value="~/Forms_Mosaic/Our System.aspx"/>
... | stackexchange/codereview |
All,
This should be a pretty simple question, but I haven't found quite the answer I'm looking for yet.
I have a parent HTML window. When a user clicks a button on that window, it opens a child window (e.g., "childA.asp")
That child window includes a form. Here's what I'd like to happen when the user submits that form:... | stackexchange/codereview |
I am dealing with running a control in a form, however the form itself is of no value to me. I essentially want the form to run a task and return a value, however for that I'd like to use something like an AutoResetEvent to return from the function call only when it has completed, which obviously would block the forms ... | stackexchange/codereview |
I have a production server from some hosting company, so I can't put a git repository there.
I want to check the differences between my latest version in code to the prod server sources(its a php site).
I think that someone changed stuff at prod without update it in git. how can I check this stuff?
And maybe merge the ... | stackexchange/codereview |
I have a fairly popular site that's now getting rammed with a lot of traffic, and I've been informed by my webhost that the following query is taking up to 2 seconds to run. My MySQL skills aren't that great, so I'm sure I'm doing something wrong, but I'm not sure what could be done to improve it.
For simplicity's sak... | stackexchange/codereview |
stdint.h in C99 provides many options for integer sizes, types and ranges - so many I don't know what ones to choose!
I know how to use size_t and ptrdiff_t when appropriate, and I use fixed size types for storage and transmission. My question concerns values that will only be stored in memory of the host machine.
For ... | stackexchange/codereview |
I have three projects which are build to the same /bin directory and anoher projects (let's call it A) where this is not necessary. A requires all the other projects. When I export A as a runnable JAR, then only one of the three projects makes it into the JAR.
I can add other projects (build to different directories) w... | stackexchange/codereview |
I'm moving some instrumentation into PostSharp aspects, basically the code which is incrementing the timing counters looks something like the following:
MyPerformanceCounter.IncrementBy(elapsed);
MyPerformanceCounterBase.Increment();
This works fine and I see the correct values getting updated in Perfmon (MyPerformanc... | stackexchange/codereview |
Here's the background of the underlying problem, I am collaborating with a group on a project which uses Swt libraries and I am trying to package the software for deployment. As it turns out SWT is very platform/architecture dependent. I would like to be able to package all six jars (linux, mac, win and 32/64-bit) into... | stackexchange/codereview |
I am using mysql match against query in my search query like this way
MATCH(film_name) AGAINST ('the vacation' IN BOOLEAN MODE).
But previously i use this one
film_name like '%the vacation%'
So my question is that i am getting the right result now by using match and against but the problem is that when i am using li... | stackexchange/codereview |
I'm trying to use preg_match to validate that a time input is in this format - "HH:MM"
| stackexchange/codereview |
I need to be able to periodically add data to the end of a CSV file. Ideally, I would like to do this without reading the entire file into memory.
Is there a way where I can append data to the end of a file?. One solution that occured to me was to simply shell a pipe command from Python, but that seemed too much of an ... | stackexchange/codereview |
Can you recommend me a way when is clicked on the second box to disappear and in its place to move the third box ?
You can see it here http://jsfiddle.net/q6t7W/
| stackexchange/codereview |
in python (3), what is the smallest value that hash(x) can return?
i want to use hashes to give a quick 'fingerprint' to database values (basically making it easy to see whether two longish, similar texts are actually equal or not), and want to get rid of negative numbers (for simplicity), so i thought i'd just add th... | stackexchange/codereview |
this is how i normally check for youtube url validity using javascript. It works great but fails for urls with "-" before the video id eg http://www.youtube.com/watch?v=-pIaQpwYEjY
Any remedy available as I'm not well versed with regex
var matches = $('#as_url').val().match(/^http:\/\/(?:www\.)?youtube.com\/watch\?(?=.... | stackexchange/codereview |
In Lua-scripting I found wxWidgets (wxLua) library very useful, so I'd wanted to found binding for Ada and GNAT Programming Studio 2010 (4.4.1) - does it exist at all and maybe somebody know how to link it with GNAT?
Only one I found is wxAda, which is about 5 years old and without any hyperlinks to load it.
| stackexchange/codereview |
I am trying to make myself a simple metacafe uploader, and I am using the webbrowser to do that.
Everything was working great with loggin in, navigating to upload page etc...
I used the HtmlElement and setAttribute/Invoke to click and set the text fields:
HtmlElement password = wb.Document.All["sPass"];
assword.SetAttr... | stackexchange/codereview |
CompVision once again, I'm working with jpeg images in my application. Just because I'm a bit familiar with MFC and ATL, I used CImage to access pixel values.
For my needs I calculate brightness matrix for the image during initialization. Function goes like this (Image is the name of my own class, unimportant, bright ... | stackexchange/codereview |
I downloaded an archive containing code for a Rails application ( from a book I'm reading ). I'm running Rails 3.0.1 but the application fails to start, because it's looking for 3.0.0beta3. Is there some way of starting it with my version of Rails?
| stackexchange/codereview |
I am trying to insert new record, using jdbc. Everything look like ok, I don't have any exception, but new record isn't inserted into the table. Select statement works right.
public Connection getConnection(){
Connection conn=null;
try {
Class.forName("org.postgresql.Driver");
} catch (ClassNotFou... | stackexchange/codereview |
I have the following struct which will be used to hold plugin information. I am very sure this will change (added to most probably) over time. Is there anything better to do here than what I have done assuming that this file is going to be fixed?
struct PluginInfo
{
public:
std::string s_Author;
std... | stackexchange/codereview |
I need to read and modify "out of office" rules (not subject, body or enabled flag) using MAPI, or any other API if possible, for example I need to read to whom the mails should be forwarded and to modify this field. Do you know any samples, url, starting point or anything else what could help me achive this
thanks
alm... | stackexchange/codereview |
$year = 2010;
$month = 10;
How do I get the previous month 2010-09 and next month 2010-11?
| stackexchange/codereview |
I have a Div tag that for some reason is padding the left side with approx 50px.
The following is the html and mind you nono of the "class" have padding-left"
<body>
<div class="popHeaderMain" align="center">
<div class="PopHeader">
Keller Williams Realty | (704) 602-0271
</div>
... | stackexchange/codereview |
I think my question is discriptive, or as Microsoft in the Documentation for Data Grid the question is, How do I have a combo box column display a sub set of data based upon the value of a different combo box column?
I have a DS with 3 tables filled, Customers, Orders, OrderDetails.
The order details is in a DataGridV... | stackexchange/codereview |
I am trying to generate a Bank Deposit slip (ideally a PDF) with incremental serial numbers everytime someone clicks and downloads one. Now I know how to generate PDFs etc programmatically but I wonder if there is a 'best practice' way to do this kinda thing before I start generating this deposit slip pixel by pixel on... | stackexchange/codereview |
I have following sitemap defined:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="" title="Root" roles="*">
<siteMapNode url="~/Default.aspx" title="Home" roles="*" />
<siteMapNode url="~/ProjectList.aspx" title="Projects" roles="*">
<siteMapNode url="~/ProjectO... | stackexchange/codereview |
I have hashmap that was created on a page using the struts2 <s:set> tag. It looks something like this
<s:set var="mymap" value="#request.mymap"/>
At some point in the page, i need to get a value from the hashmap based upon a key, and i want to do it using OGNL.
The key is generated based upon some logic, which i stor... | stackexchange/codereview |
I'm using ExtJS in CodeIgniter (a PHP framework)
I want to store the valueField of a combobox in a database. I set displayField:'name', valueField:'id' for the combobox, but when i used $this->input->post(combofield name); it is returning the displayField instead.
How am I able to get the valueField?
| stackexchange/codereview |
I have some legacy code that I have to wrap, and I have come across this declaration:
class Foo : Bar
{
// ...
};
This seems to compile under GCC. I know it's bad, but I can't change it. My question is, if no inheritance access specifier is present, how does the C++ compiler handle it?
| stackexchange/codereview |
I am getting a large website developed. The develop has asked me which do I prefer either sitefinity or umbraco. The site will be similar to wikipedia where users can come and edit pages without having to login. I would like to ask your opionions on these two csm systems and which one would you recommend for content we... | stackexchange/codereview |
Similar questions have been asked before but not quite the same (unless I missed it)
I want to pass IUserInfo class instance through my Service, Domain , Domain Events, Domain Event Handlers...
Whats is the best way to do it.
Should I
Inject it using IoC by registering it
against instance of Httpcontext.Current.sess... | stackexchange/codereview |
How can I make it so that when the contents of a text field changes, a function is called?
| stackexchange/codereview |
I have a very big .txt file with our clients order and I need to move it in a mysql database . However I don't know what kind of regex to use as the information is not very different .
-----------------------
4046904
KKKKKKKKKKK
Laura Meyer
MassMutual Life Insurance
153 Vadnais Street
Chicopee, MA 01020
US
413-744... | stackexchange/codereview |
Say I have a button embedded into my spreadsheet that launches some VBA function.
Private Sub CommandButton1_Click()
SomeVBASub
End Sub
Private Sub SomeVBASub
DoStuff
DoAnotherStuff
AndFinallyDothis
End Sub
I'd like to have an opportunity to have some sort of a "cancel" button that would stop SomeVBA... | stackexchange/codereview |
I am getting different results from the same xpath expression in nokogiri when using ruby and jruby,
In ruby the following xpath expression returns a node while in jruby it returns a nodeset:
parent = node.xpath("./ancestor::node()[name(.) = 'div' or name(.) = 'p'][1]")
Has anybody else noticed similar behaviour?
| stackexchange/codereview |
I have an asp.net web site where I'm trying to resolve what looks like a problem with ASP.NET AJAX:
Microsoft JScript runtime error:
Sys.ArgumentTypeException: Object of
type
'Sys.Extended.UI.AccordionBehavior'
cannot be converted to type
'Sys.UI.Behavior'. Parameter name:
instance
I've googled around a l... | stackexchange/codereview |
We have a repository running on subversion 1.6.6 on Ubuntu server. While adding a new file to the working copy and committing it to the repo, we get the error
Can't open file '/var/svn/mobilesync/db/txn-current-lock': Permission denied
What is the issue and what can I do about it ? Is it a matter of a lock created by ... | stackexchange/codereview |
how can I get the connection statues and speed in windows XP?
| stackexchange/codereview |
Is there any easy-to-install script out there for Rails app?
A flag button just like youtube, for user to click when spam or profanity or inappropriate graphic is found in a community post. That flag will notify the admin to review the complained entry so to take necessary action, such as removing the inappropriate con... | stackexchange/codereview |
I'm using jQuery UI sortable on a table.
My Javascript:
$("#linksSortable tbody").sortable({
handle : '.handle',
//helper : fixHelper,
update : function () {
var order = $('#linksSortable').sortable('serialize');
//$("#info").load("ajaxtest.php?"+order);
alert(order);
}
})... | stackexchange/codereview |
Is it possible to add a startup entry in the windows registry with a runas argument? So when it launches, it runs with the user specified?
| stackexchange/codereview |
I've been searching and trying to get this to work for the past few hours and I can't
I have a list of skills that I take from the database:
forms.ModelMultipleChoiceField(
skills.objects.all(),
required=True,
widget=forms.Check... | stackexchange/codereview |
i want to pass parameter along with my add action.that is if owner in menu item is clicked then "is_owner" should by default get set otherwise reset..along with "add" want to send one more parameter and access it in view.this is request dispatcher..
$router->map('Company', 'Company', array('controller' => 'companies', ... | stackexchange/codereview |
Here i my Scenario
I Have First Datable :TableA
SerialNumber PartNumber
001 A
002 B
var TableA = (from p in ddata.AsEnumerable()
join q in Select.AsEnumerable()
on p.Field<string>("SerialNumber") equals q.Field<string>("SerialNumber")
... | stackexchange/codereview |
I have a custom DataGrid mixed with DataGridTemplateColumns and a custom behavior derived from this answer Silverlight Datagrid: Highlight an entire column when that column is sorted. The problem I'm experiencing is that any DataGridTemplateColumn's cells are not picking up the 'highlight'. The cell template being used... | stackexchange/codereview |
I'm trying to get the following code to work, but I can't find good-enough documentation on how C++ handles public vs. private inheritance to allow me to do what I want. If someone could explain why I can't access Parent::setSize(int) or Parent::size using private inheritance or Parent::size using public inheritance. ... | stackexchange/codereview |
Is there an easy way to set up an automated form on a web page that sends info to a specific email address after being filled out? I don't know much about php, but someone mentioned it as a possibility. I would like to create a form that gets filled out and sent to a server email address automatically. Preferably witho... | stackexchange/codereview |
I have a struct called Point
typedef struct {
GLfloat x;
GLfloat y;
} Point;
create an array of Points:
Point *sPoints;
for(int i=0 ... // define sPoints
somewhere else, I want to alter variables on those points. Why does this work:
sPoints[100].x+=10;
but this doesn't:
Point pt = sPoints[100];
pt.x +=10;
is th... | stackexchange/codereview |
Good day lovely computer peoples!
I've uploaded a .dmg file to my server, but when I test to see if it is downloadable by pointing the web browser to it's place in the directory (i.e. using it's URL) I get a 404.
Any possible ideas of why this could be happening?
Thanks
EDIT 1
I realize that the 404 means that it can'... | stackexchange/codereview |
I am using Paperclip to upload image on Rails3. Now I want to use valums's file-uploader to do multiple image upload. I have already set the multiple image upload correctly.
Each Product(a particular model) has_many photos.
each photo has_one item. (FROM: rails g paperclip photo item)
My question is how to use valums's... | stackexchange/codereview |
Animal
public abstract class Animal {
String name;
public Animal(String name) {
this.name = name;
}
}
Lion
public class Lion extends Animal {
public Lion(String name) {
super(name);
// TODO Auto-generated constructor stub
}
public void roar() {
System.out.println("Roar");
}
}
Deer
public class Deer... | stackexchange/codereview |
public void turnRight() {
int direction=getDirection();
if (direction==3)
direction=0;
else
direction++;
this.setDirection(direction);
So I have this method that, when called, increments direction by 1. However, the max value should be 3, so if direction is equal... | stackexchange/codereview |
vim -u vimrc_file lets me specify a particular vimrc file to use, however from what I read from :help initialization some initialization steps are skipped.
Is there a different option I can use to run vim using a particular vimrc file without skipping those initialization steps?
or Maybe how can I include those initia... | stackexchange/codereview |
How do I create Add Method Wizard in VS C# 2010 Express. It was something like right click on a class library and Add method in Visual Studio.Net 2003. Now when I right click on the class I don't see Add method menu.
any Help please? Thanks
| stackexchange/codereview |
I want to write silverlight application for iPad device. Is that possible? i have searched on google but not getting exactly. Need proper guidance on it. Any help will be appreciated.
Thanks
| stackexchange/codereview |
I would like to ask if there is any methods to get a View from another View.
My case is that:
I have a custom ImageView call MyImageView.
and my layout is that:
FrameLayout:
MyImageView
LiearLayout:
LiearLayout:
TextView
LiearLayout:
TextView
I have some code in MyImageView and I... | stackexchange/codereview |
Hey everyone. I've searched the web and really haven't found a problem quite like this. My set up is as follows: I am trying to make an app where a user drags uiimageviewss on a uiview inside a uiscrollview (which can zoom in), but also drag the image to a trashcan to be deleted. When the scrollview is zoomed in, the u... | stackexchange/codereview |
Is there any tutorial for debugging applications/ running profiler in eclipse? Please let me know thanks..
| stackexchange/codereview |
Does anyone know how to customize the shopping cart page for ubercart (Drupal 6.x)? I would like to add the SKU field in the 'desc' column under the product title and some other things.. like Shipping Time: 2 Weeks.
So the 'desc' column should look like this:
Product Title
SKU: Model1
Shipping Time: 2 Weeks
Much apprec... | stackexchange/codereview |
i've set "set guioptions-=l", but whenever taglist is enabled the left hand scrollbar is still shown and cannot be disabled (right hand scrollbar toggles fine). also, vim wont maximize on start if taglist is enabled.
if the above can't be fixed, are there any taglist altenatives.
| stackexchange/codereview |
I want to implement an image gallery in asp.net/C#. I am using sql server 2008, visual studio 2010 and .NET 4.0.
I have made a webpage and now want to display 6 images as thumbnails (and their names just below the thumbnails) at the center of the page. The format of the display is something like this:
img1 img2 i... | stackexchange/codereview |
I'd love to be able to setup a footer at the bottom of my spark application, which runs in a browser. I was reading through the documentation of Application and the awesome Adobe examples. Unfortunately I keep getting lost when the documentation talks about how to position the control bar area at the bottom via spark.s... | stackexchange/codereview |
I have a PHP routine that I call shell_exec to traverse my own website and build an index.
However since I do this multi-threaded I have been running into problems with memory storage...server memory spikes to 250MB then back down to 100MB randomly.
I am constantly accessing the mysql database during this time; and th... | stackexchange/codereview |
I often have to restart my IDE when trying to run a test set from within Visual Studio 2010 since it keeps being hung/not-responding very often.
Do you have the same problem? If you do, do you have a work-around for that? Please share.
| stackexchange/codereview |
Im trying to us a controller in MVC2 to upload a file but i get an object reference not set to an instance of an object error
[HttpPost]
public ActionResult AddPhoto(int id, FormCollection formValues, HttpPostedFile image, AlbumPhotos photo )
{
AlbumPhoto photos = new AlbumPhoto();
... | stackexchange/codereview |
I am integrating the displaytag library into my Spring MVC Application. I am using Ant for builds in my project. I have followed the installation directions from the website, which you can find here Installation Instructions for Displaytag
It states that the dependencies for displaytag use are the following
commons-... | stackexchange/codereview |
Is it possible in any way to just update the database schema from entity model..? So that all the information in the database stays in the database? When you generate database from model the information will get lost.. I work against SQL Azure, and I have not found any tool to manage the tables and realations in the SQ... | stackexchange/codereview |
I'm after some a script or tool to automatically add iPhone, iPad, etc devices to the Provisioning Portal. Is there anything out there (preferably OSS) that I can use?
Bonus points for generating Ad-Hoc certificates!
| stackexchange/codereview |
Suppose Screen1 is the main screen of an Android application MyAndroid. Now if another screen, Screen2 has to be opened from Screen1, then which of the following are true?
Screen2 has to be a part of MyAndroid.
Screen2 can exist in any other Android application installed on the device.
Screen2 will always be launched ... | stackexchange/codereview |
I'm running into an inconsistent optimization behavior with different compilers for the following code:
class tester
{
public:
tester(int* arr_, int sz_)
: arr(arr_), sz(sz_)
{}
int doadd()
{
sm = 0;
for (int n = 0; n < 1000; ++n)
{
for (int i = 0; i < sz; +... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.