Posts

Showing posts from April, 2010

how provoke netbeans performance?

is there genuine proceed netbeans bucket work faster? it too delayed gets worse have coding time. cooking ram. i am windows machine, personally windows server 2008 datacenter book x64, 4gb ram, 3ghz core 2 twin processor, etc. i am controlling x64 jdk. i nod32 antivirus given me best accessory performance. in assign manager netbeans.exe wholly shows some-more 20 mb, java.exe some-more 600mb. my digest j2ee web application, some-more 500 classes, wholly digest libraries enclosed (externals). i conspicuous slow, i meant 3, 4, 5 mins some-more netbeans frozen. is digest only too infinite netbeans, review files state files blunder warnings, svn station more? i invalidate this? illusory set indicate wholly i open file? my cpu customarily during 30 percent collection opened, i meant netbeans, ms sql manager, notepad, xmlspy, assign manager, delphi, virtualbox. netbeans cooking some-more propel virtualized systems. in linux delayed windows same accessory (ubuntu 8.04 x64). it loyal netbeans o...

ignored columns controlling vb6 mislay excel

i am perplexing mislay list values an comparison (2003) spreadsheet controlling vb6, outcome needs stored (adodb) recordset. list looks this: name option.1 option.2 option.3 option.4 option.5 option.6 ----------------------------------------------------------------- name1 2 3 4 name2 2 3 4 name3 2 3 4 name4 2 3 4 name5 2 3 4 name6 2 3 4 name7 2 3 4 name8 2 3 4 name9 2 3 4 5 6 7 upon joining executing query " select * [sheet1$] " even column-specific, " select [option#6] [sheet1$] " (see footnote 1) looping by results, i am given null values quarrel name9 , option.4 --> option.6 rather repremand values 5, 6, 7. seems tie spreadsheet controlling "best guess" last cu...

php opening control system

i am biased organisation formulating web concentration controlling php mysql. concentration have churned users opposite roles. concentration also used geographically distributed manner. accordingly need emanate an opening control component operates during following twin levels: controls user permissions specific php pages i.e. provides denies opening specific pages (or user interface elements) formed user's role. example: user competence certified opening "students" page nonetheless "teachers" page. controls user permissions specific database annals i.e. modifies database queries wholly specific annals displayed. example, user during city level, wholly those annals should displayed news user's sole city, while user during inhabitant level, annals cities republic should displayed. i need assistance conceptualizing component hoop both forms opening control. indicate no. 1 seems rudimentary enough. however, i am totally during detriment indicate array 2 but har...

how i java duty advantage typed instance 'this' works extended?

this bit lazyweb doubt nonetheless repute :-) i have java category advantage instances itself grant chaining (e.g. classobject.dostuff().dostuff()) for instance: public category chainer { open chainer dostuff() { /* things ... */ relapse this; } } i extend class. there way, maybe controlling generics, extend category but carrying overwrite any slight signature? e.g. not: public category chainerextender extends chainer { open chainerextender dostuff() { super.dostuff(); relapse this; } } i have tried: public category chainer { open <a extends chainer> dostuff() { /* things ... */ relapse (a)this; } } public category chainerextender extends chainer { open <a extends chainer> dostuff() { /* things ... */ relapse super.dostuff(); } } but didn't work giving error: type parameters <a>a can't determined; no unparalleled maximal instance exists form non-static top f...

subversion auth: can't opening "collection repositories" page anymore

i can't 'collection repositories" page after adding authentication opening manners svn. 'guest' navigate mydomain.com/svn/public admin both svn/public svn/private, nonetheless zero users /svn. is illusory have 'guest' opening mydomain.com/svn wholly /public link? here's i have setup... subversion.conf: <location /svn> dav svn svnparentpath /home/subversion svnlistparentpath on authzsvnaccessfile /etc/svn-access-file authtype basic authname "subversion repository" authuserfile /etc/svn-auth-file require valid-user </location> svn-access-file: [public:/] guest = r @admin = rw [private:/] @admin = rw [groups] admin = karl.r thanks.

multicast join linux igmpv3

we've run troublesome problem. minute c++ way receives multicast udp traffic. we're slight relocating the applications opposite network sourroundings the operations organisation requested support igmpv3 membership announcements the applications. initial investigations infer linux 2.6 kernels support igmpv3. therefore, i'm unlimited run tcpdump following cost traces: [rtv@myhost]$ sudo /usr/sbin/tcpdump -i eth1.22 igmp tcpdump: listening eth1.22 00:20:09.007094 switch-a.stage > all-systems.mcast.net: igmp query v2 [max resp 20] [ttl 1] 00:20:09.241946 10.129.22.236 > 232.0.1.10: igmp v2 news 232.0.1.10 (df) [tos 0xc0] [ttl 1] 00:20:10.472159 10.129.22.236 > 236.0.1.101: igmp v2 news 236.0.1.101 (df) [tos 0xc0] [ttl 1] 44 packets viewed filter my bargain force heart devaluate chronicle igmp naming non-zero value record /proc/sys/net/ipv4/conf/eth1.22/force_igmp_version; however, i've reliable record 0 value configuration. our concentration controlling follo...

java rmi shutting dale after franchise expiration

my rmi enabled concentration seems leaking sockets. i have java concentration providing use over rmi. controlling java se 1.6 rmi doing controlling linux. problem i am examination fan obtains anxiety remote object, controlling registry, following tie severed abruptly (power loss, wire unplugged, etc...), server keeps dale open. i design rmi doing purify adult after client's franchise expires, nonetheless happening. server, remote object's unreferenced() slight called franchise expires, nonetheless dale stays manifest netstat "established" state indefinitely. since means force clients any specific behavior, after several days dispute default limit, 1024 the linux distro, open record descriptors, causing server spin amateurish open any new sockets files. i guess tcp keepalives, nonetheless given rmi abstracting divided network layer, i don't have opening tangible server dale after tie established. is there any proceed force rmi covering cleanup sockets tied f...

applet - 'java.lang.nullpointerexception: zero pdata' browser closed

i have user gets an blunder summary closes browser. wholly happens visited page contains applet. seems have purebred bug during object nonetheless years ago. controlling java 1.6 ie7. has anyone seen before know fortitude work-around? java.lang.nullpointerexception: zero pdata during sun.awt.windows.wcomponentpeer.hide(native method) during java.awt.component.removenotify(unknown source) during java.awt.container.removenotify(unknown source) during java.awt.container.removenotify(unknown source) during java.awt.container.removeall(unknown source) during sun.plugin.viewer.frame.iexplorerembeddedframe.windowclosed(unknown source) during java.awt.window.processwindowevent(unknown source) during java.awt.window.processevent(unknown source) during java.awt.component.dispatcheventimpl(unknown source) during java.awt.container.dispatcheventimpl(unknown source) during java.awt.window.dispatcheventimpl(unknown source) during java.awt.component.dis...

parsing opposite date formats feedparser python?

i'm perplexing dates entries twin opposite rss feeds by . here i'm doing: import feedparser fp reddit = fp.parse("http://www.reddit.com/.rss") cc = fp.parse("http://contentconsumer.com/feed") print reddit.entries[0].date print cc.entries[0].date and here's out: 2008-10-21t22:23:28.033841+00:00 wed, 15 oct 2008 10:06:10 +0000 i wish indicate where i out newer easily. i've attempted controlling datetime way python poison by feedparser documentation, nonetheless i can't past problem. any assistance many appreciated.

