instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Hi I'm using a LinqDataSource with a RadGrid. When I Add a new Grid item and click insert the values are immediately saved to the database.
Is there a way where they can be actually not put in the database until I give the command?
| stackexchange/codereview |
I'm looking for ways to improve a web page that initiates a long-running (>2 minutes) server-side task. The current version of the page just clocks for the full duration of the task, which can be very frustrating to the user.
I already have a few ideas about how I could improve the user's experience, but they all woul... | stackexchange/codereview |
I have an application that allows a user to define a region of an image and save that region to file. I have run up against a snag that I can't sort out. The Bitmap that I create to paint the selected region onto is stuck with an ImageFormat of "MemoryBmp", it appears that this is the ImageFormat that is set for any ... | stackexchange/codereview |
Can any one tell me what are the new futures came in asp.net mvc2..
I am looking for View Codding new futures? Controller coding and Seurity?
Thanks
| stackexchange/codereview |
for element in container:
# some code here
temp_variable = f1(element)
# more code
# much later in the code
for element in container:
# some code
another_variable = g(temp_variable)
# more code
temp_variable = f2(element)
# more code
In the second for loop, I accidentally used variable temp_variable ... | stackexchange/codereview |
I have a data which will remain fresh for 30 minutes
Which way of storing the data is advantageous:
1. Storing it in CORE data and clear it after 30 minutes.
2. Storing it in Value Objects, save it in a Array and clean it after 30 mins or when app goes off.
| stackexchange/codereview |
I seem to remember that Perl 5 formats only worked with package variables, and PBP seems to back that up on page 449:
Formats rely on global variables for configuration, and on package variables for the data they are to format (see Chapter 5).
But a quick test seems to show otherwise (tested with 5.8.9, 5.10.0, and 5... | stackexchange/codereview |
I have recently ditch Dreamweaver as my IDE for my web projects and I'm currently using Eclipse. My current web project is written in PHP, but I'm not so familiar with Eclipse yet. I downloaded the Eclipse PDT. which has all the PHP developer plugins. And my first questions when I start a project does it mean I'm creat... | stackexchange/codereview |
We are supporting MS SQL Server 2008 (2005 maybe), Oracle as well as Sybase.
There is a large script which takes AWHILE, which would build tables, stored procedures, views, triggers, etc. as well as populate tables with what we think is sensible data.
Now we are trying to introduce unit tests to the system, to test sto... | stackexchange/codereview |
Within a datagrid I would like to put an hyperlink in the content of the cell
<sdk:DataGridTextColumn Binding="{Binding Code}" Header="Code" Width="40" HeaderStyle="{StaticResource myStyle}" />
only if the content of the MyUrl property [of the same object that contains the Code I'm already binding against] is neithe... | stackexchange/codereview |
So far in my career as PHP programmer, I have stored my functions statically in class separated PHP files by topic (such as "database", "htmlfunctions" etc). I recently had the idea of storing all my PHP functions in separate files and executing them by calling the include function in the appropriate spot, or including... | stackexchange/codereview |
Is there some property or method to set the vertical scroll position of a DataGridView past the bottom row?
What I mean is, say I have a DataGridView with enough rows to fill its client area. Then (by default, at least) I cannot scroll down past this point:
I want to be able to force the control to continue scrolling,... | stackexchange/codereview |
Can you explain for me
1)what are Ado.net and Odp.net
2)what is diffrent between Adp.net and Odp.net
?
| stackexchange/codereview |
I have a form with a text box on it. I create a BindingSource object, connect my DomainObject to it, then bind the BindingSource to a TextBox. The code looks similar to this:
private BindingSource bndSource = new BindingSource();
private void Form1_Load(object sender, EventArgs e) {
bndProposal.DataSource = new ... | stackexchange/codereview |
I'd like to make Control A visibile if Control B is hidden, and vice versa. Right now I have this converter:
public class InvertVisibilityConverter : IValueConverter {
public Object Convert(Object value, Type targetType, Object parameter, CultureInfo culture) {
if (targetType == typeof(Visibility)) {
... | stackexchange/codereview |
This code reverses a string:
let reverse (s : string) = new string(s.ToCharArray() |> Array.rev)
Can this be rewritten using the pipeline operator to pass the required argument to the string() constructor? For example, this seems more idiomatic:
// Doesn't compile:
let reverse (s : string) = s.ToCharArray() |> Array.... | stackexchange/codereview |
i have done and web site with php and it gets the datas from an db in tokyo cabinate with java... and i am planning to change the front end php with java (vaadin)UI and i need to know will it be fast like php and can designing can be done easily .... how efficient the vaadin is compared to php is....
| stackexchange/codereview |
In two recent questions (1, 2), the previous posters were attempting to control the output order of Plus, which is an Orderless function. Michael Pilat indicated that, internally, Orderless functions Sort their parameters which was causing the difficulty. However, he cautioned against making Plus non-Orderless. The ... | stackexchange/codereview |
I'm trying to execute the getPendingSalesOrderIDs() method which calls upon method selectInAsending(...).
But this shows a SQLException saying
java.sql.SQLException: Operation not allowed after ResultSet closed
Here the db.endSelect() will close all the connections. I think the problem is with that.
public ArrayList... | stackexchange/codereview |
here is the page : http://missfrisette.com/index.php#
the top white box, should be 35 pixel from the top and the should be to the left... do the header is in wrong position.... only in ie
the inline trick dont work ... any idea ?
| stackexchange/codereview |
I'm working in Ruby On Rails 2.3.8 and I need to use a text editor in which I could upload images.
Currently, I'm using TinyMCE, but doesn't have that feature. So, I've tried the TinyFCK, but I could not make it work (it uses PHP, so I'm not sure whether it will work or not in ruby on rails).
Does anybody know any?
| stackexchange/codereview |
What is the difference between BIT and BOOLEAN?
| stackexchange/codereview |
I am having a difficult time with finding how to write to a comma delimited text file. I am creating a very basic address form for myself. I would like when I click button1 that it creates a text file then writes the data from textbox1, textbox2, textbox3, and maskedtextbox1 to that file seperated by commas.
public p... | stackexchange/codereview |
Note: This question is also posted on the WiX Users mailing list.
I am trying to silently execute a PowerShell script from a WiX produced MSI. However, anytime I run the installer PowerShell hangs. Interestingly enough, according to the installer logs the PowerShell script appears to run successfully. Additionally, ... | stackexchange/codereview |
I used 'package.skeleton()' to generate .Rd help files a few months ago. I have edited these files, and I have also changed the functions, removed some functions, added others. Is there a function that automates updating the Rd files?
update
A nice package was just released called Rd2roxygen, it is described by the au... | stackexchange/codereview |
I crated an app with asp.net mvc using entity framework 4 and sql server 2008.
Everything works well on localhost but when i move to iis i get this exception:
Cannot open database "Template" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\DefaultAppPool'.
| stackexchange/codereview |
From reading the documentation, it's apparent that File.join joins the given parameters with the / character.
When is using this, as opposed to filenames.join('/'), beneficial?
| stackexchange/codereview |
What is the best way to display results and data coming from Database in PHP web applications?
Is it Using HTML Tables or HTML Lists or HTML Forms or User-defined Reports? What is the common way that Most PHP Developers and programmers used?
Is there any fast or simple way to do that without the need to customize every... | stackexchange/codereview |
Like many of you, I like to play a game every once in a while. Since I use Linux for my daily tasks (programming, writing papers, browsing, etc.), I solely exploit my graphics-card capabilities in Windows while gaming.
Lately I noticed my energy-bills got really high and I would like to reduce the energy consumption of... | stackexchange/codereview |
When double-clicking on a html page most browsers select the word you double-click on (or the paragraph you triple-click on). Is there a way to get rid of this behavior?
Note that I do not want to disable regular selection via single-click+dragging; i.e. jQuery UI's $('body').disableSelection() and the document.onselec... | stackexchange/codereview |
Hi is there a way to measure / monitor the performance of .NET web services (ASMX) and .NET Http Handlers (ASHX)? I would like to see how long it takes to process a SOAP request vs how long it takes to process a HTTP GET request.
| stackexchange/codereview |
I am putting together an explanation and code example of this design pattern, attempting to help others around me grasp it (along with helping myself to master the pattern as well).
What I am looking for is opinions & or critique of my explanation and code sample...thanks!
What is the factory pattern?
The factory patte... | stackexchange/codereview |
i'm implementation internationalization in my site and i would like users to be able to enter urls such as :
http://www.mysite.com/en/showprofile.php?id=1000
http://www.mysite.com/de/showprofile.php?id=1000
and have this rewritten to
http://www.mysite.com/showprofile.php?id=1000&lang=en
http://www.mysite.com/showprofi... | stackexchange/codereview |
I am doing some work in C# to calculate the binomial probability density function of some variables. Just wandering is there any package I can use?
| stackexchange/codereview |
I have a macro in Excel 2007 that interacts with Microsoft Word. I apply the Microsoft Word 12.0 Object Library in order to access the necessary commands. However, when an Office 2003 user tries to use the macro, he gets an error. This is because Office 2003 uses the Microsoft Word 11.0 Object Library. The 12.0 lib... | stackexchange/codereview |
I would like to know what is a good CMS that is for videos? Where I can upload videos, feature videos, and the videos have their own page that people can comment on, rate, etc? Can Wordpress achieve this? Or what is a good CMS that can? [free!]
| stackexchange/codereview |
I put a UIProgressView on a UITableViewCell, like that:
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"downloadcell"];
if(cell==nil)
{
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle
reuseIdentifier:@"downloadcell"] autorelease... | stackexchange/codereview |
I have a multi module Maven project, one of its modules has the main class. I want to package and deploy this module, but I have no idea what I should do now. I'm aware of this question, but I don't know if it's a good way to follow or not. Could you please show me what is the recommended way to deploy a Maven module? ... | stackexchange/codereview |
It seems I've angered Firefox. Here's a working JSFiddle of what's going on. But, to explain it quickly:
I'm using Mustache.js to render a template. Then, I'm using .css to set it to display : block and opacity : 0. Then, I'm setting the .offset and animating to opacity : 1.
All works well in Webkit, but not so much in... | stackexchange/codereview |
I am attempting to use JSONP to return an array from PHP to JavaScript. Hopefully, my code will demonstrate exactly what I'm trying to do because I am not even so sure how to word it...
My PHP file, port 80, hence the need to use JSONP and not JSON (I tried already)
I am not sure if I am forming the $_GET variables co... | stackexchange/codereview |
I am having a weird problem with a chatbot I am writing that supports plugin extensions. The base extension class have attributes and methods predefined that will be inherited and can be overloaded and set. Here is the base class:
class Ext:
# Info about the extension
Name = 'Unnamed'
Author = 'Nobody'
... | stackexchange/codereview |
template <class T>
class Test
{
public:
template<class T>
void f(); //If i define function here itself, error is not reported.
};
template <class T>
void Test<T>::f()
{
} //Error here.
int main()
{
Test<float> ob;
ob.f<int>();
}
It produces below error.
error C2244: 'Test<T>::f' : unable to match... | stackexchange/codereview |
Using ACTION_SEND it's possible to post messages to various sharing services such as gmail, facebook, twitter, etc. Most services have reasonably long message lengths, but twitter in particular is very short (140 characters).
Not knowing in advance which service a user is going to select once the Intent.createChooser(... | stackexchange/codereview |
Howdy,
I'm currentyl new to Java and Android but I would like to write an App which checks a webserver on a particular file. If that file is NEWER than the locally saved file it should go ahead and download the file.
Now I've already got the download in place .. but I don't know how I can check the file on the webserve... | stackexchange/codereview |
In the following example, how do I set separate ylims for each of my facets?
qplot(x, value, data=df, geom=c("smooth")) + facet_grid(variable ~ ., scale="free_y")
In each of the facets, the y-axis takes a different range of values and I would like to different ylims for each of the facets.
The defaults ylims are too ... | stackexchange/codereview |
I'm trying to fill an array and I want to add some logic in it so it won't give me back errors...
Here is the code:
$entries_mixes = array();
foreach ($entries_query->result_array() as $entry) {
$entries_mixes[] = array('title' => $entry['title'],
'body' => $entry['body'],
'author' => $entry['auth... | stackexchange/codereview |
Searching CPAN yielded so many results I don't know where to start. I need a simple and friendly module for some basic querying.
| stackexchange/codereview |
If you want to stop a process from being terminated, one way is to hook into TerminateProcess (or NtTerminateProcess). If the process is terminating itself (because you closed its window, for example), the handle supplied to those functions is NULL, so you can find out what executable is being terminated using GetCurre... | stackexchange/codereview |
I am porting some code over to the iPad and targeting 3.2. I'm using some 4.0 exclusive code in the -pathExtension method of NSURL.
I handle all web requests differently depending on what the hyperlink points to. Was there a way to do this before 4.0 came out, or am I just stuck reading the last 4 characters of the... | stackexchange/codereview |
I'm using tomcat to deploy my application. DataSource (OracleDataSource) is defined as a Spring bean. I'm interested in monitoring datasource connection pool. Are there any tools available to monitor datasource?
| stackexchange/codereview |
I couldn't find any useful explanation as to why PHP's automatic string casting is a useful feature? To me it seems like it can cause more bugs and issues than it solves. Not to mention the extra CPU cycles it takes to check each string if it needs to be converted. I can't think of any examples where this functional... | stackexchange/codereview |
I'm using PHP to connect to a MS Sql database.
I've got it all working except I can't seem to get the LIMIT to work.
The following query returns an error:
$query = "SELECT name, id, startDate FROM events LIMIT 0, 20";
Here's the Error it's returning:
Warning: mssql_query()
[function.mssql-query]: message:
Incorre... | stackexchange/codereview |
I want to develop a rails app that does this:
a public front-end deployed on some place like Heroku
a private front-end that I can access (this would be someplace like my home/office where it is the only app running)
a private backend that collects and analyses data (the public front end can access the backend through... | stackexchange/codereview |
The best example to explain my situation is to use a blog post. Let's say I have a UITableView loaded with title's of blog posts that I got from an API. When I click on a row I want to show the detailed blog post.
When doing that, the API is handing back several fields, including the "post body" (which is HTML text). M... | stackexchange/codereview |
Possible Duplicate:
C/C++ function definitions without assembly
hi again,
I want to know how printf works internally...by internally I mean what underlying system calls/ISRs etc mechanism is used...and not about the variable argument list...
Reason:I am using FASM but there is little there for console i/o, I know I ... | stackexchange/codereview |
I have a UINavigationController with two UITableViewControllers (A and B).
A is displayed first and when the user taps a row on the display, A loads UITableViewController B and pushes it onto the stack.
The user can then update some data in B's UITableView which may result in the tapped row on A's UITableView needing ... | stackexchange/codereview |
In popular programming speak, what is the difference between these terms and what are the overlaps?
Any related terms I'm missing out?
| stackexchange/codereview |
I have a GWT application that includes an embedded applet.
I would like to use JNSI to let GWT buttons push data to that applet, but at the moment I can't even get it to connect. Looking for some help - can't seem to find anything addressing how to make things talk.
In my entrypoint class I define:
native void doSome... | stackexchange/codereview |
I'm having some issues getting a UIImage I draw inside a CALayer to show up without it's blurriness. I'm placing a 400x300px image into a 123x89 CALayer. The scale of this should mean that the resulting CALayer is relatively sharp, but it isn't.
This is the code I'm using to draw my UIImage:
CGSize s = image.size;
... | stackexchange/codereview |
I noticed that some of my services were hanging instead of shutting down, as instructed, because they were waiting on locks held by other services that are waiting for them to shut down (causing a deadlock). To that end, I needed some way to signal the threads waiting for the lock to shut down, so I came up with this:
... | stackexchange/codereview |
If I were to pick an AJAX component library to focus on for general web development, with good grid support and wide range of components, which would you recommend and why?
I started with the following list, based on the fact that they're included in the google libraries API:
Dojo
Ext Core
MooTools
Prototype
Prototy... | stackexchange/codereview |
I've just installed Eclipse and PyDev (again - I've been without it for some time) and everything works like a charm, except one little annoyance:
Every time I start Eclipse, I have to go to Window->Preferences... and configure a Python Interpreter. It's not hard to do (pressing "Auto Configure" works) but for some rea... | stackexchange/codereview |
I have my Login Page which contains another div of Login information (username and password). My css setting for the div header color is WHITE. However, I would like the wording in the Login div to be GREEN. I have created a different css style for the Login div, however it still applies the css from parent div header.... | stackexchange/codereview |
I recently installed NetBeans (and configured it to work with MinGW) following this directions: http://netbeans.org/community/releases/69/cpp-setup-instructions.html. Those direction gave me direct link to MinGW GCC tools which are older version ( 3.4.5 ) So I updated MinGW to 4.5.0 version and now I can't compile C/C... | stackexchange/codereview |
What is the best/clearest way to format the coordinates of a rectangle for diagnostic output? What tricks can I use to make it easy for someone reading the output to quickly figure out if the coordinates are a X/Y/Width/Height vs. a Left/Top/Right/Bottom?
Sounds like a mundane question, but this has been making crazy... | stackexchange/codereview |
Is there any known C/C++ compiler generating obfuscated/noised code?
Or maybe any patch for open-source C/C++ compiler like GCC?
| stackexchange/codereview |
This seems to be a simple problem, but after a while of searching I can't figure out the answer.
I currently have a MySQL table in my local database used by a webapp, and them same table on a database in a remote server. Right now, I'm using the CREATE TABLE IF NOT EXISTS command through PHP to create the table on the ... | stackexchange/codereview |
Does anyone know how to read the contents of an instant message?
| stackexchange/codereview |
I'm using CouchDB and I have a situation where there are a bunch of documents keyed on user ids. I would like to be able to send a single query to update a particular field in all these documents. For example when a notification comes in, I'd like each user document to be updated with it by passing in the list of users... | stackexchange/codereview |
Under what circumstances would I choose to do this:
function foo(){
function setup(){
// do some stuff
}
function moreSetup(){
// and more and more
}
function init(){
// init stuff
}
init();
}
And under what circumstances would I prefer this?
f... | stackexchange/codereview |
I am working on a WPF application. I set up a multilanguage with xml files and I use static resource binding in front code to set the corrisponding text. The issue I have is with doing the same thing in the codebehind.
Here you can see how I use it in front code:
<XmlDataProvider x:Key="Lang" Source="/lng/english.xml" ... | stackexchange/codereview |
Is there a way that one can implicitly declare top-level variables as global for use in closures?
For example, if working with code such as this:
$a = 0; //A TOP-LEVEL VARIABLE
Alpha::create('myAlpha')
->bind(DataSingleton::getInstance()
->query('c')
)
->addBeta('myBeta', function($obj){
$o... | stackexchange/codereview |
I've got an abstract C++ base class CPlugin. From it, there are many classes derived directly and indirectly. Now given CPlugin *a,*b I need to find out, if a's real class is derived from b's real class.
I.e. I'd like to do something like this:
void checkInheritance(CPlugin *a, CPlugin *b){
if (getClass(a).isDerived... | stackexchange/codereview |
I've been trying to get OpenGL-ES to do something roughly like the following to see if glPushMatrix() and glPopMatrix() could be used to put things such as blending states back how they were before glPushMatrix() was called.
It works for rotation/translation stuff - why doesn't it work for some other things such as bl... | stackexchange/codereview |
i am trying to do something with jquery.
i have code like this 1.html;
<html>
<head>
<script language="javascript" type="text/javascript" src="jquery.js"></script>
</head>
<body>
<iframe src="2.html" id="frame1"></iframe>
<iframe src="3.html" id="frame2"></iframe>
</body>
</html>
in 2.html file. i am trying to access ... | stackexchange/codereview |
I am not sure if this is possible, but I want to create a multiple vars dynamically, for instance, these are the vars I create manually,
var left_1 = $('.column-global.left .item-global').eq(0);
var left_2 = $('.column-global.left .item-global').eq(1);
var left_3 = $('.column-global.left .item-global').eq(2);
but the ... | stackexchange/codereview |
The question states what I want to do. I have a bunch of classes with attributes annotated with JAXB annotations, and the results are coming back blank because of lazy loading I think.
| stackexchange/codereview |
I'm trying to construct a HTML/PHP page with three hidden input fields. The values of these are set beforehand by the server. They're all hidden, and they have the disabled attribute. I use them to store values on one page so they can be used on the next page.
However, by using the address bar, you can take off the dis... | stackexchange/codereview |
Is there a command in gdb that I can use to (re)load / "refresh" source files? (As far as I can see, gdb works only with source directories, according to Debugging with GDB: Source - and there is no specific command to "refresh")
Background about my problem:
I use a virtual machine with a debug kernel, so I can connect... | stackexchange/codereview |
How can I insert data using the select statement...
I have come across a question asking, what is select * from orders; used for?
And the answer was for viewing and inserting ....
Please provide an explanation ...
| stackexchange/codereview |
I 've got a problem using pipes in c for linux. My work is the following:
Write a program in c, which will create a child. The child process is going to communicate with the father process using pipe. The father process will give a random number between 0=y then the father will ask from the user his name and and he wil... | stackexchange/codereview |
How can I create a custom read-only Boolean dependency property that returns And operation between two custom Boolean dependency properties, for example (A, B),
And when A or B changes, I want the result property to trigger.
Any help to achieve that!
| stackexchange/codereview |
as my question title, how to configure jms template at spring for weblogic?
i follow an example at some website, but spring always complain about defaultDestination at JmsTemplate
how to configure it correctly ?
<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
... | stackexchange/codereview |
I have been a developer for many years and have used several different programming languages. However, the one I love the most is C#. I think it and the .Net framework make development quick and enjoyable.
With that said .Net works, with MS full support, only on windows machines. I would love to natively use C# on andr... | stackexchange/codereview |
In what situation would one use jQuery's isImmediatePropagationStopped method? Example on their documentation page does not help.
| stackexchange/codereview |
I am using the following code to serialize my object
DataContractSerializer ser = new DataContractSerializer(obj.GetType());
String text;
using (MemoryStream memoryStream = new MemoryStream())
{
ser.WriteObject(memoryStream, obj);
byte[] data = new byte[memoryStream.Length];
Array.Copy(memoryStream.GetBuffer(), d... | stackexchange/codereview |
Here is the code
$(function() {
if(location.hash) $("#content_inload").load(location.hash.substring(1) + ' #content_inload');
$("#nav a").click(function() {
$("#content_inload").load(this.hash.substring(1) + ' #content_inload');
});
});
For some reason it will load everything but will not load the... | stackexchange/codereview |
What is the best way to store themes + css for different clients like posterous.com does?
Do they store entire css for each client? Is this sustainable for large number if clients?
| stackexchange/codereview |
I have a collection of users in a object @users.
In the Ruby language, what are the various ways of looping this collection?
| stackexchange/codereview |
I am trying to apply a texture to a quad, but I only get a black box instead of the texture. I am using DevIL to load images from files and OpenGL does the rest.
Here is what I am doing so far:
The following class abstracts the DevIL representation for an image.
#include "Image.h"
Image::Image()
{
ilGenImages(1, &... | stackexchange/codereview |
Imagine I have the following code:
# -*- coding: utf-8 -*-
from getpass import getpass
#print u'Введите пароль!'.encode('cp866')
passwd = getpass (u'Введите пароль!'.encode('cp866'))
This is for asking user to enter his password in Windows console (thus encoding is 'cp866'). The user sees the following prompt... | stackexchange/codereview |
I have three activities, A, B & C. Where A is a splash Activity and B Contains Login screen which consist of user Id and Password Text Field and one button to login. When I click on login it takes me to the welcome screen shows the user name on screen C.
Here I want to implement Shared Preference so that I can store th... | stackexchange/codereview |
I have an app where users can create plugins for my application and drop their dll in a /plugins folder.
The plugin developers will sometimes have to reference files (xml config files, etc) which should be stored in their respective /plugins/plugin_app/ folder.
However, it seems that when they launch my app the relati... | stackexchange/codereview |
I am thinking of creating a project for controlling my integrated webcam in java.
I have tried searching and found that we need to use JMF for this kinda stuff.
But i couldn't find any good tuts or books which explains JMF from scratch.
| stackexchange/codereview |
I'm trying to make a makefile for compiling various examples that are within a subfolder. The makefile consisting of just:
S_1_2.exe : Twister.cpp Parsing.cpp ./Surfaces/S_1_2.cpp
g++ -o $@.exe $^ -I . -W -Wall
Works fine when run with the command "make S_1_2.exe". However:
%S_1_2.exe : Twister.cpp Parsing.cpp ./S... | stackexchange/codereview |
I am a retoucher and when I post my pictures on my website I want visitors to be able to roll over the picture and have it fade to the original unretouched version and when they move the mouse away I want it to fade back to the retouched.
In my search I have found guides on deviant art for Actionscript 2.0 and for Acti... | stackexchange/codereview |
I'm currently working on a procedural planet generation tool that works by taking a cube, mapping it to a sphere and then applying a heightmap to each face to generate terrain.
I'm using a VBO for each face which is created using the following method:
void Planet::setVertexBufferObject()
{
Vertex* vertices;
int curre... | stackexchange/codereview |
Edit: I initially accepted thejh's answer, but I wasn't really satisfied with it since I wanted to make proper use of generics. So, I kept doing research and found a solution. Read about it in my answer below.
Here's a little self-contained piece of Java code which shows what I'm trying to do. It compiles, runs, and b... | stackexchange/codereview |
here's how my scenario is created.
I click a button which produces a pdf via iTextSharp.
I then click 'Cancel' on the pop-up dialog.
I navigate to another page via hyperlink.
I then click the 'Back' button on IE8
I then click the button which produces the PDF, then I'm redirected to the page I previously viewed (when I... | stackexchange/codereview |
New to C# I have done a good bit of reading on learning the language and in the 2 full books and numerous site articles, do I ever recall reading about the keyword "var" usage not allowed within the class scope but needing to be within some nested element of the class (i.e. method). I know you can declare the variable... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.