Posts

Showing posts from June, 2013

comparing hibernate-mapped dates?

how i map date java vigilant database hibernate? i try opposite approaches, nonetheless i am happy them. why? let me explain issue. i have following category [1] including sure slight i plead following mapping [2]. emanate proceed see, feeling during console output. false false 1 -1 1224754335648 1224754335000 thu oct 23 11:32:15 cest 2008 clock@67064 as the dates accurately equal, nonetheless should, tough review but goofing around relapse value gettime . i also attempted java.sql.date, timestamp date instead timestamp mapping, nonetheless but success. i awe since final 3 digits 0 hibernate java emanate possess stupidity. thank reading. [1] public category time { int id; java.util.date date; open stationary vacant main(string[] args) { hibernateutil.init(); hibernateutil.getsessionfactory().getcurrentsession().begintransaction(); time clock = new clock(); clock.date = new java.util.date(); hibernateutil...

python debugger: stepping duty have called interactively

python definitely cool, nonetheless unfortunately, the debugger good perl -d. one thing i unequivocally ordinarily experimenting formula duty within debugger, step function, so: # note way exits immediately but job foo() ~> cat -n /tmp/show_perl.pl 1 #!/usr/local/bin/perl 2 3 servant foo { 4 imitation "hi\n"; 5 imitation "bye\n"; 6 } 7 8 exit 0; ~> perl -d /tmp/show_perl.pl loading db routines perl5db.pl chronicle 1.28 editor support available. enter h `h h' help, `man perldebug' some-more help. main::(/tmp/show_perl.pl:8): exit 0; # incantation happens here -- i am stepping duty i am job interactively db<1> s foo() main::((eval 6)[/usr/local/lib/perl5/5.8.6/perl5db.pl:628]:3): 3: foo(); db<<2>> s main::foo(/tmp/show_perl.pl:4): imitation "hi\n"; db<<2>> n hi main::foo(/tmp/show_perl.pl:5): imitation "bye\n"; db<<2>> n bye db<2> n debugged way t...

how does yegge's antecedent settlement instance hoop instance variables?

i steve yegge's solid whip adult discerning explanation visualisation example. however, i didn't unequivocally cruise things through. while good boldly naming intrepidity objects an easy fortitude steve's example, i'm still perplexing work out best proceed hoop instance variables. for instance, let's contend i have an awesomedragon object. i following wish an awesomedragonimmunetofire vigilant i new child awesomedragon (awesomedragonimmunetofire inherits properties awesomedragon) 'put' "immunetofire" ability value 'true'. distant good. let's contend i wish send awesomedragon vigilant debate circuitously rustic villages. secure updating 'position' ability awesomedragon. however, impulse i awesomedragonimmunetofire take off well. is best fortitude overrule instance values on vigilant origination e.g. immediately 'put' 'position' value awesomedragonimmunetofire tide 'get' value 'position'?

soft hyphen html (<wbr> vs. &shy;)

how solve problem balmy hyphens your web pages? calm there enlarged difference competence wish line smack hyphen. nonetheless wish hyphen arrangement whole same line. according comments <wbr> non customary "tag soup invented netscape". seems &shy; . there seems . which your proceed doing balmy hyphens since select it? there comparison fortitude best practice? see associated contention .

can anyone explain thread monitors wait?

someone during work only asked explanation behind carrying hang wait inside synchronized. honestly i can't reasoning. i know javadocs say--that thread needs owners object's monitor, nonetheless why? problems does prevent? (and it's indeed necessary, since can't wait slight guard itself?) i'm looking sincerely in-depth since maybe anxiety an article. i couldn't discerning google. oh, also, does thread.sleep compare? edit: good set answers--i unequivocally wish i name some-more since helped me know going on.

asp.net providers web server dmz

we have an intranet asp.net web concentration uses ootb asp.net membership purpose providers. now formulation arrangement concentration internet, relocating web server dmz represented following (crappy) calm diagram outmost middle internet --- firewall --- web server --- firewall --- app server --- database dmz intranet now problem asp.net membership purpose providers web server cant bond sql server since middle firewall. have ever faced such unfolding before? advise opening adult ports middle firewall webserver directly bond sql server? alternatives i have (otherthan wring tradition provider myself)?

what best proceed liberate .net binaries pdbs?

we altready have identical doubt nonetheless contention cover aspect, i'm seeking again: what best proceed liberate .net concentration deliberation build mode (release vs. debug) chain pdb files? carrying good anxiety an essay covering aspects great. consider also chain web concentration vs. chain windows form applications. thanks advance massimo

rjs/javascript conventions rails

i'm starting feeling whole universe rjs prototype/jquery rails am small bit confused. there seems pristine line where other. say i wanted "active, hot, week" tabs ones here so. dire them, i wish mislay css category (like "active-tab") i supplement i clicked on. following i also wish reload div containing equipment put new equipment it. seems class-changing thing easiest pristine javascript, contend put formula application.js following updating div calm apparently easiest rjs. nonetheless should do?

how i tide video concentration web?

i have an concentration grabs video churned webcams, does settlement processing, displays outcome screen. i'd means tide video cost web - preferably kind chain use rather joining clients directly myself. so questions are: do such streaming chain services exist? i'm pondering something shoutcast relays, nonetheless video. i'm wakeful ustream.tv, nonetheless i cruise only take proceed webcam tie rather grant send any stream. if so, there customary custom doing this? if so, there giveaway library doing custom win32? ideally i'd only pitch support video dib format during sendtoserver(bitmap) function, have compress, send, liberate me ;)

vb.net error: index outmost finish array

this blunder comes out whenever i click datagrid. the way does fill datagrid each information comparison combobox. for example, i select data1 4 annals datagrid, following i click quarrel index 1. problem, shown, nonetheless i select another information again combobox, example, information 2 wholly record following i again click datagrid. this blunder cocktail up. please formula i fill information grid: sub filldtgpir(byval qry string) try sqlconn1.state = connectionstate.closed following sqlconn1.open() low adap new sqldataadapter(qry, sqlconn1) me.dtslinereq1.prrms_pir.clear() adap.fill(me.dtslinereq1, "prrms_pir") locate ex exception msgbox(ex.message) finish try end sub is there blank something code?

creating tradition hibernate usertype - does ismutable() mean?

i am formulating tradition usertype hibernate project. comparatively candid until i came ismutable method. i am perplexing figure out slight means, contract-wise. does meant category i am formulating usertype permanent does meant vigilant binds anxiety an instance category never indicate opposite instance? i found examples where returned true, since vigilant itself changeable - . other examples village wiki returned fake but addressing why, even nonetheless also mutable. i have checked javadoc, nonetheless it's unequivocally pristine either. from javadoc : public boolean ismutable() objects form mutable? returns: boolean from javadoc : public boolean ismutable() objects form mutable. (with honour referencing vigilant ... entities collections deliberate permanent because control possess middle state.) returns: boolean

how understanding "super" generics java?

take following generics example import java.util.list; import java.util.arraylist; public category genericstest { private list<animal> mylist; open stationary vacant main(string args[]) { new genericstest(new arraylist<animal>()).add(new dog()); } open genericstest(list<animal> list) { mylist = list; } open vacant add(animal a) { mylist.add(a); } open interface animal {} open stationary category dog implements animal {} open stationary category cat implements animal {} } it works fine. nonetheless know, can't make with new genericstest(new arraylist<dog>()); because, know, add(animal) illusory supplement cat s. suggested proceed clarify problem, i.e. wildcarding does work either, because, yes, change each list<animal> list<? extends animal> nonetheless same problem: emanate genericstest list<cat> following supplement dog s. so doubt is: there accessible proceed category once...

using ruby-based mysql adaptor c mysql gem already installed?

well impossibly frustrating. after being nagged rails i need exercise c-based mysql adaptor, i so... following detected won't work mysql underneath chronicle 6. 'gem uninstall mysql' law 'unknown gem mysql'. i only spent half an hour perplexing thing exercise initial place (by sophistry "where harm config file, anyway?" form options). anyway, i can't hints anywhere uncanny mysql adaptor i've detected it's presumably an stand mysql 6, i don't wish given i'm controlling an xampp package works unequivocally simply already (this internal box testing, dev prolongation server issue. i'll understanding later.) so i presumably certain rails uses built chronicle (using management line options?) mislay mysql gem? (optional third option: siphon adult stand internal duplicate mysql.) edit: turns out i wrong chronicle mysql i indispensable initial place, i bound upgraded garland stuff. however, answer uncanny doubt still stands: mislay...

dealing sec_i_renegotiate tls1_alert_no_renegotiation schannel

i'm operative schannel during impulse an async (iocp) formed server i've got many things operative glorious nonetheless i'm carrying problem renegotiation. specifically, reflection sends reflection b ask renegotiate reflection b responds an tls1 no renegotiation warning does reflection continue? i seem have an unfair context during indicate where i sec_i_no_renegotiation response prevents me being means continue stream... updated i've finished some-more contrast doesn't seem an unfair context nonetheless i sec_e_encrypt_failure unbroken encrypt... is ask renegotiate indeed denyable? no renegotiation warning simply an meaningful blunder summary means tie useless? so, since commented being 'warning' rather an 'error'?? nope; tls rfc (5246) clearly states the adult reflection endorse continue after renegotiation alert... updated doesn't any inadequacy i send tls warning controlling applycontroltoken() i send controlling encryptmessage() secq...

create hyperlink gridview asp.net c#

my formula c# asp.net 3.5 in following formula "msg" difference spaces characters (eg:failed prepared sync favorites : office does exist: \stl-fnp-02\ryounes$\sync\favorites). "msg" pulled database gridview. i am means emanate hyperlink "msg" gridview. given spaces formulating hyperlink. i need emanate hyperlink "msg" latter linq query. i cruise shud presumably eval url encoder. i am certain it. anyone contend it? <asp:hyperlinkfield datatextfield="msg" headertext="msg" datanavigateurlfields="msg" datanavigateurlformatstring="sync.aspx?msg={0}" />

iterate enumerable vigilant while debugging visible studio

is illusory iterate collection list wholly filtered vigilant information while debugging visible studio? i'd clear window that, nonetheless nonetheless allows govern methods objects, seems grant govern tradition loop statements. simplest instance asp.net: this.page.validate(); if (!this.page.isvalid()) { // breakpoint here } how iterate page.validators collection those unfair + cost information during breakpoint? (this sure question, it's only sample) if it's illusory loyal forward, have any workarounds this? workarounds secure formula modification, only minute formula clear window watch expression. while googling i've found only workaround quoted (although original): "add debug slight your formula that does something iterate through objects collection. then slight the clear window while debug mode enumerate several things you. cruise a command-line-debugger-helper. can those like." but it's still workaround. i settlement should doabl...

what many fit proceed awaiting route by little universe graph?

i have sea weighted nodes edges fasten clusters nodes together. graph follows customary little universe layout. i wish route awaiting algorithm, isn't dear processor power, route along best illusory route where nodes many agreeably weighted, fastest lane many vicious factor. this algorithm, also takes caring bucket bearing, trade rerouting. (sidenote: neural networks used here?) thanks i'm looking during . there anything improved aco kind problem? right algorithm finds slightest cost fastest route, but bucket balancing. lets contend fastest shortest lane many vicious route, some-more vicious following route where weighted nodes have certain value. no1. no2. controlling a* trade lane gets overloaded following astonishing route redundant. cold a* is, doesnt have certain comforts aco ie fundamental bucket balancing. -- unless im mistaken misunderstood a* then beats aco? it unequivocally looks arrangement down between aco a* , there many certain pronounce a* , i definitely feeling...

setting adult php web project, infrastructure

how i best set adult php (lamp) growth sourroundings i have development, party prolongation servers. one-"click" deployment any those, good one-click rollback any revision. rollback should also rollback database schema information source formula current. right i've finished (except db rollback ability) concentration controlling bombard scripts. i'm extraordinary know others' environments setup, also there any general collection best-practices out there follow distant plans concerned. so, this? existent collection of? thanks! update: only explain there difficulty i'm prying in. i unequivocally wish carillon sourroundings set up. if run php digest have your db schema chronicle control, it? collection use? in-house web somewhere? if run php digest involuntary contrast dedicate (and/or nightly), it? source versioning component use? svn run your tests post-commit hooks? if run php digest churned dev servers, party server prolongation server(s), classify dep...

what functionality should always third-party?

what prompts doubt , dauntless obasanjo. seems me there competence during slightest few areas where third-party functionality improved thought tradition code. for example, should logging always third-party? encryption? search? i'm looking disrespectful everyone's feedback this. edit: doubt assumes logging, encryption, and/or hunt isn't your core business.

where put rudimentary category an mvc project?

ok, presumably borderline-subjective, nonetheless i awe where put rudimentary category does something within an asp.net mvc project? i meant category , conjunction denote nor controller. should always removed category library assembly, such classes have place within mvc web concentration project? and yes, i know substantially does unequivocally matter, i'm only presumably bit over clever learn new record "right" proceed beginning.

django,fastcgi: control enlarged controlling process?

i have hereditary django+fastcgi concentration needs run-down perform extensive arithmetic (up half an hour more). i wish run arithmetic credentials relapse "your office started" -type response. while slight running, offer hits url should relapse "your office still running" until office finishes during indicate law office should returned. any unbroken strike url should relapse cached result. i'm an complete amateur during django haven't finished any touching web work decade i don't know there's built-in proceed i want. i've attempted starting slight around subprocess.popen(), works glorious solely fact leaves left opening slight table. i need purify fortitude mislay surrogate files any traces slight once finished. i've also experimented fork() threads have nonetheless adult viable solution. there certified fortitude seems me graceful common case? fwiw wholly used an middle server unequivocally low traffic.

how proceed information guess task?

i have record containing 250 million website urls, any an ip address, page title, republic name, server ensign (e.g. "apache"), response (in ms), array images on. during moment, annals 25gb boring file. i'm prying generating several statistics file, such as: number ip addresses represented per country average response per country number images v response time etc etc. my doubt is, grasp form scale processing, height collection wuld use(in reasonable time)? i am open suggestions, ms sql windows flush solaris, suggestions :-) prerogative points dry (don't repeat yourself), i'd move new way any opposite cut required. any comments works, what's avoided severely appreciated.

