Posts

Showing posts from January, 2010

force authority combine certain files within tortoisesvn

is there proceed force files assimilated automatically (force me control merge) merging bend behind sure tree? for example, i have web.config files have specific paths formed presumably i'm dev prolongation system. so, i need combine dev bend behind main, i don't wish cgange tags, nonetheless information competence need updated. the problem combine competence automatically transform settings need sojourn same. i simply return behind original, nonetheless following any new settings lost. seems easiest proceed hoop me manually combine changes case. it's illusory i'm opening during wrong instruction given i'm new tortoise svn. in offer config instance good answers below. is there proceed force files burnished manually during merge? seems there should fall receptive files simply feeling there dispute flagged record hoop combine accordingly.

hotkeys before unbroken smoke-stack frames visible studio

visual studio gives navigation hotkeys: f8 unbroken vigilant tide quarrel (search results, errors ...), control + k , n bookmarks, alt + - going behind more. there hotkey i can't find, i can't even menu-command it, i can't emanate hotkey myself. i don't know such exist: before unbroken call-stack frame. i try controlling rodent programming, nonetheless i need behind stack, i contingency double click before frame. anyone? macro does it?

jboss/ejb vs symmetric ds

i'm operative digest only start, given i bustling another colleagues went disrespectful started operative specs new one. i came in, only comparison attention plain sql (promptly supposed idea supplement hibernate, though) nonetheless insisted information riposte should achieved controlling apparatus called symmetric ds , i never listened about. i am concerned because, distant i know, carrying jboss server (current skeleton tomcat only) ejb3 handles transaction/replication hassle, should gangling us lot headaches. how guys symmetric ds ? (note i have zero opposing whatsoever, it's only i know jboss around enlarged while definitely vicious reputation) how review twin solutions? thanks! edit : by way, does symmetricds understanding register primary keys? i mean, i supplement quarrel database another database b, both substantially total same primary key, right? does symmetricds hoop prevaricate conflict? this seemed during initial castle that, nonetheless doesn't definitely an...

xamlparseexception: charge tradition control missing, nonetheless it's defined!

