Search found 4 matches

by danderson
Thu Mar 26, 2009 11:43 pm UTC
Forum: Coding
Topic: [python] shutting down all network interfaces on WIndows XP.
Replies: 6
Views: 2035

Re: [python] shutting down all network interfaces on WIndows XP.

Am I on the right track here? or is there something I could do to make this task easier? I'm building the front-end in wxGlade if that matters. Sounds reasonable so far. A couple of suggestions to improve the code structure and security of the lockdown. First of all, a code structure thought: separ...
by danderson
Tue Jul 10, 2007 6:29 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0287: "NP-Complete"
Replies: 191
Views: 37759

The critical part of A* is computing the cost, which is usually done by summing the cost of each edge that forms the path. The cost of each edge is a heuristic function, and is the hard part to get right. If the heuristic is too soft, the algorithm will tend to "wander" a lot instead of h...
by danderson
Mon Jul 09, 2007 11:48 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0287: "NP-Complete"
Replies: 191
Views: 37759

Reading up on the travelling salesman reminded me of a something I've wondered for a while: What method do Google maps, MapQuest, etc. use to find the fastest possible route? Something I might be able to answer, as I've already implemented pathfinding algorithms (though not on Google's scale, obvio...
by danderson
Mon Jun 04, 2007 3:34 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571754

Here's something that happens at bizarre times at work: I'm using PHP and occasionally a page will return a completely blank page. When I go in and check each page for errors, I don't find anything. But for some unknown reason, if I go in and re-save an included file without changing the contents a...

Go to advanced search