Posts

Showing posts from April, 2013

asp.net - How do I show a modal dialog while the databind occurs? -

मेरे पास एक ग्रिडव्यू के साथ एक फ़ॉर्म है जो जटिल संग्रहीत कार्यविधि (वित्तीय डेटा) के लिए बाध्य है। इस क्वेरी को चलाने और ग्रिडव्यू लोड करने में लगभग 3 मिनट लगते हैं। उपयोगकर्ता अधीर हो जाते हैं और बार-बार "खोज" पर क्लिक करते हैं, जो सिर्फ चीजों को बदतर बना देता है। एक अंतरिम समाधान के रूप में, मैं एक प्रगति पट्टी दिखाना चाहूंगा, और मुझे एएसपी.नेट AJAX ModalPopupExtender। यह पृष्ठ में विस्तारक जोड़ने के लिए मेरे पास कोड है: & lt; ajaxToolkit: ModalPopupExtender आईडी = "mdlPopup" runat = "server" TargetControlID = "बटन 1" पॉपअप कंट्रोलआईडी = "पीएनएल पॉपअप" पृष्ठभूमि क्रास क्लास = "मोडल बैकग्राउंड" / & gt; & Lt; asp: पैनल आईडी = "pnlPopup" runat = "server" CssClass = "updateprogress" शैली = "प्रदर्शन: कोई नहीं" & gt; & Lt; div संरेखण = "केंद्र" शैली = "मार्जिन-शीर्ष: 13 पीएक्स;" & gt; & Lt; img src = "../ छवियाँ / प्रगति.gif...

What is a good easy to use profiler for C++ on Linux? -

