instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am trying to use reflector.InvokeMethod to invoke a function with an optional parameter. The function looks like this: Private Function DoSomeStuff(ByVal blah1 as string, ByVal blah2 as string, Optional ByVal blah3 as string = "45") as boolean 'stuff end function and I'm Invoking it like this: Dim result As Boolean...
stackexchange/codereview
The code at the end produces a compile error: NotApplicable.java:7: run() in cannot be applied to (int) run(42); ^ 1 error The question is why? Why does javac think I am calling run(), and does not find run(int bar)? It correctly called foo(int bar). Why do I have to use NotApplicab...
stackexchange/codereview
I am aware of the System.TimeZone class as well as the many uses of the DateTime.ToString() method. What I haven't been able to find is a way to convert a DateTime to a string that, in addition to the time and date info, contains the three-letter Time Zone abbreviation (in fact, much the same way StackOverflow's toolt...
stackexchange/codereview
I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been able to find anything so far on Google except where the migration is to a similar platform and file-system. I won't change the filesystem but t...
stackexchange/codereview
First of all, I'd like to say that this site is great! My question is, what are the reasons for the following 2 error messages? 1) In VB.NET (I know this is a C# forum but my next question is from C# experience), property evaluation failed (I do this when putting a watch on an exception variable). 2) In C#, method or c...
stackexchange/codereview
I'm not much of a Visual Basic person, but I am tasked with maintaining an old VB6 app. Whenever I check out a file, the editor will replace a bunch of the uppercase variable names with lowercase automatically. How can I make this stop!? I don't want to have to change them all back, and it's a pain to have these cha...
stackexchange/codereview
Hopefully I can do the problem justice, because it was too difficult to summarise it in the title! (suggestions are welcome in the comments) Right, so here's my table: Tasks task_id (number) job_id (number) to_do_by_date (date) task_name (varchar / text) status (number) complet...
stackexchange/codereview
It seems like Info.plist file has an ability to declare different roles for the same application bundle through the UIRoleInfo key. SpringBoard can recognize these roles after installing an app and may display separate icons for each application role. For instance, iPhone shows MobileSlideShow.app as 2 different progra...
stackexchange/codereview
There's a lot of advice out there that you shouldn't expose your fields publically, and instead use trivial properties. I see it over & over. I understand the arguments, but I don't think it's good advice in most cases. Does anyone have an example of a time when it really mattered? When writing a trivial property mad...
stackexchange/codereview
I have a simple website I'm testing. It's running on localhost and I can access it in my web browser. The index page is simply the word "running". urllib.urlopen will successfully read the page but urllib2.urlopen will not. Here's a script which demonstrates the problem (this is the actual script and not a simplifi...
stackexchange/codereview
What is the difference between these three heavily related fields? Is there one specific whole they are all a part of (aside from CS)?
stackexchange/codereview
I've got a file whose format I'm altering via a python script. I have several camel cased strings in this file where I just want to insert a single space before the capital letter - so "WordWordWord" becomes "Word Word Word". My limited regex experience just stalled out on me - can someone think of a decent regex to d...
stackexchange/codereview
I am running windows XP with ruby 1.8.6 patchlevel 111. I am using HTTP to connect to a remote server and it has been running fine. All of a sudden it started to through the exception listed below (I did not change any code since the last time I ran it successfully). Does anybody know what is going on? c:/ruby/lib/r...
stackexchange/codereview
I am creating an Eclipse RCP application. I am following Joel's advice in the following article "Daily Builds are your friend": http://www.joelonsoftware.com/articles/fog0000000023.html So, I've written a nice build script that creates an Eclipse RCP product and that runs unit tests on the code. All results are then d...
stackexchange/codereview
Is there a .NET equivalent of Java Web Start? I want a one-click, from the web, lightweight install for a group of .NET assemblies and resources. Hopefully, the link would continue to keep the user updated with the latest version, similar to what Java Web Start does. The application is written in F#, for what it's wor...
stackexchange/codereview
I am trying to to walk though the tree of PdfItem objects in an existing PDF document using PDFSharp in c#. I want to create a hierarchy of all the objects as I go along -- similar to what the "PDF Explorer" example does -- but I want it to be a tree instead of a flat list of all the objects. The root node is document...
stackexchange/codereview
I currently use Notepad++ for most of my development. I have been checking out other, more full-featured options and would like to switch (I'm in particular a fan of Aptana so far) but there is one thing about Notepad++ that I really like and I haven't been able to get so far. My current workflow is something like t...
stackexchange/codereview
I develop and maintain small intranet web apps(JSP and Resin). Some users takes so much time to complete the forms that, when they submit, they lose all their input data because of session timeout. Currently I prolonged session timeout to 30 minutes and display count-down clock till session timeout on top of the page...
stackexchange/codereview
I open gmail, click on an inbox item, and look at source of the page. It doesn't look like there isn't any proper html to relate to what is shown on the actual page. How is the source getting processed into the actual page? Is there some javascript processing this information?
stackexchange/codereview
%AX = (%AH + %AL) So why not %EAX = (%SOME_REGISTER + %AX) for some register %SOME_REGISTER?
stackexchange/codereview
How do you handle update refresh rate from your worker function to your UI ? Sending everything to the UI or maybe using a timer (from which side ? worker or UI ?)
stackexchange/codereview
I want to do something like this: List<Animal> animals = new ArrayList<Animal>(); for( Class c: list_of_all_classes_available_to_my_app() ) if (c is Animal) animals.add( new c() ); So, I want to look at all of the classes in my application's universe, and when I find one that descends from Animal, I want to ...
stackexchange/codereview
I'm using C#, .NET 3.5. I understand how to utilize events, how to declare them in my class, how to hook them from somewhere else, etc. A contrived example: public class MyList { private List<string> m_Strings = new List<string>(); public EventHandler<EventArgs> ElementAddedEvent; public void Add(string ...
stackexchange/codereview
How many can relate do this? Server Error in / Application Object reference not set to an object Description: Object reference not set to an object. Exception Details: System.NullReferenceException: Object reference not set to an object. Source Error: Line 56: posts.Add(post); On a more serious note, what are th...
stackexchange/codereview
My Account model has the following two associations: has_many :expenses, :order => 'expenses.dated_on DESC', :dependent => :destroy has_many :recent_expenses, :class_name => 'Expense', :conditions => "expenses.dated_on <= '#{Date.today}'", :order => 'dated_on DES...
stackexchange/codereview
I'm using the standard edition of JIRA and on the whole, I love it. However, it's a frequent source of irritation that JIRA doesn't seem to record who resolved an issue, just who the current assignee is, and who reported the issue. Because the "resolver" is not recorded there's no way to find issues that I resolved, or...
stackexchange/codereview
What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final?
stackexchange/codereview
I am using CGContextShowText to display text, but when rotating it using CGAffineTransformation, the rotation axis is located at the left, not at the center of the drawn text, the code I am using is this: CGContextSaveGState(context); CGContextSelectFont(context, "Helvetica", 20, kCGEncodingMacRoman); CGContextSetChar...
stackexchange/codereview
I have a problem with Visual C++ 2008. I have installed opencv and I've created a new program and I build it with no errors. However, it complains about not finding MSVCR90D.dll when debugging. In release mode there is no problem at all. I do have MSVCR90D.dll in one of Winsxs folders. Does anyone know a get-around to...
stackexchange/codereview
What is the differences and similarities between Domain Specific Languages (DSL) and Domain Driven Design (DDD)?
stackexchange/codereview
When should you NOT use a singleton class although it might be very tempting to do so? It would be very nice if we had a list of most common instances of 'singletonitis' that we should take care to avoid.
stackexchange/codereview
I had a little discussion with a friend about the usage of collections in return/input values of a method. He told me that we have to use - the most derived type for return values. - the least derived type for input parameters. So, it means that, for example, a method has to get a ReadOnlyCollection as parameter, and a...
stackexchange/codereview
How can I programmatically lock/unlock, or otherwise prevent/enable editing, a source file on Linux using C++. I want to be able to lock source file so that if I open it in an editor it will not allow me to save back to the same source file. I am thinking of maybe changing the permissions to read-only (and change it ba...
stackexchange/codereview
Spending thousand of hours in front of my computer, ergonomics became quickly a main issue. For the monitor or the keyboard, technical solutions exist. But for the mouse, I never get used to the trackball and putting a little pillow under my wrist made me feel uncomfortable. So I started to swap the hand that holds the...
stackexchange/codereview
I am very new to Java. My assignment is to create my own method and then create a class to test it in. My question, do I create the method separate of the class, or within the class? If it is separate of the class, how do I get the class to access my method? (Are they saved as two separate files?) This is what I have s...
stackexchange/codereview
Let's say we have 2 php variables: $name = 'caption'; $url = 'http://domain.com/photo.jpg'; The input string of '{@url,<img src="," alt="{@name}" />}' should return: '<img src="http://domain.com/photo.jpg" alt="caption" />' The {tag} takes up to 3 parameters: {@variable[,text_before][,text_after]}. What regex would b...
stackexchange/codereview
I know that I can insert multiple rows using a single statement, if I use the syntax in this answer. However, one of the values I am inserting is taken from a sequence, i.e. insert into TABLE_NAME (COL1,COL2) select MY_SEQ.nextval,'some value' from dual union all select MY_SEQ.nextval,'another value' from dual ; If ...
stackexchange/codereview
I'm working on an import (from Excel) dialog to select ranges of cells. When the range is selected, I use the event sink to catch the event and highlight the first row and first column. I need to unhighlight the previous selection's first row and column. I don't think it's safe to just get the selected range at the ti...
stackexchange/codereview
Visual Studio 2008 doesn't appear to be loading symbols for MFC dlls when I debug my application. This used to work fine in 2005 - ie. when it loaded the dll it said "Symbols loaded" and can then debug it. In 2008 (having upgraded to MFC 9, so they are different libraries) it doesn't say that it's loaded symbols for th...
stackexchange/codereview
Is it possible to prevent the browser from following redirects when sending XMLHttpRequest-s (i.e. to get the redirect status code back and handle it myself)?
stackexchange/codereview
This sounds dumb, but I can't get it to work. I think i just dont' understand the difference between %%v, %v% and %v Here's what I'm trying to do: for %%v in (*.flv) do ffmpeg.exe -i "%%v" -y -f mjpeg -ss 0.001 -vframes 1 -an "%%v.jpg" This successfully generates a thumbnail for each of the movies, but the problem is:...
stackexchange/codereview
Here's my setup: a Mac, running OS X Tiger. Windows XP running in a virtual machine (Parallels). Windows XP has my Mac home directory mapped as a network drive. I have two files in a directory of my Mac home directory: foo.py pass test.py import foo If I run test.py from within my virtual machine by typing 'python ...
stackexchange/codereview
I want do something like this: Result = 'MyString' in [string1, string2, string3, string4]; This can't be used with strings and I don't want to do something like this: Result = (('MyString' = string1) or ('MyString' = string2)); Also I think that creating a StringList to do just this is too complex. Is there some oth...
stackexchange/codereview
My WCF Service uses wsHttpBinding and works fine from the client when the service is gerenated by the client using the default options as follows: RServiceClient R = new RServiceClient(); However, at some point I'll need to be able to specify the location of the service, presumably by changing the endpoint address as ...
stackexchange/codereview
I have client application that uses WCF service to insert some data to backend database. Client application is going to call service on per event basis (it can be every hour or every second). I'm wondering what's the best way of calling that service. Should I create communication channel and keep it open all the time,...
stackexchange/codereview
I am having a small problem regarding pre-requisites and launch condition for setup. For example, my setup is having one launch condition requiring "Software1" and one prerequisite installing "Software2". So, if a system does not have both requirements "Software1" and "Software2" on installing the setup: Is it shows t...
stackexchange/codereview
Here is a simplified version of my database model. I have two tables: "Image", and "HostingProvider" which look like this: [Image] id filename hostingprovider_id [HostingProvider] id base_url Image HostingproviderId is a many-to-one foreign key relationship to the HostingProvider table. (Each image has one hosting...
stackexchange/codereview
Currently we have mutiple projects sharing a JIRA instances. We want to make it such that the users only view the projects that they are doing testing. But however we are currently groupging these users to the standard grouping jira-users. What is the best way to filter out JIRA project that only certain users can see ...
stackexchange/codereview
<a> <xsl:attribute name="href"> <xsl:value-of select="link" /> </xsl:attribute> <xsl:attribute name="target">new</xsl:attribute> <xsl:value-of select="title" /> </a> Thats my template, and in my code: sb.Append("<title>"); sb.AppendFormat("{0} - {1}", f.UserName, f.PointTypeDesc); sb.Append("</title>"); sb.A...
stackexchange/codereview
So I'm reading The Art & Science of Javascript, which is a good book, and it has a good section on JSONP. I've been reading all I can about it today, and even looking through every question here on StackOverflow. JSONP is a great idea, but it only seems to resolve the "Same Origin Problem" for getting data, but doesn't...
stackexchange/codereview
I was making the following call: result = RegOpenKeyEx(key, s, 0, KEY_READ, &key); (C++, Visual Studio 5, Vista 64bit). It is failing with error code 2 ("File not found") even though "regedit" shows that the key exists. This code has always worked on 32bit XP. Why is it "file not found" when it clearly is there?
stackexchange/codereview
In our data access layer at work we have this standard implementation where the class is accessed through a singleton public property which looks something like this: public static CustomerController Instance { get { lock(singletonLock) { ...
stackexchange/codereview
I have some written a number of unit tests that test a wrapper around a FTP server API. Both the unit tests and the FTP server are on the same machine. The wrapper API gets deployed to our platform and are used in both remoting and web service scenarios. The wrapper API essentially takes XML messages to perform tasks s...
stackexchange/codereview
As far as I know there's no way to hint the c# compiler to inline a particular function and I guess it's like that by design. I also think that not letting the programmer to specify what to inline and what not is generally a good idea, as it would imply that you think you're smarter than the JIT compiler (my respects t...
stackexchange/codereview
I've been reading Skype4Java (java api for skype) and noticed they use jni to access the skype client. intuitively I'd assume that there already is a standard library in java that has an OS-sensitive jni implementation to access other processes. I set up to look for one, but couldn't find it. Is there such a library? ...
stackexchange/codereview
This seems to be a common problem but I cannot find a solution. I type in my username and password which are in a login control I have created. I then press enter once I've typed in my password and the page just refreshes. It triggers the page load event but not the button on click event. If I press the submit button t...
stackexchange/codereview
Is there a good, up-to-date listing anywhere that maps User-Agent HTTP Header strings --> operating systems?
stackexchange/codereview
I run VPC 2007 on my Vista business laptop with 4 gig RAM. I use VPC to run windows XP and maintain a VS2003 web project. At first everything was great. I assigned the VPC 512MB and did my work as usual. I also run Resharper and Visual SVN. Lately, the act of scrolling in a page causes the CPU to spike above 50, s...
stackexchange/codereview
I'm hoping this question isn't too obscure cross fingers I'm looking for a decent reference for netsuite scripting and api (both of which are based on ASP) does anybody know where to find this stuff? The netsuite help pages are mediocre at best, and the forums aren't very active. (I suppose these two things are already...
stackexchange/codereview
http://blogs.msdn.com/drnick/archive/2007/03/23/preventing-anonymous-access.aspx Can someone clarify whether it is possible to use wsHttpBinding in WCF and disable anonymous access in IIS without transport (ssl) or message security being required?
stackexchange/codereview
The large network (of small world graph type) I wish to deal with is dynamic in nature, new nodes are added and subtracted frequently. Presumably using D* over A* would be a better way to detect paths in this dynamic environment? How solid is D*? has it had any real world experience? like a cryptographic algorithm - is...
stackexchange/codereview
I need a code documentation tool similar to javadoc or c# xml doc for delphi code. What is the best tool? I prefer a technology, which is in the future compatible to the Microsoft sandcastle project.
stackexchange/codereview
Greetings! I've created a custom button class to render the following: <span class="btnOrange"> <input type="submit" id="ctl00_MainContent_m_GoBack" value="Back" name="ctl00$MainContent$m_GoBack"/> </span> However, it renders like this instead (note the extraneous "class" attribute in the INPUT tag): <span class="...
stackexchange/codereview
I have to develop a tool for monitoring helpdesk agents. I can figure out how to capture keyboard events and mouse events; however I need to capture the control that emitted/consumed the event too. Is it possible to find that out?
stackexchange/codereview
Our Test DB is suddenly missing rows. We want them back. Is there a way to sift through everything that has happened to the database today? Each SQL statement? I presume this kind of stuff is in the transaction log, but am not sure how to view it. Is there a way to undo delete operations? BTW: Yes, we do have a backup,...
stackexchange/codereview
I've done this a million times ... setting up a developer work station. Is there a best practices, or installation checklist for installing Microsoft development software on a work station? What about applying updates and/or service packs? Is there a specific order for doing this, in hopes of minimizing any install ...
stackexchange/codereview
I'm using Visual Studio 2008 (SP1) to create a web test that will allow me to edit a page using EditForm.aspx. I am trying it using fiddler and the recorder. I have managed to get some tests to run, but they do not change the properties. Does anyone have any tips on how to do this?
stackexchange/codereview
I have a program that monitors debug messages and I have tried using a TextBox and appended the messages to it but it doesn't scale very well and slows way down when the number of messages gets large. I then tried a ListBox but the scrolling was snapping to the top when appending new messages. It also doesn't allow fo...
stackexchange/codereview
I'm using SWFUpload to handle file uploads and have run into a problem where any file upload >= 3 min will time out. As far as I can tell, Apache and PHP are configured properly to handle large files. Are there any settings with Flash that might affect this? Does Flash have some sort of timeout value I could change?
stackexchange/codereview
I committed a bunch of files (dozens of files in different folders) by accident. What is the easiest, cleanest (and safest!) way to 'undo' that commit without having to delete the files from my working directory?
stackexchange/codereview
I have a program that needs to run as a normal user most of the time, but once in a while I need to stop and start a service. How do I go about making a program that runs as a normal user most of the time but elevates into administrator mode for some function?
stackexchange/codereview
I have a block of code intended to pull text descriptions from a database table and save them to a text file. It looks like this (C# .NET): OdbcCommand getItemsCommand = new OdbcCommand("SELECT ID FROM ITEMS", databaseConnection); OdbcDataReader getItemsReader = getItemsCommand.ExecuteReader(); ...
stackexchange/codereview
Is there any alternative for WPF (windows presentation foundation) in python? http://msdn.microsoft.com/en-us/library/aa970268.aspx#Programming_with_WPF
stackexchange/codereview
How do I dictate the destination folder of a clickOnce application?
stackexchange/codereview
Can anyone recommend some useful performance analysis tools for PHP scripts? Anything that could help me find problematic or unusually slow blocks of code, details about execution time, etc. would be really helpful. I know there are tools out there, but I'm wondering what people recommend as being the most useful and w...
stackexchange/codereview
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT + MinGW for Windows) to compile FFMPEG under Windows. Apparently it is possible, there is even a tutorial at Craig Shaw's website but I have not been able to make it work. I run ./configure on the FFMPEG source code then create a new project in E...
stackexchange/codereview
Recently I wrote a function to generate certain sequences with nontrivial constraints. The problem came with a natural recursive solution. Now it happens that, even for relatively small input, the sequences are several thousands, thus I would prefer to use my algorithm as a generator instead of using it to fill a list ...
stackexchange/codereview
We have a project coming up where the PM is insistent that the team should "eat their own dog food"? At what point is it realistic to do this? e.g. assume we have to write an editor. We can't use this editor at the beginning to actually code because it doesn't exist. We have to use another editor. For a while during th...
stackexchange/codereview
Is it possible to subscribe to a Windows event that fires when Windows is going into or coming out of Sleep or Hibernate state? I need my application to be made aware when the computer is going to sleep to do some cleanup and avoid timing issues when it comes out of sleep.
stackexchange/codereview
I am learning LINQ and have a very simple question that I think will help my understand the technology better. How can I find the product of an array of ints? For example, what is the LINQ way to do: int[] vals = { 1, 3, 5 }; return vals[0] * vals[1] * vals[2];
stackexchange/codereview
I need to index a varchar field on my table in MS SQL Server 2005, but it's not clear to me how to do so. If I try to add a non-clustered index on the field, it says "Column 'xxxx' in table 'mytable' is of a type that is invalid for use as a key column in an index" My table has an auto-increment int ID that is set as ...
stackexchange/codereview
I have a listbox containing and image and a button. By default the button is hidden. I want to make the button visible whenever I hover over an item in the listbox. The XAML I am using is below. Thanks <Window.Resources> <Style TargetType="{x:Type ListBox}"> <Setter Property="ItemTemplate"> ...
stackexchange/codereview
I need to write an extension method on a byte[]. Is that possible?
stackexchange/codereview
Is it possible to store web content (such as JSPs, HTML, images, CSS etc) in a JAR file? I've been looking at various options at modularising our web applications and this is one possibility. We are currently using JSF and Facelets for our view technology - I'm thinking it may be possible to write some form of custom v...
stackexchange/codereview
I have a VBS script that currently writes to a logfile. This script can be kicked off my multiple simultaneous processes so now I'm worried about concurrency. I'm currently using FileSystemObject to open and write to this file. Does FSO support exclusive file access?
stackexchange/codereview
I need to recover form an error case where a file gets left in a locked state. How can I in c# tell this file to reset it's locks? I need to add to this the file is opened by a 3rd party dll and I don't actually have access to the file handle.
stackexchange/codereview
I want to read all thumbnails from a folder with images in Windows XP. But if I read image file to get thumbnail, it seems a bit slow, so I wish I can first read the windows image thumbnail cache:thumb.db. Is there any lib in c++ or c to read thumbnails from thumb.db.
stackexchange/codereview
Is it possible to change the RowCount of a DataGrid in flash after it has been created on the stage? I am loading an XML file externally that contains the number of rows the DataGrid should have, but the problem is that because this file is not loaded at runtime, it just picks the default 3 items. Maybe I have to reloa...
stackexchange/codereview
I have a MySQL database table with a couple thousand rows. The table is setup like so: id | text The id column is an auto-incrementing integer, and the text column is a 200-character varchar. Say I have the following rows: 3 | I think I'll have duck tonight 4 | Maybe the chicken will be alright 5 | I have a pet duck no...
stackexchange/codereview
We are hosting the swf assets on a media hosting server and can't get a file to the root, anyone know what the code looks like to specify a custom location for crossdomain.xml? Sample code if you have it.
stackexchange/codereview
I am using an ASP page where I have to read a CSV file and insert it into DB table "Employee". I am creating an object of TestReader. How can I write a loop to execute up to the number of rows/records of the CSV file which is being read?
stackexchange/codereview
My application is a vb6 executable, but some newer forms in the system are written in C#. I would like to be able to set the C# form's Owner property using a handle to the main application window, so that the dialogs remain on top when tabbing back and forth between my app and other apps. I can get the hwnd of the mai...
stackexchange/codereview
I am having a lot of trouble with mod_rewrite, and for a while I had it going, but for some reason everything has stopped working. Is there any sort of basic test that I can do to make sure that it is not something fundamental broken. It does show up in phpinfo();
stackexchange/codereview
Using classic ASP VBScript, coupled to MS SQL Server, we have a function that takes 3 integers, page_id, heading_id, language_id it looks up the page heading in a translation table... This table contains roughly 10,000 rows... The heading column is nvarchar(1000) plus the 3 int columns meaning it's around 2KiB per row ...
stackexchange/codereview
I have a Excel Sheet(Say OG.xls) which has some data already in it with some 5000 rows with headings in the first row and Upto "AN" Columns. This No of rows(5000) doesn't change for a whole year. Now i have 5 XL files(Say A,B,C,D,E) and the data from these files has to be appended to this OG file just starting from 500...
stackexchange/codereview
I am using a navigation controller, and I have the style set to : navController.navigationBar.barStyle = UIBarStyleBlackTranslucent; But when I run my program, the navigation controller looks like it is on top of a white background, not my background. When I push a controller, left or right, all my view, the current o...
stackexchange/codereview
On an embedded target I use far pointers to access some parts of the memory map. near pointer (without explicitely specifying __near): unsigned int *VariableOnePtr; Pointer to near pointer: unsigned int **VariableOnePtrPtr; far pointer: unsigned int *__far VariableTwoPtr; What is the correct way to declare a pointer ...
stackexchange/codereview
I am migrating a client's SourceSafe repository (3 projects) to SVN and two of the projects share source files. (These projects are separate products - with different names and release versions, etc) Has SVN resolved this shortcoming? How do people generally handle this scenario? Of the options I know about/can think...
stackexchange/codereview
When I press the standard Ctrl + E, C (an other variants) in VS2008 whilst editing a CSS file, it says that command is not available. How do I setup a shortcut to apply a plain old /* */ comment to selected text in VS? Thanks
stackexchange/codereview
How do I properly convert two columns from SQL (2008) using Linq into a Dictionary (for caching)? I currently loop through the IQueryable b/c I can't get the ToDictionary method to work. Any ideas? This works: var query = from p in db.Table select p; Dictionary<string, string> dic = new Dictionary<string, ...
stackexchange/codereview