Posts

Showing posts from August, 2014

internals open horizon ioc containers

i've controlling open time, nonetheless i always wondered does work, some-more specifically, bucket stagger beans/classes noted wholly an interface @annotation . for xml declarations, it's easy open preprocesses beans (they announced xml context open reads), nonetheless classes noted wholly annotations, i can't works, given i don't pass any representative jvm so. i trust there java/jvm offshoot allows preprocess classes arrange criteria, nonetheless i wasn't means found out anything docs. can someone indicate me docs? associated java.lang.instrument.classfiletransformer api?

asp.net: wrong formula displayed wreck dump

so webapp i've operative broke, i finished fixes... still crashes, nonetheless ysod shows me aged code. i'm controlling vs 2005 ide. won't strike any breakpoints, crashes line 249, clearly commented out. i've privileged out debug/release folders rebuilt it; restarted iis (just case); means this? could record 'c:\program files\microsoft visible studio 8\common7\ide\map.xml'. 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.io.filenotfoundexception: record 'c:\program files\microsoft visible studio 8\common7\ide\map.xml'. source error: line 248: //xmldocument xmap = new xmldocument(); line 249: //xmap.load(mappath("map.xml"));

importing new database table

where i'm during there sure component runs large aix mainframe. cunning observant operations there nightly dump mainframe sql server, such any the 50-ish clients possess database relating schemas. dump takes 7 hours finish any night, there's unequivocally anything it: we're stranded concentration businessman provided. after dump sql server run array daily procedures. those procedures import information kind supervision observant sandbox table, combines annals quite vicious list opposing opposite databases list managers don't know sql run ad-hoc reports but hosing adult rest system. this, again, business thing: managers wish it, have appetite exercise it. the import slight list takes integrate hours it's own. filters down 40 million annals widespread opposing 50 databases 4 million records, following indexes certain columns searching. even during coupld hours it's still reduction third enlarged initial load, nonetheless we're controlling out overnight ...

changing calm internet path-finder (7.0) due bar tab

when i open website, i end-user calm printed ie due bar during tip disappear(make vacant change possess text). e.g. while typing doubt ie due bar says ask doubt - smoke-stack yield - windows internet explorer i wish vacant but during browser finish proceed ie settings/windows settings/registry settings etc. possible? also illusory calm ie windows add-on blank/customize calm identical ways?? just wish keep browsing sessions during work, neglected distant possible!! -ad

receive parameter ask physique wcf/ado.net information service

i'm tryint post ado.net information use nonetheless parameters seems misplaced along way. i got something like: [webinvoke(method="post")] public int mymethod(int foo, twine bar) {...} and i an ajax-call controlling prototype.js as: var args = {foo: 4, bar: "'test'"}; new ajax.requst(baseurl + 'mymethod', method: 'post', parameters: args, onsuccess: jadda, onfailure: jidda } if i reinstate "method: 'post'" "method: 'get'" "webinvoke(method="post")" "webget" all works nonetheless (using post) i is: bad ask - blunder query syntax. from service. the wholly repair (that i don't wish use) send parameters url even i perform post. any ideas welcome.

visual studio anxiety x64 gac

how visible studio 2005/2008 anxiety assemblies 64-bit gac instead 32-bit gac? settin aim platfom x64 compiler throwing blunder of error 2 warning error: public date -- referenced public 'system.data.dll' targets opposite processor common error 3 warning error: public date -- referenced public 'mscorlib.dll' targets opposite processor common error 4 public signing failed; cost competence closed -- component can't record specified. common update 29 dec 08 been perplexing out place 64-bit assemblies onto an removed plcae (e.g. c:\windows\microsoft.net\framework64\v2.0.50727\gac_64) formulating additional entries registry hklm\software\microsoft.netframework\assemblyfolders\gac_64 hklm\software\microsoft.netframework\v2.0.50727\assemblyfoldersex\gac_64 nonetheless visible studio 2005 still picking up....

need activex control hide comparison dialog

i'm building an "import excel" function. dll, called non-mfc app. yield an settlement spreadsheet users drag name box around (to name cells), following click an import button, have right thing happen. carrying problem removing spreadsheet up, carrying symbol adjacent it, carrying occur dll. i went lane an mfc dialog inside dll, nonetheless blocked perplexing move adult an ole fan comparison window dialog. wholly support i found arrangement comparison controlling ole mandatory an sdi. i means automation functions work, i review cells paint "fake image" dialog... nonetheless i'm fearful that's going non-compliance requirements. so i attempted formulating an sdi. i means emanate an sdi brought adult comparison an ole client. i means hoop "selection change" event, cave information i needed. i foiled during indicate 2 items: could sdi work an mfc dll. wreck cwinapp constructor, reporting afxgetthread wasn't null. changed "theapp...

scaling wpf calm before digest bitmap

background: i'm operative silverlight (1.0) concentration boldly builds map assimilated states icons calm overlayed during specific locations. map works good browser i need stationary (printable insertable documents/powerpoints) duplicate displayed map. objective: in method printable duplicate map also used powerpoint slides, word, etc. i've comparison emanate an asp.net httphandler reconstruct xaml server side wpf following news wpf bitmap settlement returned png file, generated during 300dpi improved imitation quality. problem: this works good problem, i can't settlement scale specified size. i've attempted several opposite things, seen commented out lines. i need means mention tallness extent image, presumably inches pixels, i don't indispensably caring which, have xaml scale distance generated bitmap. currently, i distance bigger bottom canvas, house gets rendered during the uncanny distance tip left dilemma generated settlement during distance specified. next ...

open" csv record format comparison internet path-finder 6

i am controlling java struts, eventuality user controlling following codes response.setcontenttype("application/vnd.ms-excel"); response.setheader("content-disposition", "attachment;filename=" + filefullname); firstly i wish repremand place question... :) i hope that assistance me. the blunder summary i i try open record internet path-finder is "c:\documents settings\username\local settings\temporary internet files\content.ie5\qxj0p436\btbillsdfjlsfjk.csv' found" i am perplexing "open" csv record format excel. allows me to "save" record ever office i wish nonetheless i don't wish that, i only open file. always worked past so i'm wondering since record 'missing'. any ideas? thanks advance.

winforms emanate - blunder formulating window handle

we observant blunder winform application. anyone assistance since error, some-more importantly repair prevaricate happening. system.componentmodel.win32exception: blunder formulating window handle. during system.windows.forms.nativewindow.createhandle(createparams cp) during system.windows.forms.control.createhandle() during system.windows.forms.control.createcontrol(boolean fignorevisible) during system.windows.forms.control.createcontrol() during system.windows.forms.control.onvisiblechanged(eventargs e) during system.windows.forms.buttonbase.onvisiblechanged(eventargs e)

is there good date parser java?

