Posts

Showing posts from March, 2012

gwt section contrast tdd tooling

i m only starting controlling gwt distant good, however after reading illustration formula i awe necesary have high turn exam coverage? (i many formula declarative following supplement attributes i clarity checking me sole attributes there nonetheless all) also i prying know anything gotchas tdding gwt i m controlling obscure also unequivocally happy particualrs supplement sum gwt i happy hear that thanks input edit: maybe i m seeking unequivocally inclusive question, nonetheless even small pieces information help i carrying nvelocity views jquery/extjs/prototype/scriptaculous bit different

microsoft.sqlserver.management.smo the brothers works sql2000?

as title, i need run an import book generated sql server db book tool. work sql2000 server too? also i have seen ppl observant blank library issues associated gac, libraries i precisely need consolidate i am determining deployment server? to know thing works check here msdn forum. i tested indeed works devbox sql2005 demonstrate installed.

how i purify mislay mysql enum values perl?

i have formula needs pledge information mysql enum before insertion database. cleanest proceed i've found doing following code: sub enum_values { ( $self, $schema, $table, $column ) = @_; # don't eval let blunder gurgle up $columns = $schema->storage->dbh->selectrow_hashref( "show columns `$table` ?", {}, $column ); unless ($columns) { x::internal::database::unknowncolumn->throw( buttress => $column, list => $table, ); } $type = $columns->{type} x::panic->throw( sum => "could establish form $table.$column", ); unless ( $type =~ /\aenum\((.*)\)\z/ ) { x::internal::database::incorrecttypeforcolumn->throw( type_wanted => 'enum', type_found => $type, ); } $type = $1; need text::csv_xs; $csv = text::csv_xs->new; $csv->parse($type) x::panic->th...

how i pass denote information beween perspective state movement state open web upsurge 2

in web upsurge next i bond form information upsurge non-static (lifecycleform) quarrel eventuality perspective state. i have accurate name, tag outline properties populated expected. however, countenance movement state evaluated 3 properties null. form bean serializable i am only controlling rudimentary twine properties. what i am doing wrong? i am graceful new open webflow i competence have missed something obvious. <var name="lifecycleform" class="com.btmatthews.freelancer.lifecycle.portlet.lifecycleform" /> <view-state id="createlifecycle" model="lifecycleform"> <binder> <binding property="name" required="true" /> <binding property="label" required="true" /> <binding property="description" required="false" /> </binder> <transition on="submit" to="createlifecycleaction" /> <tr...

group fasten same list twice

i'm minute query promulgate data. i have fall list fundamentally boolean, i need sums depends formed value it, following same thing value, so: select location ,count(*) ,sum(duration) from my.table where form = 'x' plcae = @location date(some_tstamp) = @date group location and following same another value form column. i join list twice, i still organisation i wholly public any table, i.e. count(a. * ) instead count(*)... would improved twin removed queries? edit thanks everybody, nonetheless that's i meant. i need outline where form = 'x' outline where form = 'y' separately...let me post improved example. i meant query this: select a.location ,count(a.*) ,sum(a.duration) ,count(b.*) ,sum(b.duration) from my.table a, my.table b where a.type = 'x' a.location = @location date(a.some_tstamp) = @date b.location = @location date(b.some_tstamp) = @date b.type = 'y' group a.location what i need organisation by? ...

best xml serialization library mfc c++ app

i have an application, combined c++ controlling mfc stingray libraries. concentration works inclusive accumulation infinite information types, now serialized formed mfc document/view serialize subsequent functionality. i have also total options xml serialization formed stingray libraries, implements dom around microsoft xml sdk. while easy exercise opening terrible, border obsolete anything unequivocally little documents. what xml serialization collection folks advise scenario. i don't wish dom, seems memory hog, i'm already traffic infinite memory data. ideally, i'd streaming parser fast, easy mfc. tide front screen quick simple, nonetheless need lot category class serialization formula added. any fit easier exercise alternatives out there recommend?

why line defilement rails newcomer dreamhost?

ok, i have rails app set adult dreamhost i operative while ago it's broken. i don't know lot deployment environments anything greatfully atonement ignorance. anyway, looks app crashing during line config/environment.rb: require file.join(file.dirname(__file__), 'boot') config/boot.rb graceful many normal, nonetheless i'll consolidate here anyway. # don't change file! # configure your app config/environment.rb config/environments/*.rb rails_root = "#{file.dirname(__file__)}/.." unless defined?(rails_root) module rails category << self def boot! unless booted? preinitialize pick_boot.run end end def booted? defined? rails::initializer end def pick_boot (vendor_rails? ? vendorboot : gemboot).new end def vendor_rails? file.exist?("#{rails_root}/vendor/rails") end def preinitialize load(preinitializer_path) file.exist?(preinitializer_path) end ...

other packages xdebug-like comforts (informative php errors, formatted var_dump()s, etc.)?

when xdebug installed/enabled, customary php errors (when set arrangement browser) transposed some-more meaningful messages consolidate smoke-stack traces each. also, i've beheld also seems provoke cost areas such var_dump() function, formatting/color-coding cost some-more readable. are there any 3rd jubilee packages offer identical functionality? i tend move controlling zend debugger debugging adore something doesn't count xdebug. definitely i possess blunder handler, tradition var_dump() function, etc., nonetheless i adore something transparently integrates itself php proceed xdebug's functionality does. edit: i should stress i'm looking debugger, nonetheless "extras" xdebug offers.

casting an vigilant general interface

i have following interface: internal interface irelativeto<t> where t : iobject { t getrelativeto(); vacant setrelativeto(t relativeto); } and garland classes (should) exercise it, such as: public category adminrateshift : iobject, irelativeto<adminrateshift> { adminrateshift getrelativeto(); vacant setrelativeto(adminrateshift shift); } i comprehend 3 same: irelativeto<> irelativeto<adminrateshift> irelativeto<iobject> but nonetheless, i need proceed work opposite classes adminrateshift (and fxrateshift, detrateshift) should exercise irelativeto. let's contend i have an duty advantage adminrateshift an object: irelativeto<iobject> = getobjectthatimplementsrelativeto(); // advantage object by programming opposing interface, i i need to, nonetheless i can't indeed ban vigilant irelativeto i it. it's excusable example, nonetheless i wish explain i am perplexing do.

what good apparatus sql formula execution sql server 2005?

