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
30,270
2
null
26,845
1
null
I've used [bazaar](http://bazaar-vcs.org/) for a little while now and love it. Trivial branching and merging back in give great confidence in using branches as they should be used. (I know that central vcs tools should allow this, but the common ones including subversion don't allow this easily). bzr supports quite ...
null
CC BY-SA 2.5
null
2008-08-27T14:24:08.957
2008-08-27T14:24:08.957
null
null
3,189
null
30,302
1
30,551
null
12
10,685
I'd like to ignore multiple wildcard routes. With asp.net mvc preview 4, they ship with: ``` RouteTable.Routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); ``` I'd also like to add something like: ``` RouteTable.Routes.IgnoreRoute("Content/{*pathInfo}"); ``` but that seems to break some of the helpers that generat...
Asp.Net Routing: How do I ignore multiple wildcard routes?
CC BY-SA 2.5
0
2008-08-27T14:38:39.327
2019-04-25T11:44:46.430
2019-04-25T11:44:46.430
9,020,340
3,085
[ "c#", "asp.net", "asp.net-mvc", "routes" ]
30,297
1
30,368
null
-2
768
I just requested a hotfix from support.microsoft.com and put in my email address, but I haven't received the email yet. The splash page I got after I requested the hotfix said: > We will send these hotfixes to the following e-mail address:``` (my correct email address) ``` Usually, our hotfix e-mail is delivered to you...
MS hotfix delayed delivery
CC BY-SA 3.0
null
2008-08-27T14:36:38.083
2014-04-10T13:17:25.357
2020-06-20T09:12:55.060
-1
179
[ "email", "hotfix" ]
30,312
2
null
25,224
0
null
A subselect is the standard way of doing this sort of thing. You just need a Unique Constraint on UserId, Code, and Date - and then you can run the following: ``` SELECT * FROM Table JOIN ( SELECT UserId, Code, MAX(Date) as LastDate FROM Table GROUP BY UserId, Code ) as Latest ON Table.UserId = Latest.Use...
null
CC BY-SA 2.5
null
2008-08-27T14:42:34.247
2008-08-27T14:42:34.247
null
null
2,199
null
30,317
2
null
30,251
4
null
I use tables in two cases: 1) Tabular data 2) Any time I want my layout to dynamically size itself to its contents
null
CC BY-SA 2.5
null
2008-08-27T14:43:17.740
2008-08-27T14:43:17.740
null
null
2,284
null
30,306
2
null
30,094
2
null
Your solution will not scale unless you add a permanent index to each column, with all of the columns that are returned in the query in the list of included columns (a covering index). These indexes will be very large, and inserts and updates to that table will be a bit slower, but you don't have much of a choice if y...
null
CC BY-SA 2.5
null
2008-08-27T14:39:40.573
2008-08-27T14:39:40.573
null
null
1,219
null
30,307
1
30,313
null
-1
1,423
I'm doing some PHP stuff on an Ubuntu server. The path I'm working in is but the PHP call `getcwd()` is returning (notice how it's dev-windows instead of dev-windows-data). There aren't any symbolic links anywhere. Are there any other causes for `getcwd()` returning a different path from a local `pwd` call? ...
Why would getcwd() return a different directory than a local pwd?
CC BY-SA 4.0
null
2008-08-27T14:40:38.853
2019-01-18T11:14:08.100
2019-01-18T11:14:08.100
567,854
305
[ "php", "directory" ]
30,310
1
540,583
null
78
25,805
I'd like to have dashes separate words in my URLs. So instead of: ``` /MyController/MyAction ``` I'd like: ``` /My-Controller/My-Action ``` Is this possible?
Asp.Net MVC: How do I enable dashes in my urls?
CC BY-SA 2.5
0
2008-08-27T14:41:31.443
2018-05-08T12:56:19.497
null
null
3,085
[ "asp.net-mvc" ]
30,322
2
null
30,318
2
null
GUI-based command shell seems like an oxymoron to me. The key-word here is Graphical. If I want a GUI, I want a full-featured GUI. But if I want raw performance, I want a command line.
null
CC BY-SA 2.5
null
2008-08-27T14:44:29.953
2009-01-04T05:15:23.720
2009-01-04T05:15:23.720
2,598
2,598
null
30,324
2
null
30,319
63
null
You could have an invisible div that gets shown via JavaScript when the page loads.
null
CC BY-SA 2.5
null
2008-08-27T14:46:09.527
2008-08-27T14:46:09.527
null
null
1,902,010
null
30,318
1
4,155,764
null
8
3,801
Terminals and shells are very powerful but can be complicated to learn, especially to get the best out of them. Does anyone know of a more GUI based command shell that helps a user or displays answers in a more friendly way? I'm aware of IPython, but even the syntax of that is somewhat convoluted, although it's a step ...
Where can I find a graphical command shell?
CC BY-SA 2.5
0
2008-08-27T14:43:31.983
2010-11-11T15:06:17.387
2009-01-04T18:46:50.213
18,866
3,233
[ "user-interface", "shell", "terminal" ]
30,313
2
null
30,307
1
null
Which file are you calling the getcwd() in and is that file is included into the one you are running (e.g. running index.php, including startup.php which contains gwtcwd()). Is the file you are running in /dev-windows/ or /dev-windows-data/? It works on the file you are actually running. --- Here's an example of ...
null
CC BY-SA 2.5
null
2008-08-27T14:42:38.677
2008-08-27T14:42:38.677
null
null
2,025
null
30,325
2
null
30,321
3
null
- -
null
CC BY-SA 2.5
null
2008-08-27T14:46:11.400
2008-08-27T14:46:11.400
null
null
1,453
null
30,319
1
30,324
null
123
21,605
Is there a tag in HTML that will only display its content if JavaScript is enabled? I know `<noscript>` works the opposite way around, displaying its HTML content when JavaScript is turned off. But I would like to only display a form on a site if JavaScript is available, telling them why they can't use the form if they...
Is there a HTML opposite to <noscript>?
CC BY-SA 3.0
0
2008-08-27T14:44:02.373
2020-05-16T16:49:24.137
2015-12-27T05:24:51.037
1,317,053
2,098
[ "javascript", "html", "noscript" ]
30,328
1
30,685
null
32
58,183
How do you OCR an tiff file using Tesseract's interface in c#? Currently I only know how to do it using the executable.
OCR with the Tesseract interface
CC BY-SA 3.0
0
2008-08-27T14:46:28.043
2017-10-27T20:14:56.820
2017-10-27T20:14:56.820
6,074,376
3,249
[ "c#", "ocr", "tesseract" ]
30,330
2
null
30,319
1
null
You could also use Javascript to load content from another source file and output that. That may be a bit more black box-is than you're looking for though.
null
CC BY-SA 2.5
null
2008-08-27T14:46:56.717
2008-08-27T14:58:41.230
2008-08-27T14:58:41.230
1,975,282
1,975,282
null
30,323
2
null
25,356
1
null
The way I currently work is that I (the developer) build the functionality using a dummy FLA file, using only external class files. When the designer(s) finish up the layout, they send me a FLA with all the imported assets, and linked buttons and MovieClips. I then attach my document class to the new FLA, and make sur...
null
CC BY-SA 2.5
null
2008-08-27T14:45:15.863
2008-09-17T19:05:28.997
2008-09-17T19:05:28.997
1,306
1,306
null
30,326
2
null
30,321
6
null
In your Web.config, under appSettings, change it to: ``` <appSettings file="StringKeys.config"> ``` Then, create your StringKeys.config file and have all your keys in it. You can still use the AppSettings area in the main web.config for any real application related keys.
null
CC BY-SA 2.5
null
2008-08-27T14:46:16.750
2008-08-27T14:46:16.750
null
null
1,965
null
30,331
2
null
30,319
0
null
[Alex's article](http://weblogs.asp.net/alex_papadimoulis/archive/2008/02/21/scriptonly-the-opposite-of-a-noscript.aspx) springs to mind here, however it's only applicable if you're using ASP.NET - it could be emulated in JavaScript however but again you'd have to use document.write();
null
CC BY-SA 2.5
null
2008-08-27T14:47:04.097
2008-08-27T14:47:04.097
null
null
2,025
null
30,339
2
null
30,286
0
null
I was trying to set the property from markup on an outside user control. When I took the property to OnLoad, it worked.
null
CC BY-SA 2.5
null
2008-08-27T14:49:00.627
2008-08-27T14:49:00.627
null
null
31,505
null
30,334
2
null
29,734
4
null
The primary reason stateless session beans are single threaded is to make them highly scalable for the container. The container can make a lot of simplifying assumptions about the runtime environment. A second reason is to make life easier for the developer because the developer doesn't have to worry about any synchro...
null
CC BY-SA 2.5
null
2008-08-27T14:47:40.787
2008-08-27T14:47:40.787
null
null
3,150
null
30,321
1
30,326
null
2
307
I am looking for a method of storing Application Messages, such as - - - So that "when" the users decide they don't like the wording of messages I don't have to change the source code, recompile then redeploy - instead I just change the message store. I really like the way that I can easily access strings in the we...
How to store Application Messages for a .NET Website
CC BY-SA 3.0
null
2008-08-27T14:44:25.240
2017-09-06T20:34:13.680
2017-09-06T20:34:13.680
1,000,551
982
[ "vb.net", "resources" ]
30,338
2
null
30,321
0
null
You can use [ResourceManager](http://msdn.microsoft.com/en-us/library/system.resources.resourcemanager.aspx) class. See "ResourceManager and ASP.NET" article at [http://msdn.microsoft.com/en-us/library/aa309419(VS.71).aspx](http://msdn.microsoft.com/en-us/library/aa309419(VS.71).aspx)
null
CC BY-SA 2.5
null
2008-08-27T14:48:51.220
2008-08-27T14:48:51.220
null
null
1,196
null
30,337
1
null
null
9
1,388
Is there an online resource somewhere that maintains statistics on the install-base of Java including JRE version information? If not, is there any recent report that has some numbers? I'm particularly interested in Windows users, but all other OS's are welcome too.
Install-base of Java JRE?
CC BY-SA 3.0
null
2008-08-27T14:47:46.607
2016-11-28T03:59:37.880
2016-11-28T03:59:37.880
3,604,745
2,881
[ "java", "deployment" ]
30,350
2
null
30,281
2
null
Hope this helps a little, but at my college our web applications course just got revamped. So now we are going the jsp, servlet, hibernate route with the second part of the course on mostly JBoss Seam. So who knows, it probably just needs time to grow in the community.
null
CC BY-SA 2.5
null
2008-08-27T14:52:33.583
2008-08-27T14:52:33.583
null
null
null
null
30,349
2
null
29,810
4
null
For what it's worth, there is also [Google Docs](http://docs.google.com/). I guess it's not a perfect fit, but it's versioning is convenient.
null
CC BY-SA 2.5
null
2008-08-27T14:52:27.907
2008-08-27T14:52:27.907
null
null
914
null
30,343
2
null
29,855
6
null
If you don't mind working with older libraries there are quite a few. For example, there's a no-frills GUI kit for Ansi-C called [IUP](http://www.tecgraf.puc-rio.br/iup/). Also, check out [this list](http://www.atai.org/guitool/#free_c) -- Search on that page for 'C API'. I think the most modern and well-known is the...
null
CC BY-SA 2.5
null
2008-08-27T14:49:56.803
2008-08-27T14:49:56.803
null
null
3,240
null
30,341
2
null
29,141
0
null
1. Ditto on the SaveAs 2. Whenever I have to do Interop I create a separate VB.NET class library and write the logic in VB. It is just not worth the hassle doing it in C#
null
CC BY-SA 2.5
null
2008-08-27T14:49:42.937
2008-08-27T14:49:42.937
null
null
1,349
null
30,351
2
null
30,307
0
null
[@Ross](https://stackoverflow.com/questions/30307/why-would-getcwd-return-a-different-directory-than-a-local-pwd#30313) I thought that getcwd() was returning a filesystem path rather than a relative url path. Either way, the fact remains that the path /mnt/dev-windows exist while /mnt/dev-windows-data does.
null
CC BY-SA 2.5
null
2008-08-27T14:52:52.147
2008-08-27T15:03:57.237
2017-05-23T10:32:50.377
-1
305
null
30,355
2
null
30,318
0
null
Check out [http://hotwire-shell.org/](http://hotwire-shell.org/)
null
CC BY-SA 2.5
null
2008-08-27T14:55:01.317
2008-08-27T14:55:01.317
null
null
1,249
null
30,356
2
null
30,297
1
null
It usually arrives within the first hour. BUt the fact that it reads me@mycompany.com could either because you put it there to protect your privacy (in which case forget about this) or that the system didn't catch your email and they sent it to me@mycompany.com. If the email address was ok and you didn't get it, someh...
null
CC BY-SA 2.5
null
2008-08-27T14:55:37.430
2008-08-27T14:55:37.430
null
null
2,684
null
30,360
2
null
30,346
5
null
Might be overkill for your project, but [Dean Edwards' IE7 javascript adds support for fixed positioning to IE6](http://dean.edwards.name/IE7/).
null
CC BY-SA 2.5
null
2008-08-27T14:56:46.193
2008-08-27T14:56:46.193
null
null
1,902,010
null
30,342
1
31,734
null
2
562
When creating and executing a ajax request queue with `$.manageAjax`, I call `ajaxManager.abort();`, to abort the entire queue due to error, at which time I get an error stating: `q[num] has no properties (jquery.ajaxmanager.js line 75)` Here is the calling code: ``` var ajaxManager = $.manageAjax({manageType:'sync',...
Why do I receive a q[num] error when aborting a jQuery queue pipeline?
CC BY-SA 3.0
null
2008-08-27T14:49:44.747
2012-04-25T21:23:48.973
2012-04-25T21:23:48.973
1,332,690
2,993
[ "jquery", "ajax" ]
30,353
2
null
30,302
5
null
This can be quite tricky. When attempting to figure out how to map route data into a route, the system currently searches top-down until it finds something where all the required information is provided, and then stuffs everything else into query parameters. Since the required information for the route "Content/{*pat...
null
CC BY-SA 2.5
null
2008-08-27T14:54:33.687
2008-08-27T14:54:33.687
null
null
1,554
null
30,354
1
30,679
null
10
21,334
In one of my VB6 forms, I create several other Form objects and store them in member variables. ``` Private m_frm1 as MyForm Private m_frm2 as MyForm // Later... Set m_frm1 = New MyForm Set m_frm2 = New MyForm ``` I notice that I'm leaking memory whenever this (parent) form is created and destroyed. Is it necessar...
When must I set a variable to "Nothing" in VB6?
CC BY-SA 2.5
0
2008-08-27T14:54:52.423
2019-12-16T06:23:19.943
2008-08-27T18:05:49.267
863
863
[ "vb6", "memory-leaks" ]
30,361
2
null
30,318
2
null
Is this for Python in particular, or are you just interested in command shell that has a GUI interface? If the idea of piping file sizes into a pie chart interests you, you might try [PowerGUI](http://powergui.org/), a GUI layer on Microsoft's PowerShell command shell. PowerShell also lets you pipe data from command...
null
CC BY-SA 2.5
null
2008-08-27T14:57:14.087
2008-08-27T14:57:14.087
null
null
3,251
null
30,363
2
null
30,307
0
null
@Mark Well that's just plain weird! What's your `include_path` - that could be messing thigns around. I've personally ditched it in favour of contants as it's just so temperamental (or I've never learned how to do it justice).
null
CC BY-SA 3.0
null
2008-08-27T14:57:21.700
2011-10-02T09:38:28.893
2011-10-02T09:38:28.893
256,196
2,025
null
30,359
2
null
30,318
0
null
PowerShell V2 is developing a graphical command shell, but I don't think that is what you are looking for. PowerShell as a command shell is very forgiving for new users and is easy to learn. There is an add-on product (it is a commercial product) called PowerGadgets that would let you pipe file sizes into a pie chart...
null
CC BY-SA 2.5
null
2008-08-27T14:56:37.850
2008-08-27T14:56:37.850
null
null
1,233
null
30,365
2
null
30,319
0
null
You could set the visibility of a paragraph|div to 'hidden'. Then in the 'onload' function, you could set the visibility to 'visible'. Something like: <body onload="javascript:document.getElementById(rec).style.visibility=visible"> <p style="visibility: visible" id="rec">This text to be hidden unless javascript avai...
null
CC BY-SA 2.5
null
2008-08-27T14:57:44.197
2008-08-27T14:57:44.197
null
null
null
null
30,370
2
null
29,810
1
null
Just wanted to clarify an answer someone gave but I don't have enough points yet. diff will work on binary files but it is only going to say something not really useful like "toto1 and toto2 binary files differ".
null
CC BY-SA 3.0
null
2008-08-27T15:00:39.960
2015-09-17T20:06:18.837
2015-09-17T20:06:18.837
3,345,302
2,974
null
30,368
2
null
30,297
1
null
Took about a day for me when I requested one so I suspect some sort of manual/semi-automated process has to complete before you get the e-mail. Give it a day before you start bugging them ;)
null
CC BY-SA 2.5
null
2008-08-27T14:58:21.603
2008-08-27T14:58:21.603
null
null
2,114
null
30,371
2
null
30,318
1
null
I'm not exactly sure what you're asking for. You can either have a GUI or a command line. What do you need from a graphical command shell that you couldn't get from a straight GUI? Also, if you want graphical information about file sizes there are a few applications that do that. One example is [WinDirStat](http://...
null
CC BY-SA 2.5
null
2008-08-27T15:01:14.593
2008-08-27T15:01:14.593
null
null
1,804
null
30,369
2
null
30,211
1
null
There are both zip and unzip executables (as well as a boat load of other useful applications) in the UnxUtils package available on SourceForge ([http://sourceforge.net/projects/unxutils](http://sourceforge.net/projects/unxutils)). Copy them to a location in your PATH, such as 'c:\windows', and you will be able to incl...
null
CC BY-SA 2.5
null
2008-08-27T14:58:23.257
2008-08-27T14:58:23.257
null
null
3,210
null
30,373
1
30,420
null
76
17,989
I remember first learning about vectors in the STL and after some time, I wanted to use a vector of bools for one of my projects. After seeing some strange behavior and doing some research, I learned that [a vector of bools is not really a vector of bools](http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=...
What C++ pitfalls should I avoid?
CC BY-SA 3.0
0
2008-08-27T15:03:00.173
2017-12-05T18:47:36.597
2014-01-22T21:14:04.110
63,550
2,328
[ "c++", "stl" ]
30,378
2
null
30,354
2
null
Strictly speaking never, but it gives the garbage collector a strong hint to clean things up. As a rule: .
null
CC BY-SA 2.5
null
2008-08-27T15:05:45.830
2008-08-27T15:05:45.830
null
null
2,443
null
30,375
2
null
30,307
0
null
[@Ross](https://stackoverflow.com/questions/30307/why-would-getcwd-return-a-different-directory-than-a-local-pwd#30363) I figured it out and updated the OP with the solution.
null
CC BY-SA 2.5
null
2008-08-27T15:03:41.343
2008-08-27T15:03:41.343
2017-05-23T12:34:54.180
-1
305
null
30,382
2
null
30,354
2
null
Setting a VB6 reference to Nothing, decreases the refecences count that VB has for that object. If and only if the count is zero, then the object will be destroyed. Don't think that just because you set to Nothing it will be "garbage collected" like in .NET VB6 uses a reference counter. You are encouraged to set to...
null
CC BY-SA 2.5
null
2008-08-27T15:07:40.707
2008-08-27T15:07:40.707
null
null
2,684
null
30,366
2
null
30,121
1
null
@LKM AJAX is the clear winner here. This will also allow you to follow the [DRY](http://en.wikipedia.org/wiki/Don%27t_repeat_yourself) principle. Why would you want to write your parsing code in Javascript PHP?
null
CC BY-SA 2.5
null
2008-08-27T14:57:47.517
2008-08-27T14:57:47.517
null
null
72
null
30,383
2
null
30,354
2
null
I had a problem similar to this a while back. I seem to think it would also prevent the app from closing, but it may be applicable here. I pulled up the old code and it looks something like: ``` Dim y As Long For y = 0 To Forms.Count -1 Unload Forms(x) Next ``` It may be safer to Unload the m_frm1. and not jus...
null
CC BY-SA 2.5
null
2008-08-27T15:07:44.703
2008-08-27T15:07:44.703
null
null
2,818
null
30,384
2
null
30,373
4
null
The book [C++ Gotchas](http://www.semantics.org/cpp_gotchas/) may prove useful.
null
CC BY-SA 3.0
null
2008-08-27T15:07:51.783
2014-01-22T21:26:28.150
2014-01-22T21:26:28.150
63,550
2,590
null
30,379
1
30,394
null
3
1,498
We have a Windows Server Web Edition 2003 Web Farm. What can we use that handles replication across the servers for: Content & IIS Configuration (App Pools, Virtual Directories, etc...) We will be moving to Windows 2008 in the near future, so I guess what options are there on Windows 2008 as well.
How do I replicate content on a web farm
CC BY-SA 3.0
0
2008-08-27T15:05:51.650
2017-08-04T14:13:41.027
2017-08-04T14:13:41.027
1,836,618
2,349
[ "iis", "replication", "webserver" ]
30,391
2
null
30,373
8
null
The web page [C++ Pitfalls](http://developer.kde.org/~wheeler/cpp-pitfalls.html) by Scott Wheeler covers some of the main C++ pitfalls.
null
CC BY-SA 3.0
null
2008-08-27T15:09:09.987
2014-01-22T21:27:20.563
2014-01-22T21:27:20.563
63,550
269
null
30,346
1
30,360
null
4
1,805
Header, footer and sidebars have fixed position. In the center a content area with both scroll bars. No outer scroll bars on the browser. I have a layout that works in IE7 and FF. I need to add IE6 support. How can I make this work? Here is an approximation of my current CSS. ``` <!DOCTYPE html PUBLIC "-//W3C//DTD XHTM...
Fixed page layout in IE6
CC BY-SA 4.0
0
2008-08-27T14:50:58.643
2020-07-19T23:43:46.950
2020-07-19T23:43:46.950
10,564,525
3,211
[ "html", "css", "xhtml", "internet-explorer-6" ]
30,388
2
null
30,004
4
null
For an embedded database, you can use [SQL Server Compact Edition](http://www.microsoft.com/sql/editions/compact/default.mspx). Unlike SQL Server Express, it is compatible with the LINQ to SQL designer, but it is fully compatible with the command-line SQLMetal. It has a few advantages over SQL Express, like to abili...
null
CC BY-SA 2.5
null
2008-08-27T15:08:31.610
2008-08-27T15:08:31.610
null
null
308
null
30,394
2
null
30,379
1
null
I'd look into [Windows Distributed File System](http://www.microsoft.com/windowsserver2003/techinfo/overview/dfs.mspx). It should be supported by both Windows Server 2003 & 2008.
null
CC BY-SA 2.5
null
2008-08-27T15:10:21.497
2008-08-27T15:10:21.497
null
null
72
null
30,404
2
null
17
11
null
The question also arises how to get the data into the BLOB. You can put the data in an INSERT statement, as the PHP example shows (although you should use [mysql_real_escape_string](http://www.php.net/mysql-real-escape-string) instead of addslashes). If the file exists on the database server, you can also use MySQL's [...
null
CC BY-SA 2.5
null
2008-08-27T15:13:31.693
2008-08-27T15:13:31.693
null
null
3,254
null
30,398
2
null
30,354
4
null
@Martin > VB6 had a "With/End With" statement that worked "like" the Using() statement in C#.NET. And of course, the less global things you have, the better for you. With/End With does not working like the Using statement, it doesn't "Dispose" at the end of the statement. With/End With works in VB 6 just like it do...
null
CC BY-SA 4.0
null
2008-08-27T15:11:41.993
2019-12-16T06:23:19.943
2019-12-16T06:23:19.943
12,258,312
2,349
null
30,409
2
null
26,567
24
null
Alter the report's text box to: ``` = Fields!Addr1.Value + VbCrLf + Fields!Addr2.Value + VbCrLf + Fields!Addr3.Value ```
null
CC BY-SA 3.0
null
2008-08-27T15:15:01.563
2015-07-14T02:05:49.107
2015-07-14T02:05:49.107
4,490,873
2,156
null
30,397
1
null
null
7
13,625
I am trying to set up dynamic per-item menus (Edit Control Block) in SharePoint 2007. My goal is to have certain features that are available based on the current user's group membership. I know that the CustomAction tag that controls the creation of this menu item has a Rights attribute. The problem that I have with...
Dynamically display Edit Control Block menu item in SharePoint
CC BY-SA 2.5
0
2008-08-27T15:11:38.733
2008-10-02T09:50:03.083
2008-09-24T16:37:01.017
3,957
2,470
[ "javascript", "sharepoint", "moss", "document-library" ]
30,372
2
null
30,230
1
null
> I can't find that "WebForm_FireDefaultButton" javascript anywhere, is it something asp.net is generating? Yes. That's generated to support the functionality of the form and/or Panel containing your controls. This is the source for it: ``` function WebForm_FireDefaultButton(event, target) { if (event.keyCode ==...
null
CC BY-SA 2.5
null
2008-08-27T15:02:12.157
2008-08-27T15:02:12.157
null
null
60
null
30,412
2
null
30,373
16
null
Some must have C++ books that will help you avoid common C++ pitfalls: [Effective C++](https://rads.stackoverflow.com/amzn/click/com/0321334876) [More Effective C++](https://rads.stackoverflow.com/amzn/click/com/020163371X) [Effective STL](https://rads.stackoverflow.com/amzn/click/com/0201749629) The Effective STL bo...
null
CC BY-SA 2.5
null
2008-08-27T15:15:18.460
2008-08-27T15:15:18.460
null
null
2,284
null
30,413
2
null
29,324
0
null
> And is there a way to populate the table with a list of key->value pairs without individually calling an add method on the object for each pair? One problem with your question is that you don't mention what what form your data is in to begin with. If your list of pairs happened to be a list of Map.Entry objects it w...
null
CC BY-SA 2.5
null
2008-08-27T15:15:37.570
2008-08-27T15:15:37.570
null
null
3,211
null
30,406
2
null
30,222
0
null
The other suggestions are good if you have "SQL only". However I suggest, that - - you calculate the date in your program and insert it as string in the SQL query. At least for for big tables (i.e. several million rows, maybe combined with joins) that will give you a considerable speed improvement as the optimizer c...
null
CC BY-SA 2.5
null
2008-08-27T15:13:39.010
2008-08-27T15:13:39.010
null
null
999
null
30,419
2
null
17,020
1
null
Did you know 1TB can easily take up to half an hour to `fsck`? Workstations usually crash and reboot more often than servers, so that can get quite annoying. Do you really need all that space?
null
CC BY-SA 2.5
null
2008-08-27T15:17:02.183
2008-08-27T15:17:02.183
null
null
2,686
null
30,415
2
null
17,020
2
null
@wvdschel: Don't create separate partitions for each user. Unused space on each partition is wasted. Instead create one partition for all users. Use `quota` if necessary to limit each user's space. It's much more flexible than partitioning or LVM. OTOH, one huge partition is usually a bit slower, depending on the fi...
null
CC BY-SA 2.5
null
2008-08-27T15:15:51.127
2008-08-27T15:15:51.127
null
null
2,686
null
30,402
2
null
30,160
2
null
[DrJava](http://www.drjava.org/) is your best bet. It also has an [Eclipse plugin](http://www.drjava.org/eclipse.shtml) to use the interactions pane like GroovyConsole.
null
CC BY-SA 2.5
null
2008-08-27T15:12:42.693
2008-08-27T15:12:42.693
null
null
3,087
null
30,414
2
null
29,886
0
null
: Ajax Navigation is a [regular feature](http://blogs.msdn.com/ie/archive/2008/07/14/ie8-ajax-navigation.aspx) of the upcoming IE8.
null
CC BY-SA 2.5
null
2008-08-27T15:15:42.903
2008-08-27T15:15:42.903
null
null
1,182
null
30,426
2
null
30,373
3
null
The most important pitfalls for beginning developers is to avoid confusion between C and C++. C++ should never be treated as a mere better C or C with classes because this prunes its power and can make it even dangerous (especially when using memory as in C).
null
CC BY-SA 2.5
null
2008-08-27T15:21:23.903
2008-08-27T15:21:23.903
null
null
1,968
null
30,408
2
null
30,160
2
null
try beanshell. its a scripting wrapper over java. [http://www.beanshell.org/](http://www.beanshell.org/)
null
CC BY-SA 2.5
null
2008-08-27T15:14:41.877
2008-08-27T15:14:41.877
null
null
3,253
null
30,424
2
null
30,337
1
null
There is a very rough percentage of browsers with JRE available at [The Counter](http://www.thecounter.com/stats/2008/August/java.php), though I wouldn't trust it. Sun has a few useful [stats from 2007](http://www.sun.com/aboutsun/media/presskits/javaone2007/index.jsp#stats), but their [stats from 2008](http://www.sun...
null
CC BY-SA 2.5
null
2008-08-27T15:18:51.570
2008-08-27T15:18:51.570
null
null
2,963
null
30,422
2
null
30,346
0
null
Try IE7.js. Should fix your problem without having to make any modifications. Link: [IE7.js](http://code.google.com/p/ie7-js/)
null
CC BY-SA 2.5
null
2008-08-27T15:17:25.117
2008-08-27T15:17:25.117
null
null
565
null
30,416
2
null
30,337
1
null
I'm not aware of anyone who keeps track of this publicly on a regular basis (unlike Adobe who pushes it every chance they get). The closest that I could come was [this article](http://kaioa.com/node/40) from last November. Based upon his site, this data could be skewed a bit, but I think we fairly similar numbers as ...
null
CC BY-SA 2.5
null
2008-08-27T15:16:14.853
2008-08-27T15:16:14.853
null
null
1,432
null
30,434
2
null
18,606
1
null
There's also Exchange Web Services in newer versions of Exchange. If you need to use Outlook Express and talk to an Exchange server which doesn't support IMAP/POP3, you're stuck, sadly.
null
CC BY-SA 2.5
null
2008-08-27T15:24:39.887
2008-08-27T15:24:39.887
null
null
3,220
null
30,420
2
null
30,373
76
null
A short list might be: - - [Resource Acquisition Is Initialization](https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization)- - - RAII, shared pointers and minimalist coding are of course not specific to C++, but they help avoid problems that do frequently crop up when developing in the language. Some...
null
CC BY-SA 3.0
null
2008-08-27T15:17:15.537
2014-01-22T21:25:48.570
2014-01-22T21:25:48.570
63,550
3,114
null
30,430
1
30,432
null
8
726
I'm currently using VS2005 Profesional and .NET 2.0, and since our project is rather large (25 projects in the solution), I'd like to try VS 2008, since its theoretically faster with larger projects. Before doing such thing, i'd like to know if what I've read is true: can I use VS2008 in ".net 2.0" mode? I don't want...
Moving from Visual Studio 2005 to 2008 and .NET 2.0
CC BY-SA 2.5
null
2008-08-27T15:22:52.590
2010-02-22T19:59:30.860
2008-08-27T15:27:09.943
905
2,684
[ "c#", ".net", "visual-studio", ".net-3.5", ".net-2.0" ]
30,427
2
null
17,020
1
null
I would go with a 1 GB for /boot, 100 GB for /, and the rest for /home. 1 GB is probably too high for /boot, but it's not like you'll miss it. 100 GB might seem like a lot for everything outside home, until you start messing around with Databases and realize that MySQL keeps databases in /var. Best to leave some roo...
null
CC BY-SA 2.5
null
2008-08-27T15:21:23.920
2008-08-27T15:21:23.920
null
null
1,862
null
30,439
2
null
3,088
0
null
The best way to learn anything is to start with the basic. You can find any good text book to explain what programming is, memory, algorithms. The next step select the language which it just depends on what the teacher knows or why the student wants to learn. Then it is just code, code, code. Code every example...
null
CC BY-SA 2.5
null
2008-08-27T15:25:04.833
2008-08-27T15:25:04.833
null
null
2,469
null
30,442
2
null
30,430
4
null
Yes it's possible. In the project properties you can target different versions of the .Net Framework going back to .NET 2.0. Upgrading to VS 2008 will upgrade your Solution file and you won't be able to go back to VS 2005 unless you have backed up your solution
null
CC BY-SA 2.5
null
2008-08-27T15:25:46.657
2008-08-27T15:25:46.657
null
null
648
null
30,441
2
null
30,430
1
null
Yes you can run 2.0 with VS2008. Be sure to select that when you convert, however. When converting a project, I mistakenly left in the ASP.NET 3.5 conversion, and then all new files contained references to Linq, so it was a little bit of a pain to switch back to 2.0 when I realized the mistake.
null
CC BY-SA 2.5
null
2008-08-27T15:25:27.593
2008-08-27T15:25:27.593
null
null
3,018
null
30,437
2
null
30,430
1
null
It is possible to have a 2.0 project in VS 2008. You would just target .NET Framework 2.0 under the project properties. Your solution will have to be converted to a VS9 solution however.
null
CC BY-SA 2.5
null
2008-08-27T15:24:55.207
2008-08-27T15:24:55.207
null
null
2,993
null
30,428
1
null
null
7
3,764
Would like to hear from people about their experience with java clustering (ie. implementing HA solutions). aka . terracotta, JGroups etc. It doesn't have to be web apps. Experience writing custom stand alone servers would be great also. : I will be a bit more specific -> not that interested in Web App clustering ...
Experience with Java clustering?
CC BY-SA 3.0
0
2008-08-27T15:21:31.830
2017-08-19T14:21:06.853
2017-08-19T14:21:06.853
7,275,984
3,027
[ "java", "cluster-computing", "terracotta", "jgroups" ]
30,432
2
null
30,430
3
null
yes, vs2008 can "[target](http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx)" a framework, but i think by default, if converting from vs2005 - vs2008 it just keeps it at framework 2.0
null
CC BY-SA 2.5
null
2008-08-27T15:24:20.887
2008-08-27T15:24:20.887
null
null
77
null
30,445
2
null
30,354
9
null
Actually, VB6 implements [RAII](http://en.wikipedia.org/wiki/RAII) just like C++ meaning that locally declared references automatically get set to `Nothing` at the end of a block. Similarly, it automatically reset member class variables after executing `Class_Terminate`. However, there have been several reports that t...
null
CC BY-SA 2.5
null
2008-08-27T15:27:05.903
2008-08-27T15:27:05.903
null
null
1,968
null
30,452
2
null
29,665
5
null
The Synthesis Toolkit (STK) is excellent, but it is C++ only: [http://ccrma.stanford.edu/software/stk/](http://ccrma.stanford.edu/software/stk/) You may be able to extract the wavetable synthesizer code from the STK though.
null
CC BY-SA 2.5
null
2008-08-27T15:31:08.967
2008-08-27T15:31:08.967
null
null
2,813
null
30,446
2
null
6,932
1
null
I would take a look at Main Concept's Reference SDK: [http://www.mainconcept.com/site/developer-products-6/pc-based-sdks-20974/reference-sdk-21221/information-21243.html](http://www.mainconcept.com/site/developer-products-6/pc-based-sdks-20974/reference-sdk-21221/information-21243.html) It is built for transcoding an...
null
CC BY-SA 2.5
null
2008-08-27T15:27:15.030
2008-08-27T15:27:15.030
null
null
2,813
null
30,449
2
null
30,373
3
null
Check out [boost.org](http://boost.org). It provides a lot of additional functionality, especially their smart pointer implementations.
null
CC BY-SA 2.5
null
2008-08-27T15:29:04.540
2008-08-27T15:29:04.540
null
null
3,261
null
30,447
2
null
30,430
0
null
Yes, the feature that enables this is Visual Studio 2008 is called multi-targeting. See [this link](http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx) for more information. To use it you simply open the Properties for your Project, and select the Target Framework you want from the d...
null
CC BY-SA 2.5
null
2008-08-27T15:27:35.717
2008-08-27T15:27:35.717
null
null
3,114
null
30,444
2
null
4,508
1
null
You could also use [Outlook Redemption](http://www.dimastr.com/redemption/), which is supported from managed code; I'm not immediately sure if it has a simple MAPISendDocuments replacement, but Dmitry's helpful if you have questions. As for "crashes and burns", here's another quote from an MS support guy, [here](http:...
null
CC BY-SA 2.5
null
2008-08-27T15:26:23.767
2008-08-27T15:26:23.767
null
null
3,220
null
30,436
2
null
30,318
5
null
[Hotwire](http://hotwire-shell.org) is an attempt to combine the power of the traditional command line interface with GUI elements. So it has a GUI side, and tries to be helpful in suggesting commands, and in showing you possible matches from your history. (While there are keyboard shortcuts to do this in bash and ot...
null
CC BY-SA 2.5
null
2008-08-27T15:24:42.430
2008-08-27T15:24:42.430
null
null
3,189
null
30,461
2
null
10,515
0
null
Why not go with Apache on Windows?
null
CC BY-SA 2.5
null
2008-08-27T15:34:54.090
2008-08-27T15:34:54.090
null
null
1,862
null
30,456
2
null
29,802
0
null
During internal development, I'm using milestone numbers (M1, M2, M3...). After release, I'll probably just update dates ("the January 2009 update").
null
CC BY-SA 2.5
null
2008-08-27T15:32:27.887
2008-08-27T15:32:27.887
null
null
1,914
null
30,458
2
null
10,515
0
null
Since you're moving from LAMP (a somewhat cool acronym) to WIMP (a less cool one), you may need to mentally affirm yourself. Otherwise, I've had very little trouble with PHP on Windows. ISAPI rewrite ([http://www.isapirewrite.com/](http://www.isapirewrite.com/)) is $99 and has worked very well for me for URL rewritin...
null
CC BY-SA 2.5
null
2008-08-27T15:33:02.300
2008-08-27T15:33:02.300
null
null
1,418
null
30,475
2
null
30,465
1
null
You could also have the application send a POST http request directly to a URL on your server.
null
CC BY-SA 2.5
null
2008-08-27T15:39:32.910
2008-08-27T15:39:32.910
null
null
3,044
null
30,465
1
null
null
8
1,925
What's the best way to close the loop and have a desktop app "call home" with customer feedback? Right now our code will login to our SMTP server and send me some email.
How to collect customer feedback?
CC BY-SA 2.5
0
2008-08-27T15:36:15.570
2013-06-11T14:29:45.270
2012-04-30T07:03:11.387
300,863
1,490
[ "user-experience", "feedback" ]
30,479
2
null
29,406
2
null
Try to write code to be more flexible. For example, if you have a method that accepts an array as a parameter, would you be able to accept an IEnumerable or IList instead?
null
CC BY-SA 2.5
null
2008-08-27T15:39:46.387
2008-08-27T15:39:46.387
null
null
3,043
null
30,454
1
30,586
null
4
2,669
So I wrote some perl that would parse results returned from the [Amazon Web Services](http://aws.amazon.com/). I am using the `XML::Simple` package. For the most part, everything worked when I pulled out an element. However, the problem I ran into was when an element had an attribute as well. Then I get an error tha...
Parsing XML Elements & Attributes with Perl
CC BY-SA 3.0
0
2008-08-27T15:31:27.517
2012-05-03T02:00:52.297
2012-05-03T02:00:52.297
352,841
2,863
[ "xml", "perl", "amazon-web-services" ]
30,471
2
null
20,598
3
null
You can avoid having to use `strtotime()` or `getdate()` in by using MySQL's `UNIX_TIMESTAMP()` function. ``` SELECT UNIX_TIMESTAMP(timestamp) FROM sometable ``` The resulting data will be a standard integer Unix timestamp, so you can do a direct comparison to `time()`.
null
CC BY-SA 3.0
null
2008-08-27T15:37:51.057
2016-01-15T14:00:58.033
2016-01-15T14:00:58.033
1,771,479
3,250
null
30,477
2
null
28,949
0
null
Avoid finalizers. There is no guarantee that they will be called in a timely fashion. It could take quite a long time before the Memory Management system (i.e., the garbage collector) decides to collect an object with a finalizer. Many people use finalizers to do things like close socket connections or delete temp...
null
CC BY-SA 2.5
null
2008-08-27T15:39:37.700
2008-08-27T15:39:37.700
null
null
2,520
null
30,488
2
null
30,485
2
null
We use 50.
null
CC BY-SA 2.5
null
2008-08-27T15:42:06.243
2008-08-27T15:42:06.243
null
null
3,018
null
30,453
2
null
30,183
9
null
The dialog you're looking for is this one in the project properties: ![Platform target](https://farm4.static.flickr.com/3193/2803506716_e4e1285f0b_o.jpg) by default, the target will be "Any CPU" which means it'll run as 64bit on a 64bit OS (like you're using), or 32bit on a 32bit OS - so this wont stop it from workin...
null
CC BY-SA 2.5
null
2008-08-27T15:31:18.327
2008-08-27T15:44:08.763
2017-02-08T14:07:41.507
-1
1,367
null