instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I need to make multiple asynchronous calls from inside a wcf service hosted in IIS (might be relevant, I don't know). The calls are to other services, but I make them by POSTing a string to the service URL. Calling them synchronously works, but I have more than a dozen calls, and they're completely independent, so I wo... | stackexchange/codereview |
In the following style:
.slider div div div h2 span { color:#ae663d;}
What is the purpose of "div div div"?
| stackexchange/codereview |
In the Apple Developer Portal, in Certificates, Developer (or Distribution) it says:
"If you do not have the WWDR intermediate certificate installed,
click here to download now."
I don't even know what that means. Do I need to download and run that?
or do I need to only download the current certificate only?
| stackexchange/codereview |
I found similar questions with correct answers. But they're a bit complicated for me. I just want a simple basic statement.
I have:
string sql = "UPDATE tblPopUp
SET PopUp = 'False'
WHERE DisplayNo = 1"
...and:
string sql1 = "SELECT Period
FROM tblPopUp
... | stackexchange/codereview |
I am working on a project where I have to send an ajax request to some java based middleware that someone else is in charge of. 4 things can happen in response to the data I POST back...
the userid is correct so the response I receive includes:
XMLHttpRequest.responseText = "someurl.html"
XMLHttpRequest.status = 200
t... | stackexchange/codereview |
I know that a structure can be defined by in several ways such as:
Adding fields to a variable
p.color.red = .2;
p.color.green = .4;
p.color.blue = .7;
Defining a scalar structure by assignment
S = struct('a', 0, 'b', 1, 'c', 2);
What I want to be able to do is create a structure definition (like C). My end goa... | stackexchange/codereview |
The gin tutorial seems to imply that to inject remote services all you need to do is annotate with @Inject.
Do you you still need to define this in a module somewhere or is the point that you can just annotate with @Inject and it will work?
| stackexchange/codereview |
This is my textbox:
<TextBox TextAlignment="Right" Text="{Binding PriorityScore, StringFormat=N2}"
Name="PriorityScoreBox" TextChanged="PriorityScoreBox_TextChanged" />
When I click on the Save button everything works fine.
When I press Control-S, it doesn't save the pending changes in the textbox. Th... | stackexchange/codereview |
This code actually works, but not exactly in the way I'm expecting.
".socialSlide" is a div set at the bottom of the page that features an anchor "tab" that sticks out. The rest of the div is hidden at the bottom. The idea is to have the div show or hide via animation either on click or hover of that link.
// Adding th... | stackexchange/codereview |
I'm making use of Red Carrot's Checkbox Tree plugin but trying to adapt it to use with a nested list of radio buttons.
Replacing all references to ‘checkbox’ with ‘radio’ works for the most part, but the uncheckChildren option does not work – When selecting a different parent option, the first selected parent is desel... | stackexchange/codereview |
I am trying get tree view in the web page. I am using jstree plugin for the tree view. I am actually new to jQuery. The following is the code i have written.
<%--
Document : folderView
Created on : Nov 2, 2010, 3:31:55 PM
Author : Vamshidhar
--%>
<%@page contentType="text/html" pageEncoding="UTF-8... | stackexchange/codereview |
ha15rs,250,home2.gif,2
ha36gs,150,home3.gif,1
ha27se,300,home4.gif,4
ha4678,200,home5.gif,5
when i turn this text file into array $handle, how can i test the second field (250,150,300,200)
i want to check if its below 100, if it is then display the row!!
if $secondfield < 100
then echo
how could i manipulate the ar... | stackexchange/codereview |
I've been looking at CoffeeScript and I'm not understanding how you would write code like this. How does it handle nested anonymous functions in its syntax?
;(function($) {
var app = $.sammy(function() {
this.get('#/', function() {
$('#main').text('');
});
t... | stackexchange/codereview |
I'm using jQuery validation plugin to validate a form. when one thing is selected in a selectbox a new selectbox is added trough ajax. this new element has class required but when I try to submit, it is not validated.
I know this is because when the validation plugin is initialized on the form the classes are checked ... | stackexchange/codereview |
I made a little helper function:
import zipfile
def main(archive_list=[],zfilename='default.zip'):
print zfilename
zout = zipfile.ZipFile(zfilename, "w")
for fname in archive_list:
print "writing: ", fname
zout.write(fname)
zout.close()
if __name__ == '__main__':
main()
The prob... | stackexchange/codereview |
I have a user control that contains a listview. In the windows where I use this usercontrol, I want to be able to do something like what is shown below where I set the template for a control within the user control.
<ct:AutoCompleteComboBox
SelectedValue="{Binding Path=SelectedCountry}"
ItemsS... | stackexchange/codereview |
I try to do something like this Javascript function as a parameter to another function?, but unfortunately I haven't succeeded. I've done something wrong, but I don't know what. Please help me!
There is a div-element and a function. What the function does is: takes an another function as a parameter and execute it on c... | stackexchange/codereview |
I have to make other developers to be able to connect to my service, but my AIDL imports my classes.
I don't want to give them the source code of the service, just the APK and some kind of a stub file (java, jar?).
How can I give them something - "the glue" - which makes them to use the classes in my AIDL and using the... | stackexchange/codereview |
I have a table HistoryRecords which has two columns recordName and timeStamp. I have to delete the records based on both of these. I had used the following query to delete 2 records <'abc', '2010/10/20 19:39:20.0'> and <'def', '2010/10/25 17:43:3.0'> :
DELETE FROM HistoryRecords WHERE (recordName IN (N'abc',N'def') AN... | stackexchange/codereview |
I have a grid with two columns where Width is set to 1* on both. If one of the columns has content that wont fit, its columns in made slightly larger -> no relative width of 1* anymore. Is it possible to force the width-relations and instead making the entire grid wider so that both columns still can have the same size... | stackexchange/codereview |
I am developing a swing based application.In it,there is a JTable.The data is populated in JTable in two ways-
User selects a file(File Chooser etc).Application loads the data into JTable.
Application polls for messages on some network parameters.When message arrives, it loads into JTable.
I now want to give Search o... | stackexchange/codereview |
How do I redirect x.com to y.com, when someone types in x.com or anything x.com
Thanks
Jean
| stackexchange/codereview |
I have a two tables.
TABLE 1 has id(PRIMARY)|RANK|WEBSITE |ADDRESS
This is filled with a million websites.
TABLE 2 has id(PRIMARY)|tag1|tag2|tag3 ......|tag30
I am generating the tags by scraping for the meta tags and other attributes.
I have no problems populating the database for the first few thousand websites. Af... | stackexchange/codereview |
Want to set up mysql master-slave replications in rails app.
Are there plugins/db adapters available for Rails 3? Does the Masochism plugin work properly with rails 3?
| stackexchange/codereview |
i've checked through the posts on several sites including stackoverflow
but was not able to see a similar problem like mine.
I have a page with some div containers, that separate input boxes and
let them look good.
Problem:
Although everything looks good on safari/opera/chrome, the boxes get weird
on firefox.
I'm... | stackexchange/codereview |
The variable currentIndex is declared globally and initialized with a certain value say '0'. How do I hold the value of currentIndex which is incremented every time the function is called? In the given code, every time the function is called, the value is reinitialized.
function nextSong(e:Event):void
{
sc.st... | stackexchange/codereview |
I'm going to list several quick facts for better understanding of my goal.
Am developing a project, let's call it AAA:
At my webserver (data center) I have the AAA SVN repository.
At the same webserver I have a checkout version of AAA (the live version - public html)
I have at home a second checkout where I develop th... | stackexchange/codereview |
I have a big .PHONY command:
.PHONY: clean cleanall
Can I split it into multiple parts, as shown below?
.PHONY: clean
clean:
rm -rf build/
.PHONY: cleanall
| stackexchange/codereview |
For the query below, I would like to add the following action: update a column called "flag1" to be equal to a variable called $uflag. What is the correct format for that?
UPDATE submission SET votes_up = $votes_up WHERE submissionid = $id
| stackexchange/codereview |
Not to be confused with Mercurial .hgignore for Visual Studio 2008 projects
I was asking whether if that same file can be reused for Visual Studio 2010, or some other extensions, etc should be added to it, & why?
| stackexchange/codereview |
I have a table called BUILD_INFO and it has the following columns:
BUILD_ID
BUILD_NAME
DATE
USER
The BUILD_ID is an autoincrement field, so I don't set it when I do an insert. It's the primary key that is used to relate this row in this table to other rows in other tables.
When I insert a new row in the BUILD_INFO ta... | stackexchange/codereview |
I have a method in a client class that gathers data from a server, and returns a HashMap. I want to list the keys in an android dialog. The android API requires that the data must be in in the form of a CharSequence[]. So far as I can tell, there is no direct way to convert these data types. What would be the best way ... | stackexchange/codereview |
Hi im new to both android and java
i have php page in my webserver, i want to get this page result in android. I have search a lot for mysql android connection someone says that it is possible through "new URL" in java. But i cannot catch this method. Actually i want to implement a login page for android. I have alread... | stackexchange/codereview |
I'm trying to know if a class is an Enum, but I think I'm missing something:
if (test.MyEnum.class instanceof Enum<?>.class)
obj = resultWrapper.getEnum(i, test.MyEnum.class);
else
obj = resultWrapper.getObject(i);
It gives me an error saying that Enum.class is not valid. So how I can check if a class is a Enum? I'... | stackexchange/codereview |
Is it possible to get the constituents of a member function such as class type or return type just from its address (not from member function type) ?
For e.g. given
class foo
{
int bar()
{
return 5;
}
};
i like to have
is_same< function_types<&foo::bar>::class_type, foo>::value == true;
I a... | stackexchange/codereview |
Is it possible to create a countdown timer (dd:hh:mm:ss) to 12am central time on the front end only?
So users in all timezones would get a clock that is counting down using central time rather than their current computer time?
I'm trying to do this without using backend scripts, but I'm not sure if its possible. Thanks... | stackexchange/codereview |
I want visitors to my site to have a default session of "Guest User" if they are not logged in. I have created the Guest User in my users table, but how do I initiate a session for that user if the user is not signed in.
I could have a :set_user before filter in ApplicationController:
class ApplicationController < Act... | stackexchange/codereview |
Seems like a trivial task with LINQ (and probably it is), but I cannot figure out how to drop the last item of squence with LINQ. Using Take and passing the length of the sequence - 1 works fine of course. However, that approach seems quite inconvienient when chaining up multiple LINQ in a single line of code.
IEnumer... | stackexchange/codereview |
I need to prepare for C# interview which book is the best and shortest? Thanks
| stackexchange/codereview |
I've used the .NET API extensively now, but am hitting some edge cases where examples, experience, and searches are kind of hitting a brick wall. For some reason I can't seem to find good documentation (reference docs or otherwise). Does anyone know where I can get this?
| stackexchange/codereview |
I am trying to create a Notification using Android's Notification Manager, however, the trick is that I want the notification to show up 30 days in the future. In my code I'm doing this:
Intent notificationIntent = new Intent(this, MyClass.class);
PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notific... | stackexchange/codereview |
I need to cast an Action<string> to Action<object>. While this is type-unsafe in general, in my case it will always be called with a string. I'm getting this error:
Unable to cast object of type 'System.Action1[System.String]' to type 'System.Action1[System.Object]'.
Any clues? Reflection is fair game. Wrapping the one... | stackexchange/codereview |
The dataset looks like this (Model WF with id, widget_id,feature_id,status as fields)
id widget_id feature_id status
1 1 23 1
2 1 45 1
3 1 89 1
4 2 41 1
5 1 10 0
6 1 90 ... | stackexchange/codereview |
Ad-Servers seem (and do) know a lot about the use who is visiting a certain webpage leveraging Behavioral and Contextual Targeting. I would love to be able to keep track of that data as well. In particular I would like to know:
age range
male/female
geographical info
I would like this information on a per request b... | stackexchange/codereview |
My scenario is this:
I have a table with a structure like this (simplified) -
CREATE TABLE [dbo].[pe_mem](
[pm_member] [int] NULL,
[pm_surname] [char](50) NULL,
[pm_forename] [char](50) NULL,
[pm_rsi_num] [char](11) NULL
) ON [PRIMARY]
I need to run a query to find all rows that have an identical pm_... | stackexchange/codereview |
I've read this article several times:
http://jonasboner.com/2008/10/06/real-world-scala-dependency-injection-di.html
I think that I get it. However there's something that I'm not quite getting.
Looking at his UserService example, I see that he's set up UserRepositoryComponent to encapsulate UserRepository. But what I... | stackexchange/codereview |
Usually wordpress templates take care of cross-browser compatibility for you, but I've basically built my own and I haven't had to deal with IE issues in a while. Everything seems to work fine except for #social and #menu. The CSS for these is here:
#social {
float:left;
width:500px;
display:inline;
margin:333px 0 -4... | stackexchange/codereview |
When I say -Xmx=1024m, does this include permgen i.e -XX:MaxPermSize= is taken from these 1024m or it is separate?
Looking at this
I thought that it takes from 1024m, but until now I had believed they were separate.
| stackexchange/codereview |
Hi i did not understand the notepad sample in android.when i import this to my workspace it shows there are no projects.Its having sqlite code i want to see how this application running,Please explain it once
| stackexchange/codereview |
I'm trying to write a C++ program that alters a .txt file. However when I run it I get a strange error.
The error:
6:20 C:\Dev-Cpp\Homework6.cpp incomplete universal character name \U
My code:
#include <iostream>
#include <fstream>
using namespace std;
int main () {
ofstream myfile ("C:\Users\My Name\Desktop\test... | stackexchange/codereview |
I've been away from Flash as3 for a while, but today I need to write a map link application using it and i'm pulling my hair out with an annoying problem!
I just want an overlay to appear when a map movieclip is clicked and fade out when somebody then clicks the map. The fade in works fine, but the fade out doesn't do... | stackexchange/codereview |
My company gets a set of CSV files full of bank account info each month that I need to import into a database. Some of these files can be pretty big. For example, one is about 33MB and about 65,000 lines.
Right now I have a symfony/Doctrine app (PHP) that reads these CSV files and imports them into a database. My datab... | stackexchange/codereview |
What is the proper way to connect two apps using GKSession, where one acts as a GKSessionModeClient and one as a GKSessionModeServer?
For the server, does it start listening after initWithSessionID:displayName:sessionMode: is called and available is set to YES?
How do I search for the server with the client? After I in... | stackexchange/codereview |
So I am new to database MySql and Database configuration period. I originally deployed MySQl with the default Innodb engine and in turn created a database with single table through MySQL workbench.
However, I have decided to change to the MyISAM. If I changed the default engine to MyISAM, have I made the change to ... | stackexchange/codereview |
Is it possible to have drill-down facility in Jquery datatable?
For example, I want to show the output like below.
Organization Code
+Org1 O1
on expanding of Org1,
It should display,
-Org1
+Department1 D1
When we expand Department1,
it should display
+EmployeeName1 Emp1
like this... | stackexchange/codereview |
Saw the following in some legacy code:
class A {
&A() { ... }
}
What "&" is used for? It compiles in VC++ 2008 and looks like default constructor,
bug gcc fails to compile it.
| stackexchange/codereview |
Nowadays i'm struggling with something i didn't experience maybe 5 years ago, and i was wondering if you have experienced the same.
The problem: i don't have a good way to update my knowledge as new (Microsoft) products are released.
In the old days, say 5 years ago, when MS released a new product, it was maybe 2 or 3 ... | stackexchange/codereview |
AT&T WP7 phones are locked to third-party applications. Does this mean that during development I won't be able to deploy my applications from Visual Studio to the device?
| stackexchange/codereview |
Is there a more official way to force a phpunit failure than $this->assertTrue(false)?
| stackexchange/codereview |
how to load view in the above picture.
this code will flipHorizontal.....
SubclassViewController *bNavigation = [[BusinessViewController alloc] initWithNibName:@"bNavigation" bundle:nil];
bNavigation = self;
bNavigation.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:b... | stackexchange/codereview |
XFL is the new uncompressed ADOBE FLASH (CS5) source file, it consists from XML definitions, most of them are clear but unfortunately, the important one are strange.
Looking to various existing sources, I can see shape's EDGE definitions like:
<Edge strokeStyle="1" edges="!0 0S4|180 0"/>
<Edge strokeStyle="1" edges="!2... | stackexchange/codereview |
In PostgreSQL 9 + PostGIS 1.5, is there a way to create a "generic" GEOGRAPHY column? By that I mean a column that would accept POINTs as well as POLYGONs, LINESTRINGs, etc. Until now, I've only seen columns like GEOGRAPHY(POINT,4326) on the Internet.
If that is not possible, then how would you design (from a DB point ... | stackexchange/codereview |
I'm a committer on a project with a GitHub repo. I have a small team of developers who can't read from or commit to that repo. I'd like to setup a git server they can commit to that is a clone of the GitHub repo. When they make commits, I will review them, sometimes make edits, then push to the GitHub repo.
My question... | stackexchange/codereview |
I am currently trying to convert a Silverlight 3 application to Silverlight 4 and I am running into a problem. Everything compiles correctly but when I run it I get an error at about 70% loading. Im confused because its a javascript error I'm pretty sure.
throw new Error(
"Unhandled Error in Silverlight Application S... | stackexchange/codereview |
How can i inherit gtk window class. what header file should be included todo so.
Thanks in advance,
iSight
| stackexchange/codereview |
I just turned on notices because it has some important information I need with debugging... with that being said, I find the undefined variables to be a real pain in the butt.
For example, to remove an undefined variable notice I have to turn the following code:
if($the_month != $row['the_month'])
into
if(isset($the_... | stackexchange/codereview |
Thanks for answering the previous question had before, i did the following, but i am trying to execute this loop, but there is no error given. I am trying to do date difference.
In[7] = Import["testA.txt", "Table" , "HeaderLines" -> 1]
Out[7] = {{100, 2010, 2, 20, 2010, 8, 30}, {110, 2010, 4, 30, 2010, 9,
1... | stackexchange/codereview |
Hy!
I'm building a top view 2D map, that it's objects are stored on the server.
The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.
The component must request the "areas" that are missing on screen.
An area is 1000x1000 px and is cached in flex.
To move in the map... | stackexchange/codereview |
Hey all, i'm having a little problem with ksoap2 and getting response i have the following code on Blackberry client side:
private boolean AddVoiceNote()
{
_webMethod = "AddVoiceNote";
_soapAction.concat(_webMethod);
Boolean response = null;
SoapObject methodCall = new SoapObject(_serviceNameSpace, _w... | stackexchange/codereview |
i have a page with update panel. if any error occurs then page does not display any information regarding error. How to display error page.
Thank you
Mohan Sharma
| stackexchange/codereview |
I need some guidance on best practice.
I have two SQL tables, one called Person which contains PersonId, PersonName and another called Category which contains CategoryId, CategoryName. The Categories can be quite numerous and added to occasionally.
I want a create view which shows a textbox for PersonName and then a si... | stackexchange/codereview |
If you extern a C++ method (not a variable) in an objective C file, what does this even do? What does it allow you to do? Especially in the context of an iPhone app.
| stackexchange/codereview |
I've got a problem i need to create 2 dimensional table which will be indexed by string for example:
table["London","Cambridge"] = 120;
or jagged:
table["London"]["Cambridge"] = 120;
How to declare Collection or array that can handle this?
I found solution but im not sure it is the best.
Dictionary<string, Dictionary... | stackexchange/codereview |
This one's really kicking my backside. I have a form, spawned and owned by the main form of the application, that is used for searching records. The form is laid out in a docked TableLayoutPanel, with a combination of Absolute and Percentage-sized rows/columns so that my labels stay the same size while the data entry a... | stackexchange/codereview |
I have read multiple question in the internet including this stackoverflow question but none of them working for me. Here is my code:
<?php
$conn1 = mysql_connect("localhost","root","passw0rd") or die(mysql_error());
$conn2 = mysql_connect("localhost","root","passw0rd") or die(mysql_error());
mysql_select_db("asteris... | stackexchange/codereview |
I got these four errors when I tried to create a button on the stage that would delete the text I inputted in the inputtext(ti). Based on the scripts I have and the errors, what should I write to create the delete button?
Attempt to delete the fixed property
text. Only dynamically defined
properties can be deleted... | stackexchange/codereview |
There are two attributes that I figured out. I guess some of the Jboss versions support MaxPermGen and some other versions support MaxPermSize.
Thats my guess only. What is the exact difference between those two attributes ?
I tried to replace MaxPermGen with MaxPermSize in my Jboss 5.1.0 to findout the difference. JBo... | stackexchange/codereview |
I want that when user click on image thumbnil then the image popup just like it does in this click here
plesase tell me the simplest way to do this as i am new to web development.
please help me out I am waiting for you kind response.
| stackexchange/codereview |
I have a set of complex types in my XML schema file. Basically I have a bunch of "response" objects. Each response object follows the same general format but in more specific ways. So, for example:
<xsd:simpleType name="Transition">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="Respons... | stackexchange/codereview |
ok sorry, wrote too little info here and i have done some research:
The question: What is the easiest way to write a model function that creates an unique code (5 characters) for each row in a cake model/table that doesnt already have a code?
//create a unique code
//set the random id length
function gen... | stackexchange/codereview |
I'm using the JSLint tool to ensure my JavaScript is "strict".
I'm receiving the following error but don't understand how to fix it:
The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype
For the following code:
for (var i in keypairs) {
...
}
Anyone have any id... | stackexchange/codereview |
All,
I have a job set up that runs nightly, and, every couple months it will fail when executing a stored procedure on the database. Then, the next night, it runs fine. It's always the same error message:
"Must declare the variable '@intAccountIdent'. [SQLSTATE 01000] (Message 18014)."
I can ensure you that this variab... | stackexchange/codereview |
Is there any way to get it work using Microsoft Extensibility Framework(MEF)
Lets say i have interface
public interface IApplicationSettings
{
string SettingOne { get; }
}
Class which implementing this interface
[Export(typeof(IApplicationSettings))]
public class ApplicationSettings : IApplicationSettings
{
p... | stackexchange/codereview |
Here is my thought:
First of all, I created a process by using subprocess.Popen
Second, after certain amount of time, I tried to kill it by Popen.kill()
import subprocess
import os, signal
import time
proc1 = subprocess.Popen("kvm -hda /path/xp.img", shell = True)
time.sleep(2.0)
print 'proc1 = ', proc1.pid
subprocess... | stackexchange/codereview |
I am setting up a simple URL rewrite rule to point to an application I have setup in IIS7.
I am using the IIS 7 URL Rewrite module inside IIS7.
I setup a simple rule that I point to my web application and all I recieve are 403 errors. I have tested a rewrite on a very simple hello world application that I created in ... | stackexchange/codereview |
Consider a uniprocessor system executing concurrently two processes P and Q. Each process executes the code listed below, process P – procedure P, and process Q – procedure Q. Both processes arrive within a very short time of each other, but no assumptions can be made about the time they start execution and their relat... | stackexchange/codereview |
I need to map my database IDs with NSDictionary or NSArray.
I have a table view. When I'm clicking by some field - must apear a details view in which will be detailed information about record.
All work ok, when:
DB TableRow
1 -> 1
2 -> 2
3 -> 3
But whem
DB TableRow
1 -> 1
30 -> 2
31 -> 3
don't work.
So I need to ... | stackexchange/codereview |
I have a problem with Alfresco. It genarates the log file every day. i want to delete the log file automatically based on date. My server is installed in windows.
can you provide any suggestions on this one.
| stackexchange/codereview |
I tried making the following program and it worked fine at first.
Label 1
Input "n=", Q
If Q≤0
...Then
Goto 1
Else
Label 2
((Q-2int(Q/2))(3Q+1)+(1-Q+2int(Q/2))(Q/2))->Q
Display Q
If Q≠1
Then
Goto 2
Else
Goto 1
What this is supposed to do is I put in a starting number, and if its an even number, it does Q/2. if its odd... | stackexchange/codereview |
perlcritic complaints that the following code, some boilerplate DBI stuff that works perfectly fine, should croak instead of die:
# Connect to database
my $db_handle = DBI->connect( $url, $user, $password ) or die $DBI::errstr;
All this, while die seems to work fine for me.
I would think for a samurai Perl warrior, c... | stackexchange/codereview |
I have a dictionary A, and a possible entry foo. I know that A[foo] should be equal to x, but I don't know if A[foo] has been already defined. In any case if A[foo] has been defined it means that it already has the correct value.
It is faster to execute:
if foo not in A.keys():
A[foo]=x
or simply update
A[foo]=x... | stackexchange/codereview |
I am to make a design decision of using either the Weblogic portlets or the Ajax div portlets for developing an application. Any pointers about the guiding principles? I am very new to portlet development.
| stackexchange/codereview |
Can an id attributes value start with a number?
| stackexchange/codereview |
I am using jquery and I am looping like:
$("span").each(function (index) {
var idname = $(this).attr('id');
$("#" + idname).click(function () {
window.location.href = "http://" + $(this).attr('id') + "lin.gw";
});
}); //end for click attachment to button
I would like to loop over the elements wher... | stackexchange/codereview |
I tried to open mutiple frames by mutiple threads.
Here is my code.
'''
This is the module for test and studying.
Author:Roger
Date: 2010/10/10
Python version: 2.6.5
'''
import threading, Tkinter
class Application(Tkinter.Frame):
def __init__(self, master=None):
Tkinter.Frame.__init__(self, master)
... | stackexchange/codereview |
How can I calculate the time elapsed in hours between two times (possibly occurring on different days) in iOS?
| stackexchange/codereview |
i need a tiny program like powerbasic for compiling basic applications that runs on the console of windows (tiny, so microsoft express edition is not an option). What do you recomend me?
| stackexchange/codereview |
I have a query:
DECLARE @MyTemp TABLE
(
MyField VARCHAR(20)
)
INSERT INTO @MyTemp VALUES ( 'BBA' )
INSERT INTO @MyTemp VALUES ( 'ABA' )
INSERT INTO @MyTemp VALUES ( 'AAA' )
INSERT INTO @MyTemp VALUES ( 'BAA' )
SELECT * FROM @MyTemp
ORDER BY MyField
What I want is to order alphabetically, EXCEPT for anything that ... | stackexchange/codereview |
I need to set same UI in both device and emulator (In my application the UI changing in emulator and device)for that i need to know the screen resolution and density of the device . I don't know how to find out that .Let me know how to find out that in device.
Thanks,
Lakshmanan
| stackexchange/codereview |
I am trying to sort a linked list. I am having problems with const. It wont let me assign to a variable that is const which is what it suppose to do. However, I dont' know how to work around this?
I would appreciate any help I could get.
This is all in one header file, the sort function is also, I will try to pull it o... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.