Posts

Is there a Windows Registry "dictionary" that explains the whole (or most of) the Windows Registry? -

i'd able see registry keys used for. book on registry fine well. info on windows vista changes great! oh, how wish there single site registry collectively documented write values there! keep in mind, app can create own set of registry keys , values, it's not ms necessary such effort. though key player! in meantime, there 2 ms sites use startng points when need know particular key/value pair do: windows 2003 registry reference: http://technet.microsoft.com/en-us/library/cc778196.aspx windows 2000 registry reference: http://technet.microsoft.com/en-us/library/cc974061.aspx keep in mind since windows evolving thing, information older versions can helpful. note w2003 bears lot of resemblance xp. sadly, have not found link vista/windows 2008 registries similar above. when need know what's specific key, , it's not found in 1 of above links, try search of key's full path @ http://support.microsoft.com

c# - Avoiding first chance exception messages when the exception is safely handled -

the following bit of code catches eos exception using (var reader = new binaryreader(httprequestbodystream)) { try { while (true) { bodybytelist.add(reader.readbyte()); } } catch (endofstreamexception) { } } so why still receive first-chance exceptions in console? a first chance exception of type 'system.io.endofstreamexception' occurred in mscorlib.dll is there way hide these first chance exception messages? the point of "first-chance" exceptions you're seeing them pre-handler can stop on them during debugging @ point of throwing. "second-chance" exception 1 has no appropriate handler. want catch "first-chance" exceptions because it's important see what's happening when it's being thrown, if catching it. there's nothing concerned with. normal behavior.

Visual Studio 2010 keeps changing my default browser -

opera browser of choice, it's set system default browser. debugging web apps in visual studio prefer ie set default in file-browse with... what's weird here visual studio 2010 keeps changing default browser system default in unknown manner (vs restart 1 of situations). there way persist setting? update: fine folks world of vs have created visual studio extension called world of vs default browser switcher out of scott hanselman's code , still not solution, solid workaround problem. this should solve problem: http://www.hanselman.com/blog/howtochangethedefaultbrowserinvisualstudioprogrammaticallywithpowershellandpossiblypokeyourselfintheeye.aspx

java disc based hashmap -

i'm working on web crawler (please don't suggest existing one, not option). have working way expected to. issue i'm using sort of server/client model server crawling , processes data, put in central location. this location object create class wrote. internally class maintains hashmap defined hashmap<string, hashmap<string, string>> i store data in map making url key (i keep these unique) , hasmap value stores corresponding data fields url such title,value etc i serialize internal objects used spider multi threaded , have 5 threads crawling memory requirements go exponentially. to far performance has been excellent hashmap, crawling 15k urls in 2.r minutes 30 seconds cpu time don't need pointed in direction of existing spider forum users have suggested. can suggest a fast disc based solution support concurrent reading & writing? data structure doesnt have same, needs able store related meta tag values etc. thanks in advance i sugg...

salesforce - VisualForce: Pass a parameter to a custom component inside a repeater -

i can't figure out why isn't working: <apex:repeat value="{!mycontacts}" var="c" > <c:contactrowcomponent contactlastname="{!c.lastname}"/> </apex:repeat> (where on main controller mycontacts returns array of contact objects, , on component contactlastname defined string attribute) this gives me error: literal value required attribute contactlastname in <c:contactrowcomponent> @ line 25 column 27 it seems saying literal value required , not formula? trying impossible, or doing wrong? i have come across issue well. in case because specified default attribute in component attribute can't on fields use formula reason. for instance produce error described when passing in formula value: <apex:attribute type="string" name="value" default="sometext" description="some name value" /> so if remove default attribute error resolved. let me know if solve...

php - what is Deserialize & Serialize in JSON, -

i'm new in json, need use json flash actionscript 3.0. found 1 lib json , have seen terms deserialize & serialize means. json format encodes objects in string. serialization means convert object string, , deserialization inverse operation. when transmitting data or storing them in file, data required byte strings, complex objects seldom in format. serialization can convert these complex objects byte strings such use. after byte strings transmitted, receiver have recover original object byte string. known deserialization. say, have object {foo: [1, 4, 7, 10], bar: "baz"} serializing json convert string: '{"foo":[1,4,7,10],"bar":"baz"}' which can stored or sent through wire anywhere. receiver can deserialize string original object. {foo: [1, 4, 7, 10], bar: "baz"} .

documentation - Can I document Python code with doxygen (and does it make sense)? -

i doxygen create documentation of c or php code. have upcoming python project , think remember python doesn't have /* .. */ comments , has own self-documentation facility seems pythonic way document. can use doxygen? particular aware of? i have done coding in python far on small projects lazy document @ (yeah, know ... let's pretend that's ok now). this documented on doxygen website , summarize here: you can use doxygen document python code. can either use python documentation string syntax: """@package docstring documentation module. more details. """ def func(): """documentation function. more details. """ pass in case comments extracted doxygen, won't able use of special doxygen commands . or can (similar c-style languages under doxygen) double comment marker ( # ) on first line before member: ## @package pyexample # documentation module. # # more details. ##...