instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Trying to follow this example:
http://weblogs.asp.net/dwahlin/archive/2008/11/25/getting-started-with-the-asp-net-3-5-chart-control.aspx
I have a database with 4 columns, 3 of the columns are int (1-10) and the other is a "DateTime". I am trying to graph the 3 columns vs the DateTime(X-axis) on one line chart.
To add m... | stackexchange/codereview |
I'm trying to find the equilibrium distribution of a markov chain, which means finding the eigenvalues of the transition matrix representing it, however, the eig function automatically normalises the eigenvectors it returns, in MatLab there is a flag you can pass to the function to stop this behaviour
eig(X, 'nobalanc... | stackexchange/codereview |
I recently downloaded a jQuery Gallery for use on a website. Everything works fine, but I want the images shown in the gallery to be links to other (higher quality) images. Here is the code for the gallery featured on my website, www.mindsparkdesigns.com
(function($){
var settings = {
width: 940,
height: 252,
... | stackexchange/codereview |
I'm trying to add '1' to an N-Length STD_LOGIC_VECTOR in VHDL
This is the very first time I'm using VHDL so I'm not at all sure how to add this 1 without bulding a Full-Adder which seems kinda of redundent
We are not allowed to use any more liberaries then then one in the code.
LIBRARY IEEE ;
USE IEEE.STD_LOGIC_11... | stackexchange/codereview |
I currently have a "library-like" .c file (that'll be shown below). I have 2 questions about it:
If I want to see if it compiles well for itself, how can I do it? If I try to gcc it, it will always give a "no main" error, which makes sense, but raises the problem of knowing if a given .c file will compile well or not ... | stackexchange/codereview |
I am trying to create a list of list of strings,
List<List<String>> string= new ArrayList<ArrayList<String>>();
and getting Type Mismatch error:cannot convert from ArrayList<ArrayList<String>> to List<List<String>>.
I know I can change
List<List<String>> to ArrayList<ArrayList<String>>
and it will work fine.
But I w... | stackexchange/codereview |
I have 10,001 rows in my table, and all of the rows except one start with a number. I need to find this one row that doesn't start with a number, or even that doesn't contain a number.
So this is what I have:
Select col1 from table1 where col1 not like '?%'
Is this even close? I need to find the row that doesn't have ... | stackexchange/codereview |
I'm a student & i looked up this function in a book. It works as it should but i don't quite understand the inner workings of the sortFunction() which is passed to the qsort() function. If some one could explain it in detail, please do. Thanks in advance.
#include<iostream>
#include<stdlib.h>
using namespace std;
//f... | stackexchange/codereview |
How exactly does PHP code in HTML document help navigate to a different web page by clicking on a link? Please help. I'd like to have a simple example of PHP code. I am using CMS as back end
(PHP/MySQL). Please help me in creating front end in PHP for a website.
| stackexchange/codereview |
I am using kelvin lucks jquery date picker.
I have a start and end date picker set up so that when the start date is selected it assigns that same date to the end date and the end date insures that its calendar does not allow selecting of any dates before the start date.
Works great except if you select the end date w... | stackexchange/codereview |
I've created a standalone java app using netbeans 6.9. In my app if a user selects some options(values for some specific fields) then my app automatically generates its corresponding code.That code is displayed in the text area in my app itself.
For example: In my app I've a button for a new variable. If the user click... | stackexchange/codereview |
our engineer test video and audio player using streaming aac mono contents and 128x98 video content.
aac and mp4 decoder can't decoding content. and return error.
android not support low level contents?
| stackexchange/codereview |
I'd like to merge two records using a condition for each column in the row. I'd give you a code sample but I don't know where to start.
class Foo
{
public int i {get;set;}
public int b{get;set;}
public string first{get;set;}
public string last{get;set;}
}
//...
var list = new List<Foo>() {
... | stackexchange/codereview |
In my app, I've got a mainViewController that I'm trying to use for holding and controlling a couple of main view for my app. I first loaded up a splash screen, but then am wanting to have it so that when a user taps on the splash screen, they are taken to the main menu.
I've got the splash screen part working fine, bu... | stackexchange/codereview |
Here's a tip that makes some confusions for me:"to have the best passing method pass built-in types by value and other types by reference to constant" now I have some questions below:
1-first of all I think the reason behind suggesting passing by reference to constant is that if the referenced object is not volatile th... | stackexchange/codereview |
Basically I have a working application that sends an SMS after receiving an SMS.
Everything works fine, except when the SMS text to send has "special chars", ie "é,à,í,ç", etc.
I've tried many things including charset conversion but I simply can't make it work... the msgText always comes back with charset encoding prob... | stackexchange/codereview |
So far I managed to make it so it moves down on a click in increments of 120, but I want it to go up and down, not down and down... I hope I've explained this so "someone" will understand.
<script>
$(document).ready(function() {
$('#footertab').click(function() {
$('#footer').animate({
bottom: '-=... | stackexchange/codereview |
I'm using a web application which uses a many dlls. The debugging happens by attaching the aspnet_ws process to Visual Studio. I want to explore the intellitrace feature of VS 2010 and capture the event log. But when i try to attach the process to VS 2010 i'm getting a message in the intellitrace window that this featu... | stackexchange/codereview |
Seeing some strange behavior in my IDE and thought I'd run it by ya. I'm running Visual Studio 2010. When an exception occurs in a function that is unhandled, the program simply exits the function and keeps running. I'm used to the debugger breaking, popping up the Exception Assistant, and identifying me of the prob... | stackexchange/codereview |
Our application has to download 800 images within 30 secs, but even if we increase time for 1 min, our application is still not able to download all the images.
How can we increase the download speed? so that we can download 800 images within 30 secs?
Is it possible?
Could someone please suggest.
| stackexchange/codereview |
I am using Windows Forms Application in C#
I have a label having Date as Text 16-12-2010
Now I want to display different Tooltip when mouse is over Date/Month/Year
e.g. When Cursor on Date : Then Today's Date
as Tooltip
UPDATED:
One Source of Example is When we vote
to Close any Question in
StackOverflow.com
| stackexchange/codereview |
As it gives only Upper case letters, any idea how to get lower case??
If the user simultaneously pessed SHIFT+K or CAPSLOCK is on,etc, I want to get lower cases..
is it possible in this way or another??
Thanks,
| stackexchange/codereview |
I'm new to Java and RMI, but I'm trying to write my app in such a way that there are many clients connecting to a single server. So far, so good....
But when I close the server (simulating a crash or communication issue) my clients remain unaware until I make my next call to the server. It is a requirement that my cl... | stackexchange/codereview |
is rgb numeric values equals to cmyk percentage?
for detail :
i have some rgb values for example r-212 g-231 b-211 and in Photoshop its showing cmyk as 40% 34% 80% 0%.i want to know can we get the same rgb values by giving cmyk percentage? because i have to use rgb in percentage in some particular application but i am ... | stackexchange/codereview |
This has been a long-standing curiosity of mine, and I haven't gotten around to profiling to find out, and haven't seen it asked yet (for AS3):
Let's say that I have a class:
class MyClass {
public function myMethod():String {
return "some return value";
}
}
which will be instantiated a lot of times:
for ... | stackexchange/codereview |
I'm trying to write my own jQuery plugin. My goal is to attach it to a form to override submission. I have the basics down, but my problem lies in "exposing" events.
Here is what I want to do:
$('#myobject').myplugin({
setting1: 'somevalue',
beforesubmit: function(){ ... }
});
Here's what I have so far
$.f... | stackexchange/codereview |
I am implementing the next function:
private bool CheckRelativeIncrease(T pVal1, T pVal2, out T pFluctuation, int x)
where I compare if pVal2 has increased more than a "x%" over pVal1. I am using Generics to make the function work with int, short... I am using MiscUtils.Operator but the problem is that I can't mix kno... | stackexchange/codereview |
I am working on a large website. I used GET method a lot even when passing lots of variables.
So the url is very lengthy.
The thing is that everything worked fine for a long time. Now suddenly the server is throwing an error
The connection to the server was reset while the page was loading.
I am trying to figure why ... | stackexchange/codereview |
I'm trying to find a way to get if the browser is currently busy from JavaScript. I'm looking at making a Firefox extension to inject a Boolean value or something if the current page is loading something (either through ajax or just normal page loads), or the same with a Greasemonkey script, or through some JavaScript ... | stackexchange/codereview |
How can I make it so that when a user clicks a button (in VB.NET or C#, preferably VB) it runs the Intel AppUp Center if the user has it on his/her machine? would I use a proccess for this?
Would this work?
Find if PC is 32 or 64 bit
if 32, go to default "C:\Program Files\Intel\IntelAppStore\bin\appup_intel.exe", if 6... | stackexchange/codereview |
What I am trying to do is figure out a vote result with linq. Every user has a beerID that is the beer they voted for or null if they didn't vote. I feel like this should be simple but for the life of me I can;t figure it out right now. Is there a quick way using linq that I can get the count of each unique beerID a... | stackexchange/codereview |
I want a user to be able to customize their personal url page on my site, where the value of a text box will be "example.com/username" but I want the "example.com/" to be in the text box but not editable
Tumblr does this but I can't figure out how: http://www.tumblr.com/register
| stackexchange/codereview |
I'm using Solr with Sunspot (ruby) and due to other constraints i have to use the Lucene parser instead of the DisMax parser. I need to be able to search using username as well as first_name fields at the same time.
If i were using DisMax i can specify qf="username+first_name" but using only the lucene parser I am onl... | stackexchange/codereview |
i want my c# program to be able to display the online duration of the network device. i have tried NetworkInterface class but it does not have that info.
| stackexchange/codereview |
I have XAMPP 1.7.3a running on an "Amazon Linux" (Centos-derived) 32-bit instance in the Amazon EC2 cloud. I downloaded/built/installed XDEBUG 2.1.0. The relevant items in phpinfo() output look like this:
Directive Local Value Master Value
xdebug.idekey ECLIPSE_DBGP ECLIPS... | stackexchange/codereview |
In PHPUnit, there are times when an assertion fails, and when reporting the assertion, PHPUnit automatically calls var_export() on the variable. Let's say you called this chunk of code:
$foo = new StdClass();
$foo->bar = 123;
$foo->baz = "Hi there";
$this->assertTrue($foo);
The output of that is:
Failed asserting tha... | stackexchange/codereview |
Does anybody here have any experience developing hardware under the "Made for iPhone" program? I have a device that broadcasts information via bluetooth, and so far the only way to make an iPhone app that displays that info is if I go through the MFi program and add an Apple provided chip to my hardware.
Is that right?... | stackexchange/codereview |
Is there a way to dynamically resize the image on the page background? I have a background that repeats on Y axes but if I make the height size bigger and if the page contains less content then the backgroun does not fit properly.. can anyone please help? thanks
| stackexchange/codereview |
I have a problem with retrieving the null value.
I have a option in my MVC application. If I select Taxable field as Yes then entered value is stored in the table. If I select Taxable as No then Null value is stored in the table.
Now I want to retrieve that null value from the table to use it for calcution purposes.... | stackexchange/codereview |
How can I redirect a user to home page?
Example: mywebsite.example/ddfdf/fdfdsf and I want to redirect to mywebsite.example
However I want to do it without typing the static name. How can I do this?
| stackexchange/codereview |
I'd like to be able to create a datetime object with datetime.datetime.now() PyYAML. It's easy to call some functions:
>>> y = """#YAML
... description: Something
... ts: !!python/object/apply:time.time []"""
>>> yaml.load(y)
{'description': 'Something', 'ts': 1289955567.940973}
>>>
However, I can't seem to figure o... | stackexchange/codereview |
The CreateProcess documentation states (my bold emphasis):
lpEnvironment [in, optional]
[...] If the environment block pointed to by lpEnvironment contains Unicode characters, be sure that dwCreationFlags includes CREATE_UNICODE_ENVIRONMENT. If this parameter is NULL and the environment block of the parent process con... | stackexchange/codereview |
I'm using the ItemCheckEventArgs and from which I can get an index value, but from this value I'm not sure how to look up what the text is of whatever was checked.
| stackexchange/codereview |
How do I verify a method was called exactly once with Moq? The Verify() vs. Verifable() thing is really confusing.
| stackexchange/codereview |
I had make one code in jquery for dynamically add component in Page
var counter = 1;
var delCnt = 0;
$(function() {
$('#linkAddLot').click(function() {
counter = eval(document.getElementById("hdnTotLot").value);
delCnt = eval(document.getElementById("hdnDelLot").value);
if((eval(counter-delC... | stackexchange/codereview |
I developed an benchmark-style console application (C# 4.0). Worked fine with 50,000 or 1,000,000 iterations. Then I increased a iteration count to 50,000,000. But it took too much time, and I forced it to quit. The application quitted normally, but in my main drive (C:) remained only 3.8 GB available. Before the testi... | stackexchange/codereview |
I have an application with allows for a certain entity to be searched upon based on several different criteria (somewhere in the order of 20 different methods in total). I want to be able to combine the results of several searches in order to produce a single result set.
For example:
results = (entities from search 1 A... | stackexchange/codereview |
BigDecimal numerator = new BigDecimal(numerator);
BigDecimal denominator = new BigDecimal(denominator);
double result = numerator.divide(denominator).doubleValue();
Division on certain conditions results in a zero at the end (e.g. 0.0060).
Dividing equal numbers results in a zero at the end (e.g 1.0).
I would prefer ... | stackexchange/codereview |
How to install air 2.5 sdk for flash builder4?
| stackexchange/codereview |
<table>
<tr>
<td></td>
<td></td>
</tr>
</table>
How do i replicate this kind of a structure using <div> or <span>'ed CSS
| stackexchange/codereview |
In our project we use JAI for showing parts of an image, rotating an image and basic zooming in an applet. We now observe that the applet takes a lot of time to load - around 20 seconds for the first time. But subsequently, it takes only 3 seconds (which is also quite high).
JAI development seems to have frozen since ... | stackexchange/codereview |
I've a window that can be resized in width but has a fixed height, it sounds an easy task but I've an hardcoded value that I really hate.
My code is
NSWindow* win = ...;
NSSize maxSize = [win maxSize];
maxSize.width = 30000;
[win setMaxSize: maxSize];
How can I write this code to work with a system default?
If my appr... | stackexchange/codereview |
I want to produce a list of numbers from 1 to 5 incrementing by 0.25 at each step, like this:
1.0, 1.25, 1.5, ..., 4.5, 4.75, 5.0
Is this possible to do in csh? If so, how do I do it?
Thanks for the help.
| stackexchange/codereview |
What I would like to do is a flex app, that uses fonts that are available in external swf.
What I have succeded so far is:
to create a AS class hat holds the embedded font:
package
{
import flash.display.Sprite;
public class _Arial extends Sprite
{
[Embed(source='C:/WINDOWS/Fonts/ARIAL.TTF', fontName='_Ari... | stackexchange/codereview |
function lookupRemote(searchTerm)
{
var defaultReturnValue = 1010;
var returnValue = defaultReturnValue;
$.getJSON(remote, function(data)
{
if (data != null)
{
$.each(data.items, function(i, item)
{
returnValue = item.libraryOfCongressNumber;
});
... | stackexchange/codereview |
Like the subject says: Does the latest stable pygame release work with python2.7?
I've got both versions installed on my OSX Snow Leopard, but import pygame only works on python2.6 - That's the official distro which is 2.6.6, not the pre-installed one which is 2.6.1).
And if it does work, how can I make it work on my m... | stackexchange/codereview |
<head runat="server">
<script type ="text/javascript">
function LoadXMLDoc()
{
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsof... | stackexchange/codereview |
The page in question is budreviews.com/1-San-Diego-Holistic-Healing.
If you look at the source, the html seems to be repeated for some reason until PHP throws an error for redeclaring an include. Any ideas why this could happen? The page is dynamic, but no other pages generated by the same PHP page are experiencing thi... | stackexchange/codereview |
I want to know either the mimetype or the extensions of a file field so that I can place an appropriate icon next to the download link.
I've been able to do this fine in .NET code. Should I just convert this rendering to a sublayout?
| stackexchange/codereview |
So, I have this Window with some controls. In the resources section I've defined this style:
<Style x:Key="StyleNavBar" TargetType="{x:Type Grid}">
<Style.Triggers>
<DataTrigger Binding="{Binding CurrentTheme, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}">
<DataTri... | stackexchange/codereview |
I am attempting to write a two-pass algorithm incorporating some legacy code. I want to move through a particular container twice, once in order and once in reverse order. Obviously, my first thought was to use an iterator and a reverse_iterator, but strangely the designers of the container class I'm using did not see ... | stackexchange/codereview |
I can read rows/columns just fine, but I can't update, insert or delete.
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String myDB = "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=myExcelFile.xls;"
+
"DriverID=22;READONLY=false";
con = DriverMa... | stackexchange/codereview |
hi i am using webservice and my code i following
<?php
// Pull in the NuSOAP code
require_once('nusoap/nusoap.php');
require_once('common.php');
header('Content-Type: text/xml; charset=utf8');
// Create the server instance
$server = new nusoap_server();
$server->xml_encoding = "utf-8";
$server->soap_defencoding = "utf-... | stackexchange/codereview |
Is there a name for a pre-loaded AJAX object stored in memory?
If I wanted to use this code:
function GetXML() {
$.ajax({
type: "GET",
url: "questions.xml",
dataType: "xml",
success: function(xml) {
} //close success
});//close AJAX
}; //close function GetXML
to lo... | stackexchange/codereview |
in a short I'm gonna release an application written in OCaml and I was planning to distribute it by source code.
The problem is that the OCaml development system is not something light neither so common to have installed so I would like to release it also in a binary way for various operating systems.
Windows makes no... | stackexchange/codereview |
Background:
I have PDF's I am programmatically generating. I need to be able to send the PDF directly to a printer from the server (not through an intermediate application). At the moment I can do all of the above (generate PDF, send to printer), but because the fonts aren't embedded in the PDF the printer is doing fon... | stackexchange/codereview |
The setup: Say you click somewhere on this page, and you've got a Firefox extension that responds by inserting a <div> with an <input type="text"> into the document, positioned at the spot where you clicked.
The problem: I can't seem to get this text field to accept user input. It almost seems to be read-only. Is there... | stackexchange/codereview |
Whenever you perform a Google search, it spits out this little snippet of info
"About 8,110,000 results (0.10 seconds)"
I'm using the number of results certain terms return to rank them against each other, so if I could get this integer - 8,110,000 - via the API it would be very helpful. Some Google API's have recentl... | stackexchange/codereview |
I used an ado entity data model and added it to my web application. When I want to debug
with breakpoints, I can't see the data of the query, only a reference to the model.
| stackexchange/codereview |
I have a .net 4.0 app computing data i'd like to visualise with www.unity3d.com which has c# mono scripting. To do this i'd like to send xml strings between the two apps - one of which is running .net and the other of which is running under mono.
I'm new to Interprocess communication but i think it's the way to go - do... | stackexchange/codereview |
In iphone i have a mpeg-4 video file, which when played & when i click in the middle or any portion of the video, its goes back & starts from beginning rather continuing from the place where i clicked.
Whereas the same file plays when the same behavior is extorted(ie. play, click in the middle of the video) works fine ... | stackexchange/codereview |
<script type="text/javascript">
$(document).ready(function(){
$("a.grouped_elements").fancybox(
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : false );
});
</script>
I am getting the error: missing ) after argument... | stackexchange/codereview |
I'm trying to get some websockets working and I need to convert a string (or a long) to a 32-bit big-endian number.
How do you do this in Java?
| stackexchange/codereview |
This is one of the hardest questions I've ever had to title here on SO. :) Although the title might not make sense, hopefully the question itself will.
Let's say I have a data structure like a Dictionary<string, List<double>>, and that I have functions that then take List<double>s as a parameter:
Dictionary<string, L... | stackexchange/codereview |
Related question:
Running my application on another machine gives me an error
This is how my App.config file looks like:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="DocumentsDBEntities" connectionString="metadata=res://*/Documents.csdl|res://*/Documents.ssdl|res://*/Docum... | stackexchange/codereview |
Please check
http://mianniu.com/dsun/services.php
Whenever mouse moves over a top menu IE says
ebpage error details
User Agent: Mozilla/4.0 (compatible;
MSIE 8.0; Windows NT 6.1; Trident/4.0;
SLCC2; .NET CLR 2.0.50727; .NET CLR
3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp:
Sat, 20 N... | stackexchange/codereview |
I could think of these things,
Arrays.asList(byte[]) converts byte[] to List<byte[]>,
looping through byte array and add each element to list
I was just wondering Is there any library function to do that?
| stackexchange/codereview |
I recently reinstalled Windows (on an SSD!) and I'm in the process of setting up IIS and all my web projects.
One of my MVC project keeps asking for authentication on everything, including on resources like .css files and images. I'm using the default MVC template login with a custom provider that I'm using for dev pur... | stackexchange/codereview |
Anyone knows how to create stack class in C# for doing tasks such as push, pop, peek and find without using the "System.Collections"?
| stackexchange/codereview |
I guess the question is too broad, but anyway.
What is the best option to move to BPM as a programmer/developer? Is there any open source project that I can go for and get some experience.
Any specific tool, ideas, link or suggestion would be appreciated.
Thanks,
Alex
| stackexchange/codereview |
Is there data structure in Clojure that can fit this requirements:
represent key-value pairs, i.e. be a map;
get operation uses less then O(n);
keep keys in order in which they where added in.
| stackexchange/codereview |
code :
<script type="text/javascript" src="http://127.0.0.1/Test.js#username=stackoverflow">
</script>
iwant to know ,how to get the username in Test.js
file
Test.js :
var username = ??
///////////// #username=stackoverflow
thanks advance
| stackexchange/codereview |
i use webbrowser in my delphi application . how can i disable Ctrl+P to prevent print ?
| stackexchange/codereview |
I was reading this article in google-chrome and when I moved mouse to the close icon(x) on tab, web page displayed me a popup to wait, so my question is how do webpage knows I am going to close this tab, which javascript event it is?
| stackexchange/codereview |
So, I have a Core data object, let's call it a session (Okay, that's what it actually is called), and it has four attributes (Name, Driver, Track and Car) that I'd like to show in a table view. I've had it working before, but, alas, I'm trying to make my view controllers a little more generic and reusable, so, I'm chan... | stackexchange/codereview |
I'm testing some functions with Android, JNI and NDK.
I have the following JAVA class:
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class JNITest extends Activity {
private int contador;
/** Called when the activity is first created. */... | stackexchange/codereview |
my xml structure is:
<users>
<user id="126">
<name>老黄牛三</name>
<watchHistory>
<whMonthRecords month="2010-10">
<whDateList month="2010-10">
<date>01</date>
<date>02</date>
<date>05</date>
... | stackexchange/codereview |
I have a site using a single master.page. In the master.page I have a strongly typed user control (.ascx) called "ControlPanel". Its type is ControlPanelViewModel.
Here is the mater page - MasterFrame.master:
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<body>
<% Html.RenderPartial("Contro... | stackexchange/codereview |
Is there a way to generate a random number based on a min and max?
For example, if min was 1 and max 20 it should generate any number between 1 and 20, including 1 and 20?
| stackexchange/codereview |
I want to exclude all subfolders named "ajax" in any folder from indexing by search engines.
Examples:
.com/a/ajax
.com/b/ajax
.com/c/ajax
Is this possible via robots.txt ?
| stackexchange/codereview |
I'm having a strange problem with a view in iOS on iPhone.
My App has a table and a tabBar. I can drill down just fine until I get to a DetailView, which gives details of a book (Name, author, ISBN and an Image)
This loads fine. However on that same DetailView I have a button that launches another view. This view displ... | stackexchange/codereview |
I'm sifting through some of my old bugs and while reviewing some nasty code I realized that my averaging or smoothing algorithm was pretty bad. I did a little research which led me to the "running mean" - makes sense, pretty straightforward. I was thinking through a possible implementation and realized that I don't k... | stackexchange/codereview |
Consider a Swing application with a JList or JTable, when the selection changes a SwingWorker is started and loads related data from database and updates UI. This works fine and the UI is responsive.
But if the user is quickly changing the selected row (holding key-up/down) I want to be sure that the last selected row ... | stackexchange/codereview |
I want to migrate my project (https://softsmithy.svn.sourceforge.net/svnroot/softsmithy) from Subversion to Mercurial.
I'm working on a local mirror (svnsync; as described at http://panospace.wordpress.com/2010/05/19/svn2hg_part1/ ).
The current svn revision number is: 544
I'm using the following command to convert the... | stackexchange/codereview |
I'm trying to copy text from my vim search term. I spend a fair bit of time building regular expressions for sed search&replace. Since my regex is often quite complicated, I like to build it up in a search before executing :%s/regex/new text/g
In a terminal vim, I can copy my new regex from the search line using the mo... | stackexchange/codereview |
im trying to figure out how i can do this.
i have a list of names being pulled from the database and when i click on a name i want another page to load with that names details.
I've done this before using ajax in an ajax driven contact book i made, but now i need to be able to take that persons name attach it to the $_... | stackexchange/codereview |
I am looking for tutorials and/or examples of certain components of a social network web app that may include Python code examples of:
user account auto-gen function(database)
friend/follow function (Twitter/Facebook style)
messaging/reply function (Twitter style)
live chat function (Facebook style)
blog function
publ... | stackexchange/codereview |
i have two item in form it is---1 is textbox and 2nd is combo box.
now i have single value in textbox .
but there is a multiple value for a combobox with is totally depend on a value of textbox....
*i am already add data to the backend files ... in which 1 columns that is called column A it's value is for textbox and ... | stackexchange/codereview |
I have a textarea input that allows users to input in more than on paragraph, meaning the user can output a new line.
Problem is when I output that from the database it's all shrunk into one line?
How do I make that new line into an HTML friendly new line so it looks the way the user inputted the text?
thanks
| stackexchange/codereview |
I am actually using this calendar source code, but I did encountered a problem which is, I wasn't able to display today's date and instead, I got back 'November ??110' What's wrong?!
Below are the codes...
// SET ARRAYS
var day_of_week = new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
var month_of_year = new A... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.