instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
In the Java code I'm working with we have an interface to define our Data Access Objects(DAO). Most of the methods take a parameter of a Data Transfer Object (DTO). The problem occurs when an implementation of the DAO needs to refer to a specific type of DTO. The method then needs to do a (to me completely unnecessary ...
stackexchange/codereview
I'm running autoconf and configure sets SHELL to '/bin/sh'. This creates huge problems. How to force SHELL to be '/bin/bash' for autoconf? I'm trying to get this running on osx, it's working on linux. Linux is using SHELL=/bin/bash. osx defaults to /bin/sh.
stackexchange/codereview
I've been working on a web crawling .NET app in my free time, and one of the features of this app that I wanted to included was a pause button to pause a specific thread. I'm relatively new to multi-threading and I haven't been able to figure out a way to pause a thread indefinitely that is currently supported. I can't...
stackexchange/codereview
I wanted to write a small Rapid Serial Visual Presentation (RSVP) program for my mobile device but I realized that there are some patent issues associated with that technique (exhibit 1 and exhibit 2). Can I write such program and try to make money with it? Would it be legal to give such program for free?
stackexchange/codereview
How do you find out the local time of the user browsing your website in ASP.NET?
stackexchange/codereview
I'm using this code, to make a request to a given URL: private static string GetWebRequestContent(string url) { string sid = String.Empty; HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url); req.KeepAlive = false; using (HttpWebResponse res = (HttpWebResponse)req.GetResponse()) { using (Str...
stackexchange/codereview
We have an MSI installer for a .Net WinForms app for Windows XP that installs and runs only as an admin. Users have to log in to the app when it runs. Customers want it to install and run under a user account under Vista, and to use their Windows account. A preliminary look through the code shows lots of problems; the ...
stackexchange/codereview
Is there a way to reformat code, i.e. force correct indentation in FlashDevelop as you can do with CTRL-SHIFT-F in Eclipse?
stackexchange/codereview
I find System.Monitor very confusing, although I understand threading, locks, deadlocks, race conditions, dining philosophers and all that jazz. Normally I use a ManualResetEvent() to do inter-thread co-ordination, but I know that that's a heavyweight kernel object, and that System.Monitor (Enter/Pulse, etc.) is much ...
stackexchange/codereview
I have a simple web form that has a several fields and a gridview on it. I also have a save and cancel button. I would like a way to undo what was done to the data on the form when the user presses cancel. This is simple enough with the fields however since changes to the gridview happen in real time against the datab...
stackexchange/codereview
I'm building an ASP.NET AJAX application that uses JavaScript to call web services to get its data, and also uses Silverlights Isolated Storage to cache the data on the client machine. Ultimately once the data is downloaded it is passed to JavaScript which displays in on the page using the HTML DOM. What I'm trying to ...
stackexchange/codereview
I have 2 tables. One (domains) has domain ids, and domain names (dom_id, dom_url). the other contains actual data, 2 of which columns require a TO and FROM domain names. So I have 2 columns rev_dom_from and rev_dom_for, both of which store the domain name id, from the domains table. Simple. Now I need to actually displ...
stackexchange/codereview
I want a regex which can match conditional comments in a HTML source page so I can remove only those. I want to preserve the regular comments. I would also like to avoid using the .*? notation if possible. The text is foo <!--[if IE]> <style type="text/css"> ul.menu ul li{ font-size: 10px; font-weight:norm...
stackexchange/codereview
I have seen the other questions but I am still not satisfied with the way this subject is covered. I would like to extract a distiled list of things to check on comments at a code inspection. I am sure people will say things that will just cancel each other. But hey, maybe we can build a list for each camp. For those ...
stackexchange/codereview
I am getting the following error when I post back a page from the client-side. I have JavaScript code that modifies an asp:ListBox on the client side. How do we fix this? Error details below: Server Error in '/XXX' Application. -------------------------------------------------------------------------------- Invalid po...
stackexchange/codereview
I've got a website that has windows authentication enable on it. From a page in the website, the users have the ability to start a service that does some stuff with the database. It works fine for me to start the service because I'm a local admin on the server. But I just had a user test it and they can't get the servi...
stackexchange/codereview
I have this Perl script with many defined constants of configuration files. For example: use constant { LOG_DIR => "/var/log/", LOG_FILENAME => "/var/log/file1.log", LOG4PERL_CONF_FILE => "/etc/app1/log4perl.conf", CONF_FILE1 ...
stackexchange/codereview
In Facebook's Compose Message, each name that appears in the TO field uses a nice LABEL with an X. Click on the X, and you remove name from the To sender field. I see this same feature again in other web2.0 social networking apps. Are there open source tools that let me make those nice X LABELS after you click on the...
stackexchange/codereview
I am having a problem with FCKeditor reverting html entities entered in the source view back to their original unicode representations. For example when I enter &euro; into the source view, switch to html and then back to source view, the entity is replaced by an actual € symbol. The bigger problem, as a result, is t...
stackexchange/codereview
I'm trying to get tags working in my rails application and want to use acts_as_taggable. Firstly I followed the instructions I found in Rails Recipies (a free sample bit online) that used the acts_as_taggable plugin. However, I then found this site which seems to have a gem for acts_as_taggable which is more advanced (...
stackexchange/codereview
We try to convert from string to Byte[] using the following Java code: String source = "0123456789"; byte[] byteArray = source.getBytes("UTF-16"); We get a byte array of length 22 bytes, we are not sure where this padding comes from. How do I get an array of length 20?
stackexchange/codereview
For a university mid-term project I have to design a configurable processor, to write the code in VHDL and then synthesize it on a Spartan 3E FPGA board from Digilent. I'm a beginner so could you point me to some information about configurable processors, to some ideas related to the concept?
stackexchange/codereview
I know it is not strictly a programmer question, on the other hand, I would really like to be able to do a simple svn up on the production servers, which would save us a lot of hassle. Or production servers are within a corporate network, and access is only allowed through a gateway server. From that we can access the ...
stackexchange/codereview
What is the best method for determining if a users browser has cookies enabled in ASP.NET
stackexchange/codereview
I would like to add a custom menu item when you right-click a certain file extension in Visual Studio. There seem to be some helper open source projects to accomplish this, but I'd like to ask if anyone has ever used them, and how easy were they - and can you help me and provide a starting point? One I've researched is...
stackexchange/codereview
I have this HTML structure and want to convert it to an accordion. <div class="accor"> <div class="section"> <h3>Sub section</h3> <p>Sub section text</p> </div> <div class="section"> <h3>Sub section</h3> <p>Sub section text</p> </div> <div class="section"> <h3...
stackexchange/codereview
Java & Oracle both have a timestamp type called Date. Developers tend to manipulate these as if they were calendar dates, which I've seen cause nasty one-off bugs. For a basic date quantity you can simply chop off the time portion upon input, i.e., reduce the precision. But if you do that with a date range, (e.g.: 9/2...
stackexchange/codereview
I'd like to have a link for a user to join a Facebook group from within my Facebook application. Here is the link on Facebook's "display a group" page (minus a longer referrer part), but the group id is encrypted: http://www.new.facebook.com/group.php?sid=c431b3cfc02765def331081f8b71ffbd Anyone know how to either encry...
stackexchange/codereview
You can limit "Check-In Policy" rules via the "Custom Paths" policy. But the "Check-in Notes" tab doesn't seem to fit in to the same system. Why isn't "Check-In notes" just another "Check-In policy"?? I'm using Team Foundation Server 2008 SP1
stackexchange/codereview
I've just downloaded the ASP.MVC MSI package, but the installation fails with the "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." message. I see that other people too have the same problem (http://...
stackexchange/codereview
I opened a csv file and copy the contents. I activated an excel file and have the copied contents from csv file pasted into excel file. Now, how do I close the csv file programmatically?
stackexchange/codereview
I am running the free version of Helicon ISAPI Rewrite on IIS and have several sites running through the same set of rewrite rules. Up 'til now this has been fine as all the rules have applied to all the sites. I have recently added a new site which I don't want to run through all the rules. Is there any way to make re...
stackexchange/codereview
I installed wxWidgets 2.8.9 on a Windows XP SP2 box and built the library according to the directions and now I'm trying to get the Hello World! tutorial app to build from within Eclipse and I'm just missing something apparently. Any idea how to get Cygwin, Eclipse and wxWidgets to play nice together?
stackexchange/codereview
I have a table, we'll call Users. This table has a single primary key defined in SQL Server - an autoincrement int ID. Sometimes, my LINQ queries against this table fail with an "Index was outside the range" error - even the most simplest of queries. The query itself doesn't use any indexers. For example: User = User...
stackexchange/codereview
I am trying to get Selenium RC working with Firefox 3 on Linux with PHP/Apache but am experiencing problems. Here's what I've done: I have installed the Firefox Selenium-IDE extension. On the web server (which in my case is actually the same machine running Firefox), I've started the Selenium server with: java -jar s...
stackexchange/codereview
Is there any alternative to stored procedures, secure and fast as well as stored procs. i know only Hibernate. Is there any other technologies like that?
stackexchange/codereview
Scenario I have an HTML/javascript website that uses javascriptSOAPClient communicate with an ASP.NET 1.1 web service in order to read/write to a SQL database. (http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx). The database contains anonymous demographic information--no names, no credit cards, no addresses...
stackexchange/codereview
I am writing a software synthesizer and need to generate bandlimited, alias free waveforms in real time at 44.1 kHz samplerate. Sawtooth waveform would do for now, since I can generate a pulse wave by mixing two sawtooths together, one inverted and phase shifted. So far I've tried the following approaches: Precomputin...
stackexchange/codereview
In SQL you can use SELECT * FROM INFORMATION_SCHEMA.TABLES etc to get information about the database structure. I need to know how to achieve the same thing for an Access database.
stackexchange/codereview
I have a Python script I recently wrote that I call using the command line with some options. I now want a very thin web interface to call this script locally on my Mac. I don't want to go through the minor trouble of installing mod_python or mod_wsgi on my Mac, so I was just going to do a system() or popen() from PHP ...
stackexchange/codereview
I'm developing a POS application that is used in about 200 locations as of right now using .Net 2.0, WCF and SyncFusion components for the GUI. Two days ago we installed the application in a new location, and it has been suffering sudden termination of the application. The application has a running log of events and ...
stackexchange/codereview
I have come across numerous arguments against the inclusion of multiple inheritance in C#, some of which include (philosophical arguments aside): Multiple inheritance is too complicated and often ambiguous It is unnecessary because interfaces provide something similar Composition is a good substitute where interfaces ...
stackexchange/codereview
Is there a method to get all of the .aspx files in my website? Maybe iterate through the site's file structure and add to an array?
stackexchange/codereview
In our industrial automation application, we need to capture and display the data in the milliseconds. We have data binding between data grid control and a DataTable object. We have around three hundred records which needs to be display in the grid. So we update the 300 records every time we get the records. Example ...
stackexchange/codereview
I am new to python and struggling to find how to control the amount of memory a python process can take? I am running python on a Cento OS machine with more than 2 GB of main memory size. Python is taking up only 128mb of this and I want to allocate it more. I tried to search all over the internet on this for last half...
stackexchange/codereview
I would really like to annotate a method with a reference to a single property in a property file for injection. @Resource("${my.service.url}") private String myServiceUrl; Of course, this syntax does not work ;) Thats why I'm asking here. I am aware that I can inject the full properties file, but that just seems exce...
stackexchange/codereview
Is there a way I can access (for printout) a list of sub + module to arbitrary depth of sub-calls preceding a current position in a Perl script? I need to make changes to some Perl modules (.pm's). The workflow is initiated from a web-page thru a cgi-script, passing input through several modules/objects ending in the ...
stackexchange/codereview
$("#dvMyDIV").bind("resize", function(){ alert("Resized"); }); or $("#dvMyDIV").resize(function(){ alert("Resized"); }); The questions Why is this not working at FireFox, Chrome and Safari? Can this be considered a jQuery bug since the resize is not handled for other browsers? Could the only workaround be ca...
stackexchange/codereview
I've read that Silverlight 2.0 imposes by design an asynchronous model when communicating with the web server. I haven't had a chance to experiment with Silverlight, but I assume that it uses a thread-pool to manage threads like in the .NET Framework. Now, since some browsers, most notably Internet Explorer, have an ha...
stackexchange/codereview
How can I convert a relative path to an absolute path in C on Unix? Is there a convenient system function for this? On Windows there is a GetFullPathName function that does the job, but I didn't find something similar on Unix...
stackexchange/codereview
Is there any free java library which I can use to convert string in one encoding to other encoding, something like iconv? I'm using Java version 1.3.
stackexchange/codereview
I have a html page open on my webbrowser object, I can enter username and password okay, but I'm stuck and don't know how to submit the info. Here is the html code for the username/password submit: <div id="signin"> <h2 class="ir"> <em></em>Sign in</h2> <form action="/login/" method="post"> <input ...
stackexchange/codereview
We want to show a hint for a JList that the user can select multiple items with the platform dependent key for multiselect. However I have not found any way to show the OS X COMMAND symbol in a JLabel, which means the symbol that's printed on the apple keyboard on the command key, also called apple key. Here's a pictu...
stackexchange/codereview
I just installed the first release candidate of Python 3.0 and got this error after typing: >>> help('modules foo') [...] LookupError: unknown encoding: uft-8 Notice that it says uft-8 and not utf-8 Is this a py3k specific bug or a misconfiguration on my part? I do not have any other versions of Python installed on th...
stackexchange/codereview
I have a SQL script that I want to output progress messages as it runs. Having it output messages between SQL statements is easy, however I have some very long running INSERT INTO SELECTs. Is there a way to have a select statement output messages as it goes, for example after every 1000 rows, or every 5 seconds? Note: ...
stackexchange/codereview
I'm trying to teach myself how to use Modern Persistence Patterns (OR/M, Repository, etc) and development practices (TDD, etc). Because the best way (for me) to learn is by doing, I'd like to build some sort of demo application for myself. The problem is, I've got no idea what sort of application to build. I'd like to...
stackexchange/codereview
How to add offline access functionality to MoinMoin wiki? As a minimum, I would love to have browsing access to all pages on a server-based wiki (while being offline). Search and other things, which do not modify the content, are secondary. An added bonus would be if this solution allowed to update wiki content while ...
stackexchange/codereview
I would like to drag and drop my data file onto a Python script and have it process the file and generate output. The Python script accepts the name of the data file as a command-line parameter, but Windows Explorer doesn't allow the script to be a drop target. Is there some kind of configuration that needs to be done ...
stackexchange/codereview
I'm working on an application that consists of an overall Quartz-based scheduler and "CycledJob" run using CronTriggers. The purpose of the application is to process inputs from different email inboxes based on the source country. Based on the country that it comes in from (i.e. US, UK, FR, etc.) the application trigg...
stackexchange/codereview
I'm trying to make a select that calculates affiliate payouts. my approach is pretty simple. SELECT month(payments.timestmap) ,sum(if(payments.amount>=29.95,4,0)) As Tier4 ,sum(if(payments.amount>=24.95<=29.94,3,0)) As Tier3 ,sum(if(payments.amount>=19.95<=24.94,2,0)) As Tier2 FROM payments GROUP BY month(payments.tim...
stackexchange/codereview
I need to test a web form that takes a file upload. The filesize in each upload will be about 10 MB. I want to test if the server can handle over 100 simultaneous uploads, and still remain responsive for the rest of the site. Repeated form submissions from our office will be limited by our local DSL line. The server is...
stackexchange/codereview
I want to use regular expressions (Perl compatible) to be able to find a pattern surrounded by two other patterns, but not include the strings matching the surrounding patterns in the match. For example, I want to be able to find occurrences of strings like: Foo Bar Baz But only have the match include the middle part...
stackexchange/codereview
Possible Duplicate: Internationalization in SSRS We use SQL Server Reporting Services for our web reports. At the moment, our clients are all in the UK, so for each report, we set the Language property for the report to "English (United Kingdom)". But now we have US and French clients. So, we'll need to change the l...
stackexchange/codereview
As I am coding my unit tests, I tend to find that I insert the following lines: Console.WriteLine("Starting InteropApplication, with runInBackground set to true..."); try { InteropApplication application = new InteropApplication(true); application.Start(); Console.WriteLine("Application started correctly");...
stackexchange/codereview
I'm new to postgreSQL and I have a simple question: I'm trying to create a simple script that creates a DB so I can later call it like this: psql -f createDB.sql I want the script to call other scripts (separate ones for creating tables, adding constraints, functions etc), like this: \i script1.sql \i script2.sql It ...
stackexchange/codereview
I have a class that compares 2 instances of the same objects, and generates a list of their differences. This is done by looping through the key collections and filling a set of other collections with a list of what has changed (this may make more sense after viewing the code below). This works, and generates an obje...
stackexchange/codereview
Question: ((lambda (x y) (x y)) (lambda (x) (* x x)) (* 3 3)) This was #1 on the midterm, I put "81 9" he thought I forgot to cross one out lawl, so I cross out 81, and he goes aww. Anyways, I dont understand why it's 81. I understand why (lambda (x) (* x x)) (* 3 3) = 81, but the first lambda I dont understand what ...
stackexchange/codereview
I would like a code sample for a function that takes a tDateTime and an integer as input and sets the system time using setlocaltime after advancing that tDateTime by (int) months. The time should stay the same. pseudo code example SetNewTime(NOW,2); The issues I'm running into are rather frustrating. I cannot use in...
stackexchange/codereview
This Linq to SQL query ... Return (From t In Db.Concessions Where t.Country = "ga" Select t.ConcessionID, t.Title, t.Country) ... is generating this SQL: SELECT [t0].[ConcessionID], [t0].[Title], [t0].[Country] FROM [dbo].[Concessions] AS [t0] WHERE [t0].[Country] = ga ... when what I want is WHERE [t0].[Country]...
stackexchange/codereview
How would you configure/handle extraneous/optional URLs entities (aliases, maybe)? SO is a good example: stackoverflow.com/questions/99999999/ stackoverflow.com/questions/99999999/question-goes-here (bad example, but I couldn't think of better) Amazon URLs are even more confusing (e.g., the Kindle) amazon.com/gp/pro...
stackexchange/codereview
What programming languages support arbitrary precision arithmetic and could you give a short example of how to print an arbitrary number of digits?
stackexchange/codereview
I'm in the process of trying to hack together the first bits of a kernel. I currently have the entire kernel compiled down as C code, and I've managed to get it displaying text in the console window and all of that fine goodness. Now, I want to start accepting keyboard input so I can actually make some use of the thing...
stackexchange/codereview
I have a .net web-service hosted in IIS 6.0 that periodically fails with an http 500 because a client connects to it with data that does not match the wsdl. Things like having an element specified in a method as being of type int and the inbound xml element contains a decimal number. WSDL element definition: <s:element...
stackexchange/codereview
I changed the folder that my WordPress installation was in. However, this worked fine, except now all my images are not showing up. The problem is that each post has the full url of the image in it. (not my doing, this seems to be the default setting) Is there a tool or a quick fix available for this?
stackexchange/codereview
I have recently come across a situation where code is dynamically loading some libraries, wiring them up, then calling what is termed the "application entry point" (one of the libraries must implement IApplication.Run()). Is this a valid "Appliation entry point"? I would always have considered the application entry po...
stackexchange/codereview
What is the simplest way to identify and separate GET and POST parameters from a controller in Ruby on Rails, which will be equivalent to $_GET and $_POST variables in PHP?
stackexchange/codereview
I want to test ASP.NET application using NUnit, but it seems WebConfigurationManager.ConnectionStrings collection is empty when running from NUnit GUI. Could you tell me how to initialize this collection (probably in [SetUp] function of [TestFixture])? Should I copy Web.config somethere? Thank you!
stackexchange/codereview
Currently running Server 2003 but am looking at reinstalling in the near future due to a change of direction with the domains. Should I take this opportunity to install Windows Server 2008 instead? I would love to play with new technology and the server is only for a small home business so downtime/performance issues a...
stackexchange/codereview
I will be teaching a class sson, and I need to explain what factors should affect your decision of data access technology. I am familiar with many data access methods like Typed Data Sets, Linq to SQL, Linq to Entities, .netTiers, LLBLGen, and custom calls with SQL connection objects and command objects. Some of my cl...
stackexchange/codereview
Is the code gen tool sqlmetal only a mapper to linq to sql? I'm looking for something that will create common CRUD operations also like: GetUserByID UpdateUserByID InsertUser GetAllUsers etc.
stackexchange/codereview
If you are using Java or JavaScript, is there a good way to do something like a String subtraction so that given two strings: org.company.project.component org.company.project.component.sub_component you just get: sub_component I know that I could just write code to walk the string comparing characters, but I was hop...
stackexchange/codereview
Every time I start in deep in a C# project, I end up with lots of events that really just need to pass a single item. I stick with the EventHandler/EventArgs practice, but what I like to do is have something like: public delegate void EventHandler<T>(object src, EventArgs<T> args); public class EventArgs<T>: EventArg...
stackexchange/codereview
I would like to be able to "get information from the issue tracker" as described in the section "Getting Information from the Issue Tracker" at: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html (display a dlg box to the user when they start a commit action in svn so they can choose form a li...
stackexchange/codereview
Comment on Duplicate Reference: Why would this be marked duplicate when it was asked years prior to the question referenced as a duplicate? I also believe the question, detail, and response is much better than the referenced question. I've been a C++ programmer for quite a while but I'm new to Java and new to Eclipse....
stackexchange/codereview
What are the advantages and disadvantages of shrinking a database? Are there any performance implications?
stackexchange/codereview
When using something like object.methods.sort.to_yaml I'd like to have irb interpret the \n characters rather than print them. I currently get the following output: --- \n- "&"\n- "*"\n- +\n- "-"\n- "<<"\n- <=>\n ... What I'd like is something similar to this: --- - "&" - "*" - + - "-" - "<<" - <=> Is this po...
stackexchange/codereview
How to convey a bad news to the client?
stackexchange/codereview
How would you go about dead code detection in C/C++ code? I have a pretty large code base to work with and at least 10-15% is dead code. Is there any Unix based tool to identify this areas? Some pieces of code still use a lot of preprocessor, can automated process handle that?
stackexchange/codereview
how to show all values of a particular field in a text box ??? ie. for eg. when u run the SP, u'll be getting 3 rows. and i want to show the (eg.empname) in a textbox each value separated by a comma. (ram, john, sita).
stackexchange/codereview
I have an application which takes a string value of the form %programfiles%\directory\tool.exe from its application config file. I want to make this into a useable filename so that I can call System.Diagnostics.Process.Start(filename) and have it execute the application. I'm curently getting a System.ComponentModel.W...
stackexchange/codereview
I have the following serialization method: Private Function SerializeData(ByVal data As cData) As String If data IsNot Nothing Then Dim xml_stream As New MemoryStream() Dim sr As StreamReader Dim xs As New XmlSerializer(GetType(cData)) xml_stream = New MemoryS...
stackexchange/codereview
I have a textbox whose input is being handled by jQuery. $('input.Search').bind("keyup", updateSearchTextbox); When I press Enter in the textbox, I get a postback, which messes everything up. How can I trap that Enter and ignore it? (Just to preempt one possible suggestion: The textbox has to be an <asp:textbox ... />...
stackexchange/codereview
Aspell-net is a port of the GNU Aspell for .Net Framework. The library itself is open source, and is under the LGPL license, but the english dictionary for aspell is mentioned as copyrighted on the sourceforge.net project home page at http://aspell-net.sourceforge.net/ Did any of you guys use aspell-net before? and wha...
stackexchange/codereview
I'm setting up my first site using the asp authentication provider and using the built in asp.net login control. My question, is the password encrypted or hashed as it's sent to the server using the asp.net login control? or do I need to use https/ssl to accomplish this? Thanks
stackexchange/codereview
After looking at other questions related to sharing solutions between VS 2005 and VS 2008 it seems that the way to go is to have two solution files (one for VS 2005 and one for VS 2008). However, if the solution is under source control (VisualSVN in our case), how would we maintain two solution files and not keep ove...
stackexchange/codereview
The code below gives me this mysterious error, and i cannot fathom it. I am new to regular expressions and so am consequently stumped. The regular expression should be validating any international phone number. Any help would be much appreciated. function validate_phone($phone) { $phoneregexp ="^(\+[1-9][0-9]*(\([0...
stackexchange/codereview
Is there a best-practice or common way in JavaScript to have class members as event handlers? Consider the following simple example: <head> <script language="javascript" type="text/javascript"> ClickCounter = function(buttonId) { this._clickCount = 0; document.getElementById(buttonI...
stackexchange/codereview
Our application is well structured (well we did our best!) and we have split the Model from the View, Now, we need to let some information to our client with a web access. We would like to build something small with IIS and some webform. Here some information you might think are useful: Our controller have Thread of d...
stackexchange/codereview
I've had success with LuaSocket's TCP facility, but I'm having trouble with its FTP module. I always get a timeout when trying to retrieve a (small) file. I can download the file just fine using Firefox or ftp in passive mode (on Ubuntu Dapper Linux). I thought it might be that I need LuaSocket to use passive FTP, bu...
stackexchange/codereview
I have been attempting to write some routines to read RSS and ATOM feeds using the new routines available in System.ServiceModel.Syndication, but unfortunately the Rss20FeedFormatter bombs out on about half the feeds I try with the following exception: An error was encountered when parsing a DateTime value in the XML....
stackexchange/codereview