instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
In my iphone app, i have a requirement for quote of the day. I want to display the quote in the manner as quote and its author name. I want that no matter how big or how small the quote is the author name should come below the quote leaving one blank line. I tried using the two labels but it works well for bigger quote...
stackexchange/codereview
Why does the following bit of code work in C: int res = pow(2, 3); printf("%d\n", res); while this other doesn't? int a = 2; int b = 3; int res = pow(a, b); printf("%d\n", res); Even if I try double a = 2; double b = 3; double res = pow(a, b); printf("%f\n", res); I get an undefined reference to `pow' What am I...
stackexchange/codereview
I'm using eclipse with the m2eclipse plugin. I create my projects as maven projects, create the pom, and run m2eclipse on the projects to enable workspace dependency resolution. When its time to deploy, I simply export my web project as a WAR file. One problem I've noticed is that I need the files in src/test/java to r...
stackexchange/codereview
I have a Silverlight based web site, and I am wondering whether it is compatible for Apple related devices, like MacBook, MacAir, iPad or iPhone? Compatible I mean whether end user could browse Silverlight based web site using MacBook, MacAir, iPad or iPhone? If not, any changes I need to make (if there is any free sof...
stackexchange/codereview
I wrote a non-static Generic class instantiator for my Abstract Factory design, and use Singleton approach to make sure that only 1 instance of the instantiator will be initialized for every client request. public sealed class FactoryInstantiator<T> where T: class { private static readonly FactoryInstantiator<T> _i...
stackexchange/codereview
If I have a human body 3d model, that I want to animate walking, what is the best way to achieve this? Here are the possible ways I see this being implemented: Create several models with the legs in different positions and then interpolate between these models. Load the model into openGL, and somehow figure which vert...
stackexchange/codereview
string connectionString = "Data Source =|DataDirectory|\\user.sdf"; User context = new User(connectionString); Userdetail newUser = new Userdetail(); newUser.Username = txtReg.Text; newUser.Password = txtRegPassword1.Password; try { context.Userdetail.InsertOnSubmit(newUser); context.SubmitChanges(); ...
stackexchange/codereview
I found this website with an effect that I would like to replicate. To see what I am talking about go here: http://www.rowtothepole.com/ When scrolling through the webpage you can see that the iceberg layer scrolls at a different rate as the text box on top of it. I would like to know how they are doing this.
stackexchange/codereview
I start writing a simple app to use FaceBook IOS SDK from GitHub. I have a few questions about it: Is there a better documentation about those Delegate .. functions ? I cannot find those except the ones in DemoApp in the package In the DemoApp, fbDidLogin, fbDidNotLogin and fbDidLogout are never called ... even a dial...
stackexchange/codereview
Is there a common regular expression that replaces all known special characters in non-English languages: é, ô, ç, etc. with English characters: e, o, c, etc.
stackexchange/codereview
Can I have a POCO that I don't want proxy to be generated for (so I don't set its properties virtual) and another POCO for whom I want a proxy to be generated (properties virtual) managed by the same ObjectContext against the same EDM in a single project? If I set the ObjectContext.ContextOptions.ProxyCreationEnabled t...
stackexchange/codereview
I'd like my app to handle certain things differently when the user is on or off facebook. Is there anyway to detect whether or not he is logged in (obviously my session will be valid because I have offline access)
stackexchange/codereview
I'm new to this HTML form stuphs. I developed an app and gave it to someone to test. I had used MSIE 8 and the other used MS IE 7. On 8, pressing return does nothing, whereas on 7 it submits the form - and the says it is submitted prematurely. I suppose I might be able to suppress that my making sure that the submit ...
stackexchange/codereview
What is the best way to change the css of an element using jquery? I have a list of elements displayed one per line and I want to display them inline, dynamically.Should I use .css({"properties"}) And write a whole bunch of code ? Any other suggestions ? Thanks.
stackexchange/codereview
Earlier we had a tag ifRole such that <op:ifRole role="role1"> <li id="menu3SubMenu4">This will be shown only to the user with role1</li> </op:ifRole> In this tag we had one required field role and another optional field secondaryRole. Now I added another optional attribute excluding such that <op:ifRole excluding=...
stackexchange/codereview
I usually work on my Master branch, and push to Production. I accidentally worked on Production branched and deployed the app. Now my Production has the latest version, Master has older version. What should I do to update the Master branch files to the same as Production? What commands to issue? I will be careful and w...
stackexchange/codereview
Assume you're given a circle with the line AB containing its center O, such that A and B are on the circle (OA=OB=radius). A tangent t is drawn on the point A, and I should calculate the mapping of certain points (a,b,c,d...) of the circle to the points on the tangent (at, bt, ct, dt, ...) such that the distance Aa (th...
stackexchange/codereview
I am using the code template from Microsoft at this site with this snippet to print out only a single line and form feed: string s = "Hello world!\xC"; //\xC means form feed PrintDialog pd = new PrintDialog(); pd.PrinterSettings = new PrinterSettings(); if (DialogResult.OK == pd.ShowDialog(this)) { RawPrinterHelper...
stackexchange/codereview
I'm working with some code I borrowed from here which uses boost::call_once to make a singleton class, and would like to convert everything to use C++0x's std::call_once to remove the dependency on Boost. Does anyone know what the Std equivalent of BOOST_ONCE_INIT is?
stackexchange/codereview
how do I import package (to package above present work directory) in Java? here is the directory structure: Coba.java import halo.*; public class Coba { public static void main(String args[]) { Orang org = new Orang(); System.out.println(org.a); } } Orang.java package halo; // I can't i...
stackexchange/codereview
I have a silverlight assembly which is referenced by a silverlight application and a ASP.Net application. In the ASP.Net app i need to serialize(Binary) some of the instances of types defined in the silverlight assembly. Can anyone help me with this? Edit My problem is that i have a silverlight assembly which is used ...
stackexchange/codereview
The Doctrine will set "id" as the default primary key, how can I modify it? My table only has two colums, there are "type_code" and "type_name", and "type_code" is the prmary key.
stackexchange/codereview
I have a model User u=User.find(1) How do I get u instance converted into a hash? Is there some built-in method to do this?
stackexchange/codereview
I have a unit test method which tests a controller action method. The action method uses resource file to get a static message. message = Resources.MyResource.MemberNotVerified; However at this line the exception thrown is :- "Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The s...
stackexchange/codereview
Using Javascript. I'm trying to loop through an array encoded with JSON. Here is a sample of the array: {"test1":"some info","test2":"more info","test3":"more stuff"} Inside each loop I am checking to see if a DIV id exists with the name of the keys. <div id="test1"></div> <div id="test2"></div> <div id="test3"></div>...
stackexchange/codereview
From Apple: "You should never present a split view inside of a navigation or tab bar interface." They don't say why, and they only say "should" not. What would happen if I do it? I can imagine so many good use cases where I would want to!
stackexchange/codereview
How do you send data from an ASP.NET web application to a windows form application?? How do you establish the connection? I looked up webrequest/webresponse/post but i think thats only if you want to communicate between 2 asp.net web applications.
stackexchange/codereview
In python we can say: if foo < bar < baz: do something. and similarly, we can overload the comparision operators like: class Bar: def __lt__(self, other): do something else but what methods of the types of the operands of those interval comparisions are actually called? is the above equivalent to if ...
stackexchange/codereview
I'm trying to implement notification in Android. Now I have a problem, I don't want to have a PendingIntent that user will open any Activity. How can I do that?
stackexchange/codereview
I've create the following class in Visual Studio 2010: public class Bat : Form1 { public int BatLocation; public void draw() { Pen batPen = new Pen(Color.Black); batPen.Width = 10; playArea.DrawRectangle(batPen, BatLocation, (picPlayArea.Height - 30), 50,...
stackexchange/codereview
I have got a text file created using OCR software - about one megabyte in size. Some uncommon characters appears all over document and most of them are OCR errors. I would like find all characters used in document to easily spot errors (like UNIQ command but for characters, not for lines). I am on Ubuntu. What Unix com...
stackexchange/codereview
Hello I have the following in my Create Controller: def create @requestable = find_requestable if !@requestable.nil? . .. And then: def find_requestable params.each do |name, value| if name =~ /(.+)_id$/ return $1.classify.constantize.find(value) end end nil...
stackexchange/codereview
I have the following huge query that contains repeated subqueries , It looks really inefficient to me. How can i optimize it ? SELECT T2.date1, T2.date2, T2.period, T1.market, T1.ticker, 0 AS scenario FROM (SELECT DISTINCT Q.market AS market, Q.ticker AS ticker FROM portfolio.scenario S RIGHT JOIN por...
stackexchange/codereview
I have some device redirection PHP at the top of each of my sites pages that I want to disable if the page was reached from a certain url. How can I disable this PHP if the user arrived at that page by clicking from http://www.mysite.com/mobile That url could change, ie: http://www.mysite.com/mobile/blah/blah or http:/...
stackexchange/codereview
this will be the first question I've posted here so pardon any unintended lapses in board etiquette. In my current project, I've taken a large, non-normalized table and broken it into four separate, normalized tables. My ultimate goal that I'm reaching out to this board for is to create a view which mimics the non-nor...
stackexchange/codereview
I need to get ahold of copies of Visual Basic 3 and 4. I tried eBay. Any other ideas?
stackexchange/codereview
I'm looking for a way of parsing a conditional expression to a string. The best example I can think of is LINQ-to-SQL. It uses ExpressionVisitors to format "Where" clauses. Example: from a in b where a.x == 5 && a.y < 3 select a That would translate into the following string (approximately, MSSQL is not current for me...
stackexchange/codereview
A multi-threaded piece of code accesses a resource (eg: a filesystem) asynchronously. To achieve this, I'll use condition variables. Suppose the FileSystem is an interface like: class FileSystem { // sends a read request to the fileSystem read(String fileName) { // ... // upon completion, execut...
stackexchange/codereview
I have a function in jQuery that does something like the following to allow for sitewide keyboard navigation. function listenForNavKeys(e) { // Alt+1 Navigates home if(e.which == 49) { window.location.replace(location.protocol + '//' + location.host + '/application/views/home.php'); } } For an example of th...
stackexchange/codereview
I have a strange thing happening with php files. As an example: domain.com/test.php domain.com/test domain.com/test/some/other/directory/that/does/not/exist All three of the above link structures will resolve at the test.php file. What causes this? Is there a setting in the php.ini file or the httpd.conf file or an...
stackexchange/codereview
How to encrypt query string in vb.net ? http://localhost:2486/volvobusesindia/passenger_info.aspx?from=Delhi&to=Manali&journey=21-Nov-2010
stackexchange/codereview
I want to run code of javascript having ActiveX object on Mozilla firefox, can anyone tell me how to do
stackexchange/codereview
For passing dynamic values to js code, is it better to do like this? var myVar = '<?php echo addslashes($_SESSION['myVar']); ?>'; Or make an AJAX call at run time to get the session variable and assign it to myVar? What are the pros and cons? I personally prefer the AJAX method. It makes the code look better in case o...
stackexchange/codereview
I am dumping a cvs file into a datatable. I am able to loop through each row and each column. I only do run some some logic for 4 columns out of 16 columns. I tried if but not working. How do i use "for" type syntax? For example, I like to say for columnA do this. For columnB do this. (instead of if(column.ColumnName =...
stackexchange/codereview
Is there any way to change the syntax highlighting of one particular file in Eclipse? I'm coming from the Notepad++ world where you can just select the language of the file from the drop down and it will highlight accordingly. I'm looking for that type of functionality. Please and Thanks! edit: JB Jansen's answer work...
stackexchange/codereview
Drupal modules are php files with .module file extensions. To generate tags on these files I run ctags with the following langmap settings: ctags -R --langmap=php:+.module . This command produces tags file with several tags belonging to .module file. But when I open the taglist window with TlistToggle none of the tags...
stackexchange/codereview
Here's a simple php function. function hello($name) { $message = 'Hello '.$name.' How are you feeling today?'; return $message; } And as you know, when I execute this function it returns a message. <?php echo hello(Stackoverflow); ?> Output : Hello Stackoverflow How are you feeling today? Is there any way to d...
stackexchange/codereview
apologies for having to create a new thread for this but I'm starting out in winsock and have been following through madwizard and beej guides, and also some information on msdn. I'm stuck and I cant seem to compile the following (yeahp...big start..i know..:P ) #include <windows.h> #include <winsock2.h> #include <ws2t...
stackexchange/codereview
I have a function that takes a color bitmap and makes it greyscale, but the memory usage is far too high. I used the Marshal.Copy method before, there is not memory leak but its slower. Any help? Bitmap b = a.Clone(new Rectangle(0, 0, a.Width, a.Height), a.PixelFormat); BitmapData bData = b.LockBits(new...
stackexchange/codereview
I'm clear about everything except how to set password using the script. Normally, I would write: passwd username And the terminal would prompt for password. How to read password from file instead?
stackexchange/codereview
How could I select and play a song in an iPhone user's library using objective-c? Thank you so much! I couldn't find how using Apple's documentation or Google.
stackexchange/codereview
How can I catch messages for all windows from one central place in my application (winforms). I need one central place in my application (e.g. programm.cs or Mainform) that can react to every Creation or alternate every showing (WM_FORMSHOW 0x18) of a Form. Forms are copntributed from other developers, AddIns, but the...
stackexchange/codereview
In a typical client-service application, where service is WCF, how to you use the service reference? For example, do you instantiate service for each call separately, or do you open one and keep it through the lifetime of the client app? (when I'm refering to 'instatiating service', I mean instantiate service object c...
stackexchange/codereview
I am performing a curl request to a page. I have set both 'CURLOPT_TIMEOUT' (to 6 seconds) and 'CURLOPT_CONNECTTIMEOUT' (to 4 seconds) - and both work perfectly for most URL's. However, when a webpage does not respond (and finally causes CURL to through a 'Could not resolve host' error (err_no 6) ) - it seems that 'CUR...
stackexchange/codereview
first my english not good so much. sory. my problem is, when page load complete. i use click function first clik working successfully. but secon click not working. but i refresh the page first clik working , second not working againg. when i refresh the page code is working for once. (note: i am new at jquery ) $(docum...
stackexchange/codereview
I write a test which print the content of argv[0]--the address of main function's parameter as followed: printf("%p\n",argv[0]); I compiled the program with Visual Studio 2008 on Windows 7. Then I executed the program 1000 times which output the results to a file. As a result, the address of argv[0] changes, however,...
stackexchange/codereview
I am developing an application using which users can update their twitter status. Then it fetches all messages(i.e. updates) sent by its users & display them in diff windows sorted by msg type. The msg displaying code is: echo' <ul id="msg" name="msg">'; foreach ($xml->entry as $status) { echo'<li>'.$st...
stackexchange/codereview
i'm looking for jQuery code which will suggest me a URL for new CMS article, based on the Title of article. Example: I wrote title: The sky is blue jQuery autogenerated URL: /the-sky-is-blue/
stackexchange/codereview
I work for a small data management/warehousing company that also focuses heavily on web applications. We are looking to "beautify" our existing web apps into something along the lines of mint.com or sifterapp.com or any of the 37signals sites for example. We are a .Net shop so whatever framework used on the front end...
stackexchange/codereview
I need to make last argument in my function to be a default argument and the type of this argument is *& (reference to pointer). For some reason this doesn't work for me: template<class T> void f(T*& = nullptr); I'm getting an error: Error 1 error C2440: 'default argument' : cannot convert from 'nullptr' to 'T *&...
stackexchange/codereview
I have a form with a grid. The grid has a context menu and one of the menu items should create reports for each item selected in the grid. However, I'd like the reports to run on a separate thread and for the context menu to close almost immediately after clicking on the report item. I'm still trying to understand t...
stackexchange/codereview
Hi Could you explain me
stackexchange/codereview
I am working on a desktop application for which I need to load the assembly and execute it in different appdomain. For loading the assembly I have written as: public static DataTable GetAllPluginNames(string[] args) { SqlConnection sConnection = new SqlConnection(ConfigurationSettings.AppSettings["ConnectionStr...
stackexchange/codereview
If I have code producing the above notice, and similar such as undefined offset for arrays, would adding isset() or empty() checks improve the performance of the script in addition to remvoing the error notices? Edit: Just to clarify, I want error reporting on and I know isset will get around the notices, this questio...
stackexchange/codereview
I have an application developed with Erlang / MNesia and I am trying to implement redundancy for MNesia. I want to add - remove nodes dynamically in runtime and handle synchronization of tables for every new joining node. What is the best way to implement this using Erlang and MNesia? Thanks.
stackexchange/codereview
I have the following code. Is there an easy way to put an outline on the text I am writing? var imageEncoder = Encoder.Quality; var imageEncoderParameters = new EncoderParameters(1); imageEncoderParameters.Param[0] = new EncoderParameter(imageEncoder, 100L); var productImage = GetImageFromByteArray(myViewModel.Pr...
stackexchange/codereview
I would like to be able to show whats happening on my phone, on a computer screen or projector. This seems like it must be possible since Microsoft does it in all of their demos, but I can't seem to figure out how. For example, I've build an app, and I want to demo it to a room of prospective clients. I can't really u...
stackexchange/codereview
I found that in jqGrid plugin for JQuery I can add rows dynamically, but can I do the same with columns? If there would be a simple table I'd prefer to do this manually by hands, but jqGrid stores table information in a lot of divs.
stackexchange/codereview
O represents Big-O. O(g) : { f| f is non negative function              there exists c,m where c and m are any constants              such that f(n) <= cg(n) for all n >= m }            Show That :- O( f(n) + g(n) ) = O( max{ f(n) , g(n) } ) .
stackexchange/codereview
I have a .sql file that has a sequence of create table statements, like this: crtab.sql define ll='&1'; define ul='&2'; create table TAB1 (...); create table TAB2 (...); create table TAB3 (...); ... create table TAB1000 (...); The user passes as arguments two parameters - the lower limit ll and the upper limit ul, ...
stackexchange/codereview
Here's my problem: I want to build a website, mostly static but with some dynamic parts (a little blog for news, etc..). My webserver can only do static files (it's actually a public dropbox directory!) but I don't want to repeat the layout in every html page! Now, I see two possible solutions here: either I create an ...
stackexchange/codereview
I would like to create a 64 bit ubuntu AMI that is backed by EBS and is persistent. By persistent, I mean that I want to be able to seamlessly make changes to the AMI without worrying about snapshotting it myself. What is the best way to do this? Are there any services that provide this kind of service? There are so m...
stackexchange/codereview
Like in the title. I have three level menu and want it to look like: [ FIRST LEVEL ITEM ] -------------------- [ SECOND LEVEL ITEM ] [ SECOND LEVEL ITEM ] [ THIRD LEVEL ITEM ] [ SECOND LEVEL ITEM ] [ THIRD LEVEL ITEM ] [ SECOND LEVEL ITEM ] But third level items are displaying just behind the other items. I added huge...
stackexchange/codereview
First off, I'm not asking for anyone to do my homework. I'm simply confused with this Java Syntax. Below is the assignment description and two classes I have to implement. The first one is here for reference only. The second one is the one I'm having trouble with. Being able to program with numbers that do not (in the...
stackexchange/codereview
Can i trace the requirement in each stage of Software developemnt life Cycle like requirement, design, coding, testing and deployement in Rational RequisitePro.
stackexchange/codereview
Using TextLayout and LineMeasurer (The only way to draw multiline center-aligned text in java), How does one go about this?
stackexchange/codereview
I have one asp.net application, in which i have one dropdown which is binded to dataset. But after selecting one item, the drop down gets cleared all the value, How we can resolve this issue? This is my dropdown list in design page: <asp:DropDownList ID="ddlProduct" runat="server" CssClass="textEntry" Width="300px" ...
stackexchange/codereview
I want to display the net amount of a calculation in two text boxes if netamount = 45.60 first textbox should show rounded value and next textbox should show what is rounded. I have earlier done this with c by a manual program of rounding and now my manager don't want me do something like that because he believes c# ...
stackexchange/codereview
I have an object being passed to a method from a flash object. I would like to be able to view all of the properties in this object a bit like you can do in c# with the 'add watch' feature in visual studio. Is this possible with javascript and firefox/firebug? I was thinking of doing a for loop and console.logging the ...
stackexchange/codereview
I think I am having trouble with binary file io. If I run my program, create some employee objects and then display them everything works fine. If I save the object data and reload the program I get an RTTI exception. It apears to me that my LoadEmployeeData() and Savelist(vector &e) functions work just fine. The exc...
stackexchange/codereview
I have a very unique situation. I need to introduce and upgrade on the Android market, but I have lost the key store I used at the time as I have changed machines. Now the Android market won't let me upload the update. What do I do to find the earlier key?
stackexchange/codereview
I'm writing a Silverlight 4 application using "Silverlight 4 Unleashed" as a foundation. I have a ChildWindow for loggin in with Username, Password, and Remember Me. The OK button is tied to my AuthUserViewModel SignIn using RelayCommand. Since I'm just starting, I don't have any data validation yet and noticed someth...
stackexchange/codereview
I was trying to display the contents of an array into a table view. The table view has single column. My class is RKCandidate which is a subclass of NSWindowController. RKCandidate is also the Owner of the 'nib' file In IB I have selected the File's Owner as the dataSource of the tableview. There are the methods I'm us...
stackexchange/codereview
I have the follow problem. I need to create a JS widget and set it on one blog, for example any blog from blogger.com. YOu can select there a box for javascript and I will post the JS in this box. The problem what I have and don't know how to do this is, that the script should do an ajax polling for exmaple for 60 seco...
stackexchange/codereview
I have a main activity. It's main purpose is to handle Tab menu. If a user click a tab it'll load another activity as a sub-activity, still showing the tab menu. I am using Intent to do this: setContent(new Intent(this,B.class)) This sub-activity has an onclick function as well. If the user clicks one of the links i...
stackexchange/codereview
I've made some code to insert data from an excel table in to an access database - my code is as follow: Sub AddData() Dim Cn As ADODB.Connection Set Cn = New ADODB.Connection 'lets connect to the workbook first, I tested this, it works for me Cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=sample.xls;Exten...
stackexchange/codereview
I have a series of usercontrols nested in an ajaxToolkit:TabContainer that need to be validated. The user control has a txtFlightFrom and a txtFlightTo control and I need to make sure that is their is data in the txtFlightTo if there is data in txtFlightFrom (you can't fly out of one airport without a destination airp...
stackexchange/codereview
if ( $bid != $USER OR mysql_num_rows($already) > 0) { echo "ok"; } I have this line. I want "ok" to show, if $bid isn't the same as $USER OR if there doesn't exists any rows in the $already query. What have I done wrong? function show_block_Form($bid, $id, $USER){ $already = mysql_query("SELECT * FROM users_blocke...
stackexchange/codereview
What is the best way to serialize an object and send it over a bluetooth (or network connection)?
stackexchange/codereview
I have XNA Game Project (game) with (by default) contains a nested Content Project. I want to reuse this nested Content Project in another Project (game editor) in the same solution. I've added Content Reference, but content files are not copied to the output directory (content directory is created but empty). Somebod...
stackexchange/codereview
I have problems updating the image of an UIImageView from within a method that is called from a NSTimer. It works within the viewDidLoad method where I do something like this [imageView setImage:[self getNextImage]]; later on I do NSTimer* readTimer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@sel...
stackexchange/codereview
I am trying to overload the stream insertion operator so can I print std::vector to std::cout, but I'm having problem with syntax. This is what I tried: template<typename T> std::ostream & operator<<(std::ostream &os, std::vector<T> &v) { std::copy(v.begin(), v.end(), std::ostream_iterator<T>(os, ', ')); return...
stackexchange/codereview
I am going through a problem that i am creating a html table using jquery and add click event to its table cells. it is working perfectly fine but when i add a new table row in that table then it wont catch the click event on the newly created row. The earler rows are working fine. I am send u my code your help will be...
stackexchange/codereview
I need to display the number of items in a List component that has a filtered ArrayCollection as its data provider. I don't see a way to get the filtered collection's length. Anyone know? Thanks.
stackexchange/codereview
I have a list of div elements: var list = $('.divelement').get(); I want to use jQuery to find a specific element (that has an id that contains "hdnPK") in each of these div elements. Something like: var elem1 = list[0].$("[id*='hdnPK']").get(); var elem2 = list[1].$("[id*='hdnPK']").get(); But you cant write it like...
stackexchange/codereview
We are using Lucene.Net (2.3.2.1) with NHibernate.Search in our product and i found a very strange behaviour concerning my queries. Here is the Debug output from my thwo tests showing the input query and on the second line what the query parser generates, using the StandardAnalyser: Test 1 (failing) LastName:* AND Ide...
stackexchange/codereview
The XML schema specifies an index of files. Below is an example of how the XML file should look like. <?xml version="1.0" encoding="utf-8"?> <fIndex xsi:schemaLocation="http:address fIndex.xsd" xmlns="address" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <f> <foN>SomeDir</foN> <fiN>file1.txt</fiN> ...
stackexchange/codereview
I want to set up a connection to the Windows Symbol server in Visual Studio. I have the following command: symsrv*symsrv.dll*c:\localcache*http://msdl.microsoft.com/download/symbols What should the c:\localcache part be changed to?
stackexchange/codereview
Apple says in a ref I should use -init. But that seems to go against the convention of always using the designated initializer. Since it doesn't have any, it would be the one from the superclass which is UIViewController, right? And there, it is -initWithNibName:bundleName:, if I'm fully awake right now. However, when ...
stackexchange/codereview
When using InstallShield to create a compressed setup file, i noticed that InstallShield discovers referenced assemblies from files i added to Files and Folders and adds them to the setup.exe. While I am aware of those file I added I don't want to have those files in the setup too for file size issues. Those said I can...
stackexchange/codereview