instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm seeing a strange rendering issue in an SVG that I'm generating. I've narrowed it down to a small reproducible case.
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg">
<polyline points="41,36 40,35 42,37" style="stroke:black; stroke-linecap:round; stroke-linejoin:round; stroke-width:7... | stackexchange/codereview |
I have five text files that are produced by an R program, (each of them having header) that are to be combined into a single file. I have combined them using rbind and my problem is when I combine them, the resultant output has headers attached at end of each file for example,
if the headers are supposed
Combine Resul... | stackexchange/codereview |
my variable path1 contains the value /home/folder. how can I create a new file named foo using this absolute path name?
path1="/home/folder"
echo "hello web" > $path1/foo
but this code give me error. Can some one please tell me how can I create this file foo in a specific location, using a path name?
| stackexchange/codereview |
I am using Spring framework (2.5.4) in my app with Load time weaving and everything works fine everywhere (in Spring beans, in non-Spring entities), except when I try to autowire field in a servlet annotated as @Configurable, then I get a nice NullPointerException...
@Configurable(dependencyCheck=true)
public class Ca... | stackexchange/codereview |
What is the difference between CLR and DLR in C#? are these two concept comparable?
| stackexchange/codereview |
I've been battling with this one for a few days now, I'm looking to automate an XML output with the below syntax
SELECT (
SELECT CONVERT(VARCHAR(10),GETDATE(),103)
FOR XML PATH('DataVersion'),
TYPE
),
(
SELECT CoNum,
CoName,
CONVERT(VARCHAR(10),AccountToDate,103) 'DLA',
LAFileNet
... | stackexchange/codereview |
I'm wondering what a better practice is in general .NET programming with class instances that contain a Remove method.
The question is:
if I have a StringBuilder sb with some data, is it smarter to use the .Remove(0, sb.Length) or to create a new instance and leave the old to the GC to collect. There are quite a few fa... | stackexchange/codereview |
I'm currently having a problem to iterate over a collection. When I declare the fields and constructor and try to enter my method to iterate over the collection and print out the elements, it comes up with the following error.
incompatible types - found java.util.Iterator(Lot) but expected java.util.Iterator (java.lan... | stackexchange/codereview |
I am adding a click event (display alert on click) to a html hyperlink inside an UpdatePanel on document(ready). However, the event never gets fired when I click the hyperlink. Is it because of ASync postback? What is the correct way to do this?
$(document).ready(function(){
$('#addExcl').click(function(){... | stackexchange/codereview |
My code:
import simplejson as json
s = "{'username':'dfdsfdsf'}" #1
#s = '{"username":"dfdsfdsf"}' #2
j = json.loads(s)
#1 definition is wrong
#2 definition is right
I heard that in Python that single and double quote can be interchangable. Can anyone explain this to me?
| stackexchange/codereview |
I have followings classes (it's just a simplified example):
public abstract class Material {
public abstract String name();
/* ... */
}
public class Wood extends Material {
@Override
public String name() {
return "<WOOD>";
}
/* ... */
}
public class Metal extends Material {
@Overri... | stackexchange/codereview |
I need to analyze some data about internet sessions for a DSL Line. I wanted to have a look at how the session durations are distributed. I figured a simple way to do this would be to begin by making a probability density plot of the duration of all the sessions.
I have loaded the data in R and used the density() func... | stackexchange/codereview |
I need a simple listbox control where height for each item varies. And then i to need draw a custom image for each item.
Basically item_height would be equal to (listbox_width / image_width ) * image_height.
Normally I would just take a listbox and specify on paint event, but i need a variable height for each item.
Is ... | stackexchange/codereview |
I want my row items to look like this:
I want to have an image on the left, top and bottom text and a date. I have started to lay it out, but am not sure how to proceed with the rest of the XML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/RelativeLayout01" xmlns:android="http://schemas.and... | stackexchange/codereview |
Well.. what I'm trying to do here is implement something like a peer-to-peer client. Being that, it will start a client thread and a server thread.
I know Services themselves run in the main GUI thread, so I'll have to start a couple of independent threads (or Asynctasks?) for each server and client. The only thing I'm... | stackexchange/codereview |
Hy!
I'm new to the Doctrine library. I'm trying to take advantage of the Doctrine Behavior (Templating) system to build a Authenticable behavior but I ran into a few problems.
This is how i wanted to declare it:
class BaseAdminUser extends Doctrine_Record{
public function setTableDefinition(){
// ...
}
public fu... | stackexchange/codereview |
Does anyone know of a small, fast, javascript emulator with DOM layer support? in either C/C++?
The problem:
I need rudimentary support for javascript in a crawler application, and am wondering if there's any other options other than:
a) Integrating WebKit (headless) (slows down crawling tremendously).
b) Integrating S... | stackexchange/codereview |
Wondering how to name this question. Think this is the best situation possible.
Situation:
I got small app written in KohanaPHP framework. However there's one small bug that makes my crazy.
I got my own Core_Controller that is extended by every controller in this app. In constructor of this controller, I'm checking use... | stackexchange/codereview |
We have a developmentprocess where the developers modifies the web.config to match their personal setup. For deploment we have other web.config-files with suffixes, eg web.config.test.
Is there a way to tell Team City to use the .test version of web.config instead of the default one?
Thanks in advance
Roland
| stackexchange/codereview |
Since SKIP clause is not supported by SQL Server Compact 3.5 is there any way to accomplish paging?
EDIT:
To accomplish paging in Sql CE using only EF is not possible right now, Visual Studio 2010 SP1 will add SQL CE 4 and an update to EF 4 in order to make SKIP work like in SQL Server 2008. I just hope SP1 will be av... | stackexchange/codereview |
I wish to blog about unit test naming conventions in .NET, and may wish to blog more about C#.NET or more general development topics in the future.
I know there are several popular blogging sites, and for the most part it's up to personal preference, but what are the best designed or most popular blogging sites someone... | stackexchange/codereview |
This is my custom maven Groovy execution:
[...]
<plugin>
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.0-rc-5-SNAPSHOT</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>execute</goal>
</goals>
<con... | stackexchange/codereview |
I'm executing command make -dwp all to compile a C++ S/W.
On the logs I'm facing the following error message:
EDIT: Preceding lines
Finished prerequisites of target file `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default... | stackexchange/codereview |
So, I made a simple java RMI application in Eclipse using the genady plugin. It works fine in this environment but it would be nice if it could be run outside Eclipse too.
In Eclipse to run it I first start the RMI registry. Then I enable stubs creation for the server. Then I run the server as an RMI application, also ... | stackexchange/codereview |
Some of my apps do not appear in the Android Market when viewed from the Samsung Galaxy Tab.
I've noticed this is happening to many other apps from other devs as well. If I compare the "Just in" for a category in the Market on a Nexus One to the Galaxy Tab, there are a lot more apps appearing on the Nexus One. So I don... | stackexchange/codereview |
I'm currently developing a project that will use one small table (say less than 10 Megabytes in total) on one PC for one user at a time. (But of course will be installed on many computers).
I say small because 10 MB looks like 1/300th of the current available RAM on my PC (!)
In that table I will store XML Document sha... | stackexchange/codereview |
How can i change a value in a VB Listbox?
Like this it doesn't work:
listbox.selectedItem = "Newvalue"
THX for help
| stackexchange/codereview |
I have 16 pdfs that I want to convert into a single one... I am on Ubuntu 10.10, how can I do it?
| stackexchange/codereview |
Suppose this command: SELECT sessionID, SessionLength FROM mytable;
Generates this table:
+-----------+---------------+
| sessionID | SessionLength |
+-----------+---------------+
| 1 | 00:20:31 |
| 2 | 00:19:54 |
| 3 | 00:04:01 |
...
| 7979 | 00:00:15 |
| 79... | stackexchange/codereview |
I have
class Authors
has_many :books, :order => 'name ASC'
I am trying to query all the books sorted by name DESC
Authors.books.order('name DESC')
but the result is
SELECT * FROM .... ORDER BY name ASC, name DESC
and the results come back with the name sorted ASC
is there a way to remove the original order in the a... | stackexchange/codereview |
So I'm working on expanding the uses of items over at www.ninjawars.net, and I'm not exactly sure how to represent them flexibly in the relational database that we use.
I may be barking up the wrong tree, so feel free to make suggestions in other directions, but currently I'm thinking that each item should have relatio... | stackexchange/codereview |
which programming language is more secure to build web apps with, php or python?
| stackexchange/codereview |
I want to be able to return true/false depending on an IP being in range of two other IPs.
For instance:
ip 192.200.3.0
range from 192.200.0.0
range to 192.255.0.0
should result to true.
Other examples:
assert 192.200.1.0 == true
assert 192.199.1.1 == false
assert 197.200.1.0 == false
| stackexchange/codereview |
In SQL 2008, I have below table and need to convert into following table creating one record for each
Date Name Colors
Nov01 John Red
Nov02 Mike Green
Nov02 Mike Blue
Nov02 Mike Grey
Nov03 Melissa Yellow
Nov03 Melissa Orange
Nov10 Rita Pink
Nov10 Rita Red
Converted
Date Name... | stackexchange/codereview |
This MenuItem does not switch to checked when I press Alt+S, why?
<Menu>
<MenuItem Header="_Other">
<MenuItem
Header="_Show Expanded Names ?"
IsCheckable="True"
StaysOpenOnClick="True"
InputGestureText="Alt+S"
IsChecked="{Binding ShowExpandedName}" />
</Menu... | stackexchange/codereview |
If my component is listed under the menu and assign modules to that menu if the link don't contain e.g. itemID=63 than module is not showing.
Is there a way to automatic add ItemId to each link and redirect inside the component?
| stackexchange/codereview |
here my code-
List<ReservationSlotLimitDetailEntity> sorted = (from p in slotLimitCollection.OfType<ReservationSlotLimitDetailEntity>()
where p.DayOfTheWeek == dayOfTheWeek
select p).ToList<ReservationSlotLimitDetailEntity>();
I want to sort in such a way so that it will add on more temp column... | stackexchange/codereview |
I have used set PYTHONPATH=%PYTHONPATH%;dictionary_containing_modules to make some modules globaly visiable.
I have a script importing the modules with import my_module.
When i run the script from the iPython shell (run my_script.py), i get no errors and the script runs as intended, but when I run the script from the ... | stackexchange/codereview |
I am working on a website:
http://tawfiq-aliyah.co.uk/epic/Site2/
I want the user to be able to set the BackgroundImage. I have implemented this with the pop-up menu in the bottom left hand corner already. But what I want is for the data about the users choice of background image to be stored so that when they come bac... | stackexchange/codereview |
I have a set of ASP.Net pages running on IIS7. Being RESTful, we expect to receive some XML. This is not going to be a public service so the XML format is agreed upon. We need this service as an integration between two sites and the the service pushes data in one direction.
I tested how it works by using the Poster add... | stackexchange/codereview |
I have a UIButton which I assign an image in IB.
I then change the image in the code, but I only want this to be temporary.
How does one return the button to the image set in IB or is there a way to revert back after doing the temporary switch?
Thanks
| stackexchange/codereview |
How can I convert a Unicode value to its equivalent string?
For example, I have "రమెశ్", and I need a function that accepts this Unicode value and returns a string.
I was looking at the System.Text.Encoding.Convert() function, but that does not take in a Unicode value; it takes two encodings and a byte array.
I bascial... | stackexchange/codereview |
I am using the latest WPF Ribbon control downloaded from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2bfc3187-74aa-4154-a670-76ef8bc2a0b4&displaylang=en
In Windows XP, the Ribbon application window’s title bar looks like from Windows 98… or like from console window. How can I improve the appearance of t... | stackexchange/codereview |
I've been pursing around Google trying to figure this out, but I can't seem to do it. I have the following json string that is returned to my java applet from another source that i need to interact with.
{
"A01": {"Status": "Ready", "Time": "00:00"},
"A02": {"Status": "Ready", "Time": "00:00"},
......
}
At the mo... | stackexchange/codereview |
I have some troubles doing some simple customizations with javascript on the form assistant (MS CRM 4.0).
What I am trying to achieve is when I open the form assistant to have different selected than the current (default) ones in the look ups.
For example as in the picture below, when I select Customer I want my defau... | stackexchange/codereview |
Is there a way to get the string length in twips?
java implementation would be good.
| stackexchange/codereview |
I have a problem that is driving me mad, and I just dont seem to be able to find a solution.
I have a Listview, for which the listivew ItemTemplate is a Datatemplate that looks like this:
<DataTemplate x:Key="template" >
<TextBlock Foreground="Green" >
<Hyperlink Command="{Binding LoadReportCommand}"
... | stackexchange/codereview |
I have the following code
class nest_empty
{
class empty{};
};
Will the size of nest_empty be 1 (on my implementation sizof an empty class is 1)? If yes why? Can nest_empty be considered as an empty class?
EDIT:
class nest_empty
{
class empty{};
empty d;
};
Will the size of nest_empty still be 1? If yes why?... | stackexchange/codereview |
How to Install and configured memcached in symfony1.4
| stackexchange/codereview |
I am using Urban Airship and Apple to delivery push notification.
There are some users need to be notifed to do something on 1st every month
some users need to be notifed on 2nd every month
.........
Is this possible?
If sure, do I need to seperate the users before sent their device token to server?
Welcome any comment... | stackexchange/codereview |
I'm trying to open an existing Word document that is actually located in a SharePoint library in a Windows application (WinForms).
If I open the document using Internet Explorer, the document is in readonly but I have a "Edit Document" button in Word application that I can use to be able to save my document (remove the... | stackexchange/codereview |
I am trying to figure out how to set the layout from a custom made responder. I want to use the request.xhr? to set the layout for render to 'ajax'. Does anybody know how to do that?
I am using Rails 3 and I have a responder like this:
module AjaxLayoutResponder
def to_html
if request.xhr?
# do something ... | stackexchange/codereview |
I am having problems understanding how to work with query results. I asked about half a dozen questions about this but I still do not understand. I copy from previous code and I make it work somehow but since I don't understand the underlying concept the code breaks down if I make a minor change. I would really appreci... | stackexchange/codereview |
I have a Windows Phone 7 application built in Silverlight. This application makes use of the application bar. If the has purchased the application, I want to hide one of the buttons in the application bar. However, I've noticed that the ApplicationIconButton class does not expose a "Visibility" property. At the same ti... | stackexchange/codereview |
I would like to know how can i add photos from flickr by giving desired username into my application.Username is the input given by the user and on clicking the button photos of desired user gets open. Please help me out of this problem.
Thanks
| stackexchange/codereview |
I'm trying to make this :
http://livedocs.adobe.com/flex/3/html/help.html?content=transitions_7.html
just press back on the bottom of this page to see the filter effect that I want
but dynamically and I did, with the states and everything for n elements. Now my question is how can I make a scroll bar on the left side b... | stackexchange/codereview |
I use a third party report viewer that handles viewing and printing reports. To print a report, I use their print method that takes printer settings as a parameter.
If I use the printer.printersettings class, doesn't that get the default printer settings on the server?
How can I get the printer settings on the cli... | stackexchange/codereview |
If I mmap a file does this mapping last across boots? Do I need to remmap after each boot?
| stackexchange/codereview |
I have no background in web applications, but have a fairly experience background in C++, and a quick learner.
I have spent some time learning Python and reading through SQLAlchemy. I kind of like the idea of coding in pure Python OO, and then use a nice SQLAlchemy mapper to persist everything. I like this decoupled a... | stackexchange/codereview |
I created a new build configuration and tried to run the same. However I encounter errors saying the artifacts could not be found in the repository. If I run the maven build from command line for the same workspace, the build works well. The proxy configuration has been mentioned in ./m2/settings.xml and the settings f... | stackexchange/codereview |
We have an ASP.NET 4 Web Application Project. This project contains a number of pages. After having made some changes I get an error at runtime (ASP.NET Compile time) that this or that namespace cannot be found.
At design time (in Visual Studio 2010) there is no problem for Intellisense to see these namespaces and clas... | stackexchange/codereview |
EasySlide is a very good viewer, but I want to produce a rotation of web pages and not images. Is it possible?
| stackexchange/codereview |
I'm trying to store HTML in a database, so when I retrieve the form from the database, I need to show it as a form rather than text. Is there a way to do that?
This is the form
$form = "<form id='' method='' action='' class=''>
<input type='hidden' name='my-item-id' value= $uid />
<input type='hidden' name='my-... | stackexchange/codereview |
I am having the Windows application accessing the internal server and creating the setup file based on the user request from the Front End application.
1) When we request the server for creating the setup file from the Front End application we will add details into the table.(req id="101", Status="Started" and etc)
an... | stackexchange/codereview |
I have many virtual hosts setup in my httpd.conf all set up like this:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerName localhost
DocumentRoot "c:/wamp/wwwWP/"
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerName testing.local
DocumentRoot "c:/wamp/wwwtesting/"
</VirtualHost>
<VirtualHost 127... | stackexchange/codereview |
I have a class which has not default constructor. And I need a way to get 'blank' instance of this class. 'blank' means that after instantiation all class fields should has default values
like null, 0 etc.
I'm asking because I need to be able serialize/desirialize big tree of objects. And I have no access to sources o... | stackexchange/codereview |
we're looking at add a new feature to our site which would allow users who want to receive updates about their profile to get them sent directly to their Instant Messaging account (eg. Yahoo, Live Messenger, AIM, etc.).
We're currently in the preliminary stages, just gathering information and seeing if it's actually s... | stackexchange/codereview |
I need to build a swing application that looks exactly like itunes player in Mac.my java app should run on all operating systems with same itunes like look and feel
what is the swing library used to customize the look and feel of itunes original application?
is there a java laf library that mimics itunes laf?
thanks
| stackexchange/codereview |
I recently wanted to track progress of a HTTPWebRequest Upload progress. So I started small and started with buffered read of a simple text file. I then discovered that a simple task like
File.ReadAllText("text.txt");
becomes something like below, with all the streams, readers, writers etc. Or can somethings be remov... | stackexchange/codereview |
I am using AXIS2 framework for my webservices creating. Now I am secured my webservices using ramprt. Now entire requests and response will be signed and encrypted.
Now my doubt is how can i test it in SOAP UI. when I am loading wsdl file it giving me as
below.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/... | stackexchange/codereview |
I have the requirement that the end user should not be able to go back to the restricted page after logout/sign out. But currently the end user is able to do that by the browser back button, visiting browser history or even by re-entering the URL in browser's address bar.
Basically, I want that the end user should not ... | stackexchange/codereview |
I have one table [table] with two columns that needs to be filtered: [column1] and [column2].
In my program I execute a query like:
select * from [table] where [column1] = 'foo' and [column2] = 'bar';
Which is faster:
Creating two indexes, one on each column. ([column1] and [column2])
Creating one index containing bo... | stackexchange/codereview |
I'm playing around with parsing an XMPP XML stream. The tricky thing about the XML stream is that the start tag does not get closed until the end of the session, i.e. a complete DOM is never received.
<stream:stream>
<features>
<starttls />
</features>
....
network session persists for arbitrary ... | stackexchange/codereview |
I have a multi module maven project and I'd like to be able to run an operation (antrun) after all submodules have finished their execution.
In my projects I build RPMs from each sub-module and in the deploy phase I copy the RPMs (by ssh) to an RPM repository.
The RPM repo requires me to run a createdb command after ad... | stackexchange/codereview |
I am very interested in how to sort 5 items using only 7 comparisons.
I think I understand the theory how to do it but unfortunately I'm not able to write it as a code.
Here I found an example in LISP
I really tried to understand it but it seems to me be not working. For example on the numbers 5,4,3,2,1.
Could anybody... | stackexchange/codereview |
I wanted to write an application that makes use of the camera taking extremely slow frame-rate video and uploading it. Right now I am reading over this: http://itp.nyu.edu/~sve204/mobilemedia_spring10/androidCamera101.pdf
My question was in regards to the camera's use. The above article makes use of a canvas to prev... | stackexchange/codereview |
I'm trying to clear up a grey area about this much talked about topic...
Like most devs, I've made some pretty URLs with mod_rewrite. My sites internal links point to the pretty URLs and things are working nicely.
But, I can still access the old URL if I point to it directly.
Now, this is most certainly going to caus... | stackexchange/codereview |
I'm trying to make sure I'm using sha512 for session hashing. When I print out my algos I get
Array
(
[0] => md2
[1] => md4
[2] => md5
[3] => sha1
[4] => sha224
[5] => sha256
[6] => sha384
[7] => sha512
[8] => ripemd128
etc....
)
So in php.ini I set it like,
session.hash_function = 7
The only reason i'm confused is ... | stackexchange/codereview |
i have an URL image, and i want to display it in a panel.
How can i do it ?
| stackexchange/codereview |
I am trying to reproduce the account chooser widget that the GMail app has on top right.
I know already how to put things in the title but i have several problems:
I've tried putting a normal button in the title but it doesn't fit
It looks like the size of the title is bigger than what it is, for example if I put a ... | stackexchange/codereview |
I have a form with contains, among others, a TextBox called "wmi_cell_phone" and a RadioButtonList "wmi_send_sms".
Basically, I need to create a validator that checks whether the value of the selected radio is "Y". If this is the case, then it checks if the TextBox value is empty or not. If it is empty, then it should... | stackexchange/codereview |
Just started using git on my mac. I have one file in my repository called README. When I change it, git puts another file in the directory called README~ containing the previous version.
Is it git doing this?
Why is git doing this?
How can I stop git doing this? (don't just want to add it to .gitignore, but I guess I ... | stackexchange/codereview |
I know you can draw with a canvas element, I just wanted to know if it was possible to draw a triangle next to a link without using a canvas element? I just want a small < 16px down arrow.
| stackexchange/codereview |
I create a new web project from netbeans and I chose ICEFACES for frameworks
Below I chose create welcomeICEFACES.jspx and welcomICEFACES.html, So when I run it Ok.
But when I want to start with a new page, for example Index.jsp, I edit web.xml but when run it start with http://localhost:8080/WebApplication1/welcomeICE... | stackexchange/codereview |
i'm trying to write a program for testing purposes that generates a sequence of pseudo-random printable ASCII characters, where you put in the command line how many characters you want. right now it's not working so well; the sequence is almost always majority ?s, and it doesn't always print the number of characters i... | stackexchange/codereview |
class CustomService(IProcessor processor) : ICustomService
The class CustomService has a dependency that will be injected. There are multiple implementations for IProcessor. Which implementation that should be used is determined by a setting that is stored in a database for the current user.
At first, I thought about... | stackexchange/codereview |
Let's say I have three value constructors:
A { a :: Int }
B { b :: Char }
C { c :: Bool }
I would like to create two types X and Y such that a value of type X can be an A, B or C, something like this:
data X = A {...} | B {...} | C {...}
and a value of type Y can be only an A or B, something like this:
data Y = A {..... | stackexchange/codereview |
Preliminary story
There is this program which uses the Parallel Port to synchronize with other hardware. It will set the Parallel Port output to a specified (byte) value. This works without problems when using the built-in Parallel Port of a PC. The target platforms are Windows XP to 7, all worked fine so far. Source c... | stackexchange/codereview |
I'd like to use .NET to create a board game.
I plan to implement a basic board game (something similar to chess, but less complicated) as graduate AI term project.
The GUI is not very important (it does not have to be easy to use, intuitive, animated etc), but if it doesn't add too much complication, then I want to ad... | stackexchange/codereview |
I wrote a piece of code that needs to be optimized. Just felt like checking with community to see if that code is indeed optimal. It fills up the accumulator for the Hough transform. I actually just copy pasted most the code from the OpenCV library. Thanks!
int i,j,n,index;
for (i = 0;i<numrows;i++)
{
for (j = 0;j... | stackexchange/codereview |
I'm using the jQuery UI button widget in a form that I need to validate for some radio/check box elements.
According to the demo in the provided link -
Their (the original elements)
associated label is styled to appear
as the button, while the underlying
input is updated on click.
if you inspect even the exa... | stackexchange/codereview |
I'm getting this error while attempting to make my WCF client and server talk to each other.
The X.509 certificate CN=localhost chain building failed. The
certificate that was used has a trust chain that cannot be verified.
Replace the certificate or change the certificateValidationMode. A
certificate chain pro... | stackexchange/codereview |
I have written servlet which actually writes bytes of an image into the response. I am able download the image by submitting form with action get or post to servlet. But how can I request this servlet without leaving the page?
I tried jQuery.get("http://localhost:8080/mydownloadservlet"). Request is getting received in... | stackexchange/codereview |
I'm trying to link against a library (libcef_wrapper_dll.lib) that was built with the /MDd flag. My application is build with /MDd and /CLR so should be compatible. The project compiles fine but when linking I get the very unhelpful error below:
Error 1 fatal error LNK1318: Unexpected PDB error; OK (0) '' ... | stackexchange/codereview |
I'm currently working on a website which main function is to search a relatively large database of companies. After submitting their search parameters, people will be redirected to a list of companies that match whatever they searched for and from there, they can see the details of any specific company if they wish by ... | stackexchange/codereview |
We’re using add-on domains for our multi-site Magento setup running off one skin file on domain1.com and was wondering how we go about setting up a favicon for each store?
We will have a total of 10 domains by the time we finish setting up this project so obviously want 10 different favicon’s.
I’ve tried this - http://... | stackexchange/codereview |
Application flow
An input file consists of multiple logical documents.
Extract one input logical document.
Parse the elements within the document.
Build an xml out of the input logical document.
Write that document back to a physical file.
What would be a good way to reduce memory needs?
Right now, I save all the l... | stackexchange/codereview |
I have an application that connects to MySQL using JDBC. There are cases where the JDBC connection lies idle for hours (maybe even days) and its loosing its connection to MySQL and then excepts when it tries to execute a query. What is the best solution for this?
| stackexchange/codereview |
...when the extracted method would suffer from low cohesion (not forming a good abstraction and having a poor name)?
For example, what name would you give to a following method?
private void foobar() {
Server.checkAllowedDeviceCount(socketAction._sess.getDeviceID();
socketAction.registerSession();
socketAct... | stackexchange/codereview |
if any of you are familiar with PyGTK links for beginners to grasp within a week, please let me know.
Thanks.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.