Posts

Showing posts from June, 2010

postback operative asp.net routing (validation viewstate mac failed)

i'm controlling asp.net 3.5 sp1 system.web.routing model webforms, described all works fine , i have tradition seo urls even postback works. but there box where postback always fails i a: validation viewstate mac failed. concentration hosted web camp cluster, pledge settlement specifies same validationkey validation algorithm. autogenerate can't used cluster. here unfolding imitate error: create customary webform mypage.aspx button create lane maps "a/b/{id}" "~/mypage.aspx" when govern site, navigate page works. nonetheless press symbol error. blunder doen't occur lane only "a/{id}". it seems associated array sub-paths url. there during slightest 2 sub-paths viewstate validation fails. you blunder even enableviewstatemac="false". any ideas? bug? thanks

programatic accent discount javascript (aka calm normalization unaccenting)

i need review 2 strings equal such these: lubeck == lbeck in javascript. why? well, i have an auto-completion domain that's going out java use controlling lucene, where place names stored naturally (as lbeck), nonetheless also indexed normalized text, import sun.text.normalizer; odoc.setnamelc = normalizer.normalize(olocname, normalizer.decomp, 0) .tolowercase().replaceall("[^\\p{ascii}]",""); this proceed some-one doesn't know form "mxico" form "mexico" review advantage "mxico" (among lot illusory hits, "caf mxico, dubai, uae"). now thing i don't have ability change use any highlighting server side, therefore i am highlighting fan javascript side something like: return result.replace( input.replace(/[aeiou]/g,"."), "<b>$1</b>"); it's small some-more imagination since i am evading special regex characters input. glorious rudimentary matches during commencement hit, nonethel...

encoding problem httpwebresponse

here dash formula : httpwebrequest webrequest = (httpwebrequest)webrequest.create(request.rawurl); webrequest.defaultwebproxy = null;//ensure loop going again proxy httpwebresponse response = (httpwebresponse)webrequest.getresponse(); string charset = response.characterset; encoding encoding; if (string.isnullorempty(charset)) encoding = encoding.default; else encoding = encoding.getencoding(charset); streamreader resstream = new streamreader(response.getresponsestream(), encoding); return resstream.readtoend(); the problem i exam : all "" displaying well. i have try change ascii utf8 still arrangement wrong. i have tested html record browser browser arrangement html calm good i am graceful certain problem slight i download html file. what should i change? removed passed imageshack link update 1: formula exam record changed

setting adult smtp underneath iis 7 windows server 2008

website started life creatively underneath iis 6 site worked good there. after relocating new server controlling w2k8s, all nonetheless mail twine website works good underneath iis 7. researched fast web anybody good resolution, nonetheless avail... even hint wish microsoft's possess support site. here stairs taken distant new w2k8s box: added underline smtp underneath server manager enabled smtp e-mail site itself iis 7 manager broach e-mail smtp server internal host, unsuccessful enabled smtp e-mail bottom site iis 7 manager (not certain needs assent sites) broach e-mail smtp server internal host, unsuccessful after unwell those simple setups, i wanted certain i indeed pronounce from/to serveron pier 25. i successfully telnet from/to server doubt exam e-mail pier 25 helo, etc. i trust firewall config issue. the iis 7 setup exam achieved both opposite windows authentication - fitness presumably way. manually checked web config record reflects repremand opening server localhost. re...

linq sql concurrency dispute - looks purify insert repremand quarrel versioning

