instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am using FBConnect in my game to post score on facebook wall. Now login interface has changed, whenever I click on login button the connectToSession method is not executing because it didn't get " auth_token " from url query. Just two days before it was executing properly and delegate method sessionDidLogin also g...
stackexchange/codereview
how can we get E-mail receiving notification in android
stackexchange/codereview
I have query in mysql like SELECT COUNT(DISTINCT MOBILE) FROM TBLM_CUSTOMER WHERE MOBILE NOT REGEXP '^00*0$' AND LENGTH(MOBILE) >= 10; I am using EJB 3.0 and I want to make same query using NamedQuery, same thing is possible using createQuery , but i want to use NamedQuery. Is it possible to use regular expression usi...
stackexchange/codereview
Is it possible to have nulls in Foreign keys in any ANSI SQL database?
stackexchange/codereview
I am creating a UIView dynamically and adding a scrollview in it. What I want is to create mutiple scrollviews and add them by using SWITCH Case. I am passing an integer value called num on IBAction of a button on UIView. and calling the function to create a scrollview. -(IBAction) button1pressed{ num = 1; NSLo...
stackexchange/codereview
Here's what the SQL code I'm using thus far looks like: SELECT credentials.credential_id, clients.client_id, clients.client_name, services.service_id, services.service_name FROM credentials INNER JOIN clients ON clients.client_id = credentials.client_id INNER JOIN services ON serv...
stackexchange/codereview
I'm doing some image processing in php and normally I never use array in php before. I have to keep the value of rgb value of hold image in 3 dimensional array. For example, rgbArray[][][] the first [] is represent th weight, the second[] use to keep height and the last one is use to keep either red,greed or blue. Ho...
stackexchange/codereview
I'll start with the code: typedef std::vector<unsigned char> CharBuf; static const int RCV_BUF_SIZE = 1024; SOCKET m_socket = a connected and working socket; // ... CharBuf buf; // Declare buffer buf.resize(RCV_BUF_SIZE); // resize buffer to 1024 char* p_buf = reinterpret_cast<char*>(&buf[0]); // change from unsi...
stackexchange/codereview
I am trying to extract the content following a hashtag using php. For example: $sentence = 'This #Coffee is the #best!!'; How do I get the value 'Coffee' and 'best'? Note, I don't want the exclamation mark after 'best'
stackexchange/codereview
How do I programmatically switch the view controller in iOS? So example - I have a menu MVC setup, now I click "Help" How do I programmatically hand this off to the help view controller to load that MVC setup?
stackexchange/codereview
I'm using the CONTAINS keyword to search a SQL-Server full-text catalog. The table I'm querying contains (among other columns) the textual column which is full-text-indexed, and a "added_date" column which represents the date the row was added (and has a normal index). The table contains about 7M rows. Specific queries...
stackexchange/codereview
I want to programmatically move, copy and delete files and directories on SD card. I've done a Google search but couldn't find anything useful.
stackexchange/codereview
I have a source XML file which I need to un-flatten into a more structured XML so that I can then process later on as a dataset. I've tried numerous methods via apply-templates and for-each commands, but always seem to fall short. I need to clarify the relationship between the elements. Starting from deepest element,...
stackexchange/codereview
On my localhost, I have extfilemanager its a file manager that combines php, js and ajax to make a file manager, I have it working well locally (using xampp PHP Version 5.3.1) but I have moved it to a windows-shared hosting godaddy server and all of a sudden it doesn't work. The server is running PHP Version 5.2.14, wh...
stackexchange/codereview
How to get through "You need to set xdebug.coverage_enable=On in your php.ini." message? I have set xdebug.coverage_enable=On in the proper (--ini) php.ini file but it had no effect. Im on mac os x snow leopard
stackexchange/codereview
I use Apache Thrift to generate code in target/generated-sources. The Thrift compiler produces a directory named gen-java which contains all the Java code. When I execute mvn compile, the code is generated correctly in target/generated-source/gen-java, but in compilation phase, it complains can't find the classes whic...
stackexchange/codereview
i'm confused about assocation table naming (for many to many asscoation) now i have a model named ProductShow (in db it named product_shows) also another model named Product (in db it named products) now i want make a assocation table between them this relationship between is Product has_and_belongs_to_many :product...
stackexchange/codereview
So I'm way behind on this one. Apple is trying to bring another figure into the flash/silverlight game with Gianduia? I know apple was trying to destroy this market but I thought they were truly trying to go a different route such as HTML5. Well when does this Gianduia come out? Will it really be able to counter silver...
stackexchange/codereview
In htmlentities, how do I selectively encode the symbols so that it doesn't encode the < and > of tags but does encode &?
stackexchange/codereview
With a Controller and Agent running on a machine with a TFS 2010 Build Service (updated from TFS 2008), I run a TFS 2008 build using the UpgradeTemplate. The TFS 2010 Server where the latest code resides is not the same machine as my target build machine in this scenario. However, an AfterGet task fails straight away b...
stackexchange/codereview
I have a web application that, under some conditions, pop up JavaScript alert()s that I need to react to in a WatiN test. Google pointed me at Handling alerts in WATIN from way back in 2007 that seemed promising, and I adapted the example code in that post into the following (anonymized): private void MyAssert(IE b...
stackexchange/codereview
i need to find a marker like the ones used in Augmented Reality. Like this: I have a solid background on algebra and calculus, but no experience whatsoever on image processing. My thing is Php, sql and stuff. I just want this to work, i've read the theory behind this and it's extremely hard to see in code for me. The ...
stackexchange/codereview
I'm having this problem where the paint() or update() methods in a class isn't getting called when I execute repaint(). Here's the code: public class BufferedDisplay extends Canvas implements Runnable { // Contains all the images in order, ordered from background to foreground private ArrayList<ImageStruct> images; //...
stackexchange/codereview
I need to send a tweet from flash, so i've been looking for solution on the net, but everything i found is using as3. Since i don't know anything of as3, it becomes difficult to edit everything. I wonder if it's possible. Does anybody know a solution?
stackexchange/codereview
I have recently started trying to make sense of MVVM and am using the MvvmFoundation classes. I am attempting to use a DataTemplate for a View Model class to display the View. The XAML code is below: TVM is a property of type TrackViewModel. The TrackView placed in the Stack panel using a DataContext displays correctly...
stackexchange/codereview
What's the best way in Drupal to load additional ie.css sheets for Internet explorer 6,7 and 8 ? Should I add these lines on top of the page ? I.e. <!--[if IE 8]> <link href="http://.../sites/all/themes/zen/zen/ie8.css" rel="stylesheet" type="text/css" /> <![endif]--> thanks
stackexchange/codereview
Razor encodes string by default. Is there any special syntax for rendering without encoding?
stackexchange/codereview
I develop and test applications for BlackBerry 4.5, 4.6, 4.7 and 5.0, but have done testing only with the respective simulators. Now I am about to buy a new BlackBerry device to test my applications better in a real scenario. Can anyone suggest which device suits my needs?
stackexchange/codereview
I'm interested in creating a desktop application composed of modules such that the source code to those modules is embedded in the application itself, allowing the user to edit the application as they are running it and have the updated modules put into use without restarting the application. Can anyone suggest a good ...
stackexchange/codereview
I get this error, even though there are no validation constraints in my model class (all of the member variables are set properly but I stil get this exception on object creation). How do I debug this error? javax.el.ELException: org.hibernate.validator.InvalidStateException: valida tion failed for: com.mycompany.model...
stackexchange/codereview
http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q=test&sl=en&tl=en&restrict=pr%2Cde&client=te (replace test with your favorite keyword) using this i want to write simple dictionary.... problem - api give json output how i get it using java?
stackexchange/codereview
I am new to Repeater and DataBinding and I need help using it. In PageLoad, I have var photos = from p in MyDataContext.Photos select new { p, Url = p.GetImageUrl() }; repeater1.DataSource = photos; repeater1.DataBind(); In the Repeater control, I have <ItemTemp...
stackexchange/codereview
I was wondering what are the xml qnames are they pre-defined name, is there a list of them or can I make my own name?
stackexchange/codereview
When I run the code below, Safari's debug console tells me: TypeError: Result of expression 'document.getElementById("txtHint")' [null] is not an object. It seems to be throwing the error at this line: document.getElementById("txtHint").innerHTML=xmlhttp.responseText; Code function showItem(str) { if (str.length==0...
stackexchange/codereview
If I were to follow the RAII rule and would be developing a class in C++, would it be necessary to have static constructors? Will static constructors help me in any way or would be a wrong step to do?
stackexchange/codereview
In Subversion, svn log displays commit log messages (reference). How can I do the following in git? svn log -v -l 10 ./
stackexchange/codereview
I downloaded xUnit.NET today, along with TestDriven.NET, and installed the ASP.NET MVC unit test templates. I have an existing ASP.NET MVC solution that I want to add an xUnit unit test project to, but it seems that the only way to create such a project is with the "Create Unit Tests?" dialog that appears when you firs...
stackexchange/codereview
I'm porting some code to Windows Phone 7. This line doesn't seem to work: HttpWebResponse httpResponse = (HttpWebResponse)httpRequest.GetResponse(); I have been trying to find an answer to it but all I can find is refrences to async methods which I have never used before. Any help is much appreciated.
stackexchange/codereview
Ok I'm pretty new to Fluent and NHibernate and I'm not sure how to map this specific relationship that exists in my database. I have the following ER diagram below that outlines my table structure. Below are my current C# entity classes and Fluent mappings: public class GroupHeader { public virtual Guid Id { get; ...
stackexchange/codereview
Is there a way to change how quickly scrollRectToVisible animates when scrolling a UIScrollView?
stackexchange/codereview
Dear all, Actaully i am a admin user.i am trying to create a test user account for in app purchases... when i log into the iOS Provisioning portal, i cant able to create test users. also refer the screenshot i attched.in that it is mentioned that "Manage Your In App Purchases" module on the iTunes connect home page.bu...
stackexchange/codereview
Is there any difference between <script type="text/javascript"> and <script> tags ?
stackexchange/codereview
What is the best way to use a only the date part of a datetime field in a query? I have a datetime field and want to group/count it by date.
stackexchange/codereview
This FAQ is about Aggregates and PODs and covers the following material: What are aggregates? What are PODs (Plain Old Data)? More recently, what are trivial or trivially copyable types? How are they related? How and why are they special? What changes for C++11?
stackexchange/codereview
I spent three weeks to find a solution to login on facebook home without browser. I wrote this example code but it return an error: org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded INFO: Redirect requested but followRedirects is disabled Code: import java.io.IOException; import org.apache.commons.h...
stackexchange/codereview
Got an HTML Select with an onChange() event that calls a method which takes about 5 seconds to complete. In IE, the select remains open until the method has completed - just looks kind of tacky. In Firefox, Chrome, and Safari, the Select appears to close without waiting for the method to complete. I've also tried usin...
stackexchange/codereview
I'd like to store the hash of a password on the phone, but I'm not sure how to do it. I can only seem to find encryption methods. How should the password be hashed properly?
stackexchange/codereview
<asp:LinkButton ID="lbnImages" runat="server" CssClass="link" PostBackUrl="AddImage.aspx" CausesValidation="True" ValidationGroup="Save">Images</asp:LinkButton> <asp:CustomValidator ID="cstval" runat="server" ControlToValidate="txtName" ValidationGroup="Save" ErrorMessage ="Duplicate name" OnServ...
stackexchange/codereview
Given a string in the following format (the Posterous API returns posts in this format): s="\\u003Cp\\u003E" How can I convert it to the actual ascii characters such that s="<p>"? On OSX, I successfully used Iconv.iconv('ascii', 'java', s) but once deployed to Heroku, I receive an Iconv::IllegalSequence exception. I'm...
stackexchange/codereview
Will encrypting two identical plaintext messages with AES in CBC with the same IV yield the same ciphertext? From my understanding the first block is XOR'd with the IV, and then each subsequent block with the previous. Does this mean that with the same IV and identical messages that every block will be encrypted to th...
stackexchange/codereview
I am attempting to figure out which remote branch was most recently updated. Something like 'git show-ref' but in chronological order would be good enough. How do I go about doing this?
stackexchange/codereview
I would like to know what's the difference (advantages/disadvantages) between the following patterns. How can I create sub modules based on the module pattern? My goal is to have my js organized into multiple files that are lazy loaded but have one namespace. For example: SO.global (global.js) SO.global.registr...
stackexchange/codereview
I have a product selection page where you choose a plan and once selected it displays the selection information in a div. The problem is if the page gets refreshed the summary div disappears but it remembers your form selection. How can I get it so it still remembers the summary as well? <html> <head> <script src="ht...
stackexchange/codereview
I've committed a bunch of changes onto the master branch of my git repository, and pushed it upstream (although I'm the only one working out of these.) What I want to do is to pull these last few commits off, roll back master to before the pulled-off commits, re-apply the commits onto the develop branch, and then merg...
stackexchange/codereview
Is there any way that you can remove IPs from a string? The input file we get sometimes has IPs attached to the user name, e.g. Jan vd Merwe Piet Breedt (172.166.23.41) Jan vd Merwe (164.23.23.51) Sarel Fourie (23.12.167.244) Piet Breedt So if there is an IP, I want to remove it. I have been looking at alot of functi...
stackexchange/codereview
I have the following code: #include <stdio.h> int main() { printf ("hello world\n"); return 0; } Using MSVC++ 10.0 on Windows 7 x86, I compile it on the command line as follows: cl.exe simple.cpp This produces simple.exe (the compiler automatically calls the linker) and the executable displays the "hello wor...
stackexchange/codereview
I am trying to open this modal DIV from code behind but I am getting error message. Please let me know what's wrong with this. Here is .aspx code. <div id="modal" runat="server" style="display:none;"> <asp:Button ID="btnClose" runat="server" Text="Close" onClick="Popup.hide('modal')" CausesValidation="False"/> </di...
stackexchange/codereview
I have a gridview with rows of data and a group of radio buttons for each row that can be selected. But when selected the event never fires for the radio dropdown.... why? <ItemTemplate> <asp:RadioButton ID="rdoV" runat="server" Checked='<%# Bind("VOID") ...
stackexchange/codereview
I have one Telerik RadGrid. Using a method I am filling the grid. I have enabled the paging property. I have used ItemTemplate-->ImageButton for delete and edit options. I have set page size as 10. Page load time is working properly and populating the grid. After inserting the 11th row the pagination starts and it will...
stackexchange/codereview
Since the IoC/DI implementation in MVC 3 is most likely in its final form in the RC, I'm looking for an updated implementation of the DependencyResolver, IControllerActivator and IViewPageActivator using Caste Windsor. Are there any examples out there that have been updated for MVC 3 RC? EDIT #1 Implementing a Winds...
stackexchange/codereview
in CUDA C Programming Guide, it is said that ... by design, a host thread can execute device code on only one device at any given time. As a consequence, multiple host threads are required to execute device code on multiple devices. Also, any CUDA resources created through the runtime in one host thread cannot be used...
stackexchange/codereview
I have various code templates in Eclipse such as header comments and library functions that are frequently called (all stored in Preferences, C/C++ -> Editor -> Templates). I figure there must be a way to map these to keyboard shortcuts, for example if I press ctrlshifth it will insert the contents of the template 'He...
stackexchange/codereview
I had unknown encoding in a MS ACCESS data table because the text inputs originated by people copying and pasting from Word documents. So when I attempted: final_data_to_write = json.dumps(list_of_text_lines) The error output was: "UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 5: unexpected end...
stackexchange/codereview
How to enable VisualStudio to run MSTests in parallel in few different threads? I've found some manual for that: http://blogs.msdn.com/b/vstsqualitytools/archive/2009/12/01/executing-unit-tests-in-parallel-on-a-multi-cpu-core-machine.aspx?wa=wsignin1.0 But I don't have 'Execution' node in my 'LocalTestRun.testrunconfig...
stackexchange/codereview
Hi I write a program for solving 9 problem by bfs which is attached bellow. I want to change this code in order to make it use of dfs. in my bfs I used an array and 2 pointers to simulate queue and putting successor at the end of queue each time. I don't know what should I do to change it to DFS. what should I do? #inc...
stackexchange/codereview
I am starting a service for students at my school which requires them giving me their user account information for our school's web system so that I can automate some annoying tasks for them. I will be logging them in using CURL but I am having trouble figuring out how to store their passwords in a secure method. With ...
stackexchange/codereview
I need to be able to set the objects in the array, but I don't want to be able to change the state of any of the individual objects.
stackexchange/codereview
The business I work for has a website for employees to clock in and out of their work shifts. This website needs to be only accessible from our two in-house iPads. I tried doing a simple .htaccess password protection to the directory, but every time the browser is closed (which is often), we need to re-input the passwo...
stackexchange/codereview
How to draw a grid over an image. It should become part of that image itself. It should be able to show some rows and columns over the image itself. The lines for rows and columns can be specified. Actually I was encouraged by the way some research paper discusses about the results they have about image warping. One of...
stackexchange/codereview
I have tried connecting to pear.phpunit.de and three other similar connections using PEAR, but could not due to connection timeout, after updating connection also in PEAR, no progress. Also, I have tried installing PHPunit without PEAR by changing @PHPBIN@ in phpunit.php file and renaming it, then cannot run it as an e...
stackexchange/codereview
I come from a PHP/Rails background where deploying a website often means FTP/Checkout of the source code in the correct directory on the web server. However, I've been asked to develop an ASP.NET website and some people have advised me to "Publish" the site instead of copying over the source code directly. Apparently, ...
stackexchange/codereview
I've got a listbox with a simple list of items. On my xaml page, I have the following <ListBox Name="listBox1"> <ListBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding firstName}"/> <Text...
stackexchange/codereview
I'm having trouble getting the very last draggable item in the loop below to become draggable (all the other items before the last item are fine, they are draggable). The html it's outputting to my browser for the last draggable item looks fine when I view source exept for the very last draggable, the "ui-draggable" cl...
stackexchange/codereview
everyone I have one problem here. My site is powered by Mediawiki, which means, the visitors are supposed to visit links like this: hxxp://www.example.com/wiki/SOMETHING I want to redirect the user to the Main Page if he is trying to access something else: hxxp://www.example.com/NOTwiki/SOMETHING -> hxxp://www.example...
stackexchange/codereview
Given the following distinct two collections: IQueryable<Book> allBooks = context.Books.Where(b => b.UserID == hostID); var visBookTitles = context.Books.Where(b => b.UserID == visitorID) .Select(b =>b.Title.ToLower()).ToList(); What would be the most efficient way (using method syntax, preferably) to return all the ...
stackexchange/codereview
I'd like to generate a (series of) regexp(s) from a numeric range. Example: 1013 - 4044 => regexp matches --------------------------------------- 101[3-9] 1013 - 1019 10[2-9][0-9] 1020 - 1099 11[0-9][0-9] 1100 - 1199 [23][0-9][0-9][0-9] 200...
stackexchange/codereview
I'm writing an Android app, and would like to have a Lite and Pro version. The application itself would largely be the same for the Lite and Pro version, the main difference being that the Pro version would have a widget for convenience purposes. Obviously, I would like to reuse the code, drawables and layout files for...
stackexchange/codereview
I would like to allow users to play audio on my webpage while still being able to listen to their own music from their iPod app. Is this possible? So far all my tested solutions take me out of Safari and load up Quicktime.
stackexchange/codereview
I need to convert these C functions to C#. Just wanted to double check if I've done it right. Thanks! C Code: unsigned short Crc; unsigned short update_crc(unsigned short crc, char c) { char i; crc ^= (unsigned short)c<<8; for (i=0; i<8; i++) { if (crc & 0x8000) crc = (crc<<1)^0x1021; else...
stackexchange/codereview
So I'm trying to create an 8X8 grid of textboxes. I want to have the ability to also access the textboxes when I need to search through them. I have looked into considering an embedded List (i.e. List<List<TextBoxes>>) Where the inner list has 8 slots and the outer lists also has 8. I was wondering if there was an easi...
stackexchange/codereview
I want each pixel on the screen to flash between red, blue, green, white, and black but independently of each other. Is this possible? I have been searching everywhere with out any luck. Any help on where to start would be greatly appreciated.
stackexchange/codereview
I have the following situation (SQL Server Express): 2 tables connected via a pk-fk constraint a view that joins these two tables the program to use the database only has access to the view an instead of trigger for inserts on the view The idea is that the trigger enters data into the 1. table -> a new PK is created ...
stackexchange/codereview
The following code builds error free on msvc, but does not compile on g++. if(*it == listener){ it = listeners.erase(it); } The error is in erase, The full code is: void AguiListener::removeListener( AguiWidget* listener ) { for(std::vector<AguiWidget*>::const_iterator it = listeners.b...
stackexchange/codereview
I have a .pythonrc in my path, which gets loaded when I run python: python Loading pythonrc >>> The problem is that my .pythonrc is not loaded when I execute files: python -i script.py >>> It would be very handy to have tab completion (and a few other things) when I load things interactively.
stackexchange/codereview
Almost every time I use the iPhone Simulator, I get intermittent slowdowns. Everything is running smooth and then the whole UI randomly drops down to 1-5fps. View pushes, animations and everything related to the UI just becomes sluggish for 2-10 seconds. Then all of sudden it comes back to normal again. I've googled th...
stackexchange/codereview
Example: If i have a table of things and their owners. I can do either or to get the same result for a natural join: SELECT * FROM owners, things WHERE owners.id = things.owner_id SELECT * FROM owners JOIN things ON owners.id = things.owner_id Now if I wanted to do a left join? Like so, where all owners are returned.....
stackexchange/codereview
When ever i change in to another orientation the Activity onCreate() method is called again? how ever i used android:configChanges="orientation|keyboardHidden" but it prevent to change another orientation.how to block on calling the OnCreate() again? Thanks in advance...
stackexchange/codereview
LINQ-to-SQL had several ways, including a visualizer add-in, to view the generated SQL from an IQueryable. I can't find the equivalent for Entity Framework 4. Nothing on StackOverflow, no blogs. How is it done? Preferably, I'd like to be able to do it in code and without having to actually execute the query just to s...
stackexchange/codereview
I'm using pyparsing to parse vcd (value change dump) files. Essentially, I want to read in the files, parse it into an internal dictionary, and manipulate the values. Without going into details on the structure, my problem occurs with identifying nested categories. In vcd files, you have 'scopes' which include wires a...
stackexchange/codereview
I am using gzip utilities in windows machine. I compressed a file and stored in the DB as blob. When I want to decompress this file using gzip utility I am writing this byte stream to process.getOutputStream. But after 30KB, it was unable to read the file. It hangs there. Tried with memory arguments, read and flush lo...
stackexchange/codereview
hi guys i am using <input type='file' name='filett' size='filett'> and move the file into the temporary location. Just i wants to know how to get the image size using php . i am using $rect = thegetimagesize("img/flag.jpg"); but if i echo the variable $rect it shows the error
stackexchange/codereview
This works in FF, Chrome and other browsers except IE8: <span class="cart_warning">Please select a color</span> <script type="text/javascript"> $('.cart_warning').css({opacity: 0, color: '000000'}); </script> In IE8 the color changes to black but opacity doesn't. What could be the problem? There are no transparent...
stackexchange/codereview
Tasker is an app in the app-market that enables one to define simple automation tasks. I'm writing a task that announces the location coordinates. However, the location is a built-in variable that is defined to about a dozen decimal places. I want to round off the value before having it announced. Any suggestions?
stackexchange/codereview
I make an iPhone app with Flash and it generates my app and a xml (that I don't understand if is it useful). My question is if I can read the objective-c code that Flash generates. Thanks in advance
stackexchange/codereview
First to clarify, I have already done a search and found a few identical questions, but the answers did not solve my problem. I have this code: SET IDENTITY_INSERT [STUDY] ON INSERT INTO [STUDY] ([STUDY_ID],[PARENT_ID],[GROUP_ID],[WORKFLOW_NODE_ID],[STUDY_TEMPLATE_ID] ,[INSPECTION_PLAN_ID],[NAME]...
stackexchange/codereview
The app uses features supported on iOS 4 (sending SMS), but should run on iPad as well. That was something that I spent time researching but found the way to make it work by setting link to weak. Before it was resolved, the app could not start on iPad, flash screen appears and app crashes. After that everything was oka...
stackexchange/codereview
i was just wandering whether its even possible to get the latitude and longitude based on telephone number so that i can show them on iphone??
stackexchange/codereview
I have been working with the AsyncEnumerator class to help clean up my async code. The problem is the code after the yield return never fires. The UI calls an object which calls the HttpWorker object when a button is clicked. No matter how much the button is clicked the code never goes past the yield return. public...
stackexchange/codereview
So, from a script running in /home/a-spdb/www/sofa: is_dir("/home/a-spdb/www/sofa/uploads") //returns true is_dir("/home/a-spdb/www/sofa/uploads/talent") //returns false sshing into the server, the 'talent' folder clearly exists: bash-3.00$ pwd /home/a-spdb/www/sofa/uploads bash-3.00$ ls -l total 0 drwxrwsr-x+ 2 myu...
stackexchange/codereview
I have a strange problem with native Ajax request invoking. I am creating the Ajax object and sending the request like follows: var xmlHttpObj = new XMLHttpRequest(); .... xmlHttpObj.open("GET","http://192.168.16.254:8080/ajax/demoExample.html",true); xmlHttpObj.send(); When I access the servlet with the URL somethin...
stackexchange/codereview