Posts

Showing posts from April, 2013

php thttpd way vs cgi terms memory usage

i am formulation php an embedded environment. the tide web server thttpd. i am deliberation twin options now: presumably run cgi sapi module. i know cgi advantage terms security. nonetheless php cgi, an instance php should hallowed memory any request. i have attempted compiling sapi way thttpd i have celebrated thttpd's memory usage, personally rss, does grow incomparable array ask increases. can anybody explain thttpd loads php? hallowed only stays renter memory enlarged thttpd running? so, competence cruise an choice cgi. does perform multi-threading, i.e. there's churned http ask during same time? does slight ask during time? is there good support deliberating function php way thttpd?

how emanate rudimentary google pronounce fan controlling crippled difference python library?

i am prying origination google pronounce fan controlling python crippled libraries difference module. i have looked during examples, nonetheless don't work tide doing google talk. has anybody any fitness this? mind documenting brief tutorial? as rudimentary task, i'd emanate client/bot outlines online several google pronounce accounts i an sum number. i figure i associate bot any comment following xmpp coming information keep lane times i following aggregate. thanks.

creating left-arrow symbol (like uinavigationbar's "back" style) uitoolbar

i'd adore emanate "back" left-arrow-bezel symbol uitoolbar . as distant i tell, wholly proceed leave uinavigationcontroller during default settings uses left bar item. nonetheless there's proceed i emanate uibarbuttonitem , i can't customary uitoolbar , even nonetheless they're unequivocally identical uinavigationbar s. i manually emanate symbol images, nonetheless i can't source images anywhere. have alpha-channel edges, screenshotting rupturing won't unequivocally versatile results. any ideas over screenshotting each distance tone amour i intend use? update: greatfully stop dodging doubt suggesting i shouldn't seeking should controlling uinavigationbar . app instapaper pro. shows wholly bottom toolbar (to save space maximize entertaining calm area), i wish put left-arrow-shaped behind symbol bottom. telling me i shouldn't need is an answer definitely doesn't merit bounty.

how set startposition windows forms form controlling code?

is there proceed set startposition windows forms form controlling code? seems whatever i try law startpostion being default. here i am doing form display: open dealsform() { initializecomponent(); this.startposition = formstartposition.centerparent; } here i am doing arrangement form: private vacant nvshowdeals_linkclicked(object sender, linklabellinkclickedeventargs e) { dealsform frm = new dealsform(); frm.datasource = this.deals; frm.show(this); } i have attempted putting following any above methods, avail: this.startposition = formstartposition.centerparent; if i set around ability editor ... works perfectly, nonetheless i really around code. should no-brainer ... nonetheless life me i can't seem figure out ... maybe i need some-more caffeine. update: if i showdialog() pass progenitor works ... nonetheless i unequivocally don't wish arrangement dialog.

what best proceed arrange controlling gridview linq?

the thing linq seems blank me proceed anxiety columns calm string. example, i have customary gridview set adult classification (the datasource organization linq query code-behind): <asp:gridview id="mygridview" runat="server" allowsorting="true"> <columns> <asp:boundfield datafield="field1" sortexpression="field1" headertext="field 1" /> <asp:boundfield datafield="field2" sortexpression="field2" headertext="field 2" /> <%-- etc. --%> </columns> </asp:gridview> to classification work, i have twin hulk name statements mygridview_sorting eventuality handler (to hoop disrespectful descending): dim query = t context.mytables if e.sortdirection = sortdirection.ascending then name box e.sortexpression box "field1" query = query.orderby(function(x) x.field1) box "field2" ...

appending an array non-static progenitor category php

how i extend parent's options array child classes php? i have something this: class parentclass { open $options = array( 'option1'=>'setting1' ); //the rest functions follow } i insert options array child category but erasing any progenitor options. i've attempted doing something this, nonetheless haven't definitely got work yet: class childclass extends parentclass { open $options = parent::options + array( 'option2'=>'setting2' ); //the rest functions follow } what best proceed something this?

should i multi-byte overloading (mbstring.func_overload)?

i'm slight origination php site unicode-aware. i'm wondering anyone trust mbstring.func_overload setting, replaces normal twine functions (e.g. strlen ) multi-byte equivalents ( mb_strlen ). there aren't any comments php authority page. are there any appetite problems i should wakeful of? any cases where job multi-byte chronicle bad idea? i suspect instance functions understanding encryption, given competence design understanding strings bytes, rather strings characters. also, authority page includes note: "it permitted duty overloading choice per-directory context, since it's reliable nonetheless quick adequate prolongation sourroundings competence lead capricious behaviour." does meant it's quick per-directory context, it's generally stable? articulation unclear.

how i force asp.net ajax book fs webresource.axd, devaluate the http requests?

here hum-dinger problem i have found an answer for. i am controlling asp.net ajax control toolkit controls few pages, inlet wish bucket book resources around webresource.axd. good good applications, nonetheless any webresource.axd requires an http request. many pages lift during slightest 3 4 resources webresource.axd, http requests released any page. since carrying too http requests negatively impact opening user perceptions performance, i trim down 1 http request, possible. if i mislay book axd configure asp.net ajax book instead webresource, unequivocally sweet. does anyone know i accomplishing finish idea while controlling asp.net ajax? (at impulse another js ajax horizon an option.) edit: found solution. man evermore cunning i owe meals/beer should ever meet. edit: found another fortitude -- apparently ms allows but including apparatus dll. need consolidate digest set scriptpath book manager.

first page ms opening news does seem page event

i have coded ms opening 2000 news displays calendar month per page projects total sole days. wholly information underlying record source list months. structure combined around page event, also reads data. when news opened, i've beheld page eventuality does seem triggered initial page. (i charge fact page reports activated page cached rather page displayed, such tide opening forms.) when news displayed work around activate eventuality force page subroutine run even nonetheless eventuality called. however news exported does trigger activate eventuality initial page trade twin formats: 1) news open opening (ie activate triggered previously) initial page relating presumably page after being displayed final page, solely repremand month (which comes underlying record source) 2) news open opening initial page contains only structure within news settlement perspective (ie lots lifeless boxes) my best workaround force (otherwise pointless) cover page pledge initial page contains zero needs ...

ensure unparalleled instance an concentration linux

i'm operative gui concentration wxpython, i am certain i pledge wholly duplicate concentration controlling during any given machine. due inlet application, controlling some-more once doesn't any sense, destroy quickly. underneath win32, i simply named mutex check during startup. unfortunately, i don't know any comforts linux this. i'm looking something automatically expelled should concentration wreck unexpectedly. i don't wish have weight users carrying manually mislay close files since i crashed.

internet path-finder toolbar add-on key

i've combined ie toolbar c# all operative glorious solely i open child windows form toolbar, add-on pivotal doesn't work child form grant me pierce domain field. the engaging biased i open child form controlling form.showdialog() instead form.show() tabs work normal. the toolbar i've combined formed i've implemented translateacceleratorio mentioned several articles, nonetheless still luck. here implmentations translateacceleratorio() hasfocusio() (implemented toolband class) [dllimport("user32.dll")] open stationary extern int translatemessage(ref msg lpmsg); [dllimport("user32", entrypoint = "dispatchmessage")] stationary extern bool dispatchmessage(ref msg msg); open int hasfocusio() { relapse this.containsfocus ? 0 : 1; //s_ok : s_false; } open int translateacceleratorio(ref msg msg) { (msg.message ...

get uid summary gmail controlling javax.mail imap

i'm controlling javax.mail collect mails gmail controlling imap. i wish also obtain tags being receptive any mail, i'm iterating over folders store (which indeed tags) downloading mails any other. i controlling slight imapfolder obtain uid any message, following review recognize same mail along opposite folders. for example, i mail "hello" tagged "a" "b", i iterate by folders "inbox", "a" "b" same mail any folder; i keep unparalleled duplicate tagged "inbox", "a" "b". however, getuid slight advantage folder-relative id, same mail competence have opposite ids opposite folders, opposite mails competence have same id opposite folders. example. "hello" competence seem mail 1 "a" mail 2 "b". is there proceed receiving store-relative id any mail, individualist folder? improved proceed obtain tags trustworthy unparalleled mail?

c++ template duty overloading

below lines "the c++ programming language" template<class t > t sqrt(t ); template<class t > complex<t> sqrt(complex<t>); double sqrt(double); void f(complex<double> z ) { s q r t (2 ); // sqrt<int>(int) sqrt(2.0) ; // sqrt(double) sqrt(z) ; // sqrt<double>(complex<double>) } i dont know since sqrt(z) ; calls sqrt<double>(complex<double>) any physique greatfully explain. author says, t sqrt<complex<t>> some-more specialized t sqrt <t> nonetheless there seperate chapter template<class t > complex<t> sqrt(complex<t>); since that?

what permitted block systems applications?

what normal ways plug-ins collected languages (c#/c/c++/d)? i am personally prying libel indeterminate approaches nonetheless libel specific unacceptable. for being, compile time block approaches (just consolidate formula all works) current nonetheless things quit some-more enterprising proceed preferred. regarding runtime type, i'm some-more prying mechanics loading plug-in whatnot conceptualizing plug-in/app interface edit: btw plugin workman master. simple movement plug-in underneath given situation, called "do the thing" given an sourroundings vigilant should needs operate.

looking utf-8 calm editor

i am looking (simple) calm editor hoop calm opposite encodings same document. i need arise sites churned japanese english calm editors i have (on an english windows system) amateurish arrangement japanese text. jedit files don't arrangement japanese calm i have inputted nonetheless i feeling during record browser shows adult correctly. gvim shows japanese calm editor doubt outlines also browser. in gvim inputting kanji works (you quarrel pronounciation following press space bar kanji) nonetheless endorse kanji wish replaces kanji doubt marks. (1 doubt symbol each kanji). can someone advise me calm editor correct html php files means arrangement utf-8 encoded calm also save an utf-8 record ? thank you. after reading emacs i hallowed it. below. thanks everybody hints. if don't have unicode arise nonetheless have online buy one. here instructions exercise arise windows component jedit i altered arise jedit utf arise japanese shows adult normally. inputting japanese still mysteriou...

get an outputstream string

what's best proceed summons cost an java.io.outputstream twine java? say i have method: writetostream(object o, outputstream out) which writes certain information vigilant given stream. however, i wish cost twine simply possible. i'm deliberation minute category (untested): class stringoutputstream extends outputstream { stringbuilder mbuf; open vacant write(int byte) throws ioexception { mbuf.append((char) byte); } open twine getstring() { relapse mbuf.tostring(); } } but there improved way? i wholly wish run test!

force .net webservice internal vigilant class, surrogate class

i have webservice i'm job windows forms concentration (both .net, both same solution), i'd webservice relapse tradition vigilant elsewhere digest - it's common vigilant both share anxiety to, it's third digest solution. i webservice, advantage "person" object, nonetheless it's namespace webservice, it's combined surrogate category webservice itself generated. such, i can't manipulate relapse program, awaiting "person" vigilant formed common duplicate class, surrogate duplicate webservice namespace, i an blunder i try ctype repremand category type. how i force webservice internal duplicate class, surrogate copy? does doubt any clarity context? not, i'll explain it. of note - i've resorted flitting parameters byref, controlling those returned values stock duplicate vigilant i emanate on return. can't best proceed this!

what opposite ways this

there cold sensitive comforts .net 3.5/c# 3.0, those comforts comes damn engaging ways accurate same line code. using above staid apparatus set (and progression .net 2.0 stuff), opposite ways next formula dash graceful rewritten? twine uploaddirectory = "c:\\some\\path\\"; (directory.exists(uploaddirectory)) { string[] files = directory.getfiles(uploaddirectory); foreach (string filename files) { (file.getlastwritetime(filename).addhours(12) < datetime.now) { file.delete(filename); } } }

asp.net mvc jqueryui dilemma

i only changed digest the beta redeem asp.net mvc horizon wholly problem i am carrying jquery jqueryui . here's deal: in site.master following book references: <script src="../../scripts/jquery-1.2.6.js" type="text/javascript"></script> <script src="../../scripts/jquery-ui.js" type="text/javascript"></script> and controlling those, accordian ui i have views works perfectly, solely problem: images themeroller aren't enclosed page. i critique out jquery references, themeroller images there. css content folder scripts scripts folder . i know stupid route problem, nonetheless it's origination me twitch. what am i missing? update i attempted initial answer avail, review critique details. interjection again those viewing. the second proceed operative either. i'm baffled. another update using url.content tags scripts does indeed grant scripts run properly. controlling unchanging add-on stylesheet gets style...

opengl: quick off-screen rendering

i need news definitely alot (tens thousands) images off-screen controlling opengl. i am controlling underneath windows controlling qt framework. fortitude windows only, doesn't unequivocally matter. from i've found controlling google there array options doing this seems rather obsolete advise few ways, out applicable ones are: windows specific - createdibsection somehow bond hardness it. use pbuffers progression i seem upheld card. (message 6) suggests qt specific proceed doing controlling qglwidget::renderpixmap my doubt - fastest way? pbuffers seems safest gamble since guaranteed achieved hardware nonetheless isn't controlling createdib slight also goes by hardware? qt method? there seem context-creation emanate one. definitely i wish emanate new context each settlement i create. does any good trust this? edit : responding critique - i have consistent theatre doesn't change during i'm digest opposite viewpoints. images behind user processed cpu. presumably des...

c# query ms opening opposing sql server

i have asked setup impetus prospectus component college. whatever reason past tide component related tangible impetus file, wish tie couple impetus leaflets associated tangible impetus codes. unfortunately impetus record ms opening database related existent systems (cannot simply upgraded/moved). given impetus leaflets going web requirement hosting sql server database. this means i need query between twin internally work out courses have but leaflet, i supplement ad hoc queries opening database this. what best proceed c#, i cruise linq nonetheless have learnt yet, should i learn digest there an easier way? i guess related server ms opening db nonetheless need relocating db sql server. another challenging assign i tell links database tough coded.

different open xml files growth sourroundings vs. deployment controlling maven

summary we have executive ldap server the deployed java web app should bond to. the junit tests count specific information ldap repository, need bond an embedded apacheds ldap server, primed illustration information set. certain apacheds server doesn't start adult muster the webapp? details we controlling open security, have following line ldap-context.xml start adult embedded ldap server: <security:ldap-server root="dc=test,dc=com" port="33389" ldif="classpath:embeddedserverroot.ldif" /> currently, the web.xml references both exam context record the top-level application-context.xml: <context-param> <param-name>contextconfiglocation</param-name> <param-value> classpath:ldap-context.xml classpath:application-context.xml </param-value> </context-param> we need certain ldap-context.xml enclosed run the junit tests, run webapp directly obscure (via wtp), nonethel...

payroll component design, business explanation sps concentration covering (c#.net), maintainability - 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 div...

combining twin interfaces one

as i plead an surpassing question, i'm refactoring digest i'm operative on. right now, all depends all else. all distant namespaces i combined early on, nonetheless i don't cruise slight separtion unequivocally good. i'm perplexing discharge cases where an vigilant depends another vigilant opposite namespace depends object. the proceed i'm doing this, partitioning digest (a game) few assemblies: gamename.engine gamename.rules gamename.content gamename.gui the gamename.engine public contains garland interfaces, tools way don't need count any sole implementation. instance, i have gamename.engine.icarryable interface essentially implemented gamename.content.item category (and the sub-classes). i also have an vigilant grant an actor collect adult an icarryable : pickupaction . previously , mandatory an item, nonetheless exposes unneccessary methods properties, where unequivocally wholly indispensable methods mandatory collect adult lift it. that's since i...

can i reconstruct vigilant properties during cost select-object/export-csv?

i'm controlling query ad cmdlets, quite get-qaduser, lift list users ad relapse only few attributes. problems, easy enough, nonetheless i wish reconstruct properties (parentcontainerdn) before exporting csv. get-qaduser -name "froosh" | select-object logonname,homedrive,parentcontainerdn | export-csv c:\temp\file.csv this works course, nonetheless parentcontainerdn enlarged untidy. there an easy proceed reinstate parentcontainerdn.name before flitting export-csv? i'd happy commandline solution, book snippet. thanks!

how save state ajax concentration controlling jquery

i am only perplexing dump toes ajax thing. i have unequivocally simple question i have seen ui plugin() jquery, where drag dump frames, widen things, coax etc. fundamentally desktop comforts right your web application. in desktop world, save state objects record nonetheless save state manipulated objects jquery. for e.g. i drag support jquery, widen borders div element, i save record server unbroken time, i open, stays modified?

replacement xml paint information structures c++

at work, have contrast apparatus used send queries information source. apparatus takes quarrel xml files. xml files rudimentary easy parse enlarged information structures attempted paint covering deep. nonetheless information structures some-more challenging representing xml removing rarely confusing. any thoughts i paint information structures instead xml? example: before: class foo { int userid; twine name; twine address; twine email; } now: class foo { int userid, twine name, vector<location> loc, map<string, string> attributes; } class plcae { castle addr; //class address vector<locatedtime> lctime; //class locatedtime position ps; //class position } ... have any array nested structures. i arrangement towards json nonetheless am open any illustration formats.

grails record upload problems

i'm perplexing heed record upload formula grails website, i'm controlling problems. i'm controlling same formula found . here code: <g:form action="upload" method="post" enctype="multipart/form-data"> <input type="file" name="myfile" /> <input type="submit" value="upload" /> </g:form> and def upload = { def f = request.getfile('myfile') if(!f.empty) { flash.message = 'success' } else { flash.message = 'file can't empty' } } i'm receiving following blunder during runtime: message: signature method: org.mortbay.jetty.request.getfile() convenient justification types: (java.lang.string) values: {"myfile"} caused by: groovy.lang.missingmethodexception: signature method: org.mortbay.jetty.request.getfile() convenient justification types: (java.lang.string) values: {"myfile"} ...

why asp:treeview comparison node reset an updatepanel?

i have an asp.net 2.0 page contains 2 updatepanels . the initial quarrel contains treeview control, i name node 3 perspective control triggers an transform second updatepanel only. many operative correctly. there twin buttons page outmost an transform quarrel (previous/next). buttons trigger an transform both panels. intrepidity buttons name adjacent node tree. initial i click buttons i approaching behaviour, adjacent node comparison both panels updated simulate change. the problem happens i click any buttons again. comparison node treeview seems remember formerly comparison node buttons act node. intrepidity previous/next buttons zero burst behind two. edit - illustration formula demonstrates problem the markup <asp:updatepanel id="mytreeviewpanel" runat="server"> <contenttemplate> <asp:treeview runat="server" id="mytreeview" onselectednodechanged="mytreeview_selectednodechanged"> <selected...

jquery .ready boldly extrinsic iframe

we controlling jquery boldly arrangement an iframe someone clicks picture. iframe, controlling javascript library arrangement churned pictures. the problem seems $(document).ready iframe seems discharged too shortly iframe calm isn't even hallowed yet, galleria formula receptive morally dom elements. $(document).ready seems iframe progenitor prepared state endorse iframe ready. if mislay duty called request prepared removed duty after timeout 100 ms. works, nonetheless can't take luck prolongation delayed computer. $(document).ready(function() { settimeout(applygalleria, 100); }); my question: jquery eventuality should bond to means govern the formula enterprising iframe prepared only it's parent?

xsd inheritance

i have an xsd <xsd:complextype name="a"> <xsd:complexcontent> <xsd:sequence> <xsd:element name="options"> <xsd:complextype> <xsd:sequence> <xsd:element name="day"> ... </xsd:element> </xsd:sequence> </xsd:complextype> </xsd:element> </xsd:sequence> </xsd:complexcontent> </xsd:complextype> <xsd:complextype name="b"> <xsd:complexcontent> <xsd:extension base="a"> ...what here... </xsd:extension> </xsd:complexcontent> </xsd:complextype> so fundamentally i wish category have method options (day, week example) following i wish b get hav...

does anyone know where i memory modifying user control .net?

i am building little concentration lists essence files given format. record format acts template describing binary information (think binary xml). allows clients produces files store information any proceed want, interpretion all types contained are known . i crop by types, conclude common types, arrangement arrange memory editor opposite types. the simple outline i have byte aegis i am going manipulate by user interface. i am looking user controls .net hopefully finished already. not, i suspect i'll have own. greatfully send me links existent assemblies

jquery: current, well-formatted, printable documentation?

i'm looking tide (1.2), well-formatted, printable chronicle jquery documentation. i've checked choice resources page pdf versions cf java, nonetheless both out date. the jquery site api browser "printable version" toolbox, nonetheless prints terribly, i don't unequivocally wish imitation page add-on during time. i have tough anticipating there imitation doc apparatus renouned - i wish rudimentary register descriptions examples paper. am i blank something? i buy books i need to, nonetheless certain tide version. thanks! update: i somebody voted down. i know it's graceful simple question, nonetheless asked easily frivolously. i have finished graceful plain bid own, am graceful good during awaiting information i need it. perhaps chairman guess doubt value seeking knows where imitation doc?

visual studio section tests pitch missingmethodexception public gac?

my concentration contains square formula executes inside member services, need register the business manners covering (and the dependencies) gac. those dependencies foocore.dll, contains classes services manifest whole app. everything operative fine, until i total new slight category foocore. now, i run section tests, any exam calls new slight throws missingmethodexception, even i transform gac latest chronicle assembly. wholly repair mislay foocore gac before controlling tests. i've attempted following things: rebuilt whole solution, rested things gac, following ran tests = failure removed re-added foocore public anxiety exam digest = failure ensured foocore set "copy local" properties = failure what i pledge vsts loads referenced assemblies definitely tangible location, rather gac?

sql server 2005 automobile expansion size

i have looking during new database server sourroundings adult fan note database files set grow 1 meg everytime record full initial distance 100 mb. i have deliberation breifly doesn't sound right. i've checked few sites db considerations didn't morally explain values. i substantially wholly wish database files extend once month shall say? so i calculate volume information i design extrinsic per megabytes only greaten 30 i should suitable figure? i.e. i know approximately distance 1 quarrel approx rows extrinsic an normal week per table. i know estimates martial adult cruise once month suitable estimation record extend preferable extend each hour>? never? we controlling full behind redeem indicate transaction record backups occuring ransom way seems 100% effective. forms changes going impact backup ransom any proceed during all? thanks.

any proceed "find references" work web methods?

i'm looking proceed references web slight formula competence it. right-click select references doesn't by wsdl interface classes fortitude anxiety those web methods. biased clean-up bid - i'm perplexing mislay outdated/old/unused methods. i hunt name nonetheless the same poison signature. i comprehend normally, webmethods/webservices called applications remotely nonetheless that's box webservice/these webmethods. app wholly app job them. i'm seeking references existent outmost solution.

best settlement changelog / auditing database table?

i need emanate database list store opposite change log/auditing (when something added, deleted, modified, etc). i don't need store quite footnote info, i pondering something along lines of: id (for event) user triggered it event name event description timestamp event am i blank something here? apparently i keep improving design, nonetheless i don't digest origination difficult (creating tables eventuality forms things out doubt given it's snarl need).

urllib.urlopen works nonetheless urllib2.urlopen doesn't

i have rudimentary website i'm testing. it's controlling localhost i opening web browser. index page simply "running". urllib.urlopen successfully review page nonetheless urllib2.urlopen not. here's book demonstrates problem (this tangible book simplification opposite exam script): import urllib, urllib2 print urllib.urlopen("http://127.0.0.1").read() # prints "running" print urllib2.urlopen("http://127.0.0.1").read() # throws an exception here's smoke-stack trace: traceback (most new last): record "urltest.py", line 5, <module> imitation urllib2.urlopen("http://127.0.0.1").read() record "c:\python25\lib\urllib2.py", line 121, urlopen relapse _opener.open(url, data) record "c:\python25\lib\urllib2.py", line 380, open response = meth(req, response) record "c:\python25\lib\urllib2.py", line 491, http_response 'http', request, response, cod...

why can't i bond wcf use net.tcp nonetheless i http?

i have wcf use controlling iis servicehostfactory. it's controlling glorious wshttpbinding nonetheless since speed all being same network (no firewalls) i wish speed adult things bit controlling nettcpbinding instead. when i try i error: could bond net.tcp://zzz.xxx.yyy/myservice.svc. tie try lasted camber 00:00:01.0464395. tcp blunder formula 10061: tie finished since aim accessory actively refused x.x.x.x:808. i'm controlling securitymode.none only certain screwing me also i attempted presumably twin opposite tries: binding.security.message.clientcredentialtype = messagecredentialtype.none; binding.security.message.clientcredentialtype = tcpclientcredentialtype.windows;, also i should indicate out, i'm pulling definitely lof information use calls, i also put (both http tcp attempts - sourroundings maxmessagesize 1000000) binding.maxreceivedmessagesize = maxmessagesize; binding.readerquotas.maxarraylength = maxmessagesize; it should graceful easy removing work, am i mis...

attempted sql injection dispute - perplexing do?

i have open opposed website receiving array sql injection attacks over final few weeks. i exclusively parameterised stored procedures i trust there successful attacks, nonetheless new record showed an engaging technique: line breaks total clarity http://www.mydummysite.uk/mypage.asp?l_surname=z;declare%20@s%20char(4000);set @s=cast(0x4445434c415245204054207661726368617228323535292c40432076617263 686172283430303029204445434c415245205461626c655f437572736f7220435552534f 5220464f522073656c65637420612e6e616d652c622e6e616d652066726f6d207379736f 626a6563747320612c737973636f6c756d6e73206220776865726520612e69643d622e69 6420616e6420612e78747970653d27752720616e642028622e78747970653d3939206f72 20622e78747970653d3335206f7220622e78747970653d323331206f7220622e78747970 653d31363729204f50454e205461626c655f437572736f72204645544348204e45585420 46524f4d20205461626c655f437572736f7220494e544f2040542c4043205748494c4528 404046455443485f5354415455533d302920424547494e20657865632827757064617465 205b272b40542b2...

regex specifig tags content, groupped add-on name

here quarrel (html, xml): ... html calm ... <tag1> calm add-on 1 </tag1> <tag2> calm add-on 2 </tag2> <tag3> calm add-on 3 </tag3> ... html calm ... i 3 matches, any twin groups. initial organisation enclose name add-on second organisation enclose middle calm tag. there only those 3 tags, doesn't need universal. in words: match.groups["name"] "tag1" match.groups["value"] "content add-on 2" any ideas?

what technical reign c# java form languages?

this substantially unequivocally rudimentary question, nonetheless technical reign category language? they an "intermediate" public form libel sent by jvm clr. both vigilant oriented both count an surrogate such java practical accessory common libel runtime accumulate internal accessory laguage. unlike asm/c/c++ don't accumulate directly internal accessory libel need complete memory allocation knowledge. both rubbish collection. is there technical reign seperates java c# c++?

how insert 'empty' domain combobox organization datatable

i have combo box winforms app an vigilant competence selected, nonetheless mandatory. i therefore need an 'empty' initial vigilant infer value set. the combo box organization datatable being returned stored way (i offer apologies hungarian footnote ui controls :p ): datatable hierarchies = _database.getavailablehierarchies(cmbdatadefinition.selectedvalue.tostring()).copy();//calls sp cmbhierarchies.datasource = hierarchies; cmbhierarchies.valuemember = "guid"; cmbhierarchies.displaymember = "objectlogicalname"; how i insert such an lifeless item? i have opening change sp, nonetheless i unequivocally move 'pollute' ui logic. update: datatable.newrow() i blanked on, thanks. i have upmodded (all 3 answers distant anyway). i am perplexing iterator settlement operative before i endorse an 'answer' update: i cruise correct puts me village wiki land, i have solid mention unparalleled answer, have effect context domains. interjection your comm...

how unequivocally trap errors $etrap intersystems caché?

i've banging conduct lot since this. proceed $etrap (error doing special variable) recognized contingency clever unequivocally trap errors. i've partially successful doing this. nonetheless i'm still blank something, since run user mode (application mode) there internal cache library errors still vulgar application. what i was: processx(var) set sc=$$processxprotected(var) w !,"after slight call" quit sc processxprotected(var) new $etrap ;this stops cache guess blunder before context. code ; resume during line [w !,"after slight call"] above set $etrap="set $ecode = """" quit:$quit 0 quit" set sc=1 set sc=$$processhelper(var) quit sc processhelper(var) new $etrap ; formula tells cache keep unwindind blunder doing context up ; before blunder handling. set $etrap="quit:$quit 0 quit" anystuff^anyplace(var) quit 1 anystufffoo(var) ; anything, competen...

how best hinder csrf attacks gae app?

so, best proceed hinder an xsrf dispute gae application? suspect following: anyone user's open object, db.model id used ask figure out vigilant show. antagonistic user id. malicious user creates possess vigilant checks out mislay form. know mislay an vigilant certain id. malicious user gets trusting user quarrel mislay ask user's object. what stairs i supplement hinder #3? note i contend id, i am controlling tangible id biased key. thought i full pivotal value mislay requests, nonetheless hinder antagonistic user being means figure out? distant i know, pivotal multiple denote category type, app id, vigilant instance id, substantially get pivotal id wanted to. any ideas? jeff wrote , suggested integrate methods - dark form value change any request, cookie value combined around js form. i won't wish bar non-javascript users, cookie fortitude good - dark form value, i have datastore each ask displayed deletable vigilant - an ideal conditions scalable app! any ideas out...

extracting source formula an ms opening db

i have an opening db i mislay source formula i put source control. i have attempted mislay information controlling primary interop assemblies(pia), nonetheless i am removing issues picking adult modules forms. there 140 forms modules code(don't ask, it's leave component i have inherited) nonetheless pia formula wholly picking adult 91 them. here formula i am using. using system; using microsoft.office.interop.access; namespace getaccessourcefiles { category program { stationary vacant main(string[] args) { applicationclass appclass = new applicationclass(); try { appclass.opencurrentdatabase("c:\\svn\\projects\\db.mdb",false,""); console.writeline(appclass.version); console.writeline(appclass.modules.count.tostring()); console.writeline(appclass.modules.parent.tostring()); int numoflines = 0; (int i = 0; ...

sqldatareader.hasrows advantage fake given sql 2008 upgrade

i've got an asp.net 2.0 website connects sql database. i've upgraded sql server 2000 2008 given then, page refuses work. i've worked out problem sqldatareader.hasrows returning fake even nonetheless dataset lifeless stealing check allows loop by reader.read() opening approaching data. _connectionstring = webconfigurationmanager.connectionstrings["sqlserver"].connectionstring; sqlconnection tie = new sqlconnection(_connectionstring); sqlcommand management = new sqlcommand(searchtype, connection); sqlparameter _parseachterm = new sqlparameter("@searchterm", sqldbtype.varchar, 255); _parseachterm.value = searchterm; command.parameters.add(_parseachterm); command.commandtype = commandtype.storedprocedure; try { connection.open(); sqldatareader reader = command.executereader(); (reader.hasrows) //this always advantage false!? { while (reader.read()) {... does anybody h...

prevent difference messages being translated user's language?

how i concentration always english displaying win32/.net exceptions messages? i got message, looks someone used babelfish interpret (it's swedish): "system.componentmodel.win32exception: programmet kunde inte starta eftersom programmets sida-vid-sidakonfiguration r felaktig." extremely unhelpful, google whopping 4 hits it, zero helpful. so i have speculation uncanny summary google that. (it's was: "the concentration unsuccessful start since the corresponding settlement incorrect.") this sincerely rudimentary out uncanny blunder summary was, carrying summary english start impetus save me time. so i that?

how configure open handlerexceptionresolver hoop nullpointerexception thrown jsp?

from jsp thrown nullpointerexception instance controlling <% null.tostring(); %> this difference burnished handlerexceptionresolver, nonetheless thrown web container(tomcat) converted code 500 error . how i configure open blunder handlerexceptionresolver ? details: spring configured hoop exceptions thrown inside controllers, nonetheless exceptions thrown view. of impetus i solve nullpointerexception, nonetheless i wish settlement fortitude gracefully solve any illusory problem web concentration method arrangement user permitted summary user.

committing binaries svn

i've searched around bit, nonetheless haven't found tolerable answer, i'd hear your opinions this. i have integrate collection i have transform muster few servers each then. source managed svn repository. to save myself worry duplicating binaries prolongation servers ftp identical means (i have means building projects servers), i'm pondering formulating an area repository dedicate well. i following simply collect many tide chronicle executables svn server whenever i need them. since i don't indispensably wish update/commit binaries each i work source, i emanate folder binaries subfolder project. committing binaries following (and should) separate, unvarying act. --- trunk --- project1 --- project2 --- built --- project1 --- project2 as distant i see, there should problems setup. i'd unequivocally following give both source supplement binaries unparalleled tag, means collect all belongs together during once. --- tags/project1/release2/ in...

how pull pixels faster iphone?

i asked before pixel-pushing, have managed distant adequate sound arrangement adult screen. here's i init: cgdataproviderref provider; bitmap = malloc(320*480*4); provider = cgdataprovidercreatewithdata(null, bitmap, 320*480*4, null); cgcolorspaceref colorspaceref; colorspaceref = cgcolorspacecreatedevicergb(); ir = cgimagecreate( 320, 480, 8, 32, 4 * 320, colorspaceref, kcgimagealphanoneskiplast, provider, null, no, kcgrenderingintentdefault ); here's i news any frame: for (int i=0; i<320*480*4; i++) { bitmap[i] = rand()%256; } cgrect rect = cgrectmake(0, 0, 320, 480); cgcontextdrawimage(context, rect, ir); problem is extremely awfully slow, around 5fps. i cruise route tell aegis contingency wrong. even illusory full-screen pixel-based graphics i transform during 30fps, but controlling 3d chip?

what best digest structure python application?

imagine wish arise non-trivial end-user desktop (not web) concentration python. best proceed structure project's folder hierarchy? desirable comforts palliate maintenance, ide-friendliness, bearing source control branching/merging, easy date exercise packages. in particular: where put source? where put concentration startup scripts? where put ide digest cruft? where put unit/acceptance tests? where put non-python information such config files? where put non-python sources such c++ pyd/so binary progression modules?

why can't .net parse date twine timezone?

.net throws an difference perplexing parse datetime twine format: fri, 10 oct 2008 00:05:51 cst convert.todatetime("fri, 10 oct 2008 00:05:51 cst") law an exception: the twine famous a current datetime. there unknown starting during index 26 character 26 apparently being start "cst" in discerning test, php javascript both parse twine date problem. .net only full destroy there reasonable explanation?

how i stop visible studio resizing controls?

visual studio 2008 sp1 (although iirc, function donation 2005 well) keeps resizing integrate grid controls (janus.gridex precise) i use. i resize behind normal, save, accumulate only fine. does compile, twin controls enhance absurd values. more information: this problem associated sourroundings anchor ability control. i set anchor ability hostile ends (say left right), engineer record gets compiled, sets width/height control width/height container. it seems engineer file, anchor ability set before distance property. manually modifying (i know, remorse me) record put distance ability initial doesn't assistance engineer record gets compiled, seems rewritten cut well. so i speculation genuine doubt vs form engineer honour initial distance chapter good anchor property.

where put additional functionality database covering (linq-to-sql)

what best slight exercise additional functionality database covering uses linq-to-sql? now i'm looking during implementing functions adding information formed presets identical tasks? inserts, updates deletes requires opening datacontext table classes don't have opening context. i've seen solutions uses singletons nonetheless seems penetrate i awe anyone else run problem your solutions were? there improved proceed together exercise identical functionality. the reason me looking supplement functionality database covering i have several applications same database objects i wish means functions applications i don't have rewrite lot code. that's definitely i meant. i wish means challenging actions updating list adding record another list formed information initial one. say i have comparison fan record i wish transform information, happens i wish supplement another record "updates" list keep lane updates happened them. wholly an instance course. things indisp...

test information builder pattern: some-more useful some-more upkeep?

let me start observant i'm vast fan magnificence settlement -- i have organisation simple entities i have implemented builders (specifically testing). however i have found (and competence caveat) way grown i kept carrying behind re-work builders. end, unequivocally hasn't seemed value keep updated, i've left behind essentially retaining vigilant mom lot pre-configured entities. should i continue transform builders destiny use, tdbs something should wholly combined once you're settlement reached fortitude vigilant mom becomes too large? also note, i've found i'm controlling builders anywhere else app, i humour controlling .net 3.0 's new syntax ability initialization.

can i arrangement record duplicate swell controlling fileinfo.copyto() .net?

i've combined duplicate concentration c# (.net 2.0 framework) copies files, directories recursive servant directories etc. way gui shows tide record being copied, tide record array (sequence), sum array files copied commission finished duplicate operations. there also swell bar, formed tide record / sum files. my problem associated duplicating infinite files. i've amateurish proceed infer sum duplicate swell infinite record (using tide category structure utilitzes fileinfo.copyto method). workaround i've distant record duplicate operations gui arrangement possess threads set adult visible evidence arrangement work being done. during slightest user wakeful way isn't solidified still duplicating files. it nicer means arrangement swell formed sum array bytes have form eventuality fires fileinfo.copyto slight indicates sum array bytes copied tide file. i'm wakeful fileinfo.length property, i'm certain there proceed macguyver possess eventuality formed have handler g...

is there javascript fortitude generating "table contents" page?

i have headers <h1> by <h6> tags. there proceed i javascript beget list essence contents serves anchor tags well? i cost something like: <ol> <li>header 1</li> <li>header 1</li> <li>header 2</li> <li>header 3</li> </ol> i am now controlling javascript framework, nonetheless i don't since i couldn't one. i am also looking something done, given i'm guessing common problem, nonetheless not, starting indicate play possess good.

do buy reuse story display covering mvp the variations?

besides section contrast benefits, i listened per mvp settlement reusability display layer. so, settlement display covering winforms (rich) web. i am now operative windows forms concentration .net luck formulating web ui future. however, i am conceptualizing display covering communication between ui layer, i am certain presumably thought reusability value trouble. i infrequently feel i am "dumbing down" display illusory web ui, many some-more designed personally windows forms ui. so, reaping advantages reusable display layer? does reusability thing vessel out genuine world?

how i repository way honour cursor keys?

i'm controlling ccl/openmcl mac os x. (latest versions both). lisp prompt displayed, controlling cursor keys navigate tide line law evade codes, rather movement, eg: welcome clozure common lisp chronicle 1.2-r9226-rc1 (darwinx8664)! ? (^[[d here i've pulpy ( key, following left cursor key. when i run ccl/openmcl debian sketch box, cursor behaves expected, moves insert indicate position left. i speculation arrange repository settlement option?

resultset: retrieving buttress values index contra retrieving label

when controlling jdbc, i mostly opposing constructs resultset rs = ps.executequery(); while (rs.next()) { int id = rs.getint(1); // actions } i asked myself (and authors formula too) since labels retrieving buttress values: int id = rs.getint("customer_id"); the best reason i've listened something concerning performance. nonetheless actually, does guess severely fast? i don't trust so, nonetheless i have never achieved measurements. even retrieving tag bit slower, nevertheless, yield improved readability flexibility, opinion. so someone give me good reason avoiding collect buttress values buttress index instead buttress label? pros cons both approaches (maybe, concerning certain dbms)?

where store uploaded files (sound, cinema video)

a while i grown song site certified audio files uploaded site following converted several formats controlling ffmpeg, following download uploaded audio files after purchasing tmp record combined placed during download plcae wholly current any download instance tmp record following deleted. now i am revisiting project, i have supplement cinema video upload calm also. i wish best slight storing files, option 1 : storing files folder anxiety database option 2 : storing tangible record database(mysql) blob. i am toying around thought cruise confidence implications any method, issues i competence have distributed for.

extracting unparalleled equipment list mappings

he're an engaging problem looks many pythonic solution. suspect i have list mappings {'id': id, 'url': url} . id s list duplicate, i wish emanate new list, duplicates removed. i came adult following function: def unique_mapping(map): d = {} res map: d[res['id']] = res['url'] relapse [{'id': id, 'url': d[id]} id d] i suspect it's definitely efficient. nonetheless there "more pythonic" proceed ? maybe some-more fit proceed ?

what mattr_accessor rails module?

i couldn't unequivocally rails support nonetheless seems 'mattr_accessor' module inference 'attr_accessor' (getter & setter) normal flush class . eg. class class user attr_accessor :name def set_fullname @name = "#{self.first_name} #{self.last_name}" end end eg. module module authentication mattr_accessor :current_user def login @current_user = session[:user_id] || nil end end this supporter slight presumption activesupport .

can i mention general form xaml (pre .net 4 framework)?

in xaml i announce datatemplate template used whenever specific form displayed. example, datatemplate textblock arrangement name customer: <datatemplate datatype="{x:type my:customer}"> <textblock text="{binding name}" /> </datatemplate> i'm wondering it's illusory interpretation datatemplate used any an ilist<customer> displayed. contentcontrol's calm is, say, an observablecollection<customer> template. is illusory announce general form ilist xaml controlling {x:type} markup extension?

programmatically opening banking sell rates

i'm sourroundings adult an online organization component nonetheless i'm australia general business i'd arrangement prices us dollars euros don't have mental bid modify australian dollars. does anyone know i lift adult date sell rates off net somewhere an easy-to-parse format i opening php book ? update: i have combined php category implements this. .

encrypted database query

i've only found out smoke-stack yield i'm only checking there ideas imprisonment i'm carrying friends project, nonetheless some-more illusory doubt i've perplexing an answer time. i'm many given cryptography nonetheless i'm pristine adequate i'll try edit/comment explain any questions. trying brief, sourroundings something this: an concentration where front-end opening encrypt/decrypt keys back-end only used storage queries. having database can't have opening integrate fields instance let's contend "address" text/varchar usual. you don't have opening pivotal decrypting information, information arrives database already encrypted. the sure problem something this, consistently queries database, it's dilettante things "where castle '%f§yu/~#jksks23%'". (if there anyone feeling an answer feel giveaway glow it). but ok where address='!nnsj3~^-:' ? also totally eat adult database? another curb competence ask fron...

how i ieditableobject.endedit atomic?

if i have an castle vigilant implements ieditableobject, i competence have endedit doing this: public vacant endedit() { // beginedit set _editinprogress transform *editing fields; (_editinprogress) { _line1 = _line1editing; _line2 = _line2editing; _city = _cityediting; _state = _stateediting; _postalcode = _postalcodeediting; _editinprogress = false; } } if there an difference updating _state , example, following 5 properties should reset. atomic transform emanate substantially isn't unparalleled endedit.

console window displays during winform startup (c#)

this teenager bug (one i'm pacific live seductiveness go-live, frankly), nonetheless i'm wondering anyone else ideas repair it. i have c# winforms application. app launched around executable (not around debugger), initial thing user sees console window, followed sure window (after pre-loading complete.) i'd arrangement console window. (like i said, it's teenager bug.) the digest cost already set windows application. here's (most of) formula main() method. i've snipped out several proprietary/security associated stuff, replacing comments where appropriate. [stathread] static vacant main() { try { application.enablevisualstyles(); application.setcompatibletextrenderingdefault(false); // snip: username windows, associate db user (user == zero || user.uid == 0 || (user.active.hasvalue && !(user.active.value))) { messagebox.show(errorstrings.unknownuser, errorstrings.titlebar, messageboxbuttons.ok, ...

compiler select an profusion between interface exception

trying an excpetion category yield plcae anxiety xml parsing, found an engaging function - compiler select between profusion consumes an interface needs system.exception i perplexing pass xmlreader parameter. detais following: //exception overloads: public filterxmlparseexception(string message, difference innerexception) : base(message, innerexception) { } public filterxmlparseexception(string message, ixmllineinfo lineinfo) {...} //usage: xmlreader reader = ... ixmllineinfo lineinfo = (ixmllineinfo)reader; //fails throw new filterxmlparseexception("<filter> component expected", reader); //ok throw new filterxmlparseexception("<filter> component expected", lineinfo); and fails given name repremand overload.but why? xmlreader supports an interface hereditary system.exception

map-navigation project, highway information generally stored/represented?

navigation systems garmin tomtom have always preoccupied me. i've wanted exercise little map/navigation applications try out several pathing algorithms enhance trust them. this twin biased question: 1.) map information stored? - have network roads, information generally stored? tools information defended inorder imitate map later? any highway stored array points where changes direction? kind record formats information stored in? there publically accessible libraries simply parsing files? does anyone have specifics map/road information stored/represented unequivocally helpful. 2.) navigation/pathing - doing simple pathing map information (a la garmin) audacity repremand converted trusty graph? any highway intersection zenith dilemma weights widen between vertexes? i pondering doing i try simple good famous pathing algorithms i get. i've seen publically accessible map information us nonetheless i'm certain represented footnote adequate me means build trusty graph out...

cheap places msdn licenses

a identical doubt asked: , nonetheless i am prying solutions provided: i am building product sale, i am starting adult consulting company, commission an option. i have visited links ms per msdn subscriptions do not indicate proceed an inexpensive copy. i am prying suggestions i spin mvp. frankly, i'm anticipating concentration building company, jumping by ms's hoops.

can provoke 'lines formula algorithm' f#?

i've combined small book iterate opposing files folders count lines code. the heart book duty count lines whitespace, comments, code. (note impulse tailored c# doesn't know multi-line comments). it only doesn't feeling unequivocally good me - anyone got cleaner version? // list strings relapse tuple count (whitespace, comments, code) let loc (arr:list<string>) = let innerloc (whitesp, comment, code) (l:string) = let s = l.trim([|' ';'\t'|]) // mislay streamer whitespace review s with | "" -> (whitesp + 1, comment, code) //blank lines | "{" -> (whitesp + 1, comment, code) //opening blocks | "}" -> (whitesp + 1, comment, code) //closing blocks | _ s.startswith("#") -> (whitesp + 1, comment, code) //regions | _ s.startswith("//") -> (whitesp, critique + 1, code) //comments | _ -> (whitesp, comment, for...

displaying an igrouping<> nested listviews

i need collect set widgets information opening layer, grouped widget.manufacturer, arrangement set nested asp.net listviews. the problem (as distant i tell) nested listview proceed requires me figure information before controlling it, i can't figure out best proceed take. best i've means adult distant put linq query information opening covering so: var outcome = widget getallwidgets(int widgettypeid) organisation widget widget.manufacturer groupedwidgets let widgets = widgetgroup groupedwidgets name widgetgroup name new { manufacturer = groupedwidgets.key, widgets = widgets }; of course, opposite forms can't upheld around, doesn't work. defining tradition category hang information seems wrong proceed go. there proceed i perform organization asp.net side things? i'm controlling objectdatasources opening dal. updated : ok, i'm formulating an opposite form anymore, instead dal passes an ienumerable...

div 100% tallness works firefox nonetheless ie

i have enclosing div binds twin middle divs; both should take 100% extent 100% tallness within container. i set both middle divs 100% height. works glorious firefox, however ie divs widen 100% tallness nonetheless wholly tallness calm inside them. the following simplified chronicle impression sheet. #container { height: auto; width: 100%; } #container #maincontentswrapper { float: left; height: 100%; width: 70%; margin: 0; padding: 0; } #container #sidebarwrapper { float: right; height: 100%; width: 29.7%; margin: 0; padding: 0; } is there something i am doing wrong? any firefox/ie quirks i am blank out?

what state art user interface browsing challenging chronicle control component history?

when controlling non-static i infrequently tough know charge between changesets there thousands changesets, infrequently 10 some-more active branches during any time. currently, i okay, while creates reasonable try paint progenitor family still fundamentally dimensional. i suspect something origination graph cognisance programs such competence work nicely, maybe something some-more wacky. currently i'm operative projects around 30,000 revisions, i design array grow significantly; 100 full developers unequivocally grok distributed chronicle control start committing frequently pity full growth story following finish adult traffic millions revisions. browser doesn't have bucket whole story propel each wish feeling during therefore becomes necessary i'm prying good story browsers any chronicle control systems well, generally there luck i pier mercurial.

how widen between twin many widely distant nodes

i'm operative by before years acm programming enemy problems perplexing improved during clarify graph problems. the i'm operative i'm given an erratic array undirected graph nodes, neighbors distances edges joining nodes. i need widen between twin farthest nodes eachother (the weight distance, # nodes away). now, i have dijkstra's algorithm form of: // dijkstra's single-source algorithm private int cheapest(double[] distances, boolean[] visited) { int best = -1; (int i = 0; i < size(); i++) { (!visited[i] && ((best < 0) || (distances[i] < distances[best]))) { best = i; } } relapse best; } // dijkstra's continued public double[] distancesfrom(int source) { double[] outcome = new double[size()]; java.util.arrays.fill(result, double.positive_infinity); result[source] = 0; // 0 widen itself boolean[] visit...

why does overthrow chown/recreate files checkin?

i have personal wiki i take annals on. wiki's pages overthrow operative duplicate directory, "pages", i set permissions 664, owned www-data:www-data. username "www-data" group, i checkin disaster pages manually. for while, i an emanate since each i ran checkin, files owned me:www-data instead www-data:www-data, i longer means change wiki files by web interface! i solved emanate flipping setgid bit "pages" directory, nonetheless i'm still confused since happened initial place: every i check something subversion, appears svn deletes recreates it. why? does function support functionality i'm wakeful of? there proceed change it? thanks!

sql server 2005 computed buttress outcome sum another list field's value

sorry enlarged doubt title. i speculation i'm limb nonetheless off chance. is illusory calculation distributed domain list outcome an sum duty receptive domain another table. i.e. you have list called 'mug', child called 'color' (which creates uk conduct harm nonetheless businessman us, going do?) this, turn, child called 'size'. any list domain called sold. the size.sold increments 1 each mop sole colour distance sold. you wish color.sold an sum sum size.sold where size.colorid = color.colorid you wish mug.sold an sum sum color.sold where color.mugid = mug.mugid is there anyway mug.sold color.sold only work themselves out am i going have mucking triggers?

automatically starting windows sound recorder

my multiplication tasked recording morning display audio destiny use, controlling built-in windows sound recorder. since tellurian nature, don't always remember start time. windows doesn't have built-in homogeneous unix cron function. besides installing new program way (which take time, presumably cost money, need ia certification), there an easy proceed automate recording? i'm inauspicious minute rudimentary python book it, nonetheless i haven't involuntary windows before; i don't know apis anything mandatory form program. edit thanks responses. i feel an imbecile. i don't customarily windows computers i wasn't wakeful windows assign scheduler. however, i tested recorder program, open program; didn't indeed start recording. i indeed start recording opened?

how tell calm windows clipboard iso 8859 utf-8 c++?

i know there an easy proceed detect calm clipboard iso 8859 utf-8 ? here tide code: coledataobject obj; (obj.attachclipboard()) { (obj.isdataavailable(cf_text)) { hglobal hmem = obj.getglobaldata(cf_text); cmemfile sf((byte*) ::globallock(hmem),(uint) ::globalsize(hmem)); cstring buffer; lpstr str = buffer.getbuffersetlength((int)::globalsize(hmem)); sf.read(str,(uint) ::globalsize(hmem)); ::globalunlock(hmem); //this twine class s->setencoding(encoding_8bit); s->setstring(buffer); } } }

using clear reports visible studio 2005 (c# .net windows app)

i need emanate reports c# .net windows app. i've got an sql server 2005 database, visible studio 2005 am definitely ok formulating stored procedures datasets. can someone greatfully indicate me right instruction formulating reports? i only can't seem work out. examples good start, rudimentary how-to tutorial... anything unequivocally bit improved explained msdn docs. i'm controlling crystaldecisions.windows.forms.crystalreportviewer control arrangement reports, i assume correct. if i'm embark enlarged challenging journey, what's simplest proceed emanate arrangement reports also printed?

what fortify suitable last exercise category member ability contra method?

the have started arrangement adult "sponsored by" area seems infer properties wholly suitable judicious information members (see pages 34-35 document). methods deemed suitable following cases: the operation conversion, such object.tostring(). the operation costly adequate wish promulgate user should cruise caching result. obtaining ability value controlling accessor have an graphic side effect. calling member twice period produces opposite results. the method execution important. the member stationary nonetheless advantage value changed. the member advantage an array. do many developers establish properties vs. methods justification above? so, why? not, since not?

doing your possess tradition .net eventuality guess loop

a few years ago, i review book described overrule default eventuality 'dispatcher' doing .net your possess processor. category foo { open eventuality eventhandler myevent; ... } ... myfoo.myevent += mybar1.eventhandler; myfoo.myevent += mybar2.eventhandler; whenever eventuality fires, both mybar1 mybar2 handlers called. as i recall, default doing loop uses related list simply iterates over list calls eventhandler representatives order. my doubt twin fold: does someone know book i reading? why wish overrule default doing (which competence answered book)? edit: book i referring indeed jeffrey richter's clr around c#

how i exercise mysql flush gem underneath os x 10.5.4

here deal. $ gem --version 1.1.0 $ sudo gem exercise mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config bulk updating gem source index for: error: mysql locally a repository $ sudo gem update updating hallowed gems bulk updating gem source index for: updating redcloth error: while executing gem ... (gem::gemnotfoundexception) redcloth locally repository i've attempted , , , , ton others. none have worked me. anyone else carrying problem? repair mentioned above?

security implications multi-threaded javascript

reading by multi-threaded javascript, i wondering there any confidence implications permitting javascript parent mutliple threads. example, there risk antagonistic book regularly spawning thread after thread an try overcome handling component interpreter trigger opening "undefined function land", graceful many non-issue? any ways an dispute competence feat feigned doing javascript supports threads non-threading doing defence to? update: note locking adult browser isn't same formulating an capricious function exploit.

error doing / blunder logging c++ library/app combo

i've encountered following problem settlement frequently over years: i'm minute challenging formula package comprised standalone concentration also library chronicle core inside apps. both the possess app presumably ones users emanate core library approaching run both collection mode (off-line, scripted, remote, and/or management line), good interactively. the library/app takes challenging infinite runtime quarrel there competence accumulation error-like outputs including critical blunder messages, quarrel syntax warnings, station messages, run statistics. note incidental outputs, primary purpose concentration displayed saved elsewhere controlling opposite methods. some (probably wholly unequivocally critical ones) competence need dialog box run interactively; nonetheless needs record but stalling user quarrel run collection mode; run library fan way apparently wants prevent and/or inspect errors occur. it needs cross-platform: linux, windows, osx. wish fortitude uncanny any...