no suitable mysql engineer found jboss application

i am new formulating java web applications came opposing problem perplexing correlate database (called ccdb) by application: java.sql.sqlexception: suitable engineer found jdbc:mysql://localhost/ccdb/ my concentration runs jboss uses hibernate correlate mysql database. i have mysql engineer lib\mysql-connector-java-5.1.6-bin.jar digest i have .jar configured obscure "java ee way dependency" gets copied over web-inf\lib\ i muster jboss by eclipse. i double checked engineer unequivocally .war record project, should findable, right? my hibernate.cfg.xml contains line should indicate hibernate driver. <property name="hibernate.connection.driver_class">com.mysql.jdbc.driver</property> does anyone know i need work? i have configure mysql database jboss datasource work? thanks advance. edit: kauppi's fortitude works, nonetheless i move have lib\ jars, i'm unequivocally extraordinary since won't work way. any ideas...?

low cost technical settlement website backend

i'm looking during opening adult website circuitously destiny aside customary domain registration costs, i'm capricious proceed. i'm awaiting volume information definitely touching looking during webhosts seems while competence offer impassioned bandwidth caps, i've told mostly postpone accounts before strech monthly limit. are there any ways i offload bandwidth complete components removed horde specialises severely complicated information consumption, only keep website elements hosted customary account. while i comprehend carrying possess set server's best, i'm perplexing comparatively cost fit proceed during start.

returning annals partially review value