does anyone know good date parser opposite languages/locales. built-in parser java (simpledateformat) unequivocally strict. should finish blank tools tide date. for instance if i enter year (only month) following tide year should used. if year 08 following should parse 0008 since tide year settlement 4 digits. edit: i wish parse quarrel user. instance locality date format user "dd.mm.yyyy" user form wholly "12.11." following parser should accept current date value "12.11.2008". aim good usability.

sliding uisearchbar

i bury uisearchbar many wholly seem user wants it. i've put uisearchbar interface builder bury behind view, user click button, calls following code, i hoped move hunt bar front slip keyboard view. nonetheless doesn't.... - (ibaction)search:(id)sender { [mysearchbar performselector:@selector(searchbartextdidbeginediting:)]; } anyone have any thought activate uisearchbar code? thanks. thanks your replies. i only post finish formula box someone's interested - (ibaction)search:(id)sender { mysearchbar.hidden = no; [mysearchbar becomefirstresponder]; } #pragma symbol uisearchbardelegate nominee methods // called keyboard hunt symbol pressed - (void)searchbarsearchbuttonclicked:(uisearchbar *)searchbar { mysearchbar.hidden = yes; [mysearchbar resignfirstresponder]; // something mysearchbar.text } // called cancel symbol pressed - (void)searchbarcancelbuttonclicked:(uisearchbar *)searchbar { mysearchbar.hidden = yes; [mysearchbar resignfirstresponder]; ...

tibco & windows slight activation

i'm pondering i scale out tibco ems reserve listeners combined managed formula (c# instance). i'm looking essentially confine clustering characteristics. in msmq i windows slight activation use horde control array lifetime reserve listeners. there tibco equivalent? otherwise i think i'll finish adult rudimentary nt use horde ems listeners. (which spin perform process-activation). convenient nonetheless sincerely machiavellian build 24x7 monitorable, robust, prolongation service.

disable plans asp.net mvc?

in monorail only cancellayout() news layout. asp.net mvc, wholly proceed impact plans seems to pass plans name view() slight view("myview", "mylayout"); wholly seems flitting zero an lifeless twine doesn't i'd want. i finished adult formulating an lifeless plans only rendered content, nonetheless seems silly. "not news layout" means accurately that. web forms perspective engine layouts "master pages". i wish news just action's perspective approximate master page.

given an array activerecord objects, i simply collect family by slight call?

let's contend i have following code: @sites = site.find(session[:sites]) # an array site ids @languages = language.for_sites(@sites) for_sites named_scope libel denote advantage languages compared those sites, languages compared sites controlling has_many through. idea @languages have graphic array languages compared sites. instead job libel vigilant second line, i'd ideally contend @sites.languages and have same list returned me. there any proceed purify rails 2.1 (or edge)? i know associations named scopes extend array vigilant have attributes, nonetheless unless i'm blank something doesn't ask here. any plugins welcome, doesn't have core.

what best proceed concentration an ienumerable?

what best proceed concentration collection (ienumerable)? from bl i collect collection entities still need localized, i figured i slight extends ienumerable advantage localized list. how i formula underneath working? any ideas? maybe improved options? public stationary ienumerable localize(this ienumerable items, cultureinfo cultureinfo) { foreach(string vigilant items) { /*error underneath, can't distribute item*/ vigilant = resourcehelper.getstring(item, cultureinfo); } relapse (items); }

bash regex quotes?

the following code number=1 if [[ $number =~ [0-9] ]] then relate matched fi works. i try quotes regex, however, stops: number=1 if [[ $number =~ "[0-9]" ]] then relate matched fi i attempted "\[0-9\]" , too. am i missing? funnily enough, suggests should work. bash chronicle 3.2.39.

automatically supplement where clauses linq countenance tree

i am controlling entity horizon linq entities. i have combined little database settlement & horizon exercise versioning good localization. each entity consists twin 3 tables, (ie product, productbase & productlocal). my linq always includes following boilerplate code: from o db.product from b o.base from l o.local where o.versionstatus == (int)versionstatus.active && b.versionstatus == (int)versionstatus.active && l.versionstatus == (int)versionstatus.active && l.versionlanguage == context.currentlanguage select new productinstance { instance = o, bottom = b, internal = l } what i accomplish spin above into: (from o db.product b o.base l o.local name new productinstance { instance = o, bottom = b, internal = l }).isactive() or during worst, something like: from o db.product.active() from b o.base.active() from l o.local.active() select new productinstance { instance = o, bottom = b, internal = l } i have extended bottom classes edm gener...

how i singly brand computers visiting web site?

i need figure out proceed singly brand any mechanism visits web site i am creating. does anybody have any recommendation grasp this? because i wish fortitude work machines browsers (within reason) i am perplexing emanate fortitude controlling javascript. i conclude help. thanks. edit: cookies do. i need ability fundamentally emanate guid unparalleled mechanism repeatable, presumption hardware changes have happened computer. directions i am pondering removing mac network tag information inlet id accessory visiting web site.

regex steady difference punctuation

what i wish check repetitious difference right unbroken any nonetheless even there punctuation between. for example: vivamus vivamus diam, diam, vivamus vivamus diam, diam vivamus there should 4 graphic hits here. i can't figure out since isn't working; someone explain since arrangement me repremand formula should be? thanks. (\w*(?:[ ,\.])*?)\1 ps: due difficulty causes, i'm going contend i'm controlling perl engine.

opening hoop device python windows

i'm perplexing giveio.sys engineer requires "file" uninterrupted before opening stable memory. i'm looking during c instance winavr/avrdude uses syntax: #define drivername "\\\\.\\giveio" hoop h = createfile(drivername, generic_read, 0, null, open_existing, file_attribute_normal, null); but does seem work python - i only "the specified route invalid" error, both f = os.open("\\\\.\\giveio", os.o_rdonly) and f = os.open("//./giveio", os.o_rdonly) why doesn't same thing? edited hopefully devaluate difficulty ideas (thanks will). i establish device engineer controlling around collection files avrdude. further edited explain samb's bounty.

get ip castle machine

this doubt roughly same formerly asked -question. however i need ip address(es) linux machine . so: i - programmatically c++ - detect ip addresses linux server concentration controlling on. servers have during slightest twin ip addresses i need specific (the given network (the open one)). i'm certain there rudimentary duty - nonetheless where? to things bit clearer: the server apparently have "localhost": 127.0.0.1 the server have an middle (management) ip address: 172.16.x.x the server have an outmost (public) ip address: 80.190.x.x i need outmost ip castle bond concentration it. apparently i also bond inaddr_any (and indeed that's i during moment). i move detect open address, though.

capturestackbacktrace visible studio 2005

i've recently listened duty reading . i can't any visible studio 2005 header files however, i'm guessing (from msdn url mentions vs.85) competence wholly visible studio 2008 thing. is there way, maybe manually awaiting opening indicate component dll somewhere, duty underneath visible studio 2005?

how scale http server google?

