text
stringlengths
0
30.5k
title
stringclasses
1 value
embeddings
listlengths
768
768
tells the compiler the exact type of the literal provided. This is used so the compiler can allocate the appropriate amount of storage (precision) for the literal. By default, floating point literals are given storage for a "double." If you add "f" as a suffix, the literal will only get the storage for a float, which w...
[ 0.49595898389816284, 0.13964463770389557, 0.20792946219444275, -0.0863061174750328, 0.11301145702600479, 0.09954696893692017, 0.2289622277021408, -0.40519076585769653, 0.10928604006767273, -0.12636636197566986, -0.4103442132472992, 0.4722505509853363, -0.45699742436408997, -0.5623641610145...
If I have a wmf or emf image in System.Drawing.Image, is there a way to save the metafile data with c# without rendering it as a bitmap? Calling Image.Save will render it to a bitmap and I want to keep the original data so that it would still be a valid .wmf or .emf format file. It seems you can not. On [this MSDN pag...
[ 0.49329525232315063, -0.009860415011644363, 0.6222843527793884, -0.005784102249890566, -0.02333972603082657, -0.02636978216469288, -0.047331295907497406, -0.19540010392665863, -0.3802987039089203, -0.7741324305534363, 0.04381605237722397, 0.5515609979629517, -0.29821649193763733, 0.0912551...
instead. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files.
[ 0.10979035496711731, -0.17849095165729523, 0.18793877959251404, 0.11683980375528336, 0.08105915784835815, -0.3448044955730438, 0.49426138401031494, 0.07948783040046692, -0.10604625195264816, -0.7627856135368347, -0.19130505621433258, 0.2743663787841797, -0.5134217739105225, 0.2923523187637...
I have a requirement to setup a website that allows users, user blogs, a forum and is flexible enough to add other features via .net. I'm just about to evaluate Umbraco, but for another website that's clearly up the CMS alley, however the aforementioned project needs faster turnaround. Umbraco supports users, as in bac...
[ 0.08861219137907028, -0.015690792351961136, 0.7028220891952515, 0.08567367494106293, 0.024357901886105537, -0.26691412925720215, -0.08514147996902466, 0.10733108222484589, -0.476459264755249, -0.16041213274002075, 0.09900852292776108, 0.9522141218185425, -0.26091423630714417, -0.0281719584...
using an extension like Doc2Form. Umbraco v4 now uses the standard .NET login controls so it's fairly easy to set up membership & registration. For a forum Umbraco typically is paired with YAF. There is an article on how to do that at <http://www.createsoft.co.uk/blog/> That article describes how to integrate YAF as...
[ 0.2589147090911865, -0.06587221473455429, 0.612261176109314, 0.17034310102462769, -0.4121100604534149, -0.30550074577331543, -0.19934260845184326, -0.11871933937072754, -0.36147651076316833, -0.14510804414749146, 0.028547147288918495, 0.5045083165168762, -0.48286646604537964, 0.06979696452...
controls in Umbraco. YAF and Doc2Form are 2 examples mentioned here.
[ 0.23616941273212433, -0.12099365890026093, 0.28620338439941406, 0.02088511548936367, 0.31409767270088196, -0.44456613063812256, -0.023095833137631416, -0.4829556941986084, -0.20546862483024597, -0.48108068108558655, -0.04831711947917938, 0.6434829831123352, -0.2469620406627655, 0.011533959...
I am trying to understand the technical limits to the usability of web-based productivity applications that use only open, cross-platform technologies such as Javascript, HTML, and CSS on the client. [1] Let's assume for a moment that in the next few years the capabilities of web browsers continue to improve (e.g. wit...
[ 0.4496893584728241, 0.4192604720592499, 0.20171403884887695, 0.1160668209195137, 0.16800300776958466, -0.19932103157043457, 0.012992264702916145, 0.20221838355064392, -0.22792263329029083, -0.8489047884941101, -0.25316333770751953, 0.6041144132614136, 0.1373680830001831, 0.0900922864675521...
that have significant non-technological aspects, such as privacy concerns.) [1] By "productivity applications", I mean things like office suites, email, calendars, and diagramming programs. > and significant progress is made in increasing bandwidth and reducing latency. This **IS** the limitation, and latency is not ...
[ 0.19159860908985138, 0.17695635557174683, 0.4633673131465912, 0.08887957781553268, -0.11621787399053574, -0.4804423749446869, 0.13527077436447144, 0.09624537825584412, -0.40304213762283325, -1.2990131378173828, -0.26280832290649414, 0.6634438037872314, -0.14794696867465973, -0.190310329198...
AJAX will be used strictly for data, with javascript handing all the display. SO the barrier I see is javascript performance.
[ -0.01233887579292059, 0.037309881299734116, 0.08242446184158325, 0.3263354003429413, -0.3423663079738617, -0.39537954330444336, -0.09668410569429398, 0.3028036952018738, 0.005630886182188988, -0.6792660355567932, -0.12843309342861176, 0.5577782392501831, -0.21307745575904846, -0.2811851799...
Why do some people use the `Finalize` method over the `Dispose` method? In what situations would you use the `Finalize` method over the `Dispose` method and vice versa? Others have already covered the difference between `Dispose` and `Finalize` (btw the `Finalize` method is still called a destructor in the language s...
[ 0.09902830421924591, -0.12496533244848251, -0.15117284655570984, 0.22456218302249908, 0.019489359110593796, -0.2989107072353363, -0.19998663663864136, -0.0980430543422699, -0.24198879301548004, -0.5972149968147278, -0.3886505365371704, 0.45914226770401, -0.006153426133096218, 0.26647725701...
It fits very well with the `using` construct. Others are a bit more difficult. `WaitEventHandles` for instances are not used like this as they are used to signal from one thread to another. The question then becomes who should call `Dispose` on these? As a safeguard types like these implement a `Finalize` method, whic...
[ 0.4136534631252289, -0.3348180651664734, 0.10366848111152649, 0.08015701919794083, 0.2877163589000702, -0.2706155478954315, -0.043897055089473724, -0.2244485765695572, -0.25336065888404846, -0.6470848917961121, -0.016085589304566383, 0.38222602009773254, -0.055263642221689224, 0.4466398656...
Is there a way to access Borland output in VC++, for method calls and other stuff? Thanks My info may be (way) outdated, but what I had to before was to make sure that Borland output a COFF format OBJ or LIB file to link with VC. The other option is to have Borland output a DLL, and then use that from VC++. Name mang...
[ 0.3729349374771118, 0.047499991953372955, 0.2057696431875229, 0.004678813274949789, -0.24575649201869965, -0.3291221857070923, 0.09007628262042999, 0.13256113231182098, -0.26149964332580566, -0.5680179595947266, 0.17154152691364288, 0.5410201549530029, -0.32146045565605164, 0.1745402514934...
Borland compiled DLL will link nicely with VC++. If all else fails, compile a DLL with the Borland compiler, use Dumpbin to find the exports, then LoadLibrary and GetProcAddress to get the function pointers.
[ 0.15920241177082062, -0.11357381939888, 0.290088951587677, -0.06683561950922012, -0.2869114279747009, -0.4371204972267151, 0.09385404735803604, -0.04081550985574722, 0.054317962378263474, -0.6063554286956787, -0.392119824886322, 0.5398374199867249, -0.5894134640693665, -0.11122782528400421...
Basically, I have a function that has an optional dictionary argument. Since it's optional, it needs a default value, and I'd like to set it to an empty dictionary instead of Nothing. How do I go about that? In Java, I would simply do this: ``` Collections.<K,V>emptyMap() ``` How do I do the equivalent in VB.NET? ...
[ 0.22656063735485077, 0.016731809824705124, -0.1382768601179123, -0.07793699949979782, -0.08998812735080719, -0.18903756141662598, 0.10976389050483704, 0.08482421189546585, -0.22774718701839447, -0.753625214099884, 0.15932199358940125, 0.7738827466964722, -0.4095737934112549, -0.15318718552...
is to have an optional value which defaults to Nothing. In the case of Nothing create an empty dictionary. For instance. ``` Public Sub SomeMethod(Optional ByVal map as Dictionary(Of Key,Value) = Nothing) if map Is Nothing Then map = new Dictionary(Of Key,Value) ENd If ... End Sub ```
[ -0.4654664993286133, -0.37770208716392517, 0.27236470580101013, -0.11720212548971176, 0.18113519251346588, -0.3623931109905243, 0.3000430762767792, 0.054057471454143524, -0.1447165459394455, -0.631571352481842, -0.745162308216095, 0.5454171299934387, -0.24294523894786835, 0.071031525731086...
I want to determine the similarity of the content of two news items, similar to Google news but different in the sense that I want to be able determine what the basic topics are then determine what topics are related. So if an article was about Saddam Hussein, then the algorithm might recommend something about Donald ...
[ 0.7280109524726868, 0.3682418763637543, -0.03503784164786339, 0.24207279086112976, 0.04036996513605118, -0.3282485008239746, -0.06895560771226883, 0.08505818247795105, -0.0011961855925619602, -0.0894651710987091, 0.018779227510094643, 0.3360743522644043, -0.02386818267405033, 0.21974460780...
started, since I know someone out there must have tried something similar before. First thoughts: * toss away noise words (and, you, is, the, some, ...). * count all other words and sort by quantity. * for each word in the two articles, add a score depending on the sum (or product or some other formula) of the quantit...
[ 0.6562628746032715, 0.44945093989372253, -0.24461787939071655, 0.1802997887134552, -0.11450433731079102, -0.24085769057273865, -0.21368445456027985, -0.08395615965127945, -0.5171537399291992, -0.3862486183643341, 0.08767548948526382, 0.40172985196113586, -0.1708819419145584, 0.203755676746...
once, and another mentioning both Bill Gates and Microsoft many times. The correlation there would be minimal. Based on your comment: > So if an article was about Saddam Hussein, then the algorithm might recommend something about Donald Rumsfeld's business dealings in Iraq. that wouldn't be the case unless the Sadda...
[ 0.4917786419391632, 0.4111977219581604, -0.4291449785232544, 0.3063819110393524, -0.06973360478878021, -0.3159681558609009, -0.3582678735256195, 0.4164612293243408, -0.21414612233638763, 0.11856349557638168, 0.11756504327058792, 0.395637184381485, -0.17280952632427216, 0.4743907153606415, ...
words (Microsoft for one Bill, Hillary for the other). I'd perhaps give it a test run before trying to introduce word-proximity functionality since that's going to make it very complicated (maybe unnecessarily). One other possible improvement would be maintaining 'hard' associations (like always adding the word Afgha...
[ 0.4488760530948639, 0.5442157983779907, 0.2377573400735855, 0.3172204792499542, -0.43916985392570496, 0.07213698327541351, 0.4981215298175812, 0.4544447958469391, -0.21554841101169586, -0.2829257845878601, -0.02937675639986992, 0.38083547353744507, 0.0030181328766047955, 0.2230000346899032...
I am displaying the session id in the asp page. But it is vulnerable. How can I show the session id by encoding or some other way. I cant avoid displaying session id in web screen First why do you think it's vulnerable other than "shoulder surfing"? Secondly if you want to the such a thing use another cookie and crea...
[ 0.42352643609046936, 0.20017187297344208, 0.07623686641454697, 0.10020840913057327, -0.4225742518901825, -0.3323196470737457, 0.3449581265449524, -0.19321699440479279, -0.202304869890213, -0.8713047504425049, 0.2806439697742462, 0.561834990978241, 0.013776261359453201, -0.19069766998291016...
Amazon's official tools for interacting with EC2 are kind of clunky and a pain to deal with. I have to set up a bunch of environment variables, store separate private keys just for EC2, add extra items to my PATH, and so on. They all output tab delimited lines that are hundreds of characters long with no headings, so i...
[ 0.3274231553077698, -0.11949474364519119, 0.09600423276424408, 0.4903521239757538, 0.12414857745170593, -0.09184521436691284, 0.37162843346595764, -0.02184469625353813, 0.020442413166165352, -0.4732452630996704, 0.016935152933001518, 0.3250577449798584, -0.01686057634651661, -0.19862709939...
all just a bit clunky and aren't very good Unix programs. So, are there any easier to use command line tools for accessing EC2? I know there is ElasticFox, and there is their web based console, which do make the process easier, but I'm wondering if anyone else has written better command line tools for interacting with...
[ 0.06590680032968521, 0.05336925759911537, 0.43736785650253296, 0.45886048674583435, 0.17609478533267975, -0.2581193745136261, 0.1342591643333435, 0.040150560438632965, -0.28261271119117737, -0.5724374055862427, 0.17767848074436188, 0.7154194116592407, -0.14370037615299225, -0.0357698798179...
part of another project, called Rudy that answers most of your concerns The commands are more intuitive than Amazon's AMI tools: * `rudy-ec2 instances -C` * `rudy-ec2 groups -A -p 8080 -a 11.22.33.44 group-name` * `rudy-ec2 volumes -C -s 100` * `rudy-ec2 images` * ... All configuration is in a single file (`~/.rudy...
[ 0.0051116603426635265, -0.11108874529600143, 0.2363869845867157, 0.3053642511367798, -0.12656491994857788, -0.0763772651553154, 0.21078671514987946, -0.34376803040504456, -0.3084672689437866, -0.7019458413124084, -0.22005894780158997, 0.5530411005020142, -0.362519770860672, -0.486263573169...
However, if you create your own image, you can use your private keys. Here's more info: * [GitHub Project](http://github.com/solutious/rudy/tree/master) * [An introduction to rudy-ec2](http://solutious.com/blog/2009/04/22/rudy-ec2-api-tools-replacement/)
[ 0.5546337366104126, -0.19380900263786316, 0.13287067413330078, 0.27377554774284363, -0.17560558021068573, -0.15799887478351593, 0.12055137753486633, -0.2816332280635834, -0.4477218985557556, -0.5759474039077759, -0.12460845708847046, 0.4316588044166565, -0.286563515663147, -0.4590573310852...
I have the following code: ``` @BeforeClass public static void setUpOnce() throws InterruptedException { fail("LOL"); } ``` And various other methods that are either @Before, @After, @Test or @AfterClass methods. The test doesn't fail on start up as it seems it should. Can someone help me please...
[ 0.37489134073257446, 0.04600891098380089, 0.07099468261003494, 0.027818631380796432, 0.11748848855495453, -0.18022064864635468, 0.3119337558746338, -0.07673948258161545, 0.018526628613471985, -0.8965505957603455, -0.0055279601365327835, 0.6251564621925354, -0.20633861422538757, 0.160458102...
a test suite with annotations, use the RunWith annotation like: ``` @RunWith(Suite.class) @Suite.SuiteClasses({ MyTests.class, OtherTest.class }) public class AllTests { // empty } public class MyTests { // no extends here @BeforeClass public static void setUpOnce() throws InterruptedException { ...
[ 0.5527018308639526, -0.24168270826339722, 0.049167245626449585, 0.30320608615875244, 0.3190925121307373, -0.18829603493213654, 0.30432790517807007, -0.1488117128610611, 0.14032979309558868, -0.8182782530784607, -0.16517013311386108, 0.3909766972064972, -0.16481932997703552, 0.2524347305297...
I'm having a strange problem and not sure how to troubleshoot it. I have created a script in one of my Zend Framework controllers that allows an administrator to log in, upload a PDF, and send as an attachment to everyone subscribed to the mailing list. The problem is that some users report that they are unable to open...
[ 0.36932387948036194, 0.23130486905574799, 0.1435919851064682, 0.19470283389091492, -0.09989924728870392, -0.6191785931587219, 0.38410866260528564, 0.3081732988357544, -0.10437041521072388, -0.7878644466400146, 0.08875647187232971, 0.4737466275691986, -0.1713447868824005, 0.3755480647087097...
code? Here's the code that does the work: Also, I'm using ZF version 1.6.0. Not sure if that is relevant. ``` //assuming the form is valid: $table = new Subscribers(); $rowset = $table->fetchAll(); foreach ($rowset as $row) { $mail = new Zend_Mail(); $mail->setBodyText($form->getElement('body')->getValue()) ...
[ 0.768301784992218, 0.016040802001953125, 0.8430799841880798, 0.02497955597937107, 0.008268376812338829, -0.04415556788444519, 0.3410665690898895, -0.6672938466072083, 0.03585366904735565, -0.6001572012901306, -0.45589399337768555, 0.6362601518630981, -0.46519750356674194, -0.11054875701665...
$mail->send(); } ``` It appears (to me) that in this line of code: ``` $attachment = $mail->createAttachment($fileContents); ``` you likely need to add the additional header information available in the createAttachment method of the Zend\_Mail framework:: ``` $attachment = $mail->createAttachment($fileContents, ...
[ 0.395925909280777, 0.29043957591056824, 0.49218785762786865, -0.3318224251270294, 0.023223809897899628, -0.38373932242393494, 0.1877739131450653, -0.14511890709400177, -0.05236821621656418, -0.8087767958641052, -0.2958180606365204, 0.8492434620857239, -0.4664372205734253, -0.09375330060720...
I have this program that I want other processes to be able to call functions on (through unix sockets). The message protocol is very simple, the function name, a function signature, and a buffer (char \*) that holds the parameters. When a module in my program wants to allow a function to be accessible, it registers th...
[ 0.21831567585468292, 0.12195126712322235, 0.17985022068023682, -0.2532949149608612, -0.02262008935213089, -0.04252056032419205, 0.09816309809684753, -0.08162537962198257, -0.07273700088262558, -0.36871612071990967, -0.057118598371744156, 0.5699195861816406, -0.25408104062080383, 0.30685794...
working on is very dynamic and I also have to interface with other peoples code that I can't modify. So basically, a function might look like: ``` int somefunc(int someparam, double another) { return 1234; } ``` now I register with the library: ``` // func ptr name signature REG_FUNCTION(some...
[ 0.2743946611881256, -0.06385592371225357, 0.3807445764541626, -0.17741431295871735, 0.019595082849264145, 0.17540280520915985, 0.31824520230293274, -0.10792210698127747, -0.1952122449874878, -0.44271257519721985, -0.3241550326347351, 0.6971992254257202, -0.19811779260635376, 0.019463421776...
(a buffer of function parameters); //note that the params buffer can hold data types of arbitrary lengths ``` How can I call the function with the parameters in C? Thanks! I don't think this is completely solvable in general, using only C. You don't know the calling convention used by the target function, for instan...
[ 0.13763338327407837, 0.16187788546085358, 0.11572570353746414, 0.2630777060985565, -0.23015105724334717, 0.01699923165142536, 0.17808827757835388, -0.3492897152900696, -0.2812965512275696, -0.2887418270111084, -0.10692127794027328, 0.5286747813224792, -0.21663424372673035, -0.0395858846604...
no way in general to express in C that you want to call a function with a given set of arguments, and that the values for the arguments need to be unpacked from a buffer of random bytes. You could do something horrible like this: ``` enum { VOID_INT, VOID_INT_DOUBLE, VOID_DOUBLE_INT, ... } Signature; void do_call(co...
[ 0.40179675817489624, -0.11104252934455872, 0.29473549127578735, -0.2204437255859375, 0.26987579464912415, -0.15269753336906433, 0.3271806538105011, -0.23717975616455078, -0.12508703768253326, -0.4698761999607086, -0.35722973942756653, 0.6512996554374695, -0.5187001824378967, 0.180196046829...
break; } case VOID_INT_DOUBLE: ... } } ``` But it's quite clear that this doesn't live on the same continent as scalability. You could of course auto-generate this code, for some reasonable set of return types and argument types. You'd still be a bit out in the cold for casting function pointers to/from...
[ 0.3671877384185791, 0.11362417042255402, 0.011973652988672256, 0.023754427209496498, 0.23672080039978027, -0.3849306106567383, 0.3445686399936676, 0.10448507219552994, -0.24979978799819946, -0.20749232172966003, -0.22991247475147247, 0.3783589005470276, -0.3084457814693451, 0.0329665690660...
what is the format for using top keyword in oracle 9i? i have to retreive top 10 records.. select column1,column2 from tbl1 where rownum<=10
[ -0.16638895869255066, 0.17258761823177338, 0.2041928470134735, 0.11937136203050613, 0.16673019528388977, -0.06715892255306244, 0.20192474126815796, -0.22310444712638855, 0.027432776987552643, -0.04561733454465866, 0.09856460243463516, 0.5328470468521118, -0.3525121510028839, -0.09855134785...
According to this <http://steve-yegge.blogspot.com/2007/06/rich-programmer-food.html> article, I defnitely should. > Quote Gentle, yet insistent executive > summary: If you don't know how > compilers work, then you don't know > how computers work. If you're not 100% > sure whether you know how compilers > work, ...
[ 0.44408276677131653, 0.45561161637306213, -0.06274974346160889, -0.017804106697440147, -0.26749834418296814, -0.2151000201702118, 0.3699150085449219, 0.04283646121621132, -0.014036383479833603, -0.17505386471748352, -0.09029439836740494, 0.6200290322303772, 0.1967637985944748, 0.2733117640...
did know a thing or two of each item in the following list : * A programming paradigm (OO, functional,…) * A programming language API (C#, Java..) and at least 2 very different some say! (Java / Haskell) * A programming framework (Java, .NET) * An IDE to make you more productive (Eclipse, VisualStudio, Emacs,….) * Pro...
[ 0.9647310972213745, -0.19762587547302246, 0.32613256573677063, 0.3134576976299286, 0.09540925174951553, -0.1943235993385315, 0.24333202838897705, -0.08029810339212418, 0.07912369817495346, -0.29833564162254333, 0.4635721743106842, 0.16633184254169464, 0.22478114068508148, -0.12023997306823...
Sandcastle..) * A modelling languague (and tool maybe) (UML, VisualParadigm, Rational) * (undoubtedly forgetting very important stuff here) Not all of these tools are necessary to be a good programmer (like a GUI when you just don’t need it) but most of them are. Where do compilers come in, and are they really that im...
[ 0.22705207765102386, 0.1709495633840561, -0.046499237418174744, 0.6380624175071716, -0.1514454185962677, -0.28514713048934937, 0.3726204037666321, 0.13933153450489044, -0.39228594303131104, -0.7171941995620728, -0.06467804312705994, 0.5446252226829529, 0.10205104947090149, -0.3313775956630...
should i order 'The Unleashed Compilers Unlimited Bible (in 24H..))) today? For those who have read the article, and want to start studying right away : [Learning Resources on Parsers, Interpreters, and Compilers](https://stackoverflow.com/questions/41785/learning-resources-on-parsers-interpreters-and-compilers) If ...
[ 0.8247429728507996, 0.33071836829185486, -0.17723627388477325, 0.12172460556030273, -0.39489948749542236, -0.03605698049068451, 0.37535470724105835, -0.07255256175994873, -0.2130521684885025, -0.5316330194473267, -0.07454624027013779, 0.6391616463661194, -0.3989497423171997, -0.35452762246...
a lot of computer science come together in an amazing way. Not only will you understand more about why programming languages work the way that they do, but you will become a better coder for having that understanding. You will learn to understand the low level, which helps at the high level. As programmers, we very of...
[ 0.32411327958106995, 0.2074022889137268, -0.36016538739204407, 0.48304611444473267, 0.004016697406768799, -0.2759799361228943, 0.22908976674079895, 0.4142027497291565, -0.2880230247974396, -0.6767590045928955, -0.16759449243545532, 0.5727210640907288, -0.06840967386960983, 0.08037760108709...
see the formalisms behind parsing (and realize it's not just a bunch of special cases hacked together), and a bunch of NP complete problems. You will see why the theory of computer science is so important to understand for practical things. (After all, compilers are extremely practical... and we wouldn't have the compi...
[ 0.2860904633998871, 0.17359407246112823, -0.2628854811191559, 0.6694486737251282, -0.17186568677425385, -0.24539583921432495, 0.42612624168395996, 0.33389878273010254, -0.3264293372631073, -0.6737788915634155, -0.04545866698026657, 0.5205835700035095, -0.03148534521460533, -0.2948829233646...
Yesterday a colleague asked me how to display data in a grid where the built in data binding doesn't support what he wants to do for some of the columns. Pleased to be able to help I explained all about the OnRowDataBound event and how you can hook into it and dynamically manipulate the cells in the row object to do p...
[ 0.4455869793891907, -0.08903805166482925, 0.35533973574638367, 0.17972077429294586, -0.29334816336631775, -0.11993549019098282, 0.263564795255661, 0.2484869807958603, -0.2768296003341675, -0.5504317879676819, 0.38394027948379517, 0.3833039700984955, -0.05720130354166031, 0.0838599577546119...
manage this? The [RowsAdded](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.rowsadded.aspx) event is roughly equivalent, but you can run into performance issues using this event to access rows because of the [shared memory state](http://msdn.microsoft.com/en-us/library/ha5xt0d9.aspx) it uses....
[ -0.037081655114889145, 0.030964622274041176, 0.13666751980781555, 0.04958561062812805, 0.12192098051309586, -0.3884442150592804, 0.3871389329433441, 0.016394563019275665, -0.3648237884044647, -0.9187397956848145, 0.05869737267494202, 0.5998859405517578, -0.2648669481277466, 0.2054617106914...
If not, you still have lots of options. You can derive from the DataGridViewCell and DataGridView to add custom cell (column) types to the grid. This is probably the most complicated way to customize the DataGridView... but it would allow pretty much any kind of cell manipulation you'd want. The [CellPainting](http://...
[ 0.6011666059494019, -0.4360244870185852, 0.33664795756340027, -0.06363947689533234, 0.07691067457199097, -0.12824292480945587, -0.10045602172613144, -0.3155670166015625, -0.47668659687042236, -0.4691937565803528, 0.1871088594198227, 0.15973591804504395, -0.22590579092502594, -0.02135755494...
memory state issue applies (normally for the painting event it does not). HTH, Richard
[ 0.20006345212459564, 0.3811875283718109, -0.13570363819599152, 0.0223629642277956, 0.4664045572280884, 0.08149555325508118, 0.18937072157859802, -0.23803450167179108, -0.28293830156326294, -0.3487854301929474, -0.22853659093379974, 0.19817735254764557, 0.030211731791496277, -0.000536800245...
Could I know ways to improve performance of my .Net WCF service? Right now its pretty slow and sometimes it gets clogged & eventually stops responding. What kind of InstanceContextMode and ConcurrencyMode are you using on your service class? If it's PerCall instances, you might want to check if you can reduce the over...
[ 0.35290592908859253, -0.11213547736406326, -0.03417113423347473, 0.3333893120288849, -0.1593673825263977, -0.08619263768196106, 0.403719425201416, 0.3143363893032074, -0.32416948676109314, -0.8706862926483154, 0.3063332140445709, 0.6498242616653442, -0.1766221523284912, 0.24988508224487305...
I am allowing users of the admin panel of my website to upload photos, its a simple process where I check the validity of the image and then save it to a folder, then I also have to record a couple of database records for that image to be able to retrieve it later, my saving function is as follows... The function that ...
[ 0.36986419558525085, 0.23398303985595703, 0.6867116689682007, -0.05987563729286194, -0.12741801142692566, 0.11774737387895584, -0.10415084660053253, -0.20517662167549133, -0.296782910823822, -0.6873341798782349, 0.06179303303360939, 0.4167053699493408, -0.41893458366394043, -0.035650938749...
Dim pta As New GKPTableAdapters.tblPhotosTableAdapter Return pta.InsertPhoto(PhotoCaption, PhotoDescription, ("http://www.myURL.com/photos/" & FileName), IsDefault, IsPicture) End Function ``` Now I know that what I am doing is full of best-practices violations, so please point me out to what I should do,...
[ 0.5386382341384888, -0.053378552198410034, 0.8954126834869385, 0.04931238293647766, 0.016096580773591995, -0.4313715398311615, 0.3582211136817932, -0.08959167450666428, -0.13190512359142303, -0.42948994040489197, -0.06295804679393768, 0.8445217609405518, -0.39243870973587036, 0.11916507035...
the FULL PATH to the image. I'd just store the image name, and then prepend the relative path when i display it in the application If you allow your users to delete the files via your application, you should delete the record in the database, and then delete the file itself by using [File.Delete method](http://msdn....
[ 0.24537944793701172, -0.18143707513809204, 0.8350701332092285, 0.08820385485887527, 0.1277632713317871, 0.1205098107457161, 0.33913254737854004, -0.008940286934375763, -0.2638344168663025, -0.7655865550041199, 0.00115466327406466, 0.7096776366233826, -0.2449054718017578, 0.0677894353866577...
How can I determine which is the default browser in my system programatically. The code must be developed using vc++ Is there any API for this ? Where in the registry is the default browser value stored? you can find the default browser in the registry i.e. for Windows XP and Vista is located at ``` HKEY_LOCAL_MAC...
[ 0.3309415876865387, 0.21353209018707275, 0.41935402154922485, -0.1487855315208435, 0.08624685555696487, 0.0654066652059555, 0.3212580382823944, 0.4705367386341095, -0.2239452749490738, -0.9577584862709045, -0.1991884559392929, 0.7466490864753723, -0.1261463165283203, 0.131773442029953, 0...
I have a web site running on IIS on my localhost. This web site has directory security set to only allow Integrated Windows Authentication. It is part of an intranet and needs to authenticate by our domain accounts. I then connect to SQL Server with Integrated Security = SSPI in the connection string. This works fine...
[ 0.3214605450630188, 0.3709218204021454, 0.37901973724365234, -0.16964183747768402, 0.03569256514310837, -0.3141043484210968, 0.5298158526420593, -0.02322348579764366, -0.22789599001407623, -0.8455738425254822, 0.0586964376270771, 0.5117130875587463, -0.4481867551803589, 0.2868077754974365,...
to authenticate, which is fine and correct as Firefox is not configured to trust the localhost enough to automatically send credentials (and indeed I am aware of how to introduce this trust already, this is not the problem). I then login, which again is fine, provided I enter the domain account details everything is fi...
[ 0.41908586025238037, 0.15744413435459137, 0.7332698106765747, 0.02186279185116291, 0.0957920029759407, -0.5585826635360718, 0.9857800602912903, -0.17347772419452667, -0.18845300376415253, -0.5454595685005188, -0.19927550852298737, 0.6625282764434814, -0.30631551146507263, 0.141096472740173...
the following error: ``` Microsoft OLE DB Provider for SQL Server (0x80040E4D) Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. ``` This indicates to me that something is wrong in the authentication stack, for some reason, IIS is not running as the authenticated account when I authenticate using windows authent...
[ -0.17055949568748474, 0.1517220288515091, 0.402914822101593, 0.025198068469762802, -0.21078187227249146, -0.3430442214012146, 0.5280748009681702, -0.4252786338329315, -0.005713700782507658, -0.5601950883865356, -0.20235507190227509, 0.20821672677993774, -0.5374444723129272, 0.0522116161882...
the address bar type: about:config 3. Firefox3.x and later requires you to agree that you will proceed with caution. 4. After the config page loads, in the filter box type: network.negotiate-auth 5. Modify network.negotiate-auth.trusted-uris by double clicking the row and enter yourdomain.com 6. Multiple domains can be...
[ 0.028168484568595886, -0.07388267666101456, 1.0583407878875732, 0.03278834745287895, -0.04487890750169754, -0.3013332784175873, 0.3725498914718628, -0.2777954041957855, -0.07928597182035446, -0.817675769329071, -0.07740340381860733, 0.592789888381958, -0.23477013409137726, 0.34771159291267...
With things like SO, Digg, Reddit, etc... Should one keep track of downvotes in the database independent of upvotes? Or should they simply have a "votes" field that is decremented/incremented based off what the user does with no persisting of that? How should votes be handled? On SO, up votes earn +10, down votes -2...
[ 0.2874971628189087, -0.07697080075740814, 0.25148090720176697, 0.4878556728363037, -0.24539431929588318, 0.2866687476634979, -0.12935560941696167, -0.19969308376312256, -0.49858418107032776, -0.19741939008235931, 0.2685757875442505, 0.05067066103219986, -0.3491378724575043, -0.252721309661...
``` if (alMethSign[z].ToString().Contains(aClass.Namespace)) ``` Here, I load an exe or dll and check its namespace. In some dlls, there is no namespace, so `aclass.namespace` is not present and it's throwing a `NullReferenceException`. I have to just avoid it and it should continue with rest of the code. If I use ...
[ 0.014570835046470165, 0.12170924246311188, 0.2217675745487213, -0.11701245605945587, -0.07615087181329727, -0.07904808223247528, 0.3751692473888397, -0.29345279932022095, -0.10156884789466858, -0.46708983182907104, -0.4037097692489624, 0.44769471883773804, -0.6552283763885498, 0.1894360929...
Is there any way how to enumerate process with given PID in windows, and get list of all his opened handles(locked files, etc.)? EDIT: I dont care about language. If it is in .NET, I'd be glad, if in WinApi (C), it won't hurt. If in something else, I think I can rewrite it :-) I did a deep googling and found this [ar...
[ -0.04754290729761124, 0.5066511034965515, 0.24914930760860443, -0.07953356206417084, -0.08811795711517334, 0.30973920226097107, 0.2985231578350067, -0.19397056102752686, -0.46623533964157104, -0.46888139843940735, -0.01611080765724182, 0.1483086496591568, -0.0870380774140358, 0.24847131967...
companies(Austin,TX): If you would like to get my resume, send an email. // // The source is free, but if you want to use it, mention my name and e-mail address // ////////////////////////////////////////////////////////////////////////////////////// // ``` I hope this helps you.
[ 1.0419480800628662, 0.7949851155281067, 0.160476952791214, -0.3222968876361847, 0.7341731190681458, -0.08060020208358765, -0.216888889670372, 0.7049594521522522, -0.12886899709701538, -0.21955637633800507, 0.028488242998719215, 0.577803909778595, 0.1473442018032074, 0.31452876329421997, ...
I need to add leading zeros to integer to make a string with defined quantity of digits ($cnt). What the best way to translate this simple function from PHP to Python: ``` function add_nulls($int, $cnt=2) { $int = intval($int); for($i=0; $i<($cnt-strlen($int)); $i++) $nulls .= '0'; return $nulls.$i...
[ -0.03197029232978821, 0.21128325164318085, 0.39160221815109253, -0.19875957071781158, -0.2821320593357086, 0.054107144474983215, 0.1268308013677597, -0.18358591198921204, -0.050508949905633926, -0.18312746286392212, 0.24101126194000244, 0.49166223406791687, -0.3272109627723694, -0.02402067...
I've got Google conversion tracking code (small bit of JavaScript) on a confirmation page on my site which is displayed after a user completes a transaction. It is displayed on my wordpay callback page which is pulling data from the regular site (HTTP) to the worldpay site (HTTPS) so IE 7/8 asks > do you want to displ...
[ 0.7620294094085693, 0.2914625406265259, 0.3559611439704895, -0.05184739828109741, 0.16644659638404846, -0.08859756588935852, 0.37879684567451477, -0.029066087678074837, 0.06697592884302139, -0.488440603017807, -0.005418890155851841, 0.44562551379203796, -0.11554842442274094, 0.119579814374...
Because it is displayed you would assume so? But the source of the page still displays the CSS and image links but they aren't rendered. The warning occurs when your page is loaded from `https` and includes items that are loaded via `http`. So if your Javascript comes from a non-secure source then I'd expect it to be ...
[ 0.3621094822883606, 0.2002256214618683, 0.4252352714538574, -0.030245644971728325, -0.14573204517364502, -0.3953414559364319, 0.5867219567298889, 0.08100780844688416, -0.41987791657447815, -0.608822762966156, -0.31035977602005005, 0.4754762351512909, -0.4669124186038971, 0.2358821034431457...
not rendered).
[ -0.20663468539714813, -0.1456110030412674, 0.16530919075012207, -0.02438945882022381, 0.14268112182617188, 0.7000861167907715, 0.5722966194152832, 0.05252187326550484, 0.06703357398509979, -0.2001306414604187, -0.7100674510002136, 0.43873581290245056, -0.07251862436532974, -0.1709000468254...
I'm trying CTest in CMake in order to automatically run some of my tests using `make test` target. The problem is CMake does not "understand" that the test I'm willing to run has to be built since it is part of the project. So I'm looking for a way to explicitly specify this dependency. It is *arguably* a [bug in CMak...
[ 0.6536557078361511, 0.171280637383461, 0.06016875430941582, -0.16582147777080536, 0.18203496932983398, -0.05493719130754471, 0.40420404076576233, -0.36058664321899414, 0.14419834315776825, -0.7316359281539917, 0.19664272665977478, 0.6192278265953064, -0.346784770488739, 0.114600770175457, ...
can run `make check` and it will compile and run the test. If you have several tests, then you would have to use `DEPENDS exe1 exe2 exe3 ...` in the above line.
[ 0.9283912181854248, -0.06371302157640457, -0.01400292944163084, -0.0673561841249466, 0.2126491367816925, -0.24629980325698853, 0.15766635537147522, -0.45628929138183594, 0.3116130530834198, -0.47882896661758423, 0.28736716508865356, 0.6077516674995422, -0.19445958733558655, -0.185319721698...
I followed [this](http://www.codeproject.com/KB/trace/tomaznunittests.aspx) tutorial to make NUnit tests debugable in Visual Studio. In the debugging options I set "Start external program:" to C:\Program Files\NUnit 2.4.8\bin\nunit-x86.exe. Is there a way to get the program files directory dynamically to avoid problems...
[ 0.26908352971076965, -0.01465658936649561, 0.16908809542655945, -0.1639803647994995, -0.1754373013973236, -0.06620275229215622, 0.44343236088752747, -0.1578366905450821, -0.14048710465431213, -0.3317886292934418, -0.06110088527202606, 0.7617226839065552, -0.2609187364578247, 0.028669573366...
I'm working on a forum based website, the site also supports onsite messaging (ie. the users can send private messages to other users), what I'm trying to do is notify a member if they have new messages, for example by displaying the inbox link in bold and also the number of messgages, e.g. **Inbox(3)** I'm a little c...
[ 0.676278293132782, 0.12927909195423126, 0.1383429616689682, -0.3062454164028168, -0.29631364345550537, -0.20809492468833923, 0.6036996841430664, -0.019964594393968582, -0.3956356644630432, -0.6934948563575745, 0.1451871395111084, -0.041710931807756424, -0.20171445608139038, 0.2036153078079...
think this a common feature for many sites including many of the large ones (running on server farms), I wonder how they implement this, any ideas are appreciated. What you want is something like this... ``` NTSTATUS hStatus; SYSTEM_PERFORMANCE_INFORMATION stSysPerfInfo; hStatus = NtQuerySystemInformation...
[ 0.10512863844633102, -0.24076543748378754, 0.3261474072933197, -0.10668283700942993, 0.04581964761018753, -0.1384739875793457, 0.43148744106292725, -0.22146004438400269, -0.3532794713973999, -0.9277415871620178, -0.06130742281675339, 0.6678434610366821, -0.33417809009552, -0.02720543369650...
I'm using this lightweight jQuery plugin to create a rich-text editor:[Batiste RTE jQuery Plugin](http://batiste.dosimple.ch/blog/posts/2007-09-11-1/rich-text-editor-jquery.html "Batiste RTE jQuery Plugin") As part of a more complex form, I have the functionality of *clearing changes* and I want to be able to do this ...
[ 0.14675362408161163, 0.24022002518177032, 0.049674246460199356, -0.42527133226394653, -0.4507887661457062, -0.07402259111404419, 0.2784883975982666, -0.30628374218940735, 0.07665305584669113, -0.7372503876686096, -0.11249158531427383, 0.5809452533721924, -0.45622074604034424, -0.1410479545...
give an example of it in action. Note that one of the things that this example does is store off the INITIAL\_CONTENT in a global variable because the RTE control replaces the textarea, not hides it, which I find a little unnerving. If you're concerned about it being in a global variable, you could probably store the ...
[ 0.0719241127371788, -0.10851417481899261, -0.06066242605447769, -0.19273242354393005, -0.1488867551088333, -0.06951495260000229, 0.4630022943019867, -0.02006273716688156, -0.1776774525642395, -0.7355098724365234, -0.20833942294120789, 0.553456723690033, -0.2599746584892273, -0.202632889151...
I note that some sites (such as gmail) allow the user to authenticate over https and then switch to http with non-secure cookies for the main use of the site. How is it possible to have http access to a session but this still be secure? Or is it not secure and hence this is why gmail gives the option to have the entir...
[ 0.4594561755657196, 0.14078454673290253, 0.18744470179080963, 0.27259382605552673, -0.1618892103433609, -0.5308617949485779, 0.7173755168914795, 0.11587971448898315, -0.31851252913475037, -0.42023584246635437, -0.15241263806819916, 0.5283553600311279, -0.13985063135623932, 0.11932408809661...
secure, to avoid having to have a whole site as https for performance reasons. As Thilo said, but I'll explain a little further :) A webserver is stateless! This is really the problem of the authentication-case. You can't just log in, and then say "from now in, this user is logged in" - you need some way to identify w...
[ 0.2084808498620987, 0.009489595890045166, 0.20320206880569458, 0.09067942947149277, 0.12068849056959152, -0.6803185343742371, 0.5357090830802917, 0.1561017632484436, -0.3418853282928467, -0.5351946949958801, -0.3434687554836273, 0.33023184537887573, -0.33865535259246826, -0.108363375067710...
transmit your username and password to the server. Completely unencrypted! (SSL / HTTPS will encrypt this request for you to avoid man-in-the-middle attacks) Response: You will receive a randomly generated string of a lot of weird characters. These will typically be stored in a cookie. Request of some site only you s...
[ -0.013311633840203285, -0.32231321930885315, 0.5084619522094727, 0.36341235041618347, -0.14771541953086853, -0.3238483667373657, 0.42341071367263794, 0.17292051017284393, -0.2647317945957184, -0.8252329230308533, -0.56423419713974, 0.07940025627613068, -0.2633163034915924, 0.27455946803092...
means that your password and your session-cookie (the randomly generated string) will be transmitted completely un-encrypted. If someone has access to your traffic (through trojans, router hijacking, whatever), he will be able to see your username / password when you log in, if you're not using HTTPS. This will grant h...
[ 0.31492605805397034, -0.10480260848999023, 0.5168939828872681, 0.22188571095466614, 0.41987839341163635, -0.30730897188186646, 0.6399872899055481, 0.28559452295303345, -0.42770475149154663, -0.46624991297721863, -0.45694243907928467, 0.44322848320007324, -0.28413617610931396, 0.26657742261...
or the session expires on the server). If you want to feel secure, use HTTPS. Realistically though, it's a lot easier to social engineer a keylogger into your computer than it is to read all your traffic :) (Or as others have pointed out, use cross-site-scripting to read your session cookie)
[ 0.30749571323394775, -0.21560803055763245, 0.21168309450149536, 0.14134013652801514, 0.10738294571638107, -0.6571919322013855, 0.6508001685142517, 0.14708036184310913, -0.26928865909576416, -0.6999804377555847, -0.22785218060016632, 0.6835102438926697, -0.22683212161064148, 0.0314951241016...
I am using visual studio 2008 professional edition. In my solution I have about 8 projects. When I am working on 1 project and I set this one as my startup project and want to debug this one, I get 7 webservers, all with different ports. I don't want this, I just want that only one webserver is getting started for th...
[ 0.24302427470684052, 0.19434411823749542, 0.19700226187705994, -0.10851588845252991, -0.32117632031440735, 0.05988935008645058, 0.3666052222251892, -0.10132109373807907, -0.09766773879528046, -0.5332649350166321, 0.0462079755961895, 0.6520932912826538, -0.25921282172203064, 0.2023858875036...
started. Select the project node in the Solution Explorer, and look in the Properties window.
[ -0.1842869520187378, -0.291765958070755, -0.00876682996749878, 0.09041313081979752, 0.10754039138555527, -0.07683499157428741, 0.19581972062587738, 0.10576912015676498, -0.09074185788631439, -0.9920593500137329, -0.28738653659820557, 0.006658308673650026, -0.030067620798945427, 0.224432691...
I have inherited a table with a structure something like this: ``` ID Name Timestamp Data ---------------------------- 1 A 40 ... 2 A 30 ... 3 A 20 ... 4 B 40 ... 5
[ 0.10141146928071976, 0.5067043304443359, 0.3858228325843811, -0.3584361672401428, 0.29852494597435, -0.1653355211019516, -0.36804649233818054, -0.0584663525223732, -0.21874625980854034, -0.6992247104644775, 0.1576531082391739, 0.04824758321046829, 0.06118772178888321, 0.3618021309375763, ...
B 20 ... 6 C 30 ... 7 C 20 ... 8 C 10 ... ``` `ID` is an identity field and the primary key and there are non-unique indexes on the `Name` and `Timestamp` fields. What is
[ 0.1673046052455902, 0.2807699739933014, 0.34876957535743713, -0.07978419959545135, 0.24536989629268646, -0.37056002020835876, -0.20340901613235474, -0.3115946650505066, 0.2299513816833496, 0.08347754925489426, -0.40211549401283264, 0.15576277673244476, -0.1882440149784088, 0.40024217963218...
the most efficient way to get the most recent record for each item name, i.e. in the table above rows **1**,**4** and **6** should be returned as they are the most up-to-date entries for items **A**,**B** and **C** respectively. SQL Server 2005 (onwards): ``` WITH MostRecentRows AS ( SELECT ID, Name, Data, ROW...
[ -0.5152456760406494, -0.04906843230128288, 0.5721957683563232, -0.00121828424744308, -0.08145774155855179, -0.12991277873516083, -0.20984871685504913, -0.16226336359977722, -0.47767916321754456, -0.7111647129058838, -0.2749582827091217, 0.4436052143573761, 0.20792782306671143, 0.5006281733...
I have a form that contains one date element and 3 time elements. This is because 3 time events will occur on one date, and I don't want the user to have to input that date 3 times. On the server side, I would like to combine the one date with the 3 times to get 3 datetime objects. I was thinking I could just do somet...
[ 0.28923824429512024, 0.14418093860149384, 0.5287520885467529, -0.02647564187645912, 0.21177656948566437, 0.06267382204532623, 0.32739654183387756, -0.37099042534828186, -0.26014572381973267, -0.5601810812950134, 0.23683568835258484, 0.0720539391040802, -0.24167771637439728, 0.4285908937454...
= " + self.show_time.to_s) self.show_time.change(:year => 2012) self.show_time.change(:minute => 30) logger.info("show_time = " + self.show_time.to_s) end ``` The two print statements should be different, but they are the same. Does anyone know the best way to merge a Time and Date object? You need to a...
[ -0.03004591539502144, 0.2356334626674652, 0.6530722379684448, -0.19596868753433228, -0.0673004761338234, 0.24098920822143555, 0.2524859607219696, -0.18800859153270721, -0.25696489214897156, -0.4960588812828064, -0.16912895441055298, 0.12448447197675705, 0.07897259294986725, 0.3964895009994...
+1000 2012 ``` so maybe: ``` self.show_time = self.show_time.change(:year => 2012) ``` could work for you. I don't know how I feel about that solution, but it should work.
[ 0.21106337010860443, 0.2169628143310547, 0.3778725862503052, -0.013500387780368328, 0.15625905990600586, 0.12752965092658997, 0.024502944201231003, -0.0985153391957283, -0.03635185956954956, -0.7611161470413208, 0.19982501864433289, 0.3695666491985321, 0.054800231009721756, 0.0850859656929...
we currently have an asmx webservice which exposes a single method to make various updates to a Sql database, wrapped internally in a SqlTransaction. I am re-writing this service in WCF and we would like to split up the existing method into sub-calls accessed through various different WCF services. There is a restrict...
[ 0.5013948678970337, -0.16067782044410706, 0.23842164874076843, 0.2452654093503952, -0.19348959624767303, -0.18301230669021606, 0.36216017603874207, -0.15737967193126678, -0.2760469913482666, -0.3784686028957367, 0.08618690818548203, 0.5110642910003662, -0.4606608748435974, 0.18350327014923...
very rare that you get something for nothing. The chief difference between **basic**HttpBinding and **ws**HttpBinding is that the latter supports the **WS-\*** protocols. basicHttpBinding gives you what you had with ASMX, more or less. "transactions" would be *much* more than you had with ASMX.
[ 0.25002145767211914, -0.48254016041755676, -0.12033288180828094, 0.41384708881378174, -0.31235015392303467, -0.40464526414871216, 0.3259238302707672, 0.18530407547950745, -0.2463291585445404, -0.5291693806648254, -0.19620926678180695, 0.6712453961372375, 0.04030907154083252, -0.05795643106...
What are the differences between SHA1 and RSA? Are they just different algorithms or are they fundamentally (i.e. used for different things) different on some level. Fundamentally different. **SHA1** is a hash algorithm, which is a one way function, turning an input of any size into a fixed-length output (160 bit in t...
[ 0.004340521991252899, 0.04633662849664688, -0.039953622967004776, -0.1991041749715805, -0.4746025800704956, -0.012700210325419903, 0.3134649097919464, -0.205051988363266, -0.4300646185874939, -0.3682902455329895, -0.19645482301712036, 0.004932495765388012, -0.38147079944610596, 0.233482494...
called the birthday paradox - Google it for more). In fact for SHA1 this is no longer the case - the algorithm is (in cryptographic terms at least) broken now, with a collision attack described by Xiaoyun Wang et al that beats a classic birthday attack. The SHA2 family is not broken, and a process is underway by NIST ...
[ -0.5311974883079529, 0.27067333459854126, 0.015023430809378624, 0.0239579901099205, -0.4485014081001282, -0.016700269654393196, 0.3614282011985779, 0.19555923342704773, -0.44852277636528015, -0.23568536341190338, -0.30072951316833496, -0.11012724786996841, -0.22171306610107422, 0.196413740...
can't be reversed). It uses a different key for encryption (the public one) than for decryption (the private one). This can therefore be used to receive encrypted messages from others - you can publish your public key, but only you with the private key can then decrypt the messages that have been encrypted with it. If...
[ 0.028238702565431595, -0.16588076949119568, 0.4751957654953003, 0.1035243421792984, 0.27075186371803284, -0.11985468864440918, 0.09953928738832474, -0.19048509001731873, -0.6036193370819092, 0.06608115136623383, -0.21811863780021667, 0.4006209373474121, -0.3284514546394348, 0.0985746830701...
confidence that you were the one who encrypted the original. This is normally done in conjunction with a hash function - you hash your input, then encrypt that with your private key, giving a digital signature of a fixed length for your input message.
[ 0.3428531587123871, -0.17285668849945068, 0.1942843794822693, 0.31698358058929443, 0.3673333525657654, -0.17852410674095154, 0.21062907576560974, -0.22981400787830353, 0.09973883628845215, -0.009444146417081356, -0.05148419737815857, 0.7527721524238586, 0.09134801477193832, -0.368259310722...
I have to activate android's system key lock (the one you get when you press the *power off*/*hang up* button). See here: ![img](https://farm4.static.flickr.com/3202/2849046033_fd42359cef.jpg) I already browsed the docs but everything I found was [PowerManager](http://developer.android.com/reference/android/os/PowerM...
[ 0.06436314433813095, -0.03239751607179642, 0.6570045948028564, -0.15870429575443268, 0.01646038331091404, -0.06742759048938751, 0.7503761053085327, -0.5307872891426086, -0.24975135922431946, -0.5136897563934326, -0.3074055314064026, 0.8380303978919983, -0.39274200797080994, -0.074302963912...
answer to the exact same question for a while. Apparently, after 2.0 onwards the device manager privileges for the app level were removed. But with Froyo - 2.2 the device policy manager is revealed granting us developers a multitude of administrative level controls. <http://developer.android.com/guide/topics/admin/dev...
[ -0.26573365926742554, 0.0937952920794487, 0.8239840269088745, -0.16547030210494995, 0.019124183803796768, -0.13016772270202637, 0.24133332073688507, -0.20322264730930328, -0.18291832506656647, -0.3689036965370178, -0.4193580150604248, 0.6337305307388306, -0.32896706461906433, -0.1630673408...
4060 "Server rejected the connection; Access to selected database has been denied". How can I troubleshoot this error? Do you have permission to access the database using the credentials that you are supplying? What provider are you trying to use? TCP/IP, Named Pipes? Has that provider been enabled? Is there a firewal...
[ 0.05994490534067154, 0.11346722394227982, 0.30402496457099915, 0.27658918499946594, 0.2942001223564148, -0.16399727761745453, 0.09818881005048752, -0.025232605636119843, -0.41506075859069824, -0.6812772154808044, 0.15761606395244598, 0.4716438949108124, -0.3971411883831024, 0.2779061496257...
What good practices and strategies are there for running regression tests in embedded environments or in other situations where the possibility to automate tests is very limited. In my experience a lot of the testing has to be performed manually i.e. a tester needs to push a sequence of buttons and verify that the mac...
[ 0.3291122019290924, 0.2971401810646057, -0.14718683063983917, 0.24163012206554413, 0.2733585238456726, 0.08364877104759216, 0.30727723240852356, -0.0975198745727539, -0.3629179000854492, -0.41307711601257324, 0.2514936029911041, 0.6717568635940552, 0.049215737730264664, 0.05675635859370231...
with this kind of problem? Personally, I'm a big fan of having my embedded code compile on both the target hardware and my own computer. For example, when targeting an 8086, I included both an entry point that maps to reset on the 8086 hardware and a DOS entry point. The hardware was designed so all IO was memory mappe...
[ 0.3991868197917938, 0.4538436233997345, -0.17316113412380219, 0.022079942747950554, 0.23691806197166443, 0.1308996081352234, -0.007387156598269939, -0.2366504818201065, -0.06580837815999985, -0.6042763590812683, 0.35297891497612, 1.0088579654693604, -0.16202786564826965, -0.219875007867813...
all the inputs and outputs for the hardware are controlled through software. We use this a lot in factory testing. One time we built a simulator into the IO hardware. That way the rest of the system could be tested by sending a few commands over CAN to put the hardware into simulated mode. Similarly, well-factored sof...
[ 0.7099364399909973, -0.0006238779169507325, -0.0661923810839653, 0.3578386604785919, 0.13489669561386108, 0.38575321435928345, -0.22245602309703827, -0.12736104428768158, 0.19568556547164917, -0.5594956278800964, 0.20328208804130554, 0.8243680000305176, -0.1858138144016266, -0.135887324810...
Essentially I want to embed some XHTML in an XML document that must validate against a custom schema. Full background: I have a webservice that consumes an XML document. This XML document is validated against a custom schema. The data in the XML is parsed and stored in a database, and displayed in a useful format on ...
[ 0.8148785829544067, 0.5183631777763367, 0.3946518003940582, 0.28388145565986633, 0.00908778328448534, -0.3857193887233734, -0.30825018882751465, 0.11402496695518494, -0.0022840206511318684, -0.34594568610191345, -0.09219174087047577, 0.6042325496673584, -0.19240784645080566, 0.268767207860...
he fires at my webservice to include 3 new elements that will contain the HTML, and I will adjust my schema accordingly. I'll also do the processing to get his XHTML out of the XML doc an on to the web pages. I don't want to use cdata as that could be quite insecure (I think!), so I was trying to use an `<xs:any>` in ...
[ 0.2354259490966797, 0.32199826836586, 0.7208893895149231, -0.04844773933291435, -0.24666745960712433, -0.2770434319972992, 0.18579275906085968, -0.26511287689208984, 0.02696138061583042, -0.644917368888855, -0.29148077964782715, 0.38102737069129944, -0.5212538242340088, 0.07373947650194168...
element, e.g. all XHTML tags would be fine, however I tried this: ``` <SomeXhtmlStuff> <p>This is a test HTML output for Job Details</p> </SomeXhtmlStuff> ``` and the XML won't validate against it. Edit: Visual Studio 2008 in it automatic validator gives the error "the 'p' element is not declared" I haven't got ...
[ 0.11353149265050888, -0.025731749832630157, 0.5769623517990112, -0.1919374018907547, -0.3276102542877197, -0.02178678661584854, 0.4237123727798462, -0.37762048840522766, -0.09005441516637802, -0.5935074090957642, -0.19028210639953613, 0.45346418023109436, -0.4695984423160553, -0.2604117691...
What is the difference between **AppDomain**, **Assembly**, **Process**, and a **Thread**? An AppDomain is an isolation unit within a process. AppDomains can be created at runtime, loaded with code, and unloaded. Its an isolation boundary designed to make .NET apps more reliable. An assembly holds one or more modules...
[ 0.18729442358016968, 0.11922672390937805, 0.29914093017578125, 0.024849673733115196, 0.13799692690372467, 0.32081612944602966, 0.06015161797404289, -0.00010531125735724345, -0.4638284146785736, -0.6171566247940063, -0.46183812618255615, -0.05139555037021637, -0.5252008438110352, 0.48979094...
the impression that multiple applications are running at the same time. To put it all together (very simplified)... A program is executed. A process is created by the operating system, and within its single thread it starts loading code to execute. In a .NET application, a single AppDomain is created by the CLR. The ...
[ 0.1411464363336563, 0.19830520451068878, 0.5450021028518677, 0.24652430415153503, 0.21290072798728943, 0.32182130217552185, 0.02736341953277588, 0.04711322486400604, -0.4920234978199005, -0.557586133480072, -0.3915195167064667, 0.15502646565437317, -0.6593816876411438, 0.5417277216911316, ...
I intend to start developing an ASP.NET application and I am wondering which database to use. Performance is very important and the database should be able to handle without issues a database of about 50GB. I am wondering however, if a SQL Server license is worth paying for. I have looked for performance and scalabilit...
[ 0.1037411317229271, 0.16215863823890686, 0.17704665660858154, 0.1796431839466095, -0.282136470079422, -0.08659674972295761, 0.0827883780002594, 0.17226320505142212, -0.3077504336833954, -0.6426759958267212, 0.14911919832229614, 0.41448599100112915, -0.06781674176454544, 0.00257202284410595...