instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
It seems my Google-fu is failing me.
Does anyone know of a freely available word base dictionary that just contains bases of words? So, for something like strawberries, it would have strawberry. But does NOT contain abbreviations or misspellings or alternate spellings (like UK versus US)? Anything quickly usable in Jav... | stackexchange/codereview |
I am implementing a custom membership and role providers where I need to store all the role/membership information in the user's session.
I am implementing these custom providers inside a class library project (different from the website project) and need to access the session in them. The idea is to store the role/mem... | stackexchange/codereview |
I'm using xml file to define progress bar.
I defined padding on background shape. But this setting will be sometimes displayed correctly, sometimes not.
So If I start my application or Activity with progressbar inside, there will be correctly displayed progressbar with background and 'padded' progress. Then I close my ... | stackexchange/codereview |
This may be trivial, or not, but I'm working on a piece of software that will verify the "end of the line" domain for ads displayed through my web application. Ideally, I have a list of domains I do not want to serve ads from (let's say Norton.com is one of them) but most ad networks serve ads via shortened, and crypti... | stackexchange/codereview |
I have such lines in routes.rb:
scope "/:subdomain/" do
resource :order, :only => [:new, :create, :show, :update, :edit, :destroy] do
get :cancel, :on => :member
put :counter, :on => :member
end
end
And for example, this is typical url: http://mydomain.com/some_subdomain/order/new . This url is ... | stackexchange/codereview |
I'm just starting to mess around with a very, very basic call to the
Twitter API (http://api.twitter.com/1/statuses/user_timeline.json) to
pull my tweets to my website through cURL. However, using a page that
nobody knows exists yet (thus eliminating the possibility of
inadvertent traffic), I'm getting a Rate Limit Exc... | stackexchange/codereview |
Could please anybody explain what are pros and cons of this? I mean, without using ORM framework/JPA specification.
It concerns many-to-many and many-to-one relationships between entities. Imagine entity relationship
teacher - student (many-to-many)
or
doctor - patient (one-to-many)
My question is, whether we cou... | stackexchange/codereview |
I am trying to call a python script from a windows executable, ultimately the goal is a windows service that I can plug various scripts into, for example to pull back email attachments (since python has good imap support). Of course, I am a total newb so I am clueless :) I get an unhandled exception:
System.NotImple... | stackexchange/codereview |
I have just started learning struts 2. I have purchased the book named Struts 2 in action. But I want to use an IDE for developing Struts 2 applications. I basically use netbeans.
Please tell me how can i develop applications using netbeans. Also, it would be great if somebody can point out a few tutorials on the same... | stackexchange/codereview |
I've got the following code to extract keywords from a string:
var results = text.Split(new char[]{' ',',','.','!','?','_',':',';','/','(',')','\n','\r','-','*','"','/','\\','$','%','+','-','='}) // default split by whitespace
.GroupBy(str => str) // group words by the value
.Select(g => new
... | stackexchange/codereview |
Right, so I'm new to Castle and I'm trying to figure out how far I need to go to wire up a service. Below is a sample of the classes I'm working with and where they sit in the world I've created.
What I'm trying to accomplish it to properly wire up Castle so that I can call the TemplateEmailViaSalesforce class to do ... | stackexchange/codereview |
I'm playing around with hooking into functions, the hook will call the method of another object, what is the best way of changing the value $price in the parent function before it is returned?
function _product_price ($price,$taxable = true)
{
$shop->_hook('PRODUCT_PRICE_BEFORE');
$price = 100.00;
$shop->_h... | stackexchange/codereview |
I have a Winform app that has 16 SQL Connections currently stored in the DAL Projects Settings.settings.
I am trying to write a "Manager" class to simplify this(like here). However, most of the examples I find on the web seem to use ConfigurationSettings.AppSettings["something"]. While, I WAS using Properties.Setti... | stackexchange/codereview |
I currently need to make a table that holds the unique sets of attributes for another table. That is, I have a table that looks like this:
Table A : columns = col 1, col2, col3, col4, col5
And I need to produce this:
Table B : columns = columnName, value
col 1, col1attribute1
col 1, col1attribute2
col 1, col1attribute3... | stackexchange/codereview |
I'm working on an application that has a large number of inputs for certain types (50 money inputs, 30 date inputs etc).
I have been creating an CompareValidator for each one to make sure users are putting in the correct information but I am curious if there is an easier way to create the validation once and apply it... | stackexchange/codereview |
Planning to calculate page response time using "Timer Extension" using http://wiki.openqa.org/display/SEL/Timer+Extension.
I have copied the code in "User-Extension.js" and updated the path in Selenium RC.
When I execute following code using eclipse, I am getting following error message "method timerStart(string) is un... | stackexchange/codereview |
How can I obtain the value of a boolean field in an SQLite database on Android?
I usually use getString(), getInt(), etc. to get the values of my fields, but there does not seem to be a getBoolean() method.
| stackexchange/codereview |
Store the users input from a text field in a variable. Any ways to do this?
| stackexchange/codereview |
What is the easiest way to develop dot net nuke modules ? I tried VS starter kit, but you have to copy modules to the web server and run them there.
Is it possible to setup the dev environment that you could just hit 'F5' and see/debug your module.
| stackexchange/codereview |
I have a problem with the MPMoviePlayerViewController: If the controller can't find the movie at the specified URL it displays a white screen and I can't make it go close.
This is how I start the movie player:
- (void) playVideo:(NSString*)path
{
NSURL* url = [NSURL URLWithString:path];
[[NSNotificationCenter defau... | stackexchange/codereview |
I have a rake task that processes a set of records and saves it in
another collection:
batch = []
Record.where(:type => 'a').each do |r|
batch << make_score(r)
if batch.size %100 == 0
Score.collection.insert(batch)
batch = []
end
end
I'm processing about 100K records at a time. Unfortunately ... | stackexchange/codereview |
First, a little background: I'm working on building a simple graph class with basic graph algorithms (Dijkstra, Floyd-Warshall, Bellman-Ford, etc) to use as a reference sheet for an upcoming programing competition.
So far I have a functioning version of Floyd-Warshall, but the downside is that so far it's only getting ... | stackexchange/codereview |
I don't know where to find the "Share Wishlist" email template. I want to change the part where it says "Demo Store" to the proper store name. I also want to change it to a variable that points to the store name specified in the store configuration so that it automatically changes whenever the store name changes.
| stackexchange/codereview |
i started creating application only using dpr file in delphi 2009 , i think all basic things work i use system ,sysutils and more.... but now i want to use timer and some other non-visual components (some basic indy components to use internet) is there any ways to do this
i do not bother using units (but not forms)
| stackexchange/codereview |
Hi
I'm trying to obtain hibernate's Session through Spring's injection.
Here's my spring context xml:
<!-- hibernate's session factory -->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="configLocation">
<value>classpath:./hibernate.cfg.xm... | stackexchange/codereview |
I'm doing a few projects in python right now, and I'm trying to figure out how to work with my own versions of existing open source packages.
For instance, I'm using tipfy with zc.buildout, and I've added in the 'paypal' package. Unfortunately it doesn't have a feature I need, so I've forked it on github and added the ... | stackexchange/codereview |
Let's say I want to parse Sherdog news feeds. Is the only way to retrieve them by parsing the public xml files? Is there not some service that sites have that "pushes" the content onto your server?
I'm under the impression the common way to do this is to setup a cron job that say, every 10 minutes hits a page such as ... | stackexchange/codereview |
Are there any libraries out there that make it easy to compare the "likeness" of 2 strings in C#? What I am thinking is if you have the strings,
"This is a test" // 100%
"THIS IS A TEST" // 95%
" This is a test" // 98%
"This is" // 60%
"Foobar" // 0%
"this test is a" // 70%
etc. They would each be given a score c... | stackexchange/codereview |
When using the STL sort algorithm on a vector, I want to pass in my own comparison function which also takes a parameter.
For example, ideally I want to do a local function declaration like:
int main() {
vector<int> v(100);
// initialize v with some random values
int paramA = 4;
bool comp(int i, int j... | stackexchange/codereview |
I've looked at a number of packages for graph layout (Graphviz, Gephi, Cytoscape, NetworkX to name a few of the more prevalent) and none of them seem to scale to this sort of size. What techniques exist for either visualizing graphs of this size or reducing them to something more manageable?
| stackexchange/codereview |
I am using Drupal. I have used hook_menu to grab data into Drupal from an outside web service.
I love using CCK, Contemplate, and Views; I would like to be able to theme the data coming into Drupal using Contemplate or Views or the CCK system.
Is there a way to either:
Merge the data into the PHP $node or
$content ar... | stackexchange/codereview |
The operating system requires hardware support to fulfil some of its functions.
Can you give me three examples of hardware mechanisms, which can be provided in a modern computer system to support operating system.
================== my attempt was as below:=======================
Hardaware security, hardware protection... | stackexchange/codereview |
I need to populate a listbox with the names of directories so where would I put my method to run when the application starts (MainWindow, Window_Loaded or something)?
| stackexchange/codereview |
Hey guys, I'm working on a module based zend framework application, which uses the following structure:
application
modules
backend
controllers, models etc...
frontend
controllers, models etc.
Hence all frontend models would be initated by called new Frontend_Model_*()...
B... | stackexchange/codereview |
I would like this address:
http://www.example.com/account/?a=b&c=d
to be translated internally as
http://www.example.com/account.php/?a=b&c=d
using the rewrite module syntax in the .htaccess file.
Any help, please?
Thanks,
Dan
| stackexchange/codereview |
In here:
http://gcc.gnu.org/projects/cxx0x.html
They're saying that dflt tmp args in fnc are supported by their 4.4 ver. I run ver 4.4.1 and when I try to compile this:
d - guess what this d is here for? ;)
#include<vector>
template<class Key, class CollT = std::vector>
CollT* delete_(Key kValue)
{
... | stackexchange/codereview |
When adding a role (making use of asp.net's role provider), i cannot find a method to add a role including a description.
the asp.net Role table in SQL makes provision for a role description, however the only method available is:
Roles.CreateRole(string RoleName);
there is no overload to include a description.
Is ther... | stackexchange/codereview |
I have a Perl-Tk code and that code createas a GUI with 5 Tabs in it. My requirement is i need to insert a Image (logo) that should be a watermarking image and that should come in all the 5 Tabs. I searched in internet and there are no such ways available.
Does any one knows ??
Code is given below.
#!/usr/bin/perl
use... | stackexchange/codereview |
I have the following code for checking internet connection wifi/EDGE/GPRS/3G on my application.
the code is
public static boolean checkConn(Context ctx) {
ConnectivityManager conMgr = (ConnectivityManager) ctx
.getSystemService(Context.CONNECTIVITY_SERVICE);
if (conMgr.getNetworkInfo(0).getState() ... | stackexchange/codereview |
I am returning a list of IEnumerable from one method. How do i remove an element from it?
i want to do something like :-
objIEnumerable.remove(objCustomer)
Thanks in advance :)
| stackexchange/codereview |
The positions from Wi-Fi or Cellular Tower by iPhone CLLocationManager are not accurate enough for tracking routes. I want only the positions from GPS.
For the moment I use newLocation.horizontalAccuracy in didUpdateToLocation to filter:
if (newLocation.horizontalAccuracy < 0 || newLocation.horizontalAccuracy > 100) r... | stackexchange/codereview |
How can I use try/catch/finally to make sure that the function will return value?
I'm reading cells from an Excel sheet. Sometimes the parsing operation is not always working. I need to return 0, if, for whichever reason the operation fails.
try
{
//1. read cell value from excel file
//2. get the value, convert it ... | stackexchange/codereview |
If I use a fixed width and overflow: auto then I can get scrollbars but I can't use the available width of the screen.
If I use no width then the table uses all available width but forces the document itself to have scrollbars when the browser window is too narrow.
How can I get the best of both worlds? Is there a non-... | stackexchange/codereview |
I really have no clue how to figure this out. I've read through all the normal forms, but still have trouble understanding it. I hope someone can help me understand it.
Relation schema is R(A,B,C,D,E,F) with (A -> BCD, BC -> DE, B -> D, D -> A).
What is the highest normal form and why?
Any help is appreciated, thanks.... | stackexchange/codereview |
The following code has segfault problems (It is also posted at pastebin):
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "mygetch.h"
#define MAX_SIZE 255
#define SCR_CLEAR "\033[2J\033[;H"
void getgrid(int, int);
void resetgrid(void);
void getkey(void);
static bool grid[5][5] = {{0,0,0,0,0},
... | stackexchange/codereview |
For example, if there is a CSS sprite with n x m elements on it, and there is an arrow head, arrow body, and arrow tail, each separately.
Can the arrow head be attached to a div with variable length, with the background of the arrow body, but repeat-x or repeat-y, and attach the arrow tail? I was thinking that you can... | stackexchange/codereview |
Lately I have been thinking about developing some basic android app. Its only due to personal interest. Please guide me where to start from, what tools I require and any pointers to certain pdf's etc.
My background:
1) Embedded software developer in C.
2) Had got some chance to work on flex. Hence familiar with eclipse... | stackexchange/codereview |
I have started to learn assembly. I came across these lines.
;*************************************************;
; OEM Parameter block / BIOS Parameter Block
;*************************************************;
TIMES 0Bh-$+start DB 0
bpbBytesPerSector: DW 512
bpbSectorsPerCluster: DB 1
bpbReservedSectors: ... | stackexchange/codereview |
I have one table ta1.
In this table, I have already inserted one record item1(key), val1(nonKey).
Now I want these records to be case insensitive.
i.e. if I want to insert ITem1,val2, then I want sqlite to give constraint error.
Is there any way to achieve this?
Also, I want only this particular table to contain case i... | stackexchange/codereview |
I have a bit of Perl CGI code which I'm trying to run in the project web space of a SourceForge account. The code is able to set a browser cookie just fine when talking to IE, but the cookie is not set when talking to Firefox. When I test with Apache on "localhost", both browsers work fine. It's only on the remote S... | stackexchange/codereview |
The following code retrieves all bytes data at once.
I'm wondering how to access byte data stored in chunk using entity framework. Since files are so big (around 50MB), I want to send it to user by chunks as soon as I get partial bytes from database.
using (Entities context = new Entities(EntitiesConnectionString))
{
... | stackexchange/codereview |
I have a windows hosted mercurial repository that UserA, UserB and UserC have rights to push to. UserA can happily push/pull etc...but once UserC pushes...UserA starts to receive the following error:
abort: HTTP Error 500: .hg\store\data/_web/_mvc._sitemap.i: Access is denied
The only 'fix' for this is to nuke and re ... | stackexchange/codereview |
I have an iPad app that has linear navigation with a Navigation Controller. I am pushing View Controllers one at a time with gestures. I also have a PopOverController menu that can push View Controllers. Trouble is, when I push more than 20 it crashes.
Do I have to manually remove View Controllers from the stack after ... | stackexchange/codereview |
While checking why a page is loading fairly slowly, I saw that
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb
is being run. Why is it running (is it something in the config file? or is it something standard in development mode?)
Won't it cause a page to load extra slow? Is there a way to turn it off... | stackexchange/codereview |
I'm considering what base URL to use for a REST web service. I have the option of using one of the following formats:
https://domain.com/api
https://api.domain.com
I'd like to make it both easy to use from client-side javascript apps and secure against forged request attacks. Is there a best practice to follow here?
| stackexchange/codereview |
I get the following error in Xcode:
Error: 175002 (RA layer request failed) Description: OPTIONS of 'http://User@192.168.0.107/svn/MyProj/MyProj.xcodeproj': could not connect to server (http://192.168.0.107)
I made two changes since the last time it worked:
The local IP address of the computer it's connected to has ... | stackexchange/codereview |
I try parse image url from html with HtmlAgilityPack. In html doc I have img tag :
<a class="css_foto" href="" title="Fotka: MyKe015">
<span>
<img src="http://213.215.107.125/fotky/1358/93/v_13589304.jpg?v=6"
width="176" height="216" alt="Fotka: MyKe015" />
</span>
</a>
I need get from this im... | stackexchange/codereview |
How to check with php/sql if any of fields in database that are selected in while loop is 0?
$res = mysql_query('SELECT id, name FROM table'); \\check here?
while($row = mysql_fetch_array)
{
\\or check here?
}
Thanks in advance!
EDIT:
I need to select all fields and then check if any one of them is 0.
| stackexchange/codereview |
I am currently learning LINUX commands and I am wondering how to run commands within the .plan file.
For example i want to a message as would be output from the ~stepp/cosway programs.
I typed ~stepp/cosway "HELLO" but it didn't work. What is the command for that?
Also how do I set all files in the current directory an... | stackexchange/codereview |
I've got 3 frames in a frameset, and after one frame has reloaded I want to jump one of the other frames down to a particular anchor.
Does anyone know how to do that?
I've currently got this javascript but it doesn't seem to work (LEFT_FRAME_ID has already been set):
parent.frames[parent.LEFT_FRAME_ID].hash="#100";
Tha... | stackexchange/codereview |
I have a program that's using adt / abstract data classes with data structures.
Object -> Ownership-> container -> stack -> queue -> queueslinkedlist , etc..
I switched to code blocks from visual studio because I was having ostream issues..
I commented out some functions in order to track down issues..
I am trying to ... | stackexchange/codereview |
I have a list of files in a directory. I have to process only certain files from that directory. filelist is my desired file-list. How do I go about achieving this? Not interested in a bash solution since I have to do it all in this one Python script. Thanks much!
for record in result:
filelist.append(record[0])
p... | stackexchange/codereview |
In here:
http://gcc.gnu.org/
My first question:
1. How is it possible (see the news column) that
News
October 1, 2010
GCC 4.4.5 has been released.
July 31, 2010
GCC 4.5.1 has been released.
May 22, 2010
GCC 4.3.5 has been released.
April 29, 2010
GCC 4.4.4 has been released.
April 14, 2010
GCC 4.5.0 has been released.
... | stackexchange/codereview |
I have a php page that contains a form with 7 drop down boxes.
The problem is that the 0 to 6 boxes may be unselected.
It would be a lot of work to make a switch with a case for every combination.
What other method can i use?
thanks,
Sebastian
EDIT
For each combination i have to make different queries that contain only... | stackexchange/codereview |
I'm using mac os x and would like to use the command svn update *. it works but only updates some of the sub folders. how can i get this to happen recursively?
| stackexchange/codereview |
I have the Index file like this
<?php
include('file1.php');
include('file2.php');
?>
in file1.php I am having the code like below.
<?php
echo "hai";
?>
I am trying to redirect the page by using header('Location:index.php').It throws an error something like the output already started.I know for header if we give the e... | stackexchange/codereview |
I am trying to develop a URL shortener application for practice with Django. I do not understand how can I create unique strings for each long URL to use as a short URL. Something like other popular URL shorteners do. How can I do this? Is it possible to make all short urls of the same length?
| stackexchange/codereview |
I have a 16-core machine but my current resizing function only uses one core, which is really inefficient for a large directory of images.
def generateThumbnail(self, width, height):
"""
Generates thumbnails for an image
"""
im = Image.open(self._file)
(detected_width,detected_height) = im.si... | stackexchange/codereview |
I am trying to read a csv file with repeated row names but could not. The error message I am getting is Error in read.table(file = file, header = header, sep = sep, quote = quote, : duplicate 'row.names' are not allowed.
The code I am using is:
S1N657 <- read.csv("S1N657.csv",header=T,fill=T,col.names=c("dam","anim","... | stackexchange/codereview |
As part of a tool I'm writing I want to have a diagnostic that will tell the user whether they have configured their domain's DNS correctly for a particular service. I want to query the authoritative DNS server for their domain so that I can bypass any cached results.
| stackexchange/codereview |
After:
brew install mysql
mysql_install_db
and I try to stop the MySQL server:
$ mysql.server stop
Shutting down MySQL
.. ERROR! Manager of pid-file quit without updating file.
How can I fix the above error? Thanks!
Info:
$ mysql -v
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is... | stackexchange/codereview |
I have to deploy a Django application onto a SuSE Linux Enterprise 11 system. Corporate rules say I need to deploy using RPMs only. While I can use ./setup.py bdist_rpm for each dependency, it's not really sane, since RPM doesn't record all of the dependencies yet. Therefore I'd have no real advantage in using RPMs and... | stackexchange/codereview |
Although this has been discussed many times here in Stackoverflow, I couldn't get the loader gif to display in Google Chrome. In Firefox 3.6, the code I have below works just fine for displaying the little gif whenever I make an ajax call but the same code won't display anything if working with Google Chrome. Since our... | stackexchange/codereview |
How we can use DirectorySecurity class for getting write access to a directory?
| stackexchange/codereview |
Have app displaying fine on HTC Desire,
but on Samsung Galaxy pad it does not fill the screen space.
How do I make my Android HTC Desire app fill the screen of Samsung Galaxy pad ?
Details:
Layoutfile for start activity:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="verti... | stackexchange/codereview |
How do people design their service layer interfaces?
I'm programming a large web application (in PHP) and we're using MVC, and programming thin controllers e.g. (pseudo code follows)
public savePersonAction() {
$input = filter($_GET);
... input validation ...
$result = $this->_service->savePerson( ? );
... | stackexchange/codereview |
According to http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html#getDeclaredMethods%28%29, Class.getDeclaredMethods() should only include methods "declared by the class". However, I am getting some pretty surprising results with the test code below:
import java.util.Arrays;
class A {
public static A... | stackexchange/codereview |
We are in the process of building a system which allows users to upload multiple images and videos to our servers.
The team I'm working with have decided to save all the assets belonging to a user in a folder named using the user's unique identifier. This folder in turn will be a sub-folder of our main assets folder on... | stackexchange/codereview |
I am trying to pass parameters to a popup window via query string(a hidden field id & a textbox id). However, since I am using master pages the id's are very long (ct100_someid). Is there a way to elegantly pass my ids ?Can I shorten my id's or not show them to the user at all ? Please tell me any alternates.
| stackexchange/codereview |
I want to include the output of another servlet into the current response.
I can call
request.getRequestDispatcher("/new/url").include(request, response);
and it does go to the right servlet, but request.getPathInfo(), request.getServletPath() and friends do not get set to the new URL (they still have the old values),... | stackexchange/codereview |
From what Ive seen. emacs etc.. run in terminal. Is there any benefit to this? It seems that it would be more of a hassle to write and organize things. I'm not trying to be subjective I literally know nothing of emacs, vim, nano etc.. and would like to know more, maybe use one of them.
| stackexchange/codereview |
Can you any please help me on this. I have a master table [item_attr] with radio button & text box where I can add more line items and delete them also.
But when I select a row item child table [item_attr_values] has to display with child values.
I have implemented add/del rows using jQuery but I am not to display th... | stackexchange/codereview |
Has anyone gotten amazon's elastic load balancing command: elb-create-lb-listeners to work?
Is this the right site for ec2 questions: would serverfault be better? Amazon's forums seem slow...
I get:
PROMPT:~ acct$ elb-create-lb-listeners <MYLBNAME> --listener "protocol=http,lb-port=80,instance-port=80"
Unable to find a... | stackexchange/codereview |
Sorry for bad title :(
I've a controller that has a scrollview where I display some other views, in this case an IngredientImage, that is a subclass of uiimageview:
#import "IngredientImage.h"
@implementation IngredientImage
- (id) initWithImage:(UIImage *)image {
if (self = [super initWithImage:image]) {
... | stackexchange/codereview |
Our Silverlight application needs to show to the user previews of HTML pages it generates dynamically, so we want to use the WebBrowser (or something similar like Telerik's RadHtmlPlaceholder) to show these pages. The problem is that the HTML contains links to other local files such as images, flash objects, CSS and ja... | stackexchange/codereview |
I want to add an Import button and a file browse button next to the Add Product button in the product grid page in magento admin.
When the user choose a file and clicks the Import button
I'll upload the file to var/import, open a new tab and run the import profile.
How can I add the form (import button + file browse fi... | stackexchange/codereview |
UPDATE: semicomplex animation + swing timer = trainwreck. The ultimate source of the problems was the java timer, either the swing or utility version. They are unreliable, especially when performance is compared across operating systems. By implementing a run-of-the-mill thread, the program runs very smoothly on all sy... | stackexchange/codereview |
In Parallel Python, why is it necessary to wrap any modules the function passed will need along with variables and namespaces in that job submission call - how necessary is it to preserve module level "global" variables? (if that's all that's going on)
submit function:
submit(self, func, args=(), depfuncs=(), modules... | stackexchange/codereview |
I have a WPF C#4.0 application and it runs without problem. I need the simple code allows the progress bar to run only while the application is conducting it's search. I don't want it to run the whole time the application is running just when it is conducting a search from a search button. So I am not sure IsIndetermin... | stackexchange/codereview |
I want to strip all non-alphanumeric characters EXCEPT the hyphen from a string (python).
How can I change this regular expression to match any non-alphanumeric char except the hyphen?
re.compile('[\W_]')
Thanks.
| stackexchange/codereview |
I use reporting services integrated with SharePoint. All reports work fine. The thing is that as soon as I installed the Microsoft .NET Framework 2.0 Service Pack 2 (NetFx20SP2_x64.exe), I get an error page when accessing the reports saying the following:
An unexpected error occured while connecting to the report ser... | stackexchange/codereview |
Here is a sample String "one/two/three\123today" that i get from an unknown source i.e i cannot change the format of the input string that i get.
I need to get the sub-string after the backslash i.e 123today
Here the \123 is being considered as an octal escape.
I tried splitting it as a character sequence, but this con... | stackexchange/codereview |
How do you increase the font size of a datagrid in ext-js?
I have tried changing the font-size property in both ext-all.css and in xtheme-blue.css but neither one seemed to work.
For example:
.x-grid3-row td, .x-grid3-summary-row td{
font:normal 21px/23px arial, tahoma, helvetica, sans-serif;
}
Why isn't this worki... | stackexchange/codereview |
How to pass parameter value to webservice in android
| stackexchange/codereview |
I want to show a progress bar in my java program but I dont want it to actually work on a real task but i want it to just show that some process is being completed and it should look as if some process is going on. I tried to do this with the following code but it isn't helping me, so please if u can help....
Code:
... | stackexchange/codereview |
I want to run this PHP script http://db2express/imacs/radek/3.1/rationalTest.php?mode=create from Sinatra. Sinatra runs on a different box.
Is there any Sinatra built-in way how to do that?
I know I can use mechanize, just wondering if there is something else to use?
| stackexchange/codereview |
Step 1
Q1) install VS.Net , but IIS not running the .ASMX file
A1 : try running C:\WINNT\Microsoft.NET\Framework\v1.0.2914\ aspnet_regiis.exe, parameter -i
aspnet_regiis.exe -i
this will install fresh APS.net running eveniroment to IIS
Step 2
Q2)
if you use HessianIISServerTest.zip you have to add this service to II... | stackexchange/codereview |
Please help.
I have two different lists from within one site.
In one list, I have appended a querystring to the new form which will represent the EMP_ID of the user. In here, I have a hidden field "Name" to represent the record filled out by the user. This "Name" field is referenced from the other table with the EMP_I... | stackexchange/codereview |
I have created custom search scope in the FARM Level and I am able to see in my site collection search scope settings and I can enable to make custom search scope move it to default group through browser. Is there anyway I can achieve the same functionality using Custom coding in moss 2007 Object Model.
http://nickgra... | stackexchange/codereview |
I upgraded from Mac OS X 10.4.11 to 10.6.3. I am using TextMate in both versions and as far as I know, both TextMates have the same settings, although they are different versions.
In my old Mac TextMate's SVN bundle works perfectly. In my new Mac, SVN bundle does not pull up the commit window when it is invoked (Ctrl-S... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.