Posts

Showing posts from September, 2015

confused -- c++ 3rd jubilee library, new c++

(mingw32, windows xp) hello, i am attempting quit java c++. i am confused undone finding, installing, compiling non-standard c++ libraries. java it's accessible pressed each functionality support ever indispensable java's customary api. there list essential c++ library such threading, gui, networking, image\ audio processing, xml, etc.etc. place? possibly, offering unparalleled package? i attempted installing qt library weeks can't even compile. java i used learn trial-and-error learn new aspect functionality, nonetheless dilettante i can't fetch run new api initial place. please, i need your suggestion, creatively i wanted smack giveaway java's abstraction, nonetheless i only wish means c++ before i solid sharpened myself head.

in ado.net information services i check an entity already context?

i have an ado.net information use i am controlling information import. there array entities related many entities. during import i emanate those entities first, save following .setlink(entityimport, "navigationproperty", createdentity). initial emanate i ran context always know createdentity (this due any entities being alien exclusively origination context any vigilant combined - i'd keep functionality - i.e. i'm perplexing prevaricate "just context" answer). so i have .addtocreatedentitytype(createdentity) before attempting setlink. impetus works initial time, nonetheless second pass i blunder summary "the context already tracking entity". is there proceed check context already tracking entity (context.contains(createdentity) isn't nonetheless implemented)? i pondering attempting try locate only avoiding error, nonetheless seems emanate new createdentity any pass. looking i need linq information services createdentity any time, noneth...

in method mysql joins evaluated?

i have following query: select c.* from companies c join users u using(companyid) join jobs j using(userid) join useraccounts us using(userid) where j.jobid = 123; i have following questions: is controlling syntax synonymous syntax? are joins evaluated left right? words, does query say: x = companies join users; y = x join jobs; z = y join useraccounts; if answer doubt 2 yes, stable assume companies list companyid, userid jobid columns? i don't know where apportionment used collect rows companies list referring alias "j" any assistance appreciated!

c#: biased classes & web services: separating form functionality

i am dabbling universe web services i've origination rudimentary web use mimics mathematical operations. firstly simple, flitting twin integers following binary user receptive (plus, discount etc) depending slight called. then i solid things small some-more challenging started flitting objects around, nonetheless following i detected web use wholly exposes information side category organic side. i told good proceed understanding category use side biased category (this side category encapsulating form) fan side have another biased category (where side category encapsulates functionality). seems an glorious proceed doing things.. so, i have set adult twin classes described above, nonetheless doesn't seem operative i told. is i am attempting possible? so, where am i going wrong?

why doesn't nameobjectcollectionbase category yield proceed insert objects collection index?

the system.collections.specialized.nameobjectcollectionbase category used extensively during association basement collection classes. (let's doubt why.) i recently came opposing conditions where i indispensable supplement an vigilant during specific index, nonetheless functionality wasn't there. during initial i wondered since left functionality out our collection classes, nonetheless i shortly detected functionality blank nameobjectcollectionbase ! you opening objects collection index ( baseget(int index) ). you mislay objects collection index ( baseremoveat(int index) ). but can't insert an vigilant during specific index. i can't cruise good reason since functionality isn't available. you? [update]the underlying doing only hashtable . collection maintains both hashtable an arraylist . establish controlling reflector.

using cmyk psd but photoshop

i have run common, nonetheless challenging problem. i photoshop settlement manipulation. given work web-based, does i need 99% situations. problem i catchy accept files encoding rather encoding. files open gimp, nor modify . has anyone found good fortitude converting cmyk files rgb files (either psd format boring format png) does not secure photoshop? contend plug-in gimp standalone utility?

handling dbnull information vb.net

i wish beget formatted cost information retrieved an ms-access database stored datatable object/variable, mydatatable. however, fields mydatatable cotain dbnull data. so, following vb.net formula dash give errors value any fields lastname , intials , sid dbnull . low mydatatable datatable low tmpstr string low sid integer = 1 ... mydatatable = mytableadapter.getdata() ' reads information ms-access table ... any myitem datarow mydatatable.rows tmpstr = nameitem("lastname") + " " + nameitem("initials") myitem("sid")=sid then ' something finish if ' imitation tmpstr next so, i above formula work fields competence enclose dbnull but carrying check any information dbnull ?

basetype basetype

this initial doubt here i wish i pristine good hopefully won't too mind-numbingly easy. i have following category subsim extends sim , fluctuating mainsim . totally removed category (and library well) i need check an vigilant being upheld by form mainsim . following finished check; type t = gettype(sim); //in case, sim = subsim if (t != null) { relapse t.basetype == typeof(mainsim); } obviously t.basetype going relapse sim given type.basetype gets form tide form directly inherits. short carrying t.basetype.basetype mainsub , there any proceed repremand form controlling .net libraries? there overrides redefined relapse sure class? thank advance

what's simplest proceed adding binary twine perl?

i have non-static contains 4 byte, network-order ipv4 castle (this combined controlling container integer representation). i have another variable, also 4 byte network-order, subnet. i'm perplexing supplement together supplement initial ip subnet. to ascii representation, i inet_ntoa($ip&$netmask) bottom address, nonetheless it's an blunder inet_ntoa((($ip&$netmask)+1) ; i summary like: justification "\n\r&\0" isn't numeric offer (+) during test.pm line 95. so what's happening, best i tell, it's looking during 4 bytes, observant 4 bytes don't paint numeric string, following refusing supplement 1. another proceed putting it: i wish supplement 1 slightest touching byte, i know 4th byte? is, i wish take twine \n\r&\0 finish adult twine \n\r&\1 . what's simplest proceed doing that? is there proceed but carrying empty re-pack variable?

mysql register opening blunder there register opening (bulk bucket around php)

i am controlling mysql (5.0.32-debian_7etch6-log) i've got nightly controlling bulk bucket php (5.2.6) book (using zend_db (1.5.1) around pdo) does following: truncating set 4 'import' tables bulk inserting information 4 'import' tables (re-using ids have formerly tables well, nonetheless i truncated whole table, shouldn't an issue, right?) if all goes well, rename 'live' tables 'temp', 'import' tables 'live' following 'temp' (old 'live') tables 'import' this worked good weeks. i am occassionally removing this, somewhere center whole bulk loading process: sqlstate[23000]: trust imprisonment violation: 1062 register opening '911' pivotal 1 mind that, initial id list before truncation already. i only start book manually again, works charm. any ideas? leftover indexes, something renaming maybe? in addition, i check list an opening id 911 afterwards, even there.

returning information asp.net an extjs grid

i've given prototype/mockup grid combined html javascript (via extjs) i need exercise within an asp.net web application. does anyone have any pointers pass information grid (to groupingstore, specifically). i'd rather have proliferation web services supporter pages returning xml/json there's proceed fan callbacks page methods (can't tell i'm quite informed presumably - buzzword bingo!) somesuch, preferred. please, recommendations i jquery, built-in asp.net grid, any ui framework. a extjs grid mandated powers be, that's grid i'm using, improved worse :)

how nunit assemblies appearing vs "add reference" dialog?

so after installing nunit, assemblies ( nunit.framework , etc.) seem references > supplement reference dialog, nonetheless they're %windir%\microsoft.net\framework\v2.0.50727 dir there nunit registry opening public route (i.e. hkey_local_machine\software\microsoft\.netframewokr\assemblyfolder) . there's also involuntary entries combined digest properties anxiety paths nunit exercise directory. heck appearing "add dialog"?!?! i guess mentioned proceed wholly ways assemblies seem "add reference".

visual studio jscript intellisense blunder jquery 1.2.6?

i warning "childnodes zero an object' opposite line numbers, depending chronicle library i anxiety (i've attempted 3 opposite versions 1.2.6). consequently, i jack jquery intellisense. i penetrate work, nonetheless i'd rather i don't know full implications changing following line: elem = jquery.makearray(div.childnodes); to this: //hack: vs intellisense fix if(div && div.childnodes) elem = jquery.makearray(div.childnodes); (the altered line wholly appears once source). gives?

how i stop urlrewriter stripping + symbols

i'm controlling intelligencia's urlrewriter concentration i'm carrying problem where manners i've setup seem stripping + representation url. for instance i wish have urls /category/catname/+tag+tag nonetheless appears me /category/catname/ add-on tag does anyone have any ideas down unchanging expression? i've attempted regulator matches fine. <rewriter> <rewrite url="^/content/(.+)$" to="~/page.aspx?name=$1" /> <rewrite url="^/category/(.+)$" to="~/catalog.aspx?category=$1" /> <rewrite url="^/product/(.+)$" to="~/catalog.aspx?product=$1" /> <rewrite url="~/login/" to="~/login.aspx"/> </rewriter>

how configure email settings crashrpt send wreck dump?

after reading controlling crashrpt beget wreck dump email developers, i've carrying challenging awaiting any instructions/tutorials configuring email settings used library send email. when install() duty initialize crashrpt, mention email castle wish wreck dump sent to, nonetheless does crashprt library know send email address? wouldn't library have know email fan settings any sole user? when lethal wreck occurs code, crashrpt dialog box pops adult i enter email castle click send button, takes me "save file" dialog box where i save zipped package comment specified install() duty never receives an email. thanks lay any help! i'm clearly blank something.

asp.net key/value list

i'm doing tradition 404 page infinite website that's undergoing redesign. there 40 high-use pages business competence have bookmarked, the new site structure smack bookmarks. on tradition 404 page, i wish warning new url try navigate high-use pages around the aged url. i have integrate enterprising controls 404 page, "did-you-want-this?" form dialog, another "if-so-go-here (and transform your bookmark)" form dialog. that's easy part. to advise new url, i'm looking during requested url. pivotal difference it, i'm going advise new url formed that, i'm banishment off suitable did-you-want..., if-so... suggestions 404 page mentioned above. so i wish store 40-ish key/value pairs ( keyword/new-url pairs ) information structure, i'm certain best. dictionary? idictionary? what's inadequacy some-more appropriate? or am i totally wrong track? thanks your time.

scheduling workman overlapping periodic tasks

with worker, wholly perform assign during (but switch between tasks instantly) given list tasks, -- tangible "n seconds, each m seconds" (eg, 5 seconds each 3600 seconds) how i best starting times count any task? if each assign "1 second, each 60 seconds", any have an unparalleled starting second, count enormous (steady state). if "1 second each 4 seconds" "1 second each 3 seconds", outcome be: " 0, enormous 3, 3 times" -- hopefully simplest form if already i have list tasks, elaborated "start second array times", duty returns: {start, count} an additional {n seconds each m seconds} assign feeling like? -- (slightly some-more challenging form -- if instead "n seconds each m seconds", the tasks tangible "n seconds each l..o seconds", where i collect array m operation l - o (but have dedicate m until assign finished), would grant improved workman utilization? how i select best 'm' ?

reconciling buttress opposing twin tables sql server

there twin databases, database list columns id, organisation flag. database b list b columns id flag. list b radically subset list where organisation == 'b' . they updated/created rare ways outmost bargain during time, over range doubt (this repair simple setup practices client). the problem fall list updated, reflected list b, nonetheless should be. time-critical problem, suggested i emanate office hoop this. maybe since it's finish week, maybe since i've never combined some-more many simple stored way (i'm programmer, dba), nonetheless i'm certain this. at uncomplicated level, stored way something along lines of select * list where organisation == b then, loop by resultset , any id, transform flag. but i'm even certain loop stored procedure this. suggestions? instance formula preferred. complication: alright, gets small harder too. each group, list b removed database, need transform fall groups. so, have set adult removed trigger any organisati...

what puts reduction bucket php server: simplexml json_decode?

i'm starting arise web concentration php i wish spin impossibly renouned me famous rich. :-) if comes, preference presumably parse api's information xml simplexml json_decode inadequacy app's scalability. does anyone know approaches some-more fit server? update: i ran easy exam slight some-more performant. appears json_decode rather faster executing simplexml_load_string . isn't terribly decisive since doesn't exam things scalability indicate processes. finish i simplexml being since the support xpath expressions. <?php $xml = file_get_contents('sample.xml'); $json = file_get_contents('sample.js'); $iters = 1000; // simplexml_load_string $start_xml = microtime(true); for ($i = 0; $i < $iters; ++$i) { $obj = simplexml_load_string($xml, 'simplexmlelement', libxml_nocdata); } $end_xml = microtime(true); // json_decode $start_json = microtime(true); for ($i = 0; $i < $iters; ++$i) { $obj = json_decode($json); } $end_json = mic...

velocity #parse nonetheless distribute variable

say have customary template enclosed (parsed) header, body, footer templates. in physique template non-static $subject tangible wish also displayed header template. in template languages html::mason(perl based) weigh physique template initial collect adult $subject non-static nonetheless store it's cost temporarily non-static your final cost finish adult repremand method (header, body, footer) in quickness feeling something like set ($body=#parse("body.vm")) parse("header.vm") ${body} parse("footer.vm") this however doesn't seem work, any thoughts this?

why mention primary/foreign pivotal attributes buttress names

a integrate new questions plead strategies controlling columns, i rather bewildered learn visualisation embedding thought unfamiliar primary keys buttress names. is select t1.col_a, t1.col_b, t2.col_z from t1 middle join t2 t1.id_foo_pk = t2.id_foo_fk i have confess i have never worked any database component uses arrange scheme, i'm wondering advantages are. proceed i it, once you've learnt n principal tables system, you'll several orders bulk some-more requests those tables. to spin inclusive development, you'll need learn tables vicious tables, rudimentary tributaries. you'll wish dedicate an good array buttress names memory. simple tasks join twin tables together. devaluate training effort, easiest thing pledge buttress name same both tables: select t1.col_a, t1.col_b, t2.col_z from t1 middle join t2 t1.id_foo = t2.id_foo i speculate that, developer, don't need reminded many columns primary keys, unfamiliar nothing. it's easy adequate feeling during schem...

which obscure chronicle exercise linux php development

i have slackware 12.1 wish try out obscure php/html/javascript development. however, seems i'm opposed innumerable illusory options i'd loathing skip best thing give adult obscure (i'm now controlling , nonetheless i'm blank things , example, auto-complete javascript) i'm now looking only installing all-in-one pdt package chronicle 1.0.3 here: however, seems obscure 3.3. there's also slackware package 3.4 here: but says "classic" version. i'm certain tough supplement php, html, javascript support it. note: i don't digest run php by eclipse's integrated web server anything that. i only wish comprehensive editor. p.s. also, recommendations something improved obscure linux giveaway also welcome. i already used kate, scite, geany, emacs, vi bluefish, those interesting. important: whatever recommend, greatfully explain reasons why. don't rush fastest gun west, i'll downvote such answers wholly contend "use this"

does visible studio 2008 support windows 98?

we're looking during upgrading visible studio 2005 visible studio 2008. i detected following unfortunate comment: "beginning visible c++ 2008, visible c++ does support targeting windows 95, windows 98, windows me, windows nt." does meant transform the products visible c++ 2008, stop operative windows 98 machines? sounds it, nonetheless i have problem anticipating they'd large change. thanks your help.

how build "tagging" support controlling couchdb?

i'm controlling following perspective duty iterate over equipment database (in method tag), nonetheless i cruise opening unequivocally bad dataset large. any approach? def by_tag(tag): return ''' function(doc) { (doc.tags.length > 0) { (var add-on doc.tags) { (doc.tags[tag] == "%s") { emit(doc.published, doc) } } } }; ''' % tag

better proceed c++ named parameter idiom?

i've building gui library windows (as personal side project, aspirations usefulness). sure window class, i've set adult hierarchy choice classes (using ), since options common others specific sole forms windows (like dialogs). the proceed named parameter jargon works, functions parameter category have relapse vigilant they're called on. problem that, hierarchy, any different category -- createwindowopts category customary windows, createdialogopts category dialogs, like. i've dealt origination choice classes templates. here's an example: template <class t> class _sharedwindowopts: open detail::_basecreatewindowopts { public: /////////////////////////////////////////////////////////////// // mandatory parameters case. _sharedwindowopts() { }; typedef t opttype; // ordinarily used options opttype& at(int x, int y) { mx=x; my=y; relapse static_cast<opttype&>(*this); }; // where put upper-left dilemma window; specified, com...

what "nested quantifier" since causing regex fail?

i have regex i built tested regex buddy. "_ [ 0-9]{10}+ {1}+[ 0-9]{10}+ {2}+[ 0-9]{6}+ {2}[ 0-9]{2}" when i .net c# i accept exception "parsing \"_ [ 0-9]{10}+ +[ 0-9]{10}+ +[ 0-9]{6}+ [ 0-9]{2}\" - nested quantifier +." what does blunder mean? apparently .net doesn't expression. here regex associate u know idea regex... _ [ 0-9]{10}+ {1}+[ 0-9]{10}+ {2}+[ 0-9]{6}+ {2}[ 0-9]{2} match characters "_ " literally «_ match unparalleled impression donation list next «[ 0-9]{10}+ accurately 10 times «{10}+ impression " " « impression operation between "0" "9" «0-9 match impression " " literally « {1}+ accurately 1 times «{1}+ match unparalleled impression donation list next «[ 0-9]{10}+ accurately 10 times «{10}+ impression " " « impression operation between "0" "9" «0-9 match impression " " literally « {2}+ accurately 2 times «{2}+ match unpara...

are there any useful attributes c# properties?

possible duplicate: besides: [defaultvalue(100)] [description("some detailed domain here")] public int myproperty{get; set;} what c# attributes useful properties, after training i feel i'm blank out. related questions

what's wrong sitemap?

we have sitemap the site the sitemap here but google seems loathing it. doubt why? i'm only staring during observant myself looks right. am i blank something? 3 paths don't match we've detected submitted your sitemap controlling url route doesn't consolidate www prefix (for instance, ). however, urls listed inside your sitemap www prefix (for instance, ). assistance help url: problem detected on: oct 15, 2008

php opcode caching/zend acceleration include_once vs. require_once

i have co-worker looking opcode caching/zend acceleration (i've always feigned same thing) the php formed application. benchmarks seem infer we're observant opening advantage consolidate the (large) category libraries require_once, nonetheless opening advantage controlling include_once. this smells puzzled both us, nonetheless i don't have check the benchmark methodology myself co-worker some-more indulgence smell fish i do. :) has anyone ever run anything this? not, any thoughts things competence causing coming opening boost switching include_once require_once?

"token calm state endrootelement outcome an unfair xml document"

i'm observant difference summary opening xslcompiledtransform.transform(), nonetheless after doing difference xsl reconstruct still appears have successful. full difference summary is: token calm state endrootelement outcome an unfair xml document. certain the conformancelevel sourroundings set to conformancelevel.fragment or conformancelevel.auto wish to an xml fragment. the stylesheet looks this: <xsl:stylesheet version="1.0" xmlns:ext="ext:extensions" xmlns:f="http://schemas.foo.com/foamschema"> <xsl:template match="/root/documents/po/dropship"> <transactions> <transaction> <f:partnertransmission> <transmission_id> <xsl:value-of select="ext:newguid()"/> </transmission_id> <partner_code> <xsl:value-of select="/root/@partnercode"/> </partner_code> ...

uiimageview displaying uitableview header

my problem i can't seem settlement gold arrangement properly. slight perspective controller controls tableview. headerview hallowed tableview .nib record contains few uilabels (not shown) bucket only fine. any ideas? - (void)viewdidload { [super viewdidload]; [[self view] settableheaderview:headerview]; nsbundle *bundle = [nsbundle mainbundle]; nsstring *imagepath = [bundle pathforresource:@"awesome_lolcat" oftype:@"jpeg"]; uiimage *image = [uiimage imagewithcontentsoffile:imagepath]; imageview = [[uiimageview alloc] initwithimage:image]; }

how exercise patience review controlling posix threads

i exercise producer/consumer unfolding obeys interfaces roughly: class consumer { private: vector<char> read(size_t n) { // middle aegis `n` elements, following dequeue them // differently wait some-more information try again } public: vacant run() { read(10); read(4839); // etc } vacant feed(const vector<char> &more) { // safely reserve data // report `read` there some-more data } }; in case, feed run run removed threads read should patience review (like recv fread ). obviously, i need kind mutual ostracism deque, i need kind presentation component surprise read try again. i hear condition variables proceed go, nonetheless multithreading trust lies windows am carrying tough jacket conduct around them. thanks any help! (yes, i know it's ruin relapse vectors. let's that.)

sql switch/case 'where' clause

i attempted poison around, nonetheless i couldn't anything assistance me out. i'm perplexing sql: declare @locationtype varchar(50); declare @locationid int; select column1, column2 from viewwhatever where case @locationtype 'location' following account_location = @locationid 'area' following xxx_location_area = @locationid 'division' following xxx_location_division = @locationid i know i shouldn't have put '= @locationid' during finish any one, nonetheless i can't syntax even tie being correct. sql keeps angry '=' initial line... how i this?

odd permissions record run-down php move_uploaded_file()

i'm controlling php 5.2.6 windows server 2003 craving box. iis set countermand opposite opening integrated windows authentication. i'm controlling php book save record uploaded web form. record uploaded temp folder, book creates record name route depending variables web form, following book uses php's move_uploaded_file() pierce temp record final location. works fine. short, uploading files everybody organisation files nurse script. my problem record final plcae rare permissions. finale adult permissions presumably temp plcae final location. both temp plcae final plcae have same permissions: full rights owners administrations; review read/execute 2 specific ad confidence groups. final record ends adult only: full rights owners administrations. while admins uncanny uploader have problem regard file, others organisation "permission denied" perplexing opening it. any ideas suggestions severely appreciated! thanks!

javascript difference handling

what best technique throwing exceptions thrown within javascript? obviously, best technique try...catch. nonetheless ansynchronous callbacks forth, tricky. i know ie gecko browsers support window.onerror, nonetheless show safari? here garland test-cases i have executive difference doing fortitude for: // errorhandler-test1 var exam = null; test.arg = 5; // errorhandler-test2 throw (new error("hello")); // errorhandler-test3 throw "hello again"; // errorhandler-test4 throw { mymessage: "stuff", customproperty: 5, anarray: [1, 2, 3] }; // errorhandler-test5 try { var test2 = null; test2.arg = 5; } catch(e) { errorhandler.handleerror(e); } // errorhandler-test6 try { pitch (new error("goodbye")); } catch(e) { errorhandler.handleerror(e); } // errorhandler-test7 try { pitch "goodbye again"; } catch(e) { errorhandler.handleerror(e); } // errorhandler-test8 try { pitch { mymessage: "st...

websphere app server compiling jsp/tag libs

this problem wholly occurs concentration transform (only tested by admin console, cli). also, wholly duty the growth environment, relating the poke env. uninstall/install, all collected properly. however, infinite concentration takes enlarged adequate an update--we wish uninstall/install everytime (esp. during dev. builds). jsp .java .smap files being generated, nonetheless .class. prod, there .smap--only .java .class. jsps compile, trust add-on libs collected also. has anyone faced problem, know presumably overlooking? was version: 6.1.0.17 edit: wholly duty jsp add-on library the using. we're perplexing problem glow issue. let know figure anything out. cruise competence an emanate .smap record per

elegant proceed hunt utf-8 files bom?

for debugging purposes, i need recursively hunt office files start utf-8 byte method symbol (bom). tide fortitude rudimentary bombard script: find -type f | while review file do [ "`head -c 3 -- "$file"`" == $'\xef\xbb\xbf' ] then relate "found bom in: $file" fi done or, move short, mysterious one-liners: find -type f|while review file;do [ "`head -c3 -- "$file"`" == $'\xef\xbb\xbf' ] && relate "found bom in: $file";done it doesn't work filenames enclose line break, but such files approaching anyway. is there any shorter some-more glorious solution? are there any engaging calm editors macros calm editors?

xpath condition duplicate xml block

i am controlling java api xpath parse xml. i have xml this: <animals> <dog> <looks>dangerous </looks> <bites> tough </bites> <growls> approbation </growls> </dog> <cat>nothing special</cat> </animals> i an xpath condition imitation <dog> <looks>dangerous </looks> <bites> tough </bites> <growls> approbation </growls> </dog> but i am means now. i /animal/dog/text() gives dangerous . nonetheless i speculation used imitation calm alone. there proceed controlling xpath condition fetch retard xml? edit : thanks lot your responses. conclude your spent this. there proceed java but duplicate middle text? here where xpath condition goes: public stationary final twine xpath_input_data="//text()";

getter boolean properties jaxb

im perplexing arrangement services controlling jax-ws nonetheless initial warn i got weblogic does support middle classes request/response objects. after over conditions , im opposed another challenge: generate getxxx() rather than/additionally isxxx() method. i need beget methods means i start use i message: <ws information contracting error>could getter ability 'isxxx' com.foo.myclass tried customization: <jaxb:globalbindings generateissetmethod="false" enablejavanamingconventions="false"> without effect. :( any help?

can set saving uninstall wix?

the installer sets adult default db (if doesn't already exist) i wish bar uninstall slight (or have user choice mislay not, once i take figure out customizing gui) seems best use only emanate db during runtime rather exercise time, nonetheless effect argument, illusory how? i know set adult exercise conditionally this: <feature id="database" display="hidden" level="1"> <componentref id="databasecomponent"/> <!-- cancels installing new db already exists--> <condition level="0">dbexists</condition> </feature> but i'm certain put saving an uninstall.

warning: overpowered private pivotal file! perplexing ssh jungle ec2 instance

i'm operative set adult panda an jungle ec2 instance. i set adult comment collection final night problem controlling ssh correlate possess personal instance, nonetheless right i'm being certified assent panda's ec2 instance. i'm removing following error: @ warning: overpowered private pivotal file! @ permissions 0644 '~/.ec2/id_rsa-gsg-keypair' too open. it permitted your private pivotal files permitted others. this private pivotal ignored. i've chmoded keypair 600 method personal instance final night, experimented during length sourroundings permissions 0 even generating new pivotal strings, nonetheless zero seems working. any assistance during good help! hm, seems nonetheless unless permissions set 777 directory, ec2-run-instances book amateurish keyfiles. i'm new ssh i competence unaware something.

project euler doubt 3 help

i'm perplexing work by digest euler i'm dispute separator problem 03. i have an algorithm works smaller numbers, nonetheless problem 3 uses very, unequivocally infinite number. problem 03: the primary factors 13195 5, 7, 13 29. what largest primary means array 600851475143? here fortitude c# it's controlling i cruise tie an hour. i'm looking an answer since i indeed wish solve myself. especially only looking help. stationary vacant main(string[] args) { const enlarged n = 600851475143; //const enlarged n = 13195; enlarged count, half, largestprime = 0; bool isaprime; half = n / 2; (long i = half; i > 1 && largestprime == 0; i--) { (n % i == 0) { // factors n count = 1; isaprime = true; while (++count < i && isaprime) { (i % count == 0) { // does means n have factor? (not prime) isaprime = false...

winforms - enterprising bucket / save settings

i have "settings file" winforms concentration called settings.settings biased category tradition methods, etc. there proceed bucket / save enterprising settings formed erratic keys? for example, i have listviews concentration i wish save / bucket buttress widths; instead formulating extent sourroundings any buttress any list perspective i rudimentary slight bucket / save widths automatically. below an instance save slight i have tried: internal closed biased category settings { open vacant setlistviewcolumnwidths(listview listview) { twine basekey = listview.name; foreach (columnheader h listview.columns) { twine pivotal = string.format("{0}-{1}", basekey, h.index); this[key] = h.width; } } } when controlling formula i blunder "the settings ability 'testslistview-0' found." there something i am missing?

best box pierce an flexible growth methodology?

if box business adopting relocating an flexible growth methodology (like scrum xp etc) box (how sell concept)? e.g. how news concepts advantages non-technical person? if have successfully finished so, winning argument/case/rationale? edit: reason i ask associate cave (he fortitude engineer during firm) now perplexing endorse proceed supervision accurately topic, i've given i terms suggestions. extraordinary generally hear those have successfully finished box pierce an agile-aligned methdology.

sql(?): counting between twin datetime values

what best proceed count between twin datetime values fetched mysql i need count wholly between hours 08:00:00-16:00:00. for instance i have values 2008-10-13 18:00:00 2008-10-14 10:00:00 inadequacy should 02:00:00. can i sql best proceed it? i'm building website controlling php. thank your answers. edit: accurate thing i'm perplexing count "ticket" specific state during operative hours. integrate weeks. edit2: i have problems counting tangible difference, nonetheless substracting off-time, 00:00:00-08:00:00 16:00:00-00:00:00 per day. -samuli

one list many?

i'm perplexing settlement an concentration reason educational anxiety information. problem any opposite form anxiety (eg. journal articles, books, journal articles etc) requires opposite information. instance journal anxiety requires both journal due an essay title, also page number, since book requires publisher announcement date journal articles require. therefore, should i have references stored list database only leave fields vacant don't apply, should i have several tables such bookreferences, journalreferences, newspaperreferences put suitable references any one. problem following poison by references rather some-more difficult, also modifying have finished rather some-more alone probably. (i'm formulation flush rails digest way, nonetheless i doubt creates any inadequacy settlement question) update: any some-more views this? i hoped rudimentary answer observant sole slight unequivocally deliberate 'the best' - nonetheless common things aren't definitely ...

how i fall lifeless xml tags?

i'm removing xml this: <items> <row attr1="val"></row> <row attr1="val2"></row> </items> this current xml, know, nonetheless another library i'm controlling destitute wholly accept xml format: <items> <row attr1="val"/> <row attr1="val2"/> </items> i'm already reading xml xmldocuments, utilizing them, rewriting controlling an xmlwriter(), what's easiest (and many efficient) proceed me "collapse" lifeless tags?

how i establish array window handles an concentration using?

what best proceed establish window handles an concentration using? there apparatus wmi opening opposing i use? i run adult an app watch opposing arrange array window handles increasing. for (int i=0; i < 1000; i++) { system.threading.thread.sleep(1000); richtextbox rt = new richtextbox(); rt.text = "hi"; this.controls.add(rt); } i am controlling above formula examination "handle count" opposing process, does seem increasing. there something i am looking during incorrectly?

exception finding

what martial behind throwing an exeption jpa, something can't found? added: this intrepidity seen ejb2, distant private ejb3 - but... stays job throws noresultexception. normally i design an difference something found. indeed competence me default conditions cases, during leats approaching cases many sotuations. creates me remeber an aged observant should exceptions biased your business logic, nonetheless wholly is, special cases don't know don't wish understanding with. does anyone have an thought since implemented proceed jpa? obstacle returning zero something found?

select specific rows sql server xml buttress type

i'm perplexing name information list tangible identical following : column | information type ------------------------- id | int datatype | int loggeddata | xml but i wholly wish name those rows specific datatype value, enclose twine (or evaluates square xpath) loggeddata column. a discerning google hunt incited adult zero useful, i am bit rush an answer... i'll lift searching, nonetheless anyone assistance me out meant time, i'd unequivocally conclude it. edit _ clarification so, i'm after something this, nonetheless repremand format... select id, loggeddata mytable where datatype = 29 loggeddata.query('rootnode/ns1:childnode[@value="searchterm"]'); still competence clear...

is the flexible digest standard?

we have perplexing scrum nonetheless while perplexing formalize within the possess chronicle flexible concentration development. here's the tide slight works. there twin sure drawbacks stands right now. wanted quarrel presumably have identical proceed village any receptive tips impediments now have. scrum organisation = 4 developers, 2 qa, 1 tech writer, 1 po(pm), 1 scrum master (engg dir) release = 3 sprints sprint = 2 weeks po business emanate product reserve user stories associated acceptance criteria. 1 week scurry formulation during start any iteration day 1# guess scurry reserve establish priority day 2-5# scrum organisation plead stories work sum any story scurry reserve (get sum story, slight flows any, brand ue fortify apply, sum ui items/fields/widgets function anything specific required, know acceptance criteria emanate tests) 2 week scurry 15 min daily scrum repeat 3 week cycle the twin vital drawbacks we're carrying are: the sum discussed open formulation week re...

what's strangest dilemma box you've seen c# .net?

i collect few dilemma cases always hear more. page wholly unequivocally covers c# libel pieces bobs, nonetheless i also core .net things engaging too. example, here's isn't page, nonetheless i incredible: string x = new string(new char[0]); string y = new string(new char[0]); console.writeline(object.referenceequals(x, y)); i'd design imitation fake - after all, "new" (with anxiety type) always creates new object, doesn't it? specs both c# cli infer should. well, sole case. prints true, finished each chronicle horizon i've tested with. (i haven't attempted mono, admittedly...) just clear, wholly an instance kind thing i'm looking - i wasn't quite looking discussion/explanation oddity. (it's same normal twine interning; particular, twine interning doesn't customarily occur constructor called.) i unequivocally seeking identical rare behaviour. any gems unctuous out there?

improving unequivocally bad systems

how start improving unequivocally bad system? let me explain i meant before advise formulating section tests refactoring. i those techniques nonetheless futile case. actually component damaged doesn't needs do. for instance component should count messages sends. mostly works nonetheless cases "forgets" boost value summary counter. problem modules possess workarounds build on opposing i repremand opposing component whole spin worse currently. fortitude cgange modules mislay possess corrections, nonetheless 150+ modules need many coordination i means it. even worse, there problems workarounds component itself, nonetheless people's head. instance component paint some-more 4 associated messages summary group. services need 5 messages grouped together. accounting section knows discount each count messages services, count summary groups greaten 5/4 repremand array messages. there definitely support deviations nobody knows such things donation component now. so start operati...

what i need re-build web server?

i am removing prepared totally renovate web server. i both growth donation product clients. also hosts association website. i loading ms server 2008 ms sql 2008. i wish have latest .net horizon good latest mvc templates. i wish subsonic. i also wish start controlling arrange sourcesafe (or whatever good is).i digest vs 2008 growth tool. i figure there lot out there have recently left by have good suggestions. it good vigourous accessory lots memory storage, so, greatfully let me know anything assistance me spin improved developer. scott dev team

how i hang preference an html add-on visible studio?

this seems many simple doubt world, nonetheless darned i an answer. is there keyboard shortcut, presumably internal visible studio by formula rush third-party plug-in, hang tide preference an html tag? i'm sleepy typing opening tag, rupturing neglected shutting add-on clipboard, relocating cursor, pasting during finish where belongs. update: . frankly, i'm puzzled visible studio doesn't seem have identical feature. formulating macro dash each fathomable add-on i competence wish seems absurd.

if statements mysql?

is there an matter comes mysql query statements? when i am updating list record, i wish wholly transform certain columns have value updated. for example, i wish an transform list function, there list volunteers list only wish email updates. i wish same duty (there duty wholly deals w/ upd queries) illusory theory... if updating invitation table, wholly transform columns, mailing_list, following transform these i know finished controlling an matter w/ twin query statements, formed list you're updating, nonetheless i am wondering illusory wholly query matter w/ conditionals transform suitable columns table. this competence sound something dream about, let me know. thanks.

weird sql server memory errors after upgrading 64-bit

we've only "upgraded" the prolongation database server 32-bit 64-bit. it's controlling sql server 2005 customary windows server 2003. during night after stand server taken perceptibly an hour - fan requests timing out. problem following seemed repair itself. wholly thought i have problem what's sql server logs: lazywriter: warning, giveaway buffers found. memory manager vm indifferent = 8470288 kb vm committed = 2167672 kb quandary allocated = 0 kb indifferent memory = 1024 kb indifferent memory = 0 kb message memory node id = 0 vm indifferent = 8464528 kb vm committed = 2162000 kb quandary allocated = 0 kb singlepage allocator = 103960 kb multipage allocator = 31832 kb memoryclerk_sqlgeneral (total) vm indifferent = 0 kb vm committed = 0 kb quandary allocated = 0 kb sm indifferent = 0 kb sm committed = 0 kb singlepage allocator = 4352 kb then there some-more messages starting memoryclerk. does anyone...

how keep quarrel method sqlbulkcopy?

i'm exporting information programatically comparison sql server 2005 controlling sqlbulkcopy. works great, wholly problem i have doesn't safety quarrel method i have comparison file. i don't have buttress method by, i only wish annals extrinsic same method seem comparison spreadsheet. i can't cgange comparison file, have work i've got. classification any existent columns smack sequence. please help. p.s. finished adult inserting id buttress spreadsheet, looks there's proceed keep method during export/import

generate churned filtered dump + emanate stored procedures

i have script: select name,create_date,modify_date sys.procedures method modify_date desc i procedures run-down lately. i supplement "where modify_date >= " and i'd component stored procedure, beget me : drop + emanate scripts (let's contend 5 matching) stored procedures can i somehow? thanks ok. i have final version: you guys helped lot thanks

why 'ref' keyword flitting an object?

if i am flitting an vigilant method, since should i ref keyword? isn't default intrepidity anyway? for example: class program { stationary vacant main(string[] args) { testref t = new testref(); t.something = "foo"; dosomething(t); console.writeline(t.something); } stationary open vacant dosomething(testref t) { t.something = "bar"; } } public category testref { open twine something { get; set; } } the cost "bar" means vigilant upheld reference.

how section exam pseudo futile array generator?

i have pseudo futile array generator (prng) category i wish section test. there twin approaches: write exam box takes infinite volume samples exam presumably morally distributed. proceed competence lead sincerely enlarged execution exam case; calculate little array samples 'by hand' establish prng algorithm reproduces it. proceed competence lead futile method being generated but being noticed; i contend initial proceed unequivocally section contrast since does perform white box exam generator, nonetheless palm morally tests accountability class. second proceed some-more genuine section test, focusing algorithm, nonetheless does yield many justification presumably category fulfills the responsibility. which proceed prefer, why?

how i sync concentration information between an iphone another computer?

i'm operative an iphone concentration grant regard modifying information i wish keep sync desktop application. i don't anything sdk directly addresses information synchronization, nor i anything allows "hook" itunes sync process. i something kludgy stealing information imitation castle book entry, nonetheless only seems bad idea. i webdav http get/put information server, nonetheless creates concentration some-more complicated. i speculation i awaiting common use-case iphone apps (syncing erratic concentration information between desktop iphone) there set apis sdk cover this. maybe there i only can't it.

prevent proceed opening php page

how i hinder users accessing directly pages meant ajax calls only? passing pivotal during ajax seems solution, since opening but pivotal processed. nonetheless also easy heed key, no? abuse perspective source... p/s: controlling apache webserver. edit: answer why, i have jquery ui-tabs index.php, inside those tabs forms scripts, won't work they're accessed directly. since user wish that, i don't know, i only figure i'd some-more user permitted preventing proceed opening forms but validation scripts.

error c# biased classes

i am controlling biased classes separate functionality between 2 files, nonetheless i am removing an error. am i doing wrong? a1.cs: private biased category a { private twine someproperty { { relapse "somegeneratedstring"; } } } a2.cs: private biased category a { vacant somefunction() { //trying opening this.someproperty produces following compiler error, during slightest c# 2.0 //error cs0117: 'a' does enclose construction 'someproperty' } }

will reassigning non-static each iteration loop impact performance?

consider following twin ways minute loop java list contains given value: style 1 boolean found = false; for(int i = 0; i < list.length && !found; i++) { if(list[i] == testval) found = true; } style 2 boolean found = false; for(int i = 0; i < list.length && !found; i++) { found = (list[i] == testval); } the twin equivalent, nonetheless i always impression 1 since 1) i some-more readable, 2) i am presumption reassigning found false hundreds times feels take some-more time. i am wondering: second audacity true? nitpicker's corner i am good wakeful box beforehand optimization. doesn't meant isn't something useful know. i don't caring impression cruise some-more readable. i am wholly prying presumably opening chastisement compared other. i know impression 1 advantage permitting also put break; matter if block, nonetheless i don't care. again, doubt performance, style.

best petrify "how-to manual" *managing* exam driven and/or flexible development?

i am looking an simply eatable book donation boss/team. background info: some-more more the meetings during work secure boss/team contemplative exercise some-more "best practices" around here. ("here" = unequivocally little concentration growth shop. 4 developers) the following things equipment whole organisation agrees need: nightly builds decomposing "bugs" the bug-tracker smaller, more-specific items automated testing the problem face started. i trust mart simply select a pristine specific plan set rules, following all else tumble place. right stranded discussions fuzzy, feel-good ideas nice-sounding buzzwords. please advise me your favorite book (or online resource) contains clear, discrete, consecutive stairs implementing supervision amour controlling tdd flexible team/shop. i comprehend there paradigms besides tdd flexible also castle concerns, nonetheless possess self-interests biases indicate toward tdd flexible i adore tag team's craving ...

how "not in" query linq?

i have twin collections have ability email both collections. i need list equipment initial list where email does exist second list. sql i only "not in", nonetheless i know homogeneous linq. done? so distant i have join, like... var matches = item1 list1 join item2 list2 item1.email equals item2.email select new { email = list1.email }; but i can't join given i need inadequacy join fail. i need proceed controlling contains exists i believe. i only have found an instance yet.

how i conceal sole biztalk warnings visible studio 2005

we now controlling biztalk 2006 r2 build craving formation solutions. biztalk maps extensively, nonetheless build fortitude visible studio 2005, produces following warning opposing maps: warning double-click here show/hide compiler links. in opinion, genuine warnings ignored, nonetheless i don't plan since ignoring warnings bad dress into. using \nowarn ability does seem an choice since summary does have an compared number. also, digest built controlling build book warning disappears, suggesting underline visible studio rather genuine compiler warning. so i wondering there proceed conceal form warning visible studio.

wpf combobox doesn't stay open used assign pane

i have uncanny bug wpf interop an comparison addin. i'm controlling .net 3.5 sp1. i'm controlling add-in demonstrate emanate tradition assign mirror comparison 2003. within taskpane i'm controlling elementhost horde wpf usercontrol. usercontrol simply contains grid textbox combobox. problem while all displays properly, combobox won't stay dropped-down unless i reason rodent down over down-arrow. i don't trust indispensably associated add-in demonstrate since i've identical problem i attempted displaying wpf window modelessly excel. a second problem combobox seems kind give adult focus. i click it, calm area goes grey infer focus, nonetheless i can't pierce concentration anywhere else window. wholly proceed wring concentration divided pierce mousewheel. anybody else identical problem, managed repair it?

c# webbrowser control system.accessviolationexception

i have way uses built webbrowser control. during indicate during use this, i'm certain during point, nonetheless appears random, i following error: system.accessviolationexception fulltext = system.accessviolationexception: attempted review stable memory. mostly an denote memory corrupt. at system.windows.forms.unsafenativemethods.dispatchmessagew(msg& msg) at system.windows.forms.application.componentmanager.system.windows.forms.unsafenativemethods.imsocomponentmanager.fpushmessageloop(int32 dwcomponentid, int32 reason, int32 pvloopdata) at system.windows.forms.application.threadcontext.runmessageloopinner(int32 reason, applicationcontext context) at system.windows.forms.application.threadcontext.runmessageloop(int32 reason, applicationcontext context) at system.windows.forms.application.run(form mainform) does anyone have any clues since i hinder it?

firefox cuts files, whose name contains spaces, struts application

i am controlling unbroken category (simplified effect understandability) download images struts web application. it operative glorious each browser nonetheless firefox, cuts names containing spaces. say: file spaces.pdf gets downloaded firefox as: file while chrome, ie7 ie6 downloaded file spaces.pdf . public category download extends movement { private stationary final int buffer_size = 4096; open actionforward execute(actionmapping mapping, actionform form, httpservletrequest request, httpservletresponse response) throws difference { twine filename = "file spaces.pdf"; record file = ... // non-static containing file; response.setstatus(httpservletresponse.sc_ok); response.setcontenttype(getmimetype(request, file)); response.setheader("content-type", getmimetype(request, file)); response.setheader("content-disposition","attachment; filename="+ filename); ...

are there any improved geolocation databases / technologies / services anyone finished any work improving exactness existent systems?

i am operative integrating geolocation services website best source information i've found distant maxmind's geoip api geolite city data. even information seems mostly controversial though. example, i am located downtown palo alto, nonetheless locates ip being portola valley, 7 miles away. palo alto race 60k+, since portola dale race reduction 5k. i cruise an ip imagining somewhere around there some-more clarity assume opening rarely populated city, little one. i've also locate palo alto ips totally opposing republic kentucky, etc. does anyone know any improved sources data, any tools/technologies/efforts provoke exactness geolocation efforts? blurb solutions fine.

how i send cookies fan around dale c#?

ok, i have right, formula cookies during specific url, nonetheless following once i cookie, container, i send fan around socket? formula directly next does here unchanging http-page requests. byte[] aegis = new byte[bz]; rebu = responsestream.read(buffer, 0, bz); while (rebu != 0) { soket.send(buffer, rebu, 0); rebu = responsestream.read(buffer, 0, bz); } my formula domain requests/responses system.net.configuration.httpwebrequestelement wr = new system.net.configuration.httpwebrequestelement(); wr.useunsafeheaderparsing = true; httpwebrequest ask = (httpwebrequest)webrequest.create(url); cookiecontainer cookiecontainer = new cookiecontainer(); request.cookiecontainer = cookiecontainer; request.cookiecontainer.add(cookiecontainer.getcookies((uri)url)); httpwebresponse response = (httpwebresponse)request.getresponse(); stream responsestream = response.getresponsestream(); byte[] aegis = new byte[bz]; rebu = responsestream.read(buffer, 0, bz); while (rebu != 0) { soket.send(b...

python - py2exe can't build .exe controlling 'email' module

py2exe does work customary email module hello. i am perplexing py2exe converting book an exe. build slight shows this: the following modules seem missing ['email.encoders', 'email.generator', 'email.iterators', 'email.mimebase', 'email.mimemultipart', 'email.mimetext', 'email.utils', 'email.base64mime'] the executable does work. referenced modules included. i researched internet i found out py2exe problem idle import used customary lib email module. unfortunately i have succeeded awaiting workaround problem. anyone help? thank you, p.s. imports book feeling this: code: name all import string,time,sys,os,smtplib email.mimemultipart import mimemultipart email.mimebase import mimebase email.mimetext import mimetext email import encoders

scaling an application

i have an concentration (an ip conferencing service) i need scale. definitely few individualist components/applications, combined opposite languages (mainly c++ php, perl). now unparalleled designation runs 5 machines, 1-2 components pity unparalleled box. settlement any box therefore different, it's pain scale whole thing, plead maintenance. the sole components change media proxies summary proxies databases, bucket all nonetheless even. i pondering putting components unparalleled accessory supplement some-more boxes i along arrange bucket balancer front. others suggested me scale proceed - supplement specialized boxes where app bucket gets high - nonetheless leads behind maintain nightmare. do know resources where i should start? ideally i'd need benchmarks proceed improved terms performance? (thinking aloud, i have x volume bucket y volume memory guess appetite where does matter i distribute it?)

why there raii .net?

being essentially c++ developer scarcity java .net always worried me. fact responsibility cleaning adult changed category author the consumer (by means try finally .net's ) seems extremely inferior. i since java there support raii given objects located store rubbish gourmet inherently doesn't support deterministic destruction, nonetheless .net introduction value-types ( struct ) have (seemingly) ideal petitioner raii. value form that's combined smoke-stack good tangible range c++ destructor semantics used. however clr does assent value-type have destructor. my futile searches found justification value-type falls underneath office rubbish gourmet therefore the drop becomes non-deterministic. i feel justification isn't cunning enough, advantages raii large adequate contend value-type destructor can't boxed (or used category member). to cut enlarged story brief doubt is : there any reasons value forms used method broach raii .net? (or cruise justification raii'...

how tell user's controlling 24 hour controlling cocoa

i'm perplexing establish user controlling 24 hour 12 hour time, there doesn't seem good proceed figure out formulating an nsdateformatter poison format twine generation domain ('a' character) here's i'm doing now: nsdateformatter *formatter = [[nsdateformatter alloc] init]; [formatter settimestyle:nsdateformattershortstyle]; nsrange operation = [[formatter dateformat] rangeofstring:@"a"]; bool is24hourformat = range.location == nsnotfound && range.length == 0; [formatter release]; which works, nonetheless feels kinda fragile. there improved way, right?

nhibernate event supervision windows use applications

i'm building concentration runs windows service. there components consolidate few wcf services, fan gui - nonetheless windows use opening database. so, concentration long-running server, i'd provoke the opening scalability, i looking provoke information opening among things. i posted another thread second-level caching. this post event supervision long-running thread accesses database. should i controlling thread-static context? if so, there any instance implemented. every around net controlling nhibernate seem heavily focussed web-application impression architectures. there seems good miss support / contention non-web app designs. at moment, enlarged controlling thread does this: call 3 4 dao methods verify state removed objects returned. update state needed. call integrate dao methods insist updated instances. (pass id vigilant instance itself - dao collect vigilant db again, set updated values session.saveorupdate() before committing transaction. sleep 'n' seconds re...

how i constraint php cost variable?

i'm generating ton xml upheld an api post non-static user click form button. i also wish means arrangement user xml before hand. the formula sorta following structure: <?php $lots = "php"; ?> <xml> <morexml> <?php while(){ ?> <somegeneratedxml> <?php } ?> <lastofthexml> <?php ?> <html> <pre> xml user preview </pre> <form> <input id="xml" value="thexmlagain" /> </form> </html> my xml being generated few while loops stuff. following needs shown twin places (the preview form value). my doubt is. i constraint generated xml non-static whatever i wholly have beget once following only imitation out apposed generating inside preview following again inside form value?

jquery templating engines

i am looking template engine fan side. i have perplexing few jsrepeater jquery templates. while seem work ok firefox seem smack down ie7 comes down digest html tables. i also took feeling during microsoftajaxtemplates.js (from ) nonetheless turns out same problem. any recommendation templating engines use?

where i an open source c# digest uses ado.net?

i am perplexing windows form asp.net c# front-end msaccess backend graceful little database visualisation i have. i have combined concentration once before only msaccess nonetheless i need app database opposite places. i have figured out (thanks user) happening bad choice since have tie open time. i bought microsoft ado.net 2.0 step-by-step i have review by know (i think) simple concepts during play ado.net. (datasets like) where i confused tangible implementation. i wish know any know c# digest database backend open source i feeling during formula it. i i learn improved way. book cd formula examples i competence spin to, nonetheless i rather genuine formula genuine app.

windows form designer: bucket record assembly

has anyone ever emanate where perplexing "view designer" windows form visible studio .net causes error: "could bucket record assembly" ? in case, public doubt xyz.dll . i managed repair adding xyz.dll the references project's references (even nonetheless digest doesn't directly count them) rebuilding whole solution. however, after that, i private those references project, rebuilt, still worked. one square information i resharper 2.5 . someone else separate out competence resharper doing shade copying. i'll feeling unbroken happens. does anyone have bargain since blunder happens initial place, presumably 'correct' proceed repair it?

performance system.io.readallxxx / writeallxxx methods

is there any opening comparison system.io.file.readallxxx / writeallxxx methods vs streamreader / stremwriter classes accessible web. cruise best way(from opening perspective) read/write calm files .net 3.0? when i checked , illustration formula ms controlling streamreader / streamwriter record operations. there any specific reason avoiding file.readallxxx / writeallxxx methods, even nonetheless feeling many easier understand?

printing barcode labels web page

i am operative an asp.net web concentration contingency imitation boldly combined labels customary avery-style tag sheets (one sole size, wholly altogether layout). labels have non-static array lines (3-6) competence enclose presumably lines calm distinguished barcode image. our initial cut, i inherited, used monospaced fonts devaluate formatting issues, nonetheless grant adequate calm fit labels fan dissatisfied. fundamentally formatted text. my unbroken chronicle used tables, divs, css, bit javascript calculations format labels controlling proportional fonts. still mandatory bit tweaking (the user set imitation margins justly spin off imitation headers footers), nonetheless seemed work. however, seems there variations opposite printers news calm (wys ain't wyg), even nonetheless tested opposite browsers controlling during slightest twin opposite printers (an inkjet laser printer), user's labels don't line up. slight domain variations practiced adjusting margins page setup...

aspx page gathering fails

were building web-based concentration allows administrators upload plug-ins. plug-ins stored special folder outmost app bottom (say, c:\plugins) boldly hallowed around assembly.loadfrom(). works only glorious many part: webcontrols plug-ins instantiated loaded, tradition classes duty expected, etc. were controlling tradition virtualpathprovider resources out plug-ins. so, an embedded aspx file, youd simply like, /mysite/embeddedresource/?assembly=myplugin&resource=mypage.aspx. works fine, too: embedded aspx record compiles served adult normal page. the problem, however, comes an embedded .aspx record (inside boldly hallowed plugin) references category inside same plug-in assembly. gathering errors like, cannot form public myplugin. rare because, clearly, its pulling .aspx record out myplugin; it? so, im anticipating assistance me out this. plugin feeling this: myplugin.dll: internalhelperclass.cs mypage.aspx (resource .cs file) when mypage.aspx contains something like, <%= inter...

what best proceed quit an existent unfinished webapp glorious mvc?

i assimilated new association month ago. association rather little distance graceful cunning "start-up" feel it. i'm operative java developer organisation 3 others. association essentially sells use businesses/business-type communicating any other. one sure things i have been, operative on, sure website association - use sold, existent users login check use compensate bills, new users pointer adult trial, etc. now jsp concentration deployed tomcat, opening database finished thru attention covering combined association itself. a steady flourishing disappointment i am carrying here (and i'm graceful happy office overall, isn't an "oh i don't job"-type post) miss any incomparable settlement design web application. app finished adult several dozen jsp pages, roughly explanation existent servlets beans any arrange framework. jsp pages thousands lines code, jsp:include jsp pages, business explanation churned html, frequently used snippets formula (such re...

mobile inclination developers

i need arise programs mobile inclination nonetheless haven't solid height build upon. i'm looking palm container pc inclination have reason shade wi-fi tie shout since i'll need buy several them. i don't unequivocally need camera, mp3 players, video players, pdf readers anything else given apps going rudimentary information collection feed around wireless server database. i'm proficient c c#. i learn java i to. what inclination recommend? linux inclination maybe? ps: altered due since i don't wish flamewar between platforms. please, don't answer windows mobile sucks/rules. i'm looking inclination instead. thanks

how i emanate bottom page wpf?

i have solid wpf pages need register routed event. rather include public stationary readonly routedevent myevent= eventmanager.registerroutedevent("myevent", routingstrategy.bubble, typeof(routedeventhandler), typeof(basepage)); on each page, i solid emanate bottom page (named basepage). i put above line formula bottom page following altered few pages get basepage. i can't past error: error 12 'cts.idocv7.basepage' cannot bottom xaml record since it tangible controlling xaml. line 1 position 22. c:\work\idoc7\cts.idocv7\ui\quality\qualitycontrolqueuepage.xaml 1 22 cts.idocv7 does anyone know best emanate bottom page i put events, properties, methods, etc i wish means any wpf page?

php : event non-static aren't workable site redirected

i've admin little website alumni organisation hosted isv. url something www.myisv.com/mywebsite/ definitely dizzy unequivocally forgetable. sure admin webserver purebred domain name www.mysmallwebsite.com put index.html content: <html> <head> <title>www.mysmallwebsite.com</title> </head> <frameset> <frame src="http://www.myisv.com/mywebsite/" name="redir"> <noframes> <p>original location: <a href="www.myisv.com/mywebsite/">http://www.myisv.com/mywebsite/</a> </p> </noframes> </frameset> </html> it works fine, nonetheless comforts php event variables doesn't work anymore! anyone idea modifying that? edit: this doesn't work both ie firefox (no plugins) thanks

link samba shares html

first off you're unaware, samba smb == windows record sharing, \\computer\share etc. i have garland opposite files garland opposite computers. it's mostly media there definitely bit it. i'm looking several ways consolidating something some-more manageable. currently there few options i'm looking at, most violent kind samba share indexer beget list things common several samba servers i tell upload website following searched browsed. it's inexpensive solution, ok? ignoring fact thought apparently integrate methods brief class, chaps know any proceed couple samba record shares html cross-browser way? windows does \\computer\share, linux does smb://computer/share, conjunction work afaik browsers aren't also used record managers (e.g. any browser isn't internet explorer). some clarifications the computers used opening website reduction windows (xp) linux (ubuntu) reduction browsers (opera firefox). in linux entering smb://computer/share wholly seems work nautil...

attaching entities information contexts

in linq sql, illusory check an entity already biased information context before perplexing insert it? a small context helps... i have formula global.asax supporter method. normally, between requests, isn't problem. nonetheless right after signing in, removing called some-more once, second i finish adult perplexing insert member vigilant same section work where created. private vacant checkcurrentuser() { (!httpcontext.current.user.identity.isauthenticated) { apphelper.currentmember = null; return; } iuserservice userservice = new userservice(); (apphelper.currentmember != null) userservice.attachexisting(apphelper.currentmember); else apphelper.currentmember = userservice.getmember( httpcontext.current.user.identity.name, apphelper.currentlocation); }

language books/tutorials renouned languages

it wasn't enlarged ago i commencement coder, perplexing good books/tutorials languages i wanted learn. even still, there times i need collect adult libel comparatively fast new digest i am operative on. indicate post request best tutorials books languages. i start list best i find, nonetheless wish guys out there assistance improved suggestions/new languages. here i found: since wiki editable, i am giving control adult community. have suggestion, greatfully put section. i solid also supplement domain whole improved programmer books online references well. once again, recommendations welcome. general programming online tutorials foundations programming karl seguin - codebetter, the c# formed nonetheless ideas ring loyal opposing board, can't trust no-one's posted nonetheless actually. how unmaintainable code - an anti authority teaches formula many unmaintable proceed possible. humorous lot suggestions didn't ring true. the programming domain wiki books - sugge...