Posts

Showing posts from February, 2014

.net datatable skips rows load(datareader)

i'm perplexing stock datatable, build localreport, controlling following: mysqlcommand cmd = new mysqlcommand(); cmd.connection = new mysqlconnection(properties.settings.default.dbconnectionstring); cmd.commandtype = commandtype.text; cmd.commandtext = "select ... left join ... where ..."; /* query snipped */ // prepared data datatable.clear(); cn.open(); // fill datatable dt.load(cmd.executereader()); // fill report rds = new reportdatasource("invoicesdataset_invoicetable",dt); reportviewerlocal.localreport.datasources.clear(); reportviewerlocal.localreport.datasources.add(rds); at indicate i beheld news deficient blank record. i've altered few conditions query relapse accurately twin rows and... surprise : news shows wholly quarrel instead two. i've attempted debug where problem i got stranded at dt.load(cmd.executereader()); when i've beheld datareader contains twin annals nonetheless datatable contains wholly one. accident, i've total an o...

c++ template instantiation duty template parameters

i have following problem controlling template instantiation [*]. file foo.h class foo { public: template <typename f> vacant func(f f) private: int member_; }; file foo.cc template <typename f> foo::func(f f) { f(member_); } file caller.cc foo::func(boost::bind(&bar::bar_func, bar_instance, _1)); while compiles fine, linker complains an capricious symbol: void foo::func<boost::_bi::bind_t...> how i instantiate function foo::func ? given takes duty argument, i am small bit confused. i attempted supplement an instantiation duty foo.cc , i am used unchanging non-function types: instantiate() { template<> vacant foo::func<boost::function<void(int)> >(boost::function<void(int)>); } obviously, does work. i conclude someone indicate me right direction. thanks! [*] yes, i review parashift faq lite.

what best proceed emanate tablea habtm tablea charge cakephp application?

i have need emanate functionality grant purebred users associate themselves uses emanate family. database tables feeling something this: db.persons - (bob, jane, timmy, etc) id name email db.persons_persons id person__id_parent person_id_child relationtype_id db.relationtypes - (spouse, child, nephew, etc) id name with structure, i should means mention slip associate jane persons_persons table. record db.persons_persons feeling something (psuedo): id | person_parent | person_child | relationtype 1 | slip | jane | spouse 2 | slip | timmy | child i comprehend means information fragmentation given slip jane married, following child have compared other. however question. doubt presumably database setup 'most-correct' cakephp application.

how emanate / family database?

i have banking table. banking convenient certain equipment wholly whole problem items. for example: 5$ banking pizza 12" and (1l pepsi or french fries) the best i adult couponmenuitems list containing coupon_id bit fields such isor isand. doesn't work since i have 2 groups equipment example. second being union between 2 items. any thought i explanation exercise rudimentary possible? any assistance evidence appreciated! thanks, teebot

protecting user passwords desktop applications (rev 2)

i'm origination nonsense client, i'm evaluating several ways safeguarding user's login information. important: i need strengthen user's information other applications. instance suspect happens bot starts going around dark twhirl passwords hotmail/gmail/yahoo/paypal applications run user's desktop. clarification: i asked before but 'important' apportionment nonetheless smoke-stack 's ui doesn't assistance adding sum after inside q/a conversation. hashing apparently doesn't it obfuscating reversable proceed perplexing bury behind finger plain calm sounds propably promiscuous requiring user form evidence each concentration tiresome any ideas ?

text popping by settlement replacement

i've used customary settlement deputy technique links, (the nested camber technique) nonetheless settlement spin & pristine during edges, underlying calm couple popping through. heres screenshot explains i mean. whats best proceed bury text? i don't wish display:none the bad practice, i feeling sourroundings calm distance 0 also no-no?

is improved some-more targeted stored way fewer parameters?

say i have stored way advantage information name query. i rather opposite cut those law depending parameters i pass through. i'm wondering presumably improved settlement have churned stored procedures take parameters (for example, getxbydate getxbyuser), stored way churned parameters does lot (for example, getx)? the advantage initial choice it's easier maybe faster, nonetheless rubbish idea query repetitious opposing stored procedures needs reliable several places. the advantage second choice query wholly donation once, nonetheless rubbish query some-more challenging harder troubleshoot. what your solutions why?

isn't csrf browser confidence issue?

regarding cross-site ask forgery (csrf) attacks, cookies many used authentication method, since web browsers grant eventuality cookies domain (and domain) page generated another domain? isn't csrf simply preventable browser disallowing such behavior? as distant i know, kind confidence check isn't implemented web browsers, nonetheless i don't know why. i something wrong? about csrf: edit: i cruise cookies should sent http post above case. that's browser function surprises me.

do values go config record database?

there churned values i have storing asp.net configsections sections any "module". i have wondering even go files during all. the credentials stands at: churned instances web concentration deployed. same database nonetheless have possess settings. i'm certain differences between growth prolongation config files. values i know should include: tie strings, providers use, sourroundings debug, etc. i have factored out common pieces classes possess manners methods. pieces left diverse settings any way any site. options i'm capricious include: for modulea, show/hide option for moduleb, vernacular used field for modulec, grant finish user perform x action

mysql, reading explain statement

i have query starting means pleasantness application. i'm perplexing know explain matter improved know where indexes potentially missing: +----+-------------+-------+--------+---------------+------------+---------+-------------------------------+------+---------------------------------+ | id | select_type | list | form | possible_keys | pivotal | key_len | ref | rows | additional | +----+-------------+-------+--------+---------------+------------+---------+-------------------------------+------+---------------------------------+ | 1 | rudimentary | s | ref | client_id | client_id | 4 | const | 102 | controlling temporary; controlling filesort | | 1 | rudimentary | u | eq_ref | primary | primary | 4 | www_foo_com.s.user_id | 1 | | | 1 |...

pros cons controlling md5 crush uri primary pivotal database

i'm building database store information operation objects (such systematic papers, specimens, dna sequences, etc.) have coming online identified url, an identifier such . controlling guids primary pivotal vigilant seems reasonable idea, i've followed controlling md5 crush guid. you'll md5 crush your browser station bar rodent over correct mislay buttons tasty connotea book mark. example, bookmark http://delicious.com/url/e4a42d992025b928a586b8bdc36ad38d where e4a42d992025b928a586b8bdc36ad38d ais md5 crush . does anybody have views pros cons approach? for me an advantage proceed (as opposing controlling an automobile incrementing primary pivotal generated database itself) i have lot links between objects, controlling md5 hashes i store links presumably record (say, outcome information mining/scraping), following import bulk database. same way, database rebuilt scratch, urls objects won't change since md5 hash. i'd acquire any thoughts presumably sounds sensible, ...

send request printer c#

i've given requirement an middle web concentration send papers printer transparently. thought user name nearest printer, web concentration send imitation jobs printer selected. the initial printer have play out opposing canons, questions is: i eventuality request imitation aross network specific canon? form cannon doubt an ir5570 papers conspicuous especially pdfs i'm now operative proceed by terrible, ie wholly criterion developer site, nonetheless i'm kinda anticipating someone indicate me right instruction indicate me during 3rd jubilee public :)

visual c++ 2008 'release' build contains debug information

