instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Im currently evaluating Drupal to see if we can use it to replace our framework. My problem is I have this legacy tables which I would want to try to reflect in Drupal. It involves a join table. There's quite a lot of this kind of relationship in our existing web app so I am looking for possible ways to solve it. Than...
stackexchange/codereview
I have been experimenting with Appcelerator Titanum yesterday and I think it's cool when it comes to Javascript. Python features on Appcelerator Titanum are so limited (can't use some modules for example). My question is How can I use html & javascript as a GUI tool for a real python application ? I am running win...
stackexchange/codereview
I'm trying to play an FLV using the Netstream class - standard stuff, really using nothing more complex than things you can find in the help files. I've created a control panel with a bar you can use to click and drag and scrub through the video. Exporting to Flash Player 9, it's working fine and I can scrub through t...
stackexchange/codereview
I need a way to push a project to the top of the build queue. In front of all the other projects that are waiting. This issue has happened for me a few times, and I haven't been able to find an answer at http://cruisecontrol.sourceforge.net/main/configxml.html We are using cruisecontrol 2.8.3 to build approximately 20...
stackexchange/codereview
I am using an api with a json endpoint to grab some data. the api returns dates that look like: Date(1288205847730) (so a basic javascript date object) How do I convert that to Thu, 28 Oct That is the generalized question that I could work from. The actual question is I want to show Thu, 28 Oct format if there is more...
stackexchange/codereview
Message: PartialLoop helper requires iterable data Stack trace: #0 [internal function]: Zend_View_Helper_PartialLoop->partialLoop('partials/ListaK...', Object(Model_Klasy)) #1 C:\xampp\php\PEAR\Zend\View\Abstract.php(342): call_user_func_array(Array, Array) #2 [internal function]: Zend_View_Abstract->__call('partialLo...
stackexchange/codereview
I'm using Celerity in JRuby to automate the download of some .csv files from certain websites. For one of the websites (LinkShare), I've gotten very close but cannot figure out the last step. The website pushes the file download using javascript and the 'hidden iframe' method - during regular browsing, when you click ...
stackexchange/codereview
Write a time efficient C program that takes two strings (string a, string b) and gives the first occurence of string b in string a.
stackexchange/codereview
Does anyone have a working setup for hunspell and Emacs? Simply setting ispell-program-name to hunspell doesn't work, the output (when using flyspell, for example) looks like below: -> UTF-8 encoding error. Missing continuation byte in 0. character position: - 9631: word not found (my files are usually encoded in UTF...
stackexchange/codereview
I've just created some preferences using the PreferenceScreen XML following the Earthquake example from Wrox's "Professional Android Development" book. Using the emulator, how do I accept the preferences? If I use the back button I return a Activity.RESULT_CANCELED. So which key returns the Activity.RESULT_OK code? Tha...
stackexchange/codereview
I'm using a dbGo TADODataset in Delphi XE to read data from a SQL Server 2008 table. All the string fields are nvarchar or nchar. The nvarchar fields map to TWideStringField with no problems. The problem is with an nchar(1) field, this maps to a TStringField fine but not to a TWideStringField - when I configure the fie...
stackexchange/codereview
I'm trying to create my own Media Player application using a WPF MediaElement. I know that the MediaElement actually uses Windows Media Player as its source and that's why it also loads the .srt (subtitle) file and shows subtitles below the video. My application is actually supposed to override default subtitle renderi...
stackexchange/codereview
I have the following C99 program which measures performance of simple division operations relative to addition. However, the difftime function keeps returning 0 even though the program is clearly taking several seconds to process runAddition and runDivision with iterations set to 1 billion. #include <stdio.h> #include ...
stackexchange/codereview
[python 2.6 - django 1.1.1] Hello. I'm writing a custom serializer for my django application. All the objects that I use are proxy objects derived from django model classes and implement special members that I must serialize (hence the custom serializer). So I've begun to implement a new abstract serializer that inheri...
stackexchange/codereview
I have huge data matrices stored in a MATLAB M-file and I will explain my problem by this sample example: I have three constant matrices (every matrix has its own values and these values are not changed, they are values for experiment results) Every matrix always has 4 rows and 6 columns The last column of the 1st matr...
stackexchange/codereview
does anyone know how to remove this silly expand image option (http://screencast.com/t/Xclao9m84) on the prettyPhoto? This makes no sense why someone would want this and it's ruining my logic. Any help would be greatly appreciated.
stackexchange/codereview
I'm running a vsFTPd FTP server with virtual users (i.e. users are stored in Berkeley DB and do not exist at OS level). The users are authenticated via /etc/pam.d/ftp: %PAM-1.0 auth required pam_userdb.so db=/etc/vsftpd/vsftpd-virtual-user account required pam_userdb.so db=/etc/vsftpd/vsftpd-virtual-us...
stackexchange/codereview
this is my action "Index" when i first go to page i dont have the "pageParent" so i dont get the page. just if i enter to it like this "http://localhost:50918/Page?pageParent=1" it's enter. how to make "http://localhost:50918/Page" to work? public ActionResult Index(int pageParent) { var id = pageParent; ...
stackexchange/codereview
Hey folks... I am back with another issue... I am using jquery Autocomplete on a form field. It works! The issue is, then dynamically I add another row to the form, it doesn't. Yes, I keep toggle the id of the new field to a new one. Original = exampassed1 Dynamically Added = exampassed2, exampassed3 and so on... I h...
stackexchange/codereview
I need to set a window.id on the target of an HTML form. The motivation is for Selenium automation tests. How would I access this window?
stackexchange/codereview
On my MS SQL Server 2008, I've created a temporary table like this : create table #test ( A varchar(50), B int, ) insert into #test select 'a',45 insert into #test select 'b',587 insert into #test select 'a',4 insert into #test select 'b',58 Now the following request take forever select A,SUM(B) from #test group by A...
stackexchange/codereview
I have a strange problem. I tried this command in mysql: SELECT `type`, `bought` FROM cars WHERE owner = 'test' ORDER BY type And it prints out this in phpmyadmin: type bought -------------------- 17 1281025497 22 1287708417 22 1287347244 24 1287708324 24 1287876461 6...
stackexchange/codereview
in my project i have to store some data in the format in the Key=value and later i will just read this value so which collection will be suite for me . Thanks in Advance
stackexchange/codereview
So, I have found a bug in a specific sdk that causes it to fail on some Android phones after re-installing a new version of an app which uses the sdk (via adb install -r, and presumably when a user gets an update that has been pushed to the Android market). Is there any way to force an application's data to automatical...
stackexchange/codereview
I have two packages namely com/mydomain/abc/delegate/xyz/jaxws/managed and com/mydomain/abc/xyz/jaxws/managed I require checkstyle to be disabled only for the second package as these holds proxy classes that are autogenerated. I use a suppression.xml as shown below <?xml version="1.0"?> <!DOCTYPE suppressions PUBLI...
stackexchange/codereview
How can I iterate throw mapped entities and get all data from database? I dont know on first place what is mapped by NHibernate... Configuration configuration = SessionProvider.Configuration; var mappedClasses = configuration.ClassMappings; IRepository repository = new Repository(); foreach (var mappedClass in mapped...
stackexchange/codereview
As per information i have, Aouth provides very stander plateform for authentication for accessing thirdpary social networking website like Facebook, Twitter and LinkedIn. Is it possible to Orkut integration with Website for third party user in PHP. If yes so please Help me.
stackexchange/codereview
This is a puzzler! :D Is there a way to force Hibernate to load a collection for an entity without loading the entire entity first? Let m explain better. I have a Role entity annotated this way: @Entity(name="Role") @Table(name = "ROLES") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) @javax.persistence.Table...
stackexchange/codereview
I am looking for a way to embed the fix() function within a script. Basically, here's what I'm currently doing: I load a certain package. For example, library(PerformanceAnalytics) I call the fix() function to edit a couple functions within the loaded package. Example, fix(VaR). Then, using R's built-in editor, I copy...
stackexchange/codereview
I need to include a progress bar in my wxpython application, but the examples I found use a timer counting down from a fixed time length. Since I have no idea how long it will take a given computer to run my process, I want the progress bar to simply update whenever each specific step is completed. I modified some sam...
stackexchange/codereview
I have a stack of cards. They are stacked so each one has about a centimetre at the bottom visible. What I want, is when a card is clicked it moves to the right, then gets sorted to the top and moves to the left back onto the pile. I then wish to trigger a page change (to the page that's represented by the card). How ...
stackexchange/codereview
I am new to Ruby on Rails and my questions are about the application design, based on Rails 3. There are many data on the internet on the creation of standard websites (such as blogs) on Rails, but my application requires more than just "post and read" and I am not sure how to implement that. The idea: The model "Rout...
stackexchange/codereview
Can anyone tell me how to achieve the below scenario: I have a windows form in which a windows user control(first user control) is present. On click of the button in the first windows user control I want to show another windows user control(second) and hide the first one. Please let me know the procedure to do this.
stackexchange/codereview
I have to create a program in which a user can input a desired sum, then rolls a two six sided dices until their sum is the desired sum. I know that a) I have to use Scanner since it's an interactive program. b) I have to use indefinite loops to solve the problem including the use of random numbers. c) I don't expect y...
stackexchange/codereview
My professor gave me the following definition of Shell Sort. I've included the Bubble and Insertion Sort algorithms as well. What is the advantage of using Shell Sort vs just a regular Insertion Sort or Bubble Sort with gap=1? Eventually, the Shell Sort boils down to that anyway, right? I'm not asking you to do my home...
stackexchange/codereview
This is my first time using JNI. I need to call a third-party Visual C++ library from a Java program, so I wrote a wrapper in Visual C++. The library loads fine, but when I try to call a function from my wrapper library, I get the dreaded UnsatisfiedLinkError. My wrapper includes the .h file created by javah, and has...
stackexchange/codereview
What is the best practice for storing font information of labels in Cocoa-Touch following the MVC paradigm? In my data model I would like to store information that are displayed by a custom view as UILabels. It is evident that the label text belongs to the data model. But where should I store the corresponding font (an...
stackexchange/codereview
text = text + CepVizyon.getPhoneCode() + "\n\n" + getText(R.string.currentversion) + CepVizyon.getLicenseText(); activationText.setText(text); myTextView.setText(text); I want to change the color for CepVizyon.getPhoneCode()'s string. How could I do that?
stackexchange/codereview
I would like to calculate how many bytes my function fills so that I can inject it into another process using CreateRemoteThread(). Once I know the number of bytes, I can write them into the remote process using the function's pointer. I have found an article online (see http://www.codeproject.com/KB/threads/winspy.asp...
stackexchange/codereview
I have the following setup - and don't get any response when I visit the server in a browser. Should I expect some? Here's the test setup, using python & flup. #test.py def myapp(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) return ['abc\n'] import os os.environ['FCGI_WEB_SE...
stackexchange/codereview
Hello I have an HTML document as follows <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="style/...
stackexchange/codereview
I'm using CentOS 5.5 Linux (same as Redhat 5.5) with stock perl v5.8.8 and have installed DBD-Pg-2.17.1 via CPAN shell and I'm using postgresql-server-8.4.5-1PGDG.rhel5 and friends. I have prepared a simple test case demonstrating my problem - it is listed at the bottom. My code works ok, when I remove {pg_async => PG_...
stackexchange/codereview
After every group item (collapsible item) in an NSOutlineView, I need a horizontal line, as a separator. How do I do this?
stackexchange/codereview
I know that this is probably a simple question but here is what I'm racking my brain to figure this out: I know that this: - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(NSInteger)index { return [midiModelContents objectAtIndex:index]; } will return the item at the index provided. My question is, w...
stackexchange/codereview
Do you know how to create a multiple layers BlackBerry applications such as the Trapster, Poynt apps... There will be a bottom layer displaying a map (users can interact with), and upper layers containing buttons that user can click on.
stackexchange/codereview
I've got some HTML and some images in my iPhone app, arranged something like: html/ foo.html images/ bar.png I can get bar.png to appear in my UIWebView a couple of different ways -- either loading foo.html from an NSUrl, and walking back up the directory tree from the html directory: <img src="../images/bar.p...
stackexchange/codereview
I am using HTML and JQuery. I have got below HTML for the dropdown. <select onkeydown="if (!document.all) { window.setTimeout(function(e0) { return function() { if (document.forms.length &gt; 0) { document.forms[0].submit(); } } }(this),0) }" onchange="if (document.forms.length &gt; 0) document.forms[0].submit();" name...
stackexchange/codereview
I created a xcodeproject named ABC.xcodeproj and successfully build it. Later i have renamed it to XYZ.xcodeproj. Bt while building it shows error like this- i686-apple-darwin9-gcc-4.2.1: /Volumes/Partition 2/Client/ABC/ABC_Prefix.pch: No such file or directory i686-apple-darwin9-gcc-4.2.1: warning: '-x objective-c-he...
stackexchange/codereview
any pointer would be helpful. I need a font with symbol character set
stackexchange/codereview
I'm using shape attribute like this: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp"> <solid android:color="#FFFFFF" /> <corners android:bottomRightRadius="15dp" android:bottomLeftRadius="15...
stackexchange/codereview
My desired behavior is that when destroy is called on an instance, that instance will not actually be destroyed, but it will just be marked as having been destroyed. This needs to percolate up for any model associations. In the models that I don't want to actually destroy, but just mark them as deleted I have a deacti...
stackexchange/codereview
I'm playing with PHP/MySQL and trying to teach myself online, but can't figure this out for the life of me. I have been following a PHP tutorial at http://www.keithjbrown.co.uk/vworks/php/php_p5.php This page is at tasmanianracing.com/horses.php I'm getting the following mysql error: You have an error in your SQL synt...
stackexchange/codereview
I'm using a raw resource by creating a folder res/raw/myfile and then using the code InputStream is = Resources.getSystem().openRawResource(R.raw.myfile); This code throws a resource not found exception and in the logs it says "resources don't contain package for resource number 0x7f04000" The code I used above is by ...
stackexchange/codereview
Normally, when you define a mapping for a certain property of a class, NHibernate saves the value in the property as soon as it has been fetched. Either it's fetched immediately when getting the object, or it's lazily loaded on the first invoke of the getter of the property, but once it has been loaded from the databas...
stackexchange/codereview
I have a UIView that can be dragged with the finger which I've implemented by using a UIPanGestureRecognizer. This allows me to drag a view horizontally ; left or right. I make my view moving while receiving the following state from the UIPanGestureRecognizer (using the translationInView: method): UIGestureRecognizerS...
stackexchange/codereview
I have just recently been asked to document 10 years worth of VB6 development done by one person. It's been some time since I looked at VB6 code myself, so I'm basically wondering if anyone has any tips for how best to go about it. Is there any good software, free or not, which would do something similar to javadoc ou...
stackexchange/codereview
I have strings of text that may have the following formats: Was £39.95 Now Only £29.00 OR Was 0.95p Now 10p What is the easiest way to extract two numbers from each string, so I can subtract them later.
stackexchange/codereview
How can i blink a div. I have a hover on the div element. How can i make with jQuery. That the div is blink up and blink down. And then on the 10 seconds. Thanks
stackexchange/codereview
Possible Duplicate: Exception handling in R Does anyone have idea on how to catch an error or an exception in R?
stackexchange/codereview
In the following example, how would I access the "position" variable from outside the parent class? void onItemSelected(AdapterView<?> parent, View view, int position, long id) { Country country = (Country) parent.getAdapter().getItem(position); spinner2.setAdapter(new ArrayAdapter(country.getStates()); }
stackexchange/codereview
Is there a limit to the number of concurrent HttpWebRequests .NET will allow at one time?
stackexchange/codereview
I want to load a url directly into a string without any data stream,what is the best way, internet open url works but it seems not clear. I don't want to use any component for reading some short messages
stackexchange/codereview
I am common table layout return in pure html which has 4 columns <table> <colgroup span="1" width="20%"/> <colgroup span="1" width="30%"/> <colgroup span="1" width="20%"/> <colgroup span="1" width="30%"/> <tr> <td colspan="3"> question data....... </td> <td colspan="1"> Answer data...... </td> </tr> <tr> <td colsp...
stackexchange/codereview
Instead of the default java logo, I want a different image on all my dialog boxes. The image is jpeg and already stored on my desktop. Is there a way to modify the title menu ?
stackexchange/codereview
I have a tableview with four sections first section has 7 rows in that first six rows has a textfield and the last row has two textfields Section 1 t1 t1 t1 t1 t1 t1 t1 t2 section 2 t1 t2 t1 t2 // second row textfields are placed in fourth rows t1 t2 t1 t2 // fourth row textfields are placed in som...
stackexchange/codereview
I have read about here documents on the book "The Ruby Programming Language" and didn't understand what is the purpose of here documents and when will you use it on production code. I would be happy if someone can explain and give some examples of usage. regards,
stackexchange/codereview
How would I auto generate an array (in PHP) for AA - ZZ and so on like AAA - ZZZ $column_arr2= range("aa", "zz"); // NOT Working $row_arr = range(0,1000); $column_arr = range("a", "z"); echo "Column2<pre>".print_r($column_arr2, true)."</pre><br />"; // prints a - z echo "Row<pre>".print_r($row_arr, true)."</pre><br...
stackexchange/codereview
I'm having a hard time constructing a criteria query to get the "permissions" attribute from the Role entity with id = 2. The permission attribute is of Set type, so I'm creating a join and selecting from it, but the query fails with invalid grammar exception reporting "Unknown column '2L' in 'where clause'" The criter...
stackexchange/codereview
I have a SQL Server database table with a char column named "DATE" (I know, really bad, but I didn't create the database) that has dates stored in this format as strings: YYMMDD. I need to return records between these dates, so treat them as actual dates and I've tried every combination I know but still get errors. Any...
stackexchange/codereview
I have HTML file. I tried the code on Safari and it was working fine. But when I tried this on Firefox, it’s not working.Can anyone suggest how to make it working on firefox? On click on undo button I want to retrieve contents from the jsp file. Thats working when I used this code on safari on my mac.. but when I open...
stackexchange/codereview
I need to forward a set of symbols from one DLL to another (to support some versioning scheme, PEP 384 if you wonder). It works fine for functions; I write a module definition file, saying LIBRARY "python3" EXPORTS PyArg_Parse=python32.PyArg_Parse PyArg_ParseTuple=python32.PyArg_ParseTuple PyArg_ParseTupleAndKeyw...
stackexchange/codereview
I found that you can use Pick activity and this activity will contain a few PickBranches, each of which contains a Trigger and an Action. How do I tie the Trigger activity to any .NET event? for example, Timer.Tick event, Key pressed event, or perhaps my own event?
stackexchange/codereview
I'm trying to work with ARKit in order to enable Augmented Reality in one of my applications. I'm able to add the ARViewController by doing this : ParkingAppDelegate *appDelegate = (ParkingAppDelegate *)[[UIApplication sharedApplication] delegate]; arvc = [[ARViewController alloc] initWithDelegate:self]; //add the bu...
stackexchange/codereview
I have a form with a lot of textareas. <textarea cols="30" rows="6" id="q1"></textarea> <textarea cols="30" rows="6" id="q2"></textarea> <textarea cols="30" rows="6" id="q3"></textarea> ... <textarea cols="30" rows="6" id="q54"></textarea> Don't ask why we need 54 questions. I want to print them out but don't want to ...
stackexchange/codereview
I need to write a program that does the following: User enters a character The program outputs whether it is alphabetic, numeric, a space, or a newline.
stackexchange/codereview
NSString *name = @"John"; I need to pass the above variable value, when clicking on the uibutton. Currently I created the uibutton like below: sendButton = [[UIButton alloc] initWithFrame:CGRectMake(170, 350, 90, 30)]; [sendButton setTitle:@"YES!" forState:UIControlStateNormal]; [sendButton addTarget:self action:@se...
stackexchange/codereview
I'm trying to figure out how Uploadify works. I'm trying to see the POST in FireBug on the demos page, but can't see anything. I thought even requests that originate from Flash still appear in Firebug. LiveHTTPHeaders didn't tell me anything either. When I try it on my site, the file can be selected OK and the progress...
stackexchange/codereview
I am writing a Facebook app and for it to work properly, I need to set the Site URL inside the Application settings. The problem is that if I set my Site URL to be domain.com it works on my system and a bunch of systems that I tested it on. Some of my friends complain that it is not working on their system. When I look...
stackexchange/codereview
Let's say I have a table that's like the following: name VARCHAR(50) PRIMARY KEY NOT NULL ordernum TINYINT UNSIGNED NOT NULL Also let's say I have 3 rows. something - 1 somethingelse - 2 somethingmore - 3 If i want to insert another entry called something1, and give it an ordernum of 2, how do I reorder all the r...
stackexchange/codereview
I'm looking at an app in java that runs on both 32bit and 64bit systems, and it deals mainly with IP addresses. These IP addresses are kept as integers, and the normal type for this wastes a ton of memory on 64bit platforms (and yes, memory use has already been shown to be an issue here). How do you declare 32bit int...
stackexchange/codereview
Say I have the following public T Example(Func<T> f) { Contract.Requires(f != null); Contract.Requires(f() != null); // no surprise, this is an error ... } Is there any way to specify that my Func<T> parameters must obey some contracts?
stackexchange/codereview
I have a basic MySQL database where each row is assigned a unique incrementing ID number, however I would also like each row to have a unique 6 character, alpha numeric ID which also increments. Example: Row 1: ID = 1, Name = AAAAAA Row 2: ID = 2, Name = AAAAAB Row 3: ID = 3, Name = AAAAAC The database is added to via...
stackexchange/codereview
I am working on a script that has to build out DOM objects on the fly and I am having some issues with a tabular system that is attached to the injected DOM objects. When the page is first loaded the first tab is shown and there is a next button. When the user clicks the next button the next step is shown. Well anythin...
stackexchange/codereview
i want to store some kind of distance-matrix (2D), where each entry has some alternatives (different coordinates). So i want to access the distance for example x=1 with x_alt=3 and y=3 with y_alt=1, looking in a 4-dim multi-array with array[1][3][3][1]. The important thing to notice is the following: the 2 most inner a...
stackexchange/codereview
Why is there a lack of consistency between Sets and Lists in Scala Collections API? For example, there is immutable Set, but also a mutable one. If I want to use the latter, I can simply do this: val set = Set[A]() set += new A However, there is no mutable List, per se. If I want to write a similar code snippet using ...
stackexchange/codereview
Im trying to test this statement IStudentAssessmentUnitStatus res = student.UnitStatusList.OfType<IStudentAssessmentUnitStatus>(). FirstOrDefault(s => s.ID == unit.ID); Inside the list there could be multiple types hence the OfType. Howeve...
stackexchange/codereview
HI, I need to use http post method for web-service in android application .But in android shows error when use this method .How to use this method in application or any other equal method for replacing this http post method. thanks, Lakshmanan.
stackexchange/codereview
At the RMagick repo on Github, a message was uploaded yesterday saying the main author cannot continue to maintain the project, and is looking for new people to take over. (I would certainly crash it were I to ever attempt such a job!). You can see their readme here: http://github.com/rmagick/rmagick. In your opinion, ...
stackexchange/codereview
The question pretty much sums it up. I have a WCF service, and I want to wait until it finished to do something else, but it has to be until it finishes. My code looks something like this. Thanks! private void RequestGeoCoordinateFromAddress(string address) { GeocodeRequest geocodeRequest = new GeocodeR...
stackexchange/codereview
i want to read text in an image how to do that... Thanks
stackexchange/codereview
It is known generics do not support equality comparing if "class" restriction is not applied to a parameter. How can we workaround it for LINQ To Entities? query.Where(p => p.CategoryId == categoryId); //doesn't work The workaround I saw before was to use EqualityComparer.Default.Equal, but it can't be translated to S...
stackexchange/codereview
I'm trying to prefill a form that's located in another domain. I have the form in an iframe and I remember that javascript doesn't allow cross domain scripting, so how would I go about filling in a form that's located on another domain? Is it even possible? I want to help my users by pre-filling certain information of ...
stackexchange/codereview
I've done quite some research on which ASP .NET Facebook SDK to use. Acording to this post (http://msdn.microsoft.com/en-us/windows/ee388574.aspx) old FacebookToolkit should not be used for new projects but instead we should use the all new and shiny Facebook C# SDK. But he problem is that it lacks documentation, espec...
stackexchange/codereview
I am trying to convert an iphone project to an ipad but having a build issue for the new ipad version. I was able to convert the iphone project to ipad 3.2 and run it. When I run it it shows up in the ipad simulator as an iphone app. (Which is fine) I then changed the simulator to iPad 4.1 with the new target of iPad...
stackexchange/codereview
Is there a line of code that will terminate the program? Something like python's sys.exit()?
stackexchange/codereview
Just like the Calendar app on the iphones and ipods, how do I make the Icon change per day?
stackexchange/codereview
I'm very confused on this restful authentication plugin on rails 3. I tried to install the plugin using the following command. It tells me it's already installed, then I tried to use the --force to reinstall this plugin it tells me that the plugin not found So if the plugin is already installed why do I get error Coul...
stackexchange/codereview
I accidentally committed a folder named .svn to a Subversion repository. Now when I try to check out or update I get this error message: svn: Failed to add directory 'oops/conferences/.svn': an unversioned directory of the same name already exists I removed the directory in the next commit, but that didn't help...
stackexchange/codereview
Would you please have a look at Tipulator app: http://www.sophiestication.com/tipulator/ I'm interested in the upper graphic part of the application, how to create such an interface? It doesn't look to use standard UIKit components, it looks like pure graphics yet the values can be updated as a UIKit component.
stackexchange/codereview
I looked through a number of posts with similar titles but have not found an answer. In my application I want to allow editing Active records from an index view. This view uses link_to_remote for each row. When user presses the link the row should be replaced with a form that user may submit via Ajax. Table is displa...
stackexchange/codereview