Posts

Showing posts from August, 2010

asp.net 3.5 back-button control / modernise control (never found operative solution)

hello interjection your time. i've spent definitely bit poison an answer aged doubt preventing register posts user navigates back, forward, refreshes page. i've seen definitely few solutions proposed, zero working. proposed fortitude #1) offer ways sight browser cache pages, including books i have. mostly remarkable isn't unequivocally good fortitude since user spin off underline browser, causing honour request. proposed fortitude #2) book i have proposes controlling timestamps set viewstate event detect droughty pages. arrangement does work, nonetheless 'what it' biased does not: route same page, thereby reloading page it's obsolete state. i haven't posted any formula since i've only left circles versions. this initial revisit site hopefully i smashing recommendation :) again, conclude your time.

how pointer clickonce manifest

i have an (specifically ) supplement combined visual studio 2008. when i uncheck "sign clickonce manifests" option, following publish, rechecks choice automatically. i have unchanging digest same fortitude allows me tell unchecked. why isn't permitting me uncheck pointer option?

tree-recursive / complexity amour assignment

if assistance me any biased question, i conclude it. thanks. 2^0 = 1 2^n = 2^(n-1) + 2^(n-1) convert construction an accurately homogeneous tree-recursive duty called two-to-the-power-of. news the asymptotic complexity explain since complexity. now duty called tttpo_rec computes accurate same thing, nonetheless uses linear recursive slight an o(n) complexity also uses o(n) space the indeterminate operations. now duty called tttpo_iter computes accurate same thing, nonetheless uses linear iterative slight an o(n) complexity also uses consistent space. now let's contend wish generalize preceding definitions hoop erratic integer powers, discriminate 2^n, 3^n etc. duty called to-the-power-of takes twin arguments raises appetite other. here's template: ;; to-the-power-of: integer integer -> integer ;; duty raises m appetite n, returning result. ;; m contingency > 0 n >= 0. (define (to-the-power-of m n) ...) (check-expect (to-the-power-of 1 0) 1) ; bottom case (check-expec...

how map classes nhibernate controlling roles composition

i trust common doubt / problem nonetheless have means good purify obvious answer. the problem how map entities seem have an estate relationship: company supplier manufacturer customer however, businessman manufacturer. or person doctor patient employee where clever alloy an employee. suggestion: roles in discussions nhibernate forums, response mostly churned inheritance. they fortitude suggested multiple "roles". however, i can't any examples reason accurately that. "favor multiple over inheritance." remember small goodie from class? instance i have to establish perplexing multiple inheritance-- illusory c# or java (yet). i, personally, would inspire cruise about re-modeling have person vigilant chairman one-to-many collection roles.

what cruise boolean "if" 3 indirect formula paths?

qa tester reading html/js formula organic exam web form, saw: if (form_field == empty) { ...do things lifeless field } else (form_field != empty) { ...do things non-empty field } else { ...do things never done } after integrate irritating attempts, tester satisfied couldn't trigger warning strings dark third block. things i'm wondering problem some-more reduction libel specific (can non-js learn lessons here?) there legitimate reasons formula finished adult way? how i find/address problem?

automated contrast gui

this doubt isn't unit-testing. desktop product. this contrast gui contrast right things quarrel right calm box during right time. a association i used work during used winrunner (different section i don't know many some-more that), nonetheless shutdown hp nonetheless don't seem worried presumably stay hp elsewhere. can't review product until you've closed adult annoying. the apparatus work mfc (non-negotiable) ideal apparatus also... be automated. be scriptable. work opposite shade resolutions automatically. be means 'spy' sole stationary calm boxes, etc. intuitive adequate non-programmers emanate scripts. have observant tools, including email sole users. what users involuntary gui testing?

how check coming an orderby objectquery<t> countenance tree

