instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm experimenting with Spring, I'm following the book: Spring: A developer's notebook. I'm getting this error: "Bean property 'storeName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?" .. and I'm quite lost. I have an ArrayListRentABike cl...
stackexchange/codereview
Alright so pretty basic, here are the pieces of code I have, basically it's supposed to updated my table "comments" on the "like" column. My problem is situated in the javascript while trying to submit the result. SPAN which contains a link to submit: <span id="like<?=$i?>"><a href="javascript:void()" onClick="likeComm...
stackexchange/codereview
How could I print the top 10 users on a linux distribution by the number of processes they have running? I have managed to do this using a shell script, but now I'm interested at how I can do this using Python.
stackexchange/codereview
Does anyone knows how to enable the circle symbol (slide transition) in the beamer theme Darmstadt such as http://www.maths.dundee.ac.uk/~dfg/icms09/beamer-handout.pdf Thanks. -jo
stackexchange/codereview
I'm getting this error msg from the JSON result sent by the Twitter search API. Any ideas on what it means & how to avoid it? Its kind of a random error, since it does not always appear. -JSONValue failed. Error trace is: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=10 \"Garbage after JSON\" UserInfo=0x5c499...
stackexchange/codereview
I have the gcc compiler in "/Developer/usr/bin/gcc" but when i type in gcc into terminal it says can not be found, i assume this is because its not in the "/usr/bin" dir. So can i a) move gcc from the first dir to the second, or set some kind of shortcut pointing gcc to "/Developer/usr/bin/gcc"
stackexchange/codereview
i have new problem with JPA in EJB3 my stacktrace are: Caused by: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult() at org.eclipse.persistence.internal.jpa.EJBQueryImpl.throwNonUniqueResultException(EJBQueryImpl.java:1207) at org.eclipse.persiste...
stackexchange/codereview
I do not know how to call a function with a reference in it :( It is a silly noob question I know. The header is let's call it ref.h has a function in it that is: virtual int funcName (Bike &biker, BikeArray &bikearray, int x, int y .... ) Within ref.h there is another header that is called Bike.h. How do I call fun...
stackexchange/codereview
Is there a way to do something like this int a = (b == 5) ? c : d; using Bash?
stackexchange/codereview
I have a ListView that with alphabetical headers for each letter. I also have an index function that brings the letter headers to the top of the screen. My problem is when I reach the end of the list setSelection is unable to bring the last few headers to the top because it will not scroll past the end of the list. ...
stackexchange/codereview
I wish to match &amp;v= and before "> is there a regex match i could use Example: <a accesskey="1" href="/watch?gl=GB&amp;client=mv-google&amp;hl=en-GB&amp;v=ubNF9QNEQLA">Test Your Awareness : Whodunnit?</a> i only need the ubNF9QNEQLA Thanks
stackexchange/codereview
I'm playing around with Sqlite and Attributes, and I have properties throughout my code that look like this: const string FooKey = "foo"; ... string m_foo; [DatabaseColumn (FooKey)] public string Foo { get { return m_foo; } set { if (m_foo == value) return; m_foo = value; ...
stackexchange/codereview
i have tabs in a TabActivity that is being populated by a listview from a method in another Activity. when i click on the listview in the tab, i am trying to delete an item in the listview from onContextItemSelected and let the tab in the tabhost callback the same method in the Activity that populated the listview. ple...
stackexchange/codereview
I am trying to write a method with float parameter and call it using performSelector` but I am getting error in doing this. Following is my code: [sender performSelector:selector withObject:progress/total]; Here progress and total both are float variable. I am trying to call following method in different class: -(void...
stackexchange/codereview
In Python, what do you do when you write 100 lines of code and forget to add a bunch of loop statements somewhere? I mean, if you add a while statement somewhere, you've to now indent all the lines below it. It's not like you can just put braces and be done with it. Go to every single line and add tabs/spaces. What if...
stackexchange/codereview
Edit: I have to apologize, the problem I posted about actually does not exist in the code I posted, because I oversimplified it. I'll try to post something later. Deletion would also be ok, but there are too many answers at present, so I cannot do it myself. Edit2: Ok, here goes: Let, function F() { this.field = "...
stackexchange/codereview
I have installed http://code.google.com/p/calendardateselect/ Datepicker using gem install calendar_date_select Installation was success. but beeing a newbey, i dont know how to use it. i gave in my view file, <%= calendar_date_select_tag "e_date" %> But it throws the error undefined method `calendar_date_select_tag' ...
stackexchange/codereview
First part of the question: Detecting current images being displayed in scrollview A and B i want to place two UIScrollViews in my main view. Very simply done. So ive placed UIScrollView A above UIScrollView B. so it looks like this: Graphical representation ________ | A | ScrollViewA is above ScrollViewB |_____...
stackexchange/codereview
Possible Duplicate: Calling dynamic function with dynamic parameters in Javascript I have an array representing the parameters I need to pass to a function call. How can I construct this function call dynamically? e.g. function constructRequest(params) { //params is an array of params to be sent to myFunction() ...
stackexchange/codereview
Here is a code of FullCalendar that I am using: $(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); $('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', ...
stackexchange/codereview
I need to create a condition in my .htaccess file that will give a 404 when a user requests a file over HTTP, but not when they request it over HTTPS. I have about 15 files in the same directory that this needs to happen with (but not the others).
stackexchange/codereview
I am working on developing an application that requires me to establish multiple client-server based connections. Connection can be of two types where the Android device can be a server or a client. I can have up to 6 - 8 connections. Once the connections are set-up they need to be running in the background and are not...
stackexchange/codereview
What is the importance of DISCRETE STRUCTURES from a programmer point of view
stackexchange/codereview
I have a BufferedImage object and I want to encode it to the BMP format and save it to disk. How do I do this? In JPEG it's ok: BufferedImage img; //here is an image ready to be recorded into the hard disk FileOutputStream fout = new FileOutputStream("image.jpg"); JPEGImageEncoder jencoder = JPEGCodec.createJPEGEncode...
stackexchange/codereview
Is there any way to maintain a tick count in your iPhone app which is : independent of system clock is not impacted by device sleep (unlike CACurrentMediaTime(), UpTime() etc.)
stackexchange/codereview
I have a simple (hopefully) SQL question for you, any help would be much, much appreciated :). I have two tables which I would like to join. One Is Users, lets say it's called users One is a kind of history of that user, lets say its called users_history. The relationship of these two is a one users to many users_histo...
stackexchange/codereview
[cell.detailTextLabel setBackgroundColor:[UIColor blackColor]]; doesn't work. Any way to make it work? Thanks
stackexchange/codereview
How can i configure GMap.NET for c# .NET 4.0 . I found this " If you target .NET4, use this configuration : <?xml version="1.0"?><configuration><startup useLegacyV2RuntimeActivationPolicy="true" ><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /> </startup ></configuration > " but i don't know wher...
stackexchange/codereview
I am using the javax.comm API to help my program communicate with hardware over serial port. I am using the Windows 7 and NetBeans IDE 9. I used the common Java program to check the available ports on my PC. The program compiled and ran without error. However it returned nothing. What can I do to use the javax.comm A...
stackexchange/codereview
I published a site with a web hosting company and when someone hits the URL for the first time they are being prompted to log in using basic authentication. If you hit Cancel the site loads successfully and the user is not prompted again with the dialog box. I contacted support and they are telling me (in a canned res...
stackexchange/codereview
I am using the Zend Framework for construction of my site, which uses the application.ini file to store database info (such as username and password). I discovered that typing /application/configs/application.ini in the web browser plainly shows all the contents of the applications.ini file. How can I prevent this? I t...
stackexchange/codereview
As a followup on this question discussing the use of the ThreadPool vs a dedicated thread: When would you use a dedicated thread (with lowered priority) for applicationwide logging and when would you use the ThreadPool?
stackexchange/codereview
I've created two plugins (A and B), where plugin B is dependent on plugin A. In plugin A I use jQuery UI Dialog for user interaction and this works fine. Dependency: Plugin A is a filebrowser. Clicking a button opens a dialog window where user can select file to relate to wordpress post. Plugin A loads all JS ...
stackexchange/codereview
How do I take Google map coordinates from the map and automatically populate another form element? This is my form: http://www.barbadosphonebook.com/list-your-business-for-free/. At the bottom there is a Google map which, on-click, displays the coordinates. I would love it to also populate the element below with the co...
stackexchange/codereview
I got a question about inserting an entity with dependent entities using RIA Services (With Silverlight 4.0). Let's say I have an Entity in my (sql) database called "Beer" and one called "Supplier", with a relationship: Beer 1 - n Supplier. There are multiple suppliers for one kind of beer. Now there's the following us...
stackexchange/codereview
Maybe I'm overworked, but this isn't compiling (CS0411). Why? interface ISignatur<T> { Type Type { get; } } interface IAccess<S, T> where S : ISignatur<T> { S Signature { get; } T Value { get; set; } } class Signatur : ISignatur<bool> { public Type Type { get { return typeof(bool); } ...
stackexchange/codereview
How would I convert an NSString like "01/02/10" (meaning 1st February 2010) into an NSDate? And how could I turn the NSDate back into a string?
stackexchange/codereview
I'm currently investigating building a User Control in a Silverlight Project in Expression Blend 4. The control has an associated set of sample data for the User Control, and the data is appearing correctly in the User Control. When I place the User Control on the main page, the sample data does not appear in the User ...
stackexchange/codereview
I saw in one of the jQuery books where you can highlight a column that's being sorted. $('th.sortable').click(function() { var $th = $(this); var column = $th.index(); var $table = $th.closest('table'); var rows = $table.find('tr:not(:has(th))').get(); Q: How do I add the 'hightlight' class to every ce...
stackexchange/codereview
Iam currently working on an symfony app that needs to be able to output some documents as pdf, which is no problem at all using TCPDF. What I try to do now is to generate a zip file containing one ore more of these pdf´s generated on the fly. What I basically do is (using php´s) zip library: 1.) Create a new zip archiv...
stackexchange/codereview
I did a course at university that explained how (amongst other things) to order your mathematical execution to maximize precision and reduce the risk of rounding errors in a finite precision environment. We are working on a financial system with your usual interest calculations and such. Can somebody please share/remin...
stackexchange/codereview
Hi Lords of the Interwebs, I've got a Silverlight project that I'm just beginning and I thought I would pick your brains a bit. I'm deciding on a data model to communicate from server to Silverlight client. My boss made the comment that he might want that data model to evolve into API's that could be used by various ...
stackexchange/codereview
I'm trying to determine why a process is hanging and am learning about various tools such as Process Explorer, Process Monitor, and WinDbg. Anyway, I'm trying to use WinDbg and after attaching to my process, the debugger says this: (1e9c.1128): Break instruction exception - code 80000003 (first chance) eax=7ffda000 ebx...
stackexchange/codereview
I have a div on my page which I want to output to a jpeg file. Is this possible using PHP? I know there's the GD library for creating images in PHP but I'm not sure if it can do what I want. Because I also want to put a barcode on the image (I used a jQuery plugin to do this on the html page) . Is this possible (if i...
stackexchange/codereview
I'm trying to make a basic program that allows a user to create a text file and add a list of words to it. When the user writes "stopnow" - the file should close. Unfortunately, right now it's just an infinite loop. What am I doing wrong: import java.util.Scanner; import java.io.*; public class WordList { p...
stackexchange/codereview
I am new to Watir automation testing and would like to get some help for the drop down.On our website we have a state drop down where you enter the first letter of the state (in my example C for California) and it narrows it down to the all states starting with C. Once you have the list you need to click on the correct...
stackexchange/codereview
I am using customCell in UITableView my cell has diffrent UILabel in customCell I want to change the size of the labels according the text to be displayed so that no text truncates and the positions of the labels below the label which size has changed so that no label overlap each other. Thanks..
stackexchange/codereview
I am experienced with Spring MVC and am trying out Stripes to decide whether to try it out for a new project. In Spring MVC I would prepare model data and pass it to the view by adding it to a map in the ModelAndView instance created by my controller. I am having trouble finding the equivalent of this for Stripes. It s...
stackexchange/codereview
I'm working on my first assignment using SQL on our class' PostgreSQL server. A sample database has the (partial here) schema: CREATE TABLE users ( id int PRIMARY KEY, userStatus varchar(100), userType varchar(100), userName varchar(100), email varchar(100), age int, street varchar(100), city varchar(1...
stackexchange/codereview
I may NOT bother with this but if its very simple i may consider it. The site i am working on by design is to hold hundreds of thousands of files. I dont know if we'll have only one download or multiple. Right now the choices are A) Just the file B) An archive that has the file + license and conditions. I am trying to ...
stackexchange/codereview
This <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:outputStylesheet name="test.css" /> renders nothing. Do I have to add some configuration? The test.css is avaible in my resource folder.
stackexchange/codereview
I'm having problems attaching an uncheck command to a checkbox. Or more correct, I do not know how to code it. Here's my code for the check command, how should it look to get uncheck also working? View: <CheckBox commands:Checked.Command="{Binding CheckCommand}" IsChecked="False"></CheckBox> ViewModel: Private _CheckC...
stackexchange/codereview
I heard something recently about it being included in Froyo and I was wondering if there was any truth to it. If there is, it would help me with an app idea greatly.
stackexchange/codereview
I've decided to start fresh with ubuntu 10.10. I started with installing git and then installing rvm from the git repo. everything worked fine and I compiled and install ruby 1.8.7 and ruby 1.9.2 the gem is also installed and I run gem -v but when run gem list or gem install rake I get the following error ERROR: L...
stackexchange/codereview
I have implemented a basic threaded producer-consumer (thread 1 = producer, thread 2 = consumer) using Boost threads and conditions. I am getting stuck in wait() indefinitely quite often. I can't really see what could be wrong here. Below is some pseudo-code: // main class class Main { public: void AddToQueue(...some...
stackexchange/codereview
Is there a way to output to an excel file but to assign what you're outputting to a specific cell in the excel file? For example have an array be cell x 1-50 or something like this.
stackexchange/codereview
Anyone have good experience with tools migrating codebase from VSS to Subversion (preserving histories, meta-data)? Any feedback will be much appreciated.
stackexchange/codereview
I have a problem With a "Special" AJAX Request. I have a Form with several combos ("Select" tag). I'm loading the items for each combo from a MySQL DB, with a Special class designed for me. Each Combo has a "+" Button (For Open a Pop-Up and Add a new Entry). When the user "Saves" the new value, the AJAX request should ...
stackexchange/codereview
I have PHP 5.2.3, apache2.x, MySQL 5.x on a Linux machine. Everything was working fine until yesterday. This morning all of a sudden one of the PHP files started to throw "Fatal error: Call to a member function execute() on a non-object in". I use PDO (prepare, execute, close cursor etc). Have you ever come across this...
stackexchange/codereview
I understand how to turn off ViewState encryption for asp.net web applications. I want to know if I should. My question is more from a performance stand point than a security one (All of our traffic is on a private network and we do not store any sensitive data in the viewstate). Before I dedicate hours of setting ...
stackexchange/codereview
What does improved type-safety means?
stackexchange/codereview
I am trying to use the jquery-ui accordion functionality on a drupal page. I have teams with multiple people in each team that I want to display. I have a view set up that groups by team, and has contact info for each team member. My accordion doesn't seem to be working. I used <?php jquery_ui_add('ui.accordion'); ...
stackexchange/codereview
I'm looking at the MSDN docs about List.GetEnumerator. They say the C# method signature is: public List<(Of <(<'T>)>)>..::..Enumerator GetEnumerator() I was expecting this much simpler signature: public List<T>.Enumerator GetEnumerator() What does their signature mean, with all the punctuation and the "Of" keyword? E...
stackexchange/codereview
$('#idOfMyButton').click(function() { $('#idOfMyIframe').attr('src', 'the new url'); }); this code works and it load new url but again it refresh and back to initial status which I set in design mode it happens in a second.
stackexchange/codereview
I can't seem to figure out how to close a currently open branch when committing. Here is what I am doing: Open the commit window Type a message Click the "branch: branchName" button In the box that pops up, click "Close current named branch" Hit OK Hit Commit. And yet, the branch remains open. What am I doing wrong...
stackexchange/codereview
reader = new InputStreamReader(MyClass.class.getResourceAsStream( "/apathdir/textFile.txt"), "UTF-8") Hi! I have this reader and, basically, i want to do a writer, this way, save this file on same path of the jar file, like: >ls >myJarFile.jar textFile.txt
stackexchange/codereview
If it doesn't, then how can I explicitly force it to download asynchronously in a separated thread?
stackexchange/codereview
I need to be able to add an unkown number of where clauses to a Linq query. Currently I have been trying to combine the queries using Concat(). For example: var r1 = from field in db.fields where ID == 1 select field; var r2 = from field in db.fields where ID == 2 select field var r3 = r1.Con...
stackexchange/codereview
I am trying to create a small game for the iPhone with images and I want to them to zoom in when the player is pinching on the screen. I have seen the tutorials with one UIImageView. However, now that I am using multiple UIImageViews, things do not work OK. I put them in an UIView and I am trying to zoom the UIView. H...
stackexchange/codereview
Can you describe the naming convention difference between a method that returns an object it has allocated for the caller (and that the caller should release), and a method that returns an autorelease object?
stackexchange/codereview
I am getting this error in my event logs for a service I put into production: An unhandled win32 exception occurred in RivWorks.FeedHandler.exe [5496]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on. I have it installed and r...
stackexchange/codereview
I have to run my scrolling gtk application on systems which are in network. But the display is slower when i try to run the application by doing telnet to other systems. Is there any way to render images fast on other systems? Can GdkDisplay be of any use here?
stackexchange/codereview
I have to setup an MVC project to house all the HTML documents. This would be like a hierarchical structure using routing. The pages don’t have to function, just act as placeholders. It’s really just for the group to see all the HTML Pages to get an Idea of functionality. Then we would back fill groups of pages with t...
stackexchange/codereview
I wonder if someone could help me. I´ve created a video from a set of images using jmf and an already done example . Now I´d like to add music to my video (.mov or .avi) to generate a new video with the music... I´ve heard about xuggle api but I don´t know how to do that. could anyone help me plz? thanks a lot for your...
stackexchange/codereview
I need to let my Rails app connect to a MS SQL Server database and do a simple query to do a lookup. The main DB for the app is MySQL. It just needs to do this SQL Server thing on the side. What's the best way to do that? I could write an entirely separate app in Java that connects to the DB and dumps some XML data to ...
stackexchange/codereview
Good evening fellow computational authors, I'm trying to run the following script: find . -name '*.php' -exec /search_replace.sh {} \; so that it runs search_replace.sh on all the .php files in a folder and its sub-folders. I keep on getting the error: find: /search_replace.sh: No such file or directory Any assistanc...
stackexchange/codereview
I am trying to convert a temperature from Fahrenheit to Celsius: puts 'Convertir grados Fahrenheit a Celcius' STDOUT.flush x = gets.chomp aprox = (x * 100.0).round(2) / 100.0 resultado = (aprox-32)/1.8 puts resultado I use the correct formula for converting Fahrenheit to Celcius: Celsius = Fahrenheit - 32 / 1.8 H...
stackexchange/codereview
I'd like to remove a directory and all the files in it from a repo. I have removed all the files with hg remove, but how do I remove the directory itself? Will it just automatically vanish once I commit all the removed files?
stackexchange/codereview
I'm writing a Windows Forms app that uses a DataGridView control. I have row select enabled on the control. I would like to trap the DoubleClick event, but it doesn't seem to fire reliably - I often have to double-click on a row 2 or 3 times before the event is triggered. Could anyone point me to a way to capture th...
stackexchange/codereview
I'm cleaning up files using Notepad ++, and trying to delete lines that start with \pard and have some text then end with a line feed. But \n doesn't work in RegEx and .* doesn't work in an extended find and replace. This is what I've tried unsuccessfully: \pard.*\n \pard.* works but leaves the line feed in RegEx.
stackexchange/codereview
I am working on integrating Omniauth with my new Facebook application, and I am looking through the rather sparse documentation to understand if it gives simple ways to access the graph API... I am moving from Koala which was pretty simple. Has anyone out there used Omniauth for this yet? I want to get photos from t...
stackexchange/codereview
I got this problem: invalid conversion from ‘void*’ to ‘uint8_t*’ When doing this: int numBytes; uint8_t *buffer; buffer=malloc(numBytes); //error here, why? or must I have to put it like this? buffer=malloc(numBytes); Please explain this.
stackexchange/codereview
I'm trying to write an in-line function for count occurrences of a word in a string using lambda expressions recursively. The function: Func<string, string, int> getOccurrences = null; getOccurrences = (text, searchTerm) => text.IndexOf(searchTerm, StringComparison.OrdinalIgnoreCase) == -1 ? 0 : getOccurrences( ...
stackexchange/codereview
I'm working on a Windows Phone 7 app using WCF for communications with my server. I've created a service and am able to communicate well, but I'm having trouble accessing an interface in the client code. For instance, in my server code I have something like this: [OperationContract] [ServiceKnownType(typeof(IField))] [...
stackexchange/codereview
I think Erlang-style concurrency is the answer to exponential growth of core count. You can kind of fake it with other main stream languages. But the solutions always leave me wanting. I am not willing to give up multi-paradigm programming (C++/D) to switch to Erlang's draconian syntax. What is Erlang-style concurre...
stackexchange/codereview
I'd like to show a ContextMenu for a custom View which is not part of an AdapterView. I called myActivity.registerForContextMenu(myView); and the ContextMenu already shows up. But I don't know how to access the data of myView in @Override onContextItemSelected(MenuItem item) //... I thought I could create a custom m...
stackexchange/codereview
I've been experimenting with monads in Clojure and came up with the following code, where a monadic value/state pair is represented by a mutable Clojure deftype object. Since the object is mutable, an advantage would seem to be that you can write monadic code without needing to construct new result objects all the time...
stackexchange/codereview
I'm not really sure how to accomplish this with this theme. The Filament Group has shown some promise in this demo. But not all that glimmers is gold, since the accordion and other plugins won't work correctly (it's a work in progress). Related questions include: Round Corners in IE using ui-corner-all
stackexchange/codereview
I have a .Net 2.0 project that depends on many 3rd party .Net dlls (all of which obviously target .Net 2.0). If I were to migrate my project to VS2010 and target the .Net 4.0 framework, will my app still build? Or will it complain about the .Net 2.0 dll references and I will have to find .Net 4.0 versions of these 3rd ...
stackexchange/codereview
very basic question, but is there any ToArray-like function for c# linked lists that would return an array of only part of the elements in the linkedlist. e.g.: let's say my list has 50 items and I need an array of only the first 20. I really want to avoid for loops. Thanks, PM
stackexchange/codereview
I always see "selected (Level:" or "Sibling" next to each menu element. What I should do to disable this information from my website.
stackexchange/codereview
I am stumbled by this question. The following is my approach: Lets say the two nodes are node1 and node2 For any node (lets say node1), find the path from Root to node1 and store it in an HashMap For the other node node2, find the path from root to node2, and while traversing back, check if any of the no...
stackexchange/codereview
For some reason with cookieless session enabled in MVC2, the session id in the query string is reset with every form post that happens. Is there a special route that needs to be setup for this to work? Are there any other gotcha's I need to be aware of? Thanks.
stackexchange/codereview
I'm having some trouble setting the FieldChangeListener of a new button I am creating after an action is performed. I have a list of ButtonFields and when I create a new VoiceNote a new ButtonField linking to that VoiceNote is added. I create a new voice note to be edited in another screen and when that screen is cl...
stackexchange/codereview
I have written a jquery script here But there is problem in the $(this).toggleClass("active").next(); section. With this all the header tags will be in "active" class. How can I assign "active" class only for clicked tag? Thanks in advance
stackexchange/codereview
Is the following possible, after many hours of searching I cannot find a straight answer anywhere. From an external website, which users login to using their Facebook Login, we wish to allow users to upload photos to a Facebook Page of which we are the administrators. The photos should go to a specific album which we w...
stackexchange/codereview
I have an element as follows <div id="loadNavigation" style="width:20%"></div> <div id="loadContent" style="width:80%"></div> Essentially navigation is on the left, content on the right. Now I am dynamically resizing both loadContent and loadNavigation on page load to be at a minimum height of the browsers window heig...
stackexchange/codereview
I have an app that I want to distribute to 3.1.x devices, but I don't have a device to test on. I ran the app on another dev's 3.1 device, and it crashes, so I definitely have some debugging to do. Rather than find and buy an old 3.x device, I'd like to run a 3.1.x Simulator. Is there any way to do that? I have upgrade...
stackexchange/codereview
I've been running som eprofile tests of a slow area of code. This is with Visual Studio 2008 and .NET 2 (fully patched). About 32% of my computation is used by the Haversine formula. This requires two sines, two cosines, a square root, and an arc sine - all using the standard .NET Math library (ie. Math.Sin, Math.Asin,...
stackexchange/codereview
I want to wrap part of the TinyXML library in some custom classes in my project because I only need some of its functionality and I do not wish to expose everything. I have a problem where my XMLDocument::AddNode(...) function is basically doing the same thing that my XMLNode class is meant for. I wondered if anyone...
stackexchange/codereview