I need some profiles to run a C + code on Linux. Can you recommend some professions? Use the GPRF. Just -pg flag (I guess (but I'm not sure) you have to turn on optimization though.) And gpr.out file to analyze gpr. Use out which will be your executable. Example: GCC-GP-O whatever. / GETF Whatever Gmon.out The same thing with G ++ and CPP.

tomcat - Understanding JSP errorPage attribute -

I set up to see a simple test how & lt;% @ page errorPage = "error.jsp" %> Behaves it seems that when I threw an exception, "error.jsp" was executed on that page, but if I do test syntax errors such as ";", then still me I'm getting the Tomcat error page. Do I have something missing or error page on any type of error? Is not executed? The JSP error page is only for timely errors (when the page is full), Tomcat Errors collect errors when servlet container tries to compile your JSP.

c# - Find the most frequent numbers in an array using LINQ -

इस सवाल का पहले से ही एक उत्तर है: 5 जवाब सूची & gt; int & gt; ; ए = नई सूची & lt; int & gt; {1,1,2,2,3,4,5}; मैं LINQ के लिए नया हूँ यहां की कुंजी और एकत्रीकरण विधि है: सूची & lt; int & gt; सूची = नई सूची & lt; int & gt; () {1,1,2,2,3,4,5}; // समूह मूल्य और गिनती वारंवारता var क्वेरी = मैं सूची ग्रुप में i से i जी में नया चुनें {g.Key, Count = g.Count ()}; // अधिकतम आवृत्ति int whatsTheFrequencyKenneth = query.Max (जी = & gt; जी। गणना); // उस आवृत्ति के साथ मानों को खोजता है Inumerable & lt; int & gt; मोड = क्वेरी। जहां (जी = & gt; जी। संख्या == whatsTheFrequencyKenneth)। चयन (जी = & gt; जी। के); // डंप फॉर कंसोल फॉरच (मोड में मोड) {Console.WriteLine (मोड); }

java Generics legacy compitability problem -

This code is compiled properly and when "004b" is executed, then how does it happen? Does a classcastException Public static zero enclosed (list list) {list.add ("004b"); } Public static zero main (string [] args) {List & lt; Integer & gt; IntList = New Arrestist & lt; Integer & gt; (); IntList; Println (intList.get (0)); } Tip: Do not mix crude And general typing Turn on the usual type of warnings of your Java compiler, it will tell you about your useless code. If you use the "checked archive" type (for example created using the archive. Checked List (...)) Exception if you type incorrectly Find the object in the collection.

c# - Windows Forms class partial public issue -

I am using VSTS 2008 + C # + .NET 2.0 to develop the Windows Forms application. I found by default, the new form we created will be marked as partially public. My concern is whether to expose the public as a security risk? Should we mark it as private? Any effect for efficiency if we mark it as private? BTW: I personally got the compilation error when marking the class partially in the class here, the compilation error message, any ideas are wrong? Error 1 elements can be defined in a namespace, which can not be explicitly declared as private, protected or protected internal C: \ FooTest \ Form1.Designer. C If you define it personal, then what is the purpose of being a class? Nobody will use it outside of that file, even your main program (probably running on program.cs) partly means that your class was divided, so your form class will be in your Forms file contains more than one component. VS has put the generated code in its own file and the other in its code. You c...

php - How do you install simplehtmldom in ubuntu -

I am trying to write a screen scrapper in php. I know how to make regular expressions. However, I have found a library that seems to remove the need to use regular expressions while screen scrapping. This is called SimpleMaldom. Although I do not even know how to install it, I downloaded it from the source phone but did not explain how to install it manually. I am using Ubuntu 9.04. Any help would be appreciated. Thank you, Glenn. For PHP, you will usually package PHP code elsewhere with your code. Requires to be included in PHP. Then enter simple_html_dom.php elsewhere in your application directory: is required ('simple_html_dom.php'); Installing the file in the OS does not really get anywhere because it needs to be accessible on your server. However, you can place the PHP file anywhere on your application in your web root and then in the context of the requirement of this file.

sharepoint - Using Smart part for FBA site -

The controls use to me, including some Ajax functionality I add relevant tags to your site Ajax compatible (ie web.config) Make all the necessary changes to make that work fine. I am using a smart part to load this user control. But when I click on opening the tool panel for the smart part, it is giving me this for the following. We could not open the user control path: System.UnauthorizedAccessException: Access to the path 'C: denied \ Inetpub \ wwwroot \ WSS \ VirtualDirectories \ 5252 \ UserControls'. System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath) (string path System.IO.Directory.InternalGetFileDirectoryNames on System.IO.Directory.GetFiles, string userPathOriginal, string searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at (string path, string searchPattern, SearchOption searchOption) on SystemkIOkDirectorykGetFiles (string path) at SmartPart.UserControlToolpart.RenderToolPart (HtmlTextWriter output) Please...

wpf - How to get MenuItem clicked events from TreeView ContextMenu -

I am inserting TreeViewItems into a TreeView control and setting the style for each one at the time of entry. I am specifying different styles (predefined in XAM), I want to insert the type of trivium (trivium). Some styles include a context menu My problem is that I am unable to use Click = "MyHandler" on MenuItems; I get an error "Root element requires x: class attribute to support event handlers in XAML file." And apparently there is no root element in the elements within the style block. Any suggestion was very appreciated. XAML: & lt; Style x: key = "area" target type = "{x: type tree viii}}" & gt; & Lt; Setter Property = "Header Template" & gt; & Lt; Setter.Value & gt; & Lt; DataTemplate & gt; & Lt; StackPanel Orientation = "Horizontal" & gt; & Lt; Canvas background = "{DynamicResource Terrain_icon}" /> & Lt; Text block text = "{binding}"...

java - References to MappedBySuperclass-classes -

I have the following problem I have an abstract class named Vehicle, annotated this class with the mapped speaker class has gone. Then I have a lot of classes that extend intangible class, such as car, boat, bicycle, motorcycle etc. I also have a person called a person with a group of vehicles, I would like to see the relationship that looks like this @inity class person {@OneToMany List & lt; Vehicle & gt; Vehicles; & Nbsp; ...} The problem is that the vehicle is an abstract class and one unit square is not straight. Is there any way in J.P.A., can I use this kind of reference directly in terms of unit category? It should work here in this way where the author did such a thing and said, this is very good Worked the way. Hope it helps!

Visual Studio C++ - unresolved symbol __environ -

I am using VS 2008 and compiling my application with multi-threaded debug (/ MTD). At the link time, I get the following error: Error LNK2001: Unsolved external symbol __ environment Where is the symbol defined? Thanks Dima When you are using / MD (or variants) , The symbol is replaced by the _environ and the _wenver function calls. You need to track the codes that use these (obsolete and excluded) symbols, and make them. I also have the same problem as you are in I have found some more detail: In the Unicode context, the poll is _nonver meaningless when the MD / or MDD linkage is used for the CRT DLL program Type (wide or multibyte) is unknown. Only multibait type has been made because it is most likely. If you use the symbol _environ in the extensive character version _wen , your original code probably will work.

.net - How to create a SQL Compact 3.5 database for Windows Mobile in an ASP.NET web application? -

एक asp.net वेब अनुप्रयोग में मुझे गतिशील रूप से एक SQL कॉम्पैक्ट 3.5 डेटाबेस बनाने के लिए डेटा स्रोत (SQL सर्वर) से विंडोज़ मोबाइल कम्पैक्ट फ्रेमवर्क एप्लिकेशन मुझे डाटाबेस फाइल, आवश्यक ऑब्जेक्ट (टेबल, ...) बनाने और डेटा के साथ तालिकाओं को भरना होगा। क्लाइंट अनुप्रयोग (विंडोज़ मोबाइल डिवाइस) उस जेनरेट फाइल को डाउनलोड करेगा। क्या आवश्यकताएं (संदर्भित विधानसभाओं, प्रतिष्ठानों) की आवश्यकता है - या: क्या यह संभव है? आपको कम से कम सिस्टम की आवश्यकता होगी। Data.SqlServerCe विधानसभा यह आम तौर पर जीएसी में है लेकिन यह स्थानीय रूप से प्रतिलिपि बनाई गई डीएलएल के रूप में उपयोगी हो सकता है। वहां से आप एक एसक्यूएलएएनआईजीन ऑब्जेक्ट को इन्स्तांत कर सकते हैं और CreateDatabase () का उपयोग कर सकते हैं यहां वीबी में कुछ है .NET।

Change Flash source by Python -

I have a flash with a large image library, is there a way to manipulate this content by a python? The purpose of Python Flash Tools is to see one step below the Ming SWF library and a level with Flash GUI

javascript - removing and appending a node -

मैं नीचे span तत्वों से div ( & lt; div id = 'foo' & gt; ) और उनमें से प्रत्येक के बजाय नए बनाए गए नोड्स को जोड़ें। मैं div के सभी बच्चों को पार करने के लिए एक पाश का उपयोग कर रहा हूं , और प्रत्येक नोड के लिए मैं इसे removeChild से हटा रहा हूं और एक नव निर्मित नोड को जोड़ रहा हूं। मुझे ओ / पी के रूप में & lt; div id = 'foo' & gt; & Lt; स्पैन & gt; नया पाठ & lt; / SPAN & gt; & Lt; / div & gt; मुझे ओ / पी जैसा निम्न प्रकार है & lt; div id = 'foo' & gt; & Lt; स्पैन & gt; नया पाठ & lt; / SPAN & gt; & Lt; स्पैन & gt; नया पाठ & lt; / SPAN & gt; & Lt; स्पैन & gt; नया पाठ & lt; / SPAN & gt; & Lt; / div & gt; समस्या का कोड निम्नानुसार है & lt;! DOCTYPE HTML PUBLIC "- // W3C // DTD एचटीएमएल 4.0 ट्रांसक्रिप्शन // एन" & gt ; & LT; एचटीएमएल & gt; & Lt; HEAD & gt; & Lt; title & gt; नया दस्तावेज़ & ...

.net - Error using QueryString, SessionVariables and ViewState in SharePoint -

I am webpaying in SharePoint and I want to transfer data from each other. I tried 3 ways but they all failed, no solution? It just says that an unexpected error has occurred. If you want to transfer information from one web part to another "connected as Greg" See Web Parts "on the same page If you want to transfer information to Web Parts on another page, use the query string, but do not use names like" id "" list " , "Field" whose SharePoint is used to http: / xxx / shared documents / editquestion.aspx? There is special meaning for id = 3, which tells the shared document to load the document with id = 3 with shared documents and use it as SPContent. Present. Item

c# - Using OpenID for website Authentication -

I want to apply OpenID using a new ASP.NET 2.0 and SQL Server 2005. I have selected Twitter, Facebook and Google as potential OpenID providers. I have found and I was, but I want to make sure my design (mostly!) Is innocent. Is My Database Schema Right? I have added the reader to ProviderOpenID , which contains only one faucet name column. I will call OauthToken Archive and use it on every request to access my profile and verify the login. Am I missing something? Can anyone tell me that the OpenID provider for Google? What is the Open Source Library for NET implementation? I found, but I do not know how it works. Has anyone tried this? What is the best way to do this? Facebook and Twitter No open-end provider It seems that you have already got solutions of your ownership system but I just want to make it clear what it is and not what it is. Yes, Google is an open-end provider. And for the ASP.NET 2.0 dotnet openID, which you've linked to, the way t...

ftp - Downloading an entire folder from my server to iPhone -

Is it possible to download a full folder of files from my server to a user's iPhone instead of just one file? In addition, is there a way to go to NSRR Connection Class? In addition, should I use an HTTP path or an FTP path? (I have downloaded a file to work with HTTP, but it does not even know with FTP or even if I should have trouble. I am trying to implement I understand that after getting verification of payment, it is my responsibility to provide additional content on the user's iPhone. This is the part that I am currently stuck in - my server Downloading that content from. The reason I request is that I have to download a large number of files (which is a variable number of files), and if I can specify the path to the folder And download that folder and retains everything in it so it will be very easy. Any help would be greatly appreciated. You can download zip files and It's

asp.net - What is right way to code input parameters with complex types for a C# .net 2.0 WebService? -

I am currently building a new version of the webservice which my company already provides in the existing webservice. Has an input parameter of. In that string an entire XML document has been passed, we then validate that string against XSD (XSD given to the consumer). This looks like this: [WebMethod] Public Child Upload (string xml) {if (ValidateXML (xml)) {// something}} I am building the next version of this service. I was under the impression that passing a XML doctor as a string is not the right way to do this. I was thinking that my service would look something like this: [WebMethod] Public Child Upload (int context id, string reference name, // etc ...) {// do something} I have this issue that in reality there are large input parameters and some of these are complex types. For example, the upload method needs to be taken in a complex object called allocation, this object In fact, many integers, decimal values, strings, and others Till is composed of objects. Sho...

sql - Does an index on a unique field in a table allow a select count(*) to happen instantly? If not why not? -

I know that there is a lot of trouble about SQL tuning. Today I was planning an expansion on a query and I saw that it was not using the index, when I thought it should probably be. Okay, I am explaining the simple and simple (and more indexed in my mind) questions, as long as I select count (*) from table_name I'm sure it will return immediately and will show the use of the index, because there are many indexes in this table, in which the row_id column also includes an index, which is unique. Yet the explained plan showed a full table scan, and it took several seconds to complete. (We have 3 million rows in this table). Why would a full table scan to count rows in this table? I would like to think that since Oracle is already indexing a unique field, and to track every combination and updates in that table, it will caching the line number somewhere. Even if it is not, will not it be faster to scan the whole index than scanning the whole table? I have two principles t...

php - Python Server Pages Implementations -

I've been a PHP developer for a while, and I have good stuff about using Python for web scripting Have heard. After some research, I found mod_python, which integrates with Apache to allow Python server pages, which appears to be similar to PHP pages. I was also aware that the implementation of the good people of Stacks Overflow would recommend someone who wants good integration with similar functionality like Apache and MySQL and PHP. / div> I believe mod_wsgi is the preferred option of mod_python : Some performance standards suggest that mod_wsgi also performs very well

command line - Using powercfg to duplicate the currently active power scheme -

I currently run a batch file with a series of powercfg commands to duplicate and rename an active plan the wanted. Manually, I will do something like this at a command prompt. powercfg -getteivescheme This will present me the GUID active plan powercfg-duplicatescheme & lt; Received GUID & gt; & Lt; New GUID & gt; Ideally, I want to do something like this ... powercfg -duplicatescheme -getctivescheme & lt; New GUID & gt; But since this is not allowed, is there any other way? OK, first you have to remove the GUID from the output of powercfg Can be done with for : for /f "tokens = 2 delims = :(" %% (in powercfg-getctivescheme ') x Copy %% x This will output to the GUID only, you can also save it in any variable: For / f "tokens = 2 Delims = :( Set GUID = %% x in %% x ('powercfg -getiveschecheme') You can remove extra space from here (here I am a place in front You have a GUID, you can keep it no...

Incremental Checksums -

I am looking for a checksum algorithm where the checksum is equal to the sum of the checksums from all to a large block of data The small component block that I got is the most RFC 1624/1141 which provides this functionality whether any of these checksing techniques or anybody have any experience? I have used only Adler / Checksum which works according to your description. A good comparison of the crypto + hash / checksum implementation.

sql - Excel PivotTable from External Source with Query/Filter -

With data in Excel 2007 SQL 2008 view. Trying to create a PivotTable from an external data source (see SQL 2008 - See). I want to create a filter for a date range, because there are so many records in the scene. The problem is that I do not understand how to specify a filter for my view so that the filtering is in SQL. Ideally, the user will be specified somewhere in the spreadsheet for the parameters, either the dates of a cell in Excel. Simply add the parameter to the axis, as you would with a question and action on the server She goes. Go to MS Query and just enter one criterion in the criteria grid. There is only one problem, because it is a pointTable, you can not do those parameter variables, you have to keep the date of the cost in the query. If you do not like it, you can create a question paper on a different sheet, add variables to it, make those points in the input cells, and then create the pivot by using the result range of the query as a data source. You can....

c# - Pass objects/vars between Page_PreInit and Page_Load -

I use the database to store page information and .NET (C #) I am creating pages from the form. Part of the process is to set the master-page (code-back) on the basis of what is in the database, and as I think, it has to be done in Page_PreInit . My problem is how to pass objects and variables from Page_PreInit to Page_Load . I am able to do it in this way, but I am using this method when doing random compiling errors: The public partial category BuildPage: System .Web.UI.Page {protected static string pageData; Protected Zero Page_PreInit (Object Sender, EventArgs E) {--- SET pageData = Data from database, and set masterpages ---} Safe page page (Location sender, EventArgs e) To secure - For different purposes, I I'm not using Visual Studio to compile, just want to give a .NET compilation on the first page request on the flight. I have received two error messages: 1) "CS0102: 'buildpages' type already has a definition for 'pageddata'" 2) ...

ruby - HTTPS and HTTParty - Timeout and EOF -

I am trying to post something in an HTTPS resource, but it seems that it does not work. My code looks like this: requires the 'httparty' class in the MyClass HTTParty base_uri "https://mydomain.com:8085/search" The basic_auth 'admin', 'changeme' format is included: Xml def mymethod self.class.post ('/ job',: query = & gt; {: search = & gt; "*"}) End End As you can see, if I defined a URL with 'I', then it should automatically set the use_ssl property to the Net :: HTTPS library. For some reason, Net :: HTTP is requested, and I never contact the server, so I end up with an EOF. Any clues? read "HTTPS is in. If Port 443 , It automatically goes to https. "

sybase - PowerDesigner - Prevent DB name to be uppercase in generated SQL -

I am currently starting playing with Sybase PowerDesigner and its physical data model (PDM). I like making matters in some institutions / tables, columns, etc., and generate SQL (to create a database from a model) like I want. However, in relation to the database name, PowerDesigner always asks for it to stay in uppercase, in fact, I'm not getting any error message or something like this and I actually have a mixed-case database name Type is allowed, but as soon as I close the "Model Properties" window and come back to check it, the name of the database code is back in uppercase. I have explicitly added the "=" button to the logic name with the code name, so I can type a different code name, but it still does not work (when it does For tables). Do I have any way of putting the database name in the SQL script generated in the PowerDesigner case? The DBMS type is SQL Server 2008 (tried previous versions and the problem is similar). Thank you very muc...

sql - c# threading and databases -

I got a winform with some child forms on it. Now I am reaching hair forms through my Tree Tree by the TreeVision. Now there is a list of websites in that treview, since a website is actually a group of pages, it is also shown in the tree. The website is my parents and pages are children. When you click on a single page, the statistics are shown as a child. When a website is clicked, the summary of all the pages is shown from that website. Since there may be a lot of data, I am using a background worker who gets the position in the background after loading the treeview. As long as I am changing something in the data and it saves it automatically in the database (sqlserver2008) Then my pageisation generated errors and said that sqlreader is closed. So I'm thinking how I can solve it. Do I have to use databases on a different connection? Any other ideas out there? Thanks Are you using the same database connection object? ? It is not safe Each thread should have its ow...

What folder are icons stored in for delphi? -

Someone can use the folder that has been dragged from the icon> I want to see only icons and names from C I: Registry of program files or HKEY_LOCAL_MACHINE \ SOFTWARE but not both. uses ShellAPi; Process LV_InsertFiles (strPath: string; ListView: TListView; ImageList: TImageList); Var i: integer; Icons: TIcon; SearchRec: TSearchRec; List System: TLISTim; File information: SHFILEINFO; Create a temporary icon icon: = TIcon.Create; ListView.Items.BeginUpdate; Search for the first file i: = FindFirst (strpath + '*. *', * FaAnyFile, SearchRec); While I = 0 starts from the list, start // if on Directories and Volumes (SearchRec.Attr and FaDirectory & lt;> FaDirectory) and (SearchRec.Attr and FaVolumeId> FaVolumeID)) then ListItem starts Do: = ListView. Items.Add; // Displayplanem SHGETFileInfo (PCARR (StreakTh + SearchRaek.Name), 0, File Info, SizeOff (File Info), SHGIIIDITAMI); Listitem.Caption: = FileInfo.szDisplayName; // Type no SHGetFileInfo (PCARR (Streakt ...

functional programming - What are some uses of Clojure metadata? -

How have you used metadata in your closure program? I saw an example from programming Closer : (defn roout [# ^ {: tag string} message) (.toUpperCase message) ) ;; Closer sends a message to the string and then calls the method. What are some uses? This form of programming is absolutely new to me. Dotting is stored under metadata: Doctor key is probably the number 1 metadata most There is clear usage. To improve the performance by reflecting the type over run on the runtime, the return and parameter types can be optionally tagged with metadata to improve performance. This is also known as "type sign". # ^ string is a type of prompt. For the use by the compiler to store things under "hood", such as arglist of the function, the line number where a var is defined, or what is in the context of a macro macro. These are usually added automatically by the compiler and generally the user does not require tampering directly. Creating simple test-she...

c# - When out of index of fixed array how to pragmatically restart at beginning -

Prerequisites: Return the total count of files (records) for the date. Assign a modifier (single character A-Z 0- 9) to represent the count. INFORMATION: With this date / time this modifier will be used to locate the file through the system. Current solution: [test] Public Zero FileIDModifierShouldReturn9 () {var filecountfordate = 35; Var '', 'H', 'I', 'J', 'K', 'R', 'A', 'B', 'C', 'D', 'E', 'F', 'J ',' H ',' L ',' M ',' N ',' O ',' P ',' Q ',' R ',' S ',' T ',' U ',' V ' 'W', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8' '9'}; Expected by Var = "9"; Var actual = thresher [filecountfordate]. Ostring (); Extraordinary (Expected, real); } Problem: When th...

validation - My HTML INPUT is not valid markup, please help -

मेरी वेब साइट पर मेरे पास निम्न कोड है: & lt; input type = "छवि" src = "चित्र / बीटीएन पेज" alt = "जमा करें" सीमा = "0" ऊंचाई = "25" चौड़ाई = "102" / & gt; ऊंचाई चौड़ाई INPUT तत्व के अमान्य गुण हैं। हालांकि, YSlow और Google PageSpeed ​​मुझे सूचित करते हैं कि मुझे हमेशा छवि आयाम शामिल करना चाहिए HTML को पार्स करने की गति को बेहतर बनाने के लिए। अभी भी एचटीएमएल मान्य है और वाईएसलो सिफारिशों का पालन करते हुए एक छवि सबमिट बटन का उपयोग करने के लिए मेरे लिए क्या दूसरा तरीका मौजूद है? एक ही लक्ष्य प्राप्त करने के लिए सीएसएस का उपयोग करें या तो इनलाइन सीएसएस: & lt; इनपुट प्रकार = "छवि" src = "चित्र / बीटीएन पेज" alt = "सबमिट करें" शैली = "सीमा: 0; चौड़ाई: 102 पीएक्स; ऊंचाई: 25 पीएक्स , " / & Gt; & Lt; इनपुट प्रकार = "छवि" src = "चित्र / बीटीएन पेज" alt = "सबमिट करें" वर्ग = "कुछ आकर्षक" /...

c# - Determine if a type is static -

मान लें कि मेरे पास एक type called type है। > मैं यह निर्धारित करना चाहता हूं कि मैं अपने प्रकार के साथ ऐसा कर सकता हूं (वास्तव में प्रत्येक प्रकार के लिए ऐसा करने के लिए): यदि प्रकार है System.Windows बिंदु तब मैं यह कर सकता हूँ: बिंदु बिंदु 1 = नया बिंदु (); हालांकि अगर प्रकार है system.Environment तब यह उड़ नहीं होगा: पर्यावरण पर्यावरण 1 = नया पर्यावरण (); // गलत इसलिए यदि मैं एक विधानसभा में हर दृश्य प्रकार के माध्यम से दोहरा रहा हूँ तो मैं सभी प्रकार कैसे छोड़ूँगा जो किसी दूसरे उदाहरण की तरह एक उदाहरण बनाने में असफल होंगी? मैं प्रतिबिंब के लिए नया हूँ इसलिए मैं उस शब्दावली के साथ अभी तक महान नहीं हूं उम्मीद है कि मैं यहाँ क्या करने की कोशिश कर रहा हूं, यह बहुत स्पष्ट है। स्थिर वर्गों को आईएल स्तर पर सार और सील कर दिया गया है । इसलिए, आप एक बार में अपने कोड के लिए सार वर्गों और स्थिर वर्गों को संभाल करने के लिए IsAbstract संपत्ति की जांच कर सकते हैं। हालांकि, अमूर्त वर्ग केवल उन प्रकार नहीं होते हैं जिन्हें आप प्रत्यक्ष रूप से ...

c++ - Automatically removing unneeded #include statements -

संभावित डुप्लिकेट: नमस्ते, मैं सी / सी ++ परियोजनाओं के निर्माण के समय को कम करने के बारे में कई चर्चाओं का पालन कर रहा हूं। आम तौर पर, एक बेहतर अनुकूलन को # घोषणाओं के साथ आगे की घोषणाओं का उपयोग करके छुटकारा पाना है। अब, मैं सोच रहा था: क्या कोई ऐसा टूल है जो # सी / सी + हेडर फाइलों के बीच # निर्भरता वाले पेड़ को गणना कर सकता है (मुझे पता है लिनक्स पर एमकडीप्यूड ऐसा कर सकता है) और फिर एक 'हैडर फ़ाइल को हटाते हैं / पुनःसंपादित करें 'चक्र? यह बहुत अच्छा होगा यदि उपकरण निर्भरता वृक्ष से नोड्स निकालने का प्रयास कर सकता है (उदाहरण के लिए फ़ाइलों से #include स्थितियों को निकालना) और फिर प्रोजेक्ट को पुनर्निर्माण के लिए यह देखने के लिए कि यह अभी भी काम करता है। इसे करने की आवश्यकता नहीं होनी चाहिए बहुत चालाक हो (जैसा कि, मानों के बजाय पॉइंटर्स का उपयोग करके हेडर फाइल को अनावश्यक बनाने के लिए कोड को रिफ़क्टर करना) लेकिन मेरा मानना ​​है कि जिन परियोजनाओं पर मैंने काम किया था, वे केवल अनावश्यक # बयान शामिल हैं यह आम तौर पर रिफैक्टरिंग कोड द्वारा होता है और इसे घूमता र...

dictionary - explicit and implicit c# -

I am new to C # and learning new words. I find it difficult to understand what these two words mean when the programming comes to C #. I looked into the dictionary for the meaning and here is what I found: insert "Expressed something indirectly indirectly " " If any object or element is contained in something, it is included in it or shown by it; " Clear " Something is clear that nothing is shown clearly or clearly without any effort to hide " "If you are clear about something, then you talk about it very clearly and clearly. I have to understand it in C #. Thank you for your help Cheers Additional information: Here is a part of the sentence of this book which I am reading, which is the word "vested" "This means that the area and residence Inside the fielder () inter alia see the copies of the variables found in those objects which area reader () " I do not understand this What is it tr...

sql - Check number of records in a database table other than count(*) -

I want to enter a record in the table for a certain entry. I used COUNT (*) to check the number of records and got it to work However, when the number of records for a single entry is very high, then my page slowly Loads. I think the cause of the problem is COUNT (*) , but how do I check it? Exists without using the record? I just want to check whether any entry exists for entry and then executes some code. Please help me find an alternative solution for this. Thanks for any help. You can work in many ways that you can use the existence, to get answers to the database To optimize the method: if present (select from * ...) You can use the top 1 so that To prevent the database after finding the first match: if (select count from (*) (select top 1. *) and gt; 0

database - Any way to import multiple (csv) files to an Access db -

I have several CSV files with the same plan, and I want to import them in one step. One solution may be to use the "Import Wizard", but I can import a file with it, oh, and it would be best to work in msaccess2003 THX type * .csv & gt; Allfiles.txt If you do this often, you can create one that you can click again from your desktop.

c++ - Debug heap/STL debugging equivalent for GCC? -

I am planning to use GCC more (Linux and Windows) and I was wondering if MSWC is equal to and available for this. GCC CRT & STL I already know about devices like Valgrind, but I'm looking for something built into libraries. I am not very familiar with debug stacks and STL checks, but when I have a memory problem in Linux in GCC, I use an environment variable named MALLOC_CHECK_ ( From Molok (3)): The latest version of Linux Libse (later 5.4.23) and GNU Libse (2.x) includes a Molok implementation that tune through the environment variable When MALLOC_CHECK_ is set, then a special (less efficient) implementation N is used which is designed to be simple with simple errors, such as double calls free () such as the same argument, or a single byte (up-to-one bug). Can not be safe, however, and memory leaks can result. If MALLOC_CHECK_ is set to 0, then no one knows that the heap corruption has been silently ignored; if set to 1, so The diagnosis is printed on stderr; if set to 2...

Email client support for embedding flash links in HTML email? -

I have a flash based chart that I would like to include in an email report. Will most popular email clients like Outlook, Thunderbird, Gmail, Hotmail present the chart or will they block it for security purposes? Almost any e-mail client will not support this. I think it can be transformed into Office 2003 and earlier, but it will include security hints and will probably not be the result of the best user experience. I know Outlook 2007 or any major web e-mail provider who will not support it at all. I will stick to a static image or the link will be linked to the question. Here's some detailed information: In the best case, this is going to be a terrible user experience, and most of the time it will not work at all.

c# - Binding a datasource with some Enum values -

How can I tie a data source with some selected value values? My value: Selected values: public filter selected filter = filter. Filler 1 | Filters.Filter4; How can I tie the selected filter variable as a data source? Public Encom Filter: Byte {Filter 1 = 1, Filter 2 = 2, Filter 3 = 4, Filter 4 = 8, Filter 5 = 16} Use: and select some values: public filter selected filter = filter. Filler 1 | Filters.Filter4; I have created a way that can solve my question: public static list & lt; T & gt; EnumToList & lt; T & gt; (Enum someEnum) {list & lt; T & gt; List = new list & lt; T & gt; (); Foreign currency (this is Enum.GetValues ​​(someEnum.GetType ()) in {if ((Convert.ToByte (it) & Convert.ToByte (someEnum)) = 0) {list.Add (t) this); }} Return list; } MyRepeater.DataSource = EnumToList & lt; Filter & gt; (Selected filter);

dojo - How to set the Dojox Datagrid row height to a single line -

I'm trying to fix the height of a Dojox 1.3 Datagrid for a line (like Excel). The current functionality line is to automatically increase the height, when more data will be available than fit in one line. Is this an easy way to accomplish this? It seems that this should be built into the functionality for the datagram, it is believed that this is the default behavior for spreadsheets. I think you can Here I am experimenting with: Category .dojoxGridCellContent, Add: White-space: Above; Overflow: Hidden; My "Squeeze / Expansion" functions For, I use a little function to dynamically change a square attribute and then paint the grid again. I use vertical visual scanning feature In order to be able to make a minimum of 1 "row" in rows (both Excel and HTML), a firm believer should be able to expand and then expand them again in a cell on a particular line To see the entire contents manually, being adequate to fit the column in any possible cell ...

java - Swing UI not updating after using invokeLater -

I have a Java Swing UI that is not updating / reinstalling as I thought it should do the App XMPP message Sends and receives feedback on a different thread. This feedback is processed and the UI is updated to reflect the information given in the message. When the response is received, I update a JPNL component using . SwingUtilities.invokeLater (New Runnabal) (Running Public Zero ()) / / Perform logic to update panel *}}}; This has evolved from Java in a while ago, but on the basis of my research runonble up to execute online invokeLater queues GUI thread. However, my GUI does not update until I do anything in the app which causes painting - like changing the shape of a window, what am I losing? After the argument to update the panel, I have tried various combinations of invalid () and re-color (), but the result is still the same - the GUI does not update until I, no, the size of the window I change. Edit: When I say that to update the panel, I am specifically removing on...

python - How to store arbitrary number of fields in django model? -

I am thinking that if there is something in the DJGone that takes care of it. Usually, I store some XML in the column to do this. Does DJGanga offer some classes which makes it easy, is it XML or some other (better) method? Thanks, Pete There are many approaches to solving this problem , And depending on your situation, none of them can work. You can of course use a TextField to store XML or JSON or any other form of text that you can do some expert content with the feature of Python. You can see the Django Pickle Field Definition on DjangoSnippets: This allows you to dump the Python dictionaries in the field to manipulate something so that when you refer to those fields You can gain easy access to dictionaries without needing to parse XML or anything else. I think you can also find out how to write a custom field definition that is similar to other serialization formats, although I'm not sure how useful it can be. Or to take advantage of m...

c++ - Creating Structures via fstream -

One of the exercises in C ++ primer plus is using a ftream to open a txt file and input data in a composition, then output it to it. The first line of the TCT file is the number of "donors" I think the problem (I think) when I use "infile >> value"; To retrieve the number and then to allocate the structure through the new, is it expected to be an int and its string? is this correct? What should I do differently? // ch6 p278 exercise # 9 #include & lt; Iostream & gt; # Include & lt; Cstring & gt; # Include & lt; Fstream & gt; # Include & lt; Cstdlib & gt; using namespace std; Const int size = 60; Structure contribution {name's name [20]; Double dollar; }; Four filenames [20]; String donors; Bull donation; Int main () {Four filenames [SIZE]; Cout & lt; & Lt; "Enter the name of the file to scan:"; Cin & gt; & Gt; file name; Fstream inFile; InFile.open (filename); If (! InFile.is_open ()) {cout &...

animation - Animating dynamic buttons in iPhone SDK -

I'm dynamically creating UIButton in my app when I show those buttons that I want to make them live. I can not find the button to animate with this code: UIImage * button background = [UIImage imageNamed: @ "ButtonRed.png"]; (NSInteger x = 0; x & lt; 4; x ++) {CGRect btnFrame = CGRectMake (for x * (buttonBackground.size.width + 2), y * (buttonBackground.size.height + 1), Buttonbackgrade Size.width, buttonBackground.size.height); UIButton * gridButton = [[[UIButton alloc] initWithFrame: btnFrame];]; [Grid ButtonBackgroundShow: ButtonBackground for State: UIContolStateAnimal]; [Buttonbackgram release]; [UIView startup permissions: zero reference: NULL]; [UIView Set Animation Duration: .5]; [UIView Set Animation Transition: UIViewAnimationTransitionFlipFromLeft forView: GridButton Cache: Yes]; [Self.view addSubview: GridBooten]; [UIView commitAnimations]; [Grid Button Release]; } If I change "forview: gridbutton" to "forview: self.view", the...

database - MySQL Insert in table if it doesn't exist already ¿Am I doing it right? -

While creating my application with the relational tables, I participated in the following problem: I have The following table is for this example named "Valores": ----------------------- | ID | Price | ----------------------- | 1 | Unique Valve | | 2 | Unique VAL2 | ----------------------- ID = etinininkment value = unique What am I trying to do? Price if it is not already present, the way I am doing it now is: Enter values ​​(id, value) values ​​(zero, "unique VAL2") Do; So it will not do anything because price already exists. Now my question is: ¿What is the best and fastest way to do this is? I think this is the best way for your scenario For different purposes you can use the duplicate key on update or Read more:

How do I handle line breaks in a CSV file using C#? -

I have an Excel spreadsheet that is being converted into a CSV file in C #, but the problem with handling the line breaks For example: "John", "23", "555-5555" "Peter", "24", "555-5 555" "Mary," 21 "," 555- 5555 " > When I read the CSV file, if the record does not start with double quote (") then a line break is by mistake and I have to remove it. I have some CSV They are readers but I am worried that they will fail on line breaks. How should I manage these line breaks? Many thanks to everyone a lot for your help. Whatever has been done so far, my record format has been corrected and all JTW; ...; Begins with .... ...; JTW; ...; ...; .... JTW; ....; ... .. .. .. ... ... (Wrong record, line bar inserted) JTW; ...; ... So I have the in each row's [3] position; If I write the truth, then attach to remove the last * line-break from a liar.) Now I am having trouble because...

ruby - Custom routes in Rails -

I am trying to create some good links on my website. I'm just making a search through tags, and I wonder if it is possible to create some good ways in this way: http://myapp.com/search/ A_very http: /mymyp.com/search/nice_set http://myapp.com/search/of_tags or at least: http: // Myapp.com/articles/search/a_very http://myapp.com/articles/search/nice_set http://myapp.com/articles/search/of_tags I did some experiment with link_for , and find out that it is impossible to avoid action? Parameter = Value Building There I am also trying to avoid any 'number stuff' in the address, such as sending an ID between actions etc. Even then, I'm just starting one and I do not know at all which direction I should dig. Should it be some way magic? How to apply that magic to my example? Are I Broking 'Conference of Configuration'? It should not require "magic"; This is a pretty standard type of route you can do (in routes.rb) map.tag_search ...

Unit Testing Flex Event Handlers -

What methods do you use for Unit Test Handler, especially if they require information from the event (eg Mouse coordinates, or the goal of the event)? Is it the most common thing to re-apply the behavior in a method, which is going to be lifted, while the handler only removes information from the event, or are there effective methods of simulating event sendings in FlexNet or Fluent? Most of the times I prepare an event object manually and send the object to that object I am especially heard, especially because I'm sure there is no floating there. Event listeners who are not removing properly Sometimes I run in a situation where my test class does not have access to the object that sends the test. Sus . If this is the case, then I separate the business logic from the actual event listener method, keep the event listener method extremely simple and light , and test the business logic. Dispatching from the object is better though, if you can FlexUnit and Flunit do not pro...

php - SQL Query: Incrementing by two instead of 1 -

I am trying to update one field by increasing its integer values ​​from 1 to 1. What I'm using here: Update functionviews ($ id) {$ sql = "Update Tweets SET tweet_views = tweet_views + 1 where tweet_key = '$ id'"; $ Result = mysql_query ($ sql) or die ("db error:". Mysql_error ()); Return result; } However, instead of 1, I increase by 2 each time? What am I doing wrong? Thanks Update Answer is SQL correct. Do you think it might be affected by the rewriting engine ??? I will ask because I'm 100% sure that it has not run twice or I do not call because there are two scripts I one which tells the function and which keeps the function! this is confusing. Update 2 Using the debug function I get this output: array (4) {["file"] => ; String (35) "/home/magic/public_html/dbUpdate.php" ["Line"] = & gt; Int (16) ["function"] = & gt; String (15) "myDebugFunction" ["args...

c# - HTML Diff Component for .NET -

Is a well managed code aware of the .NET component that HTML defaults can do? I want to compare two HTML files and show the difference. Microsoft has been called a managed-code tool, which also works for HTML files. Should you run it alone as executable, or you can import differential assemblies in your project.

uitableview - Transparent custom UITableViewCell -

I've finally finished my first big application, only one problem is that I've paid a lot of attention to the design, And I'm using custom seamlessly as a room with a transparent background. When I tried to test the application on my iPhone, the display was very awesome. Is there a way to get better scrolling performance using transparent cells with an image view behind the UTTable Weave? I 'read mostly two articles: blog.atebits.com/2008/12/fast-scrolling-in-tweetie-with-uitableview/cocoawithlove.com/2009/04/easy -custom-uitableview-drawing.html Good, but what if I want to use transparent cells? A) uses solid color. B) Image viewer uses as background. Any help would be greatly appreciated. I want to release this baby as soon as possible, but now as good as the performance is equally awesome! First stop, stop using nbs, a cell is created every time, To disconnect the discs are to kill. 3.1 In fact, it will make better, but by then, please make your cel...

Sync Framework Considerations for Smart Client app -

With Microsoft Sync Framework SQL 2005? Is this possible? It seems that OTB providers use the SQL2008 functionality I'm looking for some quick win in relation to a sync project. The client application will be offline for several days. It will be a central server that should be SQL Server 2005. I 3.5 I can use. Client app originally can go offline for one week. When it comes back online, its data needs to be synchronized. But the good thing is that the data needs to be taken only on the server. The stuff that sinks back to the customer will be the lookup data that the client can never change. So this means that I do not care about sync conflicts. To make the scenario easier for you, this smart customer remains offline and the user surveys data about some comments. They enter the data in the system. When the laptop reconnects to the network, it syncs back all the data on the server. Other clients are doing the same thing, but no one can ever touch each other's data then som...

To find repeated matches by `uniq -d` -

मेरे डेटा के रूप में / tmp / 1 9367543 9105616 9108177 8948074 8860323 9170406 9105616 मैं दौड़ता हूं और मुझे कुछ नहीं मिलता cat / tmp / 1 | Uniq -d यह अजीब है, क्योंकि uniq -d चाहिए -d केवल दोहराए जाने वाले आउटपुट लाइनें इनपुट। आप uniq -d का उपयोग कैसे कर सकते हैं? आपको अपने डेटा को उपयोग करने से पहले उसे सॉर्ट करना होगा यह केवल आसन्न रेखाओं पर डुप्लिकेट को निकालता है / देखता है।

io - I/O prioritization in Java -

I want to use the Vista + feature. Is there a platform to set an I / O priority on an operation in Java (like a library, 7 in Java) or should I go back to sleep-filter or JNx solution? Is there a similar feature in other platforms? This is something that is hard for Java support because it is heavy on the capabilities of the underlying operating system Depending on the JAVA API, it tries very hard to provide the same work on multiple platforms. (It is not always successful, but it is a different topic.) In this case, implementing a Java API in many versions of Windows, many versions of Linux, Solaris, and many other ways. Will need third-party platform IO preference is coming with a platform independent model which can be mapped to the functionality of the range of OS platforms. For now, I suggest that you have a forum-specific solution to make necessary tuning adjustments out of Java; Just use the process et al to run an external order, or work in the wrapper script befor...

Django python path with Apache and mod_python -

I'm trying to establish a review board that uses the demo, Apache 2.2 and Mod on WinXP -Again with I have a default Python installed, but I want to use a different example. The default is c: / python25, but I want d: / xxx / python25. There is a configuration option to change the path of mod-python, but I do not want to recompile mod_python (as the code is in VCS and it can be placed anywhere). How do I fix it? set path to "d: / xxx / python25; path" load module python_module module / mod_python.so Before setting the environment variable Mod- Python is loaded, where Python finds lecture. It does not seem to work syntax wrong? Thank you. If you are on the window, it is possible that he is referring to the registry for the path. Try viewing in the registry below: HKEY_LOCAL_MACHINE \ SOFTWARE \ Python \ PythonCore \ 2.5 Specifically, the subkeys , InstallPath , Module , and PythonPath .

exception - .NET "Send error report to [me]" -

If an exception promotes all methods (which will definitely never happen) to the top of my application, I program Before crashing, I would like to provide an option to send an error report. What is in my mind is wrapping everything in the main function in one attempt, and a small square that sends stack traces and other information to my server seems quite easy, but with something like this I am sure There are obstacles (such as safety, future-proofing) which I have not fully considered. Is there any current NET library / project this purpose? Or alternatively, is this sound like the right perspective, just catching all the exceptions in the entry point of the app? See all the available logging frameworks in .NET, none of them should offer email notifications. I consider it the best practice to handle top level exceptions, which collects and logs data without exceptions. As Maye said in his comment on his question, you need one for each thread in your app. There is one o...

svn - Subversion project structure? -

विच्छेदन के लिए परियोजनाओं का निर्माण करते समय क्या प्रत्येक व्यक्तिगत प्रोजेक्ट में अपनी ट्रंक, शाखाओं और टैग निर्देशिका होनी चाहिए? उदा। माई प्रोजेक्ट 1 - शाखाएं - टैग - ट्रंक मेरा प्रोजेक्ट 2 - शाखाएं - टैग - ट्रंक आदि ... या क्या प्रत्येक प्रोजेक्ट स्वयं एक सर्व-ढांचागत ढांचे के अंदर जाये? उदा। शाखाएं टैग ट्रंक - माय प्रोसाइट 1 - माइओ प्रोजेक्ट 2 आदि ... आवश्यकता के मुताबिक एक अलग स्रोत स्रोत नियंत्रण में विभाजित करने के लिए विकल्प 1 बहुत सरल होगा, और इसलिए मैं क्या चाहूंगा। यह मुझे भी लगता है कि पहले विकल्प में परियोजना-चौड़ा अनुमतियां प्रबंधित करना आसान होगा।

mysql - A better database design? -

I am preparing a database and running in a hassle. Okay, there is nothing that I do not like. I will have 1000 different scenarios, and in each scenario I will need to store every single one of 64 different togals. I have worked around it and I have come up with: Table landscape Scenario_ID Scenario_Name table toggle Scenario_ID Toggle_1 Toggle ... ... toggle_64 It leaves me with a 65 line Toggles table. I am thinking that the "current" or "off" should be better than the 64 columns, but I am being harmed as it may be. I do not want to store the toggle state in a column in a column because it constantly changes, and it is often necessary to read often to parse a CSV, toggle_14 to "close" instead of changing it and reloading it. To update the table, will it be very easy for me to consider any ideas? Use many-to-many relationships: table The scenario (ID, name) will be on / off value in the table visibility toggle (landscape eag, toggle id, ...

asp.net - Prevent nullable parameter in stored procedure with LINQ -

I want to define stored procedure parameters that do not allow zero arguments. She will not be useless because it will not be useless because when I import the stored procedure from LINQ to an SQL designer, it says that @MailIetmid Is ref int? MailItemId . Thanks. If nothing else, you were auto-generated not to accept blank integers only Modify the code (in designer.cs) If the parameter never ends, then this would probably be a strange exception in SQL code from LINQ, but this is not a great deal.

app config - Is it possible to split a string across multiple lines in an XML file? If so, how? -

is an XML configuration file with some long strings actually I usually, I formatted your source files , So that they can be scrolled without. I want to do the same in this config file. Is there a way to split string in more than one line? Hopefully what I am what I ask is clear, but a picture says a thousand words, eg. Value, down. & lt; Add name = "validation" type = "MicrosoftkPracticeskEnterpriseLibrarykValidationkIntegrationkWCFkValidationElement, MicrosoftkPracticeskEnterpriseLibrarykValidationkIntegrationkWCF, Version = 4.1.0.0, Culture = neutral, Sarwajnikki token = 3lbf3856ad364e35" /> If I break the above string it looks like: & lt; Add name = "verification" type = "Microsoft.Practices.EnterpriseLibrary.Validation .cryptation.cc validity element, Microsoft Practice.Interprise Library.validation.encation.ccc, version = 4.1.0.0, culture = neutral, public-token = 31 BF 3856 ADB4E35 "/> My application failed w...

.net - How to configure 2 applications with separate web.configs in a website? -

I have a different web There are 2 apps with config that I want to run in a website. I can not seem to get the Configuration Legacy issue which will be configured as a virtual directory of them. I've tried location tags on system.web and it does not work. Or maybe I'm doing it wrong as I understand that I have it on the web I am putting the root of the website in the config. But am I getting configuration errors anyway ...? You need to convert the web app that is stored in the virtual path of the application in IIS. You can find it at the link below

.net - How to select text in a TextBox with the caret positioned at the START of the selection? -

I am using a System.Windows.Forms.TextBox . It is possible to choose text using the keyboard in such a way that the carat selection is positioned on the start - by moving and moving the careet to the left. I want to do the same programmatically. For example, suppose I have a text box with "some sample text" text. I'd like to select the word "sample", and I would like to prepare for the carat just before "s" in "sample". If I do this: Textbox SelectionStart = 5; Textbox.SelectionLength = 6; Then I get the selected word, but the carat is only after "e" in "sample". If I do this: textbox.SelectionStart = 11; Textbox.SelectionLength = -6; I get an exception. How can I keep care in the beginning of the selection? I am not able to program. As stated in the original window controls, displays a shining caret in the last position regardless of the relative values ​​of the start and end.

svn - Where can I find the file VisualSVNServerHooks.exe -

I am trying to activate the post-cut hook in SVN, and I have the file VisualSVNServerHooks.exe P> If everything is configured correctly, then just complete path in your hook script Use: % visuals VN_SERVER% \ bin \ VisualSVNServerHooks.exe " where VisualSVN_SERVER was set as a visible variable of the installed location . VisibleSwenserHouse.Account to the rest I have just checked the double that it has been included in the MSI for version 2.0.2. Have you installed the full version or just the management console? Running the MSI again should allow you to install it in full version, and when you do, you should get the XE.

What's faster/better to use: the MySQL or PHP md5 function? -

I have checked the password for users against DB. What is faster, MySQL MD5 function ... pwd = MD5 ('. $ Pwd.') or PHP MD5 function ... pwd = '.md5 ($ pwd).' What is the correct way between the two options? If your application is only reducing MD5, when someone registers your site, Or entering, you can do many calls on MD5 itself? Couple of hundreds? If so, then I do not think that really small difference between PHP and MySQL will be important at all. The question should be more "Where do I say that the password is stored in comparison to" MD5 "compared to" winning almost nothing. " And, one In the form of sidenote, another question may be: Where can you spend to spend resources to calculate that kind? If you have 10 PHP server and a DB server which is already heavy load , Then you get your answer; -) But, for fun A: mysql> Select benchmark (1000000, MD5 ('test')); + ------------------- ---------...

Combined site/deploy goal for Maven -

When running a Maven build on the CI server, I generate the site for publishing documentation and reports, and to artwork I also apply the following goals to do this for snapshot repositories for the use of other projects: mvn clean site deploy This means that unit tests are being run twice , once for the site lifecycle And once to deploy life cycle. If I configure the site target to force the standard lifecycle, the tests are run twice, running the site goal always runs the test due to the @requiresDependencyResolution test annotation. If you are only building the site, but in the context of deploying it increases the time of construction for no profit. I have an alternative solution in which sitemo (and the required guardian) to comment on a new plug-in and copy the @requiresDependencyResolution test . This will generate the report without compelling the revised Mojo tests to run again, but I like a solution that does not include any hacking of the site plugin. One ...

How to determine a 'line-height' using Javascript (jQuery)? -

OK, a plugin faced a line-height coding requirement, therefore, can you give a suggestion Are you, please? Thank you) You should not be assured of getting a count line height in the pixel cross-browser Sometimes the value is 'normal' or 'inheritance', which counts in Firefox, but not in IE, for example. For this, a workaround (depending on the case of your use) can get the count font size (which you can see ), and multiply it by 1.5, which is quite large: var fontSize = $ (el) .css ('font-size'); Var LineHyat = Math.flur (persian (font size. Rellest ('PX', '')) * 1.5); Yes, it is a bit gross, but for some things like determining the right height of an element based on some lines, it will work fine, for example. Keep in mind, you can replace 1.5 with any standard line-height / font-size ratio that you can already use on your site. If you do not know, then you can calculate and calculate any copy element in firebug a) Font-size and B) ...

vba - Visual Basic _ Question about findings the right study material? -

Hey Anyone can find a great book / CD-ROM etc. to learn some novices for advanced learning. is. I think I graduated in the early stages. The main thing I need to do with Visual Basic is using it in conjunction with Office applications (2003 be accurate) mostly MS Access, Excel and PowerPoint. But I want to know more, I need relative study material for which I can put in practice, leaving me with the need to work on the database and access, use PowerPoint for presentations, and Also excel > I get to sites on the VB tutorials, but they are primarily beginning to explain objects / properties and I also look at the borders for books and Amazon, but then it's just a guess The game is because there is a lot to choose from ... Any advice? "bible" books always provide good information for me about VBA (as well as other topics) Is of For example: For Excel there will be few chapters that you will not need (as well as information about the beginning of the book along...