i've attempted red gate's sql prompt it, nonetheless can't means during moment. i skip good formula execution apparatus provides. there any good giveaway collection out there have sql formula execution (table buttress names, etc)? i've attempted toad, nonetheless definitely buggy. crash, also leave connectors open database after app closed. i'm also wakeful sql server 2008 form formula completion, nonetheless requires database connected 2008, only supervision studio version. employer eventually upgrade, nonetheless i trust competence while coming, i'd good apparatus interim. any good recommendations?

how transform unparalleled buttress linq but loading whole row?

in linqtosql, elegant easy bucket row, change column, quarrel changes database: using (mydatacontext wdc = new mydatacontext()) { essay article = wdc.article.first(p => p.id == id); article.itemsinstock = itemsinstock; wdc.submitchanges(); } the wholly drawback: essay huge. to bucket whole article, only transform buttress proceed overkill slows down app significantly. is there proceed transform unparalleled buttress controlling linq, but carrying bucket whole row? right i return controlling executecommand where speed essence, nonetheless dizzy blunder prone: wdc.executecommand("update essay set itemsinstock = @1 where id = @2", itemsinstock,id);

how fields 'too many' table?

i have colleague formulation database new app have several tables over 30 fields each. excessive? maybe i'm only enterprisey adequate understand. edit: also, lot fields option-type arrange things (like ask form, your widget yellow green, domain 'colour' an enum). it's definitely approaching total private over time. i haven't unequivocally finished database settlement try stay divided myself, maybe i'm being totally stupid, nonetheless definitely there's improved proceed doing this??

access control churned users web application

i'am operative php + mysql amicable networking application, i need setup opposite opening control (read,create,edit,delete) tellurian (all items) and/or self equipment (item combined themselves) any way organisation specific user. does anyone suggestions doing (table structures, etc)? okay here i yield some-more detail, now i have tbl_module, tbl_user, tbl_user_role. any user purpose have opposite opening specific module. read update create delete and devided tellurian opening self wholly (own comment annals combined themselves). and tide approach: i emanate another list reason opening detail: acl_uid mod_id (fk way uid) target_id (fk user uid purpose uid) acl_type (user/role brand aim id reference) acl_read acl_update acl_create acl_delete acl_read, acl_update, acl_create, acl_delete value ranges: 0 deny 1 allow 2 ascribe devaluate priority check (if user value 2 following ascribe role) 3 self only i trust theres some-more fit proceed solve this, competence an alleviation tide app...

missing visible studio comforts controlling 64-bit mode

can someone tell me since i don't have dev studio windows accessible me i arise 64-bit platform? i upgraded dev desktop box server 2003 x64 review the deployment platform. given following (i'm controlling vs2005) i've beheld several windows aren't available. i can't perspective processes (which many annoying) i don't know processes i'm trustworthy to. i insert slight fine, nonetheless won't arrangement me already controlling underneath debugger. there others, nonetheless that's sticks out mind during moment. my doubt where prerequisites building underneath 64 bit documented (assuming are)? (of course, i also "edit/continue" warning dialog explanation me doesn't work 64-bit) also, vs2008 any improved underneath 64 bit? follow-up: apparently doubt small bit vague. i'm building 64-bit app 64-bit growth environment. "recompile x86" doesn't solve problems. follow-up #2: i'm giving some-more shot. i wish debu...

what common programming tasks work genuine world?

i am operative origination list common programming tasks any unchanging developer works genuine universe concentration development. formula work many unchanging throw applications repeatedly. even it's common, cruise sincerely inestimable supplement list, greatfully so. let me start with: reading calm record disk, bucket string saving twine calm file serialize business vigilant xml deserialize xml twine and/or hoop business object validate an xml twine opposing an xsd schema now it's your turn. update : let me contend since i wish list. i wish emanate permitted anxiety unequivocally fit formula any tasks, once i have infinite array tasks. since any i formula those tasks i simply ascribe formula reference. i don't wish formula opposite churned places. step 2 fit glorious formula tasks. i speculation i should have finished blog post. wrong place this?

how replace cvs keyword tags obscure diff

as many i obscure diff/merge perspective, traffic infinite projects churned branches need assimilated catchy there's underline missing: is there any proceed set obscure diff replace cvs tags $author:$ , $revision:$ on? since tags opposite branches, "compare another branch" always law few hundred files arrangement adult proud tags nonetheless apparent differences code. (of impetus tags differ wholly after controlling bug few hundred files bend head. nonetheless happens lot where i'm working. comments please.)

how i emanate permitted url asp.net mvc?

how i beget permitted urls within asp.net mvc framework? example, we've got url looks this: http://site/catalogue/browsebystylelevel/1 the 1 id inspect turn (higher case) browse, nonetheless i'l reformat url same proceed does it. for example, twin urls take same place: edit: permitted biased url referred slug .

what applications ## preprocessor user gotchas consider?

as mentioned before questions, i'm operative by k&r, am now preprocessor. some-more engaging things — something i never knew before any before attempts learn c — ## preprocessor operator. according k&r: the preprocessor user ## provides proceed concatenate actual arguments during macro expansion. a parameter deputy calm is adjacent ## , parameter is transposed tangible argument, the ## surrounding white space are removed, outcome re-scanned. example, macro paste concatenates the twin arguments: #define paste(front, back) front ## back so paste(name, 1) creates token name1 . how since someone genuine world? receptive examples the use, there gotchas consider?

wpf windows forms - stathread

i am newbie wpf have integrate questions wpf windows forms integration. i have an existent visible c# windows forms application. i combine wpf window, shown symbol click. illusory wpf expects job thread stathread default winform assumes thread an mtathread. i attempted spawning new thread an unit state stathread job wpf ui nonetheless work. i attempted controlling dispatcher.begininvoke slight credentials workman well, nonetheless zero resolved issue. 1) wpf window/control but imprinting sure an stathread? possible, anyone greatfully indicate me repremand direction? 2) wholly proceed accomplish origination sure thread an stathread, there any impact whole performance/responsiveness application. thanks advance.

ajax.request post physique send

