instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I want to know if it's possible to profile my web application when it's hitting a database on a SQL Server Express server with ANTS profiler.
Out of the box, I'm not able to. It's complaining about:
No event provider could be located for
the SQL server instance 'SQLEXPRESS'
Has anyone been able to get around this,... | stackexchange/codereview |
I have an issue with an asmx service I am trying to access. No crossdomain file. I read there is a way around this using HTTPService instead of a webservice. Still cannot load the wsdl. See code below. Any help would be greatly appreciated:
var dataService:HTTPService = new HTTPService();
dataService.url =
"http:/... | stackexchange/codereview |
I'm using an application that is very interactive and is now at the point of requiring a real analytics solution. We generate roughly 2.5-3 million events per month (and growing), and would like to build reports to analyze cohorts of users, funneling, etc. The reports are standard enough that it would seem feasible to ... | stackexchange/codereview |
I have an Android (developed on A2.2) app with following theme defined:
<style name="ProgressBar"> parent="@android:style/Widget.ProgressBar">
<item name="android:indeterminateDrawable">@drawable/progress_medium</item>
</style>
<style name="AlertDialog" parent="@android:style/AlertDialog">
<item name="android:f... | stackexchange/codereview |
Here is a an interesting problem. I have a view controller, let's call it MyViewController. One of it's members is a a custom view, let's call that MyCustomView. MyCustomView also has a reference to its parent, MyViewController, since MyViewController is used as a delegate for the custom view. The problem occurs when M... | stackexchange/codereview |
Is it possible to call Stata functions from R?
| stackexchange/codereview |
I am loading files from an .epub into UIWebViews for display. At the moment, the .epub is divided into individual files for each chapter. To display the chapters, I am just loading these files into UIWebView. I am trying to figure out how to break these down into pages depending on font size, styling, etc. It's proving... | stackexchange/codereview |
I have no problem testing my DAO and services, but when I test INSERTs or UPDATEs I want to rollback the transaction and not effect my database.
I'm using @Transactional inside my services to manage transactions. I want to know, is it possible to know if a transaction will be fine, but rollback it to prevent altering d... | stackexchange/codereview |
I see a lot of posts about beta testing from a technical standpoint (tools, deployment, etc) but I haven't been able to find anything regarding any code you can use to retrieve useful crash information from a beta tester's iPhone.
What do most people do in this case? I've heard of some people sending emails every time ... | stackexchange/codereview |
I have tried \a \7 the windows.h beep function etc etc and nothing works.
Does newer hardware not have this functionality built in?
(Console Program)
| stackexchange/codereview |
Is there any way to easly manage the label and other text in the appliatcion for support multilang?
Thanks
| stackexchange/codereview |
I am new to Transact SQL programming.
I have created a stored procedure that would drop and create an existing synonym so that it will point to another table. The stored procedure takes in 2 parameters:
synonymName - an existing synonym
nextTable - the table to be point at
This is the code snippet:
...
BEGIN TRAN Sw... | stackexchange/codereview |
After 4 years of using MySql for most php projects, I'm starting to realize that the way mysql stores data is not something I particularly like.
So I'm wondering if there are any "tree style" alternatives out there that store data in a fashion like this "user/blog/blogposts/blogpost1" for example?
Ideally it should be ... | stackexchange/codereview |
Complete beginner so I'm probably missing something obvious but...
I can't seem to combine an animate(width) effect with a this.hide effect, I can make either one work by commenting out the other. Here's the code:
function showSlidingDiv(column){
var maxWidth = 200;
var smallWidth = 80;
var myWidth = $(column).width();... | stackexchange/codereview |
In a PowerShell script I want to write to the console and a log file simultaneously.
I did this:
Start-Transcript -Path $TargetDir\Log.log
Write-Host "Stuff"
which works great, except that the newlines it generates are LF, which means my logs look great in literally every text editor except Notepad.
That's what I did:... | stackexchange/codereview |
I am using client side validation and I would like the message below to show only when I have an error. I am trying to use this a general error in case any field is invalid. Currently
"* denotes required field"
is always showing even before validation.
<%: Html.ValidationSummary(false, "* denotes required field.")%>
... | stackexchange/codereview |
I 'd like to use a vector::pointer so as to push_back data in it..
int num;
vector<int> v;
vector<int>::pointer ptr;
ptr = &v[0];
ptr->push_back(num); // fail
ptr.push_back(num); // fail
ptr.push_back(&num); // fail
*ptr.push_back(num); // fail
nothing appears to work.. any ideas would be appreciated..
| stackexchange/codereview |
Hey, I am using an application for obtaining the raw data from the image sensor on an Android device. The files I am getting out are in the YUV420SP format,and XnView does not supprt it. Does anyone knows which software I could use to get a proper image? (to convert it)
| stackexchange/codereview |
I tried an example where we need to pass a list as arguments and if condition succeeds I want to add result to a new list.
Here's the code:
(define get-description
(lambda (codeValue newList)
(cond
((= (car codeValue) 1) (cons "A" newlist))
((= (car codeValue) 2)(cons "B" newlist))
((= (ca... | stackexchange/codereview |
$str =sprintf "%014ld", "2555600000";
print $str;
This gives me the result:
-0001739367296
a negative number. Is there a reason for this behavior?
| stackexchange/codereview |
Hi I can't integrate the imenu with the CEDET code completion. what appears when I invoke auto-completion is another buffer with the possible words.
reference
My .emacs file:
(require 'color-theme)
(color-theme-initialize)
(color-theme-blue-mood)
;; Load CEDET
(load-file "/home/user/cedet-1/common/cedet.el")
(... | stackexchange/codereview |
I'm working a project that requires me to be able to draw a semi-transparent JPanel on top of components within the same container. Using the setComponentZOrder() method works well for overlaps (i.e., component underneath is not completely covered) but clips the component underneath when it is completely covered.
TLDR;... | stackexchange/codereview |
I'm doing asynchronous file I/O under unix using open/close/etc. I have everything working fine and I'm able to initiate background reads and writes and wait for them to finish using a select.
I have one issue left, however. I would like to find out how much data is left to read/write.
Now I assume this is an easy io... | stackexchange/codereview |
I have recently taken two SDL projects - a demo project, and one of my own and compiled with SDL under VC++ 6.0. In Debug configuration, I can get all key presses fine with the exception of the F12 key. If I press F12, I get a "user breakpoint" in NTDLL, no matter what.
Has anybody else experienced this or able to help... | stackexchange/codereview |
def top_cateogries_with_home(category_id=-1)
concat(raw "<select name='category_id' id='category_id'>")
container=[]
for category in Category.top
container.push([category.name,category.id])
end
concat(raw "<option value='-1' selected>首页</option>")
concat(raw options_for_select(container,... | stackexchange/codereview |
I found a workaround for my specific need, but I thought I'd ask this question anyway.
Say I have a typical data entry web project with a master page -- instead of using the Session variable and using Response.Redirect or Server.Transfer to redirect users who are part of the way through data entry to the next step, I'd... | stackexchange/codereview |
I have Ubuntu 10.04 and gcc version 4.4.3
I have been trying to install this library called SUPER_LU and there are some codes in it are written in Fortran. Typing "make" at the top level directory gives me the following errors
gaurish108@gaurish108-laptop:~/Desktop/Research Meetings/PETSC and SUper LU/SuperLU_4.0$ make... | stackexchange/codereview |
I'm used to winforms development, haven't done any WPF and I'm starting a Silverlight project. I understand xaml and all (and I've got some resources for learning it) but I'm wondering if there's any resources available that shows what controls are used in what kinds of situations.
For instance, if you look at the Busi... | stackexchange/codereview |
I saw this code
if (is_null($$textVarName)) {
$$textVarName = $_defaultTexts[$type];
}
what is code "$$" ?
| stackexchange/codereview |
I'd like to have my NSSegmentedControl with a segment selected when enabled and with no segment selected while disabled (the kind of behavior that the view NSSegmentedControl in iTunes has).
Here some images:
enabled and selected
disabled correctly
disabled but not correctly
(*) I recognize that I could write a f... | stackexchange/codereview |
the question can sound a bit unusual. Let's take a POD struct:
struct MyStruct
{
int myInt;
double myDouble;
AnotherPOD* myPointer;
};
The compiler knows the list of available data members. Do you know any way to get list of data member name (and type) either at compile time (better) or at run time?
I have a ... | stackexchange/codereview |
i am trying to display image from internet in my imageview.
which is raising following error any one guide me what mistake am i doing here
public Bitmap DisplayLiveImage(String ImageSrc)
{
Bitmap bm;
try {
URL aURL = new URL(ImageSrc);
... | stackexchange/codereview |
EDIT: I've posted a better implementation of this, below. I left this here so the responses would make sense.
I've done numerous searches for the correct method for writing a DLL in Delphi, and being able to call it from C#, passing and returning strings. A lot of the information was incomplete or incorrect. After much... | stackexchange/codereview |
My question can better be explained via example code. I am using POCO with change tracking proxies that is generated by the C# POCO generator by default. Please see below.
Assume you have Movie, MusicDirector and Director in the database and the relationship between them is a Director & MusicDirector can direct multipl... | stackexchange/codereview |
I am getting a crash when trying to use initstate_r:
(gdb) run
Starting program: /home/user/test.out
Program received signal SIGSEGV, Segmentation fault.
0x40052d00 in initstate_r () from /lib/libc.so.6
The code:
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define STATELEN 256 ... | stackexchange/codereview |
Below is my model details
class QuesManager(db.Manager):
def with_counts(self):
from django.db import connection
cursor = connection.cursor()
cursor.execute("""
SELECT Q.question, Q.title, Q.qid, V.up_qid, V.down_qid
FROM Question Q, Votes_ques V
WHERE Q.q... | stackexchange/codereview |
Hey, i am working on two programs at the same time. Assume A and B are two different folders in different directories. Is it possible to have them both be a part of the same git project? Because i use data from A as input for B, but since A is a web app, i've put it in public_html while B is in a different folder.
| stackexchange/codereview |
I am a student who needs help in uploading a zip file that contains CSV file into the GAE Server using java.
I am currently using uploadBean to upload my zip file in my server (Tomcat,localhost). Here is the code:
UploadBean upBean = new UploadBean();
upBean.setWhitelist("*.zip");
upBean.setOverwrite(true);
String pat... | stackexchange/codereview |
I'm looking at Hibernate Envers to solve two problems for me. First is auditing, fine. Second is the ability to roll-back a change made in a revision. This will be implemented by
Finding all the entities modified in a revision
Finding the corresponding previous version of each entity
Creating new versions that effe... | stackexchange/codereview |
Can I compare the data from two SQL Server 2008 RT databases using built-in tools in SQL Management Studio or do I need to look for some third-party tool to do this?
I've used "the Google" but only seem to get information about third-party tools.
Thanks.
| stackexchange/codereview |
It seems that Adobe Alchemy isn't running global constructors. Here's some simple test code:
#include <stdio.h>
class TestClass {
public:
TestClass(const char message[]) {
printf("hello %s \n", message);
}
};
TestClass global("global");
int main(int argc, char **argv) {
TestClass local("local");... | stackexchange/codereview |
I have users who can login on a front-end page, and admins who can login on an admin page.
Should both users and admins be "Users" with different roles, or should they be split in different tables?
| stackexchange/codereview |
I'm attempting to host a WPF form on a Viewport2DVisual3D surface. I've set up the camera so that the controls fit the width of the window. The default geometry maps the entire form onto a square face, so it is necessary to do some sort of transformation to get the surface to look like a regular 2d form and not appea... | stackexchange/codereview |
I want to use the Camera Image to get the google search results. I could not find a way to do that using Android API.
| stackexchange/codereview |
I've been working with Windows Azure and Amazon Web Services EC2 for a good many months now (almost getting to the years range) and I've seen something over and over that seems troubling.
When I deploy a .NET build into Windows Azure into a web role (or service role) it takes usually 6-15 minute for it to startup. In ... | stackexchange/codereview |
I am looking into plotting a very large data. I've tried with FLOT, FLOTR and PROTOVIS (and other JS based packages) but there is one constant problem I'm faced with. I've tested 1600, 3000, 5000, 8000 and 10k points on a 1000w 500h graph which are rendered all within a reasonable time on PC browsers (IE and FF). But... | stackexchange/codereview |
I am trying to make text appear on a FXCanvas. when I use this code:
def score_box(event)
FXDCWindow.new(@canvas) do |dc|
dc.drawText(640, 450, @score)
end
end
but it gives me an error saying I need to select a font, how do I do this? or could you provide anyway to make text on a canvas? Thanks
-bipolarpan... | stackexchange/codereview |
I've written a state machine for navigating an automated telephone system, where each state is represented by its own Java class file, for a total of 50+ classes. Rather than write the instantiation and factory code myself, I decided to use Spring for bean definition and dependency injection. This works fine, however I... | stackexchange/codereview |
The host that i am currently using has sketchy reliability when attempting to send an email within a script. (I think they are just really harsh about letting any spam getting through and they happen to filter out some legit stuff too). I basically need an alternative. I remember seeing a website that you can register ... | stackexchange/codereview |
I am newbie in WPF. I need make TwoWay and OneWayToSource bind to string variable. I want use richtextbox from Extended WPF Toolkit ,because I think it is the easy way.
So I try use richtebox from this library in xaml, code is here:
<Window x:Class="PokecMessanger.ChatWindow"
xmlns:extToolkit="clr-namespace:Mi... | stackexchange/codereview |
I'm new to Fluent and NHibernate and I'm not sure how to map this specific relationship that exists in my database. I have the following ER diagram below that outlines my table structure.
Below are my current C# entity classes:
public class GroupHeader
{
public virtual Guid Id { get; private set;}
public virtu... | stackexchange/codereview |
What is the best way to include a page header and footer within zf whilst using MVC?
At the moment I have this in my bootstrap:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap{
static public function displayHeader(){
return 'pageheader';
}
}
and then within a controller I can do someth... | stackexchange/codereview |
I have a simple Clojure program that queries an Oracle database and prints out results in a comma delimited format. This program works just fine running it normally through Clojure.main. I want to compile this program and followed the instructions from here:
http://java.ociweb.com/mark/clojure/article.html#Compiling... | stackexchange/codereview |
I've seen some references to actually using Windows 7, however I expect that a Linux partition on my Laptop would be a better choice. Other than the Andriod SDK, what other dev tools are "essential" for Android?
I'd also be interested in knowing the system requirements for a reasonable IPad development system and "ess... | stackexchange/codereview |
I can't make my application to insert into a table with foreign key relation.
I'm using SqLite3 & Mono 2.8.
My sqlite scripts look as follows:
CREATE TABLE IF NOT EXISTS appointments (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name VARCHAR(100) UNIQUE);
CREATE TABLE IF NOT EXISTS courses_appointments (
course_cod... | stackexchange/codereview |
i have designed a Page just like Yahoo Sign Up Page.. i want to do such that when i fill all the required fields of that page, those filled values get displayed on a textbox.
i wrote a code i.e:
TextBox9.Text = TextBox1.Text;
TextBox9.Text = TextBox2.Text;
TextBox9.Text = TextBox3.Text;
TextBox9.Text = TextBox4.Text;
... | stackexchange/codereview |
I have a spreadsheet with some values in column G. Some cells are empty in between, and I need to get the last value from that column into another cell.
Something like:
=LAST(G2:G9999)
except that LAST isn't a function.
| stackexchange/codereview |
I've followed the instructions Learn IIS's webpage for adding static redirects with a rewrite map for my asp.net application.
The following is the config:
<rule name="Redirect rule1 for Information" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
... | stackexchange/codereview |
I'm doing a project where we want to create a video inside an iPhone app and upload it to YouTube. I've seen the you upload the video using Google's Data API (http://code.google.com/p/gdata-objectivec-client/).
However it seems that you need to upload the movie as an actual movie. Has anyone got any experience on makin... | stackexchange/codereview |
I'm trying to understand the best way to use Spring (for dependency injection) with ICEfaces (Spring 3, ICEfaces 1.8.2, JSF RI 1.1).
Regarding the Spring reference manual, there are several possibilities to handle EL resolutions of beans:
If I use SpringBeanVariableResolver (which look best at first sight):
Beans that... | stackexchange/codereview |
Is there a way in NHibernate to map the result of a count query to a property on a class? I'd like to do this in the XML mapping.
I know I could formulate this via code (either with a construct that actually queries the count, or by cheating, doing the full query, and counting the resulting items), but it would be nic... | stackexchange/codereview |
The php documentation suggests that I should end each ob_start() with an ob_end_flush(). I am using one on each page of a site, just to allow me to use firephp log methods anywhere in the app.
the app works fine, but I wonder if there is anything I don't know that might be detrimental.
| stackexchange/codereview |
I'm trying to integrate NCover into my CC.net build. I followed an article I found here http://csut017.wordpress.com/2009/05/29/improved-ncover-integration/ that I pretty much followed verbatim except that we use xUnit instead of nUnit for our unit tests. The problem is NCover never runs on the build server with this c... | stackexchange/codereview |
Lets say I have a table with columns A , B , C , D and I want to do a match on column A and C
I see that you can either match a single column or all column in sqlite ie
- match column A
select * from table where A match 'cat'
- match all columns
select * from table where table match 'cat'
Is it possible to match onl... | stackexchange/codereview |
is there an algorithm that is faster than binary search, for searching in sorted values of array?
in my case, I have a sorted values (could be any type values) in an A array, I need to return n if the value I was looking is in range of A[n] and A[n+1]
| stackexchange/codereview |
I am trying to learn Verlet integration, mainly because I'm bored, and want to spice up my normal "bouncing ball" learning exercise.
I have a simple bouncing ball Canvas/HTML5 page at http://sandbox.electricgrey.com:8080/physics/. If you click on it you'll notice that the ball doesn't always bounce back to the same hei... | stackexchange/codereview |
I'm looking for a (portable) way to get system information, i.e cpu clock and manufacturer, available memory, etc.
Is there a way to do this with Qt or do I have to write OS specific code?
| stackexchange/codereview |
I have a WCF service contract defined as follows:
[OperationContract]
[WebGet(
UriTemplate =
"HubContent/{language}?apptype={appType}"
,
ResponseFormat = WebMessageFormat.Json)]
HubResults GetHubContent(string language, string appType);
In the implementation of this contract... | stackexchange/codereview |
I have a simple tabBarController application where the user can navigate around 3 views.
In one of the views I have a UIButton that when touched moves the user to a fourth view. the problem is that the new view doesn't have the tab bar navigation visible.
what do I need to do to the fourth view to have it also use the... | stackexchange/codereview |
I'm having issues with data persisting inside of multiple instances of objects I'm creating.
I have a class "IconViewController" that extends UIViewController that I pass information to, such as the name of the image it should be using:
//IconViewController.h
@interface AppIconViewController : UIViewController
{
... | stackexchange/codereview |
I am using VS2010 and I am making a call to a vendor's web service, which they use WSE i web services. I can not find in "Add references" to add the namespace/dll. It works when i created a project in VS2005.
I Found this blog and it indicated on how to get it recognized.
http://www.junasoftware.com/blog/how-to-use-wse... | stackexchange/codereview |
I m running server on Linux console which written in C and creating client in android. i have not getting any error on DDMS but following Debug message come
11-12 20:38:06.787: DEBUG/SntpClient(60): request time failed:
java.net.SocketException: Address family not supported by protocol
but message will not go to th... | stackexchange/codereview |
Is there an API which I can use to integrate face time in my app?
Didn't find anything on google :(
| stackexchange/codereview |
I am making an app that uses a lot of fairly big image files. I notice it crashes when they all get loaded on my iPhone 3G (128 mb ram), but not when I test it on a 3rd gen iPod (256 mb ram). So I assume there must be some percentage that is allowed for each app to use? My app has about 30 images at about 440k each ... | stackexchange/codereview |
For one of my classes we need to calculate the session length for a user visiting a website. We were given a web log. The web log is in this format:
IPAddress date httpMethod httpStatus size referrer browserInfo
The httpMethod looks like this: GET /include/main_page.css HTTP/1.1
The referrer is always the main pag... | stackexchange/codereview |
I try to use the following code to draw a square-shaped pixel with opengl
glPointSize(5.0f);
glBegin(GL_POINTS);
glVertex3f(1.0f, 1.0f, 1.0f);
glEnd();
However, the final result is a circle-shaped pixel.
Please take a look the reference http://risknfun.com/compform/w1.html
See the "Problem 4. A Grid". On the right sid... | stackexchange/codereview |
is there a common pattern in Java to avoid mongoDB injection attacks?
Thanks
| stackexchange/codereview |
How do I find the total number of frames in a video with ffmpeg?
| stackexchange/codereview |
I have several commandbuttons in different sheet. Now I want the user to be able to run all at once if wanted. Therefore I want to use a new CommandButton that runs all CommandButtons in all Worksheets. However I allways get a error message..I have to approaches and have not worked out for me:
running the subs:
Private... | stackexchange/codereview |
I am able to set the FTP home directory based on username or site name. Is it also possible to get the virtual hostname and use that?
It is possible to access this in IFtpLogProvider.Log using FtpLogEntry.HostName. I just can't see a way to do it in GetUserHomeDirectoryData.
Thanks,
Barry
| stackexchange/codereview |
I cannot get my head around how to use interfaces and why they are needed. Can someone please show me a simple example?
| stackexchange/codereview |
I'm following a tutorial here. It keeps using '@' characters in front of stuff. Can I just confirm... does '@' identify variables within a query?
Thanks,
James
| stackexchange/codereview |
I'm using a website which interacts with SQL Server Agent in order to schedule the automatic processing and emailing of reports. I recently noticed that when the AppPool recyles, that i'm not getting reports afterwards - until someone logs into the website again. It's possible for the website not to get hit for hours... | stackexchange/codereview |
What's the best way to version large amounts of binary files, say audio and video files? Git doesn't seem like it's really designed to handle large amounts of binary files.
The other issue is that content produces don't necessarily want to learn how to use a developer's tool like Git.
Has anyone found a good binary ver... | stackexchange/codereview |
I am working a Yelp-like project that associates reviews to places. Yet, we don't have any database of places and we'd like to leverage a third-party api.
We'd like to start with a auto-complete search box like on Google Maps. For example, the user enters "tamar" and it suggests "Tamarine Restaurant, Palo Alto, CA, Uni... | stackexchange/codereview |
I'm reading "Multithreaded, Parallel, and Distributed Programming" by Gregory Andrews, and in this book the author mentions that he'll show how to use locks "in combination with condition variables to simulate monitors".
I have also heard several times that "mutex lock + condition variable" is a common pattern in progr... | stackexchange/codereview |
I have a query that's written dynamically (OO PHP via Joomla) to insert some values into a MySQL database. The form that a user fills out has a field on it for dollar amount, and if they leave that blank I want the value going into the system to be NULL. I've written out the query to the error log as it's running; this... | stackexchange/codereview |
I get strange behavior with respect to memory with Matlab and the cell2mat() function...
what I would like to do is:
cell_array_outer = cell(1,N)
parfor k = 1:N
cell_array_inner = cell(1,M);
for i = 1:M
A = do_some_math_and_return_a_sparse_matrix( );
cell_array_inner{i} = sparse(A); % do sparse() again ... | stackexchange/codereview |
I want to create an Bluetooth chat room for pc
i will use visual studio 2005 as the front end
i just want to know how do i connect one system to another system with each other
and send data or message using an Bluetooth in vc#.net
software like intranet chatting use's LAN as connection medium
traditional way to conn... | stackexchange/codereview |
The webservice returns the following string
"ID: xxxx Status: yyyy"
How do I get the value ID value without the "ID :" text, and "Status" value without the "Status: " text.
Id value should be xxxx
Status value should be yyyy
the value length is unknown.
| stackexchange/codereview |
I am trying to calculate the exponent of a number. When I do everything as int I get the correct result, but the output must be float, when I try to convert with %f in printf() I get 0, when I use %d I get the correct result. I cannot change the main() portion of the program, I can only alter the *powerArgs() function.... | stackexchange/codereview |
I would like to know if there's a way to conceal the text of a stored procedure from certain users.
I'm working with MySQL 5.1.48 and Net Connector 6.2.3 with Visual Studio 2008 SP1.
I have two users in MySQL, one is root (with all privileges for administration porpuses) and the other one is admin (with select, update,... | stackexchange/codereview |
I have some javascript placed inside of the jquery $(document).ready function. It searches for an anchor in the url, and then runs a separate function to display matching content.
The code executes if I place an alert inside of the if statement somewhere, but wont' run otherwise. I've stored all the anchor names in a... | stackexchange/codereview |
There are various ways to obfuscate email addresses on the web, but most of them don't work when you need to have a mailto: href.
I generally use name[AT]domain.com, because I think it's fairly obvious to the user what they have to do to get a real email address, but I wonder if there's any benefit to this (as it's eas... | stackexchange/codereview |
There seems to be some discussion on whether log4net is thread-safe, the consensus is that the framework is thread-safe, but appenders are not and need to be used correctly to achieve thread-safety. can someone shine some light on this and possibly give example of lets say RollingFileAppender used in a thread-safe way?... | stackexchange/codereview |
I need to capture audio in mp3 format using Java and was looking for any sample code. Any code that converts wave file into mp3 would also work. The code should work on Windows and Mac. I looked at JLayer but could not find any sample code. I used JMF but the CaptureDeviceManager does not find any device.Please let me ... | stackexchange/codereview |
I am using JSLint to ensure my JavaScript is "strict" and I'm getting the following error:
Expected an assignment or function call and instead saw an expression
On the following code:
(my_var > 0 ) ? $("#abc").html(my_array.join('')) : $("#abc").html('<h2>Hello ' + persons_name);
Any ideas why I'm getting such an er... | stackexchange/codereview |
I have a C# application, and I need to dump some output to a log file during operation. I am wanting to give the user the option of where to locate the log file, but by the client request it needs to default to the current application location, which is normally /Program Files/.
When I deploy my application on a Win7/V... | stackexchange/codereview |
our hudson build is succeeding, but hudson is somehow reporting a failure.
what is the criteria that hudson uses for determining failure and success?
BTW, Our build updates a .xml file with the results of the test. I've checked, and it appears that hudson is correctly updating this file (The modification time matches)... | stackexchange/codereview |
I have a configuration where I need to store multiple Regex expressions in one string so I can split the string into an array of expressions that I can process individually. What would be a good delimiter I can use for the split that won't be too complex and at the same time not get confused with parts of the actual r... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.