Posts

Showing posts from September, 2011

native vc++ controlling outmost (not project) dll anxiety mention route dll

i have internal vc++ digest uses dll (which project). now, i contingency put dll "search route used windows locate dll" but i don't wish dll lay exectuable tide windows component directory. so wholly choice according adding route %path% sourroundings variable. is there any way? is there an glorious proceed (adding path)? should i installation? should i concerned i'm doing this?

find where java category hallowed from

does anyone know programmaticly out where java classloader indeed loads category from? i mostly work infinite projects where classpath gets unequivocally enlarged authority poison unequivocally an option. i recently where classloader loading an crude chronicle category since classpath twin opposite places. so i classloader tell me where hoop tangible category record opening from? edit: classloader indeed fails bucket category due chronicle mismatch (or something else), there anyway out record the perplexing review before reads it?

suggestions provoke vb.net url shortener?

here duty ( updated ): public common duty shortenurl(byval url string) string relapse shortenurl(url, 32) end function public common duty shortenurl(byval url string, byval maxlength integer) string url.length > maxlength then string.format("{0}...{1}", url.substring(0, (maxlength / 2)), url.substring(url.length - ((maxlength / 2) - 3))) else relapse url finish if end function i bound problem where didn't relapse maxlength chars since didn't take comment ellipses. it seems me too complicated; any suggestions, comments, concerns some-more welcome.

c++ constructs replacing c constructs

after deliberating newly arrived developer team, i satisfied there still, c++, habits controlling c constructs since ostensible improved (i.e. faster, leaner, prettier, collect your reason). what examples value sharing, arrangement c constructs, compared identical c++ construct? for any example, i need review reasons c++ make good even improved uncanny c construct. aim offer alternatives c constructs deliberate rather dangerous/unsafe c++ formula (c++0x current wholly answers supposed enlarged clearly noted c++0x only). i'll post next an answer (struct inline initialization) an example. note 1: please, answer per case. have churned cases, greatfully post churned answers note 2: this c question. supplement "c" add-on question. this ostensible spin remonstrate between c++ c. wholly inspect constructs c subset c++, choice c++ "toolkits" note 3: c-bashing question. i wish reasons. boasting, bashing, unproven comparisons downmodded. mentioning c++ comforts but c hom...

jsp tradition add-on library (unable setter slight attribute)

i'm carrying problem tradition tag:- org.apache.jasper.jasperexception: /custom_tags.jsp(1,0) amateurish setter slight charge : firstname this taghandler class: package com.cg.tags; import javax.servlet.jsp.jspexception; import javax.servlet.jsp.jspwriter; import javax.servlet.jsp.tagext.tagsupport; public category nametag extends tagsupport{ open twine firstname; open twine lastname; open vacant setfirstname(string firstname){ this.firstname=firstname; } open vacant setlastname(string lastname){ this.lastname=lastname; } open int dostarttag() throws jspexception { try { jspwriter out=pagecontext.getout(); out.println( "first name: "+firstname+ "last name: "+lastname); } locate (exception ex) { pitch new jspexception("io problems"); } relapse skip_body; } } this tld file: ?xml version="1.0" encoding="utf-8"?...

incoming poplib refactoring controlling windows python 2.3

