Posts

Showing posts from July, 2010

postgresql creating rules on columns? -

I need to format my SELECT query in a text column. How can I do this without putting a question together Can i do Do I use a rule in this matter? I have tried to make a rule on the columns of tables but apparently this will not work. Create or replace the rule t_format as the selection on site_ss_last_entry2 Choose Internet_date from site_ss (site_ss.last_entry2); Select only one view and SELECT from this view that you are looking for in.

use case - Do you know any projects where ZeroMQ was used? Both success and failure stories are valuable -

I'm interested in using ZeroMQ in the project, but I want to hear about it with another experience. I did some searches but only matching 2 projects Have you heard of other projects where it is used? Do companies use ZeroMac in production? We used to replace unified pipes with ZeroMac. Communication overhead is not equally noticeable. And we've got additional benefits: No limit on message size Ability to send messages to a remote box. No need to write Ability to receive messages from multiple sources.

java - xml beans: error "date before year -4713" -

मेरे पास अगला XML है & lt; b: रिकॉर्डिंग & gt; & Lt; p: STARTTIME & gt; 2010-08-03T08: 39: ३१.१३२६२५ & lt; / b: STARTTIME & gt; & Lt; p: stopTime & gt; 2010-08-03T08: 40: ५०.१३२६२५ & lt; / b: stopTime & gt; & Lt; p: timeDiff & gt; PT3M10.867375S & lt; / b: timeDiff & gt; & Lt; / b: रिकॉर्डिंग & gt; Serializetion की प्रक्रिया के दौरान इस एक्सएमएल बीन्स (मैं एक्सएमएल बीन्स फ़्रेमवर्क का उपयोग करता है) मुझे त्रुटि year-4713 से पहले की तारीख इस त्रुटि को ठीक कैसे करें? धन्यवाद। पी.एस. प्रारंभ और रोक के समय प्रकार हैं: xsd: dateTime और समय के लिए डेफ है: xsd: अवधि यह आवाज़ जैसे कि तिथियां सक्रिय स्थान के द्वारा अपेक्षा से किसी अन्य प्रारूप में हैं।

Flex 3 - Issues passing parameters through an event -

