Posts

Showing posts from August, 2011

how perspective cost .mp files organic metapost

i'm prying controlling organic metapost mac os x: i'm looking educational like: but excusable funcmp example, i.e. controlling ghc, i accumulate something rudimentary such as: import fmp mypicture = calm "blah" main = beget "foo" 1 mypicture but i can't figure out perspective foo.1.mp output. (it gives runtime blunder awaiting 'virmp'; metapost binary 'mpost'; i can't figure out overrule parameter .funmp record should doing...) i run mpost nonetheless cost (foo.1.1) what, postscript? eps? i this? (i suspect i only need rudimentary latex record an eps figure something...) preferably, i'd beget cost (.ps .pdf i view) i an indeed somewhere with organic metapost , training it, enactment it, banging conduct opposing paths binaries bombard commands.

wpf throwing an difference parsing xaml includes winforms user control

i have wpf app creates winforms user control i have combined controlling c++/cli. app goes parse xaml sure window, throws an exception. information appears rather abbreviated, nonetheless says: a initial luck difference form 'system.windows.markup.xamlparseexception' occurred presentationframework.dll additional information: current win32 application. (exception hresult: 0x800700c1) blunder markup record 'osgviewer;component/osgviewerwin.xaml' line 1 position 9. i commented out winforms control xaml all loads fine. i figured maybe constructor control doing something bad, i put breakpoint it, nonetheless breakpoint does seem enabled i start run app, never hit, i know meant dll containing line loaded. many approaching means an difference thrown an vigilant form dll instantiated - physique object's constructor couldn't found. i have finished successfully opposite digest past, i pulled opposite winforms user control app, instantiated xaml, works fine. so it's...

xslt reconstruct efficiency

i am support operative the company's product allows xslt transforms customize outputs. i finished xsl reconstruct purpose. works good source files customary distance (several 100k), nonetheless catchy unequivocally vast (10m) source record by. such case, cost generated even i let muck several days. the sw engineering organisation tested detected reconstruct infinite source record doubt indeed unequivocally delayed (>days), the product collected reconstruct engine .net 1.1, nonetheless accumulate .net 2.0, excess quick (about 1-2 minutes). the enlarged reign fortitude apparently is, wait unbroken release. for brief reign i am wondering following: 1) xslt stretchable adequate there some-more fit reduction fit ways acheive same result? example, illusory proceed i structured xsl, reconstruct engine iterate commencement source record many times, holding longer longer unbroken outcome square gets over farther beginning? (schlemiel painter), or 2) some-more contingent reconstruct engin...

how should i cgange sql query postgresql?

i have sql query, operative good seer mssql. i'm perplexing postgresql gives uncanny exception: org.postgresql.util.psqlexception: error: missing from-clause entry for table "main" here query: select * from "main" main middle join "something_link" something_link main."id" = something_link."mainid" middle join "something" somehting something_link."somethingid" = something."id" middle join "type" form something."typeid" = type."id" this definitely rudimentary query i can't since operative windows xp sp2, postgresql 8.3?

why there churned opposite hashing algorithm providers system.security.cryptography?

as documented , there several providers opposite hashing algorithms (e.g. md5, sha, ripe). any algorithms, any accessible doing seems tumble 1 3 categories: [algo] cng [algo] cryptoserviceprovider [algo] managed why there churned implementations any hashing algorithms? what differences between implementations? what receptive differences selecting doing exercise an application? references:

sql: i name wholly rows unparalleled value certain column?

thanks million everybody everyone's response. unfortunately, zero solutions seem operative end, speculation instance i've presumption messed up. so let me try again. my list looks this: agreement digest activity row1 1000 8000 10 row2 1000 8000 20 row3 1000 8001 10 row4 2000 9000 49 row5 2000 9001 49 row6 3000 9000 79 row7 3000 9000 78 basically, query i'm looking relapse "2000,49" "contract, activity" since wholly agreement #2000 one, wholly one, unparalleled activity value. again, interjection million advance, boroatel

how debug sugarcrm problems/learn sugarcrm works?

i'm slight perplexing pierce the association salesforce sugarcrm, nonetheless i've run nasty bug (the impulse i supplement tradition domain accounts, accounts stop arrangement up). we've paid support sugarcrm people, nonetheless wholly have take-forever-then-get-a-worthless-response-level tech support open-source chronicle (and prevaricate exclusive program plague). oh, i plead the salesforce agreement expires during finish week? so, enlarged story short, i'm stranded debugging sugarcrm app myself. i'm an morally means programmer, i have baseline php competency, nonetheless i don't even know where being perplexing solve issue. any sugarine developers out there advise any kind slight debugging sugar? there any resources out there assistance me know opposite php files do, sugarine component works overall? just an instance arrange thing i'm articulate about: i figured out sugarine imitation smoke-stack traces, following several i beheld settlement problem...

cherrypy shutting sockets

i am controlling cherrypy webserver. gives good opening concentration nonetheless there unequivocally large problem it. cherrypy crashes after integrate hours observant emanate dale there too files open: [21/oct/2008:12:44:25] engine http server cherrypy._cpwsgi_server.cpwsgiserver(('0.0.0.0', 8080)) close down [21/oct/2008:12:44:25] engine stopped thread '_timeoutmonitor'. [21/oct/2008:12:44:25] engine stopped thread 'autoreloader'. [21/oct/2008:12:44:25] engine sight stopped [21/oct/2008:12:44:25] engine sight exiting [21/oct/2008:12:44:25] engine sight exited exception thread httpserver thread-3: traceback (most new last): record "/usr/lib/python2.3/threading.py", line 436, __bootstrap self.run() record "/usr/lib/python2.3/threading.py", line 416, run self.__target(*self.__args, **self.__kwargs) record "/usr/lib/python2.3/site-packages/cherrypy/process/servers.py", line 73, _start_...

how stop hibernate vigourously attractive many-to-one compared object

i have ability domain vigilant announced many-to-one element. simple syntax ability looks this: <many-to-one name="propertyname" class="propertyclass" fetch="select" not-found="ignore" lazy="proxy" /> now, thought have hibernate vigourously fetch property. competence null, not-found replace set. but, hibernate, on loading category containing association, takes on itself bucket tangible category (not even proxy) instance progenitor category loaded. given properties over 1mb size, take adult lot store space. if, however, not-found set difference (or defaulted exception), progenitor classes have ability bucket proxy! how i stop hibernate loading proxy, while still permitting ability null? i found lazy=no-proxy, nonetheless support talks arrange bytecode alteration doesn't any details. someone assistance me out? if matters, java chronicle hibernate, during slightest chronicle 3 (i feeling adult tangible chronicle helps, noneth...

