instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Given the following API call in Curl, how would I do this in JQuery? curl -u #{api_key}:x -X GET https://#{your_account}.batchbook.com/service/people.xml
stackexchange/codereview
I am learning boo (got the ebook), but one question I have is what exactly is a DSL? Better question, if a DSL is geared towards a specific problem, then isn't it just another name for really an application space (e.g. Word Processing, DBMS, maths processing software), all solve their own problems. I ask this because r...
stackexchange/codereview
I was working with the new version of ASP.NET MVC3 and examining the WebSecurity class. I've added System.Web.Webpages as a reference and am able to the use the WebSecurity properties and methods however i'm trying to understand how to configure it inside an ASP.NET page and not one built by WebMatrix. In the Webconf...
stackexchange/codereview
I am working on integrating a javascript shopping cart, simplecart-js, into a Jquery LightBox, Yoxview. Yoxview has an option to add button links in the popup title pane for various options, downloading, shopping cart, etc. The relevant code for my shopping cart button is: var yoxviewCartButton = $("<a>", { title: ...
stackexchange/codereview
This should be an easy one. I have a variable that I've already declared called $listItems. The declaration looks like this: var $listItems = $ul.children('li'); // $ul is just a selected unordered list Later in my code, I'd like to only get the ones that are currently visible. How would I go about that? Something lik...
stackexchange/codereview
I have a class which basically is a text manager. It can draw text and whatnot. I basically want the color and text std::string to only be a constant reference. Would it then be alright to do class TextManager { const std::string &text; void draw(const std::string &text) const; public: TextManager(const std::string &te...
stackexchange/codereview
When using boost::conditional_variable, ACE_Conditional or directly pthread_cond_wait, is there any overhead for the waiting itself? These are more specific issues that trouble be: After the waiting thread is unscheduled, will it be scheduled back before the wait expires and then unscheduled again or it will stay unsc...
stackexchange/codereview
I have a recurring task of splitting a set of large (about 1-2 GiB each) gzipped Apache logfiles into several parts (say chunks of 500K lines). The final files should be gzipped again to limit the disk usage. On Linux I would normally do: zcat biglogfile.gz | split -l500000 The resulting files files will be named xaa,...
stackexchange/codereview
We would like to capture the user input pertaining to the hour & minute hands on a clock. What kind of clock interfaces are available to achieve this? (e.g. select 9.30 AM on the clock or select 3.45 PM on the clock)
stackexchange/codereview
I want to be able to answer queries like "how many records were created and have log_id 001" or "how many records have been deleted with attribute "00EA". 34 records are created with attribute "00EC" and log_id "001" 32 records are updated with attribute "00EC" and log_id "001" 31 records are deleted with attribute "00...
stackexchange/codereview
I can't seem to use data that is in an EditText box. I have one activity for entering a url and a submit button. When the user clicks submit, a new activity opens as a WebView and should display the url that the user typed in the EditText box. This should be the simplest of tasks but I can't find how to do it anywhere....
stackexchange/codereview
A question in the proper use of a choice-based field in Django relative to searchability and speed. If I design my model like so: STATUS_CHOICES = ((1, 'Published'), (2, 'Unpublished'), (3, 'Retired'),) status = IntegerField('Status', choices=STATUS_CHOICES) In my database I do not...
stackexchange/codereview
I've already set up a Git repository on GitHub and committed a few changes from my Windows machine. But tomorrow I'll have to work in this repository from a machine running Ubuntu with limited privilege (i.e. no sudo). Is there a portable version of Git for Linux? Or some source that allows me to compile and install Gi...
stackexchange/codereview
If I create a new thread on an ASP.NET page the IsThreadPoolThread property is true. First question is, is it from ASP.NET pool or CLR pool ? Second question is, if it is from ASP.NET pool then how to create a thread from CLR and don't use ASP.NET pool ? I need a synchronous solution for long-running requests (full sto...
stackexchange/codereview
A few questions about the C++ preprocessor: how to make the preprocessor go to a new line into the preprocessoring code? how to make the preprocessor insert a tab character or multiple spaces into the preprocessoring code? how to make the preprocessor insert comments into the preprocessoring code?
stackexchange/codereview
In this article http://www.kashit.org/design/css/ultimate-guide-to-techniques-for-cross-browser-css/ under section "Fixing IE Box Model Bug" author wrote IE 6 can actually get it right if you are in standards-compliant mode. Is it mean if we use XHTML 1.0 strict or HTML 5 doctype than this box model problem will ge...
stackexchange/codereview
What I'm trying to do is: I have a form. I submit that form. In the code of the target script I want to make some validations. In a certain case, I want to make a POST to another URL. I don't want to just make a redirect to an URL. I don't know if this is possible, that's why I'm asking. I'm working with PHP. Than...
stackexchange/codereview
Is it possible to create a anoynmous count with nhibernate? The below query throws the exception "No column *". I could of course add a column name, but I'd prefer not to, because if I do, I'll have to lookup column names for 95 tables... NHibernate.Criterion.DetachedCriteria dcIsUniqueDomainname = NHibernate.Criterion...
stackexchange/codereview
I'm having some trouble with users losing session data whilst going through an application form. It appears that they're losing session state part way through application forms. (ASP.NET 4.0 WebForms project, IIS 6.0) Session is stored out-of-process in the state server so it's not config changes, appdomain recycling, ...
stackexchange/codereview
How to programatically assign random colors to objects in 3ds max?
stackexchange/codereview
I want to rotate the image in clockwise or anticlockwise direction corresponding to the user touch drag with its speed. I think this can be done with some math and logic. What would a code sample for this look like?
stackexchange/codereview
Possible Duplicates: Static linking vs dynamic linking C++ application - should I use static or dynamic linking for the libraries? What point we should take care before selecting static and dynamic linking?
stackexchange/codereview
I'm trying to run the following command using the 'exec' task in Ant: ls -l /foo/bar | wc -l Currently, I have my exec looking like this: <exec executable="ls" outputproperty="noOfFiles"> <arg value="-l" /> <arg value="/foo/bar" /> <arg value="|" /> <arg value="wc" /> <arg value="-l" /> </exec> Th...
stackexchange/codereview
This is similar to another question that wasn't really answered: Xcode 3.2: Build & Analyze never finds any issues I used XCode's Build and Analyze for the first time on a large project and came up with a number of analyzer warnings. I corrected a few and wanted to verify my changes were being 'accepted' by the analyz...
stackexchange/codereview
is it possible to create relations in hibernate / jpa that are fetched when the containing entity is fetched but will never ever result in any db updates, when the containing entity is saved? I'll try to make the requirement clear by an example. I have a simple entity B @Entity public class B { private int bId; ...
stackexchange/codereview
I am storing a jagged array of numbers in approximately the following way... Dim mainarray() as Variant Dim smallarray() as Integer ReDim mainarray(fairly_large_size) For i = 1 to fairly_large_size ReDim smallarray(some_variable_moderate_size) 'fill in smallarray mainarray(i) = smallarray Next i The ques...
stackexchange/codereview
I have a Flex Tree component in my app. I set the icons for open and close. BUT I can't find something about changing the default background-color from white to something different. obviously there is no background-color setable in css... any ideas? thank you
stackexchange/codereview
does anyone know how to make a simple EQ audio unit (3 bands - low, mid, hi) with iOS ? I know how to add an iPod EQ Audio Unit to my AU Graph. But it only give you access to presets and I need proper control of the EQ. I've looked around for some tutorials or explanations but no luck. Thanks. André
stackexchange/codereview
Here is the scenario where I need help I ve got a report - XYZ Summary Report (with embedded sub-report) and the XYZ Details report (the sub-report) The requirement is that the XYZ Details report be a sub-report to XYZ Summary Report and also be available as a Stand Alone report through a Parameter. Report Information:...
stackexchange/codereview
I noticed that like Google Email, FB's source code shows nothing but Javascript. Why do they use JS to write the page?
stackexchange/codereview
I'm developing a jQTouch-based app for the iPhone and part of it uses the Google Maps API (V3). I want to be able to pass the geolocation coordinates to the map and have it center the location with a marker. What I'm getting now is the map at the proper zoom level but the desired center-point appears in the upper-righ...
stackexchange/codereview
On Linux environment, is there any good intellisense tool, like an IDE you use for coding Ruby on Rails? And what about Windows environment, any really good smart editor? thank you
stackexchange/codereview
I'm writing my blog system(django), and my blog files are VCSed by mercurial, I want get files create/update time, how could I do this by using commandline or python? edit: this is a example: $ SOME_COMMAND xxx.txt 2010-12-13-04:12:12 2010-12-14:04:12:12 xyx.txt 2010-12-13-04:12:12 2010-12-14:04:12:12 xxy.txt 2010-12-1...
stackexchange/codereview
I was wondering if it would be possible to port the gtk gui framework to Go with the swig wrapper? Or am I just living in a fantasy world?
stackexchange/codereview
how come that when the debugger pointer is on this line " object1.method1(object2.method2()); " stepping over skips both of the methods, instead of just the method2 ? I always have to step into the method2 if I want then to step into method1. Usually method2 is some kind of low level stuff I'm not interested in.
stackexchange/codereview
I previously wrote some utilities in Perl, and I am now rewriting them in order to give some new/better features. However, things seem to be going much more slowly than in the original utilities, so I decided to run one with the NYTProf profiler. Great profiler btw, still trying to figure out all its useful features. S...
stackexchange/codereview
I'm creating UIButtons (type = UIButtonTypeCustom) with a custom background drawn by an artist; unfortunately UIButton is adding an unwanted 'well' effect around the backgroundImage (as specified via setBackgroundImage). Is there a way to disable the well? It's not a simple drop shadow, so messing with the CALayer prop...
stackexchange/codereview
Can css be applied to controls of the page.aspx? To anything and everything?
stackexchange/codereview
While looking for alternatives to replace GDI, I was trying to test Delphi's 2010 TDirect2DCanvas performance in Windows 7. I tested it by drawing a huge polyline using Direct2D and the result was absurdly slow, even with 500 times less data than the amount I've ran the same test using GDI (and I didn't even use a bitm...
stackexchange/codereview
There has been some discussion in abandoning our CI system (Hudson FWIW) due to the fact that our projects are somewhat segmented. Without revealing too much, you can think of each project as similar to a web site project: it has dependencies, its own unit tests, etc. It seems like one of the major benefits of CI is t...
stackexchange/codereview
I'm creating a web-database driven offline web-app targeted at iOS devices. I'm trying to use jQuery Mobile, but I have a problem in creating the various forms. The form options are taken from a database query, so they are inserted into the page after it has loaded, so the "jQuery-Mobilification" doesn't happen. Taki...
stackexchange/codereview
I have SQL server 2008 enterprise with a database containing up to 100 tables. I generated a database diagram with all of the tables because I want to get an overview of the database. My question is : How can I quickly find the diagram I want, are there any search functions regarding to diagram search ?
stackexchange/codereview
I have to create slightly dynamic pdf (two variables) with two text blocks in different languages. Most of the text in both blocks is static I was thinking if I could create one template that would create xsl-fo for the layout. Then create two variables containing custom xml. Something like: <xsl:variable name="TEXT_C...
stackexchange/codereview
I am trying to call one jsp files from Jquery-ajax call. But, I can able to get only pure html. It is not loading any css files and js files while loading html. so html page is coming with out style sheets. here, sample code updated <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@page language="j...
stackexchange/codereview
I want to map integers to strings, they are one-to-one such as : 60 : c 61 : c# 62 : d 63 : d# 64 : e 65 : f 66 : f# But I need to have the ability to do the following : Get a value from a key : "c" = getValue(60) [ give it a key 60, return string value ] get key from a value : 65 = getKey("f") [ give it a string ...
stackexchange/codereview
A similar question is posted here. I have an undirected graph with Vertex V and Edge E. I am looking for an algorithm to identify all the cycle bases in that graph. An example of such a graph is shown below: Now, all the vertex coordinates are known ( unlike previous question, and contrary to the explanation in the ab...
stackexchange/codereview
What will happen if I declare DB null field as not null in Mapping file? Or if nothing is specified in the Property column but it is a not-null field in the DB? I am confused, please help.
stackexchange/codereview
In my program, I have a series of UIButtons in an array that I would like its title to be shown each one at a time one by one in a timed sequence after executing a function that has a while loop. I have an IBAction attached to the buttons and when touched will call another function that will do some operation and in t...
stackexchange/codereview
I'm trying to change the default path or add a path that the webserver looks for images. I really would really like a solution to do this in PHP and not in htaccess. The most basic example would be trying to "break" the current implementation so say I have a directory with the following: main/ image.png index.php In ...
stackexchange/codereview
I ran into an interesting iOS problem today involving a CATiledLayer. This only happend on the device - not in the simulator. My view draws in its CALayer via the drawLayer: inContext: delegate callback. This layer has a CATiledLayer-derived sublayer, which does its own drawing in an overridden drawInContext: method....
stackexchange/codereview
When you create a Clojure project with leiningen all the *.clj-files are compiled AOT. Normally the AOT compilation is not necessary and I would like to minimize it. This is necessary for me to raise acceptance of Clojure as a complement in a Java-dominated environment. It is easier to "sell" a single class-file as the...
stackexchange/codereview
why 9 is a must in char input[9] int getInput (void) { char input[9]; fgets(input, 9, stdin); return atoi(input + 6); } void printHeader(void) { printf("Content-type: text/html\n\n"); printf("<html>\n"); printf("<head>\n"); printf("<title>%s</title>\n", PROGRAM_NAME); printf("</head>\n...
stackexchange/codereview
Is this a safe way of iterating ConcurrentQueue<T>? while (cq.GetEnumerator().MoveNext()) { IIndexTask task; if (cq.TryDequeue(out task)) task.Execute(service); }
stackexchange/codereview
I am new to Linux, After implementing a simple system call on the Linux kernel that prints to the syslog via printk, I would like to be able to extend this application , so I can get details on the battery percentage of my laptop or check the speed of the hard drive in the computer, could any of you give me a hand on...
stackexchange/codereview
Im using a cursor to go over some data but I need to declare diferents sql statments according to a parameter. The problem seems to be that Im no able to use if statmets into this declaratios: DECLARE CURSOR c IS SELECT * FROM TRAFICO IF TipoConsulta = 'mes' then BEGIN WHERE ...
stackexchange/codereview
I would like to wrap a java application as a Windows Service using C#. I can do it easily using the Process class and calling Process.Start("java.exe", "args"), but doing this way I have 2 process, my service wrapper and the java process. I'm looking to fully wrap the java application, including the java process. Does ...
stackexchange/codereview
I've got a python list like a = [ [[1,2,(3,4)],[1,2,(5)],[-3,3,(3)],[8,-2,(5)]], [[1,2,(3,4,5)],[-1,222,(3,4,5)],[99,2,(3)],[8,-2,(4,5)]] ] The tuple in each list element is total useless, please ignore that but delete them I want to get the max min value from each list element in each position The exepected o...
stackexchange/codereview
How do I pass username and password to an HttpWebRequest in Silverlight 4. since the HttpWebRequst class in silverlight does not implement Credentials property, therefore i am unable to authenticate my user. one way I found was, to pass credentials in header using Authorization header, but it requires ASCII encoded va...
stackexchange/codereview
I am using cocos2d and box2d in my iPhone game. When two balls hit each other, I get a notification though the ContactListener and I have a reference to both bodies. I can destroy both of them, but I would like to do it with a delay. So, two balls hit each other, they bounce off and then after a second disappear.
stackexchange/codereview
$str = "This is a string containing 中文 characters. Some more characters - 中华人民共和国 "; How do I detect if there are chinese characters in this string but i have no idea how to do it.Any clues?
stackexchange/codereview
I'm trying to see the exception that's being thrown in my WCF service but all I get from the response is: "The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configu...
stackexchange/codereview
From the man page on my system: void *memmove(void *dst, const void *src, size_t len); DESCRIPTION The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is always done in a non-destructive manner. From the C99 standard: 6.5.8.5 When two p...
stackexchange/codereview
I have a problem that I'm working in nHibernate project that have the following object: [Serializable] public class Prototype { public virtual long Id { get; private set; } public virtual string Name { get; set; } public virtual IList<AttributeGroup> AttributeGroups { get; private set; } } I have create...
stackexchange/codereview
I've tried different methods around the web but couldn't make it work. Cursor cursor = sqlite.myDataBase.rawQuery("SELECT StartDate, EndDate FROM Tracks Where Id="+'"'+trackId+'"',null); SimpleDateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date startDate = outputFormat.parse(cursor.getString(c...
stackexchange/codereview
I have an issue with an overlapping image link, that hides another link below it. <div id="header-first"> <div id="logo"> <a title="Αρχική" href="/"> <img alt="Αρχική" src="/sites/default/files/acquia_marina_logo.png"> </a> </div> </div> The problem is that there is a li...
stackexchange/codereview
Whenever I deploy "CoreDataBooks" Apple iOS sample application to my jailbroken device with self signed certificate and run it - it crashes at line where core-data persistent store is added to persistent store coordinator: line 178: if (![persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configura...
stackexchange/codereview
I have an RTMP stream loading and would like to know the drop off time of the video. Is there a method of knowing when a person abruptly leaves the video session by closing the window, back button, address bar, etc? Or do i need to make an external interface call from JavaScript to Flash using something like onunload &...
stackexchange/codereview
What would be the easiet (and possibly fast) way to get a BlockCollection object (System.Windows.Documents namespace) which contains a given Block-type object? I could not find any direct way of doing this using what's available on Block class. public static BlockCollection FindContainingCollection(Block block) { //...
stackexchange/codereview
Is it possible to compare more than two kernel executions at a time in Compute Prof?
stackexchange/codereview
On iPAD when you create new UITableViewCell the contentView width set for 320. Is there a way to get the right width? I can't use the width of the current view as the table cells do not span the entire width of the view. Any help would be greatly appreciated.
stackexchange/codereview
I have a very simple set-up. Table "Node" has a nullable foreign key "ObjectId." This is represented in my database model with a one-to-many association. Now, I want to run a query that gives me all Node-Objects with a particular object id. In straight SQL, this is very easy: SELECT Node.*, Object.* FROM Node INNER...
stackexchange/codereview
Can anybody show a working example of how to get pretty urls on a GWT project over AppEngine. I know that you will suggest to look at UrlRewriteFilter. I have been burning it for 3 days and get no succedd. Please, could help?
stackexchange/codereview
The goal is to have the user select a java program, then my program opens up a JInternalFrame with a JEditorPane inside it as the console and places said JInternalFrame in a JDeskopPane. Is it possible to change all the Windows the user's program may open into JInternalFrames and place them in said JDesktopPane, as we...
stackexchange/codereview
I have an alertview that is being created with a textfield inside of it. when i close the alertview via a submit or cancel button, i am getting the wait_fences error in the console. it doesnt crash, or i havent been able to make it crash but id really like to figure out what is going on. alert = [[UIAlertView allo...
stackexchange/codereview
I have a following working regex in Python and I am trying to convert it to Java, I thought that regex works the same in both languages, but obviously it doesn't. Python regex: ^\d+;\d+-\d+ My Java attempt: ^\\d+;\\d+-\\d+ Example strings that should be matched: 3;1-2,2-3 68;12-15,1-16,66-1,1-2 What is the right solut...
stackexchange/codereview
I have 2 websites connecting to the same instance of MSSQL via classic ASP. Both websites are similar in nature and run similar queries. One website chokes up every once in a while, while the other website is fine. This leads me to believe MSSQL is not the problem, otherwise I would think the bottleneck would occur in ...
stackexchange/codereview
Can anyone tell me if there is a way to retrieve a copy of the fax that was sent using the RFCOMAPILib? I am able to send faxes easily, but a new requirement has come up that the fax that was sent be viewable to the users. Currently I log the handle of the fax object and use that to retrieve status updates. Thanks
stackexchange/codereview
Since iOS 3.2 the MPMoviePlayerController class allows to embed a movie in the view hierarchy. Now I'm facing this issue: I create my portrait view by placing an instance of MPMoviePlayerController. When the user touch the "fullscreen" button this view enters in fullscreen mode but the view remains in portrait. When t...
stackexchange/codereview
I've created a custom server control in ASP.NET to render a standard checkbox and a hidden field like this: public class CheckAllBox : WebControl { private string checkboxClientID; protected override void OnInit(EventArgs e) { checkboxClientID = String.Format("{0}{1}chbCheckAll", base.ClientID, ba...
stackexchange/codereview
I am making an MVC EditorTemplate for the bool data type that will render a drop down list with options True or False, AND set the selected value to the value of the Model. The DDL renders but it's not being set to the value of the model. What am I missing here? Here is my view code: <%:Html.EditorFor(model => model.As...
stackexchange/codereview
Blob is defined as follows: unsigned char* blob=new unsigned char[64]; We then try using the immediate window blob+12 0x084F8854 *blob+12: 0x75 'u' blob+13 0x084F8855 *blob+13: 0x11 '' blob+14 0x084F8856 *blob+14: 0x94 '' blob+12,3 0x084F8854 [0]: 0x75 'u' [1]: 0x0 '' [2]: 0x0 '' Why doesn't b...
stackexchange/codereview
If you have an interface for a repository that includes T Add( T entity); The Repository wouldn't include a Save() or SaveChanges(). If you were to return "entity" with: return _dc.Entities.Where( n => n.ID == entity.ID).Single(); I wouldn't expect this to hit the database and auto-generate identity values (auto-inc...
stackexchange/codereview
What's best practice (in VB.Net): Function GetSomething() as String GetSomething = "Here's your string" End Function or Function GetSomething() as String Dim returnString as String = "Here's your string" Return returnString End Function Obviously, neither of these implementations make any sense, but they'...
stackexchange/codereview
Possible Duplicate: wxPython: how to create a bash shell window? HI, guys. I want to develop a window or frame for the bash shell program. Even after trials with the code of the link given by Bryan (thank you so much!!), it still does not work. Basically, I use the code sample put by Anurag Uniyal. However, I have ...
stackexchange/codereview
I have an internal suggestion box application where all users can have the same username and password .. so I'm doing an autologin with a jquery form submit.. this works great in FF and Chrome but in IE.. it populates the values in the user/password form fields.. does the submit.. and then just does it again over and...
stackexchange/codereview
We have this method call: SendAck(AppData:=AppData, Status:=Status, StatusMessage:=StatusMessage, IsApplication:=IsApplication) And here is the definition: Private Sub SendAck(ByVal AppData As XDocument, ByVal Status As Boolean, ByVal StatusMessage As String, ByVal IsApplication As Boolean) Why does the call have the...
stackexchange/codereview
How would I go about using the jQuery .wrap method to wrap a span around text in an element? Here is the code I am working with so far: $.each(childElements, function(i, val) { $(childElements[i]).wrap("<span class='' id='child_element_" + i + "' />"); }); I want to wrap that span around the text t...
stackexchange/codereview
This piece of code below is causing my app to crash EDIT @interface termsAndConditions : NSObject { NSMutableString *titleText; NSMutableString *bodyText; NSMutableArray *arrayBodyText; } @property (nonatomic, copy) NSMutableString *titleText; @property (nonatomic, copy) NSMutableString *bodyText; *EDIT* else if ([[...
stackexchange/codereview
I develop a WPF4 application and in my app I need to let the user select a folder where the application will store something (files, generated reports etc.). My requirements: Ability to see the standard folder tree Ability to select a folder WPF look & feel, this dialog must look like part of a modern application de...
stackexchange/codereview
The following is my code /* Initialise default without options input. */ options -> processHiddens = false; options -> timeResolution = DEFAULT_MOD_TIMES; options -> performSync = true; options -> recursive = false; options -> print = false; options -> updateStatus = true; options -> verbose = false; options -> program...
stackexchange/codereview
Is there a hudson plugin to add multi-user functionality ? Users can create new account and run their own remote tasks. Users can stop, delete, kill their tasks. Also, is there a way to control what the user sees ?
stackexchange/codereview
I'm trying to implement a voting system kind of like the one here on Stack Overflow. (Using Rails 3) I want the voting to be done without a page reload, so I have this code link_to("/tags/#{tag.id}/upVote", :remote => true ) And so in my /views/tags directory I have a file called _upVote.js.erb that I thought would be...
stackexchange/codereview
How to add translations in .js file I am having a line like $(display_charsleft_id).innerHTML = var1 + " characters left!"; I amtrying to add translations by (display_charsleft_id).innerHTML = var1 + <%=t :str_chars_left%>; but this shows only the translation value and not appending the value of var1 str_chars_left: ...
stackexchange/codereview
I apologise for this question as it is rather fuzzy and there are several questions integrated but as they are so closely related I did not want to break them apart into several submissions. I am currently thinking about how to test for configuration errors in an application. There are different options available and ...
stackexchange/codereview
Is it possible to join the results of a SELECT with another table. Like this: SELECT * FROM table1 LEFT OUTER JOIN (SELECT * FROM table 2) I know I need to link the column but am not sure how. Is this possible?
stackexchange/codereview
Is there any way to make individual events editable as opposed to making the entire events array editable? Thanks, Shruthi
stackexchange/codereview
I am executing: exec sp_who go Is it possible to sort by a field like this? exec sp_who order by dbname go How would I accomplish this?
stackexchange/codereview
I have a table like this: CREATE TABLE vhist ( id int(10) unsigned NOT NULL auto_increment, userId varchar(45) NOT NULL, mktCode int(10) unsigned NOT NULL, insertDate datetime NOT NULL, default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; A user can have more than one record. I need an ...
stackexchange/codereview
I have an interface pointer to an COM object sitting within process 1. I would like to get access to the same object from another process. How can I achieve this purpose? I believe directly passing over the pointer wouldn't work due to different address spaces. I know it involves the marshaling/proxy/stub stuff. But I ...
stackexchange/codereview
Many new features of C# remind me of functional programs such as LINQ. As this makes many operations easier it clutters the language. Is this approach for good or bad?
stackexchange/codereview