instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm developing a Java desktop app and was wondering what are the best practices for logging bugs and exceptions. I'd like to log the exceptions in a file that's sent to me when there's a problem. Are there any good frameworks for doing this or is it a retarded idea? Thanks a lot Elsanto 696
stackexchange/codereview
Recently upgraded to NUnit 2.5.8 in order to use the new TestContext functionality. This is so that we can determine the current test name in order to retrieve an attribute: private T GetAttribute<T>() where T : class { return Attribute.GetCustomAttribute(GetType().GetMethod(TestContext.CurrentContext.Test.Name), typ...
stackexchange/codereview
I use NUnit integration tests. I am trying to test to make sure that user can't create account with existing email. (test@example.com) I need to have test data in the database (account with test@example.com email). I can create this account in the test function, or in the sql script (and run it before integration tests...
stackexchange/codereview
I have a layout with a ListView that contains EditText objects that can requestFocus() when the user chooses to edit the list item. I make sure to call setSelection() on the ListView when this happens, and then have the EditText request focus and then use InputMethodManager.showSoftInput to show the soft keyboard. Ho...
stackexchange/codereview
http://www.automatedqa.com/products/testcomplete/testing-qt-apps/ How would they have been able to do that? Is there a Qt inspection library? Standard window spy tools work in some areas, but other important areas (such as list items in a list view) are not inspectable through Windows messages. I know there's the QtT...
stackexchange/codereview
I'm Getting the following yellow screen of death "The IControllerFactory 'Ninject.Web.Mvc.NinjectControllerFactory' did not return a controller for the name 'Products'." Why? Here's my setup Update This configuration works on my computer but not on my co-worker's computer even though our computers have the same code an...
stackexchange/codereview
I have a problem as I mentioned above. In my web app, I'll be generating many divs dynamically by jQuery(ASP.NET MVC). Each new div can have a different width, and all of them MUST be floated to the left I tried (test) to float to the left 2 divs, but with no success. What am I doing wrong ? Each div has a defined widt...
stackexchange/codereview
I have created a PHP script that makes a lovely list.... Using a database it creates lots of items and sub items. As it is from a database, they can be infinitively deep list and sub lists. How can I used CSS (or put the code in the UL/LI directly) to allow INFINITE sub items to be displayed as and when their parents a...
stackexchange/codereview
I'm trying to remove some logging dependencies and stumbled across Castle Windsor's logging facility. However, I'm kind of skeptical about whether I should use it or not. public class MyClass { public Castle.Core.Logging.ILogger Logger { get; set; } ... } Windsor's logging facility requires that you expose y...
stackexchange/codereview
I am binding a collection (rss feed) into a list box such as this: <ListBox Margin="0,0,-12,0" ItemsSource="{Binding Items}"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Margin="0,0,0,17" Width="432"> <HyperlinkButton Content={Binding Title} NavigateUri="{Binding Link}" /> ...
stackexchange/codereview
I tried using XmlSerializer, but XmlSerializer will not serialize a TimeSpan value; it just generates an empty tag for timespans (otherwise would have been perfect). So then I tried using SoapFormatter, but SoapFormatter will not serialize generic lists; that just results in an exception. What other options do I have? ...
stackexchange/codereview
In our application, we allow user to upload documents which can be PDF, Doc, XLS, TXT. Uploaded documents will be saved on web server. We need to display link for each document user uploaded and when user click on that link, it should open relevant document. it is expected to have required software to open relevant doc...
stackexchange/codereview
We have a simple mobile web application using jQuery. The application is working good on a real blackberry 9700 device. But it's not working on 9700 simulator. Any suggestions on solving this problem are appreciated. -Chaitanya
stackexchange/codereview
Currently, I am using Javascript - The Definitive Guide for learning Javascript from scratch. Having learnt Java, PERL and other programming languages, I am in a habit of solving small exercises to check/better understand what I have been learning as well. In case of Javascript, I found the book to be severely lacking ...
stackexchange/codereview
I've got a tweaked version of the jQuery TimeAgo plugin.. the only tweaking is the fact that I can set custom attributes instead of global ones. The reason for this is so that I can have a suffix on some tags, and no suffix on others. This tweaking does work perfectly on it's own as I have tested it in different way...
stackexchange/codereview
I am using sessions to store data from my multi step form so that when the user completes all three sections of the form then the information is inserted in to the database. I have built the form so that the user can go back to any stage and modify the information they have submitted, the thing is though, the values th...
stackexchange/codereview
Hello i'm trying to use a do-while loop to check the input and repeat the prompt until the user types in a correct integer. So that's my code: #include <iostream> #include <stdio.h> #include <ctype.h> int main () { int a; do { printf("Please type in your number: "); }while(scanf_s("%d", &a) == 0); ...
stackexchange/codereview
we have a asp.net MVC application deployed to a server, and but when there is too many request to the server, the client will just get a "503 service unavailable" error. But if I deployed the application to another server ( lower hardware configuration ), everything worked fine, even more requests it can handle well. M...
stackexchange/codereview
I'm encountering a problem where tableView:numberOfRowsInSection: is getting called, then a other methods are getting called that affect the underlying array, then tableView:cellForRowAtIndexPath: gets called and crashes because the contents of the underlying array is different than when numberOfRowsInSection was calle...
stackexchange/codereview
i found sample plugin in android source code. let's say i can write a plugin using the sample, how would i get my emulator to run the plugin that i wrote? Do i need to recompile the source code? if yes, how is that possibly done? thanks:)
stackexchange/codereview
Alright, I've got this Query: Select Orders.OrderID, ProductID, UnitPrice, Quantity, Orders.OrderDate From [Order Details] left join Orders on Orders.OrderID=[Order Details].OrderID where Orders.OrderID='10248' or Orders.OrderID = '10249' FOR XML Auto, Elements; and when I execute it gives the following XML: <Orders>...
stackexchange/codereview
I am building a prototype for a quantitative library that does some signal analysis using image processing techniques. I built the initial prototype entirely in C#, but the performance is not as good as expected. Most of the computation is done through heavy matrix calculations, and these are taking up most of the time...
stackexchange/codereview
So I've seen lots and lots of examples where someone has a nifty data template with a control in it and their content control is applying the template and their code behind needs to grab it. But what I have is this: <DataTemplate x:Key="frontTemplate" > <StackPanel x:Name="noWork"> <Image Source="Images/1....
stackexchange/codereview
Whenever i set a breakpoint in Xcode, using the gutter, my cursor jumps to a random line of code, typically, 10-20 lines above the breakpoint. Why is it doing this? It is very annoying... Thanks.
stackexchange/codereview
I've been struggling trying to get jQuery to make a calculation for me, and i'm kinda pulling my hair out a bit now! I need to make a calculation to work out the theoretical weight of a given amount of steel sheets based upon the quantity and the dimensions. The output will be a weight in kg. The equation is as follows...
stackexchange/codereview
I have a table and I need to format the currency in order for the . to be displayed always under each other. This is the table: <table class="data" cellspacing="0" cellpadding="5" border="0"> <thead> <tr> <th>Date</th> <th>Description</th> <th>Field1</th> <th>Field2</th> ...
stackexchange/codereview
I am getting problem while using fwrite in php. the following code works in my local computer but gives error in server. $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); if(!$fp) { echo 'Error: '.$errno.', '.$errstr; } else { fwrite($fp, 'kool'); } There is no error with fsockopen. it passes and give...
stackexchange/codereview
I'm trying to import a PDF into a XeLaTeX using \includepdf{xyz.pdf}. The file xyz.pdf is a scan created by a Xerox 5755 machine, and PDF version 1.3. The error I get is: ** WARNING ** No valid name object found. ** WARNING ** Could not find a value in dictionary object. ** WARNING ** Didn't find "endobj". ...
stackexchange/codereview
Existe a possibility to remove or identify all my references in my csproj is not used, if yes its cool for create a most speed and more easy to deploy software? anyone have ideias?
stackexchange/codereview
Suppose we have a struct in C++: struct foobar { int age; bool hot; String name }; Is there a way, programatically, to query the above struct to extract its instance members? For example: String[] members = magicClass.getInstanceMembers(foobar); Members would have ["age", "hot", "name"] as it's val...
stackexchange/codereview
I'm looking for a Javascript multiselect to use on my Spring Roo / Web MVC project, and worried that I could spend a while adding a widget from a library that then breaks other stuff. Requirements: Prettier and more functional than the standard Dojo multiselect which Roo uses when scaffolding ManyToMany relationships,...
stackexchange/codereview
I have directory, in directory image background.jpg In the early work I load this image in background ImageBrush imgBrush = new ImageBrush(); imgBrush.ImageSource = new BitmapImage(new Uri("images/background.jpg", UriKind.Relative)); border.Background = imgBrush; after which the pattern during, I need to change this i...
stackexchange/codereview
Has anyone run across or have an example of Jos Stam's Stable Fluids but in 3D? I need to pursue a 3D version of this in openGL but have been having a terrible time doing so. Is there an example of this preferably in openGL/C/C++?
stackexchange/codereview
How it is possible to call a function from a other PowerShell script an returning the object? Main Script: # Run function script . C:\MySystem\Functions.ps1 RunIE $ie.Navigate("http://www.stackoverflow.com") # The Object $ie is not existing Functions Script: function RunIE($ie) { $ie = New-Object -ComObject Inter...
stackexchange/codereview
I am trying to set the json content type on httpservice to make REST service return the json data. When I add the content type in fiddler all works fine so the problem lays in flex application, not in the web-service. But the code below does not work and I get the xml data instead of json. Could anyone provide me the ...
stackexchange/codereview
I have a form in my web site. When user enters data it should reach to my gmail id. I tried many things but it is not working. http://pastebin.com/xABBduyB This is the settings in php.ini SMTP = smtp.gmail.com sendmail_from = myname@gmail.com SMTP_PORT = 465 Any help would be appreciated.
stackexchange/codereview
We have one webservice which invokes third party webservice. To test this implementation we have different environments. Local Developer Machine: When we run the application, everything works fine and our webservice is able to hit the third party URL. (Local Machine uses Windows OS) Local Development Server: After dep...
stackexchange/codereview
How do I install iOS 4.2 Beta on my iPad device to test my apps against? I have installed the Xcode 4.2 development suit and use Monotouch to test in the emulator on 4.2, but can't figure out how to get 4.2 on my physical iPad. Ian
stackexchange/codereview
I am using a JavaScript keypress switch to fire events, and it works fine in webkit browsers, but it does not work in Firefox. Can anyone help? The code I am using is: $(document).keydown(function(e) { switch(e.keyCode) { case 39: event.preventDefault(); alert("Arrow Key"); } break; case 37:...
stackexchange/codereview
Select count(*) from Merchant where Email in (Select SentEmail from MerchantInvitations where MerchantID = '16092') AND CreatedOn> (Select TimeSent from MerchantInvitations where MerchantID = '16092') I want the count for Merchants satisfying whose email is in SentEmail column in MerchantInvitations and CreatedOn ...
stackexchange/codereview
I have used the following code in my site to prevent the Android browser from rendering it wider than the screen resolution. It's code that I found on this site but while preparing to ask this question I was unable to find the original question again for reference. <meta name="HandheldFriendly" content="true" /> <meta...
stackexchange/codereview
Is there a way to check the number of bytes available from a USB device (printer in our case)? We're using CreateFile and ReadFile and WriteFile for IO communications with our USB device, which works. But We can't figure out how much data is available without actually doing a read. We can't use GetFileSize, as even the...
stackexchange/codereview
I would like to run a unit-tests before every git push and if tests fails, cancel the push, but I can't even find pre-push hook, there is pre-commit and pre-rebase only.
stackexchange/codereview
I have a class that is extending Java's ArrayList. I'm currently using Java build 1.6.0_22-b04. Looks like this: public class TokenSequence extends ArrayList<Token>{ public TokenSequence (Collection<Token> tokens) { super(tokens); } public void add(Object o) { if (o instanceof Token){ ...
stackexchange/codereview
I am learning Spring-MVC in my first project here. After reading the documentation on transactions I noted that all of the examples put transactions around the service objects/methods, not the DAO (data access objects/methods). I wondered why. Without knowing better I would think to add transactions around most of my D...
stackexchange/codereview
In Java, looking at the NamedNodeMap interface, how do you iterate it with generics? It seems to use Node rather than String, but I'm not so sure how to use Node objects... NamedNodeMap namedNodeMap = doc.getAttributes(); Map<String, String> stringMap = (Map<String, String>) namedNodeMap; for (Map.Entry<String, String...
stackexchange/codereview
I need to set up the Git client on a cheap shared hosting, with a no-name 32-bit Linux distribution. GCC isn't available so I can't compile it on the server. I do have at my disposal 2 other 64-bit Linux servers and an OSX laptop which I could try to cross-compile a binary on. But I can't seem to get it to compile corr...
stackexchange/codereview
Alright I know there is a lot on here about this, but I haven't gotten the information nor the answer. I have Visual Studio 2008 and Visual Studio 2005. (I want to keep using 2008) I have Microsoft SQL Server 2005. (Without BIDS) Which version of BIDS should I get. If I get BIDS 2008 will it work even though I use SQL ...
stackexchange/codereview
I have installed rubycas-server on my server. I have a ruby app that supports CAS on mysite.com. I would like to have the rubycas-server login page at login.mysite.com. I have followed the instructions at http://code.google.com/p/rubycas-server/wiki/HowToConfigure and configured my config.yml file. I have started the ...
stackexchange/codereview
I've got a text box control on a page and I want people to add URLs, one on each line and then split those URLs into an array. So, I'm trying to split them on the newline character. I've tried: .split(Environment.Newline) .split('vbcrlf') .split(vbcrlf) .split((char)Environment.Newline) but all to no avail. What am I ...
stackexchange/codereview
I am looking for a function in C++ that calculates how many seconds have past from 1/1/1970 until today.
stackexchange/codereview
i have a list like this: array( array(id=>100, parentid=>0, name=>'a'), array(id=>101, parentid=>100, name=>'a'), array(id=>102, parentid=>101, name=>'a'), array(id=>103, parentid=>101, name=>'a'), ) but way bigger so i need a efficient way to make this into a tree like structure like this: array( id=>100, p...
stackexchange/codereview
I try make a zoom on image, I create style, here is : <Style x:Key="ZoomImage" TargetType="{x:Type Image}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="LayoutTransform"> <Setter.Value> <ScaleTransform ScaleX="1.5" ScaleY="1...
stackexchange/codereview
My app has 4 Tabs and 3 of these Tabs also has navigation on top. I want to add a NowPlaying button to the top right of the navigation just like iPod.app. I have a class called SoundMachineViewController. This is where I have created my AVPlayer to play a remote mp3. If I went to one of my Tabs and selected a Track, my...
stackexchange/codereview
Hi I need to create a service that runs a piece of code in new thread after (let us say) 10 mins. How can I do that? I have service ready but I don't seem to understand how (if ) to call timer from within thread. can any one help?
stackexchange/codereview
I am a beginner in GWT. I'm trying a first application with GWT for almost 6 hours. I am following a tutorial and everything should go fine. But I dont know what problem I am getting with service def target. Please can someone help me, it concerns very basic rpc. I am just trying to bring a hello string from the server...
stackexchange/codereview
Ok, So say I put some iAds in my iPad app. Assuming that I implement it via the iOS4.2 update that comes out next week. Now, say I release my product but the majority of users haven't installed iOS4.2 in their iPads yet. Does that mean that my app will not run on their systems (meaning, my app requires iOS4.2), or does...
stackexchange/codereview
I need to embed an image as a part of the email, after the User Signature, not at the end of the email, becasue if i'm sending a reply of a large email, the embedded Image it's going to be at the bottom of the emails chain How do I embed an image as part of the email content (Not a link to an outside image)? How do I ...
stackexchange/codereview
When using read in bash, pressing backspace does not delete the last character entered, but appears to append a backspace to the input buffer. Is there any way I can change it so that delete removes the last key typed from the input? If so how? Here's a short example prog I'm using it with if it's of any help: #!/bin/b...
stackexchange/codereview
I am trying to send a GET request to a REST server using Java. This is the code with some debugging. URL url = new URL(request); System.out.println("request url: " + url.toString()); System.out.println("method: " + httpMethod); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); conne...
stackexchange/codereview
i have a listview and implemented onclick and also onfling.problem is when i do fling(swipe left to right), onclick event of listview is also getting executed.How to overCome this problem? how to differentiate touch(tap) and fling(swipe) in listview? listClickListener = new OnItemClickListener() { pub...
stackexchange/codereview
I am trying to use lxml in one of my projects in django, but I am having trouble installing the lxml module. I am using Ubuntu 10.04. I have looked on the web for suitable tutorials on how to install the lxml module, but I never seem to understand it correctly. Would anyone be able to clearly tell me how to install ...
stackexchange/codereview
Why do I get nothing when I execute cursor.fetchall() twice after a cursor.execute()? Is there anyway of preventing this from happening? Do I need to store the information on a variable? Is it suppose to work this way?
stackexchange/codereview
Please guide me as how to uncheck a checkbox of a parent form from a child form in Visual studio C#? Its like when a button in child form is pressed/clicked, then a checkbox in parent form should be unchecked. Also I am using WindowsForm. Please guide Regards Asad
stackexchange/codereview
Passing parameters is common in daily programming, but should we pass parameters as object or values? (A) public boolean isGreaterThanZero(Payment object) { if (object.getAmount() > 0) { return true; } return false; } (B) public boolean isGreaterThanZero(int amount) { if (amount > 0) { r...
stackexchange/codereview
I want to generate a tool tip dynamically since the tooltip has to contain a grid with dynamic number of columns. How do I do that ?
stackexchange/codereview
I have an overflow div which is on a jquery modal dialog. <div style="overflow: auto; height: 300px; width: 780px;"> <fieldset> <br /> <asp:TextBox ID="txtNote" runat="server" CssClass="notetext" Width="740px" Rows="6" ...
stackexchange/codereview
I'm writing a GUI remoting client where the server defines and executes screen and a small GUI application visualizes this on the client. I know this sounds a lot like a website and there will be a web client to this system, but for now I'm focusing on the WPF client implementation. Part of this system is that I need t...
stackexchange/codereview
I'm confused about constant objects in C++ When we have passed a constant object/ reference of a const object is that mean that we cannot edit the attribute values of that object ? or if its not whats the mean or constant in that is it 'refer' object' or 'attributes' also when we return a constant object declaring ...
stackexchange/codereview
I have the following code: http://jsbin.com/egiju4 That works a treat on FF and chrome, but shows all the blocks aligned in IE. I've made loads of changes to it, but can't get it to work at all. Would anyone please be able to give me some help with it? Thanks in advance
stackexchange/codereview
I am trying to evaluate whether we should migrate from developing our product in ASP.net web forms (current technology) to Silverlight. I remember reading that silverlight development can add to development speed, so this is the main driver for me to think about this. I am assuming that business logic development will...
stackexchange/codereview
I have an application , that has one mainviewcontroller with some button.When i click setting button in my application , i have added onesubview to MainView ([self.view addSubview:SettingSubView];) Its work fine.subview frame width=200 and height=200.That subviews shows front of the mainview with center place adjusted....
stackexchange/codereview
What is the difference between Q_WS_* and Q_OS_* in Qt and when would you use one over the other? I understand that OS is defined on an operating system, and WS is defined for a window system, but I can't see when you'd use one over the other. Wouldn't Q_WS_MAC and Q_OS_MAC be the same, for example? What's the general ...
stackexchange/codereview
I have to make a Google Chrome based application solely for desktop purpose. By Desktop I meant that it would not be loaded from some URL rather would be invoked on the machine only. The data would be stored/fetched from HTML5 SQLite databases or some storage provided by CHrome(Is there any?) The application would be p...
stackexchange/codereview
I have a table as below INTERPRO GOTERM1 GOTERM2 CONFIDENCE IPR123 1576 2345 1.000 IPR235 3459 4987 1.000 IPR356 9987 5567 1.000 IPR568 3345 3213 0.88 IPR342 7860 7654 0.88 Now I want any of the record with distinct confidence values on...
stackexchange/codereview
I was told to use distance formula to find if the color matches the other one so I have, struct RGB_SPACE { float R, G, B; }; RGB_SPACE p = (255, 164, 32); //pre-defined RGB_SPACE u = (192, 35, 111); //user defined long distance = static_cast<long>(pow(u.R - p.R, 2) + pow(u.G - p.G, 2) + pow(u.B - p.B, 2)); th...
stackexchange/codereview
I have a controller servlet which forward the request to the model servlet.Now when the model gets the results from the database, I am forwarding it to the jsp.I am not sure what to write in the jsp because it need to show a table of customerList.here is part of my model servlet: protected void processRequest(HttpServl...
stackexchange/codereview
I'm starting to work with Ruby and I have the following module: module RadioreportHelper @totalsum = 0 @radio @daysAndTotals def load(service, transactionsPerDay) puts "#{service} : #{transactionsPerDay}" @radio = service @daysAndTotals = transactionsPerDay transactionsPerDay.each{|day, total|...
stackexchange/codereview
var a="1"; b={a:a}, the b variant isn't {"1":1},why will this happened? also want to know if i want to get the result what i want ,how can i solve this problem
stackexchange/codereview
Whats the "real world" difference between Visual Studio Ultimate and Premium?
stackexchange/codereview
The class org.springframework.validation.ObjectError has a method getObjectName(), which returns "the name of the affected object". But what is this name? The name of the class? An identifier like SomeClass@732dacd1? ...
stackexchange/codereview
Background: I just updated to the RC of MVC3, and when I went to add a Stongly-Typed View, the list of classes to use was huge, and contains classes in referenced assemblies I really don't ever want to see. Is there a way to remove assemblies from being considered in the list of models? For example, I am seeing: ... ...
stackexchange/codereview
In C/C++, the main function receives parameters which are of type char*. int main(int argc, char* argv[]){ return 0; } argv is an array of char*, and points to strings. Where are these string located? Are they on the heap, stack, or somewhere else?
stackexchange/codereview
which javascript library is the most recommended and why ?
stackexchange/codereview
My questions are: Is it possible to link to VS2008 generated DLLs using VS2010? If not, why does it seem to be possible to link to static libraries generated by VS2008. I see that VS2010 now has a Platform Toolset option. But will that let people set it to v90 instead of v100 even though they don't have VS2008 install...
stackexchange/codereview
PHP_FE(serialize, arginfo_serialize) PHP_FE(unserialize, arginfo_unserialize) Anyone knows where arginfo_serialize is defined? I've searched the entire project but can't find the symbols of arginfo_serialize...
stackexchange/codereview
I have a simple form with a <h:message> next to each <h:inputText> to display validation messages. I want a particular field to be a number between 1 and 999999, and this is the validation message to be displayed if the number is not in the correct range. Using this: <f:validateLongRange minimum="1" maximum="999999"/> ...
stackexchange/codereview
I keep getting an error with this code, the app is telling me I am trying to mutate an object which is not mutable. Can someone take a look and explain what I am doing wrong? Thanks. thisrow = [NSString stringWithFormat:@"%i", startPointX2]; NSMutableString* setCoordStr = [[NSMutableString alloc] init]; [setCoordStr ap...
stackexchange/codereview
I'm trying to do several translations simultaneously on Android. I have 2 or more buttons on a layout (all the same size), and when I press one I want the others to move out of the screen. I've done a test app to try to implement this behaviour. On it I've set a listener on click of one button to test, something like:...
stackexchange/codereview
How do I sort a namevaluecollection in alphabetical order? Do I have to cast it to another list first like the sorted list or Ilist or something? If then how do I do that? right now I have all my string in the the namevalucollection variable.
stackexchange/codereview
I want to validate the input of a form before saving it to database to prevent Sql Injection and XSS. I don't want to modify the code of the module directly so I've created a custom module to do this kind of stuff but I'm not exactly sure how to use the #validate element to call a validation function. In my custom mo...
stackexchange/codereview
I have an object Foo with a hasMany association to a Bar object class Foo { String value static hasMany = [ bars: Bar ] } class Bar { String value } when i try the follwing def foo = Foo.find("from Foo f where f.value=:value",[value:value]) the type of the returned value foo is Foo, while when i do this def ...
stackexchange/codereview
I've got a database that was migrated from Oracle to SQL Server. One of the tables has data like: Name steve mark john matt when I do this query: select * from [TABLE] where Name = 'steve' nothing is returned. If I use SSMS and edit the column by nulling it out and then retyping the data, the query works. So, somethi...
stackexchange/codereview
I'm new to asp.net mvc. I just created the default asp.net mvc project in VS and I can see that when I make a call to a controller's action like this: "http://localhost:2528/Home/About" my Home controller has an action method "About" that is returning the about.aspx view. however I am seeing not seeing the .aspx e...
stackexchange/codereview
I have the following problem: I take a date (as a string data type) from the user. Now, I want to know if there is a a function in actionscript that will convert it to a date format. Right now, I am just parsing the string and concatenating the pieces back together. Ie: changeDateString = date.getFullYear().toString(...
stackexchange/codereview
I am new to ios development and I am trying to use some methods in different view controllers in regular intervals of time (using same methods in different view controllers). Can anyone please tell me what is the best method for this? Thanks in advance!
stackexchange/codereview
I'm using Eclipse and when I try to build the JMS example included in j2ee tutorial, it return a NullPointerException at this: connection = connectionFactory.createConnection(); (I used the annotation @Resource(lookup = "jms/ConnectionFactory"), if I use jndi, it works fine). This example worked with in Netbeans. Can a...
stackexchange/codereview
I've got a pretty standard ACL system in my application. There's a Login controller and a bunch of other controllers redirecting back to Login if user is not authorized. I use a Controller Plugin for checking the ID and redirecting and I obviously don't want Login controller and Error controller to perform such a redir...
stackexchange/codereview
i'm looking for a simple paint script in javascript or flash it must be free and possibly open source and it must be possible to save the generated image on server something like canvaspaint.org would be nice but this one is buggy and i just need the brush/pen feature, possibly without the window like interface
stackexchange/codereview
My function call takes some input, and throws it into a database. Usually, it's integers, but today, I need it to throw in a unix timestamp. This overflew the FLOAT type, but works with type DOUBLE. Is there anything I should be worried about by saving that 10-digit integer in type DOUBLE?
stackexchange/codereview