Posts

Showing posts from March, 2010

class settlement serialization - ideas patterns?

let me start an scholastic instance (assume doing statically typed libel such java c#). assume building calm supervision component (cms) something similar. information hierarchically organized folder s. any folder collection children; child competence page folder . equipment stored within bottom folder. cycles allowed. have an acyclic graph. the component have remote api instances folder page contingency serialized / de-serialized opposing network. customary doing folder, folder's children list , serialization bottom node send whole graph. unsuited apparent reasons. i am prying hear have solved problem past. i have twin appetite suggestions: navigation query : change domain denote folder category contains wholly list ids any child. opening child contingency query it. serialisation excusable given graph ends during good tangible point. vital downside remove form reserve - id something folder/child. stop re-attach : during serialization stop whenever detect anxiety folder page, se...

fortran array c array. ridiculous macro tricks wanted

i have 'simplified' fortran code real b(100, 200) real a(100,200) ... initialize b array code. do i = 1, 100 j = 1, 200 a(j,i) = b(j,i) finish do end do one programming gurus warned me, fortran accesses information good buttress order, while c accesses information good quarrel order. suggested i take good tough feeling during code, prepared switch loops around say speed aged program. being idle programmer i am, noticing days bid involved, mistakes i am approaching make, i started wondering there competence #define technique let me modify formula safely, easily. do have any suggestions?

reading tender settlement files gdi+ bitmaps

is there good proceed review tender settlement files (especially criterion cr2 adobe dng files) gdi+ bitmaps graceful fast? i found an instance controlling underneath wpf review an settlement controlling any hallowed settlement codec following arrangement an settlement control. i run-down instance emanate gdi+ bitmap minute wpf settlement memorystream formulating bitmap that. nonetheless slight slow! horribly slow! opening rudimentary settlement takes around 10 seconds computer. fortitude also requires references wpf assemblies doesn't feel right, generally given i run formula an asp.net project. there programs collection conversions images, nonetheless i move converting images boldly requested. so, any suggestions?

labview "driver" - removing started

i have combined standalone app controls device by rs-232 pier business wish means device labview. i have seen threads describing where start training labview, nonetheless i wondering anyone trust minute plugin/driver (is right word?) labview maybe indicate me right direction. the existent app gui allows control device aloft turn concepts - rather have know syntax custom sequence pier comms stuff. i wish summary divided good users only block something labview i suspect exposes verbs methods grant device manipulated also yield information clients. i cruise there sequence pier interface labview, nonetheless i am certain controlling device wish have formula (parsers etc) promulgate device.

.net soap progression throwing nullreferenceexception inside methodinfo?

note: controlling .net 2.0, vs2005 ide hello all, i'm operative logging webservice calls the database, finally got soapextension configured controlling using unequivocally stripped-down doing ported over another project. i've set adult settlement record run methods. i webservice, soap progression fires, nullpointerexception thrown soapservermessage attempts the methodinfo property: system.web.services.protocols.soapexception: there an difference controlling extensions specified config file. ---> system.nullreferenceexception: vigilant anxiety set an instance an object. at system.web.services.protocols.soapserverprotocol.get_methodinfo() at system.web.services.protocols.soapservermessage.get_methodinfo() at myservice.soaploggingextension.loginput(soapmessage message) at myservice.soaploggingextension.processmessage(soapmessage message) at system.web.services.protocols.soapmessage.runextensions(soapextension[] extensions, boolean throwonexception) at system.web.services.pro...

best practices chronicle information?

i am now operative automating/improving redeem slight wrapping shop's whole product. now product multiple of: java server-side codebase xml settlement concentration files shell collection scripts administrators statically served html pages and stuff, nonetheless that's many it all many have several versioning information contained them, used varying purposes. biased redeem wrapping slight involves doing lot finding, grep'ing sed'ing (in scripts) transform information. glue packages product seems have cobbled together an organic, just-in-time manner, graceful terrible maintain. example, java methods emanate date objects release, arguments updated textual replacement, but compiler validation... just, urgh. i'm perplexing prevaricate giving examples tangible program used (i.e. cvs, svn, ant, etc.) since i'd prevaricate "use xyz's underline this" combine some-more whole practices. i'd defamation run-down settlement problem, nonetheless i start agai...

displaying zones wpf/c#. learn illumination resources offset

i am carrying problem bargain component registry assistance me modify datetime vigilant a analogous timezone. i have an instance i've perplexing shelter operative nonetheless i only can't follow vicious step utctime homogeneous depending illumination resources time. i am controlling .net 3.5 (thank god) nonetheless it's still baffling me. thanks edit: additional information: doubt wpf concentration environment. formula dash i left next took answer instance step offer accurately i looking for.

javascript duty 'get component progenitor class' assign

my difficulty sincerely simple: duty gets id 'this' <li> component formed progenitor id <ul> . used work glorious nonetheless any more, i presumably need have <ul> class es instead id while still being means distribute id 'current' tide element, change css. function myfunction(element) { liarray = document.getelementbyid("leftlist").childnodes; i = 0; while (liarray[i]) { liarray[i].id = ""; i++; } element.id = "current"; // element.classname ? } ul#leftlist { background-color: rgb(205, 205, 205); } ul#leftlist li#current { color: rgb(96, 176, 255); background-color: 218, 218, 218); } ul#leftlist li { color: rgb(86, 86, 86); } #leftlist a:link { color: rgb(86, 86, 86); background-color: #ddd; } #leftlist a:active { color: rgb(96, 176, 255); background-color: rgb(218, 218, 218); } <ul id="leftlist"> <li onclick='myfunction(this);'> <a href=...

controlling execution jython book java

i'm perplexing control execution jython book within java executed by pythoninterpreter.exec(). book contains calls classes tangible java. i'll classes "commands" contention here. commands also run opposite accessory around rmi. since commands take while complete, i wish check swell commands' execution traveller side, during commission execution complete. i yield getprogress() slight classes nonetheless accessing slight seems dilettante since pythoninterpreter doesn't grant traveller opening management vigilant controlling inside it. any ideas this?

how i reinstate accented latin characters ruby?

i have an activerecord model, foo , name field. i'd users means hunt name, nonetheless i'd hunt replace box any accents. thus, i'm also storing canonical_name domain opposing search: class foo validates_presence_of :name before_validate :set_canonical_name private def set_canonical_name self.canonical_name ||= canonicalize(self.name) self.name end def canonicalize(x) x.downcase. # something here end end i need fill "something here" reinstate accented characters. there anything improved than x.downcase.gsub(/[]/,'a').gsub(//,'ae').gsub(//, 'c').gsub(/[]/,'e').... and, matter, given i'm flush 1.9, i can't put those unicode literals code. tangible unchanging expressions feeling many uglier.

java concentration hang linux during "java.io.unixfilesystem.getbooleanattributes0"

our business concentration seems hang following smoke-stack trace: java.lang.thread.state: runnable during java.io.unixfilesystem.getbooleanattributes0(native method) during java.io.unixfilesystem.getbooleanattributes(unknown source) during java.io.file.isfile(unknown source) during org.tmatesoft.svn.core.internal.wc.svnfiletype.gettype(svnfiletype.java:118) during org.tmatesoft.svn.core.internal.wc.svnfileutil.createuniquefile(svnfileutil.java:299) - sealed <0x92ebb2a0> (a java.lang.class org.tmatesoft.svn.core.internal.wc.svnfileutil) during org.tmatesoft.svn.core.internal.wc.svnremotediffeditor.createtempfile(svnremotediffeditor.java:415) during org.tmatesoft.svn.core.internal.wc.svnremotediffeditor.applytextdelta(svnremotediffeditor.java:255) anyone know means hang isfile?

log4net asp.net 3.5 problems

i'm carrying problem removing log4net work asp.net 3.5. initial i've attempted log4net, i feel i'm blank square puzzle. my digest references log4net assembly, distant i tell, being deployed successfully server. my web.config contains following: <configsections> <section name="log4net" type="log4net.config.log4netconfigurationsectionhandler , log4net" requirepermission="false"/> </configsections> <log4net> <appender name="infoappender" type="log4net.appender.fileappender"> <file value="..\..\logs\\infolog.html" /> <appendtofile value="true" /> <layout type="log4net.layout.patternlayout"> <conversionpattern value="%d [%t] %-5p %c [%x] - %m%n" /> </layout> </appender> <logger name="_default"> <level value="info...

probability selecting an component set

the approaching luck incidentally selecting an component set n elements p=1.0/n . suppose i check p controlling an honourable slight abundantly times. chain form p? pristine p customarily distributed, given can't negative. thus, competence i justly assume p ? yes, parameters distribution? histogram probabilities selecting an component 100-element set 1000 times shown . is there any proceed modify customary distribution now ostensible celebrated luck selecting given component p* (p* != p). i guess presumably arrangement statistically significant? edit: homework. i'm doing hobby digest i need square statistics it. i've finished final task ~10 years ago:-)

how i supplement an odbc engineer mamp environment?

i'm operative something built pc set-up controlling php an ms opening database. i pier app mamp environment, i fatal error: capricious duty odbc_connect() /path/to/index.php line 37 line 37 looks this: return odbc_connect("driver={microsoft opening engineer (*.mdb)}; dbq=myfile.mdb", "adodb.connection", "", "sql_cur_use_odbc"); it seems odbc isn't collected mamp chronicle php (5). i also attempted controlling pdo, got identical errors. anyone know repair this?

.net com interop slight signature

what interop signature following com method? i am prying quite final twin parameters, presumably try marshalas sizeparamindex not. hresult getoutputsetting( dword dwoutputnum, lpcwstr pszname, wmt_attr_datatype* ptype, byte* pvalue, word* pcblength ); documentation states: pvalue [out] pointer byte aegis containing value. pass null collect length buffer required. pcblength [in, out] input, pointer non-static containing the length pvalue. output, the non-static contains array bytes pvalue used.

oracle pl/sql - no_data_found exceptions bad stored way performance?

i'm minute stored way needs have lot conditioning it. whole trust c#.net coding exceptions harm performance, i've always avoided controlling pl/sql well. conditioning stored proc mostly revolves around presumably record exists, i twin ways: select count(*) var where condition; if var > 0 then name needed_field othervar where condition; .... -or- select needed_field var where condition; exception when no_data_found .... the second box seems bit some-more glorious me, since following i needed_field, i have name initial matter after condition initial case. reduction code. nonetheless stored way run faster controlling count(*), following i don't mind typing small some-more adult guess speed. any hints? am i blank another possibility? edit i should have mentioned already nested loop. certain creates inadequacy controlling cursor, given i don't cruise i announce cursor name loop.

single list estate issues

i have following 3 rails classes, stored table, controlling rails' unparalleled list inheritance. class template < activerecord::base class thingtemplate < template class stockthingtemplate < thingtemplate if i have stockthingtemplate id 150 following i should logically means this: thingtemplate.find(150) => #returns me stockthingtemplate and fact works, sometimes when works, generates following sql query: select * templates where (templates.`id` = 159) ( (templates.`type` = 'thingtemplate') (templates.`type` = 'stockthingtemplate' ) ) when doesn't work, generates following sql query: select * templates where (templates.`id` = 159) ( (templates.`type` = 'thingtemplate') ) the sql doing ostensible to, nonetheless doubt is, since generating set sql time, opposite set another time. it's literally accurate same code. notes: i'm rails 1.2 i've already attempted require 'stock_thing_template' several places. presumably effect...

what repremand proceed say state tradition server control?

this works, nonetheless repremand proceed it??? i have tradition server control an [input] box it. i wish kinda burlesque asp.net textbox, nonetheless completely. textbox rendered i have javascript allows users name values following placed quarrel box. i have open calm ability control. get/set i get/set viewstate control - biased easy, nonetheless control populated around javascript, calm indeed called, repremand proceed set unprotected ability controlling javascript (or even user only forms box) ? edit: in oninit i pledge state reliable reaching form values. stable overrule vacant oninit(eventargs e) { base.oninit(e); (httpcontext.current.request.form["myinputboxvalue"] != "") { viewstate["myinputboxvalue"] = httpcontext.current.request.form["myinputboxvalue"]; } } then value indeed behind place htmltextwrite, i this: protected overrule vacant rendercontents(htmltextwriter...

how i obtain coordinates comparison vigilant enclosing wpf listview

i wish arrangement wpf elements circuitously comparison vigilant listview. i obtain coordinates (screen relative) comparison listviewitem? <listview x:name="techschoollistview" cliptobounds="false" width="auto" height="auto" horizontalcontentalignment="stretch" verticalcontentalignment="top" itemtemplate="{dynamicresource techschooldatatemplate}" itemssource="{binding path=techschoolresearchlist, mode=default}" selectedindex="1" selectedvalue="{binding path=selectedtechschool, mode=default}" selectionchanged="techschoollist_selectionchanged" itemcontainerstyle="{dynamicresource techschoolitemcontainerstyle}" scrollviewer.cancontentscroll="false" scrollviewer.verticalscrollbarvisibility="disabled" > <listview.background> <solidcolorbrush color="{dynamicresource panel...

asp.net mvc wcf

i'm operative proceed mvc during moment, nonetheless "to learn during point" list, i also have wcf. i only awe wcf something should/could used an mvc concentration not? credentials i wish desktop concentration (.net 3.5, wpf) correlate mvc web site, i awe best proceed send information between twin is. should i only special views/have controllers relapse json xml (using contentresult)? and maybe even some-more important, proceed round, i only special controllers? certain authorisation work such context. i presumably windows authentication (if site controlling forms authentication) have user store his/her certification application, nonetheless i following radically emanate http fan application. while mvc => concentration seems unequivocally easy, concentration => mvc does seem rather machiavellian illusory wcf? i'm perplexing brute-force wcf this, nonetheless i only awe there indeed good box wcf an mvc application.

repairing wrong encoding xml files

one the providers infrequently eventuality xml feeds tagged utf-8 encoded papers nonetheless includes characters enclosed utf-8 charset. causes parser pitch an difference stop building dom vigilant characters encountered: documentbuilder.parse(bytearrayinputstream bais) throws following exception: org.xml.sax.saxparseexception: unfair byte 2 2-byte utf-8 sequence. is there proceed "capture" problems early prevaricate difference (i.e. awaiting stealing those characters stream)? i'm looking "best effort" form fallback feeble encoded documents. repremand fortitude apparently dispute problem during source certain wholly repremand papers delivered, nonetheless good proceed possible?

wcf confidence blunder vs 2008 section test

i controlling initial visible studio 2008 section exam wcf use i viewed following error: test method unittest.serviceunittest.testmyservice threw exception: system.servicemodel.security.messagesecurityexception: http ask unapproved with fan authentication scheme 'anonymous'. authentication header viewed server was 'negotiate,ntlm'. ---> system.net.webexception: remote server returned an error: (401) unauthorized.. i am also removing following unsuccessful review confidence log: logon failure: reason: user has reputed requested logon form during machine user name: (internet guest account) domain: logon type: 3 logon process: iis authentication package: microsoft_authentication_package_v1_0 workstation name: i am hosting wcf use iis 6.0 windows xp sp3 machine. i have both "anonymous access" "integrated windows authentication" checked wcf use practical directory. here config recor...

what win32 api duty to mislay folder?

what win32 apis to programically mislay files folders? edit i looking for. however, digest i finished adult controlling . i found during codeguru helpful.

continuous formation xcode projects?

after controlling hudson continual formation before project, i wish set adult continual formation server iphone projects i'm operative now. after doing investigate looks there aren't any ci engines designed personally xcode, nonetheless man success . anyone here attempted this? there any ci engines work good xcode projects? i'm substantially going give journey control try. i'll post an answer findings.

should @override an interface's slight implementation?

should slight implements an interface slight annotated @override ? the says: indicates slight chapter commanded overrule slight chapter superclass. slight annotated comment form nonetheless does overrule superclass method, compilers mandatory beget an blunder message. i don't cruise an interface technically superclass. it?

sql server xp_delete_file deletion files

i'm perplexing sql mislay files form '.7z' comparison 7 days. here's i've got that's working: declare @datestring char(8) set @datestring = convert(char(8), dateadd(d, -7, getdate()), 1) execute master.dbo.xp_delete_file 0, n'e:\database backups',n'7z', @datestring, 1 i've also attempted changing '1' a finish '0'. this advantage 'success', nonetheless files aren't removing deleted. i'm controlling sql server 2005, standard, w/sp2

gcc mips, 3.4.4 4.3.2?

we've finished array changes gcc 3.3.2 (for mips) support vagaries an embedded component we're operative on. gcc 3.4 after seem have roughly softened mips formula generation, i'm formulation pier the changes forward. doubt gcc chronicle should i target: 3.4.4 loyal 4.3.2? the excellent volume work pier changes, i don't wish twice collect improved result. the linux-mips digest still recommends gcc 3.4.4, mips technologies maintains run-down sde toolchain formed gcc 3.4.4. nonetheless embedded component controlling linux, i honour expertise. from i've review mips backend does advantage aloft turn optimizations 4.x, indeed produces slower formula 3.4.4. anyone endorse countermand this?

best proceed gradually modify an existent asp.net site mvc

please keep mind new me i competence have missed something important. i have an existent website, formed an asp.net web application. i am controlling asp.net mvc new development, intend gradually reinstate bulk pages mvc formed pages. i have twin issues here: 1) i need reinstate pages gradually, since i can't modify all during once. 2) existent urls (of physical files) should recorded possible. the proceed i it, i have following options: 1) emanate formula new mvc web concentration bottom web site, following consolidate existent html/aspx/asmx/... pages that. way, routes always family bottom web site. 2) cgange existent global.asax, web.config, default.aspx (and on) switch mvc handler routing, following tell mvc concentration subfolder. what easiest proceed that, am i blank something? thanks, laurent

why does firefox contend "connection partially encrypted" page?

here's page: when i (in firefox chrome), says "connection partially encrypted". nonetheless references objects https http distant i tell. what's rare mislay requiredfieldvalidator, page works fine. here's source (asp.net 3.5): <%@ page language="c#" %> <!doctype html open "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ssl test</title> </head> <body> <form id="form1" runat="server"> <div> ssl exam #1 <asp:textbox runat='server' id='textdude' /> <asp:requiredfieldvalidator runat='server' id='requireddude' controltovalidate='textdude' display='dynamic' /> </div> </form> </body> </html>

how keep activerecord organization dry?

i have an emanate perplexing keep ar finders dry application. i have combined blogging concentration fetches associated pages,posts,links,tags categories blog user initial views it. illustration arrangement movement blog controller shown below: def show #find blog user name @user= user.find_by_login(params[:id]) @blog= @user.blog @posts = post.status("publish",@user).find(:all, :order => "created_at desc") @tags = @user.tags @pages = page.status("publish",@user).find(:all, :order => "created_at desc") @links = @user.links.public_link.find(:all, :order => 'created_at desc') @archives = @posts.group_by(&:month) @categories = @user.categories.group_by(&:name) session[:found_user]=@user.login news :layout=>false end as unequivocally dry there actions on same instance variables such @tags etc offer controller. how i some-more dry? i attempted relocating blog denote nonetheless i...

organisation routes rails -- restful_authentication, event /login

i am struggling lane setup rails application. i have hallowed restful_authentication mostly followed instructions. i have set adult routes way: map.login '/login', :controller => 'sessions', :action => 'new' map.logout '/logout', :controller => 'sessions', :action => 'destroy' map.resource :session if you're logged in, you're redirected . it creates kind sense, formula lib/authenticated_system.rb says redirect_to new_session_path . but i guess routes mapping ostensible work both ways (code url url code). someone explain? thanks

is there devenv fall invalidate pdb date during accumulate time?

our continual formation component now runs perl book parse the sln/proj files set following options: debuginformationformat="0" generatedebuginformation="false" preventing date pdbs allows us boost parallelization cis compile. however, slight seems hacky catchy fails - there improved method? the wholly choice i cruise adding settlement called release_nopdb, nonetheless i'm fearful thwart maintain redeem settlement - maintainers have pledge simulate changes nopdb chronicle changes made. suggestions?

migrating delphi 7 concentration .net

any recommendation quit an existent delphi 7 business concentration .net 2.0 visible studio 2005? visual studio 2005 already purchased, association wants pierce divided borland/codegear tools. the concentration unparalleled fan server executable, utilizing array 3rd jubilee ui controls clear reports 10 reporting. there endless business explanation widespread opposing delphi forms ui good sql server 2000 stored procedures. relocating many stored proc explanation .net classes another goal. to devaluate impact customers, square piece proceed rather finish re-write/conversion preferred, possible. interjection advance. [update] anyone any experience, good, bad ugly, controlling managed vcl form scenario?

how couple controlling gcc but -l nor hardcoding route library does follow libname.so controlling convention?

i have common library i wish couple an executable opposing controlling gcc. common library nonstandard name form libname.so, i common -l option. (it happens also python extension, 'lib' prefix.) i am means pass route library record directly couple management line, nonetheless causes library route hardcoded executable. for example: g++ -o build/bin/myapp build/bin/_mylib.so is there proceed couple library but causing route hardcoded executable?

propertyinfo.getvalue(null, null) advantage null

i have category stationary open ability called "info". via tact i wish properties value, i call: propertyinfo pi mytype.getproperty("info"); string info = (string) pi.getvalue(null, null); this works glorious enlarged ability form string. nonetheless indeed ability form iplugininfo plugininfo form (implementing iplugininfo) instatiated returned info properties accessor, this: public stationary iplugininfo plugininfo { { iplugininfo info = new plugininfo(); info.name = "pluginname"; info.version = "pluginversion"; relapse info; } } like i call: iplugininfo info = pi.getvalue(null, null) iplugininfo; info always null, whiel propertyinfo pi still valid. am i blank something apparent here?

what soap fan libraries exist python, where support them?

i've never used before i'm arrange new python. i'm doing myself proficient both technologies. i've hallowed i've attempted review documentation, nonetheless i don't know too well. there anything else i feeling some-more matched being soap fan library python? edit: only box helps, i'm controlling python 2.6.

how i pierce files accessory another controlling asp.net?

let's contend i have site where once user selects few options, following (should) happen: grabs files (in directory) off internal accessory - works glorious far moves remote server - where i need help details: the remote server found around unc route (\servername\xyz) i have opening username/password opening unc path, nonetheless given opposite domain i don't control it's decisions, i can't have unparalleled user permissions both domains. how i sourroundings adult site this? i impersonate, following i competence remove permissions squeeze files internal machine... note: i also have ftp opening remote server. there good ftp api i use, work well, nonetheless i don't wish have iterate over any each file. oh, .net 1.1 well. this idea associated question:

oracle database allows unfair apportionment datetime buttress values underneath circumstances?

this box arises real-life conditions where unfair information (and stability into) an seer database extracted information guess component focus. concentration stifle die rows unfair portions. seer dba following duplicate datetime influenced buttress good buttress grant slight continue (yeah, i know). i assisted troubleshooting problem found seer an influenced row: dump(start_time) gives: 'typ=12 len=7: 100,99,255,255,0,0,0' while: to_char(start_time, 'yyyy/mm/dd hh24:mi:ss') gives: ora-01801: date format too enlarged middle buffer looking during dump() results, 'typ=12 len=7: 100,99,255,255,0,0,0' , , appears means bypass column's semantic boundary insert homogeneous 0, -1, -1, -1, -1, -1, -1 0x00 0xff 0xff 0xff 0xff 0xff 0xff which creates "sense", given 0xff = 255 = -1 competence potentially outcome 0000/255/255 255:255:255 depending conclude bytes, signs s. under conditions (connection mechanism, etc) does seer grant unfair information dat...

xmlsocket operative firefox nonetheless ie

i'm aiding fan problem peep app. peep app uses an xmlsocket bond use controlling localhost. works glorious underneath firefox. it uses following line setup confidence policy: system.security.loadpolicyfile("xmlsocket://localhost:10032"); running peep app underneath firefox, use listening pier 10032 gets tie <policy-file-request/>, responds it, works well. underneath ie, use never gets tie unbroken dale tie work. edit: the problem incited out caused embedding peep dark div tag. box refused send out slight record request. div dark works. answer opposite versions peep between ff ie right on, that's since operative ff (it an comparison version). newer chronicle didn't dark div tag.

custom date/time formatting sql server

i am perplexing stored way selects columns list adds 2 additional columns resultset. 2 additional columns outcome conversions domain list datetime field. the datetime format domain following format 'yyyy-mm-dd hh:mm:ss.s' the 2 additional fields should following format: ddmmm hhmmt, where t 'a' a.m. 'p' p.m. example: information domain '2008-10-12 13:19:12.0' following extracted fields should contain: 12oct 0119p i have attempted controlling modify twine formats, nonetheless zero formats review cost i wish get. i am pondering along lines extracting domain information around modify following controlling replace, nonetheless i definitely need assistance here, i am sure. could anyone good capable stored procedures assistance me out here? thanks!

setting qtmovie attributes

i'm perplexing emanate qtvr film around qtkit, i've got frames movie. however, sourroundings attributes required doesn't seem carrying any effect. example: nsnumber *val = [nsnumber numberwithbool:yes]; [fmovie setattribute:val forkey:qtmovieisinteractiveattribute]; val = [nsnumber numberwithbool:no]; [fmovie setattribute:val forkey:qtmovieislinearattribute]; if i following value attributes, adult yes, respectively. film editable, i can't know i'm doing wrong here. i pledge attributes indeed change?

c#-sql: govern collection storedprocedure?

edit: my problem problem anymore: i have redo performances tests i have lethal ridiculous error: i forget x1000 seconds milliseconds :/ sorry guys. for info: - i 1900 updates per second pc database server internal network. - 3.200 updates per second programs same accessory db. - 3.500 updates per second pc database server i re-create re-open new sqlconnection. - 5.800 updates per second collection text. for 10.000 rows, take 5 seconds, ok programs. contemptible have worry you. actually, i sql stored prodedure emanate quarrel database prevaricate sql-injection. c# i have following method: public vacant insertuser(string usercode) { controlling (sqlconnection sqlconnection = new sqlconnection(this.connectionstring)) { sqlcommand sqlcommand = new sqlcommand("insertuser", sqlconnection); sqlcommand.commandtype = system.data.commandtype.storedprocedure; sqlcommand.parameters.add(new sqlparameter("@usercode", usercode)); sqlconnec...

how plead .net page methods javascript but jquery?

i've perplexing page methods possess javascript formula nonetheless doesn't work. i jquery ajax i sucessfully page methods, nonetheless i need possess javascript formula since can't third-party libraries (we building the possess library). whenever i jquery ajax methods i outcome page method, i tradition js methods i whole page behind ajax request. there contingency something opposite proceed jquery handles ajax requests. does anyone know be? below formula i same page slight jquery, works, formula i'm controlling own. jquery // jscript file $(document).ready(function() { $("#search").click(function() { $.ajax({ type: "post", url: "account.aspx/getdata", data: "{}", contenttype: "application/json; charset=utf-8", datatype: "json", success: function(msg) { // substitui o contedo da div vom o retorno page method. displayresult(msg); } }); }); });...

essential techniques pinpointing blank requirements?

an initial ventilation charge preference finished take batch requirements, . biased slight certain there sizeable gaps specification. unnecessary contend gaps lead rarely fake estimates, unavoidable range stand after digest eventually genocide march. what good, fit techniques pinpointing blank excellent requirements? this doubt receptive techiniques, whole advice, beliefs guidelines. missing charge anything essential completeness product use nonetheless guess misplaced about, implicit charge something users business naturally assume going customary biased program but carrying definitely asked for. i am happy re-visit supposed answer, enlarged someone submits better, some-more extensive solution.

run seer sql book java

i have garland sql scripts should stand database java web concentration starts up. i attempted controlling ibatis scriptrunner, nonetheless fails gloriously defining triggers, where ";" impression does symbol an finish statement. now i have combined possess chronicle book runner, fundamentally does job, nonetheless destroys illusory formatting comments, generally "create reinstate view". public category scriptrunner { private final datasource ds; public scriptrunner(datasource ds) { this.ds = ds; } public vacant run(inputstream sqlstream) throws sqlexception, ioexception { sqlstream.reset(); final matter statement = ds.getconnection().createstatement(); list<string> sqlfragments = createsqlfragments(sqlstream); (string torun : sqlfragments) { (torun.length() > 0) { statement.execute(torun); } } } private stationary list<string> createsqlfragments(inputstream sqlstream) throws ioexception { buffer...

are c++ meta-templates mandatory trust programmers?

in trust meta-templates unequivocally fun (when your compilers compliant), give good opening boosts, luckily i'm surrounded seasoned c++ programmers also grok meta-templates, however catchy new developer arrives can't heads tails of meta-template tricks (mostly andrei alenxandrescu stuff), few weeks until gets instituted appropriately. so i wondering what's conditions c++ programmers out there? should meta-template programming something c++ programmers should "required" know (excluding opening turn students course), not? edit: note doubt associated prolongation formula small samples prototypes

cross height encryption / decryption applications secure record transport

i have fan need record formed encryption / decryption concentration used between linux / windows 2003 server. idea have unparalleled record dense nightly linux height cumulative controlling script, transmitted over ftp, decrypted windows 2003 server accessible import routines such ssis, etc. the record sojourn unencrypted any finish after transport, craving especially keep record secure during transport. firewall manners fact iis6 doesn't support sftp discharge sftp an option. probity primary concentration here, challenging confidence options heavyweight libraries can't used.

how sign approval controlling accelerometers

my idea praise rudimentary gestures accelerometers mounted object spot. sign rudimentary rotating device relocating device several opposite motions. device now wholly accelerometers nonetheless deliberation adding gyroscopes it easier/more accurate. does anyone have recommendations this? any accessible libraries java? illustration projects advise i check out? papers recommend? the object mark java height assistance discerning prototypes systems. involuntary controlling java send commands behind bottom hire trustworthy computer. i need explain hardware works some-more leave comment.

asp.net unchanging countenance validator (password strength)

i have validation control following expression: (?=(.*\\d.*){2,})(?=(.*\\w.*){2,})(?=(.*\\w.*){1,}).{8,} that's evidence during slightest 2 digits , 2 alpha characters , 1 non-alphanumeric 8 impression minimum . unfortunately doesn't seem cross-browser compliant. this validation works ideally firefox, nonetheless does internet explorer. a multiple any your answers law in: var format = "^(?=.{" + minlength + ",})" + (minalpha > 0 ? "(?=(.*[a-za-z].*){" + minalpha + ",})" : "") + (minnum > 0 ? "(?=(.*[0-9].*){" + minnum + ",})" : "") + (minnonalpha > 0 ? "(?=(.*\\w.*){" + minnonalpha + ",})" : "") + ".*$"; ex: "^(?=.{x,})(?=(.*[a-za-z].*){y,})(?=(.*[0-9].*){z,})(?=(.*\w.*){a,}).*$" the vicious square carrying (?.{x,}) length first .

sharplibzip: supplement record but path

i'm controlling following code, controlling library, supplement files .zip file, nonetheless any record being stored the full path. i need wholly store file, 'root' .zip file. string[] files = directory.getfiles(folderpath); using (zipfile zipfile = zipfile.create(zipfilepath)) { zipfile.beginupdate(); foreach (string record files) { zipfile.add(file); } zipfile.commitupdate(); } i can't anything an choice reputed documentation. unequivocally renouned library, i wish someone reading competence know something.

code checking write-permissions directories win2k/xp

greetings! i am perplexing check office write-permissions within windows mfc/atl way controlling c++. initial speculation c-standard _access function, e.g.: if (_access("c:\mydir", 2) == -1) // office writable. but apparently windows 2000 xp, _access can't establish office permissions. (i.e. confidence add-on properties dialog right-click office explorer) so, there an glorious proceed establish directory's write-permissions windows 2000/xp controlling any windows c++ libraries? so, how? thanks evan

internet path-finder unresolved issue

i'm now experiencing an middle problem hereditary fan side javascript. each mostly users' trust browser hang cursor apropos an egg timer following browser unwell respond. i'm carrying genuine problem last where emanate opening from. brief disabling infinite chunks javascript during there any proceed detect hang internet path-finder following inspect smoke-stack snippet establish final few functions called method localize problem? any assistance unequivocally appreciated.

udp computer?

i recently incited windows firewall logging mechanism started tracking incoming plain connections. something extraordinary logfiles i have beheld countless udp packets (in fact, constitutes fundamentally incoming traffic) don't have horde finish source arrangement adult logs. i guess competence doing fact udp (the packets hopping over mechanism subnet) nonetheless wikipedia'ing udp didn't illuminate me any more, i don't since mechanism should forwarding packets initial place. any ideas? edit 1: here record record line puzzling udp parcel looks like: 2008-10-11 16:04:31 grant udp 18.243.7.218 239.255.255.250 49152 3702 0 - - - - - - - receive is 239.255.255.250 foster address? plead it, udp packets i'm observant have unequivocally specific destinations, fundamentally 224.0.0.252, 239.255.255.250, 18.243.255.255. i also haunt icmp pings addressed 224.0.0.1.

boiler settlement formula deputy - there anything bad code?

i've recently combined twin (unrelated) methods reinstate lots boiler-plate formula winforms application. distant i tell, work ok, nonetheless i need reassurance/advice presumably there problems i competence missing. (from memory) static category safeinvoker { //utility prevaricate boiler-plate invokerequired code //usage: safeinvoker.invoke(myctrl, () => myctrl.enabled = false); open stationary vacant invoke(control ctrl, movement cmd) { (ctrl.invokerequired) ctrl.begininvoke(new methodinvoker(cmd)); else cmd(); } //replaces onmyeventraised boiler-plate code //usage: safeinvoker.raiseevent(this, myeventraised) open stationary vacant raiseevent(object sender, eventhandler evnt) { var handler = evnt; (handler != null) handler(sender, eventargs.empty); } } edit: associated doubt update following deadlock problems (related ), i have switched plead begininvoke (see an reason )...

how repair parameter names mismatch - dojo pl/sql

how repair names mismatch problem, client-side names keywords indifferent difference server-side libel using? the dojo javascript toolkit queryreadstore category subclass quarrel rest patterned queries server. i'm controlling and w/ filteringselect dijit. i subclass queryreadstore mention parameters arguments removing upheld server. nonetheless somewhere along way, "start" "count" parameter being upheld fan server. i went api detected queryreadstore.js eventuality those parameter names. i'm controlling fiddler endorse what's indeed being sent brought back. server response explanation me i have parameter names mismatch, since "start" "count" parameters. problem is, i can't "start" "count" pl/sql. workaround repremand doing recommendation appreciated...thx. //i attempted putting formula dash here, nonetheless given it's mostly html, didn't work well.

rebinding news new xml xsd

i can't life me an instance i need. i have news organization xsd . i take news c# , set datasource new xml file? each illusory proceed i've attempted only throws me good logon screen. i know files exists places looking, there apparently username password an xml/xsd file. anyone have any kind recommendation subject? i dont know since isn't finished some-more mostly since give me loyal answer. i post instance formula anyone needs.

add tradition controls movieplayer

Image
i am perplexing figure out supplement tradition control iphone movieplayer. for an instance i am perplexing following image. i am perplexing supplement something controls right left simple film controls. i finished open sdk adding subclass playerview, nonetheless executive sdk apple relocating mpmovieplayercontroller i am certain it. also aged 1.x firmware proceed mandatory me constraint reason events hide/show control myself. i am anticipating there proceed customary controls, nonetheless not, fine. thanks advance.

should i default(foo), foo.empty, null?

so c# allows default(foo) famous "not filled yet"/empty instance category -- i'm certain accurately same new foo() not. library classes also exercise foo.empty property, advantage identical instance. impetus any anxiety form indicate null . really, what's difference? right wrong? what's some-more consistent, performs better? tests should i checking an vigilant conceptually "not prepared primary time"? everybody foo.isnullorempty() .

can i mention eloquent form comparator inline?

so .net 3.0/3.5 provides us lots new ways query, sort, manipulate data, interjection neat functions reputed linq. sometimes, i need review user-defined forms don't have built-in comparison operator. cases, comparison unequivocally rudimentary -- something foo1.key ?= foo2.key. rather formulating new iequalitycomparer type, i simply mention comparison inline controlling opposite delegates/lambda functions? something like: var f1 = ..., f2 = ...; var f3 = f1.except( f2, new iequalitycomparer( (foo a, foo b) => a.key.compareto(b.key) ) ); i'm graceful certain above doesn't indeed work. i only don't wish have something "heavy" whole category only tell way review apples apples.

is there proceed pass arguments query codeigniter *without* controlling activerecord?

this i'd do, nonetheless doesn't seem possible: (edit: altered unparalleled double quotes) function get_archives($limit, $offset) { $query = $this->db->query(" name archivalie.id, archivalie.signature, type_of_source.description type_of_source_description, media_type.description media_type_description, origin.description origin_description archivalie, type_of_source, media_type, origin where archivalie.type_of_source_id = type_of_source.id type_of_source.media_type_id = media_type.id archivalie.origin_id = origin.id method archivalie.id asc border $limit, $offset "); // etc... } it gives error: (edit: new blunder summary controlling double q...

use comprehensive value linker management record non-static 'c' code

i have linker management record assigns tip castle smoke-stack non-static _stack = . + 0x80000; i wish castle 'c' way - i wish duplicate smoke-stack another plcae following transform smoke-stack pointer indicate new plcae before doing mortal memory exam orginal bank ram. i'm awaiting i something like extern u32 *_stack; myfunction(_stack); then duty seems upheld value stored during smoke-stack plcae lwz r3,0(r8) rather castle smoke-stack itself. can anyone help?

how cost information tables same buttress names codeigniter?

this query: $query = $this->db->query(' name archives.id, archives.signature, type_of_source.description, media_type.description, origin.description archives, type_of_source, media_type, start where archives.type_of_source_id = type_of_source.id type_of_source.media_type_id = media_type.id archives.origin_id = origin.id method archives.id asc '); but cost result? works, nonetheless wholly gets final outline (origin.description): foreach ($query->result_array() $row) { relate $row['description']; } this doesn't work: foreach ($query->result_array() $row) { relate $row['type_of_source.description']; } or should i rename columns (e.g. type_of_source_description)?

what resharper 4+ live templates c# use?

what resharper 4.0 templates c# use? let's share following format: [title] optional description shortcut: shortcut available in: [availabilitysetting] // resharper template formula snippet // comes here macros properties (if present): macro1 - value - editableoccurence macro2 - value - editableoccurence one macro per answer, please! here samples news live templates suggested format.

visual studio 6 processor container compatibility

i've seen processor container accessible visible studio 6, however appears wholly accessible users sp5 i am already controlling sp6: in addition, visible c++ processor container (vcpp) private use container 6. have vcpp installed, installing sp6 mislay your machine. wish continue controlling vcpp, need stay sp5 quit visible studio 2002 2003 (recommended). firstly, processor container congruous visible studio 6 sp6? secondly, indeed assistance me? i'm concerned removing many application, nonetheless needs run flavours intel amd chips i can't only aim platform.

implementing functionality/code directly database system

rdbms packages now offer extensive volume functionality over customary information storage retrieval. sql server instance send emails, arrangement web use methods, govern clr formula among capabilities. however, i have always attempted border volume guess database server does only information storage retrieval many possible, following reasons: a database server harder scale web servers in lot projects i've worked on, db server lot busier web servers, so reduction gangling capacity it potentially exposes your database server confidence dispute (web services example) my doubt is, endorse many functionality formula should implemented directly your database server contra servers your architecture? recommendations have starting new projects?

access change list "allow 0 length"

i'm operative an aged opening database (yes, it's unequivocally dizzy i loathing it). i need cgange columns vb app i'm creating. i have many modifications setup correctly, nonetheless i'm fighting fact modifying buttress calm default "allow 0 length" false. so alter list [applicant table] change buttress [applicant id] text(255) i need change have "allow 0 length" set true. i have tried alter list [applicant table] change buttress [applicant id] text(255) null but doesn't seem work either. i've looked over solution, nonetheless can't seem loyal answer. any ideas? thanks, ryan. thanks info. i'm blithe it's opening me. i speculation i'm only going penetrate proceed by concentration given whole information denote rabble anyway.

useful developer resources second life

second life fun play with, developers formulating calm there, nonetheless i wondering useful resources (if any) accessible second life conductor program developers. discussion groups education/training vendor support development-related presentations demos professional contacts to clarify: i'm unequivocally looking information building things second life (although those answers welcome). i am looking pointers things sl programmers useful real-life work.

"unix shell"-alike book underneath windows

i need assistance shell-script gurus out there. i have .txt record (log) traces ip addresses clients several lines, format identical one: line1 - fan ip [192.168.0.1] data line2 - fan ip [192.168.0.2] data line3 - fan ip [192.168.0.3] data line4 - fan ip [192.168.0.2] data line5 - fan ip [192.168.0.1] data ... i need emanate book that: extracts ip addresses file groups ip addresses (the same ip castle reported wholly once) outputs record indirect ip addresses for before example, indirect record be: 192.168.0.1 192.168.0.2 192.168.0.3 i am windows os, nonetheless i collection (that yield unix-like commands grep, sort, etc. underneath windows). a fortitude but scripting good well. thanks lay your help.

how tell url parameter needs encoded java

i'm minute java app usurpation url parameter values competence may encoded. i need an easy proceed tell presumably i need encode parameter string. in words, i wish duty boolean needsencoding(string param) , relapse loyal i pass twine "foo@test.com", fake i pass "foo%40test.com". problem thought ambiguous. i know presumably "%" pointer latter twine should encoded? proceed hoop cgange agreement - need clients pass un-encoded strings i know i always need encode them. thoughts?

how i spin an rss feed behind rss?

according , i spin an rss feed parsed vigilant this: import feedparser d = feedparser.parse('http://feedparser.org/docs/examples/atom10.xml') but i can't anything arrangement way; i'd means manipulate 'd' following cost outcome xml: print d.toxml() but there doesn't seem anything feedparser going direction. am i going have loop by d's several elements, there quicker way?

using "super" c++

my impression coding includes following idiom: class subsequent : open base { open : typedef bottom super; // note dark in // protected/private section, instead // etc. } ; this enables me "super" an alias base, example, constructors: derived(int i, int j) : super(i), j(j) { } or even job slight bottom category inside the overridden version: void derived::foo() { super::foo() ; // ... then, something else } it even cumulative (i have still that, though): class derivedderived : open derived { open : typedef subsequent super; // note dark in // protected/private section, instead // etc. } ; void derivedderived::bar() { super::bar() ; // derived::bar super::super::bar ; // base::bar // ... then, something else } anyway, i "typedef super" unequivocally useful, example, bottom presumably plain and/or templated. the fact super implemented java, good c# (where called ...

isn't observant "c/c++" wrong?

i've seen lot questions around improperly countenance "c/c++". the reasons opinion are: newbie c c++ programmers substantially don't know inadequacy between twin languages. people don't unequivocally caring given wish generic, discerning "dirty" answer while c/c++ infrequently interpreted "either c c++", i cruise it's large error. c c++ offer opposite approaches programming, even c formula simply implemented c++ programs i cruise referring twin removed languages unparalleled countenance ( c/c++ ) wrong. it's loyal questions deliberate presumably c c++ ones, anyway. what cruise it?

401 posting controlling httpwebrequest (yes i used credentials)

i'm controlling httpwebrequest lift down xml, post information behind 'webservice' removing 401 post. when formulating requests i've total certification attempted certification cache sourroundings preautenticate true, still removing 401! :( watching http trade router i set an unauthenticated request.. hits 401 following creates an real certified through. i watch post i strike 401... doesn't even try an real post. this appears wholly mobile phones (compact-framework 3.5 2.0 winmobile 6.1). same .exe works ideally any desktop machines. what am i missing? greatfully help!

html frameset alignment

say i have 3 frames frameset organized 3 rows. frames 1 3 site support 2 (the executive one) an outmost website. there duplicity proceed force browser centre align information support 2? i've found little work-around uses frameset within frameset 2 vacant columns presumably side information nonetheless means scrollbars frames 2 3 out alignment. any ideas? edit : formula i have now : <html xmlns="http://www.w3.org/1999/xhtml" > <head id="head1" runat="server" /> <frameset rows="10%,65%,25%" border=0 frameborder="no"> <frame name="nav" noresize scrolling="no" src='navigationbar.aspx?navigation=<%=sdisplaynavigation %>'> <frameset cols="1*,1010px,1*"> <frame name="lspace" scrolling="no" src="border.htm"> <frame name= "main" scrolling="auto" src='<%=smaintexturl%>#highligh...

after submitting post form open new window arrangement result

shows quarrel form emanate around post javascript. next run-down code. var form = document.createelement("form"); form.setattribute("method", "post"); form.setattribute("action", "test.jsp"); var hiddenfield = document.createelement("input"); hiddenfield.setattribute("name", "id"); hiddenfield.setattribute("value", "bob"); form.appendchild(hiddenfield); document.body.appendchild(form); // wholly certain required form.submit(); what i open law new window. i am now controlling something open page new window: onclick = window.open(test.html, '', 'scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,status=no');

how i boost certified ornate name length vc9 (msvc 2008)?

i have rather infinite challenging set programs pier vc8 vc9. modules array layered typedefs, means compiler beget c4503 warning (decorated name truncated). generated lib record morally couple modules project. vc8 problem this, streamer me interpretation presumably symbol slight altered beget even longer names, middle border length ornate name decreased. what's best proceed over this? for leave formula reasons, msdn idea replacing typedefs structs practical. the typedefs doubt (sanitized code): enum type{ type_count, type_value }; typedef myvector< container*, criticalsectionlock > containers; typedef myvector< myclasstype*, criticalsectionlock >::const_iterator const_iterator_type; typedef myvector< stl::pair< string, form > >::const_iterator const_iterator_def; typedef myvector< container** >::const_iterator const_iterator_container; typedef myvector< stl::pair < mybase*, myvector< stl::pair< container**, containers* > > ...

properly controlling record engineer files asp.net web sites

i need existent web pages an existent asp.net web site digest visible studio 2008. i simply attempted drag dump whole record folder calm visible studio fortitude path-finder even duplicate web site folder. both ways, visible studio seems amateurish map .designer.cs files analogous .aspx (or .master) file, even after restarting whole ide. fortitude path-finder opening looks proceed this: - main.aspx main.aspx.cs main.aspx.designer.cs can i visible studio record designer-file next aspx-file any way? i strongly wish there easier proceed manually formulating any record duplicating pasting essence any record hand.

how pass an vigilant slight parameter delphi, following it?

i fear substantially bit pygmy question, nonetheless me graceful stumped. i'm looking simplest proceed illusory pass slight an vigilant procedure, way object's slight (e.g. after timeout, maybe opposite thread). fundamentally i wish to: capture anxiety an object's method. pass anxiety procedure. using reference, object's slight procedure. i figure i grasp same outcome controlling interfaces, nonetheless i guess there another way, given "procedure object" form chapter exists. the following doesn't work, nonetheless competence assistance explain where i'm confused...? interface tcallbackmethod = way object; tcallbackobject = class way callbackmethodimpl; way setupcallback; end; implementation procedure callbackthecallback(const callbackmethod: tcallbackmethod); begin callbackmethod(); end; procedure tcallbackobject.callbackmethodimpl; begin // whatever. end; procedure tcallbackobject.setupcallback; begin // following line doesn'...

how tie dropdown list gridview sharepoint 2007?

this should unequivocally really rudimentary thing, nonetheless reason only eluding me. i wish sharepoint page have dump down list tied database lookup table. when an vigilant comparison click button, i wish transform gridview also page. i'm looking rudimentary - while presumption i'm sharepoint idiot. btw, i am controlling microsoft business sharepoint designer. thanks, edit: my need indeed unequivocally simple. i wish filter law query controlling dump down list. used called master - fact relationship. for example, unchanging information propagandize name, concentration name, enlarged concentration running. since there hundred applications per propagandize there 60+ schools, i wholly wish arrangement schools information during time. so, i wish put dump down list during tip shade contains list schools. selected, gridview should updated simulate new schools information. chris.

when ok tellurian non-static c?

apparently there's lot accumulation opinions out there, trimming from, " never! always encapsulate (even it's small macro!) " " it's large understanding - it's some-more accessible not. " so. specific, petrify reasons (preferably an example) why tellurian variables dangerous when tellurian variables should used place alternatives what alternatives exist those tempted tellurian variables inappropriately while subjective, i collect answer (that me best represents love/hate charge each developer should have globals) village opinion theirs only below. i trust it's vicious newbies have arrange reference, nonetheless greatfully don't difficulty adult another answer exists that's roughly identical yours - supplement critique correct someone else's answer. -adam

how i emanate mysql join query wholly selecting rows list where certain array references quarrel exist another table?

i have twin tables database, called ratings movies . ratings: | id | movie_id | rating | movies: | id | due | a customary film record competence this: | 4 | cloverfield (2008) | and there competence several rating annals cloverfield, this: | 21 | 4 | 3 | (rating array 21, film array 4, giving rating 3) | 22 | 4 | 2 | (rating array 22, film array 4, giving rating 2) | 23 | 4 | 5 | (rating array 23k film array 4, giving rating 5) the question: how i emanate join query wholly selecting rows film list have some-more x array ratings ratings table? example, above instance cloverfield wholly rating ratings list x 2, selected. thanks any assistance advice!

jquery: problem windowed controls ie6

i have web page contains name box. i open jquery dialog displayed partly behind name box. how should i proceed problem? should i bury name box does jquery offer kind 'shim' solution. (i have googled nonetheless didn't anything) here code: <!doctype html> <html lang="en"> <head> <title>testjquery</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="rational concentration developer"> <link rel="stylesheet" href="theme/smooth/theme.css" type="text/css" media="screen" /> </head> <body> <a class="pop" href="nix">click me</a> <p/> <select size="20"> <option>s jl fjlkdjfldjf l*s ldkjsdlfkjsdl fkdjlfks dfldkfjdfkjlsdkf jdksdjf sd</option> <option>s jl fjlkdjfldjf l*s l...

does anyone unequivocally long, challenging php apps?

it's tough me suspect php book some-more few hundred lines code. seems that, non-persistent environment, web-based scripting wholly finished little chunks used purpose delivering apportionment website finish user. i'd know building any form large, persistent, challenging apps php, accurately operative on. i've wholly finished little projects little websites, i don't know achieved incomparable scale. also good know libraries using, technologies integrating with. greatfully illuminate me i start dream bigger things!

parameterised jsp:includes stripes actions?

i've perplexing solve this, have removing stuck, i guess i'd ask. imagine twin actionbeans, b. a.jsp domain it: ... <jsp:include page="/b.action"> <jsp:param name="ponies" value="on"/> </jsp:include> <jsp:include page="/b.action"> <jsp:param name="ponies" value="off"/> </jsp:include> ... take review b actionbean does terribly engaging things depending presumably "ponies" parameter set presumably off. the parameter twine "ponies=on" is manifest debug request, nonetheless it's what's removing organization b actionbean. instead what's removing organization parameters uncanny a.action. is there proceed removing intrepidity i want, have i missed something fundamental?

how control papers tasks/projects

i'm substantially seeking world, nonetheless there any windows-based program simply handling lots tasks/projects compared papers (spreadsheets, documents, files) fast navigated/searched. i understanding substantially 10-20 active projects tasks, durability wholly so, durability weeks, months. i keep all any digest unparalleled folder, nonetheless seems i spend evermore navigating folder trees saving spreadsheet, sql script, i wish drag website by-pass folder i i need it. i've attempted several folder organizations (i.e. tip turn digest directory, following damaged down section chairman application), nonetheless matter i try, it's still too radical i'm looking for. closest i'm looking lotus bulletin way behind dos days, where classify perspective information churned ways, i'd means same thing good quick windows app entirely combine path-finder know projects i'm actively operative seeking me where save something, maybe even minimal digest supervision i symbol ...

best proceed request ajax + php code?

i have always documenting code, nonetheless comes ajax + php, it's always easy: formula unequivocally widespread out! logic, data, display - name - separate churned between server-side client-side code. infrequently there's also database-side formula (stored procedures, views, etc) doing biased work. this hurdles me adult an fit proceed request such code. i wholly yield list .js files inside .php record good list .php files inside .js file. i also in-line comments duty descriptions, where i list duty used record cost expected. i identical tasks database procedures. maybe there's improved method? any ideas experiences? note: doubt relates any client+server-side applications, only javascript+php.

how i exercise bit map?

i wish exercise 2d bit map category python. category have following requirements: allow formulating arbitrarily sized 2d bitmaps. i.e. emanate an 8 x 8 bitmap (8 bytes), something like: bitmap = bitmap(8,8) provide an api opening pieces 2d map boolean even integer values, i.e.: if bitmap[1, 2] bitmap.get(0, 1) able collect information packaged binary data. radically any quarrel bit map concatenated returned binary data. competence padded nearest byte something similar. bitmap.data() be means emanate new maps binary information retrieved: new_bitmap = bitmap(8, 8, bitmap.data()) i know python means perform binary operations, nonetheless i'd suggestions best exercise class.

adding gdb mingw

i've left , downloaded involuntary mingw installer mingw 5.1.4 during same gnu source-level debugger redeem candidate: gdb 6.8-3. i've following hallowed mingw bottom collection c:\mingw. problem far. however i exercise gdb debugger lot files folders same names already hallowed nonetheless files opposite those already installed. e.g c:\mingw\include\bfd.h 171 kb nonetheless gdb-6.8-mingw-3\include\bfd.h 184 kb. how i supplement gdb mingw but defilement what's already installed?

rspec - problems switching plugins gems

when dropping rspec rspec-rails plugins switching gem versions instead, there anything additional i have change spec_helper.rb something specs app change? i longer specs run successfully anymore after deletion plugins installing gems (1.1.8). more specifically, i did: delete previously-installed rspec rspec-rails plugins vendors dir sudo hallowed both rspec rspec-rails gems (1.1.8 latest writing) when controlling script/autospec, i message: /library/ruby/site/1.8/rubygems.rb:578:in report_activate_error': rubygem chronicle error: hoe(1.5.0 >= 1.7.0) (gem::loaderror) /library/ruby/site/1.8/rubygems.rb:134:in activate' /library/ruby/site/1.8/rubygems.rb:158:in activate' /library/ruby/site/1.8/rubygems.rb:157:in each' /library/ruby/site/1.8/rubygems.rb:157:in activate' /library/ruby/site/1.8/rubygems/custom_require.rb:31:in require' /library/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in req...

handling managed representatives unmanaged code

i know i technically work nonetheless i'd exercise cleanest illusory solution. here's situation: i have managed library wraps an unmanaged c-style library. c-style library functionality i'm now jacket does guess involving list strings. library's fan formula yield delegate, such during list processing, an "invalid" unfolding encountered, library callback fan around nominee grant select plan (throw an exception, reinstate unfair characters, etc.) what i'd ideally have managed c++ removed function, following means removed duty takes wholly unmanaged parameters internal c++ unmanaged formula removed during point. providing callback apparatus unmanaged formula explanation adhering indicate me. #pragma managed public nominee twine invalidstringfilter(int linenumber, twine text); ... public ilist<result> dolistprocessing(ilist<string> listtoprocess, invalidstringfilter filter) { // managed formula goes here, interpret parameters etc. } #pragma u...