instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm writing a 3D grid for my scientific software and I need to iterate through the nodes of the grid to get their coordinates. Instead of holding each node object in the container I'd rather like to just calculate the coordinates on the fly while iterating. The problem is that stl::iterator requires to return reference... | stackexchange/codereview |
I recall seeing a project for assembling a kernel out of parts that were deliberately factored/deconstructed so as to maximize separation. Does anyone know of such a project? It goes without saying I need it to be Open Source.
| stackexchange/codereview |
I have Table1, where I want to modify previous_sum where previous_sum is the sum of the numbers field in Table 2 up to that specific date. Example:
Table1
Date___|___previous_sum
01/01__|___20
01/02__|___50
01/03__|___100
Table2
Date___|___numbers
01/01__|___20
01/02__|___30
01/03__|___50
So, previous_sum is 0 in t... | stackexchange/codereview |
I use ThreadPoolExecutor to run some actions, at some time I cancelled some future tasks and stored it into a list to arrange some other tasks to do, and after that I want to reactive the saved cancelled future tasks.
But the problem is when I submit the task into the pool, it would not be executed, looks like the canc... | stackexchange/codereview |
My Example
Relatively simple layout.xml.php:
<?xml version="1.0" encoding="<?php echo sfConfig::get('sf_charset', 'UTF-8') ?>"?>
<example>
<?php echo $sf_content ?>
</example>
Simply isn't being used by any XML templates e.g. indexSuccess.xml.php
The Symfony documentation states:
The layout is automatically disabl... | stackexchange/codereview |
How to read one excel file and write the content of the excel file to another excel file?
| stackexchange/codereview |
I have used appcmd to create websites on my local computer. There doesn't appear to be a server parameter which means that i have to remote desktop on to each machine that i'm deploying to and run the appcmd command.
Also, can i use appcmd to deploy to IIS 6.0? If not, how do i deploy to remote IIS 6.0 web servers? I'v... | stackexchange/codereview |
I have a table with multiple rows which contain form inputs (checkboxes, text, dropdowns). When I click save I want to be able to get JSON representing each table row which will be used in an AJAX request. Each row has an id on it so I would like to get back something like this:
[1: { "input_name":"input_value", "input... | stackexchange/codereview |
I am trying to use Datediff to find out the duration between columnA and columnB.
SELECT datediff (minute, stime, etime)
from Exceptions2
where stime = [exceptions2].starttime
and etime = [exceptions2].endtime
This produces errors. Can anyone please help me with what I'm doing wrong?
| stackexchange/codereview |
Does Magic Model Generator work under Rails 3.0? I can't make it work, the install instructions that I found, doesn't help me.
Does exist an alternative to Magic Model Generator that can infer validations and associations from an existing database?
Thanx!
| stackexchange/codereview |
Would like to set the font style for extjs emptyText to italic rather than normal. This link suggests that style is inherited from com.extjs.gxt.ui.client.widget.BoxComponent but I can't find where.
http://www.sencha.com/helpcenter/index.jsp?topic=/com.extjs.gxt.help/html/reference/uml-api/com/extjs/gxt/ui/client/widge... | stackexchange/codereview |
I've got a complicated batch application, and I want to test that my assumptions about flow are correct.
Here's a much simplified version of what I'm working with:
<beans>
<batch:job id="job1">
<batch:step id="step1" next="step2">
<batch:tasklet ref="someTask1"/>
</batch:step>
<batch:step id="step2.... | stackexchange/codereview |
I'm kind of new in android AOSP development, and I'm trying to click to the trackball and launch an app already installed (Camera App).
I'm looking at the policy.androdoid, but i just doesn't understand how to gain controls of the hardware buttons and where to start.
Any help, source code example or something like that... | stackexchange/codereview |
Thank you
I learned a lot from this site
I have a question
I finished the application is running
webview
But I remain one step keeping the program
And send it to the iPhone to try it on two ipa
I want to save formulas ipa
Thank you
| stackexchange/codereview |
I am developing an app where a single activity is instantiated multiple times by itself. I guess you could think of it like a book where each activity is a page. At the end of the page (activity) the user presses a button to go to a new page. I fire off an Intent for the same Activity, but I push different data into... | stackexchange/codereview |
In order to find the max draw down of a stock price versus time graph, you first have to find all local maximums (peaks) and local minimums (valleys) for a given set of prices and days. How would you do this in SQL Server 2005?
edit:
There is a brute force way of doing this with cursors:
compare the high of the first ... | stackexchange/codereview |
I am doing a query on an mysql database based on typed data sent from a jquery autocomplete function. It works fine but take several seconds (5-6+) to get the returned suggestions. There are around 200,000 product entries in the database currently which is expected to go to well over a million entries. How can I speed ... | stackexchange/codereview |
I want to take a string entered in an iphone app and populate a tableview with strings from a dictionary that are likely correct spellings of the word. I understand levenshtein distance is the way to do this but wondering if anyone was aware of any way to do this natively or whether there was a library that i could us... | stackexchange/codereview |
Is there a way to assign/pass/copy a javascript variable to a server side variable in C#? For the sake of argument, let's say that I was able to parse some JSON for variables that I want to store and assign them on the client (ie. var = FirstName and var = 25 and var = someDateTime, etc) .
| stackexchange/codereview |
Im starting making an application with GWT. Now, i use the AbsolutePanel widget to describe a "div". After this, i create a label (should be a span?), i add to this panel and i apply a css class to the div.
this is the code :
public void onModuleLoad() {
AbsolutePanel contenitore = new AbsolutePanel();
final La... | stackexchange/codereview |
I know this is normaly implemented with a temp file but this wont work here since we are dealing with pretty large files stored in a database.
so far my idea is to create a small temp file that has a unique name and do a FileSystemWatcher monitoring the drop to get the path. but this doesnt seem optimal eighter.
are th... | stackexchange/codereview |
I'm located behind a SSL proxy and am trying to use Chrome with StackOverflow, but I'm unable to authenticate to Google's server (or any others) and get the following error:
"Error 107
(net::ERR_SSL_PROTOCOL_ERROR): SSL
protocol error."
Can anyone explain to me why this would be happening? I am able to access ht... | stackexchange/codereview |
I'm currently having some conflicts with UIGestureRecognizers that is causing everything to place nice with each other. I have several squares (UIView) on the screen that let the user to pan and pinch (used to scale the views). I have a UIPinchGestureRecognizer added to the main view which the squares are added so th... | stackexchange/codereview |
My understanding is that Silverlight does not support DataTemplates with a DataType attribute.
How then would you accomplish the following in SL (author is Josh Smith, full link below). In a nutshell, he's saying that if you bind a TabControl's tab pages to a collection of ViewModels, WPF will figure out how to displa... | stackexchange/codereview |
In the MVC design pattern, which class file (appdelegate, viewcontroller etc) is best suited for these IBOutlet/IBAction scenarios?:
IBAction (e.g. Show Menu) to be triggered by UIButton press event?
IBOutlet to manipulate a UI elements properties (e.g. Hide Menu)?
A poke around Apple's sample code seems to show IBOu... | stackexchange/codereview |
Can posted input values on onbegin of ajax.beginform be modified?
I have to modify values of some of the input fields after the form is submitted. But even if I change the values through js, at server side in request.form I am getting the old values which were set initially at the time of form submit. How to get the mo... | stackexchange/codereview |
ruby on my development machine:ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
capistrano on my development machine: Capistrano v2.5.5
OS on development machine: ubuntu 10.04 desktop edition
server is Amazon web service instance running on ubuntu server 64 bit 10.04
ruby on server: ruby 1.8.7 (2010-01-10 patchlevel... | stackexchange/codereview |
very quick question. I am wondering if there are any software Django software that generates python coding automatically. If there are any, please let me know.
| stackexchange/codereview |
I want to do case insensitive search in hibernate Query. I can do it with Criteria but it is not an option for me right now. The method which fire query takes a query string as input and it is used by other components. Is it possible to enable case insensitive for Hibernate session or prepare criteria object from hql q... | stackexchange/codereview |
A colleague of mine asked me to take a look at some cookie behaviour. He created simple web app that created a cookie and inserted the value of a text field, he then checked the cookie collection on the next page to see it had been inserted and read back correctly.
All simple really.
On the second page however he note... | stackexchange/codereview |
I have 2 classes:
public class A
{
int n = 10;
public int getN()
{
return n;
}
}
public class B extends A
{
int n = 20;
public int getN()
{
return n;
}
}
public class Test
{
public static void main(String[] args)
{
B b = ... | stackexchange/codereview |
I'm learning Django and working on sample sites.. I registered at alwaysdata but am unable to view the site after I go 'manage.py runserver' in the SSH (this is after I've created the project and navigated to the appropriate directory, of course).
I appreciate any help.
Thanks
| stackexchange/codereview |
I am using Mathematica 7 in the notebook interface and I want to rearrange an inequality so that I get a certain variable on one side. For eg.
FullSimplify[x^3+L+r>3x^3+2r]
Gives
L > r + 2 x^3
However, I want :
r < L-2x^3
Is there anyway we can instruct FullSimplify to order variables in a particular way? I am using... | stackexchange/codereview |
I have a matrix in a report that returns five rows. effectively this
r1 | s11 | s12 | s13 | s14
..
r5 | s51 | s52 | s53 | s54
I need to add a sixth row that computes a value based on the values in row 1 and row 5.
r6 | s11+s51 | s12 + s52 | etc....
Is this possible and if so, how do I do it?
| stackexchange/codereview |
Cocos2d version: v0.99.04
I'm adding Game Center to my current application and I found some code to open up the GKMatchmakerViewController. It seems to work well, except when it gets dismissed it changes the orientation in the simulator to portrait. The game only runs in landscape. I rotate the device back to landscape... | stackexchange/codereview |
I was doing some web scraping and i was looking for some div elements with particular class names and markup.
This is my objective , i have to extract everything within the div having the class s_specs_box s_box_4
Could someone please provide the regular expression in .NET terms (i.e., which can be straight away passed... | stackexchange/codereview |
In my web.config, I have the file upload size limited to 10 MB:
<httpRuntime maxRequestLength="10000" /> <!-- file size limit in KB -->
On my page, I'm checking to see that the user doesn't upload a file larger than 5 MB:
protected void cvImageSize_ServerValidate(object source, ServerValidateEventArgs args)
{
args... | stackexchange/codereview |
I got one UITextField on my Modal view controller.
When "Done" key is clicked, i want to dismiss the modal view.
i don't know where should i add below code to dismiss modal view.
Thanks in advance for any help.
[self.parentViewController dismissModalViewControllerAnimated:YES];
| stackexchange/codereview |
I need help with a camera following a sprite. I have a camera class which isn't following the sprite properly. My camera class is
camera cam;
cam.position = sprite.position;
this piece of the code isn't executing properly. everytime I run this code it resets my sprite as if it was in position (0,0) and then follows m... | stackexchange/codereview |
I'm attempting to hide all li's within a div which is dynamically generated when a use clicks a button. The content of the div is pulled through an Ajax call and I then assign to a div on the page.
For some reason though, any attempt to alter the style with jQuery doesn't have any affect. I notice I also have to apply... | stackexchange/codereview |
Using Netbeans, I develop sites with Tomcat as the local server to manage it.
In Netbeans it was "Install, write hit Run and it works"
How do I pull the same thing off in IntelliJ?
I can't find step-by-step instructions for this.
| stackexchange/codereview |
Using FP 10.1, and undecide which is more efficiency if I implement a skin button with FXG contain gradient, bevelfilter, stroke for up and down state VS two state of images.
Which one would use less CPU? When do I use cacheasbitmap?
| stackexchange/codereview |
I was reading that V8 isn't multithreaded, and can't be by design.
Is this true? Is it really the case that I can have a script optimized to run concurrently (on node.js) but that concurrency can't extend to multiple processors? I kinda thought that was a major reason for a concurrent design.
| stackexchange/codereview |
Is there a way to specify where Selenium RC spawns the browser window?
When I run my test script, Selenium RC opens 2 windows in the browser, the Selenium RC window and the AUT, and the Selenium RC window takes up most of my screen space. Ideally, I want to control where their location and size separately, but if not, ... | stackexchange/codereview |
Is it possible to have multiple contact forms on one page and still validate and send an email without the page refreshing.
I have used the tutorial below but if copied obviously this still only validates the original form...
http://www.ajaxfreak.com/2009/12/03/submit-a-form-without-page-refresh-using-jquery/
I could c... | stackexchange/codereview |
The most commonly used type parameter names are:
E - Element (used extensively by the Java Collections Framework)
K - Key
N - Number
T - Type
V - Value
S,U,V etc. - 2nd, 3rd, 4th types
I don't seem to quite understand what exactly does every letter correspond to. I understand that each letter represents just a conven... | stackexchange/codereview |
I have the same problem as posted here
I have a <button> element that triggers "A potentially dangerous request.form value..." error in asp.net MVC. For instance:
<button type="submit" name="logon" value="ok">Confirm</button>
<button type="submit" name="cancel" value="ok">Cancel</button>
And this javascript (with jque... | stackexchange/codereview |
I have a question about validation in Java, I have looked at previous topic and none seem to answer my little problem.
What I am trying to do is validate what is put into a string variable in the constructor but also when a set method is used.
What I need to is If Mr Miss Mrs or Ms is entered, then to set that in a Var... | stackexchange/codereview |
Trying to automate WHQL testing using the ONE AND ONLY document available on the subject: http://www.microsoft.com/whdc/devtools/wdk/dtm/dtm_dsso.mspx
I've played with the example code and am able to connect, list devices, etc. From there I've created a new project, a .NET 2.0 C# class:
using System;
using System.Refle... | stackexchange/codereview |
I have a requirement for a multiple series line graph.
I am looking at pure javascript solutions and feel flot looks like a good option.
However the points along the line may not be continuous but I want the line to be joined.
ie
y [Jan Feb Mar Apr May Jun]
Series 1 [4 4 5 6 7]
Series 2 [5 6 7 ... | stackexchange/codereview |
When I open the extensions manager in my Xul app using:
app = "chrome://mozapps/content/extensions/extensions.xul";
window.open(app,'Test','chrome, width=640, height=480').moveTo(0,0);
I get the following error in the javascript console:
Error: uncaught exception:
[Exception... "Component returned
failure code: 0... | stackexchange/codereview |
I'm passing options to the qTip plugin like so:
hide: {
when: {
event: 'unfocus',
event: 'inactive',
event: 'click'
},
},
It appears to be working but should I bundle those 'events' somehow?
| stackexchange/codereview |
Having used Haml and Sass for a few Rails side projects, I've found that they speed up my frontend development tremendously. However, I haven't found a Rails blogging platform that's as robust or familiar to clients as Wordpress, so that's still generally my go-to for projects that require a light website with basic C... | stackexchange/codereview |
How to do it in one query?
| stackexchange/codereview |
I am a newbie of glade/pygtk.
I am doing with some radio menu items.
I created a signal handler on the signals tab,
handler: on_group_menu_change
user data: 7
what I expected is pass the int(or str) value 7 as user param to the handler. However, at startup, I found such warning:
Could not lookup object 0 on signal
... | stackexchange/codereview |
Is there a way to disable restrictions of javac 1.6.0_22 that prevent me from using JRE internal classes like sun.awt.event.* ?
I'm not looking for:
an explanation why it is forbidden.
suggestion to use different classes
suggestion to use reflection
suggestion to use ecj/eclipse
I just want to know if it is possible ... | stackexchange/codereview |
Let's assume I have 2 Controllers, TopicsController and PostsController.
For each controller, I have a couple of views (Index & Details).
The Topic (Index) view inherits System.Web.Mvc.ViewPage<IEnumerable<MessageBoard.Models.Topic>>
The Topic (Details) view inherits System.Web.Mvc.ViewPage<MessageBoard.Models.TopicFor... | stackexchange/codereview |
i have a problem with my server which is running ubuntu (debian) linux and apache 2.2/php 5.2
as this is mainly a productive server, display_errors is turned OFF in the php.ini
for development purposes, i want to enable these error reporting stuff for certain domains. but when i set
php_flag display_errors on
in the .h... | stackexchange/codereview |
I have a WebBrowser in my C# application, in which i want to show a SVG file. However, when I run the app on a Windows 2008 R2 machine, the SVG file does not show up.
When I have a look at the same file on the same server in Internet Explorer, everything looks ok.
What i already have tried:
IE ESC settings on or off
... | stackexchange/codereview |
In SSMS 2008 R2, I created a table:
aTest(Albnian varchar(10), Dflt varchar(10))
In SSMS table designer, both columns have the collation: "<database default>" (under "Column Properties" → "Table Designer")
I changed the collation of the column "Albnian" to a non-default, for example, Albanian_CI_AS.
If I script the ... | stackexchange/codereview |
I'm using Java SE 6.
My program reads several kinds of files ranging from dos to unix and ascii to unicode, and I have to make sure that the line separators for the output file match the input files.
The way I do this is I read a sample line with BufferedReader read() function to search for the first line separator and... | stackexchange/codereview |
I'm using Jadex 0.96. I would like to use V2 but I could not get the current version to stably initialize the JCC on my Mac.
With Jadex 0.96, I am trying to use opencsv:
http://opencsv.sourceforge.net/
This requires me to add a .jar file to my project. I have some classes built that depend on opencsv that work fine whe... | stackexchange/codereview |
I have a upload page done with classic asp and I want a progressbar.
Could be with jquery, ajax?
Does anyone know where I can find a solution, thanks.
| stackexchange/codereview |
Can anyone tell me what are the debugger(s) available for the C++ language.
Also please provide details about those debugger or reference to get details for the same.
| stackexchange/codereview |
I'm writing a python applet for data acquisition from scientific instruments and I'm trying to figure out the best way to manage my device "drivers".
Each driver is represented by a separate python module in the package that is my program. They each implement some standard interface, but mostly it's a gigantic list of ... | stackexchange/codereview |
I have two drop down forms. When the first is "changed" the second is populated with some data via ajax.
It's work but the value of the second drop down is not cleared on every request (I'm using $('#second_drop_down').children().remove();)
Here is sample code
$('#first_drop_down').live('change', function() {
var x... | stackexchange/codereview |
How would I go about selecting from one mysql table (friends) and ordering the results by fields in another table (users)?
The tables are setup as follows:
CREATE TABLE `users` (
`id` int(12) NOT NULL auto_increment,
`first_name` varchar(100) NOT NULL default '',
`last_name` varchar(255) NOT NULL default '',
PR... | stackexchange/codereview |
I cannot find a way to pass an anonymous type to a generic class as a type parameter.
// this is the class I want to instantiate
public class ExtArrayStore<T> : IViewComponent
{
public IQueryable<T> Data { get; set; }
...
// the creator class
public static class ArrayStoreGenerator
{
public static ExtArraySto... | stackexchange/codereview |
I am using WPF Toolkit Datagrid in one of the applications I am working on. What I want is to store the column width and displayindex as a user preference. I have achived it for column displayindex but for resize I could not find any event on the datagrid which will trigger after column size change.
I have tried the "... | stackexchange/codereview |
We are developing HTML5/CSS/JS web app and intended to run it on Win MAC and Linux desktops.
Which environment should we choose in terms of future investment protection - Adobe Air, Appcelerator Titanium or probably another one?
We prefer Titanium, but it seems stuck in development - no updates since spring 2010.
| stackexchange/codereview |
Most of you probably know the text-to-speech synthesizer of google translate, as you can access programmatically here btw:
http://translate.google.com/translate_tts?tl=en&q=text
My impression was it's sometimes using espeak, but in the major languages, the quality is much better than that. Anybody knows what Google is... | stackexchange/codereview |
I am trying to configure vim's 'path' and 'suffixesadd' so when I use gf over FILE_NAME, and pwd is /some/dir/, it opens /some/dir/FILE_NAME/File_Name.xml
In vimrc I put:
set suffixesadd=.xml
set path=.,dir/**
But, instead of opening File_Name.xml it opens the directory FILE_NAME
What should I do to configure vim so i... | stackexchange/codereview |
I'm looking for something similiar to indent but for (bash) scripts. Console only, no colorizing, etc.
Do you know of one ?
| stackexchange/codereview |
I am delivering a JS response from a PHP file. When setting the Content-Type header which value should I use, application/javascript or text/javascript?
What’s the difference between the two?
| stackexchange/codereview |
already delphi win32 exe size is ~850 kb , do they have any roadmap of making exe size bit smaller,(i know that the size is because of vcl unicode RTTI and many more ),delphi compiles the whole unit even only a small function in the unit is needed. so is there any facilities to do so,or third party products are there ,... | stackexchange/codereview |
Why is my jQuery having an error when I put this line in?
<script type="text/javascript">
$(function(){
$(".arrowbutton").click(function(){
id = $(this).attr('rel');
$.ajax({
type:"POST",
url:"/upvote",
data:{'id':id},
... | stackexchange/codereview |
How do I pass parameters from ServletOne to ServletTwo using a HTTP POST through URL intead of using HTTP GET in the servlet?
For example: http://localhost/ServletOne?username=test
If the above link is accessed, in ServletTwo, username test will be displayed.
| stackexchange/codereview |
Below is a matrix to convert RGB to YCbCr. Can you tell me how can I get formula to convert YCbCr to RGB?
I mean, I have YCbCr value available and I want to get RGB from it.
| stackexchange/codereview |
May be my question is dumb but here it is.
Is Covariance and contravariance only applicables for delegates in c#?
Can we have Covariance and contravariance in normal class hierarchies?
| stackexchange/codereview |
I want to bind the value property of a WPF ProgressBar to a dependency property that is updated during a long running process. If the long running process is called from the main thread then this blocks the UI (and hence the ProgressBar) from updating until the process completes - preventing the desired progress throug... | stackexchange/codereview |
I've found several posts detailing how to perform a weighted average based on a foreign key, but I have yet to find a solution that deals with my situation. Here it is:
I have two tables, table A and a table B many-to-many table linking them; nothing complicated:
TableA
{
A_ID,
Other stuff
}
TableB
{
B... | stackexchange/codereview |
I've read about Google and Google's possibility to crawl ajax pages using hash followed by a exclamation mark in the url, #!
( http://code.google.com/web/ajaxcrawling/docs/getting-started.html )
I have changed my website and I was wondering about Google Analytics. How do I track my visitors ajax requests?
Thank you in ... | stackexchange/codereview |
I've a view helper method which generates a url by looking at request.domain and request.port_string.
module ApplicationHelper
def root_with_subdomain(subdomain)
subdomain += "." unless subdomain.empty?
[subdomain, request.domain, request.port_string].join
end
end ... | stackexchange/codereview |
I'm not sure if this is allowed but I have a main form that calls another form with ShowDialog which attempts to call another form the same.
So, for example:
form1 -> form2.showdialog -> form3.showdialog
I am getting an error at the showdialog of form3:
var ssscu = new SSS.SssTwainSimple.MainForm();
ssscu.ShowDialog();... | stackexchange/codereview |
How can I get a range of cells selected via user mouse input for further processing using VBA?
| stackexchange/codereview |
I'm getting a weird problem in memory deallocation.
I have the following code for class MemoryPartition:
#include <cstring>
#include <iostream>
#include "memorypartition.h"
MemoryPartition::MemoryPartition(int maxSize) {
this->partitionArray = new char[maxSize];
memset(this->partitionArray, ((int) '$'), maxSi... | stackexchange/codereview |
In Codegear RAD Studio 2007, I'm trying to do some file deletion and copying during the pre-build and post-build events that involve folders named after the current configuration. In Visual Studio, this is easily done with the $(ConfigurationName) macro.
Is there any equivalent to this in RAD Studio? If not, is there ... | stackexchange/codereview |
If a project has multiple people, say, A,B,C working together and they all edit a same source file.
Couple months later, they realize that what A has been doing is wrong and they want to roll back the file in such a way that only parts/functions/lines/... that A "touched" are removed and the work B and C did is still ... | stackexchange/codereview |
I have been trying to do this all day. At the end i managed to get it working. I know it is not the best way to do.
Can someone please show me a better way. I need 12 altogether. It does not need to be check box either. It can be just a text. I got the idea from com/2006/12/14/using-jquery-to-show-hide-form-elements-b... | stackexchange/codereview |
Is this possible to use let keyword with nhibernate linq?
I wrote
var posts = from post in postsRepository.GetPosts(name)
let commentsCount = (from c in NHUnitOfWork.CurrentSession.Linq<Comment>()
where c.Post.ID == post.ID
select c).Coun... | stackexchange/codereview |
I have this code:
def getch(self):
if os.name == 'posix':
fd = sys.stdin.fileno()
old_settings = termios.tcgetattr(fd)
try:
tty.setraw(fd)
ch = sys.stdin.read(1)
finally:
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)
elif os.name == 'n... | stackexchange/codereview |
I have a number of interfaces I use to pass business objects around in my application. Using Ninject, I can do whatever I want with them without needing to know the type of the actual object; in this case, most of them are actually various Linq to Sql objects that implement the interface.
For example, I have a Linq to ... | stackexchange/codereview |
When I use itms://.itunes.apple.com/us/album/speak-now/id399727924 it works fine in xcode.
But, I'm trying to use this in phonegap and external linking is not working.. is there a way to launch itunes within app.. ex: _webapp?
thanks,
jad
| stackexchange/codereview |
I'm running tomcat 6.0.20 (with spring, if that matters) and can't seem to get stack traces from uncaught exceptions thrown from within my code to print to catalina.out.
I'm trying to mimic the output that you see in the eclipse console. When I deploy a war on a production server and start tomcat, most of the output g... | stackexchange/codereview |
I have a canvas that contains a couple other elements. I need this canvas to animate continuously along a circular (elliptical) path.
How can I do this in XAML?
| stackexchange/codereview |
Can I call a webservice from a Controller Action in ASP.Net MVC?
public ActionResult Index()
{
PersonObject person = new Person("Sam");
//Call a webservice which is located in the same app under /Services/General.asmx/WebMethod and pass it person
}
Basically I want to do this from my Action...
$.a... | stackexchange/codereview |
I'm using paperclip to upload some text/csv files to an S3 bucket.
I need to edit those files occasionally. How can I edit and re-save those?
Before using S3, I was just using File.open for saving the files, but that throws a "No such file or directory" error now.
| stackexchange/codereview |
We've built a windows service which uses some COM+ components (developed by us). It runs on a Windows server (virtual through vmware) and something is eating memory.
Memory check
I did a small application which runs through all Process.GetProcesses and return their total memory usage:
First run:
C:\Temp>ProcessExplorer... | stackexchange/codereview |
I m trying to call a model Panel through CommandButton in Windows Vista Mozilla Firefox:-Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 GTB7.1 (.NET CLR 3.5.30729)
When Ever i m clicking On the CommandButton IT is showing a blank white Page and its look like Browser Serching ... | stackexchange/codereview |
According to NSObject's documentation:
Important: Note that when an
application terminates, objects may
not be sent a dealloc message since
the process's memory is automatically
cleared on exit --- it is more
efficient simply to allow the
operating system to clean up resources
than to invoke all the memo... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.