instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Here's a similar question for SourceSafe. We have a single SVN repository storing sources of numerous projects. Among those projects something like 25 are built every day each by a dedicated daily build. Once daily build starts it tags the sources with its own name (something like "Build of Project N version X.Y.Z", Z ... | stackexchange/codereview |
I'd like to develop simple 2d games on linux. Something like one below. The only decent tecnology I've found was PyGame. Is there any other worth taking a look? Is there a possibility to develop flash games on linux?
Thanks in advance.
| stackexchange/codereview |
I just submitted my app to the App Store and it's in the reviewing process (3 Degrees of Wikipedia). I have set the "Availability Date" to a future time as some blogs want to cover my app, and I want the release of the actual app come out at the same time as the reviews.
My Problem is: will the promotional code work fo... | stackexchange/codereview |
I want to have table in CoreData that holds a list of other CoreData objects I have accessed, for instance I have Clients and I want a table RecentClients that is simply holding this list and the date they were accessed.
Can I store the objectID and then do a fetch request based on that?
EDIT:
See Ben's answer below an... | stackexchange/codereview |
I'm just wondering if anyone has implemented
hyperlinks in grids. I got a grid with several
columns i.e. Customers, Products, Contacts,
Invoice etc etc. And I want to pop up a screen
depends on which cell it clicked on. I don't want
to simply trap on the OnCellClick event but
only when text is clicked, like a url\hy... | stackexchange/codereview |
I have the following exercise:
The parameter weekday is True if it is
a weekday, and the parameter vacation
is True if we are on vacation. We
sleep in if it is not a weekday or
we're on vacation. Return True if we
sleep in.
Here's what I've done, but the second print function only prints 'None'.
def sleep_i... | stackexchange/codereview |
how do you use the FXFont class on FXRuby so that you can change the font and color of the text on your application? THANKS!
| stackexchange/codereview |
I had a working project. After rearranging some code, I tried to recompile my project and then weird things started happening. Have a look at this excerpt from the compiler's output. I'm compiling from Eclipse on Windows using MinGW G++.
**** Build of configuration Debug for project Pract2 ****
**** Internal Builder i... | stackexchange/codereview |
This is really strange. I want to select a State and load Cities from that State in another combobox.
It's working EXCEPT when selecting the first item in the combobox:
Here's my entire class. The if statement in the selectedIndexChanged is to make sure that something is selected. The problem is that if I set that to c... | stackexchange/codereview |
I'am developing application based on apache MINA. For secure data transmission I use SSL. And there appears some annoying thing: when I receive incomming message, SslFilter class appends about 10kbytes to the log-file. How can I prevent this?
| stackexchange/codereview |
I have a C# application which runs into trouble when it comes to multi-threads / backgroundworkers when I'm using a splash screen before I load the main window.
my code look something like this:
[STAThread]
private static void Main()
{
.. do some stuff
ShowSplash(); // where i show a splash screen and load some stuff... | stackexchange/codereview |
In highly concurrent systems, it can be difficult to be confident that your usage of locks is correct. Specifically, deadlocks can result if locks are acquired in an order that was not expected while being acquired in the proper order in another thread.
There are tools (e.g. Coverity) which can do static analysis on a... | stackexchange/codereview |
What are the differences between dpm() and dsm()?
| stackexchange/codereview |
Hi I'm looking to make a modal div appear on a page using a bounce effect like seen on the iPhone for its pop-up messages.
By bounce I mean like scale bigger than normal and then become the actual size in an elasticated way whilst fading into view.
Any ideas on where to start with this?
| stackexchange/codereview |
I need to draw a Pie Arc in Java with start angle 350 and end angle 20.The cordinate system I follow is as follows:-
|0
|
270-----------90
|
|180
The problem here is that the start angle is greater than the end angle.For the other way round I have managed to draw the arc.Any help wou... | stackexchange/codereview |
<?php
$con= mysql_connect("localhost","root","mysql");
mysql_select_db("Db_name",$con);
$res=mysql_query("select *from table_name");
mysql_close($con); // closing connection before fetching contents.
while($r=mysql_fetch_array($res)) {
echo $r['ename'];
}
?>
This programs works even if i close t... | stackexchange/codereview |
I have an app out that involves keeping track of information over time. Part of the app is a reset button. In order to avoid accidental resets, I made that button respond only to long-clicks. However, that approach confused about 20% of my new users, who thought that the reset button must not be working.
Is there a ... | stackexchange/codereview |
I have a page with a table on it with some information. I also have an asp.net button that I use to send an e-mail with the table markup. Currently, I am regenerating the table and storing it in a string and sending that as the body of the E-mail. What I would like to do instead is use JQuery's html function to grab... | stackexchange/codereview |
I have written a mapreduce application for hadoop and tested it at the command line on a single machine. My application uses two steps Map1 -> Reduce1 -> Map2 -> Reduce2
To run this job on aws mapreduce, I am following this link http://aws.amazon.com/articles/2294. But I am not clear how to use Ruby CLI client provide... | stackexchange/codereview |
I'd like to split and do a substitution in a string in one chained command.
Here's my example including the error message:
>> filebase
=> "Ueki_-_Hello_World"
>> filebase.split("_-_").gsub("_"," ")
NoMethodError: private method `gsub' called for ["Ueki", "Hello_World"]:Array
from (irb):16
It works when I save the... | stackexchange/codereview |
Anyone have any links to a class or package for extracting ar packages in java?
Thanks
| stackexchange/codereview |
I have a service class in my Android app which uses a timer. The timer is set to run at a delay of 1min (60000ms). I want the user to be able to dynamically change this delay. Normally, in java I could just use timer.setDelay(); but Android does not have this function.
Service class so far:
public class LocalService e... | stackexchange/codereview |
Possible Duplicates:
Methodologies for designing a simple programming language
Learning to write a compiler
I would like to write a programming language with a syntax similar to QBasic but even simpler. I want it to be for beginning programmers. Its simplicity will encourage aspiring programmers not to give up and g... | stackexchange/codereview |
I have a UL on a page and on the click of a button I am appending an li and fading it in. This works fine for single clicks. However, when the button is clicked twice, the first animation immediately stops and the second completes.
I have setup a test page to demonstrate this: http://anttears.co.uk/test (the test page ... | stackexchange/codereview |
I have written a transaction like:
BEGIN TRAN
UPDATE [Table1]
SET [Name] = 'abcd'
WHERE [ID] = 1
UPDATE [Table2]
SET [Product] = 'efgh'
WHERE [ID] = 10
UPDATE [Table3]
SET [Customar] = 'ijkl'
WHERE [ID] = 11
Now I want to rollback if any UPDATE is not success. For ex... | stackexchange/codereview |
We have a very large app which has been designed exclusively by a single developer who is a bit reluctant to give too much information out on how it has been put together.
We were thinking about using a UML tool for educational purposes so others can start to learn and take ownership of the code but with the the large ... | stackexchange/codereview |
Hey.
I don't know if this is possible, but worth a shot. Say there's a third party racing game which doesn't use the mouse. Is there a way for me to create a Windows Form app which listens for mouse clicks and transfers a corresponding key to the game/active window (e.g. Left click would send the 'Up arrow' key to ac... | stackexchange/codereview |
I have been told that I need to add a new file type to linux. File types are declared in fs.h Relevant part posted here:
* File types
* NOTE! These match bits 12..15 of stat.st_mode
* (ie "(i_mode >> 12) & 15").
*/
#define DT_UNKNOWN 0
#define DT_FIFO 1
#define DT_CHR 2
#define DT_DIR 4
#... | stackexchange/codereview |
I am new in iphone development. I have a issue. I want to convert a NSTimeInterval value in NSString, but not success in this. please a quick look on below code.
in .h
NSTimeInterval startTime;
NSTimeInterval stopTime;
NSTimeInterval duration;
in .m
startTime = [NSDate timeIntervalSinceReferenceDate];
stopTime = [NSDa... | stackexchange/codereview |
i have the following regex which is working fine in JAVA code
[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?
but same is not working in the Java script
can any one please tell me the solution for this
t... | stackexchange/codereview |
I'm using this control but I can't to handle control click (and others events).
This is my code:
class BoExplorerPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, wx.ID_ANY)
self.initComponents() # initialize Window components
def initComponents(self):
print "Inizializzo... | stackexchange/codereview |
I want to do something similar to stackexchange but with their own domain. I want to have 1 single database, repository/model layer, service layer on 1 server. Then on a different server or same server, I have a web project which can access those layers.
Is there a way to achieve this without a hit in performance on t... | stackexchange/codereview |
test.h
NSString *name;
@property(nonatomic,retain) NSString *name;
test.m
@synthesize name;
here why did we use nonatomic , retain in the property and in .m file why we are using @synthesize ?
please answer ,
| stackexchange/codereview |
Hello I am using core data in my application, and want to set ID attribute in every entity as autoincrement. Is it possible in core data? Or I have to manually insert the entry and manage the increment programatically??
| stackexchange/codereview |
The following sql, with the MAX aggregrate function in the WHERE clause, does not work:
SELECT
ID,
title,
relevance
FROM
myTable
WHERE
(relevance <= MAX(relevance)/2)
Can anyone point me in the right direction? myTable is a temporary table, so cannot be referenced again using a sub-query. Tha... | stackexchange/codereview |
I have a nested resource, setup like this:
resources :chickens do
resources :eggs
end
The views for the EggsController are under views/eggs, but:
describe "eggs/index.html.erb" do
gives a "No route matches {:action => "create", :controller => "eggs"} error on calling render. How do I get RSpec to find the co... | stackexchange/codereview |
This doesn't work.
var result =
from row in grid.Rows
where (string) row.Cells["COLUMN_1"].Value == "Test"
select row.Cells["COLUMN_2"].Value as int?;
But this does.
var result =
from row in grid.Rows.Cast<DataGridViewRow>()
where (string) row.Cells["COLUMN_1"].Value == "Test"
select row.Cell... | stackexchange/codereview |
I have 2 TextView's in a horizontal LinearLayout. The LinearLayout fills the screen horizontally. How can I achieve the following behaviour:
If the first TextView is too big, it is ellipsized at the end like this:
[firstTextViewIsTooBig...|secondTextView]
If the first TextView is not big, the layout should look like t... | stackexchange/codereview |
I want to dynamically display some text from an array one after another in a dynamic textfield.
var wordList:Array = new Array('one','two','three');
for (var i = 0; i < wordList.length; i++) {
this.text_mc.txt.text = wordlist[i];
// Pause for 3 seconds and then move next
}
its the "Pause for 3 seconds and the... | stackexchange/codereview |
What are the possible options and the most appropiate for reading an executable file in Java.
I want produce the hexadecimal representation of an .exe file. Im thinking of reading the file in binary and then doing the conversion. But how can i read the .exe?
| stackexchange/codereview |
Ok, this is a tough one.
Introduction: My idea is to attach an instanciated QueryBuilder class which I wrote, to a PropertyGrid. The QueryBuilder class now contains a couple of fields, which are hardcoded like in the example below. Thus allowing a user to specify, which fields should be used in a query in what way (sor... | stackexchange/codereview |
If I set the AutoResize mask of my view, then they will resize together with the main window during device rotation.
Is there a way to get the same smooth performance by using my own animation and no autoresize?
| stackexchange/codereview |
I've got a simple blog application which I'm porting to Django. One stumbling block I've come across is the aggregation of article entries by month, and displaying that as a list. Each article in the db has a simple datetime field. The HTML output should be something like:
2010
January (3 entries)
February (2 entries)... | stackexchange/codereview |
Consider the following code:
uint32_t x = ~uint8_t(0);
std::cout << x << std::endl;
Now, I fully expected this to output 255, but instead it output 4294967295.
I'm aware of integer promotion in C++, but I can't understand why this would happen. The way I understand it, the expression ~uint8_t(0) should evaluate to ... | stackexchange/codereview |
I'm having what I hope is a simple-to-fix issue.
Basically, I've got one block of javascript containing the function, and then I'm trying to call it from another block of javascript (within a jQuery $(document).ready function). Whilst it works fine on Firefox, I get an 'Object Expected' error in IE7. It's probably some... | stackexchange/codereview |
I was looking for a way to replace instances of
[number][char] or [char][number] like it occurs in mathematical expressions (e.g. 4x + 20y)
with [number]*[char] or [char]*[number],
I have two problems with that
How do i reuse the found number and char => `replaceAll("[0-9999][a-z]", "[1]*[2]")` ?
Whats the best way t... | stackexchange/codereview |
Am suppose to return the number of character comparisons. In the while() loop i compare the index of the characters and update the counter. My question is, is it right to do it that way or i have to compare the characters themselves. I think comparing the index and updating the counter is the same as comparing the cha... | stackexchange/codereview |
Consider 2 DataGridViews both with SelectionMode = RowHeaderSelect. In grid1 I have 2 columns; a TextBox and a CheckBox. In grid2 I have 2 columns; a ComboBox and a TextBox.
When I click on the RowHeader, the focus goes to the first cell, not the RowHeaderCell. When I press the DEL button, the contents of the cell is... | stackexchange/codereview |
I'm converting a Delphi ISAPI dll to work better on IIS 7.0 and 7.5. The ISAPI used to read its configuration from the registry but I wanted to convert that to using the web.config file in the same folder.
It worked fine with CGI but the ISAPI is another matter. I'm using GetModuleFileName to get the path of the module... | stackexchange/codereview |
I need to develop a web application for the Intranet users. I dont want them to enter the login credentials each time they visit the site. It should be automatically loaded from the System Username and Password. i.e If they have a valid system username and password they should be able to login to the application. I am ... | stackexchange/codereview |
I am looking to join two columns as a single ... Here is an idea ..
=======================================================
id | firstname | lastname
=======================================================
1 | Peter | Das
-------------------------------------------------------
2 | Das ... | stackexchange/codereview |
I have a WPF user control where I have multiple text boxes and and combo boxes. For easy use I want to provide shortcut keys to focus some main control.
Suppose if I press ALT + M it will focus on a text box named txtPatient.
If I press ALT + B it will focus on a text box named txtRef.
I am using MVVM as the design pat... | stackexchange/codereview |
I have got below JQuery where I am performing the .load function.
$(".load-fragment").each(function()
{
var $objThis = $(this);
var fname = $objThis.attr("href"); //Getting the href of the element
var dynDivID = "divContent"+ $objThis.attr("id"); //Name of... | stackexchange/codereview |
I'm working on a small project (some mark tracking software for a school subject department - PHP frontend with a sqlite DB) and have decided to use ORM.
I've taken a look at RedBeanPHP but it seemed a bit too limited for my liking. As such, I've decided to give Doctrine a go.
My only prior experience with ORM is LINQ ... | stackexchange/codereview |
How to Show/Hide/Toggle Element with ExtJS?
| stackexchange/codereview |
I'm not a SQL server expert by any means, and I'm hoping this is something simple. The scenario: I create a new database with all the defaults, then add a table with a primary key and two nvarchar(max) fields, but I forget to set the identity specification on the key so I go back and try to change it the IsIdentity pr... | stackexchange/codereview |
I'm trying to deploy a web site on a secure server, but I'm having problems with reflection.
I guess this have something to do with security, but I'm not quite sure.
The error occurs when doing Assembly.GetTypes()
ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExcept... | stackexchange/codereview |
I'd like to create/update a "sub-object" within an admin edit dialog.
I have a "CmsObject" model, which contains several "CmsPageItem" objects (currently there will be just one fixed CmsPageItem, but that will change in the future). Rather then letting a StackedInline widget control the layout, I would like to display ... | stackexchange/codereview |
I need to freeze the first column and first row of data in a CellTable, so that users can scroll through the data but still see the labels on the "axes." The first column should scroll when the user scrolls up and down, and the header row should scroll when the user scrolls left and right. Think "Freeze Panes" in Exc... | stackexchange/codereview |
I have a macro where I pass in an argument and use that define a new variable based on the name of the input:
#define DO_X(x) char _do_x_var_ ## x; /* other things */
The problem is if I pass in a struct variable, it breaks:
DO_X(some_struct->thing)
becomes:
char _do_x_var_some_struct->thing; /* other things */
EDIT... | stackexchange/codereview |
I am new to silverlight. Excuse me if this is simple question.
I am trying to craete a sample application using Silverlight 4 in VS2010. The code that is generated by defualt in the aspx page is(apart from the script):
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="applicat... | stackexchange/codereview |
Well , i want to test out which scheduling algorithm is suitable for my application , but unable to figure out on how to go about testing. i have a set of jobs to be executed , for SMP (Symmetric Multi Process ) execution i used Parallel Python , but not able to apply Job Scheduling algorithm .
For ex: if i want to i... | stackexchange/codereview |
I am trying to implement pinch zoom and it is working but when i zoom out and then zoom in again the resolution of the image(bitmap) decreases.
I am aware that this is just normal behavior of my code and i want to know how to do this with right way .
here is the relevant code :
Matrix matrix = new Matrix() ;
float scal... | stackexchange/codereview |
Afternoon all,
I'm looking for a way of presenting near realtime data using line charts within my web application. Specifically, my requirements are as follows:
It should support zooming (with the mouse wheel too!), scrolling, selecting different time ranges, etc.
It should support presenting data at multiple resoluti... | stackexchange/codereview |
Greetings,
I feel kinda stupid for asking this, but I want to set the windows sdk build environment so that any process (including some non MS developer tools) can access the correct setup, without me trying to inject setenv.cmd /x86 into every process's startup.
I can't seem to find the right search terms for this, ... | stackexchange/codereview |
I want to know the size of my database using php.
How to display the size in megabytes entire database? Size in megabytes a specific request?
| stackexchange/codereview |
Is it possible to make a content type "abstract" in SharePoint 2010, i.e. users will only able to use the content types that inherit from the parent, and not create items/lists that use the base content type directly?
| stackexchange/codereview |
For some reason, when I create a bitmap from an image in asset, it does not display fullscreen. When I take an image from drawable, resId, the image shows fullscreen. Why is this?
//the image is not fullscreen
ImageView iv = new ImageView(getBaseContext());
iv.setImageBitmap(bitmapFileFrom... | stackexchange/codereview |
Am writing av analytical standard solution register from the doping laboratory that i work for and got stuck on the problem how to get the ipaddress of the client in to the audit table.
I have found a straight forward method for actually get the ipaddress on the web and my question is not about that.
I got triggers o... | stackexchange/codereview |
I have a sql query that has two parts
1) Which calls a stored proc and populates the data in the temp table (using openXML function)
2) The other part of sql that joins with this table and the result set
Currently when i execute the stored proc it returns me the two result set. But it should return only me the second ... | stackexchange/codereview |
Please how this string concatenation taking place?
i am really confuse what is happening why that slash i there and how the double quotes are used
SessionStateItemCollection items = new SessionStateItemCollection();
items["LastName"] = "Wilson";
items["FirstName"] = "Dan";
foreach (string s in items.Keys)
Response.... | stackexchange/codereview |
To store user passwords I am going to SHA 256 + salting. Just wanted to confirm if these are correct. Business requirement is password should be minimum 8 inputs and maximum 32 inputs. (any input is valid except blank space)
So to meet these requirements the plan is:
Front end - validate max input of 32 & min input of ... | stackexchange/codereview |
in php
$arr = array()
$arr[0] = "string 1";
$arr[1] = "string 2";
how about in c?
thanks
| stackexchange/codereview |
I'm having a hard time understanding the Spigot algorithm for π (pi) found here at the bottom of the page.
I'm getting lost at the bottom of part 2 "Put A into regular form", I'm not exactly sure how to implement this in C (or any language really)
| stackexchange/codereview |
I'm new to JQuery and I'm trying to use it to implement an enhancement in an old web application.
I'm gathering a list of strings from a server and rendering each one of them in its own anchor tag such that they appear in a comma delimited list. I assign that generated markup to a span's inner html:
$.getJSON("http://... | stackexchange/codereview |
I have coded something which would return the contents of a excel sheet as a hashTable. The code is
public Object[][] validDataProviderScenarioOne() {
excelWorker excel = new excelWorker();
String pathValue = excelWorker.LocatingXls("Data.xls");
Hashtable<String, String>[] hashDrv =(Hashtable<Str... | stackexchange/codereview |
I woud like to implement some editing mechanism for an iPhone application, that is I want the user to be able to edit an instance of my model. The model contains two types of data: The first is just an NSString where the user can write virtually anything he likes. The second one is a selection where he is able to pick ... | stackexchange/codereview |
I have a number of data layers defined in the following manner:
var mylayer = new OpenLayers.Layer.TMS("MY LAYER NAME", "", { type: "png", getURL: my_layer_geturl, isBaseLayer: false, visibility: false, attribution: 'Some Attribution text' });
Which I add to the map and it appears on the layer switcher and all is well... | stackexchange/codereview |
<?php
$x = array
(
'test' => array('asd', 'works'),
'blah' => $x['test'] + array('more')
);
print_r($x);
?>
Basically, is it possible for 'blah' to have the contents of 'test'?
| stackexchange/codereview |
I have two views that show roughly the same data, but one is by client while the other is by project. Normally this would be great, as the same display template gets re-used across both views. However, I need the display of those items to be different when they list by client vs by project. However, they already hav... | stackexchange/codereview |
I am using the default DllSurrogate to enable automation of a 32bit COM object in 64bit. This works perfectly in Windows7 64 bit and Windows Server 2008 R2. However; regular flavor Windows Server 2008 (pre R2) completely ignores the DllSurrogate entry in the registry. I've researched this for days and found document... | stackexchange/codereview |
I would like to use a mix-in class to add properties to a model.
from google.appengine.ext import db
class Taggable(object):
tag_list = db.StringListProperty()
def attach_tag(self, tag):
self.tag_list.append(tag)
self.put()
def remove_tag(self, tag):
self.tag_list.pop(self.tag_lis... | stackexchange/codereview |
I'm working with DataMapper and trying to use associations between models Project and Task. I have the models in separate files project.rb and task.rb. When I try associating them with each other I get the following error:
Cannot find the parent_model Project for Task in project (NameError)
I gather this is caused by... | stackexchange/codereview |
I like the look of the POS.NET SDK for controlling devices such as cash draw or receipt printers but want something that will also run on a Mac. Does anyone know of a cross platform equivalent?
| stackexchange/codereview |
When a user enters a URL, e.g. http://www.google.com, I would like to be able to parse that text using PHP, find any links, and replace them with <a> tags that include the original URL as an HREF.
In other words, http://www.google.com will become
<a href="http://www.google.com">http://www.google.com</a>
I'd like to be ... | stackexchange/codereview |
I'm writing a stopwatch application for BlackBerry (which is similar to the BlackBerry built-in StopWatch). There is a timer label displaying current time in the format MM:SS:T (minutes, seconds, tenth of second). The label is refresh each 100 millisecond with TimerTask.
The application works well and the time is d... | stackexchange/codereview |
I want to make my page viewed at full screen.
How can I programatically press F11 on page load. Is it possible?
Thank you
| stackexchange/codereview |
I want to default close status of grid splitter when my silverlight application starts, how can I do this?
I set IsCollapsed="true", but this doesn't work. Any suggestions?
| stackexchange/codereview |
I have a conditional, and I want to test to see if two things are true. How can I do an equivalent of && or || from Java in Scheme?
| stackexchange/codereview |
A library i'd like to use makes calls to functions like "malloc_dbg" which are defined in libcmtd.lib but not in libcmt.lib (so I get Linker errors in Release mode)
Do I really need to use the debugversion of that lib even in releasemode? or can I somehow use libcmt.lib and libcmtd.lib together, but use libcmtd.lib onl... | stackexchange/codereview |
Currently I have an Order class. each order has 1 to infinite number of items. the number of items is not known until run time. since there is no field type of Array in active record / rails, how do you create a variable number of columns?
The only way I can think of is to specify a bunch of ticket columns ahead of... | stackexchange/codereview |
Currently working through a tutorial on JOX included within Sams Teach Yourself JavaServer Pages 2.0 with Apache Tomcat in 24 Hours
Either the com.wutka.jox has changed or the author missed a crucial ingredient.
When I try to execute:
java "hu/flux/xml/XMLTestClient" "http://localhost:8080/SamsTeachYourselfJSP/joxparse... | stackexchange/codereview |
I am reading one tutorial :-
http://www.tutorialized.com/view/tutorial/Integrating-Flash-and-mySQL/2334
But i can't understand what is "Gateway.php" and all such things . Can anybody point me to some nice tutorial link? I am a beginner in Flash.
Thanks in advance :)
| stackexchange/codereview |
Let's say I want to perform this query:
(SELECT a FROM t1 WHERE a=10 AND B=1)
UNION ALL
(SELECT a FROM t2 WHERE a=11 AND B=2)
UNION ALL
(SELECT a FROM t3 WHERE a=12 AND B=3)
ORDER BY a LIMIT 1000;
Is MySQL smart enough to skip "t3" if 550 results are available in "t1" and 450 in "t2"?
I'm looking at MySQL docs... | stackexchange/codereview |
So this is something I guess many people want to do, mock a collection. In the past with Rhino I have done this with something like:
var col_mock = MockRepository.GenerateMock<ICustomCollection>(); // returns ICustom let's say
List<ICustom> col_real = new List<ICustom>();
col_real.Add(custom_mock1);
col_real.Add(custo... | stackexchange/codereview |
There is a form in my html code. I need to confirm if the user wants to save the current form when they are about to redirect accidentally (by clicking on links, or clicking on the back button of the browser, etc)
I know GMail has a solution for this. It confirms whether I want to save my new mail as draft when I was l... | stackexchange/codereview |
i have created a new user using custom membership provider in asp.net mvc 2.0.It is created the user successfully.But now i want to check whether it is created successfully or not .If it is created successfully i want to redirect it to other page ,if not i will remain in the same page.please tell me how to do this and ... | stackexchange/codereview |
I'm having an issue using a watermarking script I have. Below is the script:
if (isset($_GET['imgid'])) {
include "../mysql_connect.php";
$imgid = $_GET['imgid'];
$query = "SELECT * FROM img_ref WHERE id='$imgid'";
$result = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_array($result... | stackexchange/codereview |
When I call NavigationService.GoBack(); it doesn't reload the page.
For example I have Page 1 which is my Login page, then I Navigate to Page 2 to the Settings Page. When I have saved my Settings on Page 2 I wish it to Navigate back to Page 1 and show the new settings that are displayed.
Is there any call I can make wh... | stackexchange/codereview |
What is difference between following code?
Code 1:
var f = function() {
// function body code
// ...
// ...
}();
Code 2:
var f = (function(){
// function body code
// ...
// ...
})();
Which one is better to use?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.