instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
One of the field in my web service method accepts DateTime value. Once service user provided value in wrong format: "31-10-2010" (or probably it was "31-10-10", to be honest: I not sure, are implementing logging right now). It is "dd-mm-yyyy" instead of "standard XML datetime been "yyyy-mm-ddTHH:MM:SS". The problem tha...
stackexchange/codereview
I'm having a problem, when I save my image I can't open it because it's empty and the size is zero kb. I'm reading the image from a folder and then I change the size to 100x100 and save it but it's not working. Here's the code I've written so far: public BufferedImage resizeImageToPreview() { final String SOURCE ="/L...
stackexchange/codereview
I want to encrypt voice calls on the fly. so which programming language should be preferred for symbian os. Are any API available for this purpose. which channel could be preferably used?
stackexchange/codereview
While I try the following: system( "ifconfig -a | grep inet | " "sed 's/\\([ ]*[^ ]*\\)\\([ ]*[^ ]*\\).*$/\\1 \\2/' " " > address.txt" ) ; I am getting the output in a file. How can I assign the out put to a variable.
stackexchange/codereview
How should you place one validator on a masterpage that wont allow postback of any content pages until all changed control data on that page has been either saved or canceled. The specifics of my current situation and the way its currently being done on my project are listed below This is an IE web application. The app...
stackexchange/codereview
I need to increment minutes and seconds (in relation to time) in a variable. First, I'm not sure whether declaring a 'time' variable is written as time="00:00:00" or time=$(date +00:00:00)? From there, I want to increment this variable by 10 minutes and seconds resulting in 01:00:00 increased to 01:10:10 to 01:20...
stackexchange/codereview
I have a Control inside a Canvas and I want to be able to move it using the arrow keys. For the sake of trying things out, I created the following class, which does what I want. <Window x:Class="DiagramDesigner.CanvasControlArrowKeyTest" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...
stackexchange/codereview
I read recently in a magazine that it's now possible to write / use Adobe-Air applications on android devices. I've been developing android applications for 3 months and find that it's sometimes tricky to get the desired results using android sdk. On the other hand I read that you can use html and javascript stuff in A...
stackexchange/codereview
I want to pass few parameters to click() event in jQuery, I tried following but it's not working: commentbtn.click(function(id, name){ alert(id); }); And also if we use bind then how we'll do that: commentbtn.bind('click', function(id, name){ alert(id); });
stackexchange/codereview
I was asked in an interview, how to determine whether a number is positive or negative. The rules are that we should not use relational operators such as <, and >, built in java functions (like substring, indexOf, charAt, and startsWith), no regex, or API's. I did some homework on this and the code is given below, but ...
stackexchange/codereview
I have code: <tr> <td align="center" style="height: 50px; text-align: center; vertical-align: middle" > <div class="hoverClass ui-widget-content ui-corner-all" style="text-align: center; vertical-align: middle;width:100%;height:100%"> <label style="text-align: center; vertical-align: m...
stackexchange/codereview
I'm wondering if this is feasible and how. I've an entity that is a simple 1 to 1 mapping against a database. I'd like to add a custom property to this entity that is the result of a stored procedure call. This SP returns a collection of the same entity (hierarchical data). Any ideas? Thanks in advance, Fabian
stackexchange/codereview
I have read this Code your own IOC Container and searched the internet on creating an own ioc container. I don't understand any of the "simple" examples because it's flooded with jargons (why use "resolve" instead of just create method ?) and none shows an example without ioc and refactor it to iOC. So can someone does...
stackexchange/codereview
Suppose i have a template foo which can output something given a parameter. Now I want to use that output as a parameter to my other template, loop so I can loop the output a certain number of times. I have tried something along the way of <xsl:call-template name="loop"> <xsl:with-param name="times" select=...
stackexchange/codereview
Here is the code i'm working on it's not a page it's a treasure hunt for what might be re-used in a page, I ran into this problem last week or so and I'm asking myself what the heck is this margin for a while here Let's picture that I can't use the float:left; tag for a reason, when I use display:inline-block; a weird ...
stackexchange/codereview
URL: www.Wyler.com Problem: If you go to this site look at the inventory search bar right below the navigation menu. I need a script that throws an error if you try to click the "search" button if "new" and "select dealer" are selected. I tried to do this based on which options had a selected attribute but i'm not ...
stackexchange/codereview
I am building a Calendar Application for Android OS. I have previously made some Android applications with built-in android widgets such as buttons and spinners etc. Now I want to create an Android Application that displays 4 'tabbed' views of a Calendar (month, week, day & list). I have already built the backend stuff...
stackexchange/codereview
I am new to Natural Language Processing and I want to learn more by creating a simple project. NLTK was suggested to be popular in NLP so I will use it in my project. Here is what I would like to do: I want to scan our company's intranet pages; approximately 3K pages I would like to parse and categorize the content of...
stackexchange/codereview
I'm trying to add an ellipsis to the end of the truncated strings this php function produces. It's part of a Wordpress plugin. But alas, I'm just learning php.... I've tried printing the ellipsis right before the ending html tag near the end of the function, like this $truncate .= '... </' . $tag . '>'; but no luck. An...
stackexchange/codereview
I am trying to create a custom TCL interpreter with TclPro according instructions at TclPro User's Guide Chapter 7, but it fails with linking error undefined reference to __ctype_b. I have downloaded and installed TclPro 1.4 at /opt/ajuba/TclPro1.4/, and here is the custom interpreter I want to build: // file simple.cp...
stackexchange/codereview
I have a LoggedTextWriter that I'd like to inject in to the Log property of the LinqToSql DataContext class. My custom LoggedTextWriter has a constructor that takes ICustomWriter, but I don't know how to inject it in to the Log property. Bind<DataContext>() .ToSelf() .InTransientScope() ...
stackexchange/codereview
Is it possible in Android, to disable standard features of the phone such as Mail, browser, phone etc? What I'm asking is, is it possible to create an application that, when launched on startup provides some features to the user, but sits "on top" of android so they only have access to your application and not the unde...
stackexchange/codereview
core.js: var core = { all:{}, load: function(jsUrl) { $.ajaxStup({async, false}); $.getScript(jsUrl); }, init: function () { $.getJSON('someurl', function(data) { for(key in this.all) alert(key); }); }, here: functi...
stackexchange/codereview
Is it correct to say that there is no simple tag that just writes some http get query parameter? If all needed is printing a http get query parameter e.g. ?q=w can I directly use the value q with a template tag or need the copy the value in the request handler? Is it possible to more directly pass values (all values) f...
stackexchange/codereview
I'm trying to find all the paths between 2 nodes in a grid, and the path has to go through all the node from start to end. Example (Start = S, End = E) 0 0 0 0 S 0 0 0 E The answer for the above is 2 paths: (ignore the '.''s) 0-0-0 |.......| 0 S-0 | 0-0-E 0-0-0 |......| 0 S 0 |...|...| 0-0 E I thought of using re...
stackexchange/codereview
Please could you explain why given the following boost::regex pattern: boost::regex re("/\\S+\\w"); /index.html is a match and /~index.html is not? RegexBuddy in Perl mode finds a match in both cases. Could you suggest a pattern that would work? Thanks!! P.S. The \\w at the end is needed in order to ignore the punctu...
stackexchange/codereview
I must be doing something very silly, but I'm getting a ExceptionInInitializerError when I try to instantiate an object in my Singleton: class MySingleton { private static MySingleton instance = null; private OtherObject obj; // Do I instantiate obj here??? private MySingleton() { //obj = new OtherObject(...
stackexchange/codereview
I've recently been tasked with fixing a rather nasty bug resulting from the misuse of session state. We have an asp.net web application that runs on a single sever using inproc session state. The basic design is that a typed dataset is loaded from the database and stored in session state using a common session variabl...
stackexchange/codereview
In my application i am creating many .doc files and i want to append it to make a single .doc file . how could i do this using C#
stackexchange/codereview
I have a password being passed from my iPhone app to the database via a php script, user.php. The variable $pass is populated by the following: $pass = str_replace("'", "", $_REQUEST['pass']); How can I encrypt this before it's inserted into my database? I've read a little about the different techniques, but looking f...
stackexchange/codereview
I need to know when the row/column property of a grid was changed in order to do some processing. In TStringGrid Row property is property Row: Longint read FCurrent.Y write SetRow; But, unfortunately I cannot override the SetRow as it is private. SelectCell is not private BUT it is called BEFORE the new column and...
stackexchange/codereview
I have written simple math function plotter in C# using Patrick Lundin´s Math free parser. Now, my code snippet is this: for (float value = -xaxis; value < xaxis; value += konst) { hash.Add("x", value.ToString()); double result = 0; result = parser.Parse(func, hash);... Thi...
stackexchange/codereview
The goal of this project is to create a library for distribution. In the past, I used forward declares so I didn't have to distribute a bunch of header files along with the libraries. However, I'm now trying to eliminate code duplication by switching to templates and am running into some issues. First, a simple exa...
stackexchange/codereview
I have a DropDownChoice component on my Form and when the form is submitted and nothing is selected from the DropDownChoice, the default value that's returned is "-1". Is there are a way to change this behavior?
stackexchange/codereview
It seems that the phone control toolkit is missing the BusyIndicator control. Does someone know about one ? does something else specific exists for WP7 ?
stackexchange/codereview
I am using VB .NET 4.0, ISS 7.0. I wondered how can I set the default locale for all applications? The problem is rising when I have a Response.Write(str) the numbers appear with ","(german notation) rather than "."(us notation). From where .NET knows that he need to use the german locale? In every my js script I have ...
stackexchange/codereview
I would like to retrieve an Int value from NSUserDefaults, but it always comes up as 0. This is how my settings bundle looks: Type: String: PSMultiValueSpecifier Title: String: Timer Key: String: timerValue DefaultValue: Number: 4 Titles: Array: 5 Number Items 1-5 Values: Ar...
stackexchange/codereview
Suppose I have the following string: insert into table values ('text1;'); insert into table values ('text2') How do I break those queries (get each individual query) using regular expressions? I've found a very similar problem: Use regex to find specific string not in html tag ...but it uses a solution that is speci...
stackexchange/codereview
I'm trying to select data grouped by week, which I have working, but I need to be able to specify a different day as the last day of the week. I think something needs to go near INTERVAL (6-weekday('datetime')) but not sure. This kind of SQL is above my pay-grade ($0) :P SELECT sum(`value`) AS `sum`, DATE(add...
stackexchange/codereview
I would like to extract the exact sentence if a particular word is present in that sentence. Could anyone let me know how to do it with python. I used concordance() but it only prints lines where the word matches.
stackexchange/codereview
I'm developing a project on Google AppEngine, using Django templates, so I have to use tags like {{ aitem.Author }} to print content within my HTML template. Author, however, can either be a string or a list object, and I have no way to tell it in advance. When the Author is a list and I try to print it on my template,...
stackexchange/codereview
I have an index.html which has JavaScript: byId("p").value = page; byId("nav_container").focus(); document.forms["nav_form_main"].submit(); The focus part doesn't work here. I want the browser to focus on a specific part of the page (almost at top). I have tried putting the focus after the submit(), same issue there.
stackexchange/codereview
Please have a look at the code snippet while ($rslt = fetch_array($result)) { //$row++; if (bccomp ($row, $row_limit, 0) != 1) { /*HEADER*/ if ($row == 0) { foreach ($_SESSION['market']['data'] as $title => $field) { ...
stackexchange/codereview
I'm trying to create a simple table with iTextSharp, so with C#. The goal is a table like this one: The problem is that if I apply the rowspan as 2 on cell A, iTextSharp does not render the rowspanned cell, this means that the cell have the same height of cell B. Here's the code: PdfPTable corporateTable = new Pdf...
stackexchange/codereview
how can initialize empty objects in python ? I need to initialize my class members (for examples tk.frames, vtk visualizations etc) thanks
stackexchange/codereview
I'm trying to use the TUdpSocket in Delphi. What I want to do is connect to a UDP server, send some data and wait for answer. Data is sent correctly, but the control does not receive anything. I don't know why. I've been struggling with this problem for many hours now and I'm going to give up :-(. I tried to use TIdUDP...
stackexchange/codereview
In my Android application, I have to download XML files from the server. I used the code that shown below. Sometimes it shows null pointer exception for getResponseCode() method. the httpConn is not null. public static byte[] getGprsConnData(String urlStr){ URL url = new URL(url...
stackexchange/codereview
I thought this would be something simple but so far i found nothing. How do you do it?
stackexchange/codereview
We wish to implement a page with a list of content items, showing a title and excerpt for each one. We want to have a Like button next to each content item, which, when clicked, "likes" the individual item, rather than the index page. We've seen this implemented elsewhere (formerly Mashable.com, on their homepage), bu...
stackexchange/codereview
I need to extract text from pdf files using iText. The problem is: some pdf files contain 2 columns and when I extract text I get a text file where columns are merged as the result (i.e. text from both columns in the same line) this is the code: public class pdf { private static String INPUTFILE = "http://www.revue...
stackexchange/codereview
37.807614 to 37.786996 The randomly generated double must have the same precision (num of digits) as those above. For example, 37.792242 would be good, whereas 37.7823423425 would be bad.
stackexchange/codereview
I am creating my first custom Delphi component. Its basically a custom Tpanel with header and lines text displayed on it. I want to be able to add multiple lines text using a stringlist. When testing the component I cannot get the text lines to display on the panel when adding lines: NewLinesText.add('line1 text') It...
stackexchange/codereview
I need information how to link two voice modems to each other. From modem 1 I dial and play a .wav file then I dial modem 2 and link them to allow them speak. What do I need to link two modems in C#, is it technically possible? Thanks.
stackexchange/codereview
When sending a message with swiftmailer or SmtpMailer, the subject has a weird whitespace. The subject should look like this: "Newsletter October 2010 - Hello everyone" But looks like this: "Newsletter October 2010 - Hello everyo ne" The whitespace always comes up the same place. PHPmailer does not have the whitespa...
stackexchange/codereview
Possible Duplicate: why results varies upon placement of curly braces in javascript code We have company policies that dictate that in PHP opening curly braces should be on their own lines for readability and so that they can line-up with the closing brace; thus: if (true) { ... } but in JS they should be kept...
stackexchange/codereview
I'm trying to get to learn som javascript/jQuery stuff, and I'm really struggling with this one. It's basically a question of structure – how to do things in the best possible way. I've got this function that randomly picks out a list item from one of three unordered lists (where all list items have been hidden), and s...
stackexchange/codereview
RewriteRule ^photographs/?$ photographs.php [L] RewriteRule ^photographs/(.*)/?$ photographs.php?cat=$1 [L,QSA] RewriteRule ^photographs/(.*)/(.*)/?$ photographs.php?cat=$1&page=$2 [L,QSA] I need this to have options such as /photographs /photographs/category /photographs/category/3 Thanks
stackexchange/codereview
i would like to distribute an access front end to some people and i want to make sure that they do not edit anything in it; however when i change the extension to ACCDR it makes all the forms and tables disappear. what settings do i have to change in order for them to be able to open forms but not view them in design v...
stackexchange/codereview
Just a quick question. I use Ubuntu as a server and as a desktop. Does anyone have any ideas for a nice access.log analyzer? It could be a program that I download to the desktop or the server. Thanks.
stackexchange/codereview
I am building a perl cgi::application using html::template. I am using 7-8 different templates having the same layout - header, footer, left column etc. How can I separate this html out of the template files into a single layout file. What perl modules do I need in addition to cgi::app and html::template. Thanks
stackexchange/codereview
Okay so, I have read that .INI files have become obsolete now and the .NET Framework creators want us to use .XML files. However, I feel that it would be difficult for some of my users to use .XML files so I thought of creating a custom config file. I have a list string which has 3 parameters (it is actually the snippe...
stackexchange/codereview
I got an error in Hudson console out saying the build fail because Maven release plugin cannot update POM.xml version while there are still unresolved files. The problem is caused by other people updating the POM during the build. Can any guru teach me how to solve the problem? I am think about a P4 lock, anyone can g...
stackexchange/codereview
I know this is a bad idea, but I have lots of legacy code and I want to run through some historical batch jobs. I dont want to change the systems date because other stuff runs on the same system. Is there any way that I can change the value that Date.today will return for the life of a given process only. The idea here...
stackexchange/codereview
how to create your own marker interface in java.how to notify the JVM to treat as special class? Can any one elaborate it. Thanks in advance....
stackexchange/codereview
I'm trying to get the country from which the user is browsing the website so I can work out what currency to show on the website. I have tried using the GET scripts available from: http://api.hostip.info but they just return XX when I test it. If anyone knows any better methods please share. Thanks.
stackexchange/codereview
i see the http://www.delphiflash.com/demo-youtube-video on how to load flash video on delphi but its not for free. is there any other way? like html then TWebBroeser? sampleVideo.html //this will not work on TwebBrowser is there any other way? <html> <head> </style> <style type="text/css">.recentcomments a{display...
stackexchange/codereview
Assume that files MINE and YOURS are descendants of OLD. FILE_MINE= abc def ghi FILE_OLD= abc jkl ghi FILE_YOURS= abc def ghi Command diff3 -m MIND OLD YOURS gives: abc <<<<<<< OLD jkl ======= def >>>>>>> YOURS ghi diff3 cannot resolve that MINE and YOURS made identical changes. Why? And, is there a way to res...
stackexchange/codereview
I am using a jquery selector $('input,select,textarea').not('table input').attr('disabled',true); here I am disabling all input, select, and textarea control. but I dont need to disable any control that is in a table. I have done it using .not('table input') but I also need to mention select along with input control i...
stackexchange/codereview
Hey i have a simple ASP.NET application Table with this schema: id | Owner | Customer | SentOn | Deleted |. I want the gridview to show only Owner | Customer | SentOn columns of the DataTable which is inside the DataSet. How can i do this? Note: I want to do this programmatic without any dataSource Controls. I want to...
stackexchange/codereview
Question 1: I am learning SQL Server and Oracle joins (inner joins, outer joins...) and case statements syntax. Though I can google for the info, but would like to ask for some sites, links, and materials that fully explain the joins and case statments. Question 2: I am running a simple statment below which gives th...
stackexchange/codereview
I have a problem while using a subset of a data.frame in R. The subset gets created and displayed correctly, but when I try to plot it using qplot(), the rows which were not selected by the subset() also get shown along one axis. The actual file I am reading in is a web server log, but I have created a small example to...
stackexchange/codereview
<script type="text/javascript"> var area = {'Mongkok': 1001,'Wan Chai': 1002, 'Sai Kung' : 1003}; </script> <select id="area"> <option value='0'>choose an area</option> <option value='1001'>Mong kok</option> <option value='1002'>Wan Chai</option> <option value='1003'>Sai Kung</option> </select> <input id='address' type...
stackexchange/codereview
I am trying to audit table changes on MySQL but I want the "before update" trigger to run (add a line into an audit table) only when there is at least one changed field. Is there a way to easily check all fields for changes between OLD and NEW?
stackexchange/codereview
I am working on continuous Integration using CCNet. I am using Email publisher for publishing build results. CCNet sends email in following format: CruiseControl.NET Build Results for project In4SuiteRE_DEV_Build (web page) BUILD SUCCESSFUL Project: In4SuiteRE_DEV_Build Date of build: 2010-10-25 19:00:24 Running tim...
stackexchange/codereview
i am measuring physical time between two events like this: #include <time.h> #include <sys/time.h> timeval wall_time0; timeval wall_time1; // start of period measurement gettimeofday( &wall_time0 , 0); ...stuff happening // end of period measurement gettimeofday( &wall_time1 , 0); return ( ( wall_time1.tv_sec - w...
stackexchange/codereview
I downloaded the python client for magento from Here But When I am downloading is using python setup.py install then it shows following error. How can i rectify this error? error: File "setup.py", line 31, in <module> import magento File "/home/sam/Downloads/magento-0.1.1/magento/__init__.py", line 21, in <mod...
stackexchange/codereview
I'm trying to understand when I should call Query.close(Object) or Query.closeAll(); From the docs I see that it will "close a query result" and "release all resources associated with it," but what does "close" mean? Does it mean I can't use objects that I get out of a Query after I've called close on them? I ask beca...
stackexchange/codereview
I want to design a calculator by Flash cs5 , I use appendText Method to write the data in the textfield by the Keyboard . My problem is when I start the application I have to Click on the TextField first then type the numbers . How i can solve it . Cheers, Maged
stackexchange/codereview
I am trying to use Regex to find out if a string matches *abc - in other words, it starts with anything but finishes with "abc"? What is the regex expression for this? I tried *abc but "Regex.Matches" returns true for xxabcd, which is not what I want.
stackexchange/codereview
I have a UIWebView on my main window. Can I control that via my second view controller? If so could you give me an example?
stackexchange/codereview
I am using the basic RMI-based client/server app shown in Java Tutorials. I am running the server and client on different machines. I also export the remote objects for both the server and client, and make them available to each other. However, there is a firewall turned on the client side and so the RMI calls fail...
stackexchange/codereview
I am curious about the string and primitive types. Article like this says string is primitive type. However second article on MSDN does not list string as primitive type. However when I ran the code provided in second article, it displays String is not Primitive type. Can any one guide me on this?
stackexchange/codereview
Javascripters, a 'puzzle': Using a simple HTML form, make two textboxes. Whatever text you type (say, some random string of characters like asdfasdf ) into textbox #1 is IMMEDIATELY displayed, on the fly, without pressing any button or changing focus, into textbox #2. Can it be done using getElementByID?
stackexchange/codereview
I have an array of type bigint, how can I remove the duplicate values in that array? Ex: array[1234, 5343, 6353, 1234, 1234] I should get array[1234, 5343, 6353, ...] I tested out the example SELECT uniq(sort('{1,2,3,2,1}'::int[])) in the postgres manual but it is not working.
stackexchange/codereview
If I use a migration to update a database, and I add an integer field like this: t.integer :foo :default => 0, :null => false What is the default state of existing and new records in the database? I hoping the answer is: - Both will read back foo as 0. Is default => 0 necessary, if I have :null => false? Just trying ...
stackexchange/codereview
I want to center my web page footer and create a reasonable gab between it and the above content. Currently, the footer has a line and paragraph joined to the above content. I can push down the content but the line does not move. I am sure the property I am missing out in my css style sheet. Could someone help? This is...
stackexchange/codereview
I stored a date value and retrieve it and the format of the date in the string is yyMMdd. Now when the user loads that from the string i would like to select the DateTimePicker as the user loaded date. Sample code: string strDate = strRead.Substring(23, 6); DateTime dt = DateTime.Parse(strDate); Can any one give me an...
stackexchange/codereview
Does database backup exports only data or schema as well? I have one PC running DB2 database server1 and having a database XYZ,Now I want to create replica of this database on another pc running db2 database. I don't want to do this without using affecting db server1, I don't want it to stop or hang can I use db2 BAC...
stackexchange/codereview
So for example I have: http://www.example.com/index.php#/parameter1=one/parameter2=two/ Now how should I update only the parameter1's value?
stackexchange/codereview
I'm having a wired problem with Radgrid.. Im using a Radgrid to display some results where the user can edit/update/delete them. I'm using a single SQL Server 2000 table to fetch the results... Not sure why the events are not firing in radgrid. But I am able to do it successfully using the Gridview control... Im using...
stackexchange/codereview
I want to add a button on my video player when it is playing in fullscreen. I created an Overlay on my videoplayer and it's working very well on an iPhone. I tryed to same thing on a iPad, but the button never appear. Here's my code : NSArray *windows = [[UIApplication sharedApplication] windows]; if ([windows count]...
stackexchange/codereview
For a particular installation of my application, I need to create the database and the schema on the SQL server from the installer itself. I have a custom installer through which I have been able to detect and install the pre-requisites and the software. The user is prompted to give the IP of the database server and th...
stackexchange/codereview
How to use 1000 separator when writing Numbers to Excel Sheet with java? Typical Decimal Formatter forces the double value to String. I want the value to be in format 000 (space) 000,00
stackexchange/codereview
This: var_dump(nl2br("aaa\naaa", false)); Outputs: NULL I am using PHP Version 5.2.13. Doctype is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
stackexchange/codereview
I am using Qt 4.7 and PyQt 4.7 to build a multi-threaded GUI program. I've been carefully managing PyQt objects so that they stay in one UI thread to avoid synchronization issues and there is no problem in general. But sometimes, at the moment the python garbage collector is activated from other thread, the destructor ...
stackexchange/codereview
I want to use the Microsoft's CDN for hosting the AJAX Library for my .NET 4.0 web application. However, I was asked to implement a fallback for when the CDN isn't available or when developers want to develop locally without internet. In these scenarios the ScriptManager should send the locally hosted copies rather t...
stackexchange/codereview
Im not sure what im doing wrong. The file name is correct, the style is set to plain. But Im getting a bank white box the size of my image. Im using UINavigationController. Please assist and thank you thank you in advance. **FYI I am sorta new to objective c so dont be too hard on me. ;) UIBarButtonItem *toolbarCha...
stackexchange/codereview
I need a jQuery function that'll go through paragraphs with the following structure: <p> <label>some label</label> <input type="text" value=""/> </p> The function should use the label text as input value. Thanks!
stackexchange/codereview
The code has been written and still so many developer are working. I need to increase the performance of the code. The code uses struts 1.2, Jdk 1.5. I am reviewing code to increase the performance. What I need is steps to find bottlenecks in the code. How to avoid in future? How to refactor the code and tools for t...
stackexchange/codereview
I want to send the email from my QTSimulator. I am using the following code for send the email. QMessage msg; msg.setType(QMessage::Email); // Set recipient for our email message QString recipient("xxxxx@gmail.com"); msg.setTo(QMessageAddress(QMessageAddress::Email, recipient)); // Define mess...
stackexchange/codereview