How to implement continuations? * Cinema Guy 18:18 Add Comment Edit Question I'm working on a Scheme interpreter written in C. Currently it uses the C runtime stack as its own stack, which is presenting a... Read More
What style do you use for creating a "class"? * Cinema Guy 17:56 Add Comment Edit Question There are a few ways to get class-like behavior in javascript, the most common seem to be prototype based like this: function Ve... Read More
How do you mock a Sealed class? * Cinema Guy 17:14 Add Comment Edit Question Mocking sealed classes can be quite a pain. I currently favor an Adapter pattern to handle this, but something about just keeps ... Read More
Date arithmetic in Unix shell scripts * Cinema Guy 16:24 Add Comment Edit Question I need to do date arithmetic in Unix shell scripts that I use to control the execution of third party programs. I'm using ... Read More
How to enter an existing project? * Cinema Guy 16:10 Add Comment Edit Question Lately I've been thinking a lot about the best way to enter an existing project fast. I've written some of my thoughts her... Read More
How can I enable disabled radio buttons? * Cinema Guy 15:33 Add Comment Edit Question The following code works great in IE, but not in FF or Safari. I can't for the life of me work out why. The code is supposed ... Read More
.NET 3.5 Redistributable -- 200 MB? Other options? * Cinema Guy 15:32 Add Comment Edit Question I've been using a lot of new .NET 3.5 features in the work that I've been doing, lately. The application that I'm build... Read More
How to programmatically iterate datagrid rows? * Cinema Guy 15:08 Add Comment Edit Question I'm suddenly back to WinForms, after years of web development, and am having trouble with something that should be simple. I ... Read More
Graphing JavaScript Library * Cinema Guy 15:06 Add Comment Edit Question I'm creating a web application on Google App Engine for fun and I'd like to include graphs so users can see some stats. Are... Read More
C# loop - break vs. continue * Cinema Guy 14:49 Add Comment Edit Question In a C# (feel free to answer for other languages) loop, what's the difference between break and continue as a means to leave th... Read More
How to access .Net element on Master page from a Content page? * Cinema Guy 14:39 Add Comment Edit Question Is it possible to access an element on a Master page from the page loaded within the ContentPlaceHolder for the master? I have... Read More
Java Time Zone is messed up * Cinema Guy 14:24 Add Comment Edit Question I am running a Tomcat application, and I need to display some time values. Unfortunately, the time is coming up an hour off. I lo... Read More
What client(s) should be targeted in implementing an ICalendar export for events? * Cinema Guy 13:58 Add Comment Edit Question http://en.wikipedia.org/wiki/ICalendar I'm working to implement an export feature for events. The link above lists tons of c... Read More
What's the difference in closure style * Cinema Guy 13:53 Add Comment Edit Question There are two popular closure styles in javascript. The first I call anonymous constructor : new function() { var code... ... Read More
How do you manage databases in development, test, and production? * Cinema Guy 13:50 Add Comment Edit Question I've had a hard time trying to find good examples of how to manage database schemas and data between development, test, and pro... Read More
How to pass a comma separated list to a stored procedure? * Cinema Guy 13:48 Add Comment Edit Question So I have a Sybase stored proc that takes 1 parameter that's a comma separated list of strings and runs a query with in in an I... Read More
Multiple foreign keys? * Cinema Guy 13:07 Add Comment Edit Question I've got a table that is supposed to track days and costs for shipping product from one vendor to another. We (brilliantly :p) ... Read More
Haml: how do I set a dynamic class value? * Cinema Guy 12:56 Add Comment Edit Question I have the following html.erb code that I'm looking to move to Haml: <span class="<%= item.dashboardstatus.csscla... Read More
Why are unsigned int's not CLS compliant? * Cinema Guy 12:55 Add Comment Edit Question Why are unsigned integers not CLS compliant? I am starting to think the type specification is just for performance and not for c... Read More
Why is Array.Length an int, and not an uint * Cinema Guy 12:34 Add Comment Edit Question Why is Array.Length an int, and not an uint. This bothers me (just a bit), because a length value can never by negative. This ... Read More
VS 2008 - Objects disappearing? * Cinema Guy 12:24 Add Comment Edit Question I've only been using VS 2008 Team Foundation for a few weeks. Over the last few days, I've noticed that sometimes one of my... Read More
Eclipse on win64 * Cinema Guy 11:17 Add Comment Edit Question Is anyone successfully using the latest 64-bit Ganymede release of Eclipse on Windows XP or Vista 64-bit? Currently I run the ... Read More
E-mail Notifications * Cinema Guy 11:04 Add Comment Edit Question In a .net system I'm building, there is a need for automated e-mail notifications. These should be editable by an admin. What... Read More
Split a string ignoring quoted sections * Cinema Guy 11:04 Add Comment Edit Question Given a string like this: a,"string, with",various,"values, and some",quoted What is a good al... Read More
FF3 WinXP != FF3 Ubuntu - why? * Cinema Guy 11:03 Add Comment Edit Question I've got a website that I've just uploaded onto the interwebs, and it's displaying differently using Firefox 3.0.1 on U... Read More
Experiences of the Smart Client Software Factory * Cinema Guy 10:59 Add Comment Edit Question Has anyone had any experience in building a 'real world' application with the Smart Client Software Factory , from Microsof... Read More
How do I make event callbacks into my win forms thread safe? * Cinema Guy 10:32 Add Comment Edit Question When you subscribe to an event on an object from within a form, you are essentially handing over control of your callback method to... Read More
Regular expression for parsing links from a webpage? * Cinema Guy 10:24 Add Comment Edit Question I'm looking for a .NET regular expression extract all the URLs from a webpage but haven't found one to be comprehensive eno... Read More
How do I edit work items in the Visual Studio 2008 xml editor? * Cinema Guy 10:04 Add Comment Edit Question I'm trying to customize some TFS work items via the VS2008 xml editor, but every time I open a work item xml file it jumps to t... Read More
How do you find the age of a long-running Linux process and then kill it? * Cinema Guy 09:50 Add Comment Edit Question I have a problem with some zombie-like processes on a certain server that need to be killed every now and then. How can I best iden... Read More
Repair SVN Checksum * Cinema Guy 09:49 Add Comment Edit Question I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit: svn: Checksum mismatch for ... Read More
How do you handle huge if-conditions? * Cinema Guy 09:45 Add Comment Edit Question It's something that's bugged me in every language I've used, I have an if statement but the conditional part has so man... Read More
What is the best way to store connection string in .NET DLLs? * Cinema Guy 09:32 Add Comment Edit Question The application my team is currently developing has a DLL that is used to perform all database access. The application can not use... Read More
Normalizing a Table with Low Integrity * Cinema Guy 09:19 Add Comment Edit Question I've been handed a table with about 18000 rows. Each record describes the location of one customer. The issue is, that when the... Read More
Gathering OS and tool version numbers for build archive purposes * Cinema Guy 08:44 Add Comment Edit Question Our automated build machine needs to archive the version numbers of the OS plus various tools used during each build. (In case we ... Read More
What to use for login ID? * Cinema Guy 08:40 Add Comment Edit Question We are in the early design stages of a major rewrite of our product. Right now our customers are mostly businesses. We manage accou... Read More
Default Form Button in FireFox * Cinema Guy 08:32 Add Comment Edit Question I am building a server control that will search our db and return results. The server control is contains an ASP:Panel. I have se... Read More
Source control for web projects * Cinema Guy 08:27 Add Comment Edit Question I'm looking for good suggestions on how to implement version and source control for web projects. I've looked into sub... Read More
How do you deal with configuration files in source control? * Cinema Guy 07:44 Add Comment Edit Question Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have o... Read More
Log4Net configuring log level * Cinema Guy 07:43 Add Comment Edit Question How do I make Log4net only log Info level logs? Is that even possible? Can you only set a threshold? This is what I have, and i... Read More
Should I provide accessor methods / Getter Setters for public/protected components on a form? * Cinema Guy 07:35 Add Comment Edit Question If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to... Read More
Best way to abstract season/show/episode data * Cinema Guy 07:05 Add Comment Edit Question Basically, I've written an API to www.thetvdb.com in Python. The current code can be found here . It grabs data from the A... Read More
What's your opinion on using UUIDs as database row identifiers, particularly in web apps? * Cinema Guy 06:55 Add Comment Edit Question I've always preferred to use long integers as primary keys in databases, for simplicity and (assumed) speed. But when using a R... Read More
Always Commit the same file with SVN * Cinema Guy 06:55 Add Comment Edit Question In my web application I have a file which hold the current revision number via $Rev$. This work fine except, if I don't make an... Read More
API Yahoo India Maps * Cinema Guy 06:39 Add Comment Edit Question Yahoo has separate map for India ( which has more details than the regular maps.yahoo.com) at http://in.maps.yahoo.com/ . But when ... Read More
How do you feel about code folding? * Cinema Guy 06:38 Add Comment Edit Question For those of you in the Visual Studio environment, how do you feel about wrapping any of your code in #regions? (or if any other I... Read More
Getting the text from a drop-down box * Cinema Guy 06:36 Add Comment Edit Question This gets the value of whatever is selected in my dropdown menu. document.getElementById('newSkill').value I cannot ... Read More