instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I've got TCP client app which successfully negotiates connection to server and receives buffered output, but what I need to know is how to read server responses without waiting to buffer to fill out or server to end connection. In this loop: BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputSt...
stackexchange/codereview
I'm somewhat new to S3. I'm wondering if it's a good idea to put public/images in S3 bucket and if so is there an easy way to do the move?
stackexchange/codereview
In JavaScript, is there a way to as a element for the events that I can use to add listener. Something like: element = document.getElementById(id); console.log(element.listEvents); I'm using a DOM example, but this would be useful in node.js also.
stackexchange/codereview
While somehow versed in VCS (regular svn, git and git-svn user) I can't seem to wrap my head around this peculiar SVN behavior. Whenever I need to rename a directory in my SVN working copy from an otherwise 'clean' state - i.e svn status returns nothing and all other modifications have been commited - like so (which is...
stackexchange/codereview
I have the following script which runs fine but I think a) it is ugly; b) it doesn't do what I need after the script is run. Utlimately, the script should work as follows: 1) SQL selects all agents from a given table where the enrollment date is within the last month, grouped together by agent number where the count i...
stackexchange/codereview
I have column with values that have wrong character ?. Now I want to change it to character b. For this I am using this statement: SELECT REPLACE(name,'?','b') from contacts; But when I do this nothing's happening, it return value with ?. What I am doing wrong? How I can replace this?
stackexchange/codereview
I have no idea why I am getting this error while adding my iPhone application with application loader: An error occurred while trying to authenticate the package: 397613980.itmsp An exception has occurred:javax/servlet/ServletContext Could not connect to apple's web service I have no idea what this errors are about? ...
stackexchange/codereview
Is it possible to make real-time network games using JavaScript? I've seen flash do it, but I'm interested in making a multiplayer browser-based game that doesn't depend on any plugins. I've read that it is impossible to keep Ajax connections open for streaming communication, and it isn't feasible to make several new A...
stackexchange/codereview
I recently learned about the , operator and the fact that it introduces a sequence point. I also learned that the following code led to undefined behavior: i = ++i; Because i was modified twice between two sequence points. But what about the following codes ? i = 0, ++i; i = (0, ++i); While I know the rules, I can't ...
stackexchange/codereview
I have a listview that is the main part of my activity. When there are no objects in the listview, I want to replace it with a helpful message (a TextView). I simply call setContentView again if the list is unpopulated in onResume. However, this only works for the TextView. If I call setContentView(R.layout.mylayout), ...
stackexchange/codereview
I'm saving a sound from my app to be used as a ringtone or a notification sound. Here's part of my code, taken from this page: ContentValues values = new ContentValues(); values.put(MediaStore.MediaColumns.DATA, k.getAbsolutePath()); values.put(MediaStore.MediaColumns.TITLE, soundName); values.put(MediaStore.MediaColum...
stackexchange/codereview
I need to use cuda in my application. But i can't create a dll. Some code here. __global__ void calc(float *a, int n) { int idx = blockIdx.x * blockDim.x + threadIdx.x; float val = a[idx]; if (idx < n){ a[idx] = 4.0 /(1.0 + val*val); } } ... extern "C" __declspec(dllexport) void GPU_...
stackexchange/codereview
I have a series of unit tests that I'm running with nose. For some of my tests, I'd like to remove a module's path from the sys.path so there is no conflict with what I am testing. sys.path.remove('/path/to/remove/from/sys/path') If I run the Python interpreter and call sys.path, the '/path/to/remove/from/sys/path' i...
stackexchange/codereview
With JRockit, you can get the full list of threads by any means, and all of these means include information about the Garbage Collection Thread(s): 1) Asking the Thread class for the information: Thread.getAllStackTraces(); 2) Using ThreadGroup to get that information: ThreadGroup root = Thread.currentThread().getThre...
stackexchange/codereview
On what basis does a check if (document.addEventListener) return false? Is there a way we can change this?
stackexchange/codereview
sealed abstract trait HList case class :+:[H, T <: HList](head: H, tail: T) extends HList { def :+:[T](v: T) = new :+:(v, this) } case object HNil extends HList { def :+:[T](v: T) = new :+:(v, this) } object HListExpt { def main(args: Array[String]) { val me: String :+: Int :+: Symbol :+: HNil.type = "Rahu...
stackexchange/codereview
I'm new to Objective-C, but please help me out here. What I'm seeing is that method signatures in Objective-C that take multiple parameters seem inconsistent. Example: - (void) sendEmail: (NSString *) toStr subject:(NSString *) subjectStr body:(NSString *) bodyStr; OK, so here we have 3 "parameters" ...
stackexchange/codereview
I use system "java -cp xxx.jar" in my ruby script and it runs well on Mac OS. But when I run the script on Windows 7 x64, those java -cp xxx.jar did not get executed and no error was reported.
stackexchange/codereview
I am working on a sample which send file to server. To send file to server I am using WinHttpSendRequest() API. In my machine It worked fine. But for some other machine it is not working. It gives the error ERROR_WINHTTP_CANNOT_CONNECT(12029). I checked the Firewall setting; it is same as my machine. Please let me kn...
stackexchange/codereview
Ok guys, we all know there are all lot of typedef/struct questions out there, but I feel this one is a bit of a mind bender. I'm simulating the neighbor interactions of a crystal lattice using strictly C. I have a struct called "ball_struct" which I typedef'ed as just "ball". The struct contains a pointer to a list of...
stackexchange/codereview
I'm using the rails gem: OmniAuth to login users. When using an OpenId provider I would like to get certain field, like email and nickname but I don't see any documentation on this. Any ideas? thanks
stackexchange/codereview
I have a DLL supplied by a 3rd party along with an accompanying .NET 2.0 assembly that wraps it. If I create a .NET 3.5 project with VS2008 I am able to call into the DLL via the wrapper assembly and it works OK. However, if I create an equivalent .NET 4.0 project with VS2010 then I get a R6030 - CRT not initialized er...
stackexchange/codereview
in one of my Django models I have to add specific code for each model instance. Now, I wonder what would be a good way to implement this. My current attempt results in a big, hard to read if statement. Consider the following model: class Foo(models.Model): name = models.CharField(max_length=255) def do_instanc...
stackexchange/codereview
in first exe i have defined array of char with some special bytes as label, i mapping it to memory from another exe, finding needed label and putting in it new data, but this data could be shorter then defined array, so i want to cut this array to needed size! how can i do it?
stackexchange/codereview
I have a simple service called BuildNumberService which would be instantiated by spring. I'm trying to find the cleanest code for the class to find out the MANIFEST.MF file from the jar file it has been packaged into. The code has to run inside a servlet container. @Service public class BuildNumberService { privat...
stackexchange/codereview
I'm creating an UIImage like this: UIImage *img = UIGraphicsGetImageFromCurrentImageContext(); Am I responsible for releasing this?
stackexchange/codereview
Suppose I have a list of objects of a certain custom type and I need to find an object given only the value of one of its attributes, how do I do it? Eg. // Where user1 ... usern are objects of some class User users = [ user1, user2, user3 ... usern ] // How do I find out the objects that have the "foo" attrib...
stackexchange/codereview
I am designing an internal API for a system I am writing. What are some best practises in API Design to think about?
stackexchange/codereview
I'm building a web search application (rich application) that is intended to search over some historical documents. Those documents have their own structure. I'm using lucene 3.x to build the search engine, etc. So far i have built my own Analyzer and a SimpleToken class to fit my needs. So what is the problem? The pro...
stackexchange/codereview
I help manage a website for a local ACM student chapter, http://acm.cs.uakron.edu/. For some reason, Internet Explorer simply refuses to parse the majority of the CSS. Every other browser I know of handles it just fine, but why does IE7+ stop?
stackexchange/codereview
new to Ruby on Rails, trying to configure the home page of my application. I don't know what I'm doing wrong, or how to configure the :home controller, but I get this error with this routes.rb file. Routing Error - No route matches "/" Here's routes.rb SchoolCMS::Application.routes.draw do devise_for :teachers, :adm...
stackexchange/codereview
Im wondering what I am doing wrong: Create xib and add on it UIView "FirstView". Under this UIView "FirstView" add another UIView "SecondView". On the FirstViewController load SecondView from nib. it works at this point. Whats not working is that the "FirstView" doesnt seem to change after point 3. So the "SecondView...
stackexchange/codereview
Input: <content> <dom id=1>a</dom> <dom id=2>b</dom> <dom id=3>c</dom> <dom id=4>d</dom> </content> Output: <content> <dom id=4>d</dom> <dom id=3>c</dom> <dom id=2>b</dom> <dom id=1>a</dom> </content> I'm looking for a function (if exists) like this: $('content').inverse();
stackexchange/codereview
i'm (newbie) working on android platform 2.1 and i want to estimate my location using WiFi Access Point. i tried with GPS_Provider and Network_Provider but i want to estimate it specifically with WiFi AP in Network_Provider and not through Cell towers. is there any way to get my location through WiFi AP? if yes then ...
stackexchange/codereview
I have this function stored in db.system.js function SomeFunc(o) { x = db.Collection; while( 1 ) { var c = x.find({},{_id:1}).sort({_id:-1}).limit(1); var i = c.hasNext() ? c.next()._id + 1 : 1; o._id = i; x.insert(o); var err = db.getLastErrorObj(); if( err && er...
stackexchange/codereview
Here is my scenario: On a form I have list of direcotories, Button and control to display multiline text. In a loop I try to find all files in each directory and delete them. When file is deleted i want to add text to multiline control. My problem is that when text is added I can not do anything else. Form is blocked a...
stackexchange/codereview
I have written code like this. <img id='test_img' src='../../..' /> I want to get the id of this image on image load like, $(img).load(function() { // Here I want to get image id i.e. test_img }); Can you please help me? Thanks.
stackexchange/codereview
I have some WCF services that are hosted by IIS with ASP.Net compatibility turned on. I have the following in my web.config: < serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> And my service class is decorated with the following: [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequi...
stackexchange/codereview
i am using jCoverFlip (http://www.jcoverflip.com/) plugin for a gallery in my site. What I want to do, is to make this gallery circular. Does anyone know how can I do this? Thanks
stackexchange/codereview
Are return address and data mixed/stored in the same stack, or in 2 different stacks, which is the case?
stackexchange/codereview
We use jqGrid with altclass set and with hoverrows:true. When you click on a row, the altclass class is no longer applied and the hover effect no longer works on the clicked row. How can you stop this from happening?
stackexchange/codereview
I have a use case of this kind interface i { void method1(); void method2(); } class A implements i { void method1() { System.out.println("Method1 A .."); } void method2() { System.out.println("Method2 A .."); } } class B implements i { void method1() { System.out.println("Method1 B ...
stackexchange/codereview
All right, I've got two tables in my Access 2007 database (well, more than that, but the question applies to these two...): part part_no ... supplier_id special_supplier_id ... And supplier supplier_id supplier_nm (NB: Caption="Supplier Name") special_supplier_flg Now I've built a query : SELECT ...
stackexchange/codereview
JSPX has the lovely side effect of turning: <div class="magic"></div> Into: <div class="magic" /> For many browsers this causes pandemonium and mayhem with layout even though it is valid XHTML. Consequently I have resorted to using a groovy script to find all possible bad HTML with the following regex: def m = html ...
stackexchange/codereview
Is possible using the Rtti determine if a TRttiMethod is a marked as overload,override or abstract ? thanks in advance.
stackexchange/codereview
I've been upgrading my app from Rails 2.3.8 to Rails 3. After getting all the basic stuff done (configs, routes, and the new AR API, replacing Authlogic with Devise) and getting some mostly static pages to show up fine I get an error in the rest of my site: You have a nil object when you didn't expect it! You might hav...
stackexchange/codereview
We have an API that will be only used by our new website for now. I would like to get an input how what stackoverflowers think about the security in place for this api. 1)SSL protected 2)When logging in, the user's "IP" is sent as well as user and password. The API is then attached to the session and the session token ...
stackexchange/codereview
What's the best way to generate Pictures, Pixel by Pixel in Ruby on Rails. I have a two-dimenisonal matrix with all the color values for each pixel, which i want to vizualize. Something like this: myBitmap = new Bitmap(:width => Column.all.count, :height => Row.all.count) Colum.all.each do |col| Row.all.each do |row| ...
stackexchange/codereview
I have a partial control formy.ascx that I am using on a lot of pages that contains a form. When I click submit on the partial control, following function handles the form submission. [ActionName("FormyTemp"), AcceptVerbs(HttpVerbs.Post)] public ActionResult FormyTemp(FormCollection result) Now, I need to know what ...
stackexchange/codereview
Schema: action_types ------------ id name description actions ------- id action_type_id date description The goal is to copy action_types.description to actions.description only if it is not occupied yet on the UI (!). What is done: class ActionsController < ApplicationController active_scaffold :action do |c| ...
stackexchange/codereview
I have a small form that creates two background worker threads which listen for messages from two separate server processes. When the user attempts to close the form, I handle the OnFormClosing event (or they can click an 'Exit menu item) which calls CancelAsync() on both threads. The form then waits until the IsBusy...
stackexchange/codereview
What is the algorithm according to you is best to encrypt files using PHP? Maximum file size which provides about 100 mb. I care about the speed of the encryption ...
stackexchange/codereview
How does the speed of a program when run in the simulator compare to a real iPhone or Ipod touch? Is it faster or slower?
stackexchange/codereview
I have two activities. One loads all rows from a database, and the other saves to the database. When I have the second save in onStop and the first repull the data in onResume, they do it out of order (the first resumes and then the second saves). I managed to fix this by putting the saving data in onPause, but why was...
stackexchange/codereview
I wonder if it is possible to use nuget to only store references to the required packages in version control (only the package.config and ignore the packages folder). Is there a way to tell nuget to (re)download all the referenced packages in the various package.config files? Or something similar which could be put int...
stackexchange/codereview
whats the simplest way to make ocx library working in c#? (I'm using wpf project) I tried to use aximp, but when creating Ax[libname]Lib.Ax[libname] object, calling getocx() returns null. EDIT: I should add, that this lib is for communicating with some specific driver
stackexchange/codereview
I keep hearing this is a path issue with cygwin. It is prevent emacs from working within my cygwin. When I execute find on the cli (not bash/cygwin) I get the same error not matter what I type. I've read this is a problem with path creation within cygwin and that it should be prepending itself to the path. As you c...
stackexchange/codereview
I am trying to use random::linear_congruential in boost (http://www.boost.org/doc/libs/1_33_1/libs/random/random-generators.html#linear_congruential) to generate uniform random numbers. The declaration is defined as: template<class IntType, IntType a, IntType c, IntType m, IntType val> Does anyone know what the last p...
stackexchange/codereview
I have APC with my Wordpress website See my APC summary page here http://www.animefushigi.com/apc.php I notice I have a very high amount of fragments (over 10,000) Is this a bad thing? Will it decrease performance?
stackexchange/codereview
I have been using C++ for the last five years now. During this time, I never had to work with audio nor video files. One thing I want to write is an application that will take a AVI/MPEG file and convert it to the OGG format. Are there any good books / tutorials out there where I can get my feet wet in this domain in...
stackexchange/codereview
Tutorial: http://pushbuttonengine.com/docs/Lesson-01-FlashCS4.html When I get to hello world, It gives me the error "Packages cannot be nested but, when I remove the { and } it gets mad at me. Code: package { import flash.display.Sprite; import com.pblabs.engine.PBE; import com.pblabs.engine.debug.Logger; ...
stackexchange/codereview
I currently have a stored procedure in which I want to insert new rows into a table. insert into cars (id, Make, Model) values('A new Guid', "Ford", "Mustang") So the primary key 'id' is a Guid. I know how to create a new Guid in C# code but within the stored procedure I'm unsure how to generate the new Guids for the ...
stackexchange/codereview
Basically I want to move everything from ~/.vim into a separate folder, let's say ~/vim_config. I added this setup my ~/.gvimrc set runtimepath^=~/vim_config If I do a :set rtp the ~/vim_config folder is at the top of the list. But no plugins are loaded. Colorschemes are loaded though.
stackexchange/codereview
i' like to make some jquery widget, which will have behavior like jquery ui datepicker: it should appears when focus on input tag and this widget and should be hidden when user mouse focus not in this widget and input tag, can you help me to say the right way to implement this behavior thanks
stackexchange/codereview
A makefile is typically used for source compilation; however, as a dependency mechanism, make can have many more uses. For a minor example, I have a script that runs daily, and it might update or create some '*.csv.gz' files in a directory based on some web-scraping; all the gzipped files need to be consolidated into o...
stackexchange/codereview
I am using Symfony 1.3 and I have the following problem: I need a url in this format www.domain.com/folder (no suffix) however the application sets the default suffix to be .html Is there a way to override the global suffix in the routing.yml file? I could use mod_rewrite but I would like this link to be able to work ...
stackexchange/codereview
I really know very little about regex's. I'm trying to test a password validation. Here's the regex that describes it (I didn't write it, and don't know what it means): private static string passwordField = "[^A-Za-z0-9_.\\-!@#$%^&*()=+;:'\"|~`<>?\\/{}]"; I've tried a password like "dfgbrk*", and my code, using ...
stackexchange/codereview
We install an application (MSI) using MSIEXEC with the following command line option: MsiExec.exe /x{code} /qn /liwearucmopvx+ C:\Log\UnInstall.tra MsiExec.exe /iC:\Source\App.msi /qn TARGETDIR=C:\Install ALLUSERS=1 /liwearucmopvx+ %C:\Log\Install.tra Most of the time this works, but sometimes the uninstall fails (not...
stackexchange/codereview
I'm making an iPhone program that can post to Twitter. I've downloaded Januus' PlainOAuth project, and I'm incorporating code into my own project. PlainOAuth is working fine, but my own project generates the following in the console when I post: 2010-10-18 21:53:09.990 TwitterTableView[18860:207] Status posted. HTTP r...
stackexchange/codereview
I love WPF bindings, but I often find myself wish I could do a little more. PyBindings seem like a good start, but the Python syntax seems very clunky and out of place in a XAML file. Are there any alternatives out there? Something with a simpler syntax, that allows for quick comparisons & conversions so that I don'...
stackexchange/codereview
I have a Java program Desktop/testfolder/xyz.jar on a remote machine. It has a configuration file on the same folder. When I SSH into the machine, I do: "ssh user@remote java -cp Desktop/testfolder/xyz.jar Main" The problem here is the configuration file is not in the path, as we are in the home folder so my program c...
stackexchange/codereview
Possible Duplicate: SSL and Load Balancing We're thinking about using a software based load balancer for our website. However some apis on our website are protected by SSL. My question is: say our website was netflix.com, we have 2 webservers 1 and 2. So if netflix.com domain pointed to the load balancer server, wi...
stackexchange/codereview
I got some test console application with log4net and AdoNetAppender. When I launch application I have log4net debug info in console(log4net:ERROR [AdoNetAppender] Could not open database connection) I initialize AdoNetAppender ConnectionString via code. When I set <log4net debug="false"> it doesn't help. I check log4ne...
stackexchange/codereview
Is there any function in PHP that I can use to detect whether or not the exec function is available?
stackexchange/codereview
What syntax would I use to get the number of bytes representing a string and compare them to the number of bytes representing an ArrayList holding that string, for example? I am using a multi-agent agent system to send objects via messages and I want to keep track of how much space each message takes up. The method doe...
stackexchange/codereview
Using PHP I am able to query MySQL database and see the results echo using: echo $row['Text']; I would like the information to load into TextField myAnswer instead. Can anyone help? Thanks
stackexchange/codereview
An example of such an animation would be a dice rolling ..
stackexchange/codereview
How do I edit excel spreadsheets from word using VBA?
stackexchange/codereview
I would like to construct an XPath query that will return a "div" or "table" element, so long as it has a descendant containing the text "abc". The one caveat is that it can not have any div or table descendants. <div> <table> <form> <div> <span> <p>abcdefg</p> </span> </div...
stackexchange/codereview
Apparently WIne doesn't support 16bit DOS apps. Anyone know how to Get MASM intel-style assembly working in wine?
stackexchange/codereview
I am trying to execute the following query SELECT a.userid, COUNT(a.id) AS count_answers, SUM(v.yes_vote) as total_up_votes, SUM(v.all_vote - v.yes_vote) as total_down_votes, CAST(COUNT(a.id) + SUM(v.yes_vote) * 4 - SUM(v.all_vote) AS SIGNED) AS voting_points FROM (answers a) LEFT OUTER JOIN answers_vote_count v ON r.i...
stackexchange/codereview
I have to program peripheral registers in an ARM9-based microcontroller. For instance, for the USART, I store the relevant memory addresses in an enum: enum USART { US_BASE = (int) 0xFFFC4000, US_BRGR = US_BASE + 0x16, //... }; Then, I use pointers in a function to initialize the registers: void init_usart...
stackexchange/codereview
I am using whenever gem to create some cron job to fetch the data from a remote database. My question is , does whenever gem has any functionality to handle errors? suppose connection to db failed during retrieval. Or is there any otherway in rails to read the error from cronjob?
stackexchange/codereview
I need to round numbers to 0 decimals (for a pagging system). I've already tried something like this: Math.Round(double1, 0, MidpointRounding.AwayFromZero); If the double1 be 7,2 or 7,6 i need it to round for 8 but i'm not getting that. Can someone help me, please? Thanks
stackexchange/codereview
I would like to allow users to create pages on my site. Not full pages, but just content for the default template. I am currently using http://ckeditor.com/ then saving the content into a database. Is this the best way to go about doing this?
stackexchange/codereview
is there any drag and drop environment to work with GWT widgets. or any user friendly IDE or plugin on IDE's i remember using some thing like MyEclips for developing Hibernate was better then working with .xml files.
stackexchange/codereview
Easier to demonstrate this with two screenshots, the first Windows XP, the second Windows 7: http://www.picpaste.com/Virtual_folders1-4tCBM9lK.PNG http://www.picpaste.com/Virtual_folders2-pboFc6vf.PNG In Windows XP, VS 2008 spots the virtual directories and doesn't display or even look at the contents of the virtual di...
stackexchange/codereview
I am trying to access a jQuery JSON object, and I can't see anything wrong witj my code, but all I get when I try to access the object is undefined, I was thinking that maybe it's because of the way it is nested, but I am unsure, here is my code, function systems(dom_id, id){ $.getJSON("get_systems.php", {uid:id}, f...
stackexchange/codereview
I have created a sharepoint custom List. When clicking on it displays all the data stored in the site. I want this list visible to the Administrators. But I do not want this to visible to the Read only user of the sharepoint site. I have tried to use audience settings. But on Custom List created I cannot have any optio...
stackexchange/codereview
I have this query: SELECT to_number(gr.code) group_index, gr.NAME group_name, f.*, gr.description gr_desc FROM obj$groups gr, obj$group_objects gro, obj$group_objects gro2, tdf$flex_fields f, inv$requests...
stackexchange/codereview
I saw this in a recent economist and I was wondering if anyone has code that would help replicate it using ggplot. Economist Chart Thanks!
stackexchange/codereview
I have a table of "Products". I also have a table of user labelled keywords for that product. I want to bring back the top keyword for each product based on how many there are. The keyword table basically consists of the keyword, a primary key, and a foreign key linking it to the Products table. I presume I have to j...
stackexchange/codereview
Question How do you overwrite the refresh key with a custom javascript function? I use Prototype library, by the way. Why I have a video with user comments on the side. There is a button to only refresh the comments via a JS function updateComments(). During some user testing, some idiots refused to use that button to ...
stackexchange/codereview
Im asking because Im trying to debug a SQL query problem and adb only seems to show part of the SQL string and chops off the end. Im getting an "unrecognized token" error when running a query: W/System.err(18917): android.database.sqlite.SQLiteException: unrecognized token: "931C6752DF97CFDACD130A06CAE0E7DA6320DE2945FF...
stackexchange/codereview
NoobQuestion: I heard that filling a char array can be terminated early with the null char. How is this done? I've searched every single google result out there but still have come up empty handed.
stackexchange/codereview
I have a very simple MDX query that retuns the contents of a dimension. I would like to inject one more row to the result set as part of the MDX. Is this possible?
stackexchange/codereview
working with iis7. project is in Integrated Pipelinemodus Application Pool is : DefaultAppPool have System.Web.Mvc.dll, System.Web.Routing.dll, System.Web.Abstraction.dll in bin folder of project. i cant run aspx pages, becouse i need to configurate something in iis7 to use dll from bin folder. please help p.s. seems l...
stackexchange/codereview
I have developer toolbar, any other tools I am missing ? I am not doing any fancy graphics/html 5. I have just been told I need to a support ie8; so want to know if I need to test in both, or just ie8. Have used ms superpreview, but this is only good for static sites - I am developig a large data driven jsp website. a...
stackexchange/codereview
php mail is not working. no error messages. php.ini has display errors on and show E_ALL is also on. <?php $to = "test@abc.com"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; $headers = 'From: test@abc.com' . "\r\n" . 'Reply-To: test@abc.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subjec...
stackexchange/codereview
I'm calling a java webservice that returns a type of FaultException that contains a list of errors. So the response message size is always large. In my c# (clr3.5) client I get the following error "The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceived...
stackexchange/codereview