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
23,353
2
null
23,310
24
null
Anything but Visual Source Safe; preferably one which supports the concepts of branching and merging. As others have said, Subversion is a great choice, especially with the TortoiseSVN client. Be sure to check out (pardon the pun) [Eric Sink's classic series of Source Control HOWTO articles](http://www.ericsink.com/sc...
null
CC BY-SA 2.5
null
2008-08-22T20:09:20.993
2008-08-22T20:09:20.993
null
null
2,084
null
23,367
2
null
23,205
0
null
You definitely want to test physically pulling the cable out. Lots of networking code will throw different exceptions in that scenario vs when the connection has just been lost.
null
CC BY-SA 2.5
null
2008-08-22T20:14:35.333
2008-08-22T20:14:35.333
null
null
2,348
null
23,368
2
null
23,205
0
null
To add to TimK's answer, if you have a router, test pulling the upstream link on the router, this will test a bad connection without your system knowing that you lost the physical link.
null
CC BY-SA 2.5
null
2008-08-22T20:16:01.647
2008-08-22T20:16:01.647
null
null
163
null
23,370
1
null
null
1
680
My `C#` program has a list of files that can be dragged from it and dropped into another program. My requirements are that the file be copied to a different directory first. So, can I be notified of the drop operation so that I can only copy the file if operation succeeds? I'd rather wait till I know it needs to be co...
Notification of drop in drag-drop in Windows
CC BY-SA 3.0
null
2008-08-22T20:16:42.363
2017-01-13T09:59:27.227
2017-01-13T09:59:27.227
3,777,113
645
[ "c#", "c++", "windows", "winapi", "com" ]
23,365
2
null
23,217
0
null
[@mercutio](https://stackoverflow.com/questions/23217/whats-the-purpose-if-any-of-javascript-in-event-handler-tags#23242) > > That's ridiculous. No, it's not ridiculous, javascript: is a pseudo protocol that can indeed only be used as the subject of a link, so he's quite right. Your suggestion is indeed better, but t...
null
CC BY-SA 2.5
null
2008-08-22T20:13:33.043
2008-08-22T20:13:33.043
2017-05-23T10:29:36.527
-1
137
null
23,372
1
null
null
0
4,297
What would be the best method for getting a custom element (that is using J2ME native Graphics) painted on LWUIT elements? The custom element is an implementation from mapping library, that paints it's content (for example Google map) to Graphics object. How would it be possible to paint the result directly on LWUIT e...
Painting javax.microedition.lcdui.Graphics on LWUIT Component
CC BY-SA 2.5
null
2008-08-22T20:17:27.683
2008-09-17T18:45:20.260
2008-09-08T17:20:15.487
706
706
[ "java", "java-me", "lwuit" ]
23,373
1
23,406
null
9
13,993
I have a simple little test app written in Flex 3 (MXML and some AS3). I can compile it to a SWF just fine, but I'd like to make it into an EXE so I can give it to a couple of my coworkers who might find it useful. With Flash 8, I could just target an EXE instead of a SWF and it would wrap the SWF in a projector, and...
Create an EXE from a SWF using Flex 3 without requiring AIR?
CC BY-SA 2.5
0
2008-08-22T20:18:12.610
2011-04-20T11:51:40.417
null
null
1,409
[ "apache-flex", "actionscript-3", "flash" ]
23,371
2
null
23,190
0
null
If I understand correctly, you want to sum all values in the cross section defined at each "bin" along 1 dimension. I suggest making a 1D array for your destination, then looping through each element in your array adding the value to the destination with the index of the dimension of interest. If you are using arbitr...
null
CC BY-SA 2.5
null
2008-08-22T20:16:57.683
2008-08-22T20:16:57.683
null
null
1,807
null
23,382
1
23,441
null
4
11,357
What are the different approaches for creating scheduled tasks for web applications, with or without a separate web/desktop application?
Scheduled Tasks for Web Applications
CC BY-SA 2.5
null
2008-08-22T20:22:47.420
2022-07-26T23:04:55.887
2012-05-04T05:41:50.880
68,304
2,141
[ "scheduled-tasks" ]
23,386
2
null
23,382
2
null
I think Stack Overflow itself is using an ApplicationCache expiration to run background code at intervals.
null
CC BY-SA 2.5
null
2008-08-22T20:24:12.610
2008-08-22T20:24:12.610
null
null
1,219
null
23,385
2
null
23,277
5
null
To expand on Konrad's comment: > and the order of evaluation is not well-defined Some functional languages have what is called Lazy Evaluation. Which means a function is not executed until the value is needed. Until that time the function itself is what is passed around. Procedural languages are step 1 step 2 st...
null
CC BY-SA 2.5
null
2008-08-22T20:23:21.117
2009-02-16T14:10:18.767
2009-02-16T14:10:18.767
31,615
580
null
23,387
2
null
23,382
2
null
If you're on a Linux host, you'll almost certainly be using [cron](http://en.wikipedia.org/wiki/Cron).
null
CC BY-SA 2.5
null
2008-08-22T20:24:55.637
2008-08-22T20:24:55.637
null
null
1,902,010
null
23,389
2
null
23,376
4
null
In sql 2008 you have native compression, if you have to do this a lot and don't have SQL server 2008 then take a look at something like [Quest LiteSpeed](http://www.quest.com/litespeed-for-sql-server/) which compreeses the backup automatically
null
CC BY-SA 2.5
null
2008-08-22T20:25:19.613
2008-08-22T20:25:19.613
null
null
740
null
23,391
1
23,505
null
9
2,272
My path to a 'fulltime'- developer stated as a analyst using VBA with Excel, Access, and then onto C#. I went to college part time once I discovered I had a passion for coding not business. I do about most of my coding in C#, but being an ASP.NET developer I also write in HTML, JavaScript, SQL etc. . . the usual sus...
What should I learn to increase my skills?
CC BY-SA 4.0
0
2008-08-22T20:25:46.103
2018-08-18T04:44:48.280
2018-08-18T04:44:48.280
8,289,095
2,469
[ "c#", ".net" ]
23,392
2
null
23,382
1
null
Under linux you can use cron jobs ([http://www.unixgeeks.org/security/newbie/unix/cron-1.html](http://www.unixgeeks.org/security/newbie/unix/cron-1.html)) to schedule tasks. Use URL fetchers like wget or curl to make HTTP GET requests. Secure your URLs with authentication so that no one can execute the tasks without ...
null
CC BY-SA 2.5
null
2008-08-22T20:26:04.587
2008-08-22T20:26:04.587
null
null
2,554
null
23,395
2
null
3,088
1
null
[Project Euler](http://projecteuler.net/) has a number of interesting mathematics problems that could provide great material for a beginning programmer to cut her teeth on. The problems begin easy and increase in difficulty and the web is [full of sample solutions in various programming languages](http://www.google.com...
null
CC BY-SA 2.5
null
2008-08-22T20:27:05.803
2008-08-22T20:27:05.803
null
null
2,543
null
23,396
2
null
23,205
1
null
> To add to TimK's answer, if you have a router, test pulling the upstream link on the router, this will test a bad connection without your system knowing that you lost the physical link. Also if you plug it back in after a few seconds it's possible that the connection won't be lost*. This can simulate a very high lat...
null
CC BY-SA 2.5
null
2008-08-22T20:27:35.973
2008-08-22T20:27:35.973
null
null
1,534
null
23,393
2
null
23,310
0
null
I'd also recommend Subversion. It does not take too long to set up, it is free, and there is a really good book available online that goes over the basics as well as some advanced topics: [](http://svnbook.red-bean.com/)[http://svnbook.red-bean.com/](http://svnbook.red-bean.com/)
null
CC BY-SA 2.5
null
2008-08-22T20:26:08.473
2008-08-22T20:26:08.473
null
null
1,441
null
23,359
2
null
888
0
null
The integrated debuggers where you can watch the values of variable change as you step through code are really cool. They do, however, require software setup on the server and a certain amount of configuration on the client. Both of which require periodic maintenance to keep in good working order. A print_r is easy to...
null
CC BY-SA 2.5
null
2008-08-22T20:10:54.860
2008-08-22T20:10:54.860
null
null
2,158
null
23,376
1
null
null
1
3,049
Has anyone found a good compression format for MS Sqlserver databases? If so, what do you use and are you pleased with how it performs? My company frequently will compress a database snapshot from one of our clients and download it so we have a local copy for testing and dev purposes. We tried zip in the past, but on...
Best/fastest compression format for (sqlserver) databases?
CC BY-SA 2.5
null
2008-08-22T20:21:39.717
2022-08-09T11:35:24.283
2008-10-08T22:35:13.987
15,401
2,188
[ "sql-server", "compression", "zip" ]
23,397
1
null
null
23
32,777
How do I implement some logic that will allow me to reproduce on Windows the functionality that I have on Linux with the `fork()` system call, using Python? I'm specifically trying to execute a method on the SAPI Com component, while continuing the other logic in the main thread without blocking or waiting.
What's the best way to duplicate fork() in windows?
CC BY-SA 3.0
0
2008-08-22T20:27:46.767
2021-05-04T07:51:15.730
2014-02-12T21:29:00.603
321,731
2,555
[ "python", "windows", "process", "subprocess", "fork" ]
23,406
2
null
23,373
22
null
In your Flex SDK folders you should see a 'runtimes\player\win\FlashPlayer.exe' which is a stand alone Flash player. Open your SWF with that and you'll see a 'Create Projector...' menu item in the File menu which will create the stand-alone EXE.
null
CC BY-SA 2.5
null
2008-08-22T20:31:22.390
2008-08-22T20:31:22.390
null
null
2,508
null
23,402
1
23,417
null
10
4,305
Anything thats as good and as stable and as feature-rich as gigaspaces?
Are there any alternatives to Gigaspaces?
CC BY-SA 2.5
0
2008-08-22T20:30:04.017
2013-08-11T02:35:32.870
null
null
2,554
[ "java", "jakarta-ee", "gigaspaces" ]
23,408
2
null
23,310
0
null
Subversion with tortoisesvn. (tortoisesvn because you can see a lot of what goes on visually and will provide a good jumping off point for the command line stuff. ) There is tons of documentation out there and most likely you will see it at least one point in your career. Almost every company I have worked for and inte...
null
CC BY-SA 2.5
null
2008-08-22T20:31:59.783
2008-08-22T20:31:59.783
null
null
1,632
null
23,399
1
23,432
null
0
240
I've got an interesting design question. I'm designing the security side of our project, to allow us to have different versions of the program for different costs and also to allow Manager-type users to grant or deny access to parts of the program to other users. Its going to web-based and hosted on our servers. I'm...
Is it better to structure an SQL table to have a match, or return no result
CC BY-SA 3.0
null
2008-08-22T20:28:38.887
2016-08-10T18:48:40.313
2016-08-10T18:48:40.313
1,274,572
1,470
[ "sql", "sql-server", "optimization" ]
23,403
2
null
23,391
2
null
Yeah, the more I get into software, I start to see myself focusing less on the language and more on the design.. Yeah there are framework bits we need to get our head around but most of the time ( not all ) you can look those up as-and-when you need them.. But a good design head? That takes years of experience to st...
null
CC BY-SA 2.5
null
2008-08-22T20:30:30.070
2008-08-22T20:30:30.070
null
null
832
null
23,412
2
null
23,382
1
null
I think Windows' built-in Task Scheduler is the suggested tool for this job. That requires an outside application.
null
CC BY-SA 2.5
null
2008-08-22T20:33:13.027
2008-08-22T20:33:13.027
null
null
1,490
null
23,413
2
null
23,399
1
null
I would vote for Option B. If you go with Option A and the assumption that if a user exists, they can get in, then you'll eventually run into the problem that you'll want to deny access to a user, without removing the user record. There will be lots of cases where you'll want to lock a user out, but won't want to c...
null
CC BY-SA 2.5
null
2008-08-22T20:33:56.567
2008-08-22T20:33:56.567
null
null
1,862
null
23,414
2
null
23,397
0
null
Possibly a version of spawn() for python? [http://en.wikipedia.org/wiki/Spawn_(operating_system)](http://en.wikipedia.org/wiki/Spawn_(operating_system))
null
CC BY-SA 2.5
null
2008-08-22T20:34:00.747
2008-08-22T20:34:00.747
null
null
2,016
null
23,417
2
null
23,402
8
null
Gigaspaces is top notch as far as a Javaspaces implementation goes for scalability and performance. Are you restricted to a Javaspaces implementation? Blitz Javaspaces is top notch for a free product.
null
CC BY-SA 2.5
null
2008-08-22T20:35:55.970
2008-08-22T20:35:55.970
null
null
12,081
null
23,416
2
null
23,399
0
null
B. It allows for much better checks whether the data is complete (for example, when you add an allowable/deniable feature). Also, table size should only be a consideration for tables that you know will contain many records (as in, 100,000+). You even taking the time to type the table size consideration into this quest...
null
CC BY-SA 2.5
null
2008-08-22T20:35:30.510
2008-08-22T20:35:30.510
null
null
414
null
23,420
2
null
23,391
1
null
If you're now proficient with the languages and technologies you use, then start spending more time focusing on the design, solution architecture, and systems integration. The "bigger picture" that will set you apart from your contemporaries. Check out some Martin Fowler books like "Patterns of Enterprise Application ...
null
CC BY-SA 2.5
null
2008-08-22T20:37:35.823
2008-08-22T20:37:35.823
null
null
2,084
null
23,419
2
null
23,382
1
null
This may or may not be what you're looking for, but read this article, "[Simulate a Windows Service using ASP.NET to run scheduled jobs](http://www.codeproject.com/kb/aspnet/aspnetservice.aspx)". I think StackOverflow may use this method or it was at least talked about using it.
null
CC BY-SA 2.5
null
2008-08-22T20:36:20.303
2008-08-22T20:36:20.303
null
null
1,953
null
23,425
2
null
23,373
2
null
imaginaryboy gets it right, I believe. Btw, since you don't have Flex Builder, you might look into the free and open source FlashDevelop if you're on Windows. It's my favorite environment for developing anything Actionscript (the Flex support is pretty great, too).
null
CC BY-SA 2.5
null
2008-08-22T20:38:23.107
2008-08-22T20:38:23.107
null
null
1,344
null
23,423
2
null
23,391
1
null
Maybe learn more about Usability (best practices, testing, etc.) if you haven't already done so. Steve Krug's "Don't Make Me Think" is a good book to start with. [Jakob Nielsen](http://www.useit.com/alertbox/) always has interesting stuff as well.
null
CC BY-SA 2.5
null
2008-08-22T20:38:19.817
2008-08-22T20:38:19.817
null
null
2,505
null
23,415
2
null
23,391
1
null
As you continue to gain more experience in ASP.Net, C#, etc - it's always good to go check out the competition and see if it sparks ideas on how you can do things better in what you're doing. Taking a look at something like Rails or Django might change how you look at designing or building your apps.
null
CC BY-SA 2.5
null
2008-08-22T20:34:37.063
2008-08-22T20:34:37.063
null
null
2,555
null
23,430
2
null
23,310
2
null
I found [http://unfuddle.com](http://unfuddle.com) saved me messing about with installing SVN or git. You can get a free account in there and use either of those - plus you can use your OpenID there. Then you avoid having to mess about setting it up right and focus on how you're going to use it!
null
CC BY-SA 2.5
null
2008-08-22T20:39:40.390
2008-08-22T20:39:40.390
null
null
2,362
null
23,426
2
null
23,228
9
null
Well I guess you have to be rather particular about it, but like people are saying, it makes more sense for String.Format to be static because of the implied semantics. Consider: ``` "Hello {0}".Format("World"); // this makes it sound like Format *modifies* // the string, which is not pos...
null
CC BY-SA 2.5
null
2008-08-22T20:38:40.767
2008-08-23T00:43:02.723
2008-08-23T00:43:02.723
26
1,710
null
23,422
2
null
23,397
3
null
Have a look at the process management functions in the [os module](http://python.org/doc/2.5/lib/os-process.html). There are function for starting new processes in many different ways, both synchronously and asynchronously. I should note also that Windows doesn't provide functionality that is exactly like fork() on ot...
null
CC BY-SA 2.5
null
2008-08-22T20:38:18.147
2008-08-22T20:38:18.147
null
null
893
null
23,432
2
null
23,399
4
null
If it's only going to be Allow/Deny, then a simple linking table between Users and Resources would work fine. If there is an entry keyed to the User-Resource in the linking table, allow access. ``` UserResources ------------- UserId FK->Users ResourceId FK->Resources ``` and the sql would be something like ``` if...
null
CC BY-SA 2.5
null
2008-08-22T20:41:25.190
2008-08-22T20:41:25.190
null
null
1,219
null
23,436
2
null
23,370
0
null
So, you intend to modify the data being dropped based on the drop target? I don't think this is possible; after all, you populate the data when the drag is initiated.
null
CC BY-SA 2.5
null
2008-08-22T20:42:23.770
2008-08-22T20:42:23.770
null
null
1,490
null
23,435
2
null
23,250
245
null
I don't mean this to sound snarky, but it doesn't matter. Seriously. Look at the things that are important: your project, your code, your job, your personal life. None of them are going to have their success rest on whether or not you use the "this" keyword to qualify access to fields. The this keyword will not help ...
null
CC BY-SA 2.5
null
2008-08-22T20:42:19.137
2011-03-16T09:27:03.470
2011-03-16T09:27:03.470
516,138
1,737,192
null
23,439
1
25,899
null
1
2,584
My website is entirely flash based, it moves around a 3D model which was given to me as chunks of video that I've converted to FLV files. I'm using the FLVPlayback component to control the video inside of my program. While running memory checks using System.totalMemory I've noticed that whenever a video is loaded, it w...
FLVPlayback component memory issues
CC BY-SA 2.5
0
2008-08-22T20:44:55.150
2022-09-06T12:02:07.827
null
null
1,945
[ "actionscript-3", "memory", "video", "flash" ]
23,442
2
null
23,190
2
null
This kind of thing is much easier if you use STL containers, or maybe [Boost.MultiArray](http://www.boost.org/libs/multi_array/doc/index.html). But if you must use an array: ``` #include <iostream> #include <boost/foreach.hpp> #include <vector> int sum(int x) { return x; } template <class T, unsigned N> int sum(...
null
CC BY-SA 2.5
null
2008-08-22T20:46:19.110
2008-08-22T21:19:16.880
2008-08-22T21:19:16.893
2,434
2,434
null
23,445
1
null
null
42
111,388
I have two collections of the same object, `Collection<Foo> oldSet` and `Collection<Foo> newSet`. The required logic is as follow: - `foo``oldSet``newSet``doRemove(foo)`- `foo``oldSet``newSet``doAdd(foo)`- `foo``doUpdate(oldFoo, newFoo)`- `!foo.activated && foo.startDate >= now``doStart(foo)`- `foo.activated && foo.e...
How Best to Compare Two Collections in Java and Act on Them?
CC BY-SA 2.5
0
2008-08-22T20:47:16.520
2017-09-29T03:56:40.390
null
null
2,551
[ "java", "collections" ]
23,446
1
23,473
null
18
34,672
Have just started using Visual Studio Professional's built-in unit testing features, which as I understand, uses MS Test to run the tests. The .trx file that the tests produce is xml, but was wondering if there was an easy way to convert this file into a more "manager-friendly" format? My ultimate goal is to be able ...
How do I format Visual Studio Test results file (.trx) into a more readable format?
CC BY-SA 2.5
0
2008-08-22T20:48:03.897
2020-04-26T02:52:19.917
2008-08-23T20:02:47.257
2,134
443
[ "visual-studio-2008", "unit-testing" ]
23,441
2
null
23,382
4
null
If we're talking Microsoft platform, then I'd always develop a separate Windows Service to handle such batch tasks. You can always reference the same assemblies that are being used by your web application to avoid any nasty code duplication.
null
CC BY-SA 2.5
null
2008-08-22T20:46:18.347
2008-08-22T21:05:34.197
2008-08-22T21:05:34.197
2,084
2,084
null
23,448
1
24,167
null
19
5,650
Has anyone worked with [DSLs (Domain Specific Languages)](http://www.google.com.br/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDomain-specific_programming_language&ei=QyWvSIXcC4foebjSlHs&usg=AFQjCNFsZOnJm-AGmi5sxai8YI-0Al6wfA&sig2=6nX5EkUmNkEwiSKAkUeyZQ) in the finance domain? I am planning to intro...
DSLs (Domain Specific Languages) in Finance
CC BY-SA 3.0
0
2008-08-22T20:48:14.003
2018-04-06T19:35:27.270
2018-04-06T19:35:27.270
6,332,918
2,015
[ "dsl", "finance" ]
23,456
2
null
22,309
0
null
A couple of years ago I found an ARM disassembler I used while doing some embedded work. However, I don't remember its name - though I think it was part of a larger package like an emulator or something. In your case, could you ask your compiler to generate an assembly listing of the compiled code? That might help giv...
null
CC BY-SA 2.5
null
2008-08-22T20:50:52.237
2008-09-13T01:51:53.303
2008-09-13T01:51:53.303
893
893
null
23,329
2
null
23,310
5
null
There are a few core concepts that I think are important to learn: 1. Check-ins/check-outs (obviously) 2. Local versions vs. server versions 3. Mapping/Binding a local workspace to a remote store or repository. 4. Merging your changes back into a file that contains changes from others. 5. Branching (what it is, when/...
null
CC BY-SA 2.5
null
2008-08-22T19:56:09.997
2009-12-04T20:28:31.047
2009-12-04T20:28:31.047
1,680
1,680
null
23,463
2
null
23,391
1
null
The more languages you know, the more marketable you are. Look and see what the more popular (market for, not fan base) languages are, then add on some cutting edge tech that is not in much use yet, rounded out by general programming skill. With your skill set I would recommend (as far as languages): - - Language a...
null
CC BY-SA 2.5
null
2008-08-22T20:53:18.157
2008-08-22T20:53:18.157
null
null
1,215
null
23,469
2
null
23,445
-1
null
For a set that small is generally not worth it to convert from an Array to a HashMap/set. In fact, you're probably best off keeping them in an array and then sorting them by key and iterating over both lists simultaneously to do the comparison.
null
CC BY-SA 2.5
null
2008-08-22T20:57:38.663
2008-08-22T20:57:38.663
null
null
1,247
null
23,282
2
null
23,190
2
null
@Jeff I actually think this is an interesting question. I'm not sure how useful it is, but it is a valid question. @Ed Can you provide a little more info on this question? You said the dimension of the array is dynamic, but is the number of elements dynamic as well? EDIT: I'm going to try and answer the question an...
null
CC BY-SA 2.5
null
2008-08-22T19:32:36.043
2008-08-22T20:32:24.120
2008-08-22T20:32:24.120
1,429
1,429
null
23,405
2
null
23,391
-1
null
Why don't you swap stacks and look at the LAMP stack? Or how about a functional language like haskell? Or write a DSL? Or an app for your phone?
null
CC BY-SA 2.5
null
2008-08-22T20:31:17.820
2008-08-22T20:31:17.820
null
null
1,116
null
23,472
1
23,533
null
1
363
Can anyone recommend some good resources that highlight the differences between Oracle and the AS/400 database? I am trying to help someone with a lot of AS/400 experience implement an Oracle installation, and they need some guidance. A book or online resource would be ideal.
Resources for an Oracle beginner
CC BY-SA 2.5
null
2008-08-22T20:58:21.703
2009-10-29T15:11:30.177
null
null
672
[ "oracle", "ibm-midrange" ]
23,468
2
null
22,976
2
null
Both answers were very helpful! Here's what I ended up with: ``` if( typeof( rpNameSpace ) == "undefined" ) rpNameSpace = {}; rpNameSpace.foo = function() { this.length = 613; } rpNameSpace.foo.prototype.getLength = function() { return this.length * 2; } ``` Then, to use the resulting "namespaced" object: ...
null
CC BY-SA 3.0
null
2008-08-22T20:56:44.997
2017-04-21T10:19:40.200
2017-04-21T10:19:40.200
3,641,067
2,536
null
23,477
2
null
11,724
0
null
Awesome, I'd never really known about the "Administrative Tools -> Local Security Settings -> Local Policies -> User Rights Assignment" under XP. My "Debug programs" policy is set to "Administrators" only, yet trying to debug now just worked and this is several days after installing the .NET framework 3.5, so maybe tha...
null
CC BY-SA 2.5
null
2008-08-22T21:01:06.190
2008-08-22T21:01:06.190
null
null
459
null
23,290
2
null
23,277
179
null
A functional language (ideally) allows you to write a mathematical function, i.e. a function that takes arguments and returns a value. If the program is executed, this function is logically evaluated as needed. A procedural language, on the other hand, performs a series of steps. (There's a way of transforming seque...
null
CC BY-SA 4.0
null
2008-08-22T19:37:53.580
2019-08-06T15:41:59.447
2019-08-06T15:41:59.447
1,968
1,968
null
23,457
2
null
23,391
0
null
@ Michael DSL=[Domain Specific Language](http://en.wikipedia.org/wiki/Domain-specific_programming_language) As for what you should learn, that depends on what you're interested in. Are you looking to challenge yourself while staying in the same medium (web-centric applications)? I would suggest learning about Apache ...
null
CC BY-SA 2.5
null
2008-08-22T20:51:40.847
2008-08-22T20:51:40.847
null
null
1,429
null
23,466
2
null
23,217
0
null
> > Basically, is there any appreciable difference between: `onchange="javascript: myFunction(this)"` and `onchange="myFunction(this)"` ? Assuming you meant `href="javascript: myFunction(this)"`, yes there is, especially when loading content using the javascript. Using the javascript: pseudo protocol makes the conten...
null
CC BY-SA 2.5
null
2008-08-22T20:55:32.333
2008-08-22T20:55:32.333
null
null
137
null
23,479
2
null
23,382
1
null
> > Use URL fetchers like wget or curl to make HTTP GET requests.Secure your URLs with authentication so that no one can execute the tasks without knowing the user/password. You can also tell cron to run php scripts directly, for example. And you can set the permissions on the PHP file to prevent other people accessin...
null
CC BY-SA 2.5
null
2008-08-22T21:02:13.223
2008-08-22T21:02:13.223
null
null
137
null
23,431
2
null
23,370
1
null
There are a few ambiguities in your question. What operation needs to be successful? For everything you want to know about drag and drop, browse through these search results (multiple pages worth): [Raymond Chen on drag and drop](http://www.google.com/search?q=drag+drop+site%3Ablogs.msdn.com%2Foldnewthing&rls=com.mic...
null
CC BY-SA 2.5
null
2008-08-22T20:40:17.970
2008-08-22T20:40:17.970
null
null
414
null
23,478
2
null
23,382
4
null
Jeff discussed this on the Stack Overflow blog - [https://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/](https://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/) Basically, Jeff proposed using the CacheItemRemovedCallback as a timer for calling certain tasks. I personally believe that ...
null
CC BY-SA 4.0
null
2008-08-22T21:01:51.523
2011-10-21T22:28:38.420
2021-01-18T12:38:11.483
-1
357
null
23,488
2
null
19,014
6
null
I see you have your solution, but mine would have avoided this and added a field to the documents you're indexing called email_domain, into which I would have added the parsed out domain of the email address. It might sound silly, but the amount of storage associated with this is pretty minimal. If you feel like getti...
null
CC BY-SA 2.5
null
2008-08-22T21:07:01.620
2008-08-22T21:07:01.620
null
null
459
null
23,499
2
null
23,277
10
null
Procedural languages tend to keep track of state (using variables) and tend to execute as a sequence of steps. Purely functional languages don't keep track of state, use immutable values, and tend to execute as a series of dependencies. In many cases the status of the call stack will hold the information that would be ...
null
CC BY-SA 2.5
null
2008-08-22T21:11:48.830
2008-08-22T21:11:48.830
null
null
332
null
23,483
2
null
5,251
0
null
If you are willing to go with flash, [XML/SWF](http://www.maani.us/xml_charts/) is a wonderful tool
null
CC BY-SA 2.5
null
2008-08-22T21:04:08.583
2008-08-22T21:04:08.583
null
null
1,363
null
23,474
2
null
23,382
1
null
A very simple method that we've used where I work is this: 1. Set up a webservice/web method that executes the task. This webservice can be secured with username/pass if desired. 2. Create a console app that calls this web service. If desired, you can have the console app send parameters and/or get back some sort of ...
null
CC BY-SA 2.5
null
2008-08-22T20:59:15.710
2008-08-22T20:59:15.710
null
null
1,644
null
23,491
2
null
23,205
0
null
Our network/server closet is a spaghetti-mess of wires; I'm not going to walk in there and start unplugging stuff lest I hit something mission-critical. (At least I have access to it; I'm sure many readers don't even know where their routers are.) Similarly, both ends of the ethernet cable require a hands-and-knees a...
null
CC BY-SA 2.5
null
2008-08-22T21:09:10.070
2008-08-22T21:09:10.070
null
null
1,490
null
23,511
1
5,009,525
null
3
4,128
I'm working with Subversion based on Windows and would like to write an easy utility in .NET for working with the Apache password file. I understand that it uses a function referred to as MD5Crypt, but I can't seem to find a description of the algorithm beyond that at some point it uses MD5 to create a hash. Can some...
Algorithm behind MD5Crypt
CC BY-SA 2.5
null
2008-08-22T21:16:45.170
2011-08-23T06:43:37.883
2008-08-23T20:24:15.880
1,190
1,954
[ ".net", "svn", "apache", "md5", "crypt" ]
23,502
2
null
23,250
217
null
There are several usages of [this](http://msdn.microsoft.com/en-us/library/dk1507sz.aspx) keyword in C#. 1. To qualify members hidden by similar name 2. To have an object pass itself as a parameter to other methods 3. To have an object return itself from a method 4. To declare indexers 5. To declare extension methods...
null
CC BY-SA 3.0
null
2008-08-22T21:12:48.937
2015-07-30T16:11:23.440
2017-05-23T11:47:19.010
-1
2,361
null
23,480
2
null
23,399
0
null
Approach A, but I would also include a explicit deny in addition to you implicit deney. I would make some use cases to be sure your end logic works but here are some examples. ``` User1 is in group1 and group2. User2 is in group1 User3 is in group2 ``` --- ``` Folder1 allows group1 and deny group2. User1 ...
null
CC BY-SA 3.0
null
2008-08-22T21:02:17.870
2012-08-11T16:13:48.507
2012-08-11T16:13:48.507
1,477,076
1,293
null
23,473
2
null
23,446
9
null
Since this file is XML you could and should use xsl to transform it to another format. The - blog has an entry about [decoding/transforming the trx file into html](http://preetsangha.blogspot.com/2008/05/decoding-ms-test-trx-file.html). You can also use [.NetSpecExporter from Bekk](http://boss.bekk.no/display/BOSS/....
null
CC BY-SA 2.5
null
2008-08-22T20:58:42.123
2008-08-22T20:58:42.123
null
null
2,257
null
23,523
2
null
23,511
3
null
You can find an implementation of md5crypt in the [tcllib package.](http://tcllib.sourceforge.net/doc/md5crypt.html) Download is available from [sourceforge](http://sourceforge.net/project/showfiles.php?group_id=12883). You can also find an example of an apache-compatible md5crypt in the [source code for the CAS Gener...
null
CC BY-SA 2.5
null
2008-08-22T21:20:37.187
2008-08-22T21:28:36.327
2008-08-22T21:28:36.327
2,257
2,257
null
23,520
2
null
23,250
4
null
Here's when I use it: - - - I don't use this for Private fields because I prefix private field variable names with an underscore (_).
null
CC BY-SA 2.5
null
2008-08-22T21:19:47.533
2008-08-22T21:19:47.533
null
null
380
null
23,539
1
null
null
1
662
I would like to bypass the web-server functionality of a network attached web cam and display the video feed in a Silverlight application. I can't seem to find any examples of interfacing with the camera programatically. Any leads would be much appreciated. Thx. Update 09/09/2008: Found a good site with Javascript...
Silverlight programmatic access to Sony RZ30N Video Feed
CC BY-SA 3.0
0
2008-08-22T21:24:37.037
2017-03-07T18:06:29.897
2017-03-07T18:06:29.897
1,242,646
2,312
[ "silverlight", "video", "streaming", "webcam" ]
23,534
2
null
23,503
0
null
Is there any way that you could the child nant file as opposed to executing it as a full-fledged child nant project? This would prevent the overwrite, but not sure if it's possible in your situation.
null
CC BY-SA 2.5
null
2008-08-22T21:23:17.837
2008-08-22T21:23:17.837
null
null
1,875
null
23,554
2
null
15,979
5
null
``` id:[a* TO z*] id:[0* TO 9*] etc. ``` I just did this in lukeall on my index and it worked, therefore it should work in Solr which uses the standard query parser. I don't actually use Solr. In base Lucene there's a fine reason for why you'd never query for every document, it's because to query for a document you ...
null
CC BY-SA 2.5
null
2008-08-22T21:33:14.647
2008-08-22T21:33:14.647
null
null
459
null
23,556
2
null
19,604
5
null
There are a couple of open source plugins on SourceForge, [http://sourceforge.net/tracker/?group_id=103281&atid=738747](http://sourceforge.net/tracker/?group_id=103281&atid=738747) (search for image) The plugin architecture is easy to understand if you know Javascript. If you have the time you could roll out your own...
null
CC BY-SA 2.5
null
2008-08-22T21:33:39.183
2008-08-22T21:33:39.183
null
null
null
null
23,510
2
null
23,397
3
null
In addition to the process management code in the os module that Greg pointed out, you should also take a look at the threading module: [https://docs.python.org/library/threading.html](https://docs.python.org/library/threading.html) ``` from threading import Thread def separate_computations(x, y): prin...
null
CC BY-SA 4.0
null
2008-08-22T21:16:07.807
2021-05-04T07:51:15.730
2021-05-04T07:51:15.730
12,377,957
1,694
null
23,566
1
23,571
null
73
121,082
On IIS 6, what does an IIS reset do? Please compare to recycling an app pool and stopping and starting an ASP.NET web site. If you replace a DLL or edit/replace the web.config on an ASP.NET web site is that the same as stopping and starting that web site?
What does 'IISReset' do?
CC BY-SA 4.0
0
2008-08-22T21:37:35.900
2022-10-10T19:11:32.293
2022-10-10T19:11:32.293
320,399
1,463
[ "asp.net", "iis", "iis-7", "iis-6", "iis-8" ]
23,481
2
null
21,137
19
null
After a bunch of research and experimentation, I've found the answer. - - [here](http://vishaljoshi.blogspot.com/2008/02/aspnet-mvc-test-framework-integration.html) From a high level, what you have to do is: 1. Create a project 2. Export it as a template (which results in a single ZIP archive) 3. Copy it from the...
null
CC BY-SA 2.5
null
2008-08-22T21:02:27.777
2008-08-22T21:02:27.777
null
null
1,875
null
23,503
1
23,628
null
0
1,103
I have a CC.NET project configured to call a common NAnt build file, which does some stuff, and then calls a child NAnt build file. The child build file name is specified by CC.NET to the command build file using a property. The hurdle that I am trying to get over is that the common build file log gets overwritten by ...
CruiseControl.NET and NAnt
CC BY-SA 3.0
null
2008-08-22T21:12:51.667
2017-08-04T14:36:38.790
2017-08-04T14:36:38.790
1,836,618
698
[ "cruisecontrol.net", "nant" ]
23,569
1
23,700
null
16
16,052
How do you calculate the distance between 2 cities?
Calculating Distance Between 2 Cities
CC BY-SA 2.5
0
2008-08-22T21:39:41.917
2018-03-05T04:41:59.860
2008-08-29T18:26:58.407
2,638
2,141
[ "algorithm", "math", "trigonometry", "geography" ]
23,570
2
null
23,566
1
null
When you change an ASP.NET website's configuration file, it restarts the application to reflect the changes... When you do an IIS reset, that restarts all applications running on that IIS instance.
null
CC BY-SA 4.0
null
2008-08-22T21:40:13.240
2020-02-27T20:49:07.953
2020-02-27T20:49:07.953
63,550
380
null
23,568
2
null
23,566
2
null
It stops and starts the services that IIS consists of. You can think of it as closing the relevant program and starting it up again.
null
CC BY-SA 2.5
null
2008-08-22T21:39:03.727
2008-08-22T21:39:03.727
null
null
267
null
23,573
2
null
23,566
6
null
Application Pool recycling restarts the w3wp.exe process , hence it will only affect web sites running in that application pool. IISReset restarts ALL w3wp.exe processes and any other IIS related service, i.e. the NNTP or FTP Service. I think changing `web.config` or `/bin` does not recycle the whole application pool...
null
CC BY-SA 2.5
null
2008-08-22T21:40:58.853
2011-03-21T18:39:13.447
2011-03-21T18:39:13.447
63,550
91
null
23,571
2
null
23,566
80
null
IISReset stops and restarts the entire web server (including non-ASP.NET apps) Recycling an app pool will only affect applications running in that app pool. Editing the web.config in a web application only affects that web application (recycles just that app). Editing the machine.config on the machine will recycle all ...
null
CC BY-SA 2.5
null
2008-08-22T21:40:26.767
2008-08-22T21:40:26.767
null
null
2,170
null
23,575
2
null
23,569
0
null
You find the Lat/Lon of the city, then use a distance estimation algorithm for Lat/Lon coordinates.
null
CC BY-SA 2.5
null
2008-08-22T21:41:18.153
2008-08-22T21:41:18.153
null
null
106
null
23,533
2
null
23,472
2
null
I've done this a fair few times and the solutions out there really depend on the environment (enterprise / mission critical or development). The BEST way would be the . Here are some important links in that area: Allow AS/400 apps to access oracle with the Oracle Access Manager: [Installation Guide for the AS/400 Or...
null
CC BY-SA 2.5
null
2008-08-22T21:23:11.783
2008-08-22T21:23:11.783
null
null
172
null
23,578
1
null
null
54
41,005
And on top of that, are there cases where one has to use the global assembly cache or where one cannot use it?
What are the advantages and disadvantages of using the GAC?
CC BY-SA 2.5
0
2008-08-22T21:41:58.837
2014-11-12T14:43:14.760
2008-12-17T10:20:40.590
6,461
2,374
[ ".net", "gac" ]
23,579
2
null
23,569
9
null
You use the [Haversine formula](http://en.wikipedia.org/wiki/Haversine_formula).
null
CC BY-SA 2.5
null
2008-08-22T21:42:08.260
2008-08-22T21:42:08.260
null
null
2,084
null
23,581
2
null
23,566
1
null
Editing the `web.config` file or updating a DLL in the `bin` folder just recycles the worker process for that application, not the whole pool.
null
CC BY-SA 2.5
null
2008-08-22T21:42:46.447
2011-03-21T18:39:54.573
2011-03-21T18:39:54.573
63,550
2,272
null
23,577
2
null
22,409
11
null
A very simple formula for converting from CMYK to RGB ignoring all color profiles is: This code requires CMYK values to be in rage of 0-255. If you have 0 to 100 or 0.0 to 1.0 you'll have to convert the values. Hope this will get you started. As for the java and ColdFusion interfacing, I'm sorry, but I have no ide...
null
CC BY-SA 2.5
null
2008-08-22T21:41:48.323
2008-08-23T22:17:43.703
2008-08-23T22:17:43.703
1,534
1,534
null
23,586
2
null
23,578
3
null
In all my life, I have had maybe one application where I had to put an assembly in the GAC, simply because these assemblies were part of a framework that a number of applications would use it, and it seemed right to put them into the GAC.
null
CC BY-SA 2.5
null
2008-08-22T21:44:06.243
2008-08-22T21:44:06.243
null
null
380
null
23,587
2
null
23,578
6
null
I think one of the biggest advantages of using the GAC is that you can have multiple versions of the same assembly registered and available to your applications. Personally, i don't like how it restricts movement from machine to machine (i don't like having to say, check out source on a new VPC and go through a bunch ...
null
CC BY-SA 2.5
null
2008-08-22T21:44:14.260
2008-08-22T21:44:14.260
null
null
2,272
null
23,584
2
null
23,566
26
null
It operates on the whole IIS process tree, as opposed to just your application pools. ``` C:\>iisreset /? IISRESET.EXE (c) Microsoft Corp. 1998-1999 Usage: iisreset [computername] /RESTART Stop and then restart all Internet services. /START Start all Internet services. /STOP ...
null
CC BY-SA 2.5
null
2008-08-22T21:43:58.020
2008-08-22T21:43:58.020
null
null
459
null
23,591
2
null
23,569
1
null
You ca use the [A*](http://en.wikipedia.org/wiki/A*_search_algorithm) algorithm to find the shortest path between those two cities and this way you'll have the distance.
null
CC BY-SA 2.5
null
2008-08-22T21:45:35.067
2008-08-22T21:45:35.067
null
null
1,534
null
23,593
2
null
23,569
0
null
if you need a code example I think I have one I could dig up at home, but like many of the previous answers, you need a long / lat db to do the calculation
null
CC BY-SA 2.5
null
2008-08-22T21:46:26.953
2008-08-22T21:46:26.953
null
null
2,272
null
23,598
2
null
23,578
48
null
- - - - - So to sum it all, start simple and if you later see major performance gains if you put your assemblies into GAC and NGEN them, go for it, otherwise don't bother. GAC is more suitable for frameworks where there is expectation for library to be shared among more applications, in 99% of cases, you don't need i...
null
CC BY-SA 2.5
null
2008-08-22T21:47:51.910
2008-08-22T22:22:08.007
2008-08-22T22:22:08.007
275
275
null
23,505
2
null
23,391
6
null
If you want to be one of the best you need to specialise. If you become very good in many skills then you may never become truly excellent in one. I know because I have taken this route myself and have found it difficult to get employment at times. After all, who wants someone who is capable at many languages when the...
null
CC BY-SA 3.0
null
2008-08-22T21:13:22.213
2013-08-01T16:51:38.383
2013-08-01T16:51:38.383
96,780
274
null