instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
... waiting . ...done.
username@servername Thu Nov 04 18:54:37 ~/public_html/IDM_app
$ sudo tail -n 60 /var/log/apache2/error.log
[Thu Nov 04 18:54:27 2010] [error] [client 8.17.58.38] mod_wsgi (pid=28760): Exception occurred processing WSGI ... | stackexchange/codereview |
Suppose I have two tables tab1, tab2. Full text indexes created on all varchar columns on these two tables. Then issue following SQL:
SELECT *
FROM tab1 a
JOIN tab2 b on a.ID = b.ID
WHERE CONTAINS(a.*, @keystring)
OR CONTAINS(b.*,@keystring)
It is pretty slowly(almost 30 seconds). But If I issue followin... | stackexchange/codereview |
Is this the best approach to handle both cases ?
public static class Program
{
//http://blogs.microsoft.co.il/blogs/arik/archive/2010/05/28/wpf-single-instance-application.aspx
//http://social.msdn.microsoft.com/forums/en-US/wpf/thread/dee46bde-9baa-46b6-889c-04e20dd04029
//http://msdn.microsoft.com/en-us/... | stackexchange/codereview |
i'm trying to upload all of the contents in a folder to another folder in my server using jsp and servlets. I already got one FileUpload but as you may know i can only choose a single file. Is there some possible way to do this?? To be able to choose a folder instead of a single file from a jsp?
Thanks in advance
| stackexchange/codereview |
#import "HeadlinesController.h"
#import "DDXML.h"
@implementation HeadlinesController
- (id)init
{
if(self = [super init]) {
self.title = @"Headlines";
self.tabBarItem.image = [UIImage imageNamed:@"166-newspaper.png"];
self.variableHeightRows = YES;
self.dataSource = nil;
... | stackexchange/codereview |
I need to send special keys to a remote terminal, how can I do that with JSCH?
Thanks,
Walter
| stackexchange/codereview |
Can you ignore case in a group by? For example if there is a table of states but it has records with "Alabama" and "alabama", or "Alaska" and "alaska" and you want the group by that column but just get back a single 'group' for Alabama and Alaska.
thanks
| stackexchange/codereview |
Using only bitwise operators (|, &, ~, ^, >>, <<) and other basic operators like +, -, and !, is it possible to replace the "==" below?
int equal(int x, int y) {
return x == y;
}
| stackexchange/codereview |
In my site i want to monitor a particular url,in google anlytics there is an option as goal set but my url is somewhat like this
http://www.xyz/support/1
http://www.xyz/support/123
http://www.xyz/support/214
http://www.xyz/support/11
How to monitor the time spent on the url http... | stackexchange/codereview |
Asked a question earlier and got a fantastic response, you guys are amazing. The question now is how to properly implement the solution.
I'm attempting to use jQuery and prototype libraries with each other, using the jQuery.noConfict() fix:
<script src="./js/prototype.js"></script>
<script type="text/javascript" src="h... | stackexchange/codereview |
I have 2 tables, one for user_data and one for user_stats. Im trying to update a field in user_data for all users to a single value ("active") based on the last login field of the user_stats table.
Im trying to avoid a loop since all corresponding fields will just be updated to "active".
Heres basically what Im tryi... | stackexchange/codereview |
Starting Apache Solr Admin (Win7), after configuring Solr DataImportHandler to connect to SQL Server using JDBC SQLServerDriver, produces following error. MS Sql JDBC Connector sqljdbc4.jar is placed in bin, and lib folder of Solr.
org.apache.solr.servlet.SolrDispatchFilter init
SEVERE: Could not start SOLR. Check solr... | stackexchange/codereview |
I'm trying to parse information from fonefinder.net. I was trying to use simplexmlload_file, but couldn't get the page to load successfully.
Now, I'm looking into Curl. But I'm not sure if this will work either.
I basically just want to take the html from the fonefinder page, and parse it to get phone carrier and city.... | stackexchange/codereview |
I load my data from NSUserDefaults and it works well.
But I'm a little concerned that the first time the app will be fun and there is no saved data something strange might happen. Is there a way to check that I am not getting back nil values or some kind of standard query to see what you are getting back is a valid ans... | stackexchange/codereview |
I'm currently trying to get my head around WCF services for an ASP.NET dev environment, and I believe that I'm doing well save for one thing that has me stumped.
Basically, I've got a WCF service set up (let's take the default, with an added constructor):
public class MyService : IMyService
{
public MyService() { /... | stackexchange/codereview |
I am currently trying to replicate my IndexController to a BetaController. I want Beta to use the same template files as Index and I thought I have it correct in the layout xml file, but apparently it is not working correctly.
I know the Beta controller is working correctly since I can output text from the controller.
... | stackexchange/codereview |
I am working on the design of a decision making system that invokes complicate logic, potentially I will need to use a lot of nested if/else statements,
I want to see if is there a better design patter than can help me to simplify the structure of the system and provide a certain extensibility for future improvement.
... | stackexchange/codereview |
Possible Duplicate:
Finding the type of an object in C++
Hello,
I am sorry if it's a duplicate but I was not able to find answer to my question here.
Let's assume we have following class structure in c++:
class CPolygon {
protected:
int width, height;
public:
void set_values (int a, int b)
{ width=... | stackexchange/codereview |
Is there any way to read the header information received by GWT client, on the RPC response?
Response header
Server Apache-Coyote/1.1
Set-Cookie JSESSIONID=3379B1E57BEB2FE227EDC1F57BF550ED; Path=/GWT
Content-Encoding gzip
Content-Disposition attachment
Content-Type applica... | stackexchange/codereview |
The Action<T> delegate return void. Is there any other built-in delegate which returns non void value?
| stackexchange/codereview |
I am an iPhone developer and know that framework well. With the Mac App store on the verge, I'l like to learn more about Mac development. Are there any good guides/tutorial/etc. to help with the transition? I have looked around and not found much. Thanks for the help!
| stackexchange/codereview |
I've been having an issue with using AudioRecord for Android. I've read as much as I can find online about it, but I cannot seem to get a good initialization. I have tried the Android 2.2 emulator, 1.5 emulator and my phone, an HTC Incredible running Froyo. The emulators and my phone fail initialization.
I've tried sam... | stackexchange/codereview |
I've got a zillion different tool windows all docked & hidden in IntelliJ but what I'd really like to do is to close some of them. I'll never use them and they're just adding to the visual clutter. There are buttons for everything BUT closing.
Any suggestions?
| stackexchange/codereview |
I want to join two tables, but the two join fields differ for the format:
one is a decimal and one is a string.
Linq doesn't let me convert the decimal field to string with ToString() or the string field to decimal with Convert.ToDecimal() comand.
var tmp = from c in gge.GiftCards
join p in gge.Customers
... | stackexchange/codereview |
Is there any way to use a sizeof in a preprocessor macro?
For example, there have been a ton of situations over the years in which I wanted to do something like:
#if sizeof(someThing) != PAGE_SIZE
#error Data structure doesn't match page size
#endif
The exact thing I'm checking here is completely made up - the point i... | stackexchange/codereview |
I would like to create a setup with three basic dialogs (one input dialog):
Browse (next + exit button)
Progress
Finish
No welcome dialog or any other unnecessary dialog. Maybe even combine 1&2, but I would like to stick to predefined dialogs for the moment.
I looked at WixUI_Minimal, but couldn't figure out how to m... | stackexchange/codereview |
I'm using Visual Studio 2010 and Windows 7 x64
The command prompt closes after exit, even though I used "Start without debug". Is there a setting somewhere that I can use?
| stackexchange/codereview |
For a .net project, I use DirectShow (through DirectShow.net) with the VMR9 in windowless mode for video display.
On Windows 7, I noticed a pixelization problem when the video is resized (magnified).
I can’t find how to tell the VMR9 to use a specific interpolation algorithm (i.e. bicubic).
It looks like, by default, i... | stackexchange/codereview |
Just 2 days ago I got to learn log-in controls and forms authentication in ASP .NET.
Before then I used to create my own database my user table and my own logic for log-in and log-out using sessions and sql server.
The new ways is cool as it allows me to do the work fast than before, but what when I use these log-in an... | stackexchange/codereview |
Possible Duplicate:
C# vs Java generics
What is the differences between implementation of generics in C#/.NET and in Java?
What is the differences between support of generics by theirs runtime/vm?
| stackexchange/codereview |
I saw this http://www.tynt.com/... and I loved their services. only I'm trying to develop something custom for me.. They library is large. I'm trying to do this for the past 10 hours.
Here where I got:
$(document).ready(function() {
var ctrlDown = false;
var ctrlKey = 17, vKey = 86, cKey = 67;
$(document).... | stackexchange/codereview |
What is the best option for getting contact data into Exchange from an external database/file?"
| stackexchange/codereview |
I want to open links in my post on a new page or a new tab rather. But only the link in the specific division, not all the links on my page. I don't wanna put _blank in all my tags it's too time consuming. How can I do that?
Thanks in advance.
| stackexchange/codereview |
I able to upload my file through uploadify + .ashx, but the problem is I always get ContentType = application/octet-stream
Lets say I upload an image, I expected to return me "image/pjpeg", but it always return "application/octet-stream" no matter what file I uploaded.
Please advice how to get the correct contentType i... | stackexchange/codereview |
In the App Engine's JDO implementation, object types are saved as a 'Kind' with the Entity that is persisted to the datastore. When these Entities are fetched back out of the datastore, they are automatically returned (in some layer of JDO) as the original object type. What confuses me is that only the simple name of t... | stackexchange/codereview |
I'm building a Windows Phone 7 app in Silverlight.
I have a list of content in a ListBox. When the user presses a button, "Remove" icons should appear next to each item in the list. Ideally, the list items would slide over, and the icons would be animated in.
I'm not sure what the best way to go about doing this is. I'... | stackexchange/codereview |
So, I built a form in Access 2007, and put a subform on it. Then I went to the Property Sheet for one of the controls on the subform and used the builder to point to Code Builder for the OnClick event. This opened the VBA editor & inserted a sub skeleton. I added code here (just a freakin' MsgBox, so far), saved & trie... | stackexchange/codereview |
I have an extension method here like this:
public static class Extensions
{
public static System.Windows.DependencyObject SetToolTip(this System.Windows.DependencyObject element, object value)
{
System.Windows.Controls.ToolTipService.SetToolTip(element, value);
return element;
}
}
now when ... | stackexchange/codereview |
I've been trying to unpickle some dictionaries from the database. I've reverted to using the marshal module, but was still wondering why pickle is having such a difficult time unserializing some data. Here is a command line python session showing essentially what I am trying to do:
>>> a = {'service': 'amazon', 'proto... | stackexchange/codereview |
I need to migrate a website to a new CMS. We do not have access the original site except via http://mysite.com.
We currently have a variety of scripts that i). index the site and the ii). create some hierarchy and iii). scrape the unique content (ie. ignore header/ footer/ template etc).
The scripts actually work reall... | stackexchange/codereview |
I have an eclipse project with several jars for JPA / Hibernate. One of tham contains a META-INF/persistence.xml and I want to override that by defining my own persistence.xml. So I tried using my persistence.xml in src/persistence.xml also src/META-INF/persistence.xml but everytime it seems jar/META-INF/persistence.x... | stackexchange/codereview |
I have a PHP-page with a series of pie chart images (I use Google Chart Tools) all of the same 700x280 size:
<html>
<head>
<script>
var chart1 ='http://chart.apis.google.com/chart?cht=bhg&chs=700x280&chd=s:el,or&chco=4d89f9,c6d9fd';
var chart2 ='http://chart.apis.google.com/chart?cht=bhg&chs=700x280&chd=s:el,or&chco=4d... | stackexchange/codereview |
I want to define a tinyint with an accepted range of 0 - 10. I know how to use triggers to validate a column and achieve this effect.
However, is it possible to create a user-defined data type that specifies this range as a rule? Then, if a value outside of range is attempted, of course an error would be thrown automat... | stackexchange/codereview |
In Python, you can something like this:
>>> list(map(str.upper, ['foo','bar']))
['FOO', 'BAR']
I would like to be able to do something similar in javascript:
I've tried the following in Chrome using the native map implementation ( https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/map ):
['foo'... | stackexchange/codereview |
I have strange problem. Basically I have a Universal app that opens a link that takes to my other apps in the app store.The code I am using is
NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=somenumber&mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTun... | stackexchange/codereview |
Let's say I have a table with columns A, B, C, D, E, etc. where each column is an int. This table is populated with hundreds of rows with random values in each column. What is the optimal way to return the value corresponding to the 25th percentile for each column?
For example:
A B C D E
1 5 8 9 3
3 6 5 0 2
8 3 6 1 8... | stackexchange/codereview |
could any one help me to change the name of a column in a table without changing the type?
i am using the sql server 2008 to create table.
| stackexchange/codereview |
I'm trying to figure out how to modify the DOM to replace an element with a table. The following code shows a snafu I ran into: if I try to replace an element with a simple paragraph it works fine, but if I try to use a table then nothing shows up in Internet Explorer 8, although other browsers still work. How can I re... | stackexchange/codereview |
Okay so I am creating a web app thats essentially a workout journal. I created a database table for each entry that holds the date, workoutname, exercises, etc... I was wondering if in my form for creating a new entry I can create 3 drop down lists for the date - day, month, and time and have each of their values be co... | stackexchange/codereview |
I need to use Google Maps within a Facebook page (as a new tab). Is this possible? I searched online and could not find out how this can be done. Please help.
| stackexchange/codereview |
I am writing a python script to combine about 20+ RSS feeds. I would like to use a custom solution instead of feedjack or planetfeed.
I use feedparser to parse the feeds and mysql to cache them.
The problem I am running into is determining which feeds have already been cached and which haven't.
Some pseudo code fo... | stackexchange/codereview |
I am very sorry if I ask a wrong question but I really need a professional help. I have to make a rather complex project for a begginer, using Visual Haskell, for a course of functional programming. The problem is that because I am at the beginning I don't know what kind of theme to pick. I want to make a project that ... | stackexchange/codereview |
I have the following in an XML Document:
<ul class="toggle-control toggle-retain-state">
I'm using XML::LibXML to parse the entire document, and I need to take action when it finds the above item. The code I have inherited was:
my ($toggle_container) = $xRoot->findnodes('.//*[@id = "toggle-control"]');
It seems that... | stackexchange/codereview |
I'm implementing a DB2 Native SQL procedure. It's the first we've tried this in this shop. I've attached the code below. What this routine does is keep track of the number of new records added to a table by time. Whenever it fires, it either updates a record in the monitoring table or inserts a record if the table ... | stackexchange/codereview |
I have a dropdownlist in my page: (results is a div)
<%
using (Ajax.BeginForm("MembersByClubSearch", new AjaxOptions { UpdateTargetId = "results" }))
{
%>
<%= Html.DropDownList("ddlClubs", new SelectList(Model.ClubNameList, "ClubID", "ClubName"), new { onchange = "this.form.submit();" })%>
... | stackexchange/codereview |
I know the names of the columns I want to keep in the .csv file, but I am interested in removing all columns in the .csv which I don't recognize. How can php do this?
(The names of the columns are defined in the first row of the file.)
| stackexchange/codereview |
With these lines of code:
get-childitem -Path d:\scripts –recurse |
where-object {$_.lastwritetime -gt (get-date).addDays(-1)} |
Foreach-Object { $_.FullName }
I get a list of everything under the d:\scripts directory that is less than 1 day old in time stamp. Output:
D:\scripts\Data_Files
D:\scripts\Power_Shell
D:\s... | stackexchange/codereview |
I'd like to be able to build expressions like the following delegate:
Func<object[], object> createSomeType1 = (args) =>
{
return new SomeType1((P1)args[0], (P2)args[1], (P3)args[2]);
};
I'm just starting out with hand made expressions so excuse me if this is a rather simple question (or I'm misunderstanding somet... | stackexchange/codereview |
Java's StreamTokenizer seems to be too greedy in identifying numbers. It is relatively light on configuration options, and I haven't found a way to make it do what I want. The following test passes, IMO showing a bug in the implementation; what I'd really like is for the second token to be identified as a word "20001_t... | stackexchange/codereview |
I wants to access Form1's EventHandler In Form2
Form1 EventHandler is:-
private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
How to achieve it?.
| stackexchange/codereview |
I would like to use the technology to reduce network load. Preferably I would like to use something that doesn't require a plugin but any solution will help. Maybe chat roulette did something like this.
| stackexchange/codereview |
Ok so i am importing a csv via a PHP script I am writing and the spreadsheet has values like $4090,00 and i need to insert these values in a mysql decimal field using PHP. Is there an easy way to get rid of the $ if its present in PHP
| stackexchange/codereview |
I want to know the exact time when DST starts/ends in a particular timezone and year.
Using TimeZoneInfo.GetAdjustmentRules and AdjustmentRule.DaylightTransitionStart I can get a TransitionTime object which specifies the DST start moment rule.
Let's assume that I find the adjustment rule that applies for 2010. How do I... | stackexchange/codereview |
Note: This is .NET regular expressions.
I have a bunch of text, from which I need to extract specific lines. The lines I care about have the following forms:
type Name(type arg1, type arg2, type arg3)
To match this, I came up with the following regular expression:
^(\w+)\s+(\w+)\s*\(\s*((\w+)\s+(\w+)(:?,\s+)?)*\s*\)$
... | stackexchange/codereview |
sorry, I am relatively new to bash, but
if [ ! -d /home/$USER/testfoo ]; then mkdir /home/$USER/testfoo; fi
has the desired effect of making a directory testfoo if it does not exist
but
TESTCMD="if [ ! -d /home/$USER/testfoo ]; then mkdir /home/$USER/testfoo; fi"
$TESTCMD
returns
if: command not found
What am I doi... | stackexchange/codereview |
I need to pass a block of binary data to a web service. The object I'm passing is part of an API, so the Serialize/Deserialize/Byte functions are built-in to the API class. It is not explicitly XML Serializable as far as I can tell.
Unfortunately, whenever I pass the data to my web service, even as an encoded string,... | stackexchange/codereview |
In facebook..when u enter correct email address but incorrect passwd..they send u an email with an Instant login button..user can login using that instant login link only once..How did they implement this ? Where can i find its code? I mean how do they find out Instant Login link has been clicked only once ??
Any simil... | stackexchange/codereview |
I have the following codes to check md5 encrypted password against user input password:
UserDAO userDAO = new UserDAO();
// encrypt the input password
MD5 md5 = new MD5CryptoServiceProvider();
UTF8Encoding encoder = new UTF8Encoding();
Byte[] encryptedPasswor... | stackexchange/codereview |
I am using Word Automation to create a document from my application, and I need to add three signatures to the footer of a document. That is easy, however, getting them to appear as I would like isn't working.
Here's the code I'm using:
//add initials to footer
if (oWordDoc.Sections.Count > 0) {... | stackexchange/codereview |
I am using web-kit transitions in an iPad app. They work great. But I was wondering what I would do to change the values of my transition using javascript.
#container {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-webkit-transition-timing-function... | stackexchange/codereview |
We are using MS CRM 4.0 Standard Edition On premise.
We have CRM users Internal Staff & External Staff. For Internal Staff we use CAL license.
The question is that we have unlimited External Staff User and we need to give Access for our On Premise CRM on Static IP.
We are thinking to use External Connector for the same... | stackexchange/codereview |
I have a NSXMLParser parsing and XML source and one of my tags is <expire xsi:nil="true"/>. When the parser reaches this tag, it throws an NSXMLParserErrorDomain error 201. If I remove this tag from my XML source, I get no error.
Any ideas why this is throwing an error??
Thanks!
| stackexchange/codereview |
Can anyone tell me why IE6 hates the combination of Colorbox + Flowplayer on the following page: [url removed] (click on the middle teaser labeled "Learn Your Options" to open the video). In all other browsers it's displaying just fine, but IE6 has half of the modal cut off and not aligned center. Any advice would be g... | stackexchange/codereview |
I'm having a hard time fixing memory related issues in my iPad application, but, good thing is, that I've learned about "heapshots" because of that. Bad thing is, I'm still unable to figure out what some of the information provided to me means.
So, what are these non-objects which are still alive and takes most of the... | stackexchange/codereview |
I have coded a usercontrol with a smart-tags panel for design time support.
All is well excepting the size of the panel is not quite big enough. Is there a way to force a size on this panel?
I'm looking for a programmatic way.
UPDATE:
For now, the only way I know is to add the following to the GetSortedActionItems() m... | stackexchange/codereview |
I've read the tutorials for Symfony and it says that POST requests are never cached. Can I override this so that I can cache the resulted page for the POST request?
| stackexchange/codereview |
I am struggling to select, and manipulate, the dropdown from the jqGrid.
jQuery("#grid")...
colModel: [...
{ name: 'StateId', index: 'StateId', width: 350, align: 'center', stype: 'select',
edittype: 'select', searchoptions: { sopt: ['eq'] },
editoptions: { value: controllerMethods.GetStates()} },...
.
.
.
... | stackexchange/codereview |
HI
I am new to Magento and still new to the whole css, php thing. And I have been searching for over a month to find this answer (I am sure it is here some place, but I cannot seem to find it)
I am building a b2b site for a clothing company. Since they are a wholesaler, they do not sell single items, but rather, they... | stackexchange/codereview |
I have a Rails 3 App with Devise...
I want to create a Account controller that will allow the user to update their account, things like Profile, Account, Notices, Password, etc...
Here's what I've done so far.
I generated an account controller which gave me the following:
Routes:
get "account/profile"
get "account/... | stackexchange/codereview |
I have a simple method in a class that is responsible to register a FileSystemWatcher given a certain path in appconfig.xml:
public void ListenPath(string path){
//path validation code
//...
FileSystemWatcher objFileWatcher = new FileSystemWatcher();
objFileWatcher.Path = path;
objFileWatch... | stackexchange/codereview |
I have virtualenv set up and working correctly on my mac os (leopard) running python 2.6 & django 1.2.3. I want to install Satchmo but I haven't found solid instructions for a mac install using virtualenv. Can anyone help regarding this? thanks.
| stackexchange/codereview |
I have a autotool project where part of the source code is downloaded dynamically from the net (because of IP rights preventing direct redistribution) and then built.
I have a Makefile.am that works but I'm not happy about some of it's aspects.
Here it is:
INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_buil... | stackexchange/codereview |
Im trying to use NodeXL to analyse network which has 250 000 rows and 2000000 edges.
The problem is that excel only allows me to import from csv in 2 columns ~1000000 rows (each row is one edge).
Is there any possibility to analyse network with bigger count of rows using nodeXL ?
thanks for any help and advice,
bye
| stackexchange/codereview |
I have a large table with a lot of duplicate string data. To save space, I have moved the string data to a separate table. My tables now look something like this:
MyRecords
RecordId (int) | FieldA (int) | FieldB (datetime) | FieldC (...) | MyString1Id (int) | MyString2Id (int) | MyString3Id (int) | ...
MyStrings
Strin... | stackexchange/codereview |
I have a COM object in C++ and VB6 and everything is compiled and packaged using Visual Studio 2003. The C++ generates the DLL, and VB6 the EXE, so from the legacy code I can call the EXE that calls the DLL and so on.
I need to migrate these to Visual Studio 2008. However, I have some questions
1) I can compile the C++... | stackexchange/codereview |
hi i want to ask that i use a broadcast receiver for incoming sms. but sometimes it is working and sometimes not. and because of this my app got force close.
why my app got force close and is there any solution for this?
and is there any solution if receiver not start?
| stackexchange/codereview |
I'm building a few custom reports against a SQL Server 2005 database. The database belongs to a 3rd party management application we run. The data I'm pulling isn't among the primary purposes of the site, so the data is largely non-indexed except for the timestamp column. For now, there is only one table involved -- ... | stackexchange/codereview |
I have a bunch of print calls that I need to write to a file instead of stdout. (I don't need stdout at all.)
I am considering three approaches. Are there any advantages (including performance) to any one of them?
Full redirect, which I saw here:
import sys
saveout = sys.stdout
fsock = open('out.log', 'w')
sys.stdout ... | stackexchange/codereview |
I'm implementing a custom URL scheme in my navigation based app to let users import data from an email, and so I have this method in my app delegate:
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
It would be nice, if after importing the data in that method, I could use popToRootViewContro... | stackexchange/codereview |
If two projects both have svn:external set up to get the same external directories, what happens if you check them both out in a way they both want to put the same directory to the same location on disk? Is it just doing a regular SVN check-out/update and thus will happily work, i.e the 2nd project checkout will see th... | stackexchange/codereview |
It's not too difficult to implement, but it seems like Cumulative distribution function is a very basic Statistics::Descriptive function, doesn't it?
It seems Statistics::Descriptive::Weighted has it, but using Weighted (with equal points to all data...) instead of the simpler Statistics::Descriptive seems to have a la... | stackexchange/codereview |
Is there any ways to delete the rows inserted by a test case in an unit test?
Usually if the key is an auto-increment one I have to store the ID of the rows where the test case inserted so I can delete them during the tearing down phase.
However, sometimes the test case crashes or throws an unexpected error where the ... | stackexchange/codereview |
I am having trouble getting my Form background image to display correctly with a gradient transparency. That is, the edge of the image (or anywhere for that matter) has a fading or non-255 Alpha value. The result is that everywhere the Alpha is NOT 255 (or 0 - I can't remember) I see my background color. Here is a s... | stackexchange/codereview |
This is unfortunately defined in some external library: cannot touch!
// library.h
typedef struct {
long foo;
char *bar;
/* ... (long & complex stuff omitted) */
} *pointer_to_complex_struct_t;
Now The Question: how to declare an complex_struct_t variable?
Ideal solution but not allowed! (cannot change ext... | stackexchange/codereview |
I'm asking my network admin to open up ports on the firewall to allow remote debugging. It says in the documentation on MSDN that it needs UDP 135. However, the admin says that a number of non-standard 19xx ports are being used.
Exactly what ports are required for remote debugging to work?
| stackexchange/codereview |
I wanted to know whether we can pass a java object inside the stored procedure call as an argument. Here is my java code where i have used the stored procedure call. Please help me in finding the solution for this
public void addPatientInfo(PatientInfo patientInfo) throws SQLException
{
CallableStatement cst = n... | stackexchange/codereview |
this software can mount zip/iso archives into virtual folder created in the same directory with the same name as archive file. and the original files becomes invisible.
http://www.pismotechnic.com/pfm/ap/
can anybody tell me how this works in background? it has some drivers installed.
I think it makes hooks on filesyst... | stackexchange/codereview |
Within C# I'm planning to build a Client Class that would be populated with the Environment information such as :
Logged On User
Is Administrator
Language
Laptop / Desktop
Processor
Memory
Disk Space available
I have a few questions in regards to this,
Are there any libraries out there that I can use without creatin... | stackexchange/codereview |
Greetings,
I'm trying to use the below to get a SharePoint site but it doesn't like the https.
$site = Get-SPSite https://some.url.com
Anybody know how to get an SSL enabled SPSite using Powershell?
Thanks
| stackexchange/codereview |
I'm wondering how I can make a timeout script to detect when the scrolltop() is <= to pos.top && menu.hasClass('fixed')) so the menu can return to default.
$(function(){
var menu = $('#menu'),
pos = menu.offset();
$(window).scroll(function(){
if($(this).scrollTop() > pos.top+menu.height() && menu.hasCl... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.