instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
The following code fails when ExecMethod is called. Can anyone pinpoint what I am doing wrong? #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") int main(int iArgCnt, char ** argv) { HRESULT hres; // Step 1: ----------...
stackexchange/codereview
I need to import tables from foxpro 8.0 to sql server. How do I read the tables & schema from a foxpro directory/files in C# so I can create the tables in SQL Server and copy the data over?
stackexchange/codereview
I am trying to learn pure functional programming language like Haskell as I am from Perl background and read that Perl can also implement functional programming techniques. So few questions came in mind: Whether it is worth doing it in Perl 5? Does Perl 6 will make a difference? Can anybody suggest some code/examples ...
stackexchange/codereview
Microsoft has a SQL server either as 32 bit or 64bit, however the 64bit contains both 32bit AND 64 bit. are there any MSI packages containing the 32 bit AND 64 bit version of the ODBC connector ? i.e. the install package decides by itself which version to install`?
stackexchange/codereview
I have a single-channel PNG file I'd like to use as an alpha mask for Porter-Duff drawing operations. If I load it without any options, the resulting Bitmap has an RGB_565 config, i.e. treated as grayscale. If I set the preferred config to ALPHA_8, it loads it as a grayscale ARGB_8888 instead. How can I convince Andr...
stackexchange/codereview
While running on Heroku, I would like to be able to put key information via, say, puts or other such statement, to write to a log file. But Heroku doesn't allow writing to a file, so what is a way to do this easily?
stackexchange/codereview
I don't quite understand what the use of IEnumerator from the C# Collections is. What is it used for and why should it be used? I tried looking online at http://msdn.microsoft.com/en-us/library/system.collections.ienumerator.aspx but that article doesn't make much sense. The reason I ask is in Unity3d Game Engine, it'...
stackexchange/codereview
I am in the process of creating an application which will communicate with a single server where WCF Web Service(s) would be installed. I am a little new to this process and was wondering which of these two options would be better in the long run to handle the load for a significant amount of users: 1- Create and insta...
stackexchange/codereview
I occasionally use 64 bit arithmetic in an open source C++ library of mine. I discovered that long long serves my purpose quite nicely. Even some 10 year old solaris box could compile it. And it works without messing around with #defines on Windows too. Now the issue is I get complaints from my users because they compi...
stackexchange/codereview
My report contains 3 parts – 2 parts are quite straightforward table reports, and one part is contract agreement on about 10 pages, 10 pages of static formatted(bold headings) text. This contract agreement is usual agreement which consists of about 12 parts, where each part consists of heading and text, e.g.: 1. Part....
stackexchange/codereview
I am having a site with some pages on HTTPS connection. From these HTTPS pages, I have to use a HTTP Ajax request for some errors retrieval like blank fields. But this error messages are not coming. Is there any solution to it or I have to make that AJAX request to file on HTTPS connection?
stackexchange/codereview
I have an abstract base class with two inherited classes. In both these classes I define a virtual method that is used by the constructor. Now I need to create a copy constructor, but I can not declare the copy constructor as virtual, but I want the method call inside it to be dependent on the type of object that is fe...
stackexchange/codereview
I met problem when use ReceiveNoWait with Apache.NMS & ActiveMQ, really simple scenarios: private static void Send(string text) { var factory = new ConnectionFactory("tcp://localhost:61616/"); using (var connection = factory.CreateConnection()) { connection.Start(); var session = connection...
stackexchange/codereview
There are a lot of ways to pretty print XML, but I have yet to find one using a ColdFusion function. This is a common question, but again I want to do this within ColdFusion.
stackexchange/codereview
I am creating a Comment-Reply system, similar to stackoverflow and I wonder how to implement it using JSF + jQuery. I have a dataTable, each row have a link and a textBox, and once I click a link, only the textbox on that same row appear, and put focus on that textbox. <h:form id="userComment"> <p:dataTable value=...
stackexchange/codereview
I have an array as following. I order that array by the value of the key "attack". Everything is ok until then, but I want to get for example only 9 of that total attack values are summed up: I want to sum up 3 of key1 (3 * 45), 4 of key3 (4 * 35) and 2 of key2 (2* 25) are automatically summed up. I would be greatly ap...
stackexchange/codereview
I am trying to do curl requests through my local xampp setup but my company has a firewall proxy that needs to authenticate on port 8080. Can I have apache login to this proxy authenticate and complete the curl requests?
stackexchange/codereview
I was asked to write a function that would extract the diagonal of a matrix stored as a list of lists. The first version was to extract the number by indexing the lists, but I soon concluded it isn't a good algorithm for Haskell and wrote another function: getDiagonal :: (Num a) => [[a]] -> [a] getDiagonal [[]] =...
stackexchange/codereview
Is possible to create category in the drop down menu using jquery? so it will be: Southern Suburb suburb1 suburb2 suburb3 suburb4 Nothern Suburb suburb5 suburb6 thanks
stackexchange/codereview
How to convert a Ant project to Maven project? A sample project that would link (a Wicket project) Thanks
stackexchange/codereview
In my application I have an entity which is being used essentially as a complex many to many between my User and Project entities. I am trying to determine how to figure out if my service layer needs to add the entity to the context or attach the entity (for updating an existing entity) and I am at a loss of how. This...
stackexchange/codereview
In the code below all of the fields are returned from the tables except for fields that are foreign keys. How do I get the foreign key fields to display? I just want an equivalent to select * from tableName. public ActionResult ShowAllTables() { var model = new CSLA_StagingModel() { ...
stackexchange/codereview
I just recently stumbled upon the fact that Declarative Services in OSGi can set the configuration of a component to required so that the component receives it upon activation, removing the gap between component activation and configuration. I also realized with this that you can receive configuration updates via the m...
stackexchange/codereview
I have to write a WCF service that consumes a third party 'Web Service'. They provided WSDL and the URL so that I can post the transaction. Can some body please help me how to achieve this, with some code example. Thanks in advance BB
stackexchange/codereview
I have a list of object that, among other bits of data, include a date, and I need to create a list of all the objects where that date falls anytime last month, i.e. midnight on the 1st of last month < target data < midnight on the 1st of this month. I also need the number of total objects that meet this criteria. Righ...
stackexchange/codereview
I am trying to create a regex to parse document links (pdf, ppt, xls, doc) in a html page. I have the regex as non-greedy but the issue I am seeing is the following: A href to a HTML page appears before the href to the document on the same line. In this case the regex matches from the start of the href for the HTML p...
stackexchange/codereview
What mistake type is this and how to correct? [Sun Oct 31 12:00:07 2010] [error] [client 201.19.xxx.xx] File does not exist: /home/Example/public_html/url(res:, referer: http://www.example.com/mypage.htm The indication of this url (url(res:,) appears a lot of times in the log Apache 2.0.63 PHP 5.2.9
stackexchange/codereview
My app in django requires to tell the user what time an action occurred. Aside from asking the user what timezone he/she is in, is it possible for me to generate the time on the client end? Off the top of my head, are there a particular representation of time that is timezone independent, (unix time?), and then I can ...
stackexchange/codereview
This question was asked to me in one of my job interviews - M is a 2d n-by-n matrix in which every row and every column is sorted, and all the matrix elements are different. I need an O(n) algorithm - Given indices i, j, i0, j0 as input, compute the number of elements of M smaller than M[i, j] and larger than M[i0, j0...
stackexchange/codereview
I wonder if return @"Text"; is autoreleased? And if it is so could you please explain it. Is the compiler creating a NSString object for us or how will the compiler handle this?
stackexchange/codereview
I have a GridView that needs to display either x amount of columns from the GridView, or just one column (cell) which will expand to take up the entire row. Deciding which to display is done by checking if that one column is blank or not - if it is blank, display the other cells, or if not, just display that one cell. ...
stackexchange/codereview
I am trying to put together a query that gives me a report of number of sales of products and their stock level in 3 seperate locations (store branches) The idea is to group together the results as follows: Prod. | Loc1 Sales | Loc1 Stk | Loc2 Sales | Loc2 Stk | Loc3 Sales | Loc3 Stk Item 1 | 323 | 34 ...
stackexchange/codereview
I would like to know how to test if system() or exec() is allowed on a server. I keep getting this error "Warning: exec() has been disabled for security reasons in ..." I understand that the safe_mode function is depreciated in the php version my provider runs (5.3.3) so i cant use a get_ini('safe_mode') check. What el...
stackexchange/codereview
For a class, I have to make a Drag and Drop interface using only CSS, HTML 4.01, and Javascript with the JQuery library; no plugins allowed. I figure the best way to do this was aler the CSS position of the div I'm supposed to drag on mousedown and then on mouseup $(document).ready(function(){ $(".draggable").mous...
stackexchange/codereview
I have a gem to which I'd like to do few changes. I have it defined in my Gemfile as follows: gem 'mongo_mapper", :git => "git://github.com/jnunemaker/mongomapper", :branch => "rails3" I was not able to find it in /usr/local/ruby/lib/ruby/gems/1.9.1/gems.
stackexchange/codereview
I recently switched to from using integer sequence IDs to UUIDs for primary keys in my Rails 3 app using Postgresql, using a method similar to this method. As such, none of my tables have sequences, yet Rails is still making (what I believe to be) unnecessary calls to select sequences when records are created. For exam...
stackexchange/codereview
here is code for running threads in c# using System; using System.Collections.Generic; using System.Linq; using System.Text; using System; using System.Threading; namespace create_thread { class Program { public delegate void ThreadStart(); static void Main(string[] args) { ...
stackexchange/codereview
I am working on a project where I need to replace any phone number on a site with a number formatted like this: <span id="special-id">555-666-7777</span> Using regex isn't really necessary as I know the value I need to replace. Also, some of the numbers may be formatted differently (with parentheses or decimals). I'm...
stackexchange/codereview
I am wanting to return the results of this query into something I can use to populate a SelectList. I tried a NameValueCollection, and an IEnumerable, but both failed. What are my options given this code? This code does not work, but the query is exactly what I want. public IEnumerable GetValidAssociationsFo...
stackexchange/codereview
Inside my view.py, I have two functions, one that processes input from a form and outputs a filtered list, and another that is supposed to export this list to CSV. Here is the return of my first function: return render_to_response('templateX.html', { 'queryset': queryset, 'filter_form': filter_form, 'validated': v...
stackexchange/codereview
I have a database with about 160 tables (it's a shock ! I thought it had about 50...). We use a codebase with no DAL, and we want to start using MS Entity Framework (that's the latest, hottest thing in .net DAL, right ?) so we can use Linq and other state-of-the-art-3-years-ago stuff. I tried to automatically generate ...
stackexchange/codereview
I accidentally found zombie transaction is mentioned in SqlTransaction code. So, what is zombie transaction?
stackexchange/codereview
I have an array: myArray = []; To which I am adding objects: data = []; myArray.push( { elem1: ..., elem2: data.push(...); } ); So, elem2 in the object contains an array. How can I, given myArray add new elements to the array in elem2? I tried the following: myArray[idx].elem2.push("new data"); But got an err...
stackexchange/codereview
I'm using the plugin jquery-tmpl. Is there a way to specify a callback after a template is run? I want to do something like <script id='itemTemplate' type='text/html'> <li class="item" id=${timestampMs}> <span class="content">${content}</span> </li> ${processItem($('#' + timestampMs))} </script> Where proce...
stackexchange/codereview
I'm currently attempting to take snapshot of a specified portion of my application's window from a specified starting coordinate (which is where my problem comes in). Rectangle bounds = new Rectangle((this.Width/2)-400,(this.Height/2)-200, 800,400); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height, PixelF...
stackexchange/codereview
Is it possible to upgrade Hibernate/JPA that is shipped with JBoss 5.1 to use JPA 2.0? I am interested in making use of the OrderColumn. I am unable to upgrade JBoss to the latest version - 6
stackexchange/codereview
I have a python script and I wanna know if the request is from web or from command line. How can I do this?
stackexchange/codereview
I want to overload the conversion of an object to a string, so that the following example would output the string "TEST" instead of "[object Object]". How do I do this? function TestObj() { this.sValue = "TEST"; } function Test() { var x = new TestObj(); document.write(x); }
stackexchange/codereview
I have a IList<Customer> and I want to find a customer whose lastname='smith'. how do i do that? The .where looks like it might work but I don't understand the predicate needed to do this. Or is there a better way to search the list? Thanks, rod.
stackexchange/codereview
Consider the following (trivial) code segment: while (i++, i <= 10) { // some more code } In the general case, C++ allows comma separated statements to be evaluated in any order. In the case of a while loop, are we at least guaranteed (by the specification) that the last statement (which is used as the condition for...
stackexchange/codereview
I have a text file where each odd line holds an integer number (String ofcourse since its in a text file), even lines has a time. I only want to read the numbers, therefore the odd number of lines from a text file. How do I do that? import java.io.*; public class File { BufferedReader in; String read; int linenum...
stackexchange/codereview
I'd like to try out Strawberry Perl 5.12 on a win2k3sp2 server that currently uses ActivePerl 5.10 and mod_perl2. I have a separate Apache service set up for development but remember seeing something about clearing all references in the Windows environment that point to anything besides Strawberry Perl. Is there any ...
stackexchange/codereview
I've just learned about rebase, and I've been strongly warned not to rebase commits after they have been pushed to a remote. I want to make sure I'm not going to explode my repository Example commit history foo W---X---Y / \ master A---B---C---D---E---Z---F---G Here, all comm...
stackexchange/codereview
A graphic of this problem is here: http://dl.dropbox.com/u/13390614/Question.jpg Take an axis aligned ellipse with a fixed minor axis, and stretch the ellipse along its major axis till it becomes tangental to some line segment (A in the graphic). What are the coordinates of the tangental point (P), or, what would t...
stackexchange/codereview
I swear I've seen this asked before, but I can't hit upon the magic search string to find it for me: I create a socket for listening using: s = socket()... getaddrinfo("::1",...); bind()... and I end up with an IPV6 socket bound to "::1" and an IPV4 socket bound to "0.0.0.0". I expect to get the IPV4 socket bound to "...
stackexchange/codereview
The bottleneck in my program is computing the sign of a number for all numbers in an array, when the array size is very large. I show the two approaches I've tried below, both with similar results. I have 16GB of RAM, and the array occupies ~5GB. The problem I'm seeing is the sign function takes up a lot of RAM+virtual...
stackexchange/codereview
I have a simple App that used to work in the old API. It's an iFrame app and I can't get the user session with the new API no matter what I try. Here is the code I have now: <?php error_reporting(E_ALL); require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'xxxx', 'secret' => 'xxxx', 'cookie' => ...
stackexchange/codereview
this code creates a random transition when I change scenes. There are eleven transitions. Because they are static, I think I cannot use NSClassFromString. I also need to pass the scene (s) object. Right now the switch seems redundant. Is there a way to rewrite this to make it more efficient? -(void) newScene { CCScene ...
stackexchange/codereview
I'm trying to figure out how to take the individual characters in an NSString object and create UILabels from them, with the UILabel text set to the individual character. I'm new to Cocoa, but so far I have this... NSString *myString = @"This is a string object"; for(int i = 0; i < [myString length]; i++) { //Stor...
stackexchange/codereview
How do you call a PHP function that is in a different file from a JavaScript function? I have a JavaScript function that recieves a variable from an onclick function. The variable is an id that I will use to retrieve data from a MySQL database. The variable is then passed on to a PHP function that will access the datab...
stackexchange/codereview
I have a RESTlike API that I want to access from Silverlight. It needs to support the following: All requests are made over SSL Allow GET, POST, PUT, DELETE (or just any) Allow any request headers Allow requests from any host Pretty much wide open. I'm a little confused by the docs so does anyone have an example of w...
stackexchange/codereview
I am having two Spring-based web apps A and B, on two different machines. I want to make an HTTPS call from web app A to web app B, however, I am using a self-signed certificate in Machine B. So my HTTPS request fails. How can I disable HTTPS certificate validation when using RestTemplate in Spring? I want to disable v...
stackexchange/codereview
On my page, I dynamically create an HTML5 Audio element in JavaScript: bell = new Audio("alarmclock.mp3"); Later on (in response to a jQuery Countdown object expiring), I play it: bell.play(); Results: Chrome (6.0.472.55) for Mac: The audio plays fine. OmniWeb (5.10.2): The audio plays fine. Safari (5.0.1) for Mac: ...
stackexchange/codereview
As already said in the title, how do i export a table into Excel file but into batches? I have total 300 thousands records in one table. I exported it into Excel but when it hit the 65536 records in Excel, operation failed. (may be coz of limit of rows in excel). So how to get around with this situation? All i need is...
stackexchange/codereview
In my company we do have critical systems that require an accurate time. As so, we have an NTP server appliance with an outdoor GPS antenna that receives the time from the GPS satellites. My questions are: How accurate is the time clock? Is it worth it to keep this way or use another external NTP (US-GOV, NASA, etc)...
stackexchange/codereview
I have a Perl script that takes about 30 minutes to run, so of course I run Devel::NYTProf. Great profiler. For many of my subs, I'm getting some data that doesn't make sense to me. I'm running with perl 5.10.0 on Linux using the default NYTProf settings. In the HTML output, each of the subs has a summary section stati...
stackexchange/codereview
I'm making an RPM. This particular RPM has requirements that can't be expressed as RPM prerequisites, lets call them a particular filesystem/disk configuration. Currently the failure happens after install, at runtime, when the requirements aren't met. I can check for the required prerequisites in the %install, section...
stackexchange/codereview
How do wireless mice work, as in technically, the RF Receiver you plug in via USB (PnP)? I want to know how I would go about accessing the data section of the receiver and see either the actual code involved in sending information to the OS driver, or see the drivers involved to go about decompilation.
stackexchange/codereview
I need to validate save action between 3 domains, here is relationship : User - JobProcess : one-to-many, JobProcess - Heatmap : one-to-many. User { static hasMany = [ jobs : JobProcess ] ... } JobProcess { static hasMany = [ heatmaps : Heatmap ] ... User script ... } Heatmap { static belongsTo = JobProcess ... JobProc...
stackexchange/codereview
I am using Jboss5 and I'm trying to utilize Hibernate and Spring to load in a spring dao. I'm getting an exception which seems to point to an incompatibility in jars but I'm not quite sure what is going on. I've done quite a bit of searching and I can't seem to find something specific to this besides change JBOSS versi...
stackexchange/codereview
class SomeClass end some_local_var = 5 sc = SomeClass.new def sc.should_work_closure puts some_local_var # how can I access "some_local_var", # doesn't this work like a closure ? end sc.should_work_closure() Line 9:in should_work_closure': undefined local variable or methodsome_local_var' for # (NameError) f...
stackexchange/codereview
I am developing a system in php which has different types of users like admin, A, B, C. I need to allow log in just one user from the type at a time. Means 1) if there is already an admin user is logged in, no other admin user can log in. 2) And the logged in credentials cannot be used on other pc at the same time (j...
stackexchange/codereview
What is the best way to parse or iterate an istream? I need to create a function that takes an istream, parses it and creates an object so was wondering the easiest way to do this. Even something that could convert it to string would be dandy.
stackexchange/codereview
i want to override the method onWindowFocusChanged, but everytimei write it elcipse gives me a error message saying @override annotation is wrong, which means that i am not overriding the method but creating a new one. maybe i havnt included the package necessary ???
stackexchange/codereview
I am designing a form in which I have to increase a Progress bar while an operation is being performed simultaneously (In other words, I am showing the progress of this operation). This operation takes 50 seconds. So I have used a System.Timer to Increase the Progress bar. There isn't a single thread in my code. Whe...
stackexchange/codereview
Let's say I have the following code: public void doSomething() { // begin transaction // do stuff 1 ... // update a row which must be committed now ... // do stuff 2 ... // commit transaction } I've kept the large amount of work on the database in the one method to simplify the pseu...
stackexchange/codereview
I'm experimenting with Boost::asio, and I'm trying to make a client that reads and outputs to console packets sent from a server. The server uses a proprietary protolcol. It sends a timer update every second, responds to ping, and can reply with a list of files when the client asks for it. I have a decent grasp of asyn...
stackexchange/codereview
I've got a fairly extensive data entry task to perform in a PHP application. The application allows you to enter one data set at a time (first name, last name, email), click 'Go', and then uses AJAX to submit the data and blanks the form, putting your cursor back in the first input. I have a data set of 1,300 that need...
stackexchange/codereview
I think my question might be unclear , but i would try to explain it by example . say that we had about 100 different car model , clearly all of the car would share common parts or specification but not all parts are shared between all of these 100 car brands what is the best practice of storing these specification ...
stackexchange/codereview
Here is my error message: Exception in thread "main" java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Random.java:265) at Game.generateSecretNumber(Game.java:44) at Game.start(Game.java:32) at Game.main(Game.java:18 My Code is: import java.util.Random; import java.util...
stackexchange/codereview
I've written an iPhone App with a TableView and a detailView which contains a ScrollView with 2 pages (both containing an image) and a pageControl displaying 2 white dots. It al seems to work perfect. The view scrolls to the left and show the next page (just as it should) Except for the little white dots (PageControl d...
stackexchange/codereview
I need to extract some text from a HTML table I tried using tblGridHeader.Rows[0].InnerText.ToString() But I'm getting the error of "HTMLTableRow" does not support InnerText property. I also tried InnerHTML, and still no go. I did try using the cells property, but I'm getting an error of Specified argument was...
stackexchange/codereview
Im using ajax call to insertmsg.php to insert a message. Now javascript isn't a realtime language so i can not count on having an disabling button at the top of the ajax function. So I wonder how I can make a timelimit to the insertmsg.php with: mysql_query("INSERT INTO.. , with a delay on 2 seconds, without storing l...
stackexchange/codereview
class B { void process()throws Exception{ System.out.println("hi sh"); } } class C extends B { void process(){ System.out.println("hhhhhh"); } public static void main(String args[]){ B a=new C(); try{ a.process(); } catch(Exception e) ...
stackexchange/codereview
Our client wants us to create larger videos from UGC videos specifically submitted to the client. So, I am looking for either a server side approach or a client side approach where Users will upload their video to any well-known video sharing site (YouTube/Vimeo etc) and give us permission to stitch it together. We c...
stackexchange/codereview
I start to create a PNG thumbnail by using this function: $image = imagecreatefrompng("http://imagenic.net/images/pfujz9j5juav1qrex00.png"); However, it says: 'http://imagenic.net/images/pfujz9j5juav1qrex00.png' is not a valid PNG file It works OK with other PNG images, so I guess something is wrong with this specifi...
stackexchange/codereview
I'm looking at the Plugin Authoring article at http://docs.jquery.com/Plugins/Authoring and saw this example in the Defaults and Options section: $.fn.tooltip = function( options ) { var settings = { 'location' : 'top', 'background-color' : 'blue' }; return this.each(function() { // If options e...
stackexchange/codereview
Is it possible to emit and read(parse) binary data(image, file etc)? Like this is shown here: http://yaml.org/type/binary.html How can I do this in yaml-cpp?
stackexchange/codereview
I have successfully added the ability to use dynamic subdomains within my application. The issue is that when I run my Cucumber tests, I receive the following error when my application performs a redirect_to which contains a subdomain: features/step_definitions/web_steps.rb:27 the scheme http does not accept registry p...
stackexchange/codereview
How much data can we store in Core Data? On which parameter does it depends?
stackexchange/codereview
Autocomplete inputs make life easier. However, I am working on a project where the customer insists on having ordinary inputs (radio buttons, checkbox groups and drop down selects). I don't want to change sever-side code and plan to write a javascript function to create these form elements on the client side. I think t...
stackexchange/codereview
Let's say I have to variables, dog and cat. Dog = 5, and cat = 3. How would I tell Python to pick one of these variables by random and print it to the screen?
stackexchange/codereview
ON A SERVER I created a git repo in the working directory of my web-app /html. To create a git 'host' repo, I ran git clone --bare html html.git. I now have a git 'host' repo and a git 'client' repo on the remote server at /html.git (host) & /html (client). I want to push from my local machine to the server and not h...
stackexchange/codereview
My current persistence.xml table generation strategy is set to create. This guarantees that each new installation of my application will get the tables, but that also means that everytime the application it's started logs are polluted with exceptions of eclipselink trying to create tables that already exist. The strate...
stackexchange/codereview
I have a non-Java project that produces a versioned build artifact, and I want to upload this to a Nexus repository. Because the project isn't Java, it doesn't use Maven for builds. And I'd rather not introduce Maven/POM files just to get files into Nexus. The links on blogs to the Nexus REST API all end up at a sign-i...
stackexchange/codereview
I have an image overlaid on the scatterview item. The scatterview item contains stackpanel and few textblocks. On overlaying and putting the main window's background as transparent, I can still see the corners which do not gel well with the image. I am using surfaceusercontrol to add surface items in scatterview. The c...
stackexchange/codereview
Is it possible create a IPhone application by using java and LWUIT framework?
stackexchange/codereview
this is a mockup i want to buid... I"ve having trouble properly laying out with just css/js ... is there a jquery plugin/tool that could help with this? Could this be called a reverse orientation calendar? Writing it from scratch has been hell so far, and i'm not remotely close.
stackexchange/codereview
Could somebody point me at or post an example of configuring a data source for JBoss 5.1.0.GA? I am getting the following error when I try to hook up a data source to my web application in JBoss 5.1.0.GA using JNDI. startup failed due to previous errors java.lang.RuntimeException: mapped-name is required for jdbc/jos ...
stackexchange/codereview
i have a problem with my code. function fnFormatDetails ( oTable, nTr ) { var aData = oTable.fnGetData( nTr ); var sOut = ""; var ajax = $.ajax({ url: "/wemi/mediaplaner/show?id="+aData[1], success: function(data) { //return data; //return sOut = data; ...
stackexchange/codereview