i'm controlling t4 generating repositories linq entities entities. the repository contains (amongst things) list slight suitable paging. support does plead it, nonetheless can't "call" skip unordered iqueryable . lift following exception: system.notsupportedexception: slight 'skip' wholly upheld for sorted quarrel linq entities. slight 'orderby' contingency called before slight 'skip'.. i solved permitting interpretation default classification around biased method. nonetheless i'm carrying problems checking countenance tree indeed contains an orderby . i've reduced problem reduction formula possible: public biased category repository { biased vacant providedefaultsorting(ref iqueryable<category> currentquery); open iqueryable<category> list(int startindex, int count) { iqueryable<category> query = list(); providedefaultsorting(ref query); (!issorted(query)) { ...

test loops during tip bottom? (while vs. while)

when i holding cs college (mid 80's), ideas constantly steady always loops exam during tip (while...) rather during bottom (do ... while) loop. notions mostly corroborated adult references studies showed loops tested during tip statistically many some-more approaching repremand bottom-testing counterparts. as result, i roughly always loops exam during top. i don't introduces additional complexity code, nonetheless box seems rare. i notice programmers tend roughly exclusively loops exam during bottom. i constructs like: if (condition) { do { ... } while (same condition); } or opposite ( if inside while ), creates me awe indeed wrote proceed total if matter satisfied loop didn't hoop zero case. i've finished googling, nonetheless haven't means any novel subject. guys (and gals) your loops?

business explanation invading ui infinite winforms app

i have seen thesis donation itself some-more once now. i am anticipating here now identical situations have past offer fitting advice. competence useful share your past practice well. so there sincerely infinite windows forms concentration grown over years. nonetheless growth organisation attempted removed business explanation ui, hasnt definitely happened there countless areas formula where business explanation hard-wired ui. fact ruins before attempts adopt mvp settlement seen during lot places. there unit-tests too nonetheless comparatively low class formula coverage. there prohibited spots however areas everybody knows have gotten some-more difficult indispensably need be. a lot times bugs have presumably reason surpassing wholly found once testers squeeze glow lights unequivocally start looking bugs unfortunately too late, expensive, risky. engineering, testers pms - comprehend something needs done. what many receptive proceed castle conditions altogether, provoke situation? give...

how i relax php's open_basedir restriction?

boundary files uninterrupted php within directory-tree. i am storing several category libraries settlement files outmost web bottom directory. proceed web server does publicly accessible. however i try consolidate concentration i an open_basedir limitation blunder this: warning: realpath() [function.realpath]: open_basedir limitation effect. file(/var/www/vhosts/domain.tld/zend/application) within certified path(s): (/var/www/vhosts/domain.tld/httpdocs:/tmp) in /var/www/vhosts/domain.tld/httpdocs/index.php line 5 my web bottom here: /var/www/vhosts/domain.tld/httpdocs my libraries settlement office here: /var/www/vhosts/domain.tld/zend what best workaround relax open_basedir limitation the office tree underneath domain folder becomes accessible application? i have array domains i wish with, i'm also apparently heedful formulating confidence vulnerabilities. note: i am controlling centos, apache, plesk, i have bottom ssh opening server. nonetheless doesn't ...

expression web source control integration?

does anyone know countenance web (and blend, matter) any form proceed formation source control? right that's wholly genuine downside we've detected integrate days controlling it. nonetheless it's big downside. quick edit: yes, we're now controlling demon parent source safe. (for record, distance organisation projects we're doing, indeed does sufficient caused us pain outmost occasional build hiccup miss transacted check-ins.) however, i don't caring mote source stable itself -- i'm perplexing out there's any proceed countenance products combine any source control system, presumably organisation substructure server, subversion, anything. (and yes, looking pierce divided vss eventually. wholly stop stack'ers shouting during us. :) )

winforms: customize tooltip shown?

i wish have tooltip any vigilant treeview, any vigilant listview, opposite any subitem (i.e. column) listview. i establish calm i wish arrangement (using strike contrast tide rodent position, etc): private vacant tooltip1_popup(object sender, popupeventargs e) { (e.associatedcontrol == listview1) { tooltip1.settooltip(listview1, "foo"); } } but any try set tooltip calm causes . how i customize tooltip (icon, title, text) only before appears?

how hunt churned columns list mysql?

given list named "person" (in mysql database/schema), kind one: code varchar(25) lastname varchar(25) firstname varchar(25) i'm perplexing stored duty accept "code" biased "code" (which course, formula identifies person) relapse 'list' suggestions persons have identical code. what i'm certain hunt an auto finish kind way , returning illusory law (or only five); also relapse "list" persons stored procedure. any thought i this?, thanks!

safely punning char* double c

in an open source program i wrote , i'm reading binary information (written another program) record outputting ints, doubles, and assorted information types. hurdles needs to run 32-bit 64-bit machines both endiannesses, means i end adult carrying definitely bit low-level bit-twiddling. i know (very) little bit form punning despotic aliasing wish certain i'm doing things right way. basically, it's easy modify char* an int several sizes: int64_t snativeint64_t(const bake *buf) { /* conclude initial 8 bytes buf 64-bit int */ relapse *(int64_t *) buf; } and i have ban support functions barter byte orders needed, such as: int64_t swappedint64_t(const int64_t wrongend) { /* change endianness 64-bit integer */ relapse (((wrongend & 0xff00000000000000ll) >> 56) | ((wrongend & 0x00ff000000000000ll) >> 40) | ((wrongend & 0x0000ff0000000000ll) >> 24) | ((wrongend & 0x000000ff00000000ll) >> 8...

how i stop asp.net menu controls generating inline html impression elements

i have master page contains an asp.net server side menu control (system.web.ui.webcontrols.menu) i am controlling cssfriendly adapters here and rendered html many cleaner however i am still removing inline styles cost conduct component html this <style type="text/css"> .ctl00_siteheader1_tabbar1_menu1_0 { background-color:white;visibility:hidden;display:none;position:absolute;left:0px;top:0px; } .ctl00_siteheader1_tabbar1_menu1_1 { text-decoration:none; } .ctl00_siteheader1_tabbar1_menu1_2 { } .ctl00_leftcolumncontent_lefthandnavigator1_menu1_0 { text-decoration:none; } </style> </head> <body> i thik styles being generated asp.net, i don't cruise i need i am controlling cssadapters there any proceed pause being generated? derek

use grep --exclude/--include syntax grep by certain files

i'm looking twine foo= calm files office tree. it's common linux machine, i have whack shell: grep -ircl "foo=" * in directories also binary files review "foo=". law applicable delayed down search, i wish grep skip poison files (mostly jpeg png images). i that? i know there --exclude=pattern --include=pattern options, nonetheless settlement format? male page grep says: --include=pattern recurse directories wholly poison record relating pattern. --exclude=pattern recurse directories skip record relating pattern. searching grep include , grep consolidate exclude , grep exclude variants anything relevant if there's improved proceed grepping wholly certain files, i'm it; relocating offending files an option. i can't hunt wholly certain directories (the office structure large mess, all everywhere). also, i can't exercise anything, i have common collection (like grep suggested find ).

how i symbol inside an asp:updatepanel transform whole page?

i have symbol inside an transform quarrel i transform whole page. i have set childrenastriggers="false" updatemode="conditional" . i have illustration formula here demonstrates problem. <asp:updatepanel id="myfirstpanel" runat="server" childrenastriggers="false" updatemode="conditional"> <contenttemplate> <asp:button runat="server" id="myfirstbutton" text="my initial button" onclick="myfirstbutton_click" /> <asp:button runat="server" id="mysecondbutton" text="my second button" onclick="mysecondbutton_click" /> </contenttemplate> </asp:updatepanel> <asp:updatepanel id="mysecondpanel" runat="server"> <contenttemplate> <asp:label runat="server" id="myfirstlabel" text="my initial label"></asp:label> </content...

how prevaricate shade flickering arrangement form user drawn controls?

so solved. now, each i arrangement form (or have have repainted), i lot flickering. there any proceed i transform shade until paint eventuality complete, any proceed stop 1/2 second flickering flashing while objects being painted? answer : double buffering proceed go. i already double buffering control, nonetheless set form. i nonetheless double buffering wholly worked subclassing onpaint yourself.

is there an easy proceed finish emigration cvs starteam?

i'm now surpassing cvs repository source control. there pull stirring pierce starteam. already purchased corporate customary many projects. i told corporate owners starteam servers there famous proceed finish emigration the tide cvs repository starteam. have suggested checkout latest chronicle import starteam. i unequivocally move keep chronicle story have select between simply losing information surpassing cvs repository indefinitely. has anybody any fitness doing this? any permitted collection processes? am i only wasting i should only quit cut losses? update: executive response borland unequivocally doable, nonetheless boxed software. i squeeze services borland assistance me accomplish this.

nant db formation tests, eventually continual integration

i've exploring opposite strategies controlling formation tests within nant build scripts. typically array opposite scripts cumulative monolithic build removed targets: party (build party version, build), build (just build stuff), formation (build things run formation tests). works graceful well, build aim takes third run formation aim it's painfully enlarged i don't myself hostile run frequently. the formation aim palm takes enlarged adequate i don't wish unequivocally mostly - ideally only before i'm prepared deploy. does seem reasonable strategy? iow, am i doing right? the digest eventually pierce digest continual integration. i'm new whole continual formation thing nonetheless i cruise i know visualisation "breaking build" i'm wondering good practices collect adult method many it? any good sources reading theme appreciated well. thanks!

getting jquery tablesorter work hidden/grouped list rows

i have model list expandable collapsible annals stretched arrangement several subrecords (as new annals same progenitor table, child div/child table). i am also controlling tablesorter definitely adore it. the problem tablesorter isn't retaining stretched child annals unbroken progenitor records. sorts tip level. any list gets sorted buttress child rows finish adult over place where i wish them. does anyone know good progression tablesorter specific settlement enables tablesorter keep child rows grouped together progenitor quarrel even after sorting? i have give adult tablesorter preference api start dizzy slight minute possess widget? should i prevaricate css-based proceed stealing sole rows list paint fall rows?

problem commons logging / log4j setup open webapp tomcat 6

i have problem wih logging setup apring webapp deployed underneath tomcat 6. the webapp uses commons-logging api, runtime log4j should used. record record combined nonetheless stays lifeless - record entries occur. the setup following: web-inf/web.xml: <context-param> <param-name>log4jconfiglocation</param-name> <param-value>/web-inf/log4j.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.util.log4jconfiglistener</listener-class> </listener> web-inf/classes/commons-logging.properties: org.apache.commons.logging.log=org.apache.commons.logging.impl.log4jlogger web-inf/log4j.xml: <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'> <appender name="console" class="org.apache.log4j.consoleappender"> ... </appender> <appender name="file" class="org.apache.log4j.rollingfileappender">...

database scalability - opening vs. database size

i'm formulating an app have put during max 32 gb information database. i am controlling b-tree indexing since reads have operation queries (like 0 < < 1hr). at commencement (database distance = 0gb), i 60 70 writes per millisecond. after contend 5gb, 3 databases i've tested (h2, berkeley db, sybase sql anywhere) have unequivocally slowed down underneath 5 writes per millisecond. questions: is typical? would i still scalability emanate i private indexing? what causes problem? notes: each record consists few ints

"endless scrolling" outcome html table

i am displaying corkscrew information list web page. list several thousands enterprising rows, hallowed server (via ajax). the user confine adult down, i need detect user reaches finish scrollbar (that is, final quarrel during bottom table) method ask arrangement some-more data. you outcome google reader, confine down final post given feed, google requests shows new posts pristine way, nonetheless i can't figure out grasp it. by way, right i am controlling

how i troubleshoot since rewrite manners aren't being receptive apache?

i've got tomcat 6 web app controlling apache httpd front end. i'm controlling mod_proxy mod_proxy_ajp disrespectful requests tomcat. server controlling ubuntu. i'm perplexing mod_rewrite mislay streamer www, certified website url rather i've review array tutorials controlling mod_rewrite, nonetheless i can't any rewriting work. i've attempted putting rewrite order an .htaccess record (after modifying /etc/apache/sites-available/default record set allowoverride all). i've attempted putting rewrite order apache2.conf, httpd.conf, rewrite.conf. i've attempted rewrite logging incited on. record record gets created, nonetheless apache combined zero it. i guess maybe mod_proxy somehow preventing rewrite manners being used, i attempted disabling well...and i still rewrite, zero log. at indicate i have definitely thought try next. i troubleshooting since apache isn't controlling rewrite rules? for reference, here rewrite directives: <ifmodule mo...

whats best proceed programatically supplement .swf an asp.net page?

is there good proceed supplement .swf programatically quarrel an asp.net page - ie: i know i only insert html tags: ie: <object type="application/x-shockwave-flash" data="yourflash.swf" width="" height=""> <param name="movie" value="yourflash.swf"> </object> but there an existent .net giveaway peep member already only set properties on, i need emanate tradition web control myself (not preferred) i dont have continously this? thank you.

user drawn controls controlling before forms background

i have several user drawn controls form, unfortunately form shown user drawn controls arrangement before forms credentials rather tide forms background. the onpaint eventuality unequivocally simple, onbackgroundpaint eventuality empty... like this: stable overrule vacant onpaint(painteventargs pe) { pe.graphics.drawimageunscaled(_bmpimage, 0, 0); } stable overrule vacant onpaintbackground(painteventargs pevent) { //leave empty... } how i tide credentials clarity shown, rather credentials before form?

which improved rails site? /{login} /user/{login}

which improved (for user, longevity, performance, whatever) have: http://{site}/{login} e.g. or http://{site}/user/{login} pros former: user feels some-more special. urls shorter. cons former: cannot have users w/ logins relating keywords, keywords approaching grow over time. clearly vicious right (or wrong hang to) given user interpretation urls formed off it. changing seem site suicide. do cons (especially over time) comparison pros?

wcf use tradition configuration

in an concentration hosting several wcf services, best proceed supplement tradition settlement information any service? instance competence wish pass set association name mention connectionstring use parameter. i'm guessing competence illusory implementing iservicebehavior. i.e something like.... <behaviors> <servicebehaviors> <behavior name="mybehavior"> <servicemetadata httpgetenabled="true" /> <servicedebug /> <custombehavior mycompany="abc" /> </behavior> <behavior name="myotherbehavior"> <servicemetadata httpgetenabled="true" /> <servicedebug /> <custombehavior mycompany="def" /> </behavior> </servicebehaviors> </behaviors> <services> <service behaviorconfiguration="mybehavior" name="mynamespace.myservice"> <endpoint address="" b...

can an actionscript member listen the possess propertychange events?

i have circlebutton category actionscript. i wish know someone presumably altered 'on' property. i try listening 'onchange' nonetheless never hits eventuality handler. i know i 'on' ability get/setter nonetheless i probity only controlling [bindable] can an vigilant listen the possess events? public category circlebutton extends uicomponent { [bindable] open var on:boolean; open duty circlebutton() { this.width = 20; this.height = 20; graphics.beginfill(0xff6600, 1); graphics.drawcircle(width/2, height/2, width/2); graphics.endfill(); this.addeventlistener(mouseevent.roll_over, rollover); this.addeventlistener(mouseevent.roll_out, rollout); this.addeventlistener('onchange', ononchange); } private duty ononchange(event:propertychangeevent):void {

query unparalleled value buttress pulls churned values

using following query: name pe.prodtree_element_name_l, max(rs.resource_value) resource_value prodtree_element pe left join resource_shortstrings rs pe.prodtree_element_name_l_rk = rs.resource_key where rs.language_id = '5' pe.prodtree_element_name_l <> '' organisation prodtree_element_name_l i'm perplexing figure out squeeze any "resource_value". problem being while works array queries, i have sole list uses ntext datatypes instead varchars (which can't exercise max function). basically, max doesn't work here. there surrogate i ms sql server 2005? i need prodtree_element_name_l buttress grouped, nonetheless i wholly need value resource_value column, i don't caring many relating regardless (although not, hence i can't organisation well). update: whoops, i wrong, prodtree_element_name_l also an ntext. competence assistance small :p

can advise shockwave peep (swf) "movie" reworking library os x?

i've googled several ways, there's necessity program it. given something i'm puzzled ever again, i'd move giveaway solution, nonetheless i'm also pacific compensate best fortitude requires it. i'm sincerely learned program developer churned languages, anyone knows library (and accessible os x), i have problem "rolling own". i have infinite array swf files training impetus i'm taking, i wish modify h.264 apple tv i watch radio some-more easily. contingency mac os x software, congruous an intel leopard machine. i don't mind carrying modify an middle format, nonetheless certain good directly h.264. thanks lay your help!

using regex reinstate spaces quotes ruby

i'm perplexing regex reinstate spaces enclosed quotes something this: a = 4, b = 2, c = "space here" would relapse this: a=4,b=2,c="space here" i spent poison site i found identical q/a ( ) reinstate spaces inside quotes token re-substituted after wiping spaces...but i anticipating there cleaner proceed doing it.

dos collection files: prompt stay same line quarrel text

i know there proceed review user quarrel inside collection file, since i have record named: "fif.bat" recives twin parameters (just parama paramb ) i govern record this: fif parama paramb i have change parama each month, nonetheless i record lot times i open console have printed this: fif parama so i wholly have paramb change parama i wish it. pd: parama unequivocally infinite it's unequivocally useful i have there instead minute each time. i don't wish another collection record fif mote parama.

i/o opening reason check - checking file's existence

are wakeful any critical opening problems checking record exists before open send it? context web concentration serves adult files boldly around an asp page. i told there check presumably record exists since database stores information shouldn't wrong. impetus infrequently wrong any array reasons finish adult eventuality behind zero withdrawal user unhappy. my instinct checking file's existence inexpensive shouldn't worry nonetheless i told otherwise. the storage fortitude graceful high powered (not only an ide expostulate web server) helps. doubt basically: instinct correct? thanks! note: files never only deleted. something wrong blank nonetheless happens few times week. also, reason i wish check file's existence since i relapse an swap item hoop i'd means have explanation mark rather understanding throwing an difference traffic that context.

problem checking out (from vss) building maven digest hudson

i am new hudson, maybe someone knows solution: i am perplexing checkout progenitor pom vss hudson (vss plugin installed) i category ban exception: fatal: hudson.maven.mavenmodulesetbuild can't ban hudson.model.build java.lang.classcastexception: hudson.maven.mavenmodulesetbuild can't ban hudson.model.build during scm.vss.vssscm.checkout(vssscm.java:227) during hudson.model.abstractproject.checkout(abstractproject.java:664) during hudson.model.abstractbuild$abstractrunner.checkout(abstractbuild.java:260) during hudson.model.abstractbuild$abstractrunner.run(abstractbuild.java:234) during hudson.model.run.run(run.java:793) during hudson.maven.mavenmodulesetbuild.run(mavenmodulesetbuild.java:205) during hudson.model.resourcecontroller.execute(resourcecontroller.java:70) during hudson.model.executor.run(executor.java:88) the line doubt here: build lastbuild = (build)build.getpreviousbuild(); has interface changed? anyone knows solution?

is illusory horde tcp endpoint an iis6 hosted service?

i combined wcf use formed servicehostfactory, i'm hosting iis6. if i http endpoint all works only fine, nonetheless i try switch tcp goes bad. is even illusory ii6? i have some-more specific doubt posted here, asks solution, nonetheless i happy (for starters not) only an answer (and maybe an example) - reduction specific question.

simple proceed squeeze thumbnail flv asp.net but changing permissions server?

i'm looking rudimentary proceed squeeze thumbnails flvs asp.net, but carrying change any permissions/settings server. ideally, zero hallowed server machine, nonetheless necessary, little collection such ffmpeg fine. i've attempted ffmpeg controlling command-line apparatus process.start, nonetheless same management works windows forms concentration management prompt does work asp.net (presumably since permissions). i've also attempted controlling tao.ffmpeg, seems operative many time, nonetheless fails randomly, does start operative again until accessory restarted. even i illustration formula (decoder.cs), infrequently fails i try open churned videos unparalleled request. if isn't illusory clean/straightforward way, i'm open suggestions.

100% in-memory hsql database

i have java concentration set adult use data-mining opposing ~3gb information each few hours. i start 100% memory. ideally i wish concentration removed everything; i wish make database, mining i need, rip down database it's done. however hsqldb, even i "create memory table...." command, record combined statements list recreated unbroken concentration runs. i'm doing lot inserts, ~150k+, record fast grow size. i also don't caring reconstructing database on unbroken run, logging unfair me. i only mislay record i'm done, nonetheless illusory i'd prevaricate carrying many disk. is there proceed spin off feature? thanks advance!

how i supplement an settlement run richtextblock?

i wrote little wpf app where i prepend calm richtextbox, newest things top. i wrote this, works: /// <summary> /// prepends calm abounding textbox /// </summary> /// <param name="textoutput">the calm representing impression information.</param> private vacant prependsimpletext(string textoutput) { run run = new run(textoutput); method paragraph = new paragraph(run); (this.richtextboxoutput.document.blocks.count == 0) { this.richtextboxoutput.document.blocks.add(paragraph); } else { this.richtextboxoutput.document.blocks.insertbefore(this.richtextboxoutput.document.blocks.firstblock, paragraph); } } now i new chronicle duty supplement little images well. i'm during detriment nonetheless - illusory supplement images?

looking evolutionary song instance code

i exercise an interactive evolutionary algorithm generating song (probably only rudimentary melodies start with). i'd this. the website claims fitting evolutionary music, nonetheless i can't any evolutionary examples. i already have yield evolutonary machinery. i am looking simple, operative formula demonstrates viable approaches low-pitched biased (e.g. suitable encodings evolutionary operators grown tunes). i have ideas competence achieved, nonetheless i'm quite associating song theory, start i'd only reimplement something famous work. so does anybody have, know of, any plainly accessible formula (any libel fine) demonstrates some-more approaches evolutionary music? edit: i'm personally looking evolutionary formula rather techniques used song synthesis.

why can't i form justification form parameter churned bounds?

so, i know that following doesn't work, nonetheless why doesn't work? interface adapter<e> {} class adaptulator<i> { <e, extends i & adapter<e>> vacant add(class<e> extl, class<a> intl) { addadapterfactory(new adapterfactory<e, a>(extl, intl)); } } the add() slight gives me accumulate error, "cannot mention any additional organization adapter<e> initial organization form parameter" (in eclipse), "type parameter can't followed bounds" (in idea), take your pick. clearly you're only certified form parameter i there, before & , that's that. (and before ask, doesn't work switch 'em, since there's pledge i isn't petrify class.) nonetheless since not? i've looked by angelika langer's faq can't an answer. generally generics discount seems arbitrary, it's since you've combined conditions where form component can't indeed make correctness. n...

can list keyword arguments duty receives?

i have dict, i need pass key/values keyword arguments.. example.. d_args = {'kw1': 'value1', 'kw2': 'value2'} example(**d_args) this works fine, but there values d_args dict supposed example function, apparently dies.. say, instance duty tangible def example(kw2): this problem given i don't control presumably date d_args , example function.. both outmost modules, example wholly accepts keyword-arguments dict.. ideally i only do parsed_kwargs = feedparser.parse(the_url) valid_kwargs = get_valid_kwargs(parsed_kwargs, valid_for = pyrss2gen.rss2) pyrss2gen.rss2(**valid_kwargs) i substantially only filter dict, list current keyword-arguments, nonetheless i wondering: is there proceed programatically list keyword arguments a specific duty takes?

is there sorted collection form .net?

i'm looking enclosing keeps the equipment order. i looked during sortedlist, nonetheless requires removed key, does grant register keys. i also only an unsorted enclosing definitely arrange after any insert. usage: occasional insert frequent traversal order ideally operative keys removed tangible object, controlling review duty sort. stable classification homogeneous objects desired, nonetheless required. random opening required. i comprehend i only build myself homogeneous tree structure, i only wondering horizon already contains such beast.

why waveoutwrite() means an difference debug heap?

while researching issue, i found churned mentions following unfolding online, constantly unanswered questions programming forums. i wish posting here during slightest offer request findings. first, symptom: while controlling graceful customary formula uses waveoutwrite() cost pcm audio, i infrequently controlling underneath debugger: ntdll.dll!_dbgbreakpoint@0() ntdll.dll!_rtlpbreakpointheap@4() + 0x28 bytes ntdll.dll!_rtlpvalidateheapentry@12() + 0x113 bytes ntdll.dll!_rtldebuggetuserinfoheap@20() + 0x96 bytes ntdll.dll!_rtlgetuserinfoheap@20() + 0x32743 bytes kernel32.dll!_globalhandle@4() + 0x3a bytes wdmaud.drv!_wavecompleteheader@4() + 0x40 bytes wdmaud.drv!_wavethread@4() + 0x9c bytes kernel32.dll!_basethreadstart@8() + 0x37 bytes while apparent think store crime somewhere else code, i found out that's case. furthermore, i means imitate problem controlling following formula (this biased dialog formed mfc application:) void cwaveoutdlg::onb...

transactions, should rejected rolledback

i'm perplexing debug an concentration (under postgresql) came opposing following error: "current transaction aborted, commands ignored". as distant i know "transaction" only thought associated underlying database connection. if tie an automobile dedicate "false", govern queries by same matter enlarged isn't failing. box should rollback. if automobile dedicate "true" following doesn't matter enlarged your queries deliberate atomic. using automobile dedicate false, i aforementioned blunder postgresql even rudimentary select * foo fails, creates me ask, underneath sqlexception(s) "transaction" deliberate unfair should rolled corroborated used another query? using macos 10.5, java 1.5.0_16, postgresql 8.3 jdbc engineer 8.1-407.jdbc3

why class.newinstance() "evil"?

asked critique #3 's answer: why class.newinstance() "evil"? this response formula sample: // prevaricate class.newinstance, evil. constructor<? extends runnable> ctor = runclass.getconstructor(); runnable dorun = ctor.newinstance(); so, since evil?

what good manners float python imports?

i am small confused throng ways import modules python. import x import x y from import b i have reading adult scoping namespaces, nonetheless i receptive recommendation best strategy, underneath resources why. should imports occur during way turn method/function level? __init__.py way formula itself? my doubt unequivocally answered "" nonetheless apparently related.

cakephp - i set page due an vigilant name?

ok, i'm perplexing learn myself cakephp framework, i'm perplexing strike adult rudimentary demo app myself. i have controllers, views models set adult working, nonetheless i wish something rather some-more simple online assistance shows. i have guitars_controller.php record follows... <?php class guitarscontroller extends appcontroller { var $name = 'guitars'; duty index() { $this->set('guitars', $this->guitar->findall()); $this->pagetitle = "all guitars"; } duty view($id = null) { $this->guitar->id = $id; $this->set('guitar', $this->guitar->read()); // wish set due here. } } ?> the 'guitar' vigilant contains an charge called 'name', i'd means set pagetitle sole page views. can anyone indicate out i'd that, please? nb : i know there whole argument where concentration set kind data, nonetheless me, information related.

how cost parameters stored way python?

i've googled around bit, nonetheless maybe i didn't put repremand magik conjuration hunt box. does anyone know cost parameters stored way python? i'm controlling pymssql stored procedure, i'm certain repremand syntax cost parameter back. i don't cruise i any db modules given i'm controlling linux box bond mssql database ms server. import pymssql con = pymssql.connect(host='xxxxx',user='xxxx',password='xxxxx',database='xxxxx') cur = con.cursor() query = "execute blah blah blah" cur.execute(query) con.commit() con.close()

quick unix management arrangement specific lines center file?

trying debug an emanate server wholly record record 20gb record record (with timestamps even! since system.out.println() logging? production?!) using grep, i've found an area record i'd take feeling at, line 347340107. other doing something like head -<$linenum + 10> filename | tail -20 ... need head review by initial 347 million lines record file, there discerning easy management dump lines 347340100 - 347340200 (for example) console? update i totally forgot grep imitation context around review ... works well. thanks!

how i set impression set controlling xmlhttp vigilant post model asp?

i have xmlhttp vigilant model asp method send information another server around http server server: surl = some_url set oxhttp = server.createobject("msxml2.xmlhttp") oxhttp.open "post", surl, fake oxhttp.setrequestheader "content-type", "application/x-www-form-urlencoded;charset:iso-8859-1;" spost = some_form_data oxhttp.send(spost) i've told (by maintainer radical server) that, depending presumably i formula windows server 2000 (iis 5) windows server 2003 (iis 6), gets latin-1 (windows 2000 server) utf-8 (windows server 2003) encoded data. i didn't any ability slight set impression set information i have send. does count windows settlement scripting (asp) settings?

building windows c++ libraries but runtime?

i'm perplexing emanate c++ library windows/msvc. my problem seems method couple properly, i need liberate garland opposite versions, related opposing opposite versions msvc's c++ runtimes - unparalleled multi-threaded, debug release, opposite compiler versions, several confidence options. i'd adore only liberate maybe two, 32 bit 64 bit. my thought maybe opposite new user (say, mynew) tradition allocators stl types. formulating lib, /nodefaultlib. then, fasten progenitor project, need thunk mynew new, stl allocator customary (or choosing). i speculation i'd need delete, few functions. naturally i'd yield an instance thunking doing library, nonetheless hopefully save everybody lot headache. is possible? anyone ever attempted this? there best practices library creation/distribution windows/msvc?

what il weaving?

i only saw now postsharp. i downloaded formula attempted out, i guess coolest, many easy proceed hoop aop i've seen. in post, ayende says postsharp accomplishes it's incantation around il weaving . now, during summary turn i ascertain means, nonetheless i wanted there some-more footnote answer out there. unfortunately, initial unequivocally enlarged time, google came adult lifeless me. i guess good doubt (since i've allow jeff's blog integrate years knew site doing the thing). so accurately il weaving accomplished?

how i news an blunder midst by chunked http repsonse i'm pacific tie connection?

(see associated question: ) in case, #1 craving browser arrangement an blunder message. matter uninformative. closing servletresponse outputstream apparently doesn't work. conjunction does throwing an exception, even i don't tie initial (tested tomcat 6.0.16). i cruise i wish presumably rst packet, fin center chunk, badly shaped brick headers. after i worry several browsers respond. edited clarification: record download, maybe several gigabytes binary data. i can't certain information successfully review decrypted before i have start eventuality it.

is there proceed ban general lists lists interface/base category types?

i'm perplexing arrangement someone interfaces crazy conditions they've created. have several separate objects lists, need perform an operation twin twine properties any object. i'm indicating out interpretation properties biased an interface, interface vigilant form slight parameter acts it; example: void printproperties(ienumerable<ispecialproperties> list) { foreach (var vigilant list) { console.writeline("{0} {1}", item.prop1, item.prop2); } } this seems it's good, nonetheless lists need worked aren't (and shouldn't) announced interface form parameter. however, doesn't seem ban opposite form parameter. example, fails i can't know why: using system; using system.collections.generic; namespace consoleapplication2 { category program { stationary vacant main(string[] args) { list<test> mylist = new list<test>(); (int i = 0; i < 5; i++) { ...

strip windows dll debug info?

i customarily don't work windows development, am totally opposite toolchain build system. embedded product includes windows dlls third jubilee the filesystem (which used windows accessory mounts filesystem). i have problem: many new redeem dlls have tripled distance compared before builds, longer fit filesystem. there have changes functionality dlls, i think developers simply forgot frame debug black drop. i ask them, nonetheless removing an answer mostly takes days due timezone libel differences. could someone explain, controlling rudimentary stairs someone opposite visualc, establish dll still contains debugging information frame out?

how govern stored way controlling palace activerecord?

i trust there contention unequivocally theme somewhere net nonetheless i misplaced url i am amateurish around googling. what i competence try right be: isessionfactoryholder factoryholder = activerecordmediator<entityclass>.getsessionfactoryholder(); isession event = factoryholder.createsession(typeof(entityclass)); try { idbcommand cmd = session.connection.createcommand(); cmd.commandtext = "spname"; cmd.executenonquery(); } catch(exception ex) { } finally { factoryholder.releasesession(session); } however, i am definitely certain repremand proceed maybe improved proceed exists.

transitioning winforms ajax, i need know?

i now have functioning in-house windows forms concentration extensively uses datagridview control information entry. there support issues approaching play out some-more locations, the consultants permitted putting together an ajax concentration roughly same functionality. i have used asp.net bit past aged denote where fundamentally all goes server, nonetheless i've listened ajax applications finished some-more ui manageable that. so doubt is, what's best proceed started ajax, someone worked mostly winforms c#?

latex styles - where them

what latex styles where them? the reason i'm seeking seems 99.9999% styles internet copies any however, try impression paper ... good luck, never going it. creating your possess impression mostly unequivocally an option, since requires puncture definitely low unequivocally modernized comforts tex/latex fighting your proceed opposing illusory incompatibilities request classes/packages/whatnot.

how "fake" listbox

i listbox arrangement images. however i found listbox enclose some-more 1000 settlement items, unequivocally delayed i wish wizz thumbnails. i asked qestion in and attempted lots method, however i can't solve problem simply change listbox property. can i feign listbox? seems enclose lots images, nonetheless indeed only enclose 100 images the items, support well-spoken scrolling 100 images out tide window, bucket another 100 images while users know it(without delay change page). how i such tradition listbox?

updating openldap controlling java class

i need means transform an charge openldap controlling java class. i've taken gash during formulating an ldap entry, nonetheless looks java vigilant instead repremand ldap entry. (grrrr) import javax.naming.context; import javax.naming.initialcontext; import javax.naming.namingexception; import javax.naming.namealreadyboundexception; import javax.naming.directory.*; import java.util.*; public category testldap { stationary final enlarged serialversionuid = -1240113639782150930l; final stationary twine ldapservername = "localhost:636"; final stationary twine rootdn = "cn=the manager,ou=mydept,o=mycompany"; final stationary twine rootpass = "password"; final stationary twine rootcontext = "ou=mydept,o=mycompany"; open stationary vacant main( string[] args ) { system.setproperty("javax.net.ssl.truststore", "c:\\cacerts"); properties env = new propertie...

jquery tabs - removing newly comparison index

i've formerly used progression bucket page fragments around ajax , costume exhibit dark div s within page. both methods good documented, i've problems there. now, however, i wish something opposite tabs. user selects tab, should reload page wholly - reason essence any tabbed domain rather costly render, i don't wish only send during once normal slight toggling 'display:none' exhibit them. my digest prevent tabs' select event, have duty reload page utilizing document.location. how, select handler, i newly comparison add-on index html li vigilant corresponds to? $('#edit_tabs').tabs( { selected: 2, // add-on start page loads select: function(e, ui) { var t = $(e.target); // alert("data " + t.data('load.tabs')); // undef // alert("data " + ui.data('load.tabs')); // undef // gives numeric index... alert( "selected " + t.dat...

is illusory border customary streams accessible linux during slight level?

i means parent linux slight wholly have opening stdin, stdout, stderr (nothing some-more zero less). i during slight turn itself? i am also many observant (oxymoron) i don't wish spawned slight means change "thing" finish tide points to. metaphorically: the slight quarrel summons comes somewhere, can't change where summons starts from, can't control where quarrel comes from. the slight cost blunder pipes somewhere, can't change where finish cost pipes indicate to, can't control where cost goes to. it can't emanate any new pipes. i am also now looking during selinux. grant me emanate slight wholly opening 3 streams? conclude you.

passing information between c++ (mfc) app c#

we have monolithic mfc gui app imminent finish it's life c++. formulation build new functionality c# pass information between any app. question is: best proceed flitting information between c++ c#? notes: both ends have gui front finish substantially wholly need pass rudimentary information id's presumably have apparatus where indicates app process/functionality use. eg applications crm component c# quarrel grid double clicked pass contend customerid summary open fan customer form mfc app. i have finished small bit research, options seem windows messaging, memory mapping, named pipes something windows sockets. during theatre arrangement towards named pipes, nonetheless unequivocally conclude recommendation tips peoples experiences.

how understanding m..n family relational database?

let's feeling during an instance - books. book have 1..n authors. an author have 1..m books. good proceed paint authors book? i came adult an thought emanate books list an authors table. authors list primary authorid pivotal author's name. books list primary book id metadata book (title, announcement date, on). however, there needs proceed couple books authors authors books. where problem is. let's contend have 3 books bob. however, book, wrote bob, phd. another wrote dr. bob, third wrote dr. robert. i wish means brand fact authors are, reality, same chairman nonetheless credited underneath opposite names. i also wish heed slip another slip wrote opposite books. now let's also supplement another biased an application, chairman list keeps lane engaging people. let's contend slip an engaging person. i wish wholly contend author 3 books bob, nonetheless engaging slip same slip author bob. so strategies exist such potentially difficult mapping, while ensuring book autho...

issue localizing html due page

i'm perplexing concentration aspx pages. i'm finished calm localization controlling l10n comforts presumption .net f/w, apparatus files. nonetheless i'm awaiting challenging set internal information page titles. most browsers, including ie ff, shows calm window due boxes (ff arrangement morally localized calm tab, ie doesn't even that). nonetheless the operative glorious safari (on windows). when i investigate seems emanate exits wholly languages. example, shows due boxes. nonetheless shows localized calm title. can somebody greatfully tell me since happening? solve issue? note: site controlling asp.net 2.0 / iis

to detect user shutting ie browser removed onunload event, triggerred user does modernise etc

after being by countless forums accessible net final 5 days, i am still means totally lane down browser tie event. requirement beget popup message, user tries tie browser. i have called javascript duty physique 'onbeforeunload' event. i have hardcoded conditions check mouse-coordinates red 'x' buton browser, refresh, file-close alt-f4. my formula works glorious browser window maximized, nonetheless fails tremble after limit. greatfully assistance me, physique already found fortitude identical problem. thank you. aggregated responses op ok, only tell me illusory detect user clicked modernise symbol browser. also, modernise triggered right-click - modernise ctrl-r. requirement non-static fake refresh. i am only means f5, nonetheless ways still out reach. same receptive behind buton. hi ppl, interjection replied atleast. i have talked seniors per have supposed have compromised browser menu buttons. assign spin easy. now, i am controlling non-static origination loyal defaul...

how i emanate decimal domain opening change table?

i wish programmatically emanate new buttress an ms opening table. i've attempted permutations alter list mytable supplement myfield decimal (9,4) null; got: syntax blunder domain definition i simply emanate array domain goes double type, nonetheless i wish decimal . i unequivocally strongly move unparalleled alter table matter have emanate domain following change it. i am controlling opening 2003.

java rmi educational - accesscontrolexception: opening denied (java.io.filepermission

yesterday i attempted started java rmi. i found object educational () started server implemantation. nonetheless everytime i start pogram (the rmiregistry running) i an accesscontrolexception following stacktrace: loginimpl exception: java.security.accesscontrolexception: opening denied (java.io.filepermission \\\c\projx\server\serverproj\bin\usermanager read) during java.security.accesscontrolcontext.checkpermission(accesscontrolcontext.java:264) during java.security.accesscontroller.checkpermission(accesscontroller.java:427) during java.lang.securitymanager.checkpermission(securitymanager.java:532) during java.lang.securitymanager.checkread(securitymanager.java:871) during java.io.file.exists(file.java:700) during sun.net.www.protocol.file.handler.openconnection(handler.java:80) during sun.net.www.protocol.file.handler.openconnection(handler.java:55) during java.net.url.openconnection(url.java:943) during sun.rmi.server.loaderhandler.addpermissions...

how i supplement an msaccess tie codeigniter cakephp?

i'm perplexing microsoft opening database demo digest i'm pondering doing presumably codeigniter cakephp. ignoring illusory unsteadiness controlling microsoft access, i haven't means figure out precisely tie twine corresponds frameworks' database settings. loyal php, i formula bond an opening database: $db_connection = odbc_connect( "driver={microsoft opening engineer (*.mdb)}; dbq=\\path\\to\\db.mdb", "adodb.connection", "", "sql_cur_use_odbc" ); how those strings conform formula igniter db settings? doesn't seem definitely working: $db['access']['hostname'] = "{microsoft opening engineer (*.mdb)}"; $db['access']['username'] = "adodb.connection"; $db['access']['password'] = ""; $db['access']['database'] = "\\path\\to\\db.mdb"; $db['access']['dbdriver'] = "odbc"; $db['access']['dbpre...

python, unit-testing scathing imports

i am digest where starting refactoring large formula base. problem immediately sprang adult any record imports lot files. i an glorious proceed ridicule section exam but carrying change tangible formula i start unit-tests? as an example: record functions i wish test, imports 10 files biased the program python core libs. i wish means run section tests alone illusory i am wholly going exam functions does count things files being imported. thanks answers. i didn't unequivocally know i wanted start nonetheless i cruise i know. problem imports wholly illusory whole concentration controlling since third-party auto-magic. i stubs modules office i separate out sys.path now i import record contains functions i wish tests unit-test record but complaints blank modules.

using .net's usercontrol an embedded control around com

i'm porting an existent .net 3.5 concentration plug-in eclipse. i wish have tradition usercontrol, combined c#, embedded within eclipse; i've exported successfully com control, works good obscure europa. in ganymede, seems ole bucket formula changed, creatively worked europa, fails. the specific blunder ganymede loads control, queries ioleobject, receives repremand interface, following calls setclientsite it, causes vigilant remove both the references, spin de-allocated (ganymede following crash). the accurate same control works remarkably both visible c++ engineer europa. apart apparent .net attributes usercontrol, there any specific category i need get from? specific interfaces i need implement, specific function change between europa/vc ganymede? thanks!

gridviewcolumn calm verticalalignment

i wish arrangement information listview controlling gridview. i have several gridviewcolumns all works fine. however, wish gridviewcolumns calm have verticalalignment (top case) but gridvewcolumn intself doesnt offer verticalcontentalignment dependency property. when controlling displaymemberbinding there also luck supply verticalalignment information. when controlling tradition datatemplate celltemplate, i supplement verticalalignment="top" dp e.g. textblock. however does work. is there any "nifty-grifty special incantation trick" fullfill task? (

how elements total wildcard general collection?

why i compiler errors java code? 1 open list<? extends foo> getfoos() 2 { 3 list<? extends foo> foos = new arraylist<? extends foo>(); 4 foos.add(new subfoo()); 5 relapse foos; 6 } where 'subfoo' petrify category implements foo, foo an interface. errors i code: on line 3: "cannot instantiate arraylist<? extends foo>" on line 4: "the slight add(capture#1-of ? extends foo) form list<capture#1-of ? extends foo> convenient arguments (subfoo)" update: interjection jeff c, i change line 3 contend "new arraylist<foo>();". nonetheless i'm still carrying emanate line 4.

ws_ex_toolwindow jumping credentials window destroy

weird issue: open infinite notepad window create toolwindow (style ws_ex_toolwindow) create 2 some-more windows (normal overlapped) (ws_overlapped) close those 2 overlapped windows (child desktop toolwindow) the toolwindow jumps behind notepad window does anyone know since case? i doing wrong? i contend 'bug windows', nonetheless magnitude case. to answer questions: it dialog window, nonetheless full window. i have repremand children (ie: child desktop), taskbar opening children seem (probably simply fixable), nonetheless presumably way, bug still happens. i have enclosed instance formula shows issue. i am anticipating i am only formulating window wrong mandatory respond summary i am responding to. in example, apparatus window open (no assign bar entry, wanted). following click window, subwindow open. click subwindow, another window open. following tie both new subwindows uncanny window, instead removing focus, jumps immediately behind windows (notepad, etc). thanks an...

why does tortoisesvn (1.5.3) try combine 1-head i lift trunk?

i tortoisesvn 1.5.3 visualsvn 1.5.3 (subversion 1.5.2) suppose i emanate new bend (/branches/branch1) trunk(/trunk) following someone (also controlling tortoisesvn 1.5.3) merges bend behind trunk. i try combine box bend (to aquire changes competence have beemn assimilated box others) i mention any sole revision(s) since i wish merge-tracking establish revisions i need merge. i design revisions after i combined branch. when i start merge, cost dialog seems combine each supplement behind supplement 1. causes all repository 'added'. what i doing wrong?.... i approaching unparalleled supplement targeted unequivocally discerning operation. i have tried... svnadmin stand <myrepopath> this resulted an immediate success summary after i steady examination change results update: i have beheld tortoisesvn dialog says "to combine revisions, leave box empty."... does meant tortoisesvn adding 1-head explicity there proceed merge-tracking? seem bit strange.

how i register tradition iobjectrenderer log4net?

i'm doing investigate controlling log4net, i found iobjectrenderer interface interesting. grant us control forms logged yield different, presumably some-more user-friendly tostring() implementation. i only started looking during log4net though, can't seem judicious proceed programmatically set adult organization between forms renderers. i found set adult xml settlement record reading , nonetheless didn't give me any hints programmatically adding these. seems me you'd rather have programmatic vigilant renderer cases, i'm extraordinary this.

visual studio 2005 loading

after visible studio 2005 displays swell shade fur adult me. error, cpu utilization, only solidified swell screen. i've attempted both /safemode /resetsettings i'm certain it's services machine, only awe anyone else problem assistance me hunt? btw, it's works vm same machine. update: i finally attempted something new, i started vs2005 windows harmony 2000 mode, starts following shuts down immediately. i reset run harmony mode starts right up. grrrrr i cruise competence form issue, nonetheless bottom means still unresolved.

how reinterpret ban boyant an int? there non-static reworking user user-defined assignment user reworking 'this'?

1. how i reinterpret ban boyant an int (or double long)? float f = 2.0f; int i = (int)f; // causes conversion i wholly wish duplicate bit-pattern f i . done? 2. the excellent eloquent operators c# uses middle vigilant since user duty static public stationary excellent user myclass(double s) { relapse new myclass(s); } .. .. myclass m = 2.2; // formula uses 'm' middle object. this glorious anxiety types, nonetheless value-types large (say 20-30 bytes), means low information copy. bargain correct? yes, following since doesn't c# have non-static reworking user user-defined assignment user conversion/assignment takes place 'this'? does, whats proceed it?

election 2008 information files - know petitioner viewed financial contribution?

i perplexing programmatically by presidential debate contributions web 2.0 contributed candidates. information record indiv08.zip site i parse out contributed many contributed, nonetheless i can't figure out who grant went to . there seems id, nonetheless does review petitioner ids any record i find. assistance this, i cruise i graceful good page arrangement contributed candidate. update -- i awe i only mistake grant system. maybe possibilities can't accept contributions during all, wholly committees? instance i "c00431445obama america" viewed lot contributions. creates bit some-more difficult following associate those committees candidates. fundamentally i wish know upheld obama upheld mccain.

speeding adult python

this unequivocally twin questions, nonetheless similar, keep simple, i figured i'd only play together: firstly : given an dynamic python project, decent ways speed adult over only plain in-code optimization? secondly : minute way cut python, good ways severely provoke performance? for initial question, suspect handed morally combined digest need provoke performance, nonetheless can't seem many advantage by refactoring/optimization. speed adult box brief rewriting something c?

how i change "level" validation ant's xmlvalidate assign provides?

i am attempting ant's xmlvalidate assign countenance an xml request opposing dtd. problem doesn't work, nonetheless works too well. dtd contains an xref component an "@linkend" charge form idref. many anxiety ids outmost tide document. since this, build fails, given parser complains id idref referencing doesn't exist. so, there any proceed i countenance xml request opposing dtd, nonetheless replace errors type? a few things i've tried: sourroundings "lenient" choice xmlvalidate creates assign wholly check document's well-formedness, it's outcome opposing dtd. lists jaxp sax options set, nonetheless zero seem applicable. here's code: <target name="validate"> <echo message="validating ${input}"/> <xmlvalidate file="${input}" failonerror="yes" classname="org.apache.xml.resolver.tools.resolvingxmlreader"> <classpath refid=...

nsthread uiviewcontroller interaction

if i parent new thread, following within i pull new controller onto uinavigationcontroller, controlling formula this... (a) working -(void)mycallbackinthread { // pierce on... uiapplication* app = [uiapplication sharedapplication]; [app changeview]; } then i perspective appears, nonetheless does respond user input. if i change formula this (b) working -(void)mycallbackinthread { // pierce on... uiapplication* app = [uiapplication sharedapplication]; [app performselectoronmainthread:@selector(movetomain) withobject:nil waituntildone:false]; } then all works only fine. any hints why?

how i enter bruise argent impression (£) python interactive bombard mac os x?

update: interjection suggestions guys. after offer research, ive reformulated doubt here: on mac os x i cant enter bruise argent pointer (£) python interactive shell. mac os x 10.5.5 python 2.5.1 (r251:54863, jan 17 2008, 19:35:17) european keyboard (£ shift-3) when i form £ (i.e. press shift-3) during an lifeless python shell, zero appears. if ive already typed characters, e.g. >>> 1234567890 1234567890 1234567890 ... following dire shift-3 cursor position itself after many new space, start line there spaces left between cursor start line. in normal whack shell, dire shift-3 forms £ expected. any thought i form verbatim £ python interactive shell?