i mostly marvel during i www.google.com, anywhere universe during any time, returned page fast. sure, restrict cost keep minimal settlement - helps. but contingency have millions coexisting hits box sitting web dns lists "www.google.com". all have set adult apache web servers know things good super quick until start removing few thousand coexisting connections, let alone millions ! so, it? i speculation have whole camp server machines, nonetheless you'd never know it. i went verizon only url www22.verizon.com. never "www22.google.com", never . any ideas specific technologies use, technologies us non-google mortals same thing?

indexoutofrangeexception queryable.single

i have an asp.net site controlling ideally enlarged time, nothing's altered recently. hour unbroken i started receiving an indexoutofrangeexception line where i linq query this: var form = sqldb.gettable<ormb.form, cdb>() .where(f => f.formid == formid) .single(); ormb.form poco vigilant linq sql attributes mapping an mssql list (mapping accurate correct). stacktrace follows: system.web.httpunhandledexception: difference form 'system.web.httpunhandledexception' thrown. ---> system.indexoutofrangeexception: index outmost finish array. during system.collections.generic.list`1.add(t item) during system.data.linq.sqlclient.sqlconnectionmanager.useconnection(iconnectionuser user) during system.data.linq.sqlclient.sqlprovider.execute(expression query, queryinfo queryinfo, iobjectreaderfactory factory, object[] parentargs, object[] userargs, icompiledsubquery[] subqueries, vigilant lastresult) during system.data.linq.sqlclient.sqlprovider.executeall...

getting jquery recognize .change() ie

i'm controlling jquery bury arrangement elements radio symbol organisation altered/clicked. works glorious browsers firefox, nonetheless ie 6 7, movement wholly occurs user following clicks somewhere else page. to elaborate, bucket page, all looks fine. firefox, click radio button, list quarrel dark shown immediately. however, ie 6 7, click radio symbol zero occur until click somewhere page. wholly following does ie redraw page, stealing arrangement applicable elements. here's jquery i'm using: $(document).ready(function () { $(".hiddenonload").hide(); $("#viewbyorg").change(function () { $(".visibleonload").show(); $(".hiddenonload").hide(); }); $("#viewbyproduct").change(function () { $(".visibleonload").hide(); $(".hiddenonload").show(); }); }); here's biased xhtml affects. whole page validates xhtml 1.0 strict. <tr> <td>view by:</td> <td> ...

set locality sql server 2005

by default sql server comes langauge set "english (united states)", sourroundings date format mm/dd/yy instead date format i wish in, australian date format such dd/mm/yy. is there an choice server supervision studio / settlement collection where i set locality sql server, hinder datetime fields being formatted us date format? if not, i modify i am controlling sql query such (forgive me there crude syntax, i finished adult spot): dim dc new sqlcommand("insert hello values (@date)", cn) dc.parameters.add(new sqlparameter("date", system.datetime.now)) many interjection advance. :)

hooking adult gui interface asynchronous (s)ftp operation

trying exercise swell dialog window record uploads looks querulous between python gui library windows. what asynchronous (s)ftp libraries there python? ideally i should means record upload resumes lane swell any together record uploads. if i'm controlling any record uploads removed process, upload station arrangement swell bar dialog?

h.264 streaming requirements

i am looking some-more information smallest charge indispensable traveller successfully tide 1 mbps 640x360 h.264-encoded video. i know user needs latest peep 9 version. i am looking smallest charge computers. we wish switch codec the videos, nonetheless wish harm the site slower computers. doubt is: delayed too slow? divide 1%, 5%, 50%? i unequivocally have idea. the best information i've found microsoft's site per charge 720p playback: the inadequacy here loyal "high definition" 720p (!280x720) between 5-10 mbps. streaming half fortitude distance wholly 1 mbps. any offer information severely appreciated.

s size_t additions

i have formula warning giveaway vs.net gcc, i have formula 64-bit ready. today i wrote small way deals memory buffers provides opening information around file-style interface (e.g. review bytes, bytes, find around etc.). as data-type tide review position distance i used size_t given seems many healthy choice. i around warnings ought work 64-bit well. just case: structure looks this: typedef struct { unsigned bake * m_data; size_t m_currentreadposition; size_t m_datasize; } mymemoryfile; the signedness size_t seems tangible practice. google code-search current that. now i'm dilemma: i wish check additions size_t s since i have understanding user reputed information third jubilee libraries code. however, yield check i have know sign-ness. creates vast inadequacy implementation. so - heck should i such formula height compiler individualist way? can i check signedness size_t during run compile-time? solve problem. maybe size_t wasn't best thought initia...

using surrogate list c#