i've beheld generating new c++ digest controlling ms visible studio 2008, release build contains debugging black - personally following settings enabled: the c++/general/debug information format set program database . the linker/debugging/generate debug info sourroundings set yes . i have never beheld surpassing releases visible studio. so, generating incomparable exe file, there any downside withdrawal settings enabled?

why don't c++ compilers interpretation operator== operator!=?

i am large fan permitting compiler many work possible. minute rudimentary category compiler give following 'free': a default (empty) constructor a duplicate constructor a destructor an assignment user ( operator= ) but can't seem give any comparison operators - such operator== operator!= . example: class foo { public: std::string str_; int n_; }; foo f1; // works foo f2(f1); // works foo f3; f3 = f2; // works if (f3 == f2) // fails { } if (f3 != f2) // fails { } is there good reason this? since behaving member-by-member comparison problem? apparently category allocates memory following you'd wish careful, nonetheless rudimentary category definitely compiler you?

usercontrol symbol - uc total boldly another page

usercontrol symbol - uc total boldly another page i messy symbol handler. ie: i have 1 usercontrol 1 symbol - symbol an eventuality handler formula behind. i supplement usercontrol page programatically symbol handler does fire. any thought an easy proceed repair this. typically ive total controls boldly page, i've re-wire eventuality handlers each post back, nonetheless i anticipating given symbol contained usercontrol uc total boldly i wouldnt messy - doesnt seem box - there improved proceed this? usercontrol eventually have buttons i dont wish have re-wire everytime page boldly adding usercontrol.

storing c# information structure sql database

i am new universe asp.net sql server, greatfully atonement irrationality ... if i have information structure c# (for e.g. let's only say, settlement stores strings), illusory store essence settlement sql table? i wish quick modify information behind settlement form quick illusory but carrying make component element. roughly minute binary information record following reading duplicating an allocated structure c. i've combined list sql server 2008 domain tangible varbinary(max). i guess i'd start that. could someone arrangement me an instance i storing retrieving settlement of, say, 10 strings, field? even illusory (i can't cruise since not)? thanks!

can i out relapse value before returning while debugging eclipse?

is illusory relapse value slight after line run before instruction pointer advantage job function? i am debugging formula i can't cgange (read: don't wish re-compile third jubilee library) , infrequently jumps formula i don't have source relapse countenance side effects stop me being means only run countenance display tab. often relapse value used devalue statement, variables perspective never arrangement me value (hence wanting outcome before control advantage job function). update: i can't countenance spectator there side-effects statement.

python/editline os x: £ pointer seems organization ed-prev-word

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 shift-3 python interactive shell, i seem plead before function, i.e. cursor pierce start final word (i.e. space-delimited item) typed line. im behind whack shell, typing shift-3 only produces £, expected. this chronicle python apparently uses editline the interactive shell, opposing readline. im guessing default editline pivotal bindings binds shift-3 (or whatever editline sees i form shift-3) ed-prev-word command. ive attempted few things ~/.editrc record mislay binding, dont have any effect: bind -r £ bind -r \243 bind -r \156 and another causes sight error: bind £ \243 any ideas?

sharepoint firefox 3

i cruise many sharepoint developers administrators know change form firefox 2 firefox 3 functionality sharepoint have became unavailable. especially adding webparts site controlling peoplepicker don't work anymore firefox 3. i wish know understanding problem your users angry carrying ie same functionality firefox 2. it's definitely plain me illusory full functionality firefox nonetheless good during slightest same firefox 3 got before firefox 2. or there any workarounds firefox 3 operative sharepoint properly?

how change impression an element/container concentration "inside" it?

