instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm looking for a library that can deal with RDF and OWL data.
So far I have found:
semweb (no owl support for all I know)
rowlex (more of a 'browser' application)
Your recommendations:
LinqToRdf (very interesting, thanks mark!)
| stackexchange/codereview |
From the MSDN documentation:
"Synchronized supports multiple writing threads, provided that no threads are reading the Hashtable. The synchronized wrapper does not provide thread-safe access in the case of one or more readers and one or more writers."
Source:
http://msdn.microsoft.com/en-us/library/system.collections.h... | stackexchange/codereview |
Has anyone ever given table columns the "fisheye" effect? Im talking about an expanding effect of the table columns when hovering the mouse over them. I'd love to see some code if anyone has tried this.
EDIT: ...or an accordian effect
| stackexchange/codereview |
I have stumbled into several methods of looping in JavaScript, what I like the most is:
for(var i = 0; i < a.length; i++){
var element = a[i];
}
But as tested here (http://www.robertnyman.com/2008/04/11/javascript-loop-performance/), it should probably be written so that the length is only calculated once.
In jQu... | stackexchange/codereview |
Intuitively, it would seems that a compiler for language Foo cannot itself be written in Foo. More specifically, the first compiler for language Foo cannot be written in Foo, but any subsequent compiler could be written for Foo.
But is this actually true? I have some very vague recollection of reading about a language ... | stackexchange/codereview |
I have managed to create an Ext.tree.TreePanel that loads child nodes dynamically, but I'm having a difficult time clearing the tree and loading it with new data. Can someone help me with the code to do this?
| stackexchange/codereview |
We have a decent sized object-oriented application. Whenever an object in the app is changed, the object changes are saved back to the DB. However, this has become less than ideal.
Currently, transactions are stored as a transaction and a set of transactionLI's.
The transaction table has fields for who, what, when, w... | stackexchange/codereview |
I'm building an application using the Supervising Controller pattern (Model View Presenter) and I am facing a difficulty. In my page I have a repeater control that will display each item of a collection I am passing to it. The reapeater item contains 2 dropdown list that allow the user to select a particular value. Whe... | stackexchange/codereview |
I'm working on a eclipse plug-in and I've tried to create another test project seperate from the plug-in. The reason I do this is to not let the plug-in depend on jUnit when it is exported. However, I can't access the Eclipse Plug-in API when I do the testing. Whenever I try to add Plug-in dependencies the import list ... | stackexchange/codereview |
Is it possible to aggreagate information from a list in a sitecollection and/or a portal site to "My Site"?
I would like to display all my calendar appointments made in the portal (or sub-site collection) in a webpart under "My Site"
| stackexchange/codereview |
What do you usually use to connect to a Web Service when you are developing a Java project?
There are different API-s that can do the job.
From different books and tutorials I have read about: JAX-WS, JAXB, JAXM, JAXR, JAX-RPC, Axis ans so on.
I'm interested in what exactly are you using and how much? Take this as a su... | stackexchange/codereview |
I recently baselined my machine and installed VS2008 and I am trying to import my settings file: http://naspinski.net/file.axd?file=naspinski.vssettings
I click Tools->Import Settings, select Import selected environment settings and click on Next
Next screen I select No, just import new settings, overwrite my current s... | stackexchange/codereview |
I need to be able to send encrypted data between a Ruby client and a Python server (and vice versa) and have been having trouble with the ruby-aes gem/library. The library is very easy to use but we've been having trouble passing data between it and the pyCrypto AES library for Python. These libraries seem to be fine w... | stackexchange/codereview |
I have two Java classes: B, which extends another class A, as follows :
class A {
public void myMethod() { /* ... */ }
}
class B extends A {
public void myMethod() { /* Another code */ }
}
I would like to call the A.myMethod() from B.myMethod(). I am coming from the C++ world, and I don't know how to do this ... | stackexchange/codereview |
I'm on a project which is trying to write what amounts to a Mailing List app in Django, and we're running into a couple of problems/questions.
The code we have so far doesn't set various List headers, and re-sets the To header to be the person we're sending it to, instead of the list address.
Now, we can work our way t... | stackexchange/codereview |
I have been trying to learn how to add testing to existing code -- currently reading reading Working Effectively With Legacy Code. I have been trying to apply some of the principles in JavaScript, and now I'm trying to extract an interface.
In searching for creating interfaces in JavaScript, I can't find a lot -- and ... | stackexchange/codereview |
I'd like to create a view in Sharepoint that has a filter based on a date field.
The filter should be >= Today and <- Today + 90 days.
I found a reference to the
<Today OffsetDays=”5” />
CAML function and could probably use this by setting the view using the API.
My question is how do i set this using the brows... | stackexchange/codereview |
When using grep --color=always I can get pretty color highlighting for regex matches.
However, grep only returns lines with at least one match. Instead, I am looking for a way to simply highlight regex matches, while leaving all other input alone, without dropping lines without any matches.
I have tried to get color w... | stackexchange/codereview |
I'm looking for Python code that removes C and C++ comments from a string. (Assume the string contains an entire C source file.)
I realize that I could .match() substrings with a Regex, but that doesn't solve nesting /*, or having a // inside a /* */.
Ideally, I would prefer a non-naive implementation that properly han... | stackexchange/codereview |
For years we've been using RealNetworks' Helix server to serve streaming video courses.
It has been a pretty reliable solution up until now.
As of late, our support calls due to RealPlayer issues has gone from 2 or 3 a week (mostly PEBKAC or firewall issues) to up to about 10 a day.
I've been arguing to dump Real in fa... | stackexchange/codereview |
I've done some programming where I've embedded the Flash ActiveX control into my program. I'll play SWF files in a "playlist" provided by the user. Typically, I've kept a timer going that looks at the CurrentFrame vs. TotalFrames to detect forward motion. I don't allow for looping - if the CurrentFrame ever decreases, ... | stackexchange/codereview |
Curious, how many of you develop under a VMware environment?
Is it popular for employers to setup vmware for everyone?
Seems like a great way to rollout new desktop computers and perform backups etc.
Just worried about the performance though (PC vmwares).
Update
I was just looking at vmware's site, 1.3 BILLION in sales... | stackexchange/codereview |
Since I've started to use jQuery, I have been doing a lot more JavaScript development.
I have the need to parse different date formats and then to display them into another format.
Do you know of any good tool to do this?
Which one would you recommend?
| stackexchange/codereview |
I am looking for more information about the minimum requirements needed for a visitor to successfully stream a 1 Mbps 640x360 H.264-encoded video. I know that the user needs the latest Flash 9 version. I am looking for the minimum requirements for their computers.
We want to switch to this codec for our videos, but do ... | stackexchange/codereview |
Why won't my connection string to SQL server work with Windows authentication? A sql user works fine, acme\administrator or administrator@acme.com won't work. This is a Win Form app written in C#.
{
OdbcConnection cn = null;
String connectionString;
connectionString = "Driver={SQL Server... | stackexchange/codereview |
I'm using the following syntax to loop through a list collection:
For Each PropertyActor As JCPropertyActor In MyProperty.PropertyActors
i = IndexOf(PropertyActor)
Next
How do I get the index of the current object within the loop? I'm using IndexOf(PropertyActor) but this seems inefficient as it searches the coll... | stackexchange/codereview |
I need a way to get the elapsed time (wall-clock time) since a program started, in a way that is resilient to users meddling with the system clock.
On windows, the non standard clock() implementation doesn't do the trick, as it appears to work just by calculating the difference with the time sampled at start up, so tha... | stackexchange/codereview |
I have some data in the following format:
Salary
Code InTime
1690 09:03:00
1690 09:13:00
1690 09:07:00
1691 08:48:00
1691 08:52:00
1691 08:50:00
1691 08:54:00
1691 08:46:00
1691 09:28:00
1691 08:59:00
1691 08:53:00
1691 09:02:00
1693 08:57:00
1693 09:01:00
1693 08:54... | stackexchange/codereview |
This is supposed to be a no brainer but I still can’t figure it out.
In my sample app there’s a button and a textbox in a dockpanel. If the content of the textbox is smaller than the content of the textbox the window is as big as it needs to be to display the content of the button. That’s what I want. But if I put more... | stackexchange/codereview |
Im a coding a library including textual feedback that I need to translate.
I put the following lines in a _config.py module that I import everywhere in my app :
import gettext, os, sys
pathname = os.path.dirname(sys.argv[0])
localdir = os.path.abspath(pathname) + "/locale"
gettext.install("messages", localdir)
I have ... | stackexchange/codereview |
this is my old code
protected override bool OnPreAction(string actionName, System.Reflection.MethodInfo methodInfo)
{
if ("|Register|RegisterPage|Login|LoginPage|Logout|Service".ToLower().Contains(actionName.ToLower()))
{
return base.OnPreAction(actionName, methodInfo);
}
... | stackexchange/codereview |
We don't teach children calculus first. We first teach them arithmetic, then algebra, then geometry, the analytical geometry, then finally calculus.
Why then, do we teach our computer scientists frameworks and IDE first. Some curriculum do force students to learn computer science fundamentals, but the vast majority o... | stackexchange/codereview |
I am writing a simple xml string to an MSMQ from a VB6 app, but when I attempt to read the message off the queue in C# using the XmlMessageFormatter I get the following error:
"Name cannot begin with the '.' character"
How do I successfully read these messages using .Net code?
| stackexchange/codereview |
In light of Michael Carman's comment, I have decided to rewrite the question. Note that 11 comments appear before this edit, and give credence to Michael's observation that I did not write the question in a way that made it clear what I was asking.
Question: What is the standard--or cleanest way--to fake the special ... | stackexchange/codereview |
What's the best way to go about creating a vertical and horizontal ruler bars in an SDI app? Would you make it part of the frame or the view? Derive it from CControlBar, or is there a better method?
The vertical ruler must also be docked to a pane and not the frame.
To make it a little clearer as to what I'm after, i... | stackexchange/codereview |
Example
G76 I0.4779 J270 K7 C90
X20 Y30
If a number begins with I J K C X Y and it doesn't have a decimal then add decimal.
Above example should look like:
G76 I0.4779 J270 K7. C90.
X20. Y30.
Purpose of this code is to convert CNC code for an older Fanuc OPC controller
| stackexchange/codereview |
We've been using Trac for task/defect tracking and things were going well enough, but this morning it started serving up a 500 error. Looking in the Apache error_log, I get a stack trace that culminates in:
PythonHandler trac.web.modpython_frontend:
ExtractionError: Can't extract file(s) to egg cache
The following ... | stackexchange/codereview |
I've been able to find Xaml Object Mapping Specification, WPF Xaml Vocabulary Specification, and Silverlight Xaml Vocabulary Specification documents online but no WF Xaml Vocabulary Specification document for Windows Workflows. I want to be able to specify workflows without using a Visual Studio IDE.
Does anybody know... | stackexchange/codereview |
I have a case that keeps coming up where I'm using a ListView or similar control with a simple array such as string[].
Is there a way to use the DataKeyNames property when you are binding to simple collections?
| stackexchange/codereview |
I have a function I've written that was initially supposed to take a string field and populate an excel spreadsheet with the values. Those values continually came up null. I started tracking it back to the recordset and found that despite the query being valid and running properly through the Access query analyzer th... | stackexchange/codereview |
I've been trying to compare the memory footprint between a VB6 application and .Net application. Trying to determine what's the average difference between the two.
The .Net code is for the most part a direct translation of the VB6 and for the most part has the same instructions as they would be programmed in C#. So whi... | stackexchange/codereview |
I am trying to find out how to modify the Colors/Fonts used in the Schema Compare "Object Definitions" window that appears after a comparison is done between two databases.
The color scheme I have is unreadable, but I cannot seem to find the right settings in the Tools/Options/Environment/Fonts and Colors dialog.
Thank... | stackexchange/codereview |
I have a combo box with the following DataTemplate:
<DataTemplate x:Key="ComboBoxDataTemplate">
<StackPanel>
<TextBlock Text="{Binding Path='Name'}"/>
<Path Data="{Binding Path='PathGeometry'}" Width="64" Height="64" Stroke="Black" Stretch="Fill" StrokeThickness="1"/>
... | stackexchange/codereview |
And this was supposed to be so easy...
I have existing business and data access layers that handle the retrieval and update of the data in question. These work great with the existing Winforms application (.Net V2.0)
Now, in trying to write a new web-based UI, I'm running into all sorts of problems (last time I wrote ... | stackexchange/codereview |
I installed Python 2.6 for one user on Windows Vista. Python works okay, but when I try: import Tkinter, it says the side-by-side configuration has errors. I've tried tinkering with the Visual Studio runtime, with no good results. Any ideas on how to resolve this?
| stackexchange/codereview |
I have a file containing 250 million website URLs, each with an IP address, page title, country name, server banner (e.g. "Apache"), response time (in ms), number of images and so on. At the moment, these records are in a 25gb flat file.
I'm interested in generating various statistics from this file, such as:
number o... | stackexchange/codereview |
Less than 10 client computers, each with their own installation have to upload data to a central server.
The client database looks like:
tblSales
- rowGuid
- randomNumber
Central Server database:
rowGuid
randomNumber
dateInserted
I plan to use WCF to send the files to the central server.
How can I verify the rows wer... | stackexchange/codereview |
I've been doing some Web-Projects lately that rely on heavy Data-Binding and have been quite happy with the results. Databinding Webforms works mostly the way I need it and I spared myself tons of code.
One thing that still feels weird is that I have application logic and database logic mixed throughout the application... | stackexchange/codereview |
I was running my first Visual Studio 2008 Unit Test with a WCF Service and I received the following error:
Test method
UnitTest.ServiceUnitTest.TestMyService
threw exception:
System.ServiceModel.Security.MessageSecurityException:
The HTTP request is unauthorized with
client authentication scheme
'Anonymou... | stackexchange/codereview |
I always wondered what different methods Google Desktop Search is using so that it uses least CPU and memory while indexing a computer containing more 100,000 files on an average.
In just few hours it has indexed the whole system and I did not see it eating up my CPU, memory etc.
If any of you have done some research, ... | stackexchange/codereview |
In the recent project, we had an issue with the performance of few queries that relied heavily on ordering the results by datetime field (MSSQL 2008 database).
When we executed the queries with ORDER BY RecordDate DESC (or ASC) the queries executed 10x slower than without that. Ordering by any other field didn't produc... | stackexchange/codereview |
can we output a .jpg image or .gif image in C? I mean can we print a picture as output with the help of a C program?Aslo can we write a script in C language for HTML pages as can be written in JavaScript? Can the browsers operate on it?If not possible is there any plugin for any of the browsers?
Any example code or lin... | stackexchange/codereview |
I'm trying to implement search result highlighting for pdfs in a web app. I have the original pdfs, and small png versions that are used in search results. Essentially I'm looking for an api like:
pdf_document.find_offsets('somestring')
# => { top: 501, left: 100, bottom: 520, right: 150 }, { ... another box ... }, ...... | stackexchange/codereview |
I have an application used by pretty tech-savey people and they want small island of programmability so I've used embedded Iron Python.
However, since IronPython 2.0 Eval() doesn't work any more. Specifically I can't both load modules and inject local variables.
There is a work around where I can still call Execute(), ... | stackexchange/codereview |
I've got a large array of primitive types (double).
How do I sort the elements in descending order?
Unfortunately the Java API doesn't support sorting of primitive types with a Comparator.
The first approach that probably comes to mind is to convert it to a list of objects (boxing):
double[] array = new double[1048576]... | stackexchange/codereview |
We need to implement a large-scale key-value store (let's say up to 500GB) and BerkeleyDB seemed like it might be a decent option, but we would really like it to be network accessible. This led me to look at memcachedb. I haven't found much on the web where people talk about actual experiences with memcachedb, so my qu... | stackexchange/codereview |
Let's say branch B is a topic branch off of branch A, and you want those changes in branch C. What does it mean when you cherry-pick the merge commit of branch A and branch B to branch C?
For example, if you use the -m flag to specify the old HEAD of branch A to cherry-pick the merge to branch C, does that simply mean... | stackexchange/codereview |
I have a co-worker that swears by
//in a singleton "Constants" class
public static final String EMPTY_STRING = "";
in a constants class available throughout the project. That way, we can write something like
if (Constants.EMPTY_STRING.equals(otherString)) {
...
}
instead of
if ("".equals(otherString)) {
...
... | stackexchange/codereview |
I have a list of elements (the X in the following examples) displayed either in a row or in a column of an HTML table.
In HTML code point of view, I have either (horizontal display):
<table id="myTable">
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
...
</tr>
</table>
or (vertical display):
<table id="myTa... | stackexchange/codereview |
What would be the best way to check that a std::vector is sorted? Is there something faster than a loop checking that v[i]<=v[i+1]? Is it faster/cleaner with iterators? Or is it actually better to just call sort every time (though the "v is already sorted" case is quite common)?
We can safely assume the vector only con... | stackexchange/codereview |
In flash you can open a file on the user's computer. In flash 9 you can upload and download the file and in flash 10 you can access the contents of the file.
It is secure because the user has to choose the file from a file dialog box to allow flash access to it.
What I would like to do in my application is to get a dir... | stackexchange/codereview |
If we develop a winform app using an MVC architecture, it should not be too hard to change over to WPF at a later date, correct?
| stackexchange/codereview |
I'm trying to run a particular JUnit test by hand on a Windows XP command line, which has an unusually high number of elements in the class path. I've tried several variations, such as:
set CLASS_PATH=C:\path\a\b\c;C:\path\e\f\g;....
set CLASS_PATH=%CLASS_PATH%;C:\path2\a\b\c;C:\path2\e\f\g;....
...
C:\apps\jdk1.6.0_0... | stackexchange/codereview |
Please help!
Background info
I have a WPF application which accesses a SQL Server 2005 database. The database is running locally on the machine the application is running on.
Everywhere I use the Linq DataContext I use a using { } statement, and pass in a result of a function which returns a SqlConnection object which ... | stackexchange/codereview |
In your “enterprise” work environment, how are engineers held accountable for performing code inspections and unit testing? What processes do you follow (formal methodology or custom process) to ensure the quality of your software? Do you or have you tried implementing a developer "signoff" sheet for deliverables?
Th... | stackexchange/codereview |
This is one of those ajax "alternate flow" questions. Normally I expect my ajax request to return a part of the page. But sometimes it may return a full page with html, head and body tag.
At the time I return from my ajax-request I can detect if this is a full page, but is it possible to trigger a full page reload (wi... | stackexchange/codereview |
can anybody show me how to build a string using checkbox. what would be the best way to do this.
for example i have 4 checkbox's each with its own value (valueA, valueB, valueC, valueD)
the thing is i want to display each result in different lines.
result if B & C is selected :
valueB
valueC
and how would i display ... | stackexchange/codereview |
I'm about to start writing a .Net component which will be called from a VB COM+ service (the new component is a DLL which calls out to a webservice and returns based on the response). I'm not sure how to handle error conditions that might occur in the .Net code in the calling VB.
The two types of errors I'm worried abo... | stackexchange/codereview |
I have a largish Mercurial repository that I've decided would be better as several smaller repositories. Is there a way that I can split the repository and have each piece retain its revision history?
| stackexchange/codereview |
I'm looking to create a virtual printer that passes data to my .NET application. I want to then create an installer that installs both the printer and the .NET application. It would we really nice to be able to write it all in C#, but I have a feeling that this will require a printer driver to be written is unmanaged ... | stackexchange/codereview |
I know a fair bit about the Windows Task Manager in XP, but I would like to understand it better in Vista. What is the difference between "Working Set (Memory)" and "Memory (Private Working Set)". What is the Paged Pool, what is the NP Pool (Non-Paged?). How do I use these to determine what is going on with memory u... | stackexchange/codereview |
Assuming a table of tags like the stackoverflow question tags:
TagID (bigint), QuestionID (bigint), Tag (varchar)
What is the most efficient way to get the 25 most used tags using LINQ? In SQL, a simple GROUP BY will do:
SELECT Tag, COUNT(Tag) FROM Tags GROUP BY Tag
I've written some LINQ that works:
var groups = f... | stackexchange/codereview |
I've heard that there are some things one cannot do as a computer programmer, but I don't know what they are. One thing that occurred to me recently was: wouldn't it be nice to have a class that could make a copy of the source of the program it runs, modify that program and add a method to the class that it is, and the... | stackexchange/codereview |
I have a php script and i'm using ajax with it. I have a textarea form connect with the ajax class
The problem when I pass a text like (&some text) the function return an empty text, I guess that I have a problem with (&).
The javascript function:
function sendFormData(idForm, dataSource, divID, ifLoading)
{
var post... | stackexchange/codereview |
My VPS provider (Slicehost) doesn't provide an SMTP server. I use Google Apps to send and receive mail for my domains, but I want to be able to programmatically send e-mail.
I've been Googling this issue on and off for many months, and I just can't seem to get a clear picture of what I need to do. Do I just need an M... | stackexchange/codereview |
I would like to modify the animation duration and attach a callback to be called when the animation finishes when calling scrollToRowAtIndexPath with animated:YES but I can't find a handle to its animation proxy or any other way to do it.
Anyone know if this is possible?
| stackexchange/codereview |
How can I make Ctrl + K + D work in a pure C file?
I really enjoy the auto formatting in C#, and I would like to have the same functionality in C as well.
I am using Visual Studio 2008, but it would probably be helpful if this worked in Visual Studio 2005 as well.
| stackexchange/codereview |
I'm trying to do a subselect in pgsql aka postgresql and the example I found doesn't work:
SELECT id FROM (SELECT * FROM table);
| stackexchange/codereview |
ASPX Code
<asp:RadioButtonList ID="rbServer" runat="server" >
<asp:ListItem Value=<%=ServerDeveloper%>> Developer </asp:ListItemv
<asp:ListItem Value="dev.ahsvendor.com"> dev.test.com</asp:ListItem>
<asp:ListItem Value="staging.ahsvendor.com"> staging.test.com</asp:ListItem>
</asp:RadioButtonList>
ASPX.CS - ... | stackexchange/codereview |
Ok, strange setup, strange question. We've got a Client and an Admin web application for our SaaS app, running on asp.net-2.0/iis-6. The Admin application can change options displayed on the Client application. When those options are saved in the Admin we call a Webservice on the Client, from the Admin, to flush our ca... | stackexchange/codereview |
I am interested in using/learning RoR in a project where I have to use a .NET dll. Is Ruby capable of importing a .NET dll?
| stackexchange/codereview |
I have a COM+ data service that is configured to use object pooling with a min and max pool size of 1. So I have a singleton. In some scenarios my Object count (the number of clients that have a reference to this instance) goes beyond 1 and steadily increases.
The instance creation and the one call to its method is wra... | stackexchange/codereview |
I want to have CListCtrl.EditLabel() for any column of the list. How can I implement such a feature?
| stackexchange/codereview |
I need to conduct a survey of 3 questions:
The first question will be Yes/No.
The second will have multiple answers, in which you can select multiple answers for just that question, as well as an "other" box that you can use to fill in an answer.
The last question will be a textarea in which the user can enter general... | stackexchange/codereview |
Please consider the following:
<td style="width: 500px;">
<div style="width: 400px;">SomeContent</div>
</td>
For some reason, the column that contains a div will not expand to 500px as the style suggests.
Do you know how to get the td to honor the width that I am specifying in the style?
| stackexchange/codereview |
What are some uses of #pragma in C, with examples?
| stackexchange/codereview |
I was currently looking into memcached as way to coordinate a group of server, but came across Apache's ZooKeeper along the way. It looks interesting, and Yahoo uses it, so it shouldn't be bad, but I'd never heard of it before, so I'm kind of skeptical. Has anyone else given it a try? Any comments or ideas?
| stackexchange/codereview |
I am using a custom item renderer in a combobox to display a custom drawing instead of the default text label.
This works fine for the dropdown list but the displayed item ( when the list is closed) is still the textual representation of my object.
Is there a way to have the displayed item rendered the same way as the ... | stackexchange/codereview |
I've got a solution which I setup / cleanup using batch files ...
- there are a pair of MSMQ ports, send and receive, with another application on the end of the queues
I'm finding I can't properly stop the orchestration in the batch file ... the error is the send port is unenlisted
- I'm using the StopOrch.vbs script ... | stackexchange/codereview |
Our app is made up of several Modules, and we would like to take advantage of the XP feature that would allow these to be grouped together. For example all windows in "Module A" would be grouped together, separately from windows in "Module B".
I've tried setting the AssemblyTitle attribute in the
project's AssemblyIn... | stackexchange/codereview |
Update: Thanks for the suggestions guys. After further research, I’ve reformulated the question here: Python/editline on OS X: £ sign seems to be bound to ed-prev-word
On Mac OS X I can’t enter a pound sterling sign (£) into the Python interactive shell.
Mac OS X 10.5.5
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)... | stackexchange/codereview |
I've evaluated some plugins from official IntelliJ repository, but none of them seems to provide more then basic syntax highlighting. Even highlighting is limited. For example, Database Navigator doesn't highlight IF. It would be great to have proper highlighting. And if it would have auto-complete feature and provide ... | stackexchange/codereview |
We are building a framework that will be used by other developers and for now we have been using a lot of TDD practices. We have interfaces everywhere and have well-written unit tests that mock the interfaces.
However, we are now reaching the point where some of the properties/methods of the input classes need to be i... | stackexchange/codereview |
I am using Structure map like the MVC storefront by Rob Conery does and I have an AdminController and so to get to it I just type:
website/Admin/action
however if I miss spell the controller name I get the error below:
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: key
There err... | stackexchange/codereview |
Some years ago I was told about a study into code reuse. Apparently it was found that, on average, programmers have a 7 minute window when searching for code to reuse. If they don't find code that suits their needs within that window they'll write their own.
This was presented in the context of needing to carefully man... | stackexchange/codereview |
I'm trying to use tasklist to find out which process is consuming more than X percent of my CPU (to later kill it with taskkill.)
How do I know what percent a time format represents?
The documentations says:
TASKLIST options
/FI filter
And one filter may be:
CPUTIME eq, ne, gt, lt, ge, le ... | stackexchange/codereview |
I have a Winforms application created in Visual Studio 2005 Pro, it connects to an SQL Server 2005 database using the SqlConnection / SqlCommand / SqlDataAdapter classes to extract data. I have stored procedures in my database to return the data to me.
What is the best way to handle queries that take a "long time" to c... | stackexchange/codereview |
I've been researching modules for Nginx (my preferred webserver) to serve a Lisp webapp, but I haven't been able to find anything.
Is there modules for Nginx, or is there better ways to serve Lisp webapps? If so, what are they?
| stackexchange/codereview |
I have created a proc that grabs all the user tables in a local DB on my machine. I want to be able to create a flat file of all my tables using BCP and SQL. Its a dummy database in SQL 2000 connecting through windows authentication. I have set my enviroment path variable in WinXP SP2. I have created new users to acces... | stackexchange/codereview |
Hopefully a picture is worth a thousand lines of code because I don't want to have to strip down all of the ASP.Net code, HTML, JavaScript, and CSS to provide an example (but I'll supply what I can upon request if someone doesn't say "Oh, I've seen that before! Try this...") [Actually, I did post some code and CSS - se... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.