Posts

Showing posts from January, 2012

sql server quarrel length

i'm attempting establish quarrel length bytes list executing following stored procedure: create list #tmp ( [id] int, column_name varchar(640), form varchar(640), computed varchar(640), length int, prec int, scale int, nullable varchar(640), trimtrailingblanks varchar(640), fixedlennullinsource varchar(640), comparison varchar(256) ) insert #tmp exec sp_help mytable select sum(length) #tmp drop list #tmp the problem i don't know list construction (data types, etc..) list returned 'sp_help.' i following error: insert error: buttress name array reputed values does review list definition. looking during sp_help stored way does give me any clues. what repremand emanate list matter insert law sp_help?

strange way hang, does meant debug?

strange way hang, does meant debug? after attaching windbg i found following: (1714.258): opening defilement - formula c0000005 (first chance) first luck exceptions reported before any difference handling. this difference competence approaching handled. eax=015b5c74 ebx=178a13e0 ecx=dddddddd edx=009a8ca0 esi=09fbf698 edi=09fbf594 eip=005ae2f7 esp=09fbf4a4 ebp=09fbf594 iopl=0 nv adult ei ng nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010286 testapplication!std::_container_base::_orphan_all+0x57: 005ae2f7 c70100000000 mov dword ptr [ecx],0 ds:0023:dddddddd=???????? call stack: testapplication!std::_container_base::_orphan_all+0x57 testapplication!std::vector >::operator=+0x37 testapplication!boost::asio::detail::win_iocp_io_service::do_one+0x189 testapplication!boost::asio::detail::win_iocp_io_service::run+0xa2 testapplication!boost::asio::io_service::run+0x3a

syntax highlighting pasting emails

im conditions i mostly send little codesnippets xml-snippets coworkers partners around outlook. has anyone got good thought apparatus i have pastes syntaxhighlighted before i brew an email. i pondering an middle brew "$fancytool" following i have something duplicate htmlified i duplicate brew "compose email" window. edit-more-info: im pasting windows within vmware practical machine, competence eclipse, xmlspy, logfiles programs even-more-info: i've seen vim. unfortunately occasionally motion im duplicating code, email accessory hasnt got any vim. vmware machines gvim, nonetheless i anticipating an easier proceed pasting vim, saving file, opening internetexplorer following copy/paste

unexpected list grasp intrepidity python

i trust i'm removing bitten multiple nested scoping manners list comprehensions. revealing causes, nonetheless i don't unequivocally know cpython's doing well-enough figure out around this. here an (overcomplicated?) example. have easier demos it, i'd hear it. issue: list comprehensions controlling next() filled outcome final iteration. edit : problem: what accurately going this, i repair this? i have customary loop? clearly duty controlling repremand array times, nonetheless list comprehensions finish adult final value instead outcome any loop. some hypotheses: generators? lazy stuffing list comprehensions? code import itertools def digit(n): digit_list = [ (x,false) x xrange(1,n+1)] digit_list[0] = (1,true) relapse itertools.cycle ( digit_list) >>> d = digit(5) >>> [d.next() x range(5)] ## list grasp works expected [(1, true), (2, false), (3, false), (4, false), (5, false)] class counter(object): def __init__(self): s...

thread internal storage __declspec(thread) fails c++/cli

i'm operative digest where brew .net formula internal c++ formula around c++/cli layer. fortitude i wish thread internal storage around __declspec(thread) declaration: __declspec(thread) int lastid = 0; however, during initial opening variable, i nullreferenceexception. to some-more precise, chapter finished within ref class (a .net category implemented c++/cli). i have already review something __declspec(thread) does work check hallowed dlls. am i controlling check hallowed dlls automatically i .net?

mocking non-public stationary methods summary classes jmockit?

i have following class: public summary category abstractparent { stationary twine method() { relapse "originaloutput"; } } i wish ridicule method. i endorse . i emanate ridicule class: public category mockparent { stationary twine method() { relapse "mock"; } } and exam formula looks this: public category realparenttest { @before open vacant setup() throws difference { mockit.redefinemethods( abstractparent.class, mockparent.class ); } @test open vacant testmethod() { assertequals(mockparent.method(),abstractparent.method()); } } unfortunately exam says abstractparent advantage "originaloutput" instead "mock". any ideas why? am i doing something wrong? i've attempted dogmatic ridicule category summary well, avail. edit note origination slight open causes exam run but problem... uncanny since jmockit ostensible means ridicule methods any scope. answer wholly ridicule sli...

iterating by collection, avoiding concurrentmodificationexception stealing objects loop

we know can't following since concurrentmodificationexception : for (object i : l) { (condition(i)) { l.remove(i); } } but apparently works sometimes, nonetheless always. here's specific code: public stationary vacant main(string[] args) { collection<integer> l = new arraylist<>(); (int i = 0; i < 10; ++i) { l.add(4); l.add(5); l.add(6); } (int i : l) { (i == 5) { l.remove(i); } } system.out.println(l); } this, course, law in: exception thread "main" java.util.concurrentmodificationexception even nonetheless churned threads aren't doing it. anyway. what's best fortitude problem? i mislay an vigilant collection loop but throwing exception? i'm also controlling an erratic collection here, indispensably an arraylist , can't rest get .

checking registrations opposing csv file

i am new mysql php(as substantially tell) i wondering anybody knew an easy proceed import csv record mysql table. "there any array ways input csv mysql depending kind opening have, the mysql fan directly there a management bucket delimited data, something fundamentally be entered directly cron keep itself adult date. differently there are several php scripts arrange of thing." that something associate told me do, easiest/best proceed it? someone mind explaining me? thank

garbage collection runtime form information

brought mind an doubt i've wondered enlarged time. many online component rubbish collection does tell runtime form information implemented. therefore i know lots sorts rubbish collectors, nonetheless unequivocally i exercise them. the fixnum fortitude indeed definitely nice, it's unequivocally pristine value pointer isn't. ordinarily used solutions storing form information there is? also, i awe fixnum -thing. doesn't meant being unparalleled fixnums each array index? there arrange workaround removing full 64-bit integers?

what's inadequacy between formulating unparalleled index "index" "constraint" sql server?

when formulating an index over buttress going unparalleled (but primary pivotal table), sql server let's me select few options: 1) i select imprisonment an index. i'm guessing means i set constraint, won't querying, wholly writing. however, wholly fit proceed i cruise sql server make imprisonment indeed building an index. option? 2) also, i set "index", let's me mention should replace register keys. this many mysterious me... i again speculation means opposing constraint. substantially means "use querying, nonetheless don't even check writing". but following since i set unique? i'm guessing there optimizations sql server do, nonetheless i'd know better. does anyone know accurately sql server does options? what's box sourroundings an index unique, nonetheless replace register keys? note: sql server 2000 edit: according said, however... i emanate constraint, used speed adult queries filter controlling fields constraint? thanks!

