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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33,265 | 08/28/2008 20:06:01 | 2,361 | 08/21/2008 20:41:09 | 278 | 13 | What's the false operator in C# good for? | There are two weird operators in C#:
- the [true operator][1]
- the [false operator][2]
If I understand this right this operators can be used in types which I want use instead of boolean expression and where I don't want to provide implicit conversion to bool.
Let say i have a following class:
pub... | c# | .net | syntax | null | null | null | open | What's the false operator in C# good for?
===
There are two weird operators in C#:
- the [true operator][1]
- the [false operator][2]
If I understand this right this operators can be used in types which I want use instead of boolean expression and where I don't want to provide implicit conversion to bool.
... | 0 |
33,275 | 08/28/2008 20:09:27 | 64 | 08/01/2008 14:27:12 | 115 | 13 | Automated PDF Creation from URL | Is there a PDF library that one can use to automate creating PDFs from URLs? The current approach I use is to "Print" a page and select a PDF plugin like PrimoPDF to generate the PDF document but I was wanting to automate that.
| pdf | pdf-generation | null | null | null | null | open | Automated PDF Creation from URL
===
Is there a PDF library that one can use to automate creating PDFs from URLs? The current approach I use is to "Print" a page and select a PDF plugin like PrimoPDF to generate the PDF document but I was wanting to automate that.
| 0 |
33,288 | 08/28/2008 20:11:54 | 2,723 | 08/24/2008 17:49:45 | 25 | 0 | Protecting API Secret Keys in a Thick Client application | Within an application, I've got Secret Keys uses to calculate a hash for an API call. In a .NET application it's fairly easy to use a program like Reflector to pull out information from the assembly to include these keys.
Is obfuscating the assembly a good way of securing these keys? | security | web-services | api | null | null | null | open | Protecting API Secret Keys in a Thick Client application
===
Within an application, I've got Secret Keys uses to calculate a hash for an API call. In a .NET application it's fairly easy to use a program like Reflector to pull out information from the assembly to include these keys.
Is obfuscating the assembly a g... | 0 |
33,301 | 08/28/2008 20:24:04 | 1,226 | 08/13/2008 13:55:55 | 143 | 12 | Call onresize from ASP.NET content page | I have a JavaScript method that I need to run on one of my pages, in particular, the onresize event.
However, I don't see how I can set that event from my content page. I wish I could just put it on my master page, but I don't have the need for the method to be called on all pages that use that master page.
An... | asp.net | masterpage | javascript | onresize | null | null | open | Call onresize from ASP.NET content page
===
I have a JavaScript method that I need to run on one of my pages, in particular, the onresize event.
However, I don't see how I can set that event from my content page. I wish I could just put it on my master page, but I don't have the need for the method to be called ... | 0 |
33,306 | 08/28/2008 20:26:14 | 2,147 | 08/20/2008 15:14:13 | 445 | 49 | C++ STL question: allocators | I have a (potentially dumb) question about the C++ STL. When I make a container (vector, set, map, etc), is it allocated on the stack or on the heap? If I make a set and put 5 million strings, will I have to worry about a stack overflow? | c++ | stl | stack-overflow | null | null | null | open | C++ STL question: allocators
===
I have a (potentially dumb) question about the C++ STL. When I make a container (vector, set, map, etc), is it allocated on the stack or on the heap? If I make a set and put 5 million strings, will I have to worry about a stack overflow? | 0 |
33,321 | 08/28/2008 20:32:09 | 2,849 | 08/25/2008 14:24:20 | 56 | 9 | Best AJAX Framework | In Asp.Net web forms, what is the best chioce for providing a righ UI (a la Ajax)? I've been using the built in Ajax support that MS ships in addition to the Ajax Control Toolkit until now, but is there something better and/or easier? | asp.net | ajax | user-interface | ajaxtoolkit | null | 09/07/2011 22:35:17 | not constructive | Best AJAX Framework
===
In Asp.Net web forms, what is the best chioce for providing a righ UI (a la Ajax)? I've been using the built in Ajax support that MS ships in addition to the Ajax Control Toolkit until now, but is there something better and/or easier? | 4 |
33,334 | 08/28/2008 20:35:07 | 1,834 | 08/18/2008 19:14:32 | 41 | 6 | How do you find what debug switches are available? Or given a switch find out what is being disabled? | In this [question][1] the answer was to flip on a switch that is picked up by the debugger disabling the extraneous header that was causing the problem. The Microsoft help implies these switched are user generated and does not list any switches.
<configuration>
<system.diagnostics>
<switches>
... | .net | app-config | null | null | null | null | open | How do you find what debug switches are available? Or given a switch find out what is being disabled?
===
In this [question][1] the answer was to flip on a switch that is picked up by the debugger disabling the extraneous header that was causing the problem. The Microsoft help implies these switched are user generate... | 0 |
33,338 | 08/28/2008 20:36:14 | 445 | 08/05/2008 19:37:25 | 175 | 6 | Visual Studio Hosting Process and "The operation could not be completed" | When trying to execute from within Visual Studio 2008 your application and you get the (uninformative) message "The operation could not be completed".
The solution to this is to turn off the "Visual Studio Hosting Process".
The problem with turning off this "hosting process" is that all the "run and rewrite" func... | visual-studio | null | null | null | null | null | open | Visual Studio Hosting Process and "The operation could not be completed"
===
When trying to execute from within Visual Studio 2008 your application and you get the (uninformative) message "The operation could not be completed".
The solution to this is to turn off the "Visual Studio Hosting Process".
The problem ... | 0 |
33,341 | 08/28/2008 20:37:19 | 877 | 08/10/2008 04:07:29 | 21 | 0 | ASP.Net RadioButton visibility inside a RadioButtonList | Is there a way to hide radio buttons inside a RadioButtonList control programmatically? | radiobuttonlist | radio-button | null | null | null | null | open | ASP.Net RadioButton visibility inside a RadioButtonList
===
Is there a way to hide radio buttons inside a RadioButtonList control programmatically? | 0 |
33,347 | 08/28/2008 20:39:52 | 2,915 | 08/25/2008 23:15:12 | 386 | 20 | Scripting SVG | I'm considering developing a website similar to stackoverflow, but the answers may also consist of drawings (schematics, in this case). I want to have an area in the answer form where they can make this schematic without requiring special plugins, etc.
1. Are we to the point where SVG has or should have critica... | website | ajax | svg | criticalmass | javascript | null | open | Scripting SVG
===
I'm considering developing a website similar to stackoverflow, but the answers may also consist of drawings (schematics, in this case). I want to have an area in the answer form where they can make this schematic without requiring special plugins, etc.
1. Are we to the point where SVG has or ... | 0 |
33,349 | 08/28/2008 20:44:06 | 1,533 | 08/16/2008 12:20:13 | 98 | 15 | Looking up document library items in a SharePoint workflow | I using SharePoint Designer to create a workflow. I'm trying to get at a subfolder in a document library in the "Define Workflow Lookup" dialog. There are two issues with this:
1) I can't look up items by URL Path. If I look up by Title, I can output the URL Path, but selecting by path doesn't work. What fields ca... | sharepoint | workflow | sharepointdesigner | moss | null | null | open | Looking up document library items in a SharePoint workflow
===
I using SharePoint Designer to create a workflow. I'm trying to get at a subfolder in a document library in the "Define Workflow Lookup" dialog. There are two issues with this:
1) I can't look up items by URL Path. If I look up by Title, I can output t... | 0 |
33,386 | 08/28/2008 21:00:24 | 514 | 08/06/2008 13:59:16 | 174 | 6 | Best Ways to Debug a Release Mode Application | Im sure this has happened to folks before, something works in debug mode, you compile in release, and something breaks.
This happened to me while working on a Embedded XP environment, the best way i found to do it really was to write a log file to determine where it would go wrong.
What are your experiences/ disc... | debugging | null | null | null | null | null | open | Best Ways to Debug a Release Mode Application
===
Im sure this has happened to folks before, something works in debug mode, you compile in release, and something breaks.
This happened to me while working on a Embedded XP environment, the best way i found to do it really was to write a log file to determine where it... | 0 |
33,390 | 08/28/2008 21:02:15 | 1,194 | 08/13/2008 12:27:52 | 112 | 10 | Best use pattern for a DataContext | What's the best lifetime model for a DataContext? Should I just create a new one whenever I need it (aka, function level), should I keep one available in each class that would use it (class level), or should I create a static class with a static DataContext (app-domain level)? Are there any considered best practices on... | linq-to-sql | .net-3.5 | null | null | null | null | open | Best use pattern for a DataContext
===
What's the best lifetime model for a DataContext? Should I just create a new one whenever I need it (aka, function level), should I keep one available in each class that would use it (class level), or should I create a static class with a static DataContext (app-domain level)? Ar... | 0 |
33,395 | 08/28/2008 21:04:01 | 83 | 08/01/2008 16:31:56 | 986 | 79 | How do I hide pages in my ASP.NET web application from users that lack sufficient permissions? | I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. And I'm using a [site map][3] for site navigation.
I have ASP.NET TreeView and Menu navigation controls populated using a SiteMapDataSource. But off-limits administrator-only pages are... | asp.net | forms-authentication | sitemap | null | null | null | open | How do I hide pages in my ASP.NET web application from users that lack sufficient permissions?
===
I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. And I'm using a [site map][3] for site navigation.
I have ASP.NET TreeView and Menu n... | 0 |
33,403 | 08/28/2008 21:06:57 | 3,314 | 08/27/2008 20:05:23 | 3 | 1 | .Net 2.0 - How efficient are Generic Lists? | I'm creating an app that holds loads of loads of user data in memory, and it's mostly keeping it all in List<T> structures (and some Dictionary<T,T> when I need lookup).
And I'm wondering...
How efficient are Lists?
How much memory overhead do I get for each of them? (that is, memory space in additio... | .net | list | generics | memory | performance | null | open | .Net 2.0 - How efficient are Generic Lists?
===
I'm creating an app that holds loads of loads of user data in memory, and it's mostly keeping it all in List<T> structures (and some Dictionary<T,T> when I need lookup).
And I'm wondering...
How efficient are Lists?
How much memory overhead do I get fo... | 0 |
33,409 | 08/28/2008 21:09:00 | 1,214 | 08/13/2008 13:22:40 | 1 | 0 | How do I check if a SQL Server text column is empty? | I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty. Trying to compare against '' yields this response:
>The data types text and varchar are incompatible in the not equal to operator.
Is there a special funct... | sql-server | null | null | null | null | null | open | How do I check if a SQL Server text column is empty?
===
I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty. Trying to compare against '' yields this response:
>The data types text and varchar are incompatible... | 0 |
33,412 | 08/28/2008 21:09:30 | 1,310 | 08/14/2008 13:42:16 | 418 | 25 | How do you configure HttpOnly cookies in tomcat / java webapps? | After reading Jeff's blog post on [Protecting Your Cookies: HttpOnly][1]. I'd like to implement HttpOnly cookies in my web application.
How do you tell tomcat to use http only cookies for sessions?
[1]: http://www.codinghorror.com/blog/archives/001167.html | java | tomcat | xss | webapp | null | null | open | How do you configure HttpOnly cookies in tomcat / java webapps?
===
After reading Jeff's blog post on [Protecting Your Cookies: HttpOnly][1]. I'd like to implement HttpOnly cookies in my web application.
How do you tell tomcat to use http only cookies for sessions?
[1]: http://www.codinghorror.com/blog/archi... | 0 |
33,438 | 08/28/2008 21:24:19 | 2,274 | 08/21/2008 12:44:42 | 90 | 7 | Using Hibernate to work with Text Files | I am using [Hibernate][1] in a Java application to access my Database and it works pretty well with MS-SQL and MySQL. But some of the data I have to show on some forms has to come from Text files, and by Text files I mean Human-Readable files, they can be CSV, Tab-Delimited, or ever pair (key, value) per line since my ... | java | hibernate | text-files | database | null | null | open | Using Hibernate to work with Text Files
===
I am using [Hibernate][1] in a Java application to access my Database and it works pretty well with MS-SQL and MySQL. But some of the data I have to show on some forms has to come from Text files, and by Text files I mean Human-Readable files, they can be CSV, Tab-Delimited,... | 0 |
33,441 | 08/28/2008 21:26:21 | 2,236 | 08/21/2008 05:01:48 | 1 | 1 | What free and preferably open source development tools for windows would you recomend? | Currently, I use MinGW for C/C++, Sun's SDK for java, and the Crimson Editor or Notepad++ for editing and Eclipse for my IDE. | open-source | null | null | null | null | 06/08/2012 14:46:45 | off topic | What free and preferably open source development tools for windows would you recomend?
===
Currently, I use MinGW for C/C++, Sun's SDK for java, and the Crimson Editor or Notepad++ for editing and Eclipse for my IDE. | 2 |
33,449 | 08/28/2008 21:29:35 | 1,874 | 08/19/2008 02:05:31 | 147 | 14 | Can you call a webservice from TSQL code? | Is there a way to call out from a TSQL stored procedure or function to a webservice? | sql-server | web-services | tsql | null | null | null | open | Can you call a webservice from TSQL code?
===
Is there a way to call out from a TSQL stored procedure or function to a webservice? | 0 |
33,457 | 08/28/2008 21:36:43 | 2,199 | 08/20/2008 21:32:33 | 393 | 40 | SMO and Sql Server 7.0 | Does anyone have a definitive answer to whether [Sql Server Management Objects][1] is compatible with Sql Server 7.0?
The docs state:
> Because SMO is compatible with SQL Server version 7.0, SQL Server 2000, SQL Server 2005, and SQL Server 2008, you easily manage a multi-version environment.
But trying to connec... | sql-server | smo | null | null | null | null | open | SMO and Sql Server 7.0
===
Does anyone have a definitive answer to whether [Sql Server Management Objects][1] is compatible with Sql Server 7.0?
The docs state:
> Because SMO is compatible with SQL Server version 7.0, SQL Server 2000, SQL Server 2005, and SQL Server 2008, you easily manage a multi-version environm... | 0 |
33,459 | 08/28/2008 21:37:13 | 2,214 | 08/20/2008 23:12:21 | 1 | 0 | How do you use a flash object as a link? | Is it possible to use a flash document embedded in HTML as a link?
I tried just wrapping the <code>object</code> element with an <code>a</code> like this:
<a href="http://whatever.com">
<object ...>
<embed ... />
</object>
</a>
In Internet Explorer, that made it show the... | html | flash | null | null | null | null | open | How do you use a flash object as a link?
===
Is it possible to use a flash document embedded in HTML as a link?
I tried just wrapping the <code>object</code> element with an <code>a</code> like this:
<a href="http://whatever.com">
<object ...>
<embed ... />
</object>
</a>
... | 0 |
33,469 | 08/28/2008 21:43:16 | 1,212 | 08/13/2008 13:17:40 | 117 | 4 | Caching Patterns in ASP.NET | So I just fixed a bug in a framework I'm developing. The pseudo-pseudocode looks like this:
myoldObject = new MyObject { someValue = "old value" };
cache.Insert("myObjectKey", myoldObject);
myNewObject = cache.Get("myObjectKey");
myNewObject.someValue = "new value";
if(myObject.someValue != c... | asp.net | caching | null | null | null | null | open | Caching Patterns in ASP.NET
===
So I just fixed a bug in a framework I'm developing. The pseudo-pseudocode looks like this:
myoldObject = new MyObject { someValue = "old value" };
cache.Insert("myObjectKey", myoldObject);
myNewObject = cache.Get("myObjectKey");
myNewObject.someValue = "new value"... | 0 |
33,471 | 08/28/2008 21:44:08 | 1,806 | 08/18/2008 16:49:30 | 16 | 1 | Subversion: Fail update when there are conflicts? | Is there a way to tell subversion "update/merge unless it would cause a conflict"?
I know you can use `--dry-run` / `status -u` to check before running the update, but I often have others running updates and getting broken webpages because they don't notice the "C index.php" line.
I've also noticed that svn doe... | svn | command-line | null | null | null | null | open | Subversion: Fail update when there are conflicts?
===
Is there a way to tell subversion "update/merge unless it would cause a conflict"?
I know you can use `--dry-run` / `status -u` to check before running the update, but I often have others running updates and getting broken webpages because they don't notice the ... | 0 |
33,475 | 08/28/2008 21:48:09 | 742 | 08/08/2008 13:33:41 | 37 | 2 | ssh hangs when command invoked directly, but exits cleanly when run interactive | I need to launch a server on the remote machine and retrieve the port number that the server process is lsitening on. When invoked, the server will listen on a random port and output the port number on stderr.
I want to automate the process of logging on to the remote machine, launching the process, and retrieving ... | python | ssh | null | null | null | null | open | ssh hangs when command invoked directly, but exits cleanly when run interactive
===
I need to launch a server on the remote machine and retrieve the port number that the server process is lsitening on. When invoked, the server will listen on a random port and output the port number on stderr.
I want to automate th... | 0 |
33,476 | 08/28/2008 21:48:57 | 1,432 | 08/15/2008 15:33:54 | 812 | 51 | JSF Lifecycle and Custom components | There are a couple of things that I am having a difficult time understanding with regards to developing custom components in JSF. For the purposes of these questions, you can assume that all of the custom controls are using valuebindings/expressions (not literal bindings). Although I'll gladly upvote those who give g... | java | java-ee | jsf | custom-component | null | null | open | JSF Lifecycle and Custom components
===
There are a couple of things that I am having a difficult time understanding with regards to developing custom components in JSF. For the purposes of these questions, you can assume that all of the custom controls are using valuebindings/expressions (not literal bindings). Alt... | 0 |
33,478 | 08/28/2008 21:49:51 | 223 | 08/03/2008 16:58:07 | 1 | 0 | Can you recommend an ASP.NET control library? | Do you have a good experience with a control library? Something that is kind of robust, well documented, consistent (across different controls) and quite well integrated into the Visual Studio. | asp.net | controls | null | null | null | null | open | Can you recommend an ASP.NET control library?
===
Do you have a good experience with a control library? Something that is kind of robust, well documented, consistent (across different controls) and quite well integrated into the Visual Studio. | 0 |
33,484 | 08/28/2008 21:51:40 | 459 | 08/05/2008 21:54:42 | 197 | 25 | Can I export translations of place names from freebase.com | So I've looked at [this use][1] of the [freebase][2] API and I was really impressed with the translations of the name that it found. IE Rome, Roma, Rom, Rzym, Rooma,로마, 罗马市. This is because I have a database of some 5000+ location names and I would very much like all French, German or Korean translations for these Engl... | translation | freebase | null | null | null | null | open | Can I export translations of place names from freebase.com
===
So I've looked at [this use][1] of the [freebase][2] API and I was really impressed with the translations of the name that it found. IE Rome, Roma, Rom, Rzym, Rooma,로마, 罗马市. This is because I have a database of some 5000+ location names and I would very mu... | 0 |
33,485 | 08/28/2008 21:51:58 | 223 | 08/03/2008 16:58:07 | 1 | 0 | ASP.NET vs. Silverlight | I'm starting a new web project and I am considering two presentation frameworks. I am thinking either about ASP.NET MVC or Silverlight. I would tend toward Silverlight since I'm quite experienced .NET developer while I have just a basic knowledge of ASP.NET controls. | asp.net | silverlight | null | null | null | 04/30/2012 13:43:54 | not constructive | ASP.NET vs. Silverlight
===
I'm starting a new web project and I am considering two presentation frameworks. I am thinking either about ASP.NET MVC or Silverlight. I would tend toward Silverlight since I'm quite experienced .NET developer while I have just a basic knowledge of ASP.NET controls. | 4 |
33,495 | 08/28/2008 21:57:24 | 459 | 08/05/2008 21:54:42 | 197 | 25 | Could you make a case for using Berkeley DB XML | I'm trying to read through the documentation on [Berkeley DB XML][1], and I think I could really use a developer's blog post or synopsis of when they had a problem that found the XML layer atop Berkeley DB was the exact prescription for. Maybe I'm not getting it, but it seems like they're both in-process DBs, and ultim... | berkeleydb | berkeleydbxml | null | null | null | null | open | Could you make a case for using Berkeley DB XML
===
I'm trying to read through the documentation on [Berkeley DB XML][1], and I think I could really use a developer's blog post or synopsis of when they had a problem that found the XML layer atop Berkeley DB was the exact prescription for. Maybe I'm not getting it, but... | 0 |
33,496 | 08/28/2008 21:57:25 | 3,262 | 08/27/2008 15:30:29 | 25 | 3 | Recommended reading for new team lead | Our organization is undertaking a re-org to solve our current resource and communications issues. I know, a re-org never solves anything, etc. With that being said, I was tapped to go from an individual contributor (aka tech lead/architect) to leading a team of maintenance developers and analysts.
I'm very aware of ... | books | management | teamwork | leader | null | 05/08/2012 17:51:11 | not constructive | Recommended reading for new team lead
===
Our organization is undertaking a re-org to solve our current resource and communications issues. I know, a re-org never solves anything, etc. With that being said, I was tapped to go from an individual contributor (aka tech lead/architect) to leading a team of maintenance dev... | 4 |
33,497 | 08/28/2008 21:57:40 | 3,474 | 08/28/2008 17:28:46 | 11 | 5 | How do I recover from an unchecked exception? | Unchecked exceptions are alright if you want to handle every failure the same way, for example by logging it and skipping to the next request, displaying a message to the user and handling the next event, etc. If this is my use case, all I have to do is catch some general exception type at a high level in my system, an... | exception | java | c# | api | design | null | open | How do I recover from an unchecked exception?
===
Unchecked exceptions are alright if you want to handle every failure the same way, for example by logging it and skipping to the next request, displaying a message to the user and handling the next event, etc. If this is my use case, all I have to do is catch some gene... | 0 |
33,510 | 08/28/2008 22:03:58 | 958 | 08/11/2008 04:41:15 | 209 | 14 | What is the best approach to both modularity and platform independence? | I hope this question does not come off as broad as it may seem at first. I am designing a software application in my `<sarcasm>`*voluminous*`</sarcasm>` spare time. I would like it to be both cross-platform and modular. At this point, because I am still in the planning phase, I can pick practically any language and ... | moularity | interpreted | compiled | null | null | null | open | What is the best approach to both modularity and platform independence?
===
I hope this question does not come off as broad as it may seem at first. I am designing a software application in my `<sarcasm>`*voluminous*`</sarcasm>` spare time. I would like it to be both cross-platform and modular. At this point, becau... | 0 |
33,513 | 08/28/2008 22:05:04 | 572 | 08/06/2008 20:56:54 | 2,095 | 174 | Should I use a software hosting solution for my personal projects? | Right now, I keep all of my projects on my laptop. I'm thinking that I shouldn't do this, but instead use a version control system and check them in/out from an external hosting repository (Google Code, SourceForge, etc). I see several benefits here - first, I don't have to worry about losing my code if my computer cra... | version-control | projects | project-hosting | null | null | null | open | Should I use a software hosting solution for my personal projects?
===
Right now, I keep all of my projects on my laptop. I'm thinking that I shouldn't do this, but instead use a version control system and check them in/out from an external hosting repository (Google Code, SourceForge, etc). I see several benefits her... | 0 |
33,529 | 08/28/2008 22:14:16 | 1,842 | 08/18/2008 20:40:25 | 48 | 1 | How exactly do you configure httpOnlyCookies in ASP.NET? | Inspired by this CodingHorror article, "[Protecting Your Cookies: HttpOnly][1]"
How do you set this property? Somewhere in the web config?
[1]: http://www.codinghorror.com/blog/archives/001167.html | asp.net | xss | null | null | null | null | open | How exactly do you configure httpOnlyCookies in ASP.NET?
===
Inspired by this CodingHorror article, "[Protecting Your Cookies: HttpOnly][1]"
How do you set this property? Somewhere in the web config?
[1]: http://www.codinghorror.com/blog/archives/001167.html | 0 |
33,534 | 08/28/2008 22:18:02 | 394 | 08/05/2008 12:36:16 | 301 | 37 | Extending base classes in Python | I'm trying to extend some "base" classes in Python:
class xlist (list):
def len(self):
return len(self)
def add(self, *argv, **argc):
[self.append (x) for x in argv]
return None
class xint (int):
def add(self, value):
... | python | null | null | null | null | null | open | Extending base classes in Python
===
I'm trying to extend some "base" classes in Python:
class xlist (list):
def len(self):
return len(self)
def add(self, *argv, **argc):
[self.append (x) for x in argv]
return None
class xint (int):
... | 0 |
33,545 | 08/28/2008 22:22:55 | 3,125 | 08/26/2008 19:59:36 | 1 | 2 | Converter for VB.NET Code to Linux Platform Exist? | I am interested in moving a number of my projects from Visual Studio and Access/Office Basic with a SQL back-end to the Linux world. Are there any utilities available to move code over to a similar platform on Linux? I apologize in advance for my naiveté, it's been at least 18 years since I last worked in a Unix envi... | linux | visual-basic | ms-access | null | null | null | open | Converter for VB.NET Code to Linux Platform Exist?
===
I am interested in moving a number of my projects from Visual Studio and Access/Office Basic with a SQL back-end to the Linux world. Are there any utilities available to move code over to a similar platform on Linux? I apologize in advance for my naiveté, it's b... | 0 |
33,550 | 08/28/2008 22:24:57 | 3,508 | 08/28/2008 18:37:07 | 36 | 2 | Best open-source Mathematica equivalent | What is the best open-source equivalent for Mathematica? My requirements are:
1. (most important) Must be a real computer algebra system (CAS). Notably, I don't want Matlab clones -- I want something that can, at least, symbolically differentiate and integrate.
2. Must be programmable. A functional-programming v... | cas | computeralgebrasystem | null | null | null | null | open | Best open-source Mathematica equivalent
===
What is the best open-source equivalent for Mathematica? My requirements are:
1. (most important) Must be a real computer algebra system (CAS). Notably, I don't want Matlab clones -- I want something that can, at least, symbolically differentiate and integrate.
2. Must... | 0 |
33,559 | 08/28/2008 22:30:54 | 708 | 08/08/2008 06:10:02 | 450 | 14 | How to get started with PowerShell? | I played with one of the early beta's of Powershell V1, but haven't used it since it went "gold". What is the best way to get started using Powershell? Which version of Powershell should I be using (V1.0 vs 2.0 CTP's)? What are you using Powershell for? Are there any tools that make using Powershell easier (i.e. develo... | powershell | null | null | null | null | 07/05/2012 16:00:22 | not constructive | How to get started with PowerShell?
===
I played with one of the early beta's of Powershell V1, but haven't used it since it went "gold". What is the best way to get started using Powershell? Which version of Powershell should I be using (V1.0 vs 2.0 CTP's)? What are you using Powershell for? Are there any tools that ... | 4 |
33,577 | 08/28/2008 22:44:22 | 814 | 08/09/2008 04:07:15 | 175 | 12 | How do I perform a recursive checkout using ClearCase? | I want to check out all files in all subdirectories of a specified folder. | version-control | clearcase | null | null | null | null | open | How do I perform a recursive checkout using ClearCase?
===
I want to check out all files in all subdirectories of a specified folder. | 0 |
33,590 | 08/28/2008 22:54:37 | 459 | 08/05/2008 21:54:42 | 197 | 26 | Drawing a custom label on a pie chart in Yahoo's Flash Library ASTRA | Has anyone looked at [Yahoo's ASTRA][1]? It's fairly nifty, but I had some issues creating a custom label for a pie chart. They have an example for a line chart, which overrides an axis's series's label renderer. My solution was to override the `myPieChart.dataTipFunction`. For data that looks like:
[ { categor... | flash | actionscript-3 | datatipfunction | null | null | null | open | Drawing a custom label on a pie chart in Yahoo's Flash Library ASTRA
===
Has anyone looked at [Yahoo's ASTRA][1]? It's fairly nifty, but I had some issues creating a custom label for a pie chart. They have an example for a line chart, which overrides an axis's series's label renderer. My solution was to override the ... | 0 |
33,594 | 08/28/2008 23:00:05 | 3,501 | 08/28/2008 19:56:11 | 1 | 3 | CreateProcessAsUser vs ShellExecute | I need to ShellExecute something as another user, currently I start a helper process with CreateProcessAsUser that calls ShellExecute, but that seems like too much of a hack (Wrong parent process etc.) Is there a better way to do this? | winapi | windows-nt | null | null | null | null | open | CreateProcessAsUser vs ShellExecute
===
I need to ShellExecute something as another user, currently I start a helper process with CreateProcessAsUser that calls ShellExecute, but that seems like too much of a hack (Wrong parent process etc.) Is there a better way to do this? | 0 |
33,619 | 08/28/2008 23:17:43 | 1,602 | 08/17/2008 13:53:31 | 55 | 5 | Concurrent loggins in a web farm | I'm really asking this by proxy, another team at work have had change request from our customer.
The problem is that our customer doesn't want there employees to login with one user more than one at a time. That they are getting locked out and sharing logins.
Since this is on a web farm, what would be the best w... | asp.net | null | null | null | null | null | open | Concurrent loggins in a web farm
===
I'm really asking this by proxy, another team at work have had change request from our customer.
The problem is that our customer doesn't want there employees to login with one user more than one at a time. That they are getting locked out and sharing logins.
Since this is o... | 0 |
33,630 | 08/28/2008 23:25:02 | 3,314 | 08/27/2008 20:05:23 | 87 | 8 | What's the maximum amount of RAM I can use in a Windows box? | Obviously, that's 64-bit windows.
Also, what's the maximum amount of memory a single 64-bit process can use?
I was kind of counting on using it all...
(Yes, I know what I'm doing, please don't tell me that if I need that much RAM i must be doing something wrong)
Also, is this the same for a .Net 2.0 process? O... | memory | windows | 64bit | null | null | null | open | What's the maximum amount of RAM I can use in a Windows box?
===
Obviously, that's 64-bit windows.
Also, what's the maximum amount of memory a single 64-bit process can use?
I was kind of counting on using it all...
(Yes, I know what I'm doing, please don't tell me that if I need that much RAM i must be doing so... | 0 |
33,637 | 08/28/2008 23:29:57 | 1,782 | 08/18/2008 14:30:58 | 1,056 | 71 | How does GPS in a mobile phone work exactly? | I assume it doesn't connect to anything (other than the satelite I guess), is this right? Or it does and has some kind of charge? | gps | mobile-phones | null | null | null | null | open | How does GPS in a mobile phone work exactly?
===
I assume it doesn't connect to anything (other than the satelite I guess), is this right? Or it does and has some kind of charge? | 0 |
33,638 | 08/28/2008 23:30:16 | 2,894 | 08/25/2008 20:06:55 | 154 | 22 | Testing and Managing database versions against code versions | As you develop an application database changes inevitably pop up. The trick I find is keeping your database build in step with your code. In the past I have added a build step that executed SQL scripts against the target database but that is dangerous in so much as you could inadvertanly add bogus data or worse.
... | database | testing | version-control | build-process | null | null | open | Testing and Managing database versions against code versions
===
As you develop an application database changes inevitably pop up. The trick I find is keeping your database build in step with your code. In the past I have added a build step that executed SQL scripts against the target database but that is dangerous ... | 0 |
33,643 | 08/28/2008 23:32:26 | 3,488 | 08/28/2008 18:28:18 | 31 | 8 | Diagramming Software for a Developer/Designer | For a long time I've been looking for a good diagramming/vector-based drawing program that meets my needs as a developer. I'd like to:
1. Draw database diagrams
1. Draw flow charts
1. Draw object-modeling diagrams (UML being the standard)
1. Draw other free-form diagrams (basically boxes & arrows with the occasio... | design | user-interface | diagram | null | null | null | open | Diagramming Software for a Developer/Designer
===
For a long time I've been looking for a good diagramming/vector-based drawing program that meets my needs as a developer. I'd like to:
1. Draw database diagrams
1. Draw flow charts
1. Draw object-modeling diagrams (UML being the standard)
1. Draw other free-form ... | 0 |
33,664 | 08/28/2008 23:42:14 | 637 | 08/07/2008 12:33:15 | 270 | 2 | Best Practices for Managing Linq to SQL Dbml Files? | I've just started using Linq to SQL, and I'm wondering if anyone has any best practices they can share for managing dbml files.
- How do you keep them up to date with the database?
- Do you have a single dbml file for the entire database, or is it split into multiple logical units?
- How does managing this... | sql | linq | dbml | null | null | null | open | Best Practices for Managing Linq to SQL Dbml Files?
===
I've just started using Linq to SQL, and I'm wondering if anyone has any best practices they can share for managing dbml files.
- How do you keep them up to date with the database?
- Do you have a single dbml file for the entire database, or is it split i... | 0 |
33,685 | 08/28/2008 23:59:43 | 1,950 | 08/19/2008 14:57:18 | 91 | 6 | SQL 2000 'TRY CATCH like' Error Handling | This is a sql 2000 database that I am working with.
I have a what I call a staging table that is a raw data dump of data, so everything is ntext or nvarchar(255).
I need to cast/convert all of this data into the appropriate data types (ie int, decimal, nvarchar, etc.)
The way I was going to do this was to ite... | sql-server | null | null | null | null | null | open | SQL 2000 'TRY CATCH like' Error Handling
===
This is a sql 2000 database that I am working with.
I have a what I call a staging table that is a raw data dump of data, so everything is ntext or nvarchar(255).
I need to cast/convert all of this data into the appropriate data types (ie int, decimal, nvarchar, etc.... | 0 |
33,696 | 08/29/2008 00:19:55 | 3,407 | 08/28/2008 13:19:46 | 1 | 2 | Cocoa tips for PHP developers? | I'm a PHP developer, and I use the MVC pattern, and object oriented code. I really want to write applications for the iPhone, but to do that I need to know Cocoa, but to do that I need to know Objective-C 2.0, but to do that I need to know C, and to do that I need to know about compiled languages (versus interpreted). ... | php | c | objectivec | cocoa | null | null | open | Cocoa tips for PHP developers?
===
I'm a PHP developer, and I use the MVC pattern, and object oriented code. I really want to write applications for the iPhone, but to do that I need to know Cocoa, but to do that I need to know Objective-C 2.0, but to do that I need to know C, and to do that I need to know about compi... | 0 |
33,703 | 08/29/2008 00:30:56 | 3,259 | 08/27/2008 15:24:02 | 33 | 4 | How can you make a .net windows forms project look fresh? | I'm working on a visual studio 2005 vb.net windows forms project that's been around for several years. It's full of default textboxes, labels, dropdowns, datagrids, datetime pickers -- all the standard stuff. The end result is a very gray, old-looking project.
What would be the best approach to making this project... | .net | visual-studio | winforms | gui | null | null | open | How can you make a .net windows forms project look fresh?
===
I'm working on a visual studio 2005 vb.net windows forms project that's been around for several years. It's full of default textboxes, labels, dropdowns, datagrids, datetime pickers -- all the standard stuff. The end result is a very gray, old-looking pro... | 0 |
33,708 | 08/29/2008 00:37:55 | 61 | 08/01/2008 14:21:00 | 817 | 65 | My (Java/Swing) MouseListener isn't listening, help me figure out why. | So I've got a `JPanel` implementing `MouseListener` and `MouseMotionListener`:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class DisplayArea extends JPanel implements MouseListener, MouseMotionListener {
public DisplayArea(Rectangle bounds, Display display)... | java | swing | null | null | null | null | open | My (Java/Swing) MouseListener isn't listening, help me figure out why.
===
So I've got a `JPanel` implementing `MouseListener` and `MouseMotionListener`:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class DisplayArea extends JPanel implements MouseListener, MouseMoti... | 0 |
33,720 | 08/29/2008 00:44:14 | 3,467 | 08/28/2008 17:01:43 | 71 | 7 | Change templates in XCode | How would I change the initial templates created by XCode when creating a new Cocoa Class.
I am referring to the comments and class name created when using XCode's new class wizard. | cocoa | xcode | templates | objective-c | null | null | open | Change templates in XCode
===
How would I change the initial templates created by XCode when creating a new Cocoa Class.
I am referring to the comments and class name created when using XCode's new class wizard. | 0 |
33,723 | 08/29/2008 00:45:43 | 1,388 | 08/15/2008 00:32:30 | 1 | 1 | What are the standard pin mappings for sound cards? | I've got a Sound Blaster Audigy 2 ZS (Part # SB0350) that I'm installing as part of a computer that I'm building. There's a nifty headphone and speaker jack pair mounted on the case which I would like to connect, and I'm not sure if it's possible.
Have:
4 pins to connect: Mic-In, L-Out, R-Out, Ground. Pretty intui... | electronics | soundcard | pin | null | null | null | open | What are the standard pin mappings for sound cards?
===
I've got a Sound Blaster Audigy 2 ZS (Part # SB0350) that I'm installing as part of a computer that I'm building. There's a nifty headphone and speaker jack pair mounted on the case which I would like to connect, and I'm not sure if it's possible.
Have:
4 pin... | 0 |
33,727 | 08/29/2008 00:54:44 | 3,314 | 08/27/2008 20:05:23 | 94 | 9 | CLR Profiler - Attaching to existing process | I would like to use something like CLR Profiles on .Net 2.0 to see what objects are taking more space in the heap at any given time (of an ASP.Net worker process).
However, the CLR Profiler only lets me START an app, not attach to an existing one. I assume this is because it tracks allocations and GC too, but i'm no... | memory | .net-2.0 | clr | profiler | null | null | open | CLR Profiler - Attaching to existing process
===
I would like to use something like CLR Profiles on .Net 2.0 to see what objects are taking more space in the heap at any given time (of an ASP.Net worker process).
However, the CLR Profiler only lets me START an app, not attach to an existing one. I assume this is be... | 0 |
33,728 | 08/29/2008 00:56:33 | 1,612 | 08/17/2008 14:52:15 | 300 | 26 | How should I build a good (web) API | I'm going to build an API for a web app and I'm interested in what people can suggest as good practices.
I'm already planning to make it versioned (version 1 can only control certain aspects of the system, version 2 could control more, but this may need a change in the way authentication is performed that would be i... | api | null | null | null | null | null | open | How should I build a good (web) API
===
I'm going to build an API for a web app and I'm interested in what people can suggest as good practices.
I'm already planning to make it versioned (version 1 can only control certain aspects of the system, version 2 could control more, but this may need a change in the way au... | 0 |
33,744 | 08/29/2008 01:15:03 | 2,948 | 08/26/2008 08:39:22 | 229 | 7 | Is Scala the next big thing? | I've been learning <a href="http://scala-lang.org/">Scala</a> recently, and it seems like a very very promising general purpose programming language. It has all the good functional programming features, terse syntax, it runs on JVM and interoperates with Java.
[Some](http://blog.locut.us/2007/12/18/scala-the-best-of... | scala | programming-languages | functional-programming | web-development | jvm | 10/05/2011 05:50:44 | not constructive | Is Scala the next big thing?
===
I've been learning <a href="http://scala-lang.org/">Scala</a> recently, and it seems like a very very promising general purpose programming language. It has all the good functional programming features, terse syntax, it runs on JVM and interoperates with Java.
[Some](http://blog.loc... | 4 |
33,745 | 08/29/2008 01:15:24 | 255 | 08/04/2008 05:46:02 | 129 | 4 | Wordpress Wiki Integration | I am running a WordPress blog right now on my own LAMP hosting. I really want to add some basic Wiki functionality to my site. Ideally just the ability to have some posts or pages that users with certain roles / capabilities could edit. The latest version of WordPress has edit revisions, so it would seem like I coul... | wordpress | php | mysql | wiki | null | null | open | Wordpress Wiki Integration
===
I am running a WordPress blog right now on my own LAMP hosting. I really want to add some basic Wiki functionality to my site. Ideally just the ability to have some posts or pages that users with certain roles / capabilities could edit. The latest version of WordPress has edit revisio... | 0 |
33,746 | 08/29/2008 01:15:52 | 3,340 | 08/28/2008 02:03:37 | 1 | 1 | XML attribute vs XML element | At work we are being asked to create XML files to pass data to another offline application that will then create a second XML file to pass back in order to update some of our data. During the process we have been discussing with the team of the other application about the structure of the XML file.
The sample I cam... | xml | xml-schema | null | null | null | null | open | XML attribute vs XML element
===
At work we are being asked to create XML files to pass data to another offline application that will then create a second XML file to pass back in order to update some of our data. During the process we have been discussing with the team of the other application about the structure of ... | 0 |
33,751 | 08/29/2008 01:25:43 | 338 | 08/04/2008 18:34:44 | 649 | 49 | How do I add a MIME type to .htaccess? | I would like to add the following MIME type to a site run by Apache:
<mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
(That is the Tomcat format.)
I'm on a shared host, so I can only create an .htaccess file. Would someone ple... | java | apache | mime | .htaccess | jnlp | null | open | How do I add a MIME type to .htaccess?
===
I would like to add the following MIME type to a site run by Apache:
<mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
(That is the Tomcat format.)
I'm on a shared host, so I can only... | 0 |
33,761 | 08/29/2008 01:31:27 | 2,049 | 08/20/2008 00:32:30 | 1 | 0 | How can I retrieve a list of parameters from a stored procedure in SQL Server | Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters that belong to a stored procedure on a SQL Server before I actually execute it?
I have an a "multi-environment" scenario where there are multiple versions of the same database schema. Examples of environments might be "Development", ... | c# | sql-server | null | null | null | null | open | How can I retrieve a list of parameters from a stored procedure in SQL Server
===
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters that belong to a stored procedure on a SQL Server before I actually execute it?
I have an a "multi-environment" scenario where there are multiple vers... | 0 |
33,768 | 08/29/2008 01:34:14 | 3,435 | 08/28/2008 15:10:35 | 6 | 3 | Any advice for speeding up the compile time in Flex Builder 3? | I run Flex Builder 3 on a mac and as my project grows - the compile time gets longer and longer and longer. I am using some SWC's and there is a fair amount of code but it shouldn't take minutes to build and crash daily should it? | flex | flexbuilder | null | null | null | null | open | Any advice for speeding up the compile time in Flex Builder 3?
===
I run Flex Builder 3 on a mac and as my project grows - the compile time gets longer and longer and longer. I am using some SWC's and there is a fair amount of code but it shouldn't take minutes to build and crash daily should it? | 0 |
33,778 | 08/29/2008 01:40:00 | 1,463 | 08/15/2008 17:26:44 | 257 | 17 | How do I delete 1 file from a revision in SVN? | One of my co-workers checked in a some files in SVN and one of the files has a password in it. The password has been removed from the file and a new version checked in but the password is obviously still in the repository if we look at the revision history and go to that revision. (We're using TortoiseSVN as the client... | svn | null | null | null | null | null | open | How do I delete 1 file from a revision in SVN?
===
One of my co-workers checked in a some files in SVN and one of the files has a password in it. The password has been removed from the file and a new version checked in but the password is obviously still in the repository if we look at the revision history and go to t... | 0 |
33,779 | 08/29/2008 01:40:17 | 1,635 | 08/17/2008 17:33:54 | 83 | 12 | Scheduled Task Cmdlet | Does anyone know of a powershell cmdlet out there for automating task scheduler? | powershell | schedule | null | null | null | null | open | Scheduled Task Cmdlet
===
Does anyone know of a powershell cmdlet out there for automating task scheduler? | 0 |
33,790 | 08/29/2008 01:44:54 | 338 | 08/04/2008 18:34:44 | 651 | 49 | How can I use `scp` to deploy a website's `.htaccess` file? | I am currently using the following command to upload my site content:
scp -r web/* user@site.com:site.com/
This works great except that the .htaccess file is not sent. Presumably, this is because it's hidden.
I have tried adding a second line to send the file explicitely:
scp -r web/.htaccess user@s... | deployment | .htaccess | scp | shared-host | null | null | open | How can I use `scp` to deploy a website's `.htaccess` file?
===
I am currently using the following command to upload my site content:
scp -r web/* user@site.com:site.com/
This works great except that the .htaccess file is not sent. Presumably, this is because it's hidden.
I have tried adding a second line... | 0 |
33,813 | 08/29/2008 02:03:34 | 3,002 | 08/26/2008 11:21:07 | 138 | 10 | What is your favorite feature of textmate? | I noticed that many people here use [textmate][1] for coding on OSX. I've recently started using it, and although I like its minimalistic interface, it makes it harder to stumble upon cool features if you don't know what you're looking for.
So, what feature have you found most helpful for coding (mainly in Python)? ... | text-editor | mac | osx | textmate | python | 03/06/2012 03:03:17 | not a real question | What is your favorite feature of textmate?
===
I noticed that many people here use [textmate][1] for coding on OSX. I've recently started using it, and although I like its minimalistic interface, it makes it harder to stumble upon cool features if you don't know what you're looking for.
So, what feature have you fo... | 1 |
33,814 | 08/29/2008 02:03:39 | 1,569 | 08/16/2008 18:38:06 | 135 | 11 | How to determine if an html tag splits across multiple lines | I'm writing a php script that involves scraping web pages. Currently, the script analyzes the page line by line, but it breaks if there is a tag that spans multiple lines, like
<img src="example.jpg"
alt="example">
If worse comes to worse, I could possibly preprocess the page by removing all line breaks, ... | php | html | scripting | null | null | null | open | How to determine if an html tag splits across multiple lines
===
I'm writing a php script that involves scraping web pages. Currently, the script analyzes the page line by line, but it breaks if there is a tag that spans multiple lines, like
<img src="example.jpg"
alt="example">
If worse comes to worse, ... | 0 |
33,822 | 08/29/2008 02:09:55 | 3,030 | 08/26/2008 12:41:34 | 92 | 7 | Any way to write a Windows .bat file to kill processes? | So every time I turn on my company owned development machine I have to kill 10+ processes using the task manager or any other process management app just to get decent performance out of my IDE. Yes, these are processes from programs that my company installs on my machine for security and compliance. What I'd like to ... | performance | batch | processes | null | null | null | open | Any way to write a Windows .bat file to kill processes?
===
So every time I turn on my company owned development machine I have to kill 10+ processes using the task manager or any other process management app just to get decent performance out of my IDE. Yes, these are processes from programs that my company installs... | 0 |
33,829 | 08/29/2008 02:13:17 | 338 | 08/04/2008 18:34:44 | 653 | 50 | How do I detect if a function is available during JNLP execution? | I have an application which *really* should be installed, but does work fine when deployed using JNLP.
However, it would seem that some Java functions such as `Runtime.exec` don't work using the default security options.
I would like to therefore [disable](http://www.joelonsoftware.com/items/2008/07/01.html) UI f... | java | security | deployment | permissions | jnlp | null | open | How do I detect if a function is available during JNLP execution?
===
I have an application which *really* should be installed, but does work fine when deployed using JNLP.
However, it would seem that some Java functions such as `Runtime.exec` don't work using the default security options.
I would like to theref... | 0 |
33,836 | 08/29/2008 02:17:06 | 1,463 | 08/15/2008 17:26:44 | 282 | 19 | How can I find the revision history of the file that was deleted and then resubmitted to SVN? | This is a follow on question to "[How do I delete 1 file from a revision in SVN?][1]" but because it probably has a very different answer and I believe that others would benefit from knowing the answer. (I don't know the answer yet.)
The previous question was answered and I discovered that that it is not possible to... | svn | null | null | null | null | null | open | How can I find the revision history of the file that was deleted and then resubmitted to SVN?
===
This is a follow on question to "[How do I delete 1 file from a revision in SVN?][1]" but because it probably has a very different answer and I believe that others would benefit from knowing the answer. (I don't know the ... | 0 |
33,837 | 08/29/2008 02:17:57 | 364 | 08/05/2008 05:33:41 | 376 | 22 | IE CSS Bug - How do I maintain a position:absolute when the viewport resizes due to javascript content | I have a page where there is a column and a content div, somewhat like this:
<div id="container">
<div id="content">blahblahblah</div>
<div id="column"> </div>
</div>
With some styling I have an image that is split between the column and the content but needs to maintain the same vertic... | internet-explorer-6 | internet-explorer-7 | css | null | null | null | open | IE CSS Bug - How do I maintain a position:absolute when the viewport resizes due to javascript content
===
I have a page where there is a column and a content div, somewhat like this:
<div id="container">
<div id="content">blahblahblah</div>
<div id="column"> </div>
</div>
With some st... | 0 |
33,843 | 08/29/2008 02:22:16 | 2,567 | 08/22/2008 22:50:45 | 178 | 23 | How to avoid pauses when editing code on a network drive? | I'm planning on doing more coding from home but in order to do so, I need to be able to edit files on a Samba drive on our dev server. The problem I've run into with several editors is that the network latency causes the editor to lock up for long periods of time (Eclipse, TextMate). Some editors cope with this a lot b... | samba | networking | textmate | text-editor | telecommuting | null | open | How to avoid pauses when editing code on a network drive?
===
I'm planning on doing more coding from home but in order to do so, I need to be able to edit files on a Samba drive on our dev server. The problem I've run into with several editors is that the network latency causes the editor to lock up for long periods o... | 0 |
33,852 | 08/29/2008 02:28:57 | 718 | 08/08/2008 07:07:38 | 1,337 | 61 | Using Unsigned Primitive Types | Most of time we represent concepts which can never be less than 0. For example to declare length, we write:
int length;
The name expresses its purpose well but you can assign negative values to it. It seems that for some situations, you can represent your intent more clearly by writing it this way instead:
... | c# | null | null | null | null | null | open | Using Unsigned Primitive Types
===
Most of time we represent concepts which can never be less than 0. For example to declare length, we write:
int length;
The name expresses its purpose well but you can assign negative values to it. It seems that for some situations, you can represent your intent more clearl... | 0 |
33,853 | 08/29/2008 02:30:05 | 3,142 | 08/26/2008 23:55:24 | 96 | 8 | .net multilingual cms | i am planning a simple, dual-language website and i'd like to use a .net based cms but i can't find anything suitable. i have experience with dotnetnuke and sharepoint but neither fit the bill - dotnetnuke does not do dynamic site elements multi-lingually & sharepoint is a monster PITA no matter what angle you look at... | .net | content-management-system | multilingual | null | null | null | open | .net multilingual cms
===
i am planning a simple, dual-language website and i'd like to use a .net based cms but i can't find anything suitable. i have experience with dotnetnuke and sharepoint but neither fit the bill - dotnetnuke does not do dynamic site elements multi-lingually & sharepoint is a monster PITA no ma... | 0 |
33,860 | 08/29/2008 02:33:21 | 3,499 | 08/28/2008 19:39:37 | 1 | 0 | Is it possible to call Javascript's onsubmit event programatically on a form? | Using Ruby on Rails, I'm attempting to update the innerHTML of a div tag using form_remote_tag. This update happens whenever an associated select tag receives an onchange event. The problem is, <select onchange="this.form.submit();"> doesn't work. Nor does document.forms[0].submit(). The only way to get the o... | javascript | ruby | ruby-on-rails | actionview | form-remote-tag | null | open | Is it possible to call Javascript's onsubmit event programatically on a form?
===
Using Ruby on Rails, I'm attempting to update the innerHTML of a div tag using form_remote_tag. This update happens whenever an associated select tag receives an onchange event. The problem is, <select onchange="this.form.submit();"... | 0 |
33,881 | 08/29/2008 02:44:44 | 1,925 | 08/19/2008 14:23:13 | 59 | 8 | Font rendering for web pages | I always run into the same problem when creating web pages. When I add a font that is larger then about 16-18px it looks terrible. Its jagged, and pixelated. I have tried using different fonts and weights, however I haven't had much luck there.
Note: Its only in windows that it is like this. Mainly in Opera and FF ... | font | null | null | null | null | null | open | Font rendering for web pages
===
I always run into the same problem when creating web pages. When I add a font that is larger then about 16-18px it looks terrible. Its jagged, and pixelated. I have tried using different fonts and weights, however I haven't had much luck there.
Note: Its only in windows that it is ... | 0 |
33,893 | 08/29/2008 02:53:44 | 356 | 08/05/2008 01:13:09 | 50 | 8 | Determining width of a printed string by a webapp | In my (PHP) webapp, I have a part of my site that keeps a history of recent searches. The most recent queries get shown in a side box. If the query text is too long, I truncate it and show ellipses. Eg: "My very long query is..."
Currently, I truncate after a certain number of characters. Since the font is not monot... | php | css | null | null | null | null | open | Determining width of a printed string by a webapp
===
In my (PHP) webapp, I have a part of my site that keeps a history of recent searches. The most recent queries get shown in a side box. If the query text is too long, I truncate it and show ellipses. Eg: "My very long query is..."
Currently, I truncate after a ce... | 0 |
33,897 | 08/29/2008 03:01:00 | 356 | 08/05/2008 01:13:09 | 50 | 8 | Online PHP IDE | Is there an IDE for PHP where you can edit the code for your pages online? Real syntax highlighting is minimal. More would be great. I'd like to be able to do development on my site at times other than when I'm not at at home. | php | ide | null | null | null | 12/15/2011 20:33:53 | not constructive | Online PHP IDE
===
Is there an IDE for PHP where you can edit the code for your pages online? Real syntax highlighting is minimal. More would be great. I'd like to be able to do development on my site at times other than when I'm not at at home. | 4 |
33,901 | 08/29/2008 03:06:08 | 2,783 | 08/25/2008 03:10:18 | 151 | 9 | Best iCalendar library for Java? | I'm looking for a library to handle [iCalendar][1] data in Java.
Open source, well-documented implementations with a good object model are preferred. iCal parsing capabilities are less important to me, but still nice to have.
Does anyone have any recommendations?
[1]: http://en.wikipedia.org/wiki/ICalendar | java | icalendar | null | null | null | null | open | Best iCalendar library for Java?
===
I'm looking for a library to handle [iCalendar][1] data in Java.
Open source, well-documented implementations with a good object model are preferred. iCal parsing capabilities are less important to me, but still nice to have.
Does anyone have any recommendations?
[1]: h... | 0 |
33,903 | 08/29/2008 03:08:32 | 3,340 | 08/28/2008 02:03:37 | 18 | 1 | Formatting Stored Procedures | I currently work with an Oracle database and we use stored procedures for all our SQL queries. The problem I have is that we do not really having a coding standard for our packages. So what happens is that every developer has a different style (or in some cases no sense of style) in how they format there packages. Maki... | sql | oracle | stored-procedures | null | null | null | open | Formatting Stored Procedures
===
I currently work with an Oracle database and we use stored procedures for all our SQL queries. The problem I have is that we do not really having a coding standard for our packages. So what happens is that every developer has a different style (or in some cases no sense of style) in ho... | 0 |
33,909 | 08/29/2008 03:16:22 | 1,300 | 08/14/2008 12:59:41 | 1 | 3 | Ribbon Toolbar and Visual Studio 2008 Service Pack 1 | Today I was listening to the [Hanselminutes show about .NET 3.5 SP1...What's inside][1], and they twice mentioned the Office 2007-like Ribbon control that is included in Visual Studio 2008 Service Pack 1.
I am very interested about this, as I was previously looking at purchasing this from a 3rd party vendor (likel... | visual-studio-2008 | wpf | gui | null | null | null | open | Ribbon Toolbar and Visual Studio 2008 Service Pack 1
===
Today I was listening to the [Hanselminutes show about .NET 3.5 SP1...What's inside][1], and they twice mentioned the Office 2007-like Ribbon control that is included in Visual Studio 2008 Service Pack 1.
I am very interested about this, as I was previously... | 0 |
33,923 | 08/29/2008 03:48:03 | 2,045 | 08/19/2008 23:50:05 | 23 | 0 | tail-recursive | Whilst starting to learn lisp, I've come across the term *tail-recursive*. What does it mean? | language-agnostic | lisp | algorithm | null | null | null | open | tail-recursive
===
Whilst starting to learn lisp, I've come across the term *tail-recursive*. What does it mean? | 0 |
33,933 | 08/29/2008 03:57:32 | 2,749 | 08/24/2008 21:26:44 | 1 | 1 | textarea with 100% width ignores parent element's width in IE7 | I have the following textarea in a table:
<table width="300"><tr><td>
<textarea style="width:100%">
longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring
</textarea>
</td></tr></table>
With a long string in th... | html | internet-explorer-7 | textarea | null | null | null | open | textarea with 100% width ignores parent element's width in IE7
===
I have the following textarea in a table:
<table width="300"><tr><td>
<textarea style="width:100%">
longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring
... | 0 |
33,937 | 08/29/2008 04:00:20 | 242 | 08/03/2008 22:55:19 | 380 | 24 | How to handle variable width FieldObjects in Crystal Reports | I have a Crystal Report which is viewed via a CrystalReportViewer control on an .aspx page (using VS2008).
The report has two data-driven FieldObjects (which can contain a variable number of chars) which I would like to display on the same line beside each other.
Problem is when the text in the first FieldO... | crystal-reports | null | null | null | null | null | open | How to handle variable width FieldObjects in Crystal Reports
===
I have a Crystal Report which is viewed via a CrystalReportViewer control on an .aspx page (using VS2008).
The report has two data-driven FieldObjects (which can contain a variable number of chars) which I would like to display on the same line be... | 0 |
33,949 | 08/29/2008 04:15:24 | 2,580 | 08/23/2008 04:11:35 | 13 | 2 | Convert Web.config from .NET 2.0 to 3.5 | What is the minimum I need to add to a .NET 2.0 WebSite's web.config to make it .NET 3.5?
Visual Studio adds all the config sections and script handlers, but if you aren't using those are they are really necessary?
Is there a command line tool to "upgrade" a .NET 2.0 web.config to 3.5? | .net | asp.net | configuration | upgrade | migration | null | open | Convert Web.config from .NET 2.0 to 3.5
===
What is the minimum I need to add to a .NET 2.0 WebSite's web.config to make it .NET 3.5?
Visual Studio adds all the config sections and script handlers, but if you aren't using those are they are really necessary?
Is there a command line tool to "upgrade" a .NET 2.0 ... | 0 |
33,954 | 08/29/2008 04:25:09 | 947 | 08/10/2008 22:41:25 | 1 | 0 | Badge Concept Applied To Continuous Monitoring | Stackoverflow is the first time I've seen this badges concept. It's oddly motivating, and that's pretty cool. Has anybody seen it applied to source control change sets?
I envision a data mining system that monitors a source repo and maybe a continuous integration system and flags significant deltas in various code... | continuous-monitoring | null | null | null | null | 05/08/2012 17:51:01 | off topic | Badge Concept Applied To Continuous Monitoring
===
Stackoverflow is the first time I've seen this badges concept. It's oddly motivating, and that's pretty cool. Has anybody seen it applied to source control change sets?
I envision a data mining system that monitors a source repo and maybe a continuous integration... | 2 |
33,955 | 08/29/2008 04:25:18 | 493 | 08/06/2008 10:25:05 | 2,681 | 170 | NHibernate SetTimeout on ICriteria | Could someone tell me what the units the SetTimeout(int) method in the ICriteria interface uses? Is it milliseconds, seconds, minutes or other? | nhibernate | null | null | null | null | null | open | NHibernate SetTimeout on ICriteria
===
Could someone tell me what the units the SetTimeout(int) method in the ICriteria interface uses? Is it milliseconds, seconds, minutes or other? | 0 |
33,956 | 08/29/2008 04:26:07 | 1,448 | 08/15/2008 16:16:35 | 196 | 18 | Facet ranges in solr results | Assume that I have a field called *price* for the documents in Solr and I have that field faceted. I want to get the facets as ranges of values (eg: 0-100, 100-500, 500-1000, etc). How to do it?
I can specify the ranges beforehand, but I also want to know whether it is possible to calculate the ranges (say for 5 val... | solr | lucene | java | null | null | null | open | Facet ranges in solr results
===
Assume that I have a field called *price* for the documents in Solr and I have that field faceted. I want to get the facets as ranges of values (eg: 0-100, 100-500, 500-1000, etc). How to do it?
I can specify the ranges beforehand, but I also want to know whether it is possible to c... | 0 |
33,960 | 08/29/2008 04:31:24 | 338 | 08/04/2008 18:34:44 | 680 | 51 | How do you get the ethernet address using Java? | I would like to retrieve the ethernet address of the network interface that is used to access a particular website.
How can this be done in Java? | java | ethernet | networking | internet | null | null | open | How do you get the ethernet address using Java?
===
I would like to retrieve the ethernet address of the network interface that is used to access a particular website.
How can this be done in Java? | 0 |
33,969 | 08/29/2008 04:50:50 | 3 | 07/31/2008 14:22:31 | 146 | 5 | Best way to implement request throttling in ASP.NET/IIS7 | We're experimenting with various ways to throttle user actions.
For example, to limit how a question's view count is incremented, we're actually using the Cache:
if (HttpContext.Cache[key] == null)
{
log.Info(string.Concat("DoPostViewIncrement is adding '", key, "' to the Cache - total items: ... | asp.net | iis7 | throttling | null | null | null | open | Best way to implement request throttling in ASP.NET/IIS7
===
We're experimenting with various ways to throttle user actions.
For example, to limit how a question's view count is incremented, we're actually using the Cache:
if (HttpContext.Cache[key] == null)
{
log.Info(string.Concat("DoPostVi... | 0 |
33,973 | 08/29/2008 04:54:09 | 3,474 | 08/28/2008 17:28:46 | 46 | 10 | How do I efficiently keep track of the smallest element in a collection? | In the vein of *programming questions*: suppose there's a collection of objects that can be compared to each other and sorted. What's the most efficient way to keep track of the smallest element in the collection as objects are added and removed? | data-structures | null | null | null | null | null | open | How do I efficiently keep track of the smallest element in a collection?
===
In the vein of *programming questions*: suppose there's a collection of objects that can be compared to each other and sorted. What's the most efficient way to keep track of the smallest element in the collection as objects are added and remo... | 0 |
33,976 | 08/29/2008 04:57:32 | 3,555 | 08/29/2008 04:57:32 | 1 | 0 | Microsoft Office 2007 automated installation - editing the config.xml file | I'm creating an automated installation of Office 2007. To customise your Office 2007 installation the Office Customization Tool (OCT) does most of the work for you. One the OCT's features is the ability to run additional programs during the Office installation. However it is pretty poor at it.
Fortunately by ed... | office2007 | packaging | null | null | null | null | open | Microsoft Office 2007 automated installation - editing the config.xml file
===
I'm creating an automated installation of Office 2007. To customise your Office 2007 installation the Office Customization Tool (OCT) does most of the work for you. One the OCT's features is the ability to run additional programs during t... | 0 |
33,978 | 08/29/2008 04:59:31 | 3,119 | 08/26/2008 18:43:38 | 120 | 14 | Find out how much memory is being used by an object in Python | How would you go about finding out how much memory is being used by an object in python?
I know it is possible to find out how much is used by a block of code, but not by an instantiated object anytime in its life, which is what I want. | python | performance | null | null | null | null | open | Find out how much memory is being used by an object in Python
===
How would you go about finding out how much memory is being used by an object in python?
I know it is possible to find out how much is used by a block of code, but not by an instantiated object anytime in its life, which is what I want. | 0 |
33,990 | 08/29/2008 05:12:07 | 3,486 | 08/28/2008 18:16:51 | 1 | 1 | Can't create a subversion repository with Eclipse 3.4.0, svn 1.5.1 | I'm working on mac OS x 10.4. I have a subversion repository stored on an external drive connected via USB. I created a new python project in Eclipse (using the PyDev plugin). When I use right click Team->Share Project to set up a new prject with subversion, I get the following error:
Error while creating module: or... | subversion | osx | eclipse | null | null | null | open | Can't create a subversion repository with Eclipse 3.4.0, svn 1.5.1
===
I'm working on mac OS x 10.4. I have a subversion repository stored on an external drive connected via USB. I created a new python project in Eclipse (using the PyDev plugin). When I use right click Team->Share Project to set up a new prject with s... | 0 |
33,994 | 08/29/2008 05:15:15 | 832 | 08/09/2008 06:51:40 | 2,351 | 184 | What Code Snippet Editor Do You Use? | Part of my "sort your development life out, Rob" push has been me taking note of the fact that I do not have a library of [code snippets](http://aspnet.4guysfromrolla.com/articles/122105-1.aspx) (and [Jeff did a post too](http://www.codinghorror.com/blog/archives/000419.html)). Now I have a few, but I know I should rea... | visual-studio | .net | code-snippets | null | null | null | open | What Code Snippet Editor Do You Use?
===
Part of my "sort your development life out, Rob" push has been me taking note of the fact that I do not have a library of [code snippets](http://aspnet.4guysfromrolla.com/articles/122105-1.aspx) (and [Jeff did a post too](http://www.codinghorror.com/blog/archives/000419.html)).... | 0 |
34,009 | 08/29/2008 05:31:38 | 184 | 08/03/2008 05:34:19 | 1,220 | 18 | Tool for querying databases | I want to query a number of different databases mainly Oracle and Informix.
Can anyone suggest me some tool using which I can do this easily? | database | null | null | null | null | null | open | Tool for querying databases
===
I want to query a number of different databases mainly Oracle and Informix.
Can anyone suggest me some tool using which I can do this easily? | 0 |
34,019 | 08/29/2008 05:43:06 | 1,721 | 08/18/2008 09:58:47 | 18 | 3 | Install the Radrails plugin for Aptana Studio offline | I downloaded and installed the Aptana Studio free version. But apparently, to install the Radrails plugin for ruby on rails development you have to connect to the internet. I don't have internet on my machine right now. So is there a way I could download the installer from another machine and copy it over my existing A... | ruby-on-rails | radrails | aptana | null | null | null | open | Install the Radrails plugin for Aptana Studio offline
===
I downloaded and installed the Aptana Studio free version. But apparently, to install the Radrails plugin for ruby on rails development you have to connect to the internet. I don't have internet on my machine right now. So is there a way I could download the in... | 0 |
34,020 | 08/29/2008 05:43:16 | 3,561 | 08/29/2008 05:25:35 | 1 | 1 | are python threads broken? | A reliable coder friend told me that python's current multi-threading implementation is seriously buggy - enough to avoid using altogether. Can anyone elaborate on this rumor? | python | multithreading | null | null | null | null | open | are python threads broken?
===
A reliable coder friend told me that python's current multi-threading implementation is seriously buggy - enough to avoid using altogether. Can anyone elaborate on this rumor? | 0 |
34,023 | 08/29/2008 05:49:05 | 1,053 | 08/11/2008 22:17:55 | 214 | 30 | How to embed control change commands inside of a MIDI | I am making a simple game in order to learn a new language. I am in the process of collecting some music for the game and would like to use the MIDI format so that I can control the flow of the track (i.e., I would like to have an introduction that only plays once and does not play again when the song loops.)
I am ... | midi | null | null | null | null | null | open | How to embed control change commands inside of a MIDI
===
I am making a simple game in order to learn a new language. I am in the process of collecting some music for the game and would like to use the MIDI format so that I can control the flow of the track (i.e., I would like to have an introduction that only plays ... | 0 |
34,059 | 08/29/2008 06:33:28 | 45,603 | 08/25/2008 09:52:34 | 36 | 3 | Visual Studio: Build Solution vs Batch Build | What is the difference between the two commands in Visual Studio 2008?
| visual-studio | null | null | null | null | null | open | Visual Studio: Build Solution vs Batch Build
===
What is the difference between the two commands in Visual Studio 2008?
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.