instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
In my c# applications I usually get the version (to show the customer) using the following code:
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
This does not work in Windows Phone 7 (it hangs the emulator, and phone crashing is a no-no for MS).
So, how do I get the version of the executing on a wi... | stackexchange/codereview |
I get ReffererUrl from current User, if refferer is exists i need to extract hostname without .com/.co.uk .... etc. value from it. So if ReffererUrl is http://main.something.biz/sup.aspx?r=e3432r3 i want to get just "something".
Doesn't matter whether it is Regex or something else.
thanks...
| stackexchange/codereview |
I need to replicate a xsl statement where is selecting the sibling node of the node value starts with.
ex.
XSL statement
<xsl:value-of select="//FullProblemList/Test[starts-with(ReadCode, '13l')]/Notes"/>
linq statement
if (document.Descendants("FullProblemList").Descendants("Test").Descendants("ReadCode").First().Val... | stackexchange/codereview |
i am writing an SDL / OpenGL application that runs under OSX. I have to use existing code which uses the DevIL library for loading JPG and PNG textures. Unfortunately, this works very bad under OS X, so i decided not to use DevIL at all, and rewrite the respective parts of the application using another library. I want ... | stackexchange/codereview |
Firefox has native support for SVG. However, I have a web page where the SVG graphig is <embed>ed, and a plugin is requested to show it.
When I click on the plugin icon, no plugin is proposed by FF.
Questions:
Is there such a plugin?
Is there a way to make FF display embedded SVGs using its native support without inst... | stackexchange/codereview |
Is there any description for all the processed tags in the xml/ini config for uWSGI?
The docs say that all the command line options may go in xml/ini, but there is more, in particular the following config is processed properly:
<uwsgi>
<home>/var/www/example.com/</h... | stackexchange/codereview |
I have the following code:
public ActionResult ViewCategory(string categoryName, string searchCriteria = "Price")
{
// Retrieve Category and its associated Listings from the database
var categoryModel = db.Categories.Include("Listings")
.Single(c => c.Title == categoryName);
... | stackexchange/codereview |
Is there a way to add a "Build & Analyze" icon to XCode's toolbar? If not, is there at least a way to assign a keyboard shortcut to this option?
| stackexchange/codereview |
I am writing a robust, scalable, and fairly complex website engine using HTMl, CSS, and JavaScript. I don't want it to get ripped off, and I'm wondering if there's any way to protect the source from being viewed in the client.
I am particularly concerned about the JavaScript, and I'm wondering if I can protect it by ho... | stackexchange/codereview |
See this link: http://james.padolsey.com/jquery/#v=1.4&fn=jQuery.fn.hasClass
var className = " " + selector + " ";
....
(" " + this[i].className + " ")
Many times in my career I've had uses for functions that trim whitespace, I have never seen a reason to add whitespace. What is the purpose of the empty strings being... | stackexchange/codereview |
there is a web site called: SPAM
I am trying to make the same home page of this web site using js, jquery and some css.
Now, the question is how to fix the image size according to the box in the center.
How can I create best user experience as if SPAM has.
You may experience by viewing the web site of SPAM in different... | stackexchange/codereview |
I've wondered about this for a while now. When Matlab prints the matrix A, for instance, with
A
it sometimes appears in scientific notation such as
A =
1.0e+03 *
0 0 0.0070 0.0080 0.0030 0.0010
0 0.0030 -0.0460 0.0400 -0.0930 0.1800
0.0010 -0.0530 -0.014... | stackexchange/codereview |
How do I overload the << operator for enums that are members of a class. Specifically, I have the following code below:
#include <iostream>
using namespace std;
namespace foo {
class bar {
public:
enum a { b, c, d};
static void print() {
cout << b << endl;
}
};
os... | stackexchange/codereview |
I'm currently building a custom photoalbum but now I'm stuck with a mysql query.
The idea of the query is to fetch a list of albums, count the number of pictures in it, and fetch one thumbnail per album.
The database now consist of two tables, one containing the album data and one containing the pictures (I store them ... | stackexchange/codereview |
What's the opposite of CreateDesktop()? CloseDesktop() seems to only close the handle to the new desktop, but not to delete it.
| stackexchange/codereview |
I'm getting the following error when trying to use JRuby, Bundler, the Glassfish gem, and Rails 2.3.9 in production:
Could not load the bundler gem. Install it with `gem install bundler`
No matter what I try, this happens. I deploy via capistrano, and the bundle gets created in the shared directory of the app. Bundler... | stackexchange/codereview |
->Short Introduction, you can SKIP this part
I'm glad to be able to finally post on this platform, because I for myself have gained so much knowledge through this community; just by reading. So I wanted to say "Hello everybody, and thank you!
Actual Content(prologue):
Though I'm developing in Objective-C in my company... | stackexchange/codereview |
I need to write a Java program which reads in a string from the keyboard and then reports how many times each letter of the alphabet occurs within that string (ignoring case). It should also report how many non-letters are included in the string.
but I don't even know where to begin
if someone is willing to write this ... | stackexchange/codereview |
I have been trying to follow the Active Record Nested Attributes Guide, without much success.
I have the following models:
class Contact < ActiveRecord::Base
has_many :telephones
accepts_nested_attributes_for :telephones
end
class Telephone < ActiveRecord::Base
belongs_to :contact
end
When trying to create a co... | stackexchange/codereview |
I wrote a jquery code to send values to a php file
$('#def_formSubmit').live("click",function(){
var query_string = '';
$("input[@type='checkbox'][@name='assotop']").each(
function()
{
if(this.c... | stackexchange/codereview |
My program is going to build me lots of homes. The specification for each home is based upon a defined blueprint, and each home must be constructed in a specific order. I imagine that I will have a construction crew. This crew can do everything,
class crew
blueprint
fn frame_house
fn get_wood
... | stackexchange/codereview |
There is an "out-of-the-box" way to update Twitter from Identi.ca.
But, is there any solution for update Identi.ca status from Twitter ?
If I use:
twitterfeed.com
http://api.twitter.com/1/statuses/user_timeline/llaumgui.rss&trim_user=true
I have a unsightly "llaumgui:" before each Twitt...
| stackexchange/codereview |
i would like to create a simple charting system for stock in Gtk# (and C#), with the possibilities to draw inside it.
I don't know where to start: it's best to start from scratch ?
Or using something pre-made ?
Is it best to use Cairo ? Or System.Drawing ?
Are there some piece of code i can reuse ?
Thanks
| stackexchange/codereview |
I wish to implement 'find...' functionality on the text present in mx:TextArea control. I could find the word using indexOf() function. I am finding difficult to:
highlight correct word
continue search using shortcut key say Ctrl+f (or F3)
wrap search functionality
Please let me know a way to overcome these issues?
| stackexchange/codereview |
I am getting an error when I run this app in VS 2010 (it works fine in VS 2008)
Private Sub GenerateInvoice()
Dim emptyObject As Object = System.Reflection.Missing.Value
Dim wordApp As New Word.Application
wordApp.Visible = True
Dim InvoiceDoc As New Word.Document
InvoiceDoc = wordApp.Documents.Add(InvoicePath, emp... | stackexchange/codereview |
Hey, is there a way using Spring.net to run a select query and have it return a single value. If there is a way, how do I go about doing it?
| stackexchange/codereview |
I'm attempting to use regexp to parse a search string that from time to time may contain special syntax. The syntax im looking for is [special keyword : value] and i want each match put into an array. Keep in mind that the search string will contain other text that is not intended to be parsed.
$searchString = "[Start... | stackexchange/codereview |
I'm making a game in Qt.
The game itself is displayed by QGraphicsView/QDockWidget in a QMainWindow.
But now i'm trying to make a menu for it, so I thought to make an extra QMainWindow with QPushButtons. But I want this all to be integrated in one QMainWindow.
So when I click "New Game" in the menu, the game(QGraphicsV... | stackexchange/codereview |
How to disable the validation on marshaller for jaxb1?
| stackexchange/codereview |
I'm making a UML diagram using Dia. Do I need to put const in the diagram when a function is const? If so, where?
| stackexchange/codereview |
I'm new, but I read a lot about memory management, and really tried to find the answer myself.
It sounds so basic and yet I apparently don't get it.
I have a NSMutableArray as property in .h:
@property (nonatomic, retain) NSMutableArray *documentListArray;
I synthesize it and release it in (void) dealloc.
To populate ... | stackexchange/codereview |
Possible Duplicate:
UITableViewCell with custom gradient background, with another gradient as highlight color
Hey, I want to put a slight gradient background for my tableview cells to make them look more interesting. Should I just make image and put it on the background or use code to draw it? If If I should use cod... | stackexchange/codereview |
Why is this not working?
<div class="videocontainer" id='mediaspace-55'></div>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js?ver=3.0.1'></script>
<script type='text/javascript'><!--
var flashvars = {
provider: "highwinds",
... | stackexchange/codereview |
Notice in Xcode's symbols list (the NSPopUpButton directly above the editor, to the right of the recently edited documents), it shows <No selected symbol> when you're out of scope of any symbols it lists, but then when you click on it that option is not there. Is there a trick to making this "placeholder" magic happen... | stackexchange/codereview |
Is it possible to convert a webpage along with images and preserving styles into PDF document using open libraries like iTextSharp using C#.
| stackexchange/codereview |
What is the problem with this following code?
class EMAIL_BODY{
public $REGISTRATION = <<<EOF
<html>
<head>
</head>
<body style='font-family: helvetica;'>
Welcome <b>#{FIRST}</b>, <br/> You have successfully created your account.
... | stackexchange/codereview |
I've searched Google for the answer and have found nada so even a link to a page showing how to do the following will be much appreciated.
Basically I have a form with nothing but images
<form>
<input type="image" src="image.jpg" value="image_value">
<input type="image" src="image2.jpg" value="image_value2">
</form>
I... | stackexchange/codereview |
Using NSDate is tricky to me. I know it represents a specific point in time, not tied to a specific time zone or locale. I've also read a lot fo the docs on NSDateFormatter, NSCalendar, NSDateComponents, NSlocale, and NSTimeZone.
I'm trying to do calculations based on two specific Pacific time zones. For example, I ... | stackexchange/codereview |
W is a tall and skinny real valued matrix, and diag(S) is a diagonal matrix consists of +1 or -1 on the diagonal. I want the eigen decomposition of A = W * diag(S) * W' where single quote denotes transposition. The main problem is that A is pretty big. Since A is symmetric, rank deficient, and I actually know the maxim... | stackexchange/codereview |
Here is the function which is giving segfault in pthread_join:
void call_merge()
{
int no_runs = No_sub_seq;
int no_joins=no_runs-1;
int magic1=0,j=0,inc = 1;
int temp_runs = no_runs/2;
int i,k;
while(temp_runs!=0)
{
magic1=0;
std::list<pthread_t>... | stackexchange/codereview |
I am trying to upgrade my web.xml from 2.3 to 2.4, so I changed my web.xml to something like this -
<?xml version="1.0" encoding="UTF-8"?>
<!--<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, ... | stackexchange/codereview |
I want to set image dynamically on the ImageButton in android. However, I have more than 200 images. What would be the good solution for that?
The best idea is that I can use the name of image to call different images. i.e. imagebutton.setImage("/res/abc.png"); however, it seems to me that it is not trivial to do so.. ... | stackexchange/codereview |
I have an application that was originally created compatible with iOS 2.x. With Xcode not supporting 2.x anymore, I was forced to make it compatible with 3.x.
The app works beautifully on iPhone 3G, 3GS and 4, but some buttons are vanishing on iPod Touches 2nd Gen.
My theory is that these devices are using iOS < 3, so ... | stackexchange/codereview |
I`m preparing application where user can book a room for specified period. I want to show user a calendar where he will be able to select start and end date of his reservation, but i also want to markup the days in which the room has already been reserved. Is it possible using jsf/myfaces?
| stackexchange/codereview |
I am using TCPDF Library Version: 5.9.011. I am trying to execute HTML layout as PDF. For which I tried with example provide with the site
$html = '<h1>HTML Example</h1>
<h2>List</h2>
Some special characters: < € € € & è è © > \\slash \\\\double-slash \\\\\\triple-slash
';
// output the... | stackexchange/codereview |
Can anyone explain the roles of virtual machines in cloud computing?
What kind of virtualization is required for cloud computing?
Can a cloud work without virtual machines?
And what are the possible interfaces to cloud services, how can a user access the cloud?
| stackexchange/codereview |
How can I collect translation strings outside of my project folder using Django's built-in makemessages facility? The management command makemessages is very convenient and I'd like to use it for applications located in site-packages.
| stackexchange/codereview |
The java API guarantees that it will never return a null - but for me, it is!
http://download.oracle.com/javase/6/docs/api/javax/xml/transform/TransformerFactory.html#newTransformer(javax.xml.transform.Source)
Relevant code:
xml = new StreamSource(new URL(mondialURL).openStream());
xsl = new StreamSource(new File("/REM... | stackexchange/codereview |
Ok, so i have a normal query that inserts to the database.
mysql_query("INSERT INTO users_pm_in (uID, msg) VALUES ('$uID', '$msg')");
Now this table has also a column called "id" with auto_increment & primary key.
When it inserts it auto makes number for the column in the row. Now I want this number, and put it in col... | stackexchange/codereview |
This snippet is not compiled in LINQPad.
void Main()
{
(new[]{0,1,2,3}).Where(IsNull).Dump();
}
static bool IsNull(object arg) { return arg == null; }
The compiler's error message is:
No overload for 'UserQuery.IsNull(object)' matches delegate 'System.Func'
It works for a string array, but doesn't work for int... | stackexchange/codereview |
I have 2 databases in SQL Server 2005.
I want a functionality that i have same table structure in 2 database for example i have a same table named as testData in 2 database named as dbTest1 and dbTest2.
Now i want a single query through which i can add all the records from table testData of database dbTest2 into table ... | stackexchange/codereview |
Morning,
I have a stored procedure that returns 'SELECT *' from a table.
Whenever I add a new column to the table, the 'SELECT *' often returns some data in the wrong columns.
Is this an optimization or caching problem? How do I solve this without having to explicitly define the return column names in my stored procedu... | stackexchange/codereview |
Are function declarations/prototypes necessary in C99 ?
I am currently defining my functions in a header file and #include-ING it in the main file. Is this OK in C99 ?
Why do most programmers declare/prototype the function before main() and define it after main() ? Isn't it just easier to define them before main and av... | stackexchange/codereview |
I have an ASP.NET application, using LINQ to connec to a SQL Server 2008 R2 databse.
My connection string:
Data Source=[SqlServerIp];Initial Catalog=[databaseName]User Id=newLogin;Password=newPassword;
When I deploy the application on my local IIS (which is not the same machine as database server) it works fine, but w... | stackexchange/codereview |
for days now, I try to get the following scenario running:
I have a Silverlight 4 Application that calls a WCF-Service via HTTPS. The WCF-Service is located on one of our servers, the Silverlight 4 app is also served from this server. After several hours of trial and error (well actually more error than try) I get it r... | stackexchange/codereview |
What is the best solution to check is one control located over other.
For example, I have two TextBoxes and when one TextBox is over the other I need to hide one of them.
AND i need to determine is this cotnrols overlaped before i will add them to visul tree!
| stackexchange/codereview |
I am building an ant script with groovy markupbuilder. Unfortunately markupbuilder doesn't allow me to create nodes with name 'target' (no problem with targetee),
becauase it throws me
Caught: groovy.lang.MissingMethodException: No signature of method: java.lang.String.call() is applicable for argument types: (java.uti... | stackexchange/codereview |
I have the following two models:
class PhotoAlbum < ActiveRecord::Base
belongs_to :project
has_many :photos, :dependent => :destroy
class Photo < ActiveRecord::Base
belongs_to :photo_album
When the user is viewing a photo, the URL is like follows: "/photo_albums/40/photos?page=6"
On this photo view page (... | stackexchange/codereview |
Can anyone explain what the target "oldconfig" does exactly in the Linux kernel makefile? I see it referenced in some build documentation but never explained what it does exactly.
| stackexchange/codereview |
I have the following class (which is a JPA entity listener):
@Service
public class AuditLogListener {
@Autowired
IDomainObjectDAO domainObjectDAO;
@PostLoad
public void saveOldData(DomainObject obj) {
domainObjectDAO.findAll();
System.out.println("after Load");
}
@PreUpdate
... | stackexchange/codereview |
I have a server application written in C++. After startup, it uses about 480 KB of memory on x86 Linux (Ubuntu 8.04, GCC 4.2.4). I think 480 KB is an excessive amount of memory: the server isn't even doing anything yet, no clients have been connected to the server. (See also my comment below in which I explain why I th... | stackexchange/codereview |
I am looking to be pointed in the right direction.
I have 1 class Event
class Event{
private:
vector<string> Question;
char Mode;// 1 = Ascending 2 = Descending 3 = None
string EventName;
public:
Event(string Name){
EventName = Name;
SetQuestionSize();
SetQuestion();
Mode = 3;
... | stackexchange/codereview |
I'm learning Hibernate and Play framework (also add Java into account...). I'm having problems saving this kind of entity
@Entity
@Table(name="users")
public class User extends Model {
@Required
public String username;
@Column(name="user_displayname",nullable=true)
public String displayname;... | stackexchange/codereview |
The text is quite long, the question is actually simple and written in bold. The other text is only for trying to explain the problem.
I have recently started to use CodeIgniter for developing my website. Currently, I'm writing a side menu where you can filter the items showed in the view (basic e-commerce functionali... | stackexchange/codereview |
I need to call automatically base class method when calling overriden one (like constructors call base). For example:
class A
{
public void Fun()
{
Console.Write("Class A!");
}
}
class B : A
{
public void Fun()
{
Console.Write("Class B!");
}
}
I want to see on the screen
Class... | stackexchange/codereview |
hey guys,
i'm having a little problem which is probably really easy to solve for you. However i tried a long time now and i have no chance to get it done.
i'm retrieving a tagcloud from a database with different fontsizes. every tag is a link. and all tags have spaces between them.
all tags get printed into a div#tagc... | stackexchange/codereview |
I have a form with two buttons: btn_oldFile and btn_newFile. Both buttons, on click call the function btnOnClick:
btn_oldFile.Click += btnOnClick;
btn_newFile.Click += btnOnClick;
protected void OldFileBrowse_Click(object sender, EventArgs args)
{
//if btn_oldFile called
// print to... | stackexchange/codereview |
How come the dir() function in Python doesn't show all of the callable attributes?
import win32com.client
iTunes = win32com.client.gencache.EnsureDispatch("iTunes.Application")
currentTrack = win32com.client.CastTo(iTunes.CurrentTrack,"IITFileOrCDTrack")
print dir(currentTrack)
Result:
['AddArtworkFromFile', 'CLSID'... | stackexchange/codereview |
I am building a Windows Application using Visual Studio 2008. For the forms (2 of them), I have specified icons.
Now, I build the Setup by adding Setup and Deployment Project to my solution. In properties of the Setup and Deployment Project, I specify the Icon.
Then I do the following
I create a Shortcut to the Prim... | stackexchange/codereview |
I successfully installed turbogears via virtualenv on ubuntu , loaded it with paster after quickstart. I was looking for a good ide with debugging for turbogears and paster. I need any good suggestion how to continue with , any good tutorials , links etc , ide information would be greatly appreciated.
Thank you for yo... | stackexchange/codereview |
I am working on an image processing script. I need to let the user specify how to remap some classes in an image via a text file. The syntax in this file should be simple and self-evident. What I thought of doing is to get the user to write the string version of a dictionary:
125:126, 126:126, 127:128, 128:128
and the... | stackexchange/codereview |
I have a timeclock database setup on a Windows 2008 server, SQL Server. It has been working for MONTHS. Today, all of a sudden, it seems like some peoples' logins are working and some peoples' logins are not working.
SQL authentication works fine, however the Windows authentication is not working. I checked the log fi... | stackexchange/codereview |
I'm learning to use PHP, CSS and XHTML. I would like to do a multiple site which have common style? How can I do some general background and how to import it to all my sites? I would like to have the following code in every page:
<div id="document">
<div class="nav">
<ul>
<li><a href="site/register">Register</a></li>
<... | stackexchange/codereview |
I have a gridview full of telephone numbers. To populate the gridview I bind the gridview's datasource to a List<> of telephone numbers. I do this when the page is first loaded, but not on postbacks.
I want the user to be able to delete some of the telephone numbers, and then, if they want, click a Save button, and t... | stackexchange/codereview |
I am trying to check if a gas pump is free for use && full of gas, and then I am trying to make that pump the pump to be used by the cars in a queue.
Thread carThreads[]=new Thread[TOTAL_CARS];
try {
Pump pump1 = new Pump();
pump1.setName("pump1");
pump1.setFuelAmount(2000);
pump1.setState(0);
Pu... | stackexchange/codereview |
I am a C++ programmer currently trying to work on Java. Working on C++ I have an habit of keeping track of dynamic memory allocations and employing various techniques like RAII to avoid memory leak. Java as we know provides a Garbage Collector(GC) to take care of memory leaks.So while programing in Java should one just... | stackexchange/codereview |
Is declaring a class that extends Activity inside another Activity class possible? If it is, how would I register that class in the manifest? Also, is that something that can be reasonably done or is it a bad idea?
I was thinking of something like
class ListClass extends ListActivity{
...
ArrayList items;
... | stackexchange/codereview |
Need some help refactoring this if/else block that builds the conditions for a find query.
if params[:status] && params[:carrier]
conditions = ["actual_delivery IS NOT NULL AND actual_delivery > scheduled_delivery AND status_id = ? AND carrier_id = ?", status.id, carrier.id]
elsif params[:status]
conditions = ["act... | stackexchange/codereview |
I have developed a Client/Server application for my current employer and one of the requirements is that the client part be distributed as a DLL. Since DLLs don't 'do' dllName.dll.config files, I need to move the config into the code. I have done this to the best of my ability, but I'm now getting this exception;
Th... | stackexchange/codereview |
I am currently writing an HTML token recognizer in c++. I am using stacks to check and see if there are beginning and matching tags.
Before I can match my tags I need to make sure that the tag is valid. But for some reason my checking function is not working. I step through each step in the algorithm and from everythi... | stackexchange/codereview |
hi all ive found this script and ive been amending it but im not sure how to change it so it can handle multiple values.. ive got a form with many different select options and im tryin to pass all the selected options to my ajax.php page where ive got a mysql select statement that uses the selected options to perform a... | stackexchange/codereview |
I have the following array:
Array ( [2010-10-30] => 1 [2010-11-11] => 1 [2010-11-13] => 11 )
I am trying to fill in the array with all the missing dates between the first and last elements. I was attempting using the following but got nowhere:
foreach($users_by_date as $key => $value){
$real_next_day = date($key, ... | stackexchange/codereview |
I dynamically generated my hbms. Now when I attempt to use the HQL Editor in Eclipse, I'm getting the following error:
Hibernate Dynamic SQL Window:
HQL was valid, but no SQL generated. Your configuration most likely does not have any mappings defined.
Hibernate Query Result Window:
org.hibernate.hql.ast.QuerySyntaxEx... | stackexchange/codereview |
I have been dealing with GTK & QT on linux, Windows forms on windows and some others like Tk, Wx. But I can see a lot of GUIs that don't look like traditional applications like unity 3d, some Adobe applications, 3ds max etc..
Are they using special libraries ? or there is a way for advanced theming of the above librari... | stackexchange/codereview |
Long time c#/java/c++ programmer, brand spankin new to objectivce C. Read the guidelines, looked api's, but not quite there yet on the naming convention.
Example: assume I have a Cars class that has an array of every car, and you wanted methods to return a subset of the array.
I see NSArray has a method: getObjects, ... | stackexchange/codereview |
I want users to enter 2 digits using c=ReceiveByte() command. For example, I want the user to do the following :
Enter 5
Enter 3
Output number 53 in ascii value on screen ( using hyperterminal )
Store number in a single array
Use that number for other loops etc.
My draft code is :
.
.
int c1[3];
c1[0]=ReceiveByte();
c... | stackexchange/codereview |
I have a form with a simple text field and multiple submit buttons. When the user presses enter, I want to submit the form with a specific submit button, but it looks like the form just chooses the first button instead. Is there any way to tell the browser which submit button to choose when user presses enter? Preferra... | stackexchange/codereview |
I am inserting data in multiple tables. I need to know the last inserted (auto-incremented) ID in the table. I need to use it as a Foriegn Key in some other table.
In short I need alternative of @@Identity in T-Sql.
| stackexchange/codereview |
I try finding a good way to develop a software project instead of spending a lot of time in the development and coding phase but I do not find a suitable solution.
I know a little about Visio - Rational Rose - Paradigm and other UML tools.
What are the good analysis and design tools that i may use in OOP, OOD, Data Str... | stackexchange/codereview |
I have a simple concept question. I have a class that snaps a picture and displays it on a new java class: Result.java that displays the image on a basic ImageView in an xml file.
I assume the camera stores the saved image on the SD card. Is there a way for a new Java class to access that photo that was taken and d... | stackexchange/codereview |
I want to open a new browser window without menu bar, tool bar or address bar and with a specific size (say 300 x 600 px), positioned at top left.
How can I do this in a cross browser manner?
| stackexchange/codereview |
Im having issues with the following HTML in IE8:
<div class="inner">
<a href="google.com" target="_self">
<div class="lozbutton">
<img alt="OPENHIVE Survey" src="http://url.com/product" />
</div>
<div class="description"> </div>
</a>
</div>
When clicking on the .descrip... | stackexchange/codereview |
I am writing a basic web app, this has some list elements that I need to be able to click on the entire LI that surrounds each one to select the radio button held within, and only ensure the one I have clicked is selected. I can do this writing the code within the .click callback, however if I try to call the same code... | stackexchange/codereview |
Is it possible to use Obsolete attribute on only a getter or a setter of a property?
I would like to be able to do something like this:
public int Id {
get { return _id;}
[Obsolete("Going forward, this property is readonly",true)]
set { _id = value;}
}
but obviously that will not build. Is there a work aro... | stackexchange/codereview |
I'm doing a project in asp.net with a web services. My web services and my asp.net project is separate and my asp.net project have a reference of my web services
I'm using visual studio 2008 framework 3.5 and my service web is in vb.net
I want to call the web methods of my web services in JavaScript
my script manager i... | stackexchange/codereview |
I'm looking for a recommendation for a graphics card for use in experimenting with GPU programming. I'm leaning more towards OpenCL over CUDA. Also looking for a card that's reasonably priced (is anything available for $50 or less?)
| stackexchange/codereview |
Is there a way to find how many values an array has? Detecting whether or not I've reached the end of an array would also work.
| stackexchange/codereview |
I was wondering if someone could help me simplify my current counting method. I´m trying to learn more in PHP/MySQL so please be positive :)
I have a table with multiple articles that are categorized into sections. What I would like to do is count the number of articles in each section and be able to call that value to... | stackexchange/codereview |
Is there a C++ API for accessing stock quotes from Google finance?
| stackexchange/codereview |
I want to show a video file in my windows application.
Please help me with details.
Thanks.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.