PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,369 | 08/26/2008 15:27:03 | 3,002 | 08/26/2008 11:21:07 | 1 | 1 | Is "safe_eval" really safe? | I'm looking for a "safe" eval function, to implement spreadsheet-like calculations (using numpy/scipy).
The functionality to do this (the [rexec module][1]) has been removed from Python since 2.3 due to apparently unfixable security problems. There are several third-party hacks out there that purport to do this - th... | python | security | null | null | null | null | open | Is "safe_eval" really safe?
===
I'm looking for a "safe" eval function, to implement spreadsheet-like calculations (using numpy/scipy).
The functionality to do this (the [rexec module][1]) has been removed from Python since 2.3 due to apparently unfixable security problems. There are several third-party hacks out t... | 0 |
28,377 | 08/26/2008 15:29:45 | 299 | 08/04/2008 13:31:09 | 316 | 28 | IIf vs. If | In Visual Basic, is there a performance difference when using the IIf function instead of the If statement? | iif | if | null | null | null | null | open | IIf vs. If
===
In Visual Basic, is there a performance difference when using the IIf function instead of the If statement? | 0 |
28,380 | 08/26/2008 15:30:38 | 1,281 | 08/14/2008 11:19:51 | 1 | 1 | Proxy with Android Emulator | Has anybody managed to get the Android Emulator working behind a proxy which requires authentication?
I've tried setting the -http-proxy argument to
http://DOMAIN/USERNAME:PASSWORD@IP:PORT
but am having no success.
I've tried following the docs to no avail. I've also tried the -verbose-proxy setti... | proxy | android | null | null | null | null | open | Proxy with Android Emulator
===
Has anybody managed to get the Android Emulator working behind a proxy which requires authentication?
I've tried setting the -http-proxy argument to
http://DOMAIN/USERNAME:PASSWORD@IP:PORT
but am having no success.
I've tried following the docs to no avail. I've al... | 0 |
28,387 | 08/26/2008 15:33:05 | 292 | 08/04/2008 13:14:31 | 385 | 14 | SQL Server 2k5 memory consumption? | I have a development vm which is running sql server as well as some other apps for my stack, and I found that the other apps are performing awfully. after doing some digging, SQL Server was hogging the memory. After quick web search I discovered that by default, it will consume as much memory as it can in order to ca... | sql-server | performance | null | null | null | null | open | SQL Server 2k5 memory consumption?
===
I have a development vm which is running sql server as well as some other apps for my stack, and I found that the other apps are performing awfully. after doing some digging, SQL Server was hogging the memory. After quick web search I discovered that by default, it will consume... | 0 |
28,395 | 08/26/2008 15:35:07 | 2,863 | 08/25/2008 16:09:56 | 11 | 3 | Passing $_POST values with cURL | How do you pass $_POST values to a page using cURL? | php | null | null | null | null | null | open | Passing $_POST values with cURL
===
How do you pass $_POST values to a page using cURL? | 0 |
28,428 | 08/26/2008 15:43:09 | 1,288 | 08/14/2008 12:14:17 | 236 | 22 | How do I get the path where the user installed my Java application? | I want to bring up a file dialog in Java that defaults to the application installation directory. What's the best way to get that information programmatically? | java | null | null | null | null | null | open | How do I get the path where the user installed my Java application?
===
I want to bring up a file dialog in Java that defaults to the application installation directory. What's the best way to get that information programmatically? | 0 |
28,433 | 08/26/2008 15:43:54 | 3,095 | 08/26/2008 15:43:54 | 1 | 0 | Comparing two XML Schemas | Are there any tools to effectively compare two XML schema's? I have seen some generic XML diff tools, but I was wondering if there is anything that knows more about schemas. | xml | null | null | null | null | null | open | Comparing two XML Schemas
===
Are there any tools to effectively compare two XML schema's? I have seen some generic XML diff tools, but I was wondering if there is anything that knows more about schemas. | 0 |
28,441 | 08/26/2008 15:45:43 | 3,055 | 08/26/2008 13:54:44 | 1 | 4 | Optimizing for low bandwidth | I am charged with designing a web application that displays very large geographical data. And one of the requirements is that it should be optimized so the PC still on dial-ups common in the suburbs of my country could use it as well.
Now I am permitted to use Flash and/or Silverlight if that will help with the limi... | optimization | networking | web-applications | null | null | null | open | Optimizing for low bandwidth
===
I am charged with designing a web application that displays very large geographical data. And one of the requirements is that it should be optimized so the PC still on dial-ups common in the suburbs of my country could use it as well.
Now I am permitted to use Flash and/or Silverlig... | 0 |
28,464 | 08/26/2008 15:55:44 | 1,574 | 08/16/2008 19:31:12 | 478 | 20 | When do you use dependency injection? | I've been using StructureMap recently and have enjoyed the experience thoroughly. However, I can see how one can easily get carried away with interfacing everything out and end up with classes that take in a boatload of interfaces into their constructors. Even though that really isn't a huge problem when you're using... | dependency-injection | null | null | null | null | null | open | When do you use dependency injection?
===
I've been using StructureMap recently and have enjoyed the experience thoroughly. However, I can see how one can easily get carried away with interfacing everything out and end up with classes that take in a boatload of interfaces into their constructors. Even though that re... | 0 |
28,478 | 08/26/2008 16:03:37 | 299 | 08/04/2008 13:31:09 | 316 | 29 | If, IIf and If | I recently asked a question about [IIf vs. If][1] and found out that there is another function in VB called **If** which basically does the same thing as **IIf** but is a short-circuit.
Does this **If** function perform better than the **IIf** function? Does the **If** statement trump the **If** and **IIf** functio... | vb | if-statement | iif-function | if-function | null | null | open | If, IIf and If
===
I recently asked a question about [IIf vs. If][1] and found out that there is another function in VB called **If** which basically does the same thing as **IIf** but is a short-circuit.
Does this **If** function perform better than the **IIf** function? Does the **If** statement trump the **If**... | 0 |
28,481 | 08/26/2008 16:04:53 | 1,341 | 08/14/2008 15:30:17 | 179 | 8 | What is the purpose of the designer files in Visual Studio 2008 Web application projects? | There is a conversion process that is needed when migrating Visual Studio 2005 web site to Visual Studio 2008 web application projects.
It looks like VS2008 is creating a <web form name>.designer.<language extension> file for every aspx when you right click on a file or the project itself in Solution Explorer and se... | vs2008 | web-application | null | null | null | null | open | What is the purpose of the designer files in Visual Studio 2008 Web application projects?
===
There is a conversion process that is needed when migrating Visual Studio 2005 web site to Visual Studio 2008 web application projects.
It looks like VS2008 is creating a <web form name>.designer.<language extension> file ... | 0 |
28,484 | 08/26/2008 16:05:52 | 572 | 08/06/2008 20:56:54 | 1,651 | 151 | How do you choose a Linux/Unix/BSD distribution? | I am attempting to choose a Linux, Unix, and/or BSD distribution for development purposes. I want to be able to do things like write shell scripts, develop C, C++, Java, Ruby, Python, etc. apps in a *nix environment, and see things from a different perspective. I'm planning on using a Virtual Machine to do all of this.... | linux | unix | bsd | operating-systems | development-environment | 09/28/2011 17:09:02 | not constructive | How do you choose a Linux/Unix/BSD distribution?
===
I am attempting to choose a Linux, Unix, and/or BSD distribution for development purposes. I want to be able to do things like write shell scripts, develop C, C++, Java, Ruby, Python, etc. apps in a *nix environment, and see things from a different perspective. I'm ... | 4 |
28,526 | 08/26/2008 16:23:14 | 3,099 | 08/26/2008 16:23:14 | 1 | 0 | Vista and VS2008 strangenesses | Has anyone noticed odd behaviours when using VS2008 on a Vista box? My main dev machine is a Dell SomethingOrOther running Vista Home Premium which is fully patched as is my VS2008.
Some quirks are just quirks: when running VS2008 the play/pause media controls on my keyboard don't work (a Microsoft Wireless Natural... | vs2008 | windows-vista | null | null | null | null | open | Vista and VS2008 strangenesses
===
Has anyone noticed odd behaviours when using VS2008 on a Vista box? My main dev machine is a Dell SomethingOrOther running Vista Home Premium which is fully patched as is my VS2008.
Some quirks are just quirks: when running VS2008 the play/pause media controls on my keyboard don'... | 0 |
28,529 | 08/26/2008 16:26:45 | 1,403 | 08/15/2008 08:22:55 | 111 | 5 | How would you handle errors when using jQuery.ajax() ? | When using [jQuery][1]'s [ajax method][2] to submit form data, what is the best way to handle errors?
This is an example of what a call might look like:
$.ajax({
url: "userCreation.ashx",
data: { u:userName, p:password, e:email },
type: "POST",
beforeSend: function(){disableS... | jquery | ajax | null | null | null | null | open | How would you handle errors when using jQuery.ajax() ?
===
When using [jQuery][1]'s [ajax method][2] to submit form data, what is the best way to handle errors?
This is an example of what a call might look like:
$.ajax({
url: "userCreation.ashx",
data: { u:userName, p:password, e:email },
... | 0 |
28,530 | 08/26/2008 16:26:51 | 2,141 | 08/20/2008 14:38:34 | 225 | 4 | Corporate-Friendly Open Source Licenses | What open source licenses are more corporate-friendly, i.e., they can be used in commercial products without the need to open source the commercial product? | licensing | null | null | null | null | null | open | Corporate-Friendly Open Source Licenses
===
What open source licenses are more corporate-friendly, i.e., they can be used in commercial products without the need to open source the commercial product? | 0 |
28,538 | 08/26/2008 16:30:07 | 2,887 | 08/25/2008 18:11:29 | 1 | 2 | Java import/export dependencies | I'm trying to find a way to list the (static) dependency requirements of a jar file, in terms of which symbols are required at run time.
I can see that the methods exported by classes can be listed using "javap", but there doesn't seem to be an opposite facility to list the 'imports'. Is it possible to do this?
T... | java | null | null | null | null | null | open | Java import/export dependencies
===
I'm trying to find a way to list the (static) dependency requirements of a jar file, in terms of which symbols are required at run time.
I can see that the methods exported by classes can be listed using "javap", but there doesn't seem to be an opposite facility to list the 'impo... | 0 |
28,542 | 08/26/2008 16:31:25 | 616 | 08/07/2008 11:16:13 | 23 | 4 | Is GCC broken when taking the address of an argument on ARM7TDMI? | My C code snippet takes the address of an argument and stores it in a volatile memory location (preprocessed code):
void foo(unsigned int x) {
*(volatile unsigned int*)(0x4000000 + 0xd4) = (unsigned int)(&x);
}
int main() {
foo(1);
while(1);
}
I used an SVN vers... | c | gcc | arm | null | null | null | open | Is GCC broken when taking the address of an argument on ARM7TDMI?
===
My C code snippet takes the address of an argument and stores it in a volatile memory location (preprocessed code):
void foo(unsigned int x) {
*(volatile unsigned int*)(0x4000000 + 0xd4) = (unsigned int)(&x);
}
int ma... | 0 |
28,551 | 08/26/2008 16:35:06 | 1,043 | 08/11/2008 18:08:32 | 1,087 | 53 | Tips for a successful AppStore submission? | In a day or two I'll be ready to submit my iPhone app to the AppStore and I'm curious whether people who have gone through this process have any tips / suggestions for a smooth submission process.
Here's things I've covered;
- No memory leaks
- Tested performance on an actual device
- Doesn't crash :)
... | iphone | null | null | null | null | 01/19/2012 08:00:28 | off topic | Tips for a successful AppStore submission?
===
In a day or two I'll be ready to submit my iPhone app to the AppStore and I'm curious whether people who have gone through this process have any tips / suggestions for a smooth submission process.
Here's things I've covered;
- No memory leaks
- Tested performan... | 2 |
28,559 | 08/26/2008 16:37:52 | 116 | 08/02/2008 05:51:57 | 3,959 | 205 | Most Pythonic way to while ((x = next()) != END) | What's the best Python idiom for this C construct?
while ((x = next()) != END) {
....
} | c | python | null | null | null | null | open | Most Pythonic way to while ((x = next()) != END)
===
What's the best Python idiom for this C construct?
while ((x = next()) != END) {
....
} | 0 |
28,560 | 08/26/2008 16:38:05 | 1,534 | 08/16/2008 12:20:49 | 650 | 41 | Is it possible to use nHibernate with Paradox database? | Is it possible to configure nHibernate to connect to Paradox database (*.db files)? | database | nhibernate | paradox | null | null | null | open | Is it possible to use nHibernate with Paradox database?
===
Is it possible to configure nHibernate to connect to Paradox database (*.db files)? | 0 |
28,567 | 08/26/2008 16:43:28 | 1,190 | 08/13/2008 12:15:38 | 761 | 69 | How do I name a consulting company? | At some point, I'd like to follow some of the advice on SOFlow and start my own small consulting / software shop. (Consulting because it's easy to get work, software because it scales much better.)
I understand the naming behind "[Less Everything][1]" - they make minimalist products. But where does "[37 Signals][2... | consulting | management | entrepreneurship | null | null | 05/06/2012 23:06:37 | off topic | How do I name a consulting company?
===
At some point, I'd like to follow some of the advice on SOFlow and start my own small consulting / software shop. (Consulting because it's easy to get work, software because it scales much better.)
I understand the naming behind "[Less Everything][1]" - they make minimalist ... | 2 |
28,577 | 08/26/2008 16:48:46 | 2,972 | 08/26/2008 09:20:36 | 1 | 0 | Globalization architecture | I need to store products for an e-commerce solution in a database. Each product should have descriptive information, such as name, description etc.
I need any product to be localized to x number of languages.
What I've done so far, is to make any column that should be localized and nvarchar(MAX) and then i store ... | c# | architecture | localization | globalization | null | null | open | Globalization architecture
===
I need to store products for an e-commerce solution in a database. Each product should have descriptive information, such as name, description etc.
I need any product to be localized to x number of languages.
What I've done so far, is to make any column that should be localized and... | 0 |
28,578 | 08/26/2008 16:48:51 | 327 | 08/04/2008 17:08:49 | 424 | 23 | How can I merge my files when the folder structure has changed using Borland StarTeam? | I'm in the process of refactoring some code which includes moving folders around, and I would like to regularly merge to keep things current. What is the best way to merge after I've moved folders around in my working copy? | version-control | refactoring | merge | starteam | null | null | open | How can I merge my files when the folder structure has changed using Borland StarTeam?
===
I'm in the process of refactoring some code which includes moving folders around, and I would like to regularly merge to keep things current. What is the best way to merge after I've moved folders around in my working copy? | 0 |
28,588 | 08/26/2008 16:53:12 | 3,102 | 08/26/2008 16:44:42 | 1 | 1 | How do you set up an OpenID server in Ubuntu? | I want to log onto Stack Overflow using OpenID, but I thought I'd set up my own server, just because it's harder :) How do you do this in Ubuntu? | ubuntu | openid | linux | null | null | null | open | How do you set up an OpenID server in Ubuntu?
===
I want to log onto Stack Overflow using OpenID, but I thought I'd set up my own server, just because it's harder :) How do you do this in Ubuntu? | 0 |
28,590 | 08/26/2008 16:53:53 | 1,344 | 08/14/2008 16:03:00 | 1,212 | 96 | Why is it bad practice to make multiple database connections in one request? | A discussion about Singletons in PHP has me thinking about this issue more and more. Most people instruct that you shouldn't make a bunch of DB connections in one request, and I'm just curious as to what your reasoning is. My first thought is the expense to your script of making that many requests to the DB, but then I... | database | resources | database-connection | null | null | null | open | Why is it bad practice to make multiple database connections in one request?
===
A discussion about Singletons in PHP has me thinking about this issue more and more. Most people instruct that you shouldn't make a bunch of DB connections in one request, and I'm just curious as to what your reasoning is. My first though... | 0 |
28,599 | 08/26/2008 16:57:52 | 1,190 | 08/13/2008 12:15:38 | 765 | 69 | How do I support SSL Client Certificate authentication? | I want to do what myopenid does -- once you've logged, you can click a button that generates you an SSL certificate; the browser then downloads this certificate and stores it. When you later go back to yourid.myopenid.com, your browser can use its stored certificate for authentication so you don't ever need a password... | ruby-on-rails | apache | ssl | null | null | null | open | How do I support SSL Client Certificate authentication?
===
I want to do what myopenid does -- once you've logged, you can click a button that generates you an SSL certificate; the browser then downloads this certificate and stores it. When you later go back to yourid.myopenid.com, your browser can use its stored cer... | 0 |
28,605 | 08/26/2008 16:59:00 | 356 | 08/05/2008 01:13:09 | 1 | 0 | C on Visual Studio | I'm trying to learn C. As a C# developer, my IDE is Visual Studio. I've heard this is a good environment for C/C++ development. However, it seems no matter what little thing I try to do, intuition fails me. Can someone give good resources for how to either:
- learn the ins and out of C in Visual Studio
- recommend a ... | c | c++ | ide | compiler | null | null | open | C on Visual Studio
===
I'm trying to learn C. As a C# developer, my IDE is Visual Studio. I've heard this is a good environment for C/C++ development. However, it seems no matter what little thing I try to do, intuition fails me. Can someone give good resources for how to either:
- learn the ins and out of C in Visua... | 0 |
28,607 | 08/26/2008 16:59:48 | 2,313 | 08/21/2008 15:27:23 | 13 | 2 | Why do my exception stack traces always point to the last method line? | I have a problem with my Visual Studio installation. When I got an exception I always have incorrect line numbers in it's stack trace. There are always point to last line of each method in my codebase. At the same time it's OK when I'm tracing programs with debugger. What's happed with PDBs? | visual-studio | .net | c# | null | null | null | open | Why do my exception stack traces always point to the last method line?
===
I have a problem with my Visual Studio installation. When I got an exception I always have incorrect line numbers in it's stack trace. There are always point to last line of each method in my codebase. At the same time it's OK when I'm tracing ... | 0 |
28,637 | 08/26/2008 17:09:45 | 2,469 | 08/22/2008 12:41:47 | 23 | 7 | C# is DateTime.Now the best way to measure a functions preformance? | I need to find a bottleneck and need to accurately as possible measure time.
Is the following Code Snippet the best way to measure the performance?
DateTime startTime = DateTime.Now;
// Some Execution Process
DateTime endTime = DateTime.Now;
TimeSpan totalTimeTaken = endTime.Sub... | c# | .net | datetime | timer | null | null | open | C# is DateTime.Now the best way to measure a functions preformance?
===
I need to find a bottleneck and need to accurately as possible measure time.
Is the following Code Snippet the best way to measure the performance?
DateTime startTime = DateTime.Now;
// Some Execution Process
Da... | 0 |
28,642 | 08/26/2008 17:11:41 | 1,212 | 08/13/2008 13:17:40 | 105 | 4 | Finding controls that use a certain interface in ASP.NET | Having a heckuva time with this one, though I feel I'm missing something obvious. I have a control that inherits from System.Web.UI.WebControls.Button, and then implements an interface that I have set up. So think...
public class Button : System.Web.UI.WebControls.Button, IMyButtonInterface { ... }
In the cod... | asp.net | c# | null | null | null | null | open | Finding controls that use a certain interface in ASP.NET
===
Having a heckuva time with this one, though I feel I'm missing something obvious. I have a control that inherits from System.Web.UI.WebControls.Button, and then implements an interface that I have set up. So think...
public class Button : System.Web.U... | 0 |
28,652 | 08/26/2008 17:14:23 | 2,118 | 08/20/2008 12:54:09 | 274 | 14 | Elastic tabstop editors and plugins | What win code editors allow the use of [elastic tabstops][1], either natively or through a plugin?
I know about a gedit plugin, but gedit that only works on *nix.
[1]: http://en.wikipedia.org/wiki/Elastic_tabstop | editor | tabs | null | null | null | null | open | Elastic tabstop editors and plugins
===
What win code editors allow the use of [elastic tabstops][1], either natively or through a plugin?
I know about a gedit plugin, but gedit that only works on *nix.
[1]: http://en.wikipedia.org/wiki/Elastic_tabstop | 0 |
28,654 | 08/26/2008 17:14:55 | 1,076 | 08/12/2008 10:25:44 | 6 | 1 | Debugging Web Service with SOAP Packet | I have a web service that I created in C# and a test harness that was provided by my client. Unfortunately my web service doesn't seem to be parsing the objects created by the test harness. I believe the problem lies with serializing the soap packet.
Using TCPTrace I was able to get the soap packet passed to the we... | soap | c# | web-services | null | null | null | open | Debugging Web Service with SOAP Packet
===
I have a web service that I created in C# and a test harness that was provided by my client. Unfortunately my web service doesn't seem to be parsing the objects created by the test harness. I believe the problem lies with serializing the soap packet.
Using TCPTrace I was ... | 0 |
28,664 | 08/26/2008 17:18:21 | 572 | 08/06/2008 20:56:54 | 1,677 | 152 | What is the best/a very good meta-data reader library? | Right now, I'm particularly interested in reading the data from MP3 files (ID3 tags?), but the more it can do (eg EXIF from images?) the better without compromising the ID3 tag reading abilities.
I'm interested in making a script that goes through my media (right now, my music files) and makes sure the file name and... | meta-data | null | null | null | null | null | open | What is the best/a very good meta-data reader library?
===
Right now, I'm particularly interested in reading the data from MP3 files (ID3 tags?), but the more it can do (eg EXIF from images?) the better without compromising the ID3 tag reading abilities.
I'm interested in making a script that goes through my media ... | 0 |
28,668 | 08/26/2008 17:20:47 | 1,892 | 08/19/2008 06:17:29 | 226 | 14 | Best way to extract data from a FileMaker Pro database in a script? | My job would be easier, or at least less tedious if I could come up with an automated way (preferably in a Python script) to extract useful information from a FileMaker Pro database. I am working on Linux machine and the FileMaker database is on the same LAN running on an OS X machine. I can log into the webby interfac... | python | linux | perl | scripting | filemaker | null | open | Best way to extract data from a FileMaker Pro database in a script?
===
My job would be easier, or at least less tedious if I could come up with an automated way (preferably in a Python script) to extract useful information from a FileMaker Pro database. I am working on Linux machine and the FileMaker database is on t... | 0 |
28,675 | 08/26/2008 17:23:01 | 2,612 | 08/23/2008 15:44:45 | 1 | 0 | How to avoid OutOfMemoryError when using Bytebuffers and NIO? | I'm using ByteBuffers and FileChannels to write binary data to a file. When doing that for big files or successively for multiple files, I get a OutOfMemoryError exception.
I've read elsewhere that using Bytebuffers with NIO is broken and should be avoided. Does any of you already faced this kind of problem and found ... | java | filechannel | nio | bytebuffer | null | null | open | How to avoid OutOfMemoryError when using Bytebuffers and NIO?
===
I'm using ByteBuffers and FileChannels to write binary data to a file. When doing that for big files or successively for multiple files, I get a OutOfMemoryError exception.
I've read elsewhere that using Bytebuffers with NIO is broken and should be avo... | 0 |
28,708 | 08/26/2008 17:48:01 | 941 | 08/10/2008 21:04:56 | 1,418 | 138 | Process.StartTime Access Denied | My code needs to determine how long a particular process has been running. But it continues to fail with an access denied error message on the Process.StartTime request. This is a process running with a User's credentials (ie, not a high-privilege process). There's clearly a security setting or a policy setting, or *so... | c# | .net-1.1 | windows-server-2000 | null | null | null | open | Process.StartTime Access Denied
===
My code needs to determine how long a particular process has been running. But it continues to fail with an access denied error message on the Process.StartTime request. This is a process running with a User's credentials (ie, not a high-privilege process). There's clearly a securit... | 0 |
28,709 | 08/26/2008 17:48:04 | 1,539 | 08/16/2008 13:31:36 | 1 | 2 | Eclipse 3.2.2 content assist not finding classes in the project | In Eclipse 3.2.2 on Linux content assist is not finding classes within the same project. Upgrading above 3.2 is not an option as SWT is not available above 3.2 for Solaris. | eclipse | content | assisit | linux | null | null | open | Eclipse 3.2.2 content assist not finding classes in the project
===
In Eclipse 3.2.2 on Linux content assist is not finding classes within the same project. Upgrading above 3.2 is not an option as SWT is not available above 3.2 for Solaris. | 0 |
28,713 | 08/26/2008 17:50:24 | 276 | 08/04/2008 10:44:14 | 88 | 9 | Is there a simple way to make html textarea and input type text equally wide? | Is there a simple way of getting a HTML textarea and an input type="text" to render with (approximately) equal width (in pixels), that works in different browsers?
A CSS/HTML solution would be brilliant. PHP would be OK. I would prefer not to have to use Javascript.
Thanks
/Erik | php | css | html | textarea | null | null | open | Is there a simple way to make html textarea and input type text equally wide?
===
Is there a simple way of getting a HTML textarea and an input type="text" to render with (approximately) equal width (in pixels), that works in different browsers?
A CSS/HTML solution would be brilliant. PHP would be OK. I would prefe... | 0 |
28,716 | 08/26/2008 17:50:53 | 2,633 | 08/23/2008 19:14:06 | 31 | 5 | Which PHP opcode cacher should I use to improve performance? | I'm trying to improve performance under high load and would like to implement opcode caching. Which of the following should I use?
* APC
* eAccelerator
* XCache
I'm also open to any other alternatives that have slipped under my radar.
Currently running on a stock Debian Etch with Apache 2 and PHP 5.2 | php | performance | caching | null | null | null | open | Which PHP opcode cacher should I use to improve performance?
===
I'm trying to improve performance under high load and would like to implement opcode caching. Which of the following should I use?
* APC
* eAccelerator
* XCache
I'm also open to any other alternatives that have slipped under my radar.
Currentl... | 0 |
28,723 | 08/26/2008 17:53:56 | 3,046 | 08/26/2008 13:34:07 | 1 | 0 | Best way to unit test ASP.NET MVC action methods that use BindingHelperExtensions.UpdateFrom? | In handling a form post I have something like
public ActionResult Insert()
{
Order order = new Order();
BindingHelperExtensions.UpdateFrom(order, this.Request.Form);
this.orderService.Save(order);
return this.RedirectToAction("Details", new { i... | asp.net-mvc | null | null | null | null | null | open | Best way to unit test ASP.NET MVC action methods that use BindingHelperExtensions.UpdateFrom?
===
In handling a form post I have something like
public ActionResult Insert()
{
Order order = new Order();
BindingHelperExtensions.UpdateFrom(order, this.Request.Form);
... | 0 |
28,739 | 08/26/2008 18:00:52 | 72 | 08/01/2008 15:09:58 | 1,125 | 55 | Get `df` to show updated information on FreeBSD | I recently ran out of disk space on a drive on a FreeBSD server. I truncated the file that was causing problems but I'm not seeing the change reflected when running `df`. When I run `du -d0` on the partition it shows the correct value. Is there any way to force this information to be updated? What is causing the ou... | filesystems | sysadmin | freebsd | null | null | null | open | Get `df` to show updated information on FreeBSD
===
I recently ran out of disk space on a drive on a FreeBSD server. I truncated the file that was causing problems but I'm not seeing the change reflected when running `df`. When I run `du -d0` on the partition it shows the correct value. Is there any way to force th... | 0 |
28,756 | 08/26/2008 18:09:30 | 2,993 | 08/26/2008 10:45:59 | 78 | 4 | The best way to get a count of IEnumerable<T> | Whats the best/easiest way to obtain a count of items within an IEnumerable<T> collection without enumerating over all of the items in the collection?
Possible with LINQ or Lambda? | c# | null | null | null | null | null | open | The best way to get a count of IEnumerable<T>
===
Whats the best/easiest way to obtain a count of items within an IEnumerable<T> collection without enumerating over all of the items in the collection?
Possible with LINQ or Lambda? | 0 |
28,757 | 08/26/2008 18:09:36 | 37 | 08/01/2008 12:44:00 | 299 | 18 | Any good Subversion 1.5 virtual appliance recommendations? | I'm looking for a quick-and-dirty solution to this, I have to set up a Subversion server really quickly, like by the end of the day tomorrow. My initial thought was to just download a virtual appliance that we could load onto our host machine. The problem I am having however is that all the appliances I have found so... | version-control | svn | null | null | null | null | open | Any good Subversion 1.5 virtual appliance recommendations?
===
I'm looking for a quick-and-dirty solution to this, I have to set up a Subversion server really quickly, like by the end of the day tomorrow. My initial thought was to just download a virtual appliance that we could load onto our host machine. The proble... | 0 |
28,765 | 08/26/2008 18:13:13 | 1,341 | 08/14/2008 15:30:17 | 182 | 9 | Using VIsual Studio 2008 Web Deployment projects - getting an error finding aspnet_merge.exe | I recently upgraded a VS2005 web deployment project to VS2008 - and how I get the following error when building:
The specified task executable location "bin\aspnet_merge.exe" is invalid.
Here is the source of the error (from the web deployment targets file):
<Target Name="AspNetMerge" Condition="'$(Use... | vs2008 | asp.net | null | null | null | null | open | Using VIsual Studio 2008 Web Deployment projects - getting an error finding aspnet_merge.exe
===
I recently upgraded a VS2005 web deployment project to VS2008 - and how I get the following error when building:
The specified task executable location "bin\aspnet_merge.exe" is invalid.
Here is the source of the... | 0 |
28,768 | 08/26/2008 18:14:42 | 12,081 | 08/08/2008 17:40:28 | 271 | 11 | Simple Object to Database Product | I've been taking a look at some different products for .NET which propose to speed up development time by providing a way for business objects to map seamlessly to an automatically generated database. I've never had a problem writing a data access layer, but I'm wondering if this type of product will really save the ti... | c# | .net | database | null | null | null | open | Simple Object to Database Product
===
I've been taking a look at some different products for .NET which propose to speed up development time by providing a way for business objects to map seamlessly to an automatically generated database. I've never had a problem writing a data access layer, but I'm wondering if this ... | 0 |
28,793 | 08/26/2008 18:26:07 | 2,328 | 08/21/2008 16:45:54 | 277 | 17 | vim commands in Eclipse | I have been doing some java development lately and have started using Eclipse. For the most part, I think it is great, but being a C/C++ guy used to doing all of his editing in vim, I find myself needlessly hitting the Esc key over and over.
It would be really nice if I got all the nice features of Eclipse, but sti... | eclipse | vim | null | null | null | null | open | vim commands in Eclipse
===
I have been doing some java development lately and have started using Eclipse. For the most part, I think it is great, but being a C/C++ guy used to doing all of his editing in vim, I find myself needlessly hitting the Esc key over and over.
It would be really nice if I got all the nice... | 0 |
28,796 | 08/26/2008 18:26:51 | 2,900 | 08/25/2008 20:47:19 | 21 | 9 | What refactoring tools do people use for Python ? | I have a bunch of classes I want to rename. Some of them have names that are small and that name is reused in other class names, where I don't want that name changed. Most of this lives in Python code, but we also have some XML code that references class names.
Simple search and replace only gets me so far. In my... | python | refactoring | null | null | null | null | open | What refactoring tools do people use for Python ?
===
I have a bunch of classes I want to rename. Some of them have names that are small and that name is reused in other class names, where I don't want that name changed. Most of this lives in Python code, but we also have some XML code that references class names.
... | 0 |
28,808 | 08/26/2008 18:32:35 | 5 | 07/31/2008 14:22:31 | 2,234 | 95 | PAD (Portable Application Description) files for shareware / freeware | I've been told that I should include [PAD files][1] with the freeware applications I distribute so hosting sites can list the information correctly and check for updates, etc.
Can you give me some info on using PAD files? Here are general questions which come to mind:
- Is it worth the effort?
- Do you use ... | open-source | freeware | software-distribution | null | null | null | open | PAD (Portable Application Description) files for shareware / freeware
===
I've been told that I should include [PAD files][1] with the freeware applications I distribute so hosting sites can list the information correctly and check for updates, etc.
Can you give me some info on using PAD files? Here are general que... | 0 |
28,817 | 08/26/2008 18:40:27 | 2,877 | 08/25/2008 17:28:04 | 1 | 1 | How to find out which tags cover which directories? | There is a legacy CVS repository, which contains a large number of directories and sub-directories. There is also a large number of branches and tags that do not necessarilly cover all directories - usually a subset. How can I find out, which branch / tag covers, which directories and, optionally, files?
CVS log alr... | cvs | null | null | null | null | null | open | How to find out which tags cover which directories?
===
There is a legacy CVS repository, which contains a large number of directories and sub-directories. There is also a large number of branches and tags that do not necessarilly cover all directories - usually a subset. How can I find out, which branch / tag covers,... | 0 |
28,820 | 08/26/2008 18:42:14 | 636 | 08/07/2008 12:32:33 | 356 | 27 | Windows Mobile - What scripting platforms are available? | We have a number of users with Windows Mobile 6 and need to apply minor changes. eg. update a registry setting. One option is push and execute an executable file using our device management software.
I'd like this to be a little more friendly for the admins who are familiar with scripting in VBScript/JScript etc. Wh... | windows-mobile | scripting | sysadmin | administration | null | null | open | Windows Mobile - What scripting platforms are available?
===
We have a number of users with Windows Mobile 6 and need to apply minor changes. eg. update a registry setting. One option is push and execute an executable file using our device management software.
I'd like this to be a little more friendly for the admi... | 0 |
28,823 | 08/26/2008 18:44:40 | 2,293 | 08/21/2008 14:02:56 | 105 | 7 | XML => HTML with Hpricot and Rails | I've never worked with web services and rails, and obviously this is something I need to learn.
I've chosen to use hpricot because it looks great.
Anyway, _why's been nice enough to provide the following example on the [hpricot website][1]:
#!ruby
require 'hpricot'
require 'open-uri'
# load ... | hpricot | rubyonrails | ruby | ruby-on-rails | open-uri | null | open | XML => HTML with Hpricot and Rails
===
I've never worked with web services and rails, and obviously this is something I need to learn.
I've chosen to use hpricot because it looks great.
Anyway, _why's been nice enough to provide the following example on the [hpricot website][1]:
#!ruby
require 'hpricot... | 0 |
28,826 | 08/26/2008 18:49:25 | 572 | 08/06/2008 20:56:54 | 1,698 | 155 | What exactly is Microsoft Expression Studio and how does it integrate with Visual Studio? | My university is part of MSDNAA, so I downloaded it a while back, but I just got around to installing it. I guess part of it replaces FrontPage for web editing, and there appears to be a video editor and a vector graphics editor, but I don't think I've even scratched the surface of what it is and what it can do. Could ... | expression-studio | visual-studio | integration | microsoft | null | null | open | What exactly is Microsoft Expression Studio and how does it integrate with Visual Studio?
===
My university is part of MSDNAA, so I downloaded it a while back, but I just got around to installing it. I guess part of it replaces FrontPage for web editing, and there appears to be a video editor and a vector graphics edi... | 0 |
28,832 | 08/26/2008 18:51:41 | 2,697 | 08/24/2008 15:36:34 | 21 | 4 | Java and manually executing finalize | If I call finalize on an object from my program code, will the JVM still run the method again when the garbage collector processes this object? | java | null | null | null | null | null | open | Java and manually executing finalize
===
If I call finalize on an object from my program code, will the JVM still run the method again when the garbage collector processes this object? | 0 |
28,839 | 08/26/2008 18:53:57 | 2,213 | 08/20/2008 22:31:55 | 308 | 19 | What causes Visual Studio to fail to load an assembly incorrectly? | I had been happily coding along on a decent sized solution (just over 13k LOC, 5 projects) which utilizes Linq to Sql for it's data access. All of sudden I performed a normal build and I received a sweet, sweet ambiguous message:
**Error 1 Build failed due to validation errors in C:\xxx\xxx.dbml. Open the file and r... | visual-studio-2008 | visual-studio | linq-to-sql | errors | null | null | open | What causes Visual Studio to fail to load an assembly incorrectly?
===
I had been happily coding along on a decent sized solution (just over 13k LOC, 5 projects) which utilizes Linq to Sql for it's data access. All of sudden I performed a normal build and I received a sweet, sweet ambiguous message:
**Error 1 Build... | 0 |
28,840 | 08/26/2008 18:54:01 | 2,839 | 08/25/2008 13:34:44 | 1 | 2 | SCRUM - How to get better input from the functional/commercial team | We are a small team of 3 developers (2 experienced but new to this particular business sector) developing a functionally complex product. We're using SCRUM and have a demo at the end of each sprint. Its clear that the functional team have plenty of ideas but these are not well communicated to the development team an... | methodology | scrum | requirements | null | null | null | open | SCRUM - How to get better input from the functional/commercial team
===
We are a small team of 3 developers (2 experienced but new to this particular business sector) developing a functionally complex product. We're using SCRUM and have a demo at the end of each sprint. Its clear that the functional team have plent... | 0 |
28,843 | 08/26/2008 18:54:48 | 3,022 | 08/26/2008 12:28:45 | 31 | 2 | Can Slickedit automatically update it's tag files? | I prefer SlickEdit for my IDE but the only way I can get it to update the tag files to incorporate code changes is to recreate the project and/or run start a re-tag manually. Is there a way to setup Slick Edit so that it automatically incorporates changes in the code base that happen after project creation.
This pro... | slickedit | ide | null | null | null | null | open | Can Slickedit automatically update it's tag files?
===
I prefer SlickEdit for my IDE but the only way I can get it to update the tag files to incorporate code changes is to recreate the project and/or run start a re-tag manually. Is there a way to setup Slick Edit so that it automatically incorporates changes in the c... | 0 |
28,858 | 08/26/2008 19:00:22 | 3,055 | 08/26/2008 13:54:44 | 36 | 10 | Coolest C# LINQ/Lambdas trick you've ever pulled? | Saw a post about hidden features in C# but not a lot of people have written linq/lambdas example so... I wonder...
> What's the coolest (as in the most elegant) use of the C# LINQ and/or Lambdas/anonymous delegates you have ever saw/written?
Bonus if it has went into production too! | c# | linq | lambda | functional-programming | null | null | open | Coolest C# LINQ/Lambdas trick you've ever pulled?
===
Saw a post about hidden features in C# but not a lot of people have written linq/lambdas example so... I wonder...
> What's the coolest (as in the most elegant) use of the C# LINQ and/or Lambdas/anonymous delegates you have ever saw/written?
Bonus if it has w... | 0 |
28,862 | 08/26/2008 19:03:01 | 290 | 08/04/2008 12:57:50 | 586 | 57 | How do you do lightweight CMMI? | In my organization, people believe lightweight CMMI is a myth, despite [evidence to the contrary][1]. What are your experiences with lightweight CMMI? Have you done it and is it working well for you?
[1]: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1609821 | process | software-engineering | methodology | sqa | cmmi | null | open | How do you do lightweight CMMI?
===
In my organization, people believe lightweight CMMI is a myth, despite [evidence to the contrary][1]. What are your experiences with lightweight CMMI? Have you done it and is it working well for you?
[1]: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1609821 | 0 |
28,872 | 08/26/2008 19:09:33 | 1,365 | 08/14/2008 18:28:56 | 76 | 7 | Free Windows based .EMF editor? | Does anybody have any first hand experience using a free windows based graphics editor that can handle [EMF][1] files?
[1]: http://en.wikipedia.org/wiki/Enhanced_Metafile | emf | null | null | null | null | null | open | Free Windows based .EMF editor?
===
Does anybody have any first hand experience using a free windows based graphics editor that can handle [EMF][1] files?
[1]: http://en.wikipedia.org/wiki/Enhanced_Metafile | 0 |
28,877 | 08/26/2008 19:13:14 | 1,327 | 08/14/2008 14:37:22 | 183 | 15 | Why does SQL Server work faster when you index a table after filling it? | I have a sproc that puts 750K records into a temp table through a query as one of its first actions. If I create indexes on the temp table before filling it, the item takes about twice as long to run compared to when I index after filling the table. (The index is an integer in a single column, the table being indexed... | sql-server | tsql | null | null | null | null | open | Why does SQL Server work faster when you index a table after filling it?
===
I have a sproc that puts 750K records into a temp table through a query as one of its first actions. If I create indexes on the temp table before filling it, the item takes about twice as long to run compared to when I index after filling th... | 0 |
28,878 | 08/26/2008 19:14:01 | 2,601 | 08/23/2008 13:45:18 | 1 | 1 | PHP - Determine Parent Node Of DOMElement | I'm translating my C# code for YouTube video comments into PHP. In order to properly nest comment replies I need to re-arrange XML nodes. In PHP I'm using DOMDocument and DOMXPath which closely corresponds to C# XmlDocument. I've gotten pretty far in my translation but now I'm stuck on getting the parent node of a DOME... | php | xml | dom | null | null | null | open | PHP - Determine Parent Node Of DOMElement
===
I'm translating my C# code for YouTube video comments into PHP. In order to properly nest comment replies I need to re-arrange XML nodes. In PHP I'm using DOMDocument and DOMXPath which closely corresponds to C# XmlDocument. I've gotten pretty far in my translation but now... | 0 |
28,881 | 08/26/2008 19:15:47 | 1,438 | 08/15/2008 15:44:20 | 369 | 22 | Why doesn't **sort** sort the same on every machine? | Using the same sort command with the same input produces different results on different machines. How do I fix that? | unix | bash | ksh | sorting | null | null | open | Why doesn't **sort** sort the same on every machine?
===
Using the same sort command with the same input produces different results on different machines. How do I fix that? | 0 |
28,894 | 08/26/2008 19:20:09 | 3,059 | 08/26/2008 13:59:08 | 1 | 1 | .NET Compiler -- DEBUG vs. RELEASE | For years I have been using the DEBUG compiler constant in VB.NET to write messages to the console. I've also been using System.Diagnostics.Debug.Write in similar fashion. It was always my understanding that when RELEASE was used as the build option, that all of these statements were left out by the compiler, freeing... | .net | compiler | debugging | null | null | null | open | .NET Compiler -- DEBUG vs. RELEASE
===
For years I have been using the DEBUG compiler constant in VB.NET to write messages to the console. I've also been using System.Diagnostics.Debug.Write in similar fashion. It was always my understanding that when RELEASE was used as the build option, that all of these statement... | 0 |
28,896 | 08/26/2008 19:20:35 | 1,782 | 08/18/2008 14:30:58 | 941 | 65 | Datatypes for physics | I'm currently designing a program that will involve some physics (nothing too fancy, a few balls crashing to each other)
What's the most exact datatype I can use to represent position (without a feeling of discrete jumps) in c#?
Also, what's the smallest ammount of time I can get between t and t+1? One tick? | physics | c# | types | null | null | null | open | Datatypes for physics
===
I'm currently designing a program that will involve some physics (nothing too fancy, a few balls crashing to each other)
What's the most exact datatype I can use to represent position (without a feeling of discrete jumps) in c#?
Also, what's the smallest ammount of time I can get betwee... | 0 |
28,922 | 08/26/2008 19:32:20 | 2,486 | 08/22/2008 13:39:26 | 1 | 1 | SQL DB Results not what expected | I have a database that I am querying and I only want to get the information when a specific row is null. I used a where statement such as:
WHERE database.foobar = NULL
and it does not return anything. However, I know that there is at least one result because I created an instance in the database where 'foobar' is... | sql | server | null | null | null | null | open | SQL DB Results not what expected
===
I have a database that I am querying and I only want to get the information when a specific row is null. I used a where statement such as:
WHERE database.foobar = NULL
and it does not return anything. However, I know that there is at least one result because I created an inst... | 0 |
28,932 | 08/26/2008 19:36:20 | 1,363 | 08/14/2008 18:24:19 | 104 | 3 | Best javascript compressor | What is the the best Javascript compressor available? I'm looking for a tool that:
- Easy to use
- High compression rate
- Reliable end results (doesn't mess up the code) | javascript | null | null | null | null | 06/09/2012 16:55:42 | not constructive | Best javascript compressor
===
What is the the best Javascript compressor available? I'm looking for a tool that:
- Easy to use
- High compression rate
- Reliable end results (doesn't mess up the code) | 4 |
28,941 | 08/26/2008 19:42:47 | 750 | 08/08/2008 14:24:17 | 249 | 6 | Best architecture for handling file system changes? | Here is the scenario:
I'm writing an app that will watch for any changes in a specific directory. This directory will be flooded with thousands of files a minute each with an "almost" unique GUID. The file format is this:
GUID.dat where GUID == xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(the internal contents aren't relevan... | .net | filewatcher | architecture | concurrency | null | null | open | Best architecture for handling file system changes?
===
Here is the scenario:
I'm writing an app that will watch for any changes in a specific directory. This directory will be flooded with thousands of files a minute each with an "almost" unique GUID. The file format is this:
GUID.dat where GUID == xxxxxxxxxxxx... | 0 |
28,946 | 08/26/2008 19:45:49 | 64 | 08/01/2008 14:27:12 | 108 | 12 | Expanding Virtual Disk | Hey everyone, I'm using Virtual PC and working with a virtual hard disk (*.vhd) that is only sized at 8.2 GB. I would like to double the size to something like 16-20GB. I see options for compacting the VHD but nothing to expand it. It's set to "dynamically expand" but I'm installing some software and it doesn't seem to... | virtual-pc | vhd | null | null | null | null | open | Expanding Virtual Disk
===
Hey everyone, I'm using Virtual PC and working with a virtual hard disk (*.vhd) that is only sized at 8.2 GB. I would like to double the size to something like 16-20GB. I see options for compacting the VHD but nothing to expand it. It's set to "dynamically expand" but I'm installing some sof... | 0 |
28,949 | 08/26/2008 19:46:46 | 572 | 08/06/2008 20:56:54 | 1,725 | 158 | Why do you not explicitly call finalize() or start the garbage collector? | After reading [this question][1], I was reminded of when I was taught Java and told never to call finalize() or run the garbage collector because "it's a big black box that you never need to worry about". Can someone boil the reasoning for this down to a few sentences? I'm sure I could read a technical report from Sun ... | java | garbage-collection | null | null | null | null | open | Why do you not explicitly call finalize() or start the garbage collector?
===
After reading [this question][1], I was reminded of when I was taught Java and told never to call finalize() or run the garbage collector because "it's a big black box that you never need to worry about". Can someone boil the reasoning for t... | 0 |
28,950 | 08/26/2008 19:46:56 | 636 | 08/07/2008 12:32:33 | 366 | 29 | Guide to choosing between REST vs SOAP services? | Does anyone have links to documentation or guides on making the decision between REST vs. SOAP? I understand both of these but am looking for some references on the key decision points, eg, security, which may make you lean towards one or the other. | architecture | rest | soap | null | null | null | open | Guide to choosing between REST vs SOAP services?
===
Does anyone have links to documentation or guides on making the decision between REST vs. SOAP? I understand both of these but am looking for some references on the key decision points, eg, security, which may make you lean towards one or the other. | 0 |
28,952 | 08/26/2008 19:48:09 | 1,690 | 08/18/2008 01:39:04 | 88 | 11 | CPU utilization by database? | *I've always thought the answer to this was "no", but let's give CrackOverflow a shot...*
Is it possible to get a breakdown of CPU utilization **by database**? I'm ideally looking for a task manager type interface for SQL server, but instead of looking at the CPU utilization of each PID (like taskmgr) or each SPID (... | mssql | sql-server | null | null | null | null | open | CPU utilization by database?
===
*I've always thought the answer to this was "no", but let's give CrackOverflow a shot...*
Is it possible to get a breakdown of CPU utilization **by database**? I'm ideally looking for a task manager type interface for SQL server, but instead of looking at the CPU utilization of each... | 0 |
28,961 | 08/26/2008 19:49:54 | 3,117 | 08/26/2008 18:40:00 | 1 | 0 | What's the best way to use web services in python? | I have a medium sized application that runs as a .net web-service which I do not control,
and I want to create a loose pythonic API above it to enable easy scripting.
I wanted to know what is the best/most practical solution for using web-services in python. | python | web-services | null | null | null | null | open | What's the best way to use web services in python?
===
I have a medium sized application that runs as a .net web-service which I do not control,
and I want to create a loose pythonic API above it to enable easy scripting.
I wanted to know what is the best/most practical solution for using web-services in python. | 0 |
28,964 | 08/26/2008 19:50:49 | 470 | 08/06/2008 02:58:55 | 18 | 7 | How to bring a new hire up to speed on an existing project? | My boss hired a new dev right out of CompSci onto a project with a fair amount of technical debt. It will be my task to get this guy up to speed and making a decent contribution ASAP. Any suggestions on how best to do this? Any first hand experience on how precisely not to do it?
My instincts are to do some code rev... | unit-testing | hiring | training | codereview | pair-programming | null | open | How to bring a new hire up to speed on an existing project?
===
My boss hired a new dev right out of CompSci onto a project with a fair amount of technical debt. It will be my task to get this guy up to speed and making a decent contribution ASAP. Any suggestions on how best to do this? Any first hand experience on ho... | 0 |
28,965 | 08/26/2008 19:51:32 | 116 | 08/02/2008 05:51:57 | 4,039 | 206 | Checklist for Web Site Programming Vunerabilities | Watching SO come online has been quite an education for me. I'd like to make a checklist of various vunerabilities and exploits used against web sites, and what programming techniques can be used to defend against them.
- What categories of vunerabilities?
- crashing site
- breaking into server
- break... | security | defensive-programming | null | null | null | null | open | Checklist for Web Site Programming Vunerabilities
===
Watching SO come online has been quite an education for me. I'd like to make a checklist of various vunerabilities and exploits used against web sites, and what programming techniques can be used to defend against them.
- What categories of vunerabilities?
... | 0 |
28,975 | 08/26/2008 19:55:29 | 2,745 | 08/24/2008 20:58:00 | 1 | 1 | Anyone using CouchDB? | I've followed the [CouchDB](http://incubator.apache.org/couchdb/index.html) project with interest over the last couple of years, and see it is now an Apache Incubator project. Prior to that, the CouchDB web site was full of *do not use for production code* type disclaimers, so I'd done no more than keep an eye on it. I... | database | server | technologies | null | null | null | open | Anyone using CouchDB?
===
I've followed the [CouchDB](http://incubator.apache.org/couchdb/index.html) project with interest over the last couple of years, and see it is now an Apache Incubator project. Prior to that, the CouchDB web site was full of *do not use for production code* type disclaimers, so I'd done no mor... | 0 |
28,982 | 08/26/2008 19:58:57 | 2,745 | 08/24/2008 20:58:00 | 1 | 1 | Simple explanation of MapReduce | Related to my [CouchDB](http://stackoverflow.com/questions/28975/anyone-using-couchdb) question....
Can anyone explain MapReduce in terms a numbnuts could understand? | framework | null | null | null | null | null | open | Simple explanation of MapReduce
===
Related to my [CouchDB](http://stackoverflow.com/questions/28975/anyone-using-couchdb) question....
Can anyone explain MapReduce in terms a numbnuts could understand? | 0 |
28,999 | 08/26/2008 20:08:27 | 757 | 08/08/2008 15:38:57 | 11 | 4 | Favorite IDE feature | What is your favorite feature of your IDE/code editor? What makes you like it so much? Is there a feature that it doesn't have that would be a strong enough pull to cause you to switch IDE's (code editors)? | ide | null | null | null | null | null | open | Favorite IDE feature
===
What is your favorite feature of your IDE/code editor? What makes you like it so much? Is there a feature that it doesn't have that would be a strong enough pull to cause you to switch IDE's (code editors)? | 0 |
29,004 | 08/26/2008 20:09:40 | 261 | 08/04/2008 08:51:21 | 1 | 0 | Parsing XML using unix terminal | Sometimes I need to quickly extract some arbitrary data from XML files to put into a CSV format. What's your best practices for doing this in the Unix terminal? I would love some code examples, so for instance how can I get the following problem solved?
Example XML input:
<root>
<myel name="Foo" />
... | xml | unix | shell | parse | csv | null | open | Parsing XML using unix terminal
===
Sometimes I need to quickly extract some arbitrary data from XML files to put into a CSV format. What's your best practices for doing this in the Unix terminal? I would love some code examples, so for instance how can I get the following problem solved?
Example XML input:
... | 0 |
29,011 | 08/26/2008 20:13:46 | 1,190 | 08/13/2008 12:15:38 | 823 | 73 | Is there a way to combine named scopes into a new named scope? | I have
class Foo < ActiveRecord::Base
named_scope :a, lambda { |a| :conditions => { :a => a } }
named_scope :b, lambda { |b| :conditions => { :b => b } }
end
I'd like
class Foo < ActiveRecord::Base
named_scope :ab, lambda { |a,b| :conditions => { :a => a, :b => b } }
end
... | ruby-on-rails | named-scope | dry | null | null | null | open | Is there a way to combine named scopes into a new named scope?
===
I have
class Foo < ActiveRecord::Base
named_scope :a, lambda { |a| :conditions => { :a => a } }
named_scope :b, lambda { |b| :conditions => { :b => b } }
end
I'd like
class Foo < ActiveRecord::Base
named_scope... | 0 |
29,030 | 08/26/2008 21:47:22 | 404 | 08/05/2008 13:34:59 | 582 | 38 | SharePoint SPContext.List in a custom application page | I have a custom SharePoint application page deployed to the _layouts folder. It's a custom "new form" for a custom content type. During my interactions with this page, I will need to add an item to my list. When the page first loads, I can use SPContext.Current.List to see the current list I'm working with. But aft... | sharepoint | applicationpage | spcontext | null | null | null | open | SharePoint SPContext.List in a custom application page
===
I have a custom SharePoint application page deployed to the _layouts folder. It's a custom "new form" for a custom content type. During my interactions with this page, I will need to add an item to my list. When the page first loads, I can use SPContext.Cur... | 0 |
29,040 | 08/26/2008 21:55:09 | 2,385 | 08/22/2008 00:18:38 | 28 | 5 | How do I avoid LazyLoad in Linq in some field of joins | I have one table "orders" with a foreing key "ProductID".
I want to show the orders in a grid with the **product name**, without **LazyLoad** for better performance, but I if use **DataLoadOptions** it retrieves **all** Product fields, which seams like a **overkill**.
Is there a way to retrieve **only** the Product... | .net | sql | performance | linq | null | null | open | How do I avoid LazyLoad in Linq in some field of joins
===
I have one table "orders" with a foreing key "ProductID".
I want to show the orders in a grid with the **product name**, without **LazyLoad** for better performance, but I if use **DataLoadOptions** it retrieves **all** Product fields, which seams like a **ov... | 0 |
29,044 | 08/26/2008 21:57:21 | 2,820 | 08/25/2008 11:37:16 | 3 | 2 | Good Free Alternative To MS Access | I'd like to develop a lightweight desktop DB app that could be done fairly easily with MS Access but I'd like to be able to distribute it to others and I don't want to pay for a runtime license. I've looked at Base in OpenOffice and it just doesn't seem terribly stable. Installing MySQL and writing custom DB code in ... | ms-access | db | desktop | lightweight | null | null | open | Good Free Alternative To MS Access
===
I'd like to develop a lightweight desktop DB app that could be done fairly easily with MS Access but I'd like to be able to distribute it to others and I don't want to pay for a runtime license. I've looked at Base in OpenOffice and it just doesn't seem terribly stable. Install... | 0 |
29,050 | 08/26/2008 22:00:16 | 914 | 08/10/2008 10:32:48 | 300 | 22 | What are good resources for taking the step up from entry level MySQL? | I've sort of slipped into the area of web development by chance, and because of this I lack training in the handling of databases (mostly MySQL in my case). I've come to know the basic stuff (SELECT, WHERE and even JOIN) but I'm often frustrated when I need to do more advanced queries.
The problem for me is not fin... | mysql | books | null | null | null | null | open | What are good resources for taking the step up from entry level MySQL?
===
I've sort of slipped into the area of web development by chance, and because of this I lack training in the handling of databases (mostly MySQL in my case). I've come to know the basic stuff (SELECT, WHERE and even JOIN) but I'm often frustrate... | 0 |
29,053 | 08/26/2008 22:00:38 | 384 | 08/05/2008 11:03:36 | 347 | 21 | Javascript Browser Quirks - array.Length | Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Unusual Array Lengths!</title>
<script type="text/javascript">
var arrayList = new Array();
arrayList = [1, 2, 3, 4, 5, ];
alert(arrayList.length);
</script>
... | javascript | null | null | null | null | null | open | Javascript Browser Quirks - array.Length
===
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Unusual Array Lengths!</title>
<script type="text/javascript">
var arrayList = new Array();
arrayList = [1, 2, 3, 4, 5, ];
alert(arr... | 0 |
29,067 | 08/26/2008 22:10:38 | 1,965 | 08/19/2008 15:51:08 | 1,454 | 91 | Creating a UserControl Programmaticly within a repeater? | I have a a repeater that is bound to some data.
I bind to the ItemDataBound event, and I am attempting to programmaticly create a UserControl:
In a nutshell:
void rptrTaskList_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
CCTask task = (CCTask)e.Item.DataItem;
if ... | asp.net | webforms | usercontrols | null | null | null | open | Creating a UserControl Programmaticly within a repeater?
===
I have a a repeater that is bound to some data.
I bind to the ItemDataBound event, and I am attempting to programmaticly create a UserControl:
In a nutshell:
void rptrTaskList_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
... | 0 |
29,088 | 08/26/2008 22:23:25 | 1,463 | 08/15/2008 17:26:44 | 227 | 17 | What is the difference between a group and match in .NET's RegEx? | What is the difference between a group and match in .NET's RegEx? | .net | regex | null | null | null | null | open | What is the difference between a group and match in .NET's RegEx?
===
What is the difference between a group and match in .NET's RegEx? | 0 |
29,099 | 08/26/2008 22:28:19 | 3,121 | 08/26/2008 18:58:01 | 1 | 1 | What makes a language Object-Oriented? | Since debate without meaningful terms is [meaningless](http://stackoverflow.com/questions/24270/whats-the-point-of-oop), I figured I would point at the elephant in the room and ask: What exactly makes a language "object-oriented"? I'm not looking for a textbook answer here, but one based on your experiences with OO lan... | oop | language-agnostic | programming-languages | null | null | null | open | What makes a language Object-Oriented?
===
Since debate without meaningful terms is [meaningless](http://stackoverflow.com/questions/24270/whats-the-point-of-oop), I figured I would point at the elephant in the room and ask: What exactly makes a language "object-oriented"? I'm not looking for a textbook answer here, b... | 0 |
29,100 | 08/26/2008 22:28:22 | 290 | 08/04/2008 12:57:50 | 582 | 52 | How are you generating tests from specifications? | I came across a printed article by Bertrand Meyer where he states that tests can be generated from specifications. My development team does nothing like this, but it sounds like a good technique to consider. How are you generating tests from specifications? How would you describe the success your having in discovering ... | testing | automated-tests | specifications | faults | null | null | open | How are you generating tests from specifications?
===
I came across a printed article by Bertrand Meyer where he states that tests can be generated from specifications. My development team does nothing like this, but it sounds like a good technique to consider. How are you generating tests from specifications? How wou... | 0 |
29,104 | 08/26/2008 22:31:13 | 1,375 | 08/14/2008 21:41:25 | 103 | 4 | Requirements Gathering | How do you go about the requirements gathering phase? Does anyone have a good set of guidelines or tips to follow? What are some good questions to ask the stakeholders?
I am currently working on a new project and there are a lot of unknowns. I am in the process of coming up with a list of questions to ask the stake... | requirements | design-patterns | software-engineering | null | null | null | open | Requirements Gathering
===
How do you go about the requirements gathering phase? Does anyone have a good set of guidelines or tips to follow? What are some good questions to ask the stakeholders?
I am currently working on a new project and there are a lot of unknowns. I am in the process of coming up with a list o... | 0 |
29,107 | 08/26/2008 22:32:51 | 708 | 08/08/2008 06:10:02 | 371 | 12 | Generic IBindingListView Implementations | Can anyone suggest a good implementation of a generic collection class that implements the IBindingListView & IBindingList interfaces?
I see my current options as:<br />
- Using a class that someone else has written and tested
- Inheriting from BindingList<T>, and implementing the IBindingListView interfaces... | .net | data-binding | null | null | null | null | open | Generic IBindingListView Implementations
===
Can anyone suggest a good implementation of a generic collection class that implements the IBindingListView & IBindingList interfaces?
I see my current options as:<br />
- Using a class that someone else has written and tested
- Inheriting from BindingList<T>, an... | 0 |
29,126 | 08/26/2008 22:42:08 | 3,111 | 08/26/2008 17:47:14 | 1 | 2 | PHP frameworks for simplifying CRUD | Based on experience which PHP framework makes implementing CRUD operations the easiest so that time can be spent on the more 'interesting' parts of the application? | php | frameworks | null | null | null | null | open | PHP frameworks for simplifying CRUD
===
Based on experience which PHP framework makes implementing CRUD operations the easiest so that time can be spent on the more 'interesting' parts of the application? | 0 |
29,141 | 08/26/2008 22:55:37 | 3,135 | 08/26/2008 22:55:37 | 1 | 0 | Using Interop with C#, Excel Save changing original. How to negate this? | The problem: Loading an excel spreadsheet template. Using the Save command with a different filename and then quitting the interop object. This ends up saving the original template file. Not the result that is liked.
public void saveAndExit(string filename)
{
excelApplication.Save(filenam... | c# | excel | null | null | null | null | open | Using Interop with C#, Excel Save changing original. How to negate this?
===
The problem: Loading an excel spreadsheet template. Using the Save command with a different filename and then quitting the interop object. This ends up saving the original template file. Not the result that is liked.
public void sav... | 0 |
29,142 | 08/26/2008 22:55:58 | 171 | 08/02/2008 23:47:08 | 11 | 4 | Getting ssh to execute a command in the background on target machine | This is a follow-on question to the [How do you use ssh in a shell script?][1] question. If I want to execute a command on the remote machine that runs in the background on that machine, how do I get the ssh command to return? When I try to just include the ampersand (&) at the end of the command it just hangs. ... | bash | ssh | background | csh | null | null | open | Getting ssh to execute a command in the background on target machine
===
This is a follow-on question to the [How do you use ssh in a shell script?][1] question. If I want to execute a command on the remote machine that runs in the background on that machine, how do I get the ssh command to return? When I try to jus... | 0 |
29,144 | 08/26/2008 22:58:43 | 2,975 | 08/26/2008 09:40:04 | 36 | 8 | What is the more efficient version control methodology - checkout or merge (ie Perforce vs Subversion) | I've always used Subversion or CVS for version control, which use a 'merge' methodology. One of my friends raves about Perforce and how great it is with its change lists and check-out methodology.
While I'm sure a lot of it comes down to experience & personal preference, I was wondering if any research had been don... | svn | perforce | version-control | null | null | null | open | What is the more efficient version control methodology - checkout or merge (ie Perforce vs Subversion)
===
I've always used Subversion or CVS for version control, which use a 'merge' methodology. One of my friends raves about Perforce and how great it is with its change lists and check-out methodology.
While I'm s... | 0 |
29,145 | 08/26/2008 22:58:58 | 2,841 | 08/25/2008 13:38:48 | 21 | 2 | Generating database tables from object definitions | I know that there are a few (automatic) ways to create a data access layer to manipulate an existing database (LINQ to SQL, Hibernate, etc...). But I'm getting kind of tired (and I believe that there should be a better way of doing things) of stuff like:
1. Creating/altering tables on Vision
2. Using Visio's "Upd... | database | orm | code-generation | null | null | null | open | Generating database tables from object definitions
===
I know that there are a few (automatic) ways to create a data access layer to manipulate an existing database (LINQ to SQL, Hibernate, etc...). But I'm getting kind of tired (and I believe that there should be a better way of doing things) of stuff like:
1. Cr... | 0 |
29,155 | 08/26/2008 23:06:31 | 2,993 | 08/26/2008 10:45:59 | 104 | 4 | What is the difference between a delegate and events? | What is the difference between a delegate and an event? Don't both hold references to functions to be executed? | c# | events | null | null | null | null | open | What is the difference between a delegate and events?
===
What is the difference between a delegate and an event? Don't both hold references to functions to be executed? | 0 |
29,157 | 08/26/2008 23:07:30 | 2,543 | 08/22/2008 18:27:05 | 77 | 14 | How do I make a PictureBox use Nearest Neighbor resampling? | I am using StretchImage because the box is resizable with splitters. It looks like the default is some kind of smooth bilinear filtering, causing my image to be blurry and have moire patterns. | c# | gui | .net | null | null | null | open | How do I make a PictureBox use Nearest Neighbor resampling?
===
I am using StretchImage because the box is resizable with splitters. It looks like the default is some kind of smooth bilinear filtering, causing my image to be blurry and have moire patterns. | 0 |
29,168 | 08/26/2008 23:15:41 | 574 | 08/06/2008 21:11:23 | 49 | 16 | Deploying a Git subdirectory in Capistrano | My master branch layout is like this:
/ <-- top level
/client <-desktop client source files
/server <- Rails app
What I'd like to do is only pull down the /server directory in my deploy.rb, but I can't seem to find any way to do that. The /client directory is huge, so setting up a hook to copy /server to / ... | ruby-on-rails | deployment | git | capistrano | null | null | open | Deploying a Git subdirectory in Capistrano
===
My master branch layout is like this:
/ <-- top level
/client <-desktop client source files
/server <- Rails app
What I'd like to do is only pull down the /server directory in my deploy.rb, but I can't seem to find any way to do that. The /client directory is ... | 0 |
29,174 | 08/26/2008 23:19:47 | 2,363 | 08/21/2008 20:55:49 | 260 | 13 | SimpleModal breaks ASP.Net Postbacks | I'm using [jQuery](http://jquery.com/) and [SimpleModal](http://www.ericmmartin.com/projects/simplemodal/) in an ASP.Net project to make some nice dialogs for a web app. Unfortunately, any buttons in a modal dialog can no longer execute their postbacks, which is not really acceptable.
There is one source I've found... | jquery | asp.net | javascript | postback | simplemodal | null | open | SimpleModal breaks ASP.Net Postbacks
===
I'm using [jQuery](http://jquery.com/) and [SimpleModal](http://www.ericmmartin.com/projects/simplemodal/) in an ASP.Net project to make some nice dialogs for a web app. Unfortunately, any buttons in a modal dialog can no longer execute their postbacks, which is not really acc... | 0 |
29,175 | 08/26/2008 23:21:31 | 3,068 | 08/26/2008 14:28:42 | 61 | 6 | (IIS/Win2000Pro) Granting Registry read rights to IIS user? | Okay, so I'm running a small test webserver on my private network. I've got a machine running Windows 2000 Pro, and I'm trying to run an ASP.NET app through IIS.
I wrote it so that the webpage would use the registry to store certain settings (connection strings, potentially volatile locations of other web services,... | security | iis | registry | windows-server-2000 | null | null | open | (IIS/Win2000Pro) Granting Registry read rights to IIS user?
===
Okay, so I'm running a small test webserver on my private network. I've got a machine running Windows 2000 Pro, and I'm trying to run an ASP.NET app through IIS.
I wrote it so that the webpage would use the registry to store certain settings (connecti... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.