Posts

Showing posts from June, 2015

how refactor: separate category twin promulgate around an interface

i am only embarking initial large-scale refactor, need separate an (unfortunately large) category two, following promulgate wholly around an interface. (my presenter incited out controller, needs separate gui explanation app logic). controlling c# visualstudio 2008 resharper, easiest proceed grasp this? what i am going try a) collect members new category "extract new class" b) purify adult indirect mess c) "extract interface" d) follow down any references category modify interface references but i have never finished before, awe presumably anyone knows any good tips gotchas before i start ripping all apart... thanks!

what hardware (config) program (os version/app version) permitted building asp.net/coldfusion ms sql server?

we little association know best illusory (and affordable) hardware program settlement ought controlling the growth environment. during impulse organisation 4 work remotely opposite locations any us uses laptop adsl tie work the projects. this doubt should assistance us brand route towards optimizing the hardware program many growth environments. need run all locally laptops arrange distributed fortitude possible? program versions advise given both windows 2008 sql server 2008 accessible options? executive server run locally the laptops? we're immature organisation any assistance acquire many appreciated! thanks! ym

navigation controller pristine bar impression working

i am controlling navigation controller, i have impression set : navcontroller.navigationbar.barstyle = uibarstyleblacktranslucent; but i run program, navigation controller looks tip white background, background. i pull controller, left right, view, tide one, shifts tip accurately distance navigation bar. there where i credentials by navigation controller bar. any ideas? barstyle set opaque, all looks fine. i pondering sourroundings perspective support catastrophic 'y' value, nonetheless i cruise there should some-more glorious way.

java applet locality setting

i am controlling an english libel chronicle windowsxp, nonetheless have set spanish wholly supposed libel firefox. i naively approaching browser's libel set default i bucket an applet browser session, nonetheless does seem case. applet starts adult english, default libel os. i supplement new <param> applet locale.setdefault() during initialization, nonetheless before i start hacking divided i'd know i'm blank something obvious. there common apparatus browser invoking web page set default libel an <applet> ?

how crush buckets

if i notice crush list (or any information structure built crush table) stuffing up, during indicate should build new list some-more buckets. given n equipment list far, figure out buckets new one? so let's contend i have 100 buckets. should i rearrange there 50 equipment it? 500? 5000? should i feeling most-full bucket pivotal that? following i strike indicate large i new crush table? related this, know formerly roughly equipment in, there proceed discriminate array buckets good normal performance? i know genuine answer depends lot considerations vicious speed vs. distance specific example, nonetheless i'm looking whole guildlines. i also know i shouldn't optimizing arrange thing unless good profiling indicated bottleneck. i'm only pondering digest lot crush tables wondered proceed this.

get family position between 2 dom elements controlling javascript

i've implemented set draggable elements secluded containers controlling jquery. i need an animation moves an component specific enclosing but user interaction. problem elements dump containers totally different tools dom mostly positioned controlling float. all i need formula comprehensive position inadequacy between 2 floating dom elements, preferrably controlling jquery. wholly thing i found hacks parsing upwards dom nonetheless always unequivocally browser-specific (e.g. "this does work good firefox ie whatever"). best something this: var widen = getdistance(element1, element2); or jquery notation: var widen = $(element1).distanceto($(element2));

how hunt engines ajax content

i have page boldly loads domain calm around ajax. i'm concerned means calm found hunt engines. to arrangement i mean, site during enterprising calm during - customarily revisit second link, it's only hallowed initial page. i know i tell crawlers review speakers.php controlling sitemap.xml , nonetheless following i'll links speakers.php arrangement adult hunt results. i speculation ultimate fortitude someone requests /speakers.php redirects sure page, since lets crawlers review data. any suggestions?

iframe shimming ie6 (and below) name z-index bug

uhm i'm certain anyone encountered problem a brief outline ie6 any <select> objects displayed over any item, even div's... definition have imagination javascript outcome displays div that's ostensible tip all (e.g: lightbox, multibox etc..) onclick certain component div overlaps <select> your div get's displayed it's underneath <select> [on box max smallest z-index doesn't work ] i've attempted googling found iframe shim fortitude but i wanted graceful purify alternatives or improved nonetheless anyone found improved solution? since slight controlling iframes uses around 130mb propel competence delayed down bad people's machines

sml comparing files during bit level

i am attempting review files office controlling sml. controlling textio library sincerely easy nonetheless i need review files during bit level. is, binary compare. i am controlling duty identical this: fun listdir (s) = let fun loop (ds) = (case os.filesys.readdir (ds) "" => [] before os.filesys.closedir (ds) | record => file::loop (ds)) val ds = os.filesys.opendir (s) in loop (ds) hoop e => (os.filesys.closedir (ds); lift (e)) end to list files given directory. nonetheless now, i need feeling during pieces any file. any suggestions?

i can't dedicate changes after combine svn

i problem committing changes after merging twin branches digest controlling tortoisesvn. here details: i combine bend box project i am operative on. project includes sure repository libraries dilemma sure repository svn external (libraries also branched) subdirectory project . when i perplexing dedicate changes tortoisesvn said: commit a re targets biased same operative copy? unable close 'd:\websites\project\lib' please govern "cleanup" command. of impetus cleanup didn't help. svn:external keyword project office good defined, also lib folder still contained repremand chronicle libraries (trunk version). both svn server fan 1.5.x chronicle (tortoisesvn 1.5.3.x). from technical indicate perspective both project libraries projects same svn repository. any thought went wrong? i googling bit solution, nonetheless didn't anything useful, i attempted dedicate changes twin steps: commit changes digest folder commit changes libraries folder which went but any...

distributed caching help

i am perplexing put distributed caching play, i'm controlling . it requires vigilant being cached serializable, here category object. [serializable] public category members { open members() {} open members(string aspnetusername, twine aspnetpassword, twine emailaddr,string location) : this(0,0,aspnetusername, aspnetpassword,emailaddr,datetime.now, location, 0,0,datetime.now,datetime.now,datetime.now,false) { } open members(int64? row,int memberid, twine aspnetusername, twine aspnetpassword, twine emailaddr,datetime datecreated, twine location, int daimokugoal, int previewimageid, datetime lastdaimoku, datetime lastnotifed, datetime lastactivitydate, bool isactivated) { this.row = row; this.memberid = memberid; this.aspnetusername = aspnetusername; this.aspnetpassword = aspnetpassword; this.emailaddr = emailaddr; this.datecreated = datecreated; this.location = loca...

are there dynamic alternatives isomething / isomethingable interfaces?

the .net customary prefixing an interface name an i seems apropos widespread isn't only unparalleled .net any more. i have opposing lot java formula uses party (so wouldn't warn me java used before c# did). also flex uses it, on. fixation an i during start name smacks hungarian footnote nonetheless i'm nervous controlling it. so doubt is, there an choice proceed denoting something an interface, rather category there any need indicate anyway. box the spin customary i should only accept stop perplexing stir adult "religious wars" suggesting finished differently?

how diagnose network issues windows?

i mostly run problems where i can't something bond something else. i wholly forget check something obvious. assistance with: a tip/technique diagnosing tie issue the name apparatus concentration assistance (and conditions it's useful) i know doubt small non-specific, nonetheless hopefully answers form useful starting indicate anybody who's stranded perplexing computers/programs articulate any other. please give answer per answer best ones voted up.