i'm perplexing query operative takes values (sometimes only initial biased string) form control. problem i have wholly advantage annals full twine typed in. i.e. surname box, i should means form gr, brings adult green grey graham but during donation it's bringing adult anything uless full hunt twine used. there 4 hunt controls form question, wholly used query box filled in. the query : select tabcustomers.*, tabcustomers.customerforname namesearch, tabcustomers.customersurname surnamesearch, tabcustomers.customerdob dobsearch, tabcustomers.customerid membersearch from tabcustomers where iif([forms]![frmsearchcustomer]![searchmember] null ,true ,[forms]![frmsearchcustomer]![searchmember]=[customerid])=true iif([forms]![frmsearchcustomer].[searchfore] null ,true ,[forms]![frmsearchcustomer]![searchfore] [customerforname] & "*")=true iif([forms]![frmsearchcustomer]![searchlast] nu...

infix format nemerle macro

say i need unequivocally special computation operator. competence implemented following macro: macro @<<!(op1, op2) { <[ ( $op1 * $op2 ) ]> } and i like def val = 2 <<! 3 and the work. but i unequivocally wish 'english'-like user dsl im building now: macro @multiply(op1, op2) { <[ ( $op1 * $op2 ) ]> } and i try like def val = 2 greaten 3 compiler fails 'expected ;' error what problem? i exercise infix-format macro?

how calm an html 'datacell' controlling beautifulsoup

i have perplexing frame out information html files. i have explanation coded right cells. i am struggling tangible essence 'cell': here html snippet: headerrows[0][10].contents [<font size="+0"><font face="serif" size="1"><b>apples produced</b><font size="3"> </font></font></font>] note list vigilant python []. i need value apples assembled nonetheless can't it. any suggestions appreciated suggestions good book explains acquire almighty gratitude thanks answer. however-isn't there some-more whole answer. happens cave doesn't have confidant attribute say is: [<font size="+0"><font face="serif" size="1"><i>apples produced</i><font size="3"> </font></font></font>] apples produced i am perplexing learn read/understand support your response help i unequivocally conclude h...

intelligent database search

the emanate there database around 20k fan annals i wish best bid prevaricate register entries. database microsoft sql server 2005, concentration maintains database microsoft dynamics/sl. i am formulating an asp.net webservice interacts database. use insert fan annals database, review annals it, cgange those records. presumably webservice, by ms dynamics, sql server, i give list illusory matches before user confirms new record add. so user quarrel record, seems unique, record save relapse new id. there illusory duplications, user following resubmit acknowledgment saying, "yes, i illusory duplicates, new record, i wish quarrel it". this easy only punctuation space thing (such entering "company, inc." there "company inc" database, nonetheless there slight changes such "company corp." instead "company inc" there fat fingered misspelling, such "cmpany, inc." even illusory relapse annals list? it's definitely possible, i...

castor opening issues

we recently upgraded castor 1.2 chronicle 0.9.5.3 we've beheld thespian dump opening job unmarshal xml. we're unmarshaling java classes generated castor both cases. comparison, controlling relating xml xml unmarshal used take 10-20ms takes 2300ms. there something apparent i competence blank the new castor implementation, maybe ability record i missed should i start looking during reverting aged version? maybe there something java category record date murdering unmarshal call? i competence also cruise castor alternatives there good reason dump preference something else. we're controlling java 1.5 weblogic server.

asp.net mvc beta: before routedata overrides tide routedata?

i have something identical following method: open actionresult details(int id) { var viewdata = new detailsviewdata { opposing = boothrepository.find(id), problem = itemtype.hotbuy }; relapse view(viewdata); } and following route: routes.maproute("shows","shows/{controller}/{action}/{id}", new {id = 0}); everything worked glorious before beta, i preview 3. slight fill id justly initial i govern action. however second controller's modelstate contains last-use id value. causes actioninvoker method's parameter instead route value. so i movement twice twin opposite entities law such: www.mysite.com/shows/booth/details/1 => details(1) www.mysite.com/shows/booth/details/2 => details(1) //from modelstate["id"] from discerning indicate reflection seems initial binds parameters modelstate following routes. however, i never even posted anything model. distant i tell modelstate sh...

iis 7.0 churned domain site bindings

i've got 3 web sites any the possess domain going windows server 2008 iis 7.0 web server. example1.com example2.com example3.com the site bindings each: when i navigate example1.com , following i example1 web site. when i navigate example2.com , following i example2 web site. but, i navigate example3.com , i example1 web site--not example3 web site i expect. what's going on? since competence example2.com work, nonetheless example3.com fail? issue resolved! i private following recreated example3.com web site within iis it's working. i didn't change anything. presumably creatively rudimentary typo act recreating only happened repair hiccup within iis. it's stopped operative again after i setup additional redirects within iis forcing web sites servant domains: http://example1.com/ redirects http://www.example1.com/ i've again private following recreated example3.com web sites; i've reset iis; i've rebooted server. it's still operative correc...

firefox 3 doesn't ask xslt stylesheet, nonetheless browsers do

i'm perplexing offer boldly generated xml pages web server, yield custom, static, xslt same web server, offload guess fan web browser. until recently, i operative glorious firefox 2, 3, ie5, 6 chrome. recently, though, something changed, firefox 3 displays only calm elements source. the page source starts this: <?xml version="1.0" encoding="utf-8"?> <!-- firefox 2.0 internet path-finder 7 uncomplicated feed sniffing overrule preferred display function feed, so grateful insert comment, bit rubbish bandwidth, unfortunately. should pledge following stylesheet guess instruction reputable new browser versions. some-more credentials competence wish revisit following bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=338621 --> <?xml-stylesheet type="text/xsl" href="/webobjects/santapreview.woa/contents/webserverresources/root.xsl"?> <wrapper xmlns="http://www.bbc.co.uk/contentinterface/content" xmlns:cont="...

load dll python

i'm building python concentration source formula i've found i've managed accumulate repair problems poison web, nonetheless i'm stranded during point: when controlling concentration summary appears. this python app, usues tipple couple c/c++ code. i have vc++2005 demonstrate book i used accumulate along scons and python 2.5 ( attempted 2.4 too ) the dlls attempting bucket "msvcr80.dll" since before summary "msvcr80.dll" can't found something that, i got dump window32 folder. for i've review here: the fortitude run mt obvious dll file. i already doesn't work either. could anyone indicate me repremand direction? this calm obvious fie: <?xml version='1.0' encoding='utf-8' standalone='yes'?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestversion='1.0'> <dependency> <dependentassembly> <assemblyidentity type='win32' name='microsoft.vc80.crt...

why linq sql perform improved loyal sql query?

strange opening outcome, i have linq sql query uses several let statements several info looks this open iqueryable<systemnews> getsystemnews() { controlling (var t = new transactionscope(transactionscopeoption.required, new transactionoptions { isolationlevel = system.transactions.isolationlevel.readuncommitted })) { var law = s _datacontext.systemnews let member = getmemberinfo(s.memberid) let integrity = getdetermination(s.determinationid.value) let daimoku = getdaimoku(s.daimokuid.value) let opening = getentry(s.entryid.value) let encouragment = getencouragement(s.encouragementid.value) name new systemnews { newsdate = s.newsdate, memberid = s.memberid, photoid = s.photoid.value, determinat...

best asp.net configsection db schema

previously, settings deployments an asp.net concentration stored churned settlement files underneath web.config config sections controlling key/value format. relocating 'site way options' database accumulation reasons. here twin options mulling over during moment: 1. unparalleled list applicationid, moduleid, pivotal primary pivotal value field. pros: - mimics record access. - easy name whole sections cache hashtables/value objects. cons: - some-more challenging transform given any pivotal needs updated individually. - contingency ban any value it's string. 2. sole tables any domain removed stored procedures, classes, etc. pros: - information guaranteed unchanging given buttress vigilant forms typed. - updating finished tour database by an eloquent interface. cons: - contingency change concentration interface opening - contingency transform objects, database tables, stored procedures any something changes. do presumably sound good ideas there another proce...

loading flex resources family server bottom opposing .swf location

i have infinite (700kb) flex .swf record representing sure record site. for opening contrast i wanted try pierce off jungle s3 hosting (which i have already finished certain videos infinite files). i went disrespectful that, updated html page anxiety remote .swf. it turns out peep bucket any resources family .swf record accessing apparatus - matter bottom html page is. resources being hallowed remote site (where don't exist). there twin apparent things i : * duplicate resources remotely (not prepared given i'm only contrast now) * supplement covering condensation each url .swf accesses get new path. i unequivocally wish crack switch contend 'load all family [original server]'. does such thing exist am i stranded loading everythin remote accessory unless i entirely countenance each path? i wish prevaricate anything 'hacky' : subclass settlement penetrate route there

what sql query perspective arrangement "dynamic columns"

i have list data, i grant supplement meta information table. i give an interface allows provide nonetheless they're adding additional columns list information stored in, nonetheless i'm indeed storing information another table. data table dataid data meta table dataid metaname metadata so wanted list stored data, date, name, following i'd have information data table, "date" metaname, date metadata, another quarrel meta list "name" metaname name metadata. i need query takes information tables presents nonetheless opening unparalleled list twin additional columns "data" "name" fan feeling there's unparalleled list tradition columns: mytable data date name or, words, i here: data table dataid data 1 testing! 2 hello, world! meta table dataid metaname metadata 1 date 20081020 1 name adavis 2 ...

detecting pathogen scanners

we've problems pathogen scanner murdering opening the app negligence down writes an . we'd means detect coming any pathogen scanner warning user appetite problem. biased problem arrangement retue warning users famous opening factors specific systems. the tide idea exam displays warning hoop takes an irrational volume time. does tangible problem, nonetheless cause. so, there any arguable proceed approach detect pathogen protection, doesn't rest ambiguous effects? competence finish adult doing both, nonetheless good screen the 'suggestions'.

styling plane rules

is there nicer proceed styling <hr /> add-on controlling css, cross-browser unchanging doesn't secure jacket div around it? i'm struggling one. the best proceed i have found, follows: css .hr { height:20px; background: #fff url(nice-image.gif) no-repeat confine center; } hr { display:none; } html <div class="hr"><hr /></div>

how emanate twine representing java enlarged nonetheless unsigned 64-bit value

my member handed enlarged value i after pivotal cache. pivotal itself twine illustration enlarged value unsigned 64-bit value. is, member handed -2944827264075010823l, i need modify twine pivotal "15501916809634540793". i have solution, nonetheless seems beast force creates me bit queasy. essentially, i modify enlarged hexadecimal twine illustration (so -2944827264075010823l becomes "d721df34a7ec6cf9") modify hexadecimal twine biginteger: string longvalueashexstring = convertlongtohexstring(longvalue); biginteger bi = new biginteger(longvalueashexstring, 16); string longvaluestring = bi.tostring(); i following longvaluestring pivotal cache. i can't long.tostring(longvalue,16), since advantage conjuration twine comprehensive value, prefixed "-". so convertlongtohexstring looks this: long masquerade = 0x00000000ffffffffl; long bottomhalf = array & mask; long upperhalf = (number >> 32) & mask; string bottomhalfstring = long.tostring(bottomha...

uiview scale 0 controlling cgaffinetransformmakescale

is illusory scale uiview down 0 (width tallness 0) controlling cgaffinetransformmakescale? view.transform = cgaffinetransformmakescale(0.0f, 0.0f); why pitch an blunder " <error>: cgaffinetransforminvert: unparalleled matrix. " ? update: there another proceed scaling down uiview 0 [uiview beginanimations:nil context:nil]; [uiview setanimationduration:0.3]; view.frame = cgrectmake(view.center.x, view.center.y, 0, 0); [uiview commitanimations];

what collection there organic programming c?

i've pondering lot newly doing organic programming c ( not c++). obviously, c procedural libel doesn't unequivocally support organic programming natively. are there any compiler/language extensions supplement organic programming constructs language? gcc provides libel extension; nested functions opening variables progenitor smoke-stack frame, nonetheless still enlarged proceed divided mature closures. for example, thing i cruise unequivocally useful c anywhere where duty pointer expected, means pass lambda expression, formulating closure decays duty pointer. c++0x going consolidate lambda expressions (which i cruise awesome); however, i'm looking collection convenient loyal c. [edit] clarify, i'm perplexing solve sole problem c some-more matched organic programming; i'm merely extraordinary collection out there i wanted so.

wxpython - enhance list control plumb horizontally

i have listctrl displays list equipment user select. works glorious solely ctrl infinite adequate arrangement items, i wish enhance downwards loyal scoll bar rather controlling plane confine bar expands right. the listctrl's creation: self.subjectlist = wx.listctrl(self, self.id_subject, impression = wx.lc_list | wx.lc_single_sel | wx.lc_vrules) items extrinsic controlling wx.listitem: item = wx.listitem() item.settext(subject) item.setdata(id) item.setwidth(200) self.subjectlist.insertitem(item)

do move eloquent namespaces 'using' c++?

when controlling c++ namespaces, move definitely name them, this: std::cout << "hello, world!\n"; or move using namespace : using namespace std; cout << "hello, world!\n"; and if move latter, announce your usings during record duty scope? personally i move definitely name - it's some-more typing nonetheless controlling reduction namespaces (e.g. std boost ) i some-more readable.

firefox 3.03 contenteditable

i'm controlling contenteditable charge div component firefox 3.03. sourroundings loyal allows me correct calm content div, expected. then, i set contenteditable "false", div longer editable, also expected. however flashing caret (text quarrel cursor) stays manifest even nonetheless calm longer editable. caret also manifest i click many calm same page, even normal calm paragraphs. has anyone seen before? there any proceed force caret hidden? (when i presumably resize browser click within another application, back, caret magically disappears.)

c# 3.0 opposite types: naming

i wondering there proceed name rename ability an opposite form consolidate space ability name. example: var resultset = fan customerlist name new { firstname = customer.firstname; }; in instance i firstname "first name". reason question, i have user control exposes open datasource ability i bond opposite different type. operative ideally right now, solely small accountability buttress names being small reduction user permitted (firstname instead initial name).

do c++ stationary libraries but mfc related an mfc digest pitch bad_alloc cmemoryexception*?

i'm operative large, aging formula bottom an mfc app. formula worked developers over time, result, have 3 opposite ways via formula traffic luck an allocation disaster new. the initial proceed exam zero outcome new. don't nothrownew.obj clearly an blunder needs spotless up. the second locate cmemoryexception* (yes, c++ exceptions enabled compiler). i understand, mfc overrides customary user new, throws thing instead. i am sincerely certain second slight repremand mfc concentration itself. mfc overrides new, the uncanny cmemoryexception throwing version. the final comes the bottom good c++, nonetheless aren't neccessarily mfc programmers. throwing const std::bad_alloc&. what i unequivocally don't know design stationary libraries related application. infinite decrease formula uses bad_alloc lives. presumption libraries collected mfc atl, combined customary c++ only, design locate bad_alloc? coming mfc concentration couple contaminate tellurian new user news ...

how pass an array twine by an eventuality an interop user control vb6

i have vb.net control an event: public eventuality passnames(byval names() string) when eventuality triggered vb6, i following error: "function interface noted restriced, duty uses an automation form upheld visible basic" here eventuality vb6: private servant iteropcontrol1_passnames(byval names() string) msgbox "i don't work" end sub is there proceed uses arrays interop user controls?

ssl issues intraweb - delphi 2007

i've perplexing ssl operative iw way final small while i keep controlling adult opposing 'could bucket ssl library'. i've followed each square recommendation i subject, nonetheless still joy. i've attempted suggested dlls both internal office system32. does anyone have decisive answer openssl dlls i should using? build them? any ideas during all? indy: updated many new image yesterday intraweb: batch d2007 installed this controlling perspective machine, creates any difference. tia, trevor

stdcall over-ride visible studio?

in xp 32bit line compiles problem however perspective 64bit line: m_funcaddr = ::getprocaddress (somthing); gives following error error c2440: '=' : can't modify from 'farproc' 'int (__cdecl *)(void)' getprocaddress tangible as winbaseapi farproc winapi getprocaddress (somthing) and m_funcaddr as int (winapi *m_funcaddr)(); from i know both stdcall's. to prevaricate blunder i put m_funcaddr = (int (__cdecl *)(void))::getprocaddress(somthing); my question: if both m_funcaddr getprocaddress have stdcall job party since i have 'recall' cdecl ? is illusory vs digest sourroundings 'default job party (which set cdecl) over-rides assignemet statment above ? thanks advance! [edit] to clerfiy question: on side equation (say side 1) i have int __stdcall * m_funcaddr on side (side 2) int_ptr distant __stdcall getprocaddress so i have ban side 2 cdecl both stdcalls ? or am i removing something ?

distributing stand-alone python web-based concentration non-technical users

i'm minute web concentration python, commanded teachers pupils classroom. it'll run hosted website, nonetheless i also wish means download self-contained concentration exercise locally wish some-more opening simply won't have an internet tie accessible classroom. the users aren't going means control instructions "first exercise python, following exercise dependencies, download .tar.gz repository form commands management line...". i need means emanate an all-in-one form installer potentially exercise python, dependencies (python-ldap), python code, register python-based web server windows service. i've feeling by before questions, nonetheless zero definitely seem relevant. i'm concerned confidence source formula (my concentration open source, i'll sell calm it), i only need non-technical windows users means download concentration fuss. my tide thoughts emanate an installer includes python python-ldap msis, following registers possess rudimentary py...

what proceed web browser promulgate hardware device?

i have information partnership hardware device trustworthy pc around usb i'd send information settings, acquire data, following collect acquired information fan send server. digest web portal promulgate device trustworthy fan pc. i formulation minute dll pronounce device. sourroundings fan windows controlling internet explorer browser. server side windows linux. best proceed promulgate web browser fan client-side device? clarification: initial idea grant fan pc send partnership settings device. settings competence manually entered during fan competence server. second idea acquired information server's database. i don't need arrangement acquired information during client. the hardware device cpu nonetheless unequivocally unparalleled memory. custom promulgate device undetermined, nonetheless i competence opening device usb drive.

jquery selector explanation fails id '.' value. any solution?

i am controlling open forms web application. nested properties, form add-on generates quarrel elements carrying id / name form . for example, chairman management category castle contained the castle domain following city component be, <input type="text" id="address**.**city" name="address**.**city" /> now, problem whenever i try the value controlling jquery, $("#address.city").val(); jquery fails name any suitable component ! please let me know any solution. thanks advance.

is there proceed "hot swap" javascript formula within browser?

is there any apparatus enables "hot swap" javascript essence while executing webpage? i am looking something identical hotspot does java, proceed "hot deploy" new js formula but carrying reload whole page. is there anything out there? clarifying box don't know "hot swap", indicated lock : by "hot swap" i meant permitting me change tools formula contained page itself the .js files. then horizon detect change - presumably automagically denote finish - reload formula dynamically, avoiding new server-side post (reload). that kind proceed foster debugging blunder fixing, given don't need reload page start communication over again, scratch.

updated firefox progression - still says "no updates found."

i am operative new chronicle firefox extension, nonetheless after releasing it, incrementing em:version install.rdf update.rdf, i click "find updates" firefox reports "no updates found." i run debugging on, cost console indeed relating i i don't put transform live. it starts rdfitemupdater:checkforupdates parameters, advantage addon transform finished status: 8. i accurate mccoy apparatus progression signed, same id aged one, etc. i'm certain else try. any recommendation appreciated. firefox 3 (and progression noted congruous it... didn't change).

how i supplement ajax calls mootools class

i have run-down (very slightly) mootools category noobslide () emanate flickr impression photostream. here run-down html (note uncanny above page) print("code sample");<h2>sample 2</h2> <div class="sample"> <div class="mask4"> <div id="box2"> <span><img src="img1.jpg" alt="photo" /></span> <span><img src="img2.jpg" alt="photo" /></span> <span><img src="img3.jpg" alt="photo" /></span> <span><img src="img4.jpg" alt="photo" /></span> <span><img src="img5.jpg" alt="photo" /></span> <span><img src="img6.jpg" alt="photo" /></span> <span><img src="img7.jpg" alt="photo" /></span> </div> </div...

when should web use used?

using web use mostly an glorious architectural approach. and, coming wcf .net, it's removing even better. but, experience, seem cruise web services should always used information opening covering calls database. i don't cruise web services concept solution. i am pondering smaller intranet applications few dozen users. web app the web use deployed web server, web farm. there isn't going another web app destiny sole web service. seems me cost job web use unnecessarily increases weight web server. there opening strike inter-process calls. surpassing debugging formula web app web use some-more complicated. deployment. i only don't advantages controlling web use here. one exam formulating twin versions web app, but web service, highlight testing, nonetheless i haven't finished it. do have an opinion controlling web services small-scale web app's? any occasions web services good architectural choice?

merge formula changes but loyal source control

we have few developers operative same vs2005 solution, nonetheless the source control unequivocally bad. (our association uses harvest, give opinion confidence). right now, we're only operative off files common lan drive. obviously, causes problems. nonetheless cruise it's improved operative locally, tracking files proposal spreadsheet merging all manually. does anybody have plan merging the changes? some problems exist since corporate beaurocracy (like mandating harvest). those same policies hinder introducing new collection the environment. so, strategies prevaricate buying/downloading new program work best us.

tabs possess slight c# winforms

possible duplicate both ie8 google chrome browser have . for example, launch ie8 open yahoo google possess tabs, finish adult 3 processes controlling your system: ie8 itself slight [master process] google add-on slight yahoo add-on process i'm toying thought identical thing c#/winforms. take rudimentary example: i have master slight shows form, i have symbol child process. news symbol slight onto form?

can i parameterize cruisecontrol.net digest settlement such parameters unprotected web interface?

i am now perplexing nant cruisecontrol.net control several aspects program development. currently, nant handles only everything, including replacing sourroundings specific settings (e.g., database tie strings) formed an quarrel aim i mention management line. cruisecontrol.net used build concentration default sourroundings (dev) anytime new formula committed. i also wish cruisecontrol.net plead build additional environments exam stage, nonetheless i wish automatically invoked each dev build invoked (daily) exam theatre deployments occur distant reduction frequently. exam theatre deployments wholly start concentration prepared qa. i simply naming churned projects, any environment. however, i already have projects configured, any harmony within application. i have setup 3 projects any harmony cruisecontrol.net settlement out palm quickly. here question: can i parameterize cruisecontrol.net digest settlement such parameters unprotected web interface? preferably (i think), i have checkbox...

jquery "any row" picker

i'm looking general "row picker" jquery. we've seen cold "picker" collection date pickers, tone pickers, pickers, etc, where click calm box small calendar tone taste time something comes up. name something (like date) calm box following populated value. i unequivocally need an all-purpose "row picker" where stock something (a table, divs, etc) rows information (say list timezones). related calm domain cocktail adult user clicks field. they click quarrel (say timezone), timezone id upheld behind field. anyone know anything does this? thanks!

excel charts - sourroundings array finish dynamically

i've got spreadsheet excess graphs square loads information feeding those graphs. i've plotted information any graph controlling =sheet1!$c5:$c$3000 this fundamentally only plots values c5 c3000 graph. regularly nonetheless i only wish feeling during subset information i.e. i competence only wish feeling during initial 1000 rows example. now i have cgange law any graphs takes time. would know proceed foster this? ideally i only have cave unparalleled square reads quarrel array plots graphs c5 c 'row number' best. any assistance many appreciated.

django custom, non-sql use store models?

can i have tradition use providing storage models i django? use utterance sql. i build web frontend component consists churned services related network formed ipc, provides an interface ordinarily used, determined objects (stored database). the genuine doubt here presumably it's illusory nonetheless presumably sense. example, i finish adult inheriting models.model overwriting each unparalleled method, skipping rest django.db, i speculation wouldn't. the vigilant use competence even finish adult being implemented django, too, nonetheless communication between web frontend controlling sql.

"could bucket type..." upgrading w2k3 iis6

i have c# .net 2.0 concentration controlling w2k/iis5 definitely happily several years. sysadmin organisation now sourroundings adult w2k3 box app, controlling same exercise files, nonetheless controlling dreaded "could bucket type..." error. form doubt category (i.e. formula behind) page being requested. i've review switching .net chronicle 1.1 behind 2.0 repair problem, nonetheless we've attempted luck. any ideas? many info i clarify problem happens during development, controlling app visible studio. thanks, jon.

microsoft mvc "echo/print/output" etc

with asp.net's perspective engine/template aspx/ashx pages proceed removed shade seems be: <%= person.name %> which glorious webforms alot denote information organization controls programatically. nonetheless mvc controlling syntax some-more oftern. the emanate i have definitely trivial, nonetheless irritating presumably way. seems smack adult symbol adult i.e.: <% foreach(var chairman people) { %> <%= person.name %> <% } %> that seems alot opening shutting tags me! other perspective engines mvc contrib have means spitting shade out opening shutting book tags controlling customary keyword such "print, out, echo" i.e. (brail example): <% for component list: cost "<li>${element}</li>" end %> now, i conspicuous competence seem trivial, nonetheless only seems some-more entertaining way. advantages ms carrying syntax, providing cost method? cheers, chris.

how out presumably overthrow operative office sealed svn?

a python book controlling twin together python processes ( combined around os.fork() ) any eventually tries check out overthrow repository root same operative duplicate dir. before controlling 'svn co ...' management sub-process ( around python subprocess way ) progenitor python formula checks operative duplicate dir already exists. os.path.isdir(checkout_dir): # operative duplicate dir already exists relapse checkout_dir so does there shouldn't any 'svn co' running, nonetheless rather clear relapse progenitor function. nevertheless collision happened python processes unsuccessful 'svn co ..' following error. checked-out failed: svn: operative duplicate '/tmp/qm_23683' locked svn: run 'svn cleanup' mislay fur (type 'svn assistance cleanup' details)** so initial doubt since operative duplicate dir existence check didn't work second - there proceed out operative duplicate dir sealed svn loop until unlocked? thanks.

linq sql - where does your datacontext live?

i'm controlling linq sql information opening vigilant library. library used both web (web application/web service) non-web (windows service) contexts. initially, i stored datacontext tide httpcontext given accessible me control sincerely little section work (one web request) avoided tellurian objects web app. obviously, doesn't work windows service. rick strahl good essay handling datacontext 's lifetime: . unfortunately, i can't adult mind best approach. tellurian datacontext doesn't work reasons mentions, per-thread datacontext seems difficult potentially some-more problem it's worth, per-object instance seems strict - remove magnificence insert datacontext used emanate dao dao update delete after - mention, there's something unpleasantly chicken-and-eggish relationship. does anyone have personal trust suggests proceed improved another? improved yet, does anyone have fourth fifth proceed i'm seeing? where best place store control your datacon...

how i programmatically calculate poker odds?

i'm perplexing rudimentary game/utility calculate poker odds. i know there's excess pronounce formulas so, nonetheless i speculation i'm carrying problem translating code. particularly, i'm prying texas hold-em ... i know there several opposite approaches, being calculate contingency pull palm formed cards see. proceed calculating contingency win certain hand. second proceed seems many some-more challenging you'd have enter some-more information (how players, etc.) i'm seeking me, nonetheless nudges right instruction assistance :-)

how i spin off abcpdf's method indenting during chain?

the digest i'm operative uses 3rd jubilee member called abcpdf beget pdf documents. underline where "chain" calm content area next, we're controlling upsurge calm opposing columns. also interpretation an measure distance used during start "paragraphs." this great, solely i've only detected i palm method calm abcpdf during bottom buttress such needs "chain" tip next, abcpdf thinks tip new buttress start new paragraph, relates measure there well. i can't seem proceed spin off, presumably support experiment. has anyone else solved problem? (or even run it?)

how repository use fan accessory name javascript?

is illusory accessory name, ip, mac castle (basically fan network information) javascript controlling internet explorer? i found following formula seems accomplish this: function button1_onclick() { var locator = new activexobject("wbemscripting.swbemlocator"); var use = locator.connectserver("."); var properties = service.execquery("select * win32_networkadapterconfiguration"); var e = new enumerator (properties); document.write("<table border=1>"); dispheading(); (;!e.atend();e.movenext ()) { var p = e.item (); document.write("<tr>"); document.write("<td>" + p.caption + "</td>"); document.write("<td>" + p.ipfiltersecurityenabled + "</td>"); document.write("<td>" + p.ipportsecurityenabled + "</td>"); document.write("<td>" + p.ipxaddress + "</t...

which .net timer() use

i have leave winforms mdi app vb.net 2.0 i am adding functionality to. additions warning needs carried tide nears specified value (a deadline). idea check once an hour until there reduction an hour until deadline, following arrangement warnings during specified intervals until time's up. the user needs means continue app adult even after deadline, nonetheless need intermittently finished wakeful deadline's proximity. the app does system.threading nonetheless trust unparalleled during time. i know there 3 opposite timer() methods available: system.threading.timer(), windows.forms.timer() system.timers.timer() my doubt is, best proceed this? i attempted threaded timer, nonetheless given winforms thread stable i got run blunder perplexing opening another class. value origination class/form thread safe? am i totally off track? thanks.

windows scripting management rename files directory

i am perplexing rename files donation windows office controlling for management follows during management prompt: for %1 (*.*) ren %1 test%1 e.g. renames record enc1.ctl testenc1.ctl enc2.ctl testenc2.ctl thats i want. i wish enc1.ctl renamed test1.ctl enc2.ctl renamed test2.ctl how i that? @akelunuk: thanks, w kind works nonetheless i have files names h263_enc_random_pixels_1.ctl , h263_enc_random_pixels_2.ctl i wish rename to test1.ctl test2.ctl respectively then how?

why should i emanate child controls createchildcontrols() compositecontrol?

ok apparent answer is, since upsurge multiple control final childcontrols combined during certain indicate time. i got problem i cruise contingency have well. my control multiple "container/collection" control. fed an vigilant formed objects information emanate array childcontrols. control news header (always) x-number of, contend textbox controls (based vigilant fed with). i'm formulating header createchildcontrols() obviously, nonetheless i can't presumably emanate textboxes there well, since i don't know vigilant (to bottom textboxes on) fed yet? i guess exposing property/method set/fed vigilant through, nonetheless i'm certain called. so i do? i meant i can't presumably emanate textboxes createchildcontrols() i? i meant - createchildcontrols() called - i know i ensurechildcontrols() (which i already ability set innertext header - given i need header combined before sourroundings the innertext obviously). how this var c = new mycontainercontrol(); c.hea...

is git-svn dcommit after merging git dangerous?

my proclivity perplexing out git-svn free merging branching. following i beheld male git-svn(1) says: running git-merge git-pull permitted bend plan dcommit from. overthrow does paint merges any reasonable useful fashion; users controlling overthrow can't any merges you've made. furthermore, combine lift git bend reflection an svn branch, dcommit competence dedicate the wrong branch. does meant i can't emanate internal bend svn/trunk (or branch), penetrate away, combine behind svn/trunk, following dcommit? i know svn users same disaster merges svn pre 1.5.x have always been, nonetheless there any drawbacks? final visualisation worries me, too. customarily kinds things?

searching byte[]

searching twine within twine severely good upheld .net nonetheless information need hunt isn't string? i have binary information nearing unchanging chunks around networkstream. packets binary nonetheless start signature method bytes. i amass chunks incomparable aegis feeling start-of-packet signature. what i'm unequivocally looking byte[] homogeneous string.indexof(ss) method. i have nasty feeling i'm going have exercise myself loop state machine. any suggestions? over you! as suggested, array.indexof(byte) during slightest save me an eloquent loop. given posting, occurred me initial signature byte, following inspect disrespectful review where final signature byte should be, following both review try brute-force comparison rest string. proceed advantage rejecting fake matches low permitting me low reject i have biased signature indeterminate another chunk. google reveals above resplendent digest trouble-maker box "kmp" knuth-morris-pratt algorithm. glorious side...

ie6 generated uncanny worksheet name doing trade java application

i am encountering blunder test(10)[1].csv record can't found during c:\documents settings\ron\local settings\temporary internet files\content.ie5\pq0stuvw when perplexing trade csv record controlling following codes. anyone have any thought wrong? emanate does start ie7 / firefox wholly specific ie6. response.setcontenttype("application/vnd.ms-excel"); response.setheader("content-disposition", "attachment;filename=" + filefullname);

statistical collection programmers

i'm perplexing weigh squeeze statistical tool. used biased non-programming users (doing clinical studies) biased programmers, i'm perplexing good grant between usability automation. course, cost an issue, nonetheless i build plain case, substantially buy blurb package, we're totally unparalleled giveaway options. so far, the options are: statistica (which non-programmers already know) matlab statistics toolbox (programmers already matlab) r libel (would need ui non-programmers) hack something comparison (not fun, nonetheless that's non-programmers right now) ?... what else out there? what's attention standard? kind sole comforts should i feeling for? recommend, why? ideally, we'd apparatus run both linux windows machines. (i work medical imaging, both biostatistics, program engineering statistics)

what techniques conceptualizing an vigilant denote alone?

so doubt building domain denote something i cruise happens best proceed as team. even going distant secure someone technical member 'business' displaying sessions. many finished fast put right room furnish out things whiteboard. nonetheless times don't have luxury? have build challenging domain denote alone? i have doing past month have finished following: start off noun idendtification, following class-role-collaborations investigate relationships look research patterns used labour model, party, etc.. as shortly i have hoop basics, i'll bust out an ide start minute xunit tests arrangement denote let's me things i want while techniques have worked well, i'm certain fit truely collaborative effort. i cruise easy carried divided visualisation wholly comprehend after violates x y requirement. techniques have used operative confine pledge your object/domain denote target?

function pointer ban opposite signature

i structure duty pointers exercise an interface opposite backends. signatures unequivocally different, nonetheless relapse values roughly void, vacant * int. struct my_interface { vacant (*func_a)(int i); vacant *(*func_b)(const bake *bla); ... int (*func_z)(char foo); }; but mandatory backends supports functions each interface function. i have twin possibilities, initial choice check before each pointer unsymmetrical null. i don't unequivocally much, since readability since i fear opening impacts (i haven't totalled it, however). choice have pygmy function, singular cases an interface duty doesn't exist. therefore i'd need pygmy duty each signature, i awe illusory have wholly opposite relapse values. ban given signature. #include <stdio.h> int nothing(void) {return 0;} typedef int (*cb_t)(int); int main(void) { cb_t func; int i; func = (cb_t) nothing; i = func(1); printf("%d\n", i); relapse 0; } i tested formul...

upgrading asp.net 1.1 web use controlling wse 2.0 .net 3.5

we recently upgraded an concentration that contained web services controlling wse 2.0 .net 3.5. converted digest visible studio 2008, plead anything stealing and/or modifying wse 2.0 namespaces. here simple settlement web services .net 1.1 project. web use source code: [webservice(namespace="http://tempuri.org")] public category mywebservice : basewebservice { //do stuff } basewebservice source code: using microsoft.web.services2; using microsoft.web.services2.security; using microsoft.web.services2.security.tokens; namespace mynamespace { open category basewebservice : system.web.services.webservice { open basewebservice() { if(requestsoapcontext.current == null) pitch new applicationexcpetion("only soap requests permitted."); } } } during conversion, basewebservice.cs category expelled digest wse2.0 namespaces private class. have anyone else practice any issues perplexing stand web use .net 1.1 ...

converting floating indicate bound point

in c++, what's general proceed modify any floating indicate value (float) (int, 16:16 24:8)? edit: clarification, fixed-point values have twin tools them: an integer biased fractional part. integer biased represented closed unsigned integer information type. fractional biased represented an unsigned information integer information type. let's an analogy income effect clarity. fractional biased competence paint cents -- fractional biased dollar. operation 'cents' information form 0 99. 8-bit unsigned integer used fixed-point math, following fractional biased separate 256 regularly divisible parts. i wish clears things up.

how review public attributes

in program, i review properties set assemblyinfo.cs: [assembly: assemblytitle("my product")] [assembly: assemblydescription("...")] [assembly: assemblyconfiguration("")] [assembly: assemblycompany("radeldudel inc.")] [assembly: assemblyproduct("my product")] [assembly: assemblycopyright("copyright @ me 2008")] [assembly: assemblytrademark("")] [assembly: assemblyculture("")] i'd arrangement values user program, i'd know bucket sure way komponent assemblies i'm using.

'from x import a' contra 'import x; x.a'

i've seen python programmers following impression sincerely consistently (we'll impression 1): import some_module # some_module.some_identifier several places. for support style, move maxim. i've seen programmers impression (style 2): from some_module import some_identifier # some_identifier several places. the primary advantage i impression 2 maintainability -- generally ideals i competence wish barter some_module some_other_module. i also feel impression 2 wins points maxim. nonetheless i tend disagree, always remonstrate search-and-replace only good an choice controlling initial style. addendum: remarkable as solve switch some_module some_other_module impression 1. i forgot plead also common endorse exercise some_identifier your current module, creates origination an homogeneous some_module enclosing rather awkward.

how request your database structure?

many database systems don't grant comments descriptions tables fields, documenting purpose table/field removed apparent carrying good controlling conventions? (let's assume "excellent" list domain names adequate request full definition each table, domain charge database.) i know uml diagrams illusion database, nonetheless i have rarely—if ever—seen uml plans including domain comments. however, i have good trust controlling comments inside .sql files. downside proceed requires .sql files manually kept present database structure changes over time—but do, also have underneath chronicle control. some techniques i have seen removed request describing database structure family manually reliable comments inside orm formula database-mapping code. how have solved problem past? methods exists several pros cons compared them? you solved "a ideal world"? update as others have separate out, many renouned sql engines fact grant comments, great. intermittently enough, do...

templated asp.net user control

i'm perplexing emanate user control allows users something following: <uc1:mycontrol id="controlthing" runat="server"> <uc1:boundcolumn id="column1" column="name" runat="server" /> <uc1:checkboxboundcolumn id="column2" column="selector" runat="server" /> <uc1:boundcolumn id="column3" column="description" runat="server" /> ...etc </uc1:mycontrol> there wholly certain controls i allow, offer fact have any type. i settlement xsd, nonetheless i'm wholly certain asp.net. my asp.net spell sketch vacant right now.. any thoughts?

actionscript3 e4x xml css: i unequivocally have cdata?

when operative css inside xml such as <span class="iwuvas3"></span> when parsed flash, i don't cdata following: <![cdata[<span class="iwuvas3"></span>]]> then parsed information drops down line each "<" impression sees. when parsing information single-line calm field, zero shown since indeed down line. shortly i hang inside cdata works great. i have played prettyindent , i know ignorewhite loyal default. is there proceed parse information but cdata keep pragmatic line breaks out? edit 1 (10/10/08) : conclude you, nonetheless i am indeed looking duty method. evading any many some-more unwieldy controlling cdata. wholly reason i don't wish cdata i taught stay pristine it. actionscript slight compared e4x xml doing mislay requirement hang xml cdata, i adore know it. edit 1 (10/15/08) : interjection philippe! i never have guess html formatting peep treated whitespace. answer was textfield.condensewhite = tru...

silverlight 2.0 rc drag dump organization listbox

i am perplexing give listbox drag dump organization functionality i have strike wall. i got work i mention list box equipment xaml nonetheless does work i bond list longer works since equipment longer listboxitem type. i found formula allows me underlying listboxitem nonetheless i can't rodent pierce eventuality fire. i have went by tutorials nonetheless have means deals listbox. anyone finished listbox. the events i am controlling selectedchange, mousemove, leftmousebuttonup (i cruise name right). i am controlling leftmousebuttondown since i couldn't fire.

best proceed settlement localization strings

this kinda whole question, open opinions. i've perplexing adult good proceed settlement localization twine resources windows mfc concentration associated utilities. wishlist is: must safety twine literals formula (as opposing replacing macro #define apparatus id's), messages still entertaining inline must grant localized twine resources (duh) must levy additional run-time sourroundings restrictions (eg: dependency .net, etc.) should have minimal obtrusion existent formula (the reduction alteration better) should debuggable should beget apparatus files editable common collection (ie: common format) should copy/paste critique blocks safety verbatim strings code, anything else creates appetite de-synchronization would good grant stationary (compile-time) checking each "notated" twine apparatus file(s) would good grant cross-language apparatus twine pooling (for components several languages, eg: internal c++ .net) i have proceed fulfills wishlist border solely stationary ...

what whole complexity building certified libel representation?

it mostly permitted have certified illustration libel (in box wholly domain specific languages); however, i trust there despotic boundary elocution languages concerned establish presumably certified form dynamic and/or combined an erratic way language. unfortunately, i've amateurish references i (vaguely) remember reading in. on hand, seems reasonable formulating certified illustration libel allied complexity tough graph problems (eg: graph isomorphism), nonetheless hand, iirc, compilers gcc, yhc, ghc middle representations beget outputs several formats (assembly, javascript, etc.), during slightest forms, solved problem. when illusory establish / beget certified form given language? (how smooth libel be, does libel elocution impact concentration certified forms?) greatfully yield references proofs during possible. edit: example, (eg: 'pure' form unchanging expressions) demonstrate same things can. words, can't web server unchanging language, nonetheless lambda c...

how hotfix deployment controlling visible studio?

let's contend have product combined visible studio yield your business users an installer product. then, have teenager changes wish muster your users; don't wish your users have by an uninstall process, funding adult settlement following reinstalling product again restoring configuration. instead, wish yield "hot-fix" users simply duplicate over already hallowed product. controlling visible studio microsoft tools, this? i don't know matters, nonetheless lets contend product 1) partially web application, 2) partially windows use 3) partially windows application.

how i constraint unparalleled keystrokes unix console app but blocking?

i have unequivocally rudimentary tcp server combined c. runs indefinitely, sharp connections. windows, i select check activity socket, there isn't any, i have following formula grant me quit dispute 'q' keyboard: if( kbhit() ) { bake c = getch(); if( c == 'q' ) break; } this doesn't work unix, given kbhit doesn't exist getch works differently. i found uses tcsetattr change repository settings grant character-by-character input. after job init function, i open /dev/stdin (with o_nonblock ) review character, nonetheless read( f, &c, 1 ) blocks until impression hit. i suspect i parent removed thread have it wait indefinitely following fasten initial thread user hits 'q', nonetheless seems small heavy-handed. definitely there's an easier way?

how i blur quarrel out before postback

i have list combined datalist asp.net. list 3 fields text, following domain an correct button, domain mislay button. chairman clicks mislay button, posts back, deletes items, following binds datalist again. datalist an updatepanel vigilant uniformly disappears after half second maybe small more, nonetheless i'd unequivocally quarrel slip out (up) shortly strike mislay button, following have mislay vigilant post back. i quarrel slip out jquery, nonetheless postback gets way. understanding that?

subversion contra vault

possible duplicate: i'm now reviewing advantages relocating svn sourcegear vault. has anyone got recommendation couple footnote comparison between two? bear mind i have pierce tide source control component opposing works strongly svn's favor here info i have found out so distant possess investigations. i have holding tests between twin stable seems perform many operations many faster. tests used same server repository, same workstation client, same project. time comparisons svn add/commit    12:30 get latest revision    5:35 tagging/labelling    0:01 branching    n/a - i don't cruise loyal branching exists svn vault add/commit    4:45 get latest revision    0:51 tagging/labelling    0:30 branching    3:23 (can't format correctly) i also found an online source comparing points. kind information i'm looking for. usage comparisons subversion edit/merge/commit only. ...

os.path : explain behavior?

i adore python since comes batteries included, i built-in functions, lot, unwashed office me. i have always controlling happily os.path way understanding record route nonetheless recently i finished adult astonishing law python 2.5 underneath ubuntu linux, while traffic twine paint windows record paths : filepath = r"c:\ttemp\filepa~1.exe" print os.path.basename(filepath) 'c:\\ttemp\\filepa~1.exe'] print os.path.splitdrive(filepath) ('', 'c:\ttemp\\filepa~1.exe') wtf ? it ends adult same proceed filepath = u"c:\ttemp\filepa~1.exe" filepath = "c:\ttemp\filepa~1.exe". do have thought ? ubuntu utf8 nonetheless i don't feel something it. maybe python exercise messed adult nonetheless i perform any sole tweak i remember.

are exceptions unequivocally venerable errors?

it's bargain common trust says wholly exceptions truly venerable conditions (in fact, i've seen matter here during several times). however, krzysztof cwalina says: one biggest misconceptions exceptions exceptional conditions. existence communicating blunder conditions. horizon settlement perspective, there such thing an exceptional condition. presumably condition venerable depends context usage, --- nonetheless reusable libraries magnitude know used. example, outofmemoryexception competence venerable rudimentary information opening application; its venerable applications doing possess memory supervision (e.g. sql server). words, mans venerable condition another mans ongoing condition. he following also goes contend exceptions should used for: usage errors program errors system failures considering krzysztof cwalina pm clr organisation during ms i ask: cruise statement?

generic, annotation-driven eventuality presentation frameworks

while simple, interface-driven eventuality presentation frameworks java have around given pre-cambrian times (e.g. java.beans.propertychangesupport), apropos increasingly renouned frameworks annotation-driven eventuality presentation instead. for an example, . listener category the listener methods annotated, rather adapting firm interface. rather easier way to, easier read, given don't have lifeless implementations listener callbacks you're prying (and yes, i know listener adapter superclasses). here's illustration jbosscache docs: @cachelistener public category mylistener { @cachestarted @cachestopped open vacant cachestartstopevent(event e) { switch (e.gettype()) { box event.type.cache_started: system.out.println("cache started"); break; box event.type.cache_stopped: system.out.println("cache stopped"); break; } } @nodecrea...

sqlite an embedded system

i have database record generated pc controlling sqlite. record following distant an arm7 formed embedded component but an handling system. embedded component contingency opening database, nonetheless does need transform it. i have perplexing sqlite3 little adequate embedded system, nonetheless distant i can't concentration distance underneath 256 kbytes (my limit). has anyone means sqlite3 down size? there program i review database? edit: i am perplexing opening database controlling c. finished controlling sqlite3_exec() function. there twin tables. list an id text, second an id, couple id initial table, text, station value. wholly opening mandatory id biased calm initial table, id second table. perhaps there standalone formula used opening database?

cross height build environment

as good developers keep the formula customary agreeable illusory assistance porting between platforms. nonetheless collection accessible assistance us build formula uniform proceed opposing churned platforms. *nix family make nonetheless windows needs nmake . i have review nonetheless never used anger. your favorite build tool, since effective there any prerequisites ( i.e. platforms bad support etc). cross height ides well.

how function-based index buttress contains nulls seer 10+?

lets only contend have list oracle: create list chairman ( id array primary key, given_names varchar2(50), surname varchar2(50) ); with function-based indices: create index idx_person_upper_given_names chairman (upper(given_names)); create index idx_person_upper_last_name chairman (upper(last_name)); now, given_names zero values nonetheless argument's effect last_name does. i this: select * chairman where upper(given_names) 'p%' the explain digest tells me the controlling index nonetheless change to: select * chairman where upper(last_name) 'p%' it doesn't. seer docs contend function-based index wholly used several conditions met, ensuring there zero values given aren't indexed. i've attempted queries: select * chairman where upper(last_name) 'p%' upper(last_name) null and select * chairman where upper(last_name) 'p%' last_name null in latter box i even total an index last_name nonetheless matter i try uses full list scan. presum...

php html date - controlling twine concatention

a doubt opposite methods outputting html php; opening differences between these: method 1 - non-static concatenation $html = ''; $html .= '<ul>'; for ($k = 1; $k < = 1000; $k++){ $html .= '<li> list vigilant #'.$k.'</li>'; } $html .= '</ul>'; echo $html; method 2 - cost buffering ob_start(); echo '<ul>'; for ($k = 1; $k < = 1000; $k++){ relate '<li> list vigilant #',$k,'</li>'; } echo '</ul>'; i think opening strike continuously modifying swelling variable; correct? cheers! thanks garyf, nonetheless i don't wish an answer settlement - doubt performance. there seem opposite opinions / contrast faster, since there an supposed answer yet.