I am stuck with an issue and I do not understand why this happens .... In a loop, I am passing as an event parameter for the index. However, the event handler is getting a wrong index, but the correct target ... Here is some code .AS class method: set the public function Data Agent (a: Array ): Zero {var x: int = 0; If (a! = Null & amp; amp; a.length & gt; 0) {label array = (new array collection (A)); Trace ("################################### ###############); (Var i: int = 0; i & lt; a.length; i ++) {var btn: NavigationRobotn Ctrl = new navigationArroboton Ctrl (); Var s: String = (New Array Collection (A)). GetItemAt (i) .toString (); Trace (i + '/' + s); Btn.addEventListener (FlexEvent.CREATION_COMPLETE, function (e: FlexEvent): zero {var lblIndex: int = i; btnAddLblHandler (e, lblIndex);}); This.addChild (btn); This.setChildIndex (BTN, 0); } Trace ("#################################) # ###############); }} Private function btnAddLblHandler...

ajax - obtaining id of an html element using jquery -

I have to get a postcard from a form and send it by AJAX. Code is given below: var $ fields = $ ('# myform: input'). SerializeArray (); Var value = {} jQuery.each ($ field, function (i, field) {values ​​[field.name] = field.value}); MyJson = JSON.stringify (value); Now, instead of values ​​[field.name] I know that the ID of the element to be sent is the key to post data. I have tried value [$ (this) .attr ('id')] = field.value but, it is not working You can use the following: var value = {}; $ ("#mayform: input"). Each (function (i, field) {values ​​[field.id] = field.value;}); Var str = (JSON.stringify (value));

java - Source not found for URLClassPath$JarLoader.getJarFile(URL) line: not available error occurs if i start tomcat in myeclipse -

If I'm starting a badge or any one server to run web applications then this URL is classpath $ JarLoader.getJarFile (URL) line is not available in: myeclipse You are running tomak in debug mode and eclipse config / environment is a bit confusing. To move around this, either do not run the tomcask in the debug mode or clear the Eclipse environment Try to restart Eclipse with the -clean argument if it is useless If not, then try to delete the entire .metadata folder in the relevant workspace (make backup!) And restart it.

winapi - Where can I find windows crash dump (Blue screen crash dump)? -

Where can I find the blue screen of death accident dump? Your crash will depend on the dump location set in the system. To find out that it goes to your control panel, then click on System, then Advanced System Settings (in Windows 7) or Advanced tab (in Windows XP), Startup and Recovery 'Settings' Do button. Near the bottom of the Startup and Recovery Settings window there will be a dump file location text box that will specify where you can get it. More information about dump files can be found here ->

generics - Java Collections: Pass collection of children as collection of parents -

मेरे पास एक इंटरफ़ेस और कुछ वर्ग हैं: सार्वजनिक इंटरफ़ेस IPanel & lt; ComponentType Component & gt; ; {सार्वजनिक शून्य जोड़ने वाले घटक (सेट & lt; ComponentType & gt; घटक); सार्वजनिक घटक टाइप करें (); } सार्वजनिक वर्ग बटन घटक प्रदान करता है {} सार्वजनिक वर्ग LocalizedButton बटन विस्तारित {} सार्वजनिक वर्ग ButtonPanel लागू IPanel & lt; बटन & gt; {सार्वजनिक शून्य addComponents (सेट & lt; बटन & gt; घटक) {... / * का उपयोग करता है () * /; } सार्वजनिक बटन बनाएं () {नया बटन लौटें (); }} पब्लिक क्लास लोकलाइटेडबटन्सपैनेल बटनों को बढ़ाता है {पब्लिक बटन बनाएं () {नया लोकलियाट्यूबटन लौटें); }} तब मेरे पास स्थानीयकृत बटन्स का एक सेट है और जब मैं कॉल करता हूं अंतिम स्थानीयकृत बटननपनल स्थानीयकृत बटननपनल = नया लोकलियाटुटपटल (); अंतिम सेट & lt; स्थानीयकृत बटन & gt; स्थानीयकृत बेट्ससेट = नया लिंक्ड एचशसेट & lt; स्थानीयकृत बटन & gt; (); localizedButtonsPanel.addComponents (localizedButtonsSet); मुझे लगता है कि यह तर्क इस तर्क के लिए लागू नहीं...

logging - Add additional appenders with NServiceBus Generic Host -

Can someone tell me in the right direction? What different log4net config files for each profile? In this way can I have a production.log4net.config and a lite.log4net.config? It would be more cool if the configuration configuration was at the top of the programmatic configuration already created in the generic host you need to override your own profile, and then apply IConfigureLoggingForProfile and call it: NServiceBus.SetLoggingLibrary.Log4Net (() => log4net.Config.XmlConfigurator. Configure (File Opener ("production.log4net.config")));

validation - WCF FaultException - crashes App Pool when "re-throwing" from internal WCF call -

I have a WCF service that is hosted in IIS, and uses a WS HTTP binding (external service) . This service calls for a second WCF service, which is hosted in a Windows service, more than the Net TCP (Internal Service). When the internal service throws a fault excitation , the client crashes the external service instead of throwing it. All customers see that the connection is being forced to be closed. The Internal Service uses the Enterprise Library Verification Application Block to validate incoming messages. ValidationFault & gt; Both internal and external services are a [FaultContract (typeof (ValidationFault)] FaultException & lt > Specialty in the service contract, I change the external service, then just instantly make a new FaultException & lt; ValidaitonFault & gt;. , this gets back to the customer's fine. Exception can hold exceptions from, but if I try to throw it again I wrap it in a new exception, and throw the whole application pool in IIS...

python - In Django, how to get django-storages, boto and easy_thumbnail to work nicely? -

I am creating a website where files are uploaded through the administrator and store them on Amazon S3 Will give I am using the Djeje storage and beto for this, and it seems that it is working fine. The thing is, to make thumbnails on the fly side of my easy thumbnail (new shurl. Thumbnail) template side, I like this approach rather than model approach because it allows for easy maintenance If I decide to change the thumbnail size in later date, etc. But I am feeling that it is stored on Amazon S3 to read the easy-thumbnail image. Besides, I realized, in any way, put thumbnails in the same way? Obviously, I like them also on Amazon S3. But how do I play these two techniques well? How do I get thumb-thumbnails to store thumbs, which makes it back on Amazon S3? Or am I just looking at all this wrong ?! Thank you! Easy-thumbnails You must have an S3-based image thumbnailing - you just settings.THUMBNAIL_DEFAULT_STORAGE needs to be set up, so that easy_thumbnail knows w...

wordpress - How can I display post link group by year? -

I want to display a list of post link groups over the year. The archive function does not do this example: 2010 Blender 2.53 release gamequiry 0.5 released sinkfig 0.62.02 released ... 2009 GIMP 2.67 released Blender 2.52 release How can I do this? query all your posts sorted by date of posting (I think descending?). You print them one by one, miss the year, and when the year of the current post is not the same as the year of the previous post, you know that you have to print a year's label. query_posts (array ('nopaging' => 1, / * we want all posts, so disable paging; order is the default according to date * /)); $ Prev_year = Null; If (is_pause ()) {while (is_posts ()) {the_post (); $ This_year = get_the_date ('Y'); If ($ prev_year! = $ This_year) {// Year limit! (! Is_null ($ prev_year)) {// A list is already open, turn it off first & lt; / Ul & gt; '; } Echo & lt; H3 & gt; '. $ This_year '& lt; / H3 & gt; ...

objective c - Pass a Variable Up the Navigation Stack? - iPhone -

I am able to forward a variable from the view controller to see the controller by pushing my view controller on the navigation stack . An example of how I would do this would be: MyViewController * Controller = [[MyViewController alloc] initWithNibName: @ "MyViewController" bundle: zero]; Controller MyString = stringToPass; [Self. Navigation controller Push ViewController: Animated Controller: Yes]; [Controller release]; However, if I want to return a variable back to the navigation stack, what should I do? Using POPViewController does not pass the pushViewController variable instead of permission like I thought it would be I need to be able to reach several variables of the variable with that view controller that has been defined. Any help would be greatly appreciated :) You do not pass the value Doing, not the variable, not the variable, not the variable A visual controller should not be responsible for popping itself. With Apple's view controllers ...

python: get number without decimal places -

a = 123.45324 क्या कोई फ़ंक्शन है जो केवल 123 हमेशा शून्य की ओर छोटा होगा: & gt; & gt; & gt; ए = 123.456 & gt; & gt; & gt; इंट (ए) 123> gt; & gt; & gt; ए = 0.9999 & gt; & gt; & gt; इंट (ए) 0>> gt; & gt; Int (-1.5) -1 int के बीच का अंतर है और यह है कि math.floor नंबर एक फ्लोट के रूप में देता है, और शून्य की ओर कटौती नहीं करता।

add in - Permission Denied Error During Update of a Local MSOffice Add-In from Network -

I am trying to write a process in PowerPoint 2003 which will allow automatic updates of an installed add-in. The normal process is as follows: Uninstall the add-in For each objAddIn application.AddIns if UCase (objAddIn.Name) = UCase (AddInName) Then with objAddIn Registration = msoFalse .AutoLoad = msoFalse. Loaded = end with msoFalse end if the next set the local add-inbox directory to objFSO = CreateObject ("Scripting. FileSystemObject ") If objFSO.FileExists (FileName) is set to objFSO = nothing is missing the filename until step 2 On reaching, any attempt to delete FileSystemObject or directly by removing the file by using Delete essentially generates> run-time error '70 ': Denied Numti if I hit Debug and then plays me, it shows long as there was no problem. Side note: I realize that I can use FSO to overwrite a local file, but this gives me run-time error I think the problem is to be used with some aspect of the...

ggplot2 - R + ggplot: plotting over multiple pages -

I am trying to write a function that plots a ggplot facet_wrap plot on multiple pages Does. This is just a hack, because this feature is in the ggplot2 feature to-do list. To find out the number of pages I need, do some minor calculations, the number of rows of my data.frame for which I need per page etc. I'm pretty sure that all this works (slices = CEC ((i-1) * num_rows) +1, (i * num_rows)) for fragment = piece pdf (filename ) (Seq (num_pages) in i) [(slashes & gt; nrow (df.merged))] df.segment = df.merged [piece,] P My problem is that, by wrapping it in one for this loop, pdf () and dev.off () Function is that ggplot is not waiting for it to loop, and it blazes very quickly through its loop and outputs an invalid pdf. If I set i = 1 , then start pdf () , run the code above the loop, then i = 2 , then run the code, and as long as I'm not bored ( i = 3 ), then close the device, which results in a PDF very good Is there a way that I can wait for th...

Sorting a list of lists in Python -

c2 = [] पंक्ति 1 = [1,22,53] पंक्ति 2 = [14,25,46] row3 = [7,8,9] c2.append (row2) c2.append (row1) c2.append (row3) c2 अब है: [[14, 25, 46], [1, 22, 53], [7, 8, 9]] मैं कैसे सी 2 इस तरह से कि उदाहरण के लिए: पंक्ति के लिए सी 2 में: पंक्ति पर पंक्तिबद्ध [2] परिणाम होगा : [[7,8,9], [14,25,46], [1,22,53]] दूसरा प्रश्न यह है कि मैं पहली बार पंक्ति [2] के अनुसार कैसे और पंक्ति में [1] द्वारा निर्धारित किया गया है प्रत्येक तर्क तत्व से एक तुलना कुंजी निकालने के लिए उपयोग किया जाता है एक तर्क का एक कार्य तो हम एक सरल लैम्ब्डा बना सकते हैं जो कि प्रत्येक पंक्ति से अंतिम पंक्ति को वापस क्रम में उपयोग करने के लिए देता है: c2.sort (key = lambda row: row [ 2]) जब आप इस तरह एक साधारण एकल उपयोग समारोह बनाना चाहते हैं तो यह आसान है। बराबर कोड लैम्ब्डा का उपयोग नहीं करेगा: def sort_key (पंक्ति): वापसी पंक्ति [2] c2.sort (key = sort_key) यदि आप अधिक प्रविष्टियों को सॉर्ट करना चाहते हैं, तो बस key फ़ंक्शन को एक महत्वपूर्ण दर्जा युक्त क्रम में एक ट्यूप...

qt - how to drag and drop from another widget on to a QGraphicsScene -

मुझे QListWidget से कुछ खींचें और QGraphicsScene , और ड्रॉप कोड पर QGraphicsItem के उपवर्ग बनाएं। क्या किसी के भी पास कोई सुझाव है? मैं क्यूटी 4.6.3 का उपयोग कर रहा हूं। ड्रैग एंड ड्रॉप पहेली उदाहरण ऐसा लगता है कि आप क्या कर रहे हैं की तलाश में:

python - How do I maximize efficiency with numpy arrays? -

I'm just getting numpy, and I'm impressed with my claims of C-like functionality. I wanted to see the differences between myself and these numerical lists, so I conducted a quick time test, without doing anything simple tasks without it. Nampi, as a candidate, removed the listed list regularly by an order of magnitude in the allocation and operation of mathematics. But this segment of code, similar in both tests, taken a little more than 2.5 seconds with 1/8 of each other and one with a regular list: file = open ('timing Number: 1000 == 0: file.write ("Multiple of 1000! \ R \ n") file.close () for 'log', 'w') Does anyone know why this can happen, and if there is any other syntax then I should use this kind of operation so that what ndarray can do better May Ab? Thank you ... Edit: To answer Wayne's comment ... I repeatedly gave him time to separate orders and every time much more Received similar results, so I suspect that this is...

Store a javascript interval in a jQuery element.data object? -

I am working on a jQuery plugin (a jQuery UI widget) where I need to store specific reference contexts For every individual example of the plugin on the page, if I just write something like this: PreInterval = setInterval (function () (warning ("Hi!"), 100); ... The variable myInterval will actually be window.myInterval and it will be shared by all the examples on the page So when I try to set or clear an interval for an example, the interval for all instances will be set / cleared because they all refer to the same window variable. By looking through the jQuery API, I found this method to be used to store arbitrary data associated with the matched elements and since each instance of the plug-in has the corresponding DOM element best! By using this method, I can store the data that is specific to the matching element, so I have structured my code in such a way (where is a reference to the element of L. Milan): El.data ("myInterval", setInterval (fu...

asp.net mvc - How can I close one jQuery UI Dialog and focus on another? -

After my call to $ .ajax (), all UI dialogs are currently closed and according to the page a complete postback It seems to be Firebug - this is not what I need. I want to list ** UI dialog ** (Read: Partial view) is visible, then the "Create" button is pressed to open another UI dialog to create an address. I want the AJAX Post data (Preferably written, though I did not know how to do this, so ugly data: in & amp; .ajax call) , Create a list and close the Refresh list dialog - never return "opening" in the initial standard view before opening the list. Create a partial view: & lt; Input type = "submit" value = "create" onclick = "createaddress (& lt;% = ViewData [" profile id "]%>;); Return;" / & Gt; list partial view & lt; Script type = "text / javascript" & gt; Function createaddress (id) {$ .ajax ({type: "POST", url: "/ address / create /" + ID, da...

php - JQuery removing and adding classes -

I am trying to use JQuery to add / remove classes as part of a function that is main Here is my javascript: $ (document) .ready (function () {var clickHandler = function ( $ ('. (' 'Selected'). $ ('Selected'); $ (this) .addClass ('selected' '($.' 1 '), clickhandler); $ (' link2 ' ). Bind ('click', {id: '2'}, clickhandler); $ ('link3'). I have divs HTML (this part works): & lt; div id = "options_1" class = "tab" & gt; & lt; h3 & gt; your feed & lt; / h3 & gt; & lt;? = $ UserFeed? & Gt All recent activity $ Feed? & Gt; & lt; / div & gt; & lt; div id = "options_3" class = "tab" & gt; & lt; h3 & gt; Trends & lt; / H3 & gt; coming soon! & Lt; / Div & gt; And here's the HTML of the link in the sidebar section of the page that controls the div switching. The "selected...

A python module for global parameters - is this good practice? -

I am a Mechanical Engineering student, and I am creating a physical simulation using PyODE. Instead of running everything from a file, I wanted to arrange things in the module, so I was: main.py Callback.py Assistant. P When I realized that I really need helper.py to refer to the variable, but the main Help was importers! So my solution was to create a fourth file, which makes the variable home and only import external modules (such as time and random). So now I have: main.py callback.py helper.py parameters.py and in all scripts: import parameters and use: parameters.foo or parameters .bar . Is this acceptable practice or is it a surefire way to make Python programmer vomiting? :) Please let me know that this makes sense, or if there is another sensible way to do this! Thank you, -wave I try to design my code so that It looks like a pyramid I've found, the cleaner leads to the code.

Trying to follow WCF delegation example on MSDN but keep getting "impersonation level" exception -

An example of the title below the bottom () of this article shows how to use the delegation. Where MSDN shows an example of how to perform the delegation I have tried to take this example and applied it to my code. In my case, I have Client App (WCFT Client), a Middle Service and Back End Service. Its goal is that the client has executed a WCF highlight method on mid service, which, in turn, calls another method on the previous service. I am trying to get the identity of execution on both the central service and back end service of the client executing the client: Client ----> Central Services ----> Back End Service . The exception to the "ChannelPaper policy" invoval is: The file or the assembly could not be loaded, System.Transactions, Version = 2.0. 0.0, culture = neutral, public token = B77A5C 561934E09 'or one of its dependencies, either an essential cloning level was not provided, or the impersonation level provided is invalid. (Exception from HRESU...

iphone - locationServicesEnabled test passes when they are disabled in viewDidLoad -

I have location services disabled for my application in the Settings panel. I run a test in viewDidLoad in my Visual Controller To see if they are enabled: if ([CLLocationManager Location Services enabled]) {// do something now} This test is always For any reason, if I try and access the location services, then I'll go to the location manager. To get a Kesielarardiandid error. what gives? Am I using the wrong test? location services enabled class method tests global settings for location services only Does AFAIK, there is no way to test whether your app has been explicitly rejected or not. You need to wait for the location request to wait and use the CLLocationManagerDelegate method for locationManager: didFailWithError: , whatever you need eg: - (Zero) Position Manager: (CLLocationManager *) Manager has a FileWire Error: (NSError *) Error {NSString * errorString; [Manager stopupdating location]; NSLog (@ "Error:% @", [Error localization]]; Switch ([...

Opening a resource outside an activity in Android -

I am trying to open a resource by passing the result of context.getResources (). GetString (R.drawable.myimage) for any other category that is not the activity Context.getResources (). GetString (R.drawable.myimage) Returns / Drawable-mdpi / myimage.png However, when I try and open this file, it throws FileNotFoundException. What's the proper way to open a resource outside an activity? Can you post code where you try to open the file. res / drawable-mdpi / myimage.png is the relative path, not an integer I think that you are not opening the correct path using the relative and absolute path.

html - Applying CSS through jQuery to a div called by Javascript? -

मेरे पास निम्न है: & lt; div & gt; & Lt; स्क्रिप्ट प्रकार = "टेक्स्ट / जावास्क्रिप्ट" src = "someUrl" & gt; & lt; / स्क्रिप्ट & gt; & Lt; / div & gt; यह स्क्रिप्ट उसके अंदर कुछ लिंक के साथ एक div बनाता है, इसलिए इसे पसंद है: & lt; div & gt; & Lt; div & gt; & Lt; a href = "" & gt; & lt; / a & gt; & Lt; / div & gt; & Lt; / div & gt; मुझे उन लिंक्स को शैली के रूप में jQuery के साथ एक निश्चित रंग बनाने की आवश्यकता है क्योंकि इस तरह से पृष्ठ विकसित किया गया था। अभी मेरे पास निम्न है: & lt; स्क्रिप्ट प्रकार = "टेक्स्ट / जावास्क्रिप्ट" & gt; $ (दस्तावेज़) .ready (फ़ंक्शन () {$ ("div a")। सीएसएस ("रंग", "# ffffff");}); & Lt; / स्क्रिप्ट & gt; केवल ब्राउजर जो सफेद रंग के लिंक को बदलता है, फ़ायरफ़ॉक्स क्योंकि मेरा मानना ​​है कि एफएफ पृष्ठ को अलग तरह से लोड करता है और स्क्रिप्ट के बाद डिवा निर्माण करता है। मैं...

calling C++ methods from C -

So it has been a while since I've used C directly and I have a project where I work on I am at C ++ in an API. Most of these methods are just C anyway, and all return values ​​are C structures. Except one. One method gives me the vector & lt; String & gt; needs to be returned. Now my question is, what is qualified with C ++ methods / libraries / C? I will ask because I do not know people who are using APIs are going to write in C or C ++, and I think I should just return the C structures. This is the reason why I have to go back to a four ** , that will not be required. I hope that made sense, if not: Tl; Dr. Version - I can do this if it gives a C structure, and call a C ++ method from C if that is the best (only?) Equal return vector & lt is the value, string & gt; -> Four ** ? Update: C ++ methods are only global methods, no class or object-oriented stuff. The only thing is that C ++ is specific to my vector question other than some stringstre...

Accessing data from server through php in iphone -

I am using this code to access data from the server, NSString * post = [[NSString alloc] initWithFormat: @ "email =% @", Jiimel]; NSDTA * PostData = [Post Data Usage Encoding: NSSEIITITING Encoding Permission Loansy Conversion: Yes]; NSString * postLength = [NSString stringWithFormat: @ "% d", [Postdeta length]]; NSURL * url = [NSURL URLWithString: @ "http://smads.in/day.php"]; NSMutableURLRequest * theRequest = [NSMutableURL request request withURL: url]; [TheRequest set HTTP method: @ "post"]; [TheRequest set value: post length for the http header field: @ "content-length"]; [TheRequest Set HTTPBB: PostData]; NSURLConnection * theConnection = [[NSURLConnection alloc] initWithRequest: theRequest Representative: Self]; If (connection) {webData = [[NSMutableData data is maintained]); } Does Else {} Get a little late data so the problem is that - I have a code that checks the data received from the server - if (flag == 1) NS ...

asp.net - Refreshing Gridview -

I have previewed the grid via the wizard. It's working fine but I want to add new data if I Should be visible in the gridview. But Gridview is not refreshing I know I can perform this program. But I also want to do this in this matter. Any help would be appreciated. Thanks Add it to the action method of the Save Save button from the data, add it dataGridView.DataBind ();

Detect if Exchange MAPI is installed -

Since Exchange 2007, MAPI is no longer installed when the exchange is set up. If you want to use MAPI, then these systems are necessary in addition to the exchange. My software depends on the MAPI, so I have to find out if its installation is established. How can I test reliably when MAPI is installed on the local machine? The first prize will be if I can also know that its exchange is MAPI or Outlook MAPI and if it is 32 bit or new 64 bit. Check that the HKEY_LOCAL_MACHINE \ Software \ Clients \ Mail \ ExchangeMAPI key is present and read the DllPathEx string value. Exchange (standalone) version for MAPI is always 32 bit. 64 bit version MAPI is installed only if Outlook 2010 is 64 bit installed.

Fluent-Nhibernate Many-To-Many relationshiop issue -

Fluent while trying to remove many-to-many relationship using Nhibernate is I have to face a problem. I am following domain squares: public class organization {public virtual id id {get; Set;} Private IILIT & lt; Organization Relationships & gt; RelatedOrganisations; Public Virtual ILIT & lt; Organizational Relationships & gt; Related Organization {Back This Is Related organization; } Protected Set {this.relatedOrganisations = value; }} Public Virtual Zero Extraordinary Organizations (Organization Relations Organization Relationships) {This. Affiliate Organizations Remove (Organization Relations); }} Here is the association section of my organization which is representing many relationships between organizations. public class Sngtnsnyojn {get public virtual Inti ID (; set;} public virtual Organization {get; set;} public virtual organization Risekteep Organization Rilekt Type {get; set;} public virtual Organization related organization {get} set;}} The sc...

SVG alternatives? -

I read that Googling that SVG was "dead". Although I disagree, can anyone tell me more / future vector-based formats to represent 2D / 3D graphics? What about VML? What format should I use to represent 2D and 3D graphics on the Web? I am playing with graphics on the web and I would like to know whether I am working with obsolete technology.

regex - I have to extract a word in Perl, using a regular expression -

शब्द -D से शुरू होता है (यह -d )। शून्य या अधिक रिक्त स्थान के बाद। उसके बाद यह एक $ द्वारा पीछा किया जाता है फिर श्रृंखला {rajna_NAME} है संक्षिप्त होने के लिए -d $ {ranjana_wdgf_NAME} या -D $ {Tom_task_NAME} मैं निकालना चाहता हूं मेरा संदेह है अगर ($ शब्द = ~ m / ^ - डी (\ $) \ | (\ w * NAME) ) क्या गलत है? कभी कभी regexes हैं इस मामले के लिए, मैं कोशिश नहीं करूँगा।

python - How to tell if item in list contains certain characters -

I have a script that creates a list of numbers, and I want to remove all the numbers from the list which is full There are no numbers (i.e. anything except zero after the decimal point) However, the dragon creates a list where the whole numbers are also found .0 are placed on the end, and as a result I can tell them differently with numbers than anything else. I can not use the int () function because it applies to all of them and makes them all integers, and then I lose the values ​​that were originally. Here is my code: z = 300 mylist = [] while (z> 1): z = z - 1 x = 600851475143 / z mylist. The append (x) print (mylist) [for yy in mylist, if the Y #insert rule shows what's in .0 here] In the first bit, only 600851475143 in every number Replaces between 300 and 1 in return. I need to filter this list then, to get those people who are whole numbers, I have a filter, but where I need a rule of comment that will tell what the special value is in the list .0 Can it b...

java - Hibernate : dynamic-update dynamic-insert - Performance Effects -

Dynamic-update or dynamic-insert use is positive, though usually only on display, as But the reference documentation mentions that there may be negative display effects as follows: Although these settings can increase performance in some cases, they are actually in others Can reduce performance. / P> Can anyone suggest some examples / scenarios on which negative display effect is mentioned? for each entity, the actual INSERT / SELECT / UPDATE caches the hibernate to SQL strings and The obvious advantage is that there is no need to calculate SQL, when you continue, find or update a unit. However, when using dynamic-insert or dynamic-updates, hibernate is to generate this same SQL string each time and thus there is a display cost on the hibernate side. In another, there is a trade-off between word, database side and overhead on the hibernate side. My point is that dynamic insertion and dynamic updates can be interesting for tables with a thick blanket column or t...

Add page title to custom theme on Magento -

आप कंटेंट एरिया के बाहर कस्टम थीम को पेज शीर्षक कैसे जोड़ेंगे? क्या आप एक सीएमएस पृष्ठ मतलब है? मुझे यकीन नहीं है कि आप क्या पूछ रहे हैं यदि आप सीएमएस पृष्ठों में और lt; title & gt; टैग के बारे में बात कर रहे हैं, तो आप उन पेजों के तहत, जो आप संपादित करने की कोशिश कर रहे हैं, उनसे मैगेंडा सीएमएस मैनेजर में सेट कर रहे हैं, जहां यह कहता है " पृष्ठ शीर्षक "- यदि वह ऐसा नहीं है जो आप ढूंढ रहे हैं, तो कृपया अपने प्रश्न पर विस्तृत करें।

css - iPhone & iPad position: fixed bottom problem -

If you scroll down, you will find a login button below the footer. If you click it, the login appears at the bottom of the screen. I did this with a negative standing opposite the lower part of the page. It works fine in every browser, like mobile devices like iPads and iPhones Screenshots on iPhone: Does anyone know a job for this? This is because the iOS browser uses a viewport that swirls around the window It means that the fixed position in relation to the window is fixed, but by checking the viewport current viewport status, you will need to use javascript status.

visual c++ - When to use calling conventions -

अलग कॉलिंग सम्मेलनों का उपयोग करने पर प्रमुख कारक क्या हैं? वास्तव में अनुमोदित हो। ज्यादातर समय आपको इसके बारे में चिंता करने की ज़रूरत नहीं है आम तौर पर आप __ cdecl का उपयोग करेंगे, लेकिन केवल इसलिए कि यह दृश्य सी ++ में डिफ़ॉल्ट है सी ++ सदस्य कार्यों, हालांकि, दृश्य सी ++ में डिफ़ॉल्ट रूप से __ इसका सम्मेलन का उपयोग करें ए (बल्कि आम) स्थिति जहां आपको वास्तव में फोन करने वाले सम्मेलनों की चिंता है, जब आप कॉलबैक को पास करते हैं एपीआई कार्यों, जैसे कि विंडोज़ एपीआई में: // कॉलबैक # __स्ट्डीक लार्सल्ट कॉलबैक मायवंड प्रोक्र (एचडब्ल्यूएनएच एचडब्ल्यूडी, यूआईएनटी पीडैम, एलएपीआरएम एलपीएएमएम) के रूप में परिभाषित किया गया है; // ... windowClass.lpfnWndProc = और MyWndProc; :: RegisterClass (& amp; windowClass); यहां, हम MyWndProc () को __ stdcall सम्मेलन ( कॉलबैक है #define 'd as as __ stdcall )। यह आवश्यक है क्योंकि ऑपरेटिंग सिस्टम को उम्मीद है कि lpfnWndProc एक WNDPROC को इंगित करता है,। बस के बारे में हर विंडोज़ एपीआई फ़ंक्शन जो कॉलब...

java - Reusing Weka Code to Parse ARFF Files -

Has anyone done this? Is there a document to use this parser module? I have looked through the code but it is not clear how the data is actually used, after which it has been parsed. The file has these instructions in the src \ main \ java \ weka \ core \ converters \ ArffLoader .java (which I think is where ARF parsing): Typical code for batch use: BufferedReader Reader = new BufferedReader (new file reader ("/ some / where / file .furf")); Arfridder ARFF = New Ruffer (Reader); Instance data = arff.getData (); data.setClassIndex (data.numAttributes () - 1); But what else can I do with 'data'? How do I access each row and prices in each row? (By the way, I am new to Java. If I run this code, then there is some type what I can do in Python to see what I can do on data (I am also open to suggestions for a simple open source parser if someone is present to use it in my project.) I think your answer is in the example class - this Wher...

php - How to know which route was selected? -

I have created a function in bootstrap to make routing. Once the route has been selected, I would like to know which one it is. Ideally I would like to be able to get that information even in bootstrap, assume that I have a first function . _initRouting () which decides the routing and later a second function in the bootstrap _whichRoute () docs: If you need to determine which route was matched, then You get to the getCurrentRouteName () method Can yoga, which will return the identifier used when registering the route with the router. If you want the actual route object, you can use getCurrentRoute (). Then you must get the requested object in your bootstrap and use the above or use the control plugin

c# - Using app.config in MBunit test -

The way I have installed my unit test is that the user can run executable and to use Can choose a dataset. This information is stored in app.config, however when I try to use app.config it does not work while running the unit test with Gallio Icarus. EDIT: I got an area to bind property when I properties.Settings.Default.Save (); I do not think there is anything like App.exe.config does not change and there is no change. app config is the file that is MyProgramme.exe. Config file that reads the program at startup. It can be accessed through the object in the System.configuration namespace and assembly. Properties.Settings.Default file corresponds to the user .config that when you type settings.Settings.Default.Save () your program will generate app.config in the test file properties.Settings.Default will not affect. For more information, see

java - Updated DLL causes JNI to throw "Exception c0000005" -

This is my problem I have a third DLL (for which I do not have a source) That I have to use to talk to JNI. The people who supply this DLL are not Java-houses. I have searched a bug in my DLL, so some C ++ is written, which used my DLL , Highlighted the bug and sent them to a fix. Eventually, I got the updated DLL back, my C ++ code (which worked fine) went and found out that the bug was actually fixed. However, now when I use this new DLL inside my JNI code, the following exception is generated; exception C0000005, LEEE34l6 access violation: Address 00000004 Try Native function reading memory on the heap data: 0,3f49c0,20201,801c6,65637845,6f697470,3063206e, 30,303,030 com.jniwrapper. FunctionExecutionException: on ComkjniwrapperkFunctionCallkcall (Sourcefile: 35) on com.jniwrapper: on C0000005 ComkjniwrapperkFunctionkinvokeCFunc (Native method) at com.jniwrapper.FunctionCall.a (127 sourcefile). Function.invoke (sourcefile: 188) com.tme.techdoc3.diagnostic.api.denso.DensoAp...

Typesafe enum in Java -

It is not certain that the title is confusing, but the requirement is low let me input the input of custom annotations Need to use a string value in the form of i. IDE returns when using the ANIM value The Java attribute value must be fixed. @test ("test") // works @test (Const.myEnum.test.toString ()) // Java attribute value should be continuous I have read about the importance of string value being irreversible. It is possible to go through the medium (not the public static final string hack). Thank you. If the annotation is within your control, then the apprentice type of string Instead, type a enum . Otherwise, it is not possible. In addition to this, the annotation should start with upper case (i.e. test , not test ) in the form of every post class: // Retention, Targeted Public @ Interface Test {YourEnum value (); }

jQuery waiting until one animation has finished prior to starting another -

I have a set of tabs due to which some DIVs have a 'flyout' option at the top of a parent DIV . The material is pulled through AJX. Fly Out exclamation is clicked like $ ('fly_out'). Live ('click', function () {var $ widget = $ (this) .closest () 'widgets.'; Var $ flyOutIndex = $ (this) .index ('fly_out.'); If ($ flyOutIndex == 0) {$ flyOutURL = 'content /HTMLSnippets/Flyouts/Priceassessment/product_order.htm';} else if ($ flyOutIndex == 1) {$ flyOutURL = 'content / HTMLSnippets / Flyouts / PriceHistory / price_history_comparisons.htm';} else if ($ flyOutIndex == 2) {$ flyOutURL = 'content / HTMLSnippets / Flyouts / PriceHistory / price_history_scenarios.htm';} else if ($ flyOutIndex == 3) {$ flyOutURL = 'content / HTMLSnippets / Flyouts / PriceHistory / price_history_analysis .htm ';} // Close any open flyouts closeFlyout (); $ .ajax ({type: by the' URL: DashboardApplicationRoot + $ flyOutURL, datatyp...

java - Subclassing a generic type, returning instances of the subclass from a method in another class -

It was a simple, brilliant idea. Use the power of Java 5.0 animated type to encode the description of the data dictionary (attribute name, type, category, units, etc.) and create a type-safe system for setting and reading attribute values ​​(i,. E, in characteristic AAH summarized, ACC is calculated and should accept the values ​​of ACC001, ACC002, ACC003, etc. Only.) The bottleneck is that different types of different characteristics (floods) Scale, float, text, enumerated), and each type of behavior varies, so I create a base class with a type parameter and some abstract methods: public abstract Class GsAttributeValueBase & lt; T Comparable & lt; T & gt; & Gt; {Protected T m_value; ... public GsAttributeValueBase (...) {..} ... public abstract zero setValue (T value) IllegalArgumentException throws; Public T GetValue () {Return m_value; } // etc, etc., etc} I then subclass it for each type (basically, I'm trying to duplicate partial expertise): Public ...

c# - Simple app with timer is eating memory away? -

Can anyone explain why the memory of this small app is increasing? Fixed class program {Private Static System. Timer Timer _TestTimer; [STAThread] static zero main () {_TestTimer = new system Timer Timer (); _TestTimer.Interval = 30; _TestTimer.Elapsed + = New System Timer Espladeevent Handler (_TestTimer_Elapsed); _TestTimer.Enabled = true; Application.EnableVisualStyles (); Application.SetCompatibleTextRenderingDefault (wrong); Application.Run (New Form 1 ()); } Fixed zero _TestTimer_Elapsed (Object Sender, System.Timers.ElapsedEventArgs e) {string test = "tick"; Trace.WriteLine (test); Test = null; }} Thanks! My suggestion will be crank and it will figure out what the objects are in memory. Agree that we usually use it as the last option but in this case, it will give you the exact reason for the increase in memory

php - echo key and value of an array without and with loop -

यह मेरे पास एक सरणी है & lt;? Php $ page ['home' ] = 'index.html'; $ पेज [ 'सेवा'] = 'services.html'; ? & Gt; मैं इस तरह से व्यक्तिगत रूप से एक जैसे कुछ को कैसे गूंजता हूं मुख पृष्ठ index.html और फिर मैं एक लूप के माध्यम से यह कैसे कर सकता हूं और सभी को गूंज सकता हूं? foreach ($ पेज $ कुंजी = & gt; $ value) {गूंजती "$ कुंजी $ मूल्य पर है"; } 'बिना लूप' संस्करण के लिए मैं सिर्फ "क्यों?" पूछूंगी

php - Remove a bunch of escaped quotes from MYSQL -

I have a strange - I'm porting some data from one CMS to another. Both runs on LAMP. In the old CMS, the data was deposited with a slash in DB. Example: Hi. Thanks for looking. It's awful. ". It displays correctly as the output of the old CMS: Hi, Thanks for looking at this. Awesome ". But in the new CMS, they store the same text as the following and work with quotation marks: Hi . Thanks for looking. It's astonishing. " I have tried to change (directly) on mysql, but it escapes the quote and it only removes all the quotes then I will delete all the data Trying to pull with PHP and put it back, as expected slash data will be saved and I would love it, but not such luck - it seems that working for one of two rows but the query breaks down . Someone It's been a while since I played with Add / StripSlash etc. Thanks

php - Database access abstraction classes -

itemprop = "text"> Currently, I use a database class that uses DB named PDO . I have some sub-categories to reach each table: User Images Gallery Text Video It was good when I first started my project, but now I am not sure that it is very good because I have a method for every database query that I use each of these classes. For example: Image :: insertNew ($ file name) Images :: getTotalInGallery ($ galleryId) Images :: getAllInGallery ($ galleryId, $ fetchStyle) Images :: updateDescription ($ imageId) ($ ImageId) Images :: getFilename ($ imageId) Images :: getImageIdByFilename ($ file name) Gallery :: getNameById ($ GalleryId) Gallery :: getAll (Gallery) :: getMaxImages ($ galleryId) Gallery :: checkIfExists ($ galleryId) Gallery :: createNew ($ galleryName) Gallery :: getById ($ galleryId) Gallery :: Delete ($ galleryId) OK, you get the idea. I have been using these methods as the need for them, and in development, I just started us...

java - Handling multiple file input mechanisms gracefully -

I am currently redefining a library for internal use in Java. The library receives an XML document, and gives a result data structure. Given that: There are two clients for this library, one is the XML document in the form of an input sprame and the other is a file path in the form of a string. Class What is the best architecture to handle the file? Currently, it is handled in the following manner: (Names of unclassified sections have been changed): Public category ILUUSERS {public results getResult ( String path) {get getResult (ElementsLoader.loadIntermediateType (path)); } Public results getResult (InputStream stream) {get getResult (ElementsLoader.loadIntermediateType (stream)); } Private results getResult {intermediate type iType} {// ... content and return results}} Public category elements loader {type public fixed intermediate type (initial input stream) {document doc = document builder. New Instruction () NewDocumentBuilder (). is); Returns Sotheby's Doc...

iphone - How to autorelease in Objective - c -

I am not using Autorelease when I use this code, I do not know how to release BSPT To do NSUntiger numbToday = [[datefirm string string: [date of NSDT]] Integues ;; BSPTileView * tile = [gridView.subviewsObjectIndexX: 0]; Tile.comparedValue = 0; How is the BSPTileView UIView class? Please. In this case, you do not need to do this -objectAtIndex: Returns the object on that index in the array, without maintaining it.

d - Associative array .remove[] calling core.stdc.stdio.remove in dmd 2.0 -

मेरे पास डी में निम्न कोड है import std.stdio; कक्षा थिंग {// फ़ील्ड निजी स्ट्रिंग नाम; // प्रवेशक सार्वजनिक स्ट्रिंग का नाम () {वापसी का नाम; }} वर्ग स्थान: थिंग {// फ़ील्ड निजी प्लेस [स्ट्रिंग] संलग्न; // मॉडिफ़र सार्वजनिक शून्य संलग्न करें (प्लेस प्लेस) {संलग्न [place.name ()] = स्थान; } सार्वजनिक शून्य विच्छेदन (स्थान जगह) {संलग्न। हटायें [place.name ()]; } // त्रुटि रेखा} जब भी मैं dmd2.0 के साथ संकलन करने की कोशिश करता हूं, मुझे निम्नलिखित त्रुटियां मिलती हैं त्रुटि: फ़ंक्शन core.stdc.stdio निकालें (const (char *) फ़ाइलनाम में) तर्क प्रकारों (प्लेस [स्ट्रिंग]) का उपयोग करने योग्य नहीं है त्रुटि: परन्तु अभिव्यक्ति (इस। अटैचटेड) को टाइप करने के लिए प्लेस [स्ट्रिंग] को const (char *) में परिवर्तित नहीं किया जा सकता त्रुटि: निकालें (( __error) एक सरणी या सूचक प्रकार होना चाहिए, नहीं int मौजूदा D2.0 दस्तावेज़ सलाह के लिए array.remove [key] का उपयोग करने के लिए मैं क्या करने की कोशिश कर रहा हूँ, लेकिन यह ऐसा लगता है कि कंपाइलर सोचता है कि मैं एक std.c (stdc?) फ़ंक्शन कॉ...

sqlite - Why does DbMetal Generate Table Attribute with "main"? -

I am a newbie with DBLink and Sqlite. When DbMetal generates Nortwind.cs (C #), this table is a symbol of some methods with the attribute: [table (name = "main categories")] // C # After using DB metal to create a Nortwind.vb (VB.Net) file, the testing program was aborted because there is no table called "main.Categories" was. However, when I delete "main", then it works: 'VB.Net & lt; Table (name: = "Categories") & gt; _ I do not understand why the "main" is generated at all why it works for C # but not for VB.Net? By default, "main" creates the "Generate .dbml file" mode in DBMittal - Database logic can be changed by specifying. However, as of this time, the name of the class can be changed using the database, but it still writes "main" in the table attribute, so that it does not fix it once.

android - How can I set my options menu up so that there are only 2 buttons per row? -

I was trying to set up my options menu so that 1 and the second row had 2 buttons and 1 button the third line But here is the code that I was trying to use, but I'm guessing the group ID reasoning that I did not think so. menu.add (1, MENU_NAME, 1, "by name"); Menu.add (1, MENU_NUMBER, 2, "By number"); Menu.add (2, MENU_POSITION, 1, "From Status"); Menu.add (2, MENU_COLLEGE, 2, "By College"); Menu.add (3, MENU_UPDATE, 1, "Update Roster"); Perhaps it is resolved in some way with XML layout, but I'm not really good with layouts; (That's why I was not getting too far in this way. I do not believe it is possible A maximum of 6 items can appear at a time from the menu, and they are always shown in maximum of 2 rows. The menu group is a way of referencing menu items in a way, they have no visual effects. See.

javascript - How do i open popup window in C# ASP.Net application for Chrome? (RegisterStartupScript not working) -

मेरे पास कोड की निम्न पंक्ति है: ScriptManager.RegisterStartupScript (यह, टाइपफ ( स्ट्रिंग), "प्रिंट", "जावास्क्रिप्ट: window.open ('print.aspx');", सच है); यह फ़ायरफ़ॉक्स और आईई में पॉपअप विंडो खोलता है, लेकिन क्रोम नहीं है आम तौर पर, मैं बटन पर क्लिक करें, जो कि सभी ब्राउज़रों पर ठीक काम करता है। इस मामले में, हालांकि, मुझे इसे प्रोग्रामेटिक रूप से करना होगा। इसके अलावा, यह काम करता है यदि उपयोगकर्ता साइट के लिए पॉपअप को अनुमति देने के लिए स्पष्ट रूप से क्रोम के पॉपअप अवरोधक को कॉन्फ़िगर करता है। क्या क्रोम में पॉपअप विंडो को दिखाया जा सकता है, अलग विंडो में या अलग टैब, उपयोगकर्ता को एक विन्यास बनाने की आवश्यकता के बिना?

iphone - Passing a nil object to a function -

I was thinking that the purpose is to look at any probing that by calling the indicator function for an object The first is zero. For example, I have a myObject * ptr; and start ptr = zero; and call [my myfunction: ptr]; Where my function is my own function and does not check to see that the object is zero I have heard somewhere that the objective will not call the function if it is zero? Is this true and will my code be safe? I am asking because I am implementing a universal application, and there is a UIView example which will only work for the iPad. But, I call many functions for this view, and to see if there is an iPad before calling this function, instead of checking the status, it would be nice if I set the view to zero I can if it is an iPhone. In addition, if the interface creator has allocated the object and I have set the decisive to zero, can there be a memory leak or do the manufacturer have to remove the object? Thank you You always have...

php - Thoughts on securing SWFUpload -

जावास्क्रिप्ट (उदा। एसडब्ल्यूएफ यूप्लोड) द्वारा नियंत्रित एक फ्लैश अपलोडर का उपयोग करने वाले मुद्दों में से एक यह है कि अपलोड स्क्रिप्ट इसका अर्थ यह है कि यदि अपलोड स्क्रिप्ट उपयोगकर्ता की पुष्टि करता है, तो यह असफल हो जायेगा। इस के चारों ओर एक तरीका है कि PHPSESSID को स्क्रिप्ट पर पोस्ट पैरामीटर के रूप में देना होगा। यह एक सही समाधान नहीं है, हालांकि, कई होस्टिंग प्रदाता के पास PHP सेटिंग "session_use_only_cookies" चालू है, अनुरोध से स्वीकार किए जाने से सत्र आईडी को रोकने से। यह स्पष्ट रूप से एक बड़ी चिंता है कि आप अपने अपलोड स्क्रिप्ट को निष्पादित करने वाले अनाम उपयोगकर्ताओं को नहीं चाहिए, यह भगवान को जानता है- यह भगवान से जानता है-जहां से है। मैं सोच रहा हूं कि किसी व्यक्ति के पास सत्र और कुकीज़ के अलावा अन्य उपयोगकर्ताओं को प्रमाणित करने के लिए कोई विकल्प नहीं है। । क्या यह मान्य करना संभव होगा कि फ्लैश अनुरोध अपेक्षित स्रोत से आया था और यह कि एक वैध उपयोगकर्ता ने अनुरोध शुरू किया। PHPSESSID के अलावा किसी प्रकार के टोकन का उपयोग करना, शायद, यह कैसे काम करेगा, अग...

c++ - Program won't run in NetBeans, but runs on the command line! -

Then, I'm starting a C ++ class right now, and I want to do NetBeans (which I normally do for PHP Use Configured and Java Development) Use the Sigwin Compiler / Debugger to be my first structured experience with C ++, and I'm running into a little problem. When I attempt to run a program within NetBeans (F11 or Green Triangle) the project correctly creates, there is no error or warning, but will not run again. I received the following error: The application failed with exit code -1073741515 (0xc0000135). It can indicate that anyone in the PATH is required. Dll was not found, please try to start the following command from the command shell (cmd.exe). This can give some additional information C: / Users / Eric / Document / NetBeansProjects / CS217ASeminar1 / District / Debug / Cygwin-windows / cs217aseminar1 Run Fail (Exhaust Price - + 1073741515, total time: 58ms) When I try to execute a given file in the command shell, I do not get any errors and the program runs...

Python - '>>' operator -

>> ऑपरेटर क्या करता है? उदाहरण के लिए 10 >> 1 = 5 धन्यवाद यह सही सा शिफ्ट ऑपरेटर है, सभी बिट्स एक बार सही पर 'चालें' 10 में द्विआधारी है 1010 इसे सही करने के लिए स्थानांतरित कर दिया गया 0101 जो 5 है

java - equals and hashCode -

I am running a question about equal and hashcode contracts: here Is: class SortOf {String name; Int hair; String code; Small rate; Public Ent Hashod () {Return (Code: Lang () * Child); } Public boolean equivalent (object o) {// insert code here}} Which of the following will meet the (and) Hashod () contracts equal to this class? (Select all that apply.) Correct answer C: return (sortoff) .code.length () * ((SortOf) o) . == this.code.length () * this.bal; D: return (sortoff) .cod.line () * ((sortoff) o) .bill * ((sortoff) O) .rate == this.code.length () * this.bal * this.rate; I have a question about the last option D, if two objects a: code.length = 10, bal = 10, rate = 100 B: code.length = 10, bal = 100, rate = 10 Then we get the A using the par () method in D Is true correct to evaluate .equals (B) ? But then they get a different hashod because they have different remains? Is it that I somewhere misunderstood the concept? Can anyone explain this t...

smartclient - Microsoft Smart Client Composite UI -

I am trying to run the project on this but I am unable to do this. In terms of Microsoft. Integrated development Control StackBerry Namespace is in a project but I am not able to find DLL (referred to as IDF control.dll), in which this name is the place. help please. Microsoft.IntegratedDesktop.Controls.StackBar control can be found in the self-executable executable here:

java - https action in Struts -

मैं html: form action = "someAction" का उपयोग कर रहा हूं स्ट्रट्स-कॉन्फिग फाइल में एक एक्शन देखें मैं उस कार्रवाई को https के रूप में बनाना चाहता था लेकिन जाहिरा तौर पर मैं someAction में html: form जैसा एक पूर्ण पथ को प्रतिस्थापित नहीं कर सकता। बस सोच रहा है कि कोई ऐसा प्रॉपर्टी या पैरामीटर है जिसे मैं उस फॉर्म को एक https यूआरएल में जमा करने के लिए सेट कर सकता हूं? धन्यवाद आप स्ट्रॉप्स 1.x के साथ ऐसा कुछ नहीं कर सकते, आपको ऐसा करने के लिए एक्सटेंशन का उपयोग करना होगा। यहां एक उदाहरण है:

visual studio - setup and deployment by reading bios of user system -

Using C # vs. 2005, Trying to Setup & amp; ; This was very simple by adding project assembly and retrospective on project deployment and setup properties. But I want to professionally deploy it like read the bio of the first user system and find out the HDD serial. After the dissolution of HDD serial, I want to make my own key so that I can set up the user. Statement: - "I want to run my application on specific HDD." For the new HDD user shawl contact me, " Many software licensing / activation systems are available, we can provide various system configurations I have used many issues with and have come, that I do not dream of trying to develop something like this myself. Mainly we use it for online activation, but you can do a USB key dongle, phone, email etc. depending on your exact requirements.

.net - What is the difference between C# & CLI when it comes in with value types and constructors? -

I read recently that C # and CLI define different ways to handle standard value types and constructors. The CLI specification can not be a parameter constructor according to the value types, while the C # specifications are the default normative constructors in the type of value. If, according to the CLI specification, you need to make a value without specifying a parameter, with it there is a special instruction to do this. So my questions are Why C # designer deliberately distracts from the CII standard - what was the benefit of it, and why CLI would not give this functionality In my limited experience, at any time, I allow myself to use 'special instruction', which was not initially intended, it is usually a part of a hack, how is it different? In different places, about stability value To be considered, the point of being the creator of a parameter, you can always make a value without providing any argument, and this is true in both CLI and C #. In C #, y...