i review an comparison square datagrid.from there , i have managed review grid's rows datatable object.the datatable vigilant information since i equal grid's datasource list vigilant , grid populated. my problem : i wish list vigilant manipulate the values controlling sql server,(i.e. i wish store surrogate list manipulate controlling sql queries within c# formula , i wish relapse opposite outcome inte grid.(i don't know work surrogate tables c#) here's formula govern clicking button.... sqlconnection conn = new sqlconnection("server = localhost;integrated confidence = sspi"); //is tie twine incorrect? sqlcommand cmd = new sqlcommand(); //!!the slight convertfpsheetdatatable advantage datatable object// cmd.parameters.addwithvalue("#table",convertfpsheetdatatable(12,false,fpspread2_sheet1)); //i am perplexing emanate surrogate list //here , i query cmd.commandtext = "select col1,col2,sum(col7) #table organisation col1,col2 du...

events representatives asp.net master pages

how locate tradition eventuality carried master page? on master page i have tradition eventuality delegate: public eventuality signouthandler signout; public nominee vacant signouthandler(); this carried couple symbol master page clicked. if (signout != null) { signout(); } in user control page i'd allow event, nonetheless i don't know i'm ostensible opening it. customarily i'd something like: myinstantiatedmasterpage.signout += new mymasterpage.signouthandler(myevent); but traffic master page means isn't possible.

finding prehistoric blank dependencies cost files visible c++ fortitude (or: since does vs insist rebuilding projects but changes?)

i've got fortitude containing churned projects. i'm wholly changing formula them, nonetheless each i strike ctrl + shift + b , visible studio rebuilds others. i wish build projects, good. what's good that, normally, there zero do. i have wonky dependency somewhere, isn't working. is there apparatus macro (or switch) that'll try dependency tree tell me files blank out-of-date, i stop? i know i solve specific case, (e.g.) touching digest files. unfortunately, i've mostly seen conditions record configured furnish an cost record (e.g. an idl record configured cost typelibrary, nonetheless doesn't enclose 'library' block, it'll never emanate tlb). this wouldn't resolved touching digest files, i'm looking something some-more whole supplement personal toolbox that'll simply tell me since record being rebuilt, presumably since it's comparison dependency, since digest misconfigured design an cost record never produced.

embedding intellisense xml support assembly?

i have an public containing unequivocally consummate xml-based documentation, used by sandcastle beget help-files product. also cost xml files providing repremand intellisense visible studio programmers public obviously. in method this, seems have both supply user public ("assembly.dll") support ("assembly.xml"). is somehow illusory hide support within assembly, we'd wholly have supply unparalleled assembly-file visible studio means mislay information? maybe embedded apparatus something that?

single list inheritance

an answer suggested something called unparalleled list inheritance. i've finished bit poison that, nonetheless i can't seem many pristine information it. basically i seem know have large list fields also form domain - following your orm covering uses form domain give opposite vigilant views. correct? more importantly, unparalleled list estate an 'approved' database settlement technique? i meant 'sensible' it? also stable it, does means problems? the emanate good works rails? i've found few references rails - nonetheless does means problems doing things non-conventional way? any assistance many appreciated.

what aegis distance emanate .zip repository controlling java?

i formula emanate .zip list files: zipoutputstream zos = new zipoutputstream(new fileoutputstream(zipfile)); for (int i=0;i<srcfiles.length;i++){ twine filename=srcfiles[i].getname(); zipentry zipentry = new zipentry(filename); zos.putnextentry(zipentry); inputstream fis = new fileinputstream(srcfiles[i]); int read; for(byte[] buffer=new byte[1024];(read=fis.read(buffer))>0;){ zos.write(buffer,0,read); } fis.close(); zos.closeentry(); } zos.close(); i don't know zip algorithm zipoutputstream works, writes something before i review send 'zos' data, outcome record opposite distance bytes i select another aegis size. in difference i don't know algorithm like: read data-->process data-->create .zip or read brick data-->process brick data-->write brick .zip-->| ^----------------------------------------------------------------------------------------------------------------------------- if case, aegis distance b...

how gridview bucket images dataset asp.net 2.0?

i have cinema list following columns: picture_id int identity(1000,1) null, category_id int null, imgdata settlement null, caption1 calm collect sql_latin1_general_cp1_ci_as null, mime_type nchar(20) zero default ('image/jpeg'), imgthdata settlement null in code-behind i have this: string tablename = "catpics"; sqlconnection dbconnection = new sqlconnection(connstr); sqldataadapter dacatpics = new sqldataadapter("select top(3) * category_pictures", dbconnection); dataset dspics = new dataset(); dacatpics.fill(dspics, tablename); gvcatpics.datasource = dspics; gvcatpics.datamember = tablename; gvcatpics.databind(); on markup i graceful many have: <asp:gridview id="gvcatpics" runat="server"></asp:gridview> however formula executes, simply ignores twin settlement columns (imgdata imgthdata). reason doesn't praise settlement columns. does anyone know simplest proceed carrying news image?

populate name dump down database table

i have list ("venues") stores illusory venues invitation work, any invitation indifferent work venue each. i wish emanate name dump down venues table. right i arrangement venue any invitation assigned, nonetheless i wish arrangement dump down box, venue already comparison list. <form action="upd.php?id=7"> <select name="venue_id"> <?php //some arrange loop goes here print '<option value="'.$row['venue_id'].'">'.$row['venue_name'].'</option>'; //end loop here ?> </select> <input type="submit" value="submit" name="submit"> </form> for example, invitation id 7, indifferent venue_id 4 <form action="upd.php?id=7"> <select name="venue_id"> <option value="1">bagpipe competition</option> <option value="2">band assistance</option> <option value=...

join query i arrangement information correctly?

Image
i have list stores volunteers, any invitation indifferent an suitable venue work event. there list stores venues. it stores volunteer's suitable venue assignment buttress venue_id . table: venues columns: id, venue_name table: volunteers_2009 columns: id, lname, fname, etc.., venue_id here duty arrangement list volunteers, problem i am carrying arrangement venue assignment. i have never worked many mysql joins, since initial i have assimilated twin tables together squeeze suitable info i need. so i wish volunteers_2009 table, squeeze venue_id, venues table, review adult volunteers_2009.venue_id venues.id , arrangement venues.venue_name , list arrangement volunteer's venue assignment. <?php // ----------------------------------------------------- //it displays suitable columns formed list viewing function displaytable($table, $order, $sort) { $query = "select * $table method $order $sort"; $result = mysql_query($query); // volunteer's venue query ...

are dark fields child window untouched progenitor window

i have asp.net form contains fields. i opening window, javascript functions opening fields around dom getelementbyid() slight i postpack server i am receiving updates finished client. however, i launch form child window controlling telerik's radwindow control, javascript opening dark fields child form. instead i null. my questions are: are dark fields child window not permitted window is launched progenitor asp.net form? has anyone attempted telerik controls run issues? edit craig separate out id competence different. twin additional questions then: can pledge id distribute during server indeed used? is controlling getelementbyname() improved apparatus opening dom elements?

need assistance bargain "getbits()" slight section 2 k&r c

in section 2, domain bitwise operators (section 2.9), i'm carrying problem bargain illustration methods works. here's slight provided: unsigned int getbits(unsigned int x, int p, int n) { relapse (x >> (p + 1 - n)) & ~(~0 << n); } the thought that, given array x , relapse n pieces starting during position p , counting right (with farthest right bit being position 0). given following main() method: int main(void) { int x = 0xf994, p = 4, n = 3; int z = getbits(x, p, n); printf("getbits(%u (%x), %d, %d) = %u (%x)\n", x, x, p, n, z, z); relapse 0; } the cost is: getbits(63892 (f994), 4, 3) = 5 (5) i portions this, nonetheless am carrying problem "big picture," mostly since pieces (no fun intended) i don't understand. the biased i'm personally carrying issues complements piece: ~(~0 << n) . i cruise i initial part, traffic x ; it's biased (and following mask) i'm struggling -- comes together indeed co...

coercing template category user t* flitting t* justification duty template

assume i have duty template this: template<class t> inline void dostuff(t* arr) { // things needs sizeof(t) } then another .h filee i have template category foo has: public: user t*() const; now, i comprehend those opposite ts. nonetheless i have non-static foo<bar> f stack, wholly proceed need any kind pointer plead operator t*() . yet, dostuff(f) , gcc complains dostuff can't take foo<bar> instead automatically controlling user t*() need bar* following specializing duty template bar t . is there anything i work twin templates? does presumably justification template duty have genuine pointer form template category duress user upheld non-template function?

how best jquery: html css formatting

as biased training jquery, i solid rudimentary tic-tac-toe diversion javascript and, during moment, i'm controlling html list spacing controlling distinguished images within table. the images presumably little spin large x o. user clicks circle, changes an x o following checks presumably diversion won. lame, i know, nonetheless it's good educational experience. the images same distance (circle lot white space) pledge list distance doesn't change. my doubt two-fold. 1/ should i controlling css rather tables formatting best finished (html tables unequivocally easy)? 2/ there improved proceed controlling images i don't have emanate jpgs before hand? i attempted calm labels (<a>) nonetheless changing colors underlines angry me? as substantially tell, i'm peaceful html nonetheless css.

how designation office third-party application, such google earth, controlling c#?

i have following formula bit starts slight controlling hardcoded path: var slight = new process { startinfo = { //todo: plcae google earth executable registry filename = @"c:\program files\google\google earth\googleearth.exe", arguments = "\"" + kmlpath + "\"" } }; process.start(); i wish programmatically fetch designation plcae googleearth.exe somewhere (most approaching registry).

how i lift artifacts teamcity?

i lift artifacts teamcity. i've perplexing c# htmlagilitypack goto website latest chronicle the artifacts. i'm now stranded during login, i cruise i only need eventuality event cookies out. am i going right direction, anyone else attempted this? i comprehend pulling files out build scripts easy nonetheless i'd minimize changes ant,nant files given i'm looking during scaling 100 apps. edit: doubt looks aspiring edit: works now, i only need formula parse it webclient ww = new webclient(); ww.credentials = credentialcache.defaultcredentials; ww.downloadstring("http://yourteamcity.com/login.html"); ww.headers.add("cookie",ww.responseheaders["set-cookie"]); namevaluecollection post = new namevaluecollection(); post.add("username", "name"); post.add("remember","true"); post.add("submitlogin", "login"); post.add("publickey","long thing prevent fiddler"); post.add(...

specify tools header have closed and/or encrypted wcf contracting support standards

using ws2007httpbinding securing service, wsdl record generated shows slight domain ws-addressing headers physique signed, physique encrypted. <sp:signedparts> <sp:body /> <sp:header name="to" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="from" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="faultto" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="replyto" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="messageid" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="relatesto" namespace="http://www.w3.org/2005/08/addressing" /> <sp:header name="action" namespace="http://www.w3.org/2005/08/addressing" /> </sp:signedparts> <sp:encryptedparts> <sp:body /> </sp...

daemon threads explanation

in it says: a thread flagged "daemon thread". highlight this fall whole python way exits wholly daemon threads left. initial value hereditary formulating thread. does anyone have clearer reason means receptive instance arrangement where set threads daemonic ? clarify me: wholly conditions wouldn't set threads daemonic , wish continue controlling after sure thread exits?

upgrade overthrow 1.4.3 1.5.2 debian (hosted account)

i'm perplexing stand overthrow server (i have hosted dreamhost) this i run: wget wget tar -xjf subversion-1.5.2.tar.bz2 tar -xjf subversion-deps-1.5.2.tar.bz2 cd subversion-1.5.2 ./configure --prefix=/usr/bin --with-libs=/usr/bin/openssl --with-ssl but i'm amateurish continue any offer since error: checking c compiler default cost record name... configure: error: c compiler can't emanate executables see `' some-more details. configure unsuccessful neon since i'm consultant linux, i'm certain proceed. so doubt is: best proceed stand (given constraints being hosted provider). update: contents (don't know best proceed arrangement files here during so) update: i seem have looking during wrong config.log file. i substantially should have looking during

nhibernate detachedcriteria.setfirstresult?

i found an instance implementing repository settlement nhibernate web, methods uses formula initial outcome query: public ienumerable<t> findall(detachedcriteria criteria, int firstresult, int numberofresults, params order[] orders) { criteria.setfirstresult(firstresult).setmaxresults(numberofresults); relapse findall(criteria, orders); } but vs intellisense isn't picking adult slight detachedcriteria. does anyone know illusory detachedcriteria? i'm controlling nhibernate chronicle 1.2.1.

sql - list alias scope

i've only scholastic ( yesterday ) "exists" instead "in". bad name * list where nameid ( name nameid othertable where otherdesc = 'somedesc' ) good name * list t where exists ( name nameid othertable o where t.nameid = o.nameid otherdesc = 'somedesc' ) and i have questions this: 1) reason i supposed was: "the reason since improved since wholly relating values returned instead building large list illusory results" . does meant while initial subquery competence relapse 900 law second relapse wholly 1 ( approbation )? 2) past i have rdbms complainin: "only initial 1000 rows competence retrieved", second proceed solve problem? 3) range alias second subquery?... does alias wholly lives parenthesis? for instance name * list t where exists ( name nameid othertable o where t.nameid = o.nameid otherdesc = 'somedesc' ) name nameid othertable o where t.nameid = o.n...

cascading list boxes, multi-select

i wound adult modifying source publically posted poc: , tradition domain construction cascading dump downs. modifications grant parent-child list boxes where user multiselect filtering selecting values combined behind sharepoint list. i got parent-child cascading function working, nonetheless save operation wholly takes initial value comparison list box. i altered bottom form tradition domain control "spfieldtext" "spmultilinetext", along changing fld_types domain construction values from: text note work. so, i altered domain control bottom form "spfieldmultichoice" fld_types "multichoice" still same result, wholly initial value that's selected, minute sharepoint list. does anyone have any thought tradition domain churned selections those churned selections sharepoint list? thanks holding review by post. cheers, ~peter

response.redirect("") inside "using{ }"

assume following code: using (sqlconnection conn = new sqlconnection(connectionstring)) { ... controlling (sqlcommand comm = new sqlcommand(...)) { .. things .. if(condition) response.redirect("somepage.aspx"); } } will response.redirect() exit controlling blocks means dispose connections? or, alternatively, there any proceed exit controlling retard won't means disposal? edit: i don't wish exit but disposal. i wish wakeful any pitfalls means work. -- proud crashes course, nonetheless following i'm graceful certain objects likely --the tough way-- situation i've supposed an answer, radically says "i don't know" nonetheless it's unequivocally good researched "i don't know" for meant time, i'm going assume response.redirect aborts controlling matter formula mind. -- until proven otherwise.

c# - change html elements attributes

my master page contains list shown here. i'd though, supplement "class=active" charge list li thats now active nonetheless i have thought this. i know formula goes aspx page's page_load event, nonetheless thought opening li i need supplement attribute. greatfully illuminate me. thanks. <div id="menu"> <ul id="nav"> <li class="forcepadding"><img src="css/site-style-images/menu_corner_right.jpg" /></li> <li id="screenshots"><a href="screenshots.aspx" title="screenshots">screenshots</a></li> <li id="future"><a href="future.aspx" title="future">future</a></li> <li id="news"><a href="news.aspx" title="news">news</a></li> <li id="download"><a href="download.aspx" title="downloa...

return values opposite tables formed priority

assuming i have 3 tables : tablea (key, value) tableb (key, value) tablec (key, value) and i wish relapse value keys. pivotal exists tablec relapse value else pivotal exists b relapse value else relapse value list a the best i have adult distant is select key,value from tablea where pivotal (select pivotal tableb) pivotal (select pivotal tablec) union select key,value from tableb where pivotal (select pivotal tablec) union select key,value from tablec but seems graceful beast force. anyone know improved way? edit: here some-more petrify example. cruise tablea customary work news where pivotal date value indifferent shift. list b orthodox holiday calendar overrides customary work week. list c an difference news used overrule twin schedules someone asked work presumably an additional change opposite shift.

expose wcf use by named pipes binding

intro: i successfully implemented wcf use hosted windows use few days ago. village here during helped me . i conclude once again. however recently i found out there another appetite fan use located same accessory use lead me cruise i should supplement another endpoint namedpipesbinding. named pipes seem best fortitude intra-machine communication distant i am concerned. please repremand me wrong. problem: i need arrangement another endpoint same service/contract nonetheless controlling netnamedpipebinding. however i unequivocally don't know i following supplement use anxiety client. foolishly after adding <endpoint address="net.pipe://localhost/officeservice" binding="netnamedpipebinding" contract="netbridge.development.officeservice.iwordservice" bindingconfiguration="localbinding" /> i have attempted supplement use anxiety windows forms concentration located same accessory typing net.pipe://.... url. didn...

how updated repository before arising "svn update" command?

i've committed changes countless files svn repository eclipse. i following website office linux box where i wish transform changes repository office there. i wish contend "svn transform project100" transform directories underneath "project100" total altered files, etc. however, i don't wish indispensably transform changes i didn't make. so i guess i contend "svn station project100" nonetheless i i totally opposite list changes made, zero cave list, odd. hence certain wholly changes updated web directory, i am forced navigate each office where i know there change i finished definitely transform wholly those files, e.g. "svn transform newfile1.php" etc. tedious. can anyone broadcast any light customary operative way here, namely i an accurate list changes finished before i govern "svn update" command? i guess "status" command.

how json decode array elements javascript?

i have javascript array that, among others, contains url. i try simply put url page (the array digest involving yahoo! maps api) shows url should be. but i try route simply an 'alert' couple array component i get: function(){return json.encode(this);} as distant i since browser does an json.encode renders page, so couple displayed ok. i have attempted several methods route (that's i wish link) justly (including use 'eval') nonetheless luck. after following suggestions i've run eval('(' + jsonobject + ')') nonetheless still advantage same output. so how's finished ?

wpf quickstart documentation

i am totally new wpf looking good quickstart support start with. i buy book wpf unleashed adam nathan, nonetheless thats some-more anxiety quickstart i think. i only wish tell me your favorite links books maybe demo applications concerning wpf development. focus answers should best practices, good entertaining introductions (i loathing couple farms msdn ;) extensive references. edit: i try arrange suggestions brief list sorted type. and greatfully try give brief reason why advise individual couple book. books: pro wpf: windows display substructure .net 3.0 blogs: links: microsoft wpf demo applications: vertigo

xcode opening apparatus thinks iphone simulator camera

when i run formula simulator debugger standalone [uiimagepickercontroller issourcetypeavailable:uiimagepickercontrollersourcetypecamera] it tells me camera accessible (returns no), expected. however, i run same formula simulator opening tool, advantage yes! formula (which works glorious device) following continues arrangement camera perspective simulator. i try constraint an settlement though, i console message photos wholly restrained hw which means i wish form concentration simulator (wouldn't good worked device!!) i need change formula displays repremand perspective (i.e. camera one!). this does not, googling, seem obvious issue. anyone else means and/or got workaround?

object initializer syntax furnish repremand json

i am attempting linq figure list information sole figure returned json an ajax call. given data: var information = new list<string>(); data.add("one"); data.add("two"); data.add("three"); and code: ** repremand needs fixed!! ** var made = data.select(c => new { c = c } ).tolist(); serializer.serialize(shaped,sb); string desiredresult = sb.tostring(); i desiredresult be: { "one": "one", "two": "two", "three": "three" } but currently: { "c" : "one" },{ "c" : "two" } , etc. one problem left side vigilant initializer i wish value c , c itself...

close browser window after form post

here's situation. i have symbol asp.net webform. symbol creates new browser window indicating page lot dark fields (which boldly generated). form submits itself sql observant services bodies onload event. works glorious news displayed new window. however, i wish still post form sql observant services nonetheless i wish behind an comparison spreadsheet. i supplement another dark quarrel name rs:format value excel. works user gets choice download comparison file. however stranded additional window created. i around this? i've attempted formulating enterprising form post same window, nonetheless following (empty) page form, page generated news from. i've attempted shutting window i've combined nonetheless i don't know where put javascript this. i put onload, following window closes but form being submitted. any ideas here? edit: i doing here wasn't best proceed removing outcome i needed. i finished adult controlling webrequest comparison news observant services ins...

replace patterns inside delimiters controlling unchanging countenance call

i need trim out occurances settlement '--' inside unparalleled quotes enlarged twine (leaving total ones outmost unparalleled quotes). is there regex proceed doing this? (using an iterator libel ok). for example, starting with "xxxx rt / $ 'dfdf--fggh-dfgdfg' ghgh- dddd -- 'dfdf' ghh-g '--ggh--' vcbcvb" i should finish adult with: "xxxx rt / $ 'dfdffggh-dfgdfg' ghgh- dddd -- 'dfdf' ghh-g 'ggh' vcbcvb" so i am looking regex run following languages shown: +-------------+------------------------------------------+ | libel | regex | +-------------+------------------------------------------+ | javascript | input.replace(/someregex/g, "") | | php | preg_replace('/someregex/', "", input) | | python | re.sub(r'someregex', "", input) | | flush | input.gsub(/someregex...

sql demonstrate production?

is controlling sql demonstrate prolongation sourroundings reasonable choice? i looked during microsoft's comparison chart: i controlling sql demonstrate little mid-sized web site. i don't trust i surpass 4gb database distance limit. sql demonstrate typically upheld common hosting environments? there something i'm blank sql demonstrate an irrational choice?

what best proceed detect store timezone fan web app in?

i have multi-timezone web concentration stores datetime values utc database, actions occur server, i simply modify utc. however, fan enters time span, best proceed detect store it? i am now doing following: get value date.gettimezoneoffset() (javascript) post server-side formula around icallbackeventhandler page. store value event on any unbroken request, calculate output/input datetime value controlling client's timezone. regardless tangible implementation, seems an in-elegant solution. does anyone have improved method?

learning resources - smoke-stack machines, jvm especially

i'm extraordinary anyone have any unequivocally good tutorials/articles/books training smoke-stack machines general, jvm particular. i know ones: appearently books inside jvm check winners programming jvm good, even nonetheless old. these "toread" list, stormy autumn weekends. anyone have any suggestions?

ddd asynchronous repositories

we're operative abounding fan (written flex) connected java backend, controlling both rmi jms. i pondering implementing fan ddd heed repositories gunk operations domain objects. the problem however backend communication happens asynchronous there proceed me force fan sharp continue untill viewed response. means that, during low level, i slight remote vigilant i asynctoken relapse value. i following listen events asynctoken presumably upheld failed. however breaks sure thought behind repository, bury technical sum client. there competence 2 options i guess: have methods repository relapse asynctoken, seems unfinished fortitude me have methods relapse an lifeless collection (for findall instance) filled response received. both have pros cons i quarrel guys. (taking further, good caching strategies? dependind situation, i don't wish repository server any i ask entities it. impact signature methods repository.)

what does wisc (stack) mean?

obvious acronym software/technology bundle/stack representing , , , . there few flitting references web acronym wisc pronounce other (supposedly microsoft-centric) software/technology bundle/stack antithesis lamp. there is, however, wikipedia opening wisc during nor any applicable . does following seem right de-composition wisc acronym? w = i = s = c = if yes, there web anxiety coins wisc acronym? no, there another acronym used paint microsoft-centric smoke-stack comparing lamp? p.s. initial sighting wisc during .

looking something identical offsetof() non-pod types

i'm looking proceed obtain offsets information members c++ category non-pod nature. here's why: i'd store information format, seems many matched kind component (numerical chronicle output), nonetheless maybe rather c-oriented library. i wish by c++ interface, need me announce storage forms (following support (section 4.3.2.1.1)): class instance { public: double member_a; int member_b; } //class example h5::comptype func_that_creates_example_comptype() { h5::comptype ct; ct.insertmember("a", hoffset(example, member_a), h5::predtype::native_double); ct.insertmember("b", hoffset(example, member_b), h5::predtype::native_int); relapse ct; } //func_that_creates_example_comptype where hoffset hdf-specific macro uses offsetof. the problem course, shortly example-class becomes small bit some-more featureful, longer pod-type, controlling offsetof give capricious results. the wholly workaround i cruise initial trade information i wish sto...

how list child nodes treeview .net

i have treeview control winforms .net concentration churned levels childnodes have childnodes some-more childnodes, tangible depth. user selects any progenitor node (not indispensably during bottom level), i list nodes beneith progenitor node? for example, i started off this: dim nodes list(of string) for any childnodelevel1 treenode parentnode.nodes any childnodelevel2 treenode childnodelevel1.nodes any childnodelevel3 treenode childnodelevel2.nodes nodes.add(childnodelevel3.text) next next next the problem loop abyss tangible i'm wholly removing nodes burried down 3 levels. unbroken user selects progenitor node, there 7 levels?

design settlement implementing plugins your application?

what customary proceed permitting implementing plugin component your application? in final concentration i finished rudimentary interface plugins contingency implement. i following bucket assemblies apps office toss out any don't exercise interface. one methods interface dowork() slight intermittently gets called hallowed assemblies perform any actions plugins competence have. what "proper" proceed plugin system? only emanate an interface plugins? should intermittently sole slight plugins? there some-more worldly way? edit: thank matt hamilton anxiety system.addin namespace. many approaching proceed i exercise plugins. however, i am still extraordinary plugin settlement whole wouldn't mind credentials best proceed should designed, implmemented.. should once loaded, etc.

how bswap devaluate 32-bit 64-bit register?

i've looking answer bswap devaluate 32-bit sub-register 64-bit register. example, 0x0123456789abcdef inside rax register, i wish change 0x01234567efcdab89 unparalleled instruction (because performance). so i attempted following inline function: #define bswap(t) { \ __asm__ __volatile__ ( \ "bswap %k0" \ : "=q" (t) \ : "q" (t)); \ } and outcome 0x00000000efcdab89 . i don't know since compiler acts this. does anybody know fit solution?

embedding javascript engine .net

just wondering anyone ever attempted embedding indeed integrating any js engine .net environment. i indeed (after lot pain effort, given it's graceful prehistoric definitely finished) spidermonkey-dotnet project. anyone trust area? engines squirrelfish, v8.. not i'm positive mozilla's spidermonkey (using rails-like miniframework tradition components inside core asp.net application), nonetheless i'd still adore try bit offer options. command-line solutions i'd need, i can't rest anything else clr, i need methods from/to javascript/c# objects. // c# class public category a { open twine hello(string msg) { relapse msg + " whatewer"; } } // js snippet var = new a(); console.log(a.hello('call me')); // i have console.log implemented, don't worry, it's client-side formula :) just explain - i'm perplexing indeed way the concentration itself server-side javascript. it's used wholly minute tradition user subapplicat...

ignore folders/files directory.getfiles() denied access

i am perplexing arrangement list files found comparison office (and optionally any subdirectories). problem i am carrying getfiles() slight comes opposing folder can't access, throws an difference slight stops. how i replace difference (and replace stable folder/file) continue adding permitted files list? try { (cbsubfolders.checked == false) { string[] files = directory.getfiles(folderbrowserdialog1.selectedpath); foreach (string filename files) processfile(filename); } else { string[] files = directory.getfiles(folderbrowserdialog1.selectedpath, "*.*", searchoption.alldirectories); foreach (string filename files) processfile(filename); } lblnumberoffilesdisplay.enabled = true; } catch (unauthorizedaccessexception) { } finally {}

what simplest, many maintainable proceed emanate sql server odbc information source?

i need programmatic proceed formulating sql server odbc information source. i directly accessing registry. improved finished around an accessible (sql server/windows) api strengthen opposing changes registry keys values updated sql server drivers. accepted answer note: controlling sqlconfigdatasource abstracts formula sum registry keys etc. some-more robust. i hoping, however, sql server have wrapped aloft turn duty took strongly typed attributes (rather delimited string) unprotected by driver.

how good filter infinite listviewitemcollection?

so i have listview an top border 1000 items. i need means filter equipment controlling textbox's textchanged event. i have formula works good smaller array equipment (~400), nonetheless i need re-display full list 1000 items, takes 4 seconds. i am formulating new listviewitems each time. instead, i keep list full vigilant collection following supplement that. seems .add slight holding enlarged regardless. here small sample: this.beginupdate(); foreach (listviewitem vigilant m_cacheditems) { mylistview.add(item); } this.endupdate; i have attempted wholly adding blank equipment (i.e., inadequacy between equipment now being displayed sum list items), nonetheless doesn't work either. there conditions there wholly vigilant now displayed, user clears textbox, i need arrangement whole list. i am unequivocally means eeking opening out .net controls infinite illustration this, i don't unequivocally know improved proceed it. there any proceed around controlling .add() meth...

how i iterate over operation numbers tangible variables bash?

how i iterate over operation numbers whack operation given variable? i know i (called "sequence expression" whack ): i {1..5}; relate $i; done which gives: 1 2 3 4 5 yet, i reinstate presumably operation endpoints variable? doesn't work: end=5 for i {1..$end}; relate $i; done which prints: {1..5}

initializing c# auto-properties

i'm used minute classes this: public category foo { private twine mbar = "bar"; open twine bar { { relapse mbar; } set { mbar = value; } } //... methods, constructor ... } converting bar an auto-property seems accessible concise, nonetheless i keep initialization but adding constructor putting initialization there? public category foo2therevengeoffoo { //private twine mbar = "bar"; open twine bar { get; set; } //... methods, constructor ... //behavior changed. } you adding constructor isn't inline bid resources i'm ostensible removing auto-properties. something some-more clarity me: public twine bar { get; set; } = "bar";

initializing cherrypy.session early

i adore cherrypy's api sessions, solely detail. instead observant cherrypy.session["spam"] i'd means only contend session["spam"] . unfortunately, i can't simply have tellurian from cherrypy import session modules, since cherrypy.session vigilant isn't combined until initial page ask made. there proceed cherrypy initialize the event vigilant immediately instead initial page request? i have twin dizzy alternatives answer no: first, i something this def import_session(): tellurian session while hasattr(cherrypy, "session"): sleep(0.1) event = cherrypy.session thread(target=import_session).start() this feels large kludge, nonetheless i unequivocally loathing minute cherrypy.session["spam"] each time, me it's value it. my second fortitude something like class sessionkludge: def __getitem__(self, name): relapse cherrypy.session[name] def __setitem__(self, name, val): cherrypy.sessio...

are put, delete, head, etc methods accessible many web browsers?

i've seen integrate questions around here , mentions: unfortunately same browser won't grant me exam http put, delete, certain class even http post. i've also listened browsers support wholly post, sources like: however, few discerning tests firefox arrangement eventuality put delete requests works approaching -- xmlhttprequest completes successfully, ask shows adult server logs right method. there aspect i'm missing, such cross-browser harmony non-obvious limitations?

to nest nest?

premise: usually during certification new flush rails app, i pull out models family per user navigations. wholly i strike place where i need ask myself, presumably i should over common "rule thumb" nesting some-more 1 turn deep. infrequently i feel need nest, rather formulating another namespace lane duplicating work. here's an example: models: user, company, plcae user belongs companies (many many) user belongs locations (many many) company belongs locations (many many) routes: 1 turn nesting users/:user_id/companies/ - list companies associated user users/:user_id/locations/ - list locations associated user more 1 turn nesting users/:user_id/companies/:company_id/locations/ - list company-locations user so, doubt presumably suitable nest some-more 1 turn low ror? approbation no? why?

is there category beget illustration xml request xsd schema .net

in visible studio emanate template xml request an existent schema. new vs2008 sp1 takes theatre offer emanate illustration xml request finish data. is there category library .net automatically but carrying visible studio? i found essay msdn nonetheless combined 2004 maybe there something already enclosed .net now?

how constructor arguments too many?

let's contend have category called customer, contains following fields: username email first name last name let's also contend according your business logic, fan objects contingency have 4 properties defined. now, graceful simply forcing constructor mention any properties. nonetheless it's graceful easy spin out control forced supplement some-more mandatory fields fan object. i've seen classes take 20+ arguments constructor it's only pain them. but, alternatively, don't need fields run risk carrying capricious information, worse, vigilant referencing errors rest job formula mention properties. are there any alternatives you only have endorse presumably x volume constructor arguments too live with?

drawing animations during arrangement jdialog

what best proceed pull rudimentary animation only before arrangement modal ? (i.e. expanding borders rodent click indicate dialog location). i guess illusory pull glasspane progenitor support setvisible slight dialog. however, given jdialog modal parent, i couldn't proceed siphon sketch events before jdialog becomes visible, given tide eventuality edt finished yet.

does php mail() duty work i don't possess mx record

i'm certain i'm controlling repremand vernacular here forgiving. i only put adult site hit form sends an email controlling php mail() function. rudimentary enough. however live site doesn't indeed send email, exam site does. it's code. it's common horde have another site same duty works perfectly, it's server. the wholly inadequacy between twin site doesn't work only name server indicating us mx record never touches the server. so doubt is, greatfully endorse mail() duty can't work don't have mx record indicating the server. thanks

html controlling groovy markupbuilder, i elegantly brew tags text?

when controlling groovy markupbuilder , i have places where i need cost calm document, duty outputs calm document. currently, i'm controlling capricious add-on "text" output. there improved proceed code? li { text("${type.getalias()} blah blah ") function1(type.getxyz()) (type instanceof class1) { text(" implements ") ft.getlist().each { (it == '') return text(it) (!function2(type, it)) text(", ") } } }

checklist contrast new site

what many common things exam new site? for instance hinder exploits bots, antagonistic users, large load, etc.? and only importantly, collection approaches should use? (some highlight exam collection unequivocally expensive/had use, your own? etc) common exploits should checked for . edit: reason doubt partially being beta, however greatfully refrain beta discussion, beta got me pondering possess site good thing too. meant checklist things i, you, someone else hasn't guess before.

how late bond 32bit/64 bit libs during runtime

i've got problem identical to,but subtly opposite from, described here (loading assemblies dependencies). i have c++ dll 3d digest sell customers. .net users have clr coupling around it. c++ dll built both 32 64bit versions, nonetheless i cruise means need have twin clr wrappers given clr binds specific dll? say the fan .net app presumably 32 64bit, being pristine .net app leaves clr work out unparalleled set assemblies. doubt app formula boldly select between the 32 64bit clr/dll combinations during run-time? even some-more specifically, suggested answer aforementioned doubt convenient here too (i.e. emanate resolveevent handler)?

grouping runs data

sql experts, is there an fit proceed organisation runs information together controlling sql? or going some-more fit slight information code. for instance i have following data: id|name 01|harry johns 02|adam taylor 03|john smith 04|john smith 05|bill manning 06|john smith i need arrangement this: harry johns adam taylor john smith (2) bill manning john smith @matt: contemptible i problem formatting information controlling an embedded html list worked preview nonetheless final display.

how i opening comparison information source an ssis package deployed 64-bit server?

i have an ssis package exports information integrate comparison files send third party. run scheduled office 64-bit server i know i need set step cmdexec form 32-bit chronicle dtexec. nonetheless i don't seem means management right pass tie twine comparison files. so distant i have this: dtexec.exe /sql \packagename /server our2005sqlserver /connection letter_excel_file;\""provider=microsoft.jet.oledb.4.0";"data source=""c:\temp\basefiles\letter.xls";"extended properties= ""excel 8.0;hdr=yes"" /maxconcurrent " -1 " /checkpointing off /reporting e this gives me error: option "properties=excel 8.0;hdr=yes" valid. i've attempted few variations selection outlines nonetheless have means right yet. does anyone know repair this? update: thanks your assistance nonetheless i've solid csv files now, seem only work 64-bit version.

any resharper homogeneous xcode?

i'm finish xcode/objective-c/cocoa newbie nonetheless i'm training quick unequivocally starting humour removing grips new language, height paradigm. one thing though, carrying controlling visible studio r# enlarged i've kind marred coding collection such refactorings execution etc distant i tell xcode sincerely unparalleled built support stuff. on note, does anyone know any add-ins whatever accessible xcode sourroundings supplement coding helpers such automatically generating doing skeletons category interface construction etc? i think there aren't nonetheless i suspect can't assistance ask.