instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I want to do smoothing to an image in the frequency domain. when i use google to see any articles it gave some Matlab codes which i don't need. i could do FFT to an image but i don't know how to implement any smoothing techniques(ILPF, BLPF, IHPF, BHPF) in frequency domain. if you can provide any code samples for any o...
stackexchange/codereview
Can I use a retail phone to test apps I'm developing for wp7?
stackexchange/codereview
I have a C# winform app that has a tab control, I have a picturebox on tab A and would like the very same picturebox to appear on tab B. Can this be done? Thank you Alison
stackexchange/codereview
I am using Eclipse as an editor for OpenCL and I turned on syntax highlighting for *.cl files to behave like C++ code. It works great, but all my code is underlined as syntax errors. Is there a way that I can have my syntax highlighting and turn off the errors/warnings just for my *.cl files?
stackexchange/codereview
I need to list IP addresses of all connected hosts in my LAN. What is the simplest way to do this?
stackexchange/codereview
I am new to core plot SDK, implemented core plot in my app. i need to restrict -ve part of graph. i.e always i will have +ve values for graph((1,1),(10,15),(20,15)).i need horizontal , vertical scrolling for +ve part only.So i want to restrict remaining 3 parts of graph. I tried in all ways help less, so posted here. i...
stackexchange/codereview
which is better, is there any performance difference? setting datetime column's default value to getdate() or using getdate() with the insert t-sql script.
stackexchange/codereview
I remember reading that the following features lead to the development of interesting frameworks/libraries in Python:- (I read the article from http://www.python.org/workshops/2002-02/papers/09/index.htm) A simple class model, which facilitates inheritance. Dynamic typing, which means that the code needs to assume les...
stackexchange/codereview
A bit of background: I have a staging table without constraints which gets data for a given day, then some subsequent code that merges that data into a table with a key on it. I can get rid of perfect duplicates easily using this handy piece of code: delete from tbstage where rowid in ( select rowid from tbstage...
stackexchange/codereview
I have a file like this, that needs to be parsed and needs to extract a version number. [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible [assembly: AssemblyFileVersion("0.4.2")] ... ... I need to parse it and extract the 0.4...
stackexchange/codereview
I'm trying to use LWJGL to get whether a key is pressed. If the escape key is pressed, then the application quits. However, I can't get it to read any keyboard input, although Display.isCloseRequested() works fine. I'm on RHEL using LWJGL 2.6 and Java 1.6. for(;;) { // check if we want to quit if(Keyboard.i...
stackexchange/codereview
Now that we have Facebook Like buttons on web pages all over the place, is there a way to send updates to people who have liked those pages? I haven't seen/heard about this ability but it seems like it'd be the natural next step.
stackexchange/codereview
Our situation: In TFS 2010 + VS 2010 environment, we need to move source code and work items from old project to new project (new project is just for renaming and restructuring purposes, they all under one project collection). We used TF.exe command line utility moved source code, it's good and carried history and link...
stackexchange/codereview
I'm in a bit of trouble and need help. I basically have a carousel (scrolling) type gallery with three images. You only see one image at a time, and to see the next image, you have to click the link that relates to that image or click on the current image itself to see the next image. This would make it scroll one imag...
stackexchange/codereview
I am trying to simply test my app under a QVGA setting, but 95% of the time when I run the QVGA emulator I created, it loads the resources associated with HVGA. I have custom bitmaps that I include in my app, so it's crucial for me to be able to verify the appearance. To see what the density was being treated as, I add...
stackexchange/codereview
Is it true that ANY Android phone can be used for App development and testing? I'm trying to find some inexpensive off-contract hardware for development and testing of our Apps. I've found some devices I can buy New with No Contract for $150 to $300 (like the HTC Aria or the Huawei Ascend). Is there anything that woul...
stackexchange/codereview
Can anyone recommend hosts other than github ( 100% git ), codesion and beanstalk which support both svn and git?
stackexchange/codereview
I'm using EF4 with POCO and the code below is what I have to update a license. I only pasted here the section of the code that is relevant to the problem, which is adding LicenseDetails. The problem is that for each LicenseDetail that are inserted, EF also unexpectadly adds rows to the "Item" lookup table. Why?! The r...
stackexchange/codereview
I am going through the RavenDB tutorial on the RavenDb.net website. It was going fine until I got to the code block for creating an index. This code segment is direct from RavenDB.Net website. store.DatabaseCommands.PutIndex("OrdersContainingProduct", new IndexDefinition<Order> { Map = orders => from order in order...
stackexchange/codereview
I'm using Searchlogic in a model with tens of thousands of records and don't want to initially display them all the first time the search page loads. How do I get an empty search object from searchlogic if there are no :search params? def search @products = [] if params[:search] && !params[:search].blank? ...
stackexchange/codereview
This might be a conceptually stupid question, but it also might not and since I am still a student I think I should I have no problem asking. Imagine you have a method that if given certain conditions it will throw an NumberFormatException. I want to write a Unit Test to see if the exception is being correctly thorwn. ...
stackexchange/codereview
I have a complex structure in a C program which has many members that are allocated memory, dynamically. How do I write this structure to a text / binary file? How will I be able to recreate the entire structure from the data read from the file. struct parseinfo{ int varcount; int termcount; char **variables; cha...
stackexchange/codereview
Maybe I dont know the right search terms to query with, but I cannot find instructions on how to configure glassfish 3.1 to allow me to use an external websphere mq7 server for my jms/mdb project. Can someone help me get this configured? I'll repay the community by writing a good howto document if there isn't one out t...
stackexchange/codereview
From Scottgu's post i got the code to Serialize a collection to JSON object.(i)How to convert the JSON object back to List? (ii) I did not find JavaScriptserializer in System.Runtime.Serialization will the only code work for VS 2010? ScottGu's snippet namespace ScottGuHelper.JSON { public static class JSONHelper {...
stackexchange/codereview
Ok, I think I might be overlooking something obvious/simple here... but I need to write a query that returns only records that match multiple criteria on the same column... My table is a very simple linking setup for applying flags to a user ... ID contactid flag flag_type -----------------------------------...
stackexchange/codereview
I've got a WCF service (lets say TestService.svc sitting inside the services directory of an Area in an MVC app. This area is combined into the main app. The area is called content. The routes have been setup and the area works fine. To access the Index action on the Home controller I can do either: http://my-host/a...
stackexchange/codereview
I am using the custom post types in my wordpress blog and want to have a different icon for each type of post. <?php if ( is_post_type( 'team' ) ) { echo '<img src="team.png" />';} else { echo '<img src="page.png" />'; }?> But I get following error message: Fatal error: Call to undefined function is_post_type(...
stackexchange/codereview
I am porting 32 bit C++ code into 64 bit in VS2008. The old code has mixed code written in assembly. Example: __asm { mov esi, pbSrc mov edi, pbDest ... } I have read somewhere that I need to remove all assembly code and put them all in a separate project and somehow link to it. Can somebody give me the ste...
stackexchange/codereview
Working through Michael Hartl's RailsTutorial and came across the following error - even though I have followed everything to the 'T'. 1) UsersController GET 'index' for signed-in users should have an element for each user Failure/Error: response.should have_selector("li", :content => user.name) undefined method `name'...
stackexchange/codereview
I am making a template control so that I can have a button with an image that changes when you click it. I also am trying to get text on top of the button that can change at run time. I have the button images and everything working but I can't seem to get that label at runtime so I can change the text. Here is the c...
stackexchange/codereview
I'm given some ISBN numbers e.g. 3-528-03851 (not valid) , 3-528-16419-0 (valid). I'm supposed to write a program which tests if the ISBN number is valid. Here' my code: def check(isbn): check_digit = int(isbn[-1]) match = re.search(r'(\d)-(\d{3})-(\d{5})', isbn[:-1]) if match: digits = match.group...
stackexchange/codereview
There are claims that Scala's type system is Turing complete. My questions are: Is there a formal proof for this? How would a simple computation look like in the Scala type system? Is this of any benefit to Scala - the language? Is this making Scala more "powerful" in some way compared languages without a Turing compl...
stackexchange/codereview
We're using AQTime's coverage profiler to check coverage results for unit tests. It seems to generally work okay, but has a nasty habit of overestimating coverage because some functions don't appear at all. I think this is because the linker has stripped them because they're not called, but obviously it is not ideal be...
stackexchange/codereview
I'm trying to implement a .NET Custom Validator that uses $.ajax to query a WebMethod on the same page and return a boolean value to indicate whether the result is true or false. The WebMethod I'm using is really simple [WebMethod()] public static bool IsPromoValid(string code) { string promoCode = "ABCDEFG"; b...
stackexchange/codereview
When I use the following code to create an iframe: <iframe src="mypage.html" style="border: 0; width: 100%; height: 100%">Your browser doesn't support iFrames.</iframe> The iframe doesn't go all the way—a 10px white "border" surrounds the iframe. How could I solve this? Here is an image of the problem:
stackexchange/codereview
Our COM component interface has the next method: HRESULT CreatePluginWindow([in] HWND hParent, [in] RECT* prcView); We are going to use it in .NET application but interop for this interface is looking like this: void CreatePluginWindow(ref interop.alfrontx._RemotableHandle hParent, ref interop.alfrontx.tagRECT prcView...
stackexchange/codereview
I need to submit requests to my application as part of the URL, which contain quoted strings, such as /search/"my query" this is throwing an error, as outlined in the following question: How to include quote characters as a route parameter? Getting "Illegal characters in path" message I'd like to implement the suggest...
stackexchange/codereview
I need to extend a python code which has plenty of hard coded path In order not to mess everything, I want to create unit-tests for the code before my modifications: it will serve as non-regression tests with my new code (that will not have hard-coded paths) But because of hard coded system path, I shall run my test in...
stackexchange/codereview
<div class="accordion"> <ul class="navigation"> <li>Lorem</li> <li>Ipsum</li> <li>Donor</li> </ul> <ul class="navigation"> <li>Test</li> <li>Demo</li> <li>Donor</li> </ul> </div> How can we apply a class which is 'active' to first 'li' (ie;Lorem) only, not for all first 'li' under 'ul' using jq...
stackexchange/codereview
Lets say we have a class: class ObjectWithCaching def cached_attribute(key, cache_handler) cache_handler.cache(key) { expensive_operation } end def expensive_operation #... end end And we already tested cache_handler so we know that it will execute the block only when key is not found in cache. We wan...
stackexchange/codereview
As some of you make know, I'm working on XMPP (Jabber) integration for the StackOverflow chat system, as an XMPP component written in Ruby using the xmpp4r package. I'm struggling with one issue (well, many issues, but one issue at the moment :-) I am taking the JSON feed from the chat and extracting the HTML for the m...
stackexchange/codereview
I'm attempting to rapidly deploy a PHP application under apache2/PHP on a Unix host. The sysadmin hasn't heard of PHP so I'm looking to build/install myself. Unfortunately root access is two weeks of bureaucracy away so I'm looking for a way to use PHP and its requisite libxml2 without installing.
stackexchange/codereview
Possible Duplicate: how can i make my product as a trial version for 30 days ? Dear all, Recently I have developed a software for windows and I want to make a trial version out of it for advertisement. The trial version I have in mind should be runnable only for 30 days for example. I myself have an idea about savin...
stackexchange/codereview
I want to bind the data from my XML file to my userControl. So far I have: XML file: <?xml version="1.0" encoding="utf-8"?> <testData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <pumps> <pump> <speed value="1200"/> <color value=...
stackexchange/codereview
This is a strange issue that I'm wondering if others have encountered when editing documents in a SharePoint document library. Basic problem is as follows: User1 edits document X User1 checks in document X (say this new version is version 12) Days later, User2 checks out document X, but the document they begin editing...
stackexchange/codereview
I have that query : INSERT INTO GOST (ASSORTMENTID, ROZMIAR, GOST) VALUES ( 54,'S','MjgwMzktODkgMTc0LTk2') I want insert new row in table GOST, but I don't want to specify column with primary key - GOSTID. I want that database set next id value. When I run this code I have that error: validation error for column G...
stackexchange/codereview
I right click on my table in ssms 2008 and select Script Table as / Drop and Create Table to new window and I try to run the script but get an error: Could not drop table because it is referenced by a foreign key constraint What was the point of the Drop and Create generate script then? Thanks, rod.
stackexchange/codereview
I need to learn about ways of doing this. The options I am aware of are: 1) Load my own custom font which includes subscripted letters, or 2) Simulate a "placeholder" with two UILabels positioned directly over the UITextField, and make those labels go away when the user starts typing. In my case, this will be mor...
stackexchange/codereview
In our application we are storing some views (.erb files) in public/custom_themes/{user}/ folders. We have tried to add the path RAILS_ROOT to view_paths and specifying the /custom_themes/{user}/theme.erb in render :layout. In development environment it works fine, but in production it takes ages to find the views. It ...
stackexchange/codereview
I am trying to use the built in .NET application settings. So for instance I have a User setting of year. If the end user changes the setting in the program I need to respond by refreshing the data displayed. I currently have code like below to do this: Settings.Default.PropertyChanged += SettingsChanged; //on year c...
stackexchange/codereview
I am planing to create an application relying on DB using Hibernate. I will have some similar classes like teacher and student and so on. In DB they will have some fields with similar names. So I wonder If I can create a class Human with annotations for standard fields like Name, SName and so on so to just extend that ...
stackexchange/codereview
I create boost::thread object with a new operator and continue without waiting this thread to finish its work: void do_work() { // perform some i/o work } boost::thread *thread = new boost::thread(&do_work); I guess, it’s necessary to delete thread when the work is done. What’s the best way to this without explic...
stackexchange/codereview
My database contains URLs stored as text fields and each URL contains a representation of the date of a report, which is missing from the report itself. So I need to parse the date from the URL field to a String representation such as: 2010-10-12 2007-01-03 2008-02-07 What's the best way to extract the dates? Some ar...
stackexchange/codereview
I'm trying to get a better handle on using sockets asynchronously. According to this article, http://msdn.microsoft.com/en-us/library/bew39x2a(v=VS.85).aspx, I ought to be able to check the number of bytes returned by EndReceive, and if it's zero, I know I have all the data, and if it's non-zero, there may or may not b...
stackexchange/codereview
I'm doing some inline editing on the jqgrid. The client wants a confirmation dialog to appear that the user really wanted to save the changes made (similar to how delete works). In looking at http://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js I've noticed that the editRow command takes these paramete...
stackexchange/codereview
is there a way to browse the history versions (rather than the plain diff) in a git repo? i'm looking something like what you would expect from tortoiseSvn log/diff browser but for ubuntu. I don't want to see the diffs directly but rather the whole file with the version in its original context, with a highlight showing...
stackexchange/codereview
I was wondering about which is the best (clojuresque) way to compare a character and a string in Clojure. Obviously something like that returns false: (= (first "clojure") "c") because first returns a java.lang.Character and "c" is a single character string. Does exists a construct to compare directly char and string ...
stackexchange/codereview
I have an amazon s3 account. As i am expecting a large amount of traffic to my site i want to put the videos to be placed in my s3 account and stream it up to my website. How can i do that? Thanks Prady
stackexchange/codereview
I am using jquery to animate an object. I am looking for a way to pause the animation on mouseover, and resume it after the mouse has left. Is this possible?
stackexchange/codereview
Obviously, with obj-c, there's usually no reason to write getters and setters (thanks to useful mr @synthesize). So now, needing to do just this, I've come across the problem that I don't know how to write them. :p I'm sure I'm probably not going about solving my problem the right way - it would be much easier to just ...
stackexchange/codereview
I have read the secure coding guide provided by Apple. I am looking at developing a financial application. What are the best methods to authenticate the user? Are there any specific guidelines for finance applications (relating to security) given by Apple?
stackexchange/codereview
Maybe I'm missing something. I want to write test cases for a BroadcastReceiver; specifically, it is for receiving the BOOT_COMPLETED event and setting an alarm for another receiver to handle later; it doesn't seem to be setting it properly, but the point is that I have no obvious way to test it. I can't exactly attach...
stackexchange/codereview
I'm working on reformatting HTML output from a search query for an inventory manager for a number of car dealers. There's no direct DB access, no information available from the service creators so I decided to attempts to parse and reformat the data with Nokogiri and generate new pages of results based on the search qu...
stackexchange/codereview
Is it possible to post to a WCF service hosted in IIS? I know that that this is possible using REST but I really need the WSDL generation and SOAP headers. I need to transition an existing ASMX web services to WCF but I need to also allow my clients to continue to utilize the service via http posts (xml http request vi...
stackexchange/codereview
Here's what I got so far. I rewrote the code to simplify things a bit. Previous code wasn't actually the real, basic algorithm. It had fluff that I didn't need. I answered the question about pitch, and below you'll see some images of my test results. local function Line (buf, x1, y1, x2, y2, color, pitch) -- ident...
stackexchange/codereview
I have a series of bitmap images that I need to save using .NET (C#) but am running into the generic GDI+ error. I am trying to reuse the same variable which may be my problem. For example: Bitmap pic = MethodThatReturnsBitmap(); pic.Save(MyPath); pic = AnotherMethodThatReturnsBitmap(); pic.Save(AnotherPath); Do I ne...
stackexchange/codereview
Ok, I know what I'm about to say is going to be super vague, but hear me out: I want to use flash messages because I like the idea of them, but they don't seem to always work for me. Here is my workflow: User creates a group on page A I send an email notification to members of the new group I set the flash message "S...
stackexchange/codereview
I really want to do something like this: Select * from A join B on A.key = B.key join C on B.key = C.key -- propagated keys where exists (select null from B where A.key = B.key and B.Name = "Joe") and exists (select null from C where B.key = C.key and C.Name = "Kim") What would the linq statement look like usin...
stackexchange/codereview
Looking around my understanding, Sencha is purely JS based. I am wondering if there is any way for me to use content from PHP + MySql driven website?
stackexchange/codereview
I want to update the same record using the trigger which fires due to insertion of that record. When I try to do that using the following code it gives an error DROP TRIGGER CONTROLLER_UPLOADER; CREATE OR REPLACE TRIGGER CONTROLLER_UPLOADER after insert ON CONTROLLER for each row begin UPDATE CONTROLLER SET STA...
stackexchange/codereview
I have to implement an application in django which will track all the changes in the database with the previous values,current value,action,date,time, user(who performed the changes) etc. Is there any application/module available in python or django which can perform these actions with may be after some changes. I hav...
stackexchange/codereview
Is their any GUI-interface for MySQL, like Microsoft SQL Server 2005 Server Management Studio provides? Because basically I am operating MySQL with command prompt interface.
stackexchange/codereview
Given a Type object in .NET, is it possible for me to get the source code filename? I know this would only be available in Debug builds and that's fine, I also know that I can use the StackTrace object to get the filename for a particular frame in a callstack, but that's not what I want. But is it possible for me to ge...
stackexchange/codereview
i was wondering how i can use php to access text files and display the information using php arrays, this might seem like a newbie question, but i havent worked with external files. so here goes. home.txt: ha15rs,250,home2.gif,2 ha36gs,150,home3.gif,1 ha27se,300,home4.gif,4 ha4678,200,home5.gif,5 what i wanted to do i...
stackexchange/codereview
How I can perform showing message, that'll tell to user >>This version has already installed<< or some another warning message, when user try to run the same installer twice?
stackexchange/codereview
I'm writing an image viewer, and I'd like some behavior from Qt: imagine the viewer displays the image in a 256x256 box. Now I want that ctrl+Z do a zoom + resizing of the window; ie. show the 2x zoomed image in a 512x512 box, how can I do that? Also, imagine know the user gave a certain shape to my viewer, and that he...
stackexchange/codereview
I come from the Java world so I was shocked to discover that arrays (http://ruby-doc.org/core/classes/Array.html) does not hava a method contains(object) returning bool. What is the good way - the Ruby way - of doing that ?
stackexchange/codereview
I need to be able to drop a specific user (which may have active sessions) from the batch without any user interaction. I don't care about active sessions and want them to be dropped and rolled back. For Microsoft SQL i would do similar task with a single line: osql -E -S localhost -b -Q "use master if ((select name fr...
stackexchange/codereview
I'm trying to find a better approach that my current one to manage the current state vector of a continuous Markov chain. The state vector used stores pairs of (state, proability) where probability is a float. The piece of the algorithm that needs to be optimized does the following operations: every iteration starts w...
stackexchange/codereview
I'm want to do the equivalent of what is described here from a script. Basically, I want to take ownership of the file, and set the permissions to OWNER/Full Control. It seems to me that using WMI from a vbs script is the most portable way. That is, I'd like to avoid xcacls, icacls and other tools that either require a...
stackexchange/codereview
How can I Insert the value null to a database column with ruby code? I'm using a rails application.
stackexchange/codereview
Using Wix, I would like to run an executable (that is being installed) and capture the return value. I have no problem running the executable via: <CustomAction Id="UpgradeDBFromExe" FileKey="UpgradeDB.exe" ExeCommand="/update" Execute="deferred" Impersonate="no" Return="ignore"/> But i'm not sure how to capture the r...
stackexchange/codereview
I have a classic asp project and a teammate created a new functionality, but it's in asp.net mvc. I also know how to work with mvc, but I never used classic asp and mvc together. For example, is it possible, in this classic asp project, to have a link that will redirect to a mvc page on the same project? Thanks!!
stackexchange/codereview
I use this tooltip script on my site: http://craigsworks.com/projects/simpletip/ The problem is that I have several links in the same div class and I want to load different content in tooltip when the mouse is over different links. This is the code I use to load tooltip: $(document).ready(function(){ // Create your too...
stackexchange/codereview
When loading an Application (spark.Application) as a SWF in another Application using SWFLoader without preserving the domain, the scaling of the first application gets scrambled. Examples are below: App1.mxml <s:Application width="100%" height="100%" xmlns:fx="http://ns.adobe.com/mxml/200...
stackexchange/codereview
I am creating a runtime package which contains classes that my main application can use, but I'm having problems with the data access. My main app contains a TDatabase which points to a BDE alias. At runtime my package is dynamically loaded, and a method invoked in the package which creates a TQuery and opens it, popu...
stackexchange/codereview
When I look at the samples of boost interprocess library, the objects are always constructed with string name. segment.construct<Equipments>("name")("param1", "param2"); Is it possible to construct the object with integer identifier like segment.construct<Equipments>(123)("param1", "param2");
stackexchange/codereview
I came across this construction in a Javascript file, and I'm not sure what it does. var win = window.dialogArguments || opener || parent || top; I understand that window.dialogArguments returns optional arguments from the parent window, but I do not understand that the || operators are doing. Is this setting up some...
stackexchange/codereview
i'm building a rails app. and i wanted to know if there is an automatic way to get only categories with news on it. if i want to make a list on a side bar, but only show categories for public filter? Hi, i'm new on this, and i have this code: products with: - brand_id - category_id i just want to: when i enter into a ...
stackexchange/codereview
<Resource name="myConn" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10.:1521:mydb" username="username" password="password" maxActive="500" maxIdle="50" maxWait="-1" removeAbandoned=...
stackexchange/codereview
On my SharePoint 2010 site I have a list of items (Document Library). This library contains xml files. Also, I have a Visual Web Part which displays data from these xml files. Is there a way to somehow bind the web part to this document library so that the items will be opened via the web part? Note: At this ...
stackexchange/codereview
I'm trying to create a folder on the directory where the .exe file is and save a picture in that folder. Right now that folder doesn't exist so I'd like to be created. Here's the code I have: public void SavePictureToFileSystem(string path, Image picture) { string pictureFolderPath = path + "\\" + ConfigurationMana...
stackexchange/codereview
I have two points in 2D space, centred on origin (0,0). The first point represents the starting location and the second represents the end location. I need to calculate the angle of rotation between the two points, my problem being that the hypoteneuse from each point to (0,0) is not equal. Could someone tell me how t...
stackexchange/codereview
I have been trying to create a link in each row of a datable like that : <f:view> <h:form> <p:dataTable id="TasksList" value="#{TaskController.tasks}" var="task" rendered="#{TaskController.currentCorbeilleId != null}"...
stackexchange/codereview
I need to get mouse coordinate at the moment the setTimeout function calls the provided function.
stackexchange/codereview
How can I create a C# Color from HSL values?
stackexchange/codereview
I'm using PyDev ( with Aptana ) to write and debug a Python Pylons app, and I'd like to step through the tests in the debugger. Is it possible to launch nosetests through PyDev and stop at breakpoints?
stackexchange/codereview
i want to show jquery calendar dates from 1st september 2010 to current date. for example consider if i am spooling a report on 12th january 2011 ,i should allow jquery calendar selection from 1st september 2010 to 12th janyary 2011 .My question is how to set the date to 1st sep 2010 from current date (if current dat...
stackexchange/codereview
I'd like to apologize for the poor title - I really didn't know how to phrase it any better. I'm currently working on an XSLT 1.0 script (using xsltproc) which transforms a simple XML format into a text representation suitable for consumption by an PDF generator. In my XML format, there are just three elements: <book>,...
stackexchange/codereview
i'm trying to figure out how to run mahout jar examples with hadoop. I configured mahout and hadoop, now i enter in the hadoop dir and type something like this: /Users/hadoop/hadoop-0.20.2/bin/hadoop jar /Users/hadoop/trunk/examples/mahout-examples-0.5-SNAPSHOT-job.jar org.apache.mahout.SpareVectorsFromSequenceFile -w ...
stackexchange/codereview