instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
i have installer project working fine on development machine(32 bit) but when i move it to the production server it crashes. the error is related to mscorlib.dll(file not found exception clr20r3). the snapshot of exception for ur refrence is attached. i have tried repairing/ re installing framework 3.5.
stackexchange/codereview
I have this code below and want it to show the progress of a form submission of a file upload. I want it to work on my website visit it through this IP (24.148.156.217). So if you saw the website I want the progress bar to be displayed when the user fills in the information and then hits the submit button. Then the pro...
stackexchange/codereview
I'm hoping someone will be able to provide a quick answer to this one, it will probably be a really obvious one, but I just can't get my head around it. I have an app, for the mac, in which I am using Core Data to save information. All that is working fine, and when I create new data it shows up in the app fine, and wh...
stackexchange/codereview
I have a bunch of fields and some of them have labels like <input id="1" /><label for="1" /> <input id="2" /> <input id="3" /><label for="3" /> For every label i want to do something like var for_label = $(label).attr("for"); and then use the variable to apply a style to the appropriate input-field. How should I do t...
stackexchange/codereview
I'm running Glassfish 3.1-SNAPSHOT as of today (2010-11-12). I'm using the embedded EJBContainer. On the classpath, as reported by the EJBContainer, I have a META-INF/persistence.xml. This file defines two persistence units: one called "ngp" and one called "cx". Debugging output shows that the Glassfish JPA deployer f...
stackexchange/codereview
I've implemented a ComboBox of CheckBoxes that looks pretty good in the GUI, but I'm having trouble using it in a functional manner. The main problem I'm having is figuring out which boxes are actually checked. At runtime, the ComboBox.SelectedItem works correctly, but if I iterate through all of the items, they alway...
stackexchange/codereview
I am learning QtScript and wrote several trivial examples. The mapping is straightforward if I limit arguments to simple types. I now want to be able to pass variable number of arguments from QtScript to the C++ class, such as Myobject.add(1, 2, 3, "4444"); Myobject.add( {first:1, second:2, third:333} ); How to decla...
stackexchange/codereview
I'm developing an app for the iPad in which I'm building an html file for a webview. I'm using several javascript files which I'm copying out of my resource bundle to the app's temp directory. When I try to bring this html file up, the javascript is throwing errors. It seems that any browser sees every linked resource ...
stackexchange/codereview
I'm making a Gui Api for games. The user can always use inheritance on the widget and override, but I want callbacks. I want to use a templated callback system: so if they want to have one for the mouse they inherit from a version of the templated callback base with mouseargs: So the base would look like this: template...
stackexchange/codereview
I am about to start collecting large amounts of numeric data in real-time (for those interested, the bid/ask/last or 'tape' for various stocks and futures). The data will later be retrieved for analysis and simulation. That's not hard at all, but I would like to do it efficiently and that brings up a lot of questions...
stackexchange/codereview
i am trying to create a module which is like this package MyModule; use strict; use Exporter; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw(func1); sub func1 { my x = shift; print x; func2(); } sub func2 { print x; ...
stackexchange/codereview
I have a problem with the integration of MS Excel into my java application. I use Jacob to talk to Excel via the COM API, which generally works fine. An XLS file can be opened from the application, and changes are properly stored. But then I just noticed my code becomes buggy when Excel is already opened and at least ...
stackexchange/codereview
I want to know which parts of the ASP.NET request life cycle happen after an error is handled via the HttpApplication.Error event. Specifically, which of the events listed at http://msdn.microsoft.com/en-us/library/bb470252.aspx#Stages fire after an error? I know that EndRequest still fires, and I suspect that PreSendR...
stackexchange/codereview
Would someone please post here an example of downloading in wxWidgets application a web page which is available after logging in? I tried to use wxCurl for this purpose, but no success, a buffer is not filled with content of a page. :-( char Buffer[30000]; wxCurlHTTP http(wxT("http://taras.te.ua/index.php"), wxT("test"...
stackexchange/codereview
I'm trying to access the servlet path from a tag file like so; <%@tag description="put the tag description here" pageEncoding="UTF-8"%> <%=pageContext.getServletContext().getRealPath("/")%> However it complains it cannot find the symbol; string:///xxxxx:89: cannot find symbol symbol : variable pageContext location: c...
stackexchange/codereview
I am facing a different problem in codeigniter. When I try to access the videos page in my site, it will redirect to 404.shtml page. But cvideos.php file exists in my controllers folder. If I access like this http://domain-name/videos , then it will be redirected like this //domain-name/500.shtml And If I access the s...
stackexchange/codereview
Before writing a Java Date to an SQL TIMESTAMP column, does JDBC translate the date from the Java virtual machine time zone to that of the database session? For example, suppose the Java virtual machine time zone is UTC and the database session time zone is UTC-5. If a Java program attempts to store 2000-01-01 00:00:0...
stackexchange/codereview
I am trying to design a linked list in c++ that allows concurrent access. Clearly using a single lock for this list is grossly inefficient since disjoint areas may be updated in parallel. Now what are my options other than storing a lock per node? Also, would a non-blocking version be a better bet in this case? Any re...
stackexchange/codereview
Function Main() DTSGlobalVariables("bolFirstRecord").Value = True Main = DTSTaskExecResult_Success End Function
stackexchange/codereview
I have an ASP.NET MVC application, which seems to run OK on my machine, but not when it runs on the server. Does anyone have any tips on finding out where the performance bottleneck may by or any general tips? Would routing misconfiguration ever slow down an application? I have added HttpContext.Current.Trace.Write sta...
stackexchange/codereview
Sorry, I think I'm being rather silly and overlooking something basic, but I'm just starting out with jQuery. Trying to write a link to hide a frame, but need to refer to the parent page from the child in order to hide it. So here's my code: <script> $(document).ready(function(){ $('a#closelink')click(function(){ ...
stackexchange/codereview
My JavaScript code is supposed to receive data using AJAX and display it in a DIV called "txtHint". However, this is the error I get when the code executes (I am using the build-in debugger in Safari): TypeError: Result of expression 'document.getElementById("txtHint")' [null] is not an object. Here is the code: func...
stackexchange/codereview
It keeps having an error "Operation not allowed on non-connected sockets" on the line var ServerStream = Connect2Server.GetStream(); And I'm not really sure why Below is rest of the code for that function var buffersize = 0; var Convert2Tet = new ASCIIEncoding(); var Connect2Server = new TcpClient(); var ServerEndPoin...
stackexchange/codereview
anyone know when iAds for iPad will be available? it seems to only be available for iPhone at the moment...
stackexchange/codereview
Only the Flash Media Enterprise Server(FMES) has the "RTMFP peer introduction services" http://www.adobe.com/products/flashmediaserver/compare/ influxis created SmartMesh which enables p2p in Flash Media Interactive Server(FMiS). http://labs.influxis.com/?p=1253&cpage=1#comment-54661 I couldn't find info on what does t...
stackexchange/codereview
I'm wondering how I can create a 32-bit binary with my 64bit cx_freeze. I've looked at the homepage and I can't find a setting to tell it what architecture to build for. I'm running 32bit(otherwise PyQt won't work) Python 2.6, so the dependencies should already be 32bit, on 64bit Kubuntu 10.10.
stackexchange/codereview
I have added the AutoPostBack = "true" attribute to the drop down list. It doesn't work. <asp:DropDownList CssClass="dropDownList" ID="ddlBusinessUnit" AutoPostBack="true" runat="server" Width="250px" OnSelectedIndexChanged="ddlBusinessUnit_SelectedIndexChanged"> </asp:DropDownL...
stackexchange/codereview
I want to know how to change the orientation to landscape right if the device is iPad. I am doing this app for both ipad and iphone. If it is iPhone the screen should be in portrait mode if its ipad the screen should be in landscape right. Can anybody help how to do this, thanks
stackexchange/codereview
Is there a way (perhaps with P/Invoke) to guarantee that the horizontal scrollbar will never appear in a usercontrol? It seems that even when i have the autoscroll property set to false, it displays sometimes.
stackexchange/codereview
What I've tried to do is implement a servlet filter with such code: int up = request.getContentLength(); if ( ( (HttpServletRequest) request ).getQueryString() != null ) { up = Math.max( up, ( (HttpServletRequest) request ).getQueryString().length() ) ; } int down = ( (HttpServletResponse) response ).getBufferSiz...
stackexchange/codereview
I need to include a common XAML in several different XAML layout files. I do not want to hard code the repeated XAML part in those other XAML files. How to do the include ?
stackexchange/codereview
I have 3 application contexts: A global context which is responsible for launching Jetty servlet container, launched from main() An applicationContext parent to each webapp in jetty (started by SpringSecurity n xyz-servlet contexts for each webapp (I run 1 webapp) Spring managed creating a parent-child relationship f...
stackexchange/codereview
I've been using Safari as my development browser and I find it quite difficult to preview CSS changes in a heavy javascript environment. My web application and development environment is as follows: Mac OSX Snow Leapord Safari TextMate Mootools MochaUI XHTML 1.1 Transitional CSS3
stackexchange/codereview
When installing django-piston from the bitbucket repo with pip, I noticed something weird (first indented line of the output): $ pip install hg+http://bitbucket.org/jespern/django-piston Downloading/unpacking hg+http://bitbucket.org/jespern/django-piston Cloning Mercurial repository http://bitbucket.org/jespern/django-...
stackexchange/codereview
I need a function to validate if the content of a variable is a valid unix timestamp. I've checked this thread: Check whether the string is a unix timestamp but the problem is that the function in the most voted answer still can cause some errors, for eg: function is_timestamp($timestamp) { return ((string) (int) $t...
stackexchange/codereview
Is it possible to bend or warp OpenGL space through non-standard manipulation of the ModelView or Projection matrices? For instance, the command glScale(scaleFactor, scaleFactor, noScaleFactor) would re-size all the elements of a scene in a uniform manner along the X and Y axes. But if one could warp OpenGL space in a ...
stackexchange/codereview
Which is the root directory in iphone and where does all the files documents will be stored? Why we are using only the NSDocument directory to copy a file in that place and then we are reading?
stackexchange/codereview
I'm try to verify filenames with this schema: <letter>-<digits>.html. For example, t-32782.html or f-484774.html. One letter then many digits then ".html".
stackexchange/codereview
I have parent category id in the category table.(same table). When add category there is two options. First one if we create new category without selecting the existence category than its became the parent category. Second one if we create the category with select the existence category that selected category become th...
stackexchange/codereview
I'm not sure that I completely understand how Core Data works on iOS. I have a large JSON file which I have parsed and imported into core data. This generates an sqlite file. I need this file to be included with the app but every time I delete the app from the device - I have to run the JSON parse script again to creat...
stackexchange/codereview
For example, how does Windows know that a device on the network is a wireless printer? What are the standards being used? Are there generic protocols an application can use to submit print jobs to a such a printer if there is no available printer driver?
stackexchange/codereview
I'm trying to print the value of the TextViews which are inside TableRows, using TableLayout#getChildAt(i).getChildAt(j). When I try to log it using the above, logcat complains, saying that it's a View object and that it doesn't have the method I'm trying to use (getText()). The only Views in the TableRows are TextView...
stackexchange/codereview
I am using libcurl for my utility and its working very well till now for all Linux platforms. I downloaded, unzipped and simply followed the instructions given without any changes. My product uses the libcurl.so file and is linked dynamically. The .so file is bundled along with our product. Recently there were issues i...
stackexchange/codereview
i have this really big struts-based web app that i have to maintain, and the package names follow this convention (more or less): [app-name].[module].[module-variant].[layer].[activity].[activity-variant] the jsp files are arranged in a similar fashion: Web-Content/jsp/[app-name]/[module]/[module-variant]/[activity]/[...
stackexchange/codereview
It's a simple app that takes 30 pics from my Resources folder, puts them into an NSMutableArray during viewDidLoad, and then changes the pic based on accelerometer data. I have a UIImageView from IB covering the whole view, and when the accelerometer updates its info, it swaps the uiimageview.image to a diff pic. Wor...
stackexchange/codereview
I'm trying to do an animation when navigating away from a page, but I get this error: Cannot resolve TargetProperty (UIElement.RenderTransform).(CompositeTransform.TranslateX) on specified object. I copied the code from a book, and I tested the book's sample code and it works but I can't get it to work on my app. Any i...
stackexchange/codereview
Given a 64-bit number what's the best way to find out the number of paired un-set bits at even boundaries. The extra zero padding after the MSB should be ignored. For example: For the two numbers 25223 and 10578 25223 -- 01 10 00 10 10 00 01 11 7 6 5 4 3 2 1 0 Count = 2, (at positions 2 and 5) 10578...
stackexchange/codereview
In my screen class, I can override makeMenu and use it to do something, like this: protected void makeMenu(Menu menu, int instance) { reDraw(); } However, when I click the trackball reDraw(); is called (like I want), but then a menu still pops up (with Call Voice Mail and Switch Application options). How can I canc...
stackexchange/codereview
I'm developing tools for a WPF clickonce XBAP application for internal deployment within a large corporation. I'd really like to use Expression Blend 4, but that requires me to upgrade to .NET 4.0 (right?). The project manager tells me the corporate IT department likely won't roll out .NET 4.0 framework to desktops un...
stackexchange/codereview
I'm currently trying to implement page with CRUD operations for Entity. Let's imagine we have model called User with properties: Name, Surname, Age, IsMarried, HomeAdress. I'm going to show all those fields in DataGrid on UserInfoView. The grid should support inline adding and editing. I started from this example: Link...
stackexchange/codereview
I want to see not valid value in validation message. validates_uniqueness_of :event, :scope => :user_id Result: "Title has already has been taken" I want: "Event #{event} already has been taken by #{user}" i'm trying do this way, bun not working: validates_uniqueness_of :event, :scope => :user_id, :message=>"#{self.e...
stackexchange/codereview
I am trying to build some software on Windows using both GNU make 3.81 and an ancient make distributed with Wind River Tornado (make 3.76). So far, I managed to capture the date from windows: NOW=\"$(shell cmd /C date /T) $(shell cmd /C time /T)\" but when I am passing it on the compiler CFLAGS = ... -DBUILD_TIMESTAMP...
stackexchange/codereview
How can I get the daily pageview of wikipedia page. for example, I want to get the history of daily page view of this page http://en.wikipedia.org/wiki/Programming Is it possible?
stackexchange/codereview
Short Question: How can I draw a copy of a hidden ActiveX control to a Bitmap? Longer Question: I have an ActiveX control which displays an Image. I would like to hide it behind something (example a panel), copy the display to a Bitmap so as to be able to process it (example access the pixels etc).
stackexchange/codereview
i write a program in netbeans, but i can not print it in a .txt file. indead, my programming codes do note work properly. i think the problem is in last lines of codes. here is my codes: import java.io.*; import java.util.*; public class converttopathbased_bfs { static String START; static String END; ...
stackexchange/codereview
I am displaying a Date in my View. This particular View is one that I use to add data to the database. On the database the Date field is not null, and that is how it should be. However by virtue of it being not null, the same date field is mapped as not null in the EF generated classes I use. So when I send an empty ob...
stackexchange/codereview
I run following command for log monitoring. echo ---------------------BEGIN:0;awk ' NR == NR {print $0; recno=NR; rec=$0} END {printf "output is %010d>%s",recno, rec} ' "/var/log/messages";echo ;echo ------------------END:0; The expected output is Nov 12 03:36:52 hostname gdm[27726]: GDM already running. Aborting! out...
stackexchange/codereview
I'm using ncurses and whenever I get a segfault, ncurses doesn't properly release control of the terminal (because endwin() was never called). I set up a signal handler: void handler(int signum) { endwin(); exit(EXIT_FAILURE); } but the problem with this is that the segfault is ignored, as opposed to delayed u...
stackexchange/codereview
I have the following sql statement: SELECT COUNT(table2.programName), table2.programName FROM table1 LEFT JOIN table2 ON table1.programID = table2.programID WHERE table1.MemberID = 12345 AND table2.programName = (table2.programName associated with dynamic table2.programID) I do realize the last AND statement is...
stackexchange/codereview
$ git pull remote: fatal: object 21f3981dd35fccd28febabd96f27241eea856c50 is corrupted error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remote side. fatal: p...
stackexchange/codereview
I am trying to create ajax based chat for my application users; I need to get list of All currently online users of the application ..Is there a way to retrieve such a list with facebook aPI? if not how can I implement that? I appreciate your valuable suggestions..
stackexchange/codereview
How do you trasnlate OR relationships in ER diagrams? For example, you have 2 entities that have some connection with the third, but only one of them can have that relation?(ex. BussinessOwner or PrivateOwner can hold just one Property) ?
stackexchange/codereview
I am wondering if anyone can help me with something here: I am trying to create a "pipeline" or "queue" of commands [similar to CompositeCommand in Prism] except I want it to be sequential even if the command being executed is Asynchronous in nature. Basically, I want to string together bunch of Async calls [not at com...
stackexchange/codereview
I'm trying to write a utility which will attempt to login to the Microsoft Online Admin website and report back as to whether it is reachable. Using code mainly from this article, http://odetocode.com/articles/162.aspx and some screen scraping I have pieced together the following. Unfortunately it doesn't work, the fin...
stackexchange/codereview
I know that this is a popular topic, but I've yet to find an answer that's completely comprehensive. I'm trying to create a simple way for our 'customers' to place a Google Map on their website, which plots the position of our customers (or a subset thereof) on the map. The customers are in a MySQL database which is tu...
stackexchange/codereview
As the title states, does Ruby allow Cartesian product types? I can't find anything on it anywhere. Thanks
stackexchange/codereview
How to check the Android Os version Programmatically on the onCreate of very first screen of the App?
stackexchange/codereview
For some reason SDL refuses to render an image. I don't see why and it's really bogging down my progress on a 2d game i'm developing. Everything is linked properly and such. Here's my code: //main.cpp #include "main.h" void game::createWindow(const int SCREEN_W, const int SCREEN_H, const char* SCREEN_NAME) { buffer =...
stackexchange/codereview
Is there a better than O(n²) solution to solving the following problem: On day i, the unit price of goods is B[i] and they can be sold for S[i] a unit. If you have 1 unit of cash on day 1, how much can you earn in N days with the constraint that you can never sell stock you don't have on the day?
stackexchange/codereview
I was wondering if anyone knows how to use a dialog box to create a hold down button event. Here is the scenerio: a user would like to shutdown their system, but because it is critical that they confirm, that user must hold the button for 5 seconds before the action can be done. I am trying to do it in a yes no scenari...
stackexchange/codereview
Basically all I want to do is have the modal popup from within the iframe to center on the entire page instead of just the iframe... How can I do this?
stackexchange/codereview
I wrote an android app and so far it works perfect except for on one phone. It is the exact phone that I have with 2.2 on both phones and mine works perfect. The other phone is getting force close all the time but only when opening an activity that queries my image DB and tries to show a gallery. Every activity cras...
stackexchange/codereview
Non-POD derived class PayloadMessage contains an array data member (_payload) whose elements appear to be getting zero initialized upon construction. I don't want this to happen for performance/efficiency reasons -- it is a large array. Suggestions? (Placement new maybe?) I'm using an older g++ compiler, 3.4.6. #in...
stackexchange/codereview
I've got a simple program which atm displays a transparant window with an image on it, which is always on top of other windows. Is it possible to direct input past my app so I can click on programs underneath? For example, the window is over the desktop background and I want to be able to click on the icons instead of ...
stackexchange/codereview
So I need to add a filter to a spring app, such that after the response has been flushed back to the client, I write to a log file. The values I want to write to the log file are determined within the app. In other words, I would like to pass values, ideally a hashmap of values, to the filter that sits after the main p...
stackexchange/codereview
I need to use an event system in C++. I have mainly four requirements : Speed Ease of use Type Safety Friendly Destruction By "Friendly Destruction" I mean the event and the subscriber need to manage their disconnection when one of them get destroyed : An event shouldn't call a subscriber that has been destroyed. ...
stackexchange/codereview
//c++ funciton definition int LS_SomeFucntion(LuaState* state) { LuaStack args(state); //.. set<int>::iterator it = mySet.begin(); for(; it != mySet.end(); ++it) { state.pushInteger(*it); } return mySet.size(); } state->GetGlobals().Register("SomeFunction",LS_SomeFunction); //lua scripts ??? = SomeFunction() H...
stackexchange/codereview
Are there any good jquery plugins for using html 5 local storage?
stackexchange/codereview
I am trying to figure out how to setup a regex expression on doing the following requirements. Must consist at least two characters that are alpha characters a-zA-Z Must consist only ONE underscore or dash allowed anywhere AFTER the first check, the dash/underscore cannot be at the end as the same rule to apply as the...
stackexchange/codereview
Context: In my Java project, I am byte-code injecting a class (say Injected.java) and also byte-code injecting a reference to a method in Injected.java, such that this method sets the value of an instance member. This is one way to verify that I am byte-code injecting the right thing. Issue: At run-time, the value of t...
stackexchange/codereview
I'm working on this project, a .Net EXE will start AutoCAD and run some code. After googling, here is options I have: a) Activator.CreateInstance b) Process.Start If I use b), it is hard to control the code after AutoCAD start. so a) is the only choice. On my client's machine, it is possible have multiple AutoCAD inst...
stackexchange/codereview
I have a generic method in my repository which updates a property common to all the objects in my edmx model: private void SetUpdateParams(TEntity entity) { PropertyInfo prop = typeof(TEntity).GetProperty("CommonProperty"); prop.SetValue(entity, "Some Value", null); } This property is call...
stackexchange/codereview
How would you collaborate on a Maven project with another developer, without setting up a repository on a dedicated server?
stackexchange/codereview
I'm trying to debug a memory leak (see question Memory leak in Python Twisted: where is it?). When the garbage collector is running, does it have access to all Python objects created by the Python interpreter? If we suppose Python C libraries are not leaking, should RSS memory usage grow linearly with respect to the GC...
stackexchange/codereview
First things first. I may be completely off track with this. I'm still learning with Mongo and NOSql solutions in general. We have a new component to our app we are writing and instead of sitting down and messing with a relation database we wanted to use something that would fit better with our objects. So let's take a...
stackexchange/codereview
For some reason my application crashes when I try to set the text of a textview? How can I over come this. private TextView strStatus; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); txtUsername = (EditText) findView...
stackexchange/codereview
I'm using images in an iPhone application. I need to restrict the images so that those larger than 4MB cannot to be uploaded. How can I check the data size of an image file?
stackexchange/codereview
I don't have a lot of information here. My site has been working in IE8, but now no styles are applied. The developer tools show all of the CSS files being loaded, but no elements show any evidence of those styles being applied. Chrome & Firefox still apply all styles with no problem. I know you can't help me without...
stackexchange/codereview
Please see this code below: for($i=0;$i<=count($s->channel);$i++){ echo "--->".$ChannelName = $s->channel[$i]->{'display-name'}; $arrChannelName[] = $ChannelName; } print_r($arrChannelName); This return me output as Object instead of an array as: Array ( [0] => SimpleXMLElement Object ( ...
stackexchange/codereview
I'm a web designer and of course I have to work with every major browser (sans IE 6 because it is such a pain in the butt and I need png transparency without any workarounds). I've been looking for a way to run and reload Firefox, a Webkit browser (Chrome), and IE 7 & 8 all at once. (I've got the answer for my needs t...
stackexchange/codereview
I've been looking at the C++ documentation for a function which would move a range of elements from one container to another, using move semantics. However, I have not found such a function. What am I missing? How would I do the following without copying and using explicit loops? // Move 10 elements from beginning of s...
stackexchange/codereview
I need to download a file from web. Which way is preferred WebRequest/WebResponse WebClient Rick
stackexchange/codereview
I was wondering if there was a way in JavaScript to check if the size of an element has previously been set? Even though this obviously wont work, this is kind of what I need to happen. if(element.style.width === undefined) element.style.width = 'auto'; I was wondering if this might work due to a non set opacity r...
stackexchange/codereview
I need to replace the content of a div in my page with the html resultant from an ajax call. The problem is that the html have some necessary scripts in it and it seems that jquery html() function stripts them out, I need to filter the response and only get a specific div. I am thinking on a workaround which is to ext...
stackexchange/codereview
I am building a web crawler in PHP, meant for Intranet use (we're dealing with a huge Intranet). I managed to download a web page using the cURL functions, but now I want to scan the content for links. I am trying to find all obvious links and split them in their corresponding scheme/authority/path/query/fragment so I ...
stackexchange/codereview
I am working on a rails app, where I am using jQuery and the Facebox Lightbox for popup forms. I want to use some jQuery validation on the form. When I try to implement this, I run into some weird results. If i put the javascript directly into the view I am loading in the popup, the javsacript works just fine. Example:...
stackexchange/codereview
I've run into problems with Access database as it's maximum size is limited to 2 GB. I've done a little research and found about split Access databases. When splitting the database, the original file remains and one new is added. I don't quite understand what I'll be getting with this. As I understand, the newly create...
stackexchange/codereview
Im trying to interface with a project which defines its supported orientation by: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { //making sure that the tour is displayed in landscape return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); } I built my pr...
stackexchange/codereview
I'm trying to access this list of public twitts here, from an android application through a HttpClient: http://api.twitter.com/1/statuses/public_timeline.json I keep getting an Exception when connecting: java.net.UnknownHostException: api.twitter.com Why is this happening? How can I fix this? Thank you
stackexchange/codereview
I'm wondering if it's possible to receive a notification if user presses a number in dialer on the other side of connection during the phone call. Like the scheme used by various automated support services - "Press 1 to..., press 2 to...". So I would like to receive that number pressed. Thanks
stackexchange/codereview