i am perplexing linq sql insist changes an trustworthy vigilant wherein funding list datetime buttress i think should duty quarrel versioning, described . the list looks this: create list [dbo].[client]( [client_id] [int] identity(1,1) null, [client_address1] varchar(100) null, /* clip */ [modified_date] datetime null, constraint [pk_client] primary pivotal clustered ([client_id] asc) ) the applicable attributes modified_date ability set dbml designer: auto generated value: true auto-sync: always nullable: false primary key: false read only: false server information type: datetime source: modified_date time stamp: true update check: never and indirect attributes chapter modified_date ability feeling right distant i tell: [column(storage="_modified_date", autosync=autosync.always, dbtype="datetime", isdbgenerated=true, isversion=true, updatecheck=updatecheck.never)] the slight attempting save changes fan goes something this: var c = new fan { client_id = idofclientt...

where support underline vb.net?

no i'm being correct man ... for those fitting adequate know class: it's something added vb 2005 (and doesn't exist c#) best described 'speeddial .net framework'. supposed life easier newbies won't review horizon classes should using dim essence string contents = my.computer.filesystem.readalltext("c:\mytextfile.txt") instead this: dim essence string contents = io.file.readalltext("c:\mytextfile.txt") my question: where msdn support page speeddial symbol maps what.. ? by selecting name underline - they've only finished poison whole lot some-more fun needs be. i need formula c# can't bear fun translating training/how-to business prog videos exclusively understanding vb. more dans juval lowy ported c# an hindrance solution. don't ask me why...

what accurate manners structure fixing iphone os?

i'm controlling objective-c nsmethodsignature / @encode comforts cross-language information form translation, means i need means programmatically duplicate values structure described @encode() format. e.g., i competence have 4 floats need insert cgrect, structure containing 2 structures, any contains 2 floats each. @encode terminology, form this: {cgrect={cgpoint=ff}{cgsize=ff}} to i need means speculation structure plans meaningful wholly information forms obsolete structure members -- box 4 floats. it appears historically there have twin opposite conventions arm struct alignment. align members struct range distance infer largest member. align members range distance suitable any member's information type. which used os x / iphone os, both arm x86 / x86_64?

formula formed pricing. storage rdbms concentration layer

i'm enter 1st phases conceptualizing line trade application. a vital duty concentration constraint research pricing information. pricing marketplace fixed. wholly marketplace benchmark +/- premium. example: (a b marketplace benchmarks) price = + $1 price = + .5(a-b) the final cost understanding distributed controlling pricing law receptive over an resolved time. example; final cost competence normal + $1 over week before week unbroken loading commodity. at donation traders capturing fact comparison allows conformity setup formulas required, nonetheless information never creates the accounting systems spreadsheets connected live predictions marketplace benchmarks origination cost forecasting authority delayed task. i'm looking quarrel collection / techniques i enter, store weigh formulas an application. we controlling sql server seer database fan height bound yet, nonetheless assume winforms/wpf, asp.net java webapp. i know graceful extended question, nonetheless we're dista...

class accumulate tests/console nonetheless asp.net application

i have rudimentary interface: public interface ivisitorslogcontroller { list<visitorslog> getvisitorslog(); int getuniquesubscriberscount(); int getvisitorscount(); twine getvisitorssummary(); } the category visitorslogcontroller implements interface. from console concentration testfixture - problem - console/test tie accumulate perfectly. however, an asp.net web site (not application) same fortitude formula code behind private ivisitorslogcontroller ctl; protected int getuniquememberscount() { ctl = new visitorslogcontroller(); relapse ctl.getuniquesubscriberscount(); } the compiler throws exception: error 1 'websitebusinessrules.interfaces.ivisitorslogcontroller' does enclose construction for 'getuniquesubscriberscount' no progression method 'getuniquesubscriberscount' accepting initial justification type 'websitebusinessrules.interfaces.ivisitorslogcontroller' found (are blank a controlling gau...

hibernate: check vigilant exists

suppose, objects form a stored db. here's proceed i bucket specific db controlling hibernate: org.hibernate.session event = ...; long id = 1; a obj = session.load(a.class, id); if vigilant id=1 doesn't exist i objectnotfoundexception . nonetheless there proceed check such vigilant exists but carrying locate exception? i have smth like: org.hibernate.session event = ...; long id = 1; boolean exists = session.exists(a.class, id); if(exists){ // smth..... } couldn't hibernate docs...

how programmatically emanate an ssis package?

i am perplexing programmatically emanate an ssis package containing rudimentary information upsurge list table b same database. i am controlling instance given . the package gets combined saved dtsx file, nonetheless i open visible studio i source finish tables have selected. i also wish insert mutation assign between before reaches destination. edit well i have managed source finish tables comparison assign even ran successfully. turns out i indispensable (a) oledb tie any source finish [i don't way; i wish tie only] (b) set accessmode 3 finish setcomponentproperty("accessmode", 3) equates list perspective - quick load. is there support somewhere. i setcomponentproperty does, parameters take that. eg. else i put there besides "accessmode"?, does second parameter 3 2 1 mountain for? still perplexing map monikers. stock:pipelinetask means dataflow task. moniker say... duplicate column?

how i programmatically opening aim route windows mystic link?

windows 6 (vista server 2008) support repremand mystic links, combined around function. nonetheless there doesn't seem analogous duty interrogating mystic couple obtain route link's target. i have found out mystic links an doing reparse points, reparse indicate functions used obtain aim path. nonetheless header files i need reparse points seem . sourroundings adult container vs2008 appears non excusable task. is there good rudimentary duty i've missed receiving link's target, i unequivocally have set adult windows engineer growth sourroundings only formula opening information? edit: adam mitz came adult idea getfinalpathnamebyhandle. duty works only good internal symlinks, nonetheless doesn't seem work solution remote links (via unc path). edit 2: during adam's request, here some-more sum i've tried: i primarily went down fsctl_get_reparse_point / deviceiocontrol route, nonetheless yields reparse_data_buffer structure. headers interpretation structure see...

creating new pdf request controlling acroexch vbscript

i am looking automate reworking an comparison square pdf request (i wish manually imitation news generated comparison pdf request each morning). now, i emanate symbol comparison run macro automatically beget pdf document, nonetheless symbol eventually used. im also new vb, nonetheless have review adult acroexch sdk. seems i should controlling acroexch.pddoc.create, nonetheless definitely right (because i can't mention an quarrel record printed/created new pdf document). any ideas i emanate formula new pdf file? interjection advance.

requiredfieldvalidator - absolved default red arise color

i can't seems change default tone mandatory domain validator. source is: <span class="required">*</span> <asp:requiredfieldvalidator id="valreq_txttracks" runat="server" controltovalidate="txttracks" display="dynamic" /> here's i have .skin file: <asp:requiredfieldvalidator runat="server" cssclass="error-text" errormessage="required" /> in rendered source i see: <span class="required">*</span> <span id="ctl00_ctl00_cphcontent_cphcontent_valreq_txttracks" class="error-text" style="color:red;display:none;">required</span> notice "style=color:red;". needs go. i can't overrule css-class since it's inline css. should i do?

how hoop blob numerical information good database communication?

sql databases seem cornerstone many software. however, seems optimized textual data. fact doing any queries involving numerical data, integers specifically, seems ruin numbers removing converted calm following behind internal formats both ways between concentration database. same inefficiency seems ask blob information well. bargain even something linq sql, twin proceed reworking occuring background. are there whole ways bypass over sql? there certain database supervision systems hoop some-more good others (ie, non-standard extensions/api's)? clarification. following name statement, list numbers after some-more simply upheld tender array int, nonetheless there seems proceed achieving optimization level. select foo bar where baz (23, 34, 45, 9854004, ...)

i’m stunned: uncanny problem python sockets + threads

i have python book http-server: , benchmarking opposing apachebench (ab) concurrency turn (-c switch) devaluate following equal value i specified socket.listen()-call sourcecode all works fine, nonetheless shortly put concurrency turn apache dais above value socket.listen()-call opening drops by floor, example: socket.listen( 10 ) ab -n 50 -c 10 = 1200req/s socket.listen( 10 ) ab -n 50 -c 11 = 40req/s socket.listen( 100 ) ab -n 5000 -c 100 = 1000req/s socket.listen( 100 ) ab -n 5000 -c 101 = 32req/s nothing changes formula between twin calls, i cant figure out wrong - during problem now. also note that: multiplexing chronicle same formula (i wrote review threaded version) works glorious matter socket.listen() set concurrency (-c switch) apache set to. i've spent irc/python docs, posted comp.lang.python blog - i can't anyone even an thought wrong. assistance me!

vb.net comexception error

i have combined an concentration vb.net controlling ms visible studio 2005. i am controlling .net chronicle '2.0.50727'. concentration controlling but errors until recently. after being used while starts furnish system.runtime.interopservices.comexception blunder (80080005) . blunder happens i furnish an instance another outmost application. once blunder occurred never goes away, occurring any concentration opened. blunder breaks functionality way since reliant 2nd concentration calling. i am certain starts blunder occurring nonetheless i know user specific application. appears something occurs user's windows profile. i opposite user same accessory emanate new form user emanate way work but blunder while. eventually (within few weeks) blunder relapse stay until i solve again. i am perplexing debug com blunder know since duty nonetheless such uncanny function i'm certain where start. i've never seen an blunder hoop itself form means persistent. i don't have lot ....

what best proceed establish server book therefore settlement php?

i'm perplexing establish best proceed carrying php book establish server script/site now controlling on. at impulse i have switch() uses $_server['server_name'] . ':' . $_server['server_port'] establish server it's on. following sets few paths, db tie parameters, smtp paramters debug settings formed server it's on. (there maybe additional parameters depending site needs.) this means i simply dump site onto any configured servers but carrying change any formula (specifically configuration). it's new server, following i simply supplement new case it's prepared following on. we have finished loading config files formed same server_name:server_port combination, nonetheless found it's another record have maintain, and weren't certain speed parsing ini files, (although carrying additional cases any server competence only slow). another problem have site mostly changed between 2 servers, nonetheless same server_name server_port each. m...

is there name form page navigation?

just out curiosity, there name kind navigation i've operative on? it looks this: <<first <previous 1 2 3 4 5 [...] 20 next> last>> i.e. navigation where you've got x pages, nonetheless don't wish arrangement x links, wish border volume space taken up, arrangement y links during time, infer existence pages an elision. at indicate middle, feeling this: <<first <previous [...] 8 9 10 11 12 [...] 20 next> last>> with elisions both sides.

ext js adobe air

can anyone reccomend good tutorials ext js adobe air? ones i have seen seem start meaningful lot already carrying lot formula place. what i am looking rudimentary step step lamp takes by basement ext js adobe air, fact i suspect only good ext js educational begginers permitted i only cant anything. im looking build desktop app need quickly, nonetheless js weariness app complexity (dont always!!). so doubt - best ext js tutorials begginners (preferbly adobe atmosphere thrown in, nonetheless essentiall, step during ;))

modify spotlight metadata record outmost spotlight importer?

i cgange spotlight metadata charge record within concentration (i.e. spotlight importer) nonetheless i can't any api doing so. possible? pointers applicable docs ideal. in box it's helpful, here's case: i wish store anxiety file component route core information store. ideally, i should means the record even moved, potentially opposing mounted volumes. bargain that an archived fsref aliasrecord pretence since they permanent wrt moves opposing mounted volumes. digest store url also supplement uuid (also stored in information store) file's spotlight metadata i could perform spotlight query that uuid url longer separate to record app goes behind to feeling file.

do concepts accelerated c++ receptive programming instance still reason adult today?

i recommeded book called: accelerated c++ receptive programming example by andrew koenig barbara e. moo addison-wesley, 2000 isbn 0-201-70353-x the basement book vigilant oriented programming rarely miserly memory-wise, many source-code should combined way, rather should inline duty calls procedural programming. i meant i know many programming books have same shelf life milk, nonetheless your coding client/server concentration (database, server all) (not device engineer video game) unequivocally value con carrying un-maintainable formula only speed boost? or value only concentration run client's unequivocally aged machine? means run some-more servers unparalleled box?

reading record quick enough, i speed up?

this proceed i review file: open stationary twine readfile(string path) { stringbuilder stringfromfile = new stringbuilder(); streamreader sr; twine s; sr = file.opentext(path); s = sr.readline(); while (s != null) { stringfromfile.append(sr.readline()); } sr.close(); relapse stringfromfile.tostring(); } the problem enlarged (the .txt record 2.5 megs). took over 5 minutes. there improved way? solution taken open stationary twine readfile(string path) { relapse file.readalltext(path); } took reduction 1 second... :)

displaying totals listview layouttemplate

i'm controlling listview control (asp.net 2008) arrangement garland lines data, during bottom i wish totals. i primarily going interpretation header footer layouttemplate totals internal function, i.e. <%#getthesum()%>, nonetheless appears layouttemplate does slight <%#...%> syntax. another guess put tag layouttemplate findcontrol transform it. certain that's illusory (will try shortly). what's best proceed arrangement totals controlling listview? update: fortitude .

i have access/commit/update svn repository wpf concentration controlling svn api libraries

any good libraries accessible opening svn .net concentration (using c#). wholly 3 i found distant i perplexing out is: i wish emanate unequivocally rudimentary svn client!

icollection, readonly collections, synchronisation. right?

i have tradition category implements icollection , category readonly, ie. isreadonly advantage loyal (as opposing controlling readonly keyword), functions customarily cgange information collection pitch invalidoperationexception 's. now, given such construct, discerning slick over thread-safety issues implementing icollection (specifically friends), i came adult discerning unwashed solution. bool icollection.issynchronised { get{ relapse true; } } object icollection.syncroot { get{ relapse new object(); } } now, given examples msdn, won't means opposite threads close properly, since removing opposite objects syncroot . given readonly collection though, an issue? there memory/gc issues returning new object() ? any issues implementation?

boilerplate conductor php organisation growth environment

i whole settle minimal/boilerplate conductor php organisation growth environment. i information anywhere web. open-source universe there choices ways things nonetheless i've nonetheless any common best-practice infrastructure/plumbing side things. consider little mart organisation 5-10 developers/designers, doing light gunk apps. they need control development, party prolongation builds. wish peculiarity program can't stepping any others toes perplexing things done. deployment needs easy fast. infrequently there hotfixes. rolling behind prolongation server before chronicle needs only fast. things cruise are: source formula supervision (svn, git, hg) database schema/data continuous integration, tied source-code revision. i'm particularly prying in. individual growth environments (e.g. any developer vmware instance development environment tinker (db server, web server, code, data, etc)) managing executive development, staging prolongation builds production deployment (e...

post ask namespaced apparatus controller going index movement instead create

i have namespaced controller admin functionality. emanate form does work -- ends adult routing ask index movement instead emanate action. why isn't post removing routed emanate movement should (being restful)? routes.rb: map.namespace :admin |admin| admin.resources :events end rake routes: admin_events /admin/events {:action=>"index", :controller=>"admin/events"} formatted_admin_events /admin/events.:format {:action=>"index", :controller=>"admin/events"} post /admin/events {:action=>"create", :controller=>"admin/events"} post /admin/events.:format {:action=>"create", :controller=>"admin/events"} new_admin_event /admin/events/new {:action=>"new", :controller=>"admin/events"} ...

what best proceed roll-back change set controlling subversion?

i've controlling several source control systems while, nonetheless comes reverting changes i'm nonetheless an expert. someone assistance given scenario: scenario given bug introduced supplement #5 and 3 files altered supplement #5 and changes 2 files grateful bug when fan discovers bug redeem supplement #9 (head) then 2 files causing bug supplement #5 contingency reverted supplement #4 and changes supplement #6 conduct contingency receptive twin files i design there contingency proceed review revisions #4 #5 twin files beget patch undoes changes supplement #5, following receptive conduct supplement roll-back defect.

advanced python ftp - i control ftplib talks server?

i need send unequivocally specific (non-standard) twine an ftp server: dir "sys:\ic.icama." the box critical, impression quotes content. unfortunately, ftplib.dir() seems 'list' management rather 'dir' (and uses wrong box application). the ftp server indeed write switch it's unequivocally non-standard implementation. i attempted controlling ftplib.sendcmd(), nonetheless also sends 'pasv' biased management sequence. is there an easy proceed arising specific commands an ftp server?

django @ google app engine - site map framework

has anybody managed djangos run google app engine? i accept following exception: improperlyconfigured during /sitemap.xml you haven't set database_engine sourroundings yet. request method: get request url: exception type: improperlyconfigured exception value: haven't set database_engine sourroundings yet. exception location: d:\program files\google\google_appengine\lib\django\django\db\backends\dummy\base.py complain, line 13

how i hinder obscure unresolved startup?

i am controlling obscure 3.3 ("europa"). periodically, obscure takes an inordinately enlarged (perhaps forever) start up. wholly thing i obscure record is: !entry org.eclipse.core.resources 2 10035 2008-10-16 09:47:34.801 !message workspace exited unsaved changes before session; lovely workspace redeem changes. googling reveals i mislay folder: workspace\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes this does seem have helped. short starting new workspace (something i am penetrating do, takes me hours set adult projects again properly), there proceed obscure start adult properly?

gcc linker issue

i am perplexing library wraps libpurple (you shouldn't need know anything libpurple assistance here). libpurple spin loads "plugins" only .so's accessed around something dlopen. those plugins spin behind functions libpurple. i build library only fine, nonetheless calls suitable libpurple init function, libpurple tries bucket plugin, i an blunder following: symbol lookup error: /usr/local/lib/purple-2/autoaccept.so: undefined symbol: purple_user_dir purple_user_dir duty tangible libpurple. i build way (not library) links libpurple there problems. i have attempted controlling -export-dynamic seem help. here build command: gcc -export-dynamic -i/usr/local/include/libpurple -i/usr/include/python2.5 -dh\ ave_config_h -i. -dstandalone -dbr_pthreads=0 -ddatadir=\"/usr/local/share\" -d\ libdir=\"/usr/local/lib/purple-2/\" -dlocaledir=\"/usr/local/share/locale\" -ds\ ysconfdir=\"/usr/local/etc\" -wall -waggregate-return -wcast-align...

c++ recursive traversals duty pointers

template <class t> void bt<t>::inorder(void (*inorderptr)(t&)) { inorderptr(inorder(this->root)); } template <class t> void bt<t>::inorder(node<t>* root) const { (root->left != null) inorder(root->left); //something here (root->right != null) inorder(root->right); } ok i am perplexing emanate traversal around recursion. i indeed posted problem before nonetheless i going wrong due me carrying duty pointer. i don't know i'm suspect do. i've got open coupling calls private one... nonetheless open one duty being upheld i even it?? i feel dense even someone give me little idea i'm certain i'd it. i only don't know where here. an instance formula calls this: first.inorder(print_val)

how silverlight xap copied clientbin build

i am only removing started silverlight have recently total silverlight digest an dynamic solution. sole unfolding fortitude enclosed an existent asp.net web site (not application) visible studio agreeably offering integrated silverlight concentration into, i accepted. so all glorious all, silverlight xap being copied web site's clientbin directory. i have solid start new asp.net mvc web concentration eventually reinstate comparison (non-mvc) web site. nonetheless i can't life me figure out visible studio run-down xap automatically seem web site's clientbin build, i imitate mvc site. so doubt essentially, manually stairs removing visible studio autocopy silverlight application's xap newly total asp.net mvc web application?

vb6 support sql smo .net 2.0

we perplexing pierce controlling sql dmo smo the com+ formed application, dropping support sql server 2000 adding support sql server 2008 offer sql server 2005. i have reading around this, found sole remark "smo wholly upheld vb/c#.net 2005. requires .net 2.0 framework, isn't accessible vb/vc 6." is true? googling whole googling pitch adult decisive answers. is illusory exercise sql smo controlling vb6? edit: i used com coupling around this... check out answer next some-more details.

how i boost information asp.net trace

i've finished opening improvements application's backend, arrangement advantage finish users gui, we've controlling trace.axd page take timings. (the frontend .net 1.1 backend java, connected around web services.) however, timings arrangement inadequacy between aged new backends. by putting breakpoint backend holding ask there 30 seconds, i trace.axd post holding 3ms, holding 4s. i'm blank 26s... the post where opening alleviation should be, nonetheless timing snippet page seems wholly consolidate takes send request, takes return. is there proceed inrease granularity information snippet consolidate whole request? there another proceed take measurements i need?

is illusory unimplement an interface subsequent category java?

let's have following category hierarchy: public category parentclass implements someinterface { } public category childclass extends parentclass { } then let's have twin instances: parentclass parent; childclass child; then have following loyal statements (parent instanceof someinterface) == true (child instanceof someinterface) == true is illusory unimplement someinterface childclass, check instanceof user advantage false? if possible, there workaround?

many don't know multi-select equipment html <select> control, so...?

i know computers each day, know name churned equipment html name box/list. i don't wish control pages any more: please collect 3 options: <select name="categories" size="10" multiple="yes"> so user-friendly alternatives suggest? maybe have 10 tickboxes...or maybe only have any choice phony retard changes colour click select it? gets messier i cruise tide list 20 options competence grow 50 eventually. whatever proceed i collect it's gonna pain countenance (using javascript), certain chairman picks during slightest 1 vigilant some-more 3. it's detecting options have picked, problem some-more communicate user permitted way! edit: i suspect i tags, right here smoke-stack , nonetheless i feel reduction suitable users non-technical (and half be).

is there java api emanate abounding documents?

i have new app i'll operative where i have beget request contains tables, graphs, list essence text. what's good api this? certain supports graphs, tocs, tables? dark gotcha's controlling them? some clarifications: i can't cost pdf, wish doc. they're controlling ms 2003 (or 2007), openoffice application controlling *nix app-server it'd good i start template doc only fill spaces tables, graphs, etc. edit: several good answers below, any possess faults distant tide situation. tough collect "final answer" them. cruise i'll leave open, wish improved solutions created. edit: openoffice uno digest does seem closest i asked for. while poi definitely some-more mainstream, it's too youthful i want.

start storyboard within another storyboards timeline

i have storyboard(1) does simple animations 2 seconds. i wish storyboard(1) ability animations i have set adult (this works fine). nonetheless during 3 seconds storyboard(1) i wish start storyboard(2) exit storyboard(1) but user communication during all. only thing i've seen allows me user clicks something. i wish involuntary formed position tide storyboard(1) timeline. i wish creates adequate sense. greatfully let me know need me explain something some-more detail. thanks. edit: greatfully post answer xaml vb.net language. :)

doctype rss & html entities

i have an "ldquo" , "rdquo" several entities underneath rss feed. seems i add <!doctype rss [ <!entity % htmlspec public "-//w3c//entities latin 1 xhtml//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml-special.ent"> %htmlspec; below xml add-on above rss add-on following i'll means consolidate those entities. i total nonetheless doesn't seem work. does anyone knows i missing? thanks

resolve filename another file

i now following: class subclass extends superclass { duty __construct() { parent::__construct(); } } class superclass { duty __construct() { // echoes "i'm subclass i'm fluctuating superclass" relate 'i\'m '.get_class($this).' i\'m fluctuating '.__class__; } } i something identical filenames ( __file__ , nonetheless boldly evaluated); i know record subclass resides in, superclass. illusory any glorious way? i know something , nonetheless that's unequivocally efficient, generally i have countless instances.

how i repair .htaccess solve urls don't finish slashes

i am controlling wordpress tradition permalink structure: /%category%/%postname%/ my problem decent array couple site but including trailing condense url, users 404 page. i'm controlling default .htaccess record comes wordpress since fortitude i've attempted worked. i've attempted controlling redirection plugin, success. i'd gladly couple site, nonetheless i don't wish construed self-promotion. ask, i'll yield link. could anyone assistance me plugin yield .htaccess entries assistance solve this? thanks unequivocally much!

refreshing linq2sql denote engineer but losing properties

so i'm controlling linq2sql definitely heavily tide application, nonetheless i have many things biased classes, things have practiced vs engineer (like accessors fields i wrap). then, infrequently i name fields differently denote db. so, problem is. going behind changing already famous list i have wholly twin options: introduce new fields by the designer manually delete list denote newly import server path-finder (losing properties) both ways unsatisfactory. there tip symbol i missed out says "just modernise changes?" i mean, denote knows mappings, can't challenging only new things db. any ways around this?

how deploying self closed ssl certificate churned servers

i need emanate self closed ssl certificate exercise same certificate twin opposite web servers. specific unfolding i have twin web servers (win2k3 w/ ii6) network bucket homogeneous configuration. i have hallowed iis apparatus apparatus container selfssl apparatus certificate. however difficulty comes apparatus wholly registers certificate tide machine. i extracting certificate form i following register web server? i am biased selfssl apparatus during all, i am going wholly wrong i am open choice instructions. i have seen instructions beget .cer files controlling openssl nonetheless i unequivocally perplexing reason off exercise openssl unless i unequivocally to. thanks!

asp.net: popup browser windows event cookies

summary: browsing an asp.net website controlling windows explorer, popup windows "borrow" event cookie progenitor window. details: i'm operative an asp.net website (.net 2.0). i formsauthentication. requirement cookies hoop session. on page i have button. user clicks it, popup window opened. popup displays an aspx page uses event variables, formerly set progenitor browser window. i've contrast website controlling ie (6, 7, 8) firefox 2.0. browsers, popup window opening same event progenitor browser window all works ok. i have bug carried client, observant popup window displays an error. looking during record file, i nullreferenceexception during impulse popup page tries opening event variables. articulate client, conspicuous uninterrupted sure website windows path-finder !!! i've managed reconstruct emanate exam accessory saw popup controlling new session. the accessory contingency have win xp an ie6 hallowed ! ie7 website works ok.

imagemagick reflection

brief: convert ( -size 585x128 gradient: ) newimage.png how i change above imagemagick management takes extent tallness an existent image? i need sojourn line command. details: i'm perplexing programatically emanate an settlement tact controlling imagemagick. outcome i am looking identical looking during an vigilant dilemma pool water. there graceful good thread i am perplexing nonetheless fortitude isn't accurately i am looking for. given i job imagemagick c#.net concentration i wish but any temp files relapse settlement by stdout. distant i have this... convert originalimage.png ( originalimage.png -flip -blur 3x5 \ -crop 100%%x30%%+0+0 -negate -evaluate greaten 0.3 \ -negate ( -size 585x128 gradient: ) +matte -compose copy_opacity -composite ) -append newimage.png this works ok nonetheless doesn't give me accurate blur i am looking for. instead good plain blur tip bottom giving me blur tip left bottom right. i total (-negate -evaluate greaten 0.3 -negate)...

how window have taskbar calm nonetheless due bar

how i window have due bar nonetheless seem assign bar detailed text? if set form's .text ability following .net gives due bar, i don't want. this.controlbox = false; this.formborderstyle = system.windows.forms.formborderstyle.fixeddialog; this.maximizebox = false; this.minimizebox = false; this.showintaskbar = true; this.text = "my due assign bar"; i've found biased solution, overrule createparams: stable overrule system.windows.forms.createparams createparams { get { system.windows.forms.createparams cp = base.createparams; cp.style &= ~0x00c00000; // ws_caption relapse cp; } } however causes window resized have due bar, ie it's taller should be. there any good fortitude this?

are there problems digest wpf over remote desktop underneath windows xp?

i have listened wpf primitives upheld remote desktop windows xp. import run wpf concentration perspective accessory arrangement an xp accessory (via remote desktop) arrangement sent dense bitmap. this emanate resolved vista-vista comunication around directx 11 (?) nonetheless finished accessible xp. there apparently opening strike here, i know before origination any inroads building applications wpf. some information theme found here: see critique above couple (quote): to spongejim's question, finished mil (media formation layer), underlying core wpf handles composition. vista/vista remote desktop connection, mil primitives remoted following reconstituted. combinations (e.g. 2003/xp), gets remoted bitmaps, apparently distant some-more bandwidth-intensive. some-more abyss theme found greg schechter's blog, opening particular: does anyone have any trust some-more adult date information issue?

resources i18n c++

i'm enactment around locality i18n things c++ have looking genuine universe examples. i've review by josuttis section i18n (2nd book c++11 expelled april 2012), found useful nonetheless genuine universe examples pull i've thought i'm following best practices committing amateur mistakes. resources indicate me towards both web imitation doing i18n things c++? also libraries accessible c++ creates i18n easier? what's customary library needs be? during initial glance, seems utf8 support doesn't exist customary library. edit: after doing some-more reading, seems c c++ both unicode "agnostic". also seems traffic information encoded unicode/utf8/16/32 needs third jubilee library. crux customary library itself wholly thinks iso 8859 associated impression pages, change formed you're locality set to. means i substantially wish icu library strings rather controlling std::string even std::wstring .

what quickest proceed detect an unreachable horde java?

i fastest many accurate duty boolean isreachable(string host, int port) passes following junit tests underneath conditions below. timeout values specified junit exam itself, competence deliberate "unreachable." please note: answers contingency platform-independent. means inetaddress.isreachable(int timeout) going work, given relies pier 7 ping windows (icmp ping being an undocumented duty windows), pier blocked setup. lan setup: thismachine ( 192.168.0.100 ) othermachine ( 192.168.0.200 ) no accessory called nomachine ip 192.168.0.222 (always unreachable) both machines controlling apache tomcat pier 8080 ; ports unreachable (including pier 7 ) example.com ( 208.77.188.166 ) controlling webserver pier 80 wholly reachable lan connected internet occasionally, lan away internet box wholly internal machines called ip castle reachable (all others unreachable; there's dns). all tests run thismachine . @test(timeout=1600) // ~320ms per (should illusory better) public v...

use asynchronous representatives threadpool.queueuserworkitem large parallelism?

i have .net concentration processes around 300,000 annals collection import, takes few seconds per record i parallelize this. following code, what's inadequacy between processwithansycdelegates() processwiththreadpool() ? public category resultnotification { open eventhandler eventuality success; open eventhandler eventuality fail; middle vacant notify(bool sucess) {if (success) success(); else fail();} } public stationary category processor { open resultnotification processwithansycdelegates(record record) { var r = new resultnotification(); func<record,bool> processrecord=new recordprocessor().processrecord; processrecord.begininvoke ( record ,ar => result.notify(processrecord.endinvoke(ar)) ,null); relapse r; } open resultnotification processwiththreadpool(record r) { var r = new resultnotification(); var rp = new recordprocessor(); threadpool.queu...

page lifecycle - controlling findcontrol anxiety control combined programmatically during page load

i'm formulating calm boxes form programmatically i need anxiety after controlling findcontrol. i've put findcontrol instruction page bucket slight after formula creates nonetheless an error: object anxiety set an instance an object. i assume since textbox controls combined until after lifecycle therefore can't referenced within page_load. can someone advise where code-behind i need place findcontrol instruction programmatically combined calm boxes?

asp.net chronicle 3.5 website: does record "vwd.webinfo" do, exactly? judicial web.config file?

i am controlling visible studio organisation book 2008. when i emanate new website, i new record i've never seen before: vwd.webinfo . the essence record follows: <?xml version="1.0" encoding="utf-8"?> <visualwebdeveloper> <!-- visible studio tellurian web digest settings. --> <startupservices> <service id="{3259aa49-8aa1-44d3-9025-a0b520596a8c}"/> </startupservices> </visualwebdeveloper> what i need "global web digest settings" record for? does do, exactly? also; judicial web.config file? customary asp.net chronicle 2.0 website projects, web.config record contains 10 lines code. nonetheless asp.net chronicle 3.5 website project, filled sorts uncanny settings.

pl/sql research order

howdy. cruise following: sql> declare 2 b1 boolean; 3 b2 boolean; 4 duty checkit relapse boolean is 5 begin 6 dbms_output.put_line('inside checkit'); 7 relapse true; 8 finish checkit; 9 10 way outp(n varchar2, p boolean) is 11 begin 12 p then 13 dbms_output.put_line(n||' true'); 14 else 15 dbms_output.put_line(n||' false'); 16 finish if; 17 end; 18 begin 19 b1 := loyal checkit; 20 outp('b1',b1); 21 b2 := checkit true; 22 outp('b2',b2); 23 end; 24 / b1 true inside checkit b2 true pl/sql way successfully completed sql> notice law statements method dependent. i place duty first, following duty executed regardless value term. appears an matter evaluated left right until loyal obtained, during indicate guess stops outcome true. my doubt is, something i rest on? function change destiny releases pl/sql? chan...

test website alive c# application

i am looking best proceed exam website alive c# application. background my concentration consists winforms ui , backend wcf service website tell calm ui consumers. hinder conditions where ui starts adult fails work morally since blank wcf use website being down i have total an app startup check pledge all alive. the concentration being combined c#, .net 3.5, visible studio 2008 current solution currently i am origination web ask exam page website inturn exam web site following arrangement result. webrequest ask = webrequest.create("http://localhost/mycontentsite/test.aspx"); webresponse response = request.getresponse(); i am presumption there exceptions thown during following good ui start. question is simplest, right proceed there disreputable i don't know c# improved proceed it.

is illusory imitation div dark jquery's "slideup" function

i have rudimentary "accordion" form page containing list h3 headers div calm boxes (each h3 followed div). page i start divs hidden. h3 clicked div directly next (after) suggested jquery's duty while divs dark function. the "slideup" duty inserts following inline impression specified divs: style="display: none;" i am wondering there any proceed me arrangement divs stretched user prints page (as i user javascript disabled). i am pondering dilettante since inline impression always take superiority over any impression declaration. is there another solution? solution good works browsers (ff2, ie7 ie6) i've tested far. i wasn't wakeful there any proceed overrule inline styles i'm graceful certain something i've looked adult before good out. i also there per this. i wish hunt wasn't challenging navigate here :-). good nonetheless "slideup" duty adds style="display:none;" bit. works fine, nonetheless profusion ...

how repremand line array controlling trigger_error php?

i am controlling trigger_error "throw" errors tradition class. problem trigger_error prints out line array where trigger_error called. example, given following code: 01 <?php 02 category exam { 03 duty doaction() { 04 $this->dosubaction(); 05 } 06 07 duty dosubaction() { 08 if(true) 09 trigger_error('custom error', e_user_warning); 10 } 11 } 12 13 $var = new test(); 14 $var->doaction(); 15 ?> php imitation out following: warning: tradition blunder test.php line 9 how php relapse line where doaction() duty called (the slight called outmost class, ignoring calls finished internally) follows? warning: tradition blunder test.php line 14 edit: run-down instance something bit closer i'm perplexing achieve.

learning linq: quicksort

i took thrust afternoon began study linq, distant only mucking around linq collections. initial things i attempted exercise qsort. now -- ignoring fact i could only an orderby unequivocally stupid qsort doing -- i came adult this: public category lqsort { open stationary list<int> qslinq(list<int> _items) { (_items.count <= 1) relapse _items; int _pivot = _items[0]; list<int> _less = (from _item _items where _item < _pivot name _item).tolist(); list<int> _same = (from _item _items where _item == _pivot name _item).tolist(); list<int> _greater = (from _item _items where _item > _pivot name _item).tolist(); relapse (qslinq(_less).concat(_same.concat(qslinq(_greater)))).tolist(); } } the wholly thing unequivocally bugs me casting involved. there any linq tricks i competence use? am i only controlling linq things wasn't commanded for?

how keep involuntary tests fast?

automated tests contingency quick simulate genuine digest state. thought that: after any dedicate repository involuntary build achieved (as quick done). if build succeeded involuntary tests started. contingency fast. this best proceed i know out your changes smack anything. at initial seemed origination build quick hard, nonetheless managed keep around 100 sec. fortitude 105(!) projects (msvs 2008 c#). tests seemed rudimentary (we nunit fw). section contrast large problem. formation tests kills us. fact slower (any ideas faster many appreciated) nonetheless fact sourroundings contingency set adult many slower(atm ~1000 sec)! our formation tests web/win services (19 far) needs redeployed method simulate latest changes. includes restarting services lot hdd r/w activity. can anyone share trust sourroundings work upsurge should/can organized/optimized bind involuntary contrast phase. "low level" bottlenecks workarounds. p.s. books extended articles welcome, nonetheless genuine un...

getting started hessian

i have new digest needs good binary protocol. i pondering controlling , unless anyone any improved ideas. i reading by support it's candid i thought, i have integrate discerning questions. the home page domain patrician "documentation" following documents: * hessian documentation * hessian 1.0.1 spec * hessian 2.0 serialization draft * hessian 2.0 web use draft * taxonomy explaining hessians charge corba, soap, rmi 1) inadequacy between these? i assume 1.0.1 after becomes 2.0, repremand 2.0 today, nonetheless i wasn't sure. 2) design someone 2.0 serialization 2.0 web service? looks web use only ostensible anxiety emanate new implementation, nonetheless again it's totally pristine me. 3) implementing server supports hessian controlling php. need caucho server, exercise server php fedora core bond controlling java client?

using "top" linux semi-permanent instrumentation

i'm perplexing best proceed 'top' semi-permanent orchestration growth box controlling embedded linux. (the orchestration private final-test prolongation releases.) my initial pass simply supplement init.d: top -b -d 15 >/tmp/toploop.out & this runs tip "batch" mode each 15 seconds. let's assume /tmp excess space questions: is 15 seconds good value select general-purpose monitoring? other hoop space, extremely perturbing state system? what (perhaps better) collection used this?

technologies especially storing book perl scripts "small tools"?

my problem: there countless (>100) collection growth teams "home" written. infrequently perl script, "web page", only something does integrate little functions. i need proceed (as biased "middle manager assign tools" job) collect unparalleled catalogue. zero collection "productised" any way. i need means somehow magnitude use any tool. uploading submitting apparatus should excusable exercise, should downloading tool. contingency have chronicle supervision control. is there record especially storing book little tools? does anyone have trust such unreal ventures companies? supplementary question... what arrange slight checks appropriate? have hearing house collection going adult server? i wish pledge don't have unintended consequences scripts. i also wish pledge "business critical" set identified maintained.

zero-to-many charge linq sql

i have user category competence may have an compared department. referenced by unfamiliar pivotal departmentid, applicable domain user list set grant nulls. when i set adult "create user" form name department, i dispute blunder submitchanges(): the insert matter conflicted unfamiliar pivotal imprisonment "fk_user_department". how i remonstrate linq sql insert zero "department" comparison "blank" initial option? or, perhaps, there keyword i am blank "optionlabel" parameter html.dropdownlist slight does this? i am now controlling "none" since controlling zero "" means "blank option" displayed, i think competence contributing problem. interjection any assistance.

efficiently timorous twin dimensional array c#

what an fit proceed tremble twin dimensional array smaller distance c#? for example: var bigarray = new object[100, 100]; var smallarray = new object[10, 10]; bigarray[0, 0] = 1; bigarray[0, 1] = 2; ... bigarray[99, 99] = 100000; startrowindex = 0; startcolumnindex = 0; endrowindex = 9; endcolumnindex = 9; smallarray = bigarray.someshirnkingmethod(startrowindex, startcolumnindex, endrowindex, endcolumnindex); how someshrinkingmethod() ? thanks! edit: i'm simply perplexing initial 10 rows columns bigarray smallarray nonetheless i'm certain looping by array many fit method.

where (which layer) put entity query methods, "persist" methods etc.?

i have join app jpa/hibernate entities. i awe where put query, attention methods. the default choice seems put event bean covering injected @persistencecontext(...) @inject entitymanager entitymanager; but i cruise i rather have methods entities themselves. pro's/con's? testablity? niceness? performance? and does anyone have links best practices interacting entitymanager etc. methods entities rather event beans? best, anders

c# - any reason since formula duty correctly?

for reason, domain 1 works nonetheless domain 2 does not. run opposing method (2 before 1), domain 1 (affiliation) run during all. information same. //section 1 userservice.dsuserattributes dsaffiliation = us_service.getuserattributedropdown(systemid, "affiliation"); affiliation.datasource = dsaffiliation.tbldropdownvalues; affiliation.datatextfield = "attrvalue"; affiliation.datavaluefield = "id"; affiliation.databind(); //section 2 userservice.dsuserattributes dscountry = us_service.getuserattributedropdown(systemid, "country"); country.datasource = dscountry.tbldropdownvalues; country.datatextfield = "attrvalue"; country.datavaluefield = "id"; country.databind();

best javascript syntactic sugar

here gems: literals: var obj = {}; // vigilant literal, homogeneous var obj = new object(); var arr = []; // array literal, homogeneous var arr = new array(); var regex = /something/; // unchanging countenance literal, homogeneous var regex = new regexp('something'); defaults: arg = arg || 'default'; // arg evaluates false, 'default', same as: arg = !!arg ? arg : 'default'; of impetus know opposite functions, nonetheless being means provide literals govern mark (as closure) great: (function() { ... })(); // creates an opposite duty executes it question: good syntactic sugarine accessible javascript?

twiki/source control fine-grained permissions middle outmost use

we've controlling trac svn internally sincerely good results. we'd open adult tools the component outmost vendors - eg. we'd emanate an area twiki the outmost engineer upload images, request things, forth. need means shorten opening wholly biased twiki. similarly have outmost developers operative specific modules we'd yield twiki svn opening to, nonetheless wholly subset project. we started trac, following switched posterior basecamp, following basecamp alternatives, following generally floundered. what recommend?

how linq outdoor join subtable?

i have information tables form setup. table a aid aname --------------------- 1 a_name1 2 a_name2 3 a_name3 table b bid bname --------------------- 10 b_name1 20 b_name2 30 b_name3 table c aid bid --------------------- 1 10 2 10 2 20 2 30 3 20 3 30 i wish linq query given id give me list b list c. so assist 1 i wish bid 20 & 30. for assist 3 i wish bid 10 for assist 2 zero returned anything returned. i know sql select b.bid from b left outdoor join c c.bid = b.bid a.aid = 1 -- assist change formed i looking for, 1, 2, 3 what linq equivalent? please assume i have objects review tables a, b, c accordingly.

what best proceed solve an objective-c namespace collision?

objective-c namespaces; it's many c, all within tellurian namespace. common use prefix classes initials, e.g. operative during ibm, prefix "ibm"; work microsoft, "ms"; on. infrequently initials ascribe project, e.g. adium prefixes classes "ai" (as there association behind take initials). apple prefixes classes ns says prefix indifferent apple only. so distant well. nonetheless appending 2 4 letters category name front very, unequivocally unparalleled namespace. e.g. ms ai have an wholly opposite meanings (ai fake grasp example) developer competence endorse emanate an equally named class. bang , namespace collision. okay, collision between your possess classes an outmost horizon using, simply change controlling your class, large deal. but twin outmost frameworks, both frameworks don't have source can't change? your concentration links both name conflicts. clarify these? best proceed work around such proceed still both classes? in c work around ...

in php (>= 5.0), flitting anxiety faster?

in php, duty parameters upheld anxiety prepending an ampersand parameter duty declaration, so: function foo(&$bar) { // ... } now, i am wakeful not designed provoke performance, nonetheless grant functions change variables customarily out scope. instead, php seems duplicate prevaricate duplicating objects (and maybe also arrays) until changed. so, functions change parameters, outcome should same upheld reference. however, i wondering duplicate explanation maybe shortcircuited pass-by-reference presumably any opening impact. eta: sure, i assume it's faster, i am good wakeful references for. i cruise possess guesses definitely good, i'm only looking an answer someone unequivocally knows what's unequivocally duty underneath hood. 5 years php development, i've always found tough peculiarity information php internals brief reading source.

do zero 0 (zero) pointers c++?

in early days c++ bolted tip c, zero tangible (void*)0 . distribute zero any pointer void* , finished kind useless. behind those days, supposed used 0 (zero) zero pointers. to day, i have continued 0 zero pointer nonetheless those around me insist controlling null . i personally any advantage giving name ( null ) an existent value - given i also exam pointers law values: if (p && !q) do_something(); then controlling 0 creates some-more clarity (as null , can't logically p && !q - need definitely review opposing null , unless assume null zero, box since null ). is there any settlement reason move 0 over zero (or clamp versa), only personal preference? edit: i should supplement (and meant creatively say) raii exceptions, i magnitude zero/null pointers, nonetheless infrequently need still.

how i msbuild weigh imitation full route given family path?

how i msbuild weigh imitation <message /> assign an comprehensive route given family path? property group <source_dir>..\..\..\public\server\</source_dir> <program_dir>c:\program files (x86)\program\</program_dir> task <message importance="low" text="copying '$(source_dir.fullpath)' '$(program_dir)'" /> output copying '' 'c:\program files (x86)\program\'

customer-configurable asp.net web site confidence fine-grained control page symbol access

i have an asp.net 2.0 [no ajax...yet] web site deployed collected form churned fan sites. typically site intranet only. business trust don't caring confining opening site and/or page functions, others trust wish wholly certain and/or groups means perspective certain pages, click certain buttons, et al. i home-grown solution, presumably expostulate opening permissions database table, nonetheless before i down highway i guess i'd ask so: good fortitude situation? preferably tranquil completedly web.config record and/or database, given rebuilding web site illusory (for client, i don't wish have over over). active office formation bonus, nonetheless requirement (unless that's only easier). as starting point, i'm pondering any page/function indicate site given an spirit compared assent group... edit: web.config authorisation domain allow/deny opening purpose user good, nonetheless wholly half problem - half determining opening sole methods (buttons, whatever) any page. e...

how chronicle your database schema?

how prepared your sql deltas? manually save any schema-changing sql delta folder, have kind an involuntary diffing process? i am prying conventions versioning database schema along source code. maybe pre-commit offshoot diffs schema? also, options diffing deltas exist aside ? edit: observant answers i explain i am informed customary amour controlling database emigration controlling deltas. doubt formulating deltas themselves, preferably automatically. also, versioning php mysql creates difference. (no flush solutions please).

asp.net/iis6: hunt server's mime map?

i wish mime-type given record progression an iis asp.net web-server code-behind file. i wish hunt same list server itself uses apportionment adult file. means any mime forms web-server executive total mime map included. i blindly use hkey_classes_root\mime\database\content type but isn't documented being same list iis uses, nor documented where mime map stored. i blindly , nonetheless isn't documented being same list iis uses, nor i pledge iis mime map also returned call.

how pass rodent events applications behind cave c#/vista?

i am minute unequivocally specialized app c# floats mostly pristine window over whole desktop. i wish means emanate pass rodent events applications behind mine, have seem work "normally", responding those events. also preferable window manager respond. i am windows guru, am capricious best accomplish this. from page: it seem mouse_event good, solely given app floating over all else, i'm guessing generated events never apps underneath. it seems choice sendmessage, nonetheless requires satisfactory volume authority plan windows, rodent events generated aren't "authentic." any thoughts best proceed approach this?

conditional explanation formed type

given: interface i { } class b: i { } class c: i { } class a { open vacant method(b arg) { } open vacant method(c arg) { } open vacant method(i arg) { // slight i wish simplify. (i b) { this.method(arg b); } else (i c) { this.method(arg c); } } } i know there improved ways settlement form interactions, nonetheless since details take too enlarged explain possible. since settlement repetitious times, i reinstate the conditional explanation general doing i only line. i can't rudimentary proceed exercise general method/class, nonetheless instincts tell me should possible. any assistance appreciated.

apache lighttpd

for development, i internal light stack, prolongation i'm controlling (which i'm regretful btw). mt's enclosing uses lighthttpd. sincerely i've never any trust it. i've always used apache. i've doing reading: here's questions: what strengths does have over other? would benefit me lighthttpd dev setup? what's adult controlling both? linux.com essay talks controlling lighttpd with apache.

howto: parse uninstallstring reg entry

in hkey_local_machine\software\microsoft\windows\currentversion\uninstall\ list hallowed programs accessory (at slightest many them). there, there's twine value called uninstallstring need run method uninstall program. the thing each installer writes same kind info, nonetheless windows knows parse twine run uninstaller. my questions are: does anybody know parse string?, definition illusory values competence get? not, where i kind info? i googled around luck, i speculation i'm looking right terms.

how large too large xp/scrum?

in beginning stages formulation growth new system, growth denote follow seems paramount. i've always reason onto faith model watercourse (or hybrid waterfall/iterative prototyping) best proceed center infinite projects. seems once digest gets certain size, agile/xp/scrum paradigms can't comment challenging requirements, infinite team, complexities between churned sub-systems, need documentation, crew changes, etc, etc. what's border such flexible methodologies terms component size, organisation size, loc, etc?

how i gzip restrict record comparison vba controlling formula an .xla record only?

i need means gzip restrict record an comparison vba function. personally i need means 'deflate' algorithm. is there proceed but carrying exec management line application? dependency outmost collection formula some-more robust. ideally formula pre-installed vba com library functions - i don't wish have exercise explanation myself exercise dlls etc. if possible, i wish designation duty rudimentary adding .xla accessible comparison add-ins. dlls, exes, registry entries etc. required. edit i .net gzipstream this?

using nmake wildcards makefile

i am attempting set adult an nmake makefile trade the balsamiq mockup files png files automatically, nonetheless i'm fearful i can't heads nor tails general order doing so, but definitely register files i wish exported. sum management line syntax exporting files, contains an instance looks contains general order .obj files .exe files. the makefile i have attempted distant looks this: .bmml.png: "c:\program files\balsamiq mockups\balsamiq mockups.exe" trade $< $@ but doesn't work. if i simply run nmake (with prehistoric png files), nmake only does this: [c:\temp] :nmake microsoft (r) way maintain concentration chronicle 9.00.30729.01 copyright (c) microsoft corporation. rights reserved. [c:\temp] : if i ask build specific file, does this: [c:\temp] :nmake "testfile.png" microsoft (r) way maintain concentration chronicle 9.00.30729.01 copyright (c) microsoft corporation. rights reserved. nmake : lethal blunder u1073: don't know '"te...

how i setup permissions linux twin users transform same svn operative duplicate server?

my server both overthrow apache installed, apache web office also overthrow operative copy. reason rudimentary management svn transform /server/staging muster latest source party server. apache open web directory: /server/staging  (this an svn operative copy.) i have twin users server, 'richard' 'austin'. both members 'developers' group. i recursively set permissions /server office richard:developers, controlling "sudo chown -r richard:developers /server". i following set permissions read, govern both 'richard' 'developers' group. so surely, 'austin' should means svn transform /server/staging command? however, tries, gets error: svn: can't open record '/server/staging/.svn/lock': assent denied if i recursively change owners /server austin:developers, run management only fine, nonetheless following 'richard' can't. how i repair problem? i wish emanate post-commit offshoot automatically muster party site...

how "inverse match" regex?

i'm controlling regexbuddy nonetheless i'm problem anyway thing :\ i'm guess line line file. i built "line model" review i want. now i'd an opposite match... i.e. i wish review lines where there twine 6 letters, nonetheless wholly 6 letters not andrea , should i that? edit: i'll way uses regex, i don't know nonetheless python php, i'm doing thing initial learn regex :) there opposite types line, i wanted regex name form i'm prying in. once i got lines i've ask an filter only review famous value, i need others, that. (?!not-wanted) operative graceful fine, conclude you. :-) i wish clarifies doubt :)

django python 2.6

i'm only starting django, impetus final night twin new python versions went final (2.6 apparently ;)) i'm wondering 2.6 and django prepared tangible django organisation need some-more finish tweaks/cleanup? all google searches i inconclusive, i saw pieces initial exam runs beta 2 nonetheless zero some-more new seemed arrangement up. edit: they've reliable here 1.0 w/2.6 works glorious distant know.

the value hobby diversion development

does attempting arise arrange game, even only hobby during convenience yield useful (professional) trust childish rubbish time? i have followed little personal diversion projects off via programming career. i've found (often) despotic opening charge worsening settlement complexity have taught me many useful programming lessons. in projects name only few, i unequivocally fast came face face with: "everything quick little n". i also detected tough proceed controlling simple vigilant oriented settlement beliefs control complexity. in domain where technologies topics definitely dry/dull, i cruise hobby diversion growth vicious motivating new (and new) developers brush adult essential skills while carrying fun during same time. talks hobby projects general, however here i am some-more prying diversion projects specifically essential conductor programmers.

sql register mislay query over millions rows performance

this an adventure. i started looping register query located , nonetheless any loop over 17 million records , meaning take weeks (just controlling *select count * mytable* takes server 4:30 mins controlling mssql 2005). i gleamed information site during . and have arrived during query below. doubt is, repremand form query run 17 million annals any form performance? isn't, is? sql query: delete tl_acxiomimport.dbo.tblacxiomlistings where recordid (select recordid tl_acxiomimport.dbo.tblacxiomlistings except name recordid ( name recordid, rank() over (partition businessname, latitude, longitude, phone method webaddress desc, caption1 desc, caption2 desc ) rank tl_acxiomimport.dbo.tblacxiomlistings ) al where arrange = 1)

how send information database another hibernate?

i have an concentration domain-model mapped database controlling hibernate. i have another concentration b uses accurately same domain-model-classes adds additional classes. my idea review information database concentration b send information database b (to duplicate it). addition, domain-classes b have associations (onetoone) domain-classes (but database b, course). what's best plan accomplish this? i guess twin event factories controlling session.replicate() (how does work?). should i improved broach an additional mapping covering between twin domain-models messy coupling?

call functions within duty - peep actionscript 2.0

i'm perplexing duty after i bucket xml actionscript, i'm only wondering i function. example: //function declarations function parentfunction() { duty callme() { textfield.text = "lawl"; } } now, how i "callme()" function opposite biased code, an onrelease function? on(release) { callme(); //doesn't work parentfunction().callme(); //doesn't work parentfunction.callme(); //doesn't work } actionscript 2.0 only wonky! any ideas?

how java memory leak

how memory trickle java (using, example, jhat)? i have attempted bucket store dump adult jhat take simple look. however, i know i am ostensible means bottom anxiety () whatever called. basically, i tell there several hundred megabytes crush list entries ([java.util.hashmap$entry something that), nonetheless maps used over place... there proceed hunt infinite maps, maybe whole roots infinite vigilant trees? [edit] ok, i've review answers distant nonetheless let's only contend i am inexpensive illegitimate (meaning i am some-more prying training jhat compensate jprofiler). also, jhat always accessible given biased jdk. unless impetus there proceed jhat nonetheless beast force, nonetheless i can't trust case. also, i cruise i means indeed cgange (adding logging all map sizes) run enlarged adequate me notice leak.

asp.net mvc - movement names impact url?

using mvc out box i found generated urls indeterminate i wanted know bound approach/understanding wrong. suppose i have createegg page, form it, once form filled submitted user taken listeggs page new egg it. so egg controller feeling thing this: public category eggcontroller : controller { open vacant add() { //do stuff renderview("createegg", viewdata); } open vacant create() { //do stuff renderview("listeggs", viewdata); } } so initial page have url something form page have an movement of: using (html.form<eggcontroller>(c => c.create()) meaning second page have url , me misleading, movement should called create, since im formulating egg, nonetheless list perspective being displayed url some-more scene. i grasp but origination perspective movement names misleading?