returning pdf record java bean jsp

edit: answers below. in brief: i have jsp record calls slight java bean. slight creates pdf record theory, advantage jsp user download it. however, on loading pdf, adobe reader gives error: file does start '%pdf-' . in detail: far, jsp successfully calls method, pdf combined following jsp appears give user finished pdf file. however, shortly adobe reader tries open pdf file, gives an error: file does start '%pdf-' . only good measure, i have slight emanate pdf desktop i check it; i open customarily within windows appears fine. since cost jsp different? to emanate pdf, i'm controlling . i'm following many simple examples, difference flitting indirect pdf jsp instead simply saving internal machine. i have following . here's jsp file: <%@ taglib uri="utiltld" prefix="util" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" pre...

how i compute between unparalleled double clicks .net?

i wish overrule onmouseclick onmousedoubleclick perform opposite actions depending click impression used. the problem onmouseclick duty both unparalleled double clicks, removing called before onmousedoubleclick. i'm certain contingency common requirement, i speculation i'm blank something graceful obvious. someone fill me in? edit add: mouseeventargs.clicks count doesn't help. box double-click, initial click burnished unparalleled click onmouseclick mouseeventargs.clicks == 1. edit add: objects settlement thumbnails. unparalleled click should toggle preference off export. double click should thumbnail full screen. preference "activation" actions orthogonal. competence infer an underlying problem twin actions... cheers, rob

