Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,813 | 2 | null | 371 | 16 | null | Delivering email can be like black magic sometimes. The reverse DNS is really important.
I have found it to be very helpful to carefully track NDRs. I direct all of my NDRs to a single address and I have a windows service parsing them out (Google ListNanny). I put as much information from the NDR as I can into a ... | null | CC BY-SA 2.5 | null | 2008-08-13T13:44:47.530 | 2008-08-13T13:44:47.530 | null | null | 1,219 | null |
9,814 | 2 | null | 9,434 | 18 | null | There still is an ugly solution (which is far inferior to using a framework or `addEventListener`/`attachEvent`) that is to save the current `onload` event:
```
function addOnLoad(fn)
{
var old = window.onload;
window.onload = function()
{
old();
fn();
};
}
addOnLoad(function()
{
// your... | null | CC BY-SA 3.0 | null | 2008-08-13T13:44:52.163 | 2016-02-11T03:26:45.407 | 2016-02-11T03:26:45.407 | 92,701 | 268 | null |
9,823 | 2 | null | 9,749 | 0 | null | We migrate to a new SBS 2005 Domain last month. We take the opotunity to create virtual machines for the following servers
- - - -
| null | CC BY-SA 2.5 | null | 2008-08-13T13:47:04.810 | 2008-08-13T13:47:04.810 | null | null | 1,154 | null |
9,827 | 2 | null | 9,805 | 0 | null | you can get the days of a month by using DateTime.DaysInMonth(int WhichYear,int WhichMonth);
| null | CC BY-SA 2.5 | null | 2008-08-13T13:47:42.297 | 2008-08-13T13:47:42.297 | null | null | 1,094 | null |
9,829 | 2 | null | 9,783 | 0 | null | 100% SQL Express, more easy to install and maintain than Oracle.
| null | CC BY-SA 2.5 | null | 2008-08-13T13:49:13.853 | 2008-08-13T13:49:13.853 | null | null | 1,154 | null |
9,805 | 1 | 9,851 | null | 8 | 5,816 | I am currently writing a small calendar in ASP.Net C#. Currently to produce the rows of the weeks I do the following for loop:
```
var iWeeks = 6;
for (int w = 0; w < iWeeks; w++) {
```
This works fine, however, some month will only have 5 weeks and in some rare cases, 4.
How can I calculate the number of rows that... | Calculate DateTime Weeks into Rows | CC BY-SA 3.0 | 0 | 2008-08-13T13:38:56.043 | 2021-01-27T03:13:54.237 | 2016-12-21T04:38:26.107 | 256,196 | 383 | [
"c#",
"asp.net"
] |
9,832 | 2 | null | 6,778 | 2 | null | On another note; setting the wmode to transparent has a few kinks. For instance it can break the scrolling (the flash stays in the same place disregarding the scroll) in some older versions of Firefox (pre 2.0). I've also had issues with ALT-key combinations in textfields not working when wmode is transparent.
Also, i... | null | CC BY-SA 2.5 | null | 2008-08-13T13:50:07.673 | 2008-08-13T13:50:07.673 | null | null | 914 | null |
9,835 | 2 | null | 9,749 | 0 | null | I recently had to build an internal network for our training division, enabling the classrooms to be networked and have access to various technologies. Because of the lack of hardware and equipment and running in an exclusive cash only environment I decided to go with a virtual solution on the server.
The server itsel... | null | CC BY-SA 2.5 | null | 2008-08-13T13:51:31.557 | 2008-08-13T13:51:31.557 | null | null | 146,270 | null |
9,833 | 2 | null | 9,673 | 57 | null | Here is the [HashSet<string>](http://msdn.microsoft.com/en-us/library/bb359438.aspx) approach:
```
public static string[] RemoveDuplicates(string[] s)
{
HashSet<string> set = new HashSet<string>(s);
string[] result = new string[set.Count];
set.CopyTo(result);
return result;
}
```
Unfortunately this s... | null | CC BY-SA 3.0 | null | 2008-08-13T13:50:14.383 | 2013-07-09T18:00:17.497 | 2013-07-09T18:00:17.497 | 1,111,886 | 900 | null |
9,830 | 2 | null | 9,805 | 0 | null | The problem isn't the number of days in the month, it's how many weeks it spans over.
February in a non-leap year will have 28 days, and if the first day of the month is a monday, february will span exactly 4 week numbers.
However, if the first day of the month is a tuesday, or any other day of the week, february wil... | null | CC BY-SA 2.5 | null | 2008-08-13T13:49:48.300 | 2008-08-13T14:31:25.967 | 2008-08-13T14:31:25.967 | 267 | 267 | null |
9,836 | 1 | 9,848 | null | 5 | 3,181 | My company is currently using Sage MAS as their ERP system. While integrating our shopping cart is not going to be impossible, it uses COM and has it's own challenges.
I was wondering if there was a more developer friendly ERP out there. I have looked into Microsoft Dynamics but getting information on ERP systems that... | Developer Friendly ERP | CC BY-SA 2.5 | null | 2008-08-13T13:51:48.450 | 2016-12-16T12:41:16.977 | null | null | 2,347,826 | [
"c#",
"erp"
] |
9,826 | 2 | null | 9,191 | 12 | null | The problem seems to be in Windows I/O scheduling policy. According to what I found [here](http://engr.smu.edu/~kocan/7343/fall05/slides/chapter11.ppt) there are many ways for an O.S. to schedule disk requests. While Linux and others can choose between different policies, before Vista Windows was locked in a single pol... | null | CC BY-SA 2.5 | null | 2008-08-13T13:47:39.333 | 2008-08-13T13:47:39.333 | null | null | 1,005 | null |
9,840 | 2 | null | 4,430 | 10 | null | I have used [NuSOAP](https://sourceforge.net/projects/nusoap/) in the past. I liked it because it is just a set of PHP files that you can include. There is nothing to install on the web server and no config options to change. It has WSDL support as well which is a bonus.
| null | CC BY-SA 4.0 | null | 2008-08-13T13:54:10.897 | 2018-06-11T15:35:59.133 | 2018-06-11T15:35:59.133 | 3,128,122 | 37 | null |
9,842 | 2 | null | 6,729 | 1 | null | I thought it may be interesting to mention that Axialis has just released a version of the their Icon Studio for Visual Studio 2008 for free. It will only install if VS 2008 Pro or TFS is installed and plugs directly into the VS toolbar.
| null | CC BY-SA 2.5 | null | 2008-08-13T13:55:42.140 | 2008-08-13T13:55:42.140 | null | null | 146,270 | null |
9,838 | 2 | null | 8,849 | 0 | null | Sounds good. I will look at these possible solutions.
I do not think #1 will work since I am deploying multiple webparts inside a single solution which all use the same connectionString.
#3 sounds like a very clean solution. I see the config items are cached so it looks like if I need to store a connection string, ... | null | CC BY-SA 3.0 | null | 2008-08-13T13:53:19.977 | 2013-01-24T10:16:49.133 | 2013-01-24T10:16:49.133 | 1,410,342 | 1,048 | null |
9,848 | 2 | null | 9,836 | 2 | null | MS Dyanamics is very cool app. V3 was fully Web Serviced V4 i assume even more- all actions are exposed as webservices, there is a big license hit on MS CRM due to "internet" licensing.
We use CRMv3 in a totally .NET SOA here and its great.
You should have no problems doing the integration - security aside =>
| null | CC BY-SA 2.5 | null | 2008-08-13T14:01:50.647 | 2008-08-13T14:01:50.647 | null | null | null | null |
9,844 | 2 | null | 9,805 | 0 | null | First Find out which weekday the first day of the month is in. Just new up a datetime with the first day, always 1, and the year and month in question, there is a day of week property on it.
Then from here, you can use the number of days in the month, `DateTime.DaysInMonth`, in order to determine how many weeks when y... | null | CC BY-SA 3.0 | null | 2008-08-13T13:57:34.930 | 2014-09-07T20:04:35.233 | 2014-09-07T20:04:35.233 | 2,246,344 | 1,220 | null |
9,851 | 2 | null | 9,805 | 6 | null | Here is the method that does it:
```
public int GetWeekRows(int year, int month)
{
DateTime firstDayOfMonth = new DateTime(year, month, 1);
DateTime lastDayOfMonth = new DateTime(year, month, 1).AddMonths(1).AddDays(-1);
System.Globalization.Calendar calendar = System.Threading.Thread.CurrentThread.Current... | null | CC BY-SA 2.5 | null | 2008-08-13T14:03:39.223 | 2008-08-13T14:11:24.807 | 2008-08-13T14:11:24.823 | 31,505 | 31,505 | null |
9,831 | 1 | 12,910 | null | 6 | 2,986 | I've asked this question to the forums on the Mootools website and one person said that my class selection was corrupted before an admin came along and changed my post status to invalid. Needless to say this did not help much. I then posted to a google group for Mootools with no response. My question is why doesn't ... | Mootools: Drag & Drop problems | CC BY-SA 4.0 | null | 2008-08-13T13:49:51.963 | 2019-07-21T20:33:51.267 | 2019-07-21T20:33:51.267 | 4,751,173 | 1,491,425 | [
"javascript",
"drag-and-drop",
"mootools"
] |
9,853 | 2 | null | 1,156 | 7 | null | `Sql Server 2005` gives you the ability to specify a covering index. This is an index that includes data from other columns at the leaf level, so you don't have to go back to the table to get columns that aren't included in the index keys.
```
create nonclustered index my_idx on my_table (my_col1 asc, my_col2 asc) in... | null | CC BY-SA 4.0 | null | 2008-08-13T14:05:26.880 | 2018-11-14T21:42:00.517 | 2018-11-14T21:42:00.517 | 1,761,307 | 1,219 | null |
9,846 | 1 | 10,301 | null | 5 | 3,361 | I've been tasked with updating a series of applications which are performance critical VB.NET apps that essentially just monitor and return networking statistics. I've only got three requirements:
One caveat is that we migrate from a .NET platform to linux
I will be responsible for maintaining these apps in the fu... | Performance critical GUI application (windows,linux) | CC BY-SA 3.0 | 0 | 2008-08-13T14:00:55.280 | 2012-08-31T16:53:03.620 | 2012-03-22T01:24:42.597 | 3 | 750 | [
".net",
"windows",
"linux",
"user-interface"
] |
9,857 | 2 | null | 9,702 | 1 | null | I have never had problems (performance or development - TDD & unit testing included) using GUIDs as the ID for my databases, and I've worked on some pretty big ones. Have a look [here](http://www.sql-server-performance.com/articles/per/guid_performance_p2.aspx), [here](http://weblogs.asp.net/wwright/archive/2007/11/04/... | null | CC BY-SA 2.5 | null | 2008-08-13T14:06:58.013 | 2008-08-13T14:06:58.013 | null | null | 1,107 | null |
9,859 | 2 | null | 9,675 | 0 | null | Currently documents are published by a limited group of people, each of them working on a separate subject. So, the inconvenience introduced by locks is minimized.
People mostly extend existing documents and correct mistakes in them.
Speaking about the pessimistic model, the 'left client connected for N days' scenario... | null | CC BY-SA 2.5 | null | 2008-08-13T14:07:32.273 | 2008-08-13T14:07:32.273 | null | null | 1,182 | null |
9,033 | 1 | null | null | 1,473 | 744,991 | This came to my mind after I learned the following from [this question](http://www.stackoverflow.com/questions/8941/generic-type-checking):
```
where T : struct
```
We, C# developers, all know the basics of C#. I mean declarations, conditionals, loops, operators, etc.
Some of us even mastered the stuff like [Generi... | Hidden Features of C#? | CC BY-SA 3.0 | 0 | 2008-08-12T16:32:24.540 | 2019-03-04T18:39:27.027 | 2017-09-25T20:53:48.090 | 19,679 | 31,505 | [
"c#",
"hidden-features"
] |
9,870 | 2 | null | 2,840 | 0 | null | Here's what I do for paging: All of my big queries that need to be paged are coded as inserts into a temp table. The temp table has an identity field that will act in a similar manner to the row_number() mentioned above. I store the number of rows in the temp table in an output parameter so the calling code knows ho... | null | CC BY-SA 2.5 | null | 2008-08-13T14:16:13.813 | 2008-08-13T14:16:13.813 | null | null | 1,219 | null |
9,872 | 2 | null | 9,846 | 5 | null | 1) Premature optimization is evil. Implement your "expensive stuff" in C# and see if you need to refactor it. Or, at least set up a test that will allow you to determine this.
2) Yowch. Cross platform UI. I wouldn't put up with the "may" stuff. Nail the weasels down; how can you possibly make design decisions wit... | null | CC BY-SA 2.5 | null | 2008-08-13T14:19:25.633 | 2008-08-13T14:19:25.633 | null | null | null | null |
9,875 | 2 | null | 9,002 | 1 | null | Could be oodles of things. For example, I've seen (yes, actually seen) this happen after:
- - - - -
So until it happens again, I wouldn't freak out over it.
| null | CC BY-SA 2.5 | null | 2008-08-13T14:20:56.643 | 2008-08-13T14:20:56.643 | null | null | 414 | null |
9,873 | 2 | null | 9,673 | 8 | null | > ```
List<String> myStringList = new List<string>();
foreach (string s in myStringArray)
{
if (!myStringList.Contains(s))
{
myStringList.Add(s);
}
}
```
This is , which won't matter for a short list which is going to be stuffed into a combo, but could be rapidly be a problem on a big collection.
| null | CC BY-SA 3.0 | null | 2008-08-13T14:19:38.427 | 2017-06-07T05:08:39.403 | 2017-06-07T05:08:39.403 | 707,137 | 987 | null |
9,877 | 1 | 9,903 | null | 33 | 4,049 | I'm currently trying to build a personal website to create a presence on the web for myself. My plan is to include content such as my resume, any projects that I have done on my own and links to open source projects that I have contributed to, and so on. However, I'm not sure which approach would be better from a persp... | Personal Website Construction | CC BY-SA 2.5 | 0 | 2008-08-13T14:22:20.947 | 2015-04-20T01:46:27.747 | 2015-04-20T01:46:27.747 | 1,414,639 | 572 | [
"content-management-system"
] |
9,881 | 2 | null | 9,877 | 7 | null | If you are a web-specific developer I would go with a custom site, but if you focus more on desktop applications or backend technologies, I think an out of the box system would be fine.
| null | CC BY-SA 2.5 | null | 2008-08-13T14:24:35.157 | 2008-08-13T14:24:35.157 | null | null | 75 | null |
9,880 | 2 | null | 9,846 | 2 | null | For the first question, it is really hard to say if it would make sense as it would likely depend upon what sort of performance you need to be getting. I personally haven't seen any system wide slow downs due to the GUI in properly designed GUIs using WinForms so I don't see why it would should cause any problems, and ... | null | CC BY-SA 2.5 | null | 2008-08-13T14:24:12.287 | 2008-08-13T14:24:12.287 | null | null | 1,185 | null |
9,864 | 2 | null | 9,632 | 1 | null | Try removing the x:Key attribute from the Style resource, leaving TargetType. I know, you're supposed to have that x:Key for a resource, but if you have it along with your TargetType the Key prevails.
Here's a sample style that I use in a project to skin all tooltips in one of my apps (this is in App.Resources--noti... | null | CC BY-SA 2.5 | null | 2008-08-13T14:12:04.090 | 2008-08-13T14:12:04.090 | null | null | null | null |
9,886 | 2 | null | 9,882 | 12 | null | I think you might be overlooking and missed fscanf() and sscanf(). Which are the opposite of fprintf() and sprintf().
| null | CC BY-SA 2.5 | null | 2008-08-13T14:28:26.397 | 2008-08-13T14:28:26.397 | null | null | 200 | null |
9,860 | 2 | null | 9,783 | 13 | null | I would go for the solution, unless you absolutely have to use a feature in Oracle that SQL Server does not have and you have no usable workaround.
Example of Oracle's strengths:
- - [PL/SQL](http://en.wikipedia.org/wiki/PL/SQL)[T-SQL](http://en.wikipedia.org/wiki/Transact-SQL)- - - - [RAC](http://en.wikipedia.org... | null | CC BY-SA 2.5 | null | 2008-08-13T14:08:32.753 | 2010-11-27T21:06:38.810 | 2010-11-27T21:06:38.810 | 63,550 | 993 | null |
9,878 | 2 | null | 9,632 | 2 | null | Doesn't matter, if you do not provide a key, it will use the `TargetType` as key just the same way my example uses :)
Taken from MSDN on Style:
> Setting the `TargetType` property to the `TextBlock` type without
setting an `x:Key` implicitly sets the `x:Key` to `{x:Type TextBlock}`. This also means that if you > > ... | null | CC BY-SA 3.0 | null | 2008-08-13T14:23:07.607 | 2014-10-16T10:14:37.680 | 2014-10-16T10:14:37.680 | 45,382 | 900 | null |
9,887 | 2 | null | 9,846 | 3 | null | 1) Not necessarily. I think it would be more correct to say that it's probably worthwhile writing your backend code in C++, regardless of the performance implications. Even though you can't tie your higher-ups down on the platform switch, it would be prudent of you to make preparations for that eventuality, since manag... | null | CC BY-SA 2.5 | null | 2008-08-13T14:28:51.760 | 2008-08-13T20:32:39.780 | 2008-08-13T20:32:39.780 | 1,975,282 | 1,975,282 | null |
9,884 | 2 | null | 9,846 | 2 | null | No, it does not make sense to do the "expensive stuff" in C/C++. The potential (and most likely minor) performance improvements never, ever outweigh your productivity being an abject, sick joke when compared to C#. Really. It's not even close.
Read through this (and all posts referenced within):
[http://blogs.msdn.com... | null | CC BY-SA 2.5 | null | 2008-08-13T14:27:41.997 | 2008-08-13T14:27:41.997 | null | null | 414 | null |
9,895 | 2 | null | 9,877 | 1 | null | Putting your resume up online somewhere helps, I get a lot of recruitment emails from people who happened on my resume via googling. However I agree with ColinYounger in that you'll probably get more bang for your buck from LinkedIn.
My advice is this - if you want to take the time out to LEARN a CMS or something, to ... | null | CC BY-SA 2.5 | null | 2008-08-13T14:34:54.057 | 2008-08-13T14:34:54.057 | null | null | 543 | null |
9,894 | 2 | null | 9,846 | 2 | null | You might want to look into using [Mono](http://www.mono-project.com). This is a open source version of .NET that runs on many plateforms...Linux,Mac, Solaris, Windows, etc..
Now about coding your expensive stuff in C/C++. Here's an article that does a very good
job explaining the differences between [C/C++ & C# perfo... | null | CC BY-SA 2.5 | null | 2008-08-13T14:34:47.740 | 2008-08-13T14:34:47.740 | null | null | 1,231 | null |
9,896 | 2 | null | 9,383 | 1 | null | If you're running it on a 2k3 box, you need to install all updates for Sql Server and the 2003 server.
Check the event logs after you start the Sql Server. It logs everything well, telling you if its being blocked, and where it is listening for connections.
From a remote machine, you can use telnet to see if a sql... | null | CC BY-SA 2.5 | null | 2008-08-13T14:35:16.693 | 2008-08-13T14:35:16.693 | null | null | null | null |
9,882 | 1 | 12,466 | null | 5 | 1,793 | I am working on a project that requires the parsing of log files. I am looking for a fast algorithm that would take groups messages like this:
> The temperature at P1 is 35F.The temperature at P1 is 40F.The temperature at P3 is 35F.Logger stopped.Logger started.The temperature at P1 is 40F.
and puts out something in th... | Looking for algorithm that reverses the sprintf() function output | CC BY-SA 3.0 | 0 | 2008-08-13T14:25:58.133 | 2012-03-22T01:51:59.297 | 2020-06-20T09:12:55.060 | -1 | null | [
"algorithm",
"parsing",
"logging",
"printf",
"normalizing"
] |
9,901 | 2 | null | 9,877 | 1 | null | It really depends on:
a) what services you provide
b) what your skill level is when it comes to web design/development
If you are primarily a web applications developer then running an off the shelf product or using blatantly using DreamWeaver to develop it may not be so smart -- or maybe your clients aren't adept e... | null | CC BY-SA 2.5 | null | 2008-08-13T14:38:59.387 | 2008-08-13T14:38:59.387 | null | null | 428,190 | null |
9,905 | 1 | 20,225 | null | 3 | 1,228 | Is there a way to check to see if an Microsoft Office process (i.e. Word, Excel) has hung when using Office Automation? Additionally, if the process is hung, is there a way to terminate it?
| Check for hung Office process when using Office Automation | CC BY-SA 2.5 | null | 2008-08-13T14:42:52.887 | 2010-05-07T16:04:49.350 | 2010-05-07T16:04:49.350 | 120,811 | 1,185 | [
"language-agnostic",
"ms-office",
"office-automation"
] |
9,904 | 2 | null | 3,163 | 5 | null | This was the fastest I could come up with after some fiddling:
```
private function castMethod4(dateString:String):Date {
if ( dateString == null )
return null;
if ( dateString.length != 10 && dateString.length != 19)
return null;
dateString = dateString.replace("-", "/");
... | null | CC BY-SA 2.5 | null | 2008-08-13T14:42:52.357 | 2008-08-13T14:42:52.357 | null | null | 914 | null |
9,910 | 2 | null | 9,877 | 3 | null | I don't think it matters if your site is blatantly using a framework or other "generic" solution. The real question is "is it done well, with taste?" If you are using an out of the box solution, you should take the time and pay attention to details when customizing it as if you were creating it from scratch.
Alternati... | null | CC BY-SA 2.5 | null | 2008-08-13T14:47:58.790 | 2008-08-13T15:28:20.363 | 2008-08-13T15:28:20.363 | 326 | 326 | null |
9,907 | 2 | null | 9,750 | 14 | null | > What specifically does that question mean?
Good question. If reversing the "ON" bits means reversing only the bits that are "ON", then you will always get 0, no matter what the input is. If it means reversing the bits, i.e. changing all 1s to 0s and all 0s to 1s, which is how I initially read it, then that's just... | null | CC BY-SA 2.5 | null | 2008-08-13T14:44:10.780 | 2008-08-13T14:44:10.780 | null | null | 737 | null |
9,889 | 2 | null | 9,687 | 5 | null | As far as I understand (and I'm also someone who has written against a horrible legacy database), there is no such thing as dynamic WHERE clauses. It has NOT been solved.
Personally, I prefer to generate my dynamic searches in code. Makes testing convenient. Note, when you create your sql queries in code, don't c... | null | CC BY-SA 2.5 | null | 2008-08-13T14:29:36.487 | 2008-08-13T14:29:36.487 | null | null | null | null |
9,897 | 2 | null | 9,632 | 32 | null | To style ContextMenu's for all TextBoxes, I would do something like the following:
First, in the resources section, add a ContextMenu which you plan to use as your standard ContextMenu in a textbox. e.g.
```
<ContextMenu x:Key="TextBoxContextMenu" Background="White">
<MenuItem Command="ApplicationCommands.Copy" />
... | null | CC BY-SA 2.5 | null | 2008-08-13T14:36:20.810 | 2008-08-14T02:33:22.437 | 2008-08-14T02:33:22.437 | 708 | 708 | null |
9,925 | 2 | null | 4,689 | 8 | null | I like Consolas too, but I also like Anonymous: [http://www.ms-studio.com/FontSales/anonymous.html](http://www.ms-studio.com/FontSales/anonymous.html)
| null | CC BY-SA 2.5 | null | 2008-08-13T15:08:41.277 | 2008-08-13T15:08:41.277 | null | null | 279 | null |
9,923 | 2 | null | 4,689 | 4 | null | [Verdana](http://en.wikipedia.org/wiki/Verdana) - Variable width and easy to read on screen at small sizes.
| null | CC BY-SA 2.5 | null | 2008-08-13T15:05:22.217 | 2008-08-13T15:05:22.217 | null | null | 755 | null |
9,918 | 2 | null | 9,687 | 1 | null | Search and normalization can be at odds with each other. So probably first thing would be to get some kind of "view" that shows all the fields that can be searched as a single row with a single key getting you the resume. then you can throw something like [Lucene](http://lucene.apache.org/java/docs/) in front of that t... | null | CC BY-SA 2.5 | null | 2008-08-13T14:56:15.420 | 2008-08-13T14:56:15.420 | null | null | 1,220 | null |
9,914 | 2 | null | 9,877 | 1 | null | Just as a side question and following up on my 'ego trip' comment: why would you take anything on the web to be 'true'? IME printed submissions, while not necessarily accurate, tend to be slightly less, erm... exaggerated than web submissions.
Do those responding\viewing ever hire? I wouldn't google for a candidate. I... | null | CC BY-SA 2.5 | null | 2008-08-13T14:51:10.420 | 2008-08-13T14:51:10.420 | null | null | 1,223 | null |
9,903 | 2 | null | 9,877 | 27 | null | I've toyed with this idea in the past but I don't think it's really a good idea for a number of reasons. Firstly, there are a number of places that can take care of most of this without you needing to do the work or maintenance. Just signing up for a linkedIn account for example will allow you to get most of your needs... | null | CC BY-SA 3.0 | null | 2008-08-13T14:42:06.430 | 2015-04-19T17:37:17.520 | 2015-04-19T17:37:17.520 | 792,066 | 1,107 | null |
9,927 | 2 | null | 4,689 | 1 | null | Lucida Console every time.
I've never found a font that can pack as many lines of code onto the screen at the same point size without looking cramped.
And it looks nice too.
| null | CC BY-SA 2.5 | null | 2008-08-13T15:11:02.817 | 2008-08-13T15:11:02.817 | null | null | 974 | null |
9,934 | 2 | null | 4,689 | 15 | null | I have been using the Dina - [http://www.donationcoder.com/Software/Jibz/Dina/index.html](http://www.donationcoder.com/Software/Jibz/Dina/index.html) - font for awhile now for text editing and it seems to be doing the job nicely.
| null | CC BY-SA 2.5 | null | 2008-08-13T15:17:24.987 | 2008-08-13T15:17:24.987 | null | null | 1,185 | null |
9,936 | 2 | null | 9,769 | 1 | null | When compiling I use Ant and have full control over that from TextMate, what I want is to be able to launch the and the . The command line debugger is unusable and there is no other profiler available than the one in FlexBuilder.
| null | CC BY-SA 2.5 | null | 2008-08-13T15:19:19.180 | 2008-08-13T15:19:19.180 | null | null | 1,109 | null |
9,932 | 1 | 9,957 | null | 1 | 409 | I have an application deployed into multiple zones and there are some issues with opening larger documents (20-50MB) across the WAN.
Currently the documents are stored in Zone 1 (Americas) and a link stored in the database to the docs.
I have heard some things about blobs in oracle and store binary in MS SQL Serv... | What is a good way to open large files across a WAN? | CC BY-SA 3.0 | null | 2008-08-13T15:16:50.713 | 2016-01-08T15:16:01.697 | 2016-01-08T15:16:01.697 | 5,348,281 | 1,217 | [
"sql-server",
"database",
"oracle"
] |
9,928 | 1 | null | null | 7 | 7,920 | I am working on a small webapp and I want to use Groovy to write some unit testing for my app. Most of my coding is done on Eclipse and I really want to run all the unit testing with the graphical test runner within Eclipse (I really like the green bar :) )
Sadly, after 4 hours of try-and-error, I'm still not able to ... | How to setup Groovy + Eclipse + Junit4? | CC BY-SA 3.0 | 0 | 2008-08-13T15:11:09.103 | 2018-04-04T05:22:36.453 | 2018-04-04T05:22:36.453 | 542,270 | null | [
"eclipse",
"groovy",
"junit"
] |
9,943 | 2 | null | 4,689 | 3 | null | Another vote for Consolas. My favorite IDE font at the moment.
| null | CC BY-SA 2.5 | null | 2008-08-13T15:27:19.770 | 2008-08-13T15:27:19.770 | null | null | 1,226 | null |
9,940 | 2 | null | 9,877 | 4 | null | Here's what I did (or am currently doing). First, use an out of the box solution to begin with. In my case, I used BlogEngine.NET, which was open source and easy to set up. This allows me to put content on my site as fast as possible. Now, I can continue to use BlogEngine.NET, and skin my site to give it more perso... | null | CC BY-SA 2.5 | null | 2008-08-13T15:23:36.207 | 2008-08-13T15:23:36.207 | null | null | 1,226 | null |
9,919 | 2 | null | 9,591 | 76 | null | I've found the following books very useful:
[Windows Presentation Foundation Unleashed - Adam Nathan](https://rads.stackoverflow.com/amzn/click/com/0672328917)
You mention you already have this book, however I wanted to give my opinion on it. It is a great book for the newcomer - it is printed in full color which is a... | null | CC BY-SA 2.5 | null | 2008-08-13T14:57:08.973 | 2008-08-13T14:57:08.973 | null | null | 708 | null |
9,947 | 2 | null | 9,905 | 0 | null | I can answer the latter half; if you have a reference to the application object in your code, you can simply call "Quit" on it:
```
private Microsoft.Office.Interop.Excel.Application _excel;
// ... do some stuff ...
_excel.Quit();
```
For checking for a hung process, I'd guess you'd want to try to get some data from... | null | CC BY-SA 2.5 | null | 2008-08-13T15:30:34.150 | 2008-08-13T15:30:34.150 | null | null | 1,206 | null |
9,950 | 2 | null | 9,926 | 4 | null | As a starting point, I'd be tempted to add tracing log messages at strategic points within your application. This will allow you to analyse how your threads are interacting with no danger that the act of observing the threads will change their behaviour (as could be the case with step-by-step debugging).
My experience ... | null | CC BY-SA 2.5 | null | 2008-08-13T15:33:28.900 | 2008-08-13T15:33:28.900 | null | null | 1,131 | null |
9,957 | 2 | null | 9,932 | 2 | null | Your best option here may be caching the document in the requested zone the first time it is requested, and pinging the source document's last modified each time the cached document is requested in order to determine if it needs refreshed. In this case you're only requesting a small piece of information (a date) across... | null | CC BY-SA 2.5 | null | 2008-08-13T15:37:44.697 | 2008-08-13T15:37:44.697 | null | null | 1,195 | null |
9,952 | 2 | null | 9,905 | 1 | null | I remember doing this a few years ago - so I'm talking Office XP or 2003 days, not 2007.
Obviously a better solution for automation these days is to use the new XML format that describes docx etc using the System.IO.Packaging namespace.
Back then, I used to notice that whenever MSWord had kicked the bucket and had ha... | null | CC BY-SA 2.5 | null | 2008-08-13T15:34:41.410 | 2008-08-13T15:34:41.410 | null | null | 1,107 | null |
9,938 | 1 | 9,972 | null | 32 | 18,672 | I am trying to find a generic way of accessing a set of containers. I have a standard vector and list in addition to another custom list.
The custom list defines an iterator;
```
class Iterator: public std::iterator<std::forward_iterator_tag, T> {
// ...
}
Iterator begin() {
return (Iterator(root));
}
Itera... | Generic iterator | CC BY-SA 2.5 | 0 | 2008-08-13T15:22:47.847 | 2008-09-24T15:44:41.220 | null | null | 263 | [
"c++",
"generics",
"iteration",
"containers"
] |
9,926 | 1 | 20,736 | null | 7 | 2,782 | We have a codebase that is several years old, and all the original developers are long gone. It uses many, many threads, but with no apparent design or common architectural principles. Every developer had his own style of multithreaded programming, so some threads communicate with one another using queues, some lock ... | Analyzing Multithreaded Programs | CC BY-SA 2.5 | 0 | 2008-08-13T15:09:51.757 | 2013-12-12T06:44:59.643 | 2017-05-23T12:33:27.093 | -1 | 1,175 | [
"multithreading",
"concurrency"
] |
9,972 | 2 | null | 9,938 | 20 | null | Here are some articles you might find of interest
[Giving STL Iterators a Base Class](http://accu.org/index.php/journals/479)
[Type Erasure for C++ Iterators](http://thbecker.net/free_software_utilities/type_erasure_for_cpp_iterators/start_page.html)
[any_iterator Class Reference](http://stlab.adobe.com/classadobe_1... | null | CC BY-SA 2.5 | null | 2008-08-13T15:47:35.707 | 2008-08-13T15:47:35.707 | null | null | 259 | null |
9,963 | 2 | null | 580 | 1 | null | I agree with keeping everything in source control and manually scripting all changes. Changes to the schema for a single release go into a script file created specifically for that release. All stored procs, views, etc should go into individual files and treated just like .cs or .aspx as far as source control goes. ... | null | CC BY-SA 2.5 | null | 2008-08-13T15:41:44.627 | 2008-08-13T15:41:44.627 | null | null | 1,219 | null |
9,975 | 2 | null | 8,970 | 1 | null | There's a command line utility called `isightcapture` that does more or less what you want to do. You could probably get the code from the developer (his e-mail address is in the readme you get when you download the utility).
| null | CC BY-SA 2.5 | null | 2008-08-13T15:49:52.143 | 2008-08-13T15:49:52.143 | null | null | 1,109 | null |
9,974 | 1 | 9,996 | null | 33 | 18,511 | This is a question I asked on another forum which received some decent answers, but I wanted to see if anyone here has more insight.
The problem is that you have one of your pages in a web application timing out when it gets to a stored procedure call, so you use Sql Profiler, or your application trace logs, to find t... | Query times out from web app but runs fine from management studio | CC BY-SA 2.5 | 0 | 2008-08-13T15:49:41.317 | 2014-11-25T20:46:06.607 | 2014-11-25T20:46:06.607 | 2,641,576 | 1,219 | [
"sql",
"sql-server",
"sql-server-2005"
] |
9,980 | 2 | null | 9,882 | 2 | null | It depends on what you are trying to do, if your goal is to quickly generate sprintf() input, this works. If you are trying to parse data, maybe regular expressions would do too..
| null | CC BY-SA 2.5 | null | 2008-08-13T15:52:09.300 | 2008-08-13T15:52:09.300 | null | null | 930 | null |
9,982 | 2 | null | 9,974 | -1 | null | Try changing the SelectCommand timeout value:
```
DataAdapter.SelectCommand.CommandTimeout = 120;
```
| null | CC BY-SA 2.5 | null | 2008-08-13T15:52:35.460 | 2008-08-13T15:52:35.460 | null | null | 383 | null |
9,993 | 2 | null | 9,977 | 1 | null | If there isn't beer, its not a good enough user group to attend. The open source guys get this. Their user group meetings are funner, and more dynamic because of this. Just make it BYOB and it'll naturally get better in my experience.
| null | CC BY-SA 2.5 | null | 2008-08-13T16:00:03.760 | 2008-08-13T16:00:03.760 | null | null | 1,220 | null |
9,999 | 2 | null | 4,689 | 1 | null | I just recently switched from Bitstream Vera Sans Mono to Inconsolata, but reading the answers here, I'm going to give Consolas a chance for a bit. Looks really nice so far.
| null | CC BY-SA 2.5 | null | 2008-08-13T16:03:24.363 | 2008-08-13T16:03:24.363 | null | null | 1,238 | null |
9,977 | 1 | 10,045 | null | 1 | 401 | I'm in the process of starting a User Group in my area related to .NET development. The format of the community will be the average free food, presentation, and then maybe free swag giveaway.
What would you, as a member of a user community, look for in order to keep you coming back month to month?
| What do you look for from a User Group? | CC BY-SA 2.5 | null | 2008-08-13T15:50:56.510 | 2012-03-23T10:44:15.993 | 2012-03-23T10:44:15.993 | 21,234 | 1,226 | [
".net"
] |
9,958 | 2 | null | 7,212 | 1 | null | @aib is unfortunately incorrect. Assuming strict mode (the default compiler mode) it is not possible to modify the prototype of non-dynamic class types in ActionScript 3. I'm not even sure that it's possible in non-strict mode.
Is wrapping an option? Basically you create a class that takes one of the objects you get f... | null | CC BY-SA 2.5 | null | 2008-08-13T15:38:07.253 | 2008-08-13T15:38:07.253 | null | null | 1,109 | null |
9,997 | 2 | null | 9,977 | 4 | null | I always like talks on different subjects. The real hard thing about talking to a specialized community is keeping the detail level high and the scope narrow. What's the point of talking to a bunch of .NET programmers about the benefits of Polymorphism? It always kills me when I go to a meeting on a particular subje... | null | CC BY-SA 2.5 | null | 2008-08-13T16:02:07.063 | 2008-08-13T16:02:07.063 | null | null | null | null |
10,001 | 2 | null | 4,689 | 84 | null | I've really fallen in love with [Droid Sans Mono](http://damieng.com/blog/2007/11/14/droid-sans-mono-great-coding-font).

| null | CC BY-SA 2.5 | null | 2008-08-13T16:05:59.850 | 2008-08-13T16:05:59.850 | 2017-02-08T14:07:37.677 | -1 | 1,063 | null |
9,929 | 2 | null | 9,750 | 3 | null | If you're talking about switching 1's to 0's and 0's to 1's, using Ruby:
```
n = 0b11001100
~n
```
If you mean reverse the order:
```
n = 0b11001100
eval("0b" + n.to_s(2).reverse)
```
If you mean counting the on bits, as mentioned by another user:
```
n = 123
count = 0
0.upto(8) { |i| count = count + n[i] }
```
... | null | CC BY-SA 2.5 | null | 2008-08-13T15:11:45.810 | 2008-08-13T18:04:03.463 | 2008-08-13T18:04:03.463 | 521 | 521 | null |
10,008 | 2 | null | 80 | 10 | null | The [SQLite](http://en.wikipedia.org/wiki/SQLite) API has a function called something like `sqlite_prepare` which takes statement and prepares it for execution, essentially parsing the SQL and storing it in memory. This means that the SQL only has to be sent once to the database engine even though the statement is exe... | null | CC BY-SA 3.0 | null | 2008-08-13T16:09:09.843 | 2013-08-09T17:18:53.540 | 2013-08-09T17:18:53.540 | 63,550 | 1,109 | null |
10,028 | 2 | null | 9,974 | 1 | null | test this out on a staging box first, change it on a server level for sql server
> declare @option intset @option = @@options | 64exec sp_configure 'user options',
@optionRECONFIGURE
| null | CC BY-SA 2.5 | null | 2008-08-13T16:19:24.830 | 2008-08-13T16:19:24.830 | null | null | 740 | null |
10,038 | 1 | 10,054 | null | 9 | 1,355 | I understand how JS is run and I think I understand most of the DOM but I've no idea about animation. Does anybody here know of a good guide that can explain to me how it's done in Javascript?
In addition, should I even consider Javascript for animation? Should I instead be looking to learn flash?
| Animation in javascript, a starting point | CC BY-SA 2.5 | 0 | 2008-08-13T16:26:10.463 | 2021-01-09T17:23:08.473 | null | null | 1,384,652 | [
"javascript",
"animation"
] |
9,996 | 2 | null | 9,974 | 31 | null | This is what I've learned so far from my research.
.NET sends in connection settings that are not the same as what you get when you log in to management studio. Here is what you see if you sniff the connection with Sql Profiler:
```
-- network protocol: TCP/IP
set quoted_identifier off
set arithabort off
set n... | null | CC BY-SA 3.0 | null | 2008-08-13T16:01:51.730 | 2012-04-04T14:38:01.723 | 2012-04-04T14:38:01.723 | 86,148 | 1,219 | null |
10,042 | 1 | 25,311 | null | 136 | 427,395 | What's the best way to make a linked list in Java?
| How do I create a Linked List Data Structure in Java? | CC BY-SA 3.0 | 0 | 2008-08-13T16:29:22.063 | 2017-05-14T14:02:05.703 | 2015-10-12T04:40:40.970 | 5,432,257 | 571 | [
"java",
"data-structures",
"linked-list"
] |
10,020 | 2 | null | 2,518 | 8 | null | I just looked at the AIR SQL API, and there's an `attach` method on `SQLConnection` it looks exactly what you need.
I haven't tested this, but according to the documentation it should work:
```
var connection : SQLConnection = new SQLConnection();
connection.open(firstDbFile);
connection.attach(secondDbFile, "otherDb"... | null | CC BY-SA 4.0 | null | 2008-08-13T16:16:12.450 | 2021-10-25T11:58:00.903 | 2021-10-25T11:58:00.903 | 17,169,050 | 1,109 | null |
10,030 | 2 | null | 3,163 | 18 | null | I've been using the following snipplet to parse UTC date strings:
```
private function parseUTCDate( str : String ) : Date {
var matches : Array = str.match(/(\d\d\d\d)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)Z/);
var d : Date = new Date();
d.setUTCFullYear(int(matches[1]), int(matches[2]) - 1, int(matches[3])... | null | CC BY-SA 2.5 | null | 2008-08-13T16:21:37.243 | 2008-08-13T16:25:37.983 | 2008-08-13T16:25:37.983 | 1,109 | 1,109 | null |
10,047 | 2 | null | 5,428 | 5 | null | Sorry to follow up with a question, but does prefixing interfaces with "I" qualify as hungarian notation? If that is the case, then yes, a lot of people are using it in the real world. If not, ignore this.
| null | CC BY-SA 2.5 | null | 2008-08-13T16:31:27.270 | 2008-08-13T16:31:27.270 | null | null | 1,109 | null |
10,045 | 2 | null | 9,977 | 4 | null | It's true that some of the talks out there are very rudimentary, unfortunately some times the bulk of your crowd may need that. I consider myself a novice in a lot of fields, but I've attend talks that I thought were beneath me and still people were asking very basic questions. Perhaps it would be worth having a bi-m... | null | CC BY-SA 2.5 | null | 2008-08-13T16:30:28.303 | 2008-08-13T16:30:28.303 | null | null | 666 | null |
10,006 | 1 | 10,162 | null | 24 | 19,660 | I have a silverlight 2 beta 2 application that accesses a WCF web service. Because of this, it currently can only use basicHttp binding. The webservice will return fairly large amounts of XML data. This seems fairly wasteful from a bandwidth usage standpoint as the response, if zipped, would be smaller by a factor o... | What is the easiest way to add compression to WCF in Silverlight? | CC BY-SA 2.5 | 0 | 2008-08-13T16:08:43.680 | 2017-06-14T11:14:01.457 | 2009-07-08T07:18:28.380 | 24,874 | 313 | [
"wcf",
"silverlight",
"compression",
"gzip"
] |
10,043 | 1 | null | null | 3 | 3,352 | I have been using
> Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
to get the path to the user's desktop for ages now, but since we changed our setup here at work so we use Folder Redirection to map our users' and folders to the server, it no-longer works. It still points to the folder in , which ... | .NET: How do I find the Desktop path when Folder Redirection is on? | CC BY-SA 3.0 | null | 2008-08-13T16:29:56.883 | 2016-02-07T18:33:05.870 | 2015-12-14T06:05:20.120 | 4,169,569 | 503 | [
".net"
] |
10,048 | 2 | null | 10,038 | 2 | null | if your animation is simple, change colors over time, move from x to y in 3 seconds. Javascript is fine. If you want all kinds of wizbang buttons and coordinated rotation of the screen, straight up js + dhtml will be clunky at best. Silverlight vs Flash are you questions at that point. Interestingly enough, you program... | null | CC BY-SA 2.5 | null | 2008-08-13T16:32:37.503 | 2008-08-13T16:32:37.503 | null | null | 1,220 | null |
10,053 | 2 | null | 10,038 | 1 | null | Check out a JS animation framework like Bernard Sumption's [Animator.js](http://web.archive.org/web/20101028234136/http://berniecode.com/writing/animator.html). It's pretty light-weight and has some excellent examples.
Personally, I wouldn't be animating things in JS. Flash FTW.
| null | CC BY-SA 4.0 | null | 2008-08-13T16:36:38.493 | 2020-06-26T13:42:52.973 | 2020-06-26T13:42:52.973 | 6,262,124 | 1,030 | null |
10,050 | 2 | null | 10,042 | 55 | null | Java has a [LinkedList](http://java.sun.com/j2se/1.5.0/docs/api/java/util/LinkedList.html) implementation, that you might wanna check out. You can download the JDK and it's sources at [java.sun.com](http://java.sun.com/javase/downloads/index.jsp).
| null | CC BY-SA 2.5 | null | 2008-08-13T16:35:02.990 | 2008-08-13T16:35:02.990 | null | null | 198 | null |
10,060 | 2 | null | 9,932 | 1 | null | If you're running on Windows you could look at [Distributed File Systems](http://en.wikipedia.org/wiki/Distributed_File_System_(Microsoft))
| null | CC BY-SA 2.5 | null | 2008-08-13T16:43:09.243 | 2008-08-13T16:43:09.243 | null | null | 1,030 | null |
10,040 | 2 | null | 10,006 | 11 | null | I didn't see a native way for WCF to do compression when doing a WCF project recently. I just used the System.IO.Compression namespace and made a quick compressor. Here's the code i used
```
public static class CompressedSerializer
{
/// <summary>
/// Decompresses the specified compressed data.
/// </summa... | null | CC BY-SA 2.5 | null | 2008-08-13T16:28:06.933 | 2008-08-13T16:28:06.933 | null | null | 77 | null |
10,062 | 2 | null | 2,482 | 1 | null | The Erlang programming language provides an easy-to-use style of concurrent programming. You may never actually use Erlang, but the concepts are transportable to other languages. You might want to read the book .
Fans of functional programming claim that there is no need to learn anything new. Just use a pure func... | null | CC BY-SA 2.5 | null | 2008-08-13T16:46:40.437 | 2008-08-13T16:53:20.580 | 2008-08-13T16:53:20.580 | 1,175 | 1,175 | null |
10,061 | 1 | null | null | 3 | 14,550 | I'm looking for a GPS with a good API. I would like to be able to send an address to it, and tell it to navigate to that address. I also need to pull the current location from the GPS. I'd like to be able to do this with the GPS hooked up to a laptop by bluetooth or even just a USB cable.
I've looked at the Dash a ... | looking for a GPS with a good API | CC BY-SA 2.5 | 0 | 2008-08-13T16:45:03.000 | 2017-06-07T06:48:34.423 | 2010-10-21T03:10:21.620 | 73,488 | 571 | [
"api",
"gps"
] |
10,069 | 2 | null | 10,043 | 9 | null | You need to use the DesktopDirectory special folder instead:
`Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)`
should give you the redirected directory.
| null | CC BY-SA 2.5 | null | 2008-08-13T16:54:08.973 | 2008-08-13T16:54:08.973 | null | null | 1,078 | null |
10,065 | 2 | null | 10,061 | 6 | null | If you want to talk to a Garmin GPS, you can check out their [developer website](http://developer.garmin.com). They've got resources ranging from talking to Web Services all the way to doing low-level Serial & USB I/O to interface directly with the devices.
| null | CC BY-SA 2.5 | null | 2008-08-13T16:50:28.323 | 2008-08-13T16:50:28.323 | null | null | 863 | null |