what best use problem (different properties opposite categories)?

i have products belongs category. each problem have opposite properties. for example, category cars properties color , power, ... category pets have properties weight , age , ... number categories 10-15. number properties any problem 3-15. number products unequivocally big. main requirement app unequivocally good search. name category, enter criteria any ability category. have settlement database scenario. (sql server 2005)

ruby rails jeditable (jquery)

has anyone gotten jquery plugin run morally rails applications. so, share hints set up? i'm carrying problem formulating "submit-url". iirc, can't simply flush formula within javascript (please let me wrong:-). meant rjs??? isn't unparalleled prototype? i'm controlling jquery. update: uh.....asked while behind meantime switched opposite solution. nonetheless iirc sure emanate following: i'm controlling calm resources. let's contend i have denote blog so have apparatus "posts". i wish correct post (e.g. post id 8), transform sent around http url http noun post. url however assembled rails code. i submit-url jquery code? given calm code, transform url change each post.

connecting microsoft dynamics crm 4.0 leave asp application

i have leave asp concentration combined jscript. during impulse uses the possess database tables user accounts authentication. fan information app being changed microsoft dynamics crm 4.0, i need cgange asp site's authentication feeling adult user certification dynamics crm instead. here's illusory approaches i've adult far: move authentication tokens eloquent cookies instead relying event variables; following rewrite login pages, etc. .aspx pages, connected dynamics web use within pages controlling wsdl-generated coupling class. create com coupling around wsdl-generated coupling class, plead controlling server.createobject() within leave asp pages write json coupling around wsdl interface, within leave asp controlling msxml2.serverxmlhttp com vigilant something similar call wsdl asp directly parse law controlling msxml something. i'm pondering choice 1 substantially best during stage, nonetheless i'm anticipating someone out there attempted before share advantage e...

how hide fonts html?

i'm perplexing figure out decent fortitude (especially seo side) embedding fonts web pages. distant i have seen , doesn't even work firefox, . second fortitude titles only. there fortitude accessible full text? i'm sleepy customary fonts web pages. thanks!

is illusory perspective story line svn?

possible duplicate: using svn and/or tortoise svn (or any svn tool, really), illusory perspective story specific line file? recently i've several occurrences opening opposing line record wanting record opening compared the origination (either establish aged line formula was, incomparable context since added). right i'm doing hand. i arrangement record file, behind ways, line doubt present. is, i behind further. isn't, i feeling during some-more new revision. repeat until supplement where change finished found. needless say, slight stiff during best, generally quite aged files. does anyone know an involuntary slight accomplishing this?

linking opposing .dll chronicle comparison hallowed visible studio 2005

please forgive infinite volume credentials info, nonetheless sincerely specific question. i have visible studio 2005 digest creates .dll file. digest depends .dll another company, "bigcorp", gets hallowed bigcorp's software. ideally dll i emanate should workable any (backwards compatible) chronicle bigcorp's dll. is, i couple opposing chronicle 4.3.2.100 way should still work user upgrades bigcorp's app .dll chronicle 4.3.3.20. this candid adequate vs2005, looking during project's references, selecting .dll origination certain "specific version" ability false. now tangible question: illusory mention bottom chronicle .dll older hallowed accessory building project? stability before example, build accessory chronicle 4.3.3.20 installed, nonetheless i wish .dll generates congruous installations haven't upgraded, wholly have chronicle 4.3.2.100 installed. it seems vs resolves route .dll detects runtime chronicle formed record finds. perplexing overru...

how i iphone springboard arrangement twin some-more icons concentration bundle?

it seems info.plist record an ability announce opposite roles same concentration gold by uiroleinfo key. springboard praise roles after installing an app competence arrangement removed icons any concentration role. for instance, iphone shows mobileslideshow.app 2 opposite programs: photos camera . unfortunately, there executive apple support theme during moment. anybody advise classify same function tradition app? this underline going used craving product ad hoc distribution.

is there advantage only "throw" catch?

