instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am developing WPF applications and playing with Silverlight for fun. If you had experience with both WPF and Silverlight older versions can you tell if in 4.0 are they getting closer or growing apart?
What about Silverlight for Windows Phone 7?
Thanks
| stackexchange/codereview |
Hey.
I've having some trouble with binding in XAML. I have a list of Player objects. I would like this list to be bound to a ListBox and display the Name of the Player. At the moment, the List box is being filled with Red.Player (i.e. the object type and namespace). My resource dictionary style looks like this:
<Style... | stackexchange/codereview |
I'm developing a rail application who need to get ping by the HeyWatch api :
http://wiki.heywatch.com/API+Documentation+Ping+Examples
I'm wondering what is the best and simplest way to get ping in my local development environnement? Right now I'm working with WEBrick.
Tks
| stackexchange/codereview |
I've been searching all over and just can't find a explanation or reason why this is happening but the parse(String) method of DateFormat just isn't parsing my String correctly.
I'm trying to parse a String into the date format that is used for HTTP headers and got as far as getting the String on its own such as:
Thu, ... | stackexchange/codereview |
How would you find if one of the pointers in a linked list is corrupted or not ?
| stackexchange/codereview |
So, the site we are working on right now is going to be Multisite and we are going to have different pricing for each website. The issue comes when one of those sites needs to have two different price lists.
There is going to be the price list for one site, and another price list for the other and then there will be a ... | stackexchange/codereview |
I have been using a commercial solution for route distances and travel times for North America and Western/Mid Europe. I am considering expanding the project to cover other countries - and perhaps the entire world. A very limited budget and patchy regional coverage from individual commercial providers, probably make lo... | stackexchange/codereview |
I want to return to my view Product information(Name and Cost) and am running into the following error in my View code's foreach statement:
Cannot implicitly convert type 'ProductApp.Models.Product' to 'System.Collections.IEnumerable'. An explicit conversion exists (are you missing a cast?)
I seem to be missing somethi... | stackexchange/codereview |
I have an object in Java whose state changes over the course of time. When one of the fields in the object reaches a certain value, I want an external event to be triggered.
I know Swing handles this pattern through Listeners - and I am using Swing for this project - but I'm not sure what kind of Listener would apply t... | stackexchange/codereview |
<?php
chdir('../../../../');
include('bootstrap.php');
$place = isset($_GET['place']) ? (is_array($_GET['place'])) ? intval($_GET['place'][0]) : intval($_GET['place']) : null;
$query = mysql_query("SELECT `place`, `image`, `imagetype` FROM `topvideo` WHERE `place` = '" . $place . "'");
... | stackexchange/codereview |
I'm working on my first "public" class, meaning that i will release it under the GPL for everyone. I'm giving extra-attention to documentation, however, i gave zero attention to error handling. How do you guys suggest that i do that? Throw exceptions? I never worked with error handling before, just the basic try catch ... | stackexchange/codereview |
<Image Source="Data\Images\close_nohover.bmp">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Source" Value="Data\Images\close_hover.bmp" />
</Trigger>
... | stackexchange/codereview |
I'm brand new to programming and Python and I'm trying my hardest to understand and learn it. I'm not asking for answers but explanations in plain non-computer terms so that i can try to work out the solution myself.
Here is one more problem I'm having. I have 4 lists below:
short_card = ['A', 'K', 'Q', 'J', 'T', '9',... | stackexchange/codereview |
I have an XML doc that looks like this.
<Results>
<Name>Lab Asst1 </Name>
<Subject> Math </Subject>
<Marks>96</Marks>
<Grade>A</Grade>
<Name>Student1</Name>
<Subject>Math</Subject>
<Marks>90</Marks>
<Grade>A</Grade>
<Name>Student1</Name>
<Subject>English</Subject>
<Marks>70</Marks>
<Grade>B</G... | stackexchange/codereview |
Folks,
Given a set of sorted values (perhaps in a List<T>, SortedList<T,K>, etc.) what's the best way to go about evaluating inequalities (greater-than, less-than, greater-than-or-equal-to, less-than-or-equal-to a given value)? Possible with any of the standard .net types? Or easily coded up? Any pointers are greatl... | stackexchange/codereview |
I have a Glassfish v3 server running a set of EJBs (under java 1.6 obviously).
I have another machine on top of which I have a host java 1.5 - none J2EE - process (i can't change that).
The question is how to perform invocation of the EJB from the java 1.5 client?
Thanks in advance,
Asaf
| stackexchange/codereview |
Is there a way to disable specific days from being selected in the Jquery FullCalendar?
I'm trying to disable days that have already been booked or are in process in a booking calendar for a rental house.
| stackexchange/codereview |
What are some good online articles or videos you've seen that would be most likely to get a developer interested in Scala? I'm looking for an introduction that is brief & to the point that dives right into example code, and would leave a developer who does not know Scala wanting to learn more about it.
| stackexchange/codereview |
In Netbeans IDE i am writing a java class which has some method. One method reads a xml file that I put in the src/resources folder. To access this xml I use the path "src/resources/xmlFile.xml". When I run the class from the ID It works fine. No problem.
But I create the jar of the xml file with the classes. This ja... | stackexchange/codereview |
I must be just having a moment, because this should be easy but I can't seem to get it working right.
Whats the correct way to implement an atomic counter in GCC?
i.e. I want a counter that runs from zero to 4 and is thread safe.
I was doing this (which is further wrapped in a class, but not here)
static volatile int... | stackexchange/codereview |
I noticed a few posts on SO regarding MySQL updates using python and still cannot seem to get this correct.
def updateEmployee(employee):
print employee["firstName"]+" "+employee["lastName"]+" "+employee["nameN"]
cursor = db.cursor()
if(len(employee["nameN"]) > 0):
cursor.execute("""
... | stackexchange/codereview |
here is the full error
Problem signature:
Problem Event Name: APPCRASH
Application Name: emulator.exe
Application Version: 0.0.0.0
Application Timestamp: 4c79ab54
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16559
Fault Module Timestamp: 4ba9b21e
Exception Code: c0000005
Ex... | stackexchange/codereview |
I have a Windows Server 2003 32 bit installed with MOSS 2007 32 bit.
Our database guys have recently bought SQL database Server 2008 64 bit.
I am wondering if it is possible to use new SQL 2008 64 bit machines as database for content of MOSS 2007 32bit.
I appreciate your answer.
Thanks
AK
| stackexchange/codereview |
I am a Java guy jumping into CUDA and the syntax is tripping me. I'm trying to create a matrix in the .cpp file then pass that off to the .cu file to be processed. I see examples where the CUDA function expects the 2D array to come in looking like
void handleMatrix(float* A){
// do stuff
}
when I create the matrix... | stackexchange/codereview |
I'm looking for some orientation. I want a button to power the stuff that is painted in the graphics content. I have used buttons before with jframes and listeners. But somehow the listener is not being accepted. I am sure it has to do with the two classes declared. Could anybody tell me what the problem is or the conf... | stackexchange/codereview |
I had some issues earlier with declaring my array set of records. Now I think there is something wrong with my Makefile or something.
Here is my Makefile:
EEXEC = proj1
CC = gcc
CFLAGS = -c -Wall
$(EXEC) : main.o set.o
$(CC) -o $(EXEC) main.o set.o
main.o : main.h main.c
$(CC) $(CFLAGS) main.c
... | stackexchange/codereview |
C# or VB.NET suggestion is welcome.
I have computers joined to a domain. I'm writing a desktop application that ask for a username and password to authenticate user against Active Directory.
Sometimes, user uses this application on the computer that is not joined to the domain.
I'm using .NET 3.5, System.DirectoryServi... | stackexchange/codereview |
lets say i have a website that i am developing...
the site may have wallpapers, question & answers, info (e.g imdb,wikipedia etcetera)
what do i need to do so that when some search engine analyzes a particular page of my website for particular, lets say 'XYZ', it finds 'XYZ', content it finds 'XYZ' content if it presen... | stackexchange/codereview |
I'm developing a web app with MVC 2.0. I'm storing my data in Windows Azure table storage. I'm not using any mocking for my test. The test framework is the default Microsoft Unit Testing that comes with Visual Studio.
At the moment, I'm only testing my controllers: the view names that are returned, the flow when the co... | stackexchange/codereview |
Here's my method signature for "targetMethod":
-(void)targetMethod: (id)arg;
This works:
[myObject targetMethod:@"called the regular way"];
This doesn't
[myObject performSelector:@selector(targetMethod) withObject:@"called using selector"];
It results in the following error:
-[SelectorTest targetMethod]: unrecogniz... | stackexchange/codereview |
I'm trying to write a program that generates a pseudorandom numbers using a seed. However, I'm running into problems.
I get this error
39 C:\Dev-Cpp\srand_prg.cpp void value not ignored as it ought to be
Using this code
#include <iostream>
#include <iomanip>
#include <sstream>
#include <limits>
#include <stdio.h>
... | stackexchange/codereview |
I am trying to precompile JSPs in our WAR. My ant script does this in 2 parts. First it creates the source, and then it compiles.
Initially a few source files are created. thereafter, the following error is thrown:
[jasper2] 2010-11-12 16:58:49,865 DEBUG [org.apache.jasper.JspC] [processFile] [Thread:main] - [Process... | stackexchange/codereview |
I need solution to emulate fixed position, but relative parent div, not whole viewport. JS solutions are laggy. I need fixed related parent container, because if window has small height, div with fixed position enters into footer zone.
Example
| stackexchange/codereview |
Three Tables: User, Question and Answer
Table Answer has columns: AnswerID, UserID, QuestionID and Score.
a user can submit answer to a question more than once. But when ranking only the highest score he earned on the question should be counted.
Now I need get the rank (UserID, total points). How to write the query?
Th... | stackexchange/codereview |
Nothing within the environment has changed, nor has the test suite itself. The XML report generates correctly, but not the HTML. Please help!
Generating code coverage report, this
may take a
moment./tmp/hudson3472766550808527893.sh:
line 3: 5237 Terminated
/usr/local/bin/phpunit --verbose -d
memory_limit=10... | stackexchange/codereview |
I'm working on building a automatic system where our staff can fill out a form for CPR certifications. I need a way to generate a email automatically and send a reminder to the staff person in charge that Xyz person's certifications expire on X date, ideally something like 2 months before, 1 month before then 2 weeks b... | stackexchange/codereview |
I have a Tomcat 5.5 server and i deploy a application on it.
I have something like this http://tocatServer:8088/MyApp
I want to limit the acces of users at this address by putting an username and password, but i need help. I know that i must add roles on web.xml, i try it but without success.
If possible i want to send... | stackexchange/codereview |
im trying to install phprojekt 6.0.4.
I see the directory structure doesnt allow to put the whole content into my public html folder and directly access it, as it has a htdocs folder in which normally my vhost docroot conf should point to.
So i want to change the .htaccess file in the root directory so every access to ... | stackexchange/codereview |
I usually use a construct like this to apply filters to columns:
CREATE TABLE test(a int NOT NULL, b int NULL)
--insert some data
INSERT INTO test(a,b) values (1,1)
INSERT INTO test(a,b) values (1,NULL)
declare @a int
declare @b int
set @a = 1
--@b is null at this time
select * from test
where a = @a
and b = is... | stackexchange/codereview |
I'm trying to get MySQL-Python 1.2.3 running under Leopard on my MacBook Pro for Python 2.7 (64 bit). I've tried building and installing from source along with easy_install with no luck. When installing from source, I have modified mysql_config.path in setup_posix.py as suggested in another related answer to
mysql_con... | stackexchange/codereview |
I was looking at some c++ code, and I saw this:
int num = *(int *)number;
I had never seen this before?
it was in a function labeled as such:
void *customer(void *number){ }
What does that even do? Is there a different way to show this?
Thanks, this isn't homework btw I was just confused at what this does?
| stackexchange/codereview |
If I take this code and compile it (advanced optimizations)
/**@constructor*/
function MyObject() {
this.test = 4
this.toString = function () {return 'test object'}
}
window['MyObject'] = MyObject
I get this code
window.MyObject=function(){this.test=4;this.toString=function(){return"test object"}};
Is there a... | stackexchange/codereview |
I have a whole bunch of jpg files that I need to use in a project, that for one reason or another cannot be altered. Each file is similar (handwriting), black pen on white BG. However I need to use these assets against a non-white background in my flash project, so I'm trying to do some client-side processing to get ... | stackexchange/codereview |
I am working on a (vb.net/asp.net) project that is using interfaces to provide dependency injection. But to me, it feels like the maintainability of the code has been killed. When I want to read through the code, I can't simply jump to the code of a related class that is used. All I see are the interfaces, and so I hav... | stackexchange/codereview |
I have one table for storing status and comment.Some more columns are there.Now each time one new comment is posted I need to insert one new row in that table(change is only in the comment field , status and all other column values will remain as it is).What's the best way of doing this?
| stackexchange/codereview |
I have a directory, let's call it Storage full of packages with unwieldy names like mypackage-xxyyzzww, and of course Storage is on my PYTHONPATH. Since packages have long unmemorable names, all of the packages are symlinked to friendlier names, such as mypackage.
Now, I don't want to rely on file system symbolic links... | stackexchange/codereview |
I want to test an enterprise java bean (that should later be deployed to a JBoss server) using JUnit. But I don't exactly know how tools I can use for this. Plain JUnit fails because of the missing EJB Container and the caused lack of needed injections.
Googling a bit around lead me to a library called JBoss EJB embedd... | stackexchange/codereview |
I have been asked to investigate porting 10 year old Direct X (v7-9) games to OpenGL ES, initially for the iPhone
I have never undertaken a game port like this before (and will be hiring someone to do it) but I'd like to understand the process.
Are there any resources/books/blogs that will help me in understanding the... | stackexchange/codereview |
In analyzing data the metadata about variables is extremely important. How do you manage this information in R?
For example, is there a way to specify a label that will be printed instead of the variable name?
What facilities are there in R for this?
| stackexchange/codereview |
Is there any way to check page position in Google serach (I don't mean browsing, just in one request ). There seems to be a problem with Google SOAP Search API for a long time as I know.
| stackexchange/codereview |
In my iOS 4 application, I need to open a URL from the background, at a time specified from the user. However, for some reason, I cannot launch a URL from the background for some reason. Here is my code for opening a URL:
if (![[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.stackoverflow.c... | stackexchange/codereview |
I'm defining a class that sets a Drawable attribute in an object. The problem is that I can't access the getResource().getDrawable(int resourceId) method unless I have some Context.
What I did was to send to that class an activity instance (let's call it "act") and then I did:
act.getResources().getDrawable(R.drawable.... | stackexchange/codereview |
http://uk.lifestyle.yahoo.com/
This thing that's got links like "Five ways to achieve..,Food and diet terms..,etc"..when u hover over links images are displayed..
Any other way to make this thing if it's Flash only?
| stackexchange/codereview |
Question is: how to write convention that prevents deleting entity reference if it inherits from type Root?
I'm using fluent nhibernate and it's auto mapping feature. Turned on cascading delete by default.
Everything was really cool until I finally hit case when I need to actually delete aggregate root that references... | stackexchange/codereview |
I trying to implement a write-back cache. I'm trying to use soft referenes, but I'm having troubles performing the post-mortum write-back because the reference is cleared before it's added to the gcQueue and thus I don't have access to the referent object.
Solutions?
| stackexchange/codereview |
I'm trying to use event object in win32 environment to synchronize two processes. Below are the simplified code of two programs.
// process1
int main()
{
HANDLE h = CreateEvent(NULL, FALSE, FALSE, TEXT("Hello"));
WaitForSingleObject(h, INFINITE);
// RunProcess(L"process2.exe", L"");
}
// process2
int main()
{... | stackexchange/codereview |
I am writing a Wordpress plug in php in and next step is some kind of add on to this plug in.
The add on would scrape data from web, sending forms etc. I have this part almost ready from the time before I had any thoughts about Wordpress plugin - it's coded in ruby using mechanize. I haven't found anything similar to ... | stackexchange/codereview |
I am developing a website of entertainment. Now client want that when user upload any video or image or any trake then a notification should be sent on facebook news feed. i have tried is ---
my php code is:--
$attachment = array('message' => 'this is my message',
'name' => 'This is my demo Facebook a... | stackexchange/codereview |
How can I search for an exact match in a string? For example, If I had a string with this text:
label
label:
labels
And I search for label, I only want to get the first match, not the other two. I tried the Contains and IndexOf method, but they also give me the 2nd and 3rd matches.
| stackexchange/codereview |
I have a textbox and i have values in database like ® which is equal to ® .I fetch data and write it into textbox but it writes the data as it is.The code part is like this
var data=database_values;//here there is data like this "DOLBY®"
document.getElementById(id).value = data;
I want to make the textbox value D... | stackexchange/codereview |
How do I turn off the IME-functionality of an EditText?
Or: How do I avoid the display of the IME-keyboard?
I have a layout where my special keyboard sits below the EditText so there's no need to show the IME. Please understand that I cannot implement my keyboard as IME as it is specific for this very EditText and usin... | stackexchange/codereview |
I have all my COBOL source code located on a z/OS mainframe. What is a way to migrate all this code to ClearCase?
| stackexchange/codereview |
hello im trying to make somekind of mvc, well at least for learning propose,
example,
/application/test.php
/views
/model
index.php
when i go to
www.mvc.com/test.php
it will go strait to test.php
is there a way to do things like this ?
maybe useing htacsess ? if im in a nginx ( im new to nginx ) is there some kind o... | stackexchange/codereview |
EDIT: It seems that the formatting of the json string is not the problem. Instead I'm not seeing the json string in the Firebug response section and yet ajax error handlers aren't being thrown.
Hi!
So I've got a web service setup so that it will return a very simple json string:
{"A":1,"Total":1}
After reading severa... | stackexchange/codereview |
I need a template function which assigns a default value to the argument passed
template <class T> inline T GetDefault()
{
return ???? # default value
}
T cand be bool, int, double and string.
Thank you.
| stackexchange/codereview |
I am new to the concepts of pixels, dpi, resolution and stuffs. So let me put out this simple question for which I am finding hard to get a simple answer
What is the default measuring unit in wpf
When I apply a scale transform to a button, how is it getting bigger (whats really happening)
What is the unit of the zoom ... | stackexchange/codereview |
I'm having a pig of a time creating a basic video capture feature in my application. I want to call the default video capture tool my device and had the file saved to a specific location.
From the documentation this is achieved by providing a Uri in EXTRA_OUTPUT, however what's happening is this is completely being ig... | stackexchange/codereview |
It would be nice if the computer's 'wake up' event was propagated to the browser and available in the JavaScript API. Does anyone know if anything like this is implemented?
| stackexchange/codereview |
What are advantages of using custom content provider?
Why such content provider is superior of plain class that wraps SQL queries?
| stackexchange/codereview |
I have a bubble that pops up when you select some text on a document. Now when you select some text, the body click event fires too. On body event, I have code to hide the bubble that pops up when you select some text. The problem is, I want to show the bubble when the text is selected (even though body event has fired... | stackexchange/codereview |
I can see output stats with mod_pagespeed but it does not seam to be doing anything (all stats values stay at 0).
serf_fetch_request_count: 0
serf_fetch_bytes_count: 0
serf_fetch_time_duration_ms: 0
serf_fetch_cancel_count: 0
Anyone knows what can be going wrong?
| stackexchange/codereview |
I followed most of the suggestions that I found online but I still got this error when I start integrating TFS and SP
I dont have firewall thats why it does not make sense, any idea why this is happening. My settings on Sharepoint Web Applications is
I also get this error when I create a Sharepoint Page for my proje... | stackexchange/codereview |
Suppose there is a website that has a hierarchical series of option/select drop-downs. When the user makes a selection from drop-down A, the value of their selections is posted to the server and drop-down B is populated. Drop-down B populates drop-down C in the same fashion. When drop-down C is selected, data is sho... | stackexchange/codereview |
I've managed to get simple text data sent to a server using this code:
NSMutableString *parameterString = [[NSMutableString alloc] initWithString: @""];
[parameterString appendString:@"name=steve&"];
[parameterString appendString:@"surname=jobs&"];
[parameterString appendString:@"age=55"];
NSURL *url = [NSURL URLWithSt... | stackexchange/codereview |
I've successfully modified my .htaccess file to remove trailing slashes on most pages but I'm wondering how to exempt my home page/directory? For example:
domain.com/test/ successfully redirects to domain.com/test
HOWEVER, when I hit my domain it will append the root document
domain.com/ redirects to domain.com/index.... | stackexchange/codereview |
I want user to select files from existing files only and don't want to let him type the file name.
So how can we disable the file input field in JFileChooser?
Thank you.
| stackexchange/codereview |
Using a JEditorPane, is there any way to tell if the caret is currently on the last line? I cannot find anything in the API or more importantly JTextComponent of which JEditorPane is derived. I need to find this out when the user uses the down arrow key to move down the text. My current idea is this:
private boolean is... | stackexchange/codereview |
Does anyone have, or know of, a java class that I can use to manipulate query strings?
Essentially I'd like a class that I can simply give a query string to and then delete, add and modify query string KVP's.
Thanks in advance.
EDIT
In response to a comment made to this question, the query string will look something li... | stackexchange/codereview |
What does this formattin string mean in perl
sprintf "%014ld", "$variable";
| stackexchange/codereview |
This is a follow-up to this question. I'm currently writing a simple game and am looking for the fastest way to (repeatedly) display an array of RGB data in a Win32 window, without flickering or other artifacts.
Several different approaches were recommended in the answers to the previous question, but there was no cons... | stackexchange/codereview |
I want to time how much slower it is if i were to do a simple operation like 1+1 and plus(int l,int r) which does l+r and throws an exception on overflow heres some example code with _C and _V being carry and overflow. The exception code can be written differently if you like.
How do i write it so i can quickly test fo... | stackexchange/codereview |
I have a UITextField that I want to set into editing mode (keyboard on screen and cursor in text field box) programatically. I know that the user will be in editing mode when this view appears onscreen, so I want to save the user from having to tap the text field.
The "editing" property of a UITextField is read only... | stackexchange/codereview |
How to call a view upon pressing a button in another view?
| stackexchange/codereview |
I'm working on a iPhone application which is hybrid OpenGL ES and regular iPhone UI. This means there is an EAGLView greeting the user, then some regular UIViews that gets pushed over it (there is a UINavigationController as root controller).
I've got a random (but very frequent) crash when navigating back from a subvi... | stackexchange/codereview |
Why is there no tooltip text on errors?
<Style TargetType="{x:Type TextBox}">
<Setter Property="Validation.ErrorTemplate">
<Setter.Value>
<ControlTemplate>
<StackPanel>
<Border ...>
<AdornedElementPlaceholder ...
... | stackexchange/codereview |
I inherited an old app, written in C#/.NET 2.0. (un)Luckily there was no documentation - not even comments. So as I'm adding enhancements to the application based on new requirements I'm also building a mental model of what the app does and how it does it - architecture in other words.
I was wondering what tools exist ... | stackexchange/codereview |
I am getting this error when I attempt to build my project in VS 2010
Warning 2 Cannot find wrapper assembly
for type library "VBIDE".
Anyone experienced this before? Any ideas what could be the cause?
| stackexchange/codereview |
I have a servlet which is bundled as part of my application. I want to be able to configure Tomcat or Spring to load this servlet at boostrap before the application context is finally initialize.
I am doing this because - I am using the servlet to do some initial enviroment checking and file loading before the actual ... | stackexchange/codereview |
I am getting these weird runtime errors. I am using Flex 3.5 SDK with flash player set to 10.0.00.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.flash::UIMovieClip/removeFocusEventListeners()[E:\dev\flex\sdk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.... | stackexchange/codereview |
How can I auto click on the link on page load? I have been trying for ages but id does not work.
<link rel="stylesheet" type="text/css" href="leightbox.css" />
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript" src="leightbox.js"></script>
</head>
<body>
<div class="content">
... | stackexchange/codereview |
Hi I want to focus on the SuggestBox as page loads.
I could not find any EventListener for this purpose so I am guessing that I have to
define my own handler to do that (maybe do something with native textbox.focus?)
What is the GWT way to set focus on the text boxes.
Thanks.
| stackexchange/codereview |
This is a new understanding of a question I posted previously:
I have a mod_rewrite snippet that finds out whether javascript, css, php files exist on the subdomain where they are called (e.g., subdomain.example.com). If they don't exist, then apache "redirects" to common.example.com where common js, css, and php file... | stackexchange/codereview |
In my database in a sql-server 2005 instance, I need to add a new column to a table with existing data. The table currently looks like this:
CREATE TABLE [dbo].[Status](
[Status_ID] [int] IDENTITY(1,1) NOT NULL,
[Description] [nvarchar](80) COLLATE Latin1_General_CI_AS NOT NULL
)
The column I want to add is al... | stackexchange/codereview |
I am using classic "ASP" dont bea me up. Just havent been able to make the jump to .Net yet. I am just learning soap and have successfully creates a SOAP request to a webservice. However, I am unable to figure out how to parse the response and pull out a single node. I am using MS DOM to load the response into a Doc... | stackexchange/codereview |
I have a situation where I have a table where some of the columns are nullable, but I want my NHibernate-based entities to expose those values as non-nullable fields. If I do this with a normal mapping, NHibernate assigns the defult value of the type to the entity's field in the case of a null value. I would like to ch... | stackexchange/codereview |
I just started to develop (from scratch) a new project in Erlang. I use Erlide, a plugin for Eclipse. I wrote some unit tests (using EUnit) but I find running each of them (one by one) by hand quite annoying. Is there any way to automate this process, so that - with just a couple of clicks - all of my tests are run?
Th... | stackexchange/codereview |
Domain involved:
class QuestionarioQuestao {
Questionario questionario
Questao questao
The criteria function inside domain class:
QuestionarioQuestao.createCriteria().list(){
**questao{eq("topico", Topico.get(1))}**
eq("questionario", QuestionarioQuestao.get(1))
order ("ordem", "d... | stackexchange/codereview |
How do you automatically select all text on focus in WPF TextBoxes?
| stackexchange/codereview |
Im looking for some technical information about P2P networks.
It seems there isnt enough info about this subject on the internet.
I read about some popular p2p networks on wikipedia as Napster, Kademlia , etc but Its poor and too complex for 'beginners',
To be more specific - I do understand how naspter style p2p netwo... | stackexchange/codereview |
I have a WCF service that has the contract published on a Net.Tcp MEX endpoint. I need to connect to the MEX endpoint and download the WSDL as XML. How can I do this? (I cannot move the MEX endpoint to HTTP... it must be on TCP).
Thanks
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.