text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
I am using the following schema to check the following XML file. And I find when there is more than one Information elements inside People elements, the schema check will fail. Why and how to fix it (I want to allow People element to be able to nest more than one Information items)? XML Schema file: ``` <xs:element...
[ 0.10014140605926514, 0.12674476206302643, 0.17961016297340393, -0.013219685293734074, 0.24331510066986084, 0.12724699079990387, -0.11423465609550476, -0.27037253975868225, -0.2857648432254791, -0.7159979343414307, 0.10726924240589142, 0.3482435941696167, -0.27285709977149963, 0.00119161175...
<xs:element name="Name" type="xs:string"/> </xs:sequence> <xs:attribute name="Id" type="xs:string"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> ``` XML file (schema check will fail): ``` <People> <Information Id="1"> ...
[ -0.11528817564249039, 0.15186797082424164, 0.23841744661331177, -0.09279301017522812, 0.1436200886964798, 0.09733865410089493, 0.14394353330135345, -0.5371410250663757, 0.11163783073425293, -0.5835504531860352, -0.43031808733940125, 0.6089791655540466, -0.27157026529312134, -0.089357599616...
<Name>Mike</Name> </Information> </People> ``` XML file (schema check will success): ``` <People> <Information Id="1"> <Name>John</Name> </Information> </People> ``` thanks in advance, George If you dont specify minOccurs and maxOccurs with the sequence, the default value is 1. ``` <xs:ele...
[ -0.2765223979949951, 0.32891979813575745, 0.30360427498817444, 0.2517143487930298, 0.3528597950935364, 0.04910745099186897, 0.04824310541152954, -0.17467255890369415, -0.051345016807317734, -0.570742666721344, -0.5598641633987427, 0.3850700557231903, -0.16143299639225006, -0.15649650990962...
To build a bind\_param dynamically, I have found this on other SO posts. ``` call_user_func_array(array(&$stmt, 'bindparams'), $array_of_params); ``` Can someone break this down in plain english for me? I get especially lost that the first argument is an array. ``` array($stmt, 'bindparams') ``` is PHP's way of i...
[ 0.1112489178776741, 0.2936721444129944, 0.36885789036750793, -0.10750103741884232, -0.6757861375808716, 0.03878070414066315, 0.5991285443305969, -0.6222319006919861, -0.421638160943985, -0.3905806541442871, -0.22630555927753448, 0.15538491308689117, -0.5072563886642456, -0.0896222591400146...
Just building a batch file to delete temp files on my vista machines @ home that I want to add to task scheduler. I have this so far, but I get a lot of access denied, and it never finds a thumbs.db file or index.dat and there are heaps of them. What am I doing wrong? ``` attrib +a -s -h -r "%windir%\Temp\*.*" /s d...
[ 0.21876253187656403, 0.2829945385456085, 0.2348935306072235, -0.2450045794248581, -0.033804524689912796, 0.13068661093711853, 0.6384183168411255, -0.1738135814666748, -0.3911854326725006, -0.6394606828689575, 0.17741596698760986, 0.24653680622577667, -0.290890634059906, 0.32543110847473145...
-s -h -r “%userprofile%\Application Data\Microsoft\Office\Recent\*.*” /s del /f /q /s “%userprofile%\Application Data\Microsoft\Office\Recent\*.*” >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*.gid" /s del /s /f / q "%systemdrive%\*.gid" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*.fts" /s del...
[ -0.5248209834098816, 0.5034480094909668, 0.759427547454834, -0.24489101767539978, 0.19247154891490936, 0.3323865234851837, 0.02498522587120533, -0.31088167428970337, -0.24098199605941772, -0.718937873840332, -0.6291102766990662, 0.6460236310958862, -0.30491340160369873, 0.1928158551454544,...
+a -s -h -r "%systemdrive%\*.tmp" /s del /s /f /q "%systemdrive%\*.tmp" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*.chk" /s del /s /f /q "%systemdrive%\*.chk" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*.dmp" /s del /s /f /q "%systemdrive%\*.dmp" >>"logs\temp.txt" attrib +a -s -h -r "%sys...
[ -0.31220778822898865, 0.32214125990867615, 0.5918843746185303, -0.3551795482635498, -0.10258958488702774, 0.36693137884140015, 0.059473782777786255, -0.4201572835445404, -0.3274112343788147, -0.6078365445137024, -0.5616477131843567, 0.6281924843788147, -0.2094082236289978, 0.17603486776351...
-h -r "%systemdrive%\backup*.rdb" /s del /s /f /q "%systemdrive%\backup*.rdb" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*._mp" /s del /f /s /q %systemdrive%\*._mp >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\*.log" /s del /f /s /q "%systemdrive%\*.log" >>"logs\temp.txt" attrib +a -s -h -...
[ -0.40879398584365845, 0.3969508111476898, 0.7763411998748779, -0.18111635744571686, 0.11502101272344589, 0.3074648082256317, 0.044784143567085266, -0.4220598042011261, -0.3986735939979553, -0.7708712220191956, -0.5862318873405457, 0.5626958012580872, -0.3413965106010437, 0.2524165511131286...
"%systemdrive%\Users\Default\AppData\Local\Temp\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies\*.*" /s del /f /s /q "%systemdrive%\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%systemdrive%\User...
[ -0.3756412863731384, 0.10836806893348694, 0.875664234161377, -0.10393606871366501, 0.3641948401927948, 0.22769714891910553, 0.2518615424633026, -0.3135297894477844, -0.5313779711723328, -0.7399156093597412, -0.6022050976753235, 0.5163562893867493, -0.30978673696517944, 0.06282488256692886,...
-h -r "%ProgramData%\Temp\*.*" /s del /f /s /q "%ProgramData%\Temp\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%appdata%\Adobe\Flash Player\AssetCache\*.*" /s del /f /s /q "%appdata%\Adobe\Flash Player\AssetCache\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%appdata%\Macromedia\Flash Player\#SharedObjects\*.*" /s ...
[ -0.4256196916103363, 0.591285765171051, 0.7603003978729248, -0.2665148675441742, 0.11871293187141418, 0.26673877239227295, 0.05503417178988457, -0.6689494252204895, -0.19948838651180267, -0.6117717623710632, -0.6446515321731567, 0.6981533765792847, -0.4961142838001251, -0.06026920303702354...
/q "%appdata%\Microsoft\Windows\Recent\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%appdata%\Mozilla\Firefox\Crash Reports\*.*" /s del /f /s /q "%appdata%\Mozilla\Firefox\Crash Reports\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%appdata%\Sun\Java\Deployment\cache*.*" /s del /f /s /q "%appdata%\Sun\Java\Deploymen...
[ -0.4146254360675812, 0.522532045841217, 0.716598391532898, -0.4508759677410126, 0.32288652658462524, 0.5649943351745605, 0.23121702671051025, -0.5413405895233154, -0.1624419093132019, -0.8093509078025818, -0.5946906208992004, 0.5949431657791138, -0.5667155981063843, 0.012350523844361305, ...
-r "%userprofile%\AppData\Local\Microsoft\Windows\Burn\*.*" /s del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Burn\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.*" /s del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.*" >>"l...
[ -0.45287442207336426, 0.5128229260444641, 0.7885268330574036, -0.4434134066104889, 0.3267771005630493, 0.24329151213169098, 0.2080487608909607, -0.560835063457489, -0.3898228406906128, -0.743753969669342, -0.6693559885025024, 0.7252101898193359, -0.5548003911972046, 0.07517357915639877, ...
"%appdata%\Microsoft\Windows\cookies\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%appdata%\Microsoft\Windows\Recent\*.*" /s del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*" >>"logs\temp.txt" attrib +a -s -h -r "%windir%\prefetch\*.*" /s del /f /s /q "%windir%\prefetch\*.*" >>"logs\temp.txt" attrib +a -s ...
[ -0.35514330863952637, 0.47346800565719604, 0.6755605936050415, 0.019985325634479523, 0.27072617411613464, 0.13036301732063293, 0.6012904644012451, -0.2824188768863678, -0.24910181760787964, -0.3625679910182953, -0.6851992607116699, 0.3791274428367615, -0.3159131705760956, 0.236124575138092...
need to use /A:H and/or /A:S
[ 0.208856463432312, 0.41900941729545593, -0.21952377259731293, -0.16892433166503906, -0.12654800713062286, 0.5205850005149841, 0.12978796660900116, 0.5304470658302307, -0.11499521881341934, -0.7720497846603394, -0.3217058777809143, 0.48162609338760376, 0.3084903359413147, -0.440660804510116...
How can I define Collections in PL/SQL with variables? Eg. ``` v_owner varchar(128) := 'SCHEMA_USER'; v_tablename varchar(128) := 'TABLENAME'; TYPE t_tab IS TABLE OF SCHEMA_USER.TABLENAME%ROWTYPE; v_tab t_tab; ``` What I want is to use the variables instead of the names of the owner/table. Something like that: ``...
[ -0.17813913524150848, -0.14015033841133118, 0.4575233459472656, 0.060975514352321625, -0.30180779099464417, 0.07837569713592529, 0.19675110280513763, -0.4778006374835968, -0.4728691279888153, -0.34332549571990967, -0.1806780844926834, 0.5526549816131592, -0.48307743668556213, 0.21417540311...
t_tab IS TABLE OF ' || v_owner || '.' || v_tablename || '%ROWTYPE;' 7 || ' v_tab t_tab;' 8 || ' BEGIN' 9 || ' SELECT * BULK COLLECT INTO v_tab' 10 || ' FROM
[ -0.28783077001571655, -0.19056639075279236, 0.680774986743927, -0.14211007952690125, 0.00984489917755127, 0.3225395679473877, -0.11551377922296524, -0.30373334884643555, -0.3699650466442108, -0.5267108678817749, -0.5150648951530457, 0.33563125133514404, -0.4319426715373993, 0.1728368550539...
emp WHERE empno = :input1;' 11 || ' dbms_output.put_line(v_tab(1).ename);' 12 || 'END;'; 13 EXECUTE IMMEDIATE v_str USING 7839; 14 END; 15 / KING PL/SQL procedure successfully completed. ```
[ 0.004457707982510328, -0.06106570363044739, 0.9674244523048401, -0.18998751044273376, 0.21334438025951385, 0.21988391876220703, 0.7054039835929871, -0.5324163436889648, -0.3175499141216278, -0.2181195467710495, -0.6109286546707153, 0.5875693559646606, -0.380705863237381, 0.1893437206745147...
I have the following tables: ``` Country: Country_ID, CountryName Regions: Region_ID, RegionName, Country_ID Areas: Area_ID, AreaName, RegionID ``` I am not using foreign keys and not planning to do so, all I wanna do now is to be able in one query in the tableAdapter of country table to delete Country and all relat...
[ -0.08844219893217087, 0.13399256765842438, 0.6963441371917725, 0.19421802461147308, 0.15499375760555267, -0.09811606258153915, 0.2478846162557602, -0.008228214457631111, -0.39970970153808594, -0.7499194741249084, -0.3084396421909332, 0.1023339331150055, 0.01781459152698517, 0.6245311498641...
reconsider using foreign key relationships and cascade delete for this purpose.
[ 0.0005358837661333382, -0.06594067066907883, -0.20743896067142487, 0.05218042433261871, -0.04842367768287659, -0.46380752325057983, 0.5062807202339172, 0.06110258027911186, -0.005488093011081219, -0.3829544484615326, -0.25102153420448303, 0.06775835156440735, -0.2567046880722046, 0.0196564...
I have a simple Ajax function, something like this: ```js var x; var myRequest = new Array(); function CreateXmlHttpReq(handler) { var xmlhttp = null; try { xmlhttp = new XMLHttpRequest(); } catch (e) { try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { ...
[ -0.03396915644407272, -0.26426929235458374, 0.3617047369480133, -0.19730862975120544, -0.14397978782653809, 0.003498414997011423, 0.2273588925600052, -0.3191238343715668, 0.014240950345993042, -0.764000415802002, -0.257218599319458, 0.3690548241138458, -0.5969229936599731, 0.08240492641925...
} } xmlhttp.onreadystatechange = handler; return xmlhttp; } function getResults() { var r = Math.random(); var someVar = document.getElementById("myvar").value; var myUrl = "url/of/my/phpScript.php?"; myUrl += "r=" + r; //encodeURIComponent() instead of escape() when i aspect normal tex...
[ 0.06344804167747498, 0.006239175330847502, 0.7152758836746216, -0.2682364881038666, -0.06707067787647247, 0.33353936672210693, 0.3980053961277008, -0.46848952770233154, -0.2966288924217224, -0.4572875201702118, -0.54249507188797, 0.6094844341278076, -0.475971519947052, -0.05236348137259483...
printResultHandler(x); }); myRequest[x].open("GET", myUrl); myRequest[x].send(null); } //example handler function printResultHandler(x) { if (myRequest[x].readyState == 4 && myRequest[x].status == 200) { //usually i use innerHTML for quick requests, the DOM for more complex req document...
[ -0.18199871480464935, -0.21744892001152039, 0.7455334663391113, -0.2203797549009323, -0.015452339313924313, 0.08664761483669281, 0.41994428634643555, -0.41901925206184387, -0.1685267686843872, -0.6570286154747009, -0.4191756844520569, 0.6602745652198792, -0.29981595277786255, 0.12384189665...
when the return flux is big (it can be XML, HTML, or whatever), the browser seems to 'fall asleep' for a while. I don't like to have a big amount of text (XML, HTML) all in one. It isn't nice to handle that. I'm wondering if there exists some way to buffer that request. When the request is done and returns the `200` s...
[ 0.01845996454358101, -0.15073652565479279, 0.713853120803833, -0.036804236471652985, -0.11379579454660416, 0.023837856948375702, 0.12137620896100998, -0.06873814016580582, -0.20892086625099182, -0.8433447480201721, -0.10485000908374786, 0.36840981245040894, -0.16866923868656158, 0.12768703...
//usually i use innerHTML for quick requests, the DOM for more complex req //document.getElementById(div).innerHTML = myRequest[x].responseText; var answer; while ((answer = readline(myRequest[x].responseText))) { //to something; } //this will hide the overlay showed ...
[ -0.04635057598352432, -0.21032899618148804, 0.634521484375, -0.15667228400707245, -0.15374283492565155, -0.09643310308456421, 0.17718535661697388, -0.17903049290180206, -0.10440439730882645, -0.4790045917034149, -0.4113352596759796, 0.5114526152610779, -0.1750406175851822, 0.18924757838249...
of the `readdir()` or `fread()` of PHP. Agreed, buffering a request is not really something you can do. You can consider staggering a user request for data over a set of HTTP requests, parsing and processing each HTTP request as it comes back. For example, if the user wishes to request records 1 to 1000, the client c...
[ -0.027155818417668343, -0.30548056960105896, 0.5628343224525452, 0.1811722218990326, -0.33402013778686523, 0.15094240009784698, -0.17378266155719757, -0.24776385724544525, -0.3323788046836853, -0.31993812322616577, 0.20662890374660492, 0.3839911222457886, -0.08714109659194946, 0.0022305361...
records displays before the user has managed to deal with the first 100 records it should be ok. The overall time to complete the request will be longer, however the web app will appear more responsive and the perceived task completion time will be lower. You should also consider switching from XML to JSON if you're n...
[ 0.11939331144094467, 0.03775013983249664, 0.5742127299308777, 0.3167189657688141, -0.35953402519226074, -0.21383172273635864, 0.10530830174684525, -0.17462703585624695, -0.44907042384147644, -0.8285391330718994, -0.028553403913974762, 0.5832981467247009, -0.021964211016893387, -0.466391921...
much the same. The difference lies in the time required to traverse and read the resulting data structure. Browser functions for traversing and accessing the data within the DOM of a parsed response are relatively slow. Browser DOM API methods mask the complexity of what is involved in DOM traversing and make a slow p...
[ -0.282701313495636, -0.088166244328022, 0.26464739441871643, 0.0969838947057724, -0.40202105045318604, 0.1311543583869934, 0.5116165280342102, -0.5097340941429138, -0.2738957405090332, -0.6809080243110657, -0.09664998948574066, 0.7063432931900024, 0.05270496755838394, -0.3580019474029541, ...
with FireFox 3.1 beta 2 using 10Mb of source data, traversing the DOM of an XML response took about 30 seconds. Doing the same for a JavaScript object populated from the same original large data set took about 15 seconds.
[ -0.10834597796201706, -0.2860235273838043, 0.3899517059326172, -0.2526036500930786, -0.25857049226760864, 0.008788494393229485, 0.4377152919769287, -0.8212287425994873, 0.05736328288912773, -0.3652470111846924, -0.2804594039916992, 0.5301475524902344, -0.4117468595504761, -0.58850210905075...
I have a structure with no members (for the moment) and I would like to know if it is possible to suppress the warning I get: ``` warning: struct has no members ``` Is it possible to add a member and keep the `sizeof` the struct zero? Any other solution? In c the behaviour of an empty structure is compiler dependen...
[ -0.017170779407024384, 0.12419690936803818, 0.012906184419989586, -0.2566017508506775, -0.16227570176124573, -0.3673569858074188, 0.20905724167823792, -0.12088403105735779, -0.415130615234375, -0.22097636759281158, -0.3347831964492798, 0.38542160391807556, -0.3841838538646698, 0.2854514718...
shall have nonzero size. in C it is rather more murky since the c99 standard has some language which implies that truly empty structures aren't allowed (see TrayMan's answer) but many compilers do allow it (e.g [gcc](http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Empty-Structures.html#Empty%20Structures)). Since this is...
[ 0.2706129848957062, 0.27211928367614746, 0.41879910230636597, 0.19158466160297394, 0.09622041136026382, -0.5056456923484802, 0.26389896869659424, -0.4354937970638275, -0.4342831075191498, -0.39092889428138733, -0.2982672452926636, 0.15362943708896637, -0.3990257978439331, 0.292906194925308...
I'm moving my dedicated server to another provider and I'm migrating everything over to the new server. One thing that I haven't been able to figure out is how to save ACLs (access control lists) from an existing system into another. I have 3 different local user accounts that I use on IIS to isolate each web site ac...
[ 0.5112450122833252, 0.09553135186433792, 0.18589933216571808, 0.1514376848936081, 0.05849044397473335, 0.22781546413898468, 0.15628254413604736, 0.3017709255218506, -0.4610840380191803, -0.9770146012306213, 0.18224474787712097, 0.1628316044807434, -0.2185935080051422, 0.40081074833869934, ...
help provided. To answer my own question, I've found a program named AccessEnum that lists all the folders that have different permissions than the parent. <http://technet.microsoft.com/en-us/sysinternals/bb897332.aspx> This has allowed me to identify which folders need write or write/execute permissions and apply th...
[ 0.012496860697865486, 0.12053240090608597, 0.11069687455892563, 0.3598911166191101, 0.2327258586883545, -0.053438734263181686, 0.0825141966342926, 0.1643233448266983, -0.23203973472118378, -0.6133095622062683, -0.1561850756406784, 0.4059055745601654, 0.13754954934120178, 0.2464550733566284...
How to convert from `DateTime.ToFileTime()` back to a `DateTime` object? I guess DateTime.FromFileTime()
[ 0.2301628440618515, -0.34717246890068054, 0.12132822722196579, -0.0256901104003191, 0.36083176732063293, -0.23582348227500916, 0.06577246636152267, 0.041070934385061264, -0.06553714722394943, -0.5799058079719543, 0.0510319359600544, 0.6466046571731567, -0.4279113709926605, 0.22326757013797...
I am just looking into development for the iPhone and I was wondering if it is possible to trigger an action at a certain time? Based on what I have read it does not seem like this is currently not an option because there are no background processes allowed. Is this true? If so do you guys/gals have any ideas on alter...
[ 0.28107595443725586, -0.003934972919523716, -0.02551852911710739, 0.2824237048625946, 0.039352450519800186, -0.025784259662032127, 0.37402382493019104, 0.100448377430439, -0.32546624541282654, -0.3979251980781555, 0.08313925564289093, 0.7102682590484619, -0.24780498445034027, -0.1335205733...
< RuntimeError attr_accessor :my_message def initialize(m) @my_message = m.dup super end end def foo raise MyError.new("Help!") end puts "\nRescue eval 'foo'" begin eval "foo" rescue RuntimeError => e puts e.my_message end ``` With output: ``` Rescue eval 'foo' Help! ``` In anything larger than ...
[ -0.09526327252388, 0.05037112534046173, 0.698464035987854, -0.2890000641345978, 0.21076169610023499, 0.24075104296207428, 0.7177261114120483, -0.48921534419059753, -0.1219775527715683, -0.7010337710380554, -0.3117738962173462, 0.4926694333553314, -0.29919999837875366, -0.01758725382387638,...
I am very very new to xml. I am developing an application which uses xml file. I created this file with the help of Google. My sample xml file is: ``` <?xml version="1.0"?> <gamelist> <game> <title>Driver</title> <code><EMBED src="http://www.pnflashgames.com/modules/pnFlashGames/games/racer.swf"></EMBED></code> ...
[ 0.3309336006641388, 0.31598740816116333, 0.44070813059806824, 0.03328413888812065, -0.20035700500011444, -0.20895934104919434, -0.2601063847541809, -0.5492821931838989, -0.10271309316158295, -0.6788339018821716, 0.33119192719459534, 0.6888741254806519, 0.023873550817370415, 0.2107762545347...
**[fatal error] gamelist.xml:5:103 : reference to entity "pn\_uname" must end with the ";" delimeter .** I am using Java for reading xml file. In my Java class I want the whole embed tag as a string. I suppose you are not generating the XML with suitable tools (a DOM API), but by concatenating strings. If further sup...
[ -0.2115715593099594, 0.3388880789279938, 0.013848531991243362, -0.12676860392093658, -0.07538487762212753, -0.03868848457932472, 0.17201189696788788, -0.32906967401504517, -0.10822495073080063, -0.3487955927848816, 0.015667183324694633, 0.7904356122016907, -0.30016955733299255, 0.178846776...
is what using an API for XML generation would automatically handle for you. Avoid string concatenation to produce XML.
[ 0.11434116214513779, -0.12063909322023392, -0.027402281761169434, 0.2609090209007263, 0.033889517188072205, -0.3464147746562958, -0.055416520684957504, 0.12307442724704742, 0.03274724259972572, -0.4371146857738495, -0.31370046734809875, 0.35556426644325256, -0.24336443841457367, -0.1615073...
I have a webpart which uses SPGridView to render tabulated data. I need to provide a button in the webpart, which upon clicking will export the SPGridView into a document, preferably, an Excel Sheet or a Word document. How do I export the data from an SPGridView? <http://mattberseth.com/blog/2007/04/export_gridview_to_...
[ 0.015033832751214504, -0.046129629015922546, 0.6681302189826965, -0.2771844267845154, -0.2696846127510071, 0.1058514416217804, 0.04599075764417648, 0.022214524447917938, -0.19159936904907227, -0.6115584373474121, 0.1612875908613205, 0.4929923117160797, -0.2140255719423294, -0.0026257599238...
i have a rave report with 5 pages inside it, we need to export to excel two page from those 5 report pages, each page is a report itself... we use gnostice v2.5 to do the exporting. currently using Rave 6.5 with BDS2006. Hi, maybe i was not clear enough, i have 1 Report which consists of 5 pages, Page1, Page2, Page3...
[ 0.5706450939178467, 0.22166232764720917, 0.4371933341026306, 0.06498033553361893, -0.6106444597244263, -0.0777335911989212, 0.25821664929389954, -0.30588436126708984, -0.008707691915333271, -0.44777625799179077, 0.2485048472881317, 0.5220810770988464, -0.2605116069316864, 0.205174729228019...
Vladimir I believe you'll have to write your own slider to do that. There seems to be no (public) API to change UISlider's behavior regarding the stretchable region.
[ 0.26395371556282043, 0.17577791213989258, 0.8455640077590942, 0.21959462761878967, -0.04551753029227257, -0.36837300658226013, 0.4368457496166229, -0.1764163076877594, -0.15207776427268982, -0.28163576126098633, -0.08663678169250488, 0.03440983593463898, -0.20618608593940735, 0.53159469366...
How do I get the 'default' param if not specified? Consider the following: ``` http://localhost/controller/action/id/123 ``` In my controller, I can get the value of 'id' using ``` $request = $this->getRequest(); $id = $request->getParam('id'); ``` If the URL is ``` http://localhost/controller/action/456 ``` ...
[ 0.03450993448495865, -0.12544217705726624, 0.8506531715393066, -0.07548179477453232, -0.21180769801139832, 0.3547486960887909, 0.1258537471294403, -0.8894104957580566, -0.5567437410354614, -0.46936893463134766, -0.2261049747467041, 0.17550992965698242, -0.12159013003110886, 0.1122311875224...
'controller' => 'yourController', 'action' => 'yourAction' ), array('id' => '\d+') ); $router->addRoute('yourController', $route); ```
[ -0.19078800082206726, -0.4648165702819824, 0.5859970450401306, 0.29709744453430176, 0.4313207268714905, -0.05906973034143448, -0.025076476857066154, -0.05768706649541855, -0.18851915001869202, -0.5391285419464111, -0.48804691433906555, 0.3968079090118408, -0.42751604318618774, 0.0222921520...
How do I delete a column from an existing table? The command you're looking for is: ``` alter table tblName drop column columnName ``` where `tblName` is the name of the table and `columnName` is the name of the column, but there's a few things you may need to do first. * If there are any foreign key references to ...
[ 0.10709534585475922, 0.21480952203273773, 0.5433598756790161, -0.10425885766744614, 0.1973373144865036, -0.04899149760603905, 0.18461328744888306, -0.15510758757591248, -0.27849623560905457, -0.5230478644371033, -0.09955977648496628, 0.6673972606658936, -0.3228123188018799, 0.3583092093467...
One option is to wait for a down-time period when you can be certain no-one will be accessing the database, rename the current table, then use `create table` and `insert into ... select from` to transfer the columns you don't want deleted. One of the later releases of Oracle actually has a soft delete which can just m...
[ -0.02056235261261463, -0.24001364409923553, 0.10815363377332687, 0.15721160173416138, 0.0840960368514061, 0.0009909854270517826, 0.23232343792915344, 0.09510946273803711, -0.3413305878639221, -0.26104581356048584, -0.151907816529274, 0.5454563498497009, -0.256821870803833, 0.00363876554183...
which does the hard work of actually removing it physically. This has the advantage of "disappearing" the columns immediately without dragging down database performance during busy times.
[ -0.05418640747666359, 0.2558903992176056, 0.3531547486782074, 0.1691511869430542, 0.40806686878204346, -0.26748722791671753, 0.3277745544910431, 0.07993895560503006, -0.2508561611175537, -0.24588535726070404, -0.38345134258270264, 0.08148743212223053, -0.2218371480703354, 0.389767080545425...
I am a fan of **valid** web pages and always spend time passing new sites through the [W3C validator](http://validator.w3.org/). When trying to make a case for why companies should validate web pages I quickly thought of **accesibility** and the **future-proofing** of the web site on more primitive devices such as pho...
[ 0.6384629607200623, 0.5774121880531311, 0.08825675398111343, 0.20310813188552856, -0.281446248292923, -0.3364422023296356, 0.24549005925655365, 0.14750094711780548, -0.23862354457378387, -0.35841748118400574, 0.19117385149002075, 0.268171101808548, 0.33119305968284607, 0.28094345331192017,...
render because the browser will need to implement some fault recovery (deductive work to find where the next valid content is and how the browser can continue rendering it) and this can introduce an overhead. Actual difference can only be told after careful measurements and (if possible) browser source code analysis.
[ 0.01379450410604477, 0.19282053411006927, 0.5012522339820862, 0.15486015379428864, -0.025326011702418327, 0.40538111329078674, 0.4331687092781067, -0.11908231675624847, 0.099026158452034, -0.7485443949699402, -0.1779852956533432, 0.34058278799057007, -0.08956985175609589, -0.15689912438392...
I was goint through k & r. I was having problem in understanding following lines on page 197(section A6) > Integral conversions: any integer is > converted to a given unsigned type by > finding the smallest non negative > value that is congruent to that > integer,modulo one more than the > largest value that can ...
[ -0.0664968490600586, 0.19410601258277893, 0.4743930399417877, -0.1636417955160141, -0.07783699035644531, 0.06869452446699142, 0.2946367561817169, -0.6279018521308899, -0.39545586705207825, -0.6451389789581299, -0.1304044872522354, 0.6090230941772461, -0.30449432134628296, 0.002056441269814...
can be represented in the unsigned type. Let's take this bit by bit and from backwards: > What is the largest value that can be represented in the unsigned type of width n bits? ``` 2^(n) - 1. ``` > What is one more than this value? ``` 2^n. ``` > How does the conversion take place? ``` unsigned_val = signed_...
[ 0.2626543343067169, -0.04936888441443443, 0.1761023849248886, -0.10376744717359543, -0.3213164210319519, 0.03354889526963234, 0.07197189331054688, -0.16628773510456085, -0.12422734498977661, -0.8211544752120972, -0.15834541618824005, 0.6440661549568176, -0.32900822162628174, 0.006609483156...
Integral Conversions from the Standard for further details.
[ 0.22232890129089355, -0.17410531640052795, 0.5404133796691895, -0.16795961558818817, 0.0910196378827095, -0.018361737951636314, -0.2002006471157074, -0.6501105427742004, -0.18325994908809662, -0.5594111084938049, -0.11289539933204651, 0.5635980367660522, 0.15725073218345642, -0.06032305210...
As an hobby I wrote a game in JavaScript and would love to publish it to Facebook, can you write a Facebook application using pure HTML and JavaScript? Yes. Absolutely. In fact, one of the options for developing a Facebook application is an embedded frame pointing to your website which can be whatever you want, includi...
[ 0.7193804979324341, 0.15288272500038147, 0.26771795749664307, 0.2534715533256531, 0.04623246192932129, -0.16778869926929474, -0.1644594669342041, 0.14843516051769257, -0.3878061771392822, -0.4385214149951935, 0.4219079315662384, 0.5877887010574341, 0.005685621406883001, -0.2354501038789749...
Google Ajax API etc...) Facebook applications are pleasantly simple to develop. The documentation is indeed at: <http://developers.facebook.com/> I would also note that traffic with regards to Facebook, things can spin up really quickly. There are stories of students [creating applications which quickly scaled to mi...
[ 0.2871747314929962, -0.10269267112016678, 0.31243571639060974, 0.322637140750885, -0.20645363628864288, -0.3138309419155121, 0.18825460970401764, 0.4805646538734436, -0.282479465007782, -0.5159119367599487, 0.18677720427513123, 0.5145503282546997, 0.06784066557884216, -0.33314743638038635,...
I have a question about a SQL statement generated by a LINQ2SQL query. I have two database tables (`VisibleForDepartmentId` is a foreign key): ``` AssignableObject Department ---------------------- ------------ AssignableObjectId ┌────> DepartmentId AssignableObjectType │ VisibleF...
[ -0.3185533583164215, 0.36318525671958923, 0.42484164237976074, -0.06992117315530777, 0.0918901190161705, 0.1693267673254013, -0.10205953568220139, -0.2307891994714737, 0.03242344409227371, -0.6532745957374573, -0.04656187817454338, 0.43236565589904785, 0.0017121416749432683, 0.219854429364...
DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> <Column Name="AssignableObjectType" Type="System.String" DbType="VarChar(50) NOT NULL" CanBeNull="false" AccessModifier="Private" IsDiscriminator="true"/> <Column Name="Visi...
[ -0.022766755893826485, 0.0634070336818695, 0.05646916478872299, -0.2898849546909332, -0.26303085684776306, 0.14282850921154022, 0.5608843564987183, -0.7112118601799011, 0.14000418782234192, -0.5299814939498901, -0.1357528269290924, 0.4673152565956116, -0.38636621832847595, 0.23449936509132...
Name="Department_AssignableObject" Member="VisibleForDepartment" ThisKey="VisibleForDepartmentId" OtherKey="DepartmentId" Type="Department" IsForeignKey="true" /> <Type Name="Asset" InheritanceCode="Asset" IsInheritanceDefault="true" /> <Type Name="Role" InheritanceCode...
[ -0.3726503551006317, -0.15531302988529205, 0.09926625341176987, -0.2321358174085617, 0.10719341784715652, 0.26982101798057556, 0.07908013463020325, -0.388871967792511, -0.19757051765918732, -0.49881598353385925, -0.5311528444290161, 0.39924266934394836, -0.12486560642719269, 0.442349940538...
NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> <Column Name="Name" Type="System.String" DbType="VarChar(50) NOT NULL" CanBeNull="false" /> <Association Name="Department_AssignableObject" Member="AssignableObjects" ThisKey="Departme...
[ -0.11607401072978973, 0.020987438037991524, 0.2158438116312027, -0.10164652019739151, 0.09219466894865036, 0.04395312815904617, 0.2905346155166626, -0.3565340042114258, -0.1220666766166687, -0.42990806698799133, -0.201728954911232, 0.3818684220314026, -0.45590418577194214, 0.11982848495244...
following code: ``` var loadOptions = new DataLoadOptions(); loadOptions.LoadWith<Asset>(a => a.VisibleForDepartment); dataContext.LoadOptions = loadOptions; var assets = from a in dataContext.Assets select a; ``` This results in a SQL query with two identical left outer joins: ``` SELECT t0.Assignable...
[ -0.2170080691576004, 0.04152696579694748, 0.10185057669878006, -0.130898118019104, 0.13667547702789307, 0.462210088968277, 0.09790656715631485, -0.3917875289916992, -0.2818964421749115, -0.5734223127365112, -0.24404630064964294, 0.37916919589042664, 0.0278624277561903, 0.11444014310836792,...
OUTER JOIN ( SELECT 1 AS test, t3.DepartmentId, t3.Name FROM dbo.Department AS t3 ) AS t4 ON t4.DepartmentId = t0.VisibleForDepartmentId ``` Why are there two outer joins where one would have been sufficient? Kind regards, Ronald I found out what causes these duplicated outer joins. They occur when a pe...
[ -0.027629980817437172, -0.4452826976776123, 0.13498778641223907, -0.11878836154937744, -0.027400009334087372, 0.13368000090122223, 0.16568666696548462, -0.3520914316177368, -0.25308939814567566, -0.48441559076309204, 0.030195927247405052, 0.5766868591308594, -0.4549581706523895, 0.21545942...
I add another subclass, a third outer join is added. I'm not sure whether SQL Server is smart enough to realize that the outer joins are duplicated. I've [posted this](https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=434254) on Microsoft Connect. **EDIT**: Apparently my issue was a dup...
[ 0.12572720646858215, -0.08962291479110718, 0.6143245100975037, 0.051814965903759, -0.12508314847946167, 0.09151986241340637, 0.22071431577205658, 0.27924981713294983, -0.530392050743103, -0.5146273374557495, 0.28377529978752136, 0.22549927234649658, -0.4426358640193939, 0.4685167074203491,...
I'm currently looking at disaster recovery plans and restoring backups of master/msdb/model. In theory if I restore master, msdb, model and the user databases onto a fresh server install (with the same service packs etc) then I will have an exact copy of the original server, with all the maintenance plans and jobs and...
[ 0.1875101625919342, 0.30549272894859314, 0.35843217372894287, 0.046700626611709595, -0.07667335122823715, -0.24076862633228302, 0.4794527590274811, -0.06191636994481087, -0.3778247535228729, -0.6116891503334045, 0.14116661250591278, 0.6659153699874878, -0.09962911158800125, 0.2311865687370...
helpful, but neither of them clearly answers the question as far as I can tell. My question was: after restoring master, msdb etc, (and assuming I'm not using any of that SQL encryption stuff) will everything work OK if the new server and SQL instance has a different name to the original? Or do I *have* to keep the sam...
[ 0.38392573595046997, -0.13581690192222595, 0.2330077737569809, 0.11099650710821152, 0.06604772061109543, -0.12408874928951263, 0.6718823313713074, 0.139272540807724, -0.2915918827056885, -0.4146501421928406, 0.022894568741321564, 0.6060238480567932, -0.13200132548809052, 0.3371349573135376...
to use `DateTime` and not `Time`? `Time` should include everything you need: ``` irb(main):016:0> Time.now => Thu Apr 16 12:40:44 +0100 2009 ```
[ -0.03502361476421356, 0.010353426449000835, 0.5521954894065857, -0.12623855471611023, 0.43156182765960693, 0.12293420732021332, 0.05865844711661339, 0.22479620575904846, -0.09919703751802444, -0.7073931097984314, -0.15835261344909668, 0.550146758556366, -0.3534698188304901, 0.2763061821460...
I've read around about `const` and `static readonly` fields. We have some classes which contain only constant values. They are used for various things around in our system. So I am wondering if my observation is correct: Should these kind of constant values always be `static readonly` for everything that is public? An...
[ 0.2855302393436432, -0.020672911778092384, 0.02479252964258194, 0.28478315472602844, -0.09227492660284042, -0.41198354959487915, -0.05132894590497017, 0.2728925049304962, -0.3183780312538147, -0.08399627357721329, -0.031666532158851624, 0.8302857875823975, -0.3568306267261505, 0.3633446395...
field). `const` values are burned directly into the call-site; this is double edged: * it is useless if the value is fetched at runtime, perhaps from config * if you change the value of a const, you need to rebuild all the clients * but it can be faster, as it avoids a method call... * ...which might sometimes have b...
[ 0.02048657275736332, 0.020679373294115067, 0.19551055133342743, -0.11986012011766434, -0.02405594289302826, -0.20441460609436035, 0.32363221049308777, -0.08136092126369476, -0.040471937507390976, -0.2852058410644531, -0.16221214830875397, 0.7416191697120667, -0.3989533483982086, 0.28611722...
I have Hidden field like ``` <%= Html.Hidden("ID", 1) %> ``` and in javascript i want a value of that field by ``` var ID = document.getElementsByName("ID").value; ``` I can't access it! is there any other way? Not sure of the context but shouldn't you be using [getElementById](http://www.w3schools.com/jsref/m...
[ 0.3086016774177551, 0.25626540184020996, 0.22873611748218536, -0.12388689070940018, 0.2640826106071472, -0.2955312132835388, 0.6345105171203613, -0.14669770002365112, -0.06213318929076195, -0.6397086977958679, -0.339081346988678, 0.6581884026527405, -0.20362192392349243, 0.0957168564200401...
Final question for today :) thanks for your input on the previous ones. BTW: Already searched the forum on this and nothing quite answers this one. We use some 3rd party libraries which pop work onto the Threadpool and we don't want to shutdown while there are outstanding activities. When shutting down an application...
[ 0.5507740378379822, -0.05065951868891716, 0.12882983684539795, 0.38202404975891113, 0.00807223655283451, -0.36242586374282837, 0.13684166967868805, 0.04952095448970795, -0.6301859021186829, -0.2696464955806732, 0.1772293746471405, 0.5706573724746704, -0.11437296122312546, 0.201014071702957...
to stop the application shutting down while there is outstanding work to be done. I've looked at using the GetAvailableThreads() vs GetMaxThreads(), but these can be the same because we may have caught the Threadpool as a thread was freed up but not allocated a queued workitem. All help appreciated? Kind Regards Noe...
[ 0.1830492466688156, 0.01136084832251072, 0.1469312161207199, 0.38962358236312866, -0.1996021419763565, 0.039703503251075745, 0.555046796798706, 0.06122694909572601, -0.31142014265060425, -0.5354081392288208, -0.0956154316663742, 0.28255537152290344, -0.017564933747053146, 0.286004275083541...
I need to populate 4 GridViews on an aspx page, but I only bind a datatable to one of them on page load. I need to pupulate the other 3 after page load. does anyone know the best way to do this using ajax ? Currently I'm using javascript to \_\_doPostBack on a button that pupulates the 3 GridViews but unfortunately ...
[ 0.2858424186706543, 0.011642524972558022, 0.5392005443572998, 0.09444335848093033, -0.30621322989463806, 0.10833726078271866, 0.14830555021762848, -0.23046107590198517, -0.2892872393131256, -0.9330077171325684, 0.05977797880768776, 0.4404597580432892, -0.2369677722454071, 0.148751065135002...
ok, although using jquery to populate a div via the $("#targetDiv").load("contentUrl"); function may be a cleaner way to do it. Anyway, in order to get your current implementation working, there could be a few things you want to look at: 1. I assume EnablePartialRendering is true on your ScriptManager (always worth ch...
[ 0.38138124346733093, -0.21775388717651367, 0.5347999334335327, 0.006669031456112862, -0.08426109701395035, -0.4728163778781891, 0.5419319272041321, -0.1570209413766861, -0.08097174763679504, -0.7298234105110168, 0.06021150201559067, 0.962338924407959, -0.18411973118782043, -0.3379638791084...
event handler if you have attached this to a button, to make sure the form is not being submitted normally by your browser when you click the button.
[ 0.18336910009384155, -0.6516188979148865, 0.05144835636019707, 0.03037111833691597, -0.03147967904806137, -0.5973872542381287, 0.050355300307273865, -0.04037962108850479, -0.16747571527957916, -0.5215239524841309, -0.3803904950618744, 0.430151104927063, -0.09687096625566483, -0.15964119136...
Is there any way to keep global variables visible only from inside a library while inaccessible from programs that access that library in C? It's not that it is vital to keep the variable protected, but I would rather it if programs couldn't import it as it is nothing of their business. I don't care about solutions i...
[ 0.06706038117408752, 0.16654425859451294, 0.3090924918651581, -0.06510598212480545, 0.24616816639900208, -0.03473344445228577, 0.0974063128232956, 0.33236026763916016, -0.42584744095802307, -0.4538988471031189, -0.18834756314754486, 0.7443822026252747, -0.4543885588645935, 0.23242375254631...
What can be done? Are you setting the character encoding correctly? try this: ``` mimemessage.setText(s6,"utf-8"); ``` you may need utf-16, cant remember what char set hebrew is on off the top of my head. try here <http://www.i18nguy.com/unicode/codepages.html>
[ 0.47608017921447754, 0.4604598581790924, 0.03964371234178543, -0.2579690217971802, -0.038743384182453156, 0.03757401183247566, 0.18053270876407623, -0.1874772608280182, -0.05257953703403473, -0.8675745129585266, -0.34400177001953125, 0.6426718235015869, -0.1653805524110794, -0.178159996867...
I have a faint memory of being able to use VBA functions to calculate values in Excel, like this (as the cell formula): ``` =MyCustomFunction(A3) ``` Can this be done? EDIT: This is my VBA function signature: ``` Public Function MyCustomFunction(str As String) As String ``` The function sits in the `ThisWorkboo...
[ -0.006145000457763672, 0.33859890699386597, 0.39032191038131714, -0.14786946773529053, 0.15003961324691772, -0.3715880215167999, 0.28705358505249023, -0.13613763451576233, -0.1314845085144043, -0.5036483407020569, -0.22013209760189056, 0.4645940065383911, -0.24107812345027924, 0.1106632724...
See <http://www.vertex42.com/ExcelArticles/user-defined-functions.html> for a nice introduction with examples. Here's a simple example: * Create a new workbook * Switch to VBA view (Alt-F11) * Insert a module: Insert | Module * Module contents: ``` Option Explicit Function MyCustomFunction(input) MyCustomFunct...
[ -0.08593560010194778, -0.1505921632051468, 0.5556164979934692, -0.296398788690567, -0.10564224421977997, 0.18489181995391846, 0.13082946836948395, -0.22437897324562073, -0.2697262465953827, -0.45063066482543945, -0.3368256092071533, 0.6667289733886719, -0.41961732506752014, -0.065160579979...
I want to add an int into an array, but the problem is that I don't know what the index is now. ``` int[] arr = new int[15]; arr[0] = 1; arr[1] = 2; arr[2] = 3; arr[3] = 4; arr[4] = 5; ``` That code works because I know what index I am assigning to, but what if I don't know the index... In PHP, I can just do `arr[]...
[ 0.28541457653045654, 0.478016197681427, 0.17958423495292664, -0.2820676863193512, -0.3171405792236328, 0.012696458958089352, 0.28016531467437744, -0.4884231984615326, -0.10594154894351959, -0.2954463064670563, 0.13922417163848877, 0.5558634996414185, -0.46048101782798767, -0.14247319102287...
in C++ with plain arrays. The C++ solution for that is by using the STL library that gives you the [`std::vector`](http://en.cppreference.com/w/cpp/container/vector). You can use a `vector` in this way: ``` #include <vector> std::vector< int > arr; arr.push_back(1); arr.push_back(2); arr.push_back(3); ```
[ -0.20136624574661255, -0.16378439962863922, 0.5812479257583618, -0.5092771649360657, -0.28527340292930603, 0.2327093631029129, -0.11978898197412491, -0.3470975458621979, -0.3725133538246155, -0.27316609025001526, -0.3252965807914734, 0.5114210247993469, -0.6618526577949524, -0.263571530580...
can anyone help, we have a sql server 2005 database installed (actually its an sql server 2000 attached to an sql server 2005 server) with the default server language language USA with dateformat like mm/dd/yy and we really need to keep it this way but currently just uploaded a new database to the server and this needs...
[ 0.02158416621387005, 0.16206443309783936, 0.4031704068183899, 0.25472527742385864, 0.007422774564474821, -0.008219369687139988, 0.38675597310066223, 0.2826731503009796, -0.40471065044403076, -0.5071954727172852, 0.23308712244033813, 0.7227383255958557, -0.13132186233997345, -0.100944496691...
which fails.. SELECT \* FROM sesiones WHERE ultimo\_acceso < '16/04/2009 13:36:17' but of course we can add this which now works SELECT \* FROM sesiones WHERE ultimo\_acceso < Convert(datetime, '16/04/2009 13:36:17', 103) but the problem being is that there are a large number of sql statements within the applicatio...
[ -0.37661683559417725, 0.40543803572654724, 0.7194887399673462, 0.004860918503254652, 0.1481139063835144, -0.05168536305427551, 0.5360597372055054, 0.051915671676397324, -0.31585368514060974, -0.5863763689994812, -0.014266728423535824, 0.6194452047348022, -0.22470220923423767, 0.23151798546...
**user** by selecting the *default language* for that user in SQL Management Studio > Security > Logins > {user properties} > Default language. And you can see the date format for each language with ``` EXEC sp_helplanguage ```
[ 0.0924399122595787, 0.02582499571144581, 0.448633074760437, -0.041843801736831665, 0.2637360095977783, -0.07010185718536377, 0.02528272196650505, 0.37330472469329834, -0.30593055486679077, -0.47157400846481323, -0.5891901254653931, 0.14003288745880127, -0.0009124883217737079, -0.1025307476...
I recently read the excellent article "[The Transactional Memory / Garbage Collection Analogy](http://www.cs.washington.edu/homes/djg/papers/analogy_oopsla07.pdf)" by Dan Grossman. One sentence really caught my attention: > In theory, garbage collection can > improve performance by increasing > spatial locality (due...
[ 0.31870749592781067, -0.024792883545160294, -0.15915212035179138, 0.07519086450338364, -0.2885389029979706, 0.07300877571105957, -0.2142200618982315, 0.0053429799154400826, -0.22480124235153198, -0.5224263072013855, 0.042303621768951416, 0.18317973613739014, -0.2492760866880417, 0.26893910...
measure the impact on GC languages, some people took some Java programs, traced the execution, and then replaced garbage collection with explicit memory management. According to [this review of the article](http://lambda-the-ultimate.org/node/2552) on [Lambda the ultimate](http://lambda-the-ultimate.org), they found ou...
[ -0.11518432945013046, -0.12178492546081543, -0.20407827198505402, 0.29038727283477783, -0.6441011428833008, -0.10026822984218597, -0.005764779169112444, -0.07563702762126923, -0.39002254605293274, -0.4522058665752411, 0.018745046108961105, 0.44158709049224854, -0.49896112084388733, -0.2105...
memory management? Particularly interesting would be to compare how various big open-source projects, for example, perform with or without GC. Has anybody heard of such results before? EDIT: And **please focus on the performance problem**, not on why GC exists or why it is beneficial. Cheers, Carl PS. In case you'...
[ -0.021348755806684494, 0.15816448628902435, 0.16713283956050873, 0.22590334713459015, -0.440250962972641, -0.4395972490310669, 0.0934758186340332, -0.23699036240577698, -0.43553799390792847, -0.5664750337600708, -0.19039998948574066, 0.6262951493263245, 0.024846963584423065, 0.032229289412...
impact has long overshadowed the software engineering benefi it provides.This paper introduces a tracing and simulation-based oracular memory manager. Using this framework, we execute a range of unaltered Java benchmarks using both garbage collection and explicit memory management. Comparing runtime, space consumption,...
[ 0.09026269614696503, 0.11744260787963867, -0.10430014878511429, 0.0905051901936531, -0.2512264549732208, 0.19611740112304688, -0.2338590919971466, -0.3867494463920593, -0.18815645575523376, -0.6726375222206116, 0.2574864327907562, 0.6086907386779785, 0.09169278293848038, -0.099053353071212...
memory, copying GC becomes faster than explicit `free()` - <http://www.cs.ucsb.edu/~grze/papers/gc/appel87garbage.pdf> It also depends on what language you use - Java will have to do a lot of rewriting (stack, objects, generations) on each collection and writing a multithreaded GC that doesn't have to stop the world i...
[ -0.13647718727588654, 0.04704780876636505, 0.25619828701019287, 0.26101231575012207, -0.3032248914241791, -0.07438235729932785, 0.23473261296749115, 0.0586981400847435, -0.4318065941333771, -0.6485472321510315, 0.042203597724437714, 0.38974958658218384, -0.19910578429698944, -0.00583399273...
OK I have a table like this: ``` ID Signal Station OwnerID 111 -120 Home 1 111 -130 Car 1 111 -135 Work 2 222 -98 Home 2 222 -95
[ 0.5450459718704224, 0.6493011116981506, 0.6272202730178833, -0.02161368913948536, -0.06661307066679001, 0.1798875331878662, 0.3064045011997223, -0.32479578256607056, -0.29290446639060974, -0.46486586332321167, 0.44746631383895874, 0.17435382306575775, 0.07718625664710999, -0.27163770794868...
Work 1 222 -103 Work 2 ``` This is all for the same day. I just need the Query to return the max signal for each ID: ``` ID Signal Station OwnerID 111 -120 Home 1 222 -95 Work 1 ``` I tried using MAX()
[ 0.7389242649078369, 0.08596549183130264, 0.7043995261192322, -0.04444538801908493, -0.11966703087091446, -0.13031527400016785, 0.1976536512374878, -0.8055242300033569, 0.10437227785587311, -0.6178075075149536, 0.18849077820777893, 0.4915136694908142, -0.1494881510734558, -0.329661071300506...
and the aggregation messes up with the Station and OwnerID being different for each record. Do I need to do a JOIN? Something like this? Join your table with itself, and exclude the rows for which a higher signal was found. ``` select cur.id, cur.signal, cur.station, cur.ownerid from yourtable cur where not exists ( ...
[ 0.17538826167583466, 0.4842127561569214, 0.2746741771697998, 0.13941818475723267, 0.019866686314344406, -0.012026550248265266, -0.14053036272525787, -0.24565915763378143, -0.3944052457809448, -0.5973573327064514, 0.37171050906181335, 0.3110615313053131, -0.5362886786460876, 0.4352731704711...
I have a program that uses threads in C#. Is there a way to know programmatically the memory usage of the application? I want to limit the spawning of threads to say 10 megabytes of memory, how would I do that? If you want the memory of the entire running process and not on a per thread basis, how about: ``` // get th...
[ 0.269150048494339, 0.3892365097999573, 0.2387407124042511, 0.11242293566465378, 0.16727475821971893, 0.17028860747814178, 0.14348264038562775, -0.07386459410190582, -0.4082896411418915, -0.7302359342575073, 0.1107289046049118, 0.42773979902267456, -0.0621287040412426, 0.42243003845214844, ...
I am trying to create a batch script that would connect to a mySQL database and issue a delete command: ``` @echo off echo Resetting all assessments... mysql -hlocalhost -urdfdev -p%1 rdf_feedback delete from competency_question_answer; ``` I will run this script providing the password as a command-line argument, bu...
[ 0.30450695753097534, 0.3436889946460724, 0.1622466892004013, -0.09376240521669388, -0.13626888394355774, -0.0538640171289444, 0.48026904463768005, -0.2394152134656906, 0.07941094785928726, -0.5266551971435547, 0.10869865864515305, 0.7236258387565613, -0.17411082983016968, 0.198246747255325...
I don't know if there exists any for MySQL but for SQL there is SQLCMD and for Oracle there is OSQL. What you can also do is something like this. ``` mysql -uuser -ppass < foo.sql ``` Where foo.sql is the commands you want to execute.
[ 0.11393958330154419, 0.21103397011756897, 0.10489650815725327, 0.056641463190317154, -0.12354310601949692, -0.15636107325553894, -0.16067132353782654, 0.27376750111579895, -0.04589105769991875, -0.5342013835906982, 0.13486400246620178, 0.7191557884216309, -0.352436900138855, 0.045759003609...
I'm writing a program that implements the Boneh-Franklin Identity Based Encryption. For the actual encryption methods, I use Blowfish which I got from (<https://voltar.org/>). I'm trying to adapt the blowfish encryption/decryption code to my program. The difference in my program is that I read the message from the stan...
[ 0.4579908549785614, 0.33210915327072144, 0.08554582297801971, 0.006920428480952978, 0.12110581248998642, 0.04154597967863083, 0.3234312832355499, -0.05996860936284065, -0.12541119754314423, -0.47777730226516724, -0.09136424213647842, 0.6796340346336365, -0.1312071830034256, 0.0248533077538...
to solve this problem but I got stuck. Can you please help me? ``` //initializations BF_KEY s_key; //shared key of the blowfish encryption char plain[1000000]; //the plaintext of the message char cipher[1000000]; //the ciphertext of the message char byte; //to hold the byte of the msg char *toke...
[ -0.029239807277917862, 0.07350093871355057, 0.2731713056564331, -0.08060448616743088, 0.04646843671798706, 0.35315725207328796, 0.22191710770130157, -0.32271936535835266, -0.2502900958061218, -0.6906740069389343, -0.09722398221492767, 0.316334992647171, -0.326412171125412, 0.06739742308855...
//number of bytes in d_buf char block[8]; //blocks of encryption char msg[1000000]; //the input msg from the user int j; //used to read input in a loop with getchar int i; //for-loop value int len; //used to calculate lengths different variables int f; //flag for the setu...
[ 0.10014697164297104, -0.18104086816310883, 0.2680216431617737, -0.19035767018795013, -0.018717922270298004, 0.5945708155632019, 0.25628289580345154, -0.4351073205471039, -0.23308531939983368, -0.3366139233112335, -0.4661252200603485, 0.2393723577260971, -0.2949088513851166, -0.094021834433...
in a loop with getchar q=0; //reset the index reader char in; //to read characters printf("Please enter the message you wish to send:\n"); ``` \*\*\*\*\*\*\*\*\*\*\*\* This is my code to read the input message: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ``` //this loop reads the input from the user since C does not //pro...
[ -0.18339186906814575, -0.2640141248703003, 0.20074337720870972, -0.204862579703331, -0.10691308975219727, 0.08572963625192642, 0.4421720802783966, -0.09285406768321991, 0.06991182267665863, -0.30017414689064026, -0.31634584069252014, 0.0898386612534523, -0.7025167346000671, 0.0798498913645...
(cited and referenced) for encryption \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Of course I modified it as message read from stdin not program args ``` for(i=0; i<strlen(msg); i++) //copy the input message to plain plain[i] = msg[i]; //set up the shared key of the BF encryption BF_set_key(&s_key, strlen(ekey_buf), ekey...
[ -0.18716146051883698, 0.08599665760993958, 0.6072368025779724, -0.20253825187683105, -0.005341080948710442, 0.44530120491981506, 0.30470630526542664, -0.6371870636940002, -0.2025669664144516, -0.3202904462814331, -0.29103463888168335, 0.38767895102500916, -0.5635926723480225, 0.04485223442...
printf("%02x", (unsigned char) cipher[i]); } if( strlen(plain+offset)>8 ){ //if there is still more characters offset += 8; //process the next block of 8 characters } else break; } //the cipher is correctly printed ``` \*\*\*\*\*\*\*\*\*\*\*\* Then I used the code (cited and referenced) ...
[ -0.04459279403090477, 0.2011033147573471, 0.580609142780304, -0.37404966354370117, -0.14928469061851501, 0.4552167057991028, 0.32249417901039124, -0.6544334888458252, -0.16009573638439178, -0.44828441739082336, -0.28675851225852966, 0.384605348110199, -0.25673800706863403, -0.2048755586147...
from the encryption function), and stored in the plain char array with length = strlen(cipher) ``` //set up the shared key of the BF encryption BF_set_key(&s_key, strlen(dkey_buf), dkey_buf); BF_cbc_encrypt(cipher, plain, strlen(cipher), &s_key, IV, BF_DECRYPT); printf("plain after decryption: %s\n", plain...
[ -0.14631789922714233, 0.29028958082199097, 0.47221946716308594, -0.27773645520210266, -0.0651194155216217, 0.2773714065551758, 0.549180269241333, -0.5083596706390381, -0.07809462398290634, -0.35938483476638794, -0.2275882065296173, 0.44962382316589355, -0.38758543133735657, -0.070634901523...
the ivec to all 'i's, the decryption will fail. // This would work though: for(i=0; i<8; i++) ivec[i] = 'i'; BF_cbc_encrypt(inputz, outputz, strlen(inputz), &key, ivec, BF_ENCRYPT); for(i=0; i<8; i++) ivec[i] = 'i'; BF_cbc_encrypt(inputz, outputz, strlen(inputz), &key, ivec, BF_DECRYPT); ``` My guess is only corre...
[ -0.20048260688781738, 0.17427471280097961, 0.5156993269920349, -0.17009715735912323, -0.08746877312660217, -0.03559223935008049, 0.521247923374176, -0.3157469630241394, -0.3310911953449249, -0.5225514769554138, -0.35585764050483704, 0.5646727085113525, -0.33958855271339417, 0.1092320531606...
Does anyone know of a good .NET library I can use to process XBRL or XLINK documents? [Gepsio: XBRL Document Object Model for .NET](http://gepsio.codeplex.com/)
[ 0.46057239174842834, 0.18089425563812256, 0.03682955354452133, 0.09591338783502579, 0.01207034382969141, -0.41562891006469727, 0.20433369278907776, 0.16786986589431763, -0.2157900333404541, -0.5640397667884827, -0.013006689958274364, 0.33081263303756714, -0.14444513618946075, -0.0680212453...