instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to find out how, when hovered over, the photos show their true colours instead of being black and white on this site: http://2010.dconstruct.org/ . I don't think it's a simple matter of having two versions of the image, but I'm really not sure.
I'd appreciate any help with it!
| stackexchange/codereview |
Is there is a camera that is ideally suited to use with the Java Media Framework?
| stackexchange/codereview |
I wanna check if the draw_texture function is avaiable on the actual device, so:
How can I check if this extension is supported?
| stackexchange/codereview |
The below code sample is an implementation of CRC-CCITT that I'm using in one of my projects.
public static unsafe ushort CRC(byte * it, byte * end)
{
unchecked
{
ushort crc = 0xFFFF;
ushort quick = 0;
for (;;)
... | stackexchange/codereview |
I have a field called dPostTime, which has the date and time stored of an entry.
If I wanted to create a page that showed me the number of entries per hour, would I need to have 24 queries, one for each hour, or what's the best way to do this.
I'd like the chart to appear as follows:
5-6pm - 24 posts
6-7pm - 56 posts
... | stackexchange/codereview |
I am writing an application that contains a database with several tables and joining tables and so forth... the two I am working with currently (and am stumped on) are my pages table and my templates table.
Now a page can contain only one template, but a template can have many pages.
Model for Page:
class Page < Active... | stackexchange/codereview |
Possible Duplicate:
How to remove rvm (ruby version manager) from my system?
How can I uninstall (or reinstall) RVM on Ubuntu 9.10? I messed up my current installation.
| stackexchange/codereview |
Iam getting some error while installing executable in /usr/local/bin thru makefile:
install -m 755 my_execble /usr/local/bin
install: cannot create regular file /usr/local/bin/my_execble: Permission denied
If use sudo before 'install' command ..
then it will work .. but is there other way of installing without using ... | stackexchange/codereview |
Why the mapper fields in Lift framework is defined as Objects inside the class? Why not them as vals? When I look at their Wiki page, it says that for some internal reasons of Scala, we are making them as Objects instead of val or var. What is the internal reason or hinderence in Scala?
| stackexchange/codereview |
What do you advise? should I programmatically draw my textfields, labels, images or should I use IB?
Would it make any difference? I have scrolling issues (bit jerky) but not something I cannot live without!
| stackexchange/codereview |
Does the SQL syntax differ in any way for SQL Plus and apex.oracle.com
From this article I can assume that it doesn't, but I want to be sure. Is SQL Plus only an environment that is able to connect to an Oracle server ?
I'm asking this because I just started learning Oracle's SQL syntax and I don't have access to my fa... | stackexchange/codereview |
I have an HTC buzz, which has a smaller screen (QVGA) than most android phones. Now there is an application (hyves) which is in the market but when I scan their QR code or try it via appbrain it keeps saying Not Found. A frien of mine (who now is in belgium) has a G1 and I've copied the APK when he installed hyves. The... | stackexchange/codereview |
I have a PHP script that pulls keywords from a MySQL database and I need help with figuring out how to link each word.
An example MySQL entry:
cow moo white black
Need to output in link form:
<a href=word.php?word=cow>cow</a> <a href=word.php?word=moo>moo</a>, etc.
Thank you
| stackexchange/codereview |
I have Group and each group has contacts associated with it. When a user deletes a group, if the group is not empty then it will alert them that all contacts in that group will be deleted if they continue. Well anyways, so my problem is setting up that feature.
I have tried to figure out how I can delete all contacts t... | stackexchange/codereview |
Is it possible to make it so that the user can click on an NSImage and trigger an action? How can I do this, through Interface Builder or programmatically?
| stackexchange/codereview |
I am using slide out panel that on default is set to display:none. If the trigger is clicked it will toggle the class to "active". That makes the trigger show a red x (for close) that comes from a sprite position.
$(document).ready(function(){
$(".info-panel-left-trigger").click(function(){
$("#info-panel-left").toggl... | stackexchange/codereview |
I have following HTML and would like to disable the link using javascript.
<a style="white-space: nowrap;" onclick="return InstallWebApp(true);" id="uc_ii_lnkInstall" href="javascript:__doPostBack('uc_ii$lnkInstall','')">
<img style="border-width: 0pt; margin-right: 3px;" id="uc_ii_lnkInstallImg" alt="Install" title="I... | stackexchange/codereview |
I have the following code for the jQuery UI datepicker:
$(function() {
$(".date").datepicker({
showOn: 'button',
buttonText: "Choose Date",
dateFormat: 'yy-mm-dd'
});
});
It creates a button on the side of the text box so people can click the box and select a dat... | stackexchange/codereview |
Excuse me for the maybe very stupid question, but my curiosity is killing me, and plus I'm new to this, but are using labels important in your markup, and why?
i.e.
<label for="birthdate">Birthdate:</label>
<input type="text" id="birthdate" name="birthdate" />
Why must I label this input, why is it beneficial to the ... | stackexchange/codereview |
So I want to create environments for rails 3 and rails 2.1.1
How do I do this?
Where do I look for the various versions of rails?
I get an error when I try:
rvm 1.9.2-head
ruby ruby-1.9.2-head is not installed.
I just followed what I read on: http://rvm.beginrescueend.com/gemsets/creating/
| stackexchange/codereview |
It seem that there is already a fairly automated method to link, at least on the server, dependencies with their available bundles in a Maven repository, e.g.,
http://www.springsource.com/repository/app/bundle/version/dependencies?name=org.springframework.osgi.extensions.annotations&version=1.2.1
It seems like this wo... | stackexchange/codereview |
I wrote a Java scheduler, every hour using:
new SAXBuilder().build(new URL(xxx));
or
HttpConnection.connect(new URL(xxx)); // jsoup library code
to get a big XML/HTML file.
My server maximum bandwidth limit is 2Mbits.
When this Java schedule code runs, I use over 2Mbits of bandwidth. (check it out)
So every time a ... | stackexchange/codereview |
I have 4 .c files hello.c,here.c,bye.c and main.c.
One header file mylib.h
The contents are as follows
hello.c
#include<stdio.h>
void hello()
{
printf("Hello!\n");
}
here.c
#include<stdio.h>
void here()
{
printf("I am here \n");
}
bye.c
#include<stdio.h>
void bye()
{
printf("Bye,Bye");
}
main.c
#i... | stackexchange/codereview |
A friend of mine told me that there is a new rule to pass the appstore approval process. The app also have to work on iPad otherwise it would get rejected. I didn't find something which supports his statement. Does somebody know what is true?
| stackexchange/codereview |
I want to create an IIS site with setup and deployment. How can I create an installer that creates an IIS site?
| stackexchange/codereview |
On my C++ project, I recently stumbled upon a little problem: Templates.
I declared a class, Data in my header file (which is shared by each .cpp), and gave it a template function. I implemented it in data.cpp. I soon remembered how templates are compiled on the spot, when they are referred to, and this breaks the decl... | stackexchange/codereview |
I am trying to send a list of objects from an android mobile phone app to a j2ee webserver.
I create json objects and then put the objects into an jsonarray(in an order) and then send it. I am able to receive the jsonarray on the server, obtain the objects individually too, but the order of how I inserted the objects i... | stackexchange/codereview |
Has anyone every heard of a program which analyses a satellite map and attempts to generate three dimensional buildings that roughly match the length/width of their real life counterparts?
The use in programs like Google Earth or FlightGear would be phenomenal.
Anybody heard of something like this already existing?
EDI... | stackexchange/codereview |
I wrote a program that uses ForkExec in Go.
command := "/bin/su -c '/bin/ls -lh / >/tmp/sC0X3kASz7' joe"
pid, err := os.ForkExec(command, []string{}, os.Environ(), "", []*os.File{nil, cmd.Stdout, cmd.Stderr})
if you execute that command on your shell, and do cat /tmp/sC0X3kASz7 you will see your files listed.
howeve... | stackexchange/codereview |
I am trying to recreate the following plot with R. Minitab describes this as a normal probability plot.
The probplot gets you most of the way there. Unfortunately, I cannot figure out how to add the confidence interval bands around this plot.
Similarly, ggplot's stat_qq() seems to present similar information with a tr... | stackexchange/codereview |
is it possible to automatically delete a row in a table if a certain condition is met?
for example a products table
pid pname quantity
1 shoes 5
now the condition must be if quantity is equal to 0 then the whole row must be deleted
| stackexchange/codereview |
When a single developer releases multiple apps, do they register the apps under different company names?
What's the most iPhone apps released by a single developer that you know of?
| stackexchange/codereview |
I've a task(.bat file) which should be performed/executed after every 15mins.
I don't know where to make its entry so that it'll be scheduled?
With this, I want to see the execution(progress) of the task running(in command prompt).
| stackexchange/codereview |
Possible Duplicate:
What does Layout Inflater in Android do?
What is the layout inflater used for in an Android application?
| stackexchange/codereview |
Is there is any way to find out from where an image is loaded to browser. From server / browser cache or proxy cache etc. I am using asp.net MVC
| stackexchange/codereview |
Chrome for me has always been a reference on web standards, unfortunately the defer isn't supported and IE supports it since version 5.5. Why ?
js.js
document.getElementById ("hi").innerHTML = "Hi :)";
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8">
<script defer="defer" src="js.js"></... | stackexchange/codereview |
Here the scenario is:
I have a canvas with different diagrams drawn on it. Now the requirement is to zoom into the canvas using the code behind either using C# or VB. Moreover I need to place the zoom code in some dll so that i can reuse the same set of code through out my application.
Now my question is how to do th... | stackexchange/codereview |
In my navigation based app, there is a button that if pressed, will change the view to a detailViewController. Here the user can set several options. One of those options is a bool value. When I return from the detailViewController how can I see what this bool value is?
| stackexchange/codereview |
I have a route defined as follows:
(r'^edit/(\d+)/$', 'app.path.edit')
I want to use the reverse function as follows:
url = reverse('app.path.edit', args=('-id-',))
The generated url gets passed to a js function, and client side code will eventually replace '-id-' with the correct numeric id. This of course won't wor... | stackexchange/codereview |
I'm working on a script which will get a JSON array of id's. Based on the results, I then loop over all the checkboxes on the page and check the boxes where the id exists in the JSON array.
The checkboxes are named like so name="name[id]" id="name[id]"
How do I loop the checkboxes and determine if the id (between [ and... | stackexchange/codereview |
Interested how to do it programmatically, not export table data once (there are tools for sure).
easiest way to transform mysql table "as is" into xml document ?
table contains say 2 rows:
id name
1 "John Travolta"
2 "Mary Lynch"
ideally we'd need a class that's gonna eat login/passw/host of a data... | stackexchange/codereview |
If I use python to write a script to call svn as a subprocess to checkout source code:
p = subprocess.Popen("svn checkout file:///tmp/repos/test mine")
What is the return value of the success or failure of svn-checkout subprocess?
| stackexchange/codereview |
I have some scheduled jobs in my SQL Agent:
Job1, executing every 2 minutes
Job2, executing every 10 minutes
Job3, executing every 15 minutes
As you can see, multiple jobs can run simultaneously. When these jobs do run simultaneously, it is causing the CPU usage to go to 100%.
Is there a solution? Is there a way to c... | stackexchange/codereview |
I have a page with Ajax Tab controls, within one of the tabs is a webcontrol that as a Telerik RadGrid, with Edit forms pointing to another web control. That edit form also contains Ajax Tabs and on one of those tabs, there is an Ajax modal popup of yet another webcontrol.
The initial webcontrol works fine when used on... | stackexchange/codereview |
We have a site that needs to have several sections be secure. We have
our SSL certificate installed, and for the areas that are accessible
via menu item, it's no problem - we just use the SSL Enabled system
parameter in the menu item editor. But we have a few sections (i.e. a
shopping cart checkout screen) that are onl... | stackexchange/codereview |
I get the following error below and was wondering how can I correct this problem?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF(articles_comments.parent_comment_id = articles_comments.comment_id AND users.' at line 4
Here is my... | stackexchange/codereview |
I have a string called 's' and I want to open it in notepad at runtime without saving it in/as a file. Is there any way to achieve this in python?
| stackexchange/codereview |
I got this example from a blog, but every time I do this:
$(':input[name=' + inputName + ']').each(function(i, selected)
{
alert($(selected).text());
});
I got all an alert with all the options together :(
I have to search by the input name always, the inputs have no id.
Which is the right way to do it?
Kind regar... | stackexchange/codereview |
I have a situation where I need to start a WPF application and have it run using a child window created by my C++ application. So the sequence of events would be -
Start C++ application
C++ application creates a window that it wants WPF app to run in.
Launch WPF using CreateProcess function. Included in create proce... | stackexchange/codereview |
I have an asp.net masterpage, and All my controllers inherit from a controller base. All my view models inherit from ViewBase. How can I have a base set of data in the master page that is populated from the base controller into the viewbase, then into the masterpage?
| stackexchange/codereview |
I need to change all uploaded files to 72 dpi.
I'm using the php imagick extension.
heres what i've tried (the image i'm using is 300dpi):
$image = new Imagick();
$image->setResolution(72,72) ;
$image->readImage($img);
$image->resampleImage (72,72,imagick::FILTER_UNDEFINED,1);
$image->writeImage($target)
this doesn't... | stackexchange/codereview |
How do I override a class method in php in situ, i.e. without extending it?
I would extend if I could, but I cant.
| stackexchange/codereview |
I'm trying to programmatically search for an item on the said website.
Following does not work for me. Response is actually an error page, instead of the search result page.
Pls help.
string sUrl = "http://www.arrownac.com/";
string sUrl1 = "http://app.arrownac.com/aws/pg_webc?s=P";
HttpWebRequ... | stackexchange/codereview |
I have a Database table UserTable
CREATE TABLE [UserTable](
[ID] [int] NULL,
[Name] [nvarchar](50) NULL,
[City] [nvarchar](50) NULL
) ON [PRIMARY]
this table have following data
ID Name City
----------- --------------------------------
1 Vijendra ... | stackexchange/codereview |
I'm new in the field of gtk+. My question is that is there a way to render images very fast in gtk??? I mean is there a way to directly alter the image data in frame buffer or video ram or something like that? Do pixbufs do the same thing?? I need to apply this for a scrolling example. Is cairo good for fast rendering ... | stackexchange/codereview |
I have HttpSessionListener to listen for when sessions are created and destroyed. I have a user domain which has loggedIn boolean column which I update whenever user logs in or logs out which I use for admin management. I also store the session Id in the database.
I also want to update the loggedIn column whenever the ... | stackexchange/codereview |
I have a single page website which has a fixed floating nav. I want to be able to highlight which section the user is on by adding a class of say "on" to the relevant navigation a tag.
This class will need to be removed when the user is no longer on that section and the new current section then needs to be reflected in... | stackexchange/codereview |
Which is a good java REST framework?
I would like it to be deployed with Tomcat 6.
| stackexchange/codereview |
I need to display a document in a uiwebview.I was succeeded in displaying it,but i need to move the webview only vertically.I don't want the horizontal scrolling how can i achieve this..Please help me
| stackexchange/codereview |
I'm using EF4. I've found a very annoying issue.
I have a db view that I've dragged into my Entity Model class.
When I try to iterate over the hole collection, the data displayed, it's almost the same that the first objects... I've tried enabling Lazy Loading, but nothing works.. it's a really simple snippet.. why does... | stackexchange/codereview |
I'm trying to optimize some code that I have that requires me to try and contact a few bluetooth devices using RFCOMM. Right now it's taking at least 2 seconds to successfully open a socket to any of the devices. Is this kind of delay normal?
| stackexchange/codereview |
I have this situation:
public class busOrder: IbusOrder
{
public Order vOrder { get; set; }
MyDataContext db = new MyDataContext();
public busOrder(int pOrderId)
{
vOrder = db.Orders.SingleOrDefault(p => p.Id == pOrderId);
}
public int SaveNew()
{
...
}
public int... | stackexchange/codereview |
I don't understand why Eclipse doesn't know how to resolve the color resources I've defined. Am I doing something wrong?
R.color.notepad_lines cannot be resolved MyNewTextView.java
I've had problems before too with eclipse being able to find images in my /res/drawable directory
/res/values/colors.xml
<?xml version="1.... | stackexchange/codereview |
I have Jordan Russel's Toolbar2000 toolbars that I create at runtime with an embedded TFrame and dock on the application main form. This frame has an embedded pane that in turn
contains other panels and various controls. So the structure is:
TTBDock
TTBToolbar
TFrame (align=alNone, Autosize=true)
TPa... | stackexchange/codereview |
Using C language
| stackexchange/codereview |
I am new to iOS/Mac programming. I am trying to create an iOS application that performs custom bitmap drawing, and blits it to screen.
I have looked at some examples that use CGImage, but I haven't been able to able to follow them to create an iOS application that performs custom drawing on the application window.
I am... | stackexchange/codereview |
I bought the Augen Gentouch78 to start dabbing in development for Android tablets, but this device is gravely excruciating to use (and I'm returning it). Is there a way to configure the emulator to tablet specs (namely Samsung Galaxy Tab)??
| stackexchange/codereview |
i want to display the table view in alert view. This table view contains segmented control.
these segmented controls are for on/off the audio, image, text. so there will be 3 cells with segmented controls.
how to do this
please help me out
Thank u
| stackexchange/codereview |
Is the fb_graph gem better?
It seems to be newer, but the facebooker has a lot more people using.
http://github.com/nsanta/fbgraph
http://github.com/mmangino/facebooker
Update:
I looked into koala, and it seems it is a good choice as well.
http://github.com/arsduo/koala
I also figure out that fb_graph is different th... | stackexchange/codereview |
It seems like every library I've ever seen recommended doesn't offer an api as easy as this.
MyClass* instance = (MyClass*)SerializationUtility.serialize(someString);
Has anyone heard of something this easy for c++?
In hava there are a couple of libraries that are so easy to use for converting text into objects and ob... | stackexchange/codereview |
I have a .jar in my Android project which has many references and uses of the java.awt.* classes and other classes not available on Android. How can I provide my own implementations of these classes so that I can embed the unmodified .jar file (the only modification is being ran through dx) in my Android application an... | stackexchange/codereview |
I have "java.lang.IllegalStateException: database not open" - when I change the screen orientation when upgrading database is in progress.
When version of my database changes, onCreate() of my SQLiteOpenHelper subclass is called. In this method I'm simply dropping previous tables, creating new ones and populating them... | stackexchange/codereview |
I see that many applications do not have a title bar, but still have the window controls in the upper right corner. These are also styled differently than the normal windows form controls. Is it possible to achieve this effect in WPF?
Here are some examples:
Zune Desktop software:
http://i548.photobucket.com/albums... | stackexchange/codereview |
I have a strange problem with my query trying to join 3 tables. The tables descibed:
2 similar tables like this (entr_es):
Field Type Null Key Default Extra
espid int(11) NO PRI NULL auto_increment
haslo text NO MUL NULL
kat int(11) NO NULL
The second table looks the same, except the firs... | stackexchange/codereview |
I was wondering, is there any JSON library which enable me
Get a key to value map, out from JSON String (JSONObject able to do this)
Get a Java object, out from JSON String (Google Gson able to do this)
The following both print value
package jsontest;
import com.google.gson.Gson;
import org.json.JSONException;
impor... | stackexchange/codereview |
I'm trying to preform a distance calculation to return a listing of places within a certain distance. This is based on using a zip code database and determining the distance from the origin to each location. What I want to do is limit the results to be within a certain distance from the origin, but I'm having trouble w... | stackexchange/codereview |
I have a form that I am attempting to override the WndProc subroutine on. I am using GetDCEx to get a DC handle to my form. According to Microsoft's documentation on using GetDCEx, my form must have the CS_OWNDC or the CS_PARENTDC flag set my window class in order to use GetDCEx. According to Spy++, my window does not ... | stackexchange/codereview |
I have description of my Application Services using my fancy classes (ServiceDescription class that contains collection of ServiceMethod description, for simplification).
Now, I want to expose one Application Service as one WCF Service (one Contract). The current solution is very lame - I have console application that ... | stackexchange/codereview |
In my data structures course, we are creating a basic vector class. In my header, there is a member function for inserting new values into the vector. If the capacity of my vector is big enough for the insertion of one value, the program runs fine. However, if the vector needs to grow, I run into pointer errors. After ... | stackexchange/codereview |
I'm trying my best to make my jQuery / AJAX scripts, but sometimes I run into some problems, like right now, so I'm seeking some help!
On a game page of my website, in the comment box, you find a little "Like (0)" link right there, and when you click, well it actually adds +1 to the comment, without any page reload.
On... | stackexchange/codereview |
In my XML values strings code, I have a string with some text that I want to have only a few of the words in color. I also want to have a new line for some of the text.
I can do things like: < b> my bold text < /b> and that works (leading space added for this post).
I try to tag the text with color but no color sho... | stackexchange/codereview |
http://code.google.com/appengine/articles/update_schema.html
Trying to work this out for a nice little updater across my web application. The only difference is rather than sorting on a StringProperty as shown in the example I am using an IntegerProperty.
No matter which way round I turn the query I cannot get it to re... | stackexchange/codereview |
Is there a way to manage interactively (view/delete) config and code of an application in google app engine? I understand that the deployment approach is versioned batch upload, but can i at least download back a collection of uploaded files of current (or any given) revision of an app? Or is there even an interface fo... | stackexchange/codereview |
I am going over some code written by another developer and am not sure what long? means:
protected string AccountToLogin(long? id)
{
string loginName = "";
if (id.HasValue)
{
try
{....
| stackexchange/codereview |
I'm adding Android C2DM to a Android library project. I started with the com.google.android.c2dm package that is included with JumpNote and Chrome To Phone. In order to use this package, you have to subclass the C2DMBaseReceiver service which takes the Sender Id as an argument to it's constructor. In JumpNote, this ... | stackexchange/codereview |
I need to come up with some code that checks if a given integer falls within the bounds of a range. (The range is represented by a pair of integers.)
So, given a range r defined as an std::pair<int, int>, and a test integer n, I want to say:
if (n >= r.first && n <= r.second)
The catch is, I need to use a std::less<in... | stackexchange/codereview |
I need to invoke skype application and make a call from skype when a 'skype me' link (eg: skype://1866012345) is clicked from a webview. Can someone help how to do this?
I tried the following:
Downloaded skype application from market (in my driod 2.2).
When launching skype, the package invoked is 'skype.android.raider'... | stackexchange/codereview |
I have question connected with interfaces and abstract classes.
I'll give to you simple example, that could explain what I want to do. So, Lets start.
public interface A
{
string param1 { set; get;}
string param1 { set; get;}
A CreateObject(string p1,string p2);
}
public class MyClass1 : A
{
public string param1 ... | stackexchange/codereview |
What I mean by this is:
MonoTouch integrates and binds to Interface Builder and the full Cocoa Framework.
MonoTouch applications compile with the runtime, so there is no JIT, and no runtime needs to be present on the host OS.
Can OS X applications written in Mono take advantage of these MonoTouch features?
| stackexchange/codereview |
This should be easy. I have a video stream coming in from my webcam. I'm just playing with image transformation etc. I'd like to be able to view the original images (video input) in one window and the transformed video in another. Problem is, as soon as I start capturing video instead of just single images, the ori... | stackexchange/codereview |
I'm initializing an UIImagePickerController like this:
self.cameraController = [[UIImagePickerController alloc] init];
self.cameraController.sourceType = UIImagePickerControllerSourceTypeCamera;
self.cameraController.showsCameraControls = NO;
self.cameraController.navigationBarHidden = YES;
self... | stackexchange/codereview |
In short: I am trying to traverse an undirected graph in prolog, but don't know how to, any advise would be greatly appreciated.
Background:
Trying to model rail system, with stations as nodes and their links as edges with weight 1.
I had no problem doing it in a directed manner, but cant do it in an undirected graph.... | stackexchange/codereview |
Is it possible to prove by induction that the two's complement of any string of 0's will always result in 0, for all sequences of length n?
I'm trying to do this using the value formula, i.e.
value = -a_n-1 x 2^(n-1) + summation{i=0 to n} (a_i x 2^i), where n = number of bits in string
| stackexchange/codereview |
guys, I wonder if you put images for each density type (low/medium/high) and there are quite a few of them, won't it increase the size of application footprint on internal memory?
I would hope that android will put only needed resource file from apk to the actual application folder. Can somebody confirm that?
| stackexchange/codereview |
I'm diving into RoR and as I'm going through the tutorials, scaffolds, and docs, I'm coming across some code that confuses me. For example, I just read up on the 'redirect_to' method, but the guide I read didn't cover the example of redirecting to an instance var, such as the code that is generated in a typical scaffo... | stackexchange/codereview |
I'm trying to deserialize some xml without having the original class that was used to create the object in xml. The class is called ComOpcClientConfiguration.
It's succesfully setting the ServerUrl and ServerUrlHda values, but not rest of them...
So what I'm asking is: How can I make the rest of these values get set pr... | stackexchange/codereview |
I wish to hold a heap of objects, not just numbers. They will have an integer attribute in them that the heap can sort by. The easiest way to use heaps in python is heapq, but how do I tell it to sort by a specific attribute when using heapq?
| stackexchange/codereview |
I am working on an application which has potential for a large memory load (>5gb) but has a requirement to run on 32bit and .NET 2 based desktops due to the customer deployment environment. My solution so far has been to use an app-wide data store for these large volume objects, when an object is assigned to the store,... | stackexchange/codereview |
i can't download more then one image from url
function processXML(e:ResultEvent):void
{
myXML = e.result as XML;
for (var i:Number=0;i<myXML.icon.length();i++)//amout of urls.Now there tree elements
{
loader.load( new URLRequest(myXML.image[i].imageURL.toString())); //g... | stackexchange/codereview |
I want to be notified if headphones are plugged in or plugged out. I'm currently doing this using a property listener like this:
AudioSessionAddPropertyListener (kAudioSessionProperty_AudioRouteChange, myCallback, self);
This works perfectly well in all cases except in one, it goes like this:
Launch, iPhone is unmuted... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.