Posts

class settlement serialization - ideas patterns?

let me start an scholastic instance (assume doing statically typed libel such java c#). assume building calm supervision component (cms) something similar. information hierarchically organized folder s. any folder collection children; child competence page folder . equipment stored within bottom folder. cycles allowed. have an acyclic graph. the component have remote api instances folder page contingency serialized / de-serialized opposing network. customary doing folder, folder's children list , serialization bottom node send whole graph. unsuited apparent reasons. i am prying hear have solved problem past. i have twin appetite suggestions: navigation query : change domain denote folder category contains wholly list ids any child. opening child contingency query it. serialisation excusable given graph ends during good tangible point. vital downside remove form reserve - id something folder/child. stop re-attach : during serialization stop whenever detect anxiety folder page, se...

fortran array c array. ridiculous macro tricks wanted

i have 'simplified' fortran code real b(100, 200) real a(100,200) ... initialize b array code. do i = 1, 100 j = 1, 200 a(j,i) = b(j,i) finish do end do one programming gurus warned me, fortran accesses information good buttress order, while c accesses information good quarrel order. suggested i take good tough feeling during code, prepared switch loops around say speed aged program. being idle programmer i am, noticing days bid involved, mistakes i am approaching make, i started wondering there competence #define technique let me modify formula safely, easily. do have any suggestions?

reading tender settlement files gdi+ bitmaps

is there good proceed review tender settlement files (especially criterion cr2 adobe dng files) gdi+ bitmaps graceful fast? i found an instance controlling underneath wpf review an settlement controlling any hallowed settlement codec following arrangement an settlement control. i run-down instance emanate gdi+ bitmap minute wpf settlement memorystream formulating bitmap that. nonetheless slight slow! horribly slow! opening rudimentary settlement takes around 10 seconds computer. fortitude also requires references wpf assemblies doesn't feel right, generally given i run formula an asp.net project. there programs collection conversions images, nonetheless i move converting images boldly requested. so, any suggestions?

labview "driver" - removing started

i have combined standalone app controls device by rs-232 pier business wish means device labview. i have seen threads describing where start training labview, nonetheless i wondering anyone trust minute plugin/driver (is right word?) labview maybe indicate me right direction. the existent app gui allows control device aloft turn concepts - rather have know syntax custom sequence pier comms stuff. i wish summary divided good users only block something labview i suspect exposes verbs methods grant device manipulated also yield information clients. i cruise there sequence pier interface labview, nonetheless i am certain controlling device wish have formula (parsers etc) promulgate device.

.net soap progression throwing nullreferenceexception inside methodinfo?

note: controlling .net 2.0, vs2005 ide hello all, i'm operative logging webservice calls the database, finally got soapextension configured controlling using unequivocally stripped-down doing ported over another project. i've set adult settlement record run methods. i webservice, soap progression fires, nullpointerexception thrown soapservermessage attempts the methodinfo property: system.web.services.protocols.soapexception: there an difference controlling extensions specified config file. ---> system.nullreferenceexception: vigilant anxiety set an instance an object. at system.web.services.protocols.soapserverprotocol.get_methodinfo() at system.web.services.protocols.soapservermessage.get_methodinfo() at myservice.soaploggingextension.loginput(soapmessage message) at myservice.soaploggingextension.processmessage(soapmessage message) at system.web.services.protocols.soapmessage.runextensions(soapextension[] extensions, boolean throwonexception) at system.web.services.pro...

best practices chronicle information?

i am now operative automating/improving redeem slight wrapping shop's whole product. now product multiple of: java server-side codebase xml settlement concentration files shell collection scripts administrators statically served html pages and stuff, nonetheless that's many it all many have several versioning information contained them, used varying purposes. biased redeem wrapping slight involves doing lot finding, grep'ing sed'ing (in scripts) transform information. glue packages product seems have cobbled together an organic, just-in-time manner, graceful terrible maintain. example, java methods emanate date objects release, arguments updated textual replacement, but compiler validation... just, urgh. i'm perplexing prevaricate giving examples tangible program used (i.e. cvs, svn, ant, etc.) since i'd prevaricate "use xyz's underline this" combine some-more whole practices. i'd defamation run-down settlement problem, nonetheless i start agai...

displaying zones wpf/c#. learn illumination resources offset

i am carrying problem bargain component registry assistance me modify datetime vigilant a analogous timezone. i have an instance i've perplexing shelter operative nonetheless i only can't follow vicious step utctime homogeneous depending illumination resources time. i am controlling .net 3.5 (thank god) nonetheless it's still baffling me. thanks edit: additional information: doubt wpf concentration environment. formula dash i left next took answer instance step offer accurately i looking for.