suppose have formula this: <div class="notselected"> <label>name <input type="text" name="name" id="name" /> </label> <div class="description"> tell us what's your name us means feign your associate eventuality an email. </div> </div> now suspect i've something (it's only an example) any component form. i'd change impression notselected comparison when: user concentration quarrel element user pierce rodent over notselected div when change concentration comparison div should became notselected again. i'd something increment distance calm comparison div. anyway cold changes too i'd move change category attribute. what best proceed something javascript? there any javascript horizon boost me doing thing? easy supplement effects declining etc... i downloaded mootools nonetheless quick review docs i but carrying specific id ...

threads per processor

in java, there programmatic proceed out indicate threads upheld cpu? update to clarify, i'm perplexing furnish cpu threads i am wakeful runtime.getruntime().availableprocessors() function, provides me biased information i'm looking for. i wish out there's proceed automatically balance distance thread pool that: if i'm controlling 1-year aged server, i 2 threads (1 thread per cpu x an erratic multiplier 2) if i switch an intel i7 quad core twin years (which supports 2 threads per core), i 16 threads (2 judicious threads per cpu x 4 cpus x erratic multiplier 2). if, instead, i 8 core ultrasparc t2 server (which supports 8 threads per core), i 128 threads (8 threads per cpu x 8 cpus x erratic multiplier 2) if i muster same program cluster 30 opposite machines, potentially purchased during opposite years, i don't need review cpu specs set settlement options each unparalleled them.

sitecore's "latest" item

a whole settlement doubt sitecore 6... lets contend have conditions where have 10,000 equipment implementing press release template. equipment stored sitecore during /sitecore/content/home/press/* . the homepage, wed arrangement information concerning 3 many new press releases. were looking make something homogeneous sqls: select tip 3 * pressreleases method releasedate reading by sitecore query documentation, sounds decrease query contingency burnished the c# application. something like: public item[] getrecentpressreleases() { twine query = "/sitecore/content/home/press/*"; item[] equipment = sitecore.context.database.selectitems(query); array.sort(items, new pressreleasedatecomparer()); relapse items.take(3).toarray(); } it seem loading 10,000 sitecore equipment database memory following classification each the homepage strike unsuited opening perspective. is there some-more fit proceed demonstrate query? should i focused cost caching and/or pre-calculating?

what's many unfair way you've maintain?

i intermittently am called on maintain work component built genuine rocket surgeon. there's many wrong it's tough know where start. no, wait, i'll start during beginning: early days project, engineer told component need scale, he'd review source scalability problems trade between concentration database servers, finished certain minimize traffic. how? putting concentration explanation sql server stored procedures. seriously. good bulk concentration functions html front finish formulating xml messages. center tier receives an xml message, uses request element's add-on name name stored way should call, calls sp, flitting whole xml summary parameter. takes xml summary sp advantage returns directly behind front end. there explanation concentration tier. (there was formula center tier countenance incoming xml messages opposing library schemas. nonetheless i private it, after ascertaining 1) wholly little handful messages analogous schemas, 2) messages didn'...

best list / enum driven slight job system

consider i'm interfacing an outmost component send summary (db table, summary queue, web service) format. "message header" there "messagetype" array 1 20. messagetype defines rest message. there things new, modified, deleted, canceled... my initial desire setup an bulletin interpretation types. following parse array an enum type. an enum i setup customary switch box component sole slight any summary types. one large pleasantness maintenance. a switch / box component massive teadious but, it's unequivocally simple. various list / settlement systems challenging someone else grok supplement new messages tweak existent messages. for 12 messagetypes switch/case component seems definitely reasonable. reasonable cut-off indicate switch list driven system? what kinds systems deliberate best doing forms problems? i'm sourroundings add-on both c# java here since it's definitly common problem. there languages same issue.

window.scrollmaxy x - set firefox 3?

window.scrollmaxy set around ability ie comparison versions firefox, nonetheless perplexing ff3 says "cannot set ability wholly getter". what alternative? edit: the reason since i'm seeking i'm controlling unequivocally terrible js combined someone else, duty keep div centered page while scrolling, line: // fixes firefox incrementing page tallness while scrolling window.scrollmaxy = scrollmaxy obviously doesn't work, nonetheless sure emanate page scrolled, grows length.

hosted .net runtime window focus, problem inconsistencies

we have win32 concentration hosts .net runtime opens adult .net managed forms win32 apportionment application. these windows always uninterrupted modal windows. on machines, windows closed, win32 window lies behind does focus, nonetheless gets sent behind word, outlook, whatever else competence have open. also, sometimes, open such .net form, following alt-tab application, following click taskbar idol the app, win32 window appear. impetus still sharp modal .net window close, impetus unusable. alt-tab something else only minimize thing, following the .net window reappears. the unsuitable biased occurs wholly machines, all. machines, cave included, works accurately expected. concentration right window works each time. i don't doubt have finished something wrong, nonetheless i can't figure out problem is. does anyone have any thought i should looking for? we've looked during .net runtimes installed, given twin such machines where works nonetheless both developer machines, encl...

wcf over msmq working

i have tasked exercise wcf use creates netmsmqbinding. i wrote use works fine. problem final footnote told me there active office integration. i don't know configure confidence service. there vpn shelter between service's client's machines nonetheless same active directory. greatfully advice. any kind assistance tutorials appreciated. the problem use always online. since controlling wcf over msmq comparison scenario. i am eventuality proceed messages by msmq - works fine. wholly problem i am new wcf am informed wcf security. i means pointer encrypt messages given information sent use confidential. i certain wholly certified clients service. any suggestions?

wp-contact form 7 -- php

i don't know many information need this, nonetheless wp-contactform-7 hit form wordpress. default server response summary forms website. i have churned forms opposite server response messages any one. how i emanate opposite server response messages any opposite form i emanate plugin? following dash php formula plugin seems news messages hit form displays: function message($status) { switch ($status) { box 'mail_sent_ok': relapse __('your summary sent successfully. thanks.', 'wpcf7'); box 'mail_sent_ng': relapse __('failed send your message. greatfully try after hit executive way.', 'wpcf7'); box 'validation_error': relapse __('validation errors occurred. greatfully endorse fields quarrel again.', 'wpcf7'); box 'accept_terms': relapse __('please accept terms proceed.', 'wpcf7'); box 'invalid_em...

assembly "is closed correctly." warning

i have mobile .net fortitude solid pointer assemblies. compilation completes but errors nonetheless gives warning 'compactui.business.pocketpc.asmmeta, version=1.0.0.0, culture=neutral, publickeytoken=null' closed correctly. the concentration operative glorious nonetheless i can't open engineer forms controlling public anymore. again engineer says 'compactui.business.pocketpc.asmmeta, version=1.0.0.0, culture=neutral, publickeytoken=null' closed correctly. with smoke-stack information: at microsoft.compactframework.build.asmmetabindingservice.getasmmetaassembly(string sourceassemblypath, boolean verify) at microsoft.compactframework.build.asmmetabindingservice.loadasmmetaassembly(assembly sourceassembly, twine hintpath, idevicetyperesolutionservice resolver) at microsoft.compactframework.build.metadataservice.getasmmetatype(type sourcetype) at microsoft.compactframework.build.metadataservice.gettypeattributes(type desktoptype) at microsoft.compactframework.desig...

tracking down few 'object anxiety set an instance an object.' blunder build

i assistance perplexing lane down an few blunder i've carrying the asp.net digest definitely time. intermittently building solution, build destroy blunder "/: build (web): vigilant anxiety set an instance an object." blunder compared file, line, buttress digest information. uncanny thing blunder divided unbroken rebuilds doesn't seem outcome any run-time errors we've opposing once build successful. infrequently blunder cocktail wholly once, infrequently 3-4 times, nonetheless eventually build finish successfully following seems build only glorious any after. i haven't means spike down settlement since blunder happen, given always eventually builds hasn't vicious problem us. only an annoyance. nonetheless i wish left apparent reasons. i speculation i should supplement an concentration creatively grown asp.net 1.1 converted 2.0 i hereditary somewhere down line after that, i don't know problem creatively surfaced. distant everybody here concerned, it'...

borland x86 inlined assembler; label's address?

i am controlling borland turbo c++ inlined assembler code, presumably turbo assembler (tasm) impression public code. i wish following: void foo::bar( vacant ) { __asm { mov eax, somelabel // ... } // ... somelabel: // ... } so castle somelabel placed eax. doesn't work compiler complains of: capricious representation 'somelabel'. in microsoft assembler (masm) dollar representation ($) serves tide plcae counter, useful purpose. nonetheless again does seem work borlands assember (expression syntax error). update: small some-more specific, i need compiler beget castle moves eax consistent during compilation/linking during run time, accumulate "mov eax, 0x00401234". can anybody advise working? update: respond pax's doubt (see comment), bottom castle altered during run windows loader dll/exe pe settlement still relocated windows loader labels castle patched during run loader re-based castle controlling compile/link value tag castle an...

how store various information c++

i'm slight formulating category stores metadata sole information source. metadata structured tree, unequivocally identical xml structured. metadata values integer, decimal, twine values. i'm extraordinary there good proceed c++ store various information conditions this. i'd various customary libraries, i'm avoiding com, ole, sql various forms available. my tide fortitude looks something this: enum metavaluetype { metachar, metastring, metashort, metaint, metafloat, metadouble }; union metaunion { bake cvalue; brief svalue; int ivalue; boyant fvalue; double dvalue; }; class metavalue { ... private: metavaluetype valuetype; std::string stringvalue; metaunion variantvalue; }; the metavalue category several functions receiving now stored various value, nonetheless ends adult origination each query value large retard if/else statements figure out value i'm looking for. i've also explored storing value wholly ...

design hints, payroll system...repost

we conceptualizing payroll date component client. the method targeting hierarchy follows: company -> cluster -> business section (bu) -> section -> employee the income an worker finished adult several income components. each income member 3 manners compared it, calculation order (calculate member % another component, % bound array bound number), an eligibility order (whether an employee/dept authorised component) imprisonment order boundary tha max min component. these manners editable edited user finish user . also manners hereditary top-down, nonetheless tangible during devaluate level, devaluate turn order takes precedence. we have database attendance, leaves, bonuses tables manners also ostensible correlate tables. the fan generating payroll churned clients any hosting removed database instance. competence any have opposite interpretation any member competence have opposite components. we wholly looking support sql server, payroll date an offline activity. we divided on...

is illusory emanate tradition chain openoffice, proceed package java application?

i've got rudimentary java-based ppt->swf sub-project fundamentally works. open source program out there, office great. the thing is, i need exercise oo.o run server mode. i have exercise oo.o, allot program (~160mb) only modify source ppt files an middle format. also, open oo.o distributions height specific i'd unequivocally single, querulous height set files. and, i'd interfer system's tide settings, record progression associations. as things now, digest quite 'software chain friendly'. so, questions are: is illusory emanate tradition chain openoffice? this? how lightweight unimportant i installation? would illusory have truly querulous height chain given there oo.o ui? are there any chartering issues i need wakeful of? (on list things check out, nonetheless already following tia!)

how i unicode characters pod perldoc?

i need utf-8 characters perl-documentation. if i use: perldoc mymod.pm i uncanny characters. i use: pod2text mymod.pm everything fine. i ubuntu/debian. $ locale lang=de_de.utf-8 lc_ctype="de_de.utf-8" lc_numeric="de_de.utf-8" lc_time="de_de.utf-8" lc_collate="de_de.utf-8" lc_monetary="de_de.utf-8" lc_messages="de_de.utf-8" lc_paper="de_de.utf-8" lc_name="de_de.utf-8" lc_address="de_de.utf-8" lc_telephone="de_de.utf-8" lc_measurement="de_de.utf-8" lc_identification="de_de.utf-8" lc_all=de_de.utf-8 is there howto controlling special characters pod? here little instance controlling german umlauts "just test: ": $ perldoc perl/mymod.pm <standard input>:72: warning: can't impression quarrel formula 159 <standard input>:72: warning: can't impression quarrel formula 150 mymod(3) user contributed perl support mymod(3) nam...

php growth sourroundings best practices

there options comes php growth environments have square together yourself. i'm wondering someone adult cruise ideal setup gets out your proceed lets develop. right i motion svn command-line. i scripts control builds nonetheless i'm pondering looking phing. i adore motion nonetheless i'm extremely pondering perplexing obscure php plugin since i suspect creates common svn options bit easier (moving files around project). something support continual formation database vital plus! update: only wanted highlight before line adult there. i comprehend frameworks assistance this, nonetheless i don't framework. there rudimentary way out there (included ide not) let me simply tie database schemas/data overthrow revision, permitting me rollback forward, tag, branch, etc? any comments things over editor? example: builds, handling staging/production/development environments, involuntary contrast building on svn commit, etc. ideally post "go whoah" sourroundings adult c...

openquery db2/as400 sql server 2000 causing locks

every morning have slight issues countless queries (~10000) db2 an as400/iseries/i6 (whatever ibm calls nowadays), final 2 months, operators have angry the query fur integrate files preventing completing nightly processing. queries unequivocally simplisitic, e.g select [fieldname] openquery('<linkedservername>', 'select [fieldname] [libraryname].[fieldname] where [somefield]=[someparameter]') i am an consultant iseries side residence wondering anyone any understanding close escalation an as400/db2 perspective. id causing close reliable id purebred the related server know the many approaching us since [library] [filename] unchanging query issuing. this only started duty recently. illusory the name statements causing as400 enhance locks? problem being expelled but authority intervention.

how exercise pickled passwords tomcat 5.5

my web concentration relying container-managed confidence i'm wondering it's illusory pickled passwords during all. distant i tell it's easy adequate store eaten passwords database only configuring jdbc datasource realm, nonetheless there's proceed supplement salt those digest. any suggestions? edit: seems i only need cruise some-more before seeking questions ;-) it's only matter selecting who's doing digest calculation (client server) configure tomcat accordingly.

java nio select() advantage but comparison keys - why?

in minute exam formula i have found selector.select() relapse but selector.selectedkeys() containing any keys process. duty avaricious loop i register an accept()ed channel with selectionkey.op_read | selectionkey.op_connect as operations interest. according docs, select() should relapse when: 1) there channels acted upon. 2) definitely selector.wakeup() - keys selected. 3) definitely thread.interrupt() thread doing select() - keys selected. if i keys after select() i contingency cases (2) (3). however, formula job wakeup() interrupt() trigger returns. any ideas causing behaviour?

jquery validation plugin: invalidate validation specified quarrel buttons

i have form churned fields i'm validating (some methods total tradition validation) jrn zaeffere's glorious jquery validation plugin. by-pass validation specified quarrel controls (in words, glow validation quarrel inputs, nonetheless glow validation others)? identical validationgroups customary asp.net validator controls. my situation: it's asp.net webforms, nonetheless replace wish. however, i am controlling validation some-more "recommendation": words, form submitted, validation fires nonetheless instead "required" summary displaying, "recommendation" shows says something along line "you missed following fields.... wish ensue anyways?" during indicate blunder enclosing there's another quarrel symbol manifest pulpy replace validation quarrel anyways. by-pass forms .validate() symbol control still post? the buy sell residence illustration during allows method strike before links, nonetheless does by formulating tradition methods...

how i 3 turn low mysql query?

this competence small tough explain, nonetheless i try. i wish arrangement list categories (stored 1 table), array domains compared any problem (stored another table). the gorilla wrench box any domain set annals compared (which stored 3rd table). i wholly wish arrangement categories have domains compared them, count domains should simulate wholly domains have annals compared (from 3rd table). my tide query select r.rev_id, c.cat_id, c.cat_name, count(d.dom_id) rev_id_count reviews r inner join domains d r.rev_domain_from=d.dom_id inner join categories c d.dom_catid=c.cat_id where rev_status = 1 group cat_name order cat_name this selects repremand problem names, nonetheless shows fake count (rev_id_count). problem 2 domains it, any domain 2 records, arrangement count 4, should 2.

ajax gridview-fu -- accordionpanes work gridviews?

ok, i know someone here attempted ninja-elite turn coding before. radically i wish this: i wish gridview where any quarrel returned becomes header apportionment an asp.net-ajax accordionpane. any quarrel also unparalleled key, click any those acccordionpane headers, spin exhibit calm mirror following open adult another gridview populated information pulled database unparalleled key. now i know someone out there attempted something violent --- doesn't seem insanely hard, feeling cooments domain imitation named awni: <ajaxtoolkit:accordionpane id="accordionpane2> <header> **********each header quarrel database </header> <content> <asp:gridview datasourceid="sqldatasource1"> <columns> **********this gridview populated database query </columns> </asp:gridview> </content> </ajaxtoolkit:accordionpane> is possible?

how i out browser's surrogate settings?

i am minute command-line apparatus windows uses libcurl download files internet. obviously, downloading doesn't work user behind surrogate server, since surrogate needs configured. i wish keep apparatus rudimentary illusory however, have weight user carrying configure proxy. apparatus doesn't even have config file, user differently have pass surrogate settings each command, set an sourroundings non-static somesuch -- proceed too many hassle. so i thought, everyone's browser wholly already set adult properly, surrogate configured everything. loyal even many simple user since differently "their internet wouldn't work". so i figure i out presumably surrogate looking during ie's surrogate settings. how i this? some-more specifically: is there set "proxy settings" windows, used browsers (probably ie's), i have opposite routines ie, firefox, opera, etc? i know i substantially review values directly out suitable registry locations configured manuall...

nearest foregoer node jquery

in javascript experience, i found unequivocally common assign "searching nearest foregoer an component condition (tag name, class,...)". can parents() slight jquery job? method returned elements parents() predictable? top-to-bottom bottom-to-top? for impulse i concentration function: function ancestor(elem, selector) { var $elem = $( elem ).parent(); while( $elem.size() > 0 ) { if( $elem.is( selector ) ) relapse $elem; else $elem = $elem.parent(); } relapse null; } can someone tell me there cunning proceed job?

javascript matter advantage wrong values

does anybody knows since dash advantage false even upheld twine "active"? if ($('status_'+id).gettext()=="active") i've also attempted changing formula to if ($('status_'+id).gettext()==string("active")) and if (string($('status_'+id).gettext())=="active") and still luck. i've also checked $('status_'+id).gettext() by console.log establish unequivocally advantage "active" i awe since doesnt work? any ideas?

microsoft section contrast failure, amateurish bucket dll test

i've got .net 3.5 category lib i am perplexing involuntary tests nonetheless i'm removing following blunder controlling any tests solution: test slight common.tests.commontests.testmethod1 threw exception: system.io.filenotfoundexception: bucket record public 'library.common, version=0.0.1.22004, culture=en-au, publickeytoken=null' the dependencies. component can't record specified.wrn: public contracting logging incited off. to assent public bond disaster logging, set registry value [hklm\software\microsoft\fusion!enablelog] (dword) 1. note: there opening chastisement compared public bond disaster logging. to spin underline off, mislay registry value [hklm\software\microsoft\fusion!enablelog]. i'm sincerely new section contrast i'm stumped. i've compaired references between lib tests digest wholly inadequacy tests digest references ms section exam dll. edit clarify i used exam origination sorceress within 'library.common' digest e...

when sql list alias

i'm extraordinary know controlling list aliases. developers where i work always list aliases, always alias a, b, c, etc. here's an example: select a.tripnum, b.segmentnum, b.stopnum, b.arrivaltime from tour a, shred b where a.tripnum = b.tripnum i remonstrate them, cruise list aliases should some-more sparingly. i cruise should used including same list twice query, list name unequivocally enlarged controlling shorter name query query easier read. i also cruise alias should detailed name rather only letter. above example, i felt i indispensable 1 minute list alias i t tour list s shred table.

copy list (including indexes) postgres

i have postgres table. i need mislay information it. i going emanate surrogate table, duplicate information in, reconstruct indexes mislay rows i need. i can't mislay information uncanny table, since uncanny list source data. box i need law depends deletion x, another case, i'll need mislay y. i need uncanny information always around available. however seems bit stupid reconstruct list duplicate again reconstruct indexes. there anyway postgres tell "i wish finish removed duplicate table, including structure, information indexes"? unfortunately postgresql does have "create list .. x including indexes'

oracle 10g - utl_mail package

i'm carrying bit problem utl_mail package seer 10g, wondering anyone any solutions? i bond db sysman bucket following twin scripts; @c:\oracle\product\10.2.0\db_1\rdbms\admin\utlmail.sql @c:\oracle\product\10.2.0\db_1\rdbms\admin\prvtmail.plb i set adult smtp server; alter component set smtp_out_server='mymailserver.fake:25' scope=both; i extend user mandatory permission; grant govern utl_mail myuser; but following i bond "mytablespace" (where myuser exists), i following blunder i anxiety utl_mail.send; pls-00201: identifier 'utl_mail.send' contingency declared if i prefix sysman nonetheless (sysman.utl_mail.send), works, nonetheless i don't wish way contains trust tablespace hallowed scripts. is there proceed exercise scripts permitted universally, need sysman prefix execute? cheers, chris

java2d opening issues

i'm carrying opening oddities java2d. i know sun.java2d.opengl vm parameter assent 3d acceleration 2d, nonetheless even controlling uncanny issues. here law tests i ran: drawing 25x18 map 32x32 pixel tiles jcomponent image 1 = .bmp format, settlement 2 = .png format without -dsun.java2d.opengl=true 120 fps controlling .bmp settlement 1 13 fps controlling .png settlement 2 with -dsun.java2d.opengl=true 12 fps controlling .bmp settlement 1 700 fps controlling .png settlement 2 without acceleration, i'm presumption kind mutation holding place each drawimage() i software, pulling down fps extremely box .png. since though, acceleration, law switch (and png indeed performs impossibly faster)?! craziness! .bmp settlement 1 translated an settlement form type_int_rgb. .png settlement 2 translated an settlement form type_custom. method unchanging speed but opengl acceleration, i have emanate new bufferedimage an settlement form type_int_argb, pull settlement 1 settlement 2 new image. her...

converting bake twine the underlying information type

i have string(char*), i need the underlying datatype such int, float, double, short, long, only impression array containing alphabets with out digits(like varchar sql). for ex: char* str1 = "12312" char* str2 = "231.342" char* str3 = "234234243234" char* str4 = "4323434.2432342" char* str5 = "i enclose wholly alphabets" given strings, i need initial twine form int typecast an int, on ex: int no1 = atoi(str1) float no2 = atof(str2) long no3 = atol(str3) double no4 = strtod(str4) char* varchar1 = strdup(str5) clarifying bit more... i have twine the essence alphabets and/or digits and/or special characters. right now, i am means parse twine identify contains wholly digits, here i modify twine brief int long, formed best fit. ( how i know twine converted an brief int long? ) only alphabets, leave string. digits unparalleled decimal point. here i need modify twine boyant double ( same doubt here ) other. leave stri...

connect self-signed https web services flex

in digest i need bond an intra-net web use nonetheless need ssl tie between twin machines. because an intra-net site certificate web use competence self-signed certificate. the web use web page loads flex concentration resides same web server (tomcat) i bucket web page concentration https i asked endorse certificate, i endorse nonetheless acknowledgment does ask flex concentration (on internet path-finder firefox). i attempted google's chrome indeed asked me twice confirmation, web page tie web use worked great. is there proceed tell peep actor accept also self-signed certificates wholly pleasantness browser adobe guys can't zero it? in words, there proceed bond self-signed certificates https web services adobe flex??? thanks.

are there good reasons an orm?

during apprenticeship, i have used smaller projects i mostly coded designed own. now, before starting bigger project, contention arose settlement information opening presumably an orm layer. i am still origin still cruise myself amateur craving programming, i unequivocally try pull opinion, that controlling an vigilant relational mapper database palliate growth definitely lot. coders growth organisation many some-more means me, i cruise i only say. :-) however, i totally know twin sure reasons controlling nhibernate identical project: one only build ones possess information opening objects sql queries duplicate those queries out microsoft sql server supervision studio. debugging an orm hard. so, impetus i only build information opening covering lot select s etc, nonetheless here i skip advantage involuntary joins, lazy-loading surrogate classes devaluate maintain bid list gets new buttress column gets renamed. (updating countless select , insert update queries vs. updating mapping c...

how i know component powered on?

i am minute book powers component around network. following i need run few commands host. i know presumably component powered on? my programming libel perl aim horde rhel5. is there any heart miscarry network feet information indicates component powered os loaded? [in opposite scenario] i also wondering only box i only switch accessory manually. accurately conspicuous have powered on. os ostensible have booted totally network associated operation such executing network management there. component dhcp remote component following hunt accessory [i speculation illusory around mac address. nonetheless i am wrong ]. if i have missed out any info greatfully feel giveaway ask me. have any suggestions assign easier greatfully aspect :) thanx imkin

tlistbox drag dump problems multiselect enabled

i have tlistbox multiselect extendedselect both set true. i need means drag churned equipment list box re-arrange them. problem happens user clicks an vigilant already comparison but holding down ctrl change key. case 1: dragmode set dmmanual the preference privileged before rodent down. grant churned equipment dragged. case 2: dragmode set dmautomatic the mousedown eventuality never fires. preference privileged tedious ok, nonetheless user can't pristine preference clicking comparison items. unequivocally causes problem equipment comparison unbroken vigilant user wants name biased tide selection. note problem wholly happens distribute something dragobject onstartdrag procedure. i cruise problem divided onstartdrag wholly start after user moves mouse. i have mouse.dragimmediate := fake set nonetheless i still startdrag discharged shortly i click an vigilant list box. i am controlling delphi 7 digest nonetheless i same function delphi 2007.

reference stationary slight php?

in php, i am means normal duty non-static but problem, nonetheless i haven't figured out stationary method. am i only blank right syntax, possible? (edit: initial suggested answer does seem work. i've extended instance arrangement errors returned.) function foo1($a,$b) { relapse $a/$b; } class bar { stationary duty foo2($a,$b) { relapse $a/$b; } open duty usereferences() { // works fine: $fn = foo1; imitation $fn(1,1); // works fine: imitation self::foo2(2,1); imitation bar::foo2(3,1); // does work ... error: capricious category consistent 'foo2' //$fn = self::foo2; //print $fn(4,1); // does work ... error: capricious duty self::foo2() //$fn = 'self::foo2'; //print $fn(5,1); // does work ... error: capricious duty bar::foo2() //$fn = 'bar::foo2'; //print $fn(5,1); } } $x = new bar(); $x->usereferences(); (i ...

how does weed out dependencies infinite project?

i'm get rather infinite java craving digest infinite volume third jubilee dependencies. there during slightest seventy jars enclosed seem new e.g. spring.jar i know isn't used. it seems over years several developers have proposal on formula bottom have attempted out new project-of-the-month form libraries. how does removing absolved these? within reason course, clearly dependencies useful have re-invent wheel. i'm apparently prying java formed projects nonetheless i'm acquire answers opposing languages cruise helpful.

mapping computed properties linq-to-sql actuall sql statements

i have combined additional functionality linq-to-sql classes things easier i arise applications. instance i have tangible ability retrieves active contracts list contracts. however i try ability lambda countenance whole query presumably throws an difference there sql matter relating ability generates query per vigilant (= lot roundtrips server). the queries themselves overly challenging f.ex: var activecontracts = customer.contracts.where(w => w.contractenddate == null); whereas i review as: var activecontracts = customer.activecontracts; the sure reason me doing since minimize judicious errors biased i destiny wish change defines an active agreement i don't have redo lot code. is there proceed mention ability sql should genereate. there proceed certain workable query below? var singlecontractcustomers = db.customers.where(w => w.activecontracts.count() == 1);

installing asp.net 2.0 after iis

i only got dedicated server hosting company, reason, didn't have iis installed. it have .net 2.0, though. so i hallowed iis, nonetheless asp.net websites won't work. i only 404, eventuality record entries, nothing... i beheld redistributable package information that: "to opening comforts asp.net, iis latest confidence updates contingency hallowed before installing .net framework" i also can't uninstall .net, only won't let me... is there proceed reinstall .net 2.0, somehow whatever it does iis work? thanks! daniel

argument-parsing helpers c/unix

i know following: the princely getopt(3) the extended getopt_long glibc's parser unix-style justification vectors lilliputian digest (or the devout heir ) i'm certain there's some-more i haven't used even listened of; discerning google hunt reveals , , . personally, i argp best, each way i wrote controlling getopt / getopt_long (beyond certain baseline complexity) converted argp . it's some-more widely accessible popt , some-more comprehensive getopt_long , well-documented, unchanging gnu-style conventions, unequivocally flexible. downside, it's distant easiest (thanks being flexible), formula support definitely plain (as things c). what use, why? yes, i meant c rather c++. there ton c++ parsers, nonetheless i don't c++. john millikin annals popt longer maintained. i list since programs still -- including abiword, rpm, rsync, samba -- notwithstanding gnome's efforts . nonetheless i've total couple glib's justification parser now, too. for c...

how perform join figure an settlement controlling php's gd library?

i am operative digest resizes images controlling library. i means supplement choice resize images nonetheless don't wish need something (which join figure ) accomplish this. since there built-in join figure functions gd, is there proceed perform join figure an settlement controlling php's gd library built-in php functions? alternatively, know join figure eventually baked gd?

listcellrenderer banishment events child components

the following listcellrenderer does accept click events nested comboboxes. i need assent something? class filtercellrenderer implements listcellrenderer { open member getlistcellrenderercomponent(jlist list, vigilant value, int index, boolean isselected, boolean cellhasfocus) { filter filter = (filter)value; jpanel filterpanel = new jpanel(); flowlayout plans = new flowlayout(); layout.setalignment(flowlayout.left); filterpanel.setlayout(layout); filterpanel.add(new jlabel(filter.getlabel())); final list<object> options = filter.getoptions(); (options.size() > 1) { jcombobox optioncombo = new jcombobox(new abstractcomboboxmodel() { open int getsize() { relapse options.size(); } open vigilant getelementat(int index) { relapse options.get(index); } }); optioncombo.setselect...

how reimplement jquery's default supporter tradition helper

i'm formulating tradition drag supporter (in jquery): $('.dragme', element).draggable({ appendto: 'body', supporter : custom_drag_helper, opacity : 0.5 }); i'm doing since i wish infrequently reflection infrequently default functionality, i.e. drag uncanny element. function custom_drag_helper() { (/*criteria pierce instead reflection */) { relapse $(this); /* helper: 'original' seems */ } else { reflection = $(this).clone(); /* helper: 'clone' does */ relapse clone; } } but i can't uncanny functionality work during all. relapse clone() works glorious nonetheless relapse $(this) gives joy.

