instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have an index like this in my database (for my table entries): {"created_at": -1, "search_id": 1, "services":1} I can make use of that index if I perform a search in the Mongo console like this: db.entries.find({'search_id':1, 'services':2}).sort({'created_at': -1}) (if I perform an explain() on that query I can s...
stackexchange/codereview
When I read out the HTML returned by Watir, it gives me a page directing me to come back on a browser through my Mac or PC. It seems I am being redirected by a user agent given through Watir. I thought I was driving the browser with Watir, but this doesn't seem to be the case. ie = Watir::IE.new ie.goto "http://www...
stackexchange/codereview
I'm interested in benchmarks for various JSON parsing libraries, ideally, comparing Java and C/C++ implementations. Java only benchmarks by the Jackson folks:
stackexchange/codereview
In SQL Server 2005 management studio I am testing a query which uses some table variables, one of which has a clustered unique constraint on it. I am noticing that the total execution time actually goes down by a good amount when I include the actual execution plan to analyze it. What is the reason for this, and sh...
stackexchange/codereview
A coworke integrated the gdb into my emacs, so that i can single step through my code and it gets shown where i am in the emacs window. How do i do that with idb? Unfortunately i cannot remember what we did then, so a walkthrough would be appreciated. cheers
stackexchange/codereview
I saw the code on the top of a GLUT demo and I'm curious about its functionality. Why would someone want to write a #pragma instead of just including the library?
stackexchange/codereview
Ok guys the truth is I'm working on porting an application up to justhost.com as I cant afford my own servers yet. Either way I have been receiving this error in the mongrel.log and am getting no help as to what this error means or how to fix it. /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/depen...
stackexchange/codereview
I am trying to do change the color of a disabled button's border/text. Code: <Style x:Key="TopTabChooserButtonDisabled" TargetType="Button"> <Setter Property="Foreground" Value="Orange" /> </Style> But it doesn't affect the button at all in Silverlight. Does anybody know what will make it change? THanks.
stackexchange/codereview
I am just starting my cocoa education and I had a quick question, I see that the ability to click a word and have the mac text-to-speech functions say that text is built in automatically. (ie - for the hello world app, you can click hello world and in the menu have it say "hello world" back to you) My question is this...
stackexchange/codereview
Is there an application or a code I can use to check which cache functions are turned on? On this app I'm working on, I thought there was mysql cacheing, but since I started using the SELECT SQL_NO_CACHE in one of my queries (applied yesterday), the cacheing has not stopped. This leads me to assume it's a php cache f...
stackexchange/codereview
I have created a fulltext catalog that stores the data from some of the columns in a table, but the contents seem to have been split apart by characters that I don't really want to be considered word delimiters. ("/", "-", "_" etc..) I know that I can set the language for word breaker, and http://msdn.microsoft.com/en-...
stackexchange/codereview
TFS 2010 exposes a "Build Number Format" property, which contains $(BuildNumberDefinitionName) and $(Rev:.r) variables (among other things). Two and a half parts to my question: What are all the available variables that can be used here? Where does the value for $(Rev:.r) come from (where is it stored)? a. Can it be...
stackexchange/codereview
I'm trying to make it possible to access/upload documents to Alfresco using shared drive, i.e. CIFS. The server runs on Windows. I'm able to ping the server like ping themachine-a, so I guess the CIFS is up and running in Alfresco. But I'm unable to sign-in at \alfrescomachine\; the dialog window appears but no credent...
stackexchange/codereview
TransactionScope is an amazing feature but too few providers do implement it correctly. I don't want to pass the connection as parameter.
stackexchange/codereview
I have a problem when I generate an animated gif from a movie.avi using ffmpeg from python in Win7. If I open a cmd window and execute this line: "C:\ffmpeg\ffmpeg.exe" -i "C:\ffmpeg\video.avi" -pix_fmt rgb24 -r 10.0 -loop_output 0 -ss 5 -t 10 -s 352x288 -f gif "C:\ffmpeg\video.gif" ffmpeg.exe generates a gif perfectl...
stackexchange/codereview
In CSS, how do I achieve the following layout? xxxxxxxxxxxxxR1xxxxxxxxxxxxx xxxxxxxxxxxxxR1xxxxxxxxxxxxx xxxxxxxxxxxxxR1xxxxxxxxxxxxx xR2.1x xxxxxxxxxR2.1xxxxxx xR2.1x xxxxxxxxxR2.2xxxxxx xR2.1x xxxxxxxxxR2.2xxxxxx xxxxxxxxxxxxxR3xxxxxxxxxxxxx xxxxxxxxxxxxxR3xxxxxxxxxxxxx xxxxxxxxxxxxxR3xxxxxxxxxxxxx R2.1 is a...
stackexchange/codereview
I'm working on a Version History dialog box, and I created a sample to test it. It seems, however, that the sample can't find the HTML file: var dlg = new VersionHistoryDialog(); var uri = new Uri(@"pack://application:,,,/VersionHistory.html", UriKind.Absolute); var source = Application.GetResou...
stackexchange/codereview
The question explains it all but here is some more info. I am trying to use 4sq api with C# and need to send username password pair in every request. The API documentations says that "curl -u user:pass" does the job but how can I do it with WebClient? Don't have time to inspect the traffic, maybe someone knows about it...
stackexchange/codereview
I have a build task in rake defined with the following dependencies: desc 'Builds the App' task :rebuild_dev => ["solr:start", "db:drop", "db:create", "db:migrate", "spec", "solr:stop"] The first task "solr:start" starts the Solr Indexing server. Now, if the build fails (may be in spec tests fail), the "solr:stop" tas...
stackexchange/codereview
So I'm new to using Doxygen and I was able to get it to work smoothly. I was able to document my classes and structs and it generates the HTML files perfectly. The issue I'm running into is it won't parse my main.cpp file. All the classes and structs have their own .h and .cpp files and they process fine. How do I get ...
stackexchange/codereview
I am developing a project that uses TFS to build solutions. But I found an error that I do not know how to solve it. When we compile a solution, we can specify a changeset to compile, right? Imagine the following scenario: At this moment the last changeset is number C100 We created the proj file in TFS. After creating...
stackexchange/codereview
I have a List with an item renderer and would like to enable drag-and-drop onto the items in the list, rather than adding the data to the list. Is it possible to find the item that is being hovered over when dragging?
stackexchange/codereview
I haven't gotten into ORM frameworks much yet, and could use some input from experienced practitioners. Some of these questions may be naive. Please bear with me. In mapping objects to relations, do these frameworks also suggest indices that may be necessary for the queries to execute efficiently? The queries generate...
stackexchange/codereview
I wanted to write a program with could send and receive data over a NAT router without having to set up port forwarding first. Do i need to use the bittorrent protocol or is there something better?
stackexchange/codereview
I have a div at 100%, in order to center things i have an anchor tag inside i only want at 85px width, but it is not recognizing this and will just expand based on the length of text that is in the anchor tag. HTML: <div class="players_names"> <a class="player_name" href="#">34 J. Langenbrunner</a><br /> <a cl...
stackexchange/codereview
How to Parse text data and store the same in array with splitting in j2me? I have proceeded with the following code and I get to see all the text data but can't go any further. Can you guide me? /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.*; import ...
stackexchange/codereview
I have two tables Table1( FileID, BundledFileID, Domain) and Table2( FileID, FileType, FileName) In Table2 FileID and FileType are the composite primary key. I want to create a foreign key relationship from Table1.FileID to Table2. Is it possible to do this?
stackexchange/codereview
Can anybody know the exact reason for this, why drop down is not opening using trigger function. Can anybody Explain this! $('select').trigger('click'); Thanks.
stackexchange/codereview
Apart from an architectural point of view, i'm wondering if there is any difference in .net between a readonly property and a function. Are properties only conceptual wrappers around functions? Private m_Property As String Public ReadOnly Property PropertyGet() As String Get Return m_Proper...
stackexchange/codereview
I have two C++ structures that I have to send as parameters when calling a DLL method from C#. For example, lets define them as: struct A { int data; } struct B { int MoreData; A * SomeData; } A method that I need to call from C# has the following signature: int operation (B * data); (Please note that I ...
stackexchange/codereview
I want to use Google Language Detection API in my app to detect language of url parameter. For example user requests url http://myapp.com/q?Это тест and gets message "Russian". I do it this way: def get(self): url = "http://ajax.googleapis.com/ajax/services/languag...
stackexchange/codereview
I want a part of my HTML page to be visiable to users with enabeld JavaScript only after clicking on to some button, while users with no JS support will seeit always. So I mean we have a normal page with header and body but with no footer unteel some button is clicked. (while wievers that use no JS modes will see foote...
stackexchange/codereview
I have a Spring Webservice based on AbstractJDomPayloadEndpoint. This service works fine, except that my client needs the HTTP header Content-Type to be set to the right charset (utf-8 in my case). I cant find where I can configure that. I tried writing a simple servlet Filter : chain.doFilter(request, response); HttpS...
stackexchange/codereview
i have a problem. I have database with a tableadpater. i want to get the userid with this tableadapter. Dim dsGN As New ForumTableAdapters.Message2TableAdapter Dim dtBetrieb As Data.DataTable = dsGN.GetUserIdFromThisMessage(ConversationID) For Each objRow As dsGN.Message2Row In dtBetrieb.Rows mystri...
stackexchange/codereview
I am using the services module in drupal a long with the JSON Server, and I am accessing it using jQuery this works great, but I have one small problem. Drupal/JSON Server always seem to return objects with the # symbol, which I don't really know how to handle, this prevents me from doing object.property Because in rea...
stackexchange/codereview
I'm not yet very familiar with these but maybe someone can shine light on this example. Imagine I have class CFoo and it will have a function to add a handler and a function which is a function pointer. So something like this: class CFoo { int *pointedFunc(int a, int b) = 0; void setFunc(int *func(int a, int b)) { ...
stackexchange/codereview
I always think of having to use pointers for polymorphism. Using the canonical example: DrawEngine::render(Shape *shape) { shape->draw(); shape->visible(true); } And passing in pointer to various Shape derived classes. Does it work the same with references? DrawEngine::render(Shape &shape) { shape.draw();...
stackexchange/codereview
If so, does anyone know a good tutorial for it?
stackexchange/codereview
How do I print the variable name holding my object? For example, I have: myclass ob=new myclass() How would I print "ob"?
stackexchange/codereview
I have a rails application (which acts like some sort of load balancer for a group of printers) that needs to do some background processing. The background processing logic needs to iterate over all available (non busy) printers and send a print job via TCP socket to each one as long as there are jobs present. I know t...
stackexchange/codereview
I'm developing my first Android game and I'm having a bit of difficulty making the UI as smooth as I would like. I've spent a couple of hours googling around with no luck, I'm probably just searching for the wrong thing. I have two different XML layout resources where each layout contains just one SurfaceView subclass....
stackexchange/codereview
I have a byte[] that was serialized with the following code: // Save an object out to the disk public static void SerializeObject<T>(this T toSerialize, String filename) { XmlSerializer xmlSerializer = new XmlSerializer(toSerialize.GetType()); TextWriter textWriter = new StreamWriter(filename); xmlSerializ...
stackexchange/codereview
How do I set the font of a TextBox from a string in the code behind? // example txtEditor.FontFamily = "Consolas";
stackexchange/codereview
When I run gVim from Terminal in Ubuntu 10.04 with Gnome I get this error: (gvim:6226): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed It looks like that everytime except that the number in between the parans (gvim: ) is always slightly different. How can I fix this with out having t...
stackexchange/codereview
Given a profile field I store with each user the following way: Context.Profile.SetPropertyValue("IsSubscribed", isSubscribed.Checked); Context.Profile.Save(); How would I on another page fetch all users email addresses where isSubscribed = true?
stackexchange/codereview
I have 2 different QMainWindow, the first is the parent of the second. I want press some keys in the children windows and propagate the event in the parent. I create for everyone the function void keyPressEvent(QKeyEvent* event); but when i press key on the children the event is not propagate to the parent. Why? This i...
stackexchange/codereview
I created a custom dialog that extends Dialog. One button on that the dialog is an “OK” button which the user is expected to press when finished entering information in other fields. I cannot get any listeners set to that button to fire. public class HeightDialog extends Dialog { private Button okButton; … ...
stackexchange/codereview
I tried to divide two columns from joined tables but the result (value of column relative_duration) is always 0. The query is the following: SELECT t1.[user_1] ,t1.[user_2] ,t1.[total_duration] ,(t1.total_duration/t2.[total_events_duration]) AS relative_duration FROM [CDRs].[dbo].[aggregate_mont...
stackexchange/codereview
I have an existing DB with which I would like to build a new app using EF4.0 Some tables do not have primary keys defined so that when I create a new Entity Data Model, I get the following message: The table/view TABLE_NAME does not have a primary key defined and no valid primary key could be inferred. This table/view...
stackexchange/codereview
Given a set of nodes, how can I construct a tree which links together all the nodes in a way which minimises max(max(degree), max(depth))? For example, given a set of five nodes, I could connect them like so: However, this is not minimal, since max(degree) == 4 and max(depth) == 1, a better tree would be: which has m...
stackexchange/codereview
I wrote a Add-In for Visual Studio 2005/2008. It will prompt a window with some edit controls as child windows. But if open VS with a document and then open my Add-In, those child edit controls will lose input focus when type Tab/Delete/Backsapace/Ctrl-C etc. without any document and then open my Add-In, it is OK. I...
stackexchange/codereview
I have wrote a WPF application that reads a list of movies from a XML file at a network location. When I started investigating the slow start-up it turned out that XmlSerializer has a lot overhead. I have now used sgen to build the assemblies before I publish the project but I am now looking into a better solution. I h...
stackexchange/codereview
Anybody know of snippet that will parse a CSS3 selector like this: "form#network_template[method='put'][action='#form_{keyname}']" to this: { tag: "form", id: "network_template", method: "put", action: "#form_{keyname}" } or this: <form id="network_template" method="put" action="#form_{keyname}">
stackexchange/codereview
When using the Ecommerce methods in Google Analytics do you also make calls to the normal tracking methods as well? When we first added GA too our site a few years ago we left it off of the sales pages as we wanted to be careful about what information might be sent to Google. But now that I'm adding Ecommerce tracking ...
stackexchange/codereview
In Java, I use LinkedHashMap for this purpose. The documentation of Java's LinkedHashMap is very clear that it has "predictable iteration order" and I need the same in Scala. Scala has ListMap and LinkedHashMap, but the documentation on what they do exactly is poor. Question: Is Scala's LinkedHashMap or ListMap the imp...
stackexchange/codereview
On just about every page in the application I do something based on which employee is currently logged in. Is there an easier way to access the employee other than creating a variable in the Page_Load?
stackexchange/codereview
I'm using basic auth. If my password contains a colon, I seem to get a failure to authenticate. Are colons not allowed in a password? How I'm authenticating: DefaultHttpClient client = new DefaultHttpClient(); HttpRequestInterceptor preemptiveAuth = new HttpRequestInterceptor() { ... }; client.addRequestInterceptor...
stackexchange/codereview
I have the following piece of code: NameX.functionA(functionB(Dictionary["___"])) Instead of _ I would like to make a reference to NameX in the form of a string, so that the program interprets it as NameX.functionA(functionB(Dictionary["NameX"])) How can I do this? I tried to use str(self), but it is clearly wrong...
stackexchange/codereview
I have a WPF application with multiple TabItems within a TabControl. In one of the TabItems, I want to have a Hyperlink that when clicked, changes the view from the current TabItem, to one of the other TabItems. I've looked into the NavigateURI property of Hyperlink but I haven't found a way to set that to be a separat...
stackexchange/codereview
Can any one explain me the features on Visual Lightswitch
stackexchange/codereview
I have bug troubles (re)starting Hudson slaves on Windows XP machines that are located on a different campus (not so close to the hudson server, still the network speed is decent and reliable - do get ~400-800 KB/s on test). Hudson server is running on OS X under Tomcat. hudson-slave.err.log: Exception in thread "main"...
stackexchange/codereview
What is the best way to check the file type and size in asp.net mvc c# controllers?
stackexchange/codereview
I can't seem to find a step by step tutorial of how to get this up and running. Any help? Thanks!
stackexchange/codereview
Looking for a really fast implementation of the factorial function in JavaScript. Any suggestions?
stackexchange/codereview
Is there any good link to follow or an example to use Twitter API in C# .net application Thanx
stackexchange/codereview
I've created a XML data document and an XSLT stylesheet, and I want to output an HTML document based on the two. My stylesheet has the tag, and my XML document has the processor instuction (along with various "xsl:value-of" references). My question is, what are the actual "mechanics" of getting the XSLT processor (wh...
stackexchange/codereview
I have a trace aspect that should log: Entering Exiting (return type is void) Returning [returned object] Throwinig [Exception message] I am having problems with the second. How do I create an advice for this case without double-logging all exits that also return something as is the case now when I have one @After ad...
stackexchange/codereview
Greetings. I am studying the way mpeg layer-III encoding works for an upcoming project. I downloaded the shine encoder as it is said to be the simpliest of all. http://www.mp3-tech.org/programmer/sources/shine.zip is the link. My current step that i FAIL at is to compile the source codes i downloaded. I never before wo...
stackexchange/codereview
I need to export data from mysql to a csv file with column heading but i dont have file permission on the server. Is there any otherway to do it? i.e. using php fwrite? or fputcsv? Any help will be much appriciate. Thanks.
stackexchange/codereview
I am developing a network app for Android and I'm still stuck on connecting my real Android device with an device-emulator running on my desktop computer. I've created private network with a router, so the only ones connected to the network are my pc and my mobile phone, in order to avoid firewall/closed ports problems...
stackexchange/codereview
I recently installed Umbraco 4.5.2 into an IIS application, not as the default web site. The main Umbraco CMS seems to work as expected, I can add and remove content, and all kinds of other wonderful things. However, when I'm trying to use the UComment module, it can't seem to locate the following two resources: /bas...
stackexchange/codereview
I need to access topBox's grandchildren and determine whether they're buttons or not. This function below (thank you Flextras.com) grabs topBox's immediate children which are the HBoxes. How do I go one level lower to topBox's grandchildren? Or is the only way to do this is to run this function on each HBox? for (var ...
stackexchange/codereview
My applications store all localized text in a string resource dictionary as suggested here http://msdn.microsoft.com/en-us/library/bb295251(VS.85).aspx <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:syste...
stackexchange/codereview
I have made programs that utilize XOR encryption of data before and fully understand it, but how can I implement this into a program so the string literals are encrypted? For instance, I do not want to use: string name = "My name is Matt"; This would cause "My name is Matt" to be located in the executable. I am guessi...
stackexchange/codereview
I have 2 tables for which I need to run a query on Table1 has 2 fields: l_id, and name Table2 also has 2 fields: l_id, and b_id I need to run a query to get the "name" and "l_id" for all the entries in table1 that do not have an entry in table2 for a given b_id. Hope this makes some sense
stackexchange/codereview
I've never asked anything this general before, and I'm not sure if it's going to sound like I'm asking for someone to do my work for me. I'm an experienced programmer but I'm somewhat new to the kinds of design patterns that get talked about on sites like this. Synopsis of parameters: (1) There are 3 external systems t...
stackexchange/codereview
To get latest Helios eclipse + subclipse + m2eclipse and mvn to work on the mac, I had to make the "default" jdk 1.6 thusly: cd /System/Library/Frameworks/JavaVM.framework/Versions ln -s 1.6 CurrentJDK AND I had to enable 1.6 using the applications/utilities/java preferences app. Now eclipse, and mvn work, with 1.6 se...
stackexchange/codereview
I've got a script that calls grep to process a text file. Currently I am doing something like this. $ grep 'SomeRegEx' myfile.txt > myfile.txt.temp $ mv myfile.txt.temp myfile.txt I'm wondering if there is any way to do in-place processing, as in store the results to the same original file without having to create a t...
stackexchange/codereview
<?php // Page class class Page { // Declare a class member variable var $page; var $title; var $year; var $copyright; // The Constructor function function Page($title, $year, $copyright){ // Assign values to member variables $this->page = ''; $this->title = $title; $this->year = $year; $this->copyright = $copyrigh...
stackexchange/codereview
Is it possible to do cross platform game engine for iphone and android. if its how can i do this. what are all thinks i need to study to do this.
stackexchange/codereview
I (think) have every values for Text-Rendering in a PDF. * Position (Text Matrix) * FontDescriptor with Widths Array * FontBBox * StemV/StemH * FontName * Descent * Ascent * CapHeight * XHeight * ItalicAngle My problem is I don't know what to do with these values. I went through the PDF Spec 1.7 a couple of times and ...
stackexchange/codereview
I need a function that executes a function while a button is pressed and stops executing when the button is let go $('#button').--while being held down--(function() { //execute continuously });
stackexchange/codereview
I'm trying to detect a swinging motion with an iPhone 4 using the gyro/accelerometer. I searched for some posts on SO about this, but couldn't find anything specific to my issues. Do I need to do any sort of calibration for data from the gyroscope/accelerometer? Anyone think of how I would measure a swinging motion? ...
stackexchange/codereview
I have 2 tables (name(fields)): data(object_id, property_id, value_id) and string(id, value) All the data is in "string" table. "data" only refers to corresponding strings. For example, I have: data(1,2,3) data(1,4,5) data(6,4,7) string(1, 'car') string(2, 'color') string(3, 'red') string(4, 'make') st...
stackexchange/codereview
How can I display a float number = 0.999 as 0.99? The code below keeps printing out 1.00 ? I thought using setprecision(2) specifies the number of digits after the decimal point? #include <iostream> #include <iomanip> using namespace std; int main(int argc, char** argv) { const float numberToDisplay = 0.999...
stackexchange/codereview
I'm having some trouble fading in large images, but only in Chrome. Here's the absolutely basic setup: $(document).ready(function(){ var img = new Image(); $(img) .hide() .load(function(){ $(this).fadeIn(3000) }) .attr("src", "files/originals/01.jpg") $("body").append(img) }); ...
stackexchange/codereview
For instance, if someone views a URL for an app on the iPhone, we would like the URL to open the App Store and display the entry related to that app. The idea is to allow downloading of an app with two clicks (click on link, then click on "Install" button) on the iPhone. How is this possible? [Edit] To clarify, from w...
stackexchange/codereview
This works, and I can't imagine how it might cause problems, but visual studio gives me an warning and that makes me sad. I'm just wondering if doing something like this might ever cause problems: I have a custom timer that acts like a Wait for some number of milliseconds and then execute a function. It looks like th...
stackexchange/codereview
I've got a WPF FlowDocument with a list of MarkerType 'Upper Latin'. It's looking like this: Notice that the list item alignment is on the periods after the marker, but since the text is variable width, the D, E, and F look silly. I would rather have the list markers be left aligned than right aligned, but I can't f...
stackexchange/codereview
<div class="bestAnswerControl"> <div id="ct100_contentplaceholder_lvanswer_control_divbestanswer" class="IsBestAnswer"></div> </div> I want to add: .bestanswer { // some attribute } I want to replace class="IsBestAnswer" of div to class="bestanswer" by jquery. How do I do this? I am using this ap...
stackexchange/codereview
I am trying to acces values from an array of integers and have been trying for hours with no luck. Here is my code so far: All I am trying to do is acces the values in the array "arr", i have seen how to do it with characters but not with integers. int binarySearch (int* arr, int arrSize, int key, int* count) { in...
stackexchange/codereview
What TextInput event can I listen for to throw an Alert when a number is entered? The scenario is : a user enters a number into myTxt1. An Alert appears that says "Are you sure you want to enter that number?". If the user clicks Yes, do nothing/continue. If the user clicks No, leave focus on myTxt1 so he can change the...
stackexchange/codereview
Is it possible to launch a php file from a other php file? I know that i can include a file but i don't mean this. Small example: i have a script which displays something from the database and a other script which get the latest data from a other site and update the database. When i include the update file, the first s...
stackexchange/codereview
I just committed the wrong source to my project using --force option. Is it possible to revert? I understand that all previous branches have been overwritten using -f option, so I may have screwed up my previous revisions.
stackexchange/codereview
maybe mine it's a bit a simple question; I would like to instruct my server to receive mails and to parse them via a php script. How can I do it? Thanks
stackexchange/codereview
Using the .NET FileSystemWatcher http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx to monitor a directory full of files for : Changed; Created; Deleted; Renamed events . What's the minimum the rights the Account running the FileSystemWatcher needs over the directory it's watching ? It seems like ...
stackexchange/codereview
I am using a DevExpress LookUpEdit control. My database has two tables that control the population of control options. One called MaintCategory and one called MaintItem. This introduces a Magic Number into my program(the CategoryID) but allows for lots of runtime customization. My problem lies in how to allow my u...
stackexchange/codereview
I am trying to get a WCF webservice running which will participate in distributed transactions. I keep getting the following error message... Configuration binding extension 'system.serviceModel/bindings/myBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/ex...
stackexchange/codereview
I'm using apache with mod_wsgi, and when I start apache and make a request, I see it make one invokation of the application. After a few minutes (the application gets reloaded), and now I see it make two invokations of the application per request. Why's that? Also: is there any easy way to initialize resources (databas...
stackexchange/codereview
I finished reading "Object Oriented Javascript". I'm following this code to "inherit" and object from another: function deriveFrom(child,parent) { if (parent == this) alert("You can't inherit from self class type") else { var f = function () { } f.prototype = parent.prototype; ...
stackexchange/codereview