instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Is there any method in the File, Directory, FileInfo, Path etc classes | that makes it easy to retrieve the folder name of the immediate parent | folder of a file
stackexchange/codereview
Hi Does any one tell me what is [Event(name="change", type="flash.events.Event")] this? I'm using ActionScript 3.0 in Adobe Flash IDE.
stackexchange/codereview
I have this MySQL query. I have database fields with this contents sports,shopping,pool,pc,games shopping,pool,pc,games sports,pub,swimming, pool, pc, games Why does this like query does not work? I need the fields with either sports or pub or both? SELECT * FROM table WHERE interests LIKE ('%sports%', '%pub%')
stackexchange/codereview
Asteroids class public Vector2 AsteroidPosition { get { return asteroidPosition; } set { asteroidPosition = value; } } Set is called from Update method in Asteroids class AsteroidPosition = new Vector2(spritePosition.X, spritePosition.Y); Game class, collision detection method Asteroids asteroid = new Asteroi...
stackexchange/codereview
I saw similar posts in this forum but there were no replies. I have a grey colored band (a DIV) on which I have links for site navigation. At present, it is displayed at the end of the page, when you just scroll down to the end. I want it to remain visible like the Windows status bar and at the same position like the ...
stackexchange/codereview
I'm working on a Rails application where I have users that can add each other as friends. Now I'm trying to display certain information for when a user is already a friend of another user. I have done this in the following fashion: - @users.each do |user| - exists = false - current_user.friends.each do |friend| ...
stackexchange/codereview
I have to make two programs (for example a "script A" (.py) and "script B"(.exe)) communicate. Both programs are on a infinite loop: Script A needs to write to the stdin of script B and afterwards read the stdout of script B thereafter write again etc. Script B I cannot change. Both files are on my hard disk, so I ther...
stackexchange/codereview
I am creating a extension for Internet Explorer where I am injecting CSS-styled span tags on webpages. If a specific part of this component is clicked on, a popup is shown. This popup is in reality a "DIV"-element that I am injecting at the very end of the content page:s "BODY"-tag. I have a CSS-styled table inside thi...
stackexchange/codereview
Consider you have some expression like i = j = 0 supposing this is well-defined in your language of choice. Would it generally be better to split this up into two expressions like i = 0 j = 0 I see this sometimes in library code. It doesn't seem buy you much in terms of brevity and shouldn't perform any better than ...
stackexchange/codereview
I'm reading data from an XLS document, and I'm using the superb LINQ to Excel library. The problem I have is more of a problem with dealing with LINQ. I read new and updated incidents from an excel sheet. So I want check if the incident already exists in the database, and if it does I want to hook it up with that inci...
stackexchange/codereview
I have this code where I do this as soon as the map loads with users current location - I give a span to the map span.latitudeDelta = 0.2; span.longitudeDelta = 0.2; Next I send API call with the top left lat, lng and bottom right lat,lng CLLocationCoordinate2D topLeft, bottomRight; topLeft = [mapView convertPoint...
stackexchange/codereview
Is it possible to auto insert characters into an EditText as the user inputs data? I.e. if the user is entering a long number such as 123456789012, is it possible for this number to appear as he is typing it in the edit text box, but with a dash every 4th character? So as you type the number above you would see it bein...
stackexchange/codereview
I'm trying to draw a grid on a <canvas> element with the ultimate goal of making a Go board. For some reason the grid is looking stretched, with the lines being thicker than 1 pixel and the spacing being completely wrong. It doesn't even start in the (10,10) position.. It would be great if someone could take a look at ...
stackexchange/codereview
I Have Rendered nearly 1000 Polygons in the map. I get the path of the polygon using - (CGPathRef)polyPath:(MKPolygon *)polygon { MKMapPoint *points = [polygon points]; NSUInteger pointCount = [polygon pointCount]; NSUInteger i; if (pointCount < 3) return NULL; CGMutablePathRef path ...
stackexchange/codereview
I'm develop RESTful web service and I want to put the request time processing into xml response for all request. I'm use Netbeans 6.9.1 and GlassFish version 3. How can I measure ? Thank you.
stackexchange/codereview
I want to develop an application using Qt and deploy it on both Symbian S60 smartphone and PC. I want the instances to synchronize their data when devices connected. I don't care about connection type (USB, Bluetooth, etc.). Does Ovi Suite provide a service for the task? Or could I use some Qt API for that? I know that...
stackexchange/codereview
On my MainPage.xaml I have some custom UserControls which I want to be able to move all over the Grid surface. That is the reason why I am adding them all to TransformGroup: this.transformGroup = new TransformGroup(); this.translation = new TranslateTransform(); this.scale = new Scal...
stackexchange/codereview
I've encountered this issue before while trying to install PHP5 on multiple versions of Windows. Basically, httpd won't start with PHP's default extensions; I installed it w/o extensions and it works perfectly fine. I know it's an issue w/ PHP, but I don't really know what if I'm missing a package or need to change som...
stackexchange/codereview
When should I use div tags when I already have the option for dividing page with Table tag
stackexchange/codereview
I get the error: TestCounter.java:115: variable counters might not have been initialized counters[i] = new Counter(i); And I can't figure out how to fix it. I know that my class, Counter, works. Below is my code, if you could have a look at it I would be very happy. This code is wrapped in the main metho...
stackexchange/codereview
I've just started using Inversion of Control containers and I'm having a difficult time understanding when to use the fluent API or XML when configuring and registering components. Are there any best practices around when you should prefer one over the other? Or is this simply developer preference? Would it be consid...
stackexchange/codereview
I want to create a custom event and it will be accessible by any other class. Suppose I have NavigationMenuClass.as which contains some next, prev buttons, and another class For Page.as which should show a particular page at each next or prev button press. And I need to create a custom event(will write a EVENTClass.as ...
stackexchange/codereview
i am using google transalate api in my application,i have done in text conversion is ok but translate-text to speech is pending http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html this code i am using how can implement translate text voice in android. http://www.freeimagehosting...
stackexchange/codereview
I've made a mobile version of my site. When loading the page however, the site is first shown without the CSS applied, and after a second (at most) it applies the CSS and renders it properly. This behaviour is consistent across all browsers (including mobile ones). Do you have any idea, how I could force browsers to lo...
stackexchange/codereview
I have small idea to add social to extensions galleries (show suggest via Facebook friends), but I never develop any extensions, so I want to ask professionals. Do your know ways to get list of extensions in Firefox, Safari, Google Chrome or Opera?
stackexchange/codereview
I have an app called "products" that manages "products" and "categories". And I have products/views.py (with generic views) that goes like this: Objects = { 'products': {'model':Product, 'form':ProductForm} 'categories': {'model':Category, 'form':CategoryForm} } and something like this: def list(request, obj): ...
stackexchange/codereview
I am using Java in my project which does a lot of mathematical calculations. In the next iteration of the project, some more calculations will be added. From my knowledge of Java, I suspect that this will cause performance issues. Is it a wise decision to delegate the heavy calculations to a low level language like ...
stackexchange/codereview
I am about finishing my first android app, and i have some questions to which i could not find an answer. I would like to use a horizontal scroller in which to display several pictures. For that i need two things: Paging enabled, so that the user can see the pictures one by one in the scroller. Some kind of indicator ...
stackexchange/codereview
I have a problem with my authentication in CakePHP. Whatever I try, Cake will either tell me I'm de-authenticated after each request, either I'm still authenticated, even though I closed the browser before. I'll explain in a few words how my authenticating system works. The user logs in, with either remember me checkbo...
stackexchange/codereview
I want to update only one field in a mysql table. I have an "ad_id" which is unique. The field "mod_date" is a TIMESTAMPS field, which is the one I need to update. UPDATE main_table SET main_table.mod_date = NOW() WHERE classified.ad_id = $ad_id"; I haven't tested this yet because I am afraid it might update all rows....
stackexchange/codereview
I imported data from MySQL to a CSV. Now I am trying to import it into another machine's MySQL. But I want to preserve the original auto-increased id's values. I tried this: LOAD DATA INFILE '/tmp/region.csv' INTO TABLE regions FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\n' IGNORE 1 L...
stackexchange/codereview
I'm trying to improve my coding style. Consider the following scenario: Suppose that I want define a custom ASP.Net Album server control. The purpose is to let the user choose the album type and all other stuff will be carried out by the control. I have thought about 2 approaches: 1- Define an IAlbum Interface and de...
stackexchange/codereview
I would like to hide a piece of Javascript from my source code. Ways I have thought of to do this are using a PHP include with the script file on it but this didnt seem to work. Does anyone have any suggestions for me? If you need a copy of my script just ask. Thanks in advance, Callum
stackexchange/codereview
I wrote the following code: procedure MouseWheel(var Msg:TWMMouseWheel);message WM_MOUSEHWHEEL; I used it for a component based on TPanel (TMyP=class(TPanel)) (Notice that I don't want to use TCustomPanel due to my own reasons) But anyway the event is not called when I use mouse wheel on the panel. Please Help me!
stackexchange/codereview
I used to work with the (nice) Javascript and Jquery plugins in Netbeans 6.8. But after the update, I've lost all my plugins (actually, I've lost all my settings too, nice job guys ...) and I'm unable to find the JS plugins again, even after checking all the sources, nor can I find the package on the net. Any idea ? Ex...
stackexchange/codereview
when adding a new record like this ContentContacts c2 = new ContentContacts(); c2.updated_user = c2.created_user = loggedUserId; c2.created_date = c2.updated_date = DateTime.UtcNow; db.ContentContacts.AddObject(c2); I'm getting Cannot insert the value NULL into column 'main_email_support', table 'SQL2008R2.dbo.Cont...
stackexchange/codereview
I have setup a simple example to show a form inside a jquery UI dialog and wish to enable inline client side validation on that form I have then added the scripts to my master page <script type="text/javascript" src="<%: Url.Content( "~/_assets/js/jquery-1.4.3.min.js" )%>"></script> <script type="text/javascript" src="...
stackexchange/codereview
How do i update a portion of a page using Ajax in rails 2.3.8? i am trying to make a calendar with buttons to go to next and previous months. At the click of the buttons i want the calendar to change without reloading the whole page. On of my buttons to scroll through months look like this: <%= link_to_remote "<",:...
stackexchange/codereview
Hi I am about to submit my first paid app for apple's app store and soon wp7 marketplace. The paperwork required to avoid 30% taxation is pretty confusing for me. I am living in the EU. 1) I haven't seen W-8BEN form at itunes connect - do I need to fill it in to avoid 30% tax? - How do I do that? 2) Is ITIN required wh...
stackexchange/codereview
My project uses a huuuge number of png file, all added as resources to the XCode Project. Now, the problem is, whenever I try to use Interface Builder, it parses all these files, and gets terribly slow. Is there a way to differentiate between resource files that will be used/read by code, and the one that will be used ...
stackexchange/codereview
Old way When I used to load page asynchronously in projects that required the content to be indexed by search engines I used a really simple technique, that is <a href="page.html" id="example">Page</a> <script type="text/javascript"> $('#example').click(function(){ $.ajax({ url: 'ajax/page.html'...
stackexchange/codereview
I am making html to doc converter from win32com.client import Dispatch wrd=Dispatch('Word.Application') doc=wrd.Documents.Open(inputfile) doc.SaveAs(outputfile, FileFormat=0) doc.Close And I wand save picture to document: Prepare->Edit links to file->Save picture to document What command I need? htt...
stackexchange/codereview
I want to create an online test system, so i need a timer. When user start the test the timer will start counting down. But when user go to next question refresh the page the timer will still running. How can I do that any suggestion?
stackexchange/codereview
Out of curiosity, I was wondering what were some "theoretical" results about parsing C++. Let n be the size of my project (in LOC, for example, but since we'll deal with big-O it's not very important) Is C++ parsed in O(n) ? If not, what's the complexity? Is C (or Java or any simpler language in the sense of its gramm...
stackexchange/codereview
I have got a SQL command like the following : SELECT * FROM temp1 a inner join (SELECT ID from temp2 where ID = ?) b on a.ID = b.ID WHERE a.ID = ? I know the query has incorrect logic. But my question is How will I set Variables as parameters here in the place of "?". If I exclude the joined part, it will work.
stackexchange/codereview
I have a singleton and when I call it from my UnitTest I get "System.TypeInitializationException was unhandled by user code Message=The type initializer for 'mycompany.class'threw an exception" public sealed class MySingleton { private static MySingleton instance = new MySingleton(); private MySingleton() {...
stackexchange/codereview
I'm trying to parse a youtube video feed, and for each video print the list of its thumbnails. I've tried something like that: public static class VideoFeed { @Key List<Video> items; } public static class Video { @Key String title; @Key String description; @Key DateTime uploaded; @Key Player p...
stackexchange/codereview
in my user.data.crop_position value is "[ 100, 100, 200, 200 ]"; var crop_position=user.data.crop_position.slice(1,user.data.crop_position.length-2); $('#cropbox').Jcrop({ setSelect: crop_position, onChange: showPreview, onSelect: showPreview, aspectRa...
stackexchange/codereview
List<Object> testimonials = new List<Object>(); testimonials.Add(new { Author = "Author 1", Testimonial = "Testimonial 1" }); testimonials.Add(new { Author = "Author 2", Testimonial = "Testimonial 2" }); testimonials.Add(new { Author = "Author 3", Testimonial = "Testimonial 3" }); @ObjectInfo.P...
stackexchange/codereview
lets say that a user want to take vacation from 17-10-2010 to 15-11-2010. on some setup page i declared start date and end date for each month as following: m1 :from 1-10-2010 to 20-10-2010 m2: from 21-10-2010 to 10-11-2010 m3: from 11-11-2010 tom 30-11-2010 as we can see,the vacation related to many periods(m1,m...
stackexchange/codereview
Is there any preferred AJAX auto-suggest API out there which has a database of a list of suburbs (esp. Australia) as the user types into the textbox?
stackexchange/codereview
I need to find for each point of the data set all its nearest neighbors. The data set contains approx. 10 million 2D points. The data are close to the grid, but do not form a precise grid... This option excludes (in my opinion) the use of KD Trees, where the basic assumption is no points have same x coordinate and y co...
stackexchange/codereview
I have intermediate knowledge of flash and actionscript, but I have never done 3D animations in flash. Now I'm into a project that requires me to make a menu that looks like a DNA molecule, with each atom being a link to something. I want to make the DNA molecule looks like a real rotating 3D object. Can anyone help me...
stackexchange/codereview
While trying to start the Tomcat 7 process, the following logging is reported and the service does not start. [2014-02-03 11:31:57] [info] Commons Daemon procrun (1.0.10.0 32-bit) started [2014-02-03 11:31:57] [info] Running 'BOE120Tomcat7' Service... [2014-02-03 11:31:57] [info] Starting service... [2014-02-03 11:3...
stackexchange/codereview
Is there some equivalent of javascripts indexOf in Velocity? I want to test whether some string is contained within another string but I can't find the proper string operator for it.
stackexchange/codereview
I need to implement a GPS application for tracking purposes using J2ME... I wanted to know if there are GPS emulators available for testing the apps?? Are there any other alternative solutions other than using a GPS device for testing purposes?
stackexchange/codereview
I'm in the process of getting rid of webservice.htc from our front end (to remove the dependency on IE) and I'm replacing it with the jquery $.ajax call. I want to call a webservice defined in a WSDL file, as the old webservice.htc did quite well - it handled the SOAP envelope creation for us. I'm fairly new to SOAP/WS...
stackexchange/codereview
I'm trying to parse C-style multi-line comments in my flex (.l) file: %s ML_COMMENT %% ... <INITIAL>"/*" BEGIN(ML_COMMENT); <ML_COMMENT>"*/" BEGIN(INITIAL); <ML_COMMENT>[.\n]+ { } I'm not returning any token and my grammar (.y) doesn't address comments in any way. When...
stackexchange/codereview
I stored global variables in my AppDelegate and access them by: AppDelegate *d = [[UIApplication sharedApplication] delegate]; d.someString = ... What's the recommend way to save some typing and so I don't need to AppDelegate *d = [[UIApplication sharedApplication] delegate]; again and again? Thanks!
stackexchange/codereview
I am beginner and trying to develop facebook desktop apps with below code use WWW::Facebook::API; use Data::Dumper; my $client = WWW::Facebook::API->new( desktop => 1, api_key => '******', secret => '******', ); my $token = $client->auth->login( browser => 'firefox', sleep => 15 ); my $friends_perl ...
stackexchange/codereview
I read that Oracle maintains row versions to deal with concurrency. I want to run an update query on a very big real-time database but this update job must alter the most recent version of the row. Is this possible via PL/SQL or simply SQL? Edited below ** Let me clear the scenario, the real-life issue that we faced ...
stackexchange/codereview
I have a very simple question to ask! I wish to make a website that supports multi languages; - i intend to use smarty templates for caching purposes. - i intent to use tables or csv files for multiple language strings storage. - i would like to use google translate api to translate LIVE a string which could not be fo...
stackexchange/codereview
In my android application i would like to connect to post a url to facebook. I tried using https://github.com/facebook/facebook-android-sdk/ but am not able to cross the permission page and post the url. I also tried using the http://www.mobisoftinfotech.com/blog/android/845/ but then i am able to see a window with tit...
stackexchange/codereview
hi let me explain the scenario. I am developing an application for Online Examination. Once a user logs into the system, he is allowed to start a Test; on clicking start test button the user is redirected to the questions page. Now when the user clicks and confirms ending of the test by a button click then he is redire...
stackexchange/codereview
There is a conceptual overview of Blocks objects in objective-c within this Apple reference: http://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Blocks.pdf However, it does not really explain two topics that concern me and may concern other people. The first question is like that: can I assign ...
stackexchange/codereview
I want to convert some point coordinates which are given in a cartesian system to a log-polar cartesian system. However, I'm not sure how to perform the atan operation nicely. Currently, I'm doing it as follows, which seems to be pretty ugly. Xlp = zeros(n, 2); Xlp(:, 1) = log(sqrt(Xt(:, 1).^2 + Xt(:, 2).^2)); ...
stackexchange/codereview
Sort a list of points in descending order according to X and then Y.
stackexchange/codereview
I'm using this piece of code to read users input and check if it is a number or not.But sincerly it just works for numbers and letters. I want it to work with every char. For example "!?%". I have already tried to change the "isalnum" by "isascii" but that does not work. #include <stdio.h> #include <ctype.h> int main...
stackexchange/codereview
There must be a simple way to vectorize the following loop in R, but I can't see it. w <- numeric(10) z <- rnorm(20) v <- c(sample(1:10,10),sample(1:10,10)) #Random ordering of c(1:10,1:10) for(i in 1:10) w[i] <- sum(z[v==i])
stackexchange/codereview
I have worker processes that needs gathered/calculated data as arguments on start up. This is then needed on re-starts as well. Where should I put the initialization code? Inside the supervisors init? Or inside the modules start_link, or init? Are there any best practices in Erlang when it comes to this?
stackexchange/codereview
I'm quite new to Oracle SQL (though I've written a fair bit of SQL) and am having trouble embedding a simple SELECT statement in a function. It feels like SQL ABC but I can't seem to get it :( I think I'm using PL-SQL Here's what I have so far: create or replace FUNCTION GET_GROUP_BY_ID RETURN VARCHAR2 AS my_result BE...
stackexchange/codereview
I am designing an WPF application which renders data as a 500x500 8-bit indexed image at 10 frames per second using WriteableBitmap. We would like to add some real-time image processing algorithms to our output, such as 2-D median filtering, gaussian blur or moving average, which are computationaly power hungry. Did ...
stackexchange/codereview
Does anyone know a way to programmatically retrieve the ram memory manufacturer? Thanks!
stackexchange/codereview
Just switched to Source Insight,how to import all symbols(library and header files) that are available in visual studio into Source Insight?
stackexchange/codereview
What are the finer differences between QT and GTK+? Specifically I need to know the finer differences. Language neutral, Windows/Linux neutral. Just the finer points please... How native are the widgets / controls to the window manger, from its standpoint? Example: If it were a text control, would it process: a WM_COM...
stackexchange/codereview
In a project I am doing I want to give users the option of 'securely' deleting a file - as in, overwriting it with random bits or 0's. Is there an easy-ish way of doing this in C#.NET? And how effective would it be?
stackexchange/codereview
What are the messaging systems available? I want to build a messaging system like twitter.How to proceed towards it?
stackexchange/codereview
If I were to go to a dev. company and say "Please build me 'this' scripting language", are there any specific documents, and what types of documents that I should create, so they know exactly what I am wanting? Any guidance is much appreciated. Thank you
stackexchange/codereview
I want to add a signal to a class that inherits from QGraphicsScene. signals: void update(std::vector< std::vector<int> > board); When I do this, Qt Creator warns me that I forgot the Q_OBJECT macro. But somewhere I read that since QGraphicsScene doesn't inherit from QObject, I shouldn't put it in my class definit...
stackexchange/codereview
I recall that there is a mocking framework build into nUnit, but I can find details of it on the nUnit web site. Was I dreaming? I was considering using it to save the pain of having to introduce another assembly that we will have to managed on all developer’s machines. Are there any great dis-advantages to it as a ...
stackexchange/codereview
I am having trouble using JNDI when two or more applications are deployed on Tomcat 6. Consider the following scenario: I have 2 webapps, where each web.xml contains one JNDI parameter. web.xml webapp A: <env-entry> <env-entry-name>testEntry</env-entry-name> <env-entry-value>value A</env-entry-value> <env-entry-type>j...
stackexchange/codereview
I have a MySQL database containing the following tables: Table: Professor Attributes: ID, ProfessorName Table: Class Attributes: ID, ClassName, SubjectID (secondary) Table: Subject Attributes: ID, SubjectName Table: DocCategory Attributes: ID, DocCategoryName Table: Document Attributes: ID, DocName, ProfessorID (se...
stackexchange/codereview
Why does this code show an error in text area? <%= form_for(:ad, :url => {:action => 'create'}) do |f| %> <%= f.text_field(:name) %> <%= f.text_area_tag(:text, "", :size => "50x10") %> <%= submit_tag("Submit") %> <% end %>
stackexchange/codereview
As the question title says: Is there a Visual Studio keyboard shortcut (or series of shortcuts) to rename file in Solution Explorer? I am using VS2008 and manually doing this by right-clicking on a file in the Solution Explorer and selecting 'Rename', but this is a pain in the behind.
stackexchange/codereview
https://github.com/Shopify/shopify_api I've never manually installed something like this before, I have only used gem install xxxx in the past. I am using RVM. Update OK, gem install does work, but how would I install it manually?
stackexchange/codereview
I know that you can get the digits of a number using modulus and division. The following is how I've done it in the past: (Psuedocode so as to make students reading this do some work for their homework assignment): int pointer getDigits(int number) initialize int pointer to array of some size initialize int i ...
stackexchange/codereview
I'm a bit confused. Looking at some existing code here at my university, I see that a project is always somehow related to a single assembly. I'm new in c# and I read a bit about assemblies and modules but I didn't find anything about the relation between the "project" logical unit and the "assembly" logical unit, and...
stackexchange/codereview
Why would PHP allow nesting functions? <?php function foo() { function bar() { return "bar"; } return "foo"; } print foo(); print bar(); .. is valid PHP. But: Why would nesting be needed ever? And even if so, why can I call bar from anywhere (and not, e.g. only withing foo(), or trough foo.bar(...
stackexchange/codereview
I have a file that I need to reload in my application everytime it changes. I'm checking its lastModified and I'd also like to check its md5sum before I process it. I'm using Spring framework, in case there is something useful in there. What's the best way to check this? Any examples/libraries that I should check? Tha...
stackexchange/codereview
Okay, so I'm trying to create a "Order Posts by Type" using jQuery JSON to get the data... All the post types works in Chrome, Safari, FF. But in IE, video / audio posts will not display (perhaps something to do with the embedding?) when I filter through the posts using JSON. Does anyone have a clue what's going on?! H...
stackexchange/codereview
I want to use static URLs on my site, so when a user goes to http://www.domain.com/toys/ - he will see the toys category page and when he goes to http://www.domain.com/toys/playing-cards - he will see the product page I am having some trouble with the following rewrite rule: RewriteRule ^item/(toys|clothes)/(.*)/?$ sh...
stackexchange/codereview
I'm using a Android Wildfire and I used the following code to lookup the contact name of an existing phone number. private String getContactNameFromNumber(String number) { String[] projection = new String[] { Contacts.Phones.DISPLAY_NAME, Contacts.Phones.NUMBER }; Uri contactUri = Uri.withAppended...
stackexchange/codereview
i would like some help on sending some data between two emulators.they all speak about port forwarding but i cant make it work .the emulators have the id 5554 and 5556.and i know the listening port of each emulator. what to write in order to sent message between the two emuators??
stackexchange/codereview
I've got a django site running quite happily with django-cms but now I want to include some of my own fancy javascript using jQuery. I'm rather new to django, so my problems might stem from this. Django-cms uses jQuery itself, and so if I add jquery to the header - things break rathter unsurprisingly. How do I add my o...
stackexchange/codereview
i want to know how do i deploy ASP.NET web applications on client machines which runs with the visual studio development server rather than configure it in the IIS on the client machine? I know its possible and telerik also uses this approach. any help would be appreciated thanks in advance
stackexchange/codereview
Problem: In MS Access you can hold the shift key when opening a database in order to bypass Startup options and the AutoExec Script. I want to disable this permanently. First of all I know this has been answered on numerous other sites, however I could not find a question about it here, but I have a slightly different ...
stackexchange/codereview
Possible Duplicate: What do two question marks together mean in C#? What does the ?? mean in this C# statement? int availableUnits = unitsInStock ?? 0;
stackexchange/codereview
I know the POSIX sleep(x) function makes the program sleep for x seconds. Is there a function to make the program sleep for x milliseconds in C++?
stackexchange/codereview
Im running silverlight client version 4.0.50917.0 and SDK version 4.0.50826.1 I've created a simple silverlight client against a wcf pollingduplex binding: Web.config: <system.serviceModel> <extensions> <bindingExtensions> <add name="pollingDuplexHttpBinding" type="System.ServiceModel.Configuration.Polli...
stackexchange/codereview
I'm trying to use Zend_Soap_Client to communicate with an ASP.net web service. Here's my client call: $client = new Zend_Soap_Client(null, array( 'location' => 'http://example.com/service.asmx', 'uri' => 'http://example.com/' )); $user = new UserDetail(); $result = $client->UserDetails($user); However this al...
stackexchange/codereview