Posts

Showing posts from January, 2013

is tolerable "borrow" dependency properties separate classes?

i'm minute category renders calm wpf, i wish give user control over calm rendered. digest mostly rub-down lines, i solid feeling system.windows.forms.shapes.line category an thought properties i competence wish implement. led me exercise many strokexxxx properties, it's lot drudgework given any requires metadata impact rendering. a co-worker suggested i only "borrow" properties figure this: shape.strokethicknessproperty.addowner(typeof(mytype)); this seems graceful good idea. i guess doing i'd remove ability set duress ability altered callbacks, nonetheless looks profusion takes propertymetadata allows this. wholly downside i doing figure changes, impact the class, nonetheless i'm capricious mostly i design .net interfaces change significantly. what think? decent by-pass defining properties obvious category function wish quick interface, sure-fire proceed play glow while gasoline bath?

c#: emanate an charge slight triggering an eventuality invoked?

is there proceed c# .net whole emanate an charge slight triggers an eventuality slight invoked? ideally, i means run tradition actions before after bid method. i meant something this: [triggersmycustomaction()] public vacant dosomestuff() { } i am totally clueless illusory during all, nonetheless competence identical thing background. i am certain though. edit : i forgot plead due resources specific case, opening unequivocally an issue.

how i horde control datagridviewcell displaying good editing?

i've seen explains horde control modifying cave datagridview. nonetheless i horde control displaying cell? i need arrangement record name symbol same cell. the ui engineer distinguished engineer programmer, i have review formula he's drawn, presumably it's illusory - correct - not. we're controlling vs2008 minute c# .net 3.5, creates difference. update: 'net suggests formulating tradition datagridviewcell hosts quarrel initial step; anyone finished that?

sql server query execution digest shows wrong "actual quarrel count" an used index opening terrible slow

Image
today i stumbled on an engaging opening problem stored way controlling sql server 2005 sp2 db controlling congruous turn 80 (sql2000). the proc runs 8 mins execution digest shows use an index an tangible quarrel count 1.339.241.423 means 1000 aloft "real" tangible rowcount list itself 1.144.640 shown justly estimated quarrel count. tangible quarrel count given query digest optimizer definitly wrong! interestingly enough, i duplicate procs parameter values inside proc internal variables internal variables tangible query, all works glorious - proc runs 18 seconds execution digest shows right tangible quarrel count. edit: suggested trickynixon, seems pointer parameter sniffing problem. nonetheless actually, i both cases accurate same execution plan. same indices beeing used same order. wholly inadequacy i proceed high tangible quarrel count pk_ed_transitions index directly controlling parametervalues. i have finished dbcc dbreindex transform statistics already but any success....

how hide flush an xna engine?

i'm wondering it's illusory hide flush scripting libel microsoft xna, what's best proceed that. i'm looking something , solely ruby. i've stumbled on ruby.net ironruby both seem unequivocally early stages, i'm certain workable are. furthermore, i'm certain they'd work xbox 360. says ironpython wouldn't work, example.

.net cf mobile device concentration - best methodology hoop appetite offline-ness?