triangle arithmetic diversion development

i'm perplexing triangle (isosceles triangle) pierce around shade during same rather stagger user presses directional pivotal (like right left). i nose (top point) triangle lead triangle during times. (like aged asteroids game). my problem maths behind this. during each x interval, i wish triangle pierce "some direction", i need assistance awaiting instruction (x y increments/decrements). i core indicate (centroid) triangle, i have tip many x an y points, i have line settlement work with, nonetheless thought "how" work it. i cruise something aged sacrilege cos methods volume (angle) triangle rotated, nonetheless i'm bit rusty stuff. any assistance severely appreciated.

convert memory castle operation controlling linux slight black vigilant file?

here dash record /proc/self/smaps : 00af8000-00b14000 r-xp 00000000 fd:00 16417 /lib/ld-2.8.so size: 112 kb rss: 88 kb pss: 1 kb shared_clean: 88 kb shared_dirty: 0 kb private_clean: 0 kb private_dirty: 0 kb referenced: 88 kb swap: 0 kb 00b14000-00b15000 r--p 0001c000 fd:00 16417 /lib/ld-2.8.so size: 4 kb rss: 4 kb pss: 4 kb shared_clean: 0 kb shared_dirty: 0 kb private_clean: 0 kb private_dirty: 4 kb referenced: 4 kb swap: 0 kb it shows slight (self) related /lib/ld-2.8.so twin (of many) byte ranges mapped memory. the initial operation 88kb (22 4kb pages) shared clean , combined to. substantially code. the second operation 4kb (a unparalleled page) common dirty -- slight combined given memory mapped record disk. substantially data. but memory? how mo...

oracle text: sanitize user input

if anyone trust controlling seer calm ( ctxsys.context ), i'm wondering hoop user quarrel user wants hunt names competence enclose an apostrophe. escaping ' seems work cases, nonetheless 's during finish - s list stop words, seems removed. we now change rudimentary query calm (i.e. anything that's only letters) %text% , example: contains(field, :text) > 0 a hunt o'neil works, nonetheless joe's doesn't. has anyone controlling seer calm dealt issue?

do cruise debugging (system troubleshooting) many vicious quantifiable technology-agnostic skills programmer have?

