instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
We recently moved the value of a column from an existing table to a new table so that it could reside on a separate disk.
The preexisting column still remains but has been set to null as some historical applications may still reference this column when writing data.
The table now has 10GB unused space that we can not r... | stackexchange/codereview |
I want to know which programming languages are mostly in demand in this era of software development and web development. I have learned c++, java, vb.net , asp.net c#, php, html, css, javascript, coldfusion. I want to know which other languages are important to know and is widely used in the job market and have great f... | stackexchange/codereview |
I just created a custom theme at http://jqueryui.com/themeroller/ and downloaded the theme.
Now how do I get started and implement the CSS?
| stackexchange/codereview |
App Engine seems to always merge multiple headers with the same name into one. For example if one sets this in CGI
print "Set-Cookie: foo=bar"
print "Set-Cookie: spam=egg"
What is actually delivered to the browser is
Set-Cookie: foo=bar, spam=egg
which is of course wrong. The correct solution is either
Set-Cookie: fo... | stackexchange/codereview |
I am trying to create a simple datastructure that will make it easy to convert back and forth between ASCII strings and Unicode strings. My issue is that the length returned by the function mbstowcs is correct but the length returned by the function wcslen, on the newly created wchar_t string, is not. Am I missing som... | stackexchange/codereview |
I have a mysql table with a datetime column. I want to fetch rows which are older than 24 hours but younger than 48 hours. Ive gone through the date time function not quite sure how to approach this or what to do in general.
| stackexchange/codereview |
Don't know if is possible, I want receive maybe data[n] or data[n][n][n]. In C could be (correct me if wrong):
void save_data(void* arr, int n, int dimensions)
{
// do ugly things
}
But must exist a more elegant way in D.
| stackexchange/codereview |
I want to have a section where people after uploading their profile information can draw a square around the part that they want from the picture to be the thumbnail and all that. I'm wondering if there is anything out their with the client side (javascript) and server-side (php) so that I don't have to start from scra... | stackexchange/codereview |
I am wanting to create a suite of interrelated packages in Python. I would like them all to be under the same package but installable as separate components.
So, for example, installing the base package would provide the mypackage but there would be nothing in mypackage.subpackage until I install it separately.
Is this... | stackexchange/codereview |
I'm new to web app and I want to check when there's a new version of dota map, I'll check links in getdota.com.
How can I do this and which language, I want it checks every time you start warcraft, and auto download new map to specific folder.
My question is : Can you give a link to a specific article about web automa... | stackexchange/codereview |
I have some code that is dependent on the fact that (until now) I've been getting the results by find in cygwin in ascending order.
Is this always the case or have I to be careful about any other "variables", to make sure I will get this result in both Windows / Linux, whatever?
Thanks
| stackexchange/codereview |
Assume you have an ASP.NET page with these lines of code:
while (true)
{
byte[BUFFER_SIZE] buffer;
// Fill buffer with pseudo data
Response.OutputStream.Write(buffer, 0, buffer.Length);
Response.Flush();
}
You have also a test application for the above page with these lines of code:
while (readBytes != 0)
... | stackexchange/codereview |
data is transfered over IP from a 32-bit machine to a 64-bit machine (or vice versa). Since the data will be transfered in network byte order there will be no problem during the transfer.
Question: Will there be any problem when the data reaches the receiving end?
What should be taken care of to avoid any problems, i... | stackexchange/codereview |
I'm moving to a new TFS server on a 64 bit machine (Windows Server 2008 R2). My problem is that now some solution (WinForms with another class library projects) are failing.
In my first attempt, I tried Release|Any CPU in the Process Tab of the Build definition Window, but with this configuration my WinForms project ge... | stackexchange/codereview |
DECLARE @cityID bigint;
set @cityID = NULL
--set @cityID = 3
SELECT ID,
Name,
CityID,
IsProvince
FROM TABLE t
WHERE ISNULL(t.CityID, -1) = ISNULL(@cityID, -1)
whenever the @cityID is NULL the t.CityID is also NULL for that record.
Only one record can ever be true for IsProvince
Is there a ... | stackexchange/codereview |
I have been given an api which states that it requires:
URL http://server/a/messages.xml
HTTP Method POST (even though the soapui example of this call uses PUT)
Input XML
<?xml version="1.0" encoding="UTF-8"?>
<message>
<content>Post message</content>
<parent-id nil="true"></parent-id>
</message>
Now i have t... | stackexchange/codereview |
I was contemplating moving to a version control system at work, but the learning curve may be too much for the many copywriters that open simple html files and editt them on our shared development server. The main issue is that sometimes two people will work on the same file (on our development server) at once and ove... | stackexchange/codereview |
I have a table named Table1 which contains an ID and TimeStamp.
Table structure
ID TimeStamp
1 0x0000000000047509
But when I compare the combination of these fields, it always shows false. What is the reason for this?
My Query is :
DECLARE @ID int
DECLARE @TimeStamp timestamp
SET @ID = 1
SET @TimeStamp = 0x0... | stackexchange/codereview |
I'm studying dynamic/static scope with deep/shallow binding and running code manually to see how these different scopes/bindings actually work. I read the theory and googled some example exercises and the ones I found are very simple (like this one which was very helpful with dynamic scoping) But I'm having trouble und... | stackexchange/codereview |
I have a data form that is working pretty well. One of the properties of my data object is an ObservableCollection. Right now, in the data form, it only displays the ToString() of the colletion. Not very helpful.
I'd like some sort of autocomplete box with valid options, and when the user selects them they will be adde... | stackexchange/codereview |
I need a datatable in order to display the data at a WPF datagrid augmented by some generated data.
But i also need to load the data from the database to local C# objects because the classes that represent tha data do many calculations .
So what is better? Depend only at datatable ? Or have the data both in objects an... | stackexchange/codereview |
I need to use devise for my application and there are different user levels i need to edit User controller in devise plug-in
| stackexchange/codereview |
We currently have a crude mechanism to convert numbers to words (e.g. using a few static arrays) and based on the size of the number translating that into an english text. But we are running into issues for numbers which are huge.
10183 = Ten thousand one hundred eighty three
90 = Ninety
5888 = Five thousand eight hund... | stackexchange/codereview |
I'm doing a checkout with Westpac Payway.
Does any one have a sample php code for its integration.
Please share it to me..
| stackexchange/codereview |
I am experimenting with openMP for large data processing and relatively new to it. My input data set is huge and so I divided it into multiple subsets and each thread working on the subset of data. Each data item in the subset is acted up on by the thread. If one of the threads fails during its operation on any dataite... | stackexchange/codereview |
I am trying to draw horizontal and vertical lines on a bufferedimage. It should end up looking like a grid of cells. But when I run the code, I see only two lines: the leftmost line and the topmost line (ie. a line from 0,0 to 0,height of image & 0,0 to width of image,0) Heres the code snippet:
BufferedImage mazeImag... | stackexchange/codereview |
Is there anyway to create a variable speed timer in the browser that will give the exact same results for all operating systems and browsers? If I want 140 beats per minute for every user regardless of their computer speed.
I've been using javascript setTimeout() and setInterval() but I think they are dependant on the ... | stackexchange/codereview |
I feel very stupid for asking this, but I've been trying to figure this for about three hours and have gotten nowhere. See the code below. After the first iteration, my program crashes and all I get is SIGABRT. As you may get from the code, I'm just trying to build a string from other strings. It works fine on the ... | stackexchange/codereview |
One of the ways to limit objects is to add a limitation to a function like this
def ten_objects():
obj = Model.objects.all()[0:10] # limit to 10
return {'objects': obj}
However how do you achieve this inside a template rather than inside a view?
I know you can filter through objects within a template and limi... | stackexchange/codereview |
I use Visual Studio 2008 database project for managing my database scripts and version control. by default visual studio script templates are encoded in UTF-8 format. when I try to concatenate the scripts for database release (using the DOS command "type *.sql > dbscripts.sql") and run the concatenated script from SQL ... | stackexchange/codereview |
Is it possible to add a note board or other web parts to a Custom List? I would like to be able to have comments on list items.
| stackexchange/codereview |
This is a followup to this post:
findViewById in a subclassed SurfaceView throwing RuntimeException
Based on Romain Guy's feedback (which I'll accept shortly as it is a solution), I'd like to obtain the calling Activity from within the View, so that I can use it to obtain the desired TextView resource.
I don't see any ... | stackexchange/codereview |
I have an iterator with this interface: $hit->next_hsp
The current implementation to listify it is:
my @list;
while ( my $hsp = $hit->next_hsp ) {
push( @list, $hsp );
}
Now I'm thinking that there might be better ways to do this in less code. What do you say, stackers?
| stackexchange/codereview |
I Love BitBucket.org
But is there a way to configure BitBucket to accept email and automatically put them into my 'New' Issue list in the issue tracker?
BitBucket sends out email notifications, but I want something the other way around. I don't want to have to go in and create an issue manually each time someone emails... | stackexchange/codereview |
I want to create a single data file that holds all the data that my game will need, and I want it to be compressed. I looked into tar and gzip, but I downloaded their sources and I don't know where to begin. Can somebody give me some pointers to how I can use these?
| stackexchange/codereview |
How would I either create a helper or use the built-in link_to helper to combine URL params?
For instance, say I'm on a page with the URL parameter of status:
http://example.com/items?status=new
I have another link for carriers that I'd basically want to append to that, like so:
http://example.com/items?status=new&carr... | stackexchange/codereview |
Where can I go to read more about basic 2d collision detection for games or just applications that have some interactivity?
Edit: How about javascript for Canvas games?
| stackexchange/codereview |
When I clone the following project
http://code.google.com/p/signal-detector/source
it comes in the revision marked as default, that isn't the latest nor the tip revision.
I tried many merges to make the latest revision to become default, but I couldn't.
How to do that?
| stackexchange/codereview |
I'd like to add a 50x150 uiview that I will be using as a menu, and I want to overlay it on top of my uiviewcontroller. So far what I've done is declare a UIView IBOutlet in the UIViewController class file, and in that UIViewController xib file, I dragged a UIView from the library and hooked it up accordingly. Problem ... | stackexchange/codereview |
I'm building a web app that loads content with $.ajax and then injects the content in a contentCol...
problem is every time this happens it scroll the browser down. Is there a global way to prevent this and just keep the scrollbar where the user was initially before calling the AJAX?
Thx
| stackexchange/codereview |
i have a text file which contains lots of email addresses from my old address book. I need to get these out of it. every email addy is preceeded with
ip:
and ends with
\
for example
blablablaip:me@you.com\
the addresses are up to 25 characters in length(not sure if that makes a difference for the required regex im... | stackexchange/codereview |
I tried this but it does not work
LPWSTR test = L"C:\\Users\\Default\\wallpaper.png";
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, test, SPIF_UPDATEINIFILE);
| stackexchange/codereview |
I have a web page that uses the ASP.net Tree View web control. As the web page is currently programmed, when the user clicks on a node on the tree view, the page posts back and a C# function executes to handle the event.
Can I make my web page run some Javascript code and not post back when a tree view node is clicked... | stackexchange/codereview |
I have a .NET 3.5 web site in IIS 6. I created a virtual directory to host a .NET 4.0 app. However, I'm getting all kinds of errors that point to the .NET 4.0 app processing items from the parent app's web.config file, even though I have it set up to be its own virtual directory.
How can I stop this from happening?
| stackexchange/codereview |
I have a web application project WAP that references class library CL. CL needs some xml configuration files in order to work properly.
In WAP's csproj, I add a PostBuildEvent to copy the necessary XML files to the TargetDir. When I build, the folder structure is good; the bin folder contains CL and the xml files.
Whe... | stackexchange/codereview |
I want to have the status of a checkbox be saved into my prefs.
I set a listener on the checkbox, and if it is checked I do a prefs.putBoolean("cbstatus", true), and it is it unchecked i do a prefs.putBoolean("cbstatus", false);
Trouble is, in my onStart() when I get prefs, my Boolean getcbstatus = prefs.getBoolean("cb... | stackexchange/codereview |
If a file is already loaded, is there anyway to hook into the use/require so I can throw an exception? In my upcoming nextgen::blacklist, I'm trying to die if certain modules are used. I'm using the object-hook method as mentioned in perldoc -f require: there are three-like hooks object, array with subref, and subref. ... | stackexchange/codereview |
Is there a way to intercept a MsgBox() from an external application and block it using VB.Net?
For this discussion, let's say the MsgBox Title is "SQL Application" and the Message is "SQL Error - Try Again".
I have found some examples of looking for the MsgBox to pop-up (by watching for the Window title) and then send... | stackexchange/codereview |
I'm having trouble with a COM library I'm trying to use. I get an ArgumentException when I call a particular method and pass it null. This happens to me in both a C# project and a VB.NET project (I call the method using Nothing) where I added the library reference from the "COM" list in Visual Studio 2008. When I ca... | stackexchange/codereview |
I have a query in MS ACCESS, I ran it in MS ACCESS:
SELECT * FROM table1
INNER JOIN table2 ON table1.f1=table2.f1 WHERE table1.f2=table2.f2
It works fine. However, I need to save the results into another table. So, I changed it to:
SELECT * Into a1
FROM table1 INNER JOIN table2 ON table1.f1=table2.f1 WHERE table1.f2=... | stackexchange/codereview |
I am looking for a news ticker pretty much identical to the one on twitter (the one the scrolls horizontally)
The main things I am looking for:
Continuous scroll
- When an element is no longer visible it is removed and put at the very back of the list.
No Pause
- It should be a smooth scroll, not a scroll, pause, scr... | stackexchange/codereview |
We are planning to create a web app to store banking transactions for customers, e.g purchases, transfers etc and allow them to tag / categorize each transaction.
Could someone point us to the best DB for this purpose? It needs to scale horizontally and we also need to perform analysis on all transactions.
Thanks
| stackexchange/codereview |
I need to implement some search functionalities in my app and want to use Google SSL.
https://encrypted.google.com
Can the ISP still see what you are searching by analyzing the querystring? If so then what's the point of this service?
| stackexchange/codereview |
I have the following piece of code
public static Func<PurchasingDataContext, int, int, List<Requisition>>
GetRequisitions = CompiledQuery.Compile((PurchasingDataContext context, int userid, int requisitionState)
=> context.Requisitions.Where(r => r.UserId == userid && r.RequisitionId == requisitionState).To... | stackexchange/codereview |
Last week user Masse asked a question about recursively listing files in a directory in Haskell. My first thought was to try using monadic lists from the List package to avoid building the entire list in memory before the printing can start. I implemented this as follows:
module Main where
import Prelude hiding (filte... | stackexchange/codereview |
I have the following query:
create proc [dbo].GetCustById
as
DECLARE @sql nvarchar(500)
DECLARE @Param nvarchar(200)
SET @sql = 'select @columnName from customer where custId = @custId'
SET @Param = N'@columnName varchar(10), @custId int'
EXEC sp_executesql @sql, @Param , @columnName = 'Address1', @custId = '42'
But... | stackexchange/codereview |
I've seen Bash scripts test for a non-zero length string in two different ways. Most scripts use the -n option:
#!/bin/bash
# With the -n option
if [ -n "$var" ]; then
# Do something when var is non-zero length
fi
But the -n option isn't really needed:
# Without the -n option
if [ "$var" ]; then
# Do something whe... | stackexchange/codereview |
I'm trying to use the following loop to loop through dynamically created controls on my web form:
for(x = 0; x <= count; x++) {
Stmt += $("#DDLColumns" + x).val();
switch($("#DDLConditional" + x).val()) {
case "is equal": Stmt += " = ";
... | stackexchange/codereview |
I need to create a screen(scrollable) exactly similar to the screenshot shown
here . I have no idea regarding the kind of layout patterns that I should resort to or the widgets that I should use.
The data including thumbnail links, is available dynamically.
Experts, kindly help with your valuable suggestions, advices ... | stackexchange/codereview |
My problem is that I have to deal somehow with cases when database is down in my MVC application. So, should I like try{} catch{} to open connection in every controller? Or what is the best practice?
Note:
For sample database access is isolated in few "manager" classes that work repository kind of way.
| stackexchange/codereview |
Can I track the click of every link, button, dropdown select, etc. on a screen and have it be tracked in Google Analytics?
I want to create a page and collect data on which widget the users use most.
What about AJAX stuff? What if you're using jQuery or Mootools...can you get the functions to register a fake URL with ... | stackexchange/codereview |
Background
I've got the following tree of objects:
Name Project
Users nil
John nil
Documents nil
Acme Project Acme Project <--- User selects a project
Proposal.doc Ac... | stackexchange/codereview |
Current Situation
I am in the early phases of designing a web app that the user will interact with via a browser extension that will be in the form of a horizontal nav bar. I wanted to use Pylons and Python on this project but am unsure how it fits in. As I understand it a browser extension is "just bundled HTML, CSS, ... | stackexchange/codereview |
We're deciding between using JSON vs. Property List (binary) for our API, which will be accessed by iPhone/iPad/iPod Touch.
Are there any speed advantages?
| stackexchange/codereview |
What would be the best way to get Button parameters when my Button is in an array?
class myButtonproprties
{
int x;
int y;
}
Where I use it as:
myButtonproprties array[][];
I am new to WPF and I have heard about the DependencyProperty mechanism and didn't understand it.
Would it be helpful here?
EDIT:
Let'... | stackexchange/codereview |
Okay, I am trying to integrate some C code into a C++ project, and have run into a few problems. I will detail the first one here.
I keep running into this error:
error: cannot convert 'char*' to 'char**' in assignment|
here is the offending code (with the breakpoint marked):
char** space_getFactionPlanet( int *nplanet... | stackexchange/codereview |
NERDTree shows in viewport disk c: regardless from which disk do I open the file.
When I use gvim in windows I open files using:
gvim.exe --remote-tab-silent [FILE]
I'm loading NERDTree with this line in _vimrc:
au VimEnter * NERDTree
Can NERDTree automaticaly change drive to correct drive somehow?
| stackexchange/codereview |
I'm designing a data driven website, the content for which is displayed mostly with Repeater controls.
I'm not sure, though, how to present the content that won't be repeated (such as articles).
I had thought about using Labels and creating a DataSet when the page loads and populate the Labels on the page with columns ... | stackexchange/codereview |
I have two setup scripts that share common code. It is possible to refactor them?
One way of doing that is having a file for common code which will be referenced by each script.
Is this possible?
| stackexchange/codereview |
Just wondering if the entity framework is setup to handle things like SQL injection out the box?
Every tutorial I have seen, video, book or blog post. No one mentions security and seems to pass in variables straight into the context with no checks etc...
Just wondering what peoples thoughts were on this, and how do ... | stackexchange/codereview |
I am trying to write a footer using ITextSharp library 5.0.4 and not able to print page number since OnEndPage and OnClosePage are not getting called.
This is a simple console app where I am printing tables to generate couple of pages and expecting OnEndPage or OnClosePage to get called where my code for footer will g... | stackexchange/codereview |
So I have no idea what the deal is here... the following code below produces the mysql error following the code.
$fcontents = file("inventory.csv");
for ($i = 1; $i < sizeof($fcontents); $i++) {
$line = trim($fcontents[$i]);
$arr = explode(',', $line);
$values = implode(',', $arr);
$values = str_repla... | stackexchange/codereview |
The Android ListView widget (2.2) has a default behavior that shrinks all the child views when the ListView scrolls.
I want to disable this behavior and do no shrinking of the child views so that they always remain the same size -- how can I do this?
| stackexchange/codereview |
I am trying to save my SSD from to much thrashing.
| stackexchange/codereview |
Hey, I'm just wondering if there is a way to modify the popup that appears after you've hit the 'like' button.
Right now, it appears to the right of the like button.. Problem is, the button is to the very right of the page, so it bleeds off.. Is there a way to customize the positioning of this box?
Thanks
| stackexchange/codereview |
i know the basics of js the language for several years, but never had a need to go deeper than say change a style of a paragraph or do a image rollover or validate a field.
am thinking going deeper with js.
can anyone recommend the top 3 library or framework that you cant live without?
Xah
| stackexchange/codereview |
I'm using boost property tree to store configuration data for my application.
In the configuration file I have an item named that looks like this.
I'm wondering how I can iterate over the ServerList.
ServerList
{
server1 127.0.0.1:5000
server2 example.com
}
By the way the solution provided here, didn't seem to w... | stackexchange/codereview |
How do you get the current top suggestion in an AutoCompleteTextView? I have it suggesting items, and I have a text change listener registered. I also have a list on the same screen. As they type, I want to scroll the list to the current "best" suggestion. But I can't figure out how to access the current suggestion... | stackexchange/codereview |
I was reading about horizontal and vertical parity check codes. One of the properties of these codes is that the final parity check (the lower right bit) is equal to modulo 2 sum of horizontal parity checks and also equal to modulo 2 of sum of vertical parity checks.
I did not understand, why this is true. I can see t... | stackexchange/codereview |
what is this #pragma mark text field delegates?
It is like a comment? or what is this used for?
| stackexchange/codereview |
Hello guys I am trying to migrate a Java code to VB, now I need to duplicate the DES encryption but I am having trouble with this part.
I admit I haven't done encryption since college.
This encrypt the key using MD5, and send it to a function for the DES encryption, seems I got a clue of the error, the key must be a 8 ... | stackexchange/codereview |
I build a static library that uses Objective-C++. When it is used in a straight Objective-C target, I get
Undefined symbols:
"___gxx_personality_v0", referenced from:
I can solve this by adding -lstdc++ to the target's "Other Linker Flags".
Question: Is there a way to specify this in the static library itself to mak... | stackexchange/codereview |
I need to do two things, first, find a given text which are the most used word and word sequences (limited to n).
Example:
Lorem *ipsum* dolor sit amet, consectetur adipiscing elit. Nunc auctor urna sed urna mattis nec interdum magna ullamcorper. Donec ut lorem eros, id rhoncus nisl. Praesent sodales lorem vitae sapie... | stackexchange/codereview |
I'm using SQL Server 2000 Enterprise Manager. I'm having trouble with storing some data in a column. The column has a data type of nvarchar, with a length of 4000, which I've now learned is the max length you can have.
I need to store data in the column that is longer than 4000 characters...is there a way to increase t... | stackexchange/codereview |
I have a Perl script which uses a not-so-common module, and I want it to be usable without that module being installed, although with limited functionality. Is it possible?
I thought of something like this:
my $has_foobar;
if (has_module "foobar") {
<< use it >>
$has_foobar = true;
} else {
print STDERR "Wa... | stackexchange/codereview |
I get an error when running
pip install datapkg
The error is this:
"RuntimeError: maximum recursion depth exceeded while calling a Python object"
Partial traceback:
RuntimeError: maximum recursion depth exceeded while calling a Python object
----------------------------------------
Command /usr/bin/python -c "impo... | stackexchange/codereview |
I think this has happened to me before. This isA3.txt:
%INSERT
MARK 29
DAVID 21
JOHN 44
JOHN 51
LARRY 39
MARK 21
DAVID 18
JOHN 28
MARK 35
DONALD 41
PHIL 26
Even though I use sourcefile >> reader at the end of the loop, the program keeps outputting "reader: MARK", meaning the sourcefile >> reader; statement isn't work... | stackexchange/codereview |
I once read about the import() and export() functions and how they relate to frames and that sort of deprecated practices. But i'm wondering if there's any practical use case for these functions on the client side.
Has anybody put import() and export() to use in an interesting way on the browser?
Is there a practica... | stackexchange/codereview |
I want to sync the Core Data on iPhone with MongoDB on Sinatra server.
When the iPhone gets a message from the Node.js chat server, the message contains the sender's BSON ObjectId (a string). For the iPhone to store this message, I find the user with that same Id in Core Data. I want to be able to do something like obj... | stackexchange/codereview |
When my program throws the exception, i'm getting a return value of 7. What exactly does a 7 mean, and where can I get a list of these return values? Or is that just the first line where it happened (although i got a -1 one time)?
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
at DataReader... | stackexchange/codereview |
I am building a tree like data structure. What is the expected behavior if I have a method
public Set getSiblingNodes(Node node);
Should this method return a set including or excluding itself?
Thanks!
| stackexchange/codereview |
I'm a C# developer and I don't have enough information about functional languages,
My question that is there any algorithm needs functional language exclusively to be implemented?
Regards.
| stackexchange/codereview |
I'm trying to execute CREATE USER with a given username (via sql parameter)
exec sp_executesql N'CREATE USER @LoginName
FOR LOGIN @LoginName;',
N'@LoginName varchar(5)', @LoginName='myuser'
Heres the code thats generating the above:
Dim myCommand As SqlCommand = New SqlComma... | stackexchange/codereview |
Is there a way to reset the current page ? free all event handlers, remove any CSS toggled by Jquery, in simpler words, restoring the page to the original state without refreshing ?
| stackexchange/codereview |
I have a text area with some text. I also have an "onsubmit" event handler. In that I have an alert of the text area's innerHTML and I get back the text that is inside of the textarea. I then try to assign this to the "value" attribute of a hidden input element. However the value is never assigned, when the form posts,... | stackexchange/codereview |
Here's the issue:
I have three files in the same package: com.foobar
The directory to these files is:
C:..\mylibrary\src\com\foobar\
then inside I have foo.as and bar.as
When I try to run mxmlc C:..\mylibrary\src\com\foobar\foo.as I get the error:
A file found in a source-path must have the same package structure ' ', ... | stackexchange/codereview |
I currently have a huge problem. Two days ago my site running on one server was too much, so I purchased two more and had them clustered (rsync and load balanced).
I then start noticing that a user would hit server-1 and then on the next request hit server3 but that their session was still on server1 instead of server3... | stackexchange/codereview |
I want to make a ms word add-in, that does this:
It asks for a user, password and a network path which correspond to a WebDAV server, for a certain user, and if entered correctly, displays an interface from which a user can select to create, or open a file. When a user opens a document, he can click save, and that file... | stackexchange/codereview |
I'm using PHP 5.2.14 and PearLog 1.12.3.
The latest documentation from the singleton method in Log.php (PEARLog) states:
You MUST call this method with the
$var = &Log::singleton()syntax.
Without the ampersand (&) in front of
the method name, you will not get a
reference; you will get a copy.
However, doing s... | stackexchange/codereview |
I am using jsf with Richfaces. I've created a tabpanel using <rich:tabpanel>. I have taken 4 tabs like tab1, tab2, tab3 and tab4. if I run the application tab1 is default one. If I go to next tab I use navigation for every tab like NEXT<< and PREV>> .
If I click on a tab label, it is also changing the tabs. if I run t... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.