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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5,263 | 08/07/2008 20:23:51 | 173 | 08/03/2008 01:04:00 | 154 | 8 | How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAdapter | I have a self-referential Role table that represents a tree structure
ID [INT] AUTO INCREMENT
Name [VARCHAR]
ParentID [INT]
I am using an ADO.NET DataTable and DataAdapter to load and save values to this table. This works if I only create children of existing rows. If I make a child row, then make ... | .net | database | ado.net | null | null | null | open | How do you persist a tree structure to a database table with auto incrementing IDs using an ADO.NET DataSet and a DataAdapter
===
I have a self-referential Role table that represents a tree structure
ID [INT] AUTO INCREMENT
Name [VARCHAR]
ParentID [INT]
I am using an ADO.NET DataTable and DataAdap... | 0 |
5,264 | 08/07/2008 20:24:34 | 326 | 08/04/2008 16:59:58 | 26 | 5 | How can I dynamically center an image in a MS Reporting Services report? | Out of the box, in MS Reporting Services, the image element does not allow for the centering of the image itself, when the dimensions are unknown at design time. In other words, the image (if smaller than the dimensions allotted on the design surface) will be anchored to the top left corner, not in the center.
My re... | reporting-services | null | null | null | null | null | open | How can I dynamically center an image in a MS Reporting Services report?
===
Out of the box, in MS Reporting Services, the image element does not allow for the centering of the image itself, when the dimensions are unknown at design time. In other words, the image (if smaller than the dimensions allotted on the design... | 0 |
5,307 | 08/07/2008 20:58:14 | 398 | 08/05/2008 12:58:30 | 61 | 5 | Print a Winform/visual element | All the articles I've found via google are either obsolete or contradict one another, what's the easiest way to print a form or, say, a richtextbox in c#? I think it's using the PrintDiaglog class by setting the Document, but how does this get converted? | c# | winforms | null | null | null | null | open | Print a Winform/visual element
===
All the articles I've found via google are either obsolete or contradict one another, what's the easiest way to print a form or, say, a richtextbox in c#? I think it's using the PrintDiaglog class by setting the Document, but how does this get converted? | 0 |
5,313 | 08/07/2008 21:07:24 | 680 | 08/07/2008 17:29:04 | 21 | 2 | Cross Platform, Language Agnostic GUI Markup Language? | I learned Swing back in the day but now I've moved to Python and want to make some apps with GUIs. I haven't had the time to learn a new GUI API so I've been using Jython, but I would prefer to use CPython.
It would be great if I can have one simple markup that allows me to switch GUI libraries. It would be even be... | gui | python | null | null | null | null | open | Cross Platform, Language Agnostic GUI Markup Language?
===
I learned Swing back in the day but now I've moved to Python and want to make some apps with GUIs. I haven't had the time to learn a new GUI API so I've been using Jython, but I would prefer to use CPython.
It would be great if I can have one simple markup... | 0 |
5,323 | 08/07/2008 21:14:25 | 556 | 08/06/2008 16:48:23 | 166 | 9 | Is there a business reason for striving for pure CSS layout? | It seems like every time I try to create a pure CSS layout it takes me much longer than if I'd use a table or two. Getting three columns to be of equal lengths with different amount of data in them seems to require particular fancy hacks, especially when dealing with cross-browser issues.
So, my question is this: wh... | css | trolling | null | null | null | null | open | Is there a business reason for striving for pure CSS layout?
===
It seems like every time I try to create a pure CSS layout it takes me much longer than if I'd use a table or two. Getting three columns to be of equal lengths with different amount of data in them seems to require particular fancy hacks, especially when... | 0 |
5,326 | 08/07/2008 21:16:31 | 71 | 08/01/2008 15:05:56 | 304 | 37 | Templates for lifecycle documentation | Does anybody have some good templates (or links to) that they use for software lifecycle documents (feasibility, concept, requirements, architecture)?
I've taken some old ones I've had from school and slimmed them down a bit since none of the current projects that I work on are to that scale, but they always feel s... | documentation | software-engineering | lifecycle | null | null | null | open | Templates for lifecycle documentation
===
Does anybody have some good templates (or links to) that they use for software lifecycle documents (feasibility, concept, requirements, architecture)?
I've taken some old ones I've had from school and slimmed them down a bit since none of the current projects that I work o... | 0 |
5,328 | 08/07/2008 21:17:56 | 122 | 08/02/2008 07:56:07 | 1,043 | 55 | Why can't I use a try block around my super() call? | So, in Java, the first line of your constructor HAS to be a call to super... be it implicitly calling super(), or explicitly calling another constructor. What I want to know is, why can't I put a try block around that?
My specific case is that I have a mock class for a test. There is no default constructor, but I ... | java | exception | mocking | null | null | null | open | Why can't I use a try block around my super() call?
===
So, in Java, the first line of your constructor HAS to be a call to super... be it implicitly calling super(), or explicitly calling another constructor. What I want to know is, why can't I put a try block around that?
My specific case is that I have a mock c... | 0 |
5,329 | 08/07/2008 21:17:58 | 327 | 08/04/2008 17:08:49 | 51 | 3 | What is the difference between a bug and a change request in MSF for CMMI? | I'm currently evaluating the MSF for CMMI process template under TFS for use on my development team, and I'm having trouble understanding the need for separate bug and change request work item types. I understand that it is beneficial to be able to differentiate between bugs (errors) and change requests (changing requ... | tfs | msf | cmmi | workflow | bugtracking | null | open | What is the difference between a bug and a change request in MSF for CMMI?
===
I'm currently evaluating the MSF for CMMI process template under TFS for use on my development team, and I'm having trouble understanding the need for separate bug and change request work item types. I understand that it is beneficial to b... | 0 |
5,349 | 08/07/2008 21:31:59 | 556 | 08/06/2008 16:48:23 | 179 | 9 | Memcached chunk limit | Why is there a hardcoded chunk limit (.5 meg after compression) in memcached? Has anyone recompiled theirs to up it? I know I should not be sending big chunks like that around, but these extra heavy chunks happen for me from time to time and wreak havoc. | membership | null | null | null | null | null | open | Memcached chunk limit
===
Why is there a hardcoded chunk limit (.5 meg after compression) in memcached? Has anyone recompiled theirs to up it? I know I should not be sending big chunks like that around, but these extra heavy chunks happen for me from time to time and wreak havoc. | 0 |
5,374 | 08/07/2008 21:53:58 | 312 | 08/04/2008 15:01:41 | 84 | 8 | How do you use a variable in xsl when trying to select a node? | I would have thought this would be an easy one to Google, but I've been unsucessful.
I want to assign a variable the value out of an attribute (easy so far) then use that variable to select another node based on the value of that attribute.
ex:
<xsl:variable name="myId" select="@id" />
<xsl value-of s... | xslt | null | null | null | null | null | open | How do you use a variable in xsl when trying to select a node?
===
I would have thought this would be an easy one to Google, but I've been unsucessful.
I want to assign a variable the value out of an attribute (easy so far) then use that variable to select another node based on the value of that attribute.
ex:
... | 0 |
5,396 | 08/07/2008 22:10:05 | 691 | 08/07/2008 21:53:57 | 1 | 0 | SQL Server 2008 FileStream on a Web Server | First of all, congrats to Jeff, Joel and the guys for getting this thing up and running!
OK, I've been developing a site using ASP.NET MVC, and have decided to use the new SQL Server 2008 FILESTREAM facility to store files 'within' the database rather than as separate entities. While initially working within VS2008... | sql-server | iis | null | null | null | null | open | SQL Server 2008 FileStream on a Web Server
===
First of all, congrats to Jeff, Joel and the guys for getting this thing up and running!
OK, I've been developing a site using ASP.NET MVC, and have decided to use the new SQL Server 2008 FILESTREAM facility to store files 'within' the database rather than as separate ... | 0 |
5,397 | 08/07/2008 22:10:22 | 406 | 08/05/2008 13:38:24 | 98 | 3 | Implementing online ordering for a small cafe. | I am meeting with a cafe owner this weekend to discuss the feasibilty of implementing an online ordering system. I am starting to research this a bit, and wanted to throw it out here.
1. Is there any open source projects already started out there I could work with and contribute to?
2. Would it be easier... | webdevelopment | softwaredevelopment | null | null | null | 10/26/2011 18:55:35 | off topic | Implementing online ordering for a small cafe.
===
I am meeting with a cafe owner this weekend to discuss the feasibilty of implementing an online ordering system. I am starting to research this a bit, and wanted to throw it out here.
1. Is there any open source projects already started out there I could ... | 2 |
5,415 | 08/07/2008 22:24:27 | 680 | 08/07/2008 17:29:04 | 21 | 2 | Convert Bytes to Floating Point Numbers in Python | I have a binary file that I have to parse and I'm using Python. Is there a way to take 4 bytes and convert it to a single precision floating point number? | python | floating-point | null | null | null | null | open | Convert Bytes to Floating Point Numbers in Python
===
I have a binary file that I have to parse and I'm using Python. Is there a way to take 4 bytes and convert it to a single precision floating point number? | 0 |
5,419 | 08/07/2008 22:26:58 | 207 | 08/03/2008 13:51:13 | 51 | 3 | Python, Unicode, and the Windows console | When I try to print a Unicode string in a windows console, I get a "UnicodeEncodeError: 'charmap' codec can't encode character ...." error. I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any way I can make Python automatically print a "... | python | unicode | null | null | null | null | open | Python, Unicode, and the Windows console
===
When I try to print a Unicode string in a windows console, I get a "UnicodeEncodeError: 'charmap' codec can't encode character ...." error. I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any... | 0 |
5,425 | 08/07/2008 22:30:25 | 219 | 08/03/2008 16:25:07 | 380 | 10 | HTML comments break down | I have a page that is generated which inserts an HTML comment near the top of the page. Inside the comment is a *nix-style command.
<!-- command --option value --option2 value2 --option3 -->
This comment breaks the page completely. What is wrong with the comment to cause this to happen, and why is this the ... | html | sgml | comment | null | null | null | open | HTML comments break down
===
I have a page that is generated which inserts an HTML comment near the top of the page. Inside the comment is a *nix-style command.
<!-- command --option value --option2 value2 --option3 -->
This comment breaks the page completely. What is wrong with the comment to cause this t... | 0 |
5,428 | 08/07/2008 22:31:13 | 659 | 08/07/2008 15:08:33 | 26 | 3 | Do people use the Hungarian Naming Conventions in the real world? | Is it worth learning the convention or is it a bane to readability and maintainability? | selfdocumentingcode | null | null | null | null | null | open | Do people use the Hungarian Naming Conventions in the real world?
===
Is it worth learning the convention or is it a bane to readability and maintainability? | 0 |
5,446 | 08/07/2008 22:46:00 | 1,384,652 | 08/01/2008 12:01:23 | 601 | 45 | A project with no leader | I've been asked to join in with a project and there is no actual leader (it's not a business setting), worse still there are about 8 members and because of this, there is no actual action plan. I'd volunteer myself as the leader or manager but I don't have the time or inclination to do so, should I just watch it strugg... | project | teamwork | project-planning | leader | null | 07/08/2011 00:57:24 | off topic | A project with no leader
===
I've been asked to join in with a project and there is no actual leader (it's not a business setting), worse still there are about 8 members and because of this, there is no actual action plan. I'd volunteer myself as the leader or manager but I don't have the time or inclination to do so,... | 2 |
5,459 | 08/07/2008 22:58:42 | 117 | 08/02/2008 05:54:20 | 506 | 25 | Accessing a CONST attribute of series of Classes | This is how I wanted to do it which would work in PHP 5.3.0+
<?php
class MyClass
{
const CONSTANT = 'Const var';
}
$classname = 'MyClass';
echo $classname::CONSTANT; // As of PHP 5.3.0
?>
But I'm restricted to using PHP 5.2.6. Can anyone... | php | oop | null | null | null | null | open | Accessing a CONST attribute of series of Classes
===
This is how I wanted to do it which would work in PHP 5.3.0+
<?php
class MyClass
{
const CONSTANT = 'Const var';
}
$classname = 'MyClass';
echo $classname::CONSTANT; // As of PHP 5.3.0
?... | 0 |
5,460 | 08/07/2008 23:00:30 | 590 | 08/07/2008 00:24:39 | 36 | 7 | Telligent's Community Server | The company I work for is wanting to add blog functionality to our website and they were looking to spend an awful amount of money to have some crap being built on top of a CMS they purchased (sitecore). I pointed them to Telligent's Community Server and we had a sales like meeting today to get the Marketing folks on... | community-server | null | null | null | null | null | open | Telligent's Community Server
===
The company I work for is wanting to add blog functionality to our website and they were looking to spend an awful amount of money to have some crap being built on top of a CMS they purchased (sitecore). I pointed them to Telligent's Community Server and we had a sales like meeting t... | 0 |
5,473 | 08/07/2008 23:22:51 | 85 | 08/01/2008 16:38:08 | 16 | 0 | Undoing a git reset --hard HEAD~1 | Is it possible to undo the changes caused by the following:
git reset --hard HEAD~1
?
If so, how?
Thanks. | git | versioncontrol | null | null | null | null | open | Undoing a git reset --hard HEAD~1
===
Is it possible to undo the changes caused by the following:
git reset --hard HEAD~1
?
If so, how?
Thanks. | 0 |
5,482 | 08/07/2008 23:37:30 | 698 | 08/07/2008 23:31:56 | 1 | 0 | How to specify javascript to run when ModalPopupExtender is shown | The ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to have an OnShowScript property. I'd like to specify a javascript function to run each time the popup is shown.
In past situations, I set the TargetControlID to a dummy control and provide my own control that first does some J... | ajax | asp.net | javascript | null | null | null | open | How to specify javascript to run when ModalPopupExtender is shown
===
The ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to have an OnShowScript property. I'd like to specify a javascript function to run each time the popup is shown.
In past situations, I set the TargetControl... | 0 |
5,494 | 08/07/2008 23:53:55 | 697 | 08/07/2008 23:18:10 | 1 | 2 | Alternative Hostname for an IIS web site for internal access only | I'm using IIS in Windows 2003 Server for a SharePoint intranet. External incoming requests will be using the host header `portal.mycompany.com` and be forced to use SSL.
I was wondering if there's a way to set up an alternate host header such as `http://internalportal/` which only accepts requests from the internal ... | iis | sharepoint | moss | null | null | null | open | Alternative Hostname for an IIS web site for internal access only
===
I'm using IIS in Windows 2003 Server for a SharePoint intranet. External incoming requests will be using the host header `portal.mycompany.com` and be forced to use SSL.
I was wondering if there's a way to set up an alternate host header such as ... | 0 |
5,507 | 08/08/2008 00:29:13 | 861 | 08/09/2008 19:00:40 | 13 | 2 | Does it still make sense to learn low level WinAPI programming? | Does it make sense, having all of the C#-managed-bliss, to go back to Petzhold's [Programming Windows][1] and try to produce code w/ pure WinAPI?
What can be learn from it? Isn't it just too outdated to be useful?
[1]: www.amazon.com/Programming-Windows®-Fifth-Microsoft/dp/157231995X | windows | winapi | null | null | null | 04/30/2012 13:43:33 | not constructive | Does it still make sense to learn low level WinAPI programming?
===
Does it make sense, having all of the C#-managed-bliss, to go back to Petzhold's [Programming Windows][1] and try to produce code w/ pure WinAPI?
What can be learn from it? Isn't it just too outdated to be useful?
[1]: www.amazon.com/Programmi... | 4 |
5,509 | 08/08/2008 00:31:19 | 159 | 08/02/2008 18:20:52 | 159 | 8 | Rational Purify failng to jump to memory leaks. | So my company uses a delightfully buggy program called Rational Purify (as a plugin to Microsoft Visual Developer Studio) to manage memory leaks. The program is deigned to let you click on a memory after you have encountered it, and then jump to the line that the leak occurs on.
Unfortunately Purify is malfunctioni... | rational | purify | null | null | null | null | open | Rational Purify failng to jump to memory leaks.
===
So my company uses a delightfully buggy program called Rational Purify (as a plugin to Microsoft Visual Developer Studio) to manage memory leaks. The program is deigned to let you click on a memory after you have encountered it, and then jump to the line that the le... | 0 |
5,511 | 08/08/2008 00:37:55 | 615 | 08/07/2008 11:06:07 | 51 | 5 | Numeric Data Entry in WPF | How are you handling the entry of numeric values in WPF applications?
Without a NumericUpDown control, I've been using a TextBox and handling its PreviewKeyDown event with the code below, but it's pretty ugly.
Has anyone found a more graceful way to get numeric data from the user without relying on a third-party ... | wpf | null | null | null | null | null | open | Numeric Data Entry in WPF
===
How are you handling the entry of numeric values in WPF applications?
Without a NumericUpDown control, I've been using a TextBox and handling its PreviewKeyDown event with the code below, but it's pretty ugly.
Has anyone found a more graceful way to get numeric data from the user wi... | 0 |
5,514 | 08/08/2008 00:40:51 | 506 | 08/06/2008 12:56:30 | 21 | 4 | Public/Popular Websites using Java Server Faces | Are there any popular and/or public websites that utilize the Java Server Faces framework? I don't ever recall stumbling across any ever on the Internet. In my experience JSF is usually reserved for non-public enterprise and business level applications.
I am curious to know becuase I am researching how terrible of a... | java | mvc | framework | jsf | null | null | open | Public/Popular Websites using Java Server Faces
===
Are there any popular and/or public websites that utilize the Java Server Faces framework? I don't ever recall stumbling across any ever on the Internet. In my experience JSF is usually reserved for non-public enterprise and business level applications.
I am curio... | 0 |
5,526 | 08/08/2008 01:02:02 | 547 | 08/06/2008 16:09:22 | 80 | 13 | Anyone out there implement(ing) microformats? is this useful? | I've seen the MF people talk and have heard my own fair share of MF evangelism, yet haven't done anything about it fearing the gains aren't really worth the hassle. Does anyone use this?
BTW, from [their website][1]:
> "microformats are a set of simple, open data formats built upon existing and widely adopted st... | microformats | null | null | null | null | null | open | Anyone out there implement(ing) microformats? is this useful?
===
I've seen the MF people talk and have heard my own fair share of MF evangelism, yet haven't done anything about it fearing the gains aren't really worth the hassle. Does anyone use this?
BTW, from [their website][1]:
> "microformats are a set of ... | 0 |
5,527 | 08/08/2008 01:04:02 | 122 | 08/02/2008 07:56:07 | 1,110 | 65 | Is there a real benefit of using J#? | I just saw a [comment of suggesting J#][1], and it made me wonder... is there a real, beneficial use of J# over Java? So, my feeling is that the only reason you would even consider using J# is that management has decreed that the company should jump on the Java bandwagon... and the .NET bandwagon. If you use J#, you ... | java | j# | null | null | null | null | open | Is there a real benefit of using J#?
===
I just saw a [comment of suggesting J#][1], and it made me wonder... is there a real, beneficial use of J# over Java? So, my feeling is that the only reason you would even consider using J# is that management has decreed that the company should jump on the Java bandwagon... an... | 0 |
5,544 | 08/08/2008 01:31:21 | 364 | 08/05/2008 05:33:41 | 71 | 6 | In ASP.NET MVC I encounter an incorrect type error when rendering a user control with the correct typed object | I encounter an error of the form: "The model item passed into the dictionary is of type FooViewData but this dictionary requires a model item of type bar" even though I am passing in an object of the correct type (bar) for the typed user control. | asp.net-mvc | null | null | null | null | null | open | In ASP.NET MVC I encounter an incorrect type error when rendering a user control with the correct typed object
===
I encounter an error of the form: "The model item passed into the dictionary is of type FooViewData but this dictionary requires a model item of type bar" even though I am passing in an object of the corr... | 0 |
5,562 | 08/08/2008 01:50:18 | 492 | 08/06/2008 10:17:26 | 1 | 2 | Do you prefer to code on a Laptop or a Desktop, or both ? | What is your primary development machine - a Desktop or a laptop? Why?
Do you use both - if so, do you use source control to keep them synched?
This might seem like a dumb question but I'm on the steep part of the learning curve & I'd be interested in your insights. | laptop | desktop | null | null | null | null | open | Do you prefer to code on a Laptop or a Desktop, or both ?
===
What is your primary development machine - a Desktop or a laptop? Why?
Do you use both - if so, do you use source control to keep them synched?
This might seem like a dumb question but I'm on the steep part of the learning curve & I'd be interested in ... | 0 |
5,598 | 08/08/2008 02:42:48 | 699 | 08/07/2008 23:47:19 | 1 | 5 | Document or RPC based web services | My gut feel is that document based web services are preferred in practice - is this other peoples experience? are they easier to support? (I noted that Sharepoint uses Any for the "document type" in its WSDL interface, I guess that makes it Document based).
Also - are people offering both WSDL and Rest type service... | webservices | rest | null | null | null | null | open | Document or RPC based web services
===
My gut feel is that document based web services are preferred in practice - is this other peoples experience? are they easier to support? (I noted that Sharepoint uses Any for the "document type" in its WSDL interface, I guess that makes it Document based).
Also - are people ... | 0 |
5,600 | 08/08/2008 02:47:15 | 615 | 08/07/2008 11:06:07 | 71 | 5 | Tables with no Primary Key | I have several tables whose only unique data is a uniqueidentifier (a Guid) column. Because guids are non-sequential (and they're client-side generated so I can't use newsequentialid()), I have made a non-primary, non-clustered index on this ID field rather than giving the tables a clustered primary key.
I'm wonderi... | mssql | indexing | null | null | null | null | open | Tables with no Primary Key
===
I have several tables whose only unique data is a uniqueidentifier (a Guid) column. Because guids are non-sequential (and they're client-side generated so I can't use newsequentialid()), I have made a non-primary, non-clustered index on this ID field rather than giving the tables a clust... | 0 |
5,605 | 08/08/2008 03:02:36 | 617 | 08/07/2008 11:16:21 | 1 | 1 | HTTP Libraries for Emacs | I recently discovered the org-mode in emacs and it works very well for me. I also like www.RememberTheMilk.com. I would like to be able to sync my org-mode file and RTM list. I know that RTM has its API exposed as web services. I am currently looking for a HTTP library that I could use to write my script. I found a cou... | http | emacs | null | null | null | null | open | HTTP Libraries for Emacs
===
I recently discovered the org-mode in emacs and it works very well for me. I also like www.RememberTheMilk.com. I would like to be able to sync my org-mode file and RTM list. I know that RTM has its API exposed as web services. I am currently looking for a HTTP library that I could use to ... | 0 |
5,606 | 08/08/2008 03:03:46 | 463 | 08/06/2008 00:13:18 | 31 | 4 | License Models | Pretty much all my career, I worked with building solutions (customized applications for a single customer). Now that my company is going in developing software for the masses, a lot of packaging is waiting for us.<br/>
I wanna ask about licensing software. How to generate serial numbers and activation numbers. What a... | productmanagement | null | null | null | null | null | open | License Models
===
Pretty much all my career, I worked with building solutions (customized applications for a single customer). Now that my company is going in developing software for the masses, a lot of packaging is waiting for us.<br/>
I wanna ask about licensing software. How to generate serial numbers and activa... | 0 |
5,611 | 08/08/2008 03:18:56 | 115 | 08/02/2008 05:44:40 | 129 | 17 | Better Random Generating PHP | I know that just using rand() is predictable, if you know what your doing, and have access to the server.<br />
I have a project that is HIGHLY dependent on choosing a random that is as unpredictable as possible. So I'm looking for suggestions, either other built in functions, or user functions that can generate a '... | php | rng | random-number | random | null | null | open | Better Random Generating PHP
===
I know that just using rand() is predictable, if you know what your doing, and have access to the server.<br />
I have a project that is HIGHLY dependent on choosing a random that is as unpredictable as possible. So I'm looking for suggestions, either other built in functions, or us... | 0 |
5,618 | 08/08/2008 03:38:38 | 668 | 08/07/2008 16:05:06 | 8 | 0 | Best ajax library for Sharepoint | For developing Windows Sharepoint Service application, what is the best ajax library available now? I'm thinking of free, customizable, and easy deployment, and its compatible with sharepoint, meaning it can run in 'quirks' mode. | .net | ajax | sharepoint | null | null | 09/14/2011 21:52:00 | not constructive | Best ajax library for Sharepoint
===
For developing Windows Sharepoint Service application, what is the best ajax library available now? I'm thinking of free, customizable, and easy deployment, and its compatible with sharepoint, meaning it can run in 'quirks' mode. | 4 |
5,619 | 08/08/2008 03:38:57 | 290 | 08/04/2008 12:57:50 | 115 | 7 | IE6 + SSL + AJAX + post form = 404 error (?) | **The setting:**
The program in question tries to post form data via an AJAX call to a target procedure contained in the same package as the caller. This is done for a site that uses a secure connection (https). The technology used here is PLSQL and the DOJO JavaScript library. The development tool is basically a te... | ajax | dojo | internet-explorer-6 | ssl | https | null | open | IE6 + SSL + AJAX + post form = 404 error (?)
===
**The setting:**
The program in question tries to post form data via an AJAX call to a target procedure contained in the same package as the caller. This is done for a site that uses a secure connection (https). The technology used here is PLSQL and the DOJO JavaScr... | 0 |
5,628 | 08/08/2008 03:54:08 | 653 | 08/07/2008 14:31:07 | 1 | 1 | Is there a way to include a fragment identifier when using Asp.Net MVC ActionLink, RedirectToAction, etc. ? | I want some links to include a fragment identifier. Like some of the URLs on this site:
http://stackoverflow.com/questions/5619/ie6-ssl-ajax-post-form-404-error**#5626**
Is there a way to do this with any of the builtin methods in MVC? Or would I have to roll my own HTML helpers?
Thanks | aspnetmvc | null | null | null | null | null | open | Is there a way to include a fragment identifier when using Asp.Net MVC ActionLink, RedirectToAction, etc. ?
===
I want some links to include a fragment identifier. Like some of the URLs on this site:
http://stackoverflow.com/questions/5619/ie6-ssl-ajax-post-form-404-error**#5626**
Is there a way to do this with ... | 0 |
5,629 | 08/08/2008 04:03:10 | 653 | 08/07/2008 14:31:07 | 1 | 1 | Any reason not to start using the HTML 5 doctype? | <!DOCTYPE html>
It is supposed to be backwards compatible with HTML4 and XHTML. [John Resig posted about some of the benefits][1].
[1]: http://ejohn.org/blog/html5-doctype/
As long as we don't use any of the new and not supported yet features, would there be any downside to start building sites with this d... | html | doctype | html5 | null | null | 08/27/2011 12:27:45 | too localized | Any reason not to start using the HTML 5 doctype?
===
<!DOCTYPE html>
It is supposed to be backwards compatible with HTML4 and XHTML. [John Resig posted about some of the benefits][1].
[1]: http://ejohn.org/blog/html5-doctype/
As long as we don't use any of the new and not supported yet features, would th... | 3 |
5,649 | 08/08/2008 04:25:11 | 703 | 08/08/2008 04:25:11 | 1 | 0 | x86 Assembly on a mac... | Does anyone know of any good tools (i'm looking for IDEs, primarily) to write assembly on the mac... XCode is a little cumbersome to me.
Also, on the Intel Macs, can I use generic x86 asm? or is there a modified instruction set? Any information about post Intel Mac assembly helps. | asm | osx | x86 | xcode | null | null | open | x86 Assembly on a mac...
===
Does anyone know of any good tools (i'm looking for IDEs, primarily) to write assembly on the mac... XCode is a little cumbersome to me.
Also, on the Intel Macs, can I use generic x86 asm? or is there a modified instruction set? Any information about post Intel Mac assembly helps. | 0 |
5,667 | 08/08/2008 04:36:30 | 164 | 08/02/2008 20:59:47 | 160 | 7 | Sleep from within an Informix SPL procedure | What's the best way to do the semantic equivalent of the traditional sleep() system call from within an Informix SPL routine? In other words, simply "pause" for N seconds (or milliseconds or whatever, but seconds are fine). I'm looking for a solution that does *not* involve linking some new (perhaps written by me) C ... | informix | spl | null | null | null | null | open | Sleep from within an Informix SPL procedure
===
What's the best way to do the semantic equivalent of the traditional sleep() system call from within an Informix SPL routine? In other words, simply "pause" for N seconds (or milliseconds or whatever, but seconds are fine). I'm looking for a solution that does *not* in... | 0 |
5,672 | 08/08/2008 04:41:48 | 225 | 08/03/2008 17:19:42 | 212 | 13 | What are you using for Web UI/layout design? | What are folks out there using for web/ui design? For the most part we use PowerPoint at my company. The UI folks will mock up a screen in PowerPoint and we (the development group) will take it from there. So, for a side gig of mine I decided to do some mock ups to show the client prior to dev and I'm quickly feelin... | gui | design | null | null | null | null | open | What are you using for Web UI/layout design?
===
What are folks out there using for web/ui design? For the most part we use PowerPoint at my company. The UI folks will mock up a screen in PowerPoint and we (the development group) will take it from there. So, for a side gig of mine I decided to do some mock ups to s... | 0 |
5,674 | 08/08/2008 04:42:52 | 257 | 08/04/2008 07:30:01 | 64 | 15 | How do I create an HTML anchor in a FogBugz wiki page? | The StackOverflow transcripts are enormous, and sometimes I want to link to a little bit within it.
How do I create an HTML anchor in a FogBugz wiki page? | wiki | fogbugz | null | null | null | null | open | How do I create an HTML anchor in a FogBugz wiki page?
===
The StackOverflow transcripts are enormous, and sometimes I want to link to a little bit within it.
How do I create an HTML anchor in a FogBugz wiki page? | 0 |
5,682 | 08/08/2008 04:51:27 | 117 | 08/02/2008 05:54:20 | 504 | 25 | Is it just me, or are characters being rendered incorrectly more lately? | I'm not sure if it's my system, although I haven't done anything unusual with it, but I've started noticing incorrectly rendered characters popping up in web pages, text-files, [like this][1]:
![][2]
I have a hunch it's a related to the fairly recent trend to use unicode for everything, which is a good thing I th... | unicode | fonts | utf8 | null | null | null | open | Is it just me, or are characters being rendered incorrectly more lately?
===
I'm not sure if it's my system, although I haven't done anything unusual with it, but I've started noticing incorrectly rendered characters popping up in web pages, text-files, [like this][1]:
![][2]
I have a hunch it's a related to the... | 0 |
5,690 | 08/08/2008 05:03:42 | 364 | 08/05/2008 05:33:41 | 96 | 8 | MVC Preview 4 - No route in the route table matches the supplied values. | I have a route that I am calling through a RedirectToRoute like this:
return this.RedirectToRoute("Super-SuperRoute", new { year = selectedYear });
I have also tried:
return this.RedirectToRoute("Super-SuperRoute", new { controller = "Super", action = "SuperRoute", id = "RouteTopic", year = selectedYe... | asp.net-mvc | null | null | null | null | null | open | MVC Preview 4 - No route in the route table matches the supplied values.
===
I have a route that I am calling through a RedirectToRoute like this:
return this.RedirectToRoute("Super-SuperRoute", new { year = selectedYear });
I have also tried:
return this.RedirectToRoute("Super-SuperRoute", new { con... | 0 |
5,694 | 08/08/2008 05:08:45 | 493 | 08/06/2008 10:25:05 | 391 | 37 | The imported project "C:\Microsoft.CSharp.targets" was not found | I got this error today when trying to open a Visual Studio 2008 **project** in Visual Studio 2005:
The imported project "C:\Microsoft.CSharp.targets" was not found
So I thought I'd post it here in case anyone else is interested | c# | visual-studio | null | null | null | null | open | The imported project "C:\Microsoft.CSharp.targets" was not found
===
I got this error today when trying to open a Visual Studio 2008 **project** in Visual Studio 2005:
The imported project "C:\Microsoft.CSharp.targets" was not found
So I thought I'd post it here in case anyone else is interested | 0 |
5,704 | 08/08/2008 05:36:12 | 143 | 08/02/2008 12:45:43 | 191 | 5 | Is there a lightweight, preferable open source, formatable label control for dotnet? | I have been looking for a way to utilize a simple markup language, or just plain html, when displaying text in WinForm applications. I would like to avoid embedding a webbrowser control since in most of the case I just want to highlight a single word or two in a sentence.
I have looked at using a RTFControl but I b... | .net | null | null | null | null | null | open | Is there a lightweight, preferable open source, formatable label control for dotnet?
===
I have been looking for a way to utilize a simple markup language, or just plain html, when displaying text in WinForm applications. I would like to avoid embedding a webbrowser control since in most of the case I just want to hig... | 0 |
5,706 | 08/08/2008 05:40:49 | 364 | 08/05/2008 05:33:41 | 98 | 8 | When do Request.Params and Request.Form differ? | I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Form. | asp.net | mvc | c# | null | null | null | open | When do Request.Params and Request.Form differ?
===
I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Form. | 0 |
5,724 | 08/08/2008 06:15:11 | 108,465 | 08/08/2008 06:06:33 | 1 | 2 | Better windows command line shells | Is there a better windows command line shell other than cmd which has better copy paste between Windows' windows and console windows? | windows | command.com | shells | null | null | null | open | Better windows command line shells
===
Is there a better windows command line shell other than cmd which has better copy paste between Windows' windows and console windows? | 0 |
5,727 | 08/08/2008 06:17:51 | 568 | 08/06/2008 19:50:58 | 21 | 5 | Understanding Pointers | Why are pointers such a leading factor of confusion for many new, and even old, college level students in the C/C++ language? Are there any tools or thought processes that helped you understand how pointers work at the variable, function, and beyond level?
What are some good practice things that can be done to brin... | c++ | c | null | null | null | null | open | Understanding Pointers
===
Why are pointers such a leading factor of confusion for many new, and even old, college level students in the C/C++ language? Are there any tools or thought processes that helped you understand how pointers work at the variable, function, and beyond level?
What are some good practice thi... | 0 |
5,741 | 08/08/2008 06:37:32 | 711 | 08/08/2008 06:34:28 | 1 | 0 | Firebug won't display console feeds for some of my sites | Using Firebug v1.20b7 with Firefox v3.0.1 I use firebug a lot for web devlopment.
I have very often the problem that Firebug won't show its web console for seeing the POSTs and GETs. I can view all the other tabs, including the NET tab that gives me a lot of the same information that the CONSOLE tab does.
Curious... | web | development | firefox | firebug | null | null | open | Firebug won't display console feeds for some of my sites
===
Using Firebug v1.20b7 with Firefox v3.0.1 I use firebug a lot for web devlopment.
I have very often the problem that Firebug won't show its web console for seeing the POSTs and GETs. I can view all the other tabs, including the NET tab that gives me a lot... | 0 |
5,743 | 08/08/2008 06:40:46 | 327 | 08/04/2008 17:08:49 | 68 | 6 | What is a good plotting library for .Net? | I'm writing some data acquisition software and need a gui plotting library that is fast enough to do realtime updated graphs. I've been using Nplot which is pretty good for a free library, but I'm wondering if there are any better libraries (preferably free or cheap). | .net | windows | graphing | null | null | null | open | What is a good plotting library for .Net?
===
I'm writing some data acquisition software and need a gui plotting library that is fast enough to do realtime updated graphs. I've been using Nplot which is pretty good for a free library, but I'm wondering if there are any better libraries (preferably free or cheap). | 0 |
5,759 | 08/08/2008 07:11:40 | 713 | 08/08/2008 06:44:13 | 1 | 2 | 'Break' equivalent keyword for VB | Just moved over to the 'vb team' here at work.
Quick easy one for my 1st question.
What is the 'Break' equivalent keyword for VB ie to exit a loop early but not the method.
Cheers. | vb.net | vb6 | loop | null | null | null | open | 'Break' equivalent keyword for VB
===
Just moved over to the 'vb team' here at work.
Quick easy one for my 1st question.
What is the 'Break' equivalent keyword for VB ie to exit a loop early but not the method.
Cheers. | 0 |
5,787 | 08/08/2008 09:28:41 | 383 | 08/05/2008 10:46:37 | 1,030 | 133 | C# Tab Escape Character | A simple question. I'm just in the process of parsing some text and can't remember what the escape character is for a tab in C#? | c# | null | null | null | null | null | open | C# Tab Escape Character
===
A simple question. I'm just in the process of parsing some text and can't remember what the escape character is for a tab in C#? | 0 |
5,791 | 08/08/2008 09:45:29 | 133 | 08/02/2008 09:06:05 | 61 | 3 | VB.NET - IsNothing versus Is Nothing | Does anyone here use VB.NET and have a strong preference for or against using 'IsNothing' as opposed to 'Is Nothing' (for example, 'If IsNothing(anObject)' or If anObject Is Nothing...')? If so, why? | vb.net | null | null | null | null | null | open | VB.NET - IsNothing versus Is Nothing
===
Does anyone here use VB.NET and have a strong preference for or against using 'IsNothing' as opposed to 'Is Nothing' (for example, 'If IsNothing(anObject)' or If anObject Is Nothing...')? If so, why? | 0 |
5,794 | 08/08/2008 09:58:11 | 1,384,652 | 08/01/2008 12:01:23 | 607 | 47 | Other browsers | I'm aware of IE, Safari, Firefox and Opera but are there any other browsers out there that are worth knowing about? I've had several friends that don't like IE but then some of the above don't work on their computer either and I felt it'd be nice to have a few more alternatives. | browser | safari | firefox | opera | null | null | open | Other browsers
===
I'm aware of IE, Safari, Firefox and Opera but are there any other browsers out there that are worth knowing about? I've had several friends that don't like IE but then some of the above don't work on their computer either and I felt it'd be nice to have a few more alternatives. | 0 |
5,795 | 08/08/2008 10:03:40 | 491 | 08/06/2008 10:06:45 | 21 | 3 | Recommended books for learning C#? | C# and .NET has become the official programming platform at my company for all new IT projects. I'm a bioinformatics scientist with 15 years of experience with C, C++, and Perl. And, fortunately, I'm not in IT, so I don't have to do my work using C#. But I anticipate having to work on a project with a C# programmer, so... | c# | books | null | null | null | 09/17/2011 22:45:51 | not constructive | Recommended books for learning C#?
===
C# and .NET has become the official programming platform at my company for all new IT projects. I'm a bioinformatics scientist with 15 years of experience with C, C++, and Perl. And, fortunately, I'm not in IT, so I don't have to do my work using C#. But I anticipate having to wo... | 4 |
5,802 | 08/08/2008 10:41:00 | 191 | 08/03/2008 09:55:26 | 6 | 0 | Inheritance in database? | Is there any way to use inheritance in database (Specifically in SQL Server 2005)?
Suppose I have few field like **CreatedOn**, **CreatedBy** which I want to add on all of my entities. I looking for an alternative way instead of adding these fields to every table. | sql | database | inheritance | null | null | null | open | Inheritance in database?
===
Is there any way to use inheritance in database (Specifically in SQL Server 2005)?
Suppose I have few field like **CreatedOn**, **CreatedBy** which I want to add on all of my entities. I looking for an alternative way instead of adding these fields to every table. | 0 |
5,821 | 08/08/2008 11:56:36 | 383 | 08/05/2008 10:46:37 | 1,077 | 137 | SQL Server 2000/5 Escape an Underscore | How do I escape the underscore character?
I am writing something like the following where clause and want to be able to find actual entries with _d at the end.
Where Username Like '%_d' | sql | null | null | null | null | null | open | SQL Server 2000/5 Escape an Underscore
===
How do I escape the underscore character?
I am writing something like the following where clause and want to be able to find actual entries with _d at the end.
Where Username Like '%_d' | 0 |
5,831 | 08/08/2008 12:22:07 | 267 | 08/04/2008 10:11:06 | 888 | 57 | Binary patch-generation in C# | Does anyone have, or know of, a binary patch generation algorithm implementation in C#?
Basically, compare two files (designated *old* and *new*), and produce a patch file that can be used to upgrade the *old* file to have the same contents as the *new* file.
The implementation would have to be relatively fast, a... | c# | patchgeneration | file | null | null | null | open | Binary patch-generation in C#
===
Does anyone have, or know of, a binary patch generation algorithm implementation in C#?
Basically, compare two files (designated *old* and *new*), and produce a patch file that can be used to upgrade the *old* file to have the same contents as the *new* file.
The implementation ... | 0 |
5,833 | 08/08/2008 12:25:27 | 287 | 08/04/2008 12:43:38 | 58 | 6 | Looking for WYSIWYG HTML editor | Any suggestions for a relatively simple, free, WYSIWYG, HTML editor? I have a friend in need of a art portfolio website and I want to her feet wet without forcing her to learn raw HTML or an overly complex (and probably expensive) program.
Extra points if somehow this free editor is OSS | wysiwyg | html | editor | free | oss | null | open | Looking for WYSIWYG HTML editor
===
Any suggestions for a relatively simple, free, WYSIWYG, HTML editor? I have a friend in need of a art portfolio website and I want to her feet wet without forcing her to learn raw HTML or an overly complex (and probably expensive) program.
Extra points if somehow this free editor... | 0 |
5,846 | 08/08/2008 12:34:20 | 1,384,652 | 08/01/2008 12:01:23 | 622 | 47 | Add 1 to a field (MySQL) | How do I turn the following 2 queries into 1 query
$sql = "SELECT level FROM skills WHERE id = $id LIMIT 1;";
$result = $db->sql_query($sql);
$level = (int) $db->sql_fetchfield('level');
$db->sql_freeresult($result);
++$level;
$sql = "UPDATE skills SET level = $level WHERE id = $id;";
$result = ... | mysql | php | null | null | null | null | open | Add 1 to a field (MySQL)
===
How do I turn the following 2 queries into 1 query
$sql = "SELECT level FROM skills WHERE id = $id LIMIT 1;";
$result = $db->sql_query($sql);
$level = (int) $db->sql_fetchfield('level');
$db->sql_freeresult($result);
++$level;
$sql = "UPDATE skills SET level = $level ... | 0 |
5,855 | 08/08/2008 12:40:02 | 728 | 08/08/2008 12:23:43 | 1 | 0 | Automate builds for Java RCP for deployment with JNLP | I've found many sources that talk about the automated Eclipse PDE process. I feel these sources don't do a good job explaining what's going on.
I can create the deployable package, in a semi-manual process via the Feature Export.
The automated process requires knowledge of how the org.eclipse.pde.build scripts... | java | build-automation | rcp | jnlp | null | null | open | Automate builds for Java RCP for deployment with JNLP
===
I've found many sources that talk about the automated Eclipse PDE process. I feel these sources don't do a good job explaining what's going on.
I can create the deployable package, in a semi-manual process via the Feature Export.
The automated process ... | 0 |
5,857 | 08/08/2008 12:40:48 | 730 | 08/08/2008 12:40:04 | 1 | 0 | mailto link for large bodies | I have a page upon which a user can choose up to many differ paragraphs. When the link is clicked (or button), an email will open up and put all those paragraphs into the body of the email, address it, and fill in the subject. However, the text can bee too long for a mailto link.
Any way around this?
Thanks | mailto | null | null | null | null | null | open | mailto link for large bodies
===
I have a page upon which a user can choose up to many differ paragraphs. When the link is clicked (or button), an email will open up and put all those paragraphs into the body of the email, address it, and fill in the subject. However, the text can bee too long for a mailto link.
... | 0 |
5,863 | 08/08/2008 12:48:25 | 377 | 08/05/2008 10:01:14 | 307 | 26 | C# WCF Service - Backward compatibility issue | I'm just getting into creating some WCF services, but I have a requirement to make them backward compatible for legacy (.NET 1.1 and 2.0) client applications.
I've managed to get the services to run correctly for 3.0 and greater clients, but when I publish the services using a basicHttpBinding endpoint (which I be... | c# | .net | webservices | wcf | compatibility | null | open | C# WCF Service - Backward compatibility issue
===
I'm just getting into creating some WCF services, but I have a requirement to make them backward compatible for legacy (.NET 1.1 and 2.0) client applications.
I've managed to get the services to run correctly for 3.0 and greater clients, but when I publish the ser... | 0 |
5,864 | 08/08/2008 12:49:34 | 512 | 08/06/2008 13:26:59 | 1 | 2 | Geographically Distributed Development | My company is using me as a sort of guinea pig for having developers on both sides of the US. The main office is located in Denver, and I'm in Louisville, KY. I've been trying to come up with ideas to make the remote development experience line up better with the experience in the main office. It obviously will never l... | codereview | collaboration | remote | null | null | null | open | Geographically Distributed Development
===
My company is using me as a sort of guinea pig for having developers on both sides of the US. The main office is located in Denver, and I'm in Louisville, KY. I've been trying to come up with ideas to make the remote development experience line up better with the experience i... | 0 |
5,872 | 08/08/2008 12:57:55 | 58 | 08/01/2008 13:56:33 | 1,536 | 67 | Making a production build of a PHP project with Subversion | If you are working in PHP (or I guess any programming language...) and using subversion as your source control, is there a way to take your project (for example):
> C:\Projects\test\\.svn
> C:\Projects\test\docs\
> C:\Projects\test\faq.php
> C:\Projects\test\guestbook.php
> C:\Projects\test\index.php
... | toroisesvn | svn | buildprocess | null | null | null | open | Making a production build of a PHP project with Subversion
===
If you are working in PHP (or I guess any programming language...) and using subversion as your source control, is there a way to take your project (for example):
> C:\Projects\test\\.svn
> C:\Projects\test\docs\
> C:\Projects\test\faq.php
> C:... | 0 |
5,874 | 08/08/2008 13:00:37 | 556 | 08/06/2008 16:48:23 | 196 | 9 | Drag and drop ftp file upload web widgets | It seems like drag and drop upload widgets disappeared from the face of Web 2.0. The last one of these I remember using was an activex widget, and inability of using it in anything other than IE doomed it. Have you used or seen one of these recently? | ftp | upload | null | null | null | null | open | Drag and drop ftp file upload web widgets
===
It seems like drag and drop upload widgets disappeared from the face of Web 2.0. The last one of these I remember using was an activex widget, and inability of using it in anything other than IE doomed it. Have you used or seen one of these recently? | 0 |
5,876 | 08/08/2008 13:01:48 | 726 | 08/08/2008 12:04:53 | 1 | 0 | How do I prevent dnsmasq from appending my domain name to invalid domain requests? | I use [dnsmasq][1] to resolve DNS queries on my home network. Unfortunately, if a domain name is not known, it will append my own domain name to the request which means that I always end up viewing my own site in a browser.
For example, if I enter http://dlksfhoiahdsfiuhsdf.com in a browser, I end up viewing my own ... | dns | dnsmasq | null | null | null | null | open | How do I prevent dnsmasq from appending my domain name to invalid domain requests?
===
I use [dnsmasq][1] to resolve DNS queries on my home network. Unfortunately, if a domain name is not known, it will append my own domain name to the request which means that I always end up viewing my own site in a browser.
For e... | 0 |
5,880 | 08/08/2008 13:04:02 | 721 | 08/08/2008 11:28:03 | 11 | 3 | Is there any negative reasons to use an N-Tier solution? | I'm pretty new to my company (2 weeks) and we're starting a new platform for our system using .NET 3.5 Team Foundation from DotNetNuke. Our "architect" is suggesting we use one class project. Of course, I chime back with a "3-tier" architecture (Business, Data, Web class projects).
Is there any disadvantages to usi... | .net | n-tier | architecture | null | null | null | open | Is there any negative reasons to use an N-Tier solution?
===
I'm pretty new to my company (2 weeks) and we're starting a new platform for our system using .NET 3.5 Team Foundation from DotNetNuke. Our "architect" is suggesting we use one class project. Of course, I chime back with a "3-tier" architecture (Business, Da... | 0 |
5,892 | 08/08/2008 13:13:08 | 342 | 08/04/2008 19:59:52 | 195 | 31 | Link issues (VC6) | This is making me feel like a real noob. I've opened an old workspace that is a libray and its test harness. It used to work fine and older versions of the code don't work either with the same errors. I've tried recreating the project and that causes the same errors too. Nothing seems out of order in project settings a... | vc6 | c++ | linker | null | null | null | open | Link issues (VC6)
===
This is making me feel like a real noob. I've opened an old workspace that is a libray and its test harness. It used to work fine and older versions of the code don't work either with the same errors. I've tried recreating the project and that causes the same errors too. Nothing seems out of orde... | 0 |
5,894 | 08/08/2008 13:15:34 | 733 | 08/08/2008 12:53:16 | 1 | 2 | Genealogy Tree Control | I've been tasked (by my wife) with creating a program to allow her to track the family trees on both sides of our family.
Does anyone know of a cost effective (free) control to represent this type of information.
What I'm looking for is a modified org-chart type chart/tree. The modification is that any node shou... | c# | control | tree | null | null | null | open | Genealogy Tree Control
===
I've been tasked (by my wife) with creating a program to allow her to track the family trees on both sides of our family.
Does anyone know of a cost effective (free) control to represent this type of information.
What I'm looking for is a modified org-chart type chart/tree. The modifi... | 0 |
5,908 | 08/08/2008 13:34:38 | 71 | 08/01/2008 15:05:56 | 374 | 42 | User access log to SQL Server | Greetings all,
I need to get a log of user access to our SQL Server so I can track average and peak concurrency usage. Is there a hidden table or something I'm missing that has this information for me? To my knowledge the application I'm looking at does not track this at the application level.
I'm currently worki... | sql-server | logging | statistics | null | null | null | open | User access log to SQL Server
===
Greetings all,
I need to get a log of user access to our SQL Server so I can track average and peak concurrency usage. Is there a hidden table or something I'm missing that has this information for me? To my knowledge the application I'm looking at does not track this at the applic... | 0 |
5,909 | 08/08/2008 13:35:19 | 394 | 08/05/2008 12:36:16 | 61 | 9 | Get size of a file before downloading in Python | I'm downloading an entire directory from a web server. It works OK, but I can't figure how to get the file size before download to compare if it was updated on the server or not. Can this be done as if I was downloading the file from a FTP server?
import urllib
import re
url = "http://www.someurl.com... | python | null | null | null | null | null | open | Get size of a file before downloading in Python
===
I'm downloading an entire directory from a web server. It works OK, but I can't figure how to get the file size before download to compare if it was updated on the server or not. Can this be done as if I was downloading the file from a FTP server?
import urlli... | 0 |
5,913 | 08/08/2008 13:36:16 | 1,384,652 | 08/01/2008 12:01:23 | 634 | 49 | Getting the text from a drop-down box | This gets the value of whatever is selected in my dropdown menu.
document.getElementById('newSkill').value
I cannot however find out what property to go after for the text that's currently displayed by the drop down menu. I tried "text" then looked at [W3Schools][1] but that didn't have the answer, does anybo... | javascript | js | null | null | null | null | open | Getting the text from a drop-down box
===
This gets the value of whatever is selected in my dropdown menu.
document.getElementById('newSkill').value
I cannot however find out what property to go after for the text that's currently displayed by the drop down menu. I tried "text" then looked at [W3Schools][1] ... | 0 |
5,916 | 08/08/2008 13:38:30 | 396 | 08/05/2008 12:46:44 | 95 | 8 | How do you feeling about code folding? | For those of you in the Visual Studio environment, how do feel about wrapping any of your code in #regions? (or if any other IDE has something similar...) | codefolding | folding | visual-studio | visual | studio | null | open | How do you feeling about code folding?
===
For those of you in the Visual Studio environment, how do feel about wrapping any of your code in #regions? (or if any other IDE has something similar...) | 0 |
5,918 | 08/08/2008 13:39:03 | 482 | 08/06/2008 08:54:09 | 11 | 7 | API Yahoo India Maps | Yahoo has separate map for India ( which has more details than the regular maps.yahoo.com) at http://in.maps.yahoo.com/ . But when I use the API it goes to default map. How do I get API access to YMaps India? | api | map | yahoo | null | null | null | open | API Yahoo India Maps
===
Yahoo has separate map for India ( which has more details than the regular maps.yahoo.com) at http://in.maps.yahoo.com/ . But when I use the API it goes to default map. How do I get API access to YMaps India? | 0 |
5,948 | 08/08/2008 13:55:04 | 383 | 08/05/2008 10:46:37 | 1,130 | 143 | Always Commit the same file with SVN | In my web application I have a file which hold the current revision number via $Rev$. This work fine except, if I don't make any changes to that file, it doesn't get committed.
Is there anyway I can force a single file to always get committed to the SVN server? | svn | null | null | null | null | null | open | Always Commit the same file with SVN
===
In my web application I have a file which hold the current revision number via $Rev$. This work fine except, if I don't make any changes to that file, it doesn't get committed.
Is there anyway I can force a single file to always get committed to the SVN server? | 0 |
5,966 | 08/08/2008 14:05:45 | 745 | 08/08/2008 13:47:26 | 11 | 1 | Best way to abstract season/show/episode data | Basically, I've written an API to www.thetvdb.com in Python. The current code can be found [here](http://github.com/dbr/tvdb_api/tree/master/tvdb_api.py).
It grabs data from the API as requested, and has to store the data somehow, and make it available by doing:
print tvdbinstance[1][23]['episodename'] # get ... | python | datastructure | null | null | null | null | open | Best way to abstract season/show/episode data
===
Basically, I've written an API to www.thetvdb.com in Python. The current code can be found [here](http://github.com/dbr/tvdb_api/tree/master/tvdb_api.py).
It grabs data from the API as requested, and has to store the data somehow, and make it available by doing:
... | 0 |
5,982 | 08/08/2008 14:18:09 | 22 | 08/01/2008 12:11:11 | 140 | 13 | AS3 - How to fix "multiple describeType entries for 'selectedItem' on type 'mx.controls::ComboBox'" | Does anyone know why when using BindingUtils on the selectedItem property of a ComboBox you get the following warning? Any ideas how to resolve the issue?
The binding still works properly, but it would be nice to get rid of the warning.
warning: multiple describeType entries for 'selectedItem' on type 'mx.con... | flex | actionscript-3 | air | null | null | null | open | AS3 - How to fix "multiple describeType entries for 'selectedItem' on type 'mx.controls::ComboBox'"
===
Does anyone know why when using BindingUtils on the selectedItem property of a ComboBox you get the following warning? Any ideas how to resolve the issue?
The binding still works properly, but it would be nice to... | 0 |
5,989 | 08/08/2008 14:24:17 | 750 | 08/08/2008 14:24:17 | 1 | 0 | What's the best way to kick ass in programming? | I've been programming since college, was a hobbyist programmer as a kid, but never got serious until I was a freshman. That was almost a decade and a half ago. One thing I've noticed is that when people reach a certain point in their skills they never really move beyond that. That is if they suck as a developer when yo... | improvement | null | null | null | null | 12/20/2011 17:50:33 | not constructive | What's the best way to kick ass in programming?
===
I've been programming since college, was a hobbyist programmer as a kid, but never got serious until I was a freshman. That was almost a decade and a half ago. One thing I've noticed is that when people reach a certain point in their skills they never really move bey... | 4 |
5,997 | 08/08/2008 14:35:25 | 445 | 08/05/2008 19:37:25 | 71 | 4 | Should I provide accessor methods / Getter Setters for public/protected components on a form? | If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to "upgrade" the modifier to this component to an Internal or Public level variable.
Now, if I were providing a public variable of an int or string type etc. in my form class I wouldn't th... | .net | windowsforms | null | null | null | null | open | Should I provide accessor methods / Getter Setters for public/protected components on a form?
===
If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to "upgrade" the modifier to this component to an Internal or Public level variable.
Now,... | 0 |
6,007 | 08/08/2008 14:43:11 | 230 | 08/03/2008 19:32:46 | 295 | 17 | Log4Net configuring log level | How do I make Log4net only log Info level logs? Is that even possible? Can you only set a threshold?
This is what i have, and it logs Info and above as i would expect. Is there anything i can do to make it only log info.
<logger name="BrokerCollection.Model.XmlDocumentCreationTask">
<appender-ref ref="... | log4net | null | null | null | null | null | open | Log4Net configuring log level
===
How do I make Log4net only log Info level logs? Is that even possible? Can you only set a threshold?
This is what i have, and it logs Info and above as i would expect. Is there anything i can do to make it only log info.
<logger name="BrokerCollection.Model.XmlDocumentCreati... | 0 |
6,009 | 08/08/2008 14:44:25 | 556 | 08/06/2008 16:48:23 | 201 | 10 | How do you deal with configuration files in source control? | Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not check in this file at all, check it with different names or do som... | svn | configuration | git | cvs | sourcecontrol | null | open | How do you deal with configuration files in source control?
===
Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not c... | 0 |
6,023 | 08/08/2008 14:53:36 | 305 | 08/04/2008 14:04:19 | 41 | 9 | What are good tools for creating compiled HTML help files (.chm)? | I've seen a number of places recently that offer online HTML API documentation and also offer downloadable (usually .chm) help files.
I really love using .chm help files, mainly because of the index tree on the left.
What are the best tools for creating those types of files? Is there something that would allow m... | html | helpfile | chm | null | null | null | open | What are good tools for creating compiled HTML help files (.chm)?
===
I've seen a number of places recently that offer online HTML API documentation and also offer downloadable (usually .chm) help files.
I really love using .chm help files, mainly because of the index tree on the left.
What are the best tools fo... | 0 |
6,068 | 08/08/2008 15:27:46 | 703 | 08/08/2008 04:25:11 | 28 | 2 | Source control for web projects. | I'm looking for good suggestions on how to implement version and source control for web projects.
I've looked into subversion, but it seems to only take care of code. I'm really looking for something that can do good version-ing, branching, archival, etc. with not only source code, but other web assets like art fil... | subversion | osx | version-control | pc | internet | null | open | Source control for web projects.
===
I'm looking for good suggestions on how to implement version and source control for web projects.
I've looked into subversion, but it seems to only take care of code. I'm really looking for something that can do good version-ing, branching, archival, etc. with not only source c... | 0 |
6,076 | 08/08/2008 15:32:15 | 225 | 08/03/2008 17:19:42 | 242 | 13 | Default Form Button in FireFox | I am building a server control that will search our db and return results. The server control is contains an ASP:Panel. I have set the default button on the panel equal to my button id and have set the form default button equal to my button id.
On the Panel:
<pre><code> MyPanel.DefaultButton = SearchButton.ID</... | asp.net | vb.net | null | null | null | null | open | Default Form Button in FireFox
===
I am building a server control that will search our db and return results. The server control is contains an ASP:Panel. I have set the default button on the panel equal to my button id and have set the form default button equal to my button id.
On the Panel:
<pre><code> MyPan... | 0 |
6,080 | 08/08/2008 15:40:58 | 758 | 08/08/2008 15:40:58 | 1 | 0 | What to use for login ID? | We are in the early design stages of a major rewrite of our product. Right now our customers are mostly businesses. We manage accounts. User names for an account are each on their own namespace but it means that we can't move assets between servers.
We want to move to a single namespace. But that brings the problem ... | authentication | webapplications | account | null | null | null | open | What to use for login ID?
===
We are in the early design stages of a major rewrite of our product. Right now our customers are mostly businesses. We manage accounts. User names for an account are each on their own namespace but it means that we can't move assets between servers.
We want to move to a single namespac... | 0 |
6,085 | 08/08/2008 15:44:25 | 755 | 08/08/2008 15:28:16 | 1 | 0 | Gathering OS and tool version numbers for build archive purposes | Our automated build machine needs to archive the version numbers of the OS plus various tools used during each build. (In case we ever need to replicate exactly the same build later on, perhaps when the machine is long dead.)
I see the command "msinfo32.exe" can be used to dump a whole load of system version inform... | version | archive | build-automation | null | null | null | open | Gathering OS and tool version numbers for build archive purposes
===
Our automated build machine needs to archive the version numbers of the OS plus various tools used during each build. (In case we ever need to replicate exactly the same build later on, perhaps when the machine is long dead.)
I see the command "m... | 0 |
6,110 | 08/08/2008 16:19:20 | 754 | 08/08/2008 15:16:29 | 1 | 0 | Normalizing a Table with Low Integrity | I've been handed a table with about 18000 rows. Each record describes one customer location. The issue is, that when the person created the table, they did not add a field for "Company Name", only "Location Name," and one company can have many locations.
For example, here are some records that describe the same cust... | database | null | null | null | null | null | open | Normalizing a Table with Low Integrity
===
I've been handed a table with about 18000 rows. Each record describes one customer location. The issue is, that when the person created the table, they did not add a field for "Company Name", only "Location Name," and one company can have many locations.
For example, here ... | 0 |
6,113 | 08/08/2008 16:32:30 | 702 | 08/08/2008 01:31:17 | 1 | 2 | What is the best way to store connection string in .NET DLLs? | The application my team is currently developing has a DLL that is used to perform all database access. The application can not use a trusted connection because the database is behind a firewall and the domain server is not. So it appears that the connection string needs to have a DB username and password. The DLL cu... | .net | sql-server | connectionstring | null | null | null | open | What is the best way to store connection string in .NET DLLs?
===
The application my team is currently developing has a DLL that is used to perform all database access. The application can not use a trusted connection because the database is behind a firewall and the domain server is not. So it appears that the conn... | 0 |
6,126 | 08/08/2008 16:45:58 | 1,384,652 | 08/01/2008 12:01:23 | 677 | 50 | How do you handle huge if-conditions? | It's something that's bugged me in every language I've used, I have an if statement but the conditional part has so many checks that I have to split it over multiple lines, use a nested if statement or just accept that it's ugly and move on with my life.
Are there any other methods that you've found that might be of... | language-agnostic | if | null | null | null | null | open | How do you handle huge if-conditions?
===
It's something that's bugged me in every language I've used, I have an if statement but the conditional part has so many checks that I have to split it over multiple lines, use a nested if statement or just accept that it's ugly and move on with my life.
Are there any other... | 0 |
6,130 | 08/08/2008 16:49:17 | 763 | 08/08/2008 16:17:13 | 1 | 0 | Repair SVN Checksum | I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit:
`svn: Checksum mismatch for '/Users/redacted/Documents/Flex Builder 3/path/to/my/file.mxml'; expected: 'f8cb275de72776657406154dd3c10348', actual: 'null'`
I worked around it by:
1. Committing all the other changed f... | subclipse | subversion | null | null | null | null | open | Repair SVN Checksum
===
I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit:
`svn: Checksum mismatch for '/Users/redacted/Documents/Flex Builder 3/path/to/my/file.mxml'; expected: 'f8cb275de72776657406154dd3c10348', actual: 'null'`
I worked around it by:
1. Committin... | 0 |
6,134 | 08/08/2008 16:50:46 | 726 | 08/08/2008 12:04:53 | 41 | 7 | How do you find the age of a long-running Linux process? | I have a problem with some zombie-like processes on a certain server that need to be killed every now and then. How can I best identify the ones that have run for longer than an hour or so? | linux | bash | process | null | null | null | open | How do you find the age of a long-running Linux process?
===
I have a problem with some zombie-like processes on a certain server that need to be killed every now and then. How can I best identify the ones that have run for longer than an hour or so? | 0 |
6,151 | 08/08/2008 17:04:25 | 327 | 08/04/2008 17:08:49 | 78 | 6 | How do I edit work items in the Visual Studio 2008 xml editor? | I'm trying to customize some TFS work items via the VS2008 xml editor, but every time I open a work item xml file it jumps to the graphical designer. All that gives me is a "View XML" button that doesn't let you edit the xml directly. | windows | visual-studio | tfs | null | null | null | open | How do I edit work items in the Visual Studio 2008 xml editor?
===
I'm trying to customize some TFS work items via the VS2008 xml editor, but every time I open a work item xml file it jumps to the graphical designer. All that gives me is a "View XML" button that doesn't let you edit the xml directly. | 0 |
6,155 | 08/08/2008 17:08:51 | 204 | 08/03/2008 13:27:56 | 295 | 22 | Common Types of Subversion Hooks | What kinds of hook scripts are people using for Subversion? Just general ideas but code would be great too! | svn | subversion | version-control | scripting | null | null | open | Common Types of Subversion Hooks
===
What kinds of hook scripts are people using for Subversion? Just general ideas but code would be great too! | 0 |
6,166 | 08/08/2008 17:17:52 | 567 | 08/06/2008 19:14:16 | 103 | 14 | Any good PHP IDE, preferably free or cheap? | Does anyone know of any good IDE (Code completion, Syntax coloring, etc) that will handle php. Looking for anything that might be relatively cheap or free and doesn't run like crap (IE: Eclipse) | php | ide | null | null | null | null | open | Any good PHP IDE, preferably free or cheap?
===
Does anyone know of any good IDE (Code completion, Syntax coloring, etc) that will handle php. Looking for anything that might be relatively cheap or free and doesn't run like crap (IE: Eclipse) | 0 |
6,173 | 08/08/2008 17:24:19 | 322 | 08/04/2008 16:38:52 | 104 | 9 | Regular expression for parsing links from a webpage? | I'm looking for a .NET regular expression extract all the URLs from a webpage but haven't found one to be comprehensive enough to cover all the different ways you can specify a link.
And a side question:
Is there 'one regex to rule them all'? Or am I better off using a series of less complicated regular expressi... | .net | regularexpression | null | null | null | null | open | Regular expression for parsing links from a webpage?
===
I'm looking for a .NET regular expression extract all the URLs from a webpage but haven't found one to be comprehensive enough to cover all the different ways you can specify a link.
And a side question:
Is there 'one regex to rule them all'? Or am I bett... | 0 |
6,184 | 08/08/2008 17:32:41 | 756 | 08/08/2008 15:31:50 | 61 | 3 | How do I make event callbacks into my win forms thread safe? | When you subscribe to an event on an object from within a form, you are essentially handing over control of your callback method to the event source. You have no idea whether that event source will choose to trigger the event on a different thread.
The problem is that when the callback is invoked, you cannot assume ... | .net | c# | winforms | multithreaded | events | null | open | How do I make event callbacks into my win forms thread safe?
===
When you subscribe to an event on an object from within a form, you are essentially handing over control of your callback method to the event source. You have no idea whether that event source will choose to trigger the event on a different thread.
Th... | 0 |
6,207 | 08/08/2008 17:59:41 | 770 | 08/08/2008 17:20:44 | 1 | 1 | Experiences of the Smart Client Software Factory | Has anyone had any experience in building a 'real world' application with the [Smart Client Software Factory][1], from Microsofts Patterns and Practices group? I'm looking for advice on how difficult it was to master, whether it decreased your time to market and any other general pitfalls.
[1]: http://www.codeple... | scsf | .net | softwarefactory | visualstudio | softwaredevelopment | null | open | Experiences of the Smart Client Software Factory
===
Has anyone had any experience in building a 'real world' application with the [Smart Client Software Factory][1], from Microsofts Patterns and Practices group? I'm looking for advice on how difficult it was to master, whether it decreased your time to market and an... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.