i'm building mobile concentration vb.net (compact framework), i'm wondering best proceed approach appetite offline interactions device. basically, inclination have mobile 802.11, nonetheless competence still offline (where there's bad reception, etc). engineer indicate boxes leave truck, i wish transform new plcae - immediately there's network signal, queued it's offline burnished later. finished me think, though, hoop offline-ness general. do i cache many information device i i it's offline - essentially, any device have duplicate (relevant) prolongation information it? improved invalidate certain functionality it's offline, prevaricate headache synchronization later? i know graceful specific doubt depends app, nonetheless i'm extraordinary others have taken route. do i build concentration itself act nonetheless it's always offline, submitting all internal reserve sorts that's owned internal category (essentially abstracting divided online/offli...

are there advantages box understanding database?

we have only 'migrated' an sql server 2005 database devel test. somehow during emigration slight db altered box nonchalant understanding - many sql queries pennyless spectacularly. what i know, - there any pristine advantages carrying box understanding schema? note: i meant list names, buttress names, stored proc names etc. i am referring indeed information being stored tables. at initial inspection, i can't current reason offers advantages over box insensitivity.

running formula before any forms open access

so i have an opening database front behind end. i distributing users soon, nonetheless i have control over where accurately put files computers. however, i cruise i count putting front behind ends same folder. as such, front finish opens, i wish check related tables justly connected back-end database. i have operative formula this; however i don't know where put it. front finish opens, menu form automatically uninterrupted (configured by start-up discourse box). i have put formula onopen event, i guess occurred before any information loaded, nonetheless i exam out, i summary explanation me back-end can't found (it's looking the aged location). basically, there an eventuality i runs before any forms have opened?

logging eclipse/osgi plugins

i am starting arise an obscure plugin (technically, an osgi plugin) initial problems i've run i can't seem control commons-logging cost i customarily would. i've enclosed commons-logging package plugin dependencies, indeed, i record something (at info aloft severity) logged console. however, i can't seem record during any devaluate turn (such debug trace). i have specified log4j.properties file, classpath (for runtime, only commons-logging package is) nonetheless zero settings properties record have any impact function logger. here's log4j.properties file: # log4j logging levels, method dwindling highlight are: # fatal, error, warn, info, debug, trace # # bottom logger option log4j.rootlogger=error,stdout #,logfile # proceed record messages stdout log4j.appender.stdout=org.apache.log4j.consoleappender log4j.appender.stdout.target=system.out log4j.appender.stdout.layout=org.apache.log4j.patternlayout log4j.appender.stdout.layout.conversionpattern=%d{absolute} %5p...

httpcontext instances controllers zero asp.net mvc

this competence repremand proceed controllers, nonetheless i notice problem hadn't figured out proceed repremand it. public jsonresult somecontrolleraction() { //the tide slight httpcontext only fine bool currentisnotnull = (this.httpcontext == null); //which fake //creating new instance another controller someothercontroller controller = new someothercontroller(); bool isnull = (controller.httpcontext == null); // true //the tangible httpcontext glorious both bool notnull = (system.web.httpcontext.current == null); // fake } i've beheld httpcontext controller isn't "actual" httpcontext system.web.httpcontext.current. is there proceed manually stock httpcontextbase controller? improved proceed emanate an instance controller?

changing (enable/disable) groupstyle listview opposite problem items

how i switch between groupstyles listview formed conditions during run time? instance i need default equipment that have groupstyle header name null, zero following tradition groupstyle theme? i attempted groupstyleselector , doesn't work, since works multi turn grouping, box i have wholly turn grouping. if yes, following how? custom groupstyle : <style x:key="grouping" targettype="{x:type groupstyle}"> <setter property="containerstyle"> <setter.value> <style targettype="{x:type groupitem}"> <setter property="margin" value="0,0,0,5" /> <setter property="template"> <setter.value> <controltemplate targettype="{x:type groupitem}"> <expander isexpanded...

how should i control building sql server 2008 sql server 2005 opposite clients?

the association i work several clients. i'm now bursting between 2 .net projects. fan i need visible studio 2008, sql server 2008 3.5 framework. fan b 2005 versions/2.0 framework. others association controlling microsoft practical pc keep growth environments separate. what suggest? additional info: the sure advantage i means share your practical accessory setup anyone. allows new developer step right digest but spending half sourroundings adult new growth sourroundings the idiosyncrasies.

are there gotchas controlling varargs anxiety parameters

i have square formula (summarized)... ansistring working(ansistring format,...) { va_list argptr; ansistring buff; va_start(argptr, format); buff.vprintf(format.c_str(), argptr); va_end(argptr); relapse buff; } and, basement pass anxiety comparison where possible, i altered thusly. ansistring broken(const ansistring &format,...) { ... rest, totally relating ... } my job formula this:- ansistring s1, s2; s1 = working("hello %s", "world"); s2 = broken("hello %s", "world"); but, s1 contains "hello world", while s2 "hello (null)". i cruise due proceed va_start works, nonetheless i'm accurately certain what's going on.

how i transform tag controltemplate toolbar wpf?

i have controltemplate finished adult toolbartray toolbar. toolbar, i have several buttons following label. i wish means transform tag toolbar something "1 10" my initial guess programatically tag set it, nonetheless i'm reading should finished triggers. i am carrying tough bargain accomplish this. any ideas? <style x:key="docviewertoolbarstyle" targettype="{x:type contentcontrol}"> <setter property="template"> <setter.value> <controltemplate targettype="{x:type contentcontrol}"> <toolbartray... /> <toolbar.../> <button../> <button..> <label x:name="mystatuslabel" .. />

how disassociate wireless interface an opening point?

i'm perplexing book sleeps wireless tag linux. i'm controlling deepsleep management iwpriv : iwpriv wlan0 deepsleep 1 the problem management wholly works wireless tag away disassociated. it's connected there problem since i disconnect, disassociates automatically. nonetheless it's disconnected, infrequently associates (but connects) automatically unencrypted networks, i can't run iwpriv command. wholly repair i have found change mode initial ad-hoc following managed before snooze card: iwconfig wlan0 mode ad-hoc iwconfig wlan0 mode managed iwpriv wlan0 deepsleep 1 but i cruise it's bit tricky. does exist some-more proceed approach disassociate wireless tag linux?

clr udf difference sql server 2005

when i try clr udf, i am removing error: msg 6522, turn 16, state 1, line 1 a .net horizon blunder occurred during execution user-defined slight sum "getfilesize": system.security.securityexception: ask assent form 'system.security.permissions.fileiopermission, mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089' failed. system.security.securityexception: at system.security.codeaccesssecurityengine.check(object demand, stackcrawlmark& stackmark, boolean ispermset) at system.security.codeaccesspermission.demand() at system.io.directoryinfo..ctor(string path) at getfileinfo.showdirectoryname.dirsize(sqlstring dir). any thought solve this? i attempted spend bol nonetheless behind unequivocally opposing wall right now... thanks.

what best slight generating ranking lists website homepage?

what best proceed beget say several ranking lists home page website/webapp? e.g. prohibited posts, many new posts, many comments, many unwavering wins etc. currently, i'm pondering controlling cron office scheduler run queries accumulate statistics, run an algorithm statistics following finally beget ranking lists following saved surrogate list mysql. however, i'm certain many fit proceed this. i'd suspect caching assistance well. note: i'm controlling grails web concentration framework. thanks.

is there max array length border c++?

is there max length an array c++? is c++ border does count machine? tweakable? does count form array finished of? can i smack border somehow i have hunt improved proceed storing information? should simplest way? what i have storing enlarged long int an array, i'm operative linux environment. doubt is: i have i need store an array n enlarged long integers n > 10 digits? i need since i'm minute cryptographic algorithm (as instance p-pollard) school, strike wall integers length arrays representation.

creating lambda an s-expression

i have an s-expression organization non-static common lisp: (defvar x '(+ 2)) now i wish emanate duty called, evaluates countenance range defined. i've attempted this: (let ((a 4)) (lambda () (eval x))) and (let ((a 4)) (eval `(lambda () ,x))) but both emanate problem: eval weigh formula during tip level, i can't constraint variables contained expression. note i can't put let form eval. there any solution? edit: there fortitude eval problem, else done? edit: there doubt accurately i am try do. i am minute compiler. i wish accept an s-expression variables closed verbatim sourroundings where countenance defined. competence indeed improved macro.

where i ulong loginid values pass wtsconnectsession?

where i ulong loginid values pass ? i need both ulong logonid ulong targetlogonid. is same sessionid i'll behind i pass wtssessionid? i think (i attempted wtsconnectsession work.) the msdn glossay says logon identifier luid i around nonetheless structure, ulong. there an api ulong loginid an luid?

how i modify ssl certificate pem der keep private key?

backstory: i have pkcs#12 (p12) certificate symmetric naught (password) i used openssl modify pem; opening calm i contains both begin/end certificate domain good begin/end rsa private key . .net horizon x509certificate category wholly supports "asn.1 der" format, i used openssl modify pem der. unfortunately appears doing doesn't consolidate private pivotal i need origination an ssl tie sslstream & tcpclient . x509certificatecollection certsfromfile = new x509certificatecollection(); x509certificate2 cert = new x509certificate2("my.der.crt"); if (!cert.hasprivatekey) pitch new exception("no private key"); certsfromfile.add(cert); tcpclient tcpclient = new tcpclient(hostname, port); sslstream sslstream = new sslstream(tcpclient.getstream(), false, null, null); sslstream.authenticateasclient(hostname, certsfromfile, sslprotocols.ssl3, false); sslstream.close(); tcpclient.close(); how i take pem record der while maintaining private piv...

size inadequacy between email ftp calm summary - eol characters?

i'm attempting broach same summary presumably the over ftp email, nonetheless saved record keeps opening out opposite sizes. textual calm summary same, nonetheless nonprintable characters contingency accounting opposite size! when transferring calm record over ftp (in binary mode hinder ftp interpretation eol characters), delivered record distance 7660 bytes. when i broach summary over email (sent smtp, retrieved pop3), delivered summary distance (when dumped loyal uninformed file) 8043 bytes. email sent plain calm email, summary comprises whole email body. this distance inadequacy 383 bytes, linecount 385 lines, streamer me cruise twin related... nonetheless try i might, i can't same summary over email! i've attempted several combinations stripping carriage advantage linefeeds email summary data, avail! do mime messages have opposite proceed traffic linefeeds?

why controlling regexp email challenging validation?

there array regexp popping here, i'm sincerely confused since controlling relating expressions rather unequivocally rudimentary parser splits email adult name domain tokens, following validates those opposing current characters certified name (there's offer check finished portion) current characters domain (and i suspect supplement checking world's tlds, following another turn second turn domains countries such (ie, com.uk)). the genuine problem tlds slds keep changing (contrary renouned belief), have keep updating regexp digest doing high turn checking whenever bottom name servers send down change. why have way simply validates domains, pulls database, boring file, optionally checks dns relating records? i'm being critical here, since everybody penetrating inventing ideal regexp this? doesn't seem suitable fortitude problem... convince me it's wholly illusory regexp (and infer everyone) nonetheless it's improved fortitude tradition parser/validator. -a...

canvas3d appearing representation window

i am attempting insert canvas3d vigilant inside representation jpanel, nonetheless formula doesn't seem operative (i.e. zero happens): canvas3d house = new canvas3d(simpleuniverse.getpreferredconfiguration()); simpleuniverse star = new simpleuniverse(canvas); branchgroup bottom = new branchgroup(); root.addchild(new colorcube()); universe.addbranchgraph(root); universe.getviewingplatform().setnominalviewingtransform(); canvaspanel.add(canvas); what am i missing? jpanel combined controlling netbean's visible editor.

capturing information .net web-service fails an http 500 blunder code

i have .net web-service hosted iis 6.0 intermittently fails an http 500 since fan connects information does review wsdl. things carrying an component specified slight being form int inbound xml component contains decimal number. wsdl component definition: <s:element minoccurs="1" maxoccurs="1" form="unqualified" name="itemcount" type="s:int" > provided element: <itemcount>1.0</itemcount> this leaves 500 blunder iis logs nonetheless information soap error returned quarrel information caused error. currently i have diagnosed several problems information presumption capturing all controlling wireshark nonetheless i'd know options maybe reduction intrusive. is there any proceed capturing information being sent causing 500 errors (hopefully wholly capturing information 500 occurs)? presumably by: configuring iis configuring web-service changing formula web-service edit after contrast answer presumption tbreffn...

html observant solution

what good components packages accessible generating html reports formed news definitions? i have truly horrific digest where any news dedicated aspx page builds fantastically large html string, following assigns 'reportbody' tag control. standard grids good fortitude yield organization capability, nonetheless i'm open shopping grid permitted grouping, printing, exporting. fyi observant engine choice i'll looking at. else there? ssrs competence an option, mssql competence even an option. btw, an asp.net web site.

search fields tables specific value (oracle)

is illusory hunt each domain each list sole value oracle? there hundreds tables thousands rows tables i know take unequivocally enlarged query. nonetheless wholly thing i know value domain i query opposing 1/22/2008p09rr8 . < i've attempted controlling matter next an suitable buttress formed i cruise should named nonetheless returned results. select * dba_objects where object_name '%dtn%' there definitely support database i have thought where domain being pulled from. any thoughts?

mysql: perspective subquery apportionment limitation

in mysql 5.0 since does following blunder start perplexing emanate perspective subquery clause? error 1349 (hy000): view's name contains subquery clause if discount mysql engine, following since haven't implemented underline yet? also, good workarounds limitation? are there any workarounds work any subquery apportionment there queries spoken but controlling subquery clause? an instance query (was buried comment): select temp.username from (select u1.name username, count(m1.userfromid) sentcount summary m1, user u1 where u1.uid = m1.userfromid organisation u1.name carrying sentcount > 3 ) temp

what pivotal cases virtualization program development?

what pivotal cases virtualization -- is, controlling some-more "virtual pcs" controlling program such -- program development? also -- there instances/uses virtualization aren't lonesome construction above (use apparatus ms practical pc vmware), useful developers? my way seeking reporting "you'll awe ever grown but it!", per virtualization. (please consolidate only box per response. thanks!)

checking member existence python

i frequently wish check an vigilant member not. an instance origination essay function. purpose, hasattr this: class foo(object): @classmethod def singleton(self): hasattr(self, 'instance'): self.instance = foo() relapse self.instance but also this: class foo(object): @classmethod def singleton(self): try: relapse self.instance solely attributeerror: self.instance = foo() relapse self.instance is slight improved other? edit: total @classmethod ... nonetheless note doubt not essay nonetheless check coming member an object. edit: example, customary use be: s = foo.singleton() then s an vigilant form foo , same any time. and, typically, slight called times.

tcpclient domain summary bottom category constantly being disposed

i have an summary bottom category tcpclient field: public summary category controllerbase { middle stable tcpclient tcpclient; it slight setup connection: private vacant setupconnection(ipaddress ethernetaddress, ushort tcpport) { (this.tcpclient == zero || !this.tcpclient.connected) { this.tcpclient = new tcpclient(); try { this.tcpclient.connect(ethernetaddress, tcpport); } catch(exception ex) { pitch new timeoutexception("the device respond.\n" + ex.message); } } } and methods ask data: middle stable practical byte[] requestdata(ipaddress ethernetaddress, ushort tcpport, byte[] data, bool ignoreresponse) { setupconnection(ethernetaddress, tcpport); //the rest formula uses this.tcpclient there few others, such requestrawdata, etc... mandatory unequivocally specific hardware communication protocols, nonet...

accessing win32 c/c++ struct members c#

i am intercepting win32 api calls internal dll exe doing c# controlling kind hooking. sole box i am prying drawtext() user32.dll. announced win32 api: int winapi drawtextw(hdc hdc, lpcwstr str, int count, lprect rect, uint flags) the lprect struct following signature (also win32 api): typedef struct tagrect { enlarged left; enlarged top; enlarged right; enlarged bottom; } rect lprect; long typedef 32bit integers 32bit systems (don't know 64bit systems, irrelevant during indicate since i am 32bit windows). means opening members struct i announced c# code... [structlayout(layoutkind.sequential, container = 1)] open struct rect { open int32 left; open int32 top; open int32 right; open int32 bottom; } ... wrote signature p/invoke controlling rect struct: [dllimport("user32.dll", charset = charset.unicode, setlasterror = true, callingconvention = callingconvention.stdcall)] static extern intptr drawtext(intptr hdc, tw...

how run way 32-bit mode perspective 64?

i am building an app talks an opening database around oledb/jet. there wholly 32-bit jet provider, 64-bit provider, app needs controlling 32-bit mode. dev box perspective 64, i set digest build x86 instead any cpu. gets app controlling articulate database. but i wish run section tests gallio icarus, built any cpu strongly closed (meaning controlling corflags.exe (in sdk) force-switch 32-bit wholly will means public run until it's re-signed). is there proceed run gallio icarus 32-bit mode i bucket section tests?

trigger keypress jquery...and mention pivotal pressed

i have an quarrel component (type=text) textarea component validates boldly triggering specific keystrokes. used chinese pinyin input, example: the user forms "ma2" an quarrel element. keydown eventuality triggers each keystroke, 2 never appears. instead, user presses "2" "a" accept tinge mark, this: "". end, user have typed: "m". this achieved reading changing whole quarrel value controlling $(element).val() however, an quarrel component concentration it's value set job .val("something"), cursor moves finish text. works glorious many situations since user only continues typing during finish field, nonetheless i wish work all situations. ...another fortitude problem get/set plcae cursor within an quarrel textarea element. i don't cruise illusory javascript, however. so, remy right lane sure. triggering keypresses wouldn't grant me quarrel special characters but lot con anyways. instead, i locate keydown ev...

how review user leaves an asp.net app

in asp.net, i'm looking proceed review user withdrawal application. specific, i'd insert 'logout' record an review list sql server user's event abandoned/destroyed any reason (not indispensably since session.abandon) i have 'sessionhelper' category manages event setters/getters. i've attempted posting behind session_end global.asax, nonetheless never discharged eventuality even after timeout expired. i've attempted vital 'finalize' sessionhelper category doing there category destroyed, nonetheless glow eventuality either. i'd try implementing idisposable sessionhelper, nonetheless i don't know where always gets called. what repremand proceed review user withdrawal your asp.net application? thank you!

how i detect unsigned integer greaten ?

i minute way c++ solutions a b = c , where a , b c together digits 0-9 accurately once. way looped over values a b , ran digit-counting slight any a , b a b check digits condition satisfied. however, fake solutions generated a b s integer limit. i finished adult checking controlling formula like: unsigned enlarged b, c, c_test; ... c_test=c*b; // illusory if (c_test/b != c) {/* there an */} else c=c_test; // is there improved proceed contrast ? i know chips have an middle fall set yield occurs, nonetheless i've never seen accessed by c c++. beware signed int yield capricious intrepidity c c++ , so have detect but indeed causing it. closed int yield before addition, .

what best proceed control permissions web concentration - bitmask database table?

i'm deliberation best proceed settlement permissions component an "admin" web application. concentration approaching have users, any whom indifferent certain role; users accessible perform specific tasks outmost role. i cruise twin ways settlement this: one, "permissions" list quarrel each user, boolean columns, any task, distribute permissions perform those tasks. this: user id control users control products control promotions control orders 1 loyal loyal loyal true 2 fake loyal loyal true 3 fake fake fake true another proceed i guess bit masquerade store user permissions. border array tasks managed 31 32-bit closed integer, nonetheless use we're puzzled have some-more 31 specific tasks user perform. way, database schema simpler, wouldn't have change list structu...

is there php homogeneous perl's www::mechanize?

i'm looking library functionality identical perl's , nonetheless php. basically, should grant me quarrel http post requests rudimentary syntax, following parse indirect page relapse rudimentary format forms fields, along links page. i know curl, nonetheless it's small too barebones, syntax graceful dizzy (tons curl_foo($curl_handle, ...) statements clarification: i wish something some-more high-level answers far. example, perl, something like: # navigate sure page $mech->get( 'http://www.somesite.com/' ); # follow couple contains calm 'download this' $mech->follow_link( text_regex => qr/download this/i ); # quarrel post form, record site $mech->submit_form( with_fields => { username => 'mungo', evidence => 'lost-and-alone', } ); # save law file $mech->save_content('somefile.zip'); to same thing controlling http_client wget twist lot work, i'd have manually parse pages lin...

getting "object review only" blunder sourroundings clientcredentials wcf

i have surrogate vigilant generated visible studio (client side) named serverclient. i am attempting set clientcredentials.username.username/password before opening adult new tie controlling code: instancecontext context = new instancecontext(this); m_client = new serverclient(context); m_client.clientcredentials.username.username = "sample"; as shortly formula hits username line fails an "object read-only" error. i know occur tie already open faulted, nonetheless during indicate i haven't called context.open() yet. i have configured bindings (which uses nettcpbinding) summary it's confidence mode, messageclientcredentialtype set username. any ideas?

printing pointers c

i perplexing know something pointers, i wrote code: #include <stdio.h> int main(void) { bake s[] = "asd"; bake **p = &s; printf("the value s is: %p\n", s); printf("the instruction s is: %p\n", &s); printf("the value p is: %p\n", p); printf("the instruction p is: %p\n", &p); printf("the instruction s[0] is: %p\n", &s[0]); printf("the instruction s[1] is: %p\n", &s[1]); printf("the instruction s[2] is: %p\n", &s[2]); relapse 0; } when compiling gcc i warnings: $ gcc main.c -o main-bin -ansi -pedantic -wall -lm main.c: duty main: main.c:6: warning: initialization proud pointer type main.c:9: warning: format %p expects form void *, nonetheless justification 2 form char (*)[4] main.c:11: warning: format %p expects form void *, nonetheless justification 2 form char ** main.c:12: warning: format %p expects form void *, nonetheless justification ...

asp.net page life cycle

i am carrying an asp.net page page i am carrying formula behind files. on initial opening page page preinit, init, bucket methods called. postbacks the preinit, init, bucket methods called. my doubt loadviewstate control state events (overridden methods) banishment after postbacks also protected overrule vacant onpreinit(eventargs e) { base.onpreinit(e); } protected overrule vacant loadviewstate(object savedstate) { base.loadviewstate(savedstate); } protected overrule vacant loadcontrolstate(object savedstate) { base.loadcontrolstate(savedstate); } protected vacant page_init(object sender, eventargs e) { } protected vacant page_load(object sender, eventargs e) { // lblname.text = viewstate["test"].tostring(); }

how i programmatically establish presumably an mp3 record cbr vbr? (preferrably controlling c#)

i know utilities tell me bitrate an mp3 file, nonetheless i've never seen tell me presumably mp3 record vbr (variable bit rate - bit rate fluctuates within file) cbr (constant bit rate - bit rate stays same within file). speculation many programs aren't prying awaiting out given involves examining record rather bitrate changes, takes divided speed. so, lieu awaiting utility, i'd - i programmatically establish presumably an mp3 record vbr cbr? i have 15,000 files by out for, i need automate process.

how exercise an rss feed java web environment?

i am operative an doing rss feeds partnership platform. say there several thousands opposite partnership bedrooms where users share information, any needs tell an rss feed news, changes, etc... using plain servlet (i.e. ) costly, each an rss fan job servlet (and occur contend each 10 mins any user purebred an rss feed thousand rooms) trigger whole servlet lifecycle, costly. on hand, retaining stationary xml record hoop any thousands bedrooms dear well, terms tough hoop space good io operations... one some-more discount - controlling already existent frameworks competence an option... so, exercise rss feeds java envoronment?

does lucene.net control churned threads accessing same index, indexing while searching?

when controlling lucene.net asp.net, i suspect web ask trigger an transform index while another web ask behaving search. does lucene.net have built ability control indicate access, i have control it, prevaricate "being used another process" errors? edit: after reading docs experimentation, i cruise i've learned: there twin issues, thread reserve concurrency. multithreading "safe" can't anything bad index. but, it's stable during cost only vigilant carrying close index during time. second vigilant along pitch an exception. so, can't leave hunt open design author another thread means transform index. thread bustling updating index, following perplexing emanate path-finder fail. also, searchers index during open it, keep around, transform index, won't updates. i wanted searchers latest updates. my design, seems operative far, writers searchers share lock, don't destroy - only wait - until tide hunt done.

svn checkout filtered record extension?

i have home-grown involuntary build book form dos collection file. biased script, i check out (with "svn checkout") domain the svn repository includes garland third-party things that's used the projects. collection record achieved graceful good enlarged time, nonetheless have checked lots flint (docs, illustration code, etc.) third-party area checkout biased book gotten lots slower. i'd lessen checking out wholly things need -- mostly dll files the case. so, doubt this: what's best proceed check out an svn repository filtered record extension? i didn't any apparent proceed svn help. i have .net concentration library wraps svn.exe ways, i pondering fluctuating collect wholly calm matched extensions interest. nonetheless i'd move an easier existent slight exists.

jndi but j2ee enclosing (with jnp? maybe provider?)

i need run jndi provider but over j2ee container. i've attempted follow directions , describes (on page 3) accurately i wish do. unfortunately, directions fail. i supplement jboss-common.jar classpath too. once i that, i smoke-stack trace: $ java org.jnp.server.main 0 [main] debug org.jboss.naming.naming - creating namingserver stub, theserver=null,rmiport=0,clientsocketfactory=null,serversocketfactory=org.jboss.net.sockets.defaultsocketfactory@ad093076[bindaddress=null] exception thread "main" java.lang.nullpointerexception during org.jnp.server.main.getnaminginstance(main.java:301) during org.jnp.server.main.initjnpinvoker(main.java:354) during org.jnp.server.main.start(main.java:316) during org.jnp.server.main.main(main.java:104) i'm anticipating work, nonetheless i also open lightweight standalone jndi providers. activemq work, somebody advise another lightweight jms provider works good outmost vm clients but full blown app server work...

how started formulating css given (dynamically generated) html?

the separat ion plans calm domain css html - distant good understood. separat ing ... i'm looking hints best practices started assign providing "skin" "theme" calm supervision system. background: we starting acquire portal server/content supervision component starting change feeling feel review the needs. our engineer distant especially worked full control over html css, tweaking presumably method pixelperfect layout. adoption cms there's lot precreated html (very semantic, roughly tables :) needs skinned css images. nonetheless illusory change html fragments, i'd move wholly final resort. as provides plea "how started" doubt any tipps ensue articles assistance handling organizing assign - e.g. best practices designing, cut assign apparatus use. it seems bad use only save boldly generated page hoop changes locally. rather ok css files nonetheless changes html elements contingency retrofitted fragments generated from. i'd keep out designer...

make bad formula good

i got myself reading essay per changing existent bad formula good one. for reference, couple essay it broadly talked following add comments re-factoring code break infinite classes smaller classes break infinite functions smaller functions change formula challenging understand use layered architecture seems good. any addons list competence have opposing ?

java messageformat - i insert values between unparalleled quotes?

i'm carrying problem controlling java.text.messageformat object. i'm perplexing emanate sql insert statements. problem is, i something this: messageformat messageformat = "insert {0} values ( '{1}', '{2}', '{3}', {4} )"; object[] args = { str0, str1, str2, str3, str4 }; string outcome = messageformat.format(args); i value result : "insert <str0> values ( {1}, {2}, {3}, <str4> )" as see, problem any aim locations enclosed unparalleled quotes transposed arguments. i have attempted controlling double unparalleled quotes this: ''{1}'' transient characters this: \'{1}\' nonetheless still gives same result. edit: i forgot plead i also attempted '''{1}''' . outcome is: "insert <str0> values ( '{1}', '{2}', '{3}', <str4> )" . retaining uncanny quotes around nonetheless still inserting values. how i solve issue? record, i am co...

wcf errors controlling wcftestclient exam rudimentary wcf web service

when i try exam autolotwcfservice controlling "wcftestclient", i following error. am i doing wrong? any understanding help. rudimentary web use wshttpbinding interface agreement doing service. here enlarged blunder message: web.config record 2 endpoints - web use itself metadataexchange. the graceful many default stuff. i consolidate formula indispensable - seems i can't insert files here. error: can't obtain metadata http://localhost/autolotwcfservice/service.svc if windows (r) communication substructure use have access, greatfully check have enabled metadata book during specified address. for assistance enabling metadata publishing, greatfully ascribe msdn support during http://go.microsoft.com/fwlink/?linkid=65455. ws-metadata sell error uri: http://localhost/autolotwcfservice/service.svc metadata contains anxiety can't resolved: 'http://localhost/autolotwcfservice/service.svc'. remote server returned an astonishing response: (405) slight a...

apache - mod_rewrite rewriterule question

i have few problems mod_rewrite rules. there 3 opposite url settlement i wish handle. the following mod_rewrite manners don't unequivocally work . also i've problem query (example: user.html?foo=bar) doesn't have an effect. <ifmodule mod_rewrite.c> rewriteengine on rewriterule ^([0-9a-za-z_-]*)/?([0-9a-za-z_]+)-?([0-9a-za-z_,]*)\.html$ index.php?__module=$1&__view=$2&__argv=$3 rewriterule ^([0-9a-za-z_-]*)/?$ index.php?__module=$1&__view=&__argv= </ifmodule>

two-way contracting xml information wpf treeview

i am attempting rewrite concentration utilizing wpf display layer. winforms, i am populating any node programmatically nonetheless i take advantage databinding capabilities wpf, possible. in general, best proceed two-way databind wpf treeview an xml document? a general fortitude glorious nonetheless reference, structure xml request i am perplexing bond looks this: <?xml version="1.0" encoding="utf-8"?> <forestpad guid="6c9325de-dfbe-4878-9d91-1a9f1a7696b0" created="5/14/2004 1:05:10 am" updated="5/14/2004 1:07:41 am"> <forest name="a timberland node" guid="b441a196-7468-47c8-a010-7ff83429a37b" created="01/01/2003 1:00:00 am" updated="5/14/2004 1:06:15 am"> <data> <![cdata[a timberland node calm timberland node.]]> </data> <tree name="a tree node" guid="768eae66-e9df-4999-b950...

is illusory mention surrogate certification your web.config?

i need configure website opening webservice another machine, around proxy. i configure website proxy, nonetheless i can't proceed naming certification surrogate requires, possible? here tide configuration: <defaultproxy usedefaultcredentials="false"> <proxy usesystemdefault="true" proxyaddress="<proxy address>" bypassonlocal="true" /> </defaultproxy> i know around code, nonetheless program website controlling closed-source cms i can't this. is there any proceed this? msdn isn't aiding me much..

the many fit proceed tip k revisit difference large sequence

input: certain integer k large text. calm indeed beheld sequence. don't have worry smack down sequence. output: many revisit k difference text. my pondering this. use crush list record words' magnitude while camber whole sequence. phase, pivotal "word" value "word-frequency". takes o(n) time. sort (word, word-frequency) pair; pivotal "word-frequency". takes o(n*lg(n)) normal classification algorithm. after sorting, only take initial k words. takes o(k) time. to summarize, sum o(n+n lg(n)+k) given k definitely smaller n, indeed o(n lg(n)). we provoke this. actually, only wish tip k words. words' magnitude pleasantness us. so, "partial store sorting". step 2) 3), don't only sorting. instead, change be 2') build store (word, word-frequency) camber "word-frequency" key. takes o(n) build heap; 3') mislay tip k difference heap. any skirmish o(lg(n)). so, sum o(k*lg(n)). to summarize, fortitude cost o(n+k*lg(n)). this o...

how countenance elements formed an charge value controlling schema?

the xml i'm perplexing countenance follows: <root> <element attribute="foo"> <bar/> </element> <element attribute="hello"> <world/> </element> </root> how approved controlling schema? note: element wholly enclose bar attribute="foo" . element wholly enclose world attribute="hello"

how enlarged does take spin graceful proficient seer given sql server

in requesting jobs around agents i infrequently blocked an representative says know program package x. i respond i know identical package y competence contend unless know x i can't put forward. the problem agents don't know articulate about, merely being used clients screening filter. it useful means contend agents since i know y i design spin graceful proficient x given array days/months. however meaningful x last mandatory since i'm seeking question. most recently x seer y sql server. please those know both, demonstrate an opinion enlarged mandatory spin graceful proficient? nb i'm articulate apropos dba!

how emanate documented wsdl controlling xfire

i emanate webservice coupling around application. xfire provides webservice interface wsdl during runtime (or creates during accumulate time, don't know exactly). many the business don't know webservices unequivocally good additionally simply don't review any outmost support javadoc. i know it's illusory supplement support (for parameters methods) directly wsdl file. i guess annotations protection xml files nonetheless i don't know how... know way? edit: i only found nonetheless final activity 2006. any ideas?

whirlwind debate eclipse?

does anyone know whirlwind debate obscure assistance (former) visible studio user adult speed it? i only wish something tells me where simple comforts cold things i've listened many is? so distant i've controlling mostly calm editor have fitness compiling controlling programs it. but... i'm bit confused, instance infrequently i can't seem out debug mode. i'me certain i'm only looking wrong places all i'm used opposite interface. are there plugins obscure feeling feel some-more visible studio? i'm controlling europa during impulse since thats rest organisation use, howver i'm some-more happy quit ganemede...

how understanding tie strings deploying an asp.net site?

right the exam prolongation databases same server, nonetheless opposite names. deploying meant modifying web.config change tie strings repremand database. step i forget too frequently... we've finally combined new database server testing, i'm relocating databases over... nonetheless server opposite we'll still need understanding tie twine issues. i pondering handling around hosts file, nonetheless guess switching desktop accessory whenever i need exam opposing prolongation information seems unwieldy during best. so i'm only wondering there's improved proceed out there. something build "production" web config deployment ideal...

what repremand distance sequence-generated primary key?

currently, primary keys the component 10 digits longs, only over border java integers. i wish prevaricate any maintain problems down highway caused numeric yield keys, nonetheless during same i wish scapegoat many component opening store forever infinite numbers i never need. how hoop handling distance primary key? am i improved off adhering java integers, opening advantage over incomparable long, augmenting distance needed, should i punch bullet, java enlarged many pks, never have worry ing method size?

how countenance ability tradition vigilant databinding unfolding (i.e. bindinglist)?

when set property's value, presumably countenance before after updating middle value. if validating before, pitch an difference new value invalid. vigilant following always current state. if validating after, mislay preferred (i.e. around ieditableobject ), user cancel correct any time. also have choice presumably throwing an difference here arrangement errors around idataerrorinfo . i don't cruise idataerrorinfo creates clarity validating before set. some also competence remonstrate throwing an difference correct validation scenarios. validating after works good scenarios where tradition vigilant contained bindinglist set datasource grid. validating before works ok grids too nonetheless kind have pitch an difference method fasten sourroundings ability value unsuccessful information grid (without lot additional code) i am also peaceful domain objects implementing ieditableobject idataerrorinfo , inotifypropertychanged , etc. leaves domain vigilant cluttered additional conc...

preparedstatement apportionment alternatives?

what best workarounds controlling sql in apportionment instances java.sql.preparedstatement , upheld churned values due sql injection dispute confidence issues: ? placeholder represents value, rather list values. consider following sql statement: select my_column my_table where search_column (?) using preparedstatement.setstring( 1, "'a', 'b', 'c'" ); radically non-working try during workaround reasons controlling ? initial place. what workarounds available?

bad_alloc blunder controlling std::string

i'm now operative digest depends me providing route record (eg. c:\path.pth ). now, i all operative yesterday job std::string with: std::string path(`"c:\\path.pth`"); but doesn't work. throws bad_alloc . seems ' \ ' impression problem. i even attempted controlling \x5c ascii-value instead, nonetheless same result. now, doubt is, illusory i have screwed adult #define , compiler-option something else "non-code" could've caused this? i'm controlling vs 2005. any assistance many appreciated pierrebdr .. sounds unequivocally likely. during least, have :p since have mentioned kind /setstringcharsize:2bit-compiler option, i cruise it's stable assume formula disaster something up, somewhere, it's only stupid compiler-option (or similar) that's wrong..

where i good educational py2exe?

can somebody indicate me during good educational py2exe? i've review over nonetheless rather light details, compared options building an executable out python script. record, python book uses python 2.5.2, wxpython/wxwidgets 2.8 mysqldb 1.2.2; have specific tips py2exe those packages many appreciated (and yes, i've seen page).

javascript tabs arrangement twin opposite sets information same core non-static types

so basically, i have twin tabs enclose unchanging special e-mails. method e-mails, have click calendar date ajax following query database unchanging e-mails special e-mails. there unbroken before symbol navigate by law gotten comparison date. problem i have given any add-on keeps lane removed set e-mails, e-mail count, regard e-mail n n , tide e-mail. my guess i setters getters any common variable. basically, i called getemailcount() while initial tab, i'll e-mail count unchanging e-mails checking add-on now active. wholly reason i ask since i don't cruise have checking add-on active any duty best way. i googled bit, nonetheless unequivocally didn't know i should have poison for. edit: ajax requests wholly gets called whenever user name new date calendar. there results, e-mails stored removed arrays. there results, zero happens. function tabs, it's definitely simple. tabs' unique accountability arrangement e-mail info html tables. unbroken before buttons used navi...

dynamically sizing add-on finished images

Image
i'm perplexing supplement add-on web page looks this: using basis, i've gotten partially working. box differs since i wish calm domain bound with, nonetheless tail domain boldly resize take adult rest tab's container. it looks good ie 6, nonetheless doesn't unequivocally take adult full extent container. in firefox 3 doesn't news good during all: (the red vacant area between spans). how i news morally both ie6 firefox take adult full extent specified #tab? #tab4 area i'd distance take adult many room possible. <style type="text/css"> #tab { width: 300px; } #tab1 { background: #000 url(bluetabsprite.png) no-repeat 0 -136px; display: inline-block; height: 23px; padding-left: 4px; } #tab2 { background: #000 url(bluetabsprite.png) repeat-x 0 -242px; display: inline-block; : hidden; padding-top: 4px; height: 19px; width: 100...

checking dom component focus

i've got lightbox textbox displayed controlling an ajax an asp.net updatepanel. lightbox displayed, i focus() slight textbox lightbox move concentration textbox right away. when firefox, calm box gains concentration problem. ie, calm box does advantage concentration unless i settimeout(function(){txtbx.focus()}, 500); to concentration slight glow rather later, after dom component hallowed i'm assuming. the problem is, immediately above line, i'm already checking component null/undefined, vigilant already should exist hits line, only won't grant itself advantage concentration right divided reason. obviously sourroundings timer "fix" problem isn't best many glorious proceed solve this. i'd means something following: var txtbx = document.getelementbyid('txtbx'); if (txtpassword != null) { txtpassword.focus(); while (txtpassword.focus === false) { txtpassword.focus(); } } is there any proceed tell calm box concentration i som...

automatic transform checkin assemblyinfo.cs files catchy causes biased fail

we have tfs 2008 the build set adult checkout assemblyinfo.cs files project, transform assemblyinfotask, following presumably mislay checkout checkin depending presumably build upheld not. unfortunately, twin builds queued tie together law partially finished build assemblyinfo.cs files seem checked out during an surpassing chronicle before checkin. in method around i guess i "get" assign force assemblyinfo.cs files latest chronicle before updating them, nonetheless appears have effect. any ideas? <target name="afterget" condition="'$(isdesktopbuild)'!='true'"> <message text="solutionroot = $(solutionroot)" /> <message text="outdir = $(outdir)" /> <!-- set assemblyinfofiles equipment boldly --> <createitem include="$(solutionroot)\main\source\inputapplicationsln\**\$(assemblyinfospec)"> <output itemname="assemblyinfofiles" taskparameter="include" /> ...

resetting equipment tiddlywiki/checkboxplugin checklist

i've combined adult weekly-review gtd checklist myself tiddlywiki, controlling . after i'm finished any week, i'd click couple uncheck (reset) equipment it, it's prepared unbroken use. i'm storing check information tags removed tiddler page. i should means only erase tags page modernise checklist page, nonetheless i haven't means work out yet. i generally work c, c++, lisp, i'm only training javascript. anyone offer useful pointers? (and before anyone suggests it, i've looked during checklistscript same site. doesn't checkboxplugin stuff, isn't congruous it.)

java ee -- only flint genuine stuff?

i'm informed light smoke-stack over years have successfully deployed handful web sties formed it. i've used all apache + modperl, php, flush rails. good caching rails site means graceful good load, nonetheless i'm articulate massive. i never unequivocally favourite java language, xml matter, have unequivocally many ignoring whole java ee side things. those have genuine proceed trust both worlds: there something super cold java ee i'm missing, only garland prohibited air? justifies high cost exclusive app servers? i'm trolling here: i'm looking petrify examples things java ee unequivocally nails blank modern light frameworks, such differences exist. (modern = rails, django, etc). otherwise summons those things light unequivocally does improved (fewer xml lay ups one). +++++ transform october 16, 2008 i'm unhappy news many replies here helpful, simply tumble twin categories: "it beam since here 3 examples infinite web sites" "it beam since uneq...

continuous formation setup flush projects linux server

i open source collection possible. here 2 links i found nonetheless haven't attempted -

restifying urls

at work here, have box apportionment xml feeds business partners. requests the feeds customized naming query twine parameters values. parameters required, nonetheless not. for example, we've need requests mention guid brand partner, ask presumably "get latest" "search" action: for search: keywords] latest information category: structuring calm url amour parameters easy: search: latest: but should hoop dozen discretionary parameters have? jointly exclusively, mandatory combinations. unequivocally quickly, array illusory paths becomes overwhelmingly complex. what permitted practices map urls challenging query strings friendlier /rest/ful/paths? (i'm prying conventions, schemes, patterns, etc. specific technologies exercise url-rewriting web server framework.)

obtain tide svn supplement webapp

what best proceed displaying/using supplement array java webapp? we only termite build the .war archive, buildserver such. i'd wish there kind $ref i apparatus file, nonetheless wholly updated record doubt committed. i need globally. what recommend? post-commit triggers transform certain files? custom termite scripts? there some-more non-hacky proceed doing this? or it improved have possess chronicle array individualist svn. edit: good suggestions! interjection lot answers!

#define trace(...) doesn't work c++

i have following preprocessor divective: #ifndef ndebug #define snippet printf #else #define trace(...) #endif and instance use is: trace("trace: parameter = %i\n", param); in c works ideally good i build both debug redeem versions, nonetheless c++ compiler emits following: warning: unfair impression macro parameter name error: badly punctuated parameter list `#define' and points warning blunder 'trace(...)' directive. how c++ correctly?

detecting rodent clicks windows controlling python

how i detect rodent clicks regardless window rodent in? perferabliy python, nonetheless someone explain any langauge i competence means figure out. i found microsoft's site: but i don't i detect collect adult notifications listed. tried controlling pygame's pygame.mouse.get_pos() duty follows: import pygame pygame.init() while true: imitation pygame.mouse.get_pos() this only advantage 0,0. i'm informed pygame, something missing? in anycase i'd move slight but need exercise 3rd jubilee module. (other pywin32 )

can "list_display" django modeladmin arrangement attributes foreignkey fields?

i have person denote unfamiliar pivotal charge book , array fields, nonetheless i'm many concerned author (a customary charfield). with being said, personadmin model, i'd arrangement book.author controlling list_display : class personadmin(admin.modeladmin): list_display = ['book.author',] i've attempted apparent methods doing so, nonetheless zero seems work. any suggestions?

generic gdi+ error

i have form being launched another form opposite thread. many works perfectly, nonetheless i next blunder time. anyone help? at system.drawing.bitmap..ctor(int32 width, int32 height, pixelformat format) at system.drawing.bitmap..ctor(int32 width, int32 height) at system.drawing.icon.tobitmap() at system.windows.forms.threadexceptiondialog..ctor(exception t) at system.windows.forms.application.threadcontext.onthreadexception(exception t) at system.windows.forms.control.wndprocexception(exception e) at system.windows.forms.control.controlnativewindow.onthreadexception(exception e) at system.windows.forms.nativewindow.callback(intptr hwnd, int32 msg, intptr wparam, intptr lparam) at system.windows.forms.unsafenativemethods.dispatchmessagew(msg& msg) at system.windows.forms.application.componentmanager.system.windows.forms.unsafenativemethods.imsocomponentmanager.fpushmessageloop(int32 dwcomponentid, int32 reason, int32 pvloopdata) at system.windows.forms.application.threadcontext.r...

type mismatch category generics

i have following formula won't accumulate nonetheless there proceed accumulate i wish know since isn't compiling. someone illuminate me personally since i blunder summary i post during finish please? public category exam { open stationary vacant main(string args[]) { exam t = new test(); t.testt(null); } open <t extends test> vacant testt(class<t> type) { class<t> testtype = form == zero ? test.class : type; //error here system.out.println(testtype); } } type mismatch: can't modify class<capture#1-of ? extends test> class<t> by casting test.class class<t> compiles an unchecked cast warning runs perfectly.

linq sql peculiarities

i'm encountering peculiarities linq sql. with comparatively rudimentary query, i wish name fields, nonetheless have date fields formatted strings, i initial achieved this: var list = datacontext.mylists.single(x => x.id == myid); var equipment = i list.myitems select new { i.id, i.sector, i.description, completedate = i.completedate.hasvalue ? i.completedate.value.toshortdatestring() : "", duedate = i.duedate.hasvalue ? i.duedate.value.toshortdatestring() : "" }; later i attempted following query, accurately same, solely i'm querying loyal datacontext, rather an component initial query: var equipment = i datacontext.mylists sel...

what does stdole.dll do?

we have infinite c# (.net 2.0) app uses the possess c++ com member 3rd jubilee fingerprint scanner library also accessed around com. ran an emanate where prolongation events fingerprint library discharged c# app, nonetheless events the possess c++ com member discharged viewed only fine. using msinfo32 review hallowed modules operative component those unwell component dynamic caused stdole.dll being gac hence hallowed unsound process. dragging record gac caused events behind glorious fingerprint com library. so does stdole.dll do? it's 16k distance can't much... arrange couple another library stdole32? the scarcity causes such rare behavior? how liberate stdole.dll? an xcopy muster app don't gac. should package apparatus system.enterpriseservices.internal.publish.gacinstall pledge it's gac?

use var keyword c#

after contention colleagues per a 'var' keyword c# 3 i wondered people's opinions suitable uses form reduction around var? for instance i rather lazily used var controversial circumstances, e.g.:- foreach(var vigilant somelist) { // ... } // form 'item' clear. var something = someobject.someproperty; // form 'something' clear. var something = somemethod(); // form 'something' clear. more legitimate uses var follows:- var l = new list<string>(); // apparent l be. var s = new someclass(); // apparent s be. interestingly linq seems bit grey area, e.g.:- var law = r datacontext.sometable name r; // *entirely clear* law here. it's pristine law will form implements ienumerable, however isn't wholly apparent same proceed var dogmatic new vigilant is. it's even worse comes linq objects, e.g.:- var law = vigilant somelist where vigilant != 3 name item; this improved equivilent foreach(var vigilant so...

keeping growth databases churned environments sync

i'm early growth web concentration built vs2008. i have both desktop pc (where many work gets done) laptop (for occasional portability) i ankhsvn keep digest formula synced. what's best proceed keep growth database (sql server express) synced adult well? i have vs database digest svn containing emanate scripts i re-generate schema changes. uncanny thought reconstruct db whenever something changed, nonetheless it's fast apropos pain. also, i'd remove illustration rows i entered certain information being displayed properly. i'm deliberation putting .mdf .ldf files underneath source control, nonetheless i doubt sql server demonstrate hoop gracefully i an svn transform files yanked out underneath it, transposed newer copies. adhering integrate large binary files source control doesn't seem an glorious fortitude either, even only throwaway growth database. any suggestions?

modifying mbr windows

i need cgange mbr windows, i unequivocally windows. here questions. i know i hoop physical device createfile. mbr always \\.\physicaldrive0? also, i'm still training windows api review directly disk. readabsolutesectors writeabsolutesectdors twin functions i'm going need to read/write hoop sectors enclose mbr? edit from i've scholastic own. the mbr always \\.\physicaldrive0. also, bootsector (at slightest executive xp) createfile device name expostulate contains mbr. also, expostulate simply job writefile flitting hoop device combined job createfile. edit castle joel coehoorn. i need correct mbr since i'm operative digest needs cgange hardware registers after post bios, nonetheless before windows certified boot. the digest changes modifying bootloader govern the formula before windows boots up. edit cd-man. thanks info. there isn't anything your answer, though, i didn't know your answer doesn't castle question. registry sole definitely need churned reasons. ...

how i stop windows applications dark focus

i know isn't quite programming doubt nonetheless y'all contingency have means this. so...you have 4 5 rdp sessions open over corp vpn, you're bashing divided inside your favourite ide, your vpn information centre bounces fast following recovers, your rdp sessions start re-establishing connectors while doing sequentially keep grabbing focus, after other. graceful bloody irritating aspiring rude. any thought hinder intrepidity only rdp fan peep it's taskbar symbol instead totally grabbing concentration divided whatever doing? @ jason - interjection reply, i'm controlling 64 bit perspective 64 bit windows 2008. any ideas good plays? @ jason - good idea. done. @ ryan - interjection also answer. i attempted terminals few times before, nonetheless definitely mostly i need twin 3 sessions side side tabbing doesn't unequivocally foster too well, would've good have 'pop out possess window' button. i once squeeze source formula repair things that, nonethel...