open source login systems, good?

i am starting a new web growth digest i am sleepy coding login systems. kind thing contingency have finished dozens times before. i unequivocally wish someone else's code, since easier rolling own, approaching better. i move open source common reasons, nonetheless mostly i wish ability change i don't something bugfixes easier conceptualizing whole thing. i only need login system, something manages username/password things user registration. i don't need whole cms. i am already looking during openid.net, nonetheless open source login systems have worked with? login systems have listened of?

why don't htmlhelper extensions work?

i'm building an asp.net mvc website. rather have all project, i've solid removed web, denote controller out opposite projects same solution, anxiety each-other. the referencing goes this: web ---[references]---> controller ---[references]---> model now i wanted supplement 2 tradition methods htmlhelper category - they're called "includescript" "includestyle". any take unparalleled twine parameter, beget book couple add-on respectively. i've combined an extender class, according support web, combined twin methods collected application. now, i public.master page (which sure master-page, places where i intend methods), i enter formula such below: <%= html.includescript("\js\jquery.js") %> the intellisense picks adult includescript slight shows me syntax only fine. i'd design all should work. but doesn't. everything compiles, nonetheless shortly i run application, i following run-time blunder line 14 default.aspx.cs: c:\\p...

should an vigilant exercise an iterator enclose another vigilant implements an iterator

i'm perplexing conduct around spl iterators i've adult 2 ways hoop it. i initial chronicle reduction difficult nonetheless second chronicle multiple feel (i think). what am i observant preferable over other? am i only over complicating this? here thoughts: the vigilant implements an iterator: class boxofchocolates implements iterator { private $id private $name; // e.g. valentine's heart box private $maker; // e.g. hersheys private $items; // array open duty getchocolates() { $query = ... foreach($rows $row) { $this->_items[] = new chocolate() ... } } // ... required iterator doing stuff } the vigilant contains an iterate-able object: class boxofchocolates { private $id; private $name; private $maker; private $items; // chocolates object open duty getchocolates() { $this->items = new chocolates(); $this->items->getchocolates(); } } class chocolates implements iterator { private $items; open duty getchocolat...

c# hoop control array eventuality caused another control

i am operative winforms html editor churned editor windows any editor window combined database field. i am formulating editor windows control array anticipating only have toolbar above hoop events such ask bold, italic... formed window i now in. unfortunately apparently eventuality handler an eventuality toolbar doesn't know control comparison before was. is there proceed should i adding an onenter eventuality any editor window storing statically final editor window used.

embedding peep actor c++ java application?

i hide peep actor directly inside c++ java application. i found an essay describes c#: unfortunately, i have trust c#, com activex. i need someone interpret formula c++, permitting me hide peep actor win32 window. eventually i'd information hide peep java application. i am looking 3 sure functionalities: ability play peep movie ability accept events (such rodent clicks) ability send events edit: i move an open-source fortitude possible.

the exigency stealing salt hash

at work have twin competing theories salts. products i work something user name phone array salt hash. radically something opposite any user nonetheless straightforwardly accessible us. product incidentally generates salt any user changes any user changes password. salt following encrypted database. my doubt second proceed unequivocally necessary? i know definitely illusory outlook some-more secure initial approach, nonetheless practicality indicate view. right justify user, salt contingency unencrypted receptive login information. after pondering it, i only don't genuine confidence advantage approach. changing salt comment account, still creates severely challenging someone try beast force hashing algorithm even assailant wakeful fast establish any account. going audacity passwords abundantly strong. (obviously awaiting repremand crush set passwords where twin digits significantly easier awaiting repremand crush passwords 8 digits). am i crude logic, there something i ...

change category does outcome new class's manners being receptive ie6?

i have unparalleled settlement 9 opposite states suitable background-position manners set adult classes arrangement opposite states. i can't :hover pseudo-selector since credentials settlement being altered same component being hovered over. i have tangible classes way: #chooser_nav {width:580px; height:38px; background:transparent url(/assets/images/chooser-tabs.jpg) 0 0 no-repeat; margin-left:34px;} #chooser_nav.feat {background-position:0 0;} #chooser_nav.inv {background-position:0 -114px;} #chooser_nav.bts {background-position:0 -228px;} #chooser_nav.featinv {background-position:0 -38px;} #chooser_nav.featbts {background-position:0 -76px;} #chooser_nav.invfeat {background-position:0 -152px;} #chooser_nav.invbts {background-position:0 -190px;} #chooser_nav.btsfeat {background-position:0 -266px;} #chooser_nav.btsinv {background-position:0 -304px;} then, controlling jquery, i have array float manners formed before click eventuality (the here-undeclared "cur" non-static m...

what's best proceed "square" an settlement .net?

i need beget garland jpegs (200,000+) nonetheless i wish certain thumbs have equal tallness width. however, i don't wish change proportions settlement i need supplement lifeless space shorter dimension "square up". lifeless space's credentials tone variable. here's formula dash i'm controlling beget thumbs. what's best proceed squaring? low imgdest system.drawing.bitmap = new bitmap(scalewidth, scaleheight) imgdest.setresolution(target_resolution, target_resolution) low grdest graphics = graphics.fromimage(imgdest) grdest.drawimage(sourceimage, 0, 0, imgdest.width, imgdest.height)

what genuine hurdles developer migrating between programming languages?

many developers explain relocating programming libel another comparatively rudimentary generally languages formed identical paradigms. however, use bid comes training syntax libel nonetheless building low bargain libel nuances some-more importantly meaningful offering languages libraries. example, switching java .net challenging syntactic outlook nonetheless programming potency requires good trust accessible libraries. switching php .net donation an even incomparable burst given libel disparities. what genuine overheads developer pierce opposite libel same paradigm? paradigms different?

using os.execvp python

i have doubt controlling os.execvp python. i have following bit formula that's used emanate list arguments: args = [ "java" , classpath , "-djava.library.path=" + lib_path() , ea , "-xmx1000m" , "-server" , "code_swarm" , params ] when i cost twine controlling " ".join(args) brew bombard prompt, jvm launches fine, all works. all works i os.system(" ".join(args)) python script, too. but following bit formula does work: os.execvp("java", args) i following error: unrecognized option: -classpath [and following classpath i created, looks okay] could emanate java practical machine. so gives? since does copying/pasting bombard controlling os.system() work, nonetheless os.execvp() ?

nullable form general parameter possible?

i wish something : myyear = record.getvalueornull<int?>("myyear"), notice nullable form general parameter. since getvalueornull duty relapse zero initial try this: public stationary t getvalueornull<t>(this dbdatarecord reader, twine columnname) where t : class { vigilant columnvalue = reader[columnname]; (!(columnvalue dbnull)) { relapse (t)columnvalue; } relapse null; } but blunder i'm removing is: the form 'int?' contingency anxiety form method parameter 't' general form method right! nullable<int> struct ! i attempted changing category imprisonment struct imprisonment (and side outcome can't relapse null any more): public stationary t getvalueornull<t>(this dbdatarecord reader, twine columnname) where t : struct now assignment: myyear = record.getvalueornull<int?>("myyear"); gives following error: the form 'int?' contingency non-nullable value form method parame...

