instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Is it possible to put a ceiling on the amount of CPU a certain database or preferably a certain user, or group of users can use?
I have one app on a server that is maxing out the CPU due to complex queries that are being created at runtime. Until the specific module in that application is redeveloped (which could take... | stackexchange/codereview |
Okay, been thrashing around with this for longer than I care to think about!
I am trying to drag event data from mysql so that it displays the Event Name once and several products under that Event Name
For Example:
Event Name
product 1
product 2
product 3
What is currently happening is that the Event Name is displayed ... | stackexchange/codereview |
I'm kind of new to LINQ and I'm trying to represent the following query in LINQ to Entities:
Select * from Cotations CT1
where CT1.CotationID = iCot_ID and
Revision =
(select max(revision)
from Cotations CT2
where CT1.CotationID = CT2.Cotation)
where iCot_ID is an external para... | stackexchange/codereview |
I have this interface I want to build using Effect.Move from scriptaculous (with Prototype, of course).
When the top div is triggered on a mouseover, a span tag is to move 50 pixels to the left - and reset without movement to the original location on mouseout. The problem is, any time this div element is entered from a... | stackexchange/codereview |
I just read that it is not possible to define a pointcut on a single array element (bug link). Considering I really need to detect an array element modification, I would like to know if there is any workaround for this kind of problem (a pattern or something).
Something like what is described in this article
public cla... | stackexchange/codereview |
I have the following model:
class Activity < ActiveRecord::Base
has_many :clientships, :dependent => :destroy, :after_add => :default_client_info
accepts_nested_attributes_for :clientships, :allow_destroy => true
end
In my controller, if I perform the following
def new
@activity = IndividualActivity.new(par... | stackexchange/codereview |
Is there any way to modify the order JQuery each() accesses the elements on the page?
I.e I have 4 elements on the page and I want element 3 to come first, then 2, then 4 and then 1.
Thanks
Richard
| stackexchange/codereview |
I have an MsBuild project which builds various solutions and then copies the output of Web Deployment Projects into a destination folder with two sub folder as follows:
The WDP output folders are copied over from the BuildFolder "Release".
DestFolder/PresentationTier/MyProject.xxx0Services_deploy/**Release**/Files... ... | stackexchange/codereview |
I'm adapting an XSLT from a third party which transforms an arbitrary number of XMLs into a single HTML document. It's a pretty complex script and it will be revised in the future, so I'm trying to do a minimal adaptation in order to get it to work for our needs.
The following is a stripped down version of the XSLT (c... | stackexchange/codereview |
I am trying to marshall a list of objects implementing a common interface.
There are 3 classes and 1 interface involved:
Community class (has one method: List<Person> getPeople();)
Person interface (has one method: String getName();)
Girl class (implements Person)
Boy class (implements Person)
See code below.
I want an... | stackexchange/codereview |
I'm trying to save file directories so that when my app opens again the directories are remembered. I want to save the directories to a file called 'directories.txt' which is in my source code package.
I did learn how to read from it by using:
getClass().getResourcesAsStream("/getresources/directories.txt")
So my ques... | stackexchange/codereview |
I had developed portal on Asp.net mvc framework.I had hosted this site at godaddy hosting.I had a great problem on integrating third party dll i.e. NPOI (excel writer dll).It dispaly following error.
Security Exception
**Description**: *The application attempted to perform an operation not allowed by the security polic... | stackexchange/codereview |
Is there an elegant way to change the diagonals of a matrix to a new list of values, the
equivalent of Band with SparseArray?
Say I have the following matrix (see below)
(mat = Array[Subscript[a, ##] &, {4, 4}]) // MatrixForm
and I'd like to change the main diagonal to the following to get "new mat" (see below)
newMai... | stackexchange/codereview |
How can I hide $_SERVER['HTTP_REFERER'] when a user browses to another site via a link from my site?
| stackexchange/codereview |
I have various activitys on my app. I have a configuration Activity, and I want to put a cancel button, that, when user press this button, the configuration window get's closed and turn back into the previous activity.
I found something about calling cancel or dismiss functions, but I can't call them cause this is not ... | stackexchange/codereview |
int totalRecs = getTotalRecs(); // returns '13'
int MAX_RECS_PER_LOOKUP = 10;
Random rand = new Random();
int start = (totalRecs > Utl.MAX_RECS_PER_LOOKUP) ? rand.nextInt(totalRecs-Utl.MAX_RECS_PER_LOOKUP) : 0;
results = this.getNewRecs(filter, start, start+1);
I'm using this random number logic to retrieve records fr... | stackexchange/codereview |
Hi Does anyone know if a model in Rails can be used to generate a database schema?
Thanks,
Mark
| stackexchange/codereview |
Visual C++ debug runtime library features so-called allocation hooks. Works this way: you define a callback and call _CrtSetAllocHook() to set that callback. Now every time a memory allocation/deallocation/reallocation is done CRT calls that callback and passes a handful of parameters.
I successfully used an allocation... | stackexchange/codereview |
Which of the following two should I be using to make sure that all the cursors are closed?
Cursor c = getCursor();
if(c!=null && c.getCount()>0){
try{
// read values from cursor
}catch(..){}
finally{
c.close();
}
}//end if
OR
Cursor ... | stackexchange/codereview |
I have this Listview element:
<ListView
android:id="@+id/category_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:background="@drawable/list_background"
android:layout_marginTop="10sp"
android:layout_marginLeft="10sp"
android:layout_marginRight="10sp"
an... | stackexchange/codereview |
I am trying to figure out if I can store some strings in an array or if I need an object. Is there a limit to the number of characters allowed in an array item?
| stackexchange/codereview |
Using C or a bat file, I'm trying to edit the file hosts file from c:\Windows\System32\drivers\etc but I can;t bc it is write protected.
Can you tell me what can i do?
| stackexchange/codereview |
$("a.sure").click(function () {
var choice = confirm("Are you Sure");
});
I see confirm twice when I write this and click. When I track from Firebug then the confirm dialogue box only appears once.
| stackexchange/codereview |
I'm using web view on table view cell to display formatted text. But web view displays content just after scrollDidEndDecelerating event, so web view is empty while table view is scrolling. I tried to call [cell setNeedsDisplay] on scrollDidScroll delegate event, but web view still empty. It looks ugly. Does anybody kn... | stackexchange/codereview |
I would like sum a property on a sub list of a list ... example:
I have:
public class List1 {
public List<List2> List2 { get; set; }
}
public class List2 {
public int TotalUnits { get; set; }
}
In my view I have a List<List1>, so that I want to do something like:
<%= Model.List1.Where(x.List2.Any()).Sum(x=>x.TotalUni... | stackexchange/codereview |
I have a UIPickerView that appears in a UIPopoverController atop a graph view. When the graph view is static (not graphing incoming data), then the UIPickerView is very responsive. However, when I graphing incoming data, the UIPickerView is very unresponsive.
Inside the UIPopoverController is my MeasurementViewControll... | stackexchange/codereview |
I've started using Dashcode to write an interface for presenting the report data for some of our Cocoa tools. I am using a Dashcode data source and bindings to populate the elements in the WebView, and it all seems to be working well so far.
One of the objects in my dataSource is an array of objects that I would li... | stackexchange/codereview |
I have this function:
function block_scroll(key){
if (key) {
$(window).bind("scroll", function(){
$('html, body').animate({scrollTop:0}, 'fast');
});
} else {
$(window).unbind();
}
}
The first part works as it should, but when I later call block_scroll(false) - it's sti... | stackexchange/codereview |
I am requesting this page to get the events with the keyword
"conference":https://graph.facebook.com/search?q=conference&type=event
This works fine.
The problem is the pagination returned:
"paging": {
"previous":"https://graph.facebook.com/search?q=conference&type=event&limit=25&since=2010-12-18T17%3A00%3A00%2B00... | stackexchange/codereview |
hi
I'm new to objective-c
i need to create a view, that has four buttons at the bottom, and a view above them that changes according to which button you press.
now i've been reading a bit of tutorials, and i still have difficulties understanding the different nib files.
But i'm wondering.
i have 'tab bar controllers' ... | stackexchange/codereview |
I am creating several Perl modules which will use the common utilities for opening and closing files.
For example,
mod1.pm
my $in, $out;
sub openf {
my $fname = shift;
open $in, "<", $fname or die $!;
}
sub one {
openf($path);
...
}
mod2.pm
my $in, $out;
sub openf {
my $fname = shift;
o... | stackexchange/codereview |
i want to knw is there way to mail the screenshot from the App only i.e without exiting the App.
I have the code to take the screenshot and i have the code to mail(EmailComposer from Apple),but how to attach the screen shot in the mailbody?
please help me out.. :(
| stackexchange/codereview |
to implement credentials do I need to implement a preExecute function like this:
public function preExecute() {
$this->configuration = new jobGeneratorConfiguration();
if (!$this->getUser()->hasCredential(
$this->configuration->getCredentials($this->getActionName())
... | stackexchange/codereview |
what files do i need to modify / add if i want to add another frontend plugin (pi) to a TYPO3 extension? this should be done by hand and not with the kickstarter...
| stackexchange/codereview |
I have a property in a composite control that checks to see if the value has changed prior to actually setting the related private field and doing a few other things.
However, it appears that it is never evaluating the statement.
Here is the code for the property:
public T SearchCriteria
{
get
... | stackexchange/codereview |
Recently I've added huge files to my local repo and pushed those files outside to other repositories. After I realized that, I did some googling on the topic and removed those files entirely using git reset. I also did some other things to optimize the repo (git gc, repack). Now my local copy of the repo is below 100MB... | stackexchange/codereview |
I have this trouble. Im working with some library, and i need to create an istance of a class that is an interface.
If i do this.createITextArea() it will create the object.
If i do ITextArea area = new ITextArea() i can't, because the class is abstract.
In fact, i need to send it trought a function. But with first ... | stackexchange/codereview |
I have a problem:
I have 3 picture boxes with 3 different images as in Image
what can i set to pictureBox3 so both images look same.....
EDITED:
I want to move pictureBox3 on pictureBox2,
So there is no Option to merge them to single image
| stackexchange/codereview |
This is actually a Mahjong-based question, but a Romme- or even Poker-based background will also easily suffice to understand.
In Mahjong 14 tiles (tiles are like cards in Poker) are arranged to 4 sets and a pair. A street ("123") always uses exactly 3 tiles, not more and not less. A set of the same kind ("111") consis... | stackexchange/codereview |
What is an elegant way to look for a string within another string in Python, but only if the substring is within whole words, not part of a word?
Perhaps an example will demonstrate what I mean:
string1 = "ADDLESHAW GODDARD"
string2 = "ADDLESHAW GODDARD LLP"
assert string_found(string1, string2) # this is True
string1... | stackexchange/codereview |
I parsed the XML data from a feed. I stored all data in NSArray. I loaded the images and title in UITableview using UILable. But when I use the scroll, the text will be collapsed as follows.
My code is as follows...
-(UITableViewCell *)tableView:(UITableView *)tableView1 cellForRowAtIndexPath:(NSIndexPath *)indexPath... | stackexchange/codereview |
I understand I can write my own custom activity (in C#) to execute custom logic during the build process. My understanding is that Powershell can also be used, but I am not sure where it fits in. I do understand Powershell is used for executing command line commands but how and where would I use it to customize the bui... | stackexchange/codereview |
So I have a function which always returns a number from range <0;99> (i.e. 0, 1, ... 99 - integers).
What would be the best way to correctly map those numbers to range <-1.0;1.0>?
0 would be -1.0 of course and 99 would be 1.0. How to calculate the numbers between?
| stackexchange/codereview |
How do I move the ball on a particular angle in the Android canvas?
| stackexchange/codereview |
I wanted to know how its possible to call a javascript function , as soon as one presses the "return(enter" key,just as in chat systems
| stackexchange/codereview |
What is the correct way to implement paging on a table with MVC2? Is it possible to do this without reposting the whole form?
thanks
| stackexchange/codereview |
I have an ActiveX control generated by the FireBreath framework (http://firebreath.org). I need to get a reference to the <object> tag in the page that hosts the plugin from C++.
If I were using NPAPI, I would use the NPNVPluginElementNPObject constant with NPN_GetValue.
so to make sure I am being clear, say I have th... | stackexchange/codereview |
import smtplib
def prompt(prompt):
return raw_input(prompt).strip()
fromaddr = prompt("From: ")
toaddrs = prompt("To: ").split()
print "Enter message, end with ^D (Unix) or ^Z (Windows):"
msg = ("From: %s\r\nTo: %s\r\n\r\n"
% (fromaddr, ", ".join(toaddrs)))
while 1:
try:
line = raw_input()
... | stackexchange/codereview |
Where can I find the name of MySQL which I'll use at the connection string to connect to the database from c#?
| stackexchange/codereview |
I have a YouTube video (with direct Youtube embed code) embedded on my webpage. Now I want to "extract" the src url with JavaScript (maybe with jQuery or Prototype). Because there is no ID or name, I've put a specific div arround to 'access' it.
This is the embedded code:
<div id="youtubeVid">
<object width="468" heig... | stackexchange/codereview |
for($i=0;$i<count($sentto1);$i++)
{
$sel="insert into newmessage set sendto='".$sentto1[$i]."',
sendfrom='".$almemailid."',
subject='".$subject."',
message='".$color."',
attac='".$fileatt_name."',... | stackexchange/codereview |
Is there a safe way in g++ to force a variable to be in a certain register when a function is called? This function contains inline-asm-code that assumes inputs in certain registers.
I tried to declare local variables to be in fixed registers (register int x asm ("$10")) and pass them to the function, but -O3 messes it... | stackexchange/codereview |
I have a data structure that looks like this
private String name;
private ArrayList<Node> children;
private String parent="";
public Node(String name) {
setName(name);
children = new ArrayList<Node>();
}
Elsewhere in my program, I have a Node called "root" that contains an entire tree data structure.
Conceptually it... | stackexchange/codereview |
I am using iTextSharp to generate pdf in my .net application.
Now I want to add Header and Footer in my pdf document.
I got code from a site something like given below but it doesn't work.
[
//we Add a Header that will show up on PAGE 1
HeaderFooter header = new HeaderFooter(new Phrase("This is a header"), false);
d... | stackexchange/codereview |
Friends, My application has to get current gps position in every seconds and write this data as byte array to a file in files directory. To check the data in that file I tried to open mnually. But i couldn't open. How can i read the file. The file is a text file
| stackexchange/codereview |
I believe I'm having a problem with the way SQL Server 2000 handles hexadecimal numbers.
If I do a
select * from table where [timestamp] = 44731446
the row that it returns shows the timestamp as 0x0000000202AA8C36
Equally in another table if I
select * from table2 where [timestamp] = 44731446
the row that it returns... | stackexchange/codereview |
I have a class with a regrettable number of methods. I would like gdb to break whenever I enter the class, so through any of the methods. Is there a way to do this without setting break points individually for each method?
| stackexchange/codereview |
I want to do an SQL join query. I have three tables _A, _B, _C, say. ANd each table has a column named "level" with some items having value 1,2,3 in this column.
At first, I just wanted an item with level = 1 from table _A, and so wrote:
SELECT * FROM _A WHERE level = "1" ORDER BY RANDOM() LIMIT 1
which worked fine.
N... | stackexchange/codereview |
First of all, I know this is a bad solution and I shouldn't be doing this.
Background: Feel free to skip
However, I need a quick fix for a live system. We currently have a data structure which serialises itself to a string by creating "xml" fragments via a series of string builders. Whether this is valid XML I rather ... | stackexchange/codereview |
EDIT
Hey Guys thanks for your fast answers, I've gotten a lot nearer to the problem, seems to be a present command that makes the devices answers faster (since I wait for every device answer this would slow the whole thing down massivly)
I`ll keep on trying or kill the device :P
Thanks
-
Sorry for the caption...I simpl... | stackexchange/codereview |
I'm trying to use System.Diagnostics to do some very basic logging. I figure I'd use what's in the box rather than taking on an extra dependency like Log4Net or EntLib.
I'm all set up, tracing is working wonderfully. Code snippet:
Trace.TraceInformation("Hello World")
App.config:
<?xml version="1.0" encoding="utf-8" ... | stackexchange/codereview |
I have currently the below criteria :-
Criteria addr = criteria.createCriteria("location.address");
addr.add((Restrictions.and(Restrictions.between("latitude", latmin,
latmax), Restrictions.between("longitude", truelongmin, truelongmax))));
String sql = "... | stackexchange/codereview |
I'm trying to convert a point in cartesian 3d coordinate system to a spherical 3d system.
This is what I got so far:
radialDistance3D (x,y,z) = sqrt (x*2 + y*y + z*z)
cartesian3DToPolar3D (x,y,z) = (r,alpha, beta)
where r = radialDistance3D (x,y,z)
... | stackexchange/codereview |
Here is the code, for your viewing pleasure:
public static void main(String[] args) throws Exception {
Calendar cal = Calendar.getInstance();
cal.set(2010, Calendar.JULY, 10, 1, 0, 20);
Date d1 = cal.getTime();
Date d2 = new Date();
int seconds = 22;
d2.setTime(d1.getTime() - seconds*1000);
... | stackexchange/codereview |
How do I set the modalViewControll to a particular size?
UINavigationController *NC = (More stuff);
[self presentModelViewController:NC]...;
that code presents my UIViewController as a full screen. I want to to be a smaller window size is that possible or do I need to do a popovercontroller?
| stackexchange/codereview |
I have a page with a long iframe on it, which loads a schedule display with pages of various lengths. When a new page is displayed in the iframe though, the main page is often still showing the bottom of the page (lots of whitespace). How can I have the main page scroll to the top anytime a new page is loaded in the if... | stackexchange/codereview |
I 'am bussy creating a form with zend_form to add a page to a website. This form is for a CMS.
This is the code:
public function init()
{
// display errors on top
$this->setDecorators(array(
array('FormErrors', array('markupElementLabelEnd' =>'', 'markupElementLabelStart' =>'')),
... | stackexchange/codereview |
We have a web application that is storing all the site data in HttpRuntime.Cache.
We now need to deploy the application across 2 load balanced web servers.
This being the case, each web server will have its own cache, which is not ideal because if a user requests data from webserver1 it will be cached, but there next r... | stackexchange/codereview |
$("#phoneR").find("input#phone").remove();
for (var i = 1; i <= para[3] - 1; i++) {
$("#phoneR").find("td:eq(1)").after(" <input type='text' name='phone[]' disabled='disabled'/>");
}
The code above is suppose to iterate and add the input 3 times, but for some reasons what soever it's not doing. Is it that.
Am i do... | stackexchange/codereview |
I'm trying to execute system commands such as exp to backup a db. But if the login details are wrong or if the db does not exist then it does not throw an exception.
How can I handle this sort of case where exceptions are thrown?
All the helpful hands are welcomed..
Regards,
Swarupa
| stackexchange/codereview |
My routing is set up like this:
Route::set('default', '(<controller>(/<action>(/<id>)))')
->defaults(array(
'controller' => 'static',
'action' => 'index',
));
so that typing in:
http://localhost/et/testkohana4/
calls action_index on Controller_Static as it should.
However, when I type in:
http://localho... | stackexchange/codereview |
I've been using the Bindings feature with the spark view engine to replace quite a few of my Html helper method calls.
One problem I have is that I want to define a css class to pass in to the anonymous dictionary parameter of the helper methods, which I would normally do like this:
${Html.EditorFor(x=>x.Username, new{... | stackexchange/codereview |
I have a code snippet of a jQuery Dialog which renders differently in Firefox and Chrome. I know it is a CSS issue and I was think the documentation specifies that the ui-dialog-content and ui-widget-content would be responsible but I am clearly misunderstanding something.
The example is:
<html>
<head>
<link type="te... | stackexchange/codereview |
The following code should return all barcodes that are in the filter. however it seems to excecute the filter only on the first newrecord.
the xml contains 5 newrecords with a barcode subelement ranging 1-5. if the filter contains 1,3 and 4 it returns 1 and if the filter contains 2,3 and 4 it returns a no records.
Als... | stackexchange/codereview |
I'm on US-English OS X 10.6.4 and try to store files with Asian characters in its name in a Git repository.
OK, let's create such a file in a Git working tree:
$ touch どうもありがとうミスターロボット.txt
Git is showing it as octal-escaped UTF-8 form:
$ git version
git version 1.7.3.1
$ git status
# On branch master
#
# Initial commi... | stackexchange/codereview |
Using validateUserInterfaceItem it is possible to disable/enable a menu item but I need a similar behaviour to hide menu items, have you some hints?
| stackexchange/codereview |
I can change the style of a cell using conditional formatting. But there I would be limited to a maximum of 3 cases it can handle.
What I want to do is to get the value of a cell, convert it in a certain way and set the result as the cells background-color.
The simplest example would be cells with values between 0 and ... | stackexchange/codereview |
I am not that expert user of stackoverflow but what i know is that my question is somewhat related to
Lucene and Special Characters
But i have a slight different environment.
I have an index with Lucene.NET but i am searching it with SOLR. Is it possible to search the special characters without re-indexing? while re-i... | stackexchange/codereview |
Anybody have any advice on how to programmatically detect if Windows Media Player is installed?
I know about the registry setting look up, but don't trust it since it's more than a little misleading (uninstalled may not remove it). And I've considered just launching a video, but an error could be caused by something o... | stackexchange/codereview |
I'm trying to redirect all insecure HTTP requests on my site (e.g. http://www.example.com) to HTTPS (https://www.example.com). How can I do this in .htaccess file?
By the way, I'm using PHP.
| stackexchange/codereview |
I've read up quite a bit on spam prevention, and this is one apparent solution that keeps being suggested:
Use a token and put it into a session
and also add it to the form. If the
token is not submitted with the form
or doesn't match then it is automated
and can be ignored.
Source: https://webmasters.stackex... | stackexchange/codereview |
Here is my issue. I have a constructor that makes a color from 4 floats ranging 0 to 1. I want to add compatibility with 0 to 255 int so I have another constructor like this:
AguiColor::AguiColor( int r, int g, int b, int a )
{
double num = 1.0f / 255.0f;
AguiColor((float)(r * num), (float)(g * num), (float)(b * n... | stackexchange/codereview |
In my web app a user can assign muliple tags to products (like the tagging here on stackoverflow).
There are three tables: products, tags and products_tags to implement a many to many relationship.
My question is, how would you implement this with the Entity Framework (LINQ to SQL):
"Insert only a new tag in the tags... | stackexchange/codereview |
I'm using a Wizard in my ASP.NET page, where in the first step the user chooses from a DropDownList, how many sets of controls will appear in the next wizard step (from 1-5).
For example, in the 2nd step of the wizard there are 3 textboxes. If they choose 2 on the previous screen, there will be 6 as there will be 2 set... | stackexchange/codereview |
How can I make my winforms app to show its progress bar in the icon of the taskbar on windows 7?
e.g: chrome with downloads.
Thanks!!
Diego
| stackexchange/codereview |
I've never really used reflection before and am attempting something I'm not sure is possible. Basically, I'm trying to write a method that takes an Object as a parameter, and then attempts to marshal that object regardless of its type. I can't figure out how to get the type to use when instantiating the generic JAXBEl... | stackexchange/codereview |
I am attempting to integrate an afilliate network with my Magento shopping cart. I am using Google Checkout so i need to modify app/code/core/mage/googlecheckout/model/api/xml/checkout.xml in order to pass some tracking info to Google Checkout.
So far I have this code:
<merchant-checkout-flow-support>
<parame... | stackexchange/codereview |
I'm trying to set the colours of my jqplot bar chart bars. There will always be six bars present, grouped into sets of 2 bars. Here is an example of the data being plotted:
line1 = [6000, 5000, 5500];
line2 = [16000, 10000, 14000];
I've used the following so far:
seriesColors: ["#F3CBBF", "#BFDDE5", "#CF3501", "#02... | stackexchange/codereview |
My parent ViewController class contains a UISearchBar. I have a UIButton that will push on a new ViewController via the code below
AddViewController *addViewController = [[AddViewController alloc] initWithNibName:@"AddView" bundle:nil];
[self presentModalViewController:addViewController animated:YES];
[addViewControlle... | stackexchange/codereview |
I have the following code which checks the post for a "no" and if it exists prints and error or if not it redirects. It currently redirects everytime regardless of the fact the post array has 'NO' as a value.
if($_POST["minRequirementsForm"] == '1') {
foreach($_POST as $key => $value) {
if ($value == 'no... | stackexchange/codereview |
Well, I'm working on Wordpress Theme and I've a very strange behavior.
When I put my jQuery script in script tag (anywhere on the site) it works like charm.
But when I try to link to a file with the same script, like:
<script src="address" type="text/javascript"></script> - it doesn't.
What's wrong? The link is VALID. ... | stackexchange/codereview |
what event is fired when an item is restored from recycle bin into a sharepoint list. And how to find that item using properties? please help me in this
| stackexchange/codereview |
I got the following error on error log,
"conversion to dalvik format failed with error 1"
How to resolve this issue?
| stackexchange/codereview |
I have created a dialog with two JLists displayed and a button that takes the selected value from the second JList and does something (say it outputs the selected value). The list of values from the second JList is updated according to the selection of the value from the first JList.
When the dialog is displayed initi... | stackexchange/codereview |
I'm looking for a framework that can handle starting and stopping processes on linux hosts as well as monitoring a given processes life cycle.
More specifically I want to be able to do things like below across a fleet of hosts
schedule a process to always be running and be notified if it isn't (mysql, activemq etc..)... | stackexchange/codereview |
I am looking to write a recursive function to merge to integer lists in F#
I started with this, but not sure what to do next.
let rec merge xs ys =
match xs with
| [] -> ys
|
let li = [1;3;5;7;]
let ll = [2;4;5;8;]
| stackexchange/codereview |
I have the following line of javascritp $("#hero_image img").attr('src', src); to change an image. The following lines then do whatever they do based on the images new width which I was calling through $("#hero_image img").width();.
However, how do I ensure that this image has fully loaded before getting the width, oth... | stackexchange/codereview |
I have an SqlDataSource in a page, which will display different results depending on 1 or 2 query strings, and/or a filter textbox.
Here is my SqlDataSource and filters:
<asp:SqlDataSource ID="sdsAudits" runat="server"
ConnectionString="<%$ ConnectionStrings:constring %>"
SelectCommand="SELECT * FRO... | stackexchange/codereview |
I have 2 entities: Class(of students) and Student. A student can be in many classes(like in college) and a class has many students. The problem is how to ensure that this entity, generated in the middle, has 2 primary keys, the ids of each other entity (Student and Class).
I need to know how to create it using annotati... | stackexchange/codereview |
I have 2 EC2 instances, each with their own EBS attached. Sitting infront of the EC2s is a load balancer.
These instances run CMS driven sites, where uses can upload files.
What would be the best solution to the problem of a file getting uploaded to one EBS and the load balancer sending a visitor to the EC2 instance wh... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.