instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a webpart that users can upload files to a document library. a problem appears if a user uploads a file with a name identical to a file name already exists in the library. in this case I want the new file to be added as a new version to the existing file using the object model not the web services. how to achiev...
stackexchange/codereview
I am displaying HTML content inside a Swing JEditorPane. To change the default look of the HTML i am using a CSS style sheet. This works great. My problem is only that the JEditorPane does not support the full CSS specification. Is there a list of CSS features the JEditorPane supports?
stackexchange/codereview
I have a page with a 3 tab layout and each tab contains small forms. For accessibility reasons I am paying close attention to tabbing through the page. When I tab through and hit enter in FF & Chrome the focus stays on the tab. In IE 6,7,8 it jumps to the top of the page which causes a big problem for non or low visio...
stackexchange/codereview
The behaviour I would like is for a user to be able to visit a custom built website and if they are already authenticated against sharepoint for the custom website to know who they are and give them various rights. If they are not recognised by sharepoint then I would like them to login to sharepoint and be directed ba...
stackexchange/codereview
My app launches from inside Qt Creator no problem, but when I go into the debug folder, I find the .exe file and I try to launch it, it complains that there is a missing DLL called mingwm10.dll. I don't know how to fix this problem I tried the release as my build target, same thing happened.
stackexchange/codereview
I am trying to create a WPF based PropertyGrid. Recently i tried wpg.codeplex.com project, but i had some problems with this control. Now, i am trying to develop http://blog.joachim.at/?p=36 this project. I successfully added Enum Values, support but i have got problems with collections. For example my custom object ha...
stackexchange/codereview
I am building a form builder on top of Zend Framework, and I am wondering about the validation. Which validation method would be easier to implement - jQuery( JS based validation) or Zend_Validate? Which type of validation would be more powerfull? jQuery is a prerequisite, and I would like to use Ajax validation, so ...
stackexchange/codereview
I am working on an application that plays videos through the silverlight MediaElement object. I have a large method which is responsible for the following Opens a FileInfo item on the local file path of the video and strips the file name to get the first portion of the filename which we use as part of the license acqu...
stackexchange/codereview
I am developing an Android app in which a type of browser will be included. As the user tries to open a URL, an intent resolver asks the user whether they want to complete the action using the default browser or a custom browser. This part of my app is completed. Now I want to ask, if the user chooses to open the link...
stackexchange/codereview
public ObservableCollection<string> S { get; set; } S is binded to ListBox Control,switch element of S,bind fail.ListBox Current item is follow: public string CurrentItem { get { return m_currentitem; } set { m_currentitem = value; int...
stackexchange/codereview
I have a view that draws multicolored text inside UITableViewCell. To draw multicolored text I'm using NSAttributedString However, I would like to make it so that if the text is too long to fit into the view, the last visible line is truncated to display an ellipsis at its end. Obviously this is very easy to do when d...
stackexchange/codereview
On what thread are event handlers (like onAnimationEnd, onTouchEvent, onKeyEvent, onClick) executed? Are they called sequentially or can two handlers may execute simultaneously?
stackexchange/codereview
I have am unable to get Django to reverse-resolve the following named url - URLconf entry : url(r'^shotmanager/(?P<shotid>\d+)/$', 'ctac.views.shotManager', {'message': "", 'errors': []}, name = 'shot-manager') HttpResponseRedirect call: return HttpResponseRedirect(reverse("shot-manager", kwargs={'shotid': id, 'messag...
stackexchange/codereview
I am converting my paid iPhone app to a free one, with AdMob integration To simplify integration, I am adding the AdMobView to the AppDelegate. This all works fine, as it is displaying an ad in the bottom of the screen. But unfortunately it covers up the content that was previously shown in the bottom, and this is also...
stackexchange/codereview
I have a QNAP box, that runs a flavor of linux and I am having problems getting the PID of a process using a php script. What I have so far: $command = "PATH=$PATH:/share/MD0_DATA/.qpkg/Optware/bin: nohup /opt/bin/plowdown -o /share/MD0_DATA/Qdownload/plowshare http://www.megaupload.com/?d=m7duotr1 2> /share/MD0_DATA/Q...
stackexchange/codereview
I have encountered the following problem: I have a java class with a private member like so: private Arcs[] arcs; This is not initialised in the constructor because I don't know the length of my vector yet, but it is initialised in the read function, where I read the info from a file. In this function I do the followi...
stackexchange/codereview
Hey, I'm trying to implement the ShellSort algorithm and now I got a problem: warning: [unchecked] unchecked cast found : java.util.Vector required: java.util.Vector<java.lang.Object> Vector<Object> vcur = (Vector<Object>)currentCols[tcur]; Same with vtmp. I don't know where the problem is. It would be really great i...
stackexchange/codereview
I am having a problem. this is the code: List<QueryDescription> queries = null; Config f = new Config(); queries = f.getQList(); out.println(queries.size()); out.println("<table border=\"1\">"); out....
stackexchange/codereview
I'm trying to implement the strategy pattern in PHP, creating objects with variable variables as follows: $className = 'MyClass'; $myObject = new $className(); Is there a way to verify that $className exists as a Class?
stackexchange/codereview
Here are some simple examples what I am trying to do: $("<li>Foo</li>") => "Foo" $("<li><span>Foo</span></li>") => <span>Foo</span> $('<li class="foo"><div>Foo</div><div>Bar</div></li>') => <div>Foo</div><div>Bar</div> I know of the jQuery get() method, but this just gives me the <li> elments, too. A .chil...
stackexchange/codereview
I have a web application (.NET 2.0 coded in C#) that displays pages both to logged in users and the general public. When a user logs in, the protocol is switched to HTTPS. The images are being displayed by a CSS file residing in a virtual directory folder. The problem is that when the HTTPS pages are displayed, IE 8 wi...
stackexchange/codereview
This is a valid function in C++: int f() { if(false) { return 42; } } The following definition causes UB: int x = f(); // return value used The question: Does the following expression statement cause UB? f(); Quote from the standard would be very much welcome.
stackexchange/codereview
How do you populate text fields using AJAX from JSP scriptlet with data obtained from Oracle 10g database? How do you get a handle on those input elements of type text from a jsp? Using javascript? but how do you use the values in the scriptlet? Thanks
stackexchange/codereview
I'm currently trying to create a procedural planet generating tool. I have started off by mapping a cube to a sphere like so: Next I'm using Libnoise to a heightmap cube using 3D Perlian noise. I am able to generate a seamless cubmap. I have checked this in photoshop and though I had to rotate the heightmap images ...
stackexchange/codereview
I create listView by use the following code.If i use lv.setTextFilterEnabled(true); i get the list View filter.If i set the filter text its not display the filtered listView.How to set the filter text; lv=new ListView(this); lv.setAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_chec...
stackexchange/codereview
So.. i got this site I am tryign to scrape, but as I understand lack of support of mechanize for .js, and a stuborn site that requires javascript enabled browser is not a good mix... I am looking for ideas, on how to do this... URL : https://members.iracing.com/membersite/login.jsp
stackexchange/codereview
i have a script that once clicked ( a button ) some other thing hides then once clicked again it re-shows. the problem is once hidden it never shows again here is the script: menu_start.addEventListener(MouseEvent.CLICK, myClickFunction); function myClickFunction(event:MouseEvent) { // Hide the first and show ...
stackexchange/codereview
I'm making an app that parses html and gets images from it. Parsing is easy using Beautiful Soup and downloading of the html and the images works too with urllib2. I do have a problem with urlparse to make absolute paths out of relative ones. The problem is best explained with an example: >>> import urlparse >>> urlpar...
stackexchange/codereview
I have a simple HTML page with a large textarea form field and button. The page also contains an embedded Java applet. I'd like to pass the contents of the textarea field to the applet when the button is clicked. Could someone show me how to do this? Thanks
stackexchange/codereview
I am doing production support, relying much on log to troubleshoot. I found that the log information is quite messy for now. Could you provide the best practice or guide to write log information? BTW: we're using log4Net. Do you have any suggestion on alternative library? Thanks.
stackexchange/codereview
i need a know how to create a custom activity Indicator in xcode, i tired of searching in websites, i didn find anything about it.Please help meee...
stackexchange/codereview
I've recently switched to TextMate from Coda after getting annoyed by the long delays and general slowness of the app. There are a few annoyances in TM but it's mainly because I'm used to one over the other. One aspect that is driving me nuts however is the lack of automatic auto-complete. For example, in a CSS documen...
stackexchange/codereview
I am looking for a programmically API on how to restart any device that allows enable/disable in the device manager, such as Audio devices and Network adapter
stackexchange/codereview
I am implementing MKMapView based application. In that I am using an observer when we tap on a pin. the observer is code is follows, [annView  addObserver:self forKeyPath:@"selected" options:NSKeyValueObservingOptionNew context:@"ANSELECTED"]; It is working as expected, but some time it is gettin...
stackexchange/codereview
I have a simple html page with some javascript where if i click a link, it will show a flash video in a div using the swfobject.embedSWF function. I did a test: Uninstalled flash from my machine, then reloaded the page and clicked the link...I correctly saw no video. I then installed flash and came back to the same ...
stackexchange/codereview
I am trying my hands at developing my first screen for Blackberry with JDE4.2.1. The layout I am trying to create looks like this: --------------------------------- ! Header img ! !-------------------------------! ! I ! Title ! ! M !--------------------------! ! G ! Body Txt ...
stackexchange/codereview
My SQL seems to be letting me down this morning. I have a table with the columns Id, Guid,AttributeId,AttributeValue,CreationDate,Status This stores data from a qustonnaire which has around 15 pages to it. Each time you move on to the next question (next page) in the questionnaire the entire questionnaire is persisted...
stackexchange/codereview
Is anyone familiar with the problem. I have read this post however its hard for me to provide code when I don't have any idea where in the code the error originates. Any one have any ideas? Name(9369,0xa09cd500) malloc: * error for object 0xb50dd20: double free * set a breakpoint in malloc_error_break to debug
stackexchange/codereview
I'm working on a function to validate a US phone number submitted by a user, which can be submitted in any of the popular number formats people usually use. My code so far is as follows: $number = '123-456-7890'; function validate_telephone_number($number) { $formats = array( '###-###-####', '(###)...
stackexchange/codereview
Rakudo: Is there a place where all the features that don't yet work are listed?
stackexchange/codereview
I would like to create an app for a myBB forum. So the site on the forum will look nicer and much more cleaner on an iPhone or Android. Is it possible without an API? It isn't my site ether.
stackexchange/codereview
What could be the possible advantages/uses of having an empty class? P.S: This question might sound trivial to some of you but it is just for learning purpose and has no practical significance. FYI googling didn't help.
stackexchange/codereview
In the code below I have a StreamReader reading from a network stream. This code normally will run fine for days. I ran into a problem where all of a sudden StreamReader.ReadLine() started returning null. According to Microsoft documentation StreamReader.ReadLine() will return null when it has reached the end of the in...
stackexchange/codereview
I'm creating html element using jQuery like so: var newListItem = $("<li>" + variableName + "</li>"); var widthOfNewItem = newListItem.width(); //<-- will return 0 How can I find this new elements width? I'm trying to call newListItem.width() but that returns 0.
stackexchange/codereview
I made my own user control that captures touch events via Touch.FrameReported. When i place my control on a 'normal' page everything works fine. But when i place it in a panorama control it goes wrong, the up and down movement works as expected, but when i move my finger left or right the panorama control moves with it...
stackexchange/codereview
In my application, I have a RecipesController and a CommentsController. All comments belong to a recipe, and can be voted up. Here's a snippet from my routes.rb: resources :recipes do member do put 'vote_up' post 'comment' end resources :comments do member do put 'vote_up' ...
stackexchange/codereview
I have a classifieds website... When users post a new classified, it is automatically added to a dynamic sitemap (xml). The sitemaps are submitted to google about two months ago, via Webmaster Tools. Although some classifieds are indexed, it takes way too long for Google to index these. How does Google decide which sit...
stackexchange/codereview
If I call this: $(".month-selector").change(function(){ setStones(); }); Inside the$(document).ready() it does not apply to elements that are created later. I also tried calling the above code after creating them like so: $("#month-selectors").html(month_selectors); $(".month-selector").change(function(){ set...
stackexchange/codereview
I am using a Ruby wrapper which appears to be correct for using Google Visualizer: https://github.com/jeremyolliver/gvis However, I keep getting this particular error: First and second columns must be entity and time However, the data I am passing are entity and time as far as I understand: <% chart_data = [ ["App...
stackexchange/codereview
I have 2 file controls on the form - one for logo and one for big image and this code didn't work $upload = new Zend_File_Transfer_Adapter_Http(); $upload->addValidator('Count', false, array('min' =>0, 'max' => 2)); $files = $upload->getFileInfo(); foreach ($files as $file => $info) { if($upload->isV...
stackexchange/codereview
What is the best way to scan the local Windows system for attached USB devices using C++? I need to get a list of Vendor and Product IDs to match against the my device's IDs. If there is a way to scan for a specific VID/PID combination, that would be even better. My end goal is to retrieve the virtual COM port Windo...
stackexchange/codereview
I would like to be able to associate various models (Venues, places, landmarks) with a City/Country. But I am not sure what some good ways of implementing this would be. I'm following a simple route, I have implemented a Country and City model. Whenever a new city or country is mentioned it is automatically created. U...
stackexchange/codereview
I want to use a header file, its included as #include <custom.h> how can I compile it by using the custom.h header file ? I tried -I /path/to/custom.h , but its giving me error that its not a directory..
stackexchange/codereview
i have a web application and in this i am using ajax controls. due to some problem i remove the reference of ajaxcontroltoolkit and reset the toolbox of visual studio. After some i again add reference of previous ajaxcontroltoolkit and add tab in visual studio toolbox. Now problem is that when i insert the control of n...
stackexchange/codereview
Does DB2 have anything like ORDER BY ord_col NULLS FIRST?
stackexchange/codereview
I can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties. I note the theme swc in dependencies, the compiler founds it but the theme doesn't change. Who knows how can I set a custom theme in Maven?
stackexchange/codereview
I have a array of an object of type employee, var s = from x in employee where !string.IsNullOrEmpty(x.FirstName) && (x.FirstName.IndexOf(searchText, StringComparison.OrdinalIgnoreCase)) >= 0 || !string.IsNullOrEmpty(x.LastName) && (x.LastName.IndexOf(searchText, StringComparison.Ordinal...
stackexchange/codereview
I have ONE table A and if the parameters @x is 0 i want to ordering A by date, else by Name. This is an example: declare @x int set @x = 0 if(@x=0)( SELECT * FROM A order by DATE ) else ( SELECT * FROM A order by Name ) When try to do it SQL Server return 2 egual error as Incorrect syntax near the keyword 'order'. W...
stackexchange/codereview
I just finished coding a class, and realized that all of its public functionality is encapsulated in a single method. It has no properties, no shared resources, and requires no constructor overload and handles disposal of anything it uses. It looks something like this: public class ReportGenerator { public string...
stackexchange/codereview
I'm using Qt 4.x to develop a portable applicaion that will run on linux and windows. I want to add to the application an identifier such like a guid. how can I do that? what is the connection in the application I have to do the the id? and GUID - is it only for windows? (I want something that will be for both linux an...
stackexchange/codereview
I'm asked in my course HW to write a comparison in bash using just one line and without ';'. I am required to check whether the string in the variable 'fname' ends with the letter 'C', and if so to print "Match". There is no else command. how can I do it in one line?
stackexchange/codereview
I have 2 databases namely db1,db2. I need a query that fetch the data from these dbs(db1,db2) which have inturn 2 tables(concessions,invoicing) each. In db1.concessions => concession is primary key. db1.invoicing => [Concession Number] is primary key similarly in db2.concessions => concession is primary key. ...
stackexchange/codereview
The following code is undefined behavior in C++ (although it will work okay on almost any widely used implementation): int* pointer; //uninitialized - likely illegal pointer value pointer++; //incrementing an illegal pointer is UB Is the above code legal in C?
stackexchange/codereview
I have a Vanguard webservice which I can call (using basic authentication) using a custom java class. The java wsimport tool was used to generate the java proxy stubs and this all works perfectly. The java code (All classes below are generated by wsimport given a url + authentication info): Authenticator.setDefault(ne...
stackexchange/codereview
I want to call an action along with its .ctp file of a controller file from another .ctp file. for e.g. users_controller.php has an action called list_category() and I want to call it from /app/views/pages/index.ctp file. Not just call list_category but also want to show its html output(I mean also list_category.ctp sh...
stackexchange/codereview
I have this application with a database on its back-end, and I'm having a lot of trouble wrapping my head around how to test this thing. (It's an Android app, but I think that the testing concepts are similar. In my application under test, I have a database adapter: public class MyDatabaseAdapter() { Cursor returnC...
stackexchange/codereview
Now that I know that NSEvent does not exist on ios - what do I need to do to capture an event like touchUpInside and cause it to call my method to handle it, WITHOUT Interface Builder? I think this like asking how do I link an event to an outlet without IB... I know it can be done, but I can't find anything that shows ...
stackexchange/codereview
i need a little help here, since i am new to python, i am trying to do a nice app that can tell me if my website is down or not, then send it to twitter. class Tweet(webapp.RequestHandler): def get(self): import oauth client = oauth.TwitterClient(TWITTER_CONSUMER_KEY, TWITTER_...
stackexchange/codereview
Can someone explain what's wrong with the following method signature written using C# 4.0? public void Test(string arg1 = string.Empty, DateTime arg2 = DateTime.MinValue){} I understand the difference between "" and string.Empty in terms of compile time checking but surely the way that optional parameters have been im...
stackexchange/codereview
I have been attempting to use Hadoop streaming in Amazon EMR to do a simple word count for a bunch of text files. In order to get a handle on hadoop streaming and on Amazon's EMR I took a very simplified data set too. Each text file had only one line of text in it (the line could contain arbitrarily large number of wor...
stackexchange/codereview
I was thinking, maybee the best way of loading pictures that I have on the server, using for my site would be to get the url for the picture.. How can I load picture from a url to ImageView?
stackexchange/codereview
I have the following model: But when i compile with VS2010, i get the following error: Error 2 Error 3007: Problem in mapping fragments starting at lines 1784, 2018:Column(s) [createdby] are being mapped in both fragments to different conceptual side properties. What do i want ? Actually i want the Note entity to have...
stackexchange/codereview
In Access form designer I have created 73 Labels, named Label0 to Label72. The labels are in the form header of the form "MainScreen" and the snipped is called on upon the form opening. I am trying to update their positions using this snippet, but it's not working, any idea why not or how to make it work? I get the er...
stackexchange/codereview
I have a report that runs a Stored Procedure in Oracle. This procedure fills several tables with data in Oracle. I then want to query those tables and load several Tablix(s) in my SSRS report. I need the Stored Proc to run first. How can I ensure the Stored Proc runs before the DataSet queries that I use to fill th...
stackexchange/codereview
So I'm basically unable to use any kind of session in my Kohana 3 project. A few example of the issue : $session = Session::instance(); $session->set('customer_id', $customer->id); $this->request->redirect('controller/action'); //At the start of the redirected action $session = Session::instance(); $customer_id = $ses...
stackexchange/codereview
I am getting an error of: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull isEqualToString:]: unrecognized selector sent to instance 0x26e9d68' I have a FriendViewCell class which has a UIImageView and two other labels as an IBOutlet. Setting the property and synthesize it (ba...
stackexchange/codereview
How do I use the imageswithcer to load picture from my website,, I mean, do I need to send images as binary? or can I use Imageswitcher on URls on the pictures?
stackexchange/codereview
Having the following issue in a PHP shopping cart. A dump of my session looks like: Array ( [username] => test@test.com [key] => 1 ) The shopping cart has three buttons: <form name='cartForm' action='cart.php' method='post'> <input type='image' value='submit' name='continueshopping' src='x.jpg' /> <input type='image' ...
stackexchange/codereview
I use the following code for controlling access in a ASP.MVC application (this a piece of a controller): public ActionResult MakeEditable(int id) { // controlling part if (!User.Identity.IsAuthenticated) { return RedirectToAction("Login", "User", new { callback = Url.Action("MakeEditabl...
stackexchange/codereview
i've got a iPad TabBarApplication. i subclassed the TabbarController to make the Application react to a orientation change: @implementation frankenlandTabBarController - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return ( interfaceOrientation == UIInterfa...
stackexchange/codereview
I have an image that I want to execute a link with a javascript onClick event when the image is clicked. The link is: <a class="test" href="javascript:;" onclick="foo.add( 'name=name', 'quantity=1' );"> <img src="pic.png" alt="Click" /></a> Jquery I am fiddling with $('.test').click(function(){ onclick = $(this).attr(...
stackexchange/codereview
I'm building a Windows Phone 7 app in Silverlight. I'm having difficulty with IsolatedStorage. IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication(); if (!storage.FileExists(STORIES_FILE)) { storage.CreateFile(STORIES_FILE); } string contents...
stackexchange/codereview
Hi say I have a couple of fields in my RadGrid: <telerik:GridTemplateColumn HeaderText="ProductName" > <EditTemplate> <asp:TextBox ID="info" runat="server" Text='<%# Bind("ProductName") %>' /> </EditTemplate> </telerik:GridTemplateColumn > <telerik:GridDropDownColumn DataField="CategoryID" DataSourceID="SqlDataSourc...
stackexchange/codereview
I need to do a check on a page to check if certain images have loaded ie. not returned 404. If they arent available I want to replace the image with a default images. I am aware I can assign an onerror handler to the images. Firstly I need to use a selector to find all the images that have a source which contains the ...
stackexchange/codereview
I wanted to try out the Firesheep addon for Firefox but I get the following error: Couldn't get netmask for device en1: en1: no IPv4 address assigned I'm using MacBook Pro (Snow Leopard). Any ideas?
stackexchange/codereview
Hi I have some issue regarding constructor and destructor. I have list class, which has two inner classes, one private class for the list nodes, and one public iterator class. Now for the issue, I have written a non-member print function which uses the inner iterator class. When i use this non-member function it will e...
stackexchange/codereview
I am interested in creating various kinds and types of javascript animations using traditional javascript (no frameworks) and canvas. My question is can anyone point me to resources (books/sites etc) that would be useful. I know that many frameworks already exist but my learning object is to understand the core languag...
stackexchange/codereview
the GNU implementation of the C++ Library supports a parallel mode, explained here. Any experiences in using it? Good ones? Bad ones? Especially regarding correctness, but also performance. Are there some "more or less serious" projects using it? Do you use it with the global turn-on-parallel switch -D_GLIBCXX_PARALL...
stackexchange/codereview
I'm having a problem with VS2005. Whenever I have an exception thrown and my program breaks, the line that it breaks on is not readable because it turns black and blue. Please see my screenshot for a better idea of what I'm talking about. I had resharper installed but I went ahead and disabled it but this is still hap...
stackexchange/codereview
I'm developing an Android application. How can I center the title for a custom dialog that I'm using?
stackexchange/codereview
Am I totally missing something here? Why can't I get out what I'm putting in? Set<String> stringSet = new LinkedHashSet<String>(); stringSet.add("firstName"); Map<String,Object> payload = new LinkedHashMap<String,Object>(); payload.put("properties", stringSet); String sPayload = JSONValue.toJSONString(payload); paylo...
stackexchange/codereview
This is an idea I got in to my mind, All the display devices(screens which have pixels etc...) have an upper bound for the amount of various images they can generate. as an example 1024*728 - 32 bit pixel display can only show (2^32)^(1024*768) etc... number of identical frames without duplicating any scene(view). fu...
stackexchange/codereview
hey guys, i have 3 winForms named carForm,parForm and updateForm, so there's updateForm.show() method in both carForm n parForm, while m in updateForm i want to know which class/form has called updateForm, so that i can update the respected class db. Currently i'm setting up a public global variable to verify that whic...
stackexchange/codereview
how can i keep the sqlserver install automatically when i install my project with attached my own database to sqlserver 2008 express after publish my project. what is the code i can write to in the setup project under vb.net to keep this happened thanks a lot
stackexchange/codereview
I'm relatively new to Haskell with main programming background coming from OO languages. I am trying to write an interpreter with a parser for a simple programming language. So far I have the interpreter at a state which I am reasonably happy with, but am struggling slightly with the parser. Here is the piece of code w...
stackexchange/codereview
Starting form now, for the first time, I am getting this error when I start debugging my MVC application Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be use...
stackexchange/codereview
I've built an Out-Of-Browser application using Silverlight, which if right-clicked while running in-browser gives you the "Install BlaBla Application onto this computer" option. This works just fine on my Windows 7 machine and I get the icon added to my desktop. On my OS X testbox however, I still get the install optio...
stackexchange/codereview
here is my sample project updated from this thread: WPF: Refine the look of a grouped ComboBox vs. a grouped DataGrid -sample attached - http://www.sendspace.com/file/ru8hju (VS2010 .Net 4.0 project) My question is now HOW can I add a "column header" like stackpanel horizontal with 2 TextBlocks ADD to my existing Comb...
stackexchange/codereview
I want to detect whether the user of my app as the portrait view lock set or not. How can I figuere this out? Thanks Markus
stackexchange/codereview
I have class SubForum with ForeignKey to self - parent: class Forum(models.Model): name = models.CharField(max_length=200) url = models.URLField() class SubForum(models.Model): name = models.CharField(max_length=200) orginal_id = models.IntegerField() forum = models.ForeignKey('Forum') parent ...
stackexchange/codereview