instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
We are creating a script. Essentially user enters into a formfield :3358928 OnSubmit ajax, visits the page below appending the numeric string the user entered into the url. http://www.fairtrading.qld.gov.au/ftlr/Default.aspx?ResultType=LNum&LNum=3358928&LType=REAL%20ESTATE&Page=1 On that url, is a first name and a surn...
stackexchange/codereview
I am new to regular expressions and I need help condensing the following code: def finalize query = key query.each { |word| word.gsub!(/\s/, '_') } query.each { |word| word.gsub!(/\W/, '') } yield [ query.join(":").downcase, key, aggregate_scores].flatten end Key is an array of (messy) strings that I want to c...
stackexchange/codereview
I've currently got a string value in one table, which I would like to change so that it references another table. For instance, currently I have: | Table: Animal | ----------------------- | Name | Class | |-----------|---------| | Horse | Mammal | | Crocodile | Reptile | And I want these to referenc...
stackexchange/codereview
I have an issue with creating a specific TextInput (text field) component in Flash Catalyst. Here is how I want my TextInput component to behave: When the TextInput component is in it's "normal" state, I want it to be with a black stroke. When it's being clicked (for typing), I want the component to have a green strok...
stackexchange/codereview
I'd like to increment (or decrement) a score field in an Elixir entity: class Posting(Entity): score = Field(Integer, PassiveDefault(text('0'))) def upvote(self): self.score = self.score + 1 However, this doesn't work reliably with concurrent calls to upvote. The best I could come up with is this ugly me...
stackexchange/codereview
I expect ScrollBar value changed by 1, so I set SmallChange is 1,But it is invalid to change value of ScrollBar. <ScrollBar Minimum="0" Maximum="20" Value="0" SmallChange="1" ValueChanged="ScrollBar_ValueChanged"></ScrollBar> private void ScrollBar_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double>...
stackexchange/codereview
Possible Duplicate: Why does Math.Floor(Double) return a value of type Double? Why does C# Math.Floor() return double instead of int From the MSDN Docs: Returns the largest integer less than or equal to the specified double-precision floating-point number it says it returns an integer. Its ok to return a double, I...
stackexchange/codereview
I am accessing a set of websites using variables <cfhttp url="http://website.com/index.php?title=#var1#:#var2#&action=edit##EditPage" method="GET"> Some pages do not provide the data I need and instead of #EditPage in the URL show a fragment edit&redlink=1. I want to treat these pages differently. How do I go about id...
stackexchange/codereview
I have index.php which uses its own style.css. I'm including helloworld.php which uses style2.css and JavaScript (it's an image gallery). When I include helloworld.php on index.php, style2.css gets completely ignored and seemingly not loaded at all. And when I copy the contents of style2.css into style.css, I get the s...
stackexchange/codereview
I need to find remote data such as RAM usage, swap usage, number of processors, etc, using a php script from the local computer and 10 other remote computers. How can I go about it? The remote computers are all running Linux, and they can run any service that is needed of the machine. What I have in mind is that I can ...
stackexchange/codereview
I hope that makes sense. I have the following XML document. <PrinterDirectory> <Country Name="UK> <Region Name="Aberdeen" /> <Region Name="Birmingham" /> <Region Name="London" /> </Country> <Country Name="France"> <Region Name="Paris" /> <Region Name="Bordeaux" /> </Country> </PrinterDirecto...
stackexchange/codereview
How do I find out what methods an object has, for example XMLHttpRequest?
stackexchange/codereview
I want to see how much traffic I get from various URL shortening services like bit.ly tinyurl.com But because they use 301 redirection, they don't show up in my analytics. How can I find out who is redirecting the traffic? Or More precisely how could i get the referral url in javascript for different kind of redirect...
stackexchange/codereview
Does anyone know a tool that can capture win32 messages that get sent to a particular process? I thought there was a tool from sysinternals for that but now I can't locate it. Anyone knows some?
stackexchange/codereview
How can i send data to an asp.net ashx handler? for instance if i want to send some xml to asp.net hanlder how is that possible?
stackexchange/codereview
When I try to start my Jersey based web application I occasionally get an exception with the attached stack trace. I think it is caused by a failure in the xerces XML parsing within the web application loading in glassfish to be able to fetch the DTD file for a JSP tag lib definition included in Jersey. Obviously I do ...
stackexchange/codereview
i am trying to fetch the value in src and dest once the user clicks the navigate button but its always null. can some one plz help static String source = "currentLocation"; static String destination = null; private void getSrcDest(){ LayoutInflater factory = LayoutInflater.from(this); final View...
stackexchange/codereview
I have a <a> element as inline block with a fixed width. I would like to show the <a> boxes next to each other, two boxes per row (exactly like in the first example). BUT if each box element is in a new line in the source code (second example), the boxes gain an invisible margin, which you can see if you have a look a...
stackexchange/codereview
Before you start shooting me down i have checked for answers and i have googled till my fingers bled but i havent been able to find a simple, concise answer. So im asking again for all those that might have this problem. Question: how to open a new window with a formpanel in side. Context: i have an app that lists lots...
stackexchange/codereview
I have this HTML code: <span class="left"> <img class="avatar" src="image.jpg" /> </span> <span class="right"> Lorem ipsum dolor sit amet, nunc euismod nisl nam euismod, quis maecenas blandit ac, neque sed ut pulvinar, lectus sagittis sapien mauris per risus vel. Ligula sapien sed morbi cras tellus commodo....
stackexchange/codereview
Is there a reason why I don't see binary search trees used much in Ruby? Is there an equivalent data structure or class that people typically use instead? I'm not trying to solve a specific problem; just trying to learn more about the language. thanks!
stackexchange/codereview
I have the following options Use the 'Include Client Statistics' option in SSMS . (I take the 'Wait time on server replies' to be the time taken by the stored procedure) Capture the start and end time and take the diff. This is what i do , DECLARE @startTime DATETIME SET @startTime = GETUTCDATE() EXEC MyStor...
stackexchange/codereview
I'm looking for a Java 2D graphics library to draw a E-R Diagram from a MySQL database, anyone know something like that? With a 2D Java library graphic I need to draw entities, relationships, foreign keys, primary keys, and attributes. Optionally, the entities maybe be dragged in the diagram. I would use Graphics2D f...
stackexchange/codereview
I am making an app for a Band. We would like to offer 'special content' to app users. (song - mp3 or video (mp4)) We would like to allow the End Users to download & keep this content (not stream it each time) What are options for this? 1) Wrap as a PodCast? (Simple, Available outside of App - but in 'Postcasts' - not '...
stackexchange/codereview
Could someone explain me in two words, what is daemon and what use of them in php? I, know that this is a process, which is runing all the time. But i can't understand what use of it in php app? Can someone please give examples of use? Can i use daemon to lessen memory usage of my app? As i understand, daemon can hold ...
stackexchange/codereview
I have several gems including ruby-debug in a bundler group called :development. When I run the bundle command, these gems are ignored and it only installs the gems that are not in any group. How can I make sure bundler doesn't ignore the gems in the :development group? Edit: This is what my Gemfile looks like. source...
stackexchange/codereview
I have two tables: Parent, which has a primary key (parentID) and some other fields of type varchar(50) and Child which is as follows: childID, primary key parentID, foreign key references Parent (parentID) otherID, foreign key to another table If I delete a row from Child, no problem. If I delete a row from Parent,...
stackexchange/codereview
Assume in an app you have 2 UIButton's, buttonA and buttonB. If you want to call the FlipsideViewController from these 2 buttons, where the only the difference will be the background images. (i.e.: if buttonA is pressed, BackGroundA will appear in the FlipsideViewController's view, otherwise, it will be BackGroundB.) N...
stackexchange/codereview
Possible Duplicates: Split a PascalCase string into separate words is there a elegant way to parse a word and add spaces before capital letters Is there a simple way to split this string "TopLeft" to "Top" and "Left"
stackexchange/codereview
Anyone tried to run Java console or GUI application with Procrun as a Windows service? If I normally use Java -jar chat.jar -n room1 how do I use on Procrun in the best way?
stackexchange/codereview
I'm creating a android.text.format.Time Object from a java.util.Calendar Instance, and I read it out field by field. Isn't there a more elegant way ?
stackexchange/codereview
I have set up ssh key pairs between my desktop and two servers, and from the servers to my desktop, but after reinstalling the OS on my desktop, I can't re-establish the key-pair going into my desktop by this: mkdir ~/.ssh chmod 700 ~/.ssh ssh-keygen -t ssh-copy-id username@server I get the following error: (names in...
stackexchange/codereview
Here is my applet: <applet id="MyApplet" code="com.my.MyApplet" archive="my.jar" myscript> </applet> How would one pass "-D" properties to this applet (similar to 'java -Dprop=val ... ' from a java launcher) ? I would like to pass some java security properties for this applet when launched.
stackexchange/codereview
I run some code when a value is selected from a drop-down box: $('#temp_id').change( function() { if ($('#temp_id').val() == "temp_val") { $('#temp_id').val("temp_val2"); } }): This code runs ok, but the $('#temp_id').val("temp_val"); line changes the value of the dropdown box without causing the c...
stackexchange/codereview
I've attached multiple functions in multiple files to $(document).ready and would like to attach a single function to happen before them as either the first that $(document).ready handles or to independently trigger before the $(document).ready handler. Is there any way to handle the order of functions that jQuery trig...
stackexchange/codereview
In JSP, there is an attribute session used for disable autogeneration session in a request. <%@page contentType="text/html" pageEncoding="UTF-8" session="false" %> Is there any way to do same in JSF2? Thanks Why? Because we have a public register form page as a default page in an application. It is a very simple form ...
stackexchange/codereview
Prepending to a list is easy: user=> (conj '(:bar :baz) :foo) (:foo :bar :baz) Appending to a vector is easy: user=> (conj [:bar :baz] :foo) [:bar :baz :foo] How do I (idiomatically) prepend to a vector, while getting back a vector? This does not work as it returns a seq, not a vector: user=> (cons :foo [:bar :baz])...
stackexchange/codereview
I found this great article on Transactions with Table Adapters. However, this article doesn't explain why Transactions are needed or even desirable! Why would it be worth me trying to implement Transactions alongside my TableAdapters?
stackexchange/codereview
How can i do this? something: final View view=FLall.getChildAt(i); if (view.getType()==ImageView) { ... }
stackexchange/codereview
I am trying to read a user input string which must contain spaces. Right now I'm using: check = in.nextLine(); position = name.names.indexOf(check); if (position != -1) { name.names.get(position); } else { System.out.println("Name does not exist"); } this just returns various errors.
stackexchange/codereview
Everytime I try to modify a file, I get this error and I don't know what it means: A PHP Error was encountered Severity: Warning Message: file_put_contents() [function.file-put-contents]: Only 0 of 19463 bytes written, possibly out of free disk space Filename: Template/String.php Line Number: 369 I tried looking ...
stackexchange/codereview
class Query{ friend Query operator&(const Query&,const Query&); friend Query operator|(const Query&,const Query&); friend Query operator~(const Query&); public: Query(const string&); //build a new WordQuery ?? Query(const Query&c):p(c.p),use(c.use){++*use;} ~Query(){delQuery();} Qu...
stackexchange/codereview
I have done some tests with QueryPerformanceCounter and got strange results. It seems that my simple program refreshes slowly (about 40ms) when it doing nothing, but when I put RedrawWindow with RDW_INVALIDATE message it refreshes and works very fast (about 1ms) Please look at the examples: {...} double PCFreq = 0.0; _...
stackexchange/codereview
Trying to install Magento but on the third step where the database is getting installed am getting this fatal error....... Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp Tried changing "max_execution_time" in php.ini and restarted apache.But am unable to get this fixed.
stackexchange/codereview
I am building a dictionary of all the alpha and numbers. The problem with this code is "within matter of second consumes 100% of my memory". Do you think my implementation is bad? Any Help is appreciated. from timeit import Timer from itertools import permutations dictionary = [] small_alpha = map(chr, range(97,123)) ...
stackexchange/codereview
I'm making a win32 program in C. When you have multiple threads running, and one of the threads is waiting for an event (using WaitForSingleObject() for example), does that thread still get its full CPU time slice? Stated differently, does the operating system know that the thread doesn't need its time slice until one...
stackexchange/codereview
I know how to read my xlsx spreadsheet and loop through the first sheet. It has 5 sheets and I am having trouble getting to any other than the first. Here is the code I am using which was straight from the documentation. You can see I tried to utilize setActiveSheet, but that threw the error Call to undefined method PH...
stackexchange/codereview
At first glance, the shunting yard algorithm seems applicable to POSIX regular expression parsing, but since I don't have much experience (or theoretical background) in writing parsers, I'd like to ask SO before jumping in and writing something only to get stuck halfway. Perhaps a more sophisticated version of the ques...
stackexchange/codereview
Is there a tool to perform functional and regression test on iPhone without jailbreaking it ? I have worked with UI Automation (ios4) but it is not extensive. DA, Perfecto are remote and slow, plus too costly. Squish, Fonemonkey, UISpec needs the app code to be integrated with tool which is again not feasible when i ...
stackexchange/codereview
Is there a C++ equivalent to Python's time.sleep()?
stackexchange/codereview
I've an xml string stored in the db table with line feed characters. In my C# 3.5 program, I load and manipulate it using Linq to xml and then show it as a string in the textbox control on the UI form. I need to indent this xml as well as preserve line feeds/carriage return while showing it in the UI. Am able to indent...
stackexchange/codereview
Possible Duplicate: Is it possible to perform multiple updates with a single UPDATE SQL statement? I'd like to achieve something similar to multiple INSERT rows but this time with an UPDATE statement. Say using insert, its possible to: INSERT INTO table VALUES( ('value1','other_value1','row1'), ('value2','oth...
stackexchange/codereview
I have a csv import file with 33 million lines that need to be imported into my database. I can import it with a C# console app but then the stored procedures that run after the import timeout. Consequently I want to split the file into 10 smaller files. I could do it in C# but I suspect there's a much better approach ...
stackexchange/codereview
http://img600.imageshack.us/img600/3567/graphicrepresentation.png Am I reasoning right way? If so, could anyone please show me, like in scheme above, how would I/O Completion Ports work? Before I'll start to learn about making high-performance servers like ones for MMORPGs, I want to know for sure how does it all work....
stackexchange/codereview
I'm having a problem with install conditions in maintenance mode that only happens in systems with UAC. I'm doing a registry search to set a couple of properties that are used in the install condition. This works during the intial installation, but when I try to do a repair or modify the feature selection, the instal...
stackexchange/codereview
I started a test project just to get this down. No changes to main.xml. I want to create a widget-sized ImageView (80x100) that contains a Bitmap converted from a TextView. Yes, that sounds very roundabout but this is just for testing; in the end I want the ImageView to have a background image and multiple TextViews...
stackexchange/codereview
i try to start multiple Instance of MongoDB as a Service. Under the commandline i can start more than one Mongo Instances, for the first instance i append "--install" to the Command and now it run as service. But now i try to append "--install" to the second Instance and get a Error: first command runs well: c:\data\b...
stackexchange/codereview
I can use ContentPlaceHolder's with Webforms view engines to put stuff in different locations in the master page. How do I do that with Razor? <div id="content"> <asp:ContentPlaceHolder ID="MainContent" runat="server"> </asp:ContentPlaceHolder> </div> <div id="footer"> <asp:ContentP...
stackexchange/codereview
I am preparing talk about general architecture of Zend Framework, and wanted to summarize Design Patterns used in it. I believe it will be beneficial both for those knowing ZF and learning DPs, and for those knowing DPs and learning ZF. In a former case, one would be able to see real-world application of patterns, and...
stackexchange/codereview
I am new to this concepts data access layer and data access objects. I wants to the difference between the data access layer and data access object.Please guide me.
stackexchange/codereview
I first referenced this question to get started, but reached a roadblock when trying to return a Class or Array of a Class using a .NET Assembly in Delphi XE. Consider the following: //C# [ComVisible(true)] public class Person { public int Id; public string Name; } public class SomeClass { public SomeClas...
stackexchange/codereview
I have the following piece of code: nonce = data.scan(/nonce="(.*)"/) data is a string ,the matched piece of string is assigend to nonce variable which automatically becomes an Array. Now, if i puts nonce[0] I will get my value printed correctly: 51d8852d but if use: puts "final string #{md1}:#{nonce[0]}:#{md2}" t...
stackexchange/codereview
In Documenting Software Architectures: Views and Beyond one can read Uses is a form of dependency that can exist between two modules. A uses B if the correctness of A depends on the presence of a correct implementation of B. Now, does this mean that if I have a AnimalList class that is a container for Animal inst...
stackexchange/codereview
I have some XSD files and a WSDL provided by the customer. I have built a WCF service. I would like to show that the service is compliant with the provided schemas. How can I validate my WCF service against those schemas? I have SoapUI and Altova XML Spy if that helps. What is the standard way to do this? I did not ...
stackexchange/codereview
I have a large line to draw that the colour changes along the line. Now and again I get EXC_BAD_ACCESS on the 4th line of the code there. I suspect that it is something to do with the autoreleasing of the *tempColor but cannot work out how to get this to work effeiciently and not to crash. Any ideas? This crashes on s...
stackexchange/codereview
I thought I once read on SO that Python will compile and run slightly more quickly if commonly called code is placed into methods or separate files. Does putting Python code in methods have an advantage over separate files or vice versa? Could someone explain why this is? I'd assume it has to do with memory allocation ...
stackexchange/codereview
I've tried NSMutableDictionary however I don't seem to be able to get an object by index. Any ideas? EDIT: I've trying to create a uitableview sections object, which will store the header titles and be able to increment a counter for the rows. I need to be able to get the counter by index, counter value by title value....
stackexchange/codereview
I'm currently using jQuery.validate as a plugin for validation... my problem comes into play where I want to use custom error messages based on the validation type per control. I'm using the metadata extension for this, and I've thought about just having a generic formatter that gets passed in.. so the error message is...
stackexchange/codereview
i have the following code and the call back function is not being called on form submission $(document).ready(function () { var options = { target: '#output2', // target element(s) to be updated with server response beforeSubmit: showRequest, // pre-submit callback success:...
stackexchange/codereview
Let's assume that if two or more blogs are updating their rss feeds at the same time and the callback isn't unique is there a chance to "confuse" the callback script ,parsing the RSS-s with simpleXML ?
stackexchange/codereview
Say I've got a multipage presentation -- a 3 page tour, for example. Each page discribes a discreet part of the whole set. There is a landing page, which links to these sequential parts. These parts link back to the landing page. In this situation, is it best to have all pages point their canonical to the landing page ...
stackexchange/codereview
I have a problem deploying a WebRole (WCF service) to Azure. My WebRole keeps showing buzy for at least 30 minutes, until I abort it. I deploy through Visual Studio 2010. I’m looking for some trace information and there is a few blogs that have pointed me towards storage tables called WADInfrastructureLogsTable and WAD...
stackexchange/codereview
I have an href tag with an image nested inside it and I want to be able stop the page jumping back to the top after it is clicked. NOTE: the href does not post back it fires a jQuery event on the page. <a href="#" onclick="javascript:SendPlaylist()" style="border:none;" class="addButton" ><img style="border:none;" sr...
stackexchange/codereview
Mootools extends the "Function" class and adds a new method called "extend" in it. Now jQuery tries to add "extend" function using jQuery.prototype.extend. However since "extend" is already a part of the jQuery object (since jQuery is an object of the Function class) so jQuery.prototype.extend doesn't work. Did anyone ...
stackexchange/codereview
I am trying to use jQuery Tipsy plugin to always show tipsy onload. Curently, I have something like this jQuery('#menu li a img').tipsy({ trigger: 'manual', gravity: 'n', html: true }); And then have if (jQuery('#menu li a').hasClass('act')) { jQuery('#menu li a img').tipsy('show'); } But it doesn't seem to...
stackexchange/codereview
I have a multi-threaded application which scales well to begin with, but running on a 16-cpu server, once I exceed 5 or 6 hardware threads the performance levels off. I suspect that the bottleneck surrounds one of the synchronized methods. However, I need to be sure it's the guilty method before I start diving into the...
stackexchange/codereview
For example: NSString *file1 = @"Invoice1"; NSString *file2 = @"Invoice2"; How to find the common pattern (i.e. @"Invoice") of the above NSStrings?
stackexchange/codereview
While designing a fairly simple backup system for Linux in python, I'm finding myself asking the question, could there be any time advantage to backing up up several datasets/archives simultaneously? My intuition tells me that writing to several archives simultaneously would not buy me much time as I/O would already be...
stackexchange/codereview
Django (and database) newbie here. I'm trying to figure out a way to enable the creation of n custom text fields for a table (let's call it Book) using the admin interface. I would like a way for the user to define new text fields through the admin interface (instead of defining fields like CustomField1, CustomField2, ...
stackexchange/codereview
I've seen various methods on how to properly salt a password. The basic premise is that you attach a random string to each password before it is hashed and stored. Can I store the salt in the same table as the password? Also, does it matter if the salt is stored as plain text, as long as each entry has a different sa...
stackexchange/codereview
At present i have a the following code populating a datagridview showing the user account information on our system. What i want to do do is have a checkbox on the datagridview for the option "accountenabled" and a update button at the bottom of the form so it will update all users that have had changes made against th...
stackexchange/codereview
I have this html code (image tag) that I use to display location using Google chrome static API <img src="http://maps.google.com/staticmap?center=45.49558919270833,15.543660481770834&amp;zoom=14&amp;size=475x390&amp;maptype=mobile&amp;markers=45.49558919270833,15.543660481770834,blue&amp;key=ABQIAAAAdco5_H7LOM9g_zpERCD...
stackexchange/codereview
Table test with columns compname version and table Bugs with columns bugid compname Data for test: A 1.2 B 1.5 C 1.6 B 1.3 C 1.5 A 1.6 B 1.6 Data for Bugs: 1 A 1 C 2 A 2 B 3 A 3 B 3 C query is: Output the compname where version=1.6 and affected by bugid=1 along with the first(min) version in which the component app...
stackexchange/codereview
So I have been looking all over and I haven't quite found what I am looking for. I have a view and then a subview of that view. On that second view I create CALayers depending on what coordinates I give it. I want to be able to touch any of those CALayers and trigger something. I have found different pieces of code t...
stackexchange/codereview
Can someone shed some light on how these compare/complement each other in the context of an ASP.NET MVC application?
stackexchange/codereview
I use [self.view.layer removeAllAnimations]; for pause animation.but xcode says warning: no '-removeAllAnimations' method found why ?
stackexchange/codereview
I am looking to build an educational web service where the end user can type up the code in some language (say Java or python) for a given problem and the service should be able to tell if the code compiles and show output of the code for a few test cases. I am trying to get an idea from the community about a) if somet...
stackexchange/codereview
Say I have a simple generic class as follows public class MyGenericClass<t> { public T {get;set;} } How can I test if an instance of a class is this a MyGenericClass? For example I want to do something like this: MyGenericClass x = new MyGenericClass<string>(); bool a = x is MyGenericClass; bool b = x.GetType() == ...
stackexchange/codereview
In .NET/C#, I want to validate some html code. For instance I have the following HTML : <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><titl...
stackexchange/codereview
Here is my code to generate values in the fibonnacci sequence below 10,000,000. 3 fibs = [1,1] 4 while((x = fibs[-1] + fibs[-2]) <= 10000000): 5 fibs.append(x) I attempted to do C-style assignment of x in the while loop's condition. Unfortunately, python told me that it's a syntax error. What is the simplest...
stackexchange/codereview
This is a very general question. I'm asking because I want to know in advance if it's worth the time and money to jump into this market? Apple's iOS developer program costs $99/year. MonoTouch looks good but costs $399/year (I feel comfortable with .NET). That's $500/year. So for an app priced at $1 needs to sell 500+...
stackexchange/codereview
I have a problem specifying per-repository proxy for Mercurial. If I specify proxy on command-line, everything works: hg pull --config http_proxy.host=proxyhost:3128 If I specify proxy in ~/.hgrc, everything works too. Contents of ~/.hgrc: [http_proxy] host=proxyhost:3128 But if I put that section into .hg/hgrc of lo...
stackexchange/codereview
I had a project that was working fine. It had "Core Data" checked, and had the data model all set up. I only started adding a couple entities and properties tonight. When I try to run my app now, it won't even load. It just crashes on me. Here's the error: 'NSInvalidArgumentException', reason: 'executeFetchRequest...
stackexchange/codereview
i m using a jqgrid on asp.net mvc... i have a specific requirement....The data in the grid is list of values that are to be set on each row... and each row has a Date column... While displaying the grid, i want a different row color on sunday and saturday.. while the rest of the rows are white.. How to achieve this in...
stackexchange/codereview
I want to add simple search bar in the table view. Program getting run with no error, but when I try to add text in search bar, program gets terminates following is my code: @interface RootViewController : UITableViewController<UISearchBarDelegate> { NSArray *list; IBOutlet UISearchBar *searchBar; N...
stackexchange/codereview
Can you suggest me a way to show up a div with some contents on some link click? I mean there is a standard way to load a div and center it in the middle of screen and expand it dynamically based on the contents loaded? This would save the user to load an entry page just to login for example or input a text. Thanks
stackexchange/codereview
I want to use Telerik DatePickers and IntegerTextBoxes on my Partial View loaded via jQuery. Following the troubleshooting guide, I have manually added the requisite JavaScript files to the ScriptRegistrar thusly: Site.Master . . . <%= Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Co...
stackexchange/codereview
Hi I get this marhshalling exception when I call a service using IE but it works fine with Firefox. DEBUG - AbstractHandlerExceptionResolver.resolveException(108) | Resolving exception from handler [org.dfci.cccb.services.SearchServiceImpl@a832ce5]: org.springframework.http.converter.HttpMessageNotWritableExce...
stackexchange/codereview
I am trying to get the current traffic conditions at a particular location. The GTrafficOverlay object mentioned here only provides an overlay on an existing map. Does anyone know how I can get this data from Google using their API?
stackexchange/codereview
I just started working in an environment that uses multiple programming languages, doesn't have source control and doesn't have automated deploys. I am interested in recommending VSS for source control and using CruiseControl.net for automated deploys but I have only used CC.NET with ASP.NET applications. Is it possib...
stackexchange/codereview