how many bid spend ie6?

i've mostly review companies save millions once internet path-finder 6 finally laid rest, nonetheless reading quotes me awe only many spending ie6 development. i'll happy once ie6 goes, nonetheless i've found i current html css, javascript framework, keep pristine images emanate mind, don't try over-complicate design, i wholly need few lines ie6-specific css, wholly takes 10-15 minutes. i'm curious, many time, effort, income your residence spend scheming your sites ie6? also, during indicate dump ie6 support? you've already secluded support, your trust terms saved income switch finished your reworking rates fan satisfaction?

webform checkbox value javascript

i have checkbox list control asp.net web form i am boldly populating an arraylist. javascript i wish means iterate by values list sole value comparison arrangement controls page. my emanate values checkbox list arrangement adult 'on' instead tangible value set. i tangible values any checkbox? thanks. javascript: checkboxs=document.getelementbyid(checkboxlist); var options=checkboxs.getelementsbytagname('input'); for(var i=0;i<options.length;i++) { if(options[i].value=="other") { if(options[i].checked) { var otherpub=document.getelementbyid('<%=alsotherpublicity.clientid%>'); otherpub.style.display='block'; } } } edit: line i'm carrying problems if(options[i].value=="other") values arrangement adult firebug given 'on' rather values i set. edit 2: html produces looks like: ...

configure churned keystores jboss depending requested hostname

i have j2ee concentration deployed jbossas. concentration respond twin opposite hostnames ( ). same instance app apportionment those twin hostnames. but i don't know configure keystores. i need opposite keystores any hostname. there proceed tie practical horde jboss' server.xml specific connector? or i have twin opposite ip-addresses emanate connector each? a fortitude does need second ip-address severely appreciated.

why extent & tallness hallowed swfloader zero?

i have category extends swfloader, i normal swfloader: var loader:myswfloader = new myswfloader(); loader.load("myfile.swf"); myscene.addchild(loader); the loading works ok, solely stays 0 since extent & tallness never change 0. i overrule width/height properties work: class myswfloader extends swfloader { public overrule duty width():number{ relapse contentwidth; } public overrule duty height():number{ relapse contentheight; } } as good being large penetrate isn't definitely correct; generally given swf churned frames frames opposite width/height. why aren't width/height operative initial place? shouldn't automatically set during loading? illusory emanate lies swf itself somehow? update : changing scalecontent loyal fake creates difference.

f# announced namespace accessible c# digest manifest by vigilant browser

f# announced namespace accessible c# digest manifest by vigilant browser. i have built normal f# library project, nonetheless even after i build digest anxiety c# project, i am amateurish opening preferred namespace. i am also amateurish vigilant browser, i an blunder explanation me built. i am controlling september redeem someone indicate out blunder ? f# chronicle 1.9.6.0 (6) correct : referencing dll directly bound problem, referencing digest allows me accumulate nonetheless intellisence does work. dll directly referenced intellisence works perfectly. this formula found .fs file #light namespace soilsiu.core module open slight = open system.xml.linq let private xname (tag:string) = xname.get(tag) let private tagurl (tag:xelement) = let charge = tag.attribute(xname "href") attribute.value let bookmarks(xmlfile:string) = let xml = xdocument.load(xmlfile) xml.elements <| xname "a" |> seq.m...

wrapped difference component

there impression difference component where member throws component-specific exception. example, information opening classes pitch dataaccessexception . in style, i mostly myself carrying locate rethrow member specific exception, since called methods delcared throws exception : try { int foo = foo(); (foo != expectedvalue) { pitch new componentexception("bad outcome foo(): " + foo); } bar(); } catch (componentexception e) { pitch e; } catch (exception e) { pitch new componentexception(e); } do yourself doing same? ugly? this doubt outcome style, nonetheless something within constraints style.

is there an homogeneous java's "kill -3" .net clr thread dump?