ruby: define_method vs. def

as programming exercise, i've combined flush dash creates class, instantiates twin objects class, monkeypatches object, relies method_missing monkeypatch one. here's deal. works intended: class monkey def chatter puts "i am chattering monkey!" end def method_missing(m) puts "no #{m}, i'll one..." def screech puts "this new screech." end end end m1 = monkey.new m2 = monkey.new m1.chatter m2.chatter def m1.screech puts "aaaaaargh!" end m1.screech m2.screech m2.screech m1.screech m2.screech you'll notice i have parameter method_missing. i since i anticipating define_method boldly emanate blank methods suitable name. however, doesn't work. fact, even controlling define_method stationary name so: def method_missing(m) puts "no #{m}, i'll one..." define_method(:screech) do puts "this new screech." end end ends following result: argumenterror: wrong array arguments...

ripping cd mp3 c# - third jubilee member api out there?

we're operative digest requires ripping audio outlines cds mp3s (ideally also retrieving lane information cddb similar). more credentials information: several song labels send us cds song following broach around an online twine system. we're looking during automating slight converting those cds mp3s full lane information where possible. wish furnish rudimentary desktop concentration allows member editorial staff setup information new song receive. streamline slight we'd consolidate ripping audio retrieval lane information.

which facebook .net library best use?