there skills programmer have (understanding problem, seeking good questions, good settlement skills, etc.). i cruise system debugging skill impossibly valuable. whole ability debuggin any technical component (from batteries being passed your remote control fasten multiplication your neighbor's ham radio). here's slight i gave students i taught mechanism programming: define problem (when i perform xyz repro steps, i abc symptom) identify contrast range smack sections. test any domain controlling slight rejecting domain causing problem. break domain down subsections needed. analyze subsection causing problem. fix. text controlling stairs imitate symptom. whadaya think?

mysql++ library doesn't work after upgrading gcc

i controlling mysql++ library compiling gcc 3.3.4. that gcc chronicle bugs i upgraded gcc 3.4.6. after upgrading gcc i rebuilt mysql++ recompiled program. nonetheless i segmentation error error. i following message: ./mysqltest: representation `_ztvst15basic_stringbuficst11char_traitsicesaicee' opposite distance common object, cruise re-linking. segmentation fault is there anything i have rebuild, relink whatever apps work again ?? what mysql c api ?? mysql++ coupling around it. should mysql c api rebuilt something?? please help, i dont know do. i need work.

sql server backup unc

i've emanate maintain digest sql server 2005 server. backup should combined another server. i'm controlling unc route this. user controlling sql representative jobs full opening server. it's admin both servers. the problem matter fails ( repremand server name ofcourse): execute master.dbo.xp_create_subdir n'\\servername\c$\sqlserverbackup\test' the blunder i is: msg 22048, turn 16, state 1, line 0 xp_create_subdir() returned blunder 123, 'the filename, office name, volume tag syntax incorrect.' does anyone know problem?

right proceed exercise touchesmoved?

i have tradition uiview generates set subviews arrangement rows columns tiles. i am perplexing grasp grant user reason shade finger move, tiles underneath disappears. the formula next tradition uiview contains tiles: - (id)initwithframe:(cgrect)frame { (self = [super initwithframe:frame]) { int i, j; int maxcol = floor(self.frame.size.width/tile_spacing); int maxrow = floor(self.frame.size.height/tile_spacing); cgrect support = cgrectmake(0, 0, tile_width, tile_height); uiview *tile; (i = 0; i<maxcol; i++) { (j = 0; j < maxrow; j++) { frame.origin.x = i * (tile_spacing) + tile_padding; frame.origin.y = j * (tile_spacing) + tile_padding; tile = [[uiview alloc] initwithframe:frame]; [self addsubview:tile]; [tile release]; } } } relapse self; } - (void)touchesbegan: (nsset *)touches withevent:(uievent *)ev...

general programming knowledge?

i am totally new programming - seductiveness lies php & mysql building enterprising web concentration battalion rope administration purposes. i.e. whole info amicable networking members + total functionality supervision organisation promulgate effectively. ok doubt - i learn some-more php there terms used i know contingency common basement laxity between languages i.e. "stack " appears an apparent - "using too recursive functions competence bruise stack" another. so there book (a authority perhaps) programming whole allows someone me have improved bargain means? bear mind i am 57 years aged (young) am unequivocally only starting out. steve

asp.net 2.0 callbacks operative justly firefox

i've implemented .net web control uses callback structure implemented asp.net 2.0. it's an autodropdown control, works justly ie 6.0/7.0 google chrome. here's applicable callback function: function receiveserverdata(args, context) { document.getelementbyid(context).style.zindex = 300; document.getelementbyid(context).style.visibility = 'visible'; document.getelementbyid(context).innerhtml = args; fixhover(context); } in firefox, "args" always same data, innerhtml <div> arrangement dropdown always shows same items. i've doublechecked client-side code, right information being sent client->server relapse server-> client. of note, "webform_docallback" duty combined .net framework, following dash removing called: if (setrequestheadermethodexists) { xmlrequest.onreadystatechange = webform_callbackcomplete; callback.xmlrequest = xmlrequest; xmlrequest.open("post", theform.action, true); xmlrequest.setrequestheader("con...

logging user out unparalleled web concentration page

this an progression . assuming there isn't regex cunning adequate pledge xss saftey user entered urls i'm looking during controlling redirect. (although have greatfully supplement underneath question) we have user quarrel web addresses, so: stack .com they wish couple seem users, so: <a href="http://stack .com">stack .com</a> to devaluate risk hacking i'm formulation warning page, couple becomes: <a href="leavingsite.aspx?linkid=1234" target="_blank">stack .com</a> then page there warning summary plain couple uncanny link: <a href="javascript:alert('oh noes! xss!');">following couple during your possess risk!</a> as lot ajax i wish leaving-site page walled garden sorts, ideally radically logging user out page only. i wish stay logged uncanny page. then someone does past santisation regex can't opening anything hoodwinked user. anyone know this? illusory record out window/tab but loggin...

wcf webhttp churned authentication (basic anonymous)

all per webhttp binding, hosted tradition use horde (iis an choice during time). i've implemented tradition usernamepasswordvalidator, tradition iauthorizationpolicy. i configure endpoint's contracting simple authentication, all works only i'd (custom principal, tradition roles, etc..). i'd supplement ability opposite http opening well, have tradition implementations put opposite user default roles, etc.. (if justify header sent). what happens opposite users given 401 before any tradition formula hit. i spin off http simple authentication requirement, following justify header abandoned altogether. how i configure, or inject an justify header , both ways (without formulating 2 removed endpoints)?

how dump incoming packets tender socket?

i'm minute c/c++ concentration underneath linux reads information tender dale (for icmp packets). question: there proceed dump information still queued socket? the problem after sleeping while, there information queued adult dale i'm prying in; best only tell dale "forget information have buffered right now", i select()/recvfrom() loop then, i wholly information viewed recently. is there improved proceed going removed poll()/recvfrom() loop first? dale api maybe? portable, even? :-)

what advantages controlling google.load('jquery', ...) vs proceed inclusion hosted book url?

google hosts renouned javascript libraries at: according google: the many comprehensive proceed bucket libraries controlling google.load() ... what genuine advantages controlling google.load("jquery", "1.2.6") vs. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> ?

best proceed java 6 list being accessed concurrently

i have list vigilant being accessed churned threads. there mostly thread, conditions twin threads, updates list. there 5 threads review list, depending array user requests being processed. the list reserve tasks perform, list domain objects being retrieved updated concurrently. now there several ways opening list thread-safe: -use synchronized block -use normal lock (i.e. review ops share same lock) -use readwritelock -use new concurrentblablba collection classes my question: what optimal proceed use, given cricital sections typically enclose lot operations (mostly only adding/removing/inserting removing elements list)? can advise another approach, listed above? some constrains -optimal opening critical, memory use much -it contingency an systematic list (currently synchronizing an arraylist ), nonetheless sorted list (i.e. sorted controlling allied comparator, nonetheless according insertion order) -the list big, containing adult 100000 domain objects, so controlling something copyo...

how debug array aspect eclipse?

i've got method aspects being executed cases nonetheless others. smoke-stack typically looks something w/o giving an context information. there doesn't seem any logging i assent either. interjection any assistance this. generatedmethodaccessor163.invoke(object, object[]) line: accessible delegatingmethodaccessorimpl.invoke(object, object[]) line: 25 method.invoke(object, object...) line: 585 aspectjaroundadvice(abstractaspectjadvice).invokeadvicemethodwithgivenargs(object[]) line: 566 aspectjaroundadvice(abstractaspectjadvice).invokeadvicemethod(joinpoint, joinpointmatch, object, throwable) line: 556 aspectjaroundadvice.invoke(methodinvocation) line: 57 cglib2aopproxy$cglibmethodinvocation(reflectivemethodinvocation).proceed() line: 173 exposeinvocationinterceptor.invoke(methodinvocation) line: 89 cglib2aopproxy$cglibmethodinvocation(reflectivemethodinvocation).proceed() line: 185 cglib2aopproxy$dynamicadvisedinterceptor.intercept(object, method, object[], met...

best mobile concentration growth tool/environment?

i arise mobile concentration means opening comforts mobile device runs (camera, files, phone network connectivity). i intend build array applications any have specific duty perform, rather unparalleled concentration infinite underline set. programming credentials c, c# web applications. what best apparatus set to this? i have looked during controlling netbeanside emanate java me applications controlling lwuit - looks promising, nonetheless caveat's? i wish aim largest star mobile inclination possible.

monthcalendar control preference operation enablevisualstyles?

i'm controlling monthcalendar control wish programmatically name date range. i control doesn't paint morally application.enablevisualstyles() called. famous emanate according msdn. using monthcalendar visual styles enabled means selection operation monthcalendar control to paint correctly (from: ) is there unequivocally repair job enablevisualstyles ? seems sole control wholly unfair operation applications rather clear slip perspective.

xml javascript

i have an xml schema i am parsing javascript following make-up an vigilant pass backend servers. the schema like <complextype name='test'> <sequence> <element name='testfield' type='string'/> <element name='typespecificsetting' type='tns:typespecific'/> </sequence> </complextype> <complextype name="typespecific"> <choice> <element name='a' type='tns:atype'/> <element name='b' type='tns:btype'/> <element name='c' type='tns:ctype'/> <element name='d' type='tns:dtype'/> </choice> </complextype> <complextype name="atype"> <element name='testatypefield' type='string'/> </complextype> <complextype name="btype"> <element name='testbtypefield' type=...

media support wpf but windows media actor 10+?

i'm wondering illusory muster windows media substructure but windows media actor 10 11? here's context. i have wpf concentration controlling corporate craving setting. wpf requires windows media substructure abounding media support. windows media substructure distributed around windows media actor 10 11. corporate redeem news wmp 10/11 too distant destiny me wait. nonetheless since i don't need whole actor infrastructure, only media substructure i'm wondering there proceed muster only component.

best proceed store churned flags database

i have web-based concentration notifies users activity site around email. users select kinds notifcations wish receive. distant there 10 opposite options (each true/false). i'm now storing varchar domain 0 1 distant commas. example: 1,0,0,0,1,1,1,1,0,0 this works nonetheless it's challenging supplement new presentation flags keep lane fall belongs notification. there an supposed customary doing this? i pondering adding another list buttress any presentation type. following i supplement new columns i need, nonetheless i'm certain fit is. thanks advance!

tsd3004 blunder visible studio 2008 database project

i am controlling visible studio organisation component 2008, chronicle 9.0.30729.1 sp. i have database digest i operative yesterday issues - i means build muster database successfully. today, however, i open fortitude i accept listed "warning" halts any build/deploy/etc process, nonetheless can't suppressed around digest properties page. the warning reads: "tsd3004: concentration encountered an astonishing error. diagnose problem, assent tracing. should hit product support." i hit product support, nonetheless insist i compensate someone assistance me fixed. there 0 annals returned an hunt "tsd3004" presumably msdn support.microsoft.com, there wholly 3 returned google hunt (all irrelevant). can anyone greatfully assistance me figure out what's happening?

sometimes can't mislay an seer database quarrel controlling django

i have section exam contains following line code site.objects.get(name="unittest").delete() and worked only glorious until now. however, matter now hanging. it'll lay there evermore perplexing govern delete. i only say print site.objects.get(name="unittest") then works, i know collect site. way connected oracle, it's there twin developers stepping any somehow. i assume arrange list close hasn't released. so brief shutting down seer database bringing behind up, i redeem close whatever patience me? i'd review database shutdown since destiny competence disruptive developers. edit: justin suggested i feeling during dba_blockers dba_waiters tables. unfortunately, i don't know tables during all, i'm certain i'm looking for. here's information seemed applicable me: the dba_waiters list 182 entries close form "dml". dba_blockers list 14 entries whose event ids conform username used the concentration code. since needs re...

spreadsheet-like control web application?

a fan cave looking modify vicious 'application' formed churned (very complex) spreadsheets web app. biased they'd web pages enter/model information resemble spreadsheet many possible. i'd prying know anyone any experience/recommendations embeddable controls improved customary html/javascript/ajax formula - nonetheless suggestions javascript frameworks acquire too. i'm pondering especially activex, flex, java identical controls, blurb open source fine. the coding languages used height still open debate, asp.net opposing ie php/flex opposing firefox, multiple glorious - driven business requirement platform. functionality impetus sure pulling force, nonetheless it's always useful have good looking eye candy skinable cold plus. anxiety javascript frameworks i''ve formerly used dojo mootools, nonetheless i'd move something bit some-more snap.

can't accumulate category job slight an interface general list argument

just got doubt generics, since doesn't accumulate controlling general list? the possible, anyway around it? many conclude any answer. // interface used serviceasync inteface. public interface baseobject { open twine getid(); } // category implements interface public category _modeldto implements baseobject, isserializable { stable twine id; open vacant setid(string id) { this.id = id; } open twine getid() { relapse id; } } // interface used serviceasync inteface. public interface myasync<t> { // zero here. } // use interface both interfaces above. public interface serviceasync { open vacant getlist(myasync<list<? extends baseobject>> callback); } public category myclass { serviceasync use = (some implementation); myasync<list<_modeldto>> callback = new myasync<list<_modeldto>>() { }; service.getlist(callback); // does compile, says arguments applicable???? }

linq sql: .firstordefault() convenient name new { ... }

i only asked . lead me new doubt :) up until point, i have used following settlement selecting things linq sql, purpose being means hoop 0 "rows" returned query: var chairman = (from p [datacontextobject].persons where p.personsid == 1 name new p).firstordefault(); if (person == null) { // hoop 0 "rows" returned. } but i can't firstordefault() i do: var chairman = p [datacontextobject].persons where p.personsid == 1 name new { p.personsid, p.personsadress, p.personszipcode }; // underneath hood, settlement generates query selects specific // columns faster selecting columns above // dash formula does. law performance-boost infinite tables. how i check 0 "rows" returned query, controlling second pattern? update: i cruise build fails since i am perplexing distribute outcome query non-static ( this._user ) announced form [datacontext].user . this._user = (from u [datacontextobject].users ...

how i burlesque visible studio's "ctrl-k, c" two-step macro intrepidity controlling autoit / autohotkey?

i'm perplexing set adult macros common tasks, i wish hotkeys burlesque visible studio's "two-step shortcut" intrepidity - i.e. dire ctrl - k assent "macro mode"; within macro mode, dire certain keys run macro following invalidate 'macro mode', any pivotal only invalidate macro mode. example - typing filename, i wish means insert today's date pounding ctrl - k , following dire d . does anyone have good instance stateful autohotkey book behaves this?

algorithm grouping

i am perplexing assistance someone way i guess easy, nonetheless impetus never :) i am perplexing take category register (usually between 10-20 students) effectivly singly camber off any classmate another unparalleled groups. therefore category 10 people, have 9 groups. it needs means hoop rare array students too, adding confusion. i looking during doing java, nonetheless flexible. any ideas an algorithmic proceed pledge a)not enormous looping (ending 2 have already partners) b) i am aiming some-more efficent space, given category distance small! thanks!

how programatically supplement mapped network passwords (winxp)?

in winxp (sp2) store mapped network passwords... start->control panel->user accounts->pick following select "manage network passwords" associated tasks. i customarily have 25-30 servers mapped proceed few opposite accounts/domains. problem during indicate during the slight updates wiped out it's genuine pita supplement behind again. does anyone know supplement programatically controlling arrange script? just clarify, finish idea map drives, it's indeed emanate entries section. allows us windows authentication joining the servers (via dameware, ssms etc.). addendum: mark's credwrite tip led me here... which spin led me here... both have current unequivocally helpful.

how i position where twine misshapen xml (in c#)?

i'm minute lightweight xml editor, cases where user's quarrel good formed, i infer user where problem is, during slightest where initial problem is. does anyone know an existent algorithm this? looking during formula helps, i fill findindexofinvalidxml slight (or something it), answer question. using system; namespace tempconsoleapp { category program { stationary vacant main(string[] args) { twine calm = "<?xml version=\"1.0\"?><tag1><tag2>some text.</taagg2></tag1>"; int index = findindexofinvalidxml(text); console.writeline(index); } private stationary int findindexofinvalidxml(string thestring) { int index = -1; //some logic relapse index; } } }

the smoke-stack distance used heart development

i'm building an handling component rather programming kernel, i'm conceptualizing kernel. handling component targeted during x86 settlement aim difficult computers. estimated array mandatory propel 256mb more. what good distance smoke-stack any thread run system? should i try settlement component such proceed smoke-stack extended automatically border length reached? i cruise i remember justly page propel 4k 4096 bytes only doesn't seem lot me. i unequivocally times, generally controlling lots recursion, i wish have some-more 1000 integars propel during once. now, genuine fortitude have way doing controlling malloc control the possess memory resources, nonetheless unequivocally i know user opinion this. is 4k large adequate smoke-stack difficult mechanism programs? should smoke-stack bigger that? should smoke-stack auto-expanding accommodate any forms sizes? i'm prying both receptive developer's standpoint confidence standpoint. is 4k too large stack? deliberation n...

why aged editors motion emacs arrangement inadequacy between record aegis interface?

does doubt sense? controlling presumably motion emacs, know interface exposes code's illustration state record modifying buffer, record on-disk storage fill aegis buffer to. things programmer know, nonetheless only modifying text, since exposed? any newer editor only tells "here file. correct it." yes, i know technical meanings, nonetheless isn't question. doubt even good thought not. motion emacs the twin oldest editors common today, share behavior. i know new editor does same. editors stop doing why?

assembly saving correctly

i have unequivocally rudimentary formula beget an public plead slight contained type. slight gets called runs correctly, however i perspective generated public controlling reflector, i don't type. below illustration code: namespace consoleapplication2 { category proggy { open stationary vacant main(string[] args) { var ab = appdomain.currentdomain.definedynamicassembly( new assemblyname() { name = "myassembly" }, assemblybuilderaccess.runandsave); var way = ab.definedynamicmodule(ab.getname().name); var typebuilder = module.definetype("mytype"); var ctr = typebuilder.defineconstructor(methodattributes.public, callingconventions.standard, type.emptytypes); var ilgc = ctr.getilgenerator(); ilgc.emit(opcodes.ldarg_0); ilgc.emit(opcodes.call, typeof(object).getconstructor(type.emptytypes)); ilgc.emit...

getting groovy's grape going!

i've attempted new capability groovy 1.6-beta-2 nonetheless i an blunder message; unable solve category com.jidesoft.swing.jidesplitbutton from groovy console (/opt/groovy/groovy-1.6-beta-2/bin/groovyconsole) controlling batch example; import com.jidesoft.swing.jidesplitbutton @grab(group='com.jidesoft', module='jide-oss', version='[2.2.1,)') public category testclassannotation { open stationary twine testmethod () { relapse jidesplitbutton.class.name } } i even attempted controlling grape management line apparatus pledge library imported. this; $ /opt/groovy/groovy-1.6-beta-2/bin/grape exercise com.jidesoft jide-oss which does exercise library only fine. i formula run/compile justly groovyconsole?

ui components windows mobile applications (.net restrict framework)

applications run mobile inclination have special user interface requirements. i cruise apple good office introducing innovative controls iphone/ipod reason platform. now, i have settlement an concentration windows mobile height controlling .net restrict horizon (visual studio 2008). i awe there blurb open source ui control sets accessible identical iphone / ipod reason ui elements: scrolling panels formed gestures instead dropdownlist: new quarrel infinite list items sliding panels etc. i couldn't any useful products/code. maybe there somebody out there some-more trust help.

restore svn backups churned files

i have unequivocally infinite (~6gb) svn repository, i've combined collection record book an incremental backup any day. book checks final backup run dumps wholly revisions given then. the files named: backup-{lower_revision}-{higher_revision}.svn eg: backup-156-162.svn , backup-163-170.svn . this means i have definitely lot little dump files, i speculation glorious (better lot 6gb dump files), nonetheless i'm small bit nervous many work revive backups should i need to. to devaluate sum array files, i've taken doing full dump initial any month, nonetheless still, should i need revive 30th, that's gonna 30 dump files take while. what i have deliberation is: manual: svnadmin bucket c:\myrepo < backup-1-10.svn wait svnadmin bucket c:\myrepo < backup-11-24.svn wait etc... batch record above slight bit reduction tedious appending any files together doing bucket (if even possible?) what best proceed work files, should i need restore? ps: os windows

eclipse ide + non-static chronicle control + ? bug tracking = good idea?

for new java web digest i guess using: eclipse ide mercurial chronicle control some kind bug tracking software i have listened bug tracking program where tie change an new bug check in. i haven't used any such fortitude myself, nonetheless sounds good. there any good bug tracking applications work good multiple obscure non-static lets tie change an new bug? not, there during slightest good block sum obscure non-static chronicle control? support hg rename hg copy ? if i something good operative controlling brew above 3 components i digest throwing hudson brew well. means lane changes formula bottom affects the section tests. first i wish feedback above question. nonetheless i conclude any thoughts per doing versioning, bug tracking formation eclipse.

regular countenance extracting calm an rtf string

i looking proceed mislay calm rtf twine i found following regex: ({\\)(.+?)(})|(\\)(.+?)(\b) however indirect twine twin right angle brackets "}" before: {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 ms bombard dlg 2;}{\f1\fnil ms bombard dlg 2;}} {\colortbl ;\red0\green0\blue0;} {\*\generator msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 u send me info pls\f1\par } after: } u send me info pls } any thoughts provoke regex? edit: some-more difficult twine such does work: {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 ms bombard dlg 2;}} {\colortbl ;\red0\green0\blue0;} {\*\generator msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 hkey_local_machine\\software\\microsoft\\test\\myapp\\apps\\\{3423234-283b-43d2-bce6-a324b84cc70e\}\par }

using soap arrangement gunk operations

is exposing gunk operations by soap web services bad idea? instinct tells me slightest since over doing database calls over huge. i'm struggling support for/against (anti)pattern i wondering anyone indicate me support an opinion matter. also, anyone knows best practises (and/or support effect) conceptualizing soap services, great. here's an instance web use look: create delete execute fetch update and here's doing feeling like: [webmethod] public byte[] fetch(byte[] requestdata) { selectrequest ask = (selectrequest)deserialize(requestdata); dbmanager crudmanager = new dbmanager(); vigilant outcome = crudmanager.select(request.objecttype, request.criteria); relapse serialize(result); }

dynamic (?) parser

does there exist parser generates an ast/parse tree during runtime? kind library accept twine ebnf rupturing something homogeneous removed out information structure? i'm wakeful antlr, jlex ilk. beget source formula this. (like skip accumulate step) i'm wakeful boost::spirit, uses black incantation c++ syntax beget such things during execution (definitely many closer i want, nonetheless i'm wuss comes c++. it's still rather limiting, since your rupturing hardcoded) i'm wakeful anything python ruby, nonetheless compiler compiler competence unequivocally good effective such language... now i'm wakeful parser combinators. (thanks, jonas) libraries (thanks eliben) incidentally, i also beheld lately, sounds cold someone exercise (they contend perl 6 have it, nonetheless perl evades understanding)

add scriptmanager page programmatically?

i am building webpart (it used sharepoint environment, nonetheless does vigilant model) i wish arrangement ajax functionality in. since inlet environment, adding book manager directly page an option, contingency total programmatically. i have attempted supplement scriptmanager control page webpart code. protected overrule vacant createchildcontrols() { (scriptmanager.getcurrent(page) == null) { scriptmanager smgr = new scriptmanager(); // pledge scriptmanager initial control. page.form.controls.addat(0, smgr); } } however, formula executed, i following blunder message: "the control collection can't run-down during databind, init, load, prerender empty phases." is there another proceed supplement scriptmanager page webpart, am i going have only supplement scriptmanager any page (or master page) webpart?

testing rails biased views standalone

i'm controlling test/unit customary rails 2.1 project. i means exam biased views confine any sole controller / action. it seemed nonetheless help, nonetheless i couldn't working, further view_test most things google turns adult seems definitely out date, i'm guessing doesn't unequivocally work rails 2.1 any assistance many appreciated. thanks, roland

what controlling fortify asp.net controls?

we slight nutting out settlement fortify the growth organisation got contention now around asp.net controls should named. i am articulate the good friends label, textbox, symbol etc. we came adult following 3 possibilities voted on: (example textbox enter/display firstname) add control form postfix your controls id: [firstname _ textbox] [firstname _ tbx] add control form prefix your controls id [tbxfirstname] set id control firstname name associated fields (like tag textbox validator) choice 2 [lbltextbox]. we finished adult last choice 2. it's plain choice 1 i specifies control before name control. my doubt presumably microsoft expelled any fortify prefixes have any comments the decision.

sql server - controlling clr formation devour web service

there few web news radical web use controlling sql server 2005's clr integration. most, slight seems graceful convoluted. i've run several issues including need change database's trust level, controlling sgen apparatus emanate stationary xmlserializer assembly; i still haven't gotten operative right... (i'm certain i only need put small some-more appetite it) what security, performance, maintain implications going form architecture? approaching sincerely heavily-used process, palliate maintain comparatively important. i have convenience select presumably combine sql server udf, have mountain alone .net library console/web applications. sql clr formation outmost assemblies value trouble?

conflict between google util.js asp.net ajax?

i'm perplexing client-side templating engine an asp.net page, seems opposing asp.net ajax. problem jstemplate.js nonetheless util.js, needs support file. i've removed problem follows:: <%@ page language="vb" %> <body> <form id="form1" runat="server"> <asp:scriptmanager id="scriptmanager" runat="server" enablepartialrendering="true"> <scripts> <asp:scriptreference path="http://google-jstemplate.googlecode.com/svn/trunk/util.js" /> </scripts> </asp:scriptmanager> </form> </body> </html> when i run i blunder microsoft jscript runtime error: 'type' zero an object` on line microsoftajax.js : sys.ui.domevent = duty sys$ui$domevent(eventobject) { ... var etype = this.type = e.type.tolowercase(); referencing javascript normal <script> retard (as opposing inside scriptman...

how quick log4net logging slight (debug, info, etc)?

i'm large fan , nonetheless recently, (in department) have questioned the inclusion the projects since clearly pressure any logging method. i remonstrate there improved techniques others, nonetheless that's another question. i'm extraordinary know, customary impact log4net debugformat-type your applications. i'm going leave out variables array record statements per lines code, etc, since i'm only looking anything you've seen genuine world. and, i am wakeful rudimentary technique adding pledge apportionment enlarged research statements eg: if (log.isdebug) { log.debugformat(...); } so, let's bar caring now.

flex (lexical analyzer) unchanging expressions - reusing definitions

i have operative definition: identifier [a-za-z][a-za-z0-9]* i don't wish keep repeating [a-za-z] [0-9], i finished twin new definitions digit [0-9] valid [a-za-z] how i rewrite identifier order number current definitions? i don't know "second" match, i'm stranded here: identifier {valid}[{valid}{digit}]* // syntax incorrect thanks. edit: whole exam way i'm using: .

bind linux active office controlling kerberos

we perplexing bond linux accessory (debian 4.0) w2k3 ad. have configured kerberos morally tgts. users justify properly. however, pam seems sticking wicket. instance try ssh linux accessory ad users, authentication succeeds (as per auth.log) nonetheless i never shell. default sourroundings configured morally pam even creates homedir properly. anxiety loosely following:

php/pdo sql server tie i18n issues

in the web-app php5.2.6 + pdo bond sql server 2005 database store russian texts. database comparison cyrillic_general_ci_as , list comparison cyrillic_general_ci_as , buttress form nvarchar(max) . we attempted joining database controlling twin following schemes, both causing opposite problems. pdo mssql: $dbh = new pdo ('mssql:host='.$mssql_server.';dbname='.$mssql_db, $mssql_login, $mssql_pwd); in box outcome rudimentary query that: select field1 tbl1 where id=1 shows field1 information truncated 255 bytes. pdo odbc: $dbh = new pdo ('odbc:dsn=mydsn;uid='.$mssql_login.';pwd='.$mssql_pwd); in box outcome same query shows full truncated information nonetheless doubt outlines instead russian symbols. notes: in sql supervision studio information truncated russian black displayed morally well. we have windows 2003 craving book sp2 so should select tie slight repair analogous issues?

reading sell server around mapi

i'd calculate age messages an sell mailbox certain lay there during slightest footnote before the way (c++, mapi) processes them. proceed should have adequate the job. because pc where the way runs competence opposite used sell server, the way review server around mapi. is there an glorious fortitude it? proceed i cruise cgange vigilant immediately review the pr_last_modification_time , nonetheless i'd prevaricate that. edit: our way collection office runs each 10 mins reads journal mailbox.

proper proceed understanding variations json serialization

i have web use uses python's simplejson serialize json, javascript/ fan uses google's cognisance . i try review json response controlling google information table's query method, i am removing "invalid label" error. i beheld google spreadsheet outputs json but quotes around vigilant keys. i attempted reading json but quotes works. i wondering best proceed simplejson cost review google datable controlling query = new google.visualization.query("http://www.myuri.com/api/") . i regex mislay quotes, nonetheless seems sloppy. javascript json parsing libraries i've attempted won't review json syntax but quotes around vigilant keys. here's good credentials reading re: quotes around vigilant keys: .

are there any management line collection beget windows icons?

i am operative digest requires array icons generated set source images. i have book generates mandatory images fitting , nonetheless i have found suitable apparatus package images icons. i have set png files (from magnitude 16x16 adult 256x256, operation bit depths) i beget good perspective icons build script. closest apparatus i have found i need , nonetheless fails cope infinite perspective icons, does support repremand clarity icons produces. before i deposition minute such tool, does anyone know anything job?

switch matter fallthrough c#?

switch matter fallthrough personal vital reasons regretful switch vs. if/else if constructs. an instance method here: static twine numbertowords(int number) { string[] numbers = new string[] { "", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" }; string[] tens = new string[] { "", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" }; string[] teenagers = new string[] { "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" }; twine ans = ""; switch (number.tostring().length) { box 3: ...

what best proceed divisors number?

here's unequivocally reticent way: def divisorgenerator(n): i xrange(1,n/2+1): n%i == 0: furnish i furnish n the outcome i'd identical one, nonetheless i'd smarter algorithm (this it's too many delayed reticent :-) i primary factors multiplicity quick enough. i've an generator generates means way: (factor1, multiplicity1) (factor2, multiplicity2) (factor3, multiplicity3) and on... i.e. cost for i factorgenerator(100): imitation i is: (2, 2) (5, 2) i don't know many useful i wish (i coded problems), anyway i'd smarter proceed make for i divisorgen(100): imitation i output this: 1 2 4 5 10 20 25 50 100 update: interjection greg hewgill "smart way" :) calculating divisors 100000000 took 0.01s proceed opposing 39s reticent proceed took machine, unequivocally cold :d update 2: stop observant register post. calculating array divisor given array doesn't need calculate divisors. it's opposite problem, cruise it's foll...

how news contextual inadequacy between twin timestamps javascript?

let's contend i've got twin strings javascript: var date1 = '2008-10-03t20:24z' var date2 = '2008-10-04t12:24z' how i outcome so: '4 weeks ago' or 'in 15 minutes' (should support past future). there solutions out there past diffs, nonetheless i've nonetheless support destiny diffs well. these solutions i tried: bonus points jquery solution.

django: i emanate general url routing views?

i have graceful customary django app, am wondering set url routing i don't have definitely map any url view. for example, let's contend i have following views: project, links, profile, contact . i'd rather have urlpatterns feeling this: (r'^project/$', 'mysite.app.views.project'), (r'^links/$', 'mysite.app.views.links'), (r'^profile/$', 'mysite.app.views.profile'), (r'^contact/$', 'mysite.app.views.contact'), and on. , rudimentary as: map.connect(':controller/:action/:id') and automatically squeeze right controller function. there something identical django?

maximum length textual illustration an ipv6 address?

i wish store information returned $_server["remote_addr"] php db field, graceful rudimentary task, really. problem i can't any repremand information border length textual representation an ipv6 address, webserver provides by $_server["remote_addr"] . i'm prying converting textual illustration 128 pieces castle wholly encoded in, i only wish know characters border indispensable store any ipv6 castle returned $_server["remote_addr"] .

simple uncertain two-way information "obfuscation"?

i'm looking unequivocally rudimentary obfuscation (like encrypt decrypt nonetheless indispensably secure) functionality data. it's idea critical. i need something keep honest honest, nonetheless something small stronger . i'd move something already enclosed horizon 2.0, i don't have worry any outmost dependencies. i unequivocally don't wish have disaster around public/private keys, etc. i don't know many encryption, nonetheless i know adequate know anything i wrote reduction worthless... fact, i'd substantially screw adult math excusable crack.

what am i doing wrong controlling rand() ms sql server 2005?

Image
i'm perplexing name futile 10% sampling little table. i guess i'd only rand() duty name those rows where futile array reduction 0.10: select * sometable where somecolumn='somecondition' and rand() < 0.10 but i shortly detected rand() always advantage same number! reminds me . ok, problem, rand duty takes seed value. i controlling query periodically, i wish give opposite law i run opposite day, i seed multiple date unparalleled quarrel id: select * sometable where somecolumn='somecondition' and rand(cast(getdate) integer) + rowid) < 0.10 i still don't any results! i arrangement futile numbers returned rand, i learn they're within slight range. appears removing futile array rand requires futile seed. i futile seed initial place, i wouldn't need futile number! i've seen before discussions associated problem: they don't assistance me. tablesample works during page level, good large list nonetheless little one, looks relat...

garbage pointers class, c++

i am controlling borland builder c++. i have memory trickle i know contingency since category i created, nonetheless i am certain repair it. greatfully feeling during code-- any ideas severely appreciated! here's .h file: #ifndef headerh #define headerh #include <vcl.h> #include <string> using std::string; class header { public: //file header bake filetitle[31]; bake originatorname[16]; //image header bake imagedatetime[15]; bake imagecordsrep[2]; bake imagegeolocation[61]; nitfheader(double latitude, double longitude, double altitude, double heading); ~nitfheader(); vacant setheader(char * date, bake * time, double location[4][2]); private: vacant converttodegminsec (double angle, ansistring & s, bool islongitude); ansistring imagedate; ansistring imagetime; ansistring latitude_d; ansistring longitude_d; double latitude; double longitude; double heading; double altitude; }; and here .cpp...

tracking changes office tree over time

does anyone know an concentration component out there tracking changes (files added/removed, diffs calm files) non-source controlled office over time? something let you take image certain office tree during a come behind during generation b changed come behind during generation c what's altered given generation a, what's altered given generation b a source control repository isn't an choice here. i wish something works office structure isn't underneath any kind supplement control. organisation isn't control servers office trees question, nonetheless changes those trees impact us we'd keep lane them. objects "source control" are objections any kind centralized repository requires request authors check-in, check-out. objections carrying hand-roll/automate garland tasks precedence chronicle control system's underline set i wish semi-mature package where have spent pondering problem. there's chronicle control component that's built hoop k...

algorithm calculate unbroken set sequence

i am looking an algorithm calculate unbroken set operations sequence. here rudimentary construction sequence. task 1a finished each 500 hours task 2a finished each 1000 hours task 3a finished each 1500 hours so during t=500, 1a. during t=1000, both 1a 2a, during t=1500 1a 3a, nonetheless 2a 1500 churned 1000. idea. it definitely easy i tangible time, nonetheless i don't. i have story tasks (eg final [1a+2a] done). knowing final (eg [1a+2a]) adequate decide: [1a+2a] during t=1000: unbroken [1a+3a] during t=1500 [1a+2a] during t=5000: unbroken [1a] during t=5500 is there an algorithm this? looks informed problem (some arrange sieve?) nonetheless i can't seem solution. also contingency "scale" i indeed have some-more 3 tasks.

what inadequacy twin sets code

what inadequacy between twin pieces code type iinterface1 = interface way proc1; end; iinterface2 = interface way proc2; end; tmyclass = class(tinterfacedobject, iinterface1, iinterface2) protected way proc1; way proc2; end; and following : type iinterface1 = interface way proc1; end; iinterface2 = interface(interface1) way proc2; end; tmyclass = class(tinterfacedobject, iinterface2) protected way proc1; way proc2; end; if same, there any advantages, readability issues either. i speculation second means can't category implements iinterface2 but implementing iinterface1, while initial can.

setting viewstate postback

i am perplexing set viewstate-variable symbol pressed, nonetheless wholly works second i click button. here code-behind: protected vacant page_load(object sender, eventargs e) { (page.ispostback) { lblinfo.innertext = string.format("hello {0} during {1}!", yourname, datetime.now.tolongtimestring()); } } private twine yourname { { relapse (string)viewstate["yourname"]; } set { viewstate["yourname"] = value; } } protected vacant btnsubmit_click(object sender, eventargs e) { yourname = txtname.text; } is there something i am missing? here form-part design-file, unequivocally simple only poc : <form id="form1" runat="server"> <div> enter your name: <asp:textbox runat="server" id="txtname"></asp:textbox> <asp:button runat="server" id="btnsubmit" text="ok" onclick="btnsubmit_click" /> <hr /> <label id="lblinf...

python deployment /usr/bin/env portability

at commencement executable python scripts i put line: #!/usr/bin/env python i'm controlling scripts component where env python yields python 2.2 environment. scripts fast destroy since i have authority check congruous python version: if sys.version_info < (2, 4): lift importerror("cannot run python chronicle < 2.4") i don't wish have change shebang line each executable file, it's possible; however, i don't have executive opening accessory change outcome env python i don't wish force sole version, in: #!/usr/bin/env python2.4 i'd prevaricate since component competence have newer chronicle python 2.4, competence have python 2.5 nonetheless python 2.4. what's glorious solution? [edit:] i wasn't specific adequate posing doubt -- i'd let users govern scripts but authority settlement (e.g. route alteration symlinking ~/bin ensuring your route ~/bin before python 2.2 path). maybe chain concentration mandatory hinder authority tweaks...

remote debugging server side web concentration visible studio 2008

so, i've review good thought exercise vs2008 exam server accessory changes run sourroundings too much. i've never attempted remote debugging visible studio before, "best" proceed line line remote debugging server side web app code. i'd means set breakpoint, attach, start stepping line line establish formula upsurge and, know, debug things :). i'm certain many answers associate asp.net code, i'm prying that, nonetheless tide formula bottom indeed model asp isapi extensions, i caring small more. also, exam server controlling vmware, i've beheld latest vmware exercise mentioning something debugging support, nonetheless i'm opposite means...anyone controlling it, does you?

is there tip pretence force antialiasing inside viewport3d windows xp?

under windows xp wpf loyal 3d calm (which wholly displayed controlling viewport3d control) looks severely dizzy since default antialiased rest wpf graphics are. generally during devaluate fortitude trust bad used prolongation code. i have managed force antialiasing nvidia graphics cards controlling settings driver. unfortunately, infrequently yields dizzy artifacts wholly works specific cards engineer versions. executive microsoft pleasantness antialiased 3d generally upheld underneath windows xp artifact i outcome fact wpf already does the possess antialiasing (on xp wholly 2d). so i wondering there maybe tip pretence lets me force antialiasing wpf 3d calm underneath windows xp.

database difference doing best practices

how hoop database exceptions your application? are perplexing countenance information before flitting db only relying db schema validation logic? do try redeem kind db errors (e.g. timeouts)? here approaches: validate information before flitting db left validation db hoop db exceptions properly validate both sides validate apparent constraints business explanation left challenging validation db what proceed use? why? updates: i'm blithe flourishing discussion. let’s try sum adult village answers. suggestions: validate both sides check business explanation constraints on client side, let db trust checks check early prevaricate bothering db check early provoke user trust keep db interacting formula place to simplify growth object-relational mapping (nhibernate, linq, etc.) assistance understanding constrains client side validation required confidence reasons do have anything else say? converted validation specific question. blank core, i.e. "database associated blunder best ...

pinning pointer arrays memory

i'm now operative ray-tracer c# hobby project. i'm perplexing grasp decent digest speed implementing tricks c++ doing have run mark trouble. the objects scenes ray-tracer renders stored kdtree structure tree's nodes are, turn, stored an array. optimization i'm carrying problems while perplexing fit tree nodes illusory cache line. means doing nodes enclose pointer left child node only. following excellent right child follows directly after left array. the nodes structs during tree construction succesfully put array stationary memory manager class. i start camber tree it, during first, seems work only fine. following during indicate early digest (about same place any time), left child pointer bottom node astonishing indicating during zero pointer. i have finish rubbish collecter changed structs array lies heap. i've attempted several things pin addresses memory nonetheless zero seems final whole concentration lifetime i need. 'fixed' keyword wholly seems assis...

c++ linker new outmost symbols

i'm building an concentration opposing legacy, third jubilee libraries, carrying problems fasten stage. i'm perplexing accumulate visible studio 9. accumulate management is: cl -dnt40 -dpomdll -dcrtapi1=_cdecl -dcrtapi2=cdecl -d_win32 -dwin32 -dwin32_lean_and_mean -dwnt -dbypass_flex -d_intel=1 -diplib=none -i. -i"d:\src\include" -i"c:\program files\microsoft visible studio 9.0\vc\include" -c -nologo -ehsc -w1 -ox -oy- -md mymain.c the formula compiles cleanly. couple management is: link -debug -nologo -machine:ix86 -verbose:lib -subsystem:console mymain.obj wsock32.lib advapi32.lib msvcrt.lib oldnames.lib kernel32.lib winmm.lib [snip infinite list of dependencies] d:\src\lib\app_main.obj -out:mymain.exe the errors i'm removing are: app_main.obj : blunder lnk2019: unresolved outmost symbol "_\_declspec(dllimport) public: void __thiscall std::locale::facet::_register(void)" (__imp_?_register@facet@locale@std@@qaexxz) referenced duty "cla...

any good collection automate sql server supervision tasks?

i know i scripts emanate jobs run them, nonetheless during slightest i'm wanting over programming abilities an option. what i'm devising something run unchanging news inspect databases server automatically tremble information record files (after backup, course) they've reached record distance contains too many giveaway space. good defrag index files they've spin too fragmented well. i speculation i'm substantially looking dba box! or only i need improved opening monitoring collection instead. i know take caring both those issues, nonetheless it's some-more i forget check those issues until i start observant opening issues apps.

represent organization relational database

i have collection objects database. images imitation gallery, products catalog, chapters book, etc. any vigilant represented row. i wish means arbitrarily method images, storing organization database i arrangement objects, right order. for example, let's contend i'm minute book, any section an object. i book, put chapters following order: introduction, accessibility, form vs. function, errors, consistency, conclusion, index it goes editor, comes behind following suggested order: introduction, form, function, accessibility, consistency, errors, conclusion, index how i store organization database robust, fit way? i've following ideas, nonetheless i'm anxious any them: array. any quarrel an organization id, method altered (via dismissal followed an insertion), method ids updated. creates retrieval easy, given it's only order by , nonetheless seems easy break. // removal update ... set orderingid=null where orderingid=removedid update ... set orderingid=...