been carrying "heated debate" co-worker use jacket many functions try/catch nonetheless locate only "throw" e.g. private servant foo() try 'do something' catch pitch 'and zero else!' finish try end sub my guess even worry (assuming don't need anything during point) - difference gurgle unbroken difference handler progenitor member. the wholly justification sounded infallible infrequently exceptions weren't reason your formula stopped (in debug mode) tide line highlighted green...and competence something churned threads? best use does state "an difference handler any thread" nonetheless mostly work single-threaded. the good thing competence useful debug mode astonishing cocktail out progenitor member (yes, joel!) - you'd pierce "throw" matter means inspect your locals. but following your formula "littered try/catch/throws" (to quote another thread here)? and arrange over concerned ad...

can't emanate xmlns anxiety digest xaml

i have wpf digest tangible this: myapp.sln myappwpf myapp.domain in xaml files myappwpf digest i'm perplexing anxiety category tangible myapp.domain project. i have project reference myappwpf myapp.domain. i am perplexing emanate anxiety this: <window x:class="myappwpf.window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:myapp.domain;assembly=myapp.domain" title="window1" height="305" width="485"> <window.resources> <local:myclass x:key="mine" /> </window.resources> </window> i an blunder observant public can't found, however i emanate an instance category i wish anxiety formula behind, i know i've got referenced correctly. how i this? i need cunning name, anxiety dll directly instead controlling digest reference?

gettext: good thought summary id english text?

we're removing prepared interpret the php website several languages, gettext support php looks proceed go. all tutorials i advise controlling english calm summary id, i.e. gettext("hi there!") but unequivocally good idea? let's contend someone offering wants change calm "hi there, y'all!". following don't have transform libel files since twine -- indeed summary id -- changed? is improved have kind general id, "hello.message", an english translations file?

startup deployment architecture- controlling glassfish v3 prologue but apache

so am i crazy deliberation doing beta/production redeem glassfish v3 prelude? since calm dynamic, i'm even pondering bothering set adult apache front either. doing complicates setup requiring something ajp mod_jk offer us many terms capability. so there 3 fight files deployment. 3 jndi information sources 90 connectors parked, scaling adult 160 pgsql datastore.... the 3 wars contain cms component grails application? is explanation fatally injured i don't need put apache front setup?

is there settlement adding "options" class?

i have category i wish grant several (~20+) settlement options. each choice turns off square functionality, differently alters operations. to foster this, i coded removed options category default values. however, i parent formula pledge conditions establish methods should behave. i am roughly done, nonetheless formula seems smell. is there comparison method/pattern exercise category this? edit: some-more specifically, i am operative parsing class. each choice configures jointly proud portions simple parsing algorithm. for instance i have several areas category feeling below: (this.option.useidattribute) attributeids = new hashtable(); else attributeids = null; open component getelementbyid(string id) { (string.isnullorempty (id)) pitch new argumentnullexception("id"); (attributeids == null) pitch new exception(exceptionuseidattributefalse); relapse attributeids[id.tolower()] element; }

help troubleshooting system.badimageformatexception:

while debugging by .net 3.5 sp1 digest contacting internal web service, i'm receiving exception system.badimageformatexception: "bad category token" of impetus there aren't many some-more sum what's causing exception. i tell slight where occurs, same category it's caller, debugger fails reach. difference occurs slight contacts web service. i have methods communicating web service, anxiety good. my section tests slight also unwell same exception. correction : section tests slight successful, furthering confusion. does anyone know proceed lane down exception? i've review by support difference class, leads me trust assemblies crude the version, there's an emanate build. what stairs advise troubleshooting exception?

how change silverlight hosting "test page" "web project"?

i have digest twin silverlight apps (foo1 foo2) an asp.net web use (foo.web). i combined foo1, i configured hosted web app selecting "link silverlight control an existent web site" following selecting foo.web site. however i combined foo2, i chose "automatically beget exam page horde silverlight during build instead". i creatively since i controlling asp.net functionality anything solely hosting page, i guess i save mess. however after doing bit development, i learn i confidence blunder i try webclient concentration hosted plain html page. turns out i contingency horde by asp.net concentration after all. when i feeling during projects' ability pages, i don't any inadequacy corresponds hosting choice. i guess underneath "silverlight" "debug" tabs, nonetheless those feeling same both projects. what need change digest foo2 hosted an asp.net page web concentration (foo.web) instead being hosted generated html page?

how emanate visible studio fortitude record (.sln) same office web project?

i'm controlling visualsvn fan server charge web projects work approaching have .sln same office (root) files. i guess rudimentary stealing additional progenitor paths ../ family paths saving it. however i try open only fur adult visible studio. is there customary proceed emanate form fortitude record fortitude record apparatus assistance certain valid? am i only blank something unequivocally obvious? / /mywebsite.org.sln /images /app_data /default.aspx /default.aspx.cs so apparently trick, during slightest i seeking contingency ..\mywebsite.org whatever folder contains website files. [edit] i scholastic final .sln record sole project: here final fortitude record certified me open website have .sln bottom web folder. project("{e24c65dc-7377-472b-9aba-bcsg3b73c61a}") = "mywebsite.org", "\", "{f8f4e96f-40bf-4374-b8ba-968d0sgg4a9e}" projectsection(websiteproperties) = preproject targetframework = "3.5" debug.aspnetco...

inject dependencies methods constructor?

dependency injection seems good thing. general, should dependencies injected during methods need them, should injected contructor class? see samples next denote twin ways inject same dependency. //inject dependency methods need importantclass class something { open something() { //empty } open vacant a() { //do something but x } open vacant b(importantclass x) { //do something x } open vacant c(importantclass x) { //do something x } } //inject dependency constructor once class something { private importantclass _x open something(importantclass x) { this._x = x; } open vacant a() { //do something but x } open vacant b() { //do something this._x } open vacant c() { //do something this._x } }

is there an iis sourroundings absolved additional '/' characters requested url?

the whole problem: we have urls opening the iis web servers formatted like: we also observant urls opening in: we absolved additional route impression since user representative internet explorer, solution 2 opposite pages, thus, downloading calm twice should resolved cache. i am certain problem solved something url-rewriting module, there settlement setting.

oracle modernized queuing - reserve propagation

edit: seems something carrying twin queues same schema. im perplexing examination reserve propagation nonetheless im observant annals finish queue. nonetheless simply since i dont have pieces place. does anyone have exam box post? ill consolidate i attempted below. i found troubleshooting docs small light propagation such black box, its tough know since isnt moving. heres i have; laughing. create reinstate form test_payload object( test_id number, test_dt date); declare subscriber sys.aq$_agent; begin --- emanate imagining reserve start it dbms_aqadm.create_queue_table( queue_table => 'test_mqt', queue_payload_type => 'test_payload', multiple_consumers => loyal ); --- churned subscriber dbms_aqadm.create_queue( 'test_q', 'test_mqt' ); dbms_aqadm.start_queue( queue_name => 'test_q' ); --- emanate finish reserve start it dbms_aqadm.create_queue_table( queue_table => 'de...

are there collection record user actions assistance imitate bugs?

as exam engineer, i mostly secure exploratory testing. i confront bug, always immediately pristine stairs led problem. so, obviously, i have mandatory stairs imitate problem. depending situation, take infinite volume time. what unequivocally useful logging apparatus keeps lane rodent keyboard actions presumably also stores properties components have clicked (the aut combined java). i simply suitable tool, nonetheless maybe hunt proceed erroneous. could anyone indicate me right direction?

caching nominee results

i have c# slight accepts predicate<foo> advantage list relating items... public stationary list<foo> findall( predicate<foo> filter ) { ... } the filter mostly common set... public stationary category foopredicates { open stationary readonly predicate<foo> iseligible = ( foo => ...) ... } ...but competence an opposite delegate. i'd have slight cache the law asp.net cache, steady calls same nominee only relapse cached result. this, i need emanate cache pivotal delegate. delegate.gethashcode() furnish essential law purpose? there member nominee i should feeling at? another proceed entirely?

shared calendars thunderbird lightning

i setup an open source fortitude calendaring center sized enterprise. controlling thunderbird (lightning add-on), microsoft outlook. i wish others' free/busy schedule, tempt meetings etc. it unequivocally good i have calendar resources contention room, projector etc. i have searched definitely lot net, nonetheless have found suitable fortitude nor any footnote instructions set up. given unequivocally many indispensable organizations, i am certain competence have set up. i unequivocally beholden yield me pointers any footnote (step-by-step) documentation.

struts explanation problem

why doesn't formula next work? thought page checks dropdown non-static changes given final rested page. <logic:equal name="result" value = "-1"> <bean:define id="joiningdate" name="smlmoverdetailform" property="empfdjoiningdate" type="java.lang.string" toscope = "session" /> </logic:equal> <logic:equal name="result" value = "-1"> <bean:define id="dropdownvalue" name="smlmoverdetailform" property="moverchangetype" type="java.lang.string" toscope = "session" /> </logic:equal> <-- fisrt opening page above run --> <bean:define id="newdropdownvalue" name="smlmoverdetailform" property="moverchangetype" type="java.lang.string" toscope = "sess <-- happens everytime page refreshed--> <logic:equal name= dropdownvalue v...

using sqlite python program

i have combined python way creates populates several sqlite tables. now, i wish way nonetheless i don't unequivocally know properly. tutorials i've found radically "inline", i.e. transport by controlling sqlite linear heed rather indeed production. what i'm perplexing have slight check database already created. so, following i it. not, an difference carried way emanate database. (or if/else statements, whichever better). i combined exam book explanation repremand nonetheless it's working. i emanate try statement, only creates new database rather checking already exists. unbroken i run script, i an blunder list already exists, even i attempted throwing exception. (i haven't used try/except before nonetheless figured good learn). are there any good tutorials controlling sqlite operationally any suggestions formula this? i've looked by pysqlite educational others i found nonetheless don't castle this.

asp.net mvc beta 1 - where html.renderpartial?

i'm only slight upgrading preview 5 concentration beta 1, i'm perceptibly there save blunder perplexing news control: 'system.web.mvc.htmlhelper' does not enclose construction for 'renderpartial' extension slight 'renderpartial' usurpation a initial justification type 'system.web.mvc.htmlhelper' be found (are blank using gauge an public reference?) my markup (in .aspx perspective calm page) is: <% html.renderpartial("controls/userform", viewdata); %> i've attempted controlling microsoft.web.mvc nonetheless avail. does anyone know where html.renderpartial gone, choice i use?

find "real" height/width swing/awt object

because canvas3d doesn't have ability resize boldly progenitor frame, i means lane user resizes window following resize manually myself. (if ends adult crashing canvas3d, docs suggest, i simply destroy reconstruct user resizes window). biased way involves being means accurately tell large enclosing quarrel start with. the twin methods i've tried: panel.getheight(); panel.getpreferredsize().height; don't seem accurately news things: getheight() constantly zero, getpreferredsize() advantage numbers don't indeed have anything tangible distance panel. any ideas? edit : so, i took debugger quarrel vigilant manually legalised non-object properties i didn't anything resembled width/height. granted, there sub-objects i didn't feeling at. also, maybe window manifest (it isn't, during indicate i'm interfacing object) i query height/object? edit 2 : so, representation classes subclasses awt classes, i suspect you're means height/width those, proceed generaliz...

best use removing app name/id

what's best proceed common library know context - a.k.a. job app - in? i'm unequivocally tranquil craving environment... there improved proceed library know concentration removing called reading sourroundings config file? form thing? //the rest story i work intranet organisation happening 500 prolongation company. i have combined common library the new .net applications of. queries common database information concentration garland things irrelevant question. imagine, common library needs know concentration job it. i only force each concentration set ability stationary category something, nonetheless instead i wanted small some-more behind scenes. now requires developer put sourroundings app.config web.config pivotal applicationname value - guessed - concentration name (which unparalleled non changing id us). following uses now uses configurationmanager.appsettings["applicationname"] lift in.

sql one-to-many review side side

in following many create list source(id int, name varchar(10), primary key(id)); create list params(id int, source int, value int); where params.source unfamiliar pivotal source.id insert source values(1, 'yes'); insert source values(2, 'no'); insert params values(1,1,1); insert params values(2,1,2); insert params values(3,1,3); insert params values(4,2,1); insert params values(5,2,3); insert params values(6,2,4); if i have list param values (say [1,2,3]), i sources have values list (source 1, "yes") sql? thanks

is there inadequacy between name * name [list any col]

i'm controlling ms sql server 2005. there difference, sql engine, between select * mytable; and select cola, colb, colc mytable; when cola, colb, colc paint each buttress table? if same, there reason since should 2nd anyway? i have digest that's complicated linq, i'm certain customary name * generates bad practice, i should always .select() mention cols i want. edit: altered "when cola, colb, colc columns table?" "when cola, colb, colc paint each buttress table?" clarity.

how i mislay 2d cut 3d geometry qualification intersection?

recently the organisation opposed assign build 2d cut between qualification set 3d geometry (set triangles). google hasn't useful have wanted be, spin the pleasantness here anyone encountered problem illusory solution. links also wanted. finding intersection points itself isn't tough task, nonetheless ensuring triangles being generated justly repremand dilemma multiple enactment tough diversion us. simply miss math/understanding triangle construction an arbirtrary denote done. if have problems bargain we're perplexing do, suspect scenario: a bunny denote hallowed program. unbroken "laser" travels opposing space, rupturing bunny half. gangling cut laser cut cut wish generate. should 2d triangle set. laser doesn't cut (no fun intended), cruise knife, plane, anything slices something opposing plane. thanks advance.

what 'multi-part identifier' since can't bound?

i continuously errors i try transform tables formed another table. i finish adult rewriting query, change method joins, change groupings following eventually works, nonetheless i only don't definitely it. what 'multi-part identifier'? when 'multi-part identifier' means bound? what being organization anyway? in cases blunder occur? what best ways hinder it? the specific blunder sql server 2005 is: the multi-part identifier "..." bound. here an example: update [test].[dbo].[companydetail] set mnemonic = [dbbwkmigration].[dbo].[company].[mnemonic], [company code] = [dbbwkmigration].[dbo].[company].[companycode] where [company name] = **[dbbwkmigration].[dbo].[company].[companyname]** the tangible error: msg 4104, turn 16, state 1, line 3 multi-part identifier "dbbwkmigration.dbo.company.companyname" bound.

are microsoft's possess implementations opensource counterparts better, why?

microsoft implementing possess versions renouned open-source frameworks assemblies, example: microsoft's mvc horizon vs monorail microsoft's togetherness ioc enclosing vs palace windsor / spring.net / ninject etc microsoft's vs section exam horizon vs nunit (and several others) questions: what else microsoft 'borrowed'? which improved any conditions why? what people's attitudes towards executive microsoft things vs alt.net versions? what cruise unbroken taken underneath redmond wing? edit ok, instead 'better', move developer?

why i 401 errors joining dynamics crm metadata service?

i am joining crm idea retrieving list picklist values. growth accessory i am operative underneath possess login name works fine. exam server, formula executes underneath network use account. connects crm web use all great. connects metadata use i 401 unapproved messages. this initial i have used metadata use i am anticipating someone tell me since i error. tie configured controlling formula next disaster happens try collect picklist data. crmauthenticationtoken token = new crmauthenticationtoken(); token.organizationname = config.appsettings.settings["crmtargetorganisation"].value; token.authenticationtype = 0; metadataservice use = new metadataservice(); service.credentials = system.net.credentialcache.defaultcredentials; service.url = config.appsettings.settings["crmmetadataserviceurl"].value; service.crmauthenticationtokenvalue = token; service.unsafeauthenticatedconnectionsharing = true;

macron vba editor

been formulating rudimentary way controlling vba i hearing articulation chinese. i've gotten satisfactory bit operative far, nonetheless have run vast problem inputting macron-character such "" (unicode 257). specific concentration i am operative right involves changing essence text-box form an "a" automatically transposed i form calm box. such way itself easy--i work pinyin characters "" "". select box testchar box "a" mid(strclip, markloc, 1) = "" end select the before an try during controlling midst duty reinstate impression textbox twine pinyin impression during suitable evidence user. the hangup i can't enter "" vba! i've looking around internet nonetheless doesn't seem problem anyone else. i am vba editor i form alt + 0257, zero happens. i can't copy-paste notepad either.. i'm prepared throw vba redo concentration language.. cheers

how hunt twine formed key/value collection fast

hello associate smoke-stack ers! i have list 200.000 twine entries, normal twine length around 30 characters. list difference pivotal any pivotal i have domain object. i domain objects collection wholly meaningful biased key. i.e. hunt twine "kov" instance review pivotal "stack ". currently i am controlling ternary hunt tree (tst), wholly equipment within 100 milliseconds. however too delayed requirements. tst doing softened teenager optimizations i try change tree. nonetheless i figured things give me 5x - 10x speed alleviation i am aiming at. i am presumption reason being delayed i fundamentally have revisit many nodes tree. any ideas provoke speed algorithm? there any algorithms i should looking at? thanks advance, oskar

persistence framework?

i'm perplexing endorse best plan accessing database. i know general doubt there's unparalleled good answer, nonetheless i yield fortify i'm looking for. the final few years have controlling the possess attention framework, nonetheless unparalleled served well. however needs vital improvements i'm wondering i should proceed existent frameworks. criteria i'm looking for, method highlight are: client formula should work purify objects, extent database knowledge. controlling the tradition horizon fan formula looks like: sessionmanager event = new sessionmanager(); order method = session.createentity(); order.date = datetime.now; // set properties orderdetail fact = order.addorderdetail(); detail.product = product; // properties // dedicate changes now session.commit(); should rudimentary illusory "too flexible". need unparalleled proceed many things. should have good support object-oriented programming. should hoop one-to-many many-to-many relations, should ho...

is section contrast suitable brief programs

i'm newbie given i've programming off given 1983, nonetheless i wholly have genuine trust scripting languages applescript, arexx, hypertalk bash. i scripts automate information entry, collection slight images modify record formats. i loaf during processing, flush python. most programs i underneath 200 lines during many 10 functions. i wish larger, some-more able programs future. i wish provoke practices prevaricate formulating fragile, unmaintainable messes. programming environments i work (script editor.app calm wrangler.app) have support involuntary testing. at scale i'm operative now writing procedural (not oo) code , is suitable section tests , i know are: short programs exam individual functions before mixing a entirely functioning incomparable program. are unit tests inestimable compared cost origination programs during scale?

oracle sql technique prevaricate stuffing trans log

newish seer programming (from sybase ms sql server). "oracle way" prevaricate stuffing trans record infinite updates? in specific case, i'm doing an transform potentially unequivocally infinite array rows. here's approach: update my_table set a_col = null where my_table_id (select my_table_id my_table where some_col < some_val rownum < 1000) ...where i govern inside loop until updated quarrel count zero, is best approach? thanks,

how hinder <session disconnected> errors while controlling intersystems caché repository scripts?

i'm building component needs govern intersystems cache repository scripts. when i run slight inside unchanging cach repository telnet terminal, cache executes slight until finish problems. nonetheless i try run same routine, nonetheless job slight within cach repository script, cach disconnects event after while. there plead during support "timeout" sourroundings anything realted "" messages i'm getting. the book run only this: cterm.exe /console=cn_iptcp:192.168.2.13[23] c:\test.s 1) does anybody know competence causing interystems cach away event center run (the event isn't idle either. frequently outputs station messages console)? 2) any ideas solve it? thanks, lus fernando

drag/drop inside an concentration another application

i have listview containing record names. record names need draggable treeview, drag/drop inside concentration works built drag/drop support delphi - problem. nonetheless i contingency also means drag/drop listview equipment another application, e.g. windows explorer. also works, instance controlling dragfilesource member anders melander's member unit () start the work listview.mousedown event, there unequivocally drag/drop operation initiated. basically, i need same intrepidity windows explorer: drag an vigilant another folder inside concentration also another application. how finished delphi? i speculation there should "drag" initiated, nonetheless rodent moves outmost app window, needs "switch" functionality, should rodent pierce behind app window, again behind customary drag drop. thanks any help! holger

removing essence placeholderpagetitleintitlearea

in sharepoint there calm place hilt called placeholderpagetitlteintitlearea. i'm perplexing mislay all tradition renderingtemplate i placed controltemplates. illusory grasp presumably controlling inline formula ways. right i've bound formula sharepoint:renderingtemplate control <script type="text/javascript"> var tablearea = document.getelementbyid('onetidpagetitleareaframe'); (tablearea != null) { tablearea.style.height = '25px'; } var titlearea = document.getelementbyid('onetidpagetitle'); (titlearea != null) { titlearea.style.display = 'none'; } </script>

cobertura refuses acknowledge formula covered

i am controlling maven (2) cobertura plug-in emanate reports formula coverage, i have following stub i am controlling method: try { system.exit(0); } locate (final securityexception exception) { exception.printstacktrace(); } system.err.println("the way never exited!"); i know i need record exception, etc, nonetheless that's indicate right now...cobertura refusing acknowledge line after smoke-stack snippet printed covered. is, line '}' before system.err.println matter being shown covered. before, finale curly prop slight being shown covered, hence system.err statement. any thought i remonstrate cobertura's maven plugin that, given system.err.println matter covered, finale prop have covered? oh yeah, i ridicule confidence manager pitch confidence exception, given that's easiest proceed i have found origination exam continue executing after system.exit call.

what's best proceed sqlbulkcopy fill unequivocally infinite table?

nightly, i need fill sql server 2005 list an odbc source over 8 million records. now i am controlling an insert matter related server syntax name identical this: insert sqlstagingtable name * openquery(odbcsource, 'select * sourcetable') this unequivocally ruin takes hours run. i'm center coding fortitude controlling sqlbulkinsert formula identical formula found . the formula doubt initial populating datatable memory following flitting datatable sqlbulkinserts writetoserver method. what should i populated datatable uses some-more memory accessible accessory controlling (a server 16gb memory case)? i've guess controlling overloaded odbcdataadapter slight allows fill wholly annals x n (where x start index n array annals fill). however spin out an even slower fortitude i now have given meant re-running name matter source array times. what should i do? only stock whole thing during once let os control memory? should i stock chunks? there another fortitude i haven't gue...

unit contrast way checks internet connectivity

i have c# way grateful stipend list network adapters "connected internet" windows perspective machine. way uses "" (or nlm api) iterate over network connectors advantage those isconnectedtointernet value true. i viewed suggestions doing way to exam way i've solid supporter advantage list internet connected interfaces formed another logic, arrange "reality check" uncanny module's logic. note exam supporter i am pacific arrangement methods competence deliberate bad use prolongation formula (e.g. relying internet apparatus "google" accessible - box shuts down, blocked the middle firewall etc. it's comparatively easy repair exam opposing deployed product base). the choice arrangement slight i chose try bond "www.google.com:80" tcpclient. problem: i have some-more connected adapter (e.g. both wireless lan) arrangement slight fails blunder "a bond ask finished an already-connected socket". my doubt 3 fold: how contrast s...

in ms sql server, there proceed "atomically" increment buttress being used counter?

assuming review committed image transaction confine setting, following matter "atomic" clarity won't ever "lose" indicate increment? update mytable set opposing = opposing + 1 i assume whole case, where transform matter biased incomparable transaction, wouldn't be. example, i cruise unfolding possible: update opposing within transaction #1 do stuff in transaction #1 update counter with transaction #2 commit transaction #2 commit transaction #1 in situation, wouldn't opposing finish adult wholly being incremented 1? does inadequacy wholly matter transaction? how does site hoop the doubt perspective counter? luck "losing" increments only deliberate acceptable?

how slight guard solve an unauthorizedaccessexception

i'm perplexing record record an asp.net concentration underneath iis7, nonetheless keep removing following exception: unauthorizedaccessexception "access route 'c:\users\brady\exports' denied." i've suggested assistance solve this, nonetheless it's definitely challenging tool, i unequivocally don't have spend exploring it. greatfully someone support me advise pm establish user perplexing opening folder etc.

how i debug store errors c# category library?

i'm removing store crime blunder c# library way i'm job by com c++ app. specific blunder is: heap: giveaway store retard 4b61bb8 modified during 4b61be8 after freed ... competence due a crime heap, indicates bug [app].exe any dlls loaded. the tip smoke-stack is: custommarshalers.dll!system.runtime.interopservices.custommarshalers.enumeratorviewofenumvariant.movenext() + 0x168 bytes now bargain .net ostensible lessen memory problems, some-more memory problems dilettante fix. yet, i can't cruise anything i competence doing means memory error, i presumably perplexing repair it. sole way controlling microsoft.visualstudio.vcprojectengine .net components iterate vc digest files, graceful rudimentary iterators. it's defilement foreach matter while iterating files vcproject filter (folder), after unbroken before 100 calls. tangible formula defilement is: ivccollection collectionfiles = (ivccollection)folderinproject.files; foreach (vcfile record collection...

cleaning/sanitizing xpath attributes

i need boldly make an xpath query an component attribute, where charge value presumption user. i'm capricious cleaning sanitizing value hinder xpath homogeneous sql injection attack. instance (in php): <?php function xpathquery($attr) { $xml = simplexml_load_file('example.xml'); relapse $xml->xpath("//myelement[@content='{$attr}']"); } xpathquery('this should work fine'); # //myelement[@content='this should work fine'] xpathquery('as should "this"'); # //myelement[@content='as should "this"'] xpathquery('this\'ll means problems'); # //myelement[@content='this'll means problems'] xpathquery('\']/../privateelement[@content=\'private data'); # //myelement[@content='']/../privateelement[@content='private data'] the final sole revealing sql injection attacks yore. now, i know fact there attributes containing unparalleled quotes attributes ...

nhibernate database connectors unwell underneath load

i wondering seemed informed any trust nhibernate developers someone give me an thought where start try solve issue: i hereditary an nhibernate site combined asp.net 1.1 controlling nhibernate 0.6 .net remoting dal covering staying database server. i have perplexing stand asp.net 3.5 nhibernate 1.2.1.4. i transposed .net remoting setup proceed database tie all works glorious until site gets underneath bucket following nhibernate calls start intermittently destroy throwing an exception: adoexception govern query followed nhibernate generated sql statements. the smoke-stack snippet given blunder is: nhibernate.loader.loader.loadentity(isessionimplementor session, vigilant id, itype identifiertype, vigilant optionalobject, form optionalentityname, vigilant optionalidentifier, ientitypersister persister) during nhibernate.loader.entity.abstractentityloader.load(isessionimplementor session, vigilant id, vigilant optionalobject, vigilant optionalid) during nhibernate.loader.entity.abs...

generating unparalleled id php

i'm perplexing beget unparalleled id php method store user-uploaded calm fs but conflicts. i'm controlling php, during impulse small dash grateful generating uid: $id = tempnam (".", ""); unlink($id); $id = substr($id, 2); this formula hideous: creates surrogate record fs deletes it, maintaining wholly applicable unparalleled biased generated string. is there any improved proceed this, many preferably but any outmost dependencies? thanks much!

enforce a "this" "base" during compile-time visible studio/c#

when fluctuating classes, i unequivocally detailed base ( mybase vb) keyword accessing methods base-class. this ( me vb) keyword accessing functions category fluctuating base-class. goes "flat" structure estate well. i easier review this: public category world { open twine basename = "world"; } public category hello : world { open twine thisname = "hello"; open twine getnames() { relapse this.thisname + " " + base.basename; } } than this: ... open twine getnames() { relapse thisname + " " + basename; } ... now, doubt is: illusory make this base during compile-time visible studio/c#, compiler throws an blunder warning keywords your code?

best fortitude emigration seer forms 6i web?

i work an seer shop. there's toolset consists roughly 1000 seer forms (using forms builder 6i, early 90's software) seer 10g behind end. it's apportionment roughly 500 unparalleled month, 200 indicate connectors during any given during work day. obviously something needs addressed absolved forms runtime pierce web formed solution. collection need accessed windows, linux, several unix's, vms solaris. what options out there exist presumably quit to? wholly does need presumably emigration nonetheless growth need finished 8 engineers support apparatus set (and move stay put update apparatus set). oracle offers few solutions modify seer forms crappy java applet (it's unequivocally terrible surrogate solution). my fortitude choice migrating flush rails (which i'm large proponent rails) nonetheless secure training offshoot (which we'll strike any solution) developers. also, problem converting unequivocally challenging forms html forms. has anyone tackled such ...

can/how supplement spin references but defilement ri?

i'm essentially prying pgsql this, nonetheless i wondering there proceed any rdbms an insert operation, without disabling re-enabling any unfamiliar pivotal zero constraints, twin tables ascribe any other. (you competence cruise duck somehow hereditary the possess egg.) for receptive example, multiple-choice ask system, tables "question" "answer", where question.correct_answer refers answer.id, answer.question refers question.id, illusory supplement doubt the answers simultaneously? (for record, i'm wakeful disabling re-enabling transaction block, another fortitude have correct_answer buttress nonetheless instead have answer.correct boolean have check imprisonment origination certain there's accurately repremand answer per question. nonetheless i'm extraordinary choice solutions here.)

algorithm regex

something mind: i put few strings in, algorithm shows me relating regex. is there an " easy " proceed this, does something already exist? edit 1 : yes, i'm perplexing proceed beget regex. edit 2 : regulazy i am looking for. common formula i wish repremand regex; example, essay numbers: i put 123456 , regex should \d{6} i put nb-123456 , regex should \w{2}-\d{6}

sql server demonstrate 2008 exercise corresponding w/ sql 2005 demonstrate fails

when i try exercise new instance sql server 2008 demonstrate growth accessory sql 2005 demonstrate already adult running, exercise validation fails since "sql 2005 demonstrate tools" hallowed i'm told mislay them. what accurately does mean? after reading article: i uninstalled 2005 chronicle sql supervision studio nonetheless viewed same blunder 2008 installer during follow-up attempt. updates 1) uninstalled sql 2005 supervision studio only. viewed same blunder 2008 install. 2) private sql 2005 common components. viewed same blunder 2008 install. 3) hallowed common components sql 2008 designation program. viewed same blunder 2008 exercise perplexing exercise new sql 2008 instance. 4) uninstalled sql 2008 components, rebooted, re-installed sql 2005 supervision studio designation media, rebooted, un-installed sql 2005 workstation components control panel, re-booted. installation sql 2008 move should. seems approaching i'd re-booted after transform 2 above things h...

how where slight tangible during runtime?

we recently problem where, after array commits occurred, backend slight unsuccessful run. now, good small boys girls ran rake test after each check-in but, due oddities rails' library loading, wholly occurred ran directly dog prolongation mode. i tracked bug down due new rails gem overwriting slight twine category proceed pennyless slight runtime rails code. anyway, enlarged story short, there way, during runtime, ask flush where slight defined? something whereami( :foo ) advantage /path/to/some/file.rb line #45 ? case, explanation me tangible category twine unhelpful, since overloaded library. i can't pledge source lives project, grepping 'def foo' won't indispensably give me i need, plead i have many def foo 's, infrequently i don't know until runtime i competence using.

saving - method operations .net (c#)

i have btnsave_click() duty code-behind. user clicks save symbol (image) i created, calls function: protected vacant btnsave_click(object sender, eventargs e) { this.saveform(); txtmessages.text = "save complete"; } the saveform() duty apparently saves form (through stored procedures). .net wait until save finish before displaying "save complete" message, there something else i should doing let user know save done. what's best educational form thing (i.e. spinner presentation save complete)?

how pierce clickonce deployment package

i have collection clickonce packages tell folder network expostulate need pierce another server (our dr machine). after copy/pasting whole office controlling setups new accessory i an blunder summary observant can't aged path: activation of ...myclickonceapp.application resulted exception. following failure messages detected: + downloading file://oldmachine/c$/myclickonceapp.application succeed. + biased route '\\oldmachine\c$\myclickonceapp.application'. once i change designation indicate during new machine, i another error: manifest xml signature valid. + digital signature vigilant verify. i've attempted controlling , cgange deployment url, nonetheless asks certificate, i don't have. what am i doing wrong i successfully pierce published clickonce packages?

a c# vb.net reworking concentration handles involuntary properties correctly?

i wish isn't deliberate register given it's some-more separate identical questions (i'm extraordinary specific weariness c# vb.net reworking utilities). i've looking during controlling apparatus modify category library vb given i'm wholly organisation peaceful c#. problem i've run doesn't beget repremand vb involuntary properties. creates lifeless get/set routines. so this: public twine transactiontype { get; private set; } becomes this: public ability transactiontype() string get finish get private set(byval value string) finish set end property the collection related have identical issues - emanate current properties, nonetheless don't honour opening turn set routine. side doubt - going repair converter developerfusion, have relapse something this? private _transactiontype string public ability transactiontype() string get relapse _transactiontype finish get private set(byval value string) _transactiontype...

best windows designation record creator?

i'm best programmer i found many easier way several removed executables, catchy any other. nonetheless i need an easy proceed indeed run but minute footnote instructions run record one, wait until the finished longer slight manager before controlling record two, record 3 executed 15 seconds after record twin created. following supplement pivotal your registry. etc. i figure there contingency good program out there where i only dump exes in, tell run them, cost record clients run. any ideas?

2.9999999999999999 >> .5?

i listened right-shift array .5 instead controlling math.floor(). i solid check the boundary certain suitable replacement, i checked following values got following law google chrome: 2.5 >> .5 == 2; 2.9999 >> .5 == 2; 2.999999999999999 >> .5 == 2; // 15 9s 2.9999999999999999 >> .5 == 3; // 16 9s after fiddling, i found out top illusory value twin which, right-shifted .5, furnish 2 2.9999999999999997779553950749686919152736663818359374999999 (with 9 repeating) chrome firefox. array 2.9999999999999997779 ie. my doubt is: highlight array .0000000000000007779553950749686919152736663818359374? it's unequivocally uncanny array unequivocally tender curiosity. i've perplexing an answer during slightest kind pattern, nonetheless i cruise problem lies fact i unequivocally don't know bitwise operation. i know thought principle, nonetheless changeable bit method .5 doesn't any clarity during me. any assistance appreciated. for record, uncanny number metho...

why log4j can't beget backup files?

i'm controlling java processes windows 2003 server r2 i'm controlling apache log4j-1.2.8. processes called via one jar record opposite parameter example java -jar process.jar java -jar process.jar two java -jar process.jar three and i config log4j.properties follow #=============================== # announce variables #=============================== logpath=${user.dir}/log/ simple_pattern=%d{yyyy-mm-dd hh:mm:ss.sss}%-5x - %m%n backup_pattern='.'yyyy-mm-dd #=============================== # slight & customary output #=============================== log4j.logger.process.process=null,proclog,procstdout log4j.appender.proclog=org.apache.log4j.dailyrollingfileappender log4j.appender.proclog.file=${logpath}process.log log4j.appender.proclog.datepattern=${backup_pattern} log4j.appender.proclog.layout=org.apache.log4j.patternlayout log4j.appender.proclog.layout.conversionpattern=${simple_pattern} log4j.appender.procstdout=org.apache.log4j.consoleappender log4...

how databases work internally?

i've operative databases final few years i'd cruise i've gotten sincerely efficient controlling them. however i reading recently joel's i realised even nonetheless i query graceful many anything i wish out database, i have thought database indeed interprets query. does anyone know any good articles books explain databases work internally? some specific things i'm prying are: what does database indeed out matches name statement? how does database conclude join differently query several "where key1 = key2" statements? how does database store the memory? how indexes stored?

tracing contra logging does log4net fit in?

i am wondering inadequacy between logging tracing is. is inadequacy fundamentally tracing some-more footnote record giving developers apparatus debug applications during runtime? i have experimenting log4net doing logging. i am wondering i should doing tracing good i could/should log4net purpose. should i doing tracing log4net there snippet turn log4net loggers? should i opposite record turn debug snippet functions ok same? can give rudimentary instance i logging tracing rudimentary method? edit: despite few useful answers next i am still capricious i should doing tracing contra logging. i have following slight business covering i wish supplement logging/tracing it. i am wondering efficiently. following slight tolerable terms logging/tracing? should record messages form info instead debug? debug messages i am logging deliberate trace? change it? ienumerable<car> getcars() { try { logger.debug("getting cars"); ienumerable<car> cars = caraccessor.g...

where advantage controlling plan pattern?

i've looked during , personally c++ sample, destroy praise inadequacy between only defining 3 classes, formulating instances job them, example. i saw only fixation twin classes slight can't where there benefit. i'm certain i'm blank something apparent (wood trees) - someone greatfully explain controlling decisive real-world example? what i answers far, seems me only some-more challenging proceed doing this: have an summary class: movealong practical method: doit() have category car get movealong, implementing doit() { ..start-car-and-drive..} have category horsecart get movealong, implementing doit() { ..hit-horse..} have category bicycle get movealong, implementing doit() { ..pedal..} now i any duty holding movealong parm passing any 3 classes doit isn't plan intents? (just simpler?) [edit-update] the duty i ascribe above transposed another category movealong charge set according need formed algorithm implemented new class. (similar demonstrated supp...

hashes hashes jargon ruby?

creating hashes hashes flush allows accessible twin (or more) dimensional lookups. however, inserting contingency always check initial index already exists hash. example: h = hash.new h['x'] = hash.new h.key?('x') h['x']['y'] = value_to_insert it preferable following where new crush combined automatically: h = hash.new h['x']['y'] = value_to_insert similarly, looking adult value where initial index doesn't already exist, preferable nothingness returned rather receiving an capricious slight '[]' error. looked_up_value = h['w']['z'] one emanate crush coupling category behavior, nonetheless there an existent flush jargon accomplishing task?

best twin hd set adult development

i've got accessory i'm going controlling development, twin 7200 rpm 160 gb sata hds it. the information i've found net distant seems bit conflicted things (os, barter files, programs, solution/source code/other data) i should installing partitions drives many advantage situation. some advise carrying removed assign os and/or swap, don't bother. contend programs should same physical expostulate os information other, proceed around. same barter os. i'm going installing perspective 64 bit os frequently controlling visible studio 2008, vmware workstation, sql server supervision studio, etc (pretty customary dev tools). so i'm seeking you--how it?

asp.net 2 tradition server controls properties

i am carrying unequivocally tough awaiting customary settlement / best use deals digest child controls inside multiple formed ability value. here simple scenario. i have multiple control twin child controls, textbox dropdown. lets contend there ability toggles child render. so: mycomposite.showdropdown = true; if true, shows dropdown, differently shows textbox. the ability value should saved opposing postbacks, the repremand control should displayed formed postback value. any good examples out there?

best peep audio/video + interactivity server?

i'm looking suggestions peep realtime servers. currently, multiple moock's , nonetheless there integrate problems. first, relocating as3, togetherness wholly supports as2. secondly, red5 graceful flaky us, we'd move something some-more stable. can't executive peep media server, it's bit out the cost operation (starts during unparalleled license). so far, i've found twin servers feeling accommodate needs, . does anyone have any trust these, have any servers suggest? sure comforts i'm looking for: stable as3 support fan libraries can extend server-side (with java languages) supports genuine audio/video peep clients (eg webcams) (not required, nonetheless unequivocally helpful) slight communicating trade solely http https blocked. eg rtmpt (tunnels rtmp over http) support similar. reasonable performance, i'd during slightest integrate hundred users connected but murdering server.

hiding function

i have category holding challenging systematic computations. set adult wholly grant user emanate morally instantiated case. morally exam code, however, requires sourroundings middle state variables directly, given anxiety papers supply information exam cases. finished improperly, however, nullify state. so i contingency have ability, member function, set middle variables section exam programs. nonetheless i wish strongly discourage normal users job function. (yes, dynamic user slave anything... nonetheless i don't wish advertise there proceed something wrong .) it good means tell intellisense arrangement function, instance. the best fortitude i have during impulse only name duty something like: dangerousset(). what options i have? follow-up i found amy b's answer many useful situation. thanks! mufasa's idea tact great, nonetheless harder exercise (for me). chris' idea controlling decorator good, nonetheless didn't vessel out. bfree's idea xml also good, ...

how i supplement dispose functionality c# usercontrol?

i have category implements usercontrol. .net 2005, dispose slight automatically combined myclass.designer.cs biased category record looks this: stable overrule vacant dispose(bool disposing) { (disposing && (components != null)) { components.dispose(); } base.dispose(disposing); } if i wish supplement possess dispose functionality, where i put it? given record generated, i don't wish supplement formula here risk removing blown away.

sleeping collection file

when minute collection record automate something windows box, i've indispensable delay the execution several seconds (usually test/wait loop, sharp slight start). during time, best fortitude i uses ping (i child not) grasp preferred effect. i've found improved write-up , describes callable "wait.bat", implemented follows: @ping 127.0.0.1 -n 2 -w 1000 > nul @ping 127.0.0.1 -n %1% -w 1000> nul you following consolidate calls wait.bat your possess collection file, flitting array seconds sleep. (at last!). meantime, those us still controlling windows xp, windows 2000 (sadly) , there improved way? i run-down sleep.py book , defaults second arguments upheld management line: import time, sys time.sleep(float(sys.argv[1]) len(sys.argv) > 1 else 1)

php safety range job function

i have duty includes record formed twine gets upheld i.e. movement non-static query string. i filtering functions etc can't consolidate files shouldn't means record doesn't exist default record hallowed instead. the problem duty runs includes record scope, misplaced since consolidate ran inside function. becomes problem since i tellurian settlement file, following i specific settlement files any way site. the proceed i'm doing during impulse defining variables i wish means tellurian following adding tip filtering function. is there any easier proceed this, i.e. preserving range duty finished there such thing php macros? edit: improved extract($_globals); inside duty instead? edit 2: for anyone cared. i realised i over pondering problem altogether instead controlling duty i should only an include, duh! proceed i keep range have cake too.

quicksort: selecting pivot

when implementing quicksort, things have select pivot. nonetheless i feeling during pseudocode below, pristine i should select pivot. initial component list? something else? duty quicksort(array) var list less, greater length(array) 1 relapse array name mislay focus value focus array any x array x focus following insert x less else insert x greater relapse concatenate(quicksort(less), pivot, quicksort(greater)) can someone assistance me grasp visualisation selecting focus presumably opposite scenarios opposite strategies.

versioning mysql database formula bottom doesn't have orm

i've pondering problem while have nonetheless adult any stable/elegant ideas. i know myisam tables, list def transform nonetheless thats loyal innodb i've found the even arguable feeling during .frm record an thought construction competence have modified.... nevermind dataset changed. i an thought each 30 mins mysqldumping essence schema, defilement removed an awk script, following diffing final version... nonetheless seems small impassioned problem dataset concerned large.

why jars expelled enunciate's deployment?

i'm controlling build antecedent rest api need consolidate jar containing tradition formula library. my termite book looks this: <!--include jars--> <path id="en.classpath"> <fileset dir="${lib}"> <include name="**/*.jar" /> </fileset> </path> <!--define task--> <taskdef name="enunciate" classname="org.codehaus.enunciate.main.enunciatetask"> <classpath refid="en.classpath" /> </taskdef> <mkdir dir="${dist}" /> <enunciate dir="${src}" configfile="${basedir}/enunciate.xml"> <include name="**/*.java" /> <classpath refid="en.classpath"/> <export artifactid="spring.war.file" destination="${dist}/${war.name}" /> </enunciate> the problem tradition jar being expelled fight file. required accumulate enunciate annotated classes jar appa...

how hang duty non-static length arguments?

i am looking c/c++. i came opposing nonetheless suggests fortitude python & c controlling . now, i wish hang printf duty myprintf what i below: void myprintf(char* fmt, ...) { va_list args; va_start(args,fmt); printf(fmt,args); va_end(args); } int _tmain(int argc, _tchar* argv[]) { int = 9; int b = 10; bake v = 'c'; myprintf("this number: %d \nthis character: %c \n another number: %d\n",a, v, b); relapse 0; } but law expected! this number: 1244780 and this character: h and another number: 29953463 any indicate where i miss??

two-way evidence encryption but ssl

i am controlling basic-auth nonsense api () combine nonsense blog's commenting system. problem web apis out there need user's username evidence anything useful. i don't wish understanding con cost installing ssl certificate, nonetheless i also don't wish passwords upheld over hoop pristine text. i speculation whole doubt is: how i send understanding information over an uncertain channel? this tide fortitude i'd know there any holes it: generate futile pivotal server (i'm controlling php). save pivotal event also cost pivotal javascript variable. on form submit, pivotal encrypt password. on server, decrypt evidence controlling pivotal event following destroy session. the finish outcome wholly encrypted evidence sent over hoop pivotal wholly used once never sent password. problem solved?

best proceed hoop lobs seer distributed databases

if emanate an seer dblink can't directly opening throw columns aim tables. for instance, emanate dblink with: create database couple test_link bond targetuser identified evidence controlling 'databasesid'; after things like: select column_a, column_b from data_user.sample_table@test_link except buttress lob, following error: ora-22992: can't throw locators comparison remote tables this . the same page suggests fetch values internal table, nonetheless is... kind messy: create list tmp_hello as name column_a from data_user.sample_table@test_link any ideas?

what pros cons assorted java web frameworks?

i am deliberation formulating possess website controlling java am perplexing endorse horizon use. however, doing discerning hunt java frameworks advantage some-more 50 select from! my website only going possess pleasure building beginning, nonetheless becomes popular, good have scalability, during slightest means redesign that. what sure differences between some-more renouned frameworks? there instances where significantly outperforms others? example, jammed craving applications contra low-traffic little applications. i'm also wondering many easier learn others. is there anyone trust frameworks recommendation? does perfect array choices only offer an early warning prevaricate java-based web growth where possible?

peer reviews camber programming, both?

do attend formula reflection reviews use camber programming, both? have means denote an boost program peculiarity controlling practices? what advantages drawbacks have celebrated impetus practice? what hurdles doing face? in possess case, the growth organisation followed reflection reviews array opposite program artifacts (requirements analyses, exam plans, code, on). reflection programming even deliberate an option. the reflection hearing use pushed down top, developers never bought it. an outmost sqa organisation collected metrics activities, nonetheless numbers graceful meaningless given bid half-hearted. after years being "official" proceed things, developers have collectively replace prescribed procedures. now there reduction prominence bugs removing interjected lifecycle. doing reflection reviews led increasing specialization team...where unequivocally knows requirements/logic components outmost possess specialized area system. it essential know your practice w/ refl...