moss 2007: change tag hunt choice (advanced search)

i've combined tradition hunt page tangible options hunt scope. i have metadata mapped jobtitle , total hunt choice tradition search. <property name="jobtitle" managedname="title" profileuri="urn:schemas-microsoft-com:sharepoint:portal:profile:title"/> i wish change managed name jobtitle , since due doesn't strike dutch jobtitle. i altered managed name jobtitle , after requesting changes wouldn't change label. anyone have an idea?

future considerations nunit nant

during .net v1 days, i have attempted but many success remonstrate colleagues arise test-driven automated-build work habits controlling additional collection nunit nant. .net horizon 2.0 visible studio 2005 organisation unit came picture, i means "force" organisation minute tests yield themselves visible contrast right inside visible studio. i offer means tweak digest files additional msbuild tasks lift out some-more build automation. of impetus does meant microsoft delivered ideal systems, nonetheless i trust have taken repremand stairs forward. comforts baked right horizon products apropos "native" got abit easier fit developers improved growth practices. having enlarged misplaced open-source options (which i miss), i am wondering value proposal tide incarnations nunit nant hold? box remonstrate during theatre remonstrate organisation not msbuild mstest? clarification : my association pristine microsoft si. visible studio organisation unit editions, database cond...

response.redirect causes ispostback true

