instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
How to build vertical tab sets in WPF? The tabs will stack up in top-to-bottom just like the "Properties" of a project shown in visual studio.
| stackexchange/codereview |
I'm very interested in the Facebooks php extension xhp (http://github.com/facebook/xhp/wiki), but I didn't use it so far.
I was wondering if anyone can share personal experience with xhp and point me into direction where I can find tutorials about it (wiki on github is very poor).
Thanks everyone.
| stackexchange/codereview |
I want to do a query with two facets with SolrNet, City And Category.
But each facet has diferrent properties. For example mincount for city is zero and for category is 1.
How can I do this with SolrNet?
I know FacetParametes has Queries property that can be an array of queries, but what about mincount?
Thanks.
| stackexchange/codereview |
Once again having problems being a new to javascript. I want to get the reply from my PHP script using JQuery's get. Here's my function
function getNext(){
var returnData = null;
$.get("get.php", {task:'next'}, function(responseText){
returnData = responseText; }, "text");
return returnData; ... | stackexchange/codereview |
I'm sorry if inverse is not the preferred nomenclature, which may have hindered my searching. In any case, I'm dealing with two sqlalchemy declarative classes, which is a many-to-many relationship. The first is Account, and the second is Collection. Users "purchase" collections, but I want to show the first 10 collecti... | stackexchange/codereview |
I have been trying to find a way (in Swing) to connect two JInternalFrames with a CubicCurve2D (otherwise known as a cubic bezier curve). The overall effect I'm trying to achive is an interface similar to Yahoo! Pipes (the curve should go from the bottom of one internal frame to the top of the other).
Has anybody here ... | stackexchange/codereview |
When testing Android layouts, I'm constantly building for three different emulators from Eclipse (with ADT), so I have to run three times and then select each one. Is there any configuration or plugin that allows me to press Run once and the application is started in all three?
| stackexchange/codereview |
Hii all,
In my Ruby code am able to generate messagebox but i would like to know how to see it at client side ,am running rails application means server is running on my machine and tha messagebox is also generating on my machine but am nor able not abble to see it client side anyone has any idea how to do t... | stackexchange/codereview |
I originally asked this question: Regular Expression in gVim to Remove Duplicate Domains from a List
However, I realize I may be more likely to find a working solution if I "broaden my scope" in terms of what solution I'm willing to accept.
So, I'll rephrase my question & maybe I'll get a better solution...here goes:
I... | stackexchange/codereview |
I know you can view the currently queued and running tasks in the Dashboard or development server console. However, is there any way to get that list programmatically? The docs only describe how to add tasks to the queue, but not how to list and/or cancel them.
In python please.
| stackexchange/codereview |
I'm trying to switch out .hbm mappings to fluent mappings and have a problem with the mapping of composite-ids and the usage of Interfaces
the Class looks as follows:
public class ClassWithCompositeId {
public virtual IKeyOne KeyOne { get; set; }
public virtual IKeyTwo KeyTwo { get; set; }
}
our hbm mapping looks ... | stackexchange/codereview |
I'm currently using SQL Server Management Studio.
I have a development database, and access to a live database.
I just want to able to migrate my development tables to the live server.
I'm consulting stack flow first, since I don't want to blow anything up.
| stackexchange/codereview |
Does someone know if the boost::get for the boost::variant is a performance-consuming operation or not.
Right now I am refactoring some old code in a performance-critical part, where "varianting" was implementing by containers for each possible types and corresponding enum.
Obviously, this is fast, but ugly and right n... | stackexchange/codereview |
I would like to echo text and also remotely ping a computer and have the output be sent to a log file. I also need to do this in parallel but I am having some trouble with how the output is being sent into the log file.
I would like the output to look like:
host | hostTo | result of ping command
but since I have this ... | stackexchange/codereview |
I am trying to create a basic web application that detects the users geolocation, queries a mySQL database, and returns all bus stops within say 5 kilometers.
The GTFS feed including the Longitude and Latitude have been inserted into a mySQL database, and I found a example HTML page that provides the Longitude and Lati... | stackexchange/codereview |
If I have a UTF-8 string and want to replace line breaks with the HTML <br> , is this safe?
$var = str_replace("\r\n", "<br>", $var);
I know str_replace isn't UTF-8 safe but maybe I can get away with this. I ask because there isn't an mb_strreplace function.
| stackexchange/codereview |
When creating email messages you are supposed to set the Content-Type to multipart/alternative when sending HTML and TEXT or multipart/mixed when sending TEXT and attachments.
So what do you do if you want to send HTML, Text, and attachments? Use both?
| stackexchange/codereview |
I'm new to C++ and getting a bit frustrated with it. Below, in pixelsVector, I am storing each pixel RGB float-value in Pixel and want to dump
all the values to a byte array with pixelsArray so I can output to an image file. HEIGHT and WIDTH refer to the image dimensions. The code below works fine, but I need to sp... | stackexchange/codereview |
I have a software product installed on multiple machines at a client's site. The software accesses a database which is located on a server.
I have given them an MSI so that they can install the software on further machines if required.
How can I programmatically place a limit on the number of machines the software can... | stackexchange/codereview |
I use the following code to write to the plist (assuming dict is already populated):
[dict writeToFile:[appDelegate dataFilePath] atomically:YES];
where in my App Delegate:
- (NSString *)dataFilePath {
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *d... | stackexchange/codereview |
One of my servers' OS crashed yesterday. It was Win 2008.The server developed an HDD fault and did not boot.
My host provider (Turnkey) has mounted the HDD on a Rescue system and given me access to the HDD through SSH. I have been able to download the Mysql data folder and all the MYD, MYI, FRM files. (MyIsam db?).
I t... | stackexchange/codereview |
I have output caching implemented at controller level
[OutputCache(CacheProfile = "MyProfile")]
public Result MyControllerAction()....
I have some text in matching view (Views/MyController/MyControllerAction.aspx) that needs to change with each page load, even though the returned page is cached. I think this is also c... | stackexchange/codereview |
Is there such a thing ? I'd really like to be able to browse my sqlite 3 databases. Can't seem to find any useful tools.
| stackexchange/codereview |
I have the following class:
class CrmToRealTypeConverter : IConverter
{
#region IConverter Members
public object Convert<T>(T obj)
{
return Convert(obj);
}
#endregion
private DateTime? Convert(CrmDateTime obj)
{
return obj.IsNull == false ? (DateTime?)obj.UserTime : null... | stackexchange/codereview |
I have a <input> element that I want to change the background color on. The code I am currently using is this (but it is not working):
var allBlanksLoc = document.getElementById('text');
var allBlanks = allBlanksLoc.getElementsByTagName('input');
for(i=0; i<allBlanks.length; i++) {
var currentBlank = allBlanks[i];
va... | stackexchange/codereview |
I am working on a django project and have used django nonrel to deploy on google app engine.
However when I try to create a super user using the command "manage.py remote create superuser", I get the following error,
Please let me know if anyone knows the reason for this
Username: newuser
Traceback (most recent call la... | stackexchange/codereview |
I'm a beginner at jQuery and I'm trying to insert a Facebook like button through the jQuery document.ready function.
My external Javascript file (loaded after the jQuery script) has the following code:
$(document).ready(function(){
if ($('#fb_btn').length) {
var fb_code = "";
fb_code += "<iframe src=\"http://www.... | stackexchange/codereview |
Possible Duplicate:
How can I escape meta-characters when I interpolate a variable in Perl's match operator?
I am using the following regex to search for a string $word in the bigger string $referenceLine as follows :
$wordRefMatchCount =()= $referenceLine =~ /(?=\b$word\b)/g
The problem happens when my $word subst... | stackexchange/codereview |
i use this code to create thumbnails
System.Drawing.Image.GetThumbnailImageAbort abort = new System.Drawing.Image.GetThumbnailImageAbort(this.ThumbnailCallback);
System.Drawing.Image image2 = image.GetThumbnailImage((int)Math.Round((double)wid / difference), (int)Math.Round((double)hei / difference), abort, IntPtr.Zero... | stackexchange/codereview |
Hello
In my android application i am using a table inside which am using a text view to display the content.
The issue is like i would like to scroll the text automatically like in marquee if the text content is greator than screen size.
Is there any way that i can achieve this in android.
Please share your valuable su... | stackexchange/codereview |
I haven't seen this mentioned anywhere. Usually Android app icons feature a transparent background, unlike the squared status quo of the iOS family.
However, the Samsung Galaxy S's launcher sets different icon backdrops for my various apps. On my own app, he attributed a green sunshine, and I see that pattern on some o... | stackexchange/codereview |
I'm trying to create a frontend app in Java to handle batch SVG conversions using Inkscape's command line feature. I'm taking and updating the code from https://sourceforge.net/projects/conversionsvg/. The way the original developer handled calling Inkscape by Runtime.getRuntime().exec(String). The issue I'm running in... | stackexchange/codereview |
Fink has been available for Mac OS X.6 for quite awhile, but only as source — there are no binary packages. What is the obstruction in 10.6? How can someone help fix it?
| stackexchange/codereview |
I've been trying for the past week to find a decent resource on floating point arithmetic for x86 assembly using AT&T syntax. Ideally, a list of the opcodes, what they do, and where the floats are stored. I am familiar with IEEE 754 representation. I am not familiar with the floating point stack, and any assembly refer... | stackexchange/codereview |
In one of my scripts, I need to delete a file that could be in use at the time. I know that I can't remove the file that is in use until it isn't anymore, but I also know that I can mark the file for removal by the Operating System (Windows XP). How would I do this in Python?
| stackexchange/codereview |
I'm writing an ASP.NET MVC Html Helper which basically takes 2 HTML Helpers that return IHtmlStrings and combines them together and also returns them as an IHtmlString like so:
//this doesn't work
public static IHtmlString CompositeHelper(this HtmlHelper helper, string data)
{
//GetOutput returns an IHtmlString
... | stackexchange/codereview |
I'm not sure what is wrong but there's some weird happening in my Paint() concerning some variables.
this code works just fine:
public void paint(Graphics g)
{
Point[] positions = {new Point(20,50),new Point(60,30),new Point(80,20),new Point(80,30)};
}
but this one don't, i wanted this one, because im changing pos... | stackexchange/codereview |
Is there any way to turn on driver logging for PHP/MySQL 5? Is there a log that shows internally what's going on... like all database activity? Lower-level errors?
I'm trying to get a trivial PHP page to call a trivial stored proc on Windows 7. mysql_error isn't returning any error message when the mssql_init() fail... | stackexchange/codereview |
I have two div, one on the left and the other is on the right. Now I want to divide this two div with a border between them. But the border with full height looks bad.
I want to control the height of the border. How could I do this?
| stackexchange/codereview |
I have this code inside of a exit hook in a custom module:
$diff = round(((microtime(true)-$script_start_time)*1000));
watchdog('thaty', $diff);
if(variable_get('thingy', 0) == 1) {
$data = array(
'q'=>$_GET['q'],
'memory'=>memory_get_peak_usage(),
'execution_time'=>$diff
... | stackexchange/codereview |
I was talking to a friend today.. and he told me something that I don't know if
it is true, so I decided to ask it here.
He has this huge matrix where he has items like this:
1 2 3 4 .. 1000
1001 ...... 2000
2001 ...... 3000
....
Anyway.. he was saying that it is more efficient to traverse it 1 2 3 4.. in C, because ... | stackexchange/codereview |
I am using the Image::MetaData::JPEG module to read an image's header information. I have the following:
my @files = </dir/*jpg>;
for (@files) {
my $image = new Image::MetaData::JPEG( $_ ) or die $!;
print $image . "\n";
}
This returns "Image::MetaData::JPEG=HASH(0x189b218)".
I've read through the module but how ... | stackexchange/codereview |
I am having trouble hosting a simple WCF service application in IIS 5.1 (XP SP3).
I follow this Pluralsight tutorial (https://www.youtube.com/watch?v=SVPXLF-g4Ws) but still the service won't load and shows IE blank page "You are not authorized to view this page .. HTTP Error 403 - Forbidden "
any advice? how to host WC... | stackexchange/codereview |
After Facebook signs in for a user, what is a proper Login name and email to use to store this user into the app's Database?
Is there any docs on it? I haven't seen any yet. Is it the same for new JS SDK and old JS SDK?
| stackexchange/codereview |
I’m trying to build the custom grid with fixed Header and Column in Silverlight. I don’t know whether SL has built in functionality to build this or not because I’m very new to SL. Please take a look the following code. I don’t think that this is the right way to build this. If you don’t mind, please refactor my code a... | stackexchange/codereview |
I'm having some trouble with editing a gridview row's background color when Editing it.
The thing is, I am using the RowDataBound event method to change e.Row.BackColor based on a criteria when displaying the report( 3 different colors depending on result ). For the rows that don't fall under that criteria, a GridView'... | stackexchange/codereview |
I've been trying to play an external sound file in Flash and failing miserably.
The code couldn't be simpler:
var s:Sound = new Sound();
var req:URLRequest = new URLRequest(MovieClip(root).videoLink);
var context:SoundLoaderContext = new SoundLoaderContext(3000, true);
s.load(req, context);
var my_channel:... | stackexchange/codereview |
I ask because in my Zend Framework app I use some view scrips that do not have an action associated with them. (Similar to the example on page 102 in the Zend Pro Framework Techniques book http://books.google.com/books?id=znA1LgQSxsoC&lpg=PP1&dq=Pro%20Zend%20Framework%20Techniques%3A%20Build%20a%20Full%20CMS%20Project&... | stackexchange/codereview |
I just updated my code to jqueryui 1.8 and it gave me this error:
this._mouseInit is not a function. How would I go about fixing this? I have a widget that does mouse start drag and stop. here is my code:
$.widget("ui.boxTool", $.extend({}, $.ui.mouse, {
_create: function() {
this.elemen... | stackexchange/codereview |
So I've been working on updating old extensions for use with FF4 and Gecko 2 but I am having some issues where I am getting an error that says, classID missing or incorrect for component....
Has anyone else had a similar issue or know of how to get around this?
function jsshellClient() {
this.classDescription = "sdCo... | stackexchange/codereview |
In my Wicket+JPA/Hibernate+Spring project, much of the functionality is based around the Inbox page where, using many filtering options (not all of them have to be used), users can restrict the set of objects they want to work with. I was wondering what the best strategy to implement this filtering is? In the old versi... | stackexchange/codereview |
Possible Duplicate:
Big O Notations Questions
Hi, I need an example in codes with reference to O(N!) time complexity.
| stackexchange/codereview |
I'm writing an app that at times will send notifications to the user in the form of toaster messages.
If the user is not there, he can't see the notification. So what I wanna do is be able to check if the user has locked the screen or if the screensaver happens to be activated.
Any notification that is triggered while ... | stackexchange/codereview |
I have a video gallery that has a menu on the left and loads the content into a div on the right hand side. The menu is generated from php video posts so we need a general script that will effect everything.
-- The problem --
The links will load the URL of the video as an anchor on the current URL -
eg.
http://www.dive... | stackexchange/codereview |
Using embed to embed music might sound oldschool, but I don't have any other choice (any method used now doesn't accept my files).
<embed hidden="true" volume="10" src="/app/upload/1287860161768038.mp3" />
Music starts to play, but volume is always 100% (not 10 like here). I don't know how to repair it, suggestions?
| stackexchange/codereview |
I'm looking to parse some information on my application.
Let's say we have somewhere in that string:
<tr class="tablelist_bg1">
<td>Beja</td>
<td class="text_center">---</td>
<td class="text_center">19.1</td>
<td class="text_center">10.8</td>
<td class="text_center">NW</td>
<td class="text_center">50.9</td>
<td ... | stackexchange/codereview |
I have used some tools for checking my SEO and I got the result:
"Your website does not take advantage of Microformats.
Microformat is a technical semantic markup that can be used to better structure the data submitted to search engines.
Thanks to Microformats, Google regularly improves its search results presentation.... | stackexchange/codereview |
I have a situation where I need to generate multiple sets of radio buttons. These radio buttons display One to Many relationship data.
I know how to get it to work with a workaround that I used back in Classic ASP days ... in which I essentially just spit out the HTML dynamically and keep track of my controls using sys... | stackexchange/codereview |
I have an example like this
class A {
A() {}
public C createC () {
...
}
}
class B {
B() {}
public C createC () {
}
}
Objects for A and B are created based an an
public enum D { ii, jj };
And I see code all over the place like
D d;
switch (d) {
case ii: (new A()).createC(); brea... | stackexchange/codereview |
Is there anything in Prolog that works like a for loop and if then condition?
| stackexchange/codereview |
I have a textbox that has the following simple XAML (not necessary to read it - just have it for reference):
<TextBox Name="m_ctrlUserDeviceType" Style="{StaticResource textStyleTextBox}" Text="{Binding Source={x:Static api:MySettings.Instance}, Path=UserDeviceType, ValidatesOnExceptions=true, NotifyOnValidationError=t... | stackexchange/codereview |
Ive searched for my specific problem and can't find it... I hope any of you guys can help.
Im trying to get nth-child to work in IE - now Ive read that you can do it with Jquery, how do I implement jquery in this instance?
Im also using this Lib item ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js
It works perfe... | stackexchange/codereview |
I want to define a LaTeX command that inserts a space after every letter.
So, If I add
\addSpaces{someText}
the result should be
s o m e T e x t
How could I achieve this?
Background: I want each letter to be underlined, but the line should be separated between the letters:
s o m e T e x t
_ _ _ _ _ _ _ _
NOT:
s o ... | stackexchange/codereview |
Could you please provide me with a simple example of using the Filter Property of ADOQuery in Delphi 7?
Thanks.
| stackexchange/codereview |
I have this code:
class Mailer < ActionMailer::Base
def foo
recipients "bar@example.com"
from "foo@example.com"
subject "Foo"
body :var => "value"
end
end
With two views in app/views/mailer:
foo.en.erb
foo.fr.erb
When I use Mailer.deliver_foo, the view used to build the email is ... | stackexchange/codereview |
I am very surprised, I cannot see any name property ? Can you confirm ?
| stackexchange/codereview |
How to configure mouse enhance pointer precision programmatically in C++?
I know that have some useful commands like SystemParametersInfo, for speed, ...
int x = 15;
SystemParametersInfo(SPI_SETMOUSESPEED, NULL, reinterpret_cast(x),SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE );
... but I cannot find enhance precisio... | stackexchange/codereview |
I'm experimenting with a renderer. What I want is to write a color buffer and a normal buffer to two separate textures. I got that part figured out.
However, the color buffer is supposed to be a combination of two textures. This should do the trick:
glActiveTexture(GL_TEXTURE0_ARB);
glEnable(GL_TEXTURE_2D);
g_Tex->Bind... | stackexchange/codereview |
I'm wondering what is the difference between asp and asp.net?
| stackexchange/codereview |
thanks in advance for your help. I'm working on this site and have an odd problem with jquery-twit and IE 6/7/8.
If you take a look at any other page than the homepage in an IE browser of any stripe the twitter feed button and contact form button appear at the top of the page, I'm at a loss to explain it - it works on ... | stackexchange/codereview |
For example If I have the following models, views and code in a template...
class news(models.Model):
type = models.ForeignKey(----) (charfield)
title = models.CharField(max_length=100)
published = models.DateTimeField(default=datetime.now)
summary = models.CharField(max_length=200)
def ----():
it... | stackexchange/codereview |
Using Delphi, now that the Microsoft Jet Driver is no longer supported on 64bit operating systems, what would be the best way to read from a DBF/DBase file?
| stackexchange/codereview |
I'm trying to create a recurring struct method in my code to walk through a binary search tree. But I'm getting errors on compile and unsure what is the cause.
I've got Node* findNode(const Node *, const Object &); in the private section of the .h file
and
Node* BSTree::findNode(const Node* current, const Object &targ... | stackexchange/codereview |
I am writing a small diagram drawing application (similar to Graphviz in spirit), and need a GUI library that would allow me to embed a canvas capable of drawing anti-aliased lines and text. I want to have a text editor in one half of the window to edit the diagram code and a (perhaps live) preview pane in the other.
R... | stackexchange/codereview |
I am making a voice note recording application and it should send voice notes from the BlackBerry to a server. What the best approach for doing the data transfer?
| stackexchange/codereview |
I can use the following bash script to start severals terminals at once:
for i in 0 1 2 3; do urxvt -name Terminal$i&; done
But if I try to run that bash script from a PHP script if fails with error:
sh: -c: line 0: syntax error near unexpected token `;'
sh: -c: line 0: `for i in 0 1 2 3; do urxvt -name Terminal$i&; ... | stackexchange/codereview |
I implemented an authentication system using authlogic, and have added password reset functionality as per this tutorial http://github.com/rejeep/authlogic-password-reset-tutorial
It all works, but I am confused as to why it does..
There is this code..
class User < ActiveRecord::Base
def deliver_password_reset_instru... | stackexchange/codereview |
I am working on some software that uses an OleDB to open a .xls file, query some data, and fill a dataset with the results. I am now looking at using this software on systems that do not have Excel. Will my software still be able to read the spreadsheets?
This xls file contains 1000s of configuration settings that my... | stackexchange/codereview |
I have a vector of doubles. I want to sort it from highest to lowest, and get the indices of the top K elements. std::sort just sorts in place, and does not return the indices I believe. What would be a quick way to get the top K indices of largest elements?
| stackexchange/codereview |
What does the following code do?
class Base { }
class Derived : Base { }
class Test
{
void Foo(List<Base> list)
{
foreach (Derived obj in list)
{
// ...
}
}
}
I didn't expect it to even compile, but it does.
| stackexchange/codereview |
This is probably a really dumb question, but I can't seem to figure it out. My iPad application supports landscape and portrait orientations -so far so good. but when I'm in landscape mode, if I switch from one view to another there's a little rotation animation, even though I didn't rotate the device. It is as if the ... | stackexchange/codereview |
I've heard that Perl is used a lot for NLP, but I can't find almost any good NLP tools for Perl. What are some good Perl NLP tools/resources? Python has NLTK. Java has OpenNLP. Does Perl have anything similar?
This is really a general question, but if someone could also specifically address chunking and POS-tagging, th... | stackexchange/codereview |
How can I make it so unit tests in Python (using unittest) are run in the order in which they are specified in the file?
| stackexchange/codereview |
The following code sets a private method. So how private really is private?
public class Person {
private String name
}
def u = new Person(name:"Ron")
println u.name
| stackexchange/codereview |
I need to work in .net 2.0. So I can't use OpenXML.
This is my source code and I have already Installed AccessDatabaseEngine.exe.
But still getting the exception:
"Could not find installable ISAM".
I have also tried "Extended Properties=Excel 8.0" in the connection string.
static void Main(string[] args)
{
DataS... | stackexchange/codereview |
I'm receiving files (images) uploaded with Ajax into my PHP script and have got it to work using this:
$input = fopen("php://input", "r");
file_put_contents('image.jpg', $input);
Obviously I will sanitize input before this operation.
One thing I wanted to check was the file size prior to creating the new file, as foll... | stackexchange/codereview |
I'm using jQuery UI Tabs, and am using the sample code:
$(function() {
$("#tabs").tabs({
ajaxOptions: {
error: function(xhr, status, index, anchor) {
$(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo.");
... | stackexchange/codereview |
i want to login to gmail using asp.net ,however when i use the http post method with ....
it returns your browser is not accepting cookies?...and in the internet explorer its sign's in ..whats the problem n what to look for ...And if any one has code how to login to gmail ...I will be very thankfull.
| stackexchange/codereview |
In my hudson project I want to use the file parameter and process the uploaded fiel in an ANT Job.
Therefore I need to know the location and the originalFileName.
How can I access these two values?
| stackexchange/codereview |
I'm trying to implement a lagged Fibonacci pseudo-random number generator for integers up to some maximum. It maintains an array of values
int values[SIZE] = { /* 55 seed values */ };
and uses the following function to return the next value
unsigned lagfib()
{
static unsigned idx = 0;
int r = values[idx];
... | stackexchange/codereview |
I'm attempting to create a 3d game using OpenGL. I have a very basic world and am now working on a character. I want to map a texture to the head which will be oval shaped. How do I do the mapping? I know how to map to flat surface. I'm wondering if the normals can be used to help but I've never done this before a... | stackexchange/codereview |
I'm developing a client-side GWT application (the server-side API is already written). I've played around with GWT, but I've never developed a large application around it. Are there any example applications, similar to how Caliburn is for WPF/Silverlight family? For managing a large project, it really got me 90% of whe... | stackexchange/codereview |
How to raise dependency property every time whenever any value is assigned.
| stackexchange/codereview |
Is there a known problem with SQLite giving a "database is locked" error for a second query in a single transaction when using Perl DBD::SQLite? Scenario: Linux, Perl DBI, AutoCommit => 0, a subroutine with two code blocks (using the blocks to localize variable names). In the first code block a query handle is created ... | stackexchange/codereview |
I am having problem in clearing the cache in asp.net. Below is my code in page load. My response string is and xml string. If i refresh my page then the xml output is not getting refreshed.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
HttpResponse.RemoveOutput... | stackexchange/codereview |
Is there a way to decrypt a column when querying data from a SQL Server (2005/2008) database that has been encrypted using DES via .NET? If so, how? I have the key, but don't know how to use it within the context of a sql server query.
| stackexchange/codereview |
Let's say I've got a web application that is a store of some kind. I have a table that holds all of the monetary transactions.
custid, orderid,amount paid...etc
And this table is being used for sales reports and what have you.
Now we want to give a customer a credit of some kind, either a gift certificate or a refund... | stackexchange/codereview |
I am using the Eclipse CDT. I have configured the "external Builder" and I am generating the Makefiles automatically. Unfortunately, the generated Makefiles contain the absolute include path. I would like to use the generated Makefiles on other systems (where Eclipse is not installed) - is there a way to make Eclipse u... | stackexchange/codereview |
I'd like to do this but I know this isn't the right syntax:
INSERT INTO
TBL1 SELECT
Col1.ToLower + 's'
FROM
TBL2
| stackexchange/codereview |
I don't get the delegate logic of UIViewController.
It has delegate method of
– viewWillAppear:
– viewDidAppear:
– viewWillDisappear:
– viewDidDisappear:
So, every time, if a view of a viewcontroller appear or disappear, the according above methods inside the viewcontroller will be called?
I have two viewcontrollers. ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.