instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
In my layout I have in the upper part three views in a horizontal linear layout. When I enter the activity, one of these views must be selected depending on the pressed button in the previous activity. The selection is made using an ImageView indicator that must be centered below the selected view. Could anyone tell me... | stackexchange/codereview |
At the moment I am using jQuery UI's slider to allow people to select a donation amount. The problem is, the slider is to small and needs to compensate for the minimum of $1 and the maximum of $10,000. The proposed solution is to use a small increment, maybe $1 or $2, for values between $1 - $1000, and then from there,... | stackexchange/codereview |
I'm reading Programming Scala. At the beginning of chapter 4, the author comments that Java supports static methods, which are "not-so-pure OO concepts." Why is this so?
| stackexchange/codereview |
I have a mysql query which is really bogging down my VPS. Its doing a filesort according to explain extended. I usually optimize queries on my own but this one i'm not sure I know how.
SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.*,MAX((1.00 * (MATCH(wp_search_post.post_content) AGAINST ('test' IN BOOLEAN MODE))) + (2... | stackexchange/codereview |
i need to use sat solver for checking satisfiability of boolean expressions..
I have complex boolean expression like this
is there any automatic cnf file converter so that i can give it straight to sat solver?
I read the cnf format file.. but how to express this expression in .cnf file? i get confused when there is a ... | stackexchange/codereview |
When I start a git rebase -i, I can issue commands like git rebase --continue, or git rebase --abort. Those commands only work if a rebase is in progress.
How can I know if there is a rebase in progress?
(I would greatly appreciate some details on how rebase works internally; what does git do to a repo that gives it th... | stackexchange/codereview |
foreach (Feature fe in features)
{
if (fileNames.Any(file => file.Contains(fe.FeatureName)))
{
fe.MatchCount = fe.MatchCount == 0 ? 1 : fe.MatchCount;
}
}
| stackexchange/codereview |
What I mean is:
interface B {...}
interface A extends B {...} // allowed
interface A implements B {...} // not allowed
I googled it and I found this:
implements denotes defining an implementation for the methods of an interface. However interfaces have no implementation so that's not possible.
However, interface... | stackexchange/codereview |
I have an application in which some sides i am using Filter conditions,,But i dont know the meaningof usage of word
"recursive" in that filter conditions
Here is a bit of code
// Indicates a recursive filter. Only valid for object type property filters.
private bool m_recursive = false;
--------------... | stackexchange/codereview |
Here is my code, basically one the 4 computer I have tested it on they all work perfectly with very large data sizes, eg textfiles up to 500mb in size, but when I run them on the server with real data even files as small as 6mb seem to overrun somewhere and writes garbage to the end of my files.
Here is the source of t... | stackexchange/codereview |
The code I'm writing copies data from one table to another. It is possible the query may run for a long time so I'm performing an asynchronous query and while waiting I'm doing a count on the destination table to provide a status update.
The query that does the count is getting the following exception message...
The co... | stackexchange/codereview |
I am now using linux developing c++ program. the workbench is windows connecting linux workstation console through putty. I set lot of breakpoint in the program, using gdb to debug program is very powerful:) But I do not no how to save breakpoint, so the next time when "gdb ./MyProg" the breakpoint information is los... | stackexchange/codereview |
I'm pretty new to Rails 3, and I'm trying to make an RSS/Atom feed. I know about auto_discovery_link_tag, but what is the associated controller/action supposed to look like?
Thanks!
| stackexchange/codereview |
I'm using Resharper (with the StyleCop plugin, although I don't think that's relevant to the question/answer) to enforce naming conventions amongst other things in our code base. Pretty much everywhere this works brilliantly, with one exception.
For test method names I prefer the following convention:
ThingOrBehaviour... | stackexchange/codereview |
I want create menu item in asp.net MVC just as like as home and about us.I tried adding following code in "Site.Master" page.
<%: Html.ActionLink("Patners","Patner","Home") %>
And I've created one view called "patner" by right clicking on "Home" folder in solution explorer and checking the check box of "create strongly... | stackexchange/codereview |
This question has been asked many times before by others, but somehow the answers made me more confused.
In my Qt application (for symbian devices), I have a file with user details (Email ids n passwords) which I store in target device, so want to encrypt this data in the file to keep it secure. I don't need a super se... | stackexchange/codereview |
I'm using a UIWebView to display YouTube videos. It works fine on iOS 4+ but doesn't work on the iPad (iOS 3.2). The UIWebView loads as expected and displays the thumbnail of the video. When I tap on the thumbnail I see a gray quicktime icon and can hear sound but no video appears.
This is the code I'm using:
UIWebView... | stackexchange/codereview |
I'm wanting to recursively search my maven repository (an n folder deep heirachy of jars) for a specific class inside an unknown jar.
jar -tvf myJar.jar | grep ClassIWant.class works great for a known jar but I'm having problems piping/chaining bash commands to achieve a recursive search.
Any hints much appreciated.
Re... | stackexchange/codereview |
Process Monitor and Explorer are supplied an EXE file.
But they include a driver. -Where is it.
By Windows Internals,
Process Monitor works by extracting a file system filter device driver from its executable
image (Procmon.exe) the first time you run it after a boot, installing the driver in memory, and then deleti... | stackexchange/codereview |
I've been playing around with the pybluez module recently to scan for nearby Bluetooth devices. What I want to do now is extend the program to also find nearby WiFi client devices.
The WiFi client scanner will have need to have a While True loop to continually monitor the airwaves. If I were to write this as a straight... | stackexchange/codereview |
I wanted to know in depth meaning and working of compiler, linker and loader.
With reference to any language preferably c++.
| stackexchange/codereview |
I'm trying to set attribute value that contains a single quote:
var attr_value = "It's not working";
var html = "<label my_attr='" + attr_value + "'>Text</label>";
$('body').html(html);
However, I get the following result:
<label working="" not="" s="" my_attr="It">Text</label>
How could I fix this ?
Are double quote... | stackexchange/codereview |
What types of tasks can be included and tracked as work items in the Sprint Backlog?
Can Analysis, Review and Unit Testing (of a user story) be included or can only core Coding tasks be included and tracked in the Sprint backlog?
Basically I am breaking down user stories into technical tasks to update the Sprint backlo... | stackexchange/codereview |
Sorry, I just found the
id = [conn.cursor() for x in range(100) ]
also works, so my concern will not be a problem anymore.
Thanks for all of your answer, all of you are really fast.
All,
id = [(conn.cursor(),x) for x in range(100) ]
>>> id
[(<sqlite3.Cursor object at 0x01D14DA0>, 0), (<sqlite3.Cursor object at 0x0... | stackexchange/codereview |
I have two SQL servers with the same database. Now I want to copy some data from the first to the second. I created two LINQ to SQL classes, but when I write the query I get an error because of name collisions. How can I avoid this?
| stackexchange/codereview |
I am developing for Windows Phone 7.
My application uses GeoCoordinateWatcher to detect user current position.
Now my client is asking me to test GPS functionality. But i don't have Windows Phone 7 mobile available here. I want to connect a GPS receiver with my laptop and somehow connect that to Windows Phone 7 emulato... | stackexchange/codereview |
I have a table called person and it contains two fields, name (TEXT) and age (INT). I want to sort this table alphabetically but I can seem to get the sql statement to work. The statement i am using is:
SELECT name FROM person ORDER BY name;
I have tried three different coded versions, none of which work.
db.rawQuery... | stackexchange/codereview |
Given that you have a method
-(void)aSelector:(id)anyArgument;
And have set up a UIButton programmatically
UIButton *myButton = [[UIButton alloc] init]
Alright, I get the idea that when you create a UIButton, you have to use the method
[myButton addTarget:nil action@selector(aSelector:) for ControlEvents:UIControl... | stackexchange/codereview |
Is there any way to pass an array between two pages intact?
I am building a huge array, and the building of it uses masses of memmory. I would like to be able to store the array intact and then reaccess it from another page?
If I use $x = print_r($array,true); and write it to a file, how could I then rebuild it into an... | stackexchange/codereview |
I want to create a method which will take some base type as a parameter and compares and check if it is derived type and return the derived type based on that.
For Example:
Class A : IBase
Class B : IBase
My method:
Public IBase GetData(IBase type)
{
If type is A then
{
//do smthing
return A
}
If type is... | stackexchange/codereview |
Your function would look like this: submitForm():void { var req:URLRequest = new URLRequest("http://localhost/c/x.php"); req.method = URLRequestMethod.POST; var vars:URLVariables = new URLVariables(); vars.yourVar = 'yourValue'; req.data = vars; var ldr:Loader = new Loader(); ldr.load(req); }
("Error #2044: Unhandled I... | stackexchange/codereview |
For the sake of this question, I'll include a basic example of what I'm trying to do. I have been looking for a method using regex which would allow me to have an input such as this:
<a>$4<br>.00</a>
To match this in one sub-group 4.00
I have tried numerous methods, all being around the lines of:
<a>\$([0-9]+<br>\.[0-... | stackexchange/codereview |
Can one client call a public property within a VB.NET module and see the value of that public property changed by another client accessing it at the same time?
Example:
Client 1 calls
Public Module DataModule
Private theDateTime As DateTime = GetAdjustedDateTime() //initial TZ value
Public Property GetSetDateT... | stackexchange/codereview |
Why is the c# casting syntax defined as (AnyType) obj rather than AnyType(obj) ?
| stackexchange/codereview |
I am trying to use iOS security framework to securely communicate with my server. I have a certificate file from which I am able to get a public key reference. This is what I doing.
NSString *certPath = [[NSBundle mainBundle] pathForResource:@"supportwarriors.com" ofType:@"cer"];
SecCertificateRef myCertificate = ... | stackexchange/codereview |
seems like a quite easy problem but I don't get it.
It have two UIButtons, one is titled 'next' the other is titled 'previous'. Both are linked to the same method. All I wanna do is change the variable 'helpStatus'depending on which button is pressed:
if([sender currentTitle] == @"next"){
helpStatus++;
... | stackexchange/codereview |
Using Selenium RC
On my web app I am trying to open windows by clicking links. These windows don't have any IDs so selenium.GetAllWindowIds() doesn't work. I've worked around this by getting their names.
Are these IDs something which the developer can insert so as to make automation less tricky?
Thanks!
| stackexchange/codereview |
because
gem 'gem_name' # Rails 3.0
or
config.gem 'gem_name' # Rails 2.x
will load the gem no matter what the controller is... will a
require 'gem_name'
in the controller source code actually make the Rails server run faster because not every controller will load that gem?
| stackexchange/codereview |
Consider the following (Haskell) code:
fib=0:1:zipWith (+) fib (tail fib)
A coworker is trying to assert that this is not a recursive function because fib is simply a list that defines itself with itself and that is somehow different than a function that does the same. I think he's smoking crack.
What do you think?
| stackexchange/codereview |
We have an intranet production server running in a virtual environment, which we cloned to make a development server. The computer name and IP are changed and everything is running fine. There is a shared folder on the production instance, which we reference from the development server because everything is readonly.... | stackexchange/codereview |
I understand that multi-threaded WinForms apps are required to use Control.Invoke or Control.BeginInvoke when accessing a control from a thread other than the UI thread.
But does this rule also apply when manipulating objects that are contained within a control but which do not derive from the Control base class?
For e... | stackexchange/codereview |
I've run into this issue before, but I can't remember how to solve it. I have created a bare bones (can't get any simpler) controller, and am just trying to echo something to the browser, and I am getting this message:
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before... | stackexchange/codereview |
Let's say I have this line of code in a program:
int * number=0;
int mystery=&6[number];
Mistery is a number and I can use &5 or &4 obtaining other numbers.
But what does the "&6[]" mean?
Thanks!
| stackexchange/codereview |
A few weeks ago, I followed a tutorial to get Eclipse and the Android Development Kit up and running. I successfully built the test application and ran it on a virtual device.
Tonight I finally went back to do the next step in the tutorial, but when I went to start a new project there wasn't an option to start a new An... | stackexchange/codereview |
I'm interested, how is the dual input in a sensor fusioning setup in a Kalman filter modeled?
Say for instance that you have an accelerometer and a gyro and want to present the "horizon level", like in an airplane, a good demo of something like this here.
How do you actually harvest the two sensors positive properties ... | stackexchange/codereview |
Dependency injection looks great, however when I look at examples I often see lots of XML config file. This is not good because:
I don’t get compile time checking on the type names in the config files
Refactoring tools don’t update the confilg files when types are renamed
I don’t want the customers changing the confi... | stackexchange/codereview |
I have a Flash file that I use to load in transparent PNG's (line-drawings), and use Flash to allow the user to select the color of drawing, and instantly change the color.
This is all working like it should be. I am using the UILoader component to load in the image that I recieve through flashvars, and then change the... | stackexchange/codereview |
I am using sqliteodbc and for some reason it won't get the hours, minutes, and seconds. I bind the column using this:
SQLBindCol(hTimeStampNotes, 5, SQL_C_TIMESTAMP, &(noteTimeStamp.submitTime), 16, &junkLong);
noteTimeStamp.submitTime is a time stamp data type:
typedef struct tagTimeStampType {//TIMESTAMP_STRUCT
... | stackexchange/codereview |
Hello newcomer here (be gentle),
I am attempting to write a program which has floating point code in it. However this program needs to run on 2 different processors. Which have roughly identical ISAs except for their floating point model. They use completely different instructions and registers to do floating point ... | stackexchange/codereview |
I need to programmatically insert, or edit, a pie chart in a Word 2007 document, using vs 2010, c# ... everything I have found shows how to put these old ugly charts into a word doc. so I am now wondering if it is even possible to manipulate the newer and better looking charts.
This one shows how to do just what I ... | stackexchange/codereview |
Given the following interface:
interface ISoapInterface {
public static function registerSoapTypes( &$wsdl );
public static function registerSoapOperations( &$server );
}
And the following code:
$soapProvider = array( "FilePool", "UserList" );
foreach( $soapProvider as $provider ) {
call_user_func( array( $provi... | stackexchange/codereview |
I wanted to write an extension-method that would work on dictionaries whose values were some sort of sequence. Unfortunately, the compiler can't seem to infer the generic arguments from my usage of the method; I need to specify them explicitly.
public static void SomeMethod<TKey, TUnderlyingValue, TValue>
(this IDi... | stackexchange/codereview |
I'm trying to create ASP.NET buttons programmatically inside an update panel in my SharePoint instance, but because of the page life cycle, I can not attach server side events on buttons.
Here is the code:
TableCell tcellbutton = new TableCell();
b.Click += new EventHandler(b_Click);
b.CausesValidation = true;
tcellbu... | stackexchange/codereview |
I get the error:
Error "ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it."
How do I increase the max pool size?
# DB CONNECTION
DB_CONN = ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => DB... | stackexchange/codereview |
I know this is not programming related question so to speak, but since we are programmers and we might use Netbeans for PHP development.
I am wondering how can I get in Netbeans interface with search, macro or some other way all lines that start with echo or print_r aka as debug lines.
| stackexchange/codereview |
I am working on a project for my college where I need to bind data from database into the combobox. I need to store the roll no / enrollment no in the "value" field of combobox and name of the student in the "text" property of the combobox. How can I do that?>???
Please reply ASAP....
| stackexchange/codereview |
friends,
i am using following global variables in my activity
private String Session_ID;
private String uid;
// menu item starts
private final int Trash = 0x003;
private final int More = 0x005;
private final int SignOut = 0x006;
private final int SignIn = 0x007;
//menu item ends
private EfficientA... | stackexchange/codereview |
I am writing a little game in SL, but have a big problem. There is an image called 'ship' I want to use as player. It moves with the "Canvas.SetLeft(ship,ship.X+ship.speed)" method, but it seens like flickering. I tried to set higher the gameloop timer interval, but it didnt help me out.
Around the internet i couldnt f... | stackexchange/codereview |
System.out.print("Enter an integer: ");
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int lArray = x - 2;
int[] newArray = new int[lArray];
System.out.println("Let's display all possible integers...");
for (int i = 0; i <= newArray.length; i++) {
newArray[i] = i + 2;
System.out.print(newArray[i]... | stackexchange/codereview |
Possible Duplicate:
What's the shebang (#!) in Facebook and new Twitter URLs for?
#! What does it mean in a URL ?
I found it in facebook & twitter url !
http://www.facebook.com/#!/
http://www.facebook.com/#!/?sk=messages
http://www.facebook.com/#!/?sk=ff&ap=1
http://twitter.com/#!/messages
http://twitter.com/#!/Bill... | stackexchange/codereview |
I'm runnng Rails 2.3.8.
I set up map.resources :users in my routes.rb file.
When I run rake routes it shows:
users GET /users(.:format) {:action=>"index", :controller=>"users"}
GET /users(.:format) {:action=>"index", :controller=>"users"}
new_user GET /users/new(.:format) ... | stackexchange/codereview |
I don't know if a plugin like that exists but for me will be useful. I'd like a plugin that can extract some text (defined in some way similar to Doxygen) and insert this text into description when a commit is made.
With this plugin, I could document the changes of a source file into the source file and then, the plugi... | stackexchange/codereview |
Over at this page I'm having some trouble with the width of my foot <div>. Is there an explainable reason why my footer is stretching the width of the browser window, while my header <div> isn't?
Thanks!
| stackexchange/codereview |
Binding a popup menu to an array controller with the path selection.type works fine.
Binding a popup menu to a document controller with the path currentDocument.arrayController.selection.type works one way only (changes in selection are not propagated to the popup menu).
How can one achieve inspector-window-like func... | stackexchange/codereview |
I have this upload then you can crop your image, but if you press twice quickly then it uploads 2 and it all gets crazy. How can i block the button RIGHT after it starts sending request, and where should i place it?
(in jquery ajax)
| stackexchange/codereview |
Are there any other encoding functions other than base64_encode for encoding text in PHP?
Edit: The purpose of the encoding functions:
To generate a string that can be used in a URL that can be used as an identifier.
For example, instead of http://www.something.com/?id=4&category=books&type=20
I would like to have:
ht... | stackexchange/codereview |
Trying to migrate a sqlite3 db for a rails app to mysql db. The column named "content" was a string type in sqlite3. I want to change it to varchar (or perhaps text) in mysql. I am not sure if there is a way to do this by using "ruby script/generate" command. Any ideas? Obviously, I could start all over again with d... | stackexchange/codereview |
I have a python dictionary stored in a file which I need to access from a c++ program. What is the best way of doing this?
Thanks
| stackexchange/codereview |
Here's the scenario:
ThreadA is going to read from some socket, and write data to "MyFile.txt"
ThreadB is going to read "MyFile", and when it reaches the end, it will loops until new data are available in MyFile (because i don't want to re-open "MyFile.txt", and lose the time so i reach the position from where i was..... | stackexchange/codereview |
I have class A (in A.h) which depends on class B in (B.h) and vice versa. Forward declaring the used functions works, but this means I have to update everywhere where I forward declared those functions in the future, ex, if I remove, or change argument in those functions they must all be updated to reflect change. I do... | stackexchange/codereview |
I have a table with two fields; firstname & lastname
I want to select Distinct lastnames but display both the first & last name in the results...for instance:
'SELECT DISTINCT lastname FROM people
will return just the lastname. How can I also display the firstname?
| stackexchange/codereview |
My argument is like this
./a.out -i file1 file2 file3
How can I utilize getopt() to get 3 (or more) input files?
I'm doing something like this:
while ((opt = getopt(argc, argv, "i:xyz.."))!= -1){
case 'i':
input = optarg;
break;
...
}
I get just the file1; how to get file2, file3?
| stackexchange/codereview |
I am wondering if there are any classes for parsing PHP arrays in the general sense that you are looking back and forth over elements matching search patterns.
For example, lets say that If element "xyz" was found then I want to search backwards through the array until element "abc" or "cba" is found (or X number of st... | stackexchange/codereview |
I am using a JSF data table. One of the columns in the table is a Command button.
When this button is clicked I need to pass few parameters (like a value of the selected row) using the Expression language. This paramaters need to be passed to the JSF managed bean which can execute methods on them.
I have used the follo... | stackexchange/codereview |
As I have an editor-list, that needs to have additional edit lines, I found this solution for the problem:
Mvc list editor by Stevens Anderson
this works perfectly, excepts that every time when I add a new line, the whole Form is set back to the default values. You can see the behavior in the demo of the linked page.
T... | stackexchange/codereview |
Is it possible to restrict the drag source to only move within the boundaries of a circular path when dragging it?
| stackexchange/codereview |
Is there any reason to use 1.8.7 over 1.9.1 or is it always best to use the latest stable release?
| stackexchange/codereview |
#!/usr/bin/env ruby
# this is the data I have
@data = {
:student => {
:id => '123477',
:first_name => 'Lazlo',
:last_name =>'Fortunatus',
:email=>'Lazlo@fortunatus.org'
},
:contact_info => {
:telephone=>'1 415 222-2222',
:address => '123 Main St',
:city =>'Beverly Hills',
:state=... | stackexchange/codereview |
I missed semicolons in some of the places in my JavaScript, but its not throwing error in any of the browsers. Is the ; at the end needed?
| stackexchange/codereview |
I've had MySQL running as a service on my Windows XP SP3 development desktop, but I can't start it now.
I'm trying to get Python's MySQLdb module working. When I got a "no module named _mysql" message, I found out that I didn't install the MySQL C header files, so I downloaded the MySQL 5.1 .msi and ran it to add the ... | stackexchange/codereview |
The title basically says it all... I'm trying to specify an auto-incrementing (int) identity column using Fluent-NHibernate and MySQL. I've tried the following variations...
Id(x => x.ID).GeneratedBy.Native();
Id(x => x.ID).GeneratedBy.Identity();
Id(x => x.ID).GeneratedBy.Increment();
...and tried setting defaul... | stackexchange/codereview |
I'm working on an Android app in which I download JSON data from a web service. The class parsing the data looks something like this:
public class JsonCourseParser implements CourseParser {
public Course parseCourse(String courseData) {
Course result;
try {
JSONObject jsonObject = new ... | stackexchange/codereview |
I'm struggling a bit with my simple console-dump-program. I connect to AD using
DirectoryEntry entry =
new DirectoryEntry("LDAP://" + domain, username, password);
and from there I recursively loop thru every child by
foreach (DirectoryEntry child in entry.Children)
{
Traverse(child);
}
Then I start getting ... | stackexchange/codereview |
For example I have a list of words: men's package, moment, immensely
How can I search in mysql sample text: "men's" and return only "men's package"
I'm using this
$str = str_replace("s", "%s", $str);
If I search for "men's",
it will only show: men's package
but when I search for "mens"
it will also show: men's package,... | stackexchange/codereview |
Given in routing.yml:
products:
url: /products/*
param: { module: products, action: index }
How to fill wildcard part using url_for helper? I mean somthing like:
<?= url_for('products/index?wildcard=somthingRandom') ?>
that generates URL:
/products/somethingRandom
| stackexchange/codereview |
I have a database relationship that looks something like this:
booking -> person <-> option
-> : one-to-many
<-> : many-to-many
I now need to list all the persons in a booking, with all their options. Using ORM in kohana I can load all persons like this:
$persons = ORM::factory('booking', $id)->persons->find_all();
... | stackexchange/codereview |
I have an array that looks like this:
grades[0] = ["A", 4.0, 0, "a"];
grades[1] = ["A-", 3.67, 0, "a-minus"];
grades[2] = ["B+", 3.33, 0, "b-plus"];
grades[3] = ["B", 3.0, 0, "b"];
grades[4] = ["B-", 2.67, 0, "b-minus"];
grades[5] = ["C+", 2.33, 0, "c-plus"];
grades[6] = ["C", 2.0, 0, "c"];
grades[7] = ["C-", 1.67, 0, ... | stackexchange/codereview |
I currently have a C function that I'd like to use in .NET (C#).
I can see two ways of achieving this:
Compiling it (I think this is possible) with /clr on VC++.NET, having implemented "façade" managed methods that call the C code.
Compiling the C code as a DLL and then making API calls.
What do you find best? How to... | stackexchange/codereview |
I just upgraded to the beta 2 of Crystal Reports for Visual Studio 2010 and I'm not able to print, export, zoom, or change pages while using the web control in an ASP.NET MVC application.
I can get the report to run and display just fine on the webpage. All of the buttons have images, and the report data looks exactly... | stackexchange/codereview |
I was reading this: http://www.openfeint.com/ofdeveloper/index.php/kb/article/000089, and it seemed to make out that the implementation of GameCenter with OpenFeint was as simple as adding one plist to the project (after setting up achievements / leaderboards). But is this really the case? I've just implemented this in... | stackexchange/codereview |
I'm working on a social networking application and am trying to build
a complex query that efficiently pulls all of a users' friends'
checkins from the database. Basically I need: "user.friends.checkins"
I've recreated (in simplified form) the data structure below for
reference and included several solutions I've foun... | stackexchange/codereview |
I am pretty new to this so sorry for my lack of knowledge.
I set up a few tables which I have successfully written to and and accessed via a Perl script using CGI and DBI modules thanks to advice here.
This is a member list for a local band newsletter. Yeah I know, tons of apps out there but, I desire to learn this.
1-... | stackexchange/codereview |
In my iphone app, i've two view controllers. First one is a portrait and second one is landscape.
When app is started, it will show the portrait view. On click of a button in portrait view, the view transitions to landscape view. Here, i'm using navigation controller.
If both the views are portrait, pushing the next vi... | stackexchange/codereview |
I'm new to Silverlight 4 and having a tough time googling this one since I'm not terribly familiar with the terminology involved. Can someone point me in the right direction?
I have an observable collection that I want to represent in an ItemsControl list. The type of the collection is a class that- for simplicity's sa... | stackexchange/codereview |
I'm trying to pipe io through a terminal application as per microsoft's documentation (http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx). The problem is, when I add this code, it pops up a big black empty box / terminal / console window. I don't want it to do that.
Suggestions?
Thanks!
| stackexchange/codereview |
I want to built a simple FTP server in python which will serve the client in just downloading a text file. Can any one kindly help me by suggesting the best study material to refer and help me finding some code snippets.
| stackexchange/codereview |
One of the great features of StackOverflow is that you can ask a question or answer a question without signing up, then claim your activity later. It's perfect because you engage people right away without any barriers to entry.
Are there any Social Networking frameworks out there in any language with any data backend ... | stackexchange/codereview |
Is it possible to call the instance method of an object from the selector? Is the below possible? It gives me compilation error that ":" is missing or something:
timer = [NSTimer scheduledTimerWithTimeInterval:1.0
target:self
selector:@sel... | stackexchange/codereview |
In the iPad's Photos app, when you tap an album the stack of pictures expands to fill the screen - you're in the same view, it's just rearranged the grid a little. But at the top, a left-arrow-style Back button appears, as if pushViewController had been used - except it fades in neatly, rather than sliding in. When you... | stackexchange/codereview |
I see a lot of apps that use GPS in the iPhone have the following warning in the App Description:
Warning: Continued use of GPS running in the background can dramatically decrease battery life.
If an App uses the background processes (like startMonitoringSignificantLocationChanges or Region Monitoring) Apple suggested ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.