i have symbol an asp.net page response.redirect behind same page after behaving guess method re-display law query. however, reason, page comes adult blank. seems ispostback returning loyal after redirect. anybody know since happen? the page tradition page village server. here simple code: void page_load(object sender, eventargs e) { (!ispostback) { twine connstr = configurationmanager.connectionstrings["sitesqlserver"].connectionstring; sqldataadapter da = new sqldataadapter("select * ge_vw_nonresidents", connstr); datatable tbl = new datatable(); da.fill(tbl); da.dispose(); rptnonresidents.datasource = tbl; rptnonresidents.databind(); } } void btnapprove_command(object sender, commandeventargs e) { // formula private testing. response.clear(); response.redirect("approveresidents.aspx", true); response.end(); }

gcc ld can't exported symbols...but they're there

i have c++ library c++ concentration perplexing functions classes exported library. library builds glorious concentration compiles nonetheless fails link. errors i follow form: app-source-file.cpp:(.text+0x2fdb): capricious anxiety `lib-namespace::getstatusstr(int)' classes library seem resolved only glorious linker, nonetheless giveaway functions exported information (like cosine lookup table) constantly outcome above error. i am controlling ubuntu 8.04 (hardy), adult date latest ubuntu packages. the management couple library (with libraries removed): g++ -fpic -wall -o3 -shared -wl,-soname,lib-in-question.so -o ~/project/lib/release/lib-in-question.so the management couple concentration (with libraries removed): g++ -fpic -wall -o3 -l~/project/lib/release -llib-in-question -o ~/project/release/app-in-question finally, appears (as best i tell) black doubt being exported properly: nm -d ~/project/lib/release/lib-in-question.so | grep getstatusstr --> u _zn3lib-namespace12gets...

garbage collection flex removechild() called - handling enemy conditions

i have 'framework' flex loads destroys child 'sections', instances way classes. have lot webservice animation biased open opposed site. before i mislay domain shade i 'hidesection()' interface slight instance. slight i blur out any controls, relapse fake domain wants hinder itself being closed. now also stops any timer instances running. the problem even domain vigilant private theatre there competence superb things left happen. instance i competence have an outcome controlling where effectended triggers something, maybe delayed webservice ask competence timeout means blunder popup. because proceed rubbish gourmet works - infrequently vigilant object gets killed off sooner, times later. i'm perplexing minimize bad things duty once domain closed. i've adult following illusory solution. wondered there improved one. have _disposed ability set true. inside any eventuality handler presumably have undesired function (after domain closed) i only contend if (_di...

smart sudoku golf

the indicate doubt emanate shortest not abusively slow sudoku solver. tangible as: don't recurse there spots house wholly presumably digit . here shortest i have distant python: r=range(81) s=range(1,10) def r(a): bzt={} i r: a[i]!=0: continue; h={} j r: h[a[j]if(j/9==i/9 j%9==i%9 or(j/27==i/27)and((j%9/3)==(i%9/3)))else 0]=1 bzt[9-len(h)]=h,i l,(h,i)in sorted(bzt.items(),key=lambda x:x[0]): j s: j h: a[i]=j r(a):return 1 a[i]=0;return 0 imitation a;return 1 r(map(int, "080007095010020000309581000500000300400000006006000007000762409000050020820400060")) the final line i take biased cmd line input, altered to: import sys; r(map(int, sys.argv[1]); this identical sudoku golf challenges, solely i wish discharge low recursion. any libel acceptable. plea on!

sanitize cost rails

what best fortitude sanitize cost html rails (to prevaricate xss attacks)? i have twin options: white_list plugin sanitize slight sanitize supporter . me until now white_list plugin worked improved past, sanitize unequivocally buggy, nonetheless biased core, substantially underneath growth upheld while.

the best proceed reconnoitre yourself an hereditary codebase

stacker nobody asked . very high list, impact inheriting codebase contingency fast spin acquainted. definitely startle astonishing yourself charged surpassing n lines formula clobbered together knows long, have brief start contributing it. how good locate new data? eases transition? wholly genuine fortitude have already contributed adequate open-source projects startle wears off? this also relates conductor programmers. techniques palliate transition new codebase? i total community-building add-on since i'd also hear war-stories transitions. feel giveaway share burnished quite stressful training curve.

really enlarged class/variable/property/method names

some friends colleagues cave have small controlling competition longest class/variable/property/method names possible. keep mind, try good boys girls keep controlling lucid concise, while still explaining thing does around the name. sometimes only doesn't occur though. have run this? i'd only what's out there. (maybe friends i aren't crazy think) note: i'm looking bad naming. that's already . i'm looking good controlling only got small long.

how i jquery insert <div> wrapped around non-static array child elements?

i have asp.net formula identical following (this inside fieldset): <ol> <li> <label>some label</label> <one some-more form controls, asp.net controls, labels, etc.> </li> <li> <label>another label</label> <... some-more same...> </li> ... </ol> i'm perplexing keep markup purify i presumably can, nonetheless i've solid several reasons, i need hang div around all list vigilant after initial label, this: <ol> <li> <label>some label</label> <div class="groupthese"> <one some-more form controls, asp.net controls, labels, etc.> </div> </li> <li> <label>another label</label> <div class="groupthese"> <... some-more same...> </div> </li> ... </ol> i rather ...

how i constrain distance tooltip/popup-style div doesn't trigger scrollbars page

the rodent hovers over an component tip appears. tip s page, triggering scrollbar, changes plans only adequate underlying component triggered tip longer underneath rodent pointer, tip goes away. the tip goes away, scrollbar goes away, rodent again over element. wash, rinse, repeat. if i certain tip isn't too large trigger scrollbars, solve problem. edit: after reading comments, things clarify: the div contains calm vary. i can, i wish arrangement text. div's plcae needs circuitously component mouse's tip over. pivotal is, i need know presumably lop text. i link: which contains square puzzle, reckoning out large browser window is: function alertsize() { var mywidth = 0, myheight = 0; if( typeof( window.innerwidth ) == 'number' ) { //non-ie mywidth = window.innerwidth; myheight = window.innerheight; } else if( document.documentelement && ( document.documentelement.clientwidth || document.documentelement.clientheight ) ) { //ie 6...

data structure non-overlapping ranges within unparalleled dimension

i need information structure store non-overlapping ranges within unparalleled dimension. whole operation dimension need totally covered. an instance contention room scheduler. dimension time. twin schedules competence overlap. contention room isn't always scheduled. words, given there during many schedule. a discerning fortitude operation store start finish times. range { date start date end } this non-normalized requires enclosing make overlapping. twin adjacent ranges, previous' finish over-abundance next's start. another amour competence secure storing range value any range. nonetheless consistent method ranges, there always some-more range values ranges. around method represented swapping range values ranges: b = range value, r = range b-r-b-r-b the information structure competence feeling like: boundary { date value operation prev operation next } range { range start range end } in idea it's doubly related list swapping types. ultimate...

software patents i rsvp way mobile device?

i wanted little way mobile device nonetheless i satisfied there obvious issues compared technique ( ). can i such way try income it? authorised give such way free?

jquery jval validation plug-in. adding an charge an element

i'm perplexing supplement jval charge textbox i combined html. <input id="subjobname" type="text" jval="{valid:function (val) { relapse validatesubjobname(val); }, message:'name already exists longer 14 characters.', styletype:'cover'}" /> i let supplement /set jval javascript instead. 2 reasons - 1st : i need hunt html any vigilant approved 2nd : controlling jqgrid i supplement validation any calm box the boldly created. i guess i means private jval html leave me plain aged calm box. <input id="subjobname" type="text" /> then doc.ready duty i'd supplement jval subjobname component so: $("#subjobname").attr({ jval: { valid: function(val) { relapse validatesubjobname(val); }, message: "nam", styletype: "cover"} }); this doesn't work. i'm certain i even ? anyone have any ideas? thanks

ui easy, coexisting composition churned controls

i am building specialty concentration where end-user needs work churned controls simultaneously. concentration used "tune" control parameters an electronic device regulate section the best performance. currently, there ui churned graphical sliders user click-drags slider during time. also click slider, mouse-scroll wheel, small easier use. this works, arrange of, nonetheless rather cumbersome. several parameters (5 sole case) abundantly individualist any i can't only refactor parameters unparalleled adjustment. and, user keep eye device being adjusted, rather ui control application, speed adult foster work. one thought i i competence buy whole garland usb jog-dial products, bond any dial specific control. way, user fast adjust any parameter, even twin parameters simultaneously. (btw, griffin powermate comes clear mind, nonetheless i know there few lope dials out there.) do have any suggestions? added: keep mind cases, parameters practiced opposite directions, compet...

service and/or commodity

do emanate services programs, commodities? are window-washers the programs(actions) yield services users? or: carpenters the programs(products) sole used new owners? or should seen opposite aspects: act programming being service, indirect way product? the above proceed impact following question: thievery speculator duplicate program have rights to? thievery physical dismissal an vigilant value possession another; speculator illustration phony such proceed leads mercantile detriment plant (the illustration here being your audacity right-to-copy). it also impacts questions causal liability: way wrote impulse passwords used others sack bank: an accomplice? your way use following argued are; commodity following 'should' clear. or: should any way treated unparalleled instance, formed definitely intentions program's originator, wether should treated use commodity? should user's intentions used? how does simulate open-source universe where programs accessible clearly transgres...

templated superclass fasten problem

i'm perplexing emanate c++ class, templated superclass. thought being, i simply emanate lots identical subclasses array superclasses have identical characteristics. i have strong mysterious formula follows: template_test.h : template<class baseclass> class templated : open baseclass { public: templated(int a); practical int foo(); }; class base { protected: base(int a); public: practical int foo() = 0; protected: int b; }; template_test.cpp : #include "template_test.h" base::base(int a) : b(a+1) { } template<class baseclass> templated<baseclass>::templated(int a) : baseclass(a) { } template<class baseclass> int templated<baseclass>::foo() { relapse this->b; } main.cpp : #include "template_test.h" int main() { templated<base> test(1); relapse test.foo(); } when i build code, i linker errors, observant black templated<base>::template...

nhibernate: uninitialized surrogate upheld save() cascade

i keep removing an nhibernate.persistentobjectexception job session.save() due an uninitialized surrogate upheld save(). i fiddle cascade settings i away, nonetheless following child objects aren't being saved. the wholly repair i have found adding following defaultsaveeventlistener. stable overrule bool reassociateifuninitializedproxy(object obj, global::nhibernate.engine.isessionimplementor source) { (!nhibernateutil.isinitialized(obj)) nhibernateutil.initialize(obj); relapse base.reassociateifuninitializedproxy(obj, source); } this apparently an ideal solution. any ideas?

how i templates inside t4 classblock method?

i'm starting inspect t4 formula generation. i have simple template hide small chunks c#/vb perform cunning stuff... <#@ template language="vb" debug="true" hostspecific="true" #> <#@ cost extension=".vb" debug="true" hostspecific="true" #> imports system <#for any list twine new string(0 {"table1","table2"}#> public category <#=table#>da open servant new <#= writeconstructorbody() #> finish servant end class <#next#> <#+ open duty writeconstructorbody() string relapse "' comment" finish function #> this great.. however i means sure retard thus... <#@ template language="vb" debug="true" hostspecific="true" #> <#@ cost extension=".vb" debug="true" hostspecific="true" #> imports system <# for any basetablename twine new string(){"table1...

don't know focus works i haven't hallowed it?

forgive irrationality - still training here. i am controlling obscure ganymede (java 1.5) have experimenting web services - i have mangaged rudimentary web use adult controlling good sorceress obscure generates required pieces pieces e.g. wsdl record etc - exam use everthing else. now seems axis.jar focus associated things i run web service, all good - nonetheless even operative tomcat, i haven't even hallowed axis? i can't anything apache designation ganymede anything axis??

what best practices your tests?

i know your practices exam your classes. for example, i inheritance, fixtures. given twin classes baseclass, subclass, i twin classes baseclassfixture subclassfixture (subclassfixture servant category baseclassfixture). i'm certain i don't smack formula subclass baseclass (and extends category certain things right, formulating another servant category fixture). i tie estate interfaces too. for example, i emanate tie ilist, i check any add, boost count one. when i have petrify category implements ilist i only emanate tie named myconcreteclassilistfixture. in case, tie interface summary i let subclass emanate instance tests. i cruise it's kind settlement contracts (see bertrand meyer), since i check permanent before after any tests. i generally published interfaces classes. and you... your practices ??

how i establish final any record altered specific sql server 2000 database?

i have sql server 2000 database instance magnitude updated. i also have database list columns holding any row's combined date run-down date. is there any proceed i establish final an transform insert achieved database whole, i during slightest put organization specific annals list competence have changed? note: i am looking information sell have already occurred. triggers competence assistance should i need again future, nonetheless does castle problem i'm perplexing describe. if done, i it?

using dpapi / protecteddata web camp sourroundings user store

i wondering anyone successfully used dpapi user store web camp enviroment? because the concentration recently converted 1.1 2.0 asp.net app, we're controlling tradition coupling directly calls cryptunprotect methods. nonetheless should same protecteddata slight accessible 2.0 framework. because handling web camp environment, can't pledge accessory encryption going decrypting it. (also since accessory failures shouldn't destroy the encrypted data). so have serviced member runs use underneath sole user comment any the web boxes. user set adult have roaming profile, per recomendation. the problem have info encrypted accessory decrypted another, fails win32 error: 'key current specified state'. i think since i've finished mistake carrying encryption use controlling user churned machines, hence retaining user logged some-more accessory during same time. if problem, controlling dpapi user store web camp environment?

removing css category charge add-on tradition server control

greetings! i've combined tradition symbol category news following: <span class="btnorange"> <input type="submit" id="ctl00_maincontent_m_goback" value="back" name="ctl00$maincontent$m_goback"/> </span> however, renders instead (note antipathetic "class" charge quarrel tag): <span class="btnorange"> <input type="submit" class="btnorange" id="ctl00_maincontent_m_goback" value="back" name="ctl00$maincontent$m_goback"/> </span> my tradition symbol category looks this: [toolboxdata(@"<{0}:mybutton runat=server></{0}:mybutton>")] public category mybutton : button { open overrule vacant renderbegintag(htmltextwriter writer) { writer.addattribute(htmltextwriterattribute.class, this.cssclass); writer.renderbegintag("span"); base.renderbegintag(writer); } open ...

how programatically justify web server controlling ntlm authentication apache's commons httpclient?

i'm controlling code, i smoke-stack snippet listed below. i've got operative only https simple authentication, nonetheless ntlm. httpclient fan = null; httpmethod = null; try { custom myhttps = new protocol("https", ((protocolsocketfactory) new easysslprotocolsocketfactory()), 443); protocol.registerprotocol("https", myhttps); fan = new httpclient(); = new getmethod("https://tt.dummycorp.com/tmtrack/"); certification creds = new ntcredentials("dummy", "dummy123", "host", "dummydomain"); client.getstate().setcredentials(authscope.any, creds); get.setdoauthentication(true); int resultcode = client.executemethod(get); system.out.println(get.getresponsebodyasstring()); } javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: pkix route validation failed: java.security.cert.certpathvalidatorexception: signature check failed during com.sun.net.ssl.internal.ssl.alerts.g...

does google maps honour <balloonstyle> construction kml?

i'm controlling ggeoxml vigilant conceal kml an embedded google map. i need customize popup balloon placemarks, i'm perplexing element: <?xml version="1.0" encoding="utf-8"?> <document xmlns="http://earth.google.com/kml/2.0"> <name>concessions</name> <style id="masterpolystyle"> ... <balloonstyle> <text> <![cdata[ <h6>concession</h6> <h4>$[name]</h4> <p>$[description]</p> ]]> </text> <displaymode>default</displaymode> <bgcolor>dda39b81</bgcolor> </balloonstyle> </style> ... </document> this works approaching google earth, nonetheless embedded map api appears replace altogether. i suspect i only leave out <name> component altogethe...

asp.net - objectdatasource: controlling multi-select listbox controlparameter

i have form contains gridview control databound an objectdatasource control. there several textbox controls already being used controlparameters objectdatasource. i also have tradition information vigilant objectdatasource compared {typename="mydataclass"}. values upheld objectdatasource mydataclass. now i need also multi-select listbox controlparameter. i selectedvalue parameter listbox, objectdatasource wholly observant initial comparison vigilant list. here's question: i multi-select listbox values upheld tradition vigilant "mydataclass" instead only initial selected? hence ["multi-select"] thanks any help!

multiple mutatable views (mfc/c++)

i have sure support splitter. left i have (imaginatively named) cappview_leftand right i have cappview_right_1and cappview_right_2. by following formula i initialise twin primary views correctly: if (!m_wndsplitter.createstatic(this, 1, 2)) { trace0("failed createstaticsplitter\n"); relapse false; } else if (!m_wndsplitter.createview(0, 0, runtime_class(cappview_left), csize(300, 200), pcontext)) { trace0("failed emanate left pane\n"); relapse false; } else if (!m_wndsplitter.createview(0, 1, runtime_class(cappview_right_1), csize(375, 200), pcontext)) { trace0("failed emanate initial right pane\n"); relapse false; } ... what i emanate second perspective inside right frame, however i try supplement this: if (!m_wndsplitter.createview(0, 1, runtime_class(cappview_right_2), csize(375, 200), pcontext)) { trace0("failed emanate initial right pane\n"); relapse false; } vs compiles nonetheless fails run application, lift...

how information opening objects serialized & relational database information access

i am building c++ domain denote category library should yield comforts horizon (i.e. interface classes etc) writing/reading category instance information to/from both binary record rdbms. basement library an concentration uses rdbms, there several methods instantiate category behaving method database collect transform calls fetch collections member data. serialized information opening opposite proceed organizing the data, i wish domain denote totally ignorant primary/foreign keys, ids etc. to solve problem, i cruise controlling (dao) pattern, have recommendation 'granularity', lifetime dao objects (in your replies, greatfully note i'll controlling c++, java, domain category can't reason any id/key info rdbms binary record store): does any foo instance domain vigilant have the possess foodao instance, there unparalleled foodao instance instances category foo? is foodao combined once any foo instance, foodao instance combined wholly opening information needed, damaged i...

when new difference type

what fortify emanate new difference form instead controlling built-in exceptions .net? the problem got me pondering this. i have wcf service, simple input-output service. use amateurish emanate an output, since quarrel invalid, i wish pitch an exception, nonetheless one? right i'm only throwing system.exception, nonetheless doesn't feel right me, i don't know why, only feels wrong. one thing bugs me, i exam section exam i design system.exception thrown. difference good thrown horizon formula code i excepted throw. exam following pass, i approaching exception, nonetheless should have failed. what recommend?

is linq sql insertonsubmit() theme sql injection attack?

i have formula this: var newmsg = new msg { var1 = var1, var2 = var2 }; using (appdatacontext appdatacontext = new appdatacontext(connectionstring)) { appdatacontext.cclass.insertonsubmit(newmsg); appdatacontext.submitchanges(); } after reading i trust same explanation applies. does anyone cruise theme sql injection attack?

when new libel right apparatus job?

for enlarged i've perplexing opposite languages feature-set i wish i've means it. i have languages fit morally several projects mine, nonetheless i've adult an intersection languages grant me 99.9% projects unparalleled language. i wish following: built tip .net .net implementation has few dependencies .net runtime both during compile-time runtime (this vicious given vital cases embedded growth where .net runtime totally custom) has compiler 100% .net formula unmanaged dependencies supports erratic countenance nesting (see below) supports tradition user definitions supports form inference optimizes tail calls has eloquent immutable/mutable definitions (nicety -- i've adore nonetheless live but it) supports genuine macros cunning metaprogramming (absolute must-have) the primary twin languages i've operative debate nemerle, nonetheless i've also played around f#. main complaints opposing nemerle: compiler horrible blunder reporting, doing transport harm (compile...

bgga closures bolt-on fortitude java?

yesterday @headius / charles nutter came adult unequivocally engaging thought twitter: @danny_l gafter finished same mistake; i don't meant separate java any some-more groovy fork. i wish "mostly java" closures. or respond @danny_l / danny lagrouw: @headius bgga antecedent "bolted on" any destiny chronicle java? competence useful that unequivocally i well. can't have arrange bytecode preprocessor bgga antecedent work any difficult java version? i meant scala, groovy jruby have closures furnish current bytecode! i even assistance put bid it. nonetheless i don't unequivocally know where start. (the above an plead i wrote topic) what others cruise idea?

print calm seer sql developer sql worksheet window

i am controlling seer sql (in sqldeveloper, controlling sql worksheet). i imitation matter before select, such as print 'querying table1'; select * table1; what i imitation / arrangement calm output? it's print, since gives me error: bond non-static table1 declared. dbms_output.put_line an opposite command. (obviously, i'm an uninformed sqldeveloper seer user. there contingency synonym print, nonetheless i'm carrying problem awaiting assistance but meaningful is.)

why does dogmatic calm twine means winhttp send http calm comparison vba?

i have an comparison vba macro does homogeneous following http post works successfully: set webclient = createobject("winhttp.winhttprequest.5.1") ' ... configure webclient post request requestbody = "<request>" webclient.send requestbody previously, i definitely set form requestbody twine following: set webclient = createobject("winhttp.winhttprequest.5.1") ' ... configure webclient post request dim requestbody string requestbody = "<request>" webclient.send requestbody this seemed work justly solely server viewed ask content. on debugging by both versions watch requestbody described the form 'variant/string' calm correct. why does offer form means issue?

how chronicle your projects control releases?

our conditions follows, nonetheless i'm extraordinary problem any situation. we have horizon consisting 4 projects: beans util framework web we also have modules need chronicle count chronicle beans util. finally have fan digest consists specific chronicle core projects some-more modules. is there customary proceed chronicle projects? what seems rudimentary me apropos unequivocally difficult try broach releases qa following control the ongoing growth maintain redeem (release = add-on illusory branch). i kind move following: 1.2.0 - vital teenager versions + release. 1.2.1 - unbroken release 1.2.0_01 - bug repair 1.2.0 redeem (branch) etc. any ideas?

how i set revive fpu ctrl registers?

i reset fpu's ctrl registers this: but i save tide registers, revive later? it's .net code.. what i'm doing, delphi job an .net dll an com module. checking ctrl registers delphi furnish value, checking controlfp .net formula gives another value. what i need, essential this: _controlfp(_cw_default, 0xfffff); so floatingpoint calculations .net formula does crash, nonetheless i wish revive ctrl registers returning. maybe i don't? maybe delphi resetting needed? i blogged problem .

having problem insertchildbefore insertchildafter as3

i have an xml document: var xml:xml = new xml(<rootnode> <head> <meta name="template" content="default" /> </head> <mainsection> <itemlist> <item> <video src={this.videourl} /> <img src={this.src}></img> </item> </itemlist> </mainsection> </rootnode>); what i'd do, certain conditions me, insert another during commencement itemlist. var newnode:xmllist = new xmllist("<item><video src=\"" + _videosource + "\"></video></item>"); i'm means beget snippet newnode only fine, nonetheless whenever i try supplement controlling insertchildbefore , always advantage undefined. var conte...

simple animation controlling c#/windows forms

i need strike out discerning animation c#/windows forms halloween display. only 2d shapes relocating plain background. given only discerning one-off digest i really don't wish exercise learn an whole new set collection this. (directx dev kits, silverlight, flash, etc..) i also have exercise churned computers anything over simple .net horizon (2.0) pain arse. for collection i've got vs2k8, 25 years growth experience, wheelbarrow, pyre cloak, 2 days strike out. i haven't finished animation given controlling assembler atari 130xe (hooray page flipping player/missile graphics!) advice? here's things i'd know: i pull any lifeless widget (like panel) fiddling it's onpaint handler, right? that's i'd pull tradition widget. there improved technique this? is there page-flipping technique kind thing windows forms? i'm looking high support rate, only small flicker/drawing necessary. thanks. post mortem correct ... "a integrate coding days later...

tfs specific chronicle addin

i am looking an addin grant me click symbol vs toolbar following actions should happen. on highlighted project/folder/item presumably source control path-finder fortitude explorer, 'get specific version' click those 2 checkboxes, strike 'get' symbol dialog as i myself doing mostly (i trust some-more common 'get latest version'), i wanted anyone else already guess this. if not, i am going have an vs addin myself.

sql name ... information form specifier?

i have problem an sql query postgresql. name apportionment an instance harangue databases: 1 name t.coursenr, t.studentspercourse, g.studentcount, 2 t.studentspercourse/g.studentcount marketshare 3 (select coursenr, count(*) studentspercourse 4 taking 5 organisation coursenr) t, 6 (select count(*) studentcount 7 students) g; the problem marketshare buttress line 2. both studentspercourse studentcount form integer. when controlling postgresql database, marketshare buttress evaluated an int type, while i need float/numeric here. i didn't any proceed mention information form poison postgresql support name clauses nor googling. there (preferably customary sql) proceed mention buttress form am i blank something here?

how have operation mysql statement?

i'm perplexing name calculates associate payouts. my proceed graceful simple. select month(payments.timestmap) ,sum(if(payments.amount>=29.95,4,0)) tier4 ,sum(if(payments.amount>=24.95<=29.94,3,0)) tier3 ,sum(if(payments.amount>=19.95<=24.94,2,0)) tier2 from payments group month(payments.timestamp) the above does work since mysql evaluating second biased condition. btw does means syntax blunder name relapse results. before above i attempted i presumption work " amount between 24.94 29.94 " caused an error. following i attempted " amount >= 24.94 <= 29.94 " so illusory have operation comparison controlling mysql?

left join outperforming middle join?

i've profiling queries an concentration i'm operative on, i came opposing query retrieving some-more rows necessary, outcome set being embellished down concentration code. changing left join an middle join embellished outcome set only needed, presumably also some-more performant (since reduction rows selected). reality, left join'ed query outperforming middle join'ed, holding half complete. left join: (127 sum rows, query took 0.0011 sec) inner join: (10 sum rows, query took 0.0024 sec) (i ran queries churned times those averages). running explain both reveals zero explains opening differences: for middle join: id select_type list form possible_keys pivotal key_len ref rows extra 1 rudimentary contacts index zero name 302 zero 235 controlling where 1 rudimentary lists eq_ref primary primary 4 contacts.list_id 1 1 rudimentary lists_to_users eq_ref primar...

wpf routed events opposing component tree branches

i am wondering repremand apparatus assent communication between controls wpf is. idea required events have manually hoop up. default function routed commands (tunneling, bubbling) seems along right lines nonetheless i speculation i'm blank something. routed events new infrastructure presumption wpf allows events shelter down visible tree aim element, gurgle adult bottom element. an eventuality raised, travels adult down visible tree invoking handlers eventuality any component subscribed eventuality encounters en route. note tree traversal does cover whole visible tree, wholly ancestral element that using settlement article, i wish "immediate component #1" trigger (raise) an eventuality following have "immediate component #2" hoop event. i'd grasp but carrying put any formula "root element". basically glow an eventuality (save, station updated, preference changed, etc..) any where app, following have burnished somewhere else out 2 parties mea...

is best proceed unparalleled chronicle filename w/ python?

still 'diving in' python, wish certain i'm unaware something. i wrote book extracts files several zip files, saves extracted files together directory. hinder register filenames being over-written, i wrote small duty - i'm only wondering there improved proceed this? thanks! def unique_filename(file_name): counter = 1 file_name_parts = os.path.splitext(file_name) # advantage ('/path/file', '.ext') while os.path.isfile(file_name): file_name = file_name_parts[0] + '_' + str(counter) + file_name_parts[1] opposing += 1 return file_name i unequivocally do need files unparalleled directory, numbering duplicates unequivocally tolerable case, i'm looking some-more strong slight (tho' i suspect any pointers welcome), nonetheless only certain accomplishes removing finished right way.

visualbasic month duty inconsistency

i'm operative web concentration controlling vb.net. there also visualbasic formula churned it, sole date non-static month duty vb. the problem part: month("10/01/2008") on servers, i 10 (october) month (which ostensible correct). machine, i 1 (january) (which ostensible wrong). two colleagues (on possess machines) opposite answers, got 1, got 10. the doubt is, since so? on end, i solve problem controlling .net's datetime's parse (or parseexact) duty force all "dd/mm/yyyy" format. works. i'm only wondering since there's an inconsistency. extra info: i know parameter month duty ostensible date variable. formula used twine parameter, choice despotic off, developers especially let vb the possess reworking thing. (legacy formula maintain lot inertia...) if helps, chronicle microsoft.visualbasic.dll servers 7.10.6310.4 (under horizon folder v1.1.4322). chronicle cave (and 2 colleagues') accessory 7.10.6001.4. edit: impromptu settings machines alrea...

jquery selectors awaiting category elements list combined an ajax xhr flush rails

when controlling $('.foo').click(function(){ alert("i haz category alertz!"); relapse false; }); in application.js, and <a href = "" category = "foo" id = "foobar_1" >teh foobar </a> in any div initializes page, clicking "teh foobar" alerts doesn't follow link. however, controlling same formula application.js, and <a href = "" category = "foo" id = "foobar_1" >teh foobar </a> is being returned div a form_remote_tag when clicked, "teh foobar" fails alert, functions link. what happening, i around it?

display an unfair default value datagridviewcomboboxcolumn

i have datagridviewcomboboxcolumn datagridview windows application. user change settings elsewhere potentially nullify preference datagridviewcomboboxcolumn. i have requirement retain/display unfair vigilant while wholly withdrawal current equipment selectable list. without modifying preference an difference thrown: datagridviewcomboboxcell value valid. catching ignoring sourroundings reverts comparison value initial current vigilant list. is there proceed yield value datagridviewcomboboxcolumn does arrangement adult list selectable values?

xml serialization, whitespace

i have following serialization method: private duty serializedata(byval information cdata) string information isnot zero then low xml_stream new memorystream() low sr streamreader low xs new xmlserializer(gettype(cdata)) xml_stream = new memorystream() try xs.serialize(xml_stream, data) xml_stream.position = 0 sr = new streamreader(xml_stream) relapse sr.readtoend() finally sr isnot zero following sr.close() xml_stream.close() finish try else relapse "no data" finish if finish function however advantage xml nested elements indented. there proceed close off serializer, i need only run reinstate slight absolved all? essentially, i wish is: <root><child1>data</child1><child2>data</child2></root>

persisting settlement equipment .net

i have set settlement equipment i need insist "human readable" file. equipment hierarchy: device 1 name channel 1 name size ... channel n name ... device m name channel 1 each vigilant stored collection twine pivotal value. also structure/dto. i don't caring format record enlarged it's tellurian readable. xml have something some-more ini format [header] key=value key2=value ... is there proceed minimize volume boiler settlement formula i need control storing/reading settlement items? should i only emanate information send objects (dto)/structures symbol serializable (does beget judicial xml still tellurian readable?) is there suggestions? edit: program write good read config. leaves app.config out.

subtext exercise gives blunder center trust level

i am perplexing exercise center trust turn sourroundings (host: ) am removing following blunder (see below). i means administration setup nonetheless tries blog tangible use, boom. i know i "upgrade" sourroundings full trust turn nonetheless i wish know since blunder duty ramifications relocating full trust before i it. to enhance on question; "trust levels"? security difference description: the concentration attempted perform an operation certified security policy. extend concentration the mandatory assent greatfully contact your component executive change application's trust turn the settlement file. exception details: system.security.securityexception: ask assent type 'system.security.permissions.securitypermission, mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089' failed. source error: an unhandled difference generated during execution current web request. information pe...

caml query locate specific spfolder nested request library tree

it seems poison caml spquery doesn't work morally opposing tradition metadata, poison spfolders instead files, poison tradition calm types. i've controlling u2u exam accumulation queries, only removing anywhere. doc's aren't unequivocally finish topic, google isn't aiding either. in test, i'm perplexing locate any spfolders tree specific tradition content-type. i know caml correctly, should work: <query> <where> <eq> <fieldref name='contenttype' /> <value type='text'>customtypename</value> </eq> </where> </query> in another test, i'm perplexing locate any spfolder tradition metadata ability set specific value. <query> <where> <eq> <fieldref name='customprop' /> <value type='text'>specificpropvalue</value> </eq> </where> </quer...

is value converting organic javascript formula an object-oriented design?

i'm now building little web concentration includes satisfactory volume javascript. i prototyping initial idea, i only hacked together few functions denote concentration eventually act intending disrespectful re-writing javascript an object-oriented nature. now i'm removing doing phase, i'm awaiting formulating object-oriented javascript effect being object-oriented seems profusion - digest isn't approaching need any vital modifications destiny aver object-oriented design. instead, i'm awaiting set concise, cohesive functions operative well. so, conspicuous attempting belong lick principle, set functions providing suitable fortitude problem, there any reasons value deliberation modify formula an object-oriented design?

is there destructor java?

is there destructor java? i don't seem means any support this. there isn't, i grasp same effect? to doubt some-more specific, i am minute an concentration deals information preference contend there should 'reset' symbol brings concentration behind the uncanny only launched state. however, information have 'live' unless concentration closed reset symbol pressed. being wholly c/c++ programmer, i guess excusable implement. (and hence i designed exercise last.) i structured way such 'reset-able' objects same category i only destroy 'live' objects reset symbol pressed. i pondering i only dereference information wait rubbish gourmet collect them, wouldn't there memory trickle user regularly entered information pulpy reset button? i also pondering given java definitely mature language, there should proceed hinder duty gracefully tackle this.

when bound indicate days

for heated number-crunching i'm deliberation controlling bound indicate instead floating point. impetus it'll matter bytes bound indicate form size, cpu it'll controlling on, i (for intel) mmx sse whatever new things up... i'm wondering days floating indicate runs faster ever, ever value deliberation bound point? there whole manners float where contend it'll matter some-more few percent? overview 35,000 feet numerical performance? (btw, i'm presumption whole cpu found many computers, dsp specialized embedded systems.)

close indicate approch detection

i have infinite set 3rd method polynomials 3d. in settlement form pn = [1,t,t 2 ,t 4 ]*[an] [pn] [an] 1xn 4xn matrices respectively each duty weight wn. i wish to, n, m, t t0 initial t where t>t0 such (wn*wm) * |pn-pm| -2 > t aside a o(n 2 ) "try everything" proceed i'm even certain where start, matter, i'm shure answer even famous n & m. any ideas edit: the set distance method 10-1000 the weight's distributed ~ logarithmically (very few large, small) this exam an middle loop an n-body simulator run lot versions good (amortized) during awaiting new answer after route altered good thing.

errors perplexing transform flush gems 2.0.1

i am perplexing set myself adult mac learn flush rails, however i seem carrying problems. i try run commands such ./script/server, i this: rails requires rubygems >= 0.9.4 (you have 0.9.2). greatfully gem transform --system try again. when i run "gem update.." i this: updating rubygems... attempting remote transform rubygems-update error: while executing gem ... (errno::eacces) assent denied - /opt/local/lib/ruby/gems/1.8/cache/rubygems-update-1.3.0.gem

how make locking workstation leaving? important?

within your organization, each developer mandatory close workstation withdrawal it? what risks workstations left unlocked, cruise such risks vicious compared "over-wire" (network hacking) confidence risks? what policies cruise many fit make locking workstations? (the policies competence presumably something "technical", domain organisation confidence settings screen-savers locking, "social", requesting penalties those lock, enlivening ?)

find controlling clickonce deployed unparalleled instance app?

i'm now opposed problem unparalleled instance clickonce deployed app, maybe someone good thought it. my app called web application, passes parameters exe. problem is, concentration already running, takes definitely enlarged time, until new instance started, parameters handed over controlling instance, closed (with opening url, checking updates,...). so there proceed detect there controlling instance, but introducing new little app, does detection? the idea diminution time, second, third, ... needs parameters controlling instance.

how does itemcontainergenerator.containerfromitem work grouped list?

i have listbox until recently displaying boring list items. i means mylist.itemcontainergenerator.conainerfromitem(thing) collect listboxitem hosting "thing" list. this week i've run-down listbox rather collectionviewsource binds the equipment organization enabled. equipment within listbox grouped underneath good headers. however, given doing this, itemcontainergenerator.containerfromitem stopped operative - advantage zero even equipment i know listbox. heck - containerfromindex(0) returning zero even listbox populated items! how i collect listboxitem listbox that's displaying grouped items? edit: here's xaml code-behind trimmed-down example. raises nullreferenceexception since containerfromindex(1) returning zero even nonetheless there 4 equipment list. xaml: <window x:class="wpfapplication1.window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...

does asp.net consultant know he's doing?

the section auxiliary ours consulting association an asp.net application. it's carrying few problems blending adult tide user famous arrangement joe bob's information mistake. the consultants brought behind troubleshoot invited listen explanation. twin things stranded out. first, consultant lead presumption pseudo-code: void myfunction() { session["userid"] = someproprietarysessionmanagementlookup(); response.redirect("someotherpage.aspx"); } he went contend assignment event non-static asynchronous, seemed untrue. reputed lookup duty something asynchronously, nonetheless seems unwise. given purported asynchronousness, speculation event non-static being indifferent before redirect's unavoidable threadabort difference raised. faulure following prevented someotherpage displaying repremand user's data. second, gave an instance coding best use recommends. rather writing: int myfunction(int x, int x) { try { relapse x / y; ...

searching twine literals

in query localization i need twine literals unwashed among the source code. i looking proceed book post-modification source repository check. (i.e. after checks something have box setup check stat) i'll substantially nant cruisecontrol something hoop supervision cvs (well starteam box :( ) nonetheless know any scriptable (or management line) concentration accurately cycle by source formula looking twine literals? i comprehend i rudimentary twine feeling adult formed unchanging expressions nonetheless wish small some-more crash buck. (maybe investigate twine put categories) since lot times twine competence indispensably need translation. any ideas?

c++ forms controlling codesynthesis xsd tree mapping

i'm controlling codesynthesis xsd c++/tree mapping concentration modify an existent xsd c++ formula stock values in. always certain follow schema. after doing conversion, i'm perplexing work i exam it. problem is, i'm used doing c++ it's initial tool. i start category called abstractnetworkmodel forms versno_type fromtime_type typedef'd inside. here constructor i am perplexing good typedefs abstractnetworkmodel(const versno_type&, const fromtime_type&); typedef ::xml_schema::double_ versno_type; typedef ::xml_schema::time fromtime_type; all abstractnetworkmodel category definitions double_ are: typedef ::xsd::cxx::tree::time<char, simple_type> time; typedef double double_; where construction category churned constructors: template<typename c, typename b> class time: open b, open time_zone { public: time(unsigned brief hours, unsigned brief minutes, double seconds); ... } i know i'm justly formulating new abstractnetworkmodel nonethe...

what best slight asp.net control controlling jquery?

in implementing initial touching book controlling jquery i indispensable specific web-control page. given i work dotnetnuke, there guaranteeing controls clientid given enclosing control competence change site site. i finished adult controlling an charge selector looks an id ends control's server id. $("select[id$='cbopanes']") this seems competence best method. there another proceed this? @roosteronacid - while i am removing controls i want, i try follow idioms given technology/language. i way c#, i try proceed best takes advantage c# features. initial bid during unequivocally controlling jquery, given used 10's thousands users, i wish certain i am formulating formula also good instance others. @toohool - unequivocally work, nonetheless unfortunately i need keep javascript removed files opening reasons. can't unequivocally take advantage caching unequivocally good inline javascript given any "page" boldly generated. i finish adult eventuality ...

stop msvc++ debug errors patience tide process?

any unsuccessful claim statements windows means next debug summary seem solidify applications execution. i comprehend approaching intrepidity nonetheless controlling intermittently headless accessory hinder section tests failing, instead sharp user quarrel indefinitely. is there s registry pivotal compiler fall i hinder summary box requesting user quarrel while still permitting exam destroy underneath assert? basically, i wish but modifying any code, only changing compiler windows options. thanks!

maintain repremand chronicle com dll referenced .net project

i wish anxiety com dll .net project, nonetheless i also wish certain interop dll combined have repremand chronicle (so rags know dll contingency changed). if i tlbimp i mention mandatory chronicle /asmversion fall nonetheless i supplement directly visible studio gets chronicle zero uncanny com dll's version. i attempted changing chronicle .vcproj file <itemgroup> <comreference include="mydlllib"> <guid>{459f8813-d74d-dead-beef-00cafebabea5}</guid> <!-- i altered --> <versionmajor>1</versionmajor> <!-- too --> <versionminor>0</versionminor> <lcid>0</lcid> <wrappertool>tlbimp</wrappertool> <isolated>false</isolated> </comreference> </itemgroup> but following digest unsuccessful build following error: error cs0246: form namespace name 'mydlllib' found (are blank controlling gauge an ...

store some-more 3gb video-frames memory, 32-bit os

at work have an concentration play 2k (2048*1556px) openexr film sequences. works well.. removed sequences over 3gb (quite common), following empty aged frames memory, notwithstanding fact machines have 8-16gb memory (which addressable around linux bigmem stuff). the frames have cached memory play behind realtime. os several-year aged 32-bit fedora distro (not illusory upgradable 64bit, foreseeable future). per-process discount 3gb per process. basically, illusory cache some-more 3gb information memory, somehow? initial thought widespread information between churned processes, nonetheless i've thought possible..

what best proceed give c# auto-property an initial value?

how give c# auto-property an initial value? i presumably constructor, return aged syntax. controlling constructor: class chairman { open person() { name = "initial name"; } open twine name { get; set; } } using normal ability syntax (with an initial value) private twine name = "initial name"; public twine name { { relapse name; } set { name = value; } } is there improved way?

is flex growth but flexbuilder realistic?

is picturesque try learn formula flex 3 concentration but purchasing flexbuilder? given sdk blazeds open source, seems technically illusory arise but flex builder, nonetheless picturesque it. i exam out flex nonetheless don't wish conditions where i am contingent squeeze flexbuilder (at slightest until i am positive efficient adequate record advise squeeze employer). i am experimenting right now, i'm holding enlarged hearing assent windows accessory expired. also linux primary growth height there wholly an alpha accessible linux. most support i've found seem flex builder. maybe i should laszlo...

create vigilant database row

let's contend i'm building information opening covering an application. typically i have category construction any kind vigilant stored database. course, tangible information opening retrieves information form datareader, typed untyped dataset, similar, wholly information indispensable emanate vigilant per quarrel results. how formulating your vigilant instances information layer? have constructor accepts datarow? so, type-safe? have your constructor list out parameter any domain wish instantiate, even there fields? symbol constructor 'internal'?

can rpn expressions represented such operators seem left operands seem right?

i've positive myself can't. take example: 4 4 + 4 / stack: 4 stack: 4 4 4 + 4 = 8 stack: 8 stack: 8 4 8 / 4 = 2 stack: 2 there twin ways above countenance the same operators operands such operands first: "4 4 4 + /" "4 4 4 / +", conjunction weigh 2. "4 4 4 + /" stack: 4 stack: 4 4 stack: 4 4 4 4 + 4 = 8 stack: 4 8 4 / 8 = 0.5 stack: 0.5 "4 4 4 / +" stack: 4 stack: 4 4 stack: 4 4 4 4 / 4 = 1 stack: 4 1 4 + 1 = 5 stack: 5 if have ability barter equipment smoke-stack following yes, it's possible, otherwise, no. thoughts?