instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Is it true that if use createBlobURL(), file data is not loaded into memory? So is it alright to use it for images and video?
stackexchange/codereview
I am developing a JSF application which has a servlet to display binary images. I have it working with one parameter but wanted to pass two parameters. It only seems to get the first parameter. My mapping looks like this. <servlet> <servlet-name>imageServlet</servlet-name> <servlet-class>com.myapp.system.ImageS...
stackexchange/codereview
I have weird situation in newly installed server, and it seems that Google can't help me this time. I can't connect to (remote) mysql from my php-code. When I try to connect from command line on the same server the connection succseds. Could not connect: Can't connect to MySQL server on 'MYSQL.SERVER' (13) Here is...
stackexchange/codereview
I have an app I am working on that does some math on a few variables and outputs the answer. Well that's the plan anyway. Being a total n00b at Android & Java I am not sure of a couple of things. 1) I have created text fields in the layout file for user to enter values. Instead of text fields should I use numerical val...
stackexchange/codereview
So I'm writing an app that detects movement, and needs to be calibrated to various movements. Over the past few days, I've noticed that right after a SensorEventListener is registered, onSensorChanged(SensorEvent) throws out incomplete (and therefore erroneous) .values[]. This behavior screws up my calibration process,...
stackexchange/codereview
Would anyone please tell me why the below code is not warning me that i entered the wrong verification code... Below is the code for signup.php signup.php <table width="450" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action="signup_ac.php"> <table width="100%" b...
stackexchange/codereview
I have a strange problem when parsing a ISO8601 date and time with SimpleDateFormat. The relevant code is: public class DateHelper { private static SimpleDateFormat iso8601formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); public static Date parseISO8601(String date) throws ParseException { ...
stackexchange/codereview
This is how we can store the current time and print it using time.h : $ cat addt.c #include<stdio.h> #include<time.h> void print_time(time_t tt) { char buf[80]; struct tm* st = localtime(&tt); strftime(buf, 80, "%c", st); printf("%s\n", buf); } int main() { time_t t = time(NULL); print_time(t)...
stackexchange/codereview
In MediaWiki I want to display a gallery of images with alt text (tool tip) and a link to another page. This can easily be done for a single image. Does anyone know how to do this for an image gallery?
stackexchange/codereview
Why would I ever need to use it?
stackexchange/codereview
So i'm developing a server application, that has to store hundreds of thousands (up to a few million in some cases) of classes, serialize them to an SQL database, and load them back several times, and it appears that storing that many class objects to a List is whats throwing an out of memory exception? i think. So tha...
stackexchange/codereview
A factorial of a natural number (any number greater or equal than 0) is that number multiplied by the factorial of itself minus one, where the factorial of 0 is defined as 1. For example: 0! = 1 1! = 1 * 0! 2! = 2 * 1! 3! = 3 * 2! 4! = 4 * 3! 5! = 5 * 4! Another way of writing this is to multiply all natural numbers b...
stackexchange/codereview
I want to do a post (twitter in this case) with a oneliner. If I don't have proxy curl -u user:pass -d status="message" http://twitter.com/statuses/update.xml works perfectly. But when I am behind a authenticated proxy it doesn't. I had tryied: curl -X proxy:port -U proxyUser:proxyPass -u user:pass -d status="message"...
stackexchange/codereview
Say I have a large project containing the types A through Z. What if, for whatever reason, I want to package and distribute just type A to some client(s)? Obviously I cannot just compile A into its own DLL unconditionally; it may depend on some other types in my project. But it's unlikely it depends on every type in my...
stackexchange/codereview
var araj=["1","2"]; var idx=Array.IndexOf(araj,"1"); Doesn't work as expected. Why, and what's next? EDIT: it is javascript in asp.net (so the friend who won't open account here says)
stackexchange/codereview
There is a library which I build against different 32-bit platforms. Now, 64-bit architectures must be supported. What are the most general strategies to extend existing 32-bit code to support 64-bit architectures? Should I use #ifdef's or anything else?
stackexchange/codereview
I am searching for a free tool(s) to create visually appealing diagrams of finite automata and syntax trees. Note: I really just want to draw diagrams. I do not have to create a model or do something fancy with it. Thanks for your time. EDIT: I might add, that I am creating documentation in Latex and therefore I am als...
stackexchange/codereview
I'm presently using Spring 3.0.4 and Apache Tiles 2.2.2 in my web app. I'd like to replace JSP with Apache Velocity 1.6.3 but I'm somewhat confused on how to do this. Ultimately, I'd like to be able to do the following in a Tiles definition: <definition name="basicLayout" template="/WEB-INF/layout/basicLayout.vm"> ...
stackexchange/codereview
I'm trying to set the values of M and N in this program to whatever is parsed from a string that this C program receives on it's command line. However, I'm getting a segmentation fault whenever I run the code. I'm new to the concept of pointer in C, so I know it's something there. The code is supposed to work as follow...
stackexchange/codereview
I've got an app that implements a command object pattern to get data from a server. Now I'd like to implement a client side cache and I need some pointers on how to deal with cache eviction invalidating. The problem To get an object I pass the GetObject(id) command and receieve a GetObjectResponse with the results for...
stackexchange/codereview
My requirement is to read a line from text file and check in database if record exist then update it. Reading one line from file and fetching and updating a single record in db is much time consumming as text file contains milions of lines. So here we have to read and update only one record at a time. Is there any way ...
stackexchange/codereview
I have been testing out the new WCF fileless activation stuff in .net 4 that allows you to use config rather than having a physical svc file. The relevant part of my web.config looks like this: <serviceHostingEnvironment> <serviceActivations> <add relativeAddress="Service1.svc" service="WcfService1.Servic...
stackexchange/codereview
I have what (I think) is a relatively simple task. I have to provide to some C# app a way to invoke my Python app and pass some data for processing and receive back the results at the end of the Python task (both are GUI apps. I thought that pipes would do the job nicely with the C# side creating a named pipe thus ...
stackexchange/codereview
On either the Windows or Linux platform, is there a GUI automation tool that will open up a browser page (any browser, I don't care) and then click on every instance of a specific icon image, wherever it may be on the page and however many times it exists. I seem to recall this ability in IBM's Rational Robot. Is ther...
stackexchange/codereview
<div id="divBase0" class="divBase"> <span id="p0" class="displayText">text line 1</span> <span id="l0" class="displayText">text line 2</span> <span id="f0" class="displayText">text line 3</span> <span id="d0" class="displayText">text line 4</span> <span id="t0" class="displayText">text line 5</span> </div> I have the ...
stackexchange/codereview
I'm trying to get a submodule setup properly in git and I want to make sure I use it right. I have main repository called MyProject. I have a secondary repository that contains all of our code generated data access called Data. I want to setup Data as a submodule of MyProject. Data rarely changes unless there is a sch...
stackexchange/codereview
I heard that iPhone apps must also run on iPad without modifications, at iPhone resolution , and at 2X iPhone 3GS resolution to submit the app to App store. Is that information correction. Do I need to support for iPad(with 2X of iPhone)? On What things app store mainly concentrate when we submit the application? Thank...
stackexchange/codereview
I'm looking for a way to get the current battery telemetry under Windows Phone 7. The closest part of the framework looks like Microsoft.Phone.Info.DeviceExtendedProperties.GetValue() but it seems you can only query the device info (model, serial) and the current memory consumption. Is battery data inaccessible under t...
stackexchange/codereview
In C# how can I unit test a greater than condition? I.e., if record count is greater than 5 the test succeeds. Any help is appreciated. Code: int actualcount = target.GetCompanyEmployees().Count Assert. ?
stackexchange/codereview
I have an RSpec script that tests a program in a different language I am developing. Since I can run and test 32 and 64-bit versions of this application, I would like to have a way to signal this on the command-line. What I really want is to do something like this: rspec -c myspec.rb lin32 or rspec -c myspec.rb lin64 a...
stackexchange/codereview
PHP, 5.3 non thread safe window, also proven on PHP 5.2.9 on linux. Sample code: $test1 = array( array("val"=>"a"), array("val"=>"b"), array("val"=>"c") ); foreach($test1 as $key => $test) { echo $test['val'] . "\n"; } foreach($test1 as $key => &$test) { echo $tes...
stackexchange/codereview
I'm starting to use MS Visual C++ 2010 express. I've had the following problem, I use a webBrowser control to view html documents and need to get the attributes (could it be just one) of clicked link, is it possible? and if it is then how to do this? Thanks for all replies and sorry for my bad english ;p
stackexchange/codereview
Lately I've noticed some of the resources (sample applications, blogs, and websites) I use for GPS / GIS stuff store the latitude and longitude as integers rather than decimal or string. I understand why a formatted string is not the preferred way to store lat / lon. But why not store the value as a decimal? Is there a...
stackexchange/codereview
I am trying to build a Windows service that launches a webserver (Nginx) before login on a Windows computer. This needs to be bundled with the install. I can find out where the working directory of the windows service is by outputting to a the log the working directory (in this case C:\WINDOWS\System32) and copy over N...
stackexchange/codereview
I have decided that it was time to move to virtualenv for my django projects. All is working well except one thing. Even though the apps installed with pip into my virtualenv can be imported into my project without issue, any .urls, templates, template tags, etc. in those apps are not found when running the dev serve...
stackexchange/codereview
I would like to add a predefined string to the object of an NSMutableArray. I thought you would use %@, but apparently the code below does not execute well. Thank You in advance arrayData = [[NSMutableArray alloc] initWithObjects:@"%@ you look tired." name, @"Why do you s...
stackexchange/codereview
There is a grid (just html table) that lists users and you can delete a specific user by clicking on delete link. The usual way I do is <% foreach (var user in Model.Users) {%> <tr > <td align="right"><%= user.Name %></td> <td><%= user.Level %></td> <td align="center"> <a href="#" onclick="return deleteUser(...
stackexchange/codereview
I have a Silverlight app that always needs to know what Customer (domain object) is currently loaded. There can only be one loaded at a time. If the Customer is null, no Customer is loaded currently. Or you exited a Customer. I'm going to have 3 more state-type properties like Customer. So... What is the best way t...
stackexchange/codereview
How can I find out where my OpenSSL installation is looking for installed (trusted) certificates? It is sometimes /etc/ssl/cert, but I have a new system and it is not working with this path.
stackexchange/codereview
Picked ui datepicker as calendar and used cluetip to show events. Script is working until I change the month (push button <- or ->). Main idea was to set title to the element that holds date and on hover show & split text in lines using cluetip. EDIT: Here is example - hope it will help to understand my problem. Her...
stackexchange/codereview
Is there an implementation of the WP7 pivot control that can be used by a "normal" WPF project? I am especially looking for touch support and nice transition animations =).
stackexchange/codereview
I have a function that 2 derived classes use, but the third doesn't, would it make sense to just leave it in the base class, even though one of the 3 derived classes doesn't use it? The only way I could think of disallowing the third class is to basically create an intermediate class that is derived of the base, then t...
stackexchange/codereview
File testDir = new File("C:\temp\test"); testDir.createNewFile(); As I understand it, the above will create a directory called test in the directory c:\temp File testDir = new File("C:\temp\test.dir"); testDir.createNewFile(); As I understand it, the above will create a file called test.dir in the directory c:\temp W...
stackexchange/codereview
How can I just return false or true if email address is register at gravatar with php? Tnx
stackexchange/codereview
On OS X 10.5 Emacs 23.2, in dired-mode, if I try to sort by dired-sort-toggle-or-edit with prefix argument --sort=extension or -X, I get: insert-directory: Listing directory failed but `access-file' worked and the dired buffer becomes empty. I tried setting (setq dired-use-ls-dired nil) but this had no effect. dired...
stackexchange/codereview
Is there a java api similar to RAPI? I want to be able to access files on the windows mobile device using a java desktop program. Thanks.
stackexchange/codereview
Hey everbody. How can i handle a error with the TBXML? I mean, if dont find the file, or what else. Actually, my app just crashes when i turn off the server where the file is. So, how can i handle that? - (void)viewDidLoad { TBXML * tbxml = [[TBXML tbxmlWithURL:[NSURL URLWithString:@"http://localhost/dev/mcomm/pro...
stackexchange/codereview
For my acceptance tests I use Steak and Capybara (+ Envjs). When trying to find an element like this find("#ticker").find("li:eq(0)") it tells me Unable to find 'li:eq(0)', but find("#ticker").find("li:eq(1)") return the correct first li element in the list. I am used to that eq selector starts with 0 (jQuery). Why doe...
stackexchange/codereview
I have got an error during command execution "cabal update" on Haskell Platform 2010.2.0.0. Error message is "cabal: Codec.Compression.Zlib: incorrect header check". OS version is Windows XP SP3, Cabal version is 0.8.2. Cabal library version is 1.8.0.2. All are from default package. Any help will be welcomed.
stackexchange/codereview
So I have a site that is now receiving 30k unique hits a day, and at this moment during the day of peak hours I am getting a lot of 'error establishing database connection' (it's a WP install if you haven't guessed). Here is a quote from my host: The error that you included in your support request seems to indicate ...
stackexchange/codereview
I have a form that will be submitted by javascript code triggered in "onsubmit" of the tag. Works fine on all browsers - but not on IE7/IE8. What can I do? <form action="/dosomething.htm" method="GET" onsubmit="submitmyform();return false"> [...] <input type="submit" value="Go"> </form>
stackexchange/codereview
Dear all , Can any one suggest me the postgres tool for linux which is used to find the difference between the 2 given database I tried with the apgdiff 2.3 but it gives the difference in terms of schema not the data but I need both ! Thanks in advance !
stackexchange/codereview
Guys the following code allows the user to choose the date between september 1st to current date. i am having problem with jquery datepicker code. kindly let me know your views. > <% try { sdf = new SimpleDateFormat("yyyyMMdd"); minDate = new Date(); /...
stackexchange/codereview
We have a .Net compact 3.5 application running on windows mobile 6.1 platform. We run it on Intermec CN50 PDA. Today we encountered a weird problem. The bar code functionality stops working after we logged in our application for no reason. Even weirder, the bar code functionality will stop working with ALL other apps a...
stackexchange/codereview
In a Windows Forms application, when do I write the code to set the focus to a control both while the application is launched and subsequently after I call a function? For instance, if I have a DropDownList, a TextBox and four buttons and I want the Focus to be set to the DropDownList, where do I write my code? To set ...
stackexchange/codereview
I've been scratching my head over this for over a week now and haven't gotten anywhere :( We have an existing legacy DB that I'm trying to model my entities against. The tables are extremely bloated and we do not have enough bandwidth to create new, optimized tables. So I'm having to work with what we already have. How...
stackexchange/codereview
I am often asked to debug Python scripts written by others. I would like to send these scripts to IPython so it will drop into an IPython shell at the point the script fails. Unfortunately, I cannot find a way to send (required) command-line options required by the scripts. IPython assumes everything in is for IPytho...
stackexchange/codereview
What do you do to fix the missing context menu item "Suppress Message" from Visual Studio's (2008) "Error List" pane? This context menu item used to appear when right clicking on a code analysis error and was the last item in the menu. I have already tried resetting all settings, and tried other projects/solutions. Al...
stackexchange/codereview
I'm allowing users to manage a distribution list stored in a database. Users are only allowed to enter emails that are @mydomain.com. A web based application then takes the distribution list and sends emails. I'd like to validate that the email is valid before sending an email from the application. To send an email I'm...
stackexchange/codereview
Is it possible to use jstl inside javascript? I'm tying to set <c:set var="abc" value="yes"/> and then later access this value in html and execute some code. My problem is the c:set is executing always even if the javascript condition is false. <script type="text/javascript"> var v1 = false; <c:set var"abc" value="yes...
stackexchange/codereview
I need to create simple toobar (divs and uls) with few anchors and few tabs. Position must be fixed to the bottom of the page. <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> </script> <html x...
stackexchange/codereview
I've got an application that generates a fairly long FlowDocument. It uses a "custom" paginator to wrap a header and footer around each page when printed. In addition, each page contains one or more "subheadings". I would like to have it also automatically create a table of contents for this document, showing what subh...
stackexchange/codereview
Is there something stopping this working, I'm dynamically adding a row to a table, then if they click the new row (or any row in the table) it should disappear...but it isnt working? $('.addtocart').click(function(){ var omPartNo = $(this).next().text(); var supPartNo = $(this).n...
stackexchange/codereview
How to find 'n' largest element positions in a 2D array? Is there a good algorithm, other than brute force? Any suggestions are helpful. Thank you.
stackexchange/codereview
I'm very confused by a compiler error. My code was thoroughly working 4-5 h ago; the only feasible checkpoint along the way hasn't yielded any clues (i.e., I have not been able to get the error to disappear at one intermediate step). I don't see how the compiler error could be related to any of the changes I have made....
stackexchange/codereview
I am working on a program and need to implement a double-entry accounting system. It would seem to me that there should be some open source project or code base out there already with most all of the basic accounting functions already written, but Google didn't turn anything up. I don't want to re-invent the wheel, so...
stackexchange/codereview
hey guys, somehow i can't find the solution for my little problem. i have a paragraph setting with a max-width of 630px. in some cases i have images within one of those paragraphs - and in this case i want the image to act normal -> without any max-width setting. .post-body p { width:99%; max-width: 630px; } ...
stackexchange/codereview
When I try to create a custom Transport Filter for datasnap and use it, when I run the client app i get an error stating: Exception TDBXError in Module ProjectAdminClient.exe. Filter Log Rejected setup parameter FilterUnit given value 1024. At this point the server communication is not possible due to this incompatibil...
stackexchange/codereview
How would I mysqli::stmt->bind_param something that's considered as NULL in mysql? I'm currently using $stmt->bind_param('s', 'NULL');
stackexchange/codereview
IS there much difference between MySQL and PostgreSQL for a beginner like me, using basic select statements and the like, or are the main differences with using more advanced queries?
stackexchange/codereview
I have Nokia 5800 xpressMusic and after install SmartTouch application (PC Bluetooth remote control) it tells me that it is connected but not working. There a log file generated after running the server in PC contains the following error: Traceback (most recent call last): File "client.pyw", line 24, in run File "b...
stackexchange/codereview
i need in one query use select, insert, delete and update. (I need copy data from old table in to new, then delete old, and update another). Insert and select (copy function I was able to, but now i have problem) I have this query: INSERT INTO news_n (id, data) SELECT (id, data) FROM news WHERE id > 21 Th...
stackexchange/codereview
I'm working on a docking project, in which I need my form to dock itself into a window that doesn't belong to my application. I have no problem detecting the location of the window, however I haven't got a clue on how to intercept the event of movement of the window. Does anyone know how can I intercept the event of mo...
stackexchange/codereview
In the windows installer, Global assembly cache folder, i have a dll i'd like to register. the reason for this is this file is referenced in a configuration file that's loaded during the custom action execution. When the custom action executes, the configuration can still not locate this file (even though it's supposed...
stackexchange/codereview
I have two cucumber features on my app that resembles something like: Feature: Number 1 Background: User logs in on twitter Steps @log-out-remote-too Scenario: User logs out from local-app Steps Feature: Number 2 Scenario: User is logged in and is welcomed Sees "welcome" inside "someth...
stackexchange/codereview
I have an html page that creates an sqlite database using the openDatabase function. As I have an existing and large sqlite database, I wonder if I can import it into that web created sqlite database instead of putting my sql code in the transaction.executeSql function repeatedly? PS: I found this post but no code is s...
stackexchange/codereview
I am using ASP.NET MVC 3. I am using what essentially came with for free in the Visual Studio project template for an MVC project with the "Internet Application" option. Basically this brings in Forms authentication and provides some basic elements to manage user login and stuff. I am also using the web profiles stuff ...
stackexchange/codereview
I am trying to allow the user to define a border for an overlay. This seems like it should be a simple thing; but I can't even find out how to know when the user is touching the map. I would have thought that the UIMapViewDelegate would have methods to respond to the user's interactions, but it doesn't seem to. In the ...
stackexchange/codereview
I'm working on an external web site (in DMZ) that needs to get data from our internal production database. All of the designs that I have come up with are rejected because the network department will not allow a connection of any sort (WCF, Oracle, etc.) to come inside from the DMZ. The suggestions that have come from ...
stackexchange/codereview
Suppose I'm embedding Sun's JVM in a C++ application. Through JNI I call a Java method (my own), which in turns calls a native method I implemented in a shared library. What happens if this native method throws a C++ exception? edit: compiler is gcc 3.4.x, jvm is sun's 1.6.20.
stackexchange/codereview
I have an oracle table that has a column called system_access that has the following data: Read Only, Write, read only, Admin Read, Write, read only, Admin Admin, Read Only (no), read only(see mgr), Admin Based on the above sample data, I am unsure of my query to only retrieve records that match the exact words of "Re...
stackexchange/codereview
This SO answer references "Small Boy With A Pattern Syndrome." Although I can infer some meaning by context, I don't fully understand. What is a good definition for "Small Boy With A Pattern Syndrome"?
stackexchange/codereview
I am using a SurfaceView and a rendering thread to develop a game based on structure like LunarLander. However, I faced many problems, and here I want to point them all out. I wish anyone who want to develop a game won't need to struggle with them anymore. And anyone who have a better idea of the structure can share t...
stackexchange/codereview
I have the following User.h that holds several attributes (strings). User.cpp has all the definitions. //User.h #ifndef USER_H #define USER_H #include<iostream> #include <cstring> using namespace std; class User{ string username; public: User(); string getUsername() const; ...
stackexchange/codereview
I have the following classes public class Contact { public Contact() { Addresses = new List<Address>(); EmailAddresses = new List<EmailAddress>(); PhoneNumbers = new List<PhoneNumber>(); } public virtual int ContactID { get; private set; } public virtual Firm Firm { get; set; } ...
stackexchange/codereview
in my app i used the code below to handle the messages send from iphone i want to know how to let him choose between contact us and tell a friend like other apps how can i make this issue ? the code : -(IBAction)sendEmail { //Create a new mailComposer object and set the mailComposeDelegate (required). MFMailCom...
stackexchange/codereview
I have a hierarchical database strucutre, e.g. columns ID and PARENT_ID defined for each row, with the top level rows having a NULL PARENT_ID. I have all the relationships from this table flattened into another table, e.g. if there were three records in a single hierarchy of grandparent, parent, grandchild, there would...
stackexchange/codereview
Curious if anyone out there has ever connected NHibernate to Visual Foxpro 8.0? I'm looking to hook into a legacy data store, and would prefer to use NHibernate vs. having to hand-code all of the ADO.Net. If anyone has an example of the configuration XML file for a FoxPro 8 connection that would be great!
stackexchange/codereview
I a using Microsoft Business Intelligence Development Studio (SSIS) 2008. I can see components in my toolbox but they are greyed out. I cannot access them.
stackexchange/codereview
I am working on a C# application that has multiple forms. When I open one of the forms I add an event listener like this: SomeClass.MotionCompleted += new EventHandler(HandlerMethod); . The MotionCompleted event is a static event. I have noticed that after closing this form the HandlerMethod still gets called when the ...
stackexchange/codereview
I created a site template from one of my sites, and now I want to delete it, but I can't find where to do it. I have looked everywhere :( I'm using SharePoint Foundation 2010.
stackexchange/codereview
I would like to add a payment module on my website that I`m going to build, I want the users to pay mainly using Credit Cards, Master Cards or Visas. It would be good to also add PayPal payment, any other method will be acceptable. If there are tutorials for the installation of the module would be great. PS: I don`t mi...
stackexchange/codereview
I have problem with vertical scrollbar on my page. I have lot of items inside ul inside div, I tried with overflow:auto in style for div but it doesn't help. How to add scrollbar vertical to ul or div ? <div id="content"> <p>some text</p> <ul> <li>text</li> ..... <li>text</li> </div>
stackexchange/codereview
I've been messing around with C2DM and have a nice little app working perfectly in the Emulator. I send a message from my app server to Google's C2DM servers, the message will arrive on the emulator and my app would respond appropriately. My problem now is running the app on my smartphone (a Nexus One). The app runs ...
stackexchange/codereview
int main() { int i, a[N]; // initialize the array for(i = 2; i < N; i++) a[i] = 1; for(i = 2; i < N; i++) if(a[i]) for(int j = i; j*i < N; j++) a[i*j] =0; // pirnt the primes less then N for(i = 2; i < N; i++) if(a[i]) cout << " " << i; cou...
stackexchange/codereview
What are the differences between the following: Private Sub Private Function Private Class When should each one be used?
stackexchange/codereview
I have a client who has a number of domains, say www.abc.com, www.xyz.com, and one domain that gets used for login/signup functionality--login.company.com. login.company.com has an SSL certificate, and the other domains do not. The client would prefer not to purchase additional SSL certs for the other domains. Currentl...
stackexchange/codereview
I am trying to figure out how to create an object in JavaScript that will trigger events on creation and change of arbitrary key/values. Here is some psuedocode: var User = function () { var user = {}; function keyAdded() { /* trigger an event */ } function keyChanged() { /* trigger an event */ } retu...
stackexchange/codereview
I have a .NET 3.5 web application which has a set of classes handling entity persistence. The INSERT and SELECT prepared commands work. However the UPDATE command never works (no database record is updated) and it never throws an exception. Also it always returns 1, so even the command.ExecuteNonQuery() returns a valid...
stackexchange/codereview
I would like to know if there is great book or website that discusses in great detail how to use DataTable in a multithreaded way. It should discusses in great detail how it behave upon add, get, update and deletion of rows. It should also discuss the proper way of using locks, acceptchanges and other important detai...
stackexchange/codereview