there list projects , especially . however, i've seen lot catastrophic feedback toolkit seems facebook.net hasn't upgraded latest facebook api. are presumably value using? any good libraries out there? specifically i'm looking library asp.net mvc application. thanks!

upsizing separate opening database

i need upsize separate opening database, i.e., that's now separate between pull mdb files, front-end back-end. i webpages idea say, "run upsizing wizard." first, unequivocally simple question: should i controlling sorceress front-end mdb back-end mdb? i assume i don't wish couple sure mdb -> backend mdb -> sql server. should i run sorceress backend mdb, following frontend mdb change related tables indicate sql server rather backend mdb? so, done? i right-click related list manager list frontend (linked backend md), wholly seems let me select new mdb file.

how jsessionid suppressed oc4j?

i'm deploying jsf (myfaces, restfaces, richfaces) app oc4j. i don't wish jsessionid seem station bar url address. i have managed conceal roughly cases. box i still have problems site initial visited "clean" browser (with cache, history, etc.). case, jsessionid appears each couple until any couple clicked on, following disappears, behind (even unbroken sessions) until browser's cache privileged again. it seems others have run problem, nonetheless i didn't any resolutions work arounds: java servlet - remove jsessionid embedded urls thread: bury jsessionid in first-page url?

how change sharepoint extended web application's web.config file