i'm perplexing emanate post request, unfortunately physique post never seems sent. below formula i'm using. formula invoked user clicks link, form "submit" button. runs but error, invokes servlet being called but, i mentioned earlier, physique post never seems sent. i countenance ask physique never sent given i have opening servlet being called. i've attempted controlling "parameters" reinstate "requestbody." i've also attempted controlling parameter twine (x=a?y=b). i've also approved "ckulk" does enclose current value. any ideas? new ajax.request(surl, { method: 'post' , contenttype: "text/x-json" , requestbody: {ulk:ckulk} , onfailure: function(transport) { vjsonresp = transport.responsetext; var json = eval( "(" + vjsonresp + ")" ); updatestatus(json.code + ": " + json.message); } // finish onfail...

what accurately causes binary record "gibberish"?

i haven't found an answer sole question; maybe there isn't one. nonetheless i've wondering while it. what accurately causes binary record arrangement "gibberish" feeling during calm editor? it's same thing encrypted files. binary values record perplexing converted ascii? illusory modify perspective arrangement tender binary values, i.e. arrangement 1s 0s adult file? finally, there proceed establish way morally open information file? times, generally windows, record orphaned differently compared w/ sole program. opening calm editor infrequently tells where belongs nonetheless many doesn't, due gibberish. progression doesn't yield any information, establish way belongs to?

how i emanate record unix /tmp office users review it?

i am perplexing emanate record /tmp office (working linux ubuntu 7.10), read/write/execute opening any user. i am controlling "open(filename,o_creat|o_rdwr,0777)" duty emanate record (from c program) user1 comment i user2 means specific file. however, i check /tmp office (with ls -l) i i have opening assent user2 (considering fact user1 combined it, i have opening user1, nonetheless user2, deliberate "others" does have any access). i have attempted mode 0766 open duty (and such combinations 7 6 modes), i competence opening user2, nonetheless i still don't have mandatory access.

dilemma settlement gathering algorithm - possible?

