instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I need to launch my WP7 application from the phone's browser and pass some arguments. For example, the following url would be a link on an html page. Clicking the link would start my application. iPhone and Android both have these capabilites by the name of 'url schemes'.
appName://my.arguments.here
How can I accom... | stackexchange/codereview |
I want to plot several curves, each having a different length. So, I've placed each curve as an array in a cell index, Y (this allows me to index through arrays of different sizes inside a FOR loop). I use "hold all" below to enable each iteration of the FOR loop to plot each new array in the cell array Y inside the sa... | stackexchange/codereview |
I have an XCode project in SVN.
I would like to relocate some files from one physical directory to another but can't seem to find a way to do this in XCode.
If I do the move in XCode it simply moves the file references from one Group folder to the next, without changing their location on disk.
If I move the files in Or... | stackexchange/codereview |
I have a Windows app that contains a browser control that loads pages from my website. However, due to the Windows app, I cannot debug Javascript in the usual ways (Firebug, console, alerts, etc).
I was hoping to write a jQuery plug-in to log to an external browser window such that I can simply do something like:
$.lo... | stackexchange/codereview |
In an Eclipse RCP application I would like to create a View that contains multiple child views, allowing docking only within the enclosing view.
The behaviour I'm looking for is the same as the Java Editor allows in the Eclipse IDE. i.e. you can split the Java editor up and drag and drop Java files between the split s... | stackexchange/codereview |
Does anyone know of a set of power-saving guidelines for ALSA anywhere? For example...
What is the best state to put the PCM stream in when not sound is being played?
Is there anything that can be disabled in the lib that would save power?
What NOT to do?
| stackexchange/codereview |
for (var i=0;i<ToArray.length;i++) {
$.post('jquery/messages.php',{To:ToArray[i],subject:subject,msg:msg},function(data){jAlert(data);});
}
User can send short messages to another user(s). The names are commaseparetad and after i split the string i want to send the same message to the different users with a... | stackexchange/codereview |
I'm looking for a better way to do this:
id key, value;
NSMutableDictionary dict;
[dict setObject:value forKey:[NSNumber numberWithInt:(int)key]]
That is, use an NSDictionary to map from address to object.
| stackexchange/codereview |
Solution setup:
DAL (class library)
BLL (class library)
Common (class library (some common functionality - enums, logging, exceptions,...))
Application1 (Windows Application)
Application2 (Windows Application)
WebApp (Web application)
...
Let's say I have a Customer entity, which is:
a table in SQL server
a Customer... | stackexchange/codereview |
I'm developing a project for doing Content Based Image Retrieval where front end will be in java.
The main issue is about choosing tool for performing image processing. Since Matlab provides a lot of functionality for doing CBIR. But the main problem about using Matlab is that you need to have Matlab installed on every... | stackexchange/codereview |
I am a rewrite newbie, I am wondering why this rewrite rule is not working, it ceases Apache from starting
RewriteRule ^([-a-zA-Z0-9_]+)?/constant/([-a-zA-Z0-9_]+)/(.*)$ http://$2.domain.com/$1/$3 [R=301, NC]
What this rule should do is URL refactoring, examples:
http://www.domain.com/controller/constant/variable/acti... | stackexchange/codereview |
Possible Duplicate:
Getting Dates between a range of dates
Let's say I have 2 dates (date part only, no time) and I want to get all dates between these 2 dates inclusive and insert them in a table. Is there an easy way to do it with a SQL statement (i.e without looping)?
Ex:
Date1: 2010-12-01
Date2: 2010-12-04
Tabl... | stackexchange/codereview |
So how can I do this, using css3, mabe box-shadow? http://screencast.com/t/48LooBwz
Can someone help me?
I need to apply that styling to an element?
Best Regards,
| stackexchange/codereview |
Where has my pointer gone :'(
In the designer at the top of each category in the toolbox, I have "border" not "pointer" anymore. I don't know how I have managed this or how to set it back. I can obviously work around this by just finding the control I want to edit in the xaml but its frustrating to say the least. Do... | stackexchange/codereview |
I am quite new to WPF and I am confused about how Data Bindings should behave.
I have created a class that has 1 property ("status") and three methods that are responsible for changing the status. This class implements the INotifyPropertyChanged interface so that I am able to notify the calling code when the Status cha... | stackexchange/codereview |
What is the difference between
select * from A, B
and
select * from A cross join B
? They seem to return the same results.
Is the second version preferred over the first? Is the first version completely syntactically wrong?
| stackexchange/codereview |
It is said that with the use of org.apache.openjpa.jdbc.ant.MappingToolTask it is possible to synchronize domain models classes with db schema. So by having following script as an Ant task i was able to add new columns to the given databases on the persistance.xml.
<target>
<taskdef name="mappingtool" classpathref=... | stackexchange/codereview |
I have used a label box to render a "please wait" message when the user clicks "Save" button. Once the processing gets over, the output gets displayed. My goal is to hide the label once the output is displayed. How do i achieve this.
My code is as follows,
<label id="embedLabel" class="hide" runat="server" visible="fa... | stackexchange/codereview |
Ext.Ajax.request({url:'DeleteAction',success: doneFunction,failure: errorFunction,params:{name:rname}});
The above code is my Ajax request which goes to DeleteAction Servelet. Can anyone let me know what happens next in the below code.
When this file is called what is first thing getting called.
What does the doGet a... | stackexchange/codereview |
I've been asked to debug a view that's producing split rows where they should be grouping. In trying to debug, I'm trying testing all of the joined sub tables in isolation. The thing is, there's so many dependancies (11 joins in all), that once you get all of the dependencies required to run the query, you basically ha... | stackexchange/codereview |
I found this solution on here How to update strongly typed Html.DropDownList using Jquery and am trying to implement it, but something is bugged in it.
$(function() {
$('#cid').change(function() {
var selectedCompany = $(this).val();
var ddl = $("#foid");
$.post("/TimeTracking/FilterFieldOff... | stackexchange/codereview |
I'm using preprocessor macros to declare some repetitive variables, specifically:
QuitCallbackType quitCallback;
LossCallbackType lossCallback;
PauseCallbackType pauseCallback;
KeyCallbackType keyCallback;
MouseCallbackType mouseCallback;
I'd like to use a preprocessor macro to do it, a la
CREATE_CALLBACK_STORAGE(quit... | stackexchange/codereview |
When I use Java based on my C++ knowledge, I love to initialize variable using the following way.
public class ME {
private int i;
public ME() {
this.i = 100;
}
}
After some time, I change the habit to
public class ME {
private int i = 100;
public ME() {
}
}
I came across others sou... | stackexchange/codereview |
I have the following code:
$config = array(
'auth' => 'login',
'username' => 'domain\user',
'password' => 'password',
'ssl' => 'tls',
'port' => 25,
);
$tr = new Zend_Mail_Transport_Smtp('192.168.101.11',$config);
Zend_Mail::setDefaultTransport($tr);
$mail = new Zend_Mail();
$mail->setBodyText($text);
$... | stackexchange/codereview |
i am a new android and not much familiar with all the libraries. i am trying to acces a simple web page(google.com) through my android app. i have made the http requst but i am not able to see anything after i click the button
public void onClick (View viewParam)
{
EditText usernameEditText = (EditText) fi... | stackexchange/codereview |
Possible Duplicate:
How to join two tables
table 1
Date StartingAum
07/01/2010 120
08/01/2010 220
09/01/2010 320
table 2
Date DepContr withdra
01/01/2010 60 15
02/01/2010 70 25
03/01/2010 80 15
04/01/2010 30 89
05/01/2010... | stackexchange/codereview |
Is there a tool that can reflect a .Net Assembly and gets its metadata, viz, Types, Type Members, Access Modifiers details, (Comments?) into an Excel Sheet(s)?
| stackexchange/codereview |
I'm trying to insert some data from a XML document into a variable table. What blows my mind is that the same select-into (bulk) runs in no time while insert-select takes ages and holds SQL server process accountable for 100% CPU usage while the query executes.
I took a look at the execution plan and INDEED there's a d... | stackexchange/codereview |
I am using a regex within Visual Studio 2005 to turn my SQL statement into a readable string.
I am using the find expression {.*} and the replace expression & "\1 " _.
This should produce results something like:
input:
select *
from x
expected
& "select * " _
& "from x " _
The reality is I am getting:
& "select * " _... | stackexchange/codereview |
I have an application that needs to query a table with latitude and longitude coordinates, which are stored using MYSQL's POINT datatype.
I have a stored function that finds nearby lats and longs within a given radius of a given GPS location. However, my table will contain hundreds of thousands of entries, so performan... | stackexchange/codereview |
I'm trying to create a basic macro recording/playback system. If I wanted to select an open application (like notepad) to bring it to the front for input, how would I go about calling it by name or some other referanceable attribute?
| stackexchange/codereview |
I have a stored procedure that updates data in a table for a specific record. I have several users who will be making use of this stored procedure however I only want to them to be able to update records that are assigned to them.
Each record that is to be updated by the stored procedure has a field named "UserID" whic... | stackexchange/codereview |
In IB, I can rotate a window by pressing the "arrow button" at the top right of a window to see a view in landscape/portrait modes. What's the keyboard shortcut to toggle this action?
| stackexchange/codereview |
I am using CKEditor with Drupal 6.19. I have tried my installation with both CKFinder and IMCE. When an image is inserted from the image browser into the Image Properties window, CKEditor gets a url similar to:
/sites/example.com/files/images/my_image.jpg
I want CKEditor to simply have:
/files/images/my_image.jpg
file ... | stackexchange/codereview |
I'm working with ASP.Net web services and am having a problem with a long-running process that takes about 5 minutes to complete, and it's timing out. To fix this, I was able to set the executionTimeout on the server's web.config to 10 minutes, and then set the .Timeout property on the Web Service object to approximat... | stackexchange/codereview |
I have vertical submenu as under:
<div id="dropdown_menu" class="menu">
<ul>
<li> <a>First Link</a></li>
<li> <a>Second Link</a></li>
</ul>
</div>
I am putting bottom piece of background in css class 'menu'., top slice of background in .menu ul. Now, I have one vertical gradient that changes color from top to down (in... | stackexchange/codereview |
Is it possible to introduce osgi-equinox into existing java Apache Tomcat project?
From my understanding OSGI must run inside some kind of "container". How would I integrate it?
I am also using Jersey for RESTful resources.
| stackexchange/codereview |
Say I have a class Box with two attributes, self.contents and self.number. I have instances of box in a list called Boxes. Is there anyway to access/modify a specific instance by its attribute rather than iterating through Boxes? For example, if I want a box with box.number = 40 (and the list is not sorted) what would ... | stackexchange/codereview |
I know this question may be repeat , but i didn't get any of previous ones.
which is the best and safe gateway to implement a shopping cart application in asp.net ? how we can integrate it with application ? which is best way to implement this. I want to develop this application in asp.net and c# . please guide me. th... | stackexchange/codereview |
I have an Activity that contains a FrameLayout and two views. The first is a ViewFlipper and the second is an ImageView. If I comment out the ViewFlipper, the activity renders the ImageView and its background correctly, but when the ViewFlipper is visible, the ImageView's background is completely ignored.
Is this a "fe... | stackexchange/codereview |
I have the following scenario:
Modify function takes an input object, and calls the stored procedure to update the database. The stored procedure changes some columns, namely updated date, and updated by, among others and returns them back in a form of the dataset.
Now, I need to change these properties on the object. ... | stackexchange/codereview |
I have a rewrite rule that looks like this:
RewriteEngine On
RewriteRule ^$ store [L]
That's the only thing in the .htaccess file.
It's supposed to allow someone to go to http://www.site.com/ and according to the server, they're accessing http://www.site.com/store .
But it's redirecting the user. In other words, you ... | stackexchange/codereview |
I'm reading theory about dependency inversion and decoupling and I can't see the difference between the two.
Dependency inversion talks about decoupling functional components so that higher level components don't depend on lower level components.
Decoupling talks about the same thing and how to achieve it. But then we ... | stackexchange/codereview |
I have seen many, many versions of this on SO, but none of them seem to quite work for my needs.
My data comes from a vendor database that allows null for DateTime fields. First I pull my data into a DataTable.
using (SqlCommand cmd = new SqlCommand(sb.ToString(), conn))
using (SqlDataAdapter da = new SqlDataAdapter(c... | stackexchange/codereview |
I've tried the following with no success:
function a(args){
b(arguments);
}
function b(args){
// arguments are lost?
}
a(1,2,3);
In function a, I can use the arguments keyword to access an array of arguments, in function b these are lost. Is there a way of passing arguments to another javascript function lik... | stackexchange/codereview |
I'm in GLSL texture hell: I load 4 different textures of the same size in uniform sampler2D variables in my fragment shader and try to access them with different texture coordinates:
uniform sampler2D image0, image1, image2, image3;
varying highp vec2 texCoord;
void main()
{
highp vec2 tc = vec2(texCoord.x, mod(1.0... | stackexchange/codereview |
while I am adding details in database through CSV file I am getting error-
Access denied for user 'user'@'%' (using password: YES) . I have checked database username and password. even if I add product one by one(without csv) it is workin fine. It means my database connectivity is correct. Do I need to make some change... | stackexchange/codereview |
hi i am new to Java i developed many forms but i am unable to connect those forms please any one tell me how can connect one form to another form for example after login screen my application form should be open
| stackexchange/codereview |
I'm currently working on a Safari Extension to create a printable form based upon information provided within a website. A custom CSS stylesheet wouldn't be ideal, instead I was hoping that it would be possible to do the following...
If I were to have the following DIV on page called name.html
<div id="name">John</div>... | stackexchange/codereview |
I tried profiling my web application and one of the bottlenecks reported was the lack of gzip compression. I proceeded to install the gzip middleware in Django and got a bit of a boost but a new report shows that it is only gzipping the HTML files i.e. any content processed by Django. Is there a way I could kludge/hack... | stackexchange/codereview |
I have just recently started using NetBeans IDE (6.9.1) and have used it to add a stylesheet to my site-in-progress.
To my surprise, one element was automatically added:
root {
display: block;
}
Looking around, I could find some information about the :root pseudo-class but nothing about the root element itself.
W... | stackexchange/codereview |
In some instances, we may have PK/FK references duplicated, so entity A and entity B are in a PK/FK relationship, but 3 times. So entity A would have 3 FK collections and entity B would have 3 entity references. How does that work with the code-first template? Do you follow the naming convention of Entity Framework ... | stackexchange/codereview |
I'm using the below code in order to increase the number of results that my php/mysql pulls-in through a 'more' button.
My question is: Can I add a jquery cookie so that when the 'more' button is pressed, and more results are loaded, the current state is saved?
The results in question are listed elements which contai... | stackexchange/codereview |
I've used jasper without using xml (I must change this still) but I have an implementation of a JasperDesign that i make use of ... I create a JRDesignTextField with a JRDesignExpression,
I would like to setup the expression so that I can get jasper to call a method on each element within a JRBeanCollectionDataSource ... | stackexchange/codereview |
When using Python with SQLite DB, how to escape the data going in and pulling the data coming out?
Using pysqlite2
| stackexchange/codereview |
I have an application with a SurfaceView and a MapView. They are displayed in a single view, like so:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainlayout"
android:layout_width="fill_parent"
android:layout_height="fill_... | stackexchange/codereview |
i am trying to connect hotmail through IMAP
I need the host name and port used for it
eg :
as used for gmail
Hostname : imap.gmail.com
Port : 993
please reply to my question
| stackexchange/codereview |
hi i have to add a gesture to my listview,i want to implement the same functionality of contact application.
when i left swipe it should send a message,right swipe it should call. can anyone help me how to do those gesture detection... i have implemented it in various other views... but i couldn't do for listView... i ... | stackexchange/codereview |
I have a problem in JS encoding and then decoding in the C# server.
I use javascript encode() function - but when i have special chars like +, the C# has httputility.urldecode() -> and it converts it as if it was SPACE char.
What is the best way to communicate JS encoding and C# decoding?
I have <a href='javascript:foo... | stackexchange/codereview |
How do I auto resize the font-size of a <td> if the content goes into second line? I know how to increase/decrease font size using CSS and jquery but how to automatically make the font-size smaller if a particular or all the td's with a specific class name text gets longer then one line.
<div style="overflow: hidden;" ... | stackexchange/codereview |
I want to update my Python framework on Mac and delete the old versions
but I am not sure if is safe to
rm -fr /Library/Frameworks/Python.framework/Versions/2.4 - 2.5 - 2.6 -3.0 etc.
Any suggestion?
| stackexchange/codereview |
How can I show a set of images as a slide show in android?
| stackexchange/codereview |
Situation:
I have 3 tables: Student, Address, StudentAddressLink As follows Note* not EXACT yaml file but you get the idea
Student:
column:
id: blah blah
name: blah blah
Address:
column:
id: ~
street: ~
StudentAddressLink:
column:
id:~
student_id: ~
address_id: ~
relations: ... | stackexchange/codereview |
I have two web methods which I wish to overload:
<WebMethod()> _
Public Function GetProject(ByVal id As Int32) As Project
<WebMethod(MessageName:="GetProjects")> _
Public Function GetProject(ByVal filter As String) As Projects
I read about overloading using MessageName, however I cannot get this to work. Is this poss... | stackexchange/codereview |
I want to overlap pictures, but it is not working and I need some help.
Here's the link to the page I'd like to convert:
http://9m9.com/innovative/sample/two.html
I want to convert this page to a PDF. You can see the small image overlapping the bigger one.
This is the page where you can click on a link that will conver... | stackexchange/codereview |
Okay, I tried looking up what >>, or shift means, but it's way over my head as this site explains it: http://www.janeg.ca/scjp/oper/shift.html
What would the explanation be, if talking to a kid?
| stackexchange/codereview |
Possible Duplicates:
When to use wrapper class and primitive type
What is boxing and unboxing and what are the trade offs?
Boxing basically converts primitive type to its corresponding reference type. But when do we need Boxing? Whether Wrapper class and Boxing do the same job?
| stackexchange/codereview |
I got this Doctrine query:
select upper(substring(e.name, 1, 1)) first_letter
from Application\Models\Exercise e
group by first_letter
order by first_letter asc
But it throws an exception with the message:
Error: 'first_letter' does not point to a Class.
If I leave out the group by an... | stackexchange/codereview |
I've an input text field.
On press enter, i'm performing the following action
function doWork(){
httpObject = getHTTPObject();
if (httpObject != null) {
link = "message.php?nick="+nickName+"&msg="+document.getElementById('msg').value;
httpObject.open("GET", link , true);
... | stackexchange/codereview |
I'm working on an iphone project where I need both a horizontal and a vertical layout. I've got it working in 2D perfectly well, using the following setup to my projection matrix:
if(isHoriz()){
glRotatef(90.0f,0.0f,0.0f,1.0f);
SOrtho(0, 480, 0, 320, -1, 1);
}
else
SOrtho(0, 320, 0, 480, -1, 1);
The p... | stackexchange/codereview |
I'm creating an application that'll display a random picture based upon a defined letter in a word.
Images are attached to a Pictures model (containing another "letter" field) using Paperclip, and will be iterated through in an each block.
How would I go about passing the letter back from the each block to the model fo... | stackexchange/codereview |
I'm having a problem with IE (who isn't) executing my javascript. Are there any known issues with attaching mouseovers to image maps in IE8? I'm not seeing any similar posts.
For instance, here is the HTML in one of my pages:
<map name="Map" id="Map">
<area shape="poly" coords="2,575,389,637,388,19,1,74" alt="Main Pa... | stackexchange/codereview |
We have restful api over HTTP. Amongst other clients we have also mobile-device clients (e.g. iphone). The issue is that there are several iphone apps in different versions out there (1.0, 2.0). Because they are distributed we don't have control which app-version is calling us.
To identify the app-version on server-si... | stackexchange/codereview |
I wonder how to compiler compile my code if I using #if directive inside my code.
I would like to create special version of my application (commercial demo version) and I want to limit the functionality of my application. I would rather avoid the obfuscation and just don't want to add all my compiled code to executable... | stackexchange/codereview |
We are trying to implement levensteing distance algorithm in assembly and calling the assembly function from C code. But we have some char comparison problem and could not solve the problem.
Function takes two char* parameters. In the first two lines i mov the these addressess to ecx and edx. iminusOne and jminusOne a... | stackexchange/codereview |
I would like to know which element was under the finger, when the touch event was called.
Got this event-method:
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {}
I know how to get the object with custom events:
for example:
-(void)onThumbnailClicked:(NSNotification *)notification
{
//Image-Cl... | stackexchange/codereview |
I'm starting a new rails 3.0 application that uses geometry data types in the database to store polygons. I have installed the spatial adapter gem but it requires the mysql gem and is incompatible with the mysql2 gem.
Is it ok to use the mysql gem instead of the mysql2 gem? Am I going to have problems down the road?
T... | stackexchange/codereview |
I am playing around with the WP7 SDK and the Prism for WP7 beta and have come across a problem I can't figure out (or even a workaround for).
First of all, I'm new into WPF/Silverlight/WP7 and Prism, so I could be overlooking something very obvious.
So I have a Shell page that has my region that is used to hold my ... | stackexchange/codereview |
I have a package containing annotated entity classes that I import into my web project.
When tomcat deploys the project the entity class that are in the jar are not scanned for annotations. is there a way to tell spring to search for annotated classes inside a jar file? i.e. :
<context:component-scan base-package="{p... | stackexchange/codereview |
I followed this thread to connect to gmail to send email without user intervention:
Sending Email in Android using JavaMail API without using the default/built-in app
I got my jars from: http://code.google.com/p/javamail-android/downloads/list
I have checked my code over many times to insure compliance. I have checked... | stackexchange/codereview |
Is there any way to insert part of the code between { } dynamically?
LINQ QUERY:
var csvdata = from csvline in csvlines
let column = csvline.Split(';')
select new {
produkt = column[0],
cislo = column[1],
part = column[2],
... | stackexchange/codereview |
There is a State Machine with two Transitions in the same function.
static readonly object _object = new object();
lock (_object)
{
// I want Host received the event of SMTrans01 first .
Obj.StateMachine.Send((int)MyStateMachine.EventType.SMTrans01, new object[2] { Obj, MyStateMachine.EventType.SMTrans01 });
}... | stackexchange/codereview |
How would you change the colour of the current selection in cxGrid?
Thank you.
| stackexchange/codereview |
Is it possible select an area of text in a word 2003/2007 document and then copy the WordML of the selected area to the clipboard? I want to copy the XML format of the text.
| stackexchange/codereview |
Recently my ISP added imap functionality to my webserver. After the installation they recompiled PHP. But the hostingclients on my server are including from a specific hostingaccount on the server. By adding an extra include_path to the CMS folder the websites are able to communicate with the CMS and database. The stra... | stackexchange/codereview |
The last couple of days I've been working on a strange segmentation fault. The following code works just fine on my PC running Linux. But using the ARM crosscompiler suppplied by the manufactor of our embedded device, it gives a segmentation fault in routine s(). The SIGSEGV occurs at the destruction of a std::string. ... | stackexchange/codereview |
Here is the draw function which draws the parts of the car, in this function car rims is checked and flag is checked, and i need to rotate the tire rim as i move the car. Something is not working since the rims are rotated but taken out from the car model, when i press up arrow key, but the car does move.
I also initia... | stackexchange/codereview |
I am looking for a possibility to check the user connection speed. It is supposed to be saved as a cookie and javascript files as well as css files will be adapted if the speed is slow.
The possibility for testing speed i have at the moment ist the following
$kb = 512;
flush();
//
echo "<!-";
$time... | stackexchange/codereview |
I'm implementing an
int IComparer.Compare(object x, object y);
from the IComparer interface. I know the objects are of type Class1, and I know one of its members is class1Instance.myDate, of type DateTime.
What I want to do is something along the lines of:
DateTime.Compare( (Class1)x.myDate, (Class1)y.myDate);
But ... | stackexchange/codereview |
@ home i built a java applet in eclipse now i want to port it on my working computer...
eclipse version is the same as @ home and jdk also.
i get following error:
Description Resource Path Location Type
The project was not built due to "Could not delete '/ProgramApplet/bin/de'.". Fix the problem, then try refr... | stackexchange/codereview |
I have a Windows Mobile application that I send to my client as a CAB file and then he installs it to 20 mobile devices. This application communicates with web service and has config.ini file in the Program Files/app_name/ folder to store the web service url. The drawback of the current approach is that client can chan... | stackexchange/codereview |
I have got duplicate rows in a dataset. how can i select distinct rows from that.
From comments: My query is something like this:
select name, age
from student
When I receive its output in a dataset the output consists of rows having duplicate names. Using dataset itself I have to select distinct name from this beca... | stackexchange/codereview |
I have a webpage I'd like to use locally, without a web server, by simply opening the local HTML file in my browser. This webpage in question loads data via jQuery's getJson() method, as in:
$.getJSON("mydata.json", function(j) {
...
The JSON files are also local, and are stored in the same directory as the webpage. ... | stackexchange/codereview |
I have created a JDialog with three JList lists. The selection of a row in the first list (named FirstList) updates the content of the second list (SecondList) and the selection of a row in the second list updates the content of the third list (ThirdList). In the ThirdList class I have included the following method:
pu... | stackexchange/codereview |
I'm currently working on Drupal site, building a custom JSON module for a project at work.
I'm trying to join data of events from the drupal node table to a date field associated with it, stored in another table. This cannot be altered.
What i want to do, is run a query to fetch the list of events from the node table, ... | stackexchange/codereview |
when I untar doctrine
-rw-r--r-- 1 root root 660252 2010-10-16 23:06 Doctrine-1.2.0.tgz
I always get this error messages
root@X100e:/usr/local/lib/Doctrine/stable# tar -xvzf Doctrine-1.2.0.tgz
.
.
.
Doctrine-1.2.0/tests/ViewTestCase.php
Doctrine-1.2.0/CHANGELOG
gzip: stdin: decompression OK, trailing garbage ignore... | stackexchange/codereview |
I have a std::set<std::string> and I want to know the exact position of the element in the set after the insertion.
I tried with std::distance but without any luck:
#include <iostream>
#include <string>
#include <set>
#include <iterator>
using namespace std;
int main (int argc, char const *argv[])
{
string array... | stackexchange/codereview |
Hi
i am new to iphone.. I have stored the images in array .I want to know how to display those images in UIImageView ,where the UIImageView should be created dynamically according to filelist count increases, in for loop. this is the code
NSArray *filelist;
NSFileManager *filemgr;
int count;
int i=0;
int t=0;
filemgr... | stackexchange/codereview |
I'm trying to use EF to model an existing SQL database. The DB is multi-tenant by having a clientID column in every single table (I cannot change this). I have table structure like the following.
Table 'ItemID' columns:
ClientID (pk)
ItemID (pk)
ItemName
Table 'Items' columns:
ClientID (PK)
ItemID (PK) [FK to ItemI... | stackexchange/codereview |
I'm moving my script references from < head> in the master to bottom right before < /body>.
This has caused some problems with my load order.
In my master I have a ContentPlaceHolder, and I can use this fine from my Views to add additional javascripts.
But how can I add javascripts to this section from a PartialControl... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.