instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am writing a form to be inserted in clients' webpages that is to be submitted with an AJAX request for processing. Then, depending on the client's settings, I want to either display a "Form Successfully Submitted" victory message, or I want to redirect the user to my site (by submitting the form to my site) for addit... | stackexchange/codereview |
def WhoisWin():
win1 = Toplevel()
win1.title("Whois")
win1.config(bg="black")
win1.geometry("300x300")
win1.resizable(0,0)
text = Text()
text1 = Text()
text1.config(width=15, height=1)
text1.config(bg="black", fg="white")
text1.pack()
def button1():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
... | stackexchange/codereview |
I'm trying to determine if two NSSets are "equal" but not in the sense of isEqualToSet. Items in the two sets are the same class but are not the same object, or even references to the same object. They will have one property that is the same though - let's call it 'name'.
Is my best bet in comparing these two sets to d... | stackexchange/codereview |
I have a binary tree made with the following constructor:
public Person(String name, int age, char gender, Person c1, Person c2)
where c1 is the left child and c2 is the right child.
I want to write a method that searches for a particular name within a maximum generation. So like a.depthFirstSearch(Eva, 1); where Eva... | stackexchange/codereview |
I want to hide a div with the class "myProfile" when the user clicks anywhere outside that div. How can I do this?
I have this so far but obviously it says hide the div when the user clicks on it instead of "outside" it:
$('.myProfile').click(function() {
$(this).hide();
});
| stackexchange/codereview |
I'm trying to create a Java program that is a front-end for iptables. To accomplish this, I'm using Java's Process class and pass commands.
I'm wondering if I'm going about it correctly in general. For example, here is a selection of commands that resets iptables to its default settings, which are meant to be execute... | stackexchange/codereview |
It took me the whole month to solve this problem, as I got it from the book one of exercise, and I'd love to know how to write this in a turing machine; I would really love to learn this. Please could anyone offer a help?
Consider the last two letters of your login (if both letters are the same, please pick
the nex... | stackexchange/codereview |
I am just learning how to use ScriptingBridges. I made a method that slowly fades the volume on iTunes, and would like to make it a category so I can do the following:
iTunesApplication* iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.iTunes"];
[iTunes lowerVolume:50 speed:1];
I made another catego... | stackexchange/codereview |
Okay, I belittle myself. Its actually confusing me because it shows up fine on the Emulator, just not on my phone.
On the emulator, I see the custom SurfaceView _map Object take up the whole screen, except for the EditText text-box at the bottom, right where it should be. When I run the same code, same everything, on... | stackexchange/codereview |
I wrote this small bit of code to write to a plist file. I am not getting any errors or warnings from XCode, so I am really lost. "Root" is not defined in this code section, but it is just a dictionary of the data that I pulled from the plist.
Does anyone have an idea of why this would not write to a plist file? It lit... | stackexchange/codereview |
I have a simeple class that represents a MODEL
myModel.h
#import <CoreData/CoreData.h>
@property (nonatomic, retain) NSString * prop1;
@property (nonatomic, retain) NSString * prop2;
@property (nonatomic, retain) myModel2 * model;
myModel.m
@dynamic prop1;
@dynamic prop2;
@dynamic model;
myModel2.h
#import <Core... | stackexchange/codereview |
Where can I get a GCC/G++ compiler for my 64-bit Windows 7 machine?
| stackexchange/codereview |
Let's say I search for "baby". Sphinx will grab all the documents that have "baby" in it, and then sort it using my own algorithm. (EXTENDED mode).
The question is, how can it sort so fast? How does it grab millions of records and then sort them within milliseconds?
| stackexchange/codereview |
I am trying to get the Microsoft Report Viewer to print out the images in my reports.
I have a report that have a company logo banner accross the top of the report.
It shows up when I look at the report viewer, but the image doesnt show up when I look at the print layout view or when I print it out on paper.
I am not s... | stackexchange/codereview |
I am looking to do an order by in a certain order. I know I can modify the entire database but I would then need to modify the entire code base.
What I am have, is a column in a table 'games' called 'status'.
So...
SELECT *
FROM games
ORDER BY status ASC -- Will retrieve results going from 0 then 1 then 2
Wh... | stackexchange/codereview |
Can someone please provide a simple example of adding a line series to an UltraChart from a data table? The table has time series values (time values on x-axis, measurement (double) values on the y-axis).
So far the only examples I've seen where time series are added to the Chart are for a finite set of hard-coded dat... | stackexchange/codereview |
Suppose you had 2 classes, Listener and Talker. Talker has an event Talking, and when this event is fired, Listener should execute a void method HeardTalk, along these lines:
public class Talker
{
public event EventHandler Talking;
public void Talk()
{
if (Talking != null)
{
Talking(this,... | stackexchange/codereview |
I currently display time in 24h format, because it's the easiest thing for me to do right now with the data I have.
I get the time in "minutes since midnight", so for example, 07:00 or 7:00 a.m is "420" and 21:30 or 9:30 p.m is "1290" and so on.
[NSString stringWithFormat:@"%02d:%02d - %02d:%02d", (open / 60), (open % ... | stackexchange/codereview |
You can't have code outside of functions except for declarations, definitions and preprocessor directives.
Is that statement accurate, or is there something I'm missing? I'm teaching my nephew to program, and he was trying to put a while loop before main. He's pretty young, I want to give him a hard simple rule that ... | stackexchange/codereview |
I have an embedded quicktime video that is appearing over a fixed Div. I wrapped them both in DIVS with correct z-indexes, not working. How do I get the video under the div (position: fixed;)?
... Oh, and the problem is only occurring in Safari.
| stackexchange/codereview |
i have a field like
Some times i want to add the class attribute 'datepicker '. How can i do it?
| stackexchange/codereview |
I'm not so sure if this is really trivial to do and I'm just over-complicating stuff, but I've been thinking about this for the good part of the past hour or so.
So I have entities. Hence, NHibernate. What I want to do is to only "deactivate" entities whenever I want to "delete" them, instead of actually removing them ... | stackexchange/codereview |
I want this code to do this:
Create 4 frames with this layout (dashes mean the frame spans that column):
-X-
XXX
Within each of these frames (X's) there should be two rows like this:
cowN,1
cowN,2
It seems like the grid() method is global ONLY and is never specific to a single frame...
#!/usr/apps/Python/bin/pytho... | stackexchange/codereview |
I have two servers. Server A and server B. I use php, jquery for the programming language, Apache for the web server.
What I want to achieve:
There are javascript that call this url http://serverB/someprocess.php, server B response with json whether the process 'someprocess' is TRUE or FALSE
Problem:
When I test locall... | stackexchange/codereview |
I've always thought the hand cursor to be the ideal visual indicator for "you may click here" to the user. We are used to see it in this context daily because of it's usage on hyperlinks and hence all web buttons.
However, most desktop applications seem to keep the defeault pointer arrow for buttons.
... | stackexchange/codereview |
I'm trying to figure out how to transition between pages. I've looked at a few blog posts. I downloaded a sample project from this blog. I pasted the mainFrameStyle into my App.xaml's ResourceDictionary. I added the following to the Application tag:
xmlns:layout="clr-namespace:System.Windows.Controls;assembly=System.Wi... | stackexchange/codereview |
I am working on an asp.net MVC application. I have the following code in my global.asax file for dynamic data implementation
Code snippet 1:
model.RegisterContext(typeof(MyCustomEntities), new ContextConfiguration() { ScaffoldAllTables = false });
Code snippet 2:
routes.Add(new DynamicDataRoute("{table}/{action}.aspx"... | stackexchange/codereview |
i have such code
For Each objItem In StartFolder.Items
MessageBox.Show("to " + objItem.To)
Next
if field to is empty(empty in letter of outlook), there is no exception but the debugger shows
objItem.To Run-time exception thrown : System.MissingMemberException - Public member 'To' on type '... | stackexchange/codereview |
Say I have the following XML file:
<?xml version="1.0" encoding="utf-8"?>
<venues>
<group type="Nearby">
<venue>
<id>222307</id>
<name>Union Chapel</name>
<primarycategory>
<id>78967</id>
<fullpathname>Arts & Entertainment:Music Venue</fullpathname>
<nodename>Music Ve... | stackexchange/codereview |
this statement:
$node_obj =& new someClass($somearg, $moreargs);
generate an error in the latest version of PHP right?
I have tried it on my machine (PHP >= 5.0.0 & <=5.2.17) and I get this error:
Deprecated: Assigning the return value of new by reference is deprecated in test.php on line 1108
| stackexchange/codereview |
I have a proprietary command-line program that I want to call in a bash script. It has several options in a .conf file that are not available as command-line switches. I can point the program to any .conf file using a switch, -F.
I would rather not manage a .conf file separate from this script. Is there a way to cre... | stackexchange/codereview |
I finally have TeamCity setup to build on Source Control changes, and a separate MSBuild task setup to package and deploy to IIS on the staging server using the 'package' target and the generated 'deploy.cmd' script. Everything is perfect in terms of build events, file inclusion/exclusion, etc...
However, I've come ... | stackexchange/codereview |
Just wondering if there are Silverlight (4) versions of the following assemblies
Microsoft.WindowsAzure.StorageClient
Microsoft.WindowsAzure.ServiceRuntime
Microsoft.WindowsAzure.Diagnostics
| stackexchange/codereview |
can any one tell me why i cant get a proper NSDate from this string "2010-11-01"?
| stackexchange/codereview |
I wrote several small Python scripts to start clusters inside cloud infrastructures with distributed filesystems. Now, I integrated the code into a single command-line application but the code quality is very bad.
http://code.google.com/p/diffuser/source/browse/trunk/diffuser.py
The application needs to send lots of c... | stackexchange/codereview |
I have the function below, but the problem is that the zip file will unzip to the directory of wherever this function's file is.
For example, I have admin/includes/zip_function.php.
This function unzips the file to:
admin/includes/
I want it to unzip to: admin/
Here is the function:
function unzip($file){
... | stackexchange/codereview |
Possible Duplicate:
how do I validate user input as a double in C++?
Hi there. How do I make it so the user can only input integers/floats without listing a giant switch statement or something?
Thanks.
| stackexchange/codereview |
I'm using BufferWithTime() from Rx to batch up processing of messages. If my OnNext method takes longer to complete than the time interval used, may I end up with two concurrent invocations of my OnNext methods?
Put another way, will the time interval specified in the BufferWithTime() call be evaluated in absolute term... | stackexchange/codereview |
Well I've just hit a weird behaviour that I've never seen before, or haven't noticed.
I'm using this query:
SELECT *,
COUNT(*) AS pages
FROM notis
WHERE cid = 20
ORDER BY nid DESC
LIMIT 0, 3
...to read 3 items but while doing that I want to get the total rows.
Problem is...
...when I use coun... | stackexchange/codereview |
From this question I've learned how to google-search using Python 3. But in the example given there you can retrieve only the first 4 results. I need to retrieve information about the first 25 results (at least).
For each result I want to be able to get its:
title
url
visible url (the visible url of http://en.wikipedi... | stackexchange/codereview |
I need to execute the javascript method scrollTo(x, y) with animation. I cant' use jQuery to do it.
| stackexchange/codereview |
How Does a TCP client receive binary data it requests from a TCP server?
If the server sends the requested data (some binary data at a certain position of file) how is this received and saved to a file.
| stackexchange/codereview |
I want to develop a replacement keyboard, but I am afraid that Android assumes the general keyboard 'area' will be a single rectangular shape that sits at the bottom of the screen.
What if I want my keyboard to consist of multiple shapes that don't just sit at the bottom of the screen? Am I doomed from the start, o... | stackexchange/codereview |
In Python, I have files generated by ReportLab. Now, i need to extract some pages from that PDF and hide confidential information.
I can create a PDF file with blacked-out spots and use pyPdf to mergePage, but people can still select and copy-paste the information under the blacked-out spots.
Is there a way to make tho... | stackexchange/codereview |
I have a problem with creating TToolbuttons at runtime and how they appear in my TToolbar.
Basically I got a toolbar with some buttons in it already. I can create buttons at runtime
and set the parent to the toolbar. But they are always shown as the first buttons in my toolbar.
How can I make them appear at the end of... | stackexchange/codereview |
Hi I met a problem when processing the match names of sports, the principle is this:
match strings with format of "A - B"
NOT match strings with any ":" after "A - B", eg "A - B: Total goals - odd or even"
Here is my Regex:
^.+(\s+-\s+)([^:\n]+)(?!:[\w\s]+)$
And here are some example strings Should Match:
Mattek-S... | stackexchange/codereview |
I need to find my MySQL username. When I open the MySQL command line client, it only asks me for my password. I don't remember my username. And for connectivity with JDBC, I need the URL, host and port number. Where do I find all of these?
| stackexchange/codereview |
I am trying to dynamically assign a function to __del__ of an instance of a class so that it gets called when using dir() on that object. I need __dir__ to be unique for each instance of the class. As a stripped down example, I have tried:
import types
class Foo(object):
def __init__(self, arg):
def __dir... | stackexchange/codereview |
This is probably way too vague for any concrete answers, but this issue has been bothering me so I figured I'd give it a shot here:
Every time I hit F5 to run a project (and I'm talking something tiny 2 - 3 source files), first of all half the time it tells me that I need to rebuild the project even if the only change... | stackexchange/codereview |
is d query rite ?
q = "update FIRSTBBA WHERE FBBANAME<>"" ORDER BY FBBANAME"
Need to update a table in ascending order
| stackexchange/codereview |
According to the Spring Documentation here:
While HTTP defines these four methods, HTML only supports two: GET and POST. Fortunately, there are two possible workarounds: you can either use JavaScript to do your PUT or DELETE, or simply do a POST with the 'real' method as an additional parameter (modeled as a hidden in... | stackexchange/codereview |
I've just started to put in the time to get to learn emacs. By default my meta key is bound to Esc, and I'm finding that really inconvenient. I read somewhere however that it's not a good idea to change the binding to Alt. Is that true? If not, how could I go about doing that?
| stackexchange/codereview |
I have a problem. I want to use the facebook api and make a post to my wall without calling a dialog. Basically I have an app and I want people to be able to share the app, so I want to have a specific message to post. I keep getting a response of "Method not implemented". Heres the code for the post.
//I tried this al... | stackexchange/codereview |
Simple example..
Response.Redirect("/store/packages.aspx");
I'd like to reference "/store/packages.aspx" directly from the web.sitemap file, if at all possible. This way if some day down the line I rename or move the file packages.aspx, I don't have to find every instance of where I hard-coded the URL in my code.
What... | stackexchange/codereview |
I am new to android developed. however,
got installed htc evo 4G drivers successfully (can see in device manager)
But
I cannot see that device in android sdk target option (in eclipse)
can someone help me in that please
regards
| stackexchange/codereview |
I'm trying to understand this conflict between
My loadingbarscript that hides my content until the page is loaded (Removed the tags from the top)
function showContent(){
//hide loading status...
document.getElementById("loading").style.display='none';
//show content
document.getElementById("conte... | stackexchange/codereview |
I use WCF to consume a web service that respect the WS form (I then use WSHttpBinding binding). This form involves a MessageID to be set in the header of the soap request and the same id being present in the reponse header in the RelatesTo field. I'd like to log the request I made along with this MessageId but can't f... | stackexchange/codereview |
I used below code in ASp.NET web forms code behined. Its passing parameter in the URL to which which page I am on so that I make HTML and add ON CLASS to show the page I am on. Now
How I solve this in MVC?. Any clean approach.
protected void Page_Load(object sender, EventArgs e)
{
if (!(Page.IsPostB... | stackexchange/codereview |
I use an array to process radio signal and to obtain raw PCM audio. I am desperately trying to play this audio using Fmod Ex.
Basically, would it be possible to create a stream corresponding to my circular buffer, that I could access in a thread-safe way ? Any basic information about what methods to use would be greatl... | stackexchange/codereview |
I have a nib file say TestView.xib. I added some components to it.
Now I created another nib file AnotherTestView.xib
I want to add the view of TestView.xib into AnotherTestView.xib using interface buidler, so that I dont need to add the same components from TestView again. They are like basic components for all my vie... | stackexchange/codereview |
I've recently had some issues implementing a zooming feature into a painting application. Please let me start off by giving you some background information.
First, I started off by modifying Apple's glPaint demo app. I think it's a great source, since it shows you how to set up the EAGLView, etc...
Now, what I wanted t... | stackexchange/codereview |
I am trying to execute a user-defined Oracle function that returns a RefCursor using ODP.NET. Here is the function:
CREATE OR REPLACE FUNCTION PKG.FUNC_TEST (ID IN TABLE.ID%type)
RETURN SYS_REFCURSOR
AS
REF_TEST SYS_REFCURSOR;
BEGIN
OPEN REF_TEST FOR
SELECT *
FROM TABLE;
RETURN REF_TEST;... | stackexchange/codereview |
this is my code:
class save(BaseRequestHandler):
def get(self):
counter = Counter.get_by_key_name('aa-s')
counter.count += 1
url = "http://www.google.com"
result = urlfetch.fetch(url)
if result.status_code == 200:
counter.ajax = result.content
counter... | stackexchange/codereview |
I need to create a List with Data from a List<List<T>(). I do not need to convert the data; I only need to find Elements with specific information.
Example: List<Countries>(): in this List is another one containing Cities
I need to find the right City (bad example) ^^
I've tried:
countryList.Where(x=>x.Cities.Where(... | stackexchange/codereview |
In my pylons application I want to add some data on setup. ( a user)
To secure passwords in the database i've hashed the passwords with a salt, this salt is stored in the configuration file.
If I want to get the saltkey from configuration I do this (shortened example):
from pylons import config
saltkey = config.get("s... | stackexchange/codereview |
I'm trying to load some xml and xslt stuff into this following html file:
<html>
<head>
<script>
function loadXMLDoc(dname)
{
if (window.XMLHttpRequest)
{
xhttp=new XMLHttpRequest();
}
else
{
xhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xhttp.open("GET"... | stackexchange/codereview |
I am using Entity Framework and generating my POCO classes via T4 - these classes inherit from nothing and are very plain and simple (created via template in vs 2010)
I tried using the Metadatatype Attribute so I could create a buddy class but when I did this I no longer was able to see my properties... if I removed th... | stackexchange/codereview |
I have a windows service which basically consists of a FileSystemWatcher. This service works well when monitoring local folders. The service will not, however, start when I specify a mapped drive in its app.config.
I've changed the account type of the service to LocalSystem, LocalService, and NetworkService without any... | stackexchange/codereview |
A quick question as to what happens to the local function while, if you are binding some other function to a local function, the called function is still running. Is the signal-invoker waiting for the later function to finish to resume control?
e.g.
//if we have a signal declared as :
typedef boost::signal0<void> SendA... | stackexchange/codereview |
I am creating a WPF application in VS2010. I am using multiple grid controls layered on top of one another to perform similar functions to a tab control. The grid controls have an opaque (white) background.
The trouble occurs because no matter which grid I have 'in front' in the design window, I can still see all the... | stackexchange/codereview |
I am creating an application that mimics an email client (it's email, but it looks that way to the end user with a few enhancements). I am wanting to replicate the functionality of the To: field in the Mail app. I have found that I can add views (Buttons) to the LeftView property of but if they add several reciepents... | stackexchange/codereview |
I want to know if there is a way to bound the movement of my UIView within its superview while using GestureRecognizer.
eg. I have a UIImageview To whom I add UIPanGestureRecognizer with action panPiece. I adjust its center in the following way to avoid its movement out of its superview. But it doesnt work properly.
-(... | stackexchange/codereview |
I am doing a query for an autocomplete function on a mysql table that has many instances of similar titles, generally things like different years, such as '2010 Chevrolet Lumina' or 'Chevrolet Lumina 2009', etc.
The query I am currently using is:
$result = mysql_query("SELECT * FROM products WHERE MATCH (name) AGAINST ... | stackexchange/codereview |
I have decided to change all my /dyanmic.php?UID=... pages to /static/Name-From-DB.
I have read that the best way to do redirection, SEO wise, is to implement a 301 .htacess redirection:
(http://www.tamingthebeast.net)- The right way - a htaccess 301
Redirect: A 301 redirect is the most
efficient and spider/visit... | stackexchange/codereview |
A mail can contain different blocks like:
--0016e68deb06b58acf04897c624e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
content_1
...
--0016e68deb06b58acf04897c624e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
content_2
... and so on
How can... | stackexchange/codereview |
Specifically, I want to know what the commands are... all the flags it produces and passes to mxmlc. There must be a way, but I just can't figure it out.
| stackexchange/codereview |
from Tkinter import *
import tkMessageBox, socket
root = Tk()
root.title("pynet v1.0")
root.config(bg='black')
root.resizable(0,0)
text = Text()
text1 = Text()
text1.config(width=15, height=1)
text1.config(bg="white", fg="red")
text1.pack()
def Info():
targetip = socket.gethostbyname_ex(text1.get("1.0", ... | stackexchange/codereview |
I'm beginner in Java, I'm trying to compile some small program, can somebody explain me, what is my problem, thanks in advance:
public abstract class SumFunction<Y,X> {
public abstract Y op (Y y, X x);
}
public class sumStringToInt extends SumFunction{
public int op(int num, String s){
return s.le... | stackexchange/codereview |
Given the fact that I have to build an application, or a series of applications using Oracle ADF, how much flexibility do I have?
Can I run my application on another application server, like IBM WebSphere, or on a simple Servlet container, like Tomcat?
Can I use Hibernate instead of EclipseLink?
Can I easily access an... | stackexchange/codereview |
I have a garbage-collected CoreData app, which is used by a few of my friends. It's a fairly standard app where the Core Data entries are shown on table views.
Some of them report the following mysterious crash reports, triggered by a change in the sort criteria of the table view.
Application Specific Information:
ob... | stackexchange/codereview |
If a composite server control normally encapsulate styling information inside, it is an example of code encapsulation and modularization. However if css properties are included inside the composite control, it is not ideal for code/styling separation and css code re-use principles. Now which consideration should be the... | stackexchange/codereview |
I created a business page on Facebook and using the graph api Im trying to post wall posts to this business page via the api/php. I created the facebook app with another account and gave the app permission to post to the business page. I then used the api call to post a message to the business page wall and the api doe... | stackexchange/codereview |
I want to borrow some of SO's CSS file and modify it, but I see the CSS is packed into very unreadable format. How can I reformat to a well formed readable CSS file?
| stackexchange/codereview |
Which techniques and methods can I use as a webcoder to locate causes of high memory usage within the jquery code I have defined ?
I am using Google Chrome stable, currently v7, if that helps.
Some parts can I replace with "regular" javascript, but that require more lines and less visibly to see whats happening. As far... | stackexchange/codereview |
I recently heard this question from a friend who was asked this in an interview. He was not able to figure it out and i have not yet found any efficient solution to it either. I hope there is an algorithmist here who can show me a new approach
Question:
Given an array A and a number S', provide an efficient algorithm (... | stackexchange/codereview |
Does anyone know how to intercept the genius button on the new MyTouch 4g by HTC? Is it somehow hard wired to the kernel?
I looked at logCat, and I see that if uses the following intent:
INFO/ActivityManager(1309): Starting activity: Intent { flg=0x10000000 cmp=com.nuance.android.vsuite.vsuiteapp/.VSuiteStartSession }... | stackexchange/codereview |
The app that I am building is crashing when I put it on my device with a distribution certificate. It runs fine in the debug configuration with a provisioning profile. When I install it from XCode with the Distribution certificate, it gives me the error
Error launching remote program: failed to get the task for process... | stackexchange/codereview |
I try to add background image in my form. When I run it, there is some flicker before the form fully load the image.
I've tried:
public Form1()
{
this.TransparencyKey = Color.Empty;
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles... | stackexchange/codereview |
I'm relatively new to Android development and Java (learning both simultaneously sort of...).
My question is: if I set up a button in main.xml, I still need to actually create the button in my Activity, right? Like the XML just controls the look of the button, but you need to actually create a button by doing somethin... | stackexchange/codereview |
Any suggestions for best way to not need to use '::' for use of class in module (as shown below)?
Use import/mixin? It's not a multi-inheritance case though? Just want to simlify the code. Is there a side effect of using import for this case?
module Shapes
class Circle
class RightTriangle
end
class Sha... | stackexchange/codereview |
I was wondering what version of Silverlight is implemented in the current release of Windows Phone 7?
The reason I want to know is that I want to bind to an indexer that is string-based. This is a newly added feature in Silverlight 4 (MSDN) and its not working in Windows Phone 7 and I am trying to figure out if the iss... | stackexchange/codereview |
When should I use one versus the other? I want to cache a certain object on startup and reuse around the application. Which sounds like the better solution (ViewData or Session)?
| stackexchange/codereview |
OK, I got it to codesign (turns out you don't need to see the code sign and embedded.mobileprovision in the build log anymore!) but I want to get rid of my "may not respond to" warnings. I cannot find the problem after looking at all the other posts about these warnings...
In the Welcome_backView.h:
@interface Welcome... | stackexchange/codereview |
I am looking to create a file uploader using Ruby on Rails that must have the following features :
Work for any file type
Get upload progress
I used an apache module to track progress but flash solutions are acceptable
Use Amazon S3 as the filesystem
Rails creates a RackMultipart file in the tmp folder that needs t... | stackexchange/codereview |
I have a Mongoid model that looks like this:
class V1Cache
include Mongoid::Document
field :boro, :type => String
embeds_one :cache_data
end
class CacheData
include Mongoid::Document
field :tax_block, :type => String
embedded_in :v1_cache, :inverse_of=>:cache_data
end
I was thinking of writing a create s... | stackexchange/codereview |
I'm trying to get a list of filenames from tkinter.filedialog.askopenfilenames() in Python 3.2.
files = askopenfilenames(initialdir="C:\\Users\\BVCAP\\Videos", title="Select files")
self.num_files.set(len(files))
I was expecting the output to be a tuple (or maybe a list) with each element containing a filena... | stackexchange/codereview |
I found myself in a problem. My main webapp is written in asp.net and i use mono+apache2 to host it. When hosting files when using mono the mime gets screwed up so i'll need to do this in php or another language. However theres some logic required to find the path of the file. Theres quiet a few escaping and filters th... | stackexchange/codereview |
How can I verify a html file is well formed? I want to find the problems such as lack of closing </div> vice versa.
| stackexchange/codereview |
Is there a way to enable and disable all breakpoints in Eclipse...?
I dont want to remove them just disable them & enable them after some condition is met.
Thanks in advance
| stackexchange/codereview |
I have got all my OpenGL lighting working properly, with the normals, materials, ect...
My problem is the way in which OpenGL renders the faces when the light is behind the face. If the light is behind a face, it should render a black face, but instead it renders what the backface of the face would look like. How do I ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.