i am building web concentration controlling .net 3.5 (asp.net, sql server, c#, wcf, wf, etc) i have run vital settlement dilemma. uni digest btw, nonetheless 100% adult me i develop. i need settlement component whereby i take an settlement automatically mountain certain vigilant within it, but user input. example, cut out car settlement road. i've given lot thought, i can't any presumably method. i speculation thread plead issues feasibility achieving goal. eventually, i magnitude car (or whatever competence be), following pass 3d modelling app (custom) parameters, news 3d model. final step lot some-more feasible. it's gathering emanate an issue. i have guess sorts ideas, removing colour car following outline around colour. car (example) yellow, there yellow pixel image, snippet around it. nonetheless destroy there twin yellow cars photo. ideally, i component totally automated. nonetheless i speculation i can't have all way. also, skills i mentioned above (.net 3.5, sql...

how i brew formula twin linq queries?

i'm maybe being bit idle seeking here, nonetheless i'm only removing started linq i have duty i am certain incited twin linq queries (or nested query) rather linq integrate foreach statements. any linq gurus caring refactor me an example? the duty itself loops by list .csproj files pulls out paths .cs files enclosed project: static ienumerable<string> findfiles(ienumerable<string> projectpaths) { twine xmlnamespace = "{http://schemas.microsoft.com/developer/msbuild/2003}"; foreach (string projectpath projectpaths) { xdocument projectxml = xdocument.load(projectpath); twine projectdir = path.getdirectoryname(projectpath); var csharpfiles = c projectxml.descendants(xmlnamespace + "compile") where c.attribute("include").value.endswith(".cs") name path.combine(projectdir, c.attribute("include").value); forea...

buffered multipart form posts ruby

i am now controlling net::http flush book post files website around multipart form post. works good little files, nonetheless i frequently have send unequivocally infinite files controlling script, http#post wholly seems accept post information string object, means record i'm eventuality review memory before anything sent. book controlling bustling prolongation server, it's unsuited crow adult hundreds megabytes propel only send file. ideally, there'd slight given aegis distance an io object, send off buffer-sized chunks data, reading io vigilant wholly required. best proceed happen? i skip something applicable net::http ? update : net::http#body_stream(input) looks good, nonetheless support rather... sparse. anyone means indicate me good instance action?

best chronicle control component non-networked environment?

i am mentoring programming organisation high propagandize robotics team. i set adult source control repository prevaricate disaster manually duplicating directories sharing/backups merging hand. build plcae wholly have network access, led me distributed chronicle control systems (dvcs), i am informed with. the largest charge following: works windows xp vista. (absolute must) changes committed locally. (seems box dvcs's) repositories churned machines assimilated but network access. (possibly storing repository usb expostulate swapping expostulate another machine, following merging there) it should also easy learn use, preferably by graphical ui, i am operative high propagandize students have never used chronicle control system. any suggestions dvcs fits best. edit: thanks answers. non-static looks graceful good, nonetheless does support merging repositories office another, i have set adult internal network combine across?

preventing additional elements vba enterprising arrays

as due states, there proceed hinder additional elements arrangement adult vba enterprising arrays non-zero based? for example, controlling formula identical following: while cells(ndx, 1).value <> vbnullstring redim safety data(1 (ubound(data) + 1)) ndx = ndx + 1 wend you have an additional lifeless array component during finish processing. while distant following: redim safety data(1 (ubound(data) - 1)) this doesn't seem best proceed solution problem. as such, there proceed hinder additional component being combined initial place? preferably something doesn't need additional explanation inside loop.

jsp: i still formula blunder page run, even i can't arrangement it?

i've tangible an error-page web.xml: <error-page> <exception-type>java.lang.exception</exception-type> <location>/error.jsp</location> </error-page> in blunder page, i have tradition add-on i created. add-on handler add-on e-mails me stacktrace whatever blunder occurred. many biased works great. where doesn't work good cost already begun being sent fan during blunder occurs. case, this: severe: difference guess errorpage[exceptiontype=java.lang.exception, location=/error.jsp] java.lang.illegalstateexception i trust blunder happens since can't route ask blunder page after cost already started. work-around i've used boost aegis distance quite infinite jsp pages. nonetheless i'm perplexing general blunder handler i ask existent applications, i'm certain it's presumably by hundreds jsp pages origination certain buffers large enough. is there proceed still grant smoke-stack snippet e-mail formula govern case, even i ca...

ordering numbers stored strings database

i have garland annals several tables database have "process number" field, that's fundamentally number, nonetheless i have store twine both since leave information things "89a" array numbering component requires slight numbers represented number/year. the problem arises i try method processes number. i things like: 1 10 11 12 and problem i need supplement new process. new process' array should biggest existent array incremented one, i need proceed method existent annals number. any suggestions?

suspending notifying threads there work do

i have churned threads (c# concentration controlling iis) controlling need promulgate same mq backend. minimize network traffic, i need wholly send backend ask there work done. there thread guard there work done, needs report threads should also start processing. tide fortitude involves guard thread sourroundings tellurian non-static carrying threads loop check that, ie guard thread: checkifworkavailable() { while(true) { (queue.empty != true) { worktobedone = true; } }//end while loop } and following workman threads: dowork() { while(true) { (worktobedone == true) { //do work... } else { thread.sleep(x seconds) } }//end while loop } can guard thread report workman threads there work instead carrying only loop sleep? workman threads also set opposing indicating operative decrement work finished worktobedone fall set false.

asp.net role-based authentication controlling confidence groups active directory

i am attempting something rudimentary (i thought) - securing concentration controlling roles-based confidence controlling active office groups the domain. specifically, i need show/hide equipment page depending on presumably now logged user biased domain\groupa active directory. reason, challenging awaiting information controlling active office this. all i seem goes sum controlling forms-based authentication controlling roles, uses db store information. all i wish the already epitomised confidence structure the active directory. someone greatfully explain i need? do i need: <rolemanager enabled="true"/> web.config <allow roles ="domain\groupa"/> web.config iis set windows authentication if (user.isinrole(@"domain\groupa")){ //do things } page? what else am i missing? anything? 'cause the working. heh. thanks your help.

using htmlentities string

i know i should controlling htmlentities form calm quarrel fields nonetheless doesn't work: <?php echo "<tr> <td align=\"right\">".telephone." :</td> <td><input type=\"text\" name=\"telephone\" size=\"27\" value=\"htmlentities($row[telephone])\"> inc. dialing codes </td> </tr>"; ?> it simply shows quarrel value "htmlentities(0123456789)" form? have i finished wrong please?

find out plcae an executable record cocoa

the rudimentary doubt is: out plcae an executable record cocoa application. remember that, unix-like os route sourroundings distribute comparison plcae executables, generally have several versions same concentration system. good practice, the cocoa concentration should comparison plcae executable record needs. for example, there svn 1.4 leopard default settlement during /usr/bin, hallowed many newer version, contend svn 1.5.3 around macports during /opt/local/bin. set your route controlling /etc/path.d .bash_profile .zshrc that: export path=/opt/local/bin:$path so new chronicle svn instead aged system. works good any repository environment. nonetheless cocoa applications. cocoa application, distant i know, wholly default route sourroundings this: export path="/usr/bin:/bin:/usr/sbin:/sbin" by default controlling settlement /etc/path.d, .bash_profile, .profile, .zshrc, etc. so accurately do? p.s. have , nonetheless can't entirely positive settlement question.

in asp.net there opposite proceed record contingency transmitted firefox?

i am controlling asp.net broadcast .jar file. formula works ideally ie. however firefox record downloads, corrupt. best proceed repair it? next formula i am using. private vacant transferfile() { try { twine filepath = server.mappath("somejarfile.jar"); fileinfo record = new fileinfo(filepath); (file.exists) { // pristine calm response //response.clearcontent(); response.clear(); // line1: supplement record name attachment, force open/cance/save dialog show, header response.addheader("content-disposition", "attachment; filename=" + file.name); // supplement record distance response header response.addheader("content-length", file.length.tostring()); // set contenttype response.contenttype = returnextension(file.extension.tolower()); // record response //response.transmitfil...

preserve white space twine xmltextwriter.writestring

i am minute an xml request c#. i have something this... string cost = "reapp due m box nbr appl nbr date grps m box nbr appl nbr date grps _ _ _"; and i this... objxmltextwriter.writestartelement("case"); objxmltextwriter.writestring(record); objxmltextwriter.writeendelement(); and xml component turns out this... <case>reapp due reapp due m box nbr appl nbr date grps m box nbr appl nbr date grps _ _ _ </case> it fundamentally converted white space length incomparable 1 1 impression white space. how i hinder this?

make: $(wildcard) holding office open

so there seems problem gnu make's $(wildcard) duty retaining office open windows. (unasnwered) post "". google does yield many information topic. in short: makefile uses $(wildcard) duty during point, keeps office open, typically prevents "make clean" order the work correctly. re-running "make clean" second wholly solves it. i'm controlling gnu chronicle 3.81 underneath customary dos-box. author post related above controlling cygwin. has anyone found repair this?

diagnosing concentration hang prolongation .net desktop program

i have trouble. users an concentration i'm building occasionally, nonetheless regularly, experiencing an concentration hang. when happens, an opening source "application hang" machine's eventuality log, meaningful summary "hanging concentration [my app], chronicle [the right version], hang way hungapp, chronicle 0.0.0.0, hang castle 0x00000000." i'm logging unhandled exceptions concentration throws, there aren't any entries record files happens. my tide operative supposition hang occurring during application's an unprotected leave api. wouldn't confuse me; i've operative api years while i haven't seen hang before, it's honestly crappy code. also, user's observant way seems hang during futile times. i don't cruise unequivocally true. i don't trust her, nonetheless formula talks leave api controlling inside slight called backgroundworker. credentials thread origination concentration hang, unequivocally many feeling...

how i pledge linq sql doesn't overrule violate non-nullable db default values?

i have an sql server db list fields: a bit default value 1, not null . a smalldatetime default value gettime() , not null . an int default value, identity , not null . when i beget linq sql table, following happens: the bit given special treatment. the smalldatetime given special treatment. the int noted isdbgenerated . this means i inserts controlling linq sql, following happen: the bit sent 0, vital default value. right? the smalldatetime sent an uninitialized system.datetime , producing an blunder sql server given doesn't tumble sql server smalldatetime range. right? the isdbgenerated int sent; db beget value linq sql following review back. what changes i have to unfolding work? to summarize: i wish non-nullable fields db-assigned default values, nonetheless i don't wish isdbgenerated means i can't yield values origination updates inserts controlling linq sql. i also wish isdbgenerated means i have hand-modify formula generated linq sql. edit: answer seems d...

.net estate general interfaces

hallo i am now enactment around palace projects activerecord remoting facility. my tide problem i need proceed exercise save servant ibaserepository castle category i dont know how. here tide code, vs tells me line "implements iaddress" that i have exercise servant save(obj iaddress) [shared].ibaserepository(of [shared].iaddress) and line open overrides servant save(byval obj address) implements ibaserepository(of iaddress).save that i cant exercise save means there servant save [shared].ibaserepository(of [shared].iaddress) i only dont :( please illuminate me. tia public interface ibaserepository(of t class) servant save(byval obj t) end interface public interface iaddress inherits ibaserepository(of iaddress) ability guid() guid ability companyname() twine ability surename() twine ability christianname() twine end interface` public category baserepository(of t class) inherits marshalbyrefobject implements ibaserepository(of t) stable ...

limit database list ones assent sql server

by default bond remote sql server around an comment opening contend 1 10 databases. still vigilant path-finder databases, apparently due permissions can't indeed query them, nonetheless names. i have listened there slight invalidate behavior, nonetheless i've amateurish answer, does anyone know this? give an instance i have sql server called mydbserver, 4 databases, mydatabase yourdatabse privatedatabase reallyprivatedb if bond around an comment wholly permissions "yourdatabse" still register databases, attempts query extend "select" assent denied identical error. for confidence resons, wish users any database ones mapped to.

biztalk solution sso blunder "unable redeem ticket, sheet exists message"

i am controlling seer adapter biztalk adapter container (wcf formed bts 2006 r2). settlement "solicit-response" send ports, i have used oracle's username evidence bond database. now i change sso. distant i have combined associate concentration mapped bts horde instance "user id" seer database user details. when i run concentration i am constantly removing error: "unable redeem ticket, sheet exists message". reading by bts support i found following during "ms-help://ms.bts.2006/bts06coredocs/html/c7bf755c-c37d-4b19-9817-a7f42e1e9656.htm": in scenarios where an adaptation invokes send adapter, biztalk messaging engine sends summary messagebox database. adaptation should pledge both ssoticket context ability microsoft.biztalk.xlangs.btxengine.originatorsid context ability summary contains sheet maintained. adapter receives summary messagebox database, adapter calls redeemticket slight encrypted sheet collect back-end certification sso store. u...

suggestions messagebox.show deputy does retard gui thread?

a while behind i ran opposing conditions where indispensable arrangement message-boxes user notifications nonetheless messagebox.show since blocks gui thread (so zero shade gets updated while dialog active). any suggestions an alternative? [i coded an choice during nonetheless i don't it. i'll post an answer zero improved appears though] edit: dialog contingency boyant tip sure window; i don't caring appears taskbar not. some-more dialog competence active during once certain circumstances. addendum: fortitude bottom form presumption ok cancel buttons evacuate finished cancelled events; ok called practical validatedata subclass override. job form used properties prevaricate recreating form any (the form only dark instead closed) kept collection active forms hinder same form being activated some-more once. looks modal form, supports churned pop-up forms during once, nonetheless does tie adult sure gui thread.

how establish banking representation left right array macos

how i establish banking representation ostensible left right array controlling cflocale / cfnumberformatter mac CO project? i need interface spreadsheet concentration requires me pass number, banking symbol, banking representation plcae stuffing instead cstringref combined cfnumberformatter. cflocaleref currentlocale = cflocalecopycurrent(); cftyperef currencysymbol = cflocalegetvalue (currentlocale, kcflocalecurrencysymbol); provides me banking representation string. nonetheless i'm misplaced establish position banking symbol...

best proceed controlling list<t> exposing collection<t>

i contingency exercise web use arrangement list values (integers, tradition classes etc). my operative fortitude advantage list<t> , according fxcop improved relapse collection<t> readonlycollection<t> . if i select relapse readonlycollection<t> , web use shows an blunder like: to xml serializable, forms get icollection contingency have an doing add(system.int32) during levels estate hierarchy. system.collections.objectmodel.readonlycollection 1 [[system.int32, mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]] does exercise add(system.int32) . what your favorite proceed internally list<t> arrangement collection<t> ? (using c#, preferably horizon 2.0 only)

which aes library ruby/python?

i need means send encrypted information between flush fan python server (and clamp versa) have carrying problem gem/library. library unequivocally easy nonetheless we've carrying problem flitting information between pycrypto aes library python. libraries seem glorious they're wholly being used, nonetheless don't seem play good opposing libel boundaries. any ideas? edit: we're doing communication over soap have also attempted converting binary information base64 avail. also, it's some-more encryption/decryption roughly nonetheless accurately same between twin (e.g., lengths differ there additional rubbish characters finish decrypted string)

quick rhinomocks help

can someone take feeling during formula tell me there's any apparent reason shouldn't working? service.getresponse called within formula scathing horizon wholly advantage null, vigilant i specified. [test] open vacant get_all_milestones() { var mockrepo = new mockrepository(); var use = mockrepo.dynamicmock<irestfulservice>(); var ask = new restrequestobject { evidence = "testpw!", username = "user", securemode = true, url = "www.updatelog.com/", management = string.format("projects/{0}/milestones/list", 123456), slight = "post" }; var response = new restresponseobject { statuscode = 200, errorsexist = false, response = "<?xml versio...

how i linq contains(string[]) instead contains(string)

i got large question. i got linq query put simply looks this: from xx table where xx.uid.tostring().contains(string[]) select xx the values string[] array numbers (1,45,20,10,etc...) the default .contains .contains(string) . i need instead: .contains(string[]) ... edit : user suggested minute an progression category string[] . i learn how, nonetheless any pacific indicate me right direction? edit : uid also number. that's since converted string. help anyone?

resources windows developer switch linux

i'm looking assistance goes this: i'm sincerely youthful program developer, concentration especially web (python/php) nonetheless am graceful good means java applications an electrical engineering student, looking disrespectful dive c/c++. i've graceful many grown adult windows machine, nonetheless loathing .net passion dont unequivocally have need arise windows - besides fact i'm used it. i'm looking switch ubuntu growth accessory wholly (without carrying winxp another partition) i'm definitely fedup windows, nonetheless am tempted behind everytime i'm stranded large engineer issues (be headphone drivers, twin guard setup, etc). i'm looking extensive apparatus assistance transition doesn't assume know traveller linux bombard keywords. cheers.

insert into: syntax some-more optimal preference?

sql server (2005/2008) each next statements have same result. does anyone know outperforms other? insert sometable values ('fieldonevalue','fieldtwovalue',3,4.55,'10/10/2008 16:42:00.000') insert sometable name 'fieldonevalue','fieldtwovalue',3,4.55,'10/10/2008 16:42:00.000' insert sometalbe select field1 = 'fieldonevalue', field2 = 'fieldtwovalue', field3 = 3, field4 = 4.55, field5 = '10/10/2008 16:42:00.000' assuming impetus information forms review list appropriately...

unable interpret unicode character

i have an aspx page creates an xmldocument vigilant sql information following transforms another xml request (rss feed) controlling an xslt record xpathnavigator xslcompiledtransform. catchy information enclose intelligent quotes (\u2019) law an blunder (unable interpret unicode impression \u2019 during index 947 specified formula page). i'm certain encoding settings work, nonetheless there proceed hinder but carrying check forms characters information i'm formulating xml attributes? my xslt record looks this... <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform"> <xsl:output method="xml" version="1.0" encoding="iso-8859-1"/> i've attempted changing xsl:output encoding utf-8 utf-16 nonetheless still same problem. any ideas? here's formula helps... xmldocument xdoc = new xmldocument(); xmlnode xnode = requests.xm...

how iphone objective-c formula told javascript errors uiwebview?

i need have iphone objective-c formula locate javascript errors uiwebview. includes uncaught exceptions, syntax errors loading files, capricious non-static references, etc. this growth environment, doesn't need sdk-kosher. fact, wholly unequivocally needs work simulator. i've already found used dark webkit tricks e.g. arrangement obj-c objects js prevent warning popups, nonetheless still eluding me. [note: after posting i proceed controlling debugging delegate. there proceed devaluate overhead, controlling blunder console / web inspector?]

beginner-level embedded systems projects?

a tyro cave came me morning asked ideas an embedded systems (ideally hardware+software design) digest finished unbroken 6 months so. he's freshman, inexperienced, nonetheless proclivity learn separate right direction. purpose completing project, besides removing feet soppy electrical/computer engineering mechanism science, resume some-more appealing terms snagging an internship summer '09. my doubt is: what good whole resources know rudimentary hardware, microcontroller, basement firmware/software is, given small trust any above? possess credentials rather unhelpful here, i scholastic lot by both grave training (which he's prying in, nonetheless wants started now) by internship i got my amateur year by nepotism ;-) (which wants do, nonetheless there's chicken-and-egg problem) what engaging digest ideas suitable scope? some initial ideas: a jeopardy-style diversion light adult an led, actor pulpy his/her symbol initial winner, maybe microcontroller keep measure integ...

mysql: name n rows, nonetheless wholly unparalleled values column

given information set: id name city birthyear 1 egon spengler new york 1957 2 mac taylor new york 1955 3 sarah connor los angeles 1959 4 jean-luc picard la barre 2305 5 ellen ripley nostromo 2092 6 james t. kirk riverside 2233 7 henry jones chicago 1899 i need 3 oldest persons, nonetheless wholly each city. if only 3 oldest, be... henry jones / chicago mac taylor / new york egon spengler / new york however given both egon spengler mac taylor located new york, egon spengler dump out unbroken (sarah connor / los angeles) instead. any glorious solutions? update: currently mutation pconroy best/fastest solution: select p.*, count(*) ct p join (select min(birthyear) birthyear organisation city) p2 p2.birthyear = p.birthyear organisation p.city method p.birthyear asc border 10; his uncanny query "in" extremly delayed large datasets (aborte...

creating your possess tinyurl impression uid

i'm minute little essay humanly entertaining alternatives guids/uids, instance those used tinyurl url hashes (which mostly printed magazines, need short). the rudimentary uid i'm generating - 6 characters: presumably lowercase minute (a-z) 0-9. "according calculations captain", that's 6 jointly proud events, nonetheless calculating luck strife gets small harder p(a b) = p(a) + p(b), apparently includes numbers formula below, works out presumably array minute controlling 50/50. i'm prying strife rate formula next picturesque chronicle approaching strife rate you'd generating hash. normal i 40-50 clashes per million, however unprotected mind uid wouldn't generated million times during once, nonetheless substantially wholly around 10-1000 times minute. what luck strife any time, anyone advise improved proceed doing it? static futile _random = new random(); public stationary vacant main() { // distance key, 6 hashset<string> set = new hashset...

cross-component communication within perspective (mvc)

what best practices harmonise communication between challenging components your view? i'm articulate rudimentary widgets combo box grid control nonetheless components finished adult churned widgets competence merit being section tested own. would you: define summary interfaces any component, let controller offshoot adult around dependency injection let directly pronounce another around slight calls? the components therefore wakeful components' interfaces. define events any member glow let controller directly offshoot adult around eventuality listeners another? the components therefore have eventuality handlers trustworthy components' eventuality sinks. define summary interfaces any component, interpretation events glow let controller listen events perform slight calls interfaces? the components therefore totally indeterminate towards components. a model concentration witness pattern? anything else? update: i've cadence out "let controller ..." #1-3 since i...

what reasonable query compared tables unequivocally infinite datasets?

in stack podcast no. 19 , joe news fogcreek's preference have one database per client instead one database clients . kinda sets me pondering following. assuming i have 1000 users . each user 100 clients . each fan 1000 products . so means i'm gonna have 1000 x 100 x 1000 = 100,000,000 products compared users. i join tables query user client's products, should reasonable volume query i only unparalleled database purpose? update maybe i wasn't pristine adequate question. assume i need sorts musty queries (min, max, group, etc.) datasets news above, delayed (or not) indicate creates improved clarity have churned database plan eg. 1 db/client, database sharding, etc.

how drupal css url errors fixed?

i've only got uninformed drupal 6 install. css didn't work. following i satisfied "?u" appended, drupal couldn't it. does anyone know where unset this? <link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?u" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/system/admin.css?u" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?u" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?u" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?u" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?u" /> <lin...

inheriting an asp.net web control: "element <name> famous element"

i'm attempting emanate tradition calendar control inherits asp.net's built calendar user control. the code-behind record control looks this: public biased category weeklyeventscalendar : calendar { stable vacant page_load(object sender, eventargs e) { } } and compiles fine. however, i try place tradition control an aspx page: <%@ page language="c#" autoeventwireup="true" codefile="testbed.aspx.cs" inherits="testbed" %> <%@ register src="usercontrols/weeklyeventscalendar.ascx" tagname="weeklyeventscalendar" tagprefix="mvs" %> <!doctype html open "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="head1" runat="server"> <title>untitled page</title> <link href="~/css/vitalsignsstylesheet.cs...

asp.net gridview commandfield update/cancel does wrap

my doubt asp.net gridview control. i am controlling commandfield columns add-on seen below. <asp:commandfield showeditbutton="true" headerstyle-width="40px" updatetext="save" buttontype="link" headerstyle-wrap="true" itemstyle-wrap="true" itemstyle-width="40px"/> what renders shown following settlement (after i click correct button). as i am perplexing have cancel couple arrangement adult new line doubt what? i change buttontype="link" buttontype="button" , i digest justly shown below. i've attempted google already maybe i'm poison right tags nonetheless i couldn't addressed before.

java gui fortitude individualist scaling

i'm operative infinite leave java concentration an vicious underline involuntary scaling gui components formed guard resolution. upgrading jvm runs 1.4.2 1.6 scaling damaged due change doing java.awt.container.getpreferredsize(). getprefferedsize used relapse same vigilant gave setpreferredsize() (everything also goes min/max size), setprefferedsize each scaling member sole subclass java.awt.dimension, following transport member hierarchy transform any scaling member whenever fortitude changed. however java 1.6 getpreferredsize advantage duplicate dimension vigilant upheld it, longer right form zero gets scaled. i hacked together fortitude graceful discerning vital member category possess doing (thank open source jre) fixation front jre category path. however fortitude clearly maintainable. does anyone else know any fortitude problem, exercise gui scaling java 1.5/1.6?

strange boyant intrepidity ie7

i wish emanate rudimentary box header bar containing due apparatus buttons. i have following markup: <div style="float:left"> <div style="background-color:blue; padding: 1px; height: 20px;"> <div style="float: left; background-color:green;">title</div> <div style="float: right; background-color:yellow;">toolbar</div> </div> <div style="clear: both; width: 200px; background-color: red;">content</div> </div> this renders glorious firefox chrome: however ie7 totally messes adult puts right floated component right page: can fixed?

unit exam tradition membership provider nunit throws zero anxiety error

trying emanate user comment test. nonetheless removing vigilant anxiety set an instanve an vigilant blunder controlling it. here's membership provider class, it's category library mycompany.myapp.domain.dll: using system; using system.collections.generic; using system.web.security; namespace mycompany.myapp.domain { open category mymembershipprovider : sqlmembershipprovider { const int defaultpasswordlength = 8; private int resetpasswordlength; open overrule vacant initialize(string name, system.collections.specialized.namevaluecollection config) { resetpasswordlength = defaultpasswordlength; twine resetpasswordlengthconfig = config["resetpasswordlength"]; (!string.isnullorempty(resetpasswordlengthconfig)) { config.remove("resetpasswordlength"); (!int.tryparse(resetpasswordlengthconfig, out resetpasswordlength)) { ...

importing delphi web services java

i have web server built delphi, i'm perplexing devour the web services java (i'm controlling obscure ide) formulating web use fan by obscure wizard. web services path-finder recognice wsdl file, nonetheless perplexing emanate client, sorceress says there's an "unexpected attribute" does emanate any file. this wsdl record (the delphi web server publishes). <?xml version="1.0" encoding="utf-8"?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/xmlschema" name="itsoapwebserviceservice" targetnamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"> <message name="webmethod0request"> <part name="document" type="xs:str...

initializing stationary objects - formula settlement question

in webapplication (c#, .net 3.5), finished adult core category library (containing business logic, information covering integrate concentration classes), windows use project, webservice digest website project, i have integrate stationary classes core library used projects. classes (for instance log class) need initialization (they have an initialize method) method set adult usage. an example, initialize slight log category office route parameter tells log , where save logfiles to. alternativly i pondering loading "settings" log category settlement record stationary constructor. obstacle is, i need opposite settings unit-testing following prolongation code. is there improved proceed settlement this? obstacle proceed is, consumers stationary category try initialize. unequivocally problem since once initialized, slight relapse immediately instead executing initialize formula again, nonetheless settlement seems bit uncanny me. i wish english sufficient explain i'm afte...

what's best proceed hoop landscape/portrait differences ib?

i have perspective supports landscape mural viewing, controls relocating around switch other. i'm now doing sourroundings .center any controls user rotates phone. problem tedious, requires lot code, seems improved purpose controlling interface builder initial place. my doubt is: there proceed interface builder perspective support churned looks (one landscape portrait)? ib? set adult 2 views? edit: only explain landscape mural views feeling different, i don't wish loyal transform, i indeed arrangement information differently landscape mode

ibm websphere outofmemoryexception

often, i found outofmemoryexception ibm websphere concentration server. i cruise difference start since concentration collect vast information database. so, i border query don't retreive information some-more 1000 annals set jvm follow + plain rubbish collection + border store distance = 1024 (ram server 16 gb i already change 8192) + debug arguments = -djava.compiler=none -xdebug -xnoagent -xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777 + general jvm arguments = -dsun.rmi.dgc.server.gcinterval=60000 -dsun.rmi.dgc.client.gcinterval=60000 -xdisableexplicitgc -dws.log=e:\webapp\log -dws.log.level=debug (ws.log ws.log.level properties) and i found heapdump , javacore snap files profiles folder i cruise tell me means problem nonetheless i don't know read/use heapdump, javacore snap files. please tell me prevent/avoid/fix outofmemoryexception. thanks

quick unwashed proceed review sql server performance

further before doubt , anyone advise discerning unwashed proceed benchmarking database opening new aged servers review them? obviously, repremand proceed guard the tangible use set adult sorts opening counters constraint queries, etc., nonetheless only during turn sophistication nonetheless isn't something we'll means hurry. meanwhile, i'm after something bit reduction accurate, nonetheless discerning still improved nothing. only enlarged it's misleading, worse nothing. should sql server specific, only "synthetic" benchmark. even improved the tangible database this.

how arrangement datetime an shortened zone?

i am wakeful category good uses method. i haven't means proceed modify datetime twine that, offer date info, contains three-letter section rupturing (in fact, many same proceed smoke-stack 's tooltips family arrangement works). to an instance easy everybody follow good consume, let's continue example. feeling during tooltip displays family times, displays full date, including seconds twelve-hour format, an am/pm designation, following three-letter section rupturing (in case, concurrent concept time). i comprehend i simply gmt utc controlling built-in methods, nonetheless i unequivocally wish locally — case, web server. if the web server controlling windows server 2k3 it's section set cst (or, until switches back, cdt it?), i'd the asp.net web app arrangement datetimes family section good formatted arrangement "cst" end. i comprehend i simply hard-code this, nonetheless seductiveness robustness, i'd unequivocally move fortitude formed server cont...

how i rect wrapped calm an iphone?

can anybody advise good slight last rect wrapped calm an iphone? i've attempted built-in methods nsstring 2.1 sdk avail. distance methods never relapse sizes grant me totally fit wrapped calm tradition view. i'm sketch user customizable calm should always large illusory within boundary tradition view. i establish rect indispensable totally hang wrapped calm given max extent arise size, i lift devaluate arise distance until calm only large adequate totally fill tradition perspective but being clipped. any assistance many appreciated!

ie8 loses cookies opening new window after redirect

i'm controlling internet path-finder 8 beta 2. client performs post server responds route client performs server responds route sets cookie client performs including cookie server provides response user selects "open new window" couple page client performs , without cookie! if step 7 user only clicks link, cookie is upheld correctly. there redirect, cookie upheld justly even user selects "open new window". is there proceed remonstrate ie8 pass cookie step 8? (edit: i trust bug ie8 beta 2, i've . workaround suggestions welcome.)

ruby networking problem windows

i am controlling windows xp flush 1.8.6 patchlevel 111. i am controlling http bond remote server controlling fine. remarkable started by difference listed next (i change any formula given final i ran successfully). does anybody know going on? c:/ruby/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution lapsed (timeout::e rror) c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout' c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout' c:/ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill' c:/ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' c:/ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline' c:/ruby/lib/ruby/1.8/net/http.rb:2029:in `read_status_line' c:/ruby/lib/ruby/1.8/net/http.rb:2018:in `read_new' c:/ruby/lib/ruby/1.8/net/http.rb:1059:in `request' ... 19 levels... c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' c:/ruby/lib/ruby/1.8/test/un...

good xmpp java libraries server side?

i anticipating exercise rudimentary xmpp server java. what i need library parse know xmpp requests client. i have looked during bruise (mentioned below) jso. bruise appears fan wholly while competence assistance parsing packets doesn't know respond clients. jso reliable looks unequivocally old. wholly aspiring opening lift removed openfire an whole blurb (oss) xmpp server. i only anticipating few lines formula tip netty mina, i started guess messages off wire. joe - well answer i am perplexing rather enlarged - i'll try keep short. there twin things, wholly loosely related: 1) i wanted an xmpp server since i suspect minute tradition custom twin clients communicate. fundamentally i am pondering networked iphone app - nonetheless i didn't wish rest low-level binary protocols since controlling something xmpp means app "grow up" unequivocally fast internal wifi formed app an internet formed one... the msgs exchanged should comparatively low latency, quite utterance...

which database advise c# (.net) application?

i'm building small digest plan i came indicate i need endorse internal databse component use. the quarrel information going stored webserver (hosting - mysql db). thought build slight download required information (for instance during midnight) slight them. however, there going inputs stages processing, i need kind internal database store semi-product application what internal database component advise work c# (.net) application? edit: final product (information) should simply being exported behind hosting mysql db. as mentioned answer - yes, i'm opening comfort use.

how check php array associative sequential?

php treats arrays associative, there aren't any built functions. anyone advise sincerely fit proceed check an array contains wholly numeric keys? basically, i wish means compute between this: $sequentialarray = array('apple', 'orange', 'tomato', 'carrot'); and this: $assocarray = array('fruit1' => 'apple', 'fruit2' => 'orange', 'veg1' => 'tomato', 'veg2' => 'carrot');

c# .net exe doesn't tie pc restarted, retaining accessory restarting

we have smartclient built c# stubornly stays open pc the controlling being restarted. halts restart slight unless user initial closes smartclient there authority intervention. this causing problems infrastructure organisation remotely installs new program requires accessory reboot. any ideas removing smartclient app praise shutdown/restart eventuality windows gracefully kill itself? update: this rarely threaded concentration churned gui threads. yes, churned gui threads. the unequivocally thoroughness digest themselves standalone applications - launched managed unparalleled exe centralizes those supervision methods keeps lane those threads. i don't trust controlling credentials threads an option.

can i bond sql server controlling windows authentication java ee webapp?

i am now questioning tie sql server database java ee web concentration controlling windows authentication instead sql server authentication. i am controlling app off tomcat 6.0, am utilizing microsoft jdbc driver. tie properties record looks follows: dbdriver = com.microsoft.sqlserver.jdbc.sqlserverdriver dbuser = user dbpass = password dbserver = localhost:1433;databasename=testdb dburl = jdbc:sqlserver://localhost:1433 i have 0 problems joining sql server database heed controlling sql server authentication. is there any proceed i collect certification user's windows authentication that authentication sql server? update : i know asp.net there proceed set adult windows authentication opening webapp, accurately i am looking for, solely i wish pass token off sql server opening database.

.net settlement course?

is there impetus assistance non oo programmers arise .net good way? i don't meant only syntax settlement category charge between category nonetheless classify fortitude projects (naming, put any one) slight some-more suitable opening information (dataobjects, remoting, orm) settlement forms databinding, validate, since vicious interfaces wish section exam after on. there things i study! nonetheless i wholly anxiety books, general xp flexible practices. i have lots unequivocally good books (head initial settlement patterns, conduct initial c#, art flexible development, formula complete, useful programmer array (subversion, section contrast interface programming), nonetheless don't contend organizing programs .net i found , nonetheless don't unequivocally broach strategy arise maintenable way, only arrangement me collection i use. i also follow unequivocally good blogs websites nonetheless i wholly pieces pieces. how learn arise mid-size applications? advise any good web ...

informix sql syntax - nest count, sum, round

let me apologize lay probity doubt (i listened jeff's podcast pleasantness peculiarity questions "dumbed down"), nonetheless i'm stuck. i'm controlling aquadata strike informix db. there quirky small nuances between ms sql informix sql. anyway, i'm perplexing rudimentary nested countenance hates me. select score, count(*) students, count(finished) finished, count(finished) / count(*)students -- round((count(finished) / count(*)students),2) from now_calc group score order score the line rudimentary multiplication countenance advantage commission finished, accurately i want...i only need outcome lifeless 2 places. commented line (--) does work. i've attempted each mutation i presumably cruise of. *i'm perplexing lines 5 & 6 during same time i'm sorry, i should have mentioned now_calc temp list domain names indeed "students " "finished". i named since i'm going removed law loyal comparison i wanted domain ...