using sharepoint api, i cgange an extended webapp web.config file? i have changes record mention tie string, membershipprovider, etc... controlling forms authentication. currently, i change "master" webapplication web.config file, nonetheless extended one. edited i'm controlling sp 2007. i'm already controlling spwebconfigmodification category cgange progenitor webapp. thoses modifications propagated extended webapp. i have change wholly extended one. nonetheless i don't proceed it. what i'm perplexing achieve, way small sorceress that: shows webapp list user name one extend comparison webapp opposite zone configure extended section forms authentication thanks

do i need dispose ephemeral disposable objects?

i have category creates several idisposable objects, objects following upheld another 'manager' category 3rd jubilee library. i need objects after calls i kept internal domain anxiety combined objects i opening during after time. i ran fxcop category conspicuous i should exercise idisposable, due disposable objects i kept anxiety to. questions are: should i exercise idisposable class? (or manager's responsibility?) if so, should i wholly dispose objects i kept anxiety to? should i proceed dispose objects i created. my code: public category myclass { classthatisdisposable areference; } public myclass(managerclass manager) { classthatisdisposable transient=new classthatisdisposable(); manager.add(transient); areference=new classthatisdisposable(); manager.add(areference); } public vacant latercall() { areference.method(); }

microsecond accurate (or better) slight timing linux

i need unequivocally accurate proceed tools program. i unchanging high-resolution time this, nonetheless relapse wallclock time, i need: i needthe spent controlling wholly process. i clearly remember observant linux heart patch grant me processes nanosecond accuracy, solely i forgot bookmark i forgot name patch good :(. i remember works though: on each context switch, review out value high-resolution clock, supplement delta final twin values slight controlling process. produces high-resolution accurate perspective process' tangible slight time. the unchanging slight kept controlling unchanging clock, i trust millisecond accurate (1000hz), many too infinite purposes. does anyone know heart patch i'm articulate about? i also remember minute before after -- something 'rtimer' something, nonetheless i don't remember exactly. (other suggestions acquire too) the totally satisfactory scheduler suggested suggested marko i looking for, nonetheless looks promising. problem i ...

ssl certificate www apache (modrewrite) ev

modrewrite simply hoop stripping www off front domain. in .htaccess: rewriteengine on rewritecond %{https} on rewritecond %{http_host} ^www\.(.+)$ [nc] rewriterule ^(.*)$ https://%1/$1 [r=301,l] rewritecond %{https} off rewritecond %{http_host} ^www\.(.+)$ [nc] rewriterule ^(.*)$ http://%1/$1 [r=301,l] but ssl, certificate check comes before .htaccess rewrite, causing certificate error. i rather buy an ssl certificate www wholly route it. can offer me smarter solution? (btw ev certificates accessible wildcards)

problem opening berkeley db python

i have problems opening berkeley db python controlling bdtables. bdtables used library i am controlling opening database, i need work. the problem seems db sourroundings i am perplexing open (i got duplicate database open), chronicle 4.4 while libdb chronicle 4.6. i following blunder controlling bsddb.dbtables.bsdtabledb([dbname],[folder]): (-30972, "db_version_mismatch: database sourroundings chronicle mismatch -- way chronicle 4.6 doesn't review sourroundings chronicle 4.4") however, bsddb.btopen([dbname]) works. i have also attempted installing db4.4-util, db4.5-util db4.6-util. perplexing db4.6_verify law in: db4.6_verify: way chronicle 4.6 doesn't review sourroundings chronicle 4.4 db4.6_verify: db_env->open: db_version_mismatch: database sourroundings chronicle mismatchs db4.4_verify law mechanism only hanging, zero happening. finally, i run db4.4_recover database, works. however, following i following blunder 'no such record directory' python.

what inadequacy between re.search re.match?

what inadequacy between search() match() functions ? i've review (), nonetheless i never seem remember it. i keep carrying feeling adult re-learn it. i'm anticipating someone answer clearly examples (perhaps) hang head. during slightest i'll have improved place relapse doubt take reduction re-learn it.

crossbrowser homogeneous explicitoriginaltarget eventuality parameter

does anyone know crossbrowser homogeneous explicitoriginaltarget eventuality parameter? parameter mozilla specific gives me component caused blur. let's contend i have calm quarrel couple page. calm quarrel focus. i click link, calm input's fuzz eventuality gives me couple component firefox around explicitoriginaltarget parameter. i am fluctuating autocompleter.base's onblur slight bury hunt law hunt domain loses concentration given elements. default, onblur slight hides search-field loses concentration any element. autocompleter.base.prototype.onblur = autocompleter.base.prototype.onblur.wrap( function(origfunc, ev) { var newtargetelement = (ev.explicitoriginaltarget.nodetype == 3 ? ev.explicitoriginaltarget.parentnode: ev.explicitoriginaltarget); // fix: works wholly firefox since event's explicitoriginaltarget property var calloriginalfunction = true; (i = 0; i < obj.options.valideventelements.length; i++) { ($(obj.options.valideventelements[i...

microsoft reportviewer: event lapsed errors

the digest asp.net 2.0, i have never means imitate myself, nonetheless i emails informing me happens clients times week, mostly few times row. here full error: exception details: microsoft.reporting.webforms.aspnetsessionexpiredexception: asp.net event expired stack trace: [aspnetsessionexpiredexception: asp.net event expired] during microsoft.reporting.webforms.reportdataoperation..ctor() during microsoft.reporting.webforms.httphandler.gethandler() during microsoft.reporting.webforms.httphandler.processrequest(httpcontext context) during system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() during system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) event objects:75de8e1d65ff40d1ba666d940af5b118: microsoft.reporting.webforms.reporthierarchy 5210064be1fa4d6abf5dd5e56b262974: microsoft.reporting.webforms.reporthierarchy

in asp.net mvc i confront an crude form blunder digest page repremand typed object

i am building an concentration controlling mvc preview 5. i have used typed views. after sourroundings debug="false", i have found i am receiving errors form: "the denote vigilant upheld the collection type 'blah.models.useradmin.indexdata' but collection requires denote item type 'blah.models.organisationadmin.indexdata'". i errors debug on. it looks mvc horizon caching views perspective name. i have twin actions views same name (albeit opposite namespaces), i wholly movement executed initial successful, second always law error. for example, i have useradmincontroller an organisationadmincontroller. both have an index action. both perspective called index.aspx (each contained controllers perspective folder; views/useradmin/index.aspx views/organisationadmin.index.aspx). both views typed models called indexdata (blah.models.useradmin.indexdata blah.models.organisationadmin.indexdata) if i revisit organisationadmin/index first, i any u...

how rectilinear churned preference function comtl32.dll listview

possible duplicate: the listview comtl32.dll v6.0 does churned preference (when controlling change key) follows (x means selected) 00xxxx xxxxxx xxxx00 earlier versions listview follows : 00xx00 00xx00 00xx00 is there any proceed have initial proceed (the comctl32 v6.0 way)?

can routed events multitrigger?

does wpf support controlling triggers respond routed events nonetheless wholly given condition met? for example, wpf supports triggering routed events by eventuality triggers. ie: <button> <button.triggers> <eventtrigger routedevent="click"> ... </.. </.. </.. however i am looking trigger off wholly given certain condition met. customarily multitriggers public churned conditions. ie: <button> <button.triggers> <multidatatrigger> <multidatatrigger.conditions> <condition binding="..." value="..."/> <condition binding="..." value="..."/> </.. </.. </.. </.. however conjunction multitrigger multidatatrigger seem support triggering routed events. even illusory brew twin concepts routed events conditions xaml?

upgrade quartz 1.6 jboss 4.2.x

is there permitted proceed stand quartz jboss 4.2.x? jboss bundles quartz 1.5.2, nonetheless i have encountered issues (, ) i wish avoid. i wish patch quartz.jar jboss only solve errors, nonetheless instead yield new quartz.jar (plus compared settlement artifacts). wholly enclose information specific quartz, i any additional information during search. it does seem work only put new quartz.jar ear file, since aged chronicle hallowed during server turn (in server's lib directory). i am definitely certain somebody already attempted that, wish chairman share yield links.

how i change 259 bake border inside winforms treeview labeledit?

my vb.net winforms app apparatus grant hierarchical information edited tree, following stored database. i am controlling treeview control. content drag-dropped papers onto treenodes, nodes edited directly. if i correct database domain directly, enter bit calm (a thousand characters enlarged more!), treeview happily arrangement it.. but, i drag drop, information being truncated during 259 characters. i correct directly, border correct 'window' also 259 characters. 259 seems unequivocally uncanny array stop at, i am wondering - where does distance from, i change programmatically?

what max length an informix buttress increased?

i am perplexing emanate list following: create list gtw_workflow_mon ( workflow_name varchar(255) null, workflow_loaded numeric(20) null, activity_name varchar(255) null, flags integer null, monitor_name varchar(255) null, classname varchar(255) null, str0 varchar(255), str1 varchar(255), str2 varchar(255), num0 varchar(255), num1 varchar(255), num2 varchar(255), date0 varchar(255), date1 varchar(255), date2 varchar(255), primary pivotal (workflow_name, workflow_loaded, activity_name, monitor_name) ) it fails due buttress length being infinite enough.

what's border array keys an array php

i'm minute php book where i $lines = file('base_list.txt'); to smack record adult an array. record over 100,000 lines it, should 100,000 elements array, nonetheless i run print_r($lines); exit; the array wholly contains 7280 elements. so i'm curious, wtf? there border volume keys an array have? i'm controlling locally dual-core 2.0ghz 2gb propel (vista & iis though); i'm small confused 4mb record pitch law this. edit: i have substantially should have mentioned i formerly set memory_limit 512mb php.ini well.

creating theatre sourroundings network pier 80 blocked

i now internal web server grant costumers preview applications also grant downloads "nightly builds" open source library. problem i altered isp pier 80 blocked. altough i know i simply change pier apache server, i'd prevaricate unless there's alternative. do know any third jubilee use (free paid) pier disrespectful website, origination pristine someone accessing it? one thought i listened controlling mod rewrite tide webhost rewrite domain, nonetheless i'd also move path. besides that, know any .htaccess examples indeed work? i have attempted this: rewriteengine on rewriterule ^/(.*) http://www.example.com:8080/$1 but doesn't seem working.

.net wcsf ui smoke-stack choice portal formed sites?

we building website arrangement news headlines news. open site initially, nonetheless develop consolidate portal calm personalized web pages. the site also needs build web 2.0 comforts around news stories being displayed, needs extensible rarely customizable, permitting business change templates stories tangible opposite templates formed business explanation etc.. the core business explanation being built controlling windows work upsurge windows communication foundation, looking suitable ui stack, wcsf good choice?

what your mandatory program growth operation manuals?

after reading e-myth revisited, i comprehend i improved office during origination association reduction reliant on me... i spend extensive volume responding stupid questions (silly me, nonetheless required developers office done). i need set handling manuals certain situations... for instance: how build how exam cases how news status how repair bug how hoop support doubt a, b, c, etc... what stalled what appetite goes out (really, i need this) etc... what useful, general handling manuals cruise of, program growth company?and please, have good, short, online versions know of, greatfully post them. i many rather starter authority cgange needs, start scratch.

how run untrusted flush formula inside stable sandbox?

i wish means run unstrusted flush code. i wish means pass variables conspicuous untrusted formula competence use. i also wish conspicuous formula relapse outcome me. here unpractical instance i am thinking input = "sweet" output = nil thread.start { $safe = 4 #... untrusted formula goes here, uses quarrel variable(s) #to calculate outcome places cost variable } #parse cost non-static string. just clarify, i am fundamentally controlling untrusted formula function. i wish provide the inputs, following grant output. i unequivocally want, i don't caring done, i only wish ability untrusted flush formula arrange function. fortitude does have feeling anything formula i wrote above, i am only controlling illustrate i want. now, i now cruise 3 ways this: use $safe turn make above. whytheluckystiff sandbox plugin ruby i run any duty the possess practical machine, controlling arrange os virtualization program vmware xen something. i am wondering anyone any recommendations c...

best place put concentration data?

possible duplicate: please someone recommendation best place (path) put concentration information should permitted editable users. this deliberation both windows xp windows perspective i design change any record above route does trigger uac!

transactional queueing/dequeueing

i need reserve events tasks outmost systems reliable/transactional way. controlling things msmq activemq feeling unequivocally seductive, nonetheless transactional biased becomes difficult (msdtc, etc). we database (sql server 2005+, seer 9+) grasp easier transactional support, nonetheless queuing biased becomes uglier. neither lane seems good filled nasty gotchas dilemma cases. can someone offer receptive superintendence matter? think: e/c/a scheduled assign engine wakes adult each mostly there any scheduled tasks need controlling during (i.e. next-run-date passed, nonetheless expiration-date nonetheless reached).

programmatically rising standalone adobe flashplayer linux/x11

the standalone flashplayer takes arguments .swf record launch management line. i need actor full screen, window borders such. achieved dispute ctrl+f once way started. i wish programmatically i need launch full shade but any tellurian interaction. my speculation i need hoop window following send an eventuality looks "ctrl+f" keystroke. if creates any difference, looks flashplayer gtk concentration i have python pygtk installed. update (the fortitude i used... interjection ypnos' answer): ./flashplayer http://example.com/example.swf & snooze 3 && ~/xsendkey -window "adobe peep actor 10" control+f