instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
if (!(file_exists(http://example.com/images/thumbnail_1286954822.jpg))) { $filefound = '0'; } why won't this work?
stackexchange/codereview
Is there some statistic on how widely people use various JRE's? I'm asking, because I created a program (using JDK 1.6), and found that it would not work on JRE 1.5 and older. So, do I need to bother making it compatible, or maybe the percent of JRE 1.5 out there is too small?
stackexchange/codereview
I just try to creating WCF REST Webservice for android by following this tutorial http://fszlin.blogspot.com/2010/05/comsuming-wcf-services-with-android.html But I get an error when I try to use JSONArray in Android. JSONObject t = new JSONObject(new String(buffer)); "A JSONArray text must start with '[' at character ...
stackexchange/codereview
i use asp.net and ajax I have a button and I want to count that, how many times was the button clicked in 1 minute. if the user clicked the button more than 5 times in 1 minute it will be deny for 5 minute. what is the best solution.?
stackexchange/codereview
I got a problem when I want to write and save an INI file. I use Zend_Config_Ini to handle this procedure. The problem is I always got 'Double Quote' in the value for every line that use integer or number afer saving process. Here is the example The original application.ini file resources.session.use_only_cookies = 1 ...
stackexchange/codereview
Please excuse my english, I'm still trying to master it. I've started to learn MongoDB (coming from a C# background) and I like the idea of what is MongoDB. I have some issues with examples on the internet. Take the popular blog post / comments example. Post has none or many Comments associated with it. I create Post o...
stackexchange/codereview
Here is my .XML: <table> <report field="FROZEN_BY" /> <user name="Peter O'Toole" count="16"> <row> <QTY value="2" /> <EXTENSION value="SLDASM" /> </row> <row> <QTY value="3" /> <EXTENSION value="SLDDRW" /> </row> <row> <QTY value="3" /> <EXTENSION value="SLDPR...
stackexchange/codereview
What happens here is I call the crop image activity and then the camera activity runs in background. When I finish this activity, the camera is still alive at the background. So how can I kill programmatically the camera activity running in background? Intent newIntent = new Intent(); newIntent.setAction("com.android....
stackexchange/codereview
Greetings, I'm having a strange issue with data sent to Cake via URL path. If the path includes url encoded entities, the encoded chars appear to get stripped off and the rest of the URL path is not getting passed to my controller. For example: http://mydomain.com/products/search/pants+%26%2A%25+shoes/1/pg-2/ This shou...
stackexchange/codereview
If anyone knows the name for these types of comments, if one exists, please modify my question. I frequently see comment blocks such as this: /********************************************** * Some Important Text Here **********************************************/ Sometimes they can look like this: /*******...
stackexchange/codereview
Using PowerShell, it is easy enough to create, say, an instance of the Excel Application class and start manipulating it: $app = New-Object -ComObject "Excel.Application" However, if I need to use the constants like xlDoubleQuote or xlDelimited - it seems like I am forced to hard code them. I would really like to be a...
stackexchange/codereview
As user Tony points out there's a [Note] in paragraph 1.3.12 of C++ standard saying permissible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution in a documented manner characteristic of the environment... Doesn't this cont...
stackexchange/codereview
I want to get the iterator for the element I'm testing for in binary-search. But it only returns a bool indicating whether it found the value or not. How to get the iterator?
stackexchange/codereview
I have a problem while using the scroller in my application. I have used the scroller but it is not working properly as it is not able to maintain a consistent speed while automatically scrolling. The speed of the text is getting slower with time as the text moves upward. Here is the code that I used for this purpose: ...
stackexchange/codereview
My problem is I want to open a URL (non-Silverlight webpage) in a Silverlight Out-of-browser(SL-OOB) Application but in another window/page/etc. This webpage will return some content, that will be rendered accordingly to the functionality on this webpage, that means I want a Loaded/document_completed Event fired on pa...
stackexchange/codereview
I know if i use the Random generator from Java, generating numbers with nextInt, the numbers will be uniformly distributed. But what happens if I use 2 instances of Random, generating numbers with the both Random classes. The numbers will be uniformly distributed or not?
stackexchange/codereview
I am really, really missing something with jQuery's .animate() function. I can't get it to work for the life of me. I have some simple HTML: <div id="header"> <div class="logo"> <img src="img/logo.png"> </div> </div> <!--End header --> <div id="status_bar"> <br/> ...
stackexchange/codereview
This code generates an exception with the latest LINQPad 4.28 beta new System.Drawing.Bitmap(200, 200).Dump(); Is this a problem in my code or a problem with LINQPad's .Dump() extension method?
stackexchange/codereview
I need to dynamically move 2 seekbars. While the user moves one, the other will have to move also accordingly to the values of the first. I've created 2 seekbars but they move independent from each other, how can i "link" them so, for ex. the second seekbar moves 1/10th of the first? Thanks seekBarSM.setOnSeekBarChang...
stackexchange/codereview
If showsHorizontalScrollIndicator is enabled, a small horizontal indicator is displayed at the bottom of the UIScrollView. I was wondering if anyone could tell me how this is calculated. The reason being, I want to display a custom indicator in a horizontal navigation system if there is content left/right, show/hiding ...
stackexchange/codereview
I'm developing a web part which needs some custom CSS files. So I'm using the CssRegistration class to add them to the page header. The code registers 4 CSS files which got deployed to the layouts folder by the web part feature. A fifth CSS files is optionally registered when there's a path to it set in the web part's...
stackexchange/codereview
On this link I came across http://lxr.linux.no/#linux+v2.6.36/include/linux/pci.h#L299 integer declaration unsigned int is_added:1;I have made C programs and declared integers in them but in the above I see use of : What sort of syntax is that?
stackexchange/codereview
Given the width, height, depth and byte array of an image, I need to create an SWT Image object. Currently, I have no trouble when given the data for 8 bit images. int imageWidth; int imageHeight; int depth; byte[] imageBytes; //calculate the values imageData = new ImageData( imageWidth, imageHeight, depth, new Palet...
stackexchange/codereview
I am getting a problem. I am calling a Java class from VC++. When I run a Java program from ID it works fine but when I deploy it on tomcat it gives me an exception and when I started debugging it I found that it returns null in cls. How can I give an absolute path in FindClass so that it can also be called from tomcat...
stackexchange/codereview
I am trying to read a "properties file" form JSTL using taglib , but i can't access it <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%> I've located the tld file correctly in the web.xml , am sure of this <taglib> <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/lib/fmt.tld<...
stackexchange/codereview
XML Categary tag is same data For me i got twice in table View please give me reply fast. if in application xml some data are repeat like if we have recipe Many of recipe belongs same landmark so for in my app that all are show repeatedly in table view i want to element same name in xmL (i want to group by them). T...
stackexchange/codereview
I am working with regular expression in python, need an expression which will check for bracket "()" and after the characters.That means it will catch only "test()abc" not "test()". Thanks
stackexchange/codereview
I've been playing with the new Servlet 3.0 async features with Tomcat 7.0.4. I found this Chat Application, that lets clients hang on GET request to get message updates. This is working just fine when it comes to receiving the messages. The problem arises when the client is disconnected i.e. the user closes the browse...
stackexchange/codereview
hai how set video in full screen now i am attach my screen shot.... <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="videothumb.videothumb" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:...
stackexchange/codereview
i am trying to get an image from a https url but it doesnt seem to display and get the image correctly but works fine on my computer browser. i have tested out a http url pointing to a different image and it works fine. my code is below: public Bitmap getContactPhoto(String url) { Bitmap pic = null; try...
stackexchange/codereview
I have a case where I have a bean (let's call it A) which needs some other bean (B). This B is retrieved from a static method of a class using MethodInvokingFactoryBean. This static method depends on the state of the system and will work after the web application is loaded. I need to access the B only in runtime (no in...
stackexchange/codereview
What is the best/preferred way to select a (distinct) list of parent entities that has a child collection containing matches for ALL entries in a parameter list of children? I'm performing the "any" version of my search like this: select p.Id, p.Name from parent p where exists(from p.Children c where c in (:childList)...
stackexchange/codereview
I am creating a settings editor where plugin writers can define their own user interface for configuring their plugins. I am implementing a feature to hide certain "advanced" elements if a checkbox is unchecked. The checkbox XAML is trivial: <CheckBox Name="isAdvanced">_Advanced</CheckBox> Ideally (more on this later...
stackexchange/codereview
I have a scenario in which 5 buttons else two or more same controls need to access the same startupscript (ASP.NET). Is it possible?? If so give me a details code snippet. Thanks in advance.
stackexchange/codereview
In application I need to take Image out of UIView. Frame of that View is W 1800 and H 1200. This activity takes lot time and screen stucks there unless this activity get finish. I need to perform this activity in background,so that user can continue with other things. What is best approach to achive this. I tried with...
stackexchange/codereview
how to compare two IP belongs to same Class(CLASS A,B,C,D) in MFC(VC++) ? I have one IP as 172.24.17.174 and other one as 172.24.17.86 now i can compare whether they lie in same class or Not ? Any code is highly appreciated. Thanks
stackexchange/codereview
I have the following query which returns the total value of purchase orders against suppliers for a particular company (we have multiple companies in our group). I want to add a date range using poheader.orderdate but as I didn't write this query and it is slightly more complex than I am used to I am not sure where to ...
stackexchange/codereview
Is there any kind of difference between DocumentBuilder.parse(InputStream) and DocumentBuilder.parse(InputSource) ? I could only find that for the first case, the parser detects the encoding from the stream so it is safer while in the latter I am not sure if it is required to set the encoding. Any other points...
stackexchange/codereview
Possible Duplicate: Difference between pointer variable and reference variable in C++ As I am starting with C++, I found the operation below confusing. I got to know about passing by reference and passing by value. But recently I came across functions like this which confused me: Func1(int &a) Func2(int *a) Both of...
stackexchange/codereview
Here is my query csQuery.Format (_T ("INSERT INTO EFFECTS (EFFECT_NM,EFFECT_VALUE_NUM,EFFECT_DIR_NM,PROJECT_ID_SQ) SELECT '%s',%f,'%s',STACK_GAP.PROJECT_ID_SQ where PROJECT.PROJECT_NM = '%s'"),TDName,TDvalue,TTDdirection,csProjectName); I am getting SQL command not properly ended error ...
stackexchange/codereview
How do I switch off the default index on primary keys I dont want all my tables to be indexed (sorted) but they must have a primary key
stackexchange/codereview
We are testing our app on an iPad with 4.2 on it. How do we force the app to stop. We are testing the initial load section of code and of course that only fires when the app starts up. Reminds me of a similar issue on our Android apps....
stackexchange/codereview
If you have a Silverlight Toolkit NumericUpDown control binded to a MVVM property and a RelayCommand trigger set (any event), the command is called before NumericUpDown changes MVVM property value. This means, you can not use the new (changed) value with you method/action/command... XAML: <inputToolkit:NumericUpDown ...
stackexchange/codereview
I need to call web service from windows mobile at perticular interval. Is Timer (System.Windows.Forms.Timer) the right control for this? Will this consume more battery power? Are there any alternatives?
stackexchange/codereview
I want to check the node of the selected text. If it is span, another function will edit the classes applied to it. If it is same as the parent node, then the code will wrap the selection in span and set its styles. The problem here I'm facing is, how to determine, if user has selected the whole text inside the editor ...
stackexchange/codereview
How do I split a string into an array of characters in C#? Example String word used is "robot". The program should print out: r o b o t The orginal code snippet: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.IO; using System.Text.RegularExp...
stackexchange/codereview
I have a basic web forum people fill out and send an e-mail. I have about two dozen of them on the site. One is not working in IE for some reason. It works and sends fine in Firefox, Chrome, Opera etc... IE error: Server Error in '/' Application. ------------------------------------------------------------------------...
stackexchange/codereview
I have a blocking client/server connected locally via Winsock. The client uses firefox to retrieve data from websites, passing certain data along to the server for extra processing. The server always responds, and the processing can take anywhere from 1/10th second to a few minutes. The client has no winsock connection...
stackexchange/codereview
Consider this piece of code: class A { void methodX() { // snip (1 liner function) } } class B { void methodX() { // same -code } } Now other way i can go is, I have a class(AppManager) most of whose members are static, (from legacy code, don't suggest me singleton ;)) class AppManager { public: s...
stackexchange/codereview
i want to use jqGrid to generate invoice system in php what i need, i fill the text boxes for invoice items and press add, item should be added in jqGrid. and if i need i can be able to remove any item from grid. and at the end i save that data to mysql. Thanks
stackexchange/codereview
Given a regular expression, is there a library or webservice which will give the human/non-programmer an English description? For example, .+ => one or more characters
stackexchange/codereview
Hi how i can use custom listview with textview and imageview.i tried following code ListView lv = (ListView) findViewById(R.id.ListView01); this.getListView().setCacheColorHint(00000000); String[] data = new String[] { "aac", "xsfdf", "dsf", "frgr" }; int[] to = new int[] { R.id.TextView01}; SimpleAdapter ada...
stackexchange/codereview
I made a script before, that worked completely fine in PHP 5.2. But when recently going over to my friends server (version PHP 4.4.9), I noticed some actions didn't work the way they should. The outcome of what the checkboxes returned came out crazy... This is the code I'm using: For the form: <input type="checkbox" va...
stackexchange/codereview
friends... my json array is {"result":[{"status":0,"statusmsg":"Sorry, that's an invalid domain\n","rawout":null,"options":null}]} how to convert this a json array into a flex 4 array (as3)? Thanks for all help's
stackexchange/codereview
what I am trying to do is relatively simple. I am just trying to bind the Y element of a TranslateTransform on an ellipse to 1/2 the height of the ellipse: <Ellipse Name="EllipseOnlyLFA" Height="200" Fill="Yellow" HorizontalAlignment="Left" VerticalAlignment="Bottom" ClipToBounds="True"> <Ellipse.Width> ...
stackexchange/codereview
Question: Where is a good starting point for learning to write server applications? Info: I'm looking in to writing a distributed computing system to harvest the idle cycles of the couple hundred computers sitting idle around my college's campus. There are systems that come close, but don't quite meet all the requirem...
stackexchange/codereview
I recently installed netbeans 6.9.1 Use it with Ruby Rails 3.0.1, when creating the project, standard catalog "app", "config", "db" turned into "Controllers", "Helpers" and others. Screenshot:: http://pics.kz/s1/2c/ce/da/2cceda36066160b03fd9c37733b12585.png How to make the directories were in standard form?
stackexchange/codereview
I am developing a site in HTML 5. I wrap all my footer content in footer tag. Like code below <!DOCTYPE html> <html> <head></head> <body> <header> <h1>Talking Dogs</h1> <b><p>Humans aren't the only talkers!</p></b> </header> <article> <p>Ever encountered a talking dog? I have.</p> <p>It all happened one day as I was ...
stackexchange/codereview
I have discovered that all the files RoR generates when creating a new application seem to be saved with Western(ISO-8859-1) encoding (I am developing locally on a Windows machine). As a result I am having problems when using certain special characters eg £. Should RoR be generating the framework files and saving them...
stackexchange/codereview
I'm writing an app that can detect lanes in a driving simulator. The environment is relatively simple, its mostly straight multi-lane roads and almost no curvature at all. At the moment, I can successfully detect lines using the (classical) Hough Transform but the issue is that the HT naturally also detects lines that ...
stackexchange/codereview
I try to send some values using ASIFormDataRequest. The problem is that even though the php script is executed no post data is received. Here is what I do: ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url]; [request setPostValue:@"Ben" forKey:@"first_name"]; [request setPostValue:@"Copsey" forKey:@"...
stackexchange/codereview
The below mentioned in the GCC Page for the function sections and data sections options: -ffunction-sections -fdata-sections Place each function or data item into its own section in the output file if the target supports arbitrary sections. The name of the function or the name of the data item determines the section'...
stackexchange/codereview
I'm hoping this is a no brainer. I've been doing iPhone development and have been asked to develop an iPad app for internal company use whereby 2 or 3 iPads in close proximity can talk to each other. The following description isn't really necessary but I just want to solidify what I mean by "talk to" Conceptually: t...
stackexchange/codereview
In a facebook iframe page (not tab), I'd like to post data to an external API using cURL, but I would prefer if my form page didn't reload. I'd like to have some jquery ajax happening ("submitting data" message on submission of the form and a success message on success of the curl_exec). I was thinking of creating a h...
stackexchange/codereview
I have a div like this <div id="sale"> ........ </div> and I tried to use both $('#sale').delay(3000).slideDown(500); and setTimeout(sale(), 3000); function sale() { $('#sale').slideDown(500); } but neither of them are working. The jQuery delay says $('#sale').delay() is not a function while the setTimeou...
stackexchange/codereview
I want to get each cell value from an HTML table using JavaScript when pressing submit button. How to get HTML table cell values?
stackexchange/codereview
I have code: function _filter() { var url = window.location; alert(url); alert(url.split("/")[1]); } When I launch it I get only one alert message: http://localhost:8000/index/3/1. Why I don't get the second alert message?
stackexchange/codereview
Hello I'm trying to get the multitasking work properly, but unfortunately I'm kinda lost. My problem is when I re-enter the game, it takes several seconds for the game to come back and show the pause screen. My question is; is there any way to put some sort of loading screen until the game comes back, so I can at least...
stackexchange/codereview
I would like to recursively call a servlet from itself until my operation completes. The reason I need to do this is because my hosting service has a hard deadline that must be met for all RPC calls. Therefore, I need to break up the operation in managable chunks and call the servlet recursively for each chunk until ...
stackexchange/codereview
I'm a graduate trainee at a software company. They told me to learn unit testing and write unit tests for a project that has 3000 lines and 35 classes approximately in 3 weeks. I did read Art of Unit Testing in 2 days and getting used to unit tests took another day already. You think it is doable?
stackexchange/codereview
in my implementation, I have an interface as: ICachingManager. I've got now one implementation. I also created a manager class as: public class CachingManager { #region Members private ICachingManager service; #endregion #region Constructors public CachingManager(ICachingManager service) { ...
stackexchange/codereview
I want to implement the following logic. I have 4 activites A, B, C and D. The flow is A -> B -> C -> D When the user navigates from A -> C he should be able to get back to the previous activities by pressing the back button. But after reaching D pressing the back button should take him to activity A. And pressing the...
stackexchange/codereview
I have work on Application That use Internet. It contains XML parsing from url. than Showing Progress Dialog While parsing time. Stop dialog when parsing is done. set TEXT(Data) in ListView. my issue is that, When device is connected to internet than my Apps works fine But when Device is not connected to internet "...
stackexchange/codereview
I am trying to get the header "Set-Cookie" or access the cookie container, but the Set-Cookie header is not available. The cookie is in the response header, but it's not there in the client request object. I am registering the ClientHttp stack using bool httpResult = WebRequest.RegisterPrefix("http://", WebRequestCrea...
stackexchange/codereview
In android, my app provides a button that the user can click to return them back to the screen that appears when the app is opened (onCreate). How can I set that button to return the user to the main menu? I have something like this in a switch statement (on click): case R.id.return_main: onCreate(...
stackexchange/codereview
Here is my sample code: printDocument1.DocumentName = "C:\a.pbf";// PrintDocument printDocument1 printDialog1.Document = printDocument1; printDialog1.AllowPrintToFile = true; printDialog1.AllowSelection = true; printDialog1.AllowSomePages = true; printDialog1.PrintToFile = true; if (printDialog1.ShowDialog() == DialogR...
stackexchange/codereview
Making game of life I need to a have a grid that is 30x20 (X * Y). The problem is (I had another question regarding to that) that the c# arrays are rows, columns. So when I use CursorPosition() to drawing I need to swap it because it wants column at first. Is there any way how I can reverse it so I can use like this? i...
stackexchange/codereview
I implement a project which contain a activity group mainActivity. This main activity contains 3 other activity groups. When I try to start myaccountactivity which is an activitygroup, it works for api more than 1.6 but if i tried to run it on 1.6 i get following wrror 11-23 12:22:15.005: ERROR/AndroidRuntime(412): jav...
stackexchange/codereview
I'm trying to see how this works but as yet all I seem to find is dead links, fragmented comments or nothing of any worth to introduce a beginner to this? Any pointers welcome, thanks
stackexchange/codereview
I'm trying to send mails through rails using Action Mailer and the Googlemail-SMTP-server, but it doesn't work. What am I doing wrong? Here's the config I use (I also tried a local Relay-Server without authentification which also didn't work): # Action Mailer config config.action_mailer.smtp_settings = { # Gmail Accoun...
stackexchange/codereview
I want to simply set the height of an EditText component to be 50% of the user's screen height. I'm creating the initial layout from an xml file (main.xml), loaded in the Activity's onCreate(Bundle). From the xml configuration, I understand how to set the EditText height to a literal value, e.g., android:layout_height...
stackexchange/codereview
a)I want to allow the user to upload the photos from the front-end b)Latest photos are needed to be displayed in the left menu (max 8) c)A separate page for displaying all the photos after clicking of photo, will show the full size photo with next and previous button. I don't know which component or module will suit ...
stackexchange/codereview
Anyone know where I can find stats on how many units are currently running each major version of iOS (1-4). I'm trying to decide if it's prudent to use functionality only available in iOS 4. Thanks!
stackexchange/codereview
I have used this code locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 500, 50, this); to get my location using GPS. From what I understood, this code updates the GPS every 500milliseconds until the accuracy is about 50ms. Right? Now how do I know when it has achieved this accuracy?...
stackexchange/codereview
guys How can i achieve the following var productslist=from p in productsTable select new product{Id=p.Id,Tax=myfunctions.calculateTax(p.price)}; i have tried to google and came across this document. Is there another way i can do this without using third party dlls Solution: Move application to .net 4....
stackexchange/codereview
I have a sqlite3 database with table as feature_category : feature|sentiment|count, example awesome|positive|1234 I want to to visualize this on a graph which could possible tell me clearly which word is more positive and which is not so positive Could someone tell me any mapper/tool/technique of implementing thi...
stackexchange/codereview
I have two <execution>s attached to the same phase deploy. First execution is tomcat:redeploy, second one is a custom one that makes a HTTP request to the production server to validate that the application really works. How can I instruct maven to execute them in this particular order?
stackexchange/codereview
I'm working with the latest unobtrusive.js file that comes with the latest MVC 3 RC install. When I fire up firebug, I'm getting a JS error (though this error is not being thrown in IE) $jQval is undefined [Break on this error] parse: function (selector) { [line 164] I really don't know where to begin here. I cou...
stackexchange/codereview
I'm trying to find an elegant way to retry an operation when a WCF channel is in faulted state. I've tried using the Policy Injection AB to reconnect and retry the operation when a faulted state exception occurs on first call, but the PolicyInjection.Wrap method doesn't seem to like wrapping the TransparentProxy object...
stackexchange/codereview
I'm using an XML datasource in an app. One of the fields called quantity is sometimes zero, thus: <quantity>0</quantity> However, when I try and get that value, the actual value in the JSON data structure isn't 0, it's just absent. Other fields show up with the $t element inside them, but this one doesn't: 'item' :{ ...
stackexchange/codereview
So I have been working on this for some time. Would like to know if there is a better way or if I am on the right track. I would basically like to allow some users to login to my server via SSH and then have a squid tunnel via that SSH connection. The tricky part however is that I dont want these users to be able to ex...
stackexchange/codereview
gcc 4.4.5 c89 I have a function called create_object where I allocate memory for a global structure. And I have a function called destroy_object where I check that the pointer is not null, then I free. Just incase I free memory that hasn't been allocated. However, I have tested this by making 2 consecutive calls to des...
stackexchange/codereview
Since Nobody knows, taken off the question.
stackexchange/codereview
Possible Duplicate: Should I always prefer MySQL InnoDB over MyISAM? Under what conditions should InnoDB be used over MyISAM ? I've seen some MySQL optimization tests where MyISAM proves to be faster. All of my tables are MyISAM, so why should I switch to InnoDB?
stackexchange/codereview
How to add the increment variable in xslt i have table , with student details, i want to Add S.No front of the Firstname , like 1 firstnamJoth LastNameJO LocaitonTexas 2 FirstMithul LastNameFig LocationArron In xslt how to do this, i know , with xslt we can do , i dont know where to start, here is my XML and XS...
stackexchange/codereview
I have a table that needs to record geographical points (long, lat) for the whole world. The input data is traditional longitudinal & latitudinal (-180, -90, 180, 90). I created a geography column and want to index it. However, there are many options and MSDN doesn't indicate best practices. I have the following questi...
stackexchange/codereview
Is following design possible?: template <typename T> class Test{ public: template <typename Z> void doSomething(); //rest of things private: T obj; //some things }; Now if it was possible I'd do some explicit specializations for doSomething so that at the end I'd have some versions like below: void doSomet...
stackexchange/codereview
I have a ASP.NET web application, when I click menu "report", it will download an microsoft office excel template from server, and when the excel file opened, there is an "retrieve data" button, by clicking this button, excel with vba script will download the data from webservice. I'm sure nothing wrong about vba scrip...
stackexchange/codereview
I am building a Windows Phone 7 app with Silverlight and am having a problem with some ListBoxes. They only scroll slightly and then return to original position when I attempt to scroll to bottom of list. Some ListBoxes work fine. Others do not. Those that don't work are generally more complex. For example, one s...
stackexchange/codereview
Does Ruby on Rails offer pagination methods/helpers as a part of frame works?
stackexchange/codereview