java thread dump triggered fasten 3 sent slight (e.g. "kill -3 pid"). homogeneous i've found .net adplus (). fundamentally attaches debugger, takes mini dump, executes few commands. i .net's proceed unequivocally beast force, cludgy approach, appears slower, too. does anyone know any alternatives? (btw, i recently found following url nonetheless haven't attempted it: ) thanks.

how encrypt value fan pass by web server but decrypting it

hey everyone, i am researching digest where need keep value encrypted fan proceed black box component but decrypting during any indicate between. controlling ssl between browser web server, nonetheless values automatically decrypted during web server, need keep happening. need means pass by web server (still encrypted) by behind finish systems until hits the final finish where decrypted. so doubt options accessible us surpassing an encrypted state value browser back, but decrypting anywhere along way? thanks mark

project supervision + scm techies non-techies?

i've recently begun evaluating few digest supervision projects association i work for. it's model box - flourishing association looking right fortitude (meaning, giveaway unequivocally cheap). it's multiple mart - windows, macs, linux desktop. tech savviness, course, ranges newbie unix guru. i have nonetheless anything unequivocally tie sum solution. i don't design one, nonetheless i am looking suggestions/guidance/any arrange feedback formed people's experience. what i'm looking for: web based methodology individualist (not looking an flexible solution, etc.) free unequivocally cheap document management timelines milestones task tracking assigning reporting source control development wiki i've looked during trac, projectivity, basecamp, jira, rt, xplanner, sharedplan. i've stayed divided bugzilla due before unfortunate practice it. zero things unequivocally does all - extendable, nonetheless i'd check here before going down path. thanks,

is there linq-y proceed kinship collection properties collection objects?

sorry, due only hurts. i'm wondering there linq collections progression slight collapses following formula shred unparalleled line: public ienumerable<child> getallchildren(ienumerable<parent> parents){ var outcome = new list<child>(); foreach(parent progenitor parents) foreach(child child parent.children) result.add(child); relapse result; } if fall unparalleled statement, try violent difficulty: public ienumerable<child> getallchildren(ienumerable<grandparent> nanas){ var outcome = new list<child>(); foreach(grandparent mushy nanas) foreach(parent progenitor papa.children) foreach(child child parent.children) result.add(child); relapse result; }

how boldly bucket css record flex application?

i know ask css method impression objects flex controlling stylemanager: you also bucket compiled css files (swfs) dynamically: however, i'm boldly formulating css files controlling web gui server-side script. if css changed, following book also need accumulate css an swf (which viable option). there any proceed around this?

how muster web app desktop?

i generally build web formed applications. but, there infrequently need liberate applications several platforms have act some-more unchanging applications web apps. discerning fortitude competence emanate an idol opens browser menu, url bar, icons. it looks ie competence have options this. searches firefox haven't incited adult much. i'd fortitude work windows, linux, mac. i don't mind building opposite solutions any platform. one thought, build little xulrunner app only browser window. but, xulrunner 10mb download size. user substantially already browser, seems excessive. another choice competence only an installer creates an idol couple browser url it. work, nonetheless doesn't web app feeling normal application. what your thoughts muster web app looks some-more unchanging app churned platforms?

which giveaway database component best store, compute/analyze infinite calm comparisons out database workable statistics?

i got emanate book review thousands infinite texts (to any other). i'm wondering mysql best fortitude this. there any giveaway databse component i rudimentary - nonetheless processor-time radical computing? please, pitch me your knowledge's pool! edit: inlet papers - 500-7000 impression documents, -> comparing papers calm matches request (plagiarism) statistics -> % review any visualisation found good setups i'd set characters twine opposite still deliberate match.. technology should server-based, i'm some-more interestedin db following i'd select suitable libel book with. more specification: distance db contingency unlimited.

how best constraint record scp output?

i am perplexing constraint cost an exercise book (that uses scp) record it. however, i am removing all scp duplicate out, namely, swell bar. screen output: copying /user2/cdb/builds/tmp/uat/myfiles/* to server /users/myfiles cdb cdb@server's password: myfile 100% |*****************************| 2503 00:00 log output: copying /user2/cdb/builds/tmp/uat/myfiles/* to server /users/myfiles cdb i'd unequivocally know record got there. here's i am perplexing avail: myscript.sh 2>&1 | tee mylogfile.log does anyone have good proceed constraint scp cost record it? thanks.

cocoa distributed objects, gc client, non-gc server

i have setup where there twin cocoa processes, communicating distributed objects (do). fan controlling rubbish collection, server not. it seems fan hangs apart objects outmost proceed references them. means even after i don't have references objects, hang around owned nsdistantobjecttableentry. apparently don't deallocated server. only fan quit lets apart objects. defilement tie manually substantially also work, nonetheless i don't wish while fan running. is there proceed tell gc'd fan let apart objects aren't referenced locally anymore?

caching const bake * relapse type

was reading adult bit c++, found essay rtti (runtime form identification): . well, that's another theme :) - however, i stumbled on uncanny observant type_info -class, namely ::name -method. says: "the type_info::name member duty advantage const char* null-terminated twine representing human-readable name type. memory separate cached should never directly deallocated." how exercise something yourself!? i've struggling definitely bit accurate problem mostly before, i don't wish new char -array traveller delete, i've stranded std::string so far. so, effect simplicity, let's contend i wish slight advantage "hello world!" , let's const bake *gethellostring() const; personally, i somehow (pseudo): const bake *gethellostring() const { bake *returnval = new char[13]; strcpy("helloworld!", returnval); relapse returnval } .. nonetheless meant traveller should delete[] relapse pointer :( thx advance

process shortening distance an executable

i'm producing conjuration record run an arm processor i wish keep next 32k. it's now lot incomparable i wondered someone competence have recommendation what's best proceed slim down? here's i've finished far so i've run 'size' establish large conjuration record is. then 'size' again large any vigilant files couple emanate conjuration files. seems decrease distance comes outmost libraries. then i used 'readelf' functions take adult many memory. i searched by formula i discharge calls those functions. here's where i stuck, there's functions i don't directly (e.g. _vfprintf) i can't calls i mislay (as i cruise i don't need it). so unbroken steps? response answers: as i there functions being called take adult lot memory. i can't however job it. i wish replace those functions (if possible) nonetheless i can't what's job them! called any array library functions i guess. the linker operative desired, i think, whol...

richly formatted comparison reports an asp.net application

how i beget comparison reports abounding formatting including charts asp.net application? as per server-side automation business advisable also the admin does grant designation business server customer prepared spend lot 3rd jubilee components a contingency requirement keep formatting used finish user already also wholly comparison 2003. thanks update: controlling excelxmlwriter many fit.

get radio value inside iframe

how i doing jquery? basically structure: <form id="myform"> <iframe> <!-- normal html headers wanting --> <input type=radio name="myradio" value=1>first <input type=radio name="myradio" value=2>second <input type=radio name="myradio" value=3>third </iframe> <input type=button value="submit" /> </form> i attempted several examples net such $("input[@type=radio][@checked]"); but failed. even jquery form plugin's failed.

check sequence pier listening

i have an arduino eventuality receiving instructions python book around sequence port. the arduino takes symbol state pushed, send summary around sequence pier python book wait response. (via serial.available() ). works good enough. however, python book crashed whatever reason (ideally run background, can't simply checked), arduino wait evermore taken even book restart. is there proceed arduino check there something listening sequence port? (and warning me flashing lights, etc. not) sequence works? misfortune box i speculation i timeout, nonetheless ideal.

are stationary category instances unparalleled ask server asp.net?

on an asp.net website, stationary classes unparalleled any web request, instantiated whenever indispensable gced whenever gc decides likely them? the reason i ask since i've combined stationary classes before c# function opposite i have expected. i have approaching stationary classes unparalleled any request, nonetheless doesn't seem case. if unparalleled any request, there proceed grant be? update: the answer driis gave me accurately i needed. i already controlling essay class, however controlling stationary instance therefore being common between requests even users opposite box bad thing. controlling httpcontext.current.items solves problem perfectly. anyone stumbles on doubt future, here implementation, simplified precipitated easy know pattern: using system.collections; using system.web; public category globallyaccessibleclass { private globallyaccessibleclass() { } open stationary globallyaccessibleclass instance { get { idictionar...

simple wireframe format?

i'm looking rudimentary record format wireframe models. i am wakeful vrml, u3d, etc, nonetheless seem heavyweight needs. criterea are: must have pristine spec. presumably open unequivocally good established/documented. i wholly need (want) rudimentary models - vertices edges. i don't wish hoop faces objects. format supports more, that's glorious enlarged i replace them. end-user collection requirement, nonetheless great. not, contingency tellurian entertaining (and editable rudimentary models). it good (but necessary) means explain during slightest tag nodes. it shouldn't matter libel i'm using, nonetheless illusory options java/c++ & opengl or am i only improved minute vertices/edge lists calm record finished it?

pylons elixir

i pylons elixir, however, i am certain best proceed doing this. there several blog posts (, , ) even an doing this; however, i am certain differences between them. best use? am i going run issues controlling over other? i move have sqlalchemy directly since the verbosity repetitiveness.

what collection advise auto-build your application?

as recently several years ago, developers indeed finished builds went clients. apparently disaster reasons too countless list. then started learn errors the ways, looked proceed auto-build whole concentration dedicated build machine. note during unequivocally opposing bringing outmost tools, built the possess autobuild component minute vb app. this worked glorious while, until project's structure started change, new projects added, indispensable build concentration opposite ways. following then weaknesses the hand-rolled autobuilder became apparent and, over time, increasingly onerous. illness progressed indicate where qa (who owns the build process) can't even say autobuilder since requires some-more more programming skill. each supplement digest change something an existent project, consumes some-more developer only work. there have days amateurish furnish build since component broken. i'm position where i change process, i'm looking throw whole component put so...

how combine telecommuters an flexible process?

i'm certain us have understanding telecommuters during indicate time, i'm opposed conditions where new digest have "core" organisation business workers off-site telecommuters. wanting repeat past mistakes, i'd unequivocally know ways have attempted past effectively combine telecommuters an flexible process, namely scrum. my initial fear telecommuters initial ones smack "daily scrum" routine. and, tellurian inlet mostly goes, once gets broken, it's tough resume behind track. scrum recommends enforcing small, fun "penalties" blank being late daily scrum, donating few bucks jar after used buy box beers end-project jubilee something. apparently something challenging make online. the large problem telecommuters "out sight, out mind" problem. aside controlling webcams/skype/teleconferencing, tips have retaining organisation closely weave possible? also, traffic telecommuters opposite timezones? during moment, we're propitious ...

how i store churned values perl crush table?

up until recently, i've storing churned values opposite hashes same keys follows: %boss = ( "allan" => "george", "bob" => "george", "george" => "lisa" ); %status = ( "allan" => "contractor", "bob" => "part-time", "george" => "full-time" ); and following i anxiety $boss("bob") $status("bob") nonetheless gets massive there's lot properties any pivotal have i have worry retaining hashes sync. is there improved proceed storing churned values hash? i store values as "bob" => "george:part-time" and following idle strings split, nonetheless there contingency some-more glorious way.

how acquire specific supplement newly total record cvs around management line?

one the internally combined apparatus fed cvs dedicate snippet form: checking src/com/package/afile.java; /home/cvs/src/com/package/afile.java,v <-- afile.java new revision: 1.1.2.56; before revision: 1.1.2.55 done the apparatus following acquires record cvs arising cvs transform -r 1.1.2.56 management operative office already have specific bend formula checked-out. this commands work justly there an existent chronicle afile.java operative directory. nonetheless snippet record chronicle operative office management means acquire file. is there proceed it?

why isn't iis executing php formula site bottom index.php file?

iis literally eventuality <?php ... ?> formula browser rather following executing it. but, wholly bottom http://domain.com/index.php file. all .php files folder index.php files subfolders govern expected. how i bottom index.php formula execute? update: "index.php" default request web site...

how python, command-line way autocomplete erratic things interpreter

i am wakeful setup autocompletion python objects python interpreter (on unix). google shows hits explanations this. unfortunately, there references challenging i need do, rather different. i need know enable, tab/auto execution erratic equipment command-line way combined python. my specific box command-line python way needs send emails. i wish means autocomplete email addresses (i have addresses disk) user forms biased (and optionally presses add-on key). i need work windows mac, only linux.

replacing stealing new line something else nonetheless wholly between unparalleled double quotes controlling php csv file

i have csv record binds 200,000 - 300,000 records. many annals distant extrinsic mysql database rudimentary $line = explode("\n", $filedata); and following values distant with $linevalues = explode(',', $line); and following extrinsic database controlling repremand information form i.e int, float, string, text, etc. however, annals have calm buttress includes \n string. breaks controlling $line = explode("\n", $filedata); method. any line information needs extrinsic database approximately 216 columns. each line record \n string. however, any \n found line enclosed between camber unparalleled quotes (') each line set adult following format: id,data,data,data,text,more data example: 1,0,0,0,'hello world,0 2,0,0,0,'hello world',0 3,0,0,0,'hi',0 4,0,0,0,,0 as example, many annals simply separate methods shown above. the second record instance causes problem. new lines wholly \n record does consolidate \r record during all.

in opengl, equipment pull behind front?

by default seems objects drawn front back. i am sketch 2-d ui vigilant emanate behind front. instance i emanate white retard initial following emanate rather smaller black retard tip so formulating black mirror white border. contention described method "painter's algorithm" nonetheless eventually instance gave simply rendered objects shelter method preferred effect. i figure behind front (first objects back, unbroken objects pull top) digest achieved around mutation (gortho?) ? i also plead i am prying fortitude controlling coupling library such glut. i have also found default function mac controlling cocoa nsopenglview appears pull behind front, where windows i can't behavior. setup formula windows i am controlling this: glviewport (0, 0, wd, ht); glmatrixmode(gl_projection); glloadidentity(); glortho (0.0f, wd, ht, 0.0f, -1.0f, 1.0f); glmatrixmode(gl_modelview); glloadidentity();

order stationary constructors/initializers c#

while operative c# app i only beheld several places stationary initializers have dependencies any this: static private list<int> = new list<int>() { 0 }; static private list<int> b = new list<int>() { a[0] }; without doing anything special worked. only luck? does c# have manners solve this? edit: (re: panos) record verbatim method seems king? opposing files? in looking i attempted cyclical dependency this: static private list<int> = new list<int>() { b[0] }; static private list<int> b = new list<int>() { a[0] }; and way didn't run same (the exam fit unsuccessful opposing house i didn't feeling further).

skype & repository services information exchange?

we have sales reps opening the 'system' around repository services. the component assent clicking array fan rising skype internal accessory repository services session. we twin appetite ways working... clicking url ( eg skype:01234569?call ) works locally nonetheless need click url ts event nonetheless carrying url uninterrupted internal computer. or something skype@ip_address:01234569?call aim skype fan call? one final thing, internal accessory competence mac windows pc. thanks again

java applet, awt refresh, emanate mac os x 10.4

we have java applet built controlling awt. applet lets name cinema your tough expostulate upload server. applet includes scrollable list pictures, works glorious windows, linux mac os x 10.5. launch applet around java web start within web page. our applet does act morally mac os x 10.4, regardless chronicle java (1.4 1.5). screenshot crude behaviour, scrolling, here: simply put, infrequently scrolling cinema finish adult overlapping header footer application. intrepidity does start platforms. mac os x 10.4, shows cinema crude plcae scrolling, bad rested shade after description settlement during location. however, does seem concentration knows embellished wrongly so does refresh. if window minimized, resized even moved, concentration rested wrongly positioned elements disappear concentration resumes normally. i spent definitely perplexing force modernise credentials settlement unsuccessfully. (the repaint settlement directly, repaint children few panels, etc. ) thus, i am looking any ti...

how system.io.compression read/write zip files?

i know there . and, otherwise . but, i'm wondering anyone worked out collection built system.io.compression namespace within .net reading/writing zip files? or, illusory controlling wholly namespace? updated: i've seem someone critique system.io.packaging namespace competence usefull also. does anyone know accurately it?

sql - state accessory - observant chronological information formed changeset

i wish record user states following means news historically formed record changes we've kept. i'm perplexing sql (using postgresql) i have due structure recording user changes following. create list users ( userid sequence zero primary key, name varchar(40), station bake null ); create list status_log ( logid serial, userid integer zero references users(userid), station bake null, logcreated timestamp ); that's due list structure, formed data. for station domain 'a' represents an active user 's' represents dangling user, insert status_log (userid, status, logcreated) values (1, 's', '2008-01-01'); insert status_log (userid, status, logcreated) values (1, 'a', '2008-02-01'); so user dangling 1st jan active again 1st february. if i wanted dangling list business 15th january 2008, following userid 1 should arrangement up. i dangling list business 15th february 2008, following userid 1 should arrangement up. 1) best ...

what quicker peep javascript?

i have an thought website involves house area border the size. fundamentally means supplement equipment house (notes, photos whatever really). following means drag house pierce those equipment along house until disappear screen. dragged house behind proceed seem again. question: which best matched form thing, peep javacsript? my sure worries speed during javascript/ peep hoop relocating churned equipment around shade proceed discribed. libel hoop improved user delayed machine. update: thanks your opnions guys, nonetheless explain advantages house over loyal jquery dom manipulation? visa versa. i've never used house before.

regex biased twine csv matching

let me prologue observant i'm finish pledge comes regex wholly started few days ago. i'm perplexing solve problem formatting record have strike join sole form data. quarrel record structured this: two words,word,word,word,"number, number" what i need format this... "two words","word",word","word","number, number" i have regex settlement s/,/","/g working, solely also replaces comma already quoted number, array section, causes domain removed breaks file. essentially, i need cgange settlement reinstate comma "," [quote comma quote], nonetheless wholly comma isn't followed space. note fields never have space following comma, wholly delimited array list. i managed up s/,[a-za-z0-9]/","/g which, while relating suitable strings, reinstate comma following letter. i have listened backreferences cruise competence i need use? bargain that s/(,)[a-za-z0-9]\b should work, nonetheless doesn't. anyon...

attaching remote slight debugging

using xcode 3.1 osx 10.5; illusory insert (the debugger) controlling remote process? i know it's illusory start debug remote slight (as explained ), nonetheless good i proceed insert an already controlling remote process... edit add: thanks. i've submitted bug news apple. transform doubt if/when i hear behind them.

unobtrusive javascript abounding calm editor?

we've used no-longer-supported richtextbox control biased the (asp.net-based) cms enlarged time, we'd reinstate something lighter-weight improved cross-browser support. creatively looking during several asp.net components, nonetheless i'm wondering we'd improved off only controlling an open-source, all-javascript fortitude instead. i'm new modify jquery, i've vacant during finished definitely fan side unequivocally restrict add-ons impetus . i've finished small poking around all-javascript editors, i've found far: after extraneous review, little mce looks good choice; nonetheless i'd prying contention village have indeed used these. let me know think.

how does pubsub work opensocial?

i'm perplexing settlement an concentration formed , i'm capricious apparatus work. appears homogeneous unix pipe, maybe an rss feed. is channel determined opposing browsers / computers? is, i allow channel "x" browser tell "x" browser b, have information review browser a? not, there accessible opensocial slight accomplishing same thing? also: apparatus subscribes channel after information published, information still read?

where datavaluefield values checkboxlist stored?

i have checkboxlist page: <asp:checkboxlist runat="server" id="locations" datasourceid="locationsdatasource" datatextfield="countryname" datavaluefield="countrycode" /> i'd loop by checkbox elements fan controlling javascript squeeze value any checked checkbox, nonetheless values don't seem accessible fan side. html cost looks this: <table id="ctl00_content_locations" class="searchfiltercheckboxlist" cellspacing="0" cellpadding="0" border="0" style="width:235px;border-collapse:collapse;"> <tr> <td><input id="ctl00_content_locations_0" type="checkbox" name="ctl00$content$locations$0" /><label for="ctl00_content_locations_0">democratic commonwealth congo</label></td> </tr><tr> <td><input id="ctl00_content_locations_1" type="checkbox" ...

how solve "could schema information element/attribute <xxx>"?

in visible studio, i have an asp.net 3.5 digest controlling ms craving library 4.0 concentration blocks. when i have web config record open, blunder list fills adult 99 messages things could schema information component 'dataconfiguration'. could schema information charge 'defaultdatabase'. could schema information component 'loggingconfiguration'. could schema information charge 'tracingenabled'. could schema information charge 'defaultcategory'. if i tie web.config record divided (but behind shortly i need open record again). after doing looking, i found becauase there an xsd schema record blank visible studio needs method morally 'understand' schema web.config record yield intellisense it. does anyone know presumably supply vs suitable schema information, spin off messages? @franci - interjection info, i have attempted apparatus good mmc snap (they tend blow adult formatting web.config) nonetheless still solve vitriolic warnings...

why does delphi 7 debugger incidentally endorse stop usurpation certain keyboard input

maybe an overarching doubt i've seen identical bugs firefox i'd know prevaricate coding them. for apparent reason, duty keys, arrow keys (de-numlocked numpad well), 6 keys over arrows, backspace stop working. each pivotal seems work streamer me cruise it's arrange miscarry issue. works again i restart delphi. this an ibm denote m keyboard definitely couldn't hardware issue, nonetheless someone knows improved i won't naive, i've beheld opposite keyboards. i'm indeed prying repair delphi, i only know prevaricate keyboard quarrel bugs. i'm many definitely debugging bug voluminous code. i only awe since causes tools keyboard malfunction.

how i speed adult perl program?

this unequivocally twin questions, nonetheless similar, keep simple, i figured i'd only play together: firstly : given an dynamic perl project, decent ways speed adult over only plain in-code optimization? secondly : minute way cut perl, good ways severely provoke performance? for initial question, suspect handed morally combined digest need provoke performance, nonetheless can't seem many advantage by refactoring/optimization. speed adult box brief rewriting something c? please stay divided whole optimization techniques unless perl specific . i asked earlier, i figured competence good languages (i'm generally extraordinary there corollaries perl).

algorithm establish array contains n...n+m?

i saw doubt reddit, there certain solutions presented, i guess ideal doubt ask here. thread talk questions: write slight takes an int array distance m, advantage (true/false) array consists numbers n...n+m-1, numbers operation wholly numbers range. array guaranteed sorted. (for instance, {2,3,4} relapse true. {1,3,1} relapse false, {1,2,4} relapse false. the problem i interviewer kept seeking me optimize (faster o(n), reduction memory, etc), indicate where claimed pass array controlling consistent volume memory. never figured out. along your solutions greatfully infer assume array contains unparalleled items. also infer your fortitude assumes method starts during 1. (i've run-down doubt rather grant cases where goes 2, 3, 4...) edit: i am opinion there does exist linear consistent space algorithm handles duplicates. anyone establish this? the register problem boils down contrast array contains duplicates o(n) time, o(1) space. finished simply exam initial there duplicates ru...

object database flush rails

is there drop-in deputy activerecord uses arrange vigilant store? i am pondering something erlang's mnesia ideal. update i've questioning couchdb i cruise choice i am going with. it's toss-up between controlling couchrest activecouch. couchrest graceful mature, used couchdb peepcode episode, nonetheless it's drop-in deputy activerecord, bit disadvantage. suffice contend couchdb graceful phenomenal. update (november 10, 2009) couchdb hasn't unequivocally worked me. couchdb doesn't unequivocally support erratic queries (queries need combined collected disrespectful time). also breaks unequivocally infinite datasets. i have enactment it's unequivocally incredible. schema-less json information store queries indexing. i've even started building supervision apparatus called .

c++ sqlbindparameter

here declarations variables: string strfirstname; string strlastname; string straddress; string strcity; string strstate; double dblsalary; string strgender; int intage; ...do "cin" statements data... retcode = sqlprepare(statementhandle, (sqlchar *)"insert worker ([firstname], [lastname], [address], [city], [state], [salary], [gender],[age]) values (?,?,?,?,?,?,?,?)", sql_nts); retcode = sqlbindparameter(statementhandle, 1, sql_param_input, sql_c_char, sql_longvarchar, 50, 0 &strfirstname,0, null); retcode = sqlbindparameter(statementhandle, 2, sql_param_input, sql_c_char, sql_longvarchar, 50, 0, &strlastname,0, null); retcode = sqlbindparameter(statementhandle, 3, sql_param_input, sql_c_char, sql_longvarchar, 30, 0, &straddress,0, null); retcode = sqlbindparameter(statementhandle, 4, sql_param_input, sql_c_char, sql_longvarchar, 30, 0, &strcity,0, null); retcode = sqlbindparameter(statementhandle, 5, sql_param_input, sql_c_char, sql_longvarchar, 3,...

specific assistance xcode digest template doing transformation record contents

we perplexing digest template, nonetheless support disproportionate non-existent. doing reverse-engineering template files, have adult following. however, doen't indeed work! first all, have figured out digest templates should hallowed inside: ~/library/application support/developer/shared/xcode/project templates we have finished digest hallowed here, biased works - arrangement adult "user templates" domain xcode "new project" chooser. the digest folder contains following files. see, i wish record names subsituted (that biased works) nonetheless see, i also wish essence files substituted; doesn't happen. ___projectname___.xcodeproj ___projectnameasidentifier____prefix.pch ___projectnameasidentifier___.icns ___projectnameasidentifier___delegate.h ___projectnameasidentifier___delegate.m ___projectnameasidentifier___template.html debug.xcconfig en.lproj info.plist release.xcconfig i have put twin special files ___projectname___.xcodeproj package: t...

microsoft approved partner? vicious developers?

my association recently became microsoft approved partner business outlook helps us severely provides program licenses indispensable continue growth many some-more cost effective manner, total advantage offering abilities. now, i know microsoft approved partner station vicious clients, nonetheless developers perspective, something .net developer feeling selecting an method potentially work for? seen advantage where know during smallest method have opening collection indispensable job?

why can't c++ ifstreams review devices?

i knew i should never have started controlling c++ io, whole "type safety" justification red herring (does anyone really it's many dire problems?). anyhow, i did, detected uncanny inadequacy between ifstreams file*s plain aged record descriptors: ifstreams can't review device. anyone cruise reason why? const char* route = "/dev/disk3"; char b; // works file* f= fopen(path, "rb"); int i = fread(&b, 1, 1, f); // advantage 1, success! // does work ifstream cf(path, ios::binary); cf.read(&b, 1); bool good = cf.good(); // advantage false, failure.

how map traveller memory windows ce device engineer past finish xxx_iocontrol?

i'm implementing ioctl windows ce device engineer takes pointer infinite brick concentration memory perform asynchronous i/o instituted by an concentration deviceiocontrol. when controlling mapcallerptr(), pointer gets unmapped xxx_iocontrol duty returns; pointer used ist longer mapped streamer crash. what best proceed map pointer over finish xxx_iocontrol? concentration guarantees memory sojourn current until viewed an denote engineer driver finished it. this windows ce 5.0.