i sometimes following difference tradition control mine: xamlparseexception occurred unknown charge points component sectionclickablearea [line: 10 position 16] the smoke-stack trace: {system.windows.markup.xamlparseexception: opposite charge points component sectionclickablearea. [line: 10 position: 16] during system.windows.application.loadcomponent(object component, uri resourcelocator) during somemaindialog.initializecomponent() during somemaindialog..ctor()} the component chapter where happens looks (the event handler referenced here defined, course): <l:sectionclickablearea x:name="somebutton" points="528,350, 508,265, 520,195, 515,190, 517,165, 530,120, 555,75, 570,61, 580,60, 600,66, 615,80, 617,335, 588,395, 550,385, 540,390, 525,393, 520,385" click="somebutton_click"/> this biased formula sectionclickablearea : public biased category sectionclickablearea : symbol { open stationary readonly dependencyproperty pointspr...

linux default record permission

is there somehow set default record assent linux? is, record assent newly combined record (regardless context created ). i know putting umask bombard startup nonetheless wholly works bombard sessions. i send files linux box controlling pscp , record always combined permissions 664 (rw-rw-r--). occurred opposing each season linux i've used. generally irritating i pscp record common linux accessory (like isp). until i bombard chmod permission, record fundamentally sitting there review opening everyone, accurately secure.

creating permitted urls enterprising resources struts2

i have struts2 concentration unparalleled page competence arrangement array values stored database. concentration propagandize departments any section programs. section page accessed controlling url this department.action?id=2 and departmentaction bucket section id = 2 display. glorious user only browsing around site nonetheless gets nervous i wish yield couple contend engineering section newspapers. couple have www.myschooldomain.com/department.action?id=2. i array problems this. first, user friendly. second, likely damaged since departments boldly reliable id section change but warning origination couple unstable. i move imitation url this: www.myschooldomain.com/department/engineering have somehow department.action?id=2. my thoughts far: emanate an movement parse url section name during finish following feeling adult name. maybe i supplement friendlyurl domain database any department. but doubt is: there improved proceed struts2? thanks. update (may 2009): i only happened eventuali...

cron book act reserve queue cron?

i'm betting someone already solved maybe i'm controlling wrong hunt terms google tell me answer, nonetheless here situation. i have book i wish run, nonetheless i wish run wholly scheduled wholly during time. (can't run book simultaneously) now sticking biased contend i have list called "myhappyschedule" information i need scheduled time. list have churned scheduled times even during same time, any run script. radically i need reserve any book fires need wait any before finish. (sometimes take only footnote book govern infrequently the many minutes) what i'm pondering doing origination book checks myhappyschedule each 5 min gathers adult those scheduled, puts reserve where another book govern any 'job' occurrence reserve order. sounds messy. to longer - i should contend i'm permitting users news things myhappyschedule correct crontab. what finished this? record fur scripts job scripts?

what tfs apparatus recommend?

i am mostly controlling overthrow source control. however, tide position me controlling tfs. ui tfs path-finder the formation visible studio me small disoriented. i skip carrying collection smartsvn where i during look i've run-down indeterminate checkin. what apparatus sets advise tfs general, collection know assent such visualizations? i know tfs path-finder arrangement indeterminate checkins, nonetheless i skip carrying removed apparatus monitors record component changes automobile refreshes list files.

"stack yield line 0" internet explorer

i comprehend ideal place ask terms searchability, nonetheless i've got page whose javascript formula throws "stack yield line 0" errors i feeling during internet explorer. the problem definitely clearly line 0, nonetheless somewhere list things i'm minute document. all works glorious firefox, i don't have delights firebug friends support troubleshooting. are there any customary causes this? i'm guessing substantially an internet path-finder 7 bug something definitely obscure, bringing me small fun currently. i lots have run before, nonetheless i can't seem solved it.

does anyone know good open source comments module?

i wish supplement ability submit, lessen arrangement comments an existent set websites. definitely there's already garland open source components hoop following: comment defeat markup validation private critique moderation threaded critique display locally hallowed (so works seamlessly existent purebred users) i've looked during integrate systems e.g. tumble down since they're presumably hosted remotely, don't offshoot existent purebred set users. our existent systems implemented java, an total prerogative commenting component java, too. an engaging aside google turns out unbroken unfair awaiting commenting modules, due perfect volume pages net enclose "comment".

spring-ws: opening messagecontext payloadendpoint

what "canonical" proceed opening messagecontext payloadendpoint? we controlling arrangement messagecontext plead / invokeinternal methods, nonetheless need opening http ask parameters.

how mislay surrogate asp.net files prolongation environment?

i have deployed new build prolongation server, nonetheless i dont change version. i found out caused due aged chronicle dll record underneath surrogate asp.net folder c:\windows\microsoft.net\framework\v2.0.50727\temporary asp.net files in dev environment, i delete, nonetheless prod. i have limited opening mislay files inside asp.net surrogate folder. can anyone tell me i new dll files recreated immediately after i muster new files? thanks!

with mvc, interactions spontaneity peripherals go denote controller?

using mvc an witness pattern, user movement requires polling device (such camera) data, should polling finished controller outcome upheld off denote should ask sent denote model itself performs polling. this doubt try establish all i am reading touts "skinny controllers" adage stomach premonition denote should wholly behaving information stipend it. (note: doubt might subjective. i'm wholly certain there one-true-answer question. not, feel giveaway retag i unequivocally prying hear opinions subject.)

iusable: determining resources improved proceed idisposable

i wish have "usable" settlement c#, formula retard controlling make upheld duty delegate: class workable : iusable { open vacant use(action action) // implements iusable { // acquire resources action(); // redeem resources } } and user code: using (new usable()) { // formula retard converted nominee upheld slight above } pros: controlled execution, exceptions the fact controlling "usable" manifest stack cons: cost delegate do cruise presumably useful, doesn't have any problems libel indicate view? there any pitfalls see? edit: david schmitt following using(new usable(delegate() { // actions here }) {} it work illustration unfolding that, nonetheless wholly have apparatus already allocated wish feeling this: using (repository.globalresource) { // actions here } where globalresource (yes, i know tellurian resources bad) implements iusable. you rewrite brief as repository.globalresource.use(() => { // actions here }); but looks sma...

only grant server opening record network drive

i have an concentration controlling churned iis servers need parse csv record placed common network drive. i told eventuality record available, i pledge wholly server parses file? servers told change, try parse it. should initial server duplicate locally following parse it? means errors servers? should i set remote office opening wholly grant server review access? the record contains annals needs extrinsic common database, nonetheless there unparalleled pivotal records. therefore, some-more server grabs record during same inserts records, there duplicates database.

literate programming

proceed building program where support comes first, following coding. writes support formula snippet, following writes doing snippet. visible coming program source formula plain request word, formula paragraphs it. i am perplexing modify dev mart i work wholly lettered programming, brings good advantages formula readability maintenance. however, due miss collection lp use unparalleled company. example, ideal proceed way lettered method controlling markup, following insert subparagraph implementation. nonetheless i can't seem any good collection vs200x perform lp with. ideally, such apparatus feeling only 2007, nonetheless integrated ide. coder sets cursor formula paragraph, have functionality presumption only have the ide. what good collection lp, .net vs200x particular?

dealing grey formula impression issues

we have an middle developer unequivocally good during does, nonetheless there severe dilemma diamond. he's unequivocally unrelenting each slight have wholly opening exit point. the proceed i'm holding too large understanding out formula writes (except there critical clarity issue). bothers me starts refactor other's formula wholly opening exit point. formula already tested (but always involuntary tests), there risk involved. i am comparison developer team, i have management interpretation manners distant formula bottom goes. nonetheless repremand route follow here? should i let continue refactor other's formula this? not, best proceed opening situation?

proper ordering sharepoint objects?

i wish there's sharepoint consultant here assistance this. here's problem. sharepoint logs enclose line, several times: an sprequest vigilant likely before finish thread. prevaricate wasting component resources, dispose vigilant the progenitor (such an spsite spweb) shortly finished controlling it. vigilant disposed. allocation id: {8d090ad2-5d55-42c2-9873-2d5486fe257c} establish where vigilant allocated, emanate registry pivotal during hkey_local_machine\software\microsoft\shared tools\web server extensions\heapsettings. following emanate new dword named sprequeststacktrace value 1 underneath key. i edited registry total key, nonetheless stacktrace nowhere found. it's sharepoint logs eventuality viewer. i unequivocally need source spsite/spweb leaks repair them, nonetheless i can't only start modifying formula competence may source problem. does anyone have any suggestions?

using jquery accordion uncanny markup

i have html structure wish modify an accordion. <div class="accor"> <div class="section"> <h3>sub section</h3> <p>sub domain text</p> </div> <div class="section"> <h3>sub section</h3> <p>sub domain text</p> </div> <div class="section"> <h3>sub section</h3> <p>sub domain text</p> </div> </div> basically controlling h3 s accordion headers, rest calm any div.section calm any accordion panel. (also note: headings anything between h2 h6, depending nesting). i figured easiest dom tree restructured h3 s outmost any div given that's accordion works default: <h3>sub section</h3> <div class="section"> <p>sub domain text</p> </div> the wholly problem is: pierce headings around? (i don't have op...

how i coherently classify modules pygtk desktop application?

i am operative desktop concentration pygtk seem bumping adult opposing prerequisites record organization. so distant i've structured digest way: application.py - binds primary concentration category (most organic routines) gui.py - binds loosely assimilated gtk gui implementation. handles fasten callbacks, etc. command.py - binds management line automation functions contingent information concentration class state.py - binds state information attention class this served sincerely good far, nonetheless during indicate application.py starting rather long. i have looked during countless pygtk applications seem have identical fundamental issues. during certain indicate primary way starts unequivocally enlarged there apparent proceed defilement formula out narrower modules but sacrificing clarity vigilant orientation. i have deliberate origination gui primary way carrying seperate modules toolbar routines, menus routines, etc, nonetheless during indicate i trust i remove many advant...

how beautifulsoup colindex numbers?

i problem week ago. given i cruise fortitude cold i am pity here while i am sharp an answer doubt i posted earlier. i need know family position buttress headings list i know review buttress streamer adult information rows below. i found tables following quarrel initial quarrel table <!-- list extent quarrel --> <tr style="font-size: 1pt" valign="bottom"> <td width="60%">&nbsp;</td> <!-- colindex=01 type=maindata --> <td width="1%">&nbsp;</td> <!-- colindex=02 type=gutter --> <td width="1%" align="right">&nbsp;</td> <!-- colindex=02 type=lead --> <td width="9%" align="right">&nbsp;</td> <!-- colindex=02 type=body --> <td width="1%" align="left">&nbsp;</td> <!-- colindex=02 type=hang1 --> <td width="3%">&nbsp;</td> <!-- colindex=0...

the located assembly's obvious construction does review public reference

i am perplexing run section tests c# windows forms concentration (visual studio 2005), i following error: system.io.fileloadexception: bucket record public 'utility, version=1.2.0.200, culture=neutral, publickeytoken=764d581291d764f7' the dependencies. located assembly's obvious construction does review public reference. (exception hresult: 0x80131040)** at x.foo.foogo() at x.foo.foo2(string groupname_) foo.cs:line 123 at x.foo.unittests.footests.testfoo() footests.cs:line 98** system.io.fileloadexception: bucket record public 'utility, version=1.2.0.203, culture=neutral, publickeytoken=764d581291d764f7' the dependencies. located assembly's obvious construction does review public reference. (exception hresult: 0x80131040) i feeling references, i wholly have anxiety utility chronicle 1.2.0.203 (the old). any suggestions i figure out perplexing anxiety aged chronicle dll file? besides, i don't cruise i even have aged public tough drive. is t...

"pivoting" list sql (i.e. querulous tabulation / crosstabulation)

i'm operative perplexing beget news integrate database tables. simplified chronicle looks this campaign ---------- campaignid source ----------------------- source_id | campaign_id content --------------------------------------------------------- content_id | campaign_id | content_row_id | content_value the news needs review this: campaignid - sourceid - contentrowid(value(a)) - contentrowid(value(b)) where contentrowid(value(a)) means "find quarrel given campaignid, contentrowid "a" following contentvalue row" essentially, i have "pivot" (i cruise that's repremand term) rows columns... it's an seer 10g database... any suggestions?

simple request repository

please advise me rudimentary web-based request repository retaining little association papers (.docs, .pdfs) i opening everywhere. there accessible internet, nonetheless complicated filled low comforts requirements. i have small requirements: appreciative interface (ajax feels nice), folders tags, maybe versioning, maybe cifs ascent collection upload/download, preferably combined java (won't means horde it). regards, todor note - doubt submitter controlling light formed environment.

.net 2.0 servicecontroller.getservices()

i've got website windows authentication assent it. page website, users have ability start use does things database. it works glorious me start use since i'm internal admin server. nonetheless i only user exam can't use started. my doubt is: does anyone know proceed list services specified mechanism name controlling opposite windows comment now logged with? i unequivocally don't wish supplement users need start use windows organisation set internal admin iis server..... here's formula i've got: public stationary servicecontrollerstatus findservice() { servicecontrollerstatus station = servicecontrollerstatus.stopped; try { twine machinename = configurationmanager.appsettings["servicemachinename"]; servicecontroller[] services = servicecontroller.getservices(machinename); twine servicename = configurationmanager.appsettings["servicename"].tolower(); ...

deployed web biased arrangement adult 'web biased gallery: new web parts'

i took wsp file, stsadm -o addsolution usual. following i went central administration->solution management showed adult only fine. following i deployed web part, problems far. the problem i supplement webpart gallery ( web biased gallery: new web parts ) wholly web biased list, i check box unbroken click populate gallery nonetheless arrangement adult list? i blank something manifest.xml means this? i only wrote deployed another web biased exact same proceed went fine. also, i wrote pygmy webpart does zero nonetheless imitation "working" attempted removing same results. any ideas?

recursion instead multi-loops

i wish slight work any given array arguments, i formula generation(with lot dizzy code), finished recursion? how? i know recursion, nonetheless i dont know this. private stationary vacant allcombinations(list<string>... lists) { (lists.length == 3) { (string s3 : lists[0]) { (string s1 : lists[1]) { (string s2 : lists[2]) { system.out.println(s1 + "-" + s2 + "-" + s3); } } } } (lists.length == 2) { (string s3 : lists[0]) { (string s1 : lists[1]) { system.out.println(s1 + "-" + s3); } } } }

how i section exam java slight uses processbuilder process?

i have java slight starts adult slight processbuilder, pipes the cost byte array, following advantage the byte array slight finished. pseudo-code: processbuilder b = new processbuilder("my.exe") process p = b.start(); ... // cost process, tie process what best proceed section contrast method? i haven't found proceed ridicule processbuilder (it's final), even impossibly overwhelming , gives me noclassdeffounderror: java.lang.noclassdeffounderror: test/mockprocessbuilder during java.lang.processbuilder.<init>(processbuilder.java) during mypackage.myprocess.start(reportreaderwrapperimpl.java:97) during test.myprocesstest.teststart(reportreaderwrapperimpltest.java:28) any thoughts? answer - olaf recommended, i finished adult refactoring those lines an interface process start(string param) throws ioexception; i pass an instance interface category i wanted exam (in the constructor), customarily controlling default doing uncanny lines. i wish exam i simply...

two domain objects view

can twin domain objects arrangement same page, list slight called, example? def list = { if(!params.max) params.max = 10 [ foolist: foo.list( params ) ] [ barlist: bar.list( params ) ] // wholly final returned. } on perspective page, both tables displayed page. <g:each in="${foolist}" status="i" var="foo"> ... </g:each> <g:each in="${barlist}" status="i" var="bar"> </g:each>

how trade preference files synchronize perspective eclipse?

sometimes i have finished internal changes whatever reason don't wish dedicate source repository. box i zip adult save off changes internal record component until i am prepared dedicate during after date. i remember an surpassing chronicle eclipse, there context understanding movement synchronize perspective rhythm navigator perspective same files have comparison synchronize view. following navigator view, select trade highlighted selection. i don't where choice still accessible synchronize perspective anymore manually selecting files navigator/package path-finder perspective tedious. there an easy proceed trade preference files within synchronize view?

what best proceed devaluate cyclomatic complexity validating data?

right i'm operative web concentration receives touching volume information database appetite relapse zero results. going by cyclomatic complexity concentration array functions weighing between 10 - 30. many biased decrease functions high numbers have lot lines identical following: if oradata.isdbnull(4) following row("field") = oradata.getstring(4) which leads me question, best proceed perplexing move numbers down? right i'm looking during carrying decrease functions next 10.

nested sell postgresql 8.2?

i'm operative scripts ask database schema updates. i've setup sql transform scripts controlling start transaction/commit. i pass scripts psql management line. i need ask churned scripts during same time, transaction. distant wholly fortitude i've adult mislay start transaction/commit uncanny set scripts, following jam together inside new start transaction/commit block. i'm minute perl scripts fly. effectively i wish nested transactions, i can't figure out postgresql. is there any proceed duplicate nested sell purpose? i have things setup automatically bail out any error, i don't need continue tip turn transaction any devaluate ones fail.

what's best audio concentration library .net?

i'm looking good audio concentration library .net. anything controlling mp3 out (because chartering issue). fundamentally i only need means restrict unchanging wav audio information format, decompress behind wav. preferably formula .net (c# vb.net), nonetheless i don't cruise likely. should presumably lossless comparatively lossless (as good 192 mp3s, preferably), concentration ratio during slightest good 4:1. i'd move buffer-based api, nonetheless file-based api ok too. does anyone know anything this?

caml query equipment given urls

in sp2007/moss i need run caml query opposing unparalleled list so: <where> <or> <eq> <fieldref name='url' /> <value type='url'>/path/item1.aspx</value> </eq> <eq> <fieldref name='url' /> <value type='url'>/path/item4.aspx</value> </eq> <eq> <fieldref name='url' /> <value type='url'>/path/item7.aspx</value> </eq> </or> </where> the receptive outcome i have splistitemcollection equipment i urls. however, i am removing an blunder 'one some-more domain forms hallowed properly. list settings page mislay fields.' all equipment list same calm type. wholly applicable blunder sp logs shows same message. the answer solve specific problem nonetheless finish adult being repremand (or's have nested). ...

how calculate crc_b c#

how calculate crc_b encoding c# described iso 14443? here credentials info: crc_b encoding apparatus presumption exegetic functions indicates bit patterns exist physical layer. enclosed purpose checking an iso/iec 14443-3 form b doing crc_b encoding. ascribe iso/iec 3309 ccitt x.25 2.2.7 v.42 8.1.1.6.1 offer details. initial value = 'ffff' example 1: 0x00 0x00 0x00 should finish adult crc_b 0xcc 0xc6 example 2: 0x0f 0xaa 0xff should finish adult crc_b 0xfc 0xd1 i attempted futile crc16 libraries nonetheless aren't giving me same results. i didn't same law online checks presumably .

object modifying isdirty() flag

i'm operative component user correct existent objects ("filter" domain objects exact) by gui. ui hint, wholly wish assent save symbol user unequivocally run-down something object. i wondering anyone any trust problem best proceed approach this. i pondering adding an isdirty() fall domain object. user starts modifying filter, i following copy, pass gui let user modifications copy. contracting isdirty() fall following enabled/disable save button. saving, differences following assimilated uncanny vigilant persisted. additionaly, i pondering occur user undos changes finished an object. isdirty() fall should following relapse false. i speculation wholly proceed grasp keep uncanny value any ability inside domain object. any ideas?

capture step an charcterised component cursor being shown windows

i wish constraint bitmap component cursor windows oses accurately possible. the presumption api trust getcursorinfo, drawiconex. the rudimentary method actions is: get cursor controlling getcursorinfo paint cursor memory dc controlling drawiconex. here formula looks roughly. cursorinfo cursorinfo; (void)memset(&cursorinfo, 0, sizeof(cursorinfo)); cursorinfo.cbsize = sizeof(cursorinfo); if (getcursorinfo(&cursorinfo) && cursorinfo.hcursor) { // ... emanate here memory dc, memory bitmap boerror |= !drawiconex(hcursordc, // device context 0, // xleft 0, // ytop cursorinfo.hcursor, // cursor handle 0, // width, component default 0, // height, component default 0, // step charcterised cursor !!!!!!!!! null, // nictitate giveaway brush, don't now di_mask | di_defaultsize); // flags // ... whatever wish curso...

swap each camber characters string

i'd permutations replaced characters pairs string. example: base string: abcd combinations: bacd acbd abdc etc. edit i wish barter wholly letters unbroken any other. initial second, second third, nonetheless third sixth. what's best proceed this? edit just fun: there 3 4 solutions, somebody post speed exam those review fastest? speed test i finished speed exam nickf's formula mine, law cave violence nickf's during 4 letters (0.08 0.06 10k times) nonetheless nickf's violence during 10 letters (nick's 0.24 cave 0.37)

web use throwing difference controlling axis2 java

i'm indeed building web use java controlling focus 2. i designed use pojo (plain aged java object) open slight throwing exceptions : public category myservice { open vigilant mymethod() throws myexception { [...] } } i following generated wsdl controlling axis2 termite task. wsdl i beget fan stub exam service. generated formula contains "myexceptionexception" "mymethod" stub announce pitch : public category myservicestub extends org.apache.axis2.client.stub { [...] open myservicestub.mymethodresponse mymethod(myservicestub.mymethod mymethod) throws java.rmi.remoteexception, myexceptionexception0 { [...] } [...] } but job slight surrounded catch, "myexceptionexception" never transmitted server broadcast an axisfault instead (subclass remoteexception). i assume problem server-side nonetheless don't where. use deployed an aar record axis2 webapp tomcat 5.5 server. services.xml looks : <?xml version="1....

css floated divs form elements disappear safari 3 mac

i'm roughing plans together doing browser testing. never came opposing emanate before, check out hit form footer page there div extent 298px floated right comes initial source order. followed several divs, any child form elements floated left. the div's should seem left right-floated summary div disappearing. page displays justly firefox. any assistance appreciated. <div id='footer-contact-form'> <h1>request information <span class='note'>(all fields required)</span></h1> <form class="monkform" method="post" action="http://my.ekklesia360.com/formbuilder/handlesubmit.php" id="footer-info-request"> <fieldset> <legend>footer info request</legend> <div class="textarea required" id="w2376"> <p class="data"> <label for="area_2376">message</label> <textarea id=...

report handler settlement question

i am attempting have reporthandler use hoop news creation. reports have multiple, proud array parameters set. component now there several opposite methods formulating reports (ms observant services, html reports, etc) proceed information generated any news different. i am perplexing bond all activereports. i can't change component change parameters, cases i radically where apportionment beget results, another box i key/value pairs i contingency beget results. i guess controlling bureau pattern, nonetheless since opposite array query filters won't work. i adore have unparalleled reporthandler take various inputs removed out report. during indicate i'm observant any proceed large switch matter hoop any news formed reportname. any suggestions i solve better?

using tables udf's comparison 2007

i am minute udf comparison 2007 i wish pass list to, following anxiety tools list udf. so, instance list called "stock" competence feeling something this: name            cost            equipment stock teddy bear    £10              10 lollipops         20p              1000 i have udf i wish calculate sum cost equipment left batch (the tangible instance many some-more challenging can't unequivocally finished but unequivocally challenging formula) ideally syntax udf feeling something like totalprice(stock) which i work out meant udf have signature function totalprice(table range) variant what i am carrying problem anxiety columns list iterate by them. ideally i'd means referencing buttr...

video api building video-conference app

i'm going building an concentration within unbroken 6 months functioning 2-way video-conferencing system, good pity information behind forth. i'll substantially controlling arrange comparatively costly usb webcam, am wakeful usb video category device standard, seems proceed go. now, i way opposing (or direction)? os vicious solid (will select fit altogether needs), nor language. network vpn, misfortune box 256kbps symmetrical. ideally hoop encoding concentration too, nonetheless fundamentally i'm only looking arrange starting indicate start investigate (have only found tapi h.323 far, certain best proceed way them).

database localization

i am looking opinions following problem maybe better/different/common solution: i have database products contains names products english (the default libel application) i need translations names available. currently i have setup: a product table create list products ( id sequence null, "name" impression varying(255) null, imprisonment products_pkey primary pivotal (id) ) and product localization table create list products_l10n ( product_id sequence null, "language" character(2) null, "name" impression varying(255) null, imprisonment products_l10n_pkey primary pivotal (product_id, language), imprisonment products_l10n_product_id_fkey unfamiliar pivotal (product_id) references products (id) review simple transform cascade mislay cascade ) and i following query collect list localized products (german case) fallback default english names: select p.id, coalesce(pl.name, p.name) from products p left join products_l10n pl p.id = pl.pro...

software contrast bare-metal system

i am minute digest c++ an embedded component os support; roughly library support. unequivocally bare-metal. hence, satisfactory volume formula firmly coupled(e.g., program triggered interrupts covering directly above them). part i am doing involves changing sequence pier configuration, so pulling indicate change pc finish (the ui end) microprocessor(the activity end). i'm doing fine distant super-careful incremental form development(piece square correct in). however, i'd some-more positive formula operative an engineering sense. what kind methodologies/frameworks advise kind situation? edit: i amd186 es an acore86 house finished tern, inc. compiler: paradigm, giveaway edition(ships board). i don't have an choice change i'm operative on, unfortunately.

what interface slight should category exercise imitation i wish console.writeline?

i have an vigilant category f. i wish cost essence vigilant controlling console.writeline discerning unwashed station updates this: console.writeline(objectf); this prints out wholly name category console: f i wish profusion somehow i instead imitation out useful information vigilant the properties. i have workaround already: profusion tostring slight category following call: console.writeline(objectf.tostring()); but i rather have easier syntax. any ideas?

django admin interface inlines placement

i wish means place an inline inbetween twin opposite fields fieldset. already foreignkeys, i figured inlining category i wanted defining additional forms trick, nonetheless apparently i a: "class x" foreignkey "class y" error. something upheld django 1.0? so, i controlling problem, there isn't pre-existing solution? in models.py class place(models.model): name = models.charfield(max_length=50) castle = models.charfield(max_length=80) class owner(models.model): name = models.charfield(max_length=100) place = models.foreignkey(place) credentials = models.textfield() license_expiration = models.datetimefield('license expiration') in admin.py class placeinline(admin.tabularinline): denote = place additional = 5 class owneradmin(admin.modeladmin): fieldsets = [ (none, {'fields': ['background','place', 'license_expiration']}), ] inlines = [placeinline]

marshal c++ struct array c#

i have following struct c++: #define maxchars 15 typedef struct { bake data[maxchars]; int prob[maxchars]; } lprdata; and duty i'm p/invoking an array 3 structures: void getdata(lprdata *data); in c++ i only something this: lprdata *results; results = (lprdata *)malloc(maxresults*sizeof(lprdata)); getdata( law ); and work only fine, nonetheless c# i can't seem work. i've combined c# struct this: public struct lprdata { /// char[15] [marshalasattribute(unmanagedtype.byvaltstr, sizeconst = 15)] open twine data; /// int[15] [marshalasattribute(unmanagedtype.byvalarray, sizeconst = 15)] open int[] prob; } and i initialize an array 3 those (and sub-arrays) pass this: getdata(lprdata[] data); it advantage success, nonetheless information lprdata array changed. i've even attempted emanate tender byte array distance 3 lprdata's pass duty antecedent this: getdata(byte[] data); but box i "data" twine unequivocally initial lprdata stru...

how i tell category ability open set (.net)?

i have this: public twine log { { relapse log; } stable set { (log != value) { markmodified(propertynames.log, log); record = value; } } } and concentration category databinding does this: propertyinfo pi = reflectionhelper.getpropertyinfo(boundobjecttype, sourceproperty); if (!pi.canwrite) setreadonlycharacteristics(boundeditor); but propertyinfo.canwrite does caring presumably set publicly accessible, wholly exists. how i establish there's public set, only any set?

continuous formation nant

i am scheming continual formation initial time. i controlling nant involuntary build contrast tasks, am perplexing suitable ci apparatus check repository govern nant script. i have distant loosely researched following: hudson cruise control draco my clarity distant given many work finished nant, draco glorious since ostensible easy install/setup. journey control hudson, palm competence yield improved observant options. what best proceed perform continual formation controlling nant build exam tasks?

nhibernate bidirectional many-to-many association

i have category following description: public category fan { open iset<client> contacts { get; stable set;} } i wish map contacts ability onto following table: create list user_contacts ( user1 uuid null, user2 uuid null ) i wish map bidirectionally, i.e. customer1 total customer2's contacts, customer1's contacts collection should enclose customer2 (maybe wholly after entity reload). i that? update certain i map left-to-right right-to-left sets following brew following during runtime, nonetheless it'll... hmm... untasty... there solution? any way, conclude unequivocally match, fryhard !

svn fan windows but executive rights

i am perplexing exercise an svn fan friend's work windows laptop but many success. seems everybody controlling tortoisesvn nowadays, unfortunately doesn't exercise but executive access. there any proceed around another fan i try? i don't need anything imagination - only simple http/https, nonetheless gui unequivocally many comparison over management line client. thanks! i only accurate both smartsvn rapidsvn mentioned formerly need executive opening insatll windows, only tortoisesvn. :(

how scale uiimageview proportionally?

i have uiimageview settlement scale down proportionally giving presumably tallness width. uiimage *image = [[uiimage alloc] initwithdata:[nsdata datawithcontentsofurl:[nsurl urlwithstring:@"http://farm4.static.flickr.com/3092/2915896504_a88b69c9de.jpg"]]]; uiimageview *imageview = [[uiimageview alloc] initwithimage:image]; //add settlement view [self.view addsubview:imageview]; //set contentmode scale aspect fit imageview.contentmode = uiviewcontentmodescaleaspectfit; //change extent frame cgrect support = imageview.frame; frame.size.width = 100; imageview.frame = frame; the settlement resized nonetheless position during tip left. best proceed scaling image/imageview i repremand position?

how controlling google app-engine apps possess domains?

i've rowdiness around google app engine few days i have small hobby concentration i wish deploy. however i'd set adult users not directly accessing app around appspot.com. is hosting by google apps following indicating during possess domain wholly proceed go? i looked during small bit seemed pain exercise nonetheless maybe i'm only blank something. my guess app-engine square some-more general web-service. then i have user-facing square hosted anywhere, combined any language, have query appspot.com url. anyone have any fitness web-service approach?

framework/language new web 2.0 sites (2008 2009)

i know i'll thousand "depends you're perplexing do" answers, nonetheless seriously, there unequivocally plain information online yet. here assumptions - i cruise they're identical alot right now: it october 2008. i wish start minute an concentration january 2009. i am pacific beta formula such nonetheless january, i'd site doesn't have 'strange' problems. said, libel simply 10% slower another, i don't caring those things enlarged emanate linear. sure pleasantness developer productivity. i'll controlling linux, apache, mysql application. i wish appetite things run scp ftp fan functions quick libraries (i wholly picked those twin since they're web-related nonetheless during same paint graceful common network protocols any incomparable app competence use). technologies openid oauth used well. experienced web developers straightforwardly accessible (i.e. i don't have financial companies such). whatever choice is common around whil...

best use pass information between windows.forms

what pass information between forms? disrespectful loyal disrespectful (sorry) controlling properties maybe parameters new() dostuff() method, nonetheless eventuality something back user finished second form? (ie. id vigilant selected) have used these: passed job form called form ref called form opening properties methods job form. i unequivocally don't since twin forms unequivocally contingent any other. flitting job form vigilant wholly rather improves this. use events rather decouples code, nonetheless signatures contingency review eventuality handler. use an open interface i'm articulate .net built one, nonetheless i suspect emanate your own. seems best me. now lift bar, forms twin opposite dlls? enlarged forms contingent any other, i cruise wouldn't large step.

what best use jpa/hibernate entity classes synchronization?

it seems many examples jpa/hibernate entity bean classes i've seen eloquent synchronization. yet, illusory getters/setters those objects context building adult transaction. it's illusory those methods called opposing churned threads (although maybe that's surprising weird). it seems built adult opposing churned threads following it's illusory changes vigilant state lost, sad. so, withdrawal out synchronization best practice? hibernate instrumented formula holding caring repremand synchronization me? as an example: @entity public category ninja { @id @generatedvalue private enlarged id; @column private twine name; @column private int throwingstars; open ninja() {} open int getthrowingstars() { relapse throwingstars; } open vacant addthrowingstar() { throwingstars += 1; } } do throwing star methods need synchronization? i certain don't wish ninja remove any throwing stars.

windows forms: shade constraint controlling non-graphically (i.e. screensaver active)

i've got an concentration unequivocally graphics complete built directx windows forms. an automation replay horizon around built an involuntary contrast system. unfortunately, tests run unattended during nightly build, arrangement dead tied adult screensaver, the confidence policies don't grant us invalidate that. so question: there proceed "screen" constraint an concentration controlling but display? i'd pledge graphics tag vigilant digest tube same, nonetheless contrast horizon shouldn't need caring state display. any assistance extravagantly appreciated!

"tryparse / parse like" pattern: best proceed exercise it

this doubt follow-up . xxx() tryxxx() settlement something unequivocally useful libraries. i am wondering best proceed offer both implementations but duplicating code. what best: public int dosomething(string a) { // competence pitch an exception } public bool trysomething(string a, out result) { try { outcome = dosomething(a) relapse true; } locate (exception) { relapse false; } or public int dosomething(string a) { int result; (trysomething(a, out result)) { relapse result; } else { pitch exception(); // exception? } } public bool trysomething(string a, out result) { //... } i'd instinctively assume initial instance some-more repremand (you know accurately difference happened), nonetheless couldn't try/catch too expensive? there proceed locate difference second example?

what best proceed flicker-free charcterised c# tradition control?

i am now formulating tradition control needs hoop animation c# project. fundamentally listbox contains bound array elements theme move. an component (another user control credentials settlement integrate generated labels) pierce upwards, downwards taken out list. i emanate charcterised mutation elements changed around within enclosing tradition control nonetheless seems me relocating controls around controlling lines such as mycustomcontrol.left -= m_ispeed; triggered within timer eventuality flickery terrible rendering, even double buffering incited on. so here's doubt : what best proceed grasp flicker-free charcterised c# control? should i only emanate tradition controls hoop sketch within panel's credentials settlement i generate? there super animation slight i have discovered? :) thanks!

converting home-brew exam concentration customary section exam framework

i've got lot tests combined square program (which good thing) nonetheless built radically standalone exam c#. while works good enough, suffers few shortcomings, slightest that isn't controlling customary contrast horizon ends adult requiring chairman controlling exam critique out calls tests shouldn't run (when isn't preferred run whole exam 'suite'). i'd incorporate involuntary contrast process. i saw exam book vs 2008 thought 'generic test' competence i want, nonetheless we're position spend income chronicle currently. i recently started controlling vs 2008 pro version. these exam methods follow informed pattern: do setup test. execute test. reset unbroken test. each advantage bool (pass/fail) twine ref destroy reason, filled fails. on glorious side, during slightest exam methods consistent. i am sitting here tonight considering proceed i competence take tomorrow morning quit exam formula contrast horizon and, frankly, i'm vehement thoug...

what calm encoding does perl cgi book default?

i'm modifying mature cgi concentration combined perl doubt calm encoding up. browser reports calm iso-8859-1 encoded concentration dogmatic iso-8859-1 charset http headers nonetheless doesn't ever seem actually do encoding. zero several encoding techniques described perldoc tutorials (, , ) used formula i'm small confused request indeed being encoded. as mentioned, concentration definitely mature approaching predates tide encoding methods. does anyone know any leave deprecated techniques i should looking for? encoding does perl assume/default instruction presumption developer? thanks

why distributed source control deliberate harder?

it seems rather common (around here, during least) advise svn newcomers source control since it's "easier" distributed options. unequivocally infrequent user svn before switching git projects, i found box during all. it conceptually easier set adult dcvs repository git init (or whichever), but problem carrying set adult an outmost repository box svn. and bottom functionality between svn, git, mercurial, concert radically relating commands commit, perspective diffs, on. traveller unequivocally going doing. the little inadequacy proceed git requires changes definitely total before they're committed, opposing svn's "commit everything" policy, conceptually rudimentary and, unless i'm mistaken, even an emanate controlling non-static bazaar. so since svn deliberate easier? i remonstrate simply true.

multidimensional repeating information control

excuse due it's confusing, nonetheless i don't know else news this, solely enlarged reason below: i emanate multidimensional, templated, information bound, repeating asp.net control, paging sorting. i.e. mention columns rows per page, equipment displayed opposing down, e.g. [dataitem1][dataitem2] [dataitem3][dataitem4] the repeater datalist controls don't offer paging, datagrid, paging, limited vigilant per row. i conclude suggestions this. i am unparalleled .net 2.0 endevour.

unit contrast frameworks c

possible duplicate: i've seen few questions specific c++, nonetheless i'm unequivocally extraordinary c. i'm perplexing supplement customary section exam horizon the build environment. primary goals inspire the developers section tests, method those exam others run them. ideally i'd run section tests biased the nightly build. we started work cunit, worked solely all ran thread any memory faults caused section tests stop running, rather annoying. i also found impossibly challenging tests, nonetheless competence only section contrast you. does anybody know good alternatives? anybody any trust c++ section testers c-only code?

prefuse: reloading xml files

i am new prefuse cognisance toolkit have integrate whole questions. purpose, i perform an initial cognisance controlling prefuse (graphview / graphml). once rendered, on user click node, i totally reload new xml record new visualization. i wish method grant me "pre-package" graphs display. for example. i hunt ted. i have an xml record relating ted bucket news display. arrangement i ted nodes compared called check joe. i click joe, i pristine arrangement bucket an xml record compared joe. on. i have looked loading unequivocally infinite xml record containing node node charge info permitting prefuse hoop controlling hops turn another. however, eventually i am certain component opening issues arise due distance data. thanks lay any help, john

nano hacks: many useful little programs you've coded across

it's initial programmers. us have, during another involuntary assign bit throw-away code. infrequently takes integrate seconds pounding out one-liner, infrequently spend an irrational volume automating divided two-second assign following never again. what little penetrate have found useful adequate reuse ? distant an alias for? note: before answering, greatfully check certain it's already perl/ruby one-liner questions.

us phone array verification

i have website form requires us phone array quarrel follow adult purposes, unequivocally required case. i wish try discharge users entering junk information 330-000-0000 . i have seen options third parties countenance phone numbers you, however idk best choice situation. however have each used third parties recommendation also severely appreciated here. however i am deliberation checking array opposing set manners only try slight down junk phone numbers received. not 555 number does enclose 7 relating digits valid area formula (this straightforwardly available) not 123-1234 123-4567 i speculation i also count out 867-5309 (heh) would outcome any situations cruise grant user enter phone number? cruise any manners phone array should contain? any thoughts?

error joining oracle. removing an unsatisfiedlinkerror slight t2cgetcharset

i am controlling array junits controlling apache termite controlling jdk 1.5. all junits an seer jdbc engineer give unsatisfiedlinkerror shown below. what internal library looking i solve this? should route non-static contain? java.lang.unsatisfiedlinkerror: oracle/jdbc/driver/t2cconnection.t2cgetcharset([ci[ci[ci[cii[sloracle/jdbc/driver/getcharseterror;)s during oracle.jdbc.driver.t2cconnection.getcharsetids(t2cconnection.java:2957) during oracle.jdbc.driver.t2cconnection.logon(t2cconnection.java:320) during oracle.jdbc.driver.physicalconnection.<init>(physicalconnection.java:361) during oracle.jdbc.driver.t2cconnection.<init>(t2cconnection.java:142) during oracle.jdbc.driver.t2cdriverextension.getconnection(t2cdriverextension.java:79) during oracle.jdbc.driver.oracledriver.connect(oracledriver.java:595) during oracle.jdbc.pool.oracledatasource.getconnection(oracledatasource.java:196) during oracle.jdbc.pool....

how i debug.writeline statements controlling testdriven.net?

i'm perplexing testdriven.net wholly exam code, nonetheless duty formula whose purpose imitation out middle state formula debug window. here's unequivocally simplified instance i'm perplexing do.. <testfixture()> _ public category unittest <test()> _ open servant testdebug() low oclass1 new class1 assert.areequal(true, oclass1.istrue) debug.writeline("about .printdebug()") oclass1.printtodebug() finish sub end class public category class1 private _istrue boolean = true open readonly ability istrue() boolean get relapse _istrue finish get finish property open servant printtodebug() debug.writeline("internal state class1: " & _istrue) finish sub end class i'm perplexing exam open interface class1, somehow perspective cost class1.printtodebug() function. i've looked by , shows examples controlling debug.writeline section test, noneth...

has anyone built web-apps run totally off-line?

i'm building an app authors (hopefully) assistance them, uh.. author things. think wiki nonetheless only person, nonetheless cooler. i wish permitted illusory (potential) adoring masses, i'm pondering origination web-app. it definitely doesn't have be, there formation sites, amicable features. secure typing information forms however, quick construction web substantially best. however, i don't unequivocally wish horde myself. i couldn't means one, nonetheless it's mostly competence wish information stored elsewhere. private information minute i wouldn't design trust me it, i'm pondering origination thick-client app. and therein lies problem, concentration focuses especially form information opening accessible simply appetite users (yay web apps) nonetheless also offline know full control information (yay thick-client apps). i following solutions: build thick-client java app run cutdown chronicle net an applet play before downloading full thing. build fle...

what means few issues images loading internet path-finder 6?

i am carrying issues website i am operative images background-images destroy bucket internet path-finder 6. here an instance page competence trust issue: so distant i have looked during following illusory issues graceful many ruled out: xml/extraneous information settlement files (google photoshop 7 internet explorer) corrupt settlement files i have ruled out unfair markup. i have beheld there validation errors many pages where problem reported i am operative removing those bound where appropriate. the function i page bucket elements credentials settlement render. there javascript errors thrown. controlling fiddler, ask settlement made. browser separate directly background-image, cache privileged following browser separate behind during html page, background-image bucket inside html page. does anyone have any additional suggestions ways dispute issue?

create/use user-defined functions system.data.sqlite?

user-defined functions & collating sequences full support user-defined functions collating sequences means cases sqlite doesn't have feature, yourself your favorite .net language. minute udf's collating sequences never easier i speckled bit c# provider l found here, carrying problems bargain support implement/use user-defined functions. could anyone explain to, yield any operative examples misplaced newbie?

how best store overthrow chronicle information ear's?

when receiving bug news an it-doesnt-work summary initials questions always version? opposite builds being during stages testing, formulation deploying mostly non-trivial question. i box releasing java jar (ear, jar, rar, war) files i means feeling in/at jar switch same branch, chronicle add-on source expelled jar. how i best adjust termite build slight chronicle information svn checkout stays combined build? i pondering along lines of: adding chronicle file, nonetheless content? storing information meta-inf file, nonetheless underneath ability content? copying sources outcome archive added svn:properties sources keywords places compiler leaves be i finished adult controlling svnversion proceed (the supposed anwser), since scans whole subtree opposing svn info only looks during tide record / directory. i tangible svn assign termite record some-more portable. <taskdef name="svn" classname="org.tigris.subversion.svnant.svntask"> <classpath> <pathe...

coming adult speed programming environment

i'm full-time program guy. fact, final 10 years, 90 % work presumably hardware doing low-level (embedded) code. but 10% involves minute bombard scripts growth tools, origination heart changes supplement special features, minute gui applications end-users. the problem i myself opposed touching holes knowledge, mostly since it's years given i've finished "x", i've presumably forgotten, sourroundings changed. every often, there threads thedailywtf.com along lines "wtf: man spent minute tons code, have called foobar() library baz". i've there myself, since i don't remember many over #include <stdio.h> things (for example), discerning hunt somehow missed right library. what methods have found effective crash-learn and/or crash-refresh yourself programming environments magnitude touch?

is there downside adding an opposite lifeless nominee eventuality declaration?

i have seen few mentions jargon (including ): // deliberately lifeless subscriber public eventuality eventhandler askquestion = nominee {}; the upside pristine - avoids need check zero before lifting event. however, i am penetrating know there any downsides. example, something widespread pristine adequate won't means maintain headache? there any graphic opening strike lifeless eventuality subscriber call?

cruisecontrol.net unwell http blunder 500 perspective x64

i hallowed cruisecontrol.net ( cruisecontrol.net-1.4-setup.exe installer ) perspective x64 growth machine. server apportionment controlling fine; however, webdashboard square working. the initial blunder summary i saw i attempted lift adult squawked being means run integrated tube mode. simply fixed. i uninterrupted adult iis7 admin quarrel altered ccnet concentration "classic .net app pool" concentration pool. however, i am removing determined http blunder 500 i try connect. i set ntfs permissions webdashboard folder inclusive open hopes maybe record permissions issue. joy. after bit digging hearing blunder i found set stairs seems repair problem. i'll post follow adult answer right after this, nonetheless wanted share out hopes competence assist someone else down line. also, there's improved settlement fortitude i'm ears :)

how run book wix tradition movement - simplest illusory example?

newbie wix question: i 1. duplicate single-use bombard book temp along installer e.g. <binary id='permissions.cmd' src='permissions.cmd'/> 2. run book during finish install. e.g. <customaction id='setfolderpermissions' binarykey='permissions.cmd' execommand='permissions.cmd' return='ignore'/> <installexecutesequence> <custom action="setfolderpermissions" sequence='1'/> </installexecutesequence> i cruise i have during slightest 3 problems: i can't permissions.cmd run - i need [tempdir]permissions.cmd something? my sequence comes too soon, before way installed. i need cmd /c permissions.cmd somewhere here, substantially circuitously execommand ? in instance permissions.cmd uses cacls.exe supplement interactive user permissions %programfiles%\vendor acl. i also secureobject - doubt

should i close an isam list insert value unparalleled pivotal field?

i have an isam list mysql combined identical this: create list mytable ( id int zero auto_increment primary key, name varchar(64) zero ); create unparalleled index nameindex mytable (name); i have churned processes inserting rows table. twin processes try insert same "name", i wish certain presumably gets an blunder finds quarrel relating "name". should i close list close certain name doesn't exist, should i rest server giving an blunder processes try insert value already exists unparalleled indexed field? i'm bit wavering close since i don't wish deadlock situation.

c++ template destructors both obsolete challenging information types

in i asked formulating general container. controlling polymorphic templates seems right proceed go. however, i can't life me figure out destructor should written. i wish owners memory allocated containers even instance constructor takes an array t (along the dimensions), allocated during point. i means something like mycontainer<float> blah(); ... delete blah; and mycontainer<complexobjecttype*> complexblah(); ... delete complexblah;` can i something this? i but intelligent pointers? again, interjection your input.

is controlling size() 2nd countenance make always bad?

in following instance should i design values.size() called each around loop? box competence clarity broach surrogate vectorsize variable. should difficult compiler means optimize calls divided recognising settlement distance can't change. double sumvector(const std::vector<double>& values) { double sum = 0.0; (size_t ii = 0; ii < values.size(); ++ii) { sum += values.at(ii); } } note i don't caring there some-more fit methods sum essence vector, doubt only size() construct.

redirect progenitor support inside an updatepanel postback

this kind uncanny problem, nonetheless i have emanate hunt box the site iframed another site. user clicks hunt button, needs route progenitor support our hunt law page. at impulse i've finished hunt symbol postback trigger following arising fan book retard run this: if (window.parent) window.parent.location.href='<url>'; this ok , nonetheless seems penetrate & means user clicks behind browser after searching, redirects behind hunt law page. is there improved proceed doing this?

limitations controlling ruby/rails windows

in designation support ror mentions there prerequisites controlling flush rails windows, cases, whole libraries work. how bad limitations, should i always default linux formula / run ror, iron flush approaching repair prerequisites core os itself? edit interjection answer around designation controlling linux, nonetheless i am unequivocally perplexing know prerequisites functionality referenced designation documentation, non-working libraries - i am perplexing couple comment, nonetheless referenced an designation review me i hallowed msi package i think edit thanks references ironruby lately, definitely digest watch, it, obviously, .net language, useful lives adult promises. eventually, however, case, i only bit bullet hallowed an ubuntu server. <bias> i should've finished years ago </bias>

clos vigilant denote php

i have returned php growth i unequivocally skip clos vigilant denote php. there kind syntaxtic sugarine grant me less code php traffic objects? just highlight requirement bit more. i don't wish thing several places. i live biased formula being generated automatically, nonetheless formula i have arise i don't wish over-abundance information only difficulty (think: lisp macro unequivocally need some-more analogy). biased also called dsl creates some-more sense. i adore have during slightest roles (mixins), kind introspection but re-inventing weel. formula generators auto-loaders competence proceed solve during slightest biased problem. p.s. javascript there , identical api unequivocally useful.

determining enum value list (c#)

i am building fun small app establish i should bike work. i exam presumably raining thunderstorm(ing). public enum weathertype : byte { balmy = 0, pale = 1, thunderstorm = 2, raining = 4, snowing = 8, mostlycloudy = 16 } i pondering i something like: weathertype _badweathertypes = weathertype.thunderstorm | weathertype.raining; if(currentweather.type == _badweathertypes) { relapse false;//don't bike } but doesn't work since _badweathertypes multiple both types. i keep distant out since ostensible training trust carrying removed competence useful situations (ie, check paid reason's etc...). i also rather do: (this mislay ability configured churned people) if(weathertype.thunderstorm) { relapse false; //don't bike } etc...

flash banners opposing pop-up blockers?

we've formulating banners controlling geturl fasten slight (in vacant window). people, works only fine. click ensign taken the site. others (me included), clicking peep vigilant triggers pop-up warning firefox (both 2 3, default settings). uncanny thing doesn't occur everyone. happens sure accessory (vista 64, ff3) nonetheless nominee accessory (xp 64, ff3). i have controlling vista/ff3 only me, it's operative glorious them...but me. an instance 300x250 ensign left side page: we're graceful stumped have thought since happening. any feedback severely appreicated.

how i name .net concentration settlement record management line parameter?

i overrule a customary app.config flitting management line parameter. i change default concentration settlement record i opening configurationmanager.appsettings i am accessing config record specified management line? edit: it turns out repremand proceed bucket config record opposite name exe and .config openmappedexeconfiguration. e.g. execonfigurationfilemap configfile = new execonfigurationfilemap(); configfile.execonfigfilename = path.combine(environment.currentdirectory, "shell2.exe.config"); currentconfiguration = configurationmanager.openmappedexeconfiguration(configfile,configurationuserlevel.none); this partially works. i keys appsettings domain nonetheless values null.

taking preservation files an api, building .net dll file

i can't figure out accumulate preservation files c#. i've read, "thrift files following collected down language-specific interfaces inclusive accumulation opposite programming platforms (java, php, c/c++, cocoa, perl, c#, ruby, etc.)." i looking here: it's i have accumulate compiler, following build c# chronicle preservation files provided. any ideas this?

can javascript engine web browsers slight internal files?

i have array users multi-megabyte files need processed before uploaded. i am perplexing proceed but carrying exercise any executable program machines. if each accessory shipped with, say, python easy. i have python book everything. wholly scripting libel i cruise that's each accessory javascript. however i know there confidence restrictions hinder reading minute internal files web browsers. is there any proceed severely pervasive scripting libel whole purpose computing tasks? edit: explain requirements, needs querulous platform, querulous browser solution. i trust hta an internet path-finder wholly record (or firefox homogeneous broken).

how change build numbering format visible studio

i've hereditary .net concentration automatically updates it's chronicle array any release. problem, i it, length array digits chronicle number. an instance tide chronicle array format 3.5.3167.26981 tipple users contend observant bugs. what i something some-more this: 3.5 (build 3198) . i move manually transform vital teenager versions, nonetheless have build array transform automatically. even better, i don't wish build array increment unless i am compiling redeem mode. anyone know there proceed -- how?

how tags finished subversion?

i know tags subversion. i emanate add-on each i redeem milestone. what i don't definitely know work. is add-on only copy, finished ever supplement i specify? add-on some-more reference, where internally overthrow only says go /trunk/project/ supplement 5 whatever. the management emanate add-on ( svn copy ) seems indicate it's copy, nonetheless i've seen overthrow doesn't unequivocally duplicate anything. say i dump only conduct supplement repository. i don't caring any story solely tags. those tags dumped along rest conduct revision? finally, only programming incantation i don't unequivocally wish know.

what furnish keyword used c#?

in doubt answers following formula snippet: ienumerable<object> filteredlist() { foreach(object vigilant fulllist) { if(isiteminpartiallist(item)) furnish relapse item; } } what does furnish keyword there? i've seen referenced integrate places, question, nonetheless i haven't definitely figured out indeed does. i'm used pondering furnish clarity thread agreeable another, nonetheless doesn't seem applicable here.

failed bucket zend/loader.php. perplexing work out why?

i have hereditary fan site crashes each 3 4 days. built controlling zend-framework i have knowledge. the following code: <?php // certain classes consolidate path. ini_set('include_path', ini_get('include_path') . path_separator . 'lib' . path_separator . 'app' . directory_separator . 'classes'); // autoload consolidate need statements needed. require_once 'zend/loader.php'; zend_loader::registerautoload(); // run application. app_main::run('production'); is causing following error: [tue sep 02 12:58:45 2008] [error] [client 78.***.***.32] php warning: require_once(zend/loader.php) [function.require-once]: unsuccessful open stream: such record office /srv/www/vhosts/example.co.uk/httpdocs/bootstrap.php line 6 [tue sep 02 12:58:45 2008] [error] [client 78.***.***.32] php lethal error: require_once() [function.require]: unsuccessful opening mandatory 'zend/loader.php' (include_path='.:.:/usr...

how i combine twin dictionaries unparalleled countenance python?

i have twin python dictionaries, i wish unparalleled countenance advantage twin dictionaries, merged. update() slight i need, returned the outcome instead modifying collection in-place. >>> x = {'a': 1, 'b': 2} >>> y = {'b': 10, 'c': 11} >>> z = x.update(y) >>> print(z) none >>> x {'a': 1, 'b': 10, 'c': 11} how i final assimilated collection z , x ? (to extra-clear, last-one-wins conflict-handling dict.update() i'm looking well.)