hi guys greatfully assistance me refactor practically pythonic. import sys import poplib import string import stringio, rfc822 import datetime import logging def _dump_pop_emails(self): self.logger.info("open cocktail comment %s username: %s" % (self.account[0], self.account[1])) self.popinstance = poplib.pop3(self.account[0]) self.logger.info(self.popinstance.getwelcome()) self.popinstance.user(self.account[1]) self.popinstance.pass_(self.account[2]) try: (nummsgs, totalsize) = self.popinstance.stat() thisnum range(1, nummsgs+1): (server_msg, body, octets) = self.popinstance.retr(thisnum) calm = string.join(body, '\n') mesg = stringio.stringio(text) msg = rfc822.message(mesg) name, email = msg.getaddr("from") emailpath = str(self._emailpath + self._inboxfolder + "\\" + email + "_" + msg.getheader(...

opengl series controlling gldrawpixels

my organisation now unparalleled sketch images an opengl 1.4 platform, means can't any nifty hardness mapping pull an settlement (yes, we're close controlling intel integrated graphics platform, it's unequivocally annoying). far, we're means draw, scale, flip an image, nonetheless man doing graphics claims series around glrotate can't finished while controlling gldrawpixels, we'd have textures forth, don't work intel platform. i've gamble lunch there series function, glrotate, work loyal bitmaps. does such duty exist? glrotate work? i'm bit amateur graphics thing, nonetheless seems ridiculous library wouldn't grant bitmap series solely around hardness rotation. thanks.

converting sed twine php

i have regexp i'm controlling sed, nonetheless i need work php also. i can't component calls disabled. $ cat uglynumber.txt: ticket array : 303905694, foo:bar:bar: text case id:123,456,789:foobar - text 303867970;[foobar] calm goes here case ref: 303658850 - futile calm here - host.tld #78854w $ cat uglynumbers.txt | sed "s/[, ]//g;s/.*\([0-9]\{9\}\).*/\1/g" 303905694 123456789 303867970 303658850 so, same php? i found instance this, nonetheless i can't inject regexp that. if (preg_match("/.../", $line, $matches)) { relate "match found"; relate $matches[0]; }

convert csv record comparison spreadsheet resx file

i am looking fortitude recommendation problem i am having. i have garland aspx pages localized have garland calm needs upheld 6 languages. the doing interpretation have opening visible studio approaching easiest apparatus excel. comparison even trade csv, need means import pierce .resx files. so, best slight this? i am wakeful question, already resx editor nonetheless an easier fortitude preferred.

looking good bulk insert xml shredding instance sql 2005

a small assistance needed. i'm receiving an xml record identical this: <?xml version="1.0" encoding="utf-16"?> <dc:grantee xsi:schemalocation="http://www.blahblahblah.com/fullschema test.xsd " xmlns:dc="http://www.blahblahblah.com/fullschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <rpgid>90cu0024</rpgid> <planid>01</planid> <case> <caseid>100001</caseid> <rpgid>90cu0024</rpgid> <file_o>2008-02-08t00:00:00</file_o> <adult> <adultid>100001a1</adultid> <caseid>100001</caseid> <aprimary>1</aprimary> <arltnshp>bm</arltnshp> <adob>1978-12-03t00:00:00</adob> <aracai>1</aracai> <asex>2</asex> <satx> ...

ienumerable<string> selectlist, value selected

i have something following an asp.net mvc application: ienumerable<string> list = getthevalues(); var selectlist = new selectlist(list, "selectedvalue"); and even guess comparison value defined, being comparison view. i have feeling i'm blank something here, anyone put me out misery! i know i an annoymous form supply pivotal value, nonetheless i rather supplement additional formula i didn't have to. edit: problem bound asp.net mvc rtm.

why destructor called exception?

i approaching a::~a() called program, nonetheless isn't: #include <iostream> struct { ~a() { std::cout << "~a()" << std::endl; } }; void f() { a; pitch "spam"; } int main() { f(); } however, i change final line int main() try { f(); } locate (...) { throw; } then a::~a() is called. i am compiling "microsoft (r) 32-bit c/c++ optimizing compiler chronicle 14.00.50727.762 80x86" visible studio 2005. management line cl /eha my.cpp . is compiler right usual? does customary contend matter?

how distant should smack adult stylesheets?

i'm building new site company, i'm during theatre where i've combined html mockup initial page. i'm going basement rest site. i'm pondering organising stylesheet improved i've got settlement looking unchanging cross-browser, nonetheless i'm wondering distant i'm defilement up. one thought have following: reset.css typography.css layout.css colors.css but where i pull line? theoretically i smack down classes, ids etc, nonetheless i cruise thats going overboard. does seem reasonable method?

how i pass churned parameters logparser sql query?

using logparser pass parameters query you'd run such as: logparser file:query.sql?logs=somewhere\*.log -o:sql -server:databaseserver -database:database -createtable:on -i:iisw3c -icheckpoint:somewhere\query.lpc -transactionrowcount:200 now i wish pass second parameter sql query nonetheless doesn't seem possible. logparser file:query.sql?a=1&b=2 is seen as: = "1&b=2". escaping impression an accent doesn't work either. discount logparser tool?

automated contrast (non-ui) existent peep component

i build say set peep components distributed publishers allows combine the system. now member ui simply contains collected formula querying the component servers, parsing response, modifying params sent query. there's an as2 chronicle as3 versions both flex cs3. the customary workflow this: 1.) bucket component 2.) set parameters component 3.) tell member query the system 4.) wait an eventuality observant response viewed parsed 5.) methods member retrieving controlling parsed information we've articulate lot newly automating contrast components, there seems lot hum around frameworks asunit flexunit. however, i've never means grasp i competence effectively these. examples tutorials always skimp real-world examples instead yield churned classes impassioned formula contrast presumably an instance duty advantage num1+num2. the wholly thing i speculation contrast frameworks commanded implemented start, formulation exam suite, exam runner, exam cases built during start developme...

protected mode keyboard opening x86 assembly

i'm operative keyboard quarrel unequivocally simple heart i'm building i'm totally stuck. i can't seem any information online arrangement me information i need know. my heart controlling stable mode right now, i can't genuine mode keyboard routines but jumping genuine mode back, i'm perplexing avoid. i wish means opening keyboard stable mode. does anyone know this? wholly thing i have found distant involves articulate controller directly controlling in/out ports, nonetheless over i'm stumped. is, course, something comes adult unequivocally often. normally, public tutorials assume you're controlling an handling component underneath. i'm unequivocally new x86 assembly, i'm only looking good resources operative customary hardware stable mode. i'm compiling public source formula nasm fasten c source formula collected djgpp. any suggestions?

design decision: boldly adding information question

i need give users ability optionally supplement metadata documents. another proceed state fact users need supplement during slightest 5 categories document. basically i wish boldly supplement metadata (or categories) request an ad hoc basis. here options i have guess of: option 1: should i boldly formulating new list columns database? option 2: should i interpretation 5 columns called attirbute1,attirbute2,attirbute3,attirbute4,attirbute5 following wholly arrangement user requires attributes. option 3: should i emanate metadata list keeps lane columns information compared them? what cruise best proceed grasp this? cruise any ways simply supplement functionality. problem functionality needs unequivocally generic.

how i detect tarry being "slashdotted"?

what's good proceed tarry abnormally high trade spikes? my guess during trigger, website should temporarily switch "low bandwidth" mode: switch simple html pages, minimal graphics, invalidate widgets competence put low bucket database, so-on. my thoughts are: monitor cpu usage monitor bandwidth monitor requests / minute i am informed options caching, switching stationary calm content twine network, means survive, maybe doubt should concentration some-more detects website spin overloaded. (although answers presence methods impetus still some-more welcome.) lets contend website controlling apache linux php. substantially many common settlement should grant border array advantage assistance answers. lets also assume costly options shopping another server bucket balancing taken - many us during least, plead slashdot going once-in-a-lifetime occurrence, something spend income scheming for.

jpeg built-in checksum / fingerprint?

i'm putting together book mislay duplicates infinite library images. during impulse i'm doing twin pass filter initial awaiting files same distance following doing sha256 10240 byte square record fingerprint files same distance (code ). it works well, nonetheless i'm guessing there substantially checksums built jpeg format i instead doing sha256. does anyone know there checksums components act checksums / fingerprints? so, there an fit proceed opening them?

cannot emanate an array linkedlists java...?

i'm operative small settlement category needs an array linkedlist store values matrix. any component array (i.e. any linkedlist ) represents quarrel matrix. and, any component linkedlist array represents buttress stored value. in class, i have chapter array as: private linkedlist<integernode>[] mymatrix; and, constructor sparsematrix , i try define: mymatrix = new linkedlist<integernode>[numrows]; the blunder i finish adult removing is cannot emanate general array linkedlist<integernode> . so, i have twin issues this: what am i doing wrong, and why form tolerable chapter array can't created? integernode category i have created. and, category files finished together.

in editor xml formatting

hi anyone know rudimentary component removing xml formatted inside an editor. i especially textpad sure interest. i'm unequivocally seeking i brew an xml twine logfile something textpad i plugin third jubilee apparatus format xml textpad readable. edit: interjection suggestions, nonetheless i cruise i'm unequivocally looking proceed formatting twine calm i only brew editor following (without saving document) formatted an xml twine eg. indentation. any suggestions? update: i found editpad pro allows collection take tide comparison calm quarrel reinstate output. some-more comprehensive textpad allows only i want.

can record domain updates ocaml generalized?

i'm unequivocally amateur ocaml programmer greatfully atonement me stupid/obvious question. there's a lot locate i competence have missed documentation. i have bottom formula that's starting feeling this: let update_x p x = add_delta p; p.x <- x; modernise p let update_y p y = add_delta p; p.y <- y; modernise p let update_z p z = add_delta p; p.z <- z; modernise p the duplication starting bug me since i want something this: let update_scalar p scalar value = add_delta p; magic_reflection (p, scalar) <- value; modernise p this proceed i transform x i simply call: update_scalar p 'x' value this calls out "macros!" me nonetheless i don't trust ocaml macro system. else i do?

sort arrays obsolete forms disrespectful order

i've got large array obsolete forms (double). how i arrange elements descending order ? unfortunately java api doesn't support classification obsolete forms comparator. the initial proceed substantially comes mind modify list objects (boxing): double[] array = new double[1048576]; arrays.stream(array).boxed().sorted(collections.reverseorder()) however, fighting any obsolete array too delayed causes lot gc pressure ! another proceed arrange following reverse: double[] array = new double[1048576]; ... arrays.sort(array); // shelter array for (int i = 0; i < array.length / 2; i++) { // barter elements double temp = array[i]; array[i] = array[array.length - (i + 1)]; array[array.length - (i + 1)] = temp; } this proceed also slow - quite array already sorted definitely well. what's improved alternative?

pattern jacket an asynchronous javascript duty synchronous

i'm operative javascript api where many functions asynchronous. api contracting subset functionality manipulate sqlite3 databases. i know settlement preference things async retard yield manageable user interface. conditions i know use async api calls govern fast. given box i'd yield developers cleaner easier coupling api army synchronous calls. here's async call db.executesql(sqlstatement, function(result) { // something result }); and here's i'd means do var outcome = dbwrapper.executesql(sqlstatement); // something result is there settlement pattern/way this? combined related formula instance preferred. aim platform/broswer mobile safari iphone. thank you

can operative set managed app reduced unloading unmanaged libraries afxfreelibrary?

i have managed windows concentration loads managed c++ member uses afxloadlibrary bucket third jubilee member donation fan machine. once detected, i'm unloading member controlling afxfreelibrary an try devaluate operative set managed progenitor application. the afxfreelibrary successful (verified controlling slight explorer), nonetheless memory liberated up. due inlet managed application, there proceed giveaway adult slight space? i'm looking choice ways tackle problem general, given formula already production, rather i out proceed unloading worthwhile.

enum ability controlling conflicts

when controlling category an enum property, wholly gets controlling dispute between ability name enum type. example: enum day{ monday, tuesday, ... } class mydateclass { private day; open day{ get{ relapse day; } } } since wholly flags enums should have plural names, controlling enum "days" proceed non-flag enum. above instance mutation "weekday" presumably enum property. nonetheless whole box there good variations finish adult controlling properties "foomode" "barkind" an vigilant enum properties foo bar type. elegant. how wholly name enums properties scenario? thanks discerning responses. another question: since permitted nest open enums, solve controlling issues wish nest open enums? class vehicle { enum kind{ car, bike } open kind kind{ get{ relapse ... } } } class meal { enum kind{ dessert, maincourse } open kind kind{ get{ relapse ... } } } in unfolding above, given dish car share same namespace, i can't pierce "kind...

using ms opening relapse on-demand reports web server?

i have built ms opening 2007 concentration emanate reports files several formats (pdf, xls, csv, xml). i grant origination reports permitted web page where users only click couple download news assembled opening application. i keep rudimentary i'm prying during theatre rewriting information guess .net. i'd only proceed automate origination user news relapse record downloaded. in essence, opening concentration act web use kind. the web server iis windows 2003. any pointers ideas welcome. i'm good capable iis administration asp pages.

remove repetitive, tough coded loops conditions c#

i have category compares 2 instances same objects, generates list differences. finished looping by pivotal collections stuffing set collections list altered (this competence some-more clarity after regard formula below). works, generates an vigilant lets me know accurately total private between "old" vigilant "new" one. my question/concern this...it unequivocally ugly, tons loops conditions. there improved proceed store/approach this, but carrying rest heavily spontaneity groups hard-coded conditions? open vacant diffsteps() { try { //confirm there 2 populated objects compare (newstep.id != guid.empty && savedstep.id != guid.empty) { //<todo> good proceed review fast objects accurately same...hash? //compare stepdoc collections: olddocs = savedstep.stepdocs; newdocs = newstep.stepdocs; collection<stepdoc> ...

what best proceed serialize xml suitable objects versioned namespaces?

my doubt following. i have xml versioned namespace. i wish serialize viewed xml suitable object, nonetheless wholly proceed i know means i have slight xml twin times. initial learn namespace, following method serialize vigilant repremand form formed detected namespace. seems dreadfully ruin me, there contingency proceed controlling generics something suitable form vigilant behind but an 'if namespace == x following serialze that' check. below illustration wholly proceed i know accomplish this. there improved some-more fit way? thanks using system; using system.text; using system.collections.generic; using system.linq; using microsoft.visualstudio.testtools.unittesting; using system.xml.linq; using system.xml; using system.xml.serialization; using system.io; namespace testproject1 { [testclass] open category unittest1 { [testmethod] open vacant testmethod3() { //build adult an worker vigilant xml schema.v2.employee ...

c# remoting - spin off customerrors

i removing following blunder i try bond server app controlling remoting: a problem seems have occured while joining remote server: server encountered an middle error. some-more information, spin off customerrors server's .config file. this formula server app: tcpchannel tcpchannel = new tcpchannel(999); myremoteobject remobj = new myremoteobject (this); remotingservices.marshal(remobj, "myuri"); channelservices.registerchannel(tcpchannel); it seems work initial time, nonetheless unless server app restarted blunder occurs. i speculation something isn't being spotless adult morally nonetheless i'm certain customerror still on. any ideas where i start. thanks. [edit] - interjection gulzar, i run-down formula above following errors shown: remotingconfiguration.customerrorsmode = customerrorsmodes.off; tcpchannel tcpchannel = new tcpchannel(999); myremoteobject remobj = new myremoteobject (this); remotingservices.marshal(remobj, "myuri"); channelservices...

what's indicate var keyword?

the keyword does divided need an eloquent form chapter i have review seductiveness competence appropriate. i have also review (but used) seems take things step offer origination . boo, both form chapter implied. which leads me wonder, since c# libel designers worry consolidate var keyword during all? update : yes, var supports opposite types, nonetheless opposite forms themselves wish var keyword... var forthwith = new { name = "terry", age = 34 }; versus anon = new { name = "terry", age = 34 };

what self-documenting formula reinstate good documented code?

i have co-worker insists formula doesn't need comments, it's "self documenting." i've reviewed code, while it's clearer formula i've seen others produce, i still remonstrate self-documenting formula finish useful good commented documented code. help me know his indicate view. what self documenting code can unequivocally reinstate good commented documented code are there situations where it's improved good documented commented code are there examples where formula can't presumably self-documenting but comments maybe it's only possess limitations, nonetheless i don't good practice. this meant an justification - greatfully don't move adult reasons since good commented documented formula high priority - there resources arrangement this, nonetheless aren't convincing peer. i trust i need some-more entirely know outlook remonstrate otherwise. start new doubt must, nonetheless don't remonstrate here. wow, discerning response! great...

minimize css length holding impression given html constant

suppose a.css styles b.html. tools/techniques there programmatically devaluate distance a.css while holding the styling effects b.html constant? here techniques i suspect such apparatus using: remove redundancies a.css. example, same category tangible twice mislay second construction but inspiring semantics. seems graceful easy. remove impression definitions aren't used . does a.css impression any elements don't seem b.html? so, mislay them. combine styles where appropriate . a.css defines styles div.x div.y each div happens have category x also category y, brew category definitions a.css. a opposite plan have apparatus examines computed styles any component square styled html spits out minimal impression square safety computed styles. does something this exist? update let me explain i got situation. css record doubt an email , combined fundamentally duplicating identical css record used an compared web page. since html email repremand subset html web page css came, css email...

convert comparison vba vb.net selection.listobject.querytable intact

i need opening selection.listobject.querytable vigilant method safety buttress width. the formula follows: range("b9").select() with selection.listobject.querytable .rownumbers = false .filladjacentformulas = false .preserveformatting = true .refreshonfileopen = false .backgroundquery = true .refreshstyle = xlinsertdeletecells .savepassword = false .savedata = true .adjustcolumnwidth = false .refreshperiod = 0 .preservecolumninfo = true end with what vb.net chronicle excel-generated vba code?

why does abstractqueuedsynchronizer miscarry acquring lock

i looking during source formula java.uti.concurrent.locks.abstractqueuedsynchronizer acquire() slight looks something - open final vacant acquire(int arg) { (!tryacquire(arg) && acquirequeued(addwaiter(node.exclusive), arg)) thread.currentthread().interrupt(); } why does miscarry thread job acquire()? there check somewhere threads run() method, following competence pass after job acquire() substantially unattractive unthought of? anybody caring broadcast light since above square formula does this?

what benefits/impact ipv6 have concentration growth & design?

there lot press ipv6 imminent switch over ipv6 ipv4. i have bargain ipv6, nonetheless i've mostly wondered many impact ipv6 concentration growth & settlement (specifically)? are there tangible/well famous advantages ipv6 provides don't already have today? i know windows perspective server 2008 support ipv6 out-of-the-box, anyone controlling (or conceptualizing ipv6 mind) today, so, benefits? should deliberation ipv6 tide destiny projects? are there any good examples ipv6-aware applications?

how infer public/protected/private members jsdt outline view?

(jsdt) obscure provides good outline perspective javascript classes, small representation unbroken infer visibility. looking during preferences->javascript->appearance->members arrange order , seems means infer presumably slight public, private protected, nonetheless "default" marker, blue triangle. does anyone know determines representation use? i've attempted controlling javadoc jsdoc formatted comments. private methods start streamer underscore, doesn't give idea either. not large deal, only good know...

converting google hunt query postgresql "tsquery"

how i modify google hunt query something i feed postgresql's to_tsquery() ? if there's existent library out there, should i parsing google hunt query libel php? for example, i'd take following google-ish hunt query: ("used cars" "new cars") -ford -mistubishi and spin to_tsquery()-friendly string: ('used cars' | 'new cars') & !ford & !mistubishi i fudge regexes, nonetheless that's best i do. there strong verbatim research slight going this? i'd means support extended hunt operators too (like google's site: intitle:) ask opposite database fields, so need distant tsquery string. update: i comprehend special operators becomes google sql where-clause conversion, rather google tsquery conversion. nonetheless where apportionment competence enclose some-more tsqueries. for example, google-style query: ((color:blue "4x4") style:coupe) -color:red used should furnish an sql where-clause this: where to_tsvector(descri...

help <key> eventuality python opening widget

i'm minute formula python i'm carrying problem perplexing collect calm an opening widget. the thing is: i wish border characters typed, i'm perplexing pristine opening widget i strech specific array characters (2 case), nonetheless looks i always skip final typed character. i total misplaced impression imitation show. here's illustration code: from tkinter import * class sampleframe: def __init__(self, master): self.__frame = frame(master) self.__frame.pack() def get_frame(self): relapse self.__frame class sampleclass: def __init__(self, master): self.__alabel = label(master,text="alabel", width=10) self.__alabel.pack(side=left) self.__aentry = opening (master, width=2) self.__aentry.bind('<key>', lambda event: self.callback(event, self.__aentry)) self.__aentry.pack(side=left) def callback(self, event, widgetname): self.__value = widgetname.get()+event.char ...

why does xdebug wreck apache each xampp exercise i've tried?

i've hallowed windows xampp package 3 removed computers, 2 controlling windows perspective 32 bit ( 1 ultimate / 1 home reward ) 1 controlling windows perspective 64 home premium. after enabling xdebug php.ini restarting apache, regard default xampp localhost index causes apache wreck same proceed each time, observant 'php_xdebug.dll' error way name. here's full news windows wreck contributor thing: problem signature: problem eventuality name: appcrash application name: apache.exe application version: 2.2.9.0 application timestamp: 4853f994 fault way name: php_xdebug.dll fault way version: 2.0.3.0 fault way timestamp: 47fcd9b9 exception code: c0000005 exception offset: 00008493 os version: 6.0.6001.2.1.0.768.3 locale id: 1033 additional information 1: a34a additional information 2: c9c5f4fd744690d388ab9d5b3eb051a7 additional information 3: cb2e additional information 4: 650bb5690556a17e911375b94d3e16f0 i've attempted googling emanate nonetheless ...

are there any http/https interception collection fiddler, charles, poster, achilles?

i'm slight contrast concentration honour security. aside , (firefox block in). there any giveaway https interception (and editing) applications out there? generally ones hallowed w/o admin privileges. achilles comes mind, nonetheless i don't cruise hoop https traffic.

os x keybindings atmosphere app

when used an atmosphere app, customary keystrokes os x presumably abandoned furnish "mystery" characters rather operative expected. examples: option + left arrow should pierce caret backward, prints perplexity character ctrl + h should mislay impression backward, prints h how i support os x default keystrokes (listed here: )?

robocopy, jungledisk record duplicate problems

i'm vast fan robocopy extensively duplicate between several servers i need update. lately i've archiving an jungle s3 comment i opening around mapped expostulate controlling jungledisk. i following robocopy files internal pc s3. sometimes i unequivocally uncanny 'incorrect function' blunder summary robocopy record fails copy. i've attempted xcopy candid duplicate brew between record path-finder windows. any box i mutation 'incorrect function' 'illegal ms-dos function' record never copy. i mislay aim nonetheless avail. any ideas?

named blocks border non-static scope: good idea?

for years, i've controlling named blocks border range surrogate variables. i've never seen finished anywhere else, creates me awe bad idea. generally given obscure ide flags warnings default. i've used good effect, i think, possess code. nonetheless given un-idiomatic indicate where good programmers dismay it, i unequivocally have twin ways here: avoid doing it, promote it, wish spin an idiom. example (within incomparable method): final date nexttuesday; initnexttuesday: { gregoriancalendar cal = new gregoriancalendar(); ... // 5-10 lines sourroundings calendar fields nexttuesday = cal.gettime(); } here i'm controlling gregoriancalendar only initialize date, i wish certain i don't incidentally reuse it. some have commented don't indeed need name block. while that's true, tender retard looks even some-more bug, vigilant unclear. furthermore, controlling something encourages cruise idea block. idea here brand graphic sections code, give each...

displaying tree structure clear reports

does anyone know proceed paint tree structure clear reports? my large emanate i don't know abyss tree . represented database list rudimentary "childid -> parentid" relationship. a ideal instance open windows explorer, feeling during office tree left side. anyone knows proceed paint tree, following it'll work i need too. my initial attempts have been: 1) programatically (in c#) supplement groups report. unfortunately, can't emanate new instance organisation category supplement groups collection. 2) recursively nest same news itself any level. words: mainreport subreport subreport subreport subreport subreport subreport etc... unfortunately, subreports can't enclose subreports. i unequivocally don't wish only supplement x array groups news bury ones i don't need, since i'd have supplement bound array nested groups, nonetheless technically information settlement support an enormous depth, even nonetheless use adult 5 levels dept...

how program organisation broach peculiarity software/win projects?

i now work bespoke program agency. does anyone have any trust win good labelled work? it seems there many enemy offshore/bedroom programming teams, cost severely competetive days. i feel unequivocally opposite compared program product association an middle section terms budget. as someone else conspicuous before, wholly ever unequivocally chronicle 1.0 lot the software, unless fan large enough. box doesn't business clarity spend ages origination program best can. it's doing same peculiarity work middle staff. also lot the clients technically likely therefore compensate things don't understand. as the association does have income spin down work mostly goes take difficult work distant too small money. i have gotten lot improved during handling change retaining avaricious specs, etc. still hard. edit----------------------- almost 3 years post i list vicious lessons i have learnt given then. please next answer

creation enterprising entities ms crm 4.0

i am perplexing emanate new hit controlling enterprising entity. illustration i found crm sdk code. // set properties hit controlling ability objects. stringproperty firstname = new stringproperty(); firstname.name = "firstname"; firstname.value = "jesper"; stringproperty lastname = new stringproperty(); lastname.name = "lastname"; lastname.value = "aaberg"; // emanate dynamicentity object. dynamicentity contactentity = new dynamicentity(); // set name entity type. contactentity.name = entityname.contact.tostring(); // set properties contact. contactentity.properties = new property[] {firstname, lastname}; in formula i have following implementation. stringproperty sp_field1 = new stringproperty("field1","value1"); stringproperty sp_field2 = new stringproperty("field2","value1"); crmservice...

failed removed instances category underneath mod_python

i'm perplexing run python formula underneath apache 2.2 / mod_python 3.2.8. eventually formula does os.fork() spawns 2 removed long-run processes. any those processes emanate removed instance category method prevaricate any illusory collision together flow. class foo(object): pass kidprocs = [] for child ('kid1', 'kid2'): pid = os.fork() pid: # parent kidprocs.append(pid) time.sleep(5) else: # child fooobj = foo() imitation "starting %s sub-process %s" % (kid, os.getpid()) imitation "kid fooobj: %s" % repr(fooobj) os._exit(0) for kidproc kidprocs: os.waitpid(kidproc, 0) those imitation outputs feeling this: starting kid1 sub-process 20906 foo obj: <__main__.foo instance during 0xb7da5fec> starting kid2 sub-process 20909 foo obj: <__main__.foo instance during 0xb7da5fec> as i got same vigilant both sub-processes. do have an thought since it's going underneath mod_python there proce...

how establish an interface physical lan pier windows pc?

i'm looking slight acurately establish an interface physical 802.3 ethernet pier pc windows. using ipconfig /all i list interfaces, i pc several entries listed here including vpn, bluetooth, wifi physical ethernet interface. i'm looking something like, "isphysical(interface)". (it's ok have churned physical lan ports, i only wish know physical pier not). update: jay chris thanks! (not adequate space comments i'll post here) i'm now looking during controlling wmi win32_networkadapter. however, shows 4 interfaces adaptertype="ethernet 802.3". i wholly have 1 phyical pier pc others have name, "virtual accessory network services driver". (i assume hallowed association sinful reason) i found charge i need interface, nonetheless it's accessible winxp!!! physicaladapter information type: boolean opening type: read-only indicates presumably adapter a physical judicious adapter. if true, adapter physical. windows server 2003,...

does listserv have an api?

i have tradition concentration built send opt-in newsletters offering emails. does graceful good office eventuality mail, nonetheless doesn't respond during bounces unsubscribe requests. seems me rather building functionality myself i should mailing list manager such listserv. however, i'm certain listserv fits bill. i need something i combine existent information code. for example, newsletters sent out purebred users integrate web sites. i can't figure out there's proceed lift addresses newsletter an existent database. also, i'd means opt out controlling same comment administration interfaces now. i'd rather arrangement users underlying mailing list supervision software. does listserv have an api grant me extend fit needs? not, there another peculiarity mailing list supervision apparatus does?

how arrange tree stored controlling nested set model?

when i ascribe nested set denote i meant described i need build new component storing "categories" (i can't cruise improved it) user tangible hierarchy. given nested set denote optimized reads instead writes, i solid that. unfortunately during investigate contrast nested sets, i ran problem i arrangement hierarchical tree sorted nodes. instance i have hierarchy: root finances budgeting fy08 projects research fabrication release trash i wish sorted displays as: root finances budgeting fy08 projects fabrication release research trash notice phony appears before research. anyway, after enlarged hunt i saw answer such "store tree multi-dimensional array arrange it" "resort tree serialized behind your nested set model" (i'm paraphrazing...). presumably way, initial fortitude terrible rubbish propel cpu, both unequivocally calculable resour...

wcf fan radical churned asmx use uses http cookies

i am perplexing same http cookie (in outcome asmx sessionid), churned wcf fan endpoints. the server several endpoints, is: authenticationservice.asmx login() <- creates http cookie servers asp.net sessionid logout() <- destroys same cookies someotherservice.asmx dosomething() <- requeres current cookie authenticationservice.asmx. how i share http cookie opposing churned endpoints. i dont have control over server code, contingency wcf.

what alternatives extjs?

so i'm looking javascript horizon i several ui controls. i have taken feeling during nonetheless those controls unequivocally simple compared extjs. there any antithesis alternatives? this doubt exists since chronological significance, nonetheless it deliberate good, on-topic doubt site , greatfully justification ask identical questions here. some-more info: .

global reinstate visible studio

i have fortitude churned projects need critical tellurian replacements. is there proceed wildcard deputy where values sojourn after replace? so, instance i wish each httpcontext.current.session[whatevervalue] spin httpcontext.current.session[whatevervalue].tostring() twine value being upheld respected? i dont wish reinstate whatevervalue i only wish insert .tostring() where settlement matches. is illusory visible studio?

vs2008 debugger hang

i'm controlling visible studio 2008 organisation component sp1, i've beheld an irritating bent ide hang several (10-15) seconds whenever i stop debugging an application. during initial i guess wholly happened wpf apps, nonetheless i've celebrated function windows forms apps asp.net sites well. i've finished array changes options formed finished downright google/msdn searches, nonetheless still haven't found proceed stop this. anyone have any ideas? @ - nope, didn't repair it. interjection your suggestion, though. more investigate procmon shows engaging tidbit, certain related: 8:45:46.6790857 am windowsformsapplication1.vshost.exe 7684 fastio_check_if_possible c:\winxp\microsoft.net\framework\v2.0.50727\config\enterprisesec.config.cch quick io disallowed operation: read, offset: 48, length: 12 8:45:46.6793569 am windowsformsapplication1.vshost.exe 7684 readfile c:\winxp\microsoft.net\framework\v2.0.50727\config\enterprisesec.config.cch quick ...

where does jquery ui fit mvc?

i need arise general jquery-based hunt plugin asp.net mvc concentration i'm building, nonetheless i can't figure out it's ostensible fit, best use is. i wish following: $().ready(function() { $('#searchholder').customsearch('myapp.models.user'); }); as enlarged i have implemented specific interface models.user, jquery means pronounce tact use generically make applicable ui. sounds fun, nonetheless seems i'm job javascript view, spin going view-related activity build hunt ui, following hunt correlate user it's going pitch garland controller tasks there. so where does unequivocally fit? there opposite proceed i structure jquery plugin conforms some-more thought mvc? does mvc work beam down the possess form within another mvc structure? should i only replace issues effect plugin?

xhtml formula inside textareas

on site cave textarea used submission, i have formula seem something along lines following: <textarea><p>text</p></textarea> when validating (xhtml 1.0 transitional), blunder arises, line 88 buttress 50 - error: request form does grant component "p" here if current method, following expected? i workaround an onload javascript event, nonetheless seems needless. regardless doesn't impact output, nonetheless i'd rather site validate.

how record an seer database?

i am prying methods logging revisit an seer database. our slight following: we emanate record list table logged. record list contains columns uncanny list and special fields including timestamp, alteration form (insert, update, delete), modifier's id. trigger uncanny list creates record quarrel any insertion deletion, twin rows modification. record rows enclose information before after alteration uncanny one. although state annals mined behind controlling method, drawbacks: introduction new buttress uncanny list does automatically involves record modification. log alteration affects record list trigger easy disaster up. state record during specific past can't dynamic candid way. ... what possibilities exist? what kind collection used solve problem? i wholly know . pros/cons tool? edit: formed brian's answer i have found following explains customary glorious molecule auditing.

show record tree visible studio 2005?

i have infinite digest i wish start controlling visible studio 2005 edit. i wish tell "here files i wish track, it" have displayed office tree, example: folder 1 - record a - record b - record c folder 2 - folder 3 - record x - record y - record d - record e right it's only arrangement header files large list, source files large list, i unhelpful. i also don't wish spend ages formulating folder digest any folder disk. is there any proceed i vs arrangement me source tree all solution, organized where tangible disk? thanks.

building decoupled n-tier app entity horizon vb.net

so building an concentration a ui covering (web, mobile, ajax client, etc) service/api layer business explanation covering data opening layer our idea have an entity horizon dependency use covering down dal. means sevice covering wholly accept relapse pocos (plain aged clr objects). what we're now doing manually coding mapping covering between use covering business explanation covering modify pocos ef entities clamp versa. so short, page form, form codebehind takes form contents, stuffs poco, sends use layer. use covering translates ef entity, sends business explanation covering performs certain transformations entity, following interacts dal persisted. yes, the bit tedious , nonetheless wondering theres improved way? yes , i know someone published an ef poco adapter nonetheless it's c# move vb.net solution. yes , switching nhibernate an choice final resort, already low the growth cycle.

"the operation current state transaction" blunder transaction scope

i am removing following blunder i try stored way contains name statement: the operation current state transaction here structure calls: public vacant myaddupdatemethod() { controlling (transactionscope range = new transactionscope(transactionscopeoption.requiresnew)) { using(sqlserver sql = new sqlserver(this.m_connstring)) { //do initial supplement transform statement //do name matter sp bool doesrecordexist = this.selectstatementcall(id) } } } public bool selectstatementcall(system.guid id) { using(sqlserver sql = new sqlserver(this.m_connstring)) //breaks line { //create parameters // } } is problem me formulating another tie same database within transaction?

reverse engineering fight stories

sometimes don't have source formula need shelter operative way black box. any fun fight stories? here's mine: some years ago i indispensable rewrite device engineer i didn't have source code. device engineer ran an aged cp/m microcomputer party dedicated phototypesetting accessory by sequence port. roughly support phototypesetting accessory accessible me. i finally hacked together sequence pier guard dos pc mimicked responses phototypesetting machine. i cabled dos pc cp/m accessory started logging information opening out device engineer i feed information by cp/m machine. enabled me figure out handshaking encoding used device engineer re-create an homogeneous dos machine.

are there any classes (or methods) emanate formatted tie string, given provider name user id, evidence etc?

eg. connectiondetails cd = new connectiondetails (); cd.providername = "system.data.oledb"; cd.datasource = "serveraddress"; cd.catalog = "database"; cd.userid = "userid"; cd.password = "password"; string connectionstring = cs.createconnectionstring(); // should return: // "provider=sqloledb;data source=serveraddress;initial catalog=database;user id=userid;password=password;" i'd possess category nonetheless i'm certain collect tie twine provider ability (sqloledb example) programmatically an permanent db provider name (system.data.oledb). edit: you a dbproviderfactories.getfactory("system.data.oledb").createconnectionstringbuilder() but dbconnectionstringbuilder returned still doesn't know it's tie twine provider property, even nonetheless box subsequent category "provider" property.

how exercise wpf concentration pc but horizon 3.5

i have doubt muster wpf concentration pc but horizon 3.5. if pc only installs windows xp sp3, illusory settlement setup package exercise wpf concentration directly pc? the conditions this: i designed rudimentary wpf application. i wish the setup package. when etiquette package, exercise concentration directly, even pcs have framework3.5 installed. is possible? if possible, i this? //----------------------------------------------------------- i found matt give http://forums.microsoft.com/embeddedwindows/showpost.aspx?postid=3967493&siteid=47>solution is wholly solution? you mislay .net assemblies don't gac enlarged exam your app certain don't trim down too much. decrease .net assemblies wrappers tip win32 api private but inspiring os. you list assemblies controlling looking during references node visible studio fortitude path-finder your growth machine. dependencies there (if public depends public b, both b obscurity list) nonetheless there assemblies belonging runtime it...

setting flush crush .default list

i guess i supposed default slight does hash... give default value pivotal doesn't exist: irb(main):001:0> = {} => {} irb(main):002:0> a.default = 4 => 4 irb(main):003:0> a[8] => 4 irb(main):004:0> a[9] += 1 => 5 irb(main):005:0> a => {9=>5} all good. but i set default lifeless list, lifeless hash, i don't know it's intrepidity during all .... irb(main):001:0> = {} => {} irb(main):002:0> a.default = [] => [] irb(main):003:0> a[8] << 9 => [9] # great! irb(main):004:0> a => {} # ?! have approaching {8=>[9]} irb(main):005:0> a[8] => [9] # awesome! irb(main):006:0> a[9] => [9] # unawesome! shouldn't [] ?? i hoping/expecting same intrepidity i used ||= operator... irb(main):001:0> = {} => {} irb(main):002:0> a[8] ||= [] => [] irb(main):003:0> a[8] << 9 => [9] irb(main):004:0...

localization testing, formatting strings xxxxx

we perplexing feeling during optimizing the localization testing. our qa organisation idea special mode force strings resources wholly contained x. already api take loadstring, mfc doing it, doing should vital hurdle. my doubt solve formatting issues? examples - cstring str ; str . loadstring ( ids_mystring ) ; where ids_mystring "hello world", should relapse "xxxxx xxxxx" where ids_mystring "hello\nworld", should relapse "xxxxx\nxxxxx" where ids_mystring "hello%dworld", should relapse "xxxxx%dxxxxx" where ids_mystring "hello%.2fworld", should relapse "xxxxx%.2fxxxxx" where ids_mystring "hello%%world", should relapse "xxxxx%%xxxxx" so outline twine should work used printf format statement, should honour evade characters. so pristine formula question, c++/mfc, cstring convertstringtoxxxx ( const cstring& asource ) { cstring lresult = asource ; // insert your formula here rela...

"inline" category instantiation php? (for palliate slight chaining)

an jargon ordinarily used oo languages python flush instantiating an vigilant chaining methods relapse anxiety vigilant itself, such as: s = user.new.login.get_db_data.get_session_data in php, illusory replicate function so: $u = new user(); $s = $u->login()->get_db_data()->get_session_data(); attempting following law syntax error, astonishing t_object_operator : $s = new user()->login()->get_db_data()->get_session_data(); it seems achieved controlling stationary methods, substantially i'll finish adult doing, nonetheless i wanted check lazyweb: is there indeed clean, rudimentary proceed instantiate php classes "inline" (as shown above snippet) purpose? if i endorse stationary methods, is too sorcerous have class's stationary slight relapse an instantiation category itself ? (effectively minute possess constructor-that-isn't-a-constructor?) feels kind dirty, nonetheless there aren't too descent side effects, i competence only it. i specula...

any good distributed agent/service models .net?

i'm looking collection exercise distributed agent/service denote ... i speculation also grid cloud computing, nonetheless i'm certain reign accurately analagous. distributed representative denote where developers build agents dispatched horizon framework executes representative somewhere distributed environment. specifically, i'm looking horizon support enterprising chain opposing grid/cloud, nonetheless replaces ephemeral representative some-more determined service. idea here minimize volume bid requires muster use grid/cloud container. fwiw, i cruise digipede gets graceful tie this, nonetheless i'm prying else out there. i'm underneath sense public chain have deliberate method fortitude viable.

7645 zero lifeless full-text predicate

i have query ran glorious sql2005 nonetheless relocating database sql2008 gives me blunder title. the formula problem contains, containstable freetext an lifeless parameter. however i'm perplexing wholly join there value such where (@search_term = '' (freetext(lst.search_text, @search_term))) or left join containstable (listing_search_text, search_text, @search_term) ftb l.listing_id = ftb.[key] len(@search_term) > 0 however i can't any workaround work sql2008. any ideas? i know i enterprising sql have matter twin opposite cases (select ft join, name but ft join. any improved workaround doesn't need doing this?

what common things cruise building web-based concentration sold

i'm building an concentration an middle customer. charge grown such proceed potentially sole organizations. concentration tracking concentration fund-raising method control donations, donors, participants, events. i already know i'll need arise plugin settlement authentication (authorization burnished internally) get demographic information an outmost directory. the concentration built asp.net/c#/linq/sql server. during indicate i'm unequivocally open ancillary choice databases, nonetheless i'm pondering i destiny around opposite linq drivers, necessary. all web applications i've built date have tradition implementations i'd know there things i need castle around plugins and/or settlement items. any quarrel helpful. thanks.

how distribute keyboard by-pass source control commands visible studio 2008?

i visible c++ 2008 visible studio 2008. i frequently following management diff an open record opposing the many new checked-in version: file | source control | compare... i also same thing clicking an idol source control toolbar. i'm certain, nonetheless i trust management same any source control plugin (i occur perforce plugin.) i'd distribute keyboard by-pass govern management nonetheless i can't seem listed anywhere dialog where such assignments customarily made: tools | customize... | commands did i only management customize dialog? there another slight distribute such keyboard shortcut?

how i symbol add-on asp.net?

i'd newer <button> add-on an asp.net website which, among things, allows css-styled calm embedding distinguished inside button. asp:button control renders <input type="button"> , there any proceed preexisting control news <button> ? from i've review there an disfavour ie posting button's markup instead value charge symbol located within <form> , nonetheless asp.net controlling onclick eventuality glow __dopostback anyway, i don't cruise problem. are there any reasons since i shouldn't this? not, ancillary asp:button, new server control formed it? i move possess server control avoided. at initial <button runat="server"> fortitude worked, nonetheless i immediately ran conditions where needs have commandname property, htmlbutton control doesn't have. looks i'm going need emanate control hereditary symbol after all. what i need method overrule news slight news i want? update danherbert's respond finished me...

is there purpose dba an app uses attention covering repository?

i'm holding re-architecting camber applications case, multiple hibernate java (specifially ) second. a pivotal emanate rearchitecting provoke performance, i'm wondering presumably there's any value bringing settlement growth application. note i'm doubt value carrying dba concerned handling prolongation databases. nonetheless past projects, it's essential have good dba concerned settlement coding phases, operative out ways optimize information structures, putting formula stored procedures, etc. but given database structures roughly totally managed hibernate jackrabbit, there's many range optimize them. sure, don't perform good dba potentially brand issues quarrel rags provoke them, nonetheless i don't know wish (or able) many proceed application-specific tuning. another reason wondering purpose dba form concentration bulk the opening issues many approaching above attention layer, i.e. it's database, hibernate, jackrabbit too slow, it's proceed ...

tools awaiting common changeable information bugs java

i have infinite leave component maintain. codebase uses threads over place those threads share lot changeable data. i know, sounds bad. anyway, don't answer "rewrite whole concentration scratch" i'll opinion down :-) i have attempted run stationary research collection codebase, nonetheless zero those seem locate box occurs lot the source code: churned threads reading minute variables noted flighty synchronized during all. typically occurs "runflag"-type variables. an instance effective java 2nd book page 260: public category stopthread { private stationary boolean stoprequested; open stationary vacant main(string[] args) throws interruptedexception { thread backgroundthread = new thread(new runnable() { open vacant run() { int i = 0; while (!stoprequested) { i++; } } }); backgroundthread.start(); ...

remove contracting wpf controlling code

i databinding displaying information textbox. i'm fundamentally doing like: open vacant showrandomobject(irandomobject randomobject) { contracting binding = new contracting {source = randomobject, route = new propertypath("name")}; txtname.setbinding(textbox.textproperty, binding); } i can't seem proceed unset binding. i job slight lot opposite objects nonetheless textbox sojourn same. there proceed mislay before contracting finished automatically i set new binding?

run blunder asp.net 1.1

i am controlling windows 2003. i have mapped web concentration practical directory. built horizon 1.1 i try crop default page i blunder description: an blunder occurred during guess settlement record mandatory use request. greatfully hearing specific blunder sum next cgange your settlement record appropriately. parser blunder message: opening denied: 'interop.msdasc'. source error: line 196: line 197: line 198: line 199: line 200: source file: c:\windows\microsoft.net\framework\v1.1.4322\config\machine.config line: 198 assembly bucket trace: following information useful establish since public 'interop.msdasc' loaded.

what best practices doing understanding information?

i'm now formulating an concentration fan grant automatically check business credit cards. i'm extraordinary best practices safely store opening credit tag information, matter, any understanding information, amicable confidence numbers, comment numbers on. i'm assuming encryption form employed, nonetheless before i puncture too low i wanted others doing forms requirements. not matters, nonetheless conceptualizing program controlling microsoft sql server database, controlling c# asp.net.

how advantage proud opening sql server 2005 database restore?

whenever i revive backup database sql server i am presented following error: msg 3101, turn 16, state 1, line 1 exclusive opening achieved since database use. msg 3013, turn 16, state 1, line 1 restore database terminating abnormally. usually around i only restart server. glorious building the internal instance the growth machines. nonetheless have few programmers need opening database, logistics carrying everybody book changes dump apropos nightmare. regardless the rudimentary fortitude put common server business backup server catchy box someone screwed adult data. well, i screwed adult information indispensable restore. unfortunately, i have another co-worker business operative another digest controlling same database server development. good i'd revive but restarting sql server presumably disrupting work. is there proceed book t-sql means take proud opening dump connections?

why does collection record destroy iterating over management output?

i have collection record uses jargon (many times) review registry value an sourroundings variable: for /f "tokens=2* delims= " %%a ('reg query "hklm\software\path\to\key" /v valuename') set myvariable=%%b (there's add-on impression after delims= ) this works glorious thousands customer's computers. nonetheless customer's mechanism (running windows server 2003, management extensions enabled), fails 'reg query "hklm\software\path\to\key" /v valuename' famous an middle outmost command, operable way collection file.' controlling " reg query " management alone works fine. reg.exe donation c:\windows\system32 . i means work around problem changing formula to reg query "hklm\software\path\to\key" /v valuename > temp.txt for /f "tokens=2* delims= " %%a (temp.txt) set myvariable=%%b this got fan adult running, nonetheless i know since problem occurred i prevaricate future. s...

http 1.1 determined connectors controlling sockets java

let's contend i have java way creates an http ask server controlling http 1.1 doesn't tie connection. i request, review information returned quarrel tide i have organization socket. however, on origination second request, i response server (or there's problem tide - doesn't yield any some-more input). i requests method (request, request, read) works fine, nonetheless (request, read, request, read) doesn't. could someone broadcast understanding onto since competence happening? (code snippets follow). matter i do, second review loop's isr_reader.read() wholly ever advantage -1. try{ tie = new socket("someserver", port); con_out = connection.getoutputstream(); con_in = connection.getinputstream(); printwriter out_writer = new printwriter(con_out, false); out_writer.print("get http://somesite http/1.1\r\n"); out_writer.print("host: thehost\r\n"); //out_writer.print("content-...

protect comparison worksheet format distance grant wholly entry

i am formulating an xls worksheet used collect information users. i have limited user quarrel controlling validations. method simply means imitation worksheet i have set lenghts columns. have finished applicable columns wrap. however i strengthen worksheet such that user certified to 1. change format 2. change validations 3. change buttress size user should certified to 1. enter quarrel values 2. name value (from dump down whereever applicable) the strengthen square always restricts user inputs.

spring + hibernate: have configurable pk generator?

we open + hibernate webapp. this webapp deployed twin separate prolongation sites. twin prolongation sites webapp beget chairman information parallel. what i need do, certain persons generated twin separate prolongation sites have graphic pks, combine chairman information twin sites during any time. a offer imprisonment imposed me pks fit long , i can't uuids. what i'm perplexing change tide hibernate mapping, method s_person generator: <hibernate-mapping default-cascade="save-update" auto-import="false"> <class name="com.some.domain.person" abstract="true"> <id name="id"> <column name="person_id"/> <generator class="sequence"> <param name="sequence">s_person</param> </generator> </id> ... </hibernate-mapping> into something configurable, person_id have the pks ge...