instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a large legacy system to maintain. The codebase uses threads all over the place and those threads share a lot of mutable data. I know, sounds bad. Anyway, don't answer "rewrite the whole application from scratch" or I'll vote you down :-) I have tried to run some static analysis tools on the codebase, but none o...
stackexchange/codereview
I'm working profesionally on a php web application which contains contacts, among other data. I was wondering how hard it would be to make this data available to external programs using the LDAP protocol. Are there specific tools out there for this? I couldn't really find anything, but I can't imagine I'm the first to ...
stackexchange/codereview
My project is split up into a typical 3 layer structure for a Silverlight app. That is: A base layer, which is a class library that contains all my business objects, logic, data access etc. A middle layer which is a WCF service which communicates with; My Silverlight front end The problem I have is that currently the...
stackexchange/codereview
I want to install a gem on all my application servers, but gem install requires sudo access - how can I enable sudo only for running this capistrano command? In other words, I don't wish to use sudo for all my deployment recipes, just when I invoke this command on the command line.
stackexchange/codereview
Templates are a pretty healthy business in established programming languages, but are there any good ones that can be processed in JavaScript? By "template" I mean a document that accepts a data object as input, inserts the data into some kind of serialized markup language, and outputs the markup. Well-known examples a...
stackexchange/codereview
I have a bunch of XML that has lines that look like this <_char font_name="/ITC Stone Serif Std Bold" italic="true" /> but sometimes look like this <_char font_size="88175" italic="true" font_name="/ITC Stone Serif Std Bold" /> Here's what I need to do Replace italic="true" with italic="false for every line that con...
stackexchange/codereview
I'm not exactly sure how to ask this question really, and I'm no where close to finding an answer, so I hope someone can help me. I'm writing a Python app that connects to a remote host and receives back byte data, which I unpack using Python's built-in struct module. My problem is with the strings, as they include mu...
stackexchange/codereview
I'm finally getting my team to embrace source code management now that we're working on projects where more than one dev is touching the same codebase, and I setup a free/trial account on Beanstalk for hosted Subversion so people could get a taste of how it works. That said, we've discussed a somewhat ambitious plan to...
stackexchange/codereview
I have code to create another "row" (div with inputs) on a button click. I am creating new input elements and everything works fine, however, I can't find a way to access these new elements. Example: I have input element (name_1 below). Then I create another input element (name_2 below), by using the javascript's cre...
stackexchange/codereview
The problem is you can't tell the user how many characters are allowed in the field because the escaped value has more characters than the unescaped one. I see a few solutions, but none looks very good: One whitelist for each field (too much work and doesn't quite solve the problem) One blacklist for each field (same ...
stackexchange/codereview
We're running on .NET 3.5 SP1. Recently, in IE, some of our users started getting "Out of Memory" errors once in a while. This doesn't happen all the time. I managed to replicate it a couple times and I found that this code, from the AjaxControlToolkit.Common.Common.js file, was causing an infinite loop: AjaxControlTo...
stackexchange/codereview
I could write this, but before I do, I wanted to check to see if there are existing solutions out there since it seems a lot of websites already do this, so I was wondering if there was a quick way to do this. Also, I am talking about "popout" windows, not "popup" windows. All JavaScript libraries support "popup" wind...
stackexchange/codereview
I am running a series of JUnits using Apache ANT using JDK 1.5. All JUnits that use an Oracle JDBC driver give the UnsatisfiedLinkError shown below. What native library is it looking for and how do I solve this? What should the PATH variable contain? java.lang.UnsatisfiedLinkError: oracle/jdbc/driver/T2CConnection.t2cG...
stackexchange/codereview
Does anyone know any good tutorial about using NAnt for native code build process instructions? Is there any other tool for build process automation that is better suitable with native code environment? We are developing a win32 mobile application and it will be available online for download as a CAB file. The CAB fi...
stackexchange/codereview
Which log4j Version is bundled with latest OpenCms 7?
stackexchange/codereview
I have found an interesting issue in windows which allows me to cause the Windows clock (but not the hardware clocks) to run fast - as much as 8 seconds every minute. I am doing some background research to work out how Windows calculates and updates it's internal time (not how it syncs with an NTP servers). Any informa...
stackexchange/codereview
I am developing a WebPart (it will be used in a SharePoint environment, although it does not use the Object Model) that I want to expose AJAX functionality in. Because of the nature of the environment, Adding the Script Manager directly to the page is not an option, and so must be added programmatically. I have attem...
stackexchange/codereview
I have an excel file which has more than 65536 rows. However, I can see only first 65536 of them. Is it possible to see all of them in Excel 2007?
stackexchange/codereview
I'm writing some JavaScript code to parse user-entered functions (for spreadsheet-like functionality). Having parsed the formula I could convert it into JavaScript and run eval() on it to yield the result. However, I've always shied away from using eval() if I can avoid it because it's evil (and, rightly or wrongly, I'...
stackexchange/codereview
Within a stored procedure, another stored procedure is being called within a cursor. For every call, the SQL Management Studio results window is showing a result. The cursor loops over 100 times and at that point the results window gives up with an error. Is there a way I can stop the stored procedure within the cursor...
stackexchange/codereview
Does anyone know of a Jabber library for Lua? I've found the 'Lua Messaging Library' for AIM, although I can't find a download for it, it appears to be abandoned. Something like that for Lua would be helpful. I'm sorry I didn't state this originally, I meant a 'pure Lua' library. I'm familiar with Verse, but don't ha...
stackexchange/codereview
I have seen member functions programed both inside of the class they belong to and outside of the class with a function prototype inside of the class. I have only ever programmed using the first method, but was wondering if it is better practice to use the other or just personal preference?
stackexchange/codereview
I wish to test a function that will generate lorem ipsum text, but it does so within html tags. So I cant know in advance the textual content, but i know the html structure. That is what I want to test. And maybe that the length of the texts are within certain limits. So what I am wondering is if the assertTags can do ...
stackexchange/codereview
I was recommeded a book called: Accelerated C++ Practical Programming by Example by Andrew Koenig and Barbara E. Moo Addison-Wesley, 2000 ISBN 0-201-70353-X The basis of this book is that Object Oriented Programming is highly wasteful memory-wise, and that most source-code should not be written this way, rather tha...
stackexchange/codereview
How do I format a number in Java? What are the "Best Practices"? Will I need to round a number before I format it? 32.302342342342343 => 32.30 .7323 => 0.73 etc.
stackexchange/codereview
One of the guys I work with needs a custom control that would work like a multiline ddl since such a thing does not exist as far as we have been able to discover does anyone have any ideas or have created such a thing before we have a couple ideas but they involve to much database usage We prefer that it be FREE!!!
stackexchange/codereview
When hiring a front-end developer, what specific skills and practices should you test for? What is a good metric for evaluating their skill in HTML, CSS and Javascript? Obviously, table-less semantic HTML and pure CSS layout are probably the key skills. But what about specific techniques? Should he/she be able to effor...
stackexchange/codereview
I am trying to install the starling gem on my Windows machine. But, whenever I try to install it I get this error: Building native extensions. This could take a while... ERROR: Error installing starling: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb install starling -- -...
stackexchange/codereview
How can I detect mouse clicks regardless of the window the mouse is in? Perferabliy in python, but if someone can explain it in any langauge I might be able to figure it out. I found this on microsoft's site: http://msdn.microsoft.com/en-us/library/ms645533(VS.85).aspx But I don't see how I can detect or pick up the no...
stackexchange/codereview
So i have a piece of assembly that needs to call a function with the fastcall calling convention on windows, but gcc doesn't (afaict) support it. GCC does provide the regparm attribute but that expects the first 3 parameters to be passed in eax, edx and ecx, whereas fastcall expects the first two parameters to be pass...
stackexchange/codereview
I have a SQL Server 2000 database with around a couple of hundred tables. There are several SQL user accounts that can access this database but each one has different permissions granted on tables in the DB. How do I create a script to give me a report of the permissions granted to a particular user. i.e. to generate ...
stackexchange/codereview
I have implemented a pretty simple picture viewer that will allow the user to browse through a collection of images. They are loaded from the Internet, and displayed on the device through a UIImageView object. Something like this: UIImage *image = [[UIImage alloc] initWithData:imageData]; [img setImage:image]; imageDa...
stackexchange/codereview
I am trying to open a report in Crystal Report 11 Designer (product version 11.5.8.826), but it seems to freeze up. This report use to work fine, but today the client could not load the report. I also tried to open the report on another developer's workstation, with the same result. Has this happened to anyone else?
stackexchange/codereview
What are differences between declaring a method in a base type "virtual" and then overriding it in a child type using the "override" keyword as opposed to simply using the "new" keyword when declaring the matching method in the child type?
stackexchange/codereview
Every class that wants to use java.util.logging generally needs to declare a logger like this: public class MyClass { private static Logger _log = Logger.getLogger(MyClass.class.getName()); } How do you avoid this MyClass.class.getName() boilerplate code?
stackexchange/codereview
There appear to be several options available to programs that handle large numbers of socket connections (such as web services, p2p systems, etc). Spawn a separate thread to handle I/O for each socket. Use the select system call to multiplex the I/O into a single thread. Use the poll system call to multiplex the I/O (...
stackexchange/codereview
I'm trying to determine how to open/edit existing SQL Server Reporting Services (SSRS) 2005 report projects (.rptproj) and reports (.rdl) with Visual Studio 2008, without having to install SQL Business Intelligence Development Studio (BIDS) 2005.
stackexchange/codereview
What is this thing called a KGL SIMULATOR and how can its memory utilisation be managed by application developers? The background to the question is that I'm occasionally getting errors like the following and would like to get a general understanding of what is using this heap-space? ORA-04031: unable to allocate 4032...
stackexchange/codereview
Since upgrading to RC0 from SL2 B2 the following line of code in my Page.xaml gives a AG_E_PARSER_BAD_PROPERTY_VALUE...anyone have any ideas? I didn't see anything in the breaking changes document. It seems to be the binding mode in the snippet below. ItemsSource="{Binding Mode=TwoWay, Source={StaticResource ProductL...
stackexchange/codereview
I am in the process of writing a Bluetooth scanner that locates and identifies mobile devices in the local vicinity. Is this something that I can accomplish using C#, or do I need to drop down into the C/C++ APIs? My application is targeting Windows XP and Vista. Pointers are appreciated. Thanks!
stackexchange/codereview
What's the best way to create a non-NULL constraint in MySQL such that fieldA and fieldB can't both be NULL. I don't care if either one is NULL by itself, just as long as the other field has a non-NULL value. And if they both have non-NULL values, then it's even better.
stackexchange/codereview
In a project I am working on, we have an ongoing discussion amongst the dev team - should the production environment be deployed as a checkout from the SVN repository or as an export? The development environment is obviously a checkout, since it is constantly updated. For the production, I'm personally for checking out...
stackexchange/codereview
I have a <div> that I want to be on a line by itself. According to W3Schools, this rule: div.foo { clear: both; } ...should mean this: "No floating elements allowed on either the left or the right side." However, if I float two <div> elements left, and apply the rule above to the first one, the second one does not...
stackexchange/codereview
What is the best way to reset a PIC18 using C code with the HiTech Pic18 C compiler? Edit: I am currenlty using void reset() { #asm reset #endasm } but there must be a better way
stackexchange/codereview
When I run this code in the Simulator in the debugger or standalone [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera] it tells me the camera is not available (returns NO), as expected. However, if I run the same code in the simulator in Performance Tool, it returns YES! My code (w...
stackexchange/codereview
By default Attachment Fu stores uploaded files in "public/#{table_name}". I want to modify this to be something like "public/#{table_name}/#{site_id}", where site_id is a property of the model. Note that I've tried using self.site_id and both fail. has_attachment :storage => :file_system, :max_size => 2...
stackexchange/codereview
In order to fine tune allocation of PDQ resources depending on the time of day that batch jobs run, we have a utility that sets PDQPRIORITY based on some day of week / hour of day rules, eg: PDQPRIORITY=$(throttle); export PDQPRIORITY However, this is fixed at the time the script starts, so long running jobs never get...
stackexchange/codereview
I have two web applications running in the same Tomcat Instance. In one of these applications the user will have the ability to upload files such as images and pdf files. I would like the uploaded files to be available to the second application. Is there a best practice for such a scenario? Or just a pointer to a tech...
stackexchange/codereview
I am putting together a SVN demonstration using a WinXP Virtual PC image, and am unable to see my host machine from within the VPC guest OS. This demo will be performed while disconnected from our LAN, so I installed the Microsoft Loopback adapter on my laptop. In the TCP/IP settings I manually set the IP address to 1...
stackexchange/codereview
Like the title says, If I place an app_offline.htm in the application root, will it cut off currently running requests, or just new ones?
stackexchange/codereview
According to Wikipedia, on the Comparison of programming languages page, it says that F# uses CLI. Does that mean that F# is designed for the purpose of making command-line applications and not graphical applications, or is there another meaning of CLI?
stackexchange/codereview
If yes, on which operating system, shell or whatever? Consider the following Java program (I'm using Java just as an example; any language would be good for this question, which is more about operation systems): public class ExitCode { public static void main(String args[]) { System.exit(Integer.parseInt(ar...
stackexchange/codereview
The situation is this: I have a USB device (a custom device I'm trying to talk to) with two endpoints, one writing to the device, one reading from the device. Both are bulk transfers. Every communication transaction takes the form of (1) Write a command to the device (2) Read the response. I'm using libusb (version 0.1...
stackexchange/codereview
I'm testing the speed of some queries in MySQL. The database is caching these queries making it difficult for me to get reliable results when testing how fast these queries are. Is there a way to disable caching for a query? System: MySQL 4 on Linux webhosting, I have access to PHPMyAdmin. Thanks
stackexchange/codereview
I need something like i6comp but for list of reg changes rather than list of files. Does such a thing exist? EDIT:I know there are ways to do monitor changes to the ergistry but are there ways to do it by examining the setup files?
stackexchange/codereview
I'm working on an application to edit name/value pairs using a property grid. Some of the properties in my class file are ListDictionary collections. Is there an Editor attribute that I can apply at the property declaration that will make the Collection Editor work at runtime? If not, is it possible to inherit from C...
stackexchange/codereview
I have an Open Source app and I have it working on Windows, Linux and Macintosh ( it's in C++ and built with gcc ). I've only tested it on a few different flavors of Linux so I don't know if it compiles and runs on all different Linux versions. Is there a place where I can upload my code and have it tested across a bun...
stackexchange/codereview
My database contains three tables called Object_Table, Data_Table and Link_Table. The link table just contains two columns, the identity of an object record and an identity of a data record. I want to copy the data from DATA_TABLE where it is linked to one given object identity and insert corresponding records into Dat...
stackexchange/codereview
How do you ensure that the project will be build with "good" design decisions enabling a flexible software architecture? How do you balance between completely leaving the architecture to the teams on one side, and let all architecture control to a few individuals on the other side? Do you have an "architecture group", ...
stackexchange/codereview
I have an assembly containing very thorough XML-based documentation, which is used through Sandcastle to generate the help-files for the product. We also use the output XML files for providing proper Intellisense in Visual Studio when programmers use the assembly obviously. In order to do this, it seems we have do both...
stackexchange/codereview
I want to disable "Alert window" that I get from login page of one HTTPS site with "untrusted certificate". ServicePointManager is used for WebRequest/WebResponse: > public static bool > ValidateServerCertificate(object > sender, X509Certificate certificate, > X509Chain chain, SslPolicyErrors > sslPolicyErrors) { > ...
stackexchange/codereview
In order to lighten Apache's load people often suggest using lighttpd to serve up static content. e.g. http://www.linux.com/feature/51673 In this setup Apache passes requests for static content back to lighttpd via mod_proxy, while serving dynamic requests itself. My question is: how does this reduce the load on the se...
stackexchange/codereview
I try to add an addons system to my Windows.Net application using Reflection; but it fails when there is addon with dependencie. Addon class have to implement an interface 'IAddon' and to have an empty constructor. Main program load the addon using Reflection: Assembly assembly = Assembly.LoadFile(@"C:\Temp\TestAddon\...
stackexchange/codereview
I want to learn MVC "architecture pattern" but I don't want to jump into a framework like Rails or Django just yet. I want to understand the concept first and write some simple code in my currently familiar environment, which happens to be PHP/HTML/CSS/MySQL. I don't necessarily need a tutorial that is based on PHP, ...
stackexchange/codereview
I work on a Webproject using jQuery and CakePHP. I use jeditable as an inplace edit plugin. For textareas I extend it using the autogrow plugin. Well, I have two problems with this: First, autogrow does only work on Firefox, not on IE, Safari, Opera and Chrome. Second, I need a callback event for jeditable, when its f...
stackexchange/codereview
I have a two dimensional array that I need to load data into. I know the width of the data (22 values) but I do not know the height (estimated around 4000 records, but variable). I have it declared as follows: float[,] _calibrationSet; .... int calibrationRow = 0; While (recordsToRead) { for (int i = 0; i < Se...
stackexchange/codereview
Is it possible at runtime to programmatically check the name of the Thread that is holding the lock of a given object?
stackexchange/codereview
I have a ContextMenu that is displayed after a user right clicks on a ComboBox. When the user selects an item in the context menu, a form is brought up using the ShowDialog() method. If frmOptions.ShowDialog() = Windows.Forms.DialogResult.Cancel Then LoadComboBoxes() End If When that form is closed, I refresh al...
stackexchange/codereview
I'm looking at sessions in Django, and by default they are stored in the database. What are the benefits of filesystem and cache sessions and when should I use them?
stackexchange/codereview
I have no experience with web services. Historically I've built client-server systems using proprietary communication protocols (even they happen to be XML). I just spent a few hours looking over Axis2 and it sent a shudder down my spine. The learning curve of WS scares me, and seeing all that XML surround so little fu...
stackexchange/codereview
When I started writing database queries I didn't know the JOIN keyword yet and naturally I just extended what I already knew and wrote queries like this: SELECT a.someRow, b.someRow FROM tableA AS a, tableB AS b WHERE a.ID=b.ID AND b.ID= $someVar Now that I know that this is the same as an INNER JOIN I find all thes...
stackexchange/codereview
Are there any free tools for scripting MSSQL table data? I'll gladly write one, but am hoping it's been done, and the app matured a bit before/
stackexchange/codereview
I've been curious in the past few months in trying my hand at doing some assembly for the SPARC processor (either V8 or V9). My question is this, I have no access to a SPARC machine, is there a way I can run SPARC binaries on my x86 machine? I've looked at QEMU but I am not too sure how to set it up.
stackexchange/codereview
I'm looking at developing a device which will need to support Ethernet over USB (hosted in Linux, XP, and Vista). As I understand it, Vista and Linux support the industry standard USB CDC. However, in classic Windows style, XP only supports it's own Remote NDIS. So, now I'm thinking of just bowing down and doing it ove...
stackexchange/codereview
I'm having a strange problem. I have to use GetPostBackEventRefence to force a Postback, but it works the first time, after the first postback, the .NET function is not rendered... any ideas? This is what I'm missing after the postback: <script language="javascript" type="text/javascript"> <!-- function __doPostBack(ev...
stackexchange/codereview
I have a web application using JPA and JTA with Spring. I would like to support both JBoss and Tomcat. When running on JBoss, I'd like to use JBoss' own TransactionManager, and when running on Tomcat, I'd like to use JOTM. I have both scenarios working, but I now find that I seem to need two separate Spring configurati...
stackexchange/codereview
Using subversion 1.5 I have branch B which was branched off of branch A. After doing work in both branches I go to merge changes from A into B (using svn merge http://path/to/A in the working directory of B) and get svn: Target path does not exist. What does this mean?
stackexchange/codereview
I'm trying to use the giveio.sys driver which requires a "file" to be opened before you can access protected memory. I'm looking at a C example from WinAVR/AVRdude that uses the syntax: #define DRIVERNAME "\\\\.\\giveio" HANDLE h = CreateFile(DRIVERNAME, GENERIC_READ, 0, NULL...
stackexchange/codereview
I would like to create a window with a progressbar which shows the current status of Spring's object instantiation. From Spring.Net's documentation it seems that IObjectPostProcessors is the right point to start and track whenever an Object has been instanciated. However in order to get "Percentage of instantiated cla...
stackexchange/codereview
We're working with a fixed transaction log size on our databases, and I'd like to put together an application to monitor the log sizes so we can see when things are getting too tight and we need to grow the fixed trn log. Is there any TSQL command that I can run which will tell me the current size of the transaction l...
stackexchange/codereview
I've found a few samples online but I'd like to get feedback from people who use PHP daily as to potential security or performance considerations and their solutions. Note that I am only interested in uploading a single file at a time. Ideally no browser plugin would be required (Flash/Java), although it would be inter...
stackexchange/codereview
Can the iPhone SDK take advantage of the iPhone's proximity sensors? If so, why hasn't anyone taken advantage of them? I could picture a few decent uses. For example, in a racing game, you could put your finger on the proximity sensor to go instead of taking up screen real-estate with your thumb. Of course though, if t...
stackexchange/codereview
I would like to ask if it is possible to show Generalization relationship in UML for a Domain Model although I understand I can do that in a Class Diagram? I did not see much examples of Domain Model displaying Generalization Relationship except in Class Diagram. If not possible, what is the best way to display that an...
stackexchange/codereview
There is a long running habit here where I work that the connection string lives in the web.config, a Sql Connection object is instantiated in a using block with that connection string and passed to the DataObjects constructor (via a CreateInstance Method as the constructor is private). Something like this: using(SqlCo...
stackexchange/codereview
I'm building my first flex app and am currently bussy splitting it up in multiple components to make it maintainable. I have a screen which holds a list that is displayed and filled after a succesfull login attempt: Part of the main app: <mx:ViewStack id="vsAdmin" height="100%" width="100%"> <mx:TabNavigator id="adm...
stackexchange/codereview
The NUnit documentation doesn't tell me when to use a method with a TestFixtureSetup and when to do the setup in the constructor. public class MyTest { private MyClass myClass; public MyTest() { myClass = new MyClass(); } [TestFixtureSetUp] public void Init() { myClass = ne...
stackexchange/codereview
I've been trying to encode a relational algebra in Scala (which to my knowlege has one of the most advanced type systems) and just don't seem to find a way to get where I want. As I'm not that experienced with the academic field of programming language design I don't really know what feature to look for. So what langua...
stackexchange/codereview
I run into this quite often where a new page is supposedly "tested" and ready to go. But as soon as I change the page from http to https (secure) mode I get the "This page contains both secure and nonsecure items." error. Usually I can find the problem and fix it pretty quick. Today is different. I've checked every ima...
stackexchange/codereview
Any suggestions on how to write repeatable unit tests for code that may be susceptible to deadlocks and race conditions? Right now I'm leaning towards skipping unit tests and focusing on stress tests. The problem with that is you can run a stress test 5 times and see five different results. EDIT: I know its probably ju...
stackexchange/codereview
How can I set points on a 24h period spreaded by the Gaussian distributions? For example to have the peak at 10 o'clock?
stackexchange/codereview
I'm trying to test if a given default constraint exists. I don't want to use the sysobjects table, but the more standard INFORMATION_SCHEMA. I've used this to check for tables and primary key constraints before, but I don't see default constraints anywhere. Are they not there? (I'm using MS SQL Server 2000). EDIT: I'm ...
stackexchange/codereview
What's the best way to add a flash message, for successful or unsuccessful login when using the merb-auth slice (Other than overriding sessions create)?
stackexchange/codereview
If I had some XML such as this loaded into an XDocument object: <Root> <GroupA> <Item attrib1="aaa" attrib2="000" /> </GroupA> <GroupB> <Item attrib1="bbb" attrib2="111" /> <Item attrib1="ccc" attrib2="222" /> <Item attrib1="ddd" attrib2="333" /> </GroupB> <GroupC> ...
stackexchange/codereview
When writing GUIs, I've frequently come over the following problem: Assume you have a model and a controller. The controller has a widget W that is used to show a property X of the model. Because the model might be changed from outside the controller (there might be other controllers using the same model, undo operatio...
stackexchange/codereview
I have an Access DB that I would like to extract the source code from so I can put it into Source control. I have tried to extract the data using the Primary Interop Assemblies(PIA), but I am getting issues as it is not picking up all of the modules and forms. There are 140 Forms and Modules in the code(Don't ask, it...
stackexchange/codereview
I would like to know if there is an easy way to detect if the text on the clipboard is in ISO 8859 or UTF-8 ? Here is my current code: COleDataObject obj; if (obj.AttachClipboard()) { if (obj.IsDataAvailable(CF_TEXT)) { HGLOBAL hmem = obj.GetGlobalData(CF_TEXT); CMe...
stackexchange/codereview
What is the best way to get a list of all files in a directory, sorted by date [created | modified], using python, on a windows machine?
stackexchange/codereview
I am a single developer just getting started with open source web dev (Python/Django). I signed up for a free Assembla.com account but I really don't know whether to use Trac ticketing or Assembla integrated ticketing. I have setup spaces for both to try them out, but it seems like I would need to use them for a while ...
stackexchange/codereview
I'd sooner not just permanently have a bunch of files checked out to me, but I'd like a way to prevent some really critical files being changed without my being aware of it. PS Yes I know SourceSafe is terrible.
stackexchange/codereview
We will need to call out to a 3rd party to retrieve a value using REST, however if we do not receive a response within 10ms, I want to use a default value and continue processing. I'm leaning towards using an asynchronous WebRequest do to this, but I was wondering if there was a trick to doing it using a synchronous re...
stackexchange/codereview