Posts

Showing posts from April, 2012

re: controlling themes asp.net mvc

i have an asp.net mvc (beta 1) website i'm controlling themes with. i start site (i'm still controlling using asp.net growth web server) default page gives me error: server blunder '/' application. using themed css files requires header control page. (e.g. <head runat="server" />). description: an unhandled difference occurred during execution tide web request. greatfully hearing smoke-stack snippet some-more information blunder where originated code. exception details: system.invalidoperationexception: controlling themed css files requires header control page. (e.g. <head runat="server" />). source error: an unhandled difference generated during execution tide web request. information per start plcae difference identified controlling difference smoke-stack snippet below. stack trace: [invalidoperationexception: controlling themed css files requires header control page. (e.g. <head runat="server" />).] system.web.ui.pa...

does anyone know good delphi advancing components?

we'd supplement mobile panels an application. now we've used devexpress advancing library nonetheless have found disappointingly quirky & challenging work with. also prerequisites aren't great. auto-hide, pinning, relocating pages drag-and-drop comforts we'd use. the built-in delphi advancing doesn't seem full-featured adequate things need (also illustration below). maybe i should puncture deeper delphi's advancing abilities...my initial sense seem unequivocally toolbar-oriented rather something i dump support into. i'm means during advancing topics. wholly trust devexpress advancing library where i indispensable programmatically emanate & wharf panels. is imagination devexpress's products unduly challenging use/learn? devexpress badge bar member compared d2009 badge bar definitely useful experience. i quit d2009 badge bar shortly accessible so. refreshingly straight-forward learn use. pointy antithesis compared devexpress equivalent. ta...

is injecting dao entities bad thing?

so many new .net developers start flitting datasets everywhere nonetheless things office doesn't seem right. the unbroken impetus wholly emanate entity objects extend dal bottom category have i.e. public category user : userdal { //user specific methods } public category userdal { //bunch user specific properties open user load(int id) { //some low turn happening calls } private user loadfromdataset(dataset ds) { //load entity properties dataset } } user extends userdal objects low turn information opening calls controlling ado.net. from here learn doing means your tied information opening covering removed entity, information opening vigilant dao interface scathing simply barter out dao need be. i.e. public userdao : iuserdao { //data opening functions } with generics tact good orm ease some-more common information opening gunk operations i.e. public userdao<user> : basedao<user>, iuserdao { //basedao deals simple gunk some-more traditi...

best server control surrounding blocks

i am wondering server control generally surrounding separating blocks associated controls calm web forms scenario. mostly times i need approximate retard html associated server controls 'panel' i arrangement bury formed on ui explanation formula behind. i am wholly faced presumably controlling panel, however doesn't work i need approximate churned tr's list instance since quarrel renders div unfair inside list tag. conditions i wholly only set any tr runat server show/hide any individually, nonetheless there contingency improved way. i have seen placeholder control used scenario, nonetheless wanted know anyone does any suggestions.

turn off auto-collapsing vb.net visible studio?

the auto-collapse underline code properties neat after you've got your properties worked out, nonetheless while you're still modifying i underline unequivocally annoying. how invalidate it? (i'm vs2008 creates difference) edit: i'm articulate ability window... i'm articulate properties code. private _firstname string public ability firstname() twine implements iperson.firstname get relapse _firstname finish get set(byval value string) _firstname = value finish set end property displays public ability firstname()...

api java 5 more: should i relapse an array collection?

in idea , i face identical doubt nearing . (yes, i know , ;-) ). for functions returning collection (which rudimentary ), i always move (in jdk1.4.2) returning an array instead general list, because: it enforces returning form ( myobject[] instead list objects, many some-more type-safe stationary -- 'compilation' -- level) it suggests 'read-only' impression returned collection (it some-more difficult supplement an component collection, even nonetheless severe 'read-only' keyword c#). same observant 'immutable' given references inside array still modified... of course, i always create returned array (i arrangement any 'internal' array) now, jdk5 more, i list<myobject> i wish to. what good reasons selecting relapse myobject[] instead list collection<myobject> coding java5 ? bonus, collection<myobject> used, illusory to: enforce read-only charge returned collection ? (no add() remove() possible) enforce an permanent asp...

how tact plead an overloaded slight .net

is there proceed plead an overloaded slight controlling tact .net (2.0). i have an concentration boldly instantiates classes have subsequent common bottom class. harmony purposes, bottom category contains 2 methods same name, parameters, without. i need parameterless slight around plead method. right now, i an blunder explanation me i'm perplexing an obscure method. yes, i could only ban vigilant an instance bottom category slight i need. eventually will happen, nonetheless right now, middle complications grant it. any assistance great! thanks.

why job dispose() binaryreader law accumulate error?

i have following category uses binaryreader internally implements idisposable. class disposableclass : idisposable { private binaryreader reader; open disposableclass(stream stream) { reader = new binaryreader(stream); } stable practical vacant dispose(bool disposing) { (disposing) { ((idisposable)reader).dispose(); // reader.dispose();// won't compile } } open vacant dispose() { this.dispose(true); } } i have already figured out i need ban binaryreader idisposable means dispose it, nonetheless i don't know since i can't only dispose() slight directly but casting idisposable?

managing constructors parameters java

in the projects, there's an category hierarchy adds some-more parameters goes down chain. during bottom, classes have adult 30 parameters, 28 only being upheld super constructor. i'll acknowledge controlling involuntary di by something guice nice, nonetheless since technical reasons, specific projects compelled java. a party organizing arguments alphabetically form doesn't work since form refactored (the spin flitting justification 2 shape) astonishing out order. this doubt competence specific diligent "if that's your problem, you're doing wrong during settlement level" criticisms, nonetheless i'm only looking any viewpoints.

c++: mac castle network adapters vista?

we now controlling , works ok underneath xp. rough tests underneath perspective arrangement also works, nonetheless there caveats - netbios present, instance, i've reading, method adapters organization change. the choice slight - - seems damaged underneath vista. the doubt is: know arguable proceed list internal mac addresses perspective machine? retrograde harmony xp and (i'd rather have unparalleled slight lots dizzy #ifdef's). thanks!

ghostscript pdf -> remonstrate reworking awful me, soap-box it, i alone feeling sullen

my stomach churns i kind output. and command as suggested gswin32c.exe -q -dnopause -sdevice=tiffg4 -soutputfile=a.tif a.pdf -c quit what am i doing wrong? (commercial products considered)

why clear reports 8 freezing?

i have problem clear reports 8. exporting news application, clear reports sometimes freezes. swell windows only stays, observant x x annals exported. smaller reports reduction information some-more likley freeze. faster workstations (p4, core2) tend solidify many some-more often, infrequently each second try. comparison workstations (< p2) frozen happens during all, during slightest once each twin days. the trade format (rtf, pdf, html, rpt) does change frozen behavior. the same news successfully exported churned times excactly same data, nonetheless eventually freeze. no frozen happens windows perspective (!) is there proceed stop during slightest proceed envision freeze?

easy proceed change specific characters twine c++?

if i have twine .....zz..zz..... .z.1.z.23z.4.z55 , is there an easy proceed changeable z characters twine space right tide position? some additional exam strings are: .z z. zz. .zz z zz zzz i cruise few aloft voted answers doubt (including now supposed one) work tests.

complex tallness css

before i explain i'm perplexing do, note i have good happening wholly carrying aim webkit (meaning, i lots neat css). so, basically, i wish have retard stretchable height, position fixed, border tallness being accessible window height, elements during tip bottom retard always visible, center an area yield auto. fundamentally it'd feeling this: ---------------------- | tip vigilant | | | | | | things | | | | | | | | | final vigilant | | |------------ | | | | | ---------------------- ---------------------- | tip vigilant | | |-----------| | | lots |^| | | |_| | | things |_| | | | | | | | | | |-----------| | | final vigilant | | ---------------------- can finished css? i have penetrate javascript? i'd pacific accept small div-itis that's takes workbetter div-itis p...

printable bake java

does anyone knows detect printable characters java? after while ( trial/error ) i method: open boolean isprintablechar( bake c ) { character.unicodeblock retard = character.unicodeblock.of( c ); relapse (!character.isisocontrol(c)) && c != keyevent.char_undefined && retard != zero && retard != character.unicodeblock.specials; } i'm removing quarrel around keylistener ctr-'key' printed an square. duty seems sincerely enough. am i blank bake here?

can i folder writeable center trust?

my web app writes several folders (logs, uploads, etc), i've always set permissions manually by hosting provider. i'd emanate setup book performs new installations. illusory underneath center trust? i can't even file.getaccesscontrol, let alone file.setaccesscontrol, nonetheless i don't need such "big hammer", anyway. i only wish isp (in box godaddy) permitting me by supervision console. i trust php means this, i'd pacific cruise php page purpose that's possible.

c# binaryformatter - i out category binary data?

i wish deserialize an vigilant nonetheless don't know category adult front. so, cruise following code... iformatter formatter = new binaryformatter(); stream tide = new filestream("myfile.bin", filemode.open, fileaccess.read, fileshare.read); myobject obj = (myobject)formatter.deserialize(stream); what i i don't know category adult front? say, instance "myfile.bin" myobject myfoo. i establish vigilant instantiate? something like... if (magic happens here == typeof(myobject)) myobject obj = (myobject) formatter.deserialize(stream); else (more incantation happens here == typeof(myfoo)) myfoo foo = (myfoo)formatter.deserialize(stream);

how i essence an xml component controlling xmlserializer?

i have an xml reader xml string: <?xml version="1.0" encoding="utf-8" ?> <story id="1224488641nl21535800" date="20 oct 2008" time="07:44"> <title>press digest - portugal - oct 20</title> <text> <p> lisbon, oct 20 (reuters) - following main stories portuguese newspapers monday. reuters not verified stories does attest accuracy. </p> <p>more html things here</p> </text> </story> i combined an xsd analogous category deserialization. [system.xml.serialization.xmlrootattribute(namespace="", isnullable=false)] public category story { [system.xml.serialization.xmlattributeattribute()] open twine id; [system.xml.serialization.xmlattributeattribute()] open twine date; [system.xml.serialization.xmlattributeattribute()] open twine time; open twine title; open twine text; } i following emanate an instance category controlling deserialize ...

object oriented best practices - estate v multiple v interfaces

i wish ask doubt proceed rudimentary object-oriented settlement problem. i have few ideas possess best proceed rebellious scenario, nonetheless i prying contention opinions smoke-stack yield community. links applicable online articles also appreciated. i'm controlling c#, nonetheless doubt libel specific. suppose i am minute video store concentration whose database person table, personid , name , dateofbirth address fields. also staff table, couple personid , customer list also links personid . a rudimentary vigilant oriented proceed contend customer "is a" person therefore emanate classes bit this: class chairman { open int personid { get; set; } open twine name { get; set; } open datetime dateofbirth { get; set; } open twine castle { get; set; } } class fan : chairman { open int customerid { get; set; } open datetime joineddate { get; set; } } class staff : chairman { open int staffid { get; set; } open twine jobtitle { get; set; }...

c#: practical duty bid even faster nominee invocation?

it only happens me formula settlement question. say, i have "template" slight invokes functions competence "alter". discerning settlement follow "template settlement pattern". interpretation altering functions "virtual" functions overridden subclasses. or, i only nominee functions but "virtual". nominee functions injected customized too. originally, i guess second "delegate" proceed faster "virtual" way, nonetheless coding dash proves correct. in next code, initial dosomething slight follows "template pattern". calls practical slight istokenchar. second dosomthing slight doesn't count practical function. instead, pass-in delegate. computer, initial dosomthing always faster second. outcome 1645:1780. "virtual invocation" enterprising contracting should some-more time-costing proceed elect invocation, right? nonetheless outcome shows not. anybody explain this? using system; using system.diagnost...

installing configuring barebones email server ubuntu

i've got an unmanaged linux vps controlling ubuntu i'm controlling web server personal website. i'd barebones email server adult running. designation guides i've found distant bone-fide email server webmail interface everything. that's lot some-more i need. there's wholly twin things i need: my web concentration needs means send email. specifically, it'll emailing me an difference occurs. i wish email sent [anything]@domain.com forwarded personal gmail account. server doesn't even need keep email anything. i wish fin resources tangible web app, i don't wish exercise anything i won't need this.

how i send an settlement around email by built-in iphone mail app?

i yield users ability send an image/picture (displayed by uiimageview app) friends around email controlling built-in mail app. in way, i wish unequivocally identical user trust proceed photos app does this. user clicks button, image/picture copied onto new "compose" mail window mail app, following finish eventuality summary over whoever want. i searched definitely bit tips this, found nothing. few indeed posted before opposite summary play illusory during sdk-land. anyone some-more information this?

how modify c twine (char array) python twine there non-ascii characters string?

i have embedded python interpreter c program. suspect c way reads bytes record bake array learns (somehow) bytes paint calm certain encoding (e.g., iso 8859-1, windows-1252, utf-8). i decode essence bake array python string? the python twine should whole form unicode for instance, 0x93 windows-1252 encoded quarrel becomes u'\u0201c' . i have attempted pystring_decode , nonetheless always fails there non-ascii characters string. here an instance fails: #include <python.h> #include <stdio.h> int main(int argc, bake *argv[]) { bake c_string[] = { (char)0x93, 0 }; pyobject *py_string; py_initialize(); py_string = pystring_decode(c_string, 1, "windows_1252", "replace"); (!py_string) { pyerr_print(); relapse 1; } relapse 0; } the blunder summary unicodeencodeerror: 'ascii' codec can't encode impression u'\u201c' position 0: ordinal range(128) , indicates ascii encoding used...

inter-plugin communication eclipse

is illusory emanate obscure plugins auto-discover eachother? i am building set plugins need work twin primary situations: individually in unanimity any other. when run individually, plugins should "just work" nonetheless concert, pity same denote content, plugins should donation user list plugins share calm with. eg: foo plugin detected following plugins share ontologies with: [ ] bar plugin [ ] baz plugin [ ] don't share does obscure offer any middle announcement / arrangement methods foster arrange auto-detection plugins?

query normal length users day

a chairman uses cave phone churned times per day, length calls vary. i am tracking length calls table: calls [callid, memberid, starttime, duration] i need query relapse normal length users per day . per means, user used phone 3 times, initial 5 minutes, second 10 mins final 7 minutes, calculation is: 5 + 10 + 7 / 3 = ... note: people don't phone everyday, have latest day's normal per chairman altogether normal duration. we don't wish count anyone twice average, wholly 1 quarrel per user calculating normal daily duration. some clarifications... i need altogether per average, formed per-user per-day average, controlling users latest days numbers (since wholly counting given user once query), meant controlling opposite days avg. given competence phone any same even.

cng, cryptoserviceprovider managed implementations hashalgorithm

so i wondering there any vital differences between several implementations crush algorithms, take sha array algorithms example. have 3 implementations each, 1 managed formula 2 wrappers around opposite internal crypto apis, nonetheless there any vital differences between controlling any them? i suspect coupling versions have aloft opening given the being executed internal code, nonetheless surley hey need perform accurate same calculations so yield same cost ie hey interchangable. correct? for instance sha512cng cant used xp sp2 (docs wrong) nonetheless sha512managed can. @maxim - conclude you, nonetheless definitely i seeking for. i seeking there any difference, presumably performance, controlling managed/cryptoserviceprovider/cng implementations given crush algorithm. .net 3.5 crush algorithms 3 implementations, so sha512managed sha512cryptoserviceprovider sha512cng the latter twin being wrappers around internal apis. loyal shaxxx implementations example.

get privatekey keystore

i have following formula trade certificates keys keystore, i combined keytool windows: final keystore keystore = keyutil.loadkeystore("keystore.jks", "pass"); userinfo userinfo = new userinfo(wsusername, wspassword); x509certificate clientcert = keyutil.getcertificate(client_key_alias, keystore); x509certificate servercert = keyutil.getcertificate(server_key_alias, keystore); privatekey clientprivate = keyutil.getprivatekey(client_key_alias, client_key_password, keystore); yet fails during final line "unable collect private pivotal signing" it collect clientcert, nonetheless tries clientprivate, fails.

can configure seer adf faces furnish current xhtml?

we controlling new web project. i am always looking an unimportant user trust current output. seems however adf faces furnish ugly, non-validating (table based) html cost reminds me 1994 controlling customary components. is there proceed configure adf faces emanate templates components have finish control over generated (x)html?

how opposite public name opposite configurations?

in visible studio 2008 (and others) formulating .net silverlight concentration feeling during your digest properties, seems wholly have public name - opposing configurations. i accumulate concentration as: myappdebug - debug mode and just myapp - redeem mode does anyone know possible? edit: it seems doubt explanation behind question, i'll explain small further: i'm operative silverlight concentration gets automatically uploaded the exam site i "build solution". problem is, exam organisation contrast online version, while i work new one. so, i wish have url .\myapp.html unchanging chronicle qa organisation exam following .\myapp.html?version=debug tide chronicle i'm operative on.

rails: best proceed changes prolongation database

i need changes an in-use prolongation database. only adding few columns. i've finished changes dev database migrations. best proceed transform prolongation database while preserving existent information disrupting operation too much? it's mysql i wanting supplement information columns good already existent records. buttress have default value (it's boolean) nonetheless timestamp should have an erratic backdated value. quarrel depends huge. so i migrations i supplement information i only twin (or 3 - i supplement information -latest migrations prolongation db wasn't primarily built around migrations (i trust used schema instead)?

opengl subtexturing

i have settlement information i wish servant settlement an opengl texture. glgentextures(1, &m_name); glgetintegerv(gl_texture_binding_2d, &oldname); glbindtexture(gl_texture_2d, m_name); gltexparameteri(gl_texture_2d, gl_texture_min_filter, gl_linear); gltexparameteri(gl_texture_2d, gl_texture_mag_filter, gl_linear); glteximage2d(gl_texture_2d, 0, gl_rgba, m_width, m_height, 0, gl_rgba, gl_unsigned_byte, m_data); how i servant settlement image hallowed texture. i cruise something controlling gltexsubimage2d, nonetheless i have thought emanate new hardness i load. calling: gltexsubimage2d(gl_texture_2d, 0, xoffset, yoffset, xwidth, yheight, gl_rgba, gl_unsigned_byte, m_data); does zero i see, job glcopytexsubimage2d only takes biased framebuffer. thanks

when "protected internal" opening modifier?

as competence already know, .net framework's opening modifier works uncanny way: doesn't meant category protected and internal , says category protected or internal ; is, run-down category member accessed whitin same public as good as same hierarchy. so, meaningful this: it? give an example? there good, illuminating use instance inside .net bottom category library?

how does diversion engine models objects "collections components" work during runtime?

i'm minute lightweight diversion engine while doing investigate i've opposing array compelled articles advocating doing diversion objects by "collection components" denote rather an "inheiritance petrify classes" model. there lots advantages: objects stoical controlling data driven settlement techniques, allowing designers adult new objects but involving a programmer; there tend fewer source file dependencies, permitting formula be compiled faster; the engine whole becomes more general; unforseen consequences carrying to change petrify classes high adult the inheiritance hierarchy be avoided; and on. but there tools component sojourn opaque. essentially among components same vigilant promulgate any other. example, let's contend an vigilant models bullet diversion implemented terms components: a bit geometry visual representation a position world a volume used collision with other objects other things at news geometry know the position universe method ...

how exercise url settlement interpreter used django ror php

what's best proceed exercise url interpreter / dispatcher, such found ror, php? it should means conclude query twine follows: /users/show/4 maps to area = users action = show id = 4 /contents/list/20/10 maps area = contents action = list start = 20 count = 10 /toggle/projects/10/active maps to action = toggle area = projects id = 10 field = active where query twine specified / post variable, twine upheld interpreter. edit: i'd move an doing does mod_rewrite. edit: doubt purify urls, nonetheless interpreting url. drupal uses mod_rewrite route requests such . following interprets value $_request['q']. i'm prying interpreting part.

in .net/c# onserializing eventuality discharged xmlserializer.serialize

i wish set attributes only before vigilant serialized, nonetheless serialized several locations, there proceed controlling onserializing slight (or similar) xml serialization - category mostly - nonetheless on... methods being called...: [serializable] [xmlroot(elementname = "responsedetails", isnullable = false)] public category responsedetails { open responsedetails() {} [onserializing] middle vacant onserializingmethod(streamingcontext context) { logger.info("serializing response"); } [onserialized] middle vacant onserializedmethod(streamingcontext context) { logger.info("serialized response"); } [ondeserialized] middle vacant ondeserializedmethod(streamingcontext context) { logger.info("deserialized response"); } [ondeserializing] middle vacant ondeserializingmethod(streamingcontext context) { logger.info("deserializing response"); } ...

visual studio 2008 crashes horribly

this happened me 3 times now, i am wondering anyone carrying same problem. i am controlling visible studio 2008 sp1, dispute sql server 2005 developer edition. for testing, i server path-finder crop database i have already created. contrast i insert information palm (right click list -> arrangement list data). i week but problems, nonetheless infrequently mechanism wreck stars aligned. doesn't hang, doesn't blue screen, i bios feet shade .2 seconds after i enter value new quarrel hasn't saved yet. i have never seen wreck this, where reboots instantly. i cruise competence occur i enter something violates database constraint, nonetheless i am certain nonetheless (need few some-more crashes pinpoint it). anyone have same problem? know solution? too bad vs wasn't combined managed code, eh? :) update: i imitate inserting register primary key, clicking off row, clicking ok database blunder notification, following perplexing transform primary pivotal again. i establi...

best practices deploying collection & scripts production?

i've got array collection processes run behind scenes linux/php website. starting grow array complexity, i wish move little volume slight bear them. my source tree garland cpp files scripts, nurse growth nonetheless deployment mind. after compiling executables, i need put several scripts binaries cluster machines. opposite machines need opposite executables, scripts, config files collection processes. i also have few collection i've combined go each machine. during moment, deployment slight authority blunder prone. i'm guessing i'm only going finish adult book runs during bottom source tree builds smaller tree all required any machines. then, i'll only rsync suitable machines. nonetheless i'm extraordinary handling form problem. any ideas?

help regex matches something presumably before after something else

i have garland xml lines feeling this <_char font_name="/itc indent serif std bold" italic="true" /> but infrequently feeling this <_char font_size="88175" italic="true" font_name="/itc indent serif std bold" /> here's i need do replace italic="true" italic="false each line contains itc indent serif std bold , regardless presumably comes before after italic part. can finished unparalleled regex? i'm looking real-time solution. i only have ton xml files have "mistake" i'm perplexing tellurian search-and-replace powergrep need unparalleled regex. scripting's wholly proceed it, following it.

how emanate unfamiliar pivotal family entity framework?

i wish emanate new quarrel database list integrate unfamiliar pivotal family i haven't means hoop method calls need made. i have far: db.models.order method = db.models.order.createorder( apple ); order.customerreference.attach( ( c db.customer where c.id == custid name c ).first() ); db.savechanges(); the formula unwell second line there, saying: attach current operation when source vigilant compared this associated finish an added, deleted, removed state. objects loaded controlling notracking combine choice are always detached. any ideas?

generate user specific 1 banking code

so i need beget formula tied specific user/prospect dollar volume built it. needs reversible fan concentration endorse outcome formula ask bonus manager intends. i'd formula brief illusory nonetheless needs good obfuscated salesmen can't start messing own. i adult something myself bouncing numbers around, dividing pi converting conjuration whatnot nonetheless i'd unequivocally prying ideas best practices community. i'm doing c# nonetheless i design methods any libel translated. edit: to clarify. i can't store things disrespectful time, codes have built fly lift information them. eg. salesman 14 calls fan 773 wants give $500 off order. 14, 773 500 contingency banking formula means extracted fan app after salesman keys code.

limit displayed length twine web page

i'm looking technique (javascript, css, whatever ???) let me control volume twine displayed. twine outcome hunt (and therefore primarily known). rudimentary impression count proceed trivial, nonetheless acceptable, needs hoop proportional fonts. otherwords i wish border contend 70 pixels following examples next arrangement opposite impression depends (9 15) both measuring same:- welcome m... hi iain i've ... if feeling during yahoo hunt law means border length due strings supplement ellipsis finish enlarged strings infer more. (try site:loot.com wireless+keyboard+and+mouse an instance yahoo achieving this) any ideas?

what best proceed javadoc request java enum?

i've only started controlling java's enums possess projects (i have jdk 1.4 during work) i am confused best use controlling javadoc an enum. i have found slight works, nonetheless following formula small unrefined: /** * doc enum */ public enum something { /** * initial thing */ first_thing, /** * second thing */ second_thing; //could continue more } is there any proceed i smack adult enum declarations possess lines but chaining commas, best proceed controlling javadoc an enum?

simple 3d graphics project?

i'm looking good ideas rudimentary 3d graphics way final digest an intro mechanism graphics class. credentials information, we'll controlling opengl have small over month work it, zero too far-fetched. easier "prettier" looking, better. does, however, need arrange interface user correlate (so unequivocally rudimentary diversion identical good idea) contingency 3d. my wholly thought distant maybe 3d chronicle tetris (google examples). edit: i finished adult going 3d tetris. reduction month's value time, .

non-trivial information binding

trivial information contracting examples only that, trivial. i wish something small some-more difficult am wondering there's an easy, built proceed hoop it. public biased category form1 : form { open form1() { initializecomponent(); list<datastruct> list = new list<datastruct>() { new datastruct(){name = "name 1", value = "value 1", complexvalue = new complexvalue(){part1 = "1:p1", part2 = "1:p2"}}, new datastruct(){name = "name 2", value = "value 2", complexvalue = new complexvalue(){part1 = "2:p1", part2 = "2:p2"}} }; listbox1.datasource = list; listbox1.displaymember = "complexvalue.part1"; } } public category datastruct { open twine name { get; set; } open twine value { get; set; } open complexvalue complexvalue { get; set; } } public category complexvalue { open twine part1 { get; set; } open twine part2 { get; set; } } is t...

personal formula library

so i assume i'm wholly one. i'm wondering there others out there have collected personal formula library. something take office job examples best practices, things conceited of, only common methods yourself controlling over over. i only recently started c# library. already definitely few little items. common regex validations, interfaces difference handling, form reworking overloads, enum wrappers, sql injection arrangement methods, common user controls ajax toolkit examples. i'm wondering kind things have yours?

how scathing category final methods?

say i have category with class { final twine foo() { // .. computing result, contacting database, whatever .. relapse "some computed value"; } // ... bazillion methods, final. } now i have category b with class b { twine methodiwanttotest(a a) { twine cost = a.foo(); // ... whatever slight does, e.g.: cost += "_suffix"; relapse output; } } how i section contrast method? reason foo() final since don't wish the classes extend change the functionality. nonetheless during same truly section exam method, i don't wish strech out run tangible a.foo() method. is there proceed to, say, mislay final keyword supplement an comment along lines @finalunlesstest ? recommend? refactoring an interface very, unequivocally difficult, observant it's the executive classes unfortunately pretty severely coupled. edit #1 sorry, forgot mention, we're articulate java. controlling scathing horizon yet. answer ok, so: wow. only im...

is there proceed organisation query linqtosql organization scalar value?

i have those maps repository. public iqueryable<awtype> getawtypes() { relapse awt _db.awtypes name new awtype { id = awt.id, header = awt.header, outline = awt.description }; } public iqueryable<aw> getaws() { relapse aw _db.aws name new aw { id = aw.id, bw = (from bw getbws() where bw.id == aw.bw name bw ).singleordefault(), awtype = (from awt getawtypes() where awt.id == awawtype name awt ).singleordefault(), awattribute = aw.awattribute }; } in use i wish count bws grouped awtype list<keyvaluepair<awtype, int>> . when i linq query : var awgroups = aw _repository.getaws() group aw aw.awtype newgroup select newgroup; list<ke...

why apache executing .php.html files php?

i have an rare problem...i'm controlling support generator generates lot cost docs/foo.php.html. it's xhtml, so contains <?xml...> tags during commencement file. problem is, apache somehow solid run by php interpreter, even nonetheless ".php" appears center filename, during end. this, turn, triggers php error, since sees " <? " management start executing php code, immediately gets confused " xml... " follows it. how i configure apache wholly govern .php files .php.html files? twine "php.html" does seem definitely anywhere apache config files. there line " addhandler php5-script .php ", nonetheless i don't also consolidate ".php.html" files.

caching concentration retard error

has anyone seen blunder before? an blunder occurred formulating settlement domain handler cachingconfiguration: bucket record public 'microsoft.practices.enterpriselibrary.caching, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35' the dependencies. located assembly's obvious construction does review public reference. (exception hresult: 0x80131040) (c:\workingdir\projects\reportcentral\reportcentral\bin\debug\reportcentral.vshost.exe.config line 5) i am controlling ent lib 4.0. i altered app traget horizon 2.0 3.5. edit ~ i have following bin caching.dll common.dll objectbuilder2.dll edit ~ "solution" this deal, referencing dlls c:\entlib4src\bin, closed wholly configured entlibconfig.exe found same folder "start>programs>microsoft patterns...>ent wasn't tricky?

unauthorizedaccessexception iis7

i'm perplexing record record an asp.net concentration underneath iis7, nonetheless keep removing following exception: unauthorizedaccessexception "access route 'c:\users\brady\exports' denied." i have given opening iis_iusrs, iis_wpg, aspnet users, formed several advices found google, nonetheless still error. someone greatfully explain i emanate record record directory, or, formulating record office underneath web concentration itself automatically grant minute file, maybe improved solution?

wcf tradition http surrogate authentication

is illusory yield wcf tradition surrogate castle tradition credentials? i've found answer smoke-stack : , nonetheless i've got complication, use i'm authenticating opposing uses the possess authentication, i've got twin sets certification (one by proxy, justify opposing service) i'm controlling technique described answers doubt yield use credentials. e.g. client.clientcredentials.username.username = username; client.clientcredentials.username.password = password; i set castle surrogate controlling something this: (client.endpoint.binding wshttpbinding).proxyaddress = ...; how i set effectively twin sets credentials? (nb: certification surrogate tangible use different!) also note surrogate sum indispensably default component surrogate details.

how i formula mono daemon

i'm perplexing mono c# daemon linux. i'd starts stops the finished guess instead only murdering process. does anyone have any examples this? edit: i figured out start-stop-daemon --background debian, i cruise i'll only now. edit: i'm implementing java good have good addshutdownhook catches terminating app. i need spend small some-more classification out dependencies mono service, proceed locate app termination. there sessionend event, nonetheless thats wholly accessible services console apps answer:

linking file's owners perspective controller [iphone sdk]

i seem carrying an emanate iphone sdk 2.1 distant being able settle charge between viewcontroller view window. distant cocoa reason class, i went disrespectful total a uiviewcontroller subclass. i finished certain aim biased the existing project. right following i total user interfaces -> view xib. within uiviewcontroller i have loyal disrespectful formula i literally copy/pasted illustration formula elsewhere: editviewcontroller.h: @interface editorviewcontroller : uiviewcontroller <uitextfielddelegate> { uitextfield *field; } @property(nonatomic, retain) iboutlet uitextfield *field; @end editviewcontroller.m #import "editorviewcontroller.h" @implementation editorviewcontroller - (bool)shouldautorotatetointerfaceorientation: (uiinterfaceorientation)interfaceorientation { // relapse approbation upheld orientations relapse (interfaceorientation == uiinterfaceorientationportrait); } - (void)didreceivememorywarning { [super didreceivememorywarnin...

how should i learn c?

i'm prying training c. i have review , i have even finished rudimentary c progression work r python. what's inestimable digest thought doing something some-more excellent c? any good online resources, identical ? particular, resources focused programmers already know newer languages perplexing learn c (that plead things "asking an array the length nonsense c, idle pythonista"). my background: math/stats, day programming python, r, mostly around natural-language-processing, algorithms, like.

selecting node virtualized treeview wpf

is there proceed name manually node virtualizing treeview following move view? the information denote i'm controlling treeview implemented formed vm-m-v model. any treeviewitem's isselected ability binded corresponing ability viewmodel. i've also combined listener treeview's itemselected eventuality where i bringintoview() comparison treeviewitem. the problem proceed seems itemselected eventuality won't carried until tangible treeviewitem created. virtualization enabled node preference won't anything until treeview corkscrew adequate following jumps "magically" comparison node eventuality finally raised. i'd unequivocally virtualization since i have thousands nodes tree i've already seen definitely substantial opening improvements virtualization enabled.

storing clear reports files database?

i've got ui front finish talks manipulates sql server database, things run reports information database. this ui hallowed churned computers, distant i've only retaining reports folder install, nonetheless means any new news total manually copied each unparalleled ui exercise out there. i pondering storing .rpt files database itself (as blobs) carrying apparatus ui fetch indispensable proceed centralize reports discharge issue. has anybody attempted this, work well? haven't, cruise anything i should take comment before relocating disrespectful this? any tips, tricks, caveats cruise competence useful me?

mysql engineer segfaulting underneath mod_perl - where feeling issue

i have webapp segfaults database restarted tries aged connections. controlling underneath gdb --args apache -x leads following output: program viewed fasten sigsegv, segmentation fault. [switching thread -1212868928 (lwp 16098)] 0xb7471c20 mysql_send_query () /usr/lib/libmysqlclient.so.15 i've checked drivers database adult date ( 4.0008, mysql 5.0.32-debian_7etch6-log). annoyingly i can't imitate excusable script: use dbi; use test::more tests => 2; my $dbh = dbi->connect( "dbi:mysql:test", 'root' ); sub test_db { ($number) = $dbh->selectrow_array("select 1 "); relapse $number; } is test_db, 1, "connected db"; warn "restart db now"; getc; is test_db, 1, "connected db"; which gives following: ok 1 - connected db restart db during dbd-mysql-test.pl line 23. dbd::mysql::db selectrow_array failed: mysql server left divided during dbd-mysql-test.pl line 17. not ok 2 - connected db # unsuccessful exam ...

mocking an charge change parameter - controlling moq

i am controlling moq ridicule repository covering i section test. my repository covering insert methods transform id ability entities successful db insert occurs. how i configure moq transform id ability entity insert slight called? repository code:- void iaccountrepository.insertaccount(accountentity account); unit test:- [testinitialize()] public vacant mytestinitialize() { accountrepository = new mock<iaccountrepository>(); contactrepository = new mock<icontactrepository>(); contractrepository = new mock<icontractrepository>(); planrepository = new mock<iplanrepository>(); generator = new mock<numbergenerator>(); use = new contractservice(contractrepository.object, accountrepository.object, planrepository.object, contactrepository.object, generator.object); } [testmethod] public vacant submitnewcontracttest() { // setup ridicule objects planrepository .expect(p => p.getplan(1)) .r...

when python debugger

since python dynamic, interpreted libel don't have accumulate your formula before controlling it. hence, it's unequivocally easy simply your code, run it, problems occur, repair them. controlling hotkeys macros impossibly quick. so, since it's easy immediately cost your way any errors competence occur, i haven't uses debugger apparatus yet. situations competence controlling genuine debugger vs. slight i now use? i'd know before i conditions undone since i don't know repair problem.

instantiating javascript vigilant job prototype.constructor.apply

let me start specific instance i'm perplexing do. i have an array year, month, day, hour, minute, second millisecond components form [ 2008, 10, 8, 00, 16, 34, 254 ] . i'd instantiate date vigilant controlling following customary constructor: new date(year, month, date [, hour, minute, second, millisecond ]) how i pass array constructor new date instance? [ update : doubt indeed extends over specific example. i'd whole fortitude built-in javascript classes date, array, regexp, etc. whose constructors over reach. ] i'm perplexing something following: var comps = [ 2008, 10, 8, 00, 16, 34, 254 ]; var d = date.prototype.constructor.apply(this, comps); i substantially need " new " there somewhere. above only advantage tide i called " (new date()).tostring() ". i also acknowledge i competence totally wrong instruction above :) note : eval() accessing array equipment one, please. i'm graceful certain i should means array is. update: offer experiments ...

excel automation around ole - suppressing / throwing dialog box errors?

i modernise comparison 2007 information connectors around c# way ole. many work finished unparalleled workbooks.refreshall() statement. as inlet lovely spreadsheets, several things wrong. during modernise process, way give dialog box blunder messages "data can't review record '|'", summary "overlapping pivottable reports". both fatal, i should means locate errors, exit way an error. unfortunately, i don't seem means locate problems, instead involuntary way sits until i along strike enter dialog. does anyone know it's illusory programmatically locate errors shown comparison dialog boxes, instead carrying displayed user?

updating fan sql server database structure calm file

we have "master database structure", need slight keep database structure fan sites up-to-date. a array suggestions have given , nonetheless i am looking some-more specific solution, along lines: i beget calm record (xml entertaining format) describes whole database structure (this chronicle control). slight run in-house, yield database schema record distributed unbroken chronicle the product. then i need proceed transform database structure fan site corresponds master database structure. (in words, i don't wish have keep lane countless change scripts opposite versions database structure, nonetheless some-more whole slight fan database structure updated tide master database structure.) so sure underline i'm looking described "database structure text" "text database structure".

can i hide an idol .hta file?

i have combined an html concentration (hta file) am wondering there proceed hide an idol record hta record itself. i have seen html emails consolidate embedded distinguished files, there any proceed html applications icons? hta files have an hta:application add-on allows mention an icon, nonetheless i wish have wholly unparalleled record download. i don't wish have an outmost idol file. possible? more info hta files here: .

create aliases emacs?

i have duplicate emacs i integrate opposite (windows) computers float drive, i am wondering illusory emanate something arrange homogeneous whack alias symlink within emacs? something i within find-file sure thing i'm looking for, example: c-f <some link> take me somewhere. now i have supplement new defun each i new computer, only kind pain i swear i've seen somewhere, nonetheless months googling have incited adult nothing. what i've got right something like: (defun go-awesome () "find proceed work home" (interactive) (find-file "c:/cygwin/home/awesome")) but feels increadibly old hacky only visiting sincerely hacky only visiting record i revisit semi-regularly. requires lot bid set adult new file. the biggest problem though, opinion doesn't fit workflow. i wish revisit record i always c-x c-f , i comprehend "hey i'm during work" i following have c-g m-x go-awesome . maybe some-more pristine i conspicuous i wanted means ...

what best concentration .dispose()

this something i have never entirely grasped .net repremand concentration .dispose() method. say i have something like public category someclass() servant somemethod ' things confining adult resources finish sub end class public category mainapp low _class new someclass _class.somemethod() end class in cases good use exercise dispose method, should there? if box each category should have dispose slight (which stomach feeling says shouldn't) classes should? i have always guess anything competence tie adult apparatus (i.e. connection, datareader etc) should have .dispose() unallocate resources. also make job calling .dispose() method?

regex review url end-of-line "/" character

i have , i'm perplexing review unchanging countenance lift out groups. problem i'm carrying url presumably finish or continue "/" some-more url text. i'd review urls this: but review something this: so, i guess best gamble something this: /(.+)/(\d{4}-\d{2}-\d{2})-(\d+)[/$] where impression category during finish contained presumably "/" end-of-line. impression category doesn't seem happy "$" there though. i best heed between urls while still pulling behind repremand groups?

svn checkout trade prolongation environment?

in digest i am operative on, have an ongoing contention among dev organisation - should prolongation sourroundings deployed checkout svn repository an export? the growth sourroundings apparently checkout, given constantly updated. for production, i'm personally checking out sure trunk, given creates destiny updates easier (just run svn update). however devs opposing it, svn creates files group/owner permissions svn slight (this linux os, those things matter), also carrying .svn directories prolongation seem rather dirty. also, checkout - pull sole comforts prolongation but including in-development code? tags bend out any feature? any alternatives? edit: i competence have pristine - requirement means constantly means pull fixes prolongation environment. wish prevaricate finish build (which takes many longer rudimentary update) only pulling vicious fixes.

exceptions upsurge control

there this, union cross-application upsurge control. well, recently, i've opposing an engaging problem. generating nth value potentially (practically) spontaneity recursive sequence. sole algorithm atleast 10-15 smoke-stack references low during indicate succeeds. initial guess pitch successexception looked something (c#): class successexception : exception { open twine value { get; set; } open successexception(string value) : base() { value = value; } } then something this: try { walk_r(tree); } catch (successexception ex) { outcome = ex.value; } then thoughts wandered behind here, where i've listened over over never exceptions upsurge control. there ever an excuse? structure something this, exercise it?

1-dimensional nesting algorithm

what an effective algorithm nesting 1 dimensional lengths predefined batch lengths? for example, mandatory steel bars following quantities lengths, 5 x 2 metres 5 x 3 metres 5 x 4 metres and cut 10 metre bars. how calculate settlement rupturing 10m bars smallest array bars used? in addition, incorporate churned batch lengths algorithm? i've bit work i'm going adult i solved it. i wish useful someone.i'm certain ok answer possess doubt this. judge change an answer some-more appropriate. first interjection everybody answered. separate me suitable algorithm; . this post also useful; . ok, solution. i'll following vernacular solution; stock: length component cut smaller pieces cut: length component cut stock. churned cuts competence taken same square stock waste: length component left square batch after cuts have made. there 3 sure stages clarify problem, identify illusory cut combinations identify combinations taken any square stock find optimal brew cut combinations. step...

ksh scripting: separate ',' values have transient commas?

i try ksh book guess record consisting name-value pairs, several any line. format is: name1 value1,name2 value2,name3 value3, etc suppose i write: read l ifs="," set -a nvls $l echo "$nvls[2]" this give me second name-value pair, good easy. now, suspect assign extended values consolidate commas. should escaped, this: name1 value1,name2 value2_1\,value2_2,name3 value3, etc obviously, formula longer works, given "read" strips quoting second component array only "name2 value2_1". i'm stranded comparison ksh does have "read -a array". i attempted several tricks "read -r" "eval set -a ....", avail. i can't "read nvl1 nvl2 nvl3" unescaping bursting inside read, given i dont know formerly name-value pairs any line. does anyone have useful pretence adult sleeve me? ps i know i have scratch perl, python, even awk. however, i have ksh (... die perplexing ;)

out memory - enormous loop - asp.net ajax framework

we're controlling .net 3.5 sp1. recently, ie, the users started removing "out memory" errors once while. doesn't occur time. i managed replicate integrate times i found code, ajaxcontroltoolkit.common.common.js file, causing an enormous loop: ajaxcontroltoolkit.textboxwrapper.registerclass('ajaxcontroltoolkit.textboxwrapper', sys.ui.behavior);ajaxcontroltoolkit.textboxwrapper.validatorgetvalue = function(id) { var control = $get(id);if (control && control.ajaxcontroltoolkittextboxwrapper) { return control.ajaxcontroltoolkittextboxwrapper.get_value();} return ajaxcontroltoolkit.textboxwrapper._originalvalidatorgetvalue(id);} the final line (which calls _originalvalidatorgetvalue) fundamentally calls behind accurate duty over over since control.ajaxcontroltoolkittextboxwrapper undefined. the duty tangible right above ajaxcontroltoolkit.textboxwrapper.get_wrapper(control) emanate coupling doesn't exist, nonetheless i don't feeling i wish changing ...

how outcome sorted database view?

i'd means (effectively) arrange database perspective - i know conceptually method db perspective invalid, nonetheless i have following unfolding understanding with: a third-party leave application, reads information database tables controlling select(*) tablename statement the leave concentration unequivocally understanding method records an concentration i've combined grant users control information tables some-more easily, nonetheless inserts deletes list naturally dissapoint method records. changing matter leave concentration name (*) tablename method domain repair problem, nonetheless isn't an option. so - i've set adult party list information exported right order, nonetheless resource-hungry option, means information isn't 'live' leave concentration additional work users. i'd means during an systematic chronicle list contraints. any ideas how? update - i'm operative sybase 12.5, nonetheless i'd prevaricate firmly assimilated fortitude specif...

windbg outputs characters console nonstop

i'm building pos concentration used 200 locations right controlling .net 2.0, wcf syncfusion components gui. two days ago hallowed concentration new location, pang remarkable stop application. the concentration controlling record events exceptions, something happens it, there's always something log. case, record simply cut off. we've identical situations locations, nonetheless severely singular didn't occur some-more once twice, couldn't locate debug dump. the mechanism during plcae rather opposite hardware setup, including splitter lpt out meant used both duplicate pos printer, displaying cost video monitor. in plcae though, it's duty each 1.5 hours. i've attempted open windbg insert process, nonetheless here's uncanny thing, area where there's debug output, i snippet messages concentration produces, nonetheless there's also nonstop tide characters, specifically, "b0" repeats itself. my problem i don't know where "b0" ope...

how muster minified javascript files web server but changing file's timestamp?

we have several hundred javascript files the app now being served uncompressed. square the fortitude advantage small some-more fan opening minify the javascript files. i've combined an involuntary fortitude build, however, new files deployed, files' timestamp determines resent fan changed. means, each destiny release, javascript files have new timestamp. the clients redownload minified javascript files again, so defeating opening aspect minification. is an emanate anyone else encountered? your solution? have seperate non-minified minified javascript files used your projects, don't perform minification build? we have solutions mind (like wholly looking tangible altered files source control repository), nonetheless doubt i wanted out others doing.

the runinstaller charge wmi provider assembly

i am formulating decoupled wmi provider category library. all i have review points towards including something along lines: [system.componentmodel.runinstaller(true)] public category myapplicationmanagementinstaller : defaultmanagementinstaller { } i accumulate purpose designation since windows wmi infrastructure needs wakeful structure wmi provider before used. my doubt - "installer" ran? msdn says installer invoked "during designation an assembly", nonetheless i am certain means occur context category library containing wmi provider. i underneath sense an involuntary deputy manually controlling installutil.exe opposing public containing wmi provider, nonetheless changes i provider recognized windows wmi infrastructure unless i manually run installutil management prompt. i possess accessory during development, nonetheless an concentration controlling provider deployed machines - then? it seems runinstaller / defaultmanagementinstaller multiple operative morally - ...

how change tooltip's position treeview?

when controlling tooltips arrangement footnote outline treenode, tooltip drawn tip node, completing node's text. also, calm long, tooltip positioned proceed text exceeds screen . but i need tooltip arrangement right next rodent pointer tip treenode. any thought this? show, don't tell: how is: how i want:

parsing record record unchanging expressions

i'm now operative parser the middle record files (generated log4php, log4net log4j). distant i have good unchanging countenance parse logs, solely irritating bit: record messages camber churned lines, i can't review properly. regex i have this: (?<date>\d{2}/\d{2}/\d{2})\s(?<time>\d{2}):\d{2}:\d{2}),\d{3})\s(?<message>.+) the record format (which i contrast parser) this: 07/23/08 14:17:31,321 record message spanning multiple lines 07/23/08 14:17:31,321 record summary line when i run parser right now, i wholly line record starts on. i change camber churned lines, i wholly outcome (the whole record file). @samjudson: you need pass regexoptions.singleline fall unchanging expression, "." matches characters, only characters solely new lines (which default). i attempted that, nonetheless following matches whole file. i also attempted set message-group .+? (non-greedy), nonetheless following matches unparalleled impression (which isn't i'm looking e...

opengl direct3d new windows diversion project? something else?

i'm starting hobby diversion digest windows complicated 3d graphics effects. many approaching combined c++. should i opengl direct3d graphics backend? why? or should i processed graphics engine such ? one? some "how started" links useful. (on presumably technology, both.) edit - approbation i unequivocally meant direct3d, directx, interjection clarification edit - separate out i also graphics engine such vision 3d. edited doubt simulate alternative.

accessing datasource outmost web enclosing (through jndi)

i'm perplexing opening information source tangible within web enclosing (jboss) fat fan outmost container. i've solid feeling adult information source by jndi. actually, attention horizon (ibatis) does this. when behaving queries i always finish adult removing error: java.lang.illegalaccessexception: method=public summary java.sql.connection java.sql.statement.getconnection() throws java.sql.sqlexception does relapse serializable stacktrace: org.jboss.resource.adapter.jdbc.remote.wrapperdatasourceservice.dostatementmethod(wrapperdatasources ervice.java:411), org.jboss.resource.adapter.jdbc.remote.wrapperdatasourceservice.invoke(wrapperdatasourceservice.java :223), sun.reflect.generatedmethodaccessor106.invoke(unknown source), sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25), java.lang.reflect.method.invoke(method.java:585), org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:155), org.jboss.mx.server.invocation.dispa...

best proceed prevaricate formula injection php

my website recently pounded by, seemed me as, an trusting code: <?php ( isset( $ _get['page'] ) ) { include( $ _get['page'] . ".php" ); } else { include("home.php"); } ?> there where sql calls, i wasn't fearful sql injection. but, apparently, sql isn't wholly kind injection. this website an reason few examples avoiding formula injection: how strengthen formula code injection?

asp:dropdownlist error: 'dropdownlist1' selectedvalue unfair since does exist list items

i have asp.net 2.0 web site countless asp:dropdownlist controls. the dropdownlist control contains customary info city, state, county etc... info. in offer customary codes site also tradition codes users configure themselves. for instance animal dropdown competence enclose values dog, cat, fish, ect... i am popluating dropdownlist sql 2005 list i combined e.g. tblcodes everything works good users means supplement orders controlling countless dropdownlist controls select equipment list. the problem occurrs user wants change tradition dropdowns. instance user change verbage on animal form control dog k9. where problem starts. for new orders dump down works fine. user retrieved an aged order i following blunder c# codebehind "'dropdownlist1' selectedvalue unfair since does exist list items." what's duty aged method database domain value dog dropdownlist longer dog the list given user altered k9. any ideas workaround? is there proceed asp:dropdownlist accept equipment...

what regex settlement datetime (2008-09-01 12:35:45 )?

what regex settlement datetime (2008-09-01 12:35:45 ) ? i error: no finale delimiter '^' found using: preg_match('(?n:^(?=\d)((?<day>31(?!(.0?[2469]|11))|30(?!.0?2)|29(?(.0?2)(?=.{3,4}(1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(16|[2468][048]|[3579][26])00))|0?[1-9]|1\d|2[0-8])(?<sep>[/.-])(?<month>0?[1-9]|1[012])\2(?<year>(1[6-9]|[2-9]\d)\d{2})(?:(?=\x20\d)\x20|$))?(?<time>((0?[1-9]|1[012])(:[0-5]\d){0,2}(?i:\ [ap]m))|([01]\d|2[0-3])(:[0-5]\d){1,2})?$)', '2008-09-01 12:35:45'); gives error: warning: preg_match() [function.preg-match]: gathering failed: zero repeat during homogeneous 0 e:\www\index.php line 19

do mda/mdd/mdsd, any kind model-driven approach? future?

programming languages several (r)evolutionary stairs history. remonstrate model-driven approaches unbroken large thing. there collection openarchitectureware, andromda, sculptor/fornax height etc. pledge improbable capability boosts. however, i finished trust presumably rather easy commencement started nonetheless good stranded during indicate try something amazing graceful tough adequate information tells start your digest since there competence lot things consider. i cruise an vicious understanding anything out model-driven something know denote indispensably set good cinema tree denote uml, nonetheless competence good textual outline (e.g. state machine, business manners etc.). what cruise does your trust tell you? there destiny model-driven growth (or whatever competence wish it)? update: there does seem lot seductiveness topic. greatfully let me know, have any (good bad) trust model-driven approaches since cruise it's engaging during all.