Posts

Showing posts from July, 2013

symlink - SVN ignoring a symbolic link to a directory -

I have a project that has some folders and symbolic links one of them. I want to ignore the symbolic link to avoid the vicious control over it - due to which the duplicate commits etc. How can I add this symbolic link to ignore the list without affecting the root directory? You should do that link with SVN and do it with SVN. Then manually restore the link. However, it has not attempted to do it yourself.

Java Cloning - deep copy and shallow copy -

संभावित डुप्लिकेट: क्या आप कृपया बता सकते हैं कि जावा में क्लोन करने से इसका क्या अर्थ है? गहरी प्रतिलिपि और उथले प्रतिलिपि क्या है, कृपया उदाहरणों के साथ समझाएं मैं दृढ़ता से सुझाव देता हूं कि आइटम 11 में

c# - Casting entire array of objects to string -

I have an array that contains the object string I want to convert them to string. What would be the quick way to do this? Example: I have this object [] and change it, so this is string [] . UPDATE: I think the problem is that some objects present on the object [] are actually other objects like integers. I must convert them to the string first in your solution Please include thank you. Perhaps this is not the most effective way to do this ... its advantage is to do the objects string Are not necessarily string [] Output = (Select o. toasting (object and o) from ToArray ()

python - sending colored text to a TextCtrl in wxpython -

I am trying to send color text to the TextCtrl widget, but I do not know how Style = wx.TE_MULTILINE | Wx.bordER_SUNKEN | Wx.TE_READONLY | Wx.TE_RICH2 self.status_area = wx.TextCtrl (auto.panel, -1, position = (10, 270), style = style, size = (380,150)) Basically this snippet Defines a status box in my window, and I want to write a colored log message for it. If I just do self.status_area.AppendText ("blah"), then it adds text as I want, but it will always be black. I can not get the documentation on how to do this. You need to call SetStyle to call text behavior. import wx square F (wx.frame): def __init __ (auto, * args, ** kw): wx.frame .__ init __ (self, none) style = wx . TE_MULTILINE | Wx.bordER_SUNKEN | Wx.TE_READONLY | Wx.TE_RICH2 self.status_area = wx.TextCtrl (auto, -1, position = (10, 270), style = style, size = (380,150)) self.status_area.AppendText ("Blahblahhblah") fg = wx.Colour ( 200,80,100) = wx.TextAttr (fg) self.status_area.SetS...

What kind of histogram does OpenCV CAMSHIFT use, is it ratio or weighted? -

I want to know how the histogram is used with the camshaft algorithm in the osh cc. Is this ratio histogram or is weighted histogram? Many thanks. I believe that it tells you well. If you want to know more about OpenCV histogram, then you.

radio button - GtkRadioButton set active and deactive -

I have 4 gtkradiobuttons in C / gtk + application. But they are all active My code : radio_button1 = gtk_radio_button_new_with_label (radio_list, "radio1"); Radio_button2 = gtk_radio_button_new_with_label (radio_list, "radio2"); Radio_button3 = gtk_radio_button_new_with_label (radio_list, "radio3"); Radio_button4 = gtk_radio_button_new_with_label (radio_list, "radio4"); I have read man but could not find the solution, how can it be active only one radio button at one go thanks From: Unreal create_radio_buttons (zero) {GtkWidget * window, * Radio 1, * Radio 2, * Box, * Entry; Window = gtk_window_new (GTK_WINDOW_TOPLEVEL); Box = gtk_vbox_new (TRUE, 2); / * Create a radio button with a GtkEntry widget * / radio1 = gtk_radio_button_new (NULL); Enter = gtk_entry_new (); Gtk_container_add (GTK_CONTAINER (radio 1), entry); Create a radio button with the / * label * / radio2 = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_...

.net - Why Nhibernate cannot create this simple query for me? -

I do not understand why this simple query has not been created. I call this method through a test and It throws an exception to the complaint about line 1, column 7, where I do not see anything wrong. Public IList & lt; Continent & gt; GetContinentByName (string name) {eSession session = GetSession (); IQuery query = session.CreateQuery ("Choose from continent where Continent. Continent short = 'Atlantis'); I get an Antillar exception below TestCase 'M: DataEnvestileError.HibernetProvor.GetCentinfoNubname (system string)' failed: 'Antial Runtime. Exception of Caribbean Estepation' was thrown. Near Line 1, column 7 NHibernate.Hql.Ast.antLR.QuerySyntaxException: 'Antlr.Runtime.NoViableAltException' threw the exception of type Text "> session.CreateQuery expexts a HQL query, like this: sess.CreateQuery (" DomesticCat cat where cat.Name in (namesList) "); If you are trying to push a basic SQL query, then ...

c# - Where should I catch exceptions when making use of '"using" keyword in the code? -

संरचना में कौन सा बेहतर है? वर्ग प्रोग्राम {static void main (string [ ] Args) {try (foo f = new Foo ()) {// कुछ कमांड जो संभावित रूप से अपवाद उत्पन्न करते हैं }} पकड़ (अपवाद पूर्व) {Console.WriteLine (ex.Message); }}} या ... वर्ग का कार्यक्रम {static void main (string [] args) {using (foo f = new Foo () ) {Try {// कुछ आज्ञाएं जो संभावित रूप से अपवाद उत्पन्न करती हैं } पकड़ (अपवाद पूर्व) {Console.WriteLine (ex.Message); }}}}} या तो ठीक है, यह निर्भर करते हुए कि आप क्या करने जा रहे हैं कैच। यदि आपको अपने कैच में f का उपयोग करने की आवश्यकता है तो इसे उपयोग करने वाले कथन के भीतर होना चाहिए हालांकि आपके उदाहरण में कोई अंतर नहीं है। संपादित करें: जैसा कि कहीं और बताया गया है, यह इस बात पर भी निर्भर करता है कि क्या आप ब्लॉक में उत्पन्न होने वाले अपवादों को उपयोग करने या ऑब्जेक्ट सृजन को उपयोग करने वाले वक्तव्य में शामिल करने की कोशिश कर रहे हैं या नहीं । यदि यह ब्लॉक का उपयोग करने के बाद है, तो यह जैसा कि मैंने वर्णित किया है। यदि आप Foo f = new Foo () द्वारा उत्पन्न...

java - How do you change the default test location in Eclipse when using Maven? -

If I'm looking at src / main / java in the eclipse somewhere under a square (called MyComponent,) I'm right click it and choose new ...--> Other -> Juyet exam Eclipse is very clever to guess the name of the unit test class (MEComentatest), but it emphasizes inserting unit tests under src / main / java whether there is anything in Eclipse or M2 Eclipse which can be set So the default test location is src / test / java? Given that Maven is the standard way of working with, there should be a setting for this anywhere but I can not find it. Good question, it also bothers me too I found it googled and suggested. Actually, it says: I use an Eclipse plugin more unit, to help write the unit test. In addition to other features, it lets you configure the default source folder of tests.

java - Android&Javadoc: @inheritDoc is not working -

Whenever I use the @inheritDoc tag in javadoc, I see the following warning (example): @inheritDoc is used but getCount () does not override or implement any method. Do anyone know how to avoid this? I'm sure the methods apply / override another method, because I've also set an override tag, and Eclipse does not complain about it. I had a sealer alert inserted link where the reference 'nt can be found, it has been solved using its absolute identifier (eg, content instead of Android content. Intent). Is there a similar solution to this problem? It's a bit weird! Things I see: Check that the getCount () method actually overrides the method in some ancestral classes. (I know ... @ ... but check it anyway!) Check that the method you actually override It is a bit confusing Check that the source code you are overriding in is on the source code path. If it is not, then the javadoc utility will not be able to extract the content related to the ori...

How asp.net MVC's cache and Firefox's cache work? -

I *. To write the cache header on Png requests, I use the following code: response.Buffer = false; Response.BufferOutput = false; // encoding based on the content type and file extension and // whether the response response is compressed. Content Type = Mimmapping GetMimeMapping (physicalFilePath); If (mode! = Response Compression Type. Non) response. Append header ("content-encoding", mode.tostring (.) Toolless ()); reaction. AppendHeader ("content-length", count.ToString ()); // Empty the proper cache header which will cache the response to the // cache of the browser for the default cash duration response. Cash Set cacheability (HTTP capability public); reaction. Cache.AppendCacheExtension ("Mandatory-Certified, Proxy-Modify"); Response.Cache.SetMaxAge (DEFAULT_CACHE_DURATION); Response.Cache.SetExpires (DateTime.Now.Add (DEFAULT_CACHE_DURATION); Response.Cache.SetLastModified (lastModified); But every time I refresh the page that contains the...

Visual Studio - Configure Startup Projects -

I have a solution that includes a website, some code libraries, a WCF service and a project that hosts the WCF service , Which is basically a web application with a .svc file in it. The problem is that when I run the website, both WCF services and the WCF service start at two different ports, I only need WCF service hosts, because this is what I am using Which project can I start to run a web site?

php - Select a random row but with odds -

I have a dataset for each row with numbers of 'odds' between 1 and 100. I think it is the most effective way possible to add constraints to 100 obstacles. I have some ideas. a) Select the entire dataset and then add all the constraints and generate a random number in between. 1 and that number again reduces the number from the loop number through the dataset until it does not hold to 0. I hope that the database is expected to minimize the impact, so I believe that I can only select the rows I needed. b) Select from WHERE table (100 * RAND ()) & lt; Obstacles I believe LIMIT 0,1 but if the item has the same probability then only one will be returned Alternatively, take the entire dataset and choose random one from there ... But then the obstacles are affected because it becomes random with obstacles and then becomes random without any obstacles , So the obstacles are tilted in favor of higher barriers (and also many Uc). I think I can order from the...

fluent nhibernate convention : setting polymorphism mode -

Is it possible to create a simple conference to modify the polymorphous mode of a class, if there is a joint sub-class? Do this: Public class EntityMap: Classmap & lt; EntityBase & gt; {Public entityMap () {Polymorphism. Explastic (); }} But inside a conference. Using IClassConvention does not work, because the Polymorphism property is read only: Public Class Test Convention: ICLASEnation {Apply Public Zero (ICLASIS instance example) {// read only the assets ! Examples. Polyomorphism = polymorphism. Explicit; }} Try example.Polymorphism clear ();

asp.net - How to have multiple web site with one URL? -

मेरे पास 2 वेब प्रोजेक्ट हैं, जिनमें एक URL है: www.theurl.com , जो निर्देशित है ISA सर्वर से, इस सर्वर के पीछे एक वेब सर्वर (विंडोज़ 2003) है। मेरे पास एक डिफ़ॉल्ट वेब साइट है, और एक अन्य वेब साइट जिसे मैं जोड़ना चाहता हूं (website2)। जब उपयोगकर्ता यूआरएल पर क्लिक करता है, तो वह सीधे मेरी पहली वेब साइट पर जाता है। उदाहरण के लिए मैं कैसे कर सकता हूं: www.theurl.com/website2 और कैसे मैं आईआईएस को कॉन्फ़िगर करूँ? किसी अन्य पोर्ट का उपयोग किए बिना? मैं पोर्ट का उपयोग कर रहा हूं: 80 पहले से धन्यवाद क्या आप होस्टनाम साइटों को अलग करने का तरीका क्या है? यह ऐसा करने का एक तरीका हो सकता है, लेकिन यह आईआईएस में बाँध में है जो मुझे विश्वास है।

jquery - struts2 not publishing topics -

I am trying to create a form that lets users connect 3 schools. If they first choose a state, then the list of colleges will be based on the state-based population. States are loaded in preparation of the method. I struts 2.1.8 and struts-jquery 2.3.1. & lt; For label = "state1" & gt; State: & lt; / Label & gt; I am using. & Lt; S: Select id = "state1" name = "state1" list = "stateMap" headerkey = "- 1" header = value = "please select state" onchange = "getColleges ();" / & Gt; & Lt; Br / & gt; & Lt; Label = "college1" & gt; College 1: & lt; / Label & gt; & Lt; List = "key" list = "value" list = "value" = "value1" list = "state1_change" reloadTopics = "state1_change" headerKey = "list1 = list1 =" college1 "list =" college1 "list =" college list " "- 1...

python - How to get started with a bare-bones Eclipse + PyDev -

I plan to go from EEP to Eclipse + Paddev for better code termination. I think it is weird to complete the code of SPE. Anyway, how should I get started with Eclipse + Pidivi? I browsed and I found that eclipse is made up of some base / core system and plugins are added for more functionality. Easy Way I have two options: easy way and hard way. Easy Way Just download the problem The problem is, I can not decide which version to use, v1.2.2.2 or v1.3.1 ? Heart way I want to have a lean eclipse installation, so I want to start with the download of a bare bone, then after I progress in the skill Add plug-in. At the moment, I want everyone in an IDE: Completing the right code, and An easy shortcut key to run the current program. It should be something like F5 or F9. Finally, I would like to use more advanced tools, but when I need to or want to learn, I want to add the plug-in: Unit Testing Version Control Which plug-ins should I install to get speci...

encryption - algorithm for multiple digital signatures? -

Suppose I have a pack of data and I am sending data to 10 users. I want to add an attribute to this data, something like a digital signature. Each 10 users will have a different "key" when they apply their keys to this particular signature on the data packet, then it returns true or false returns, although they can not determine whether to use their key, whether other users Right or wrong Even if the data packet is large: in the data packet Encrypt the hash using the hash key for every user and attach the encrypted versions to the message. Each user keeps the original packet (without signature), then confirms that hash matches their decrypted chuck. This works for both symmetrical and public-private algorithms.

How do I condense multiple jQuery functions into one? -

I'm still new to jQuery and trying to get ways to help optimize my code . I am currently working on an application in which I call some calculation methods when a person leaves the field (.blur). I only want to call these methods when some criteria are met (like value! = 0). I have 9 fields where I am calculating and currently checking. $ (document) .ready (function () {var currentValue = {}; $ ("# txtValue1"). Function () {currentValue = $ (this) .val (); }) .blur (function () {$ ("# txtValue1"). Valid (); if (currentValue! = $ ("#TxtValue1"). Val () and & amp; $ ("#txtValue1"). Val ()! = "") {CallCalculations ();}}) $ ("#txtValue2") Focus (function () {currentValue = $ (this) .val ();}) .blur (function () {$ ("# txtValue2"). Valid (); if (currentview! = $ ("#TxtValue2") Val () & $ ("#TxtValue2"). Val ()! = "") {CallCalculations ();}})}}; Function call calculation () ...

excel - python: is there a frequency function? -

एक्सेल में एक फ़्रीक्वेंसी फ़ंक्शन है: एक्सेल फ़्रेक्वेसी फ़ंक्शन यह उपयोगी फ़ंक्शन मूल्यों की एक श्रृंखला का विश्लेषण और उन्हें निर्दिष्ट सीमाओं के एक नंबर में संक्षेप करें उदाहरण के लिए कुछ बच्चों की ऊंचाइयों को चार श्रेणियों में वर्गीकृत किया जा सकता है [150 सेमी से कम]; [151 - 160 सेमी]; [161-170 सीएम]; [अधिक से अधिक 170 सीएम]। क्या आप और अधिक जानना चाहेंगे? एक्सेल 2003 फॉर्मूला जॉन वॉकेनबाक द्वारा (सीडी के साथ) FREQUENCY () एक असामान्य है सरणी फ़ंक्शन और यह अन्य सामान्य कार्यों के लिए अलग तरीके से कार्य करता है। यह केवल एक सेल में टाइप नहीं किया जा सकता है या एक्सेल फ़ंक्शन विज़ार्ड का उपयोग करके ठीक से दर्ज किया जा सकता है। ध्यान दें कि यह फ़ंक्शन श्रेणियों में मूल्यों का विश्लेषण नहीं करता है गैस, बिजली, पानी, दरों आदि जैसे समूहों में घरेलू व्यय। इस तरह के विश्लेषण के लिए एक उन्नत फ़िल्टर उपयुक्त हो सकता है। आवृत्ति समारोह में दो तर्क हैं - पहले से युक्त कोशिकाओं की श्रेणी मूल्यों का विश्लेषण किया जाना; दूसरा, प्रत्येक समूह बैंडिंग के ऊपरी मूल्य वाले कक्षों की श...

Can I have configuration specific resources in XCode -

I have an Xcode iPhone Project with 3 configurations, debug, release and adhock. What i need to do is only one The source file is for debug build, and not for others, can someone tell me how to do this please? I know that I can have different project settings and preprocessor instructions for each configuration, and different resource files per goal, but I only need one goal. Thanks, Steve I do not think It is possible by creating a second (or third) goal, and by adding config-specific resources to your copy bundled processing phase. Alternatively, you can copy all the resources in your existing Goal, and then use a Post-Build step to delete selected unrelated resources, Will have to face, and this is not really a great solution.

c# - Why does Resharper prefer consts over readonly? -

I have seen "Recharge Tips" under "General Practices and Code Improvement": Local variables or fields are static Change in . I have also noticed that in Bill Wagner's book, "Language idiom" is the "read-only priority for casting", in which the risk of using the author was described. is. My question is not only about the differences between reading and cons and when to use it, but why is a source kept as a common behavior / code improvement and on the other hand Is read as an idiom? Private constants do not risk similar to public stability. Resharper is potentially suggesting performance optimization for those cases where an area is not visible externally.

wpf - Execute a command associated with a MenuItem -

I am using a simple menu with some menus. I command property in each menu item related to routing commm in my ViewModel happened. When I execute a menu item correctly, but navigating the menu with the keyboard increases a problem: if I press the Enter key, nothing happens ... I should first press the tab and then press Enter, So that the command starts

javascript - Making a dektop SMS app -

Thanks for the stack overflow and you have successfully completed my first project (such as website using JSP and servlets). The idea that everyone shows me (as I have a very less practical experience in making complete projects) It was to create an app that I want for myself or I think that should be present. This is the idea of ​​creating a desktop app (initially), which will be used to send bulk SMS, but will use the free services provided by different providers. So I do not have to pay for their already existing app. I do not find any SMS provider in India (where I live), the same provider is free while using my SMS service from my website. (Which puts advertisements there). I have got possession of the following. They have their APIs available for free to use their SMS Gateway (even if they send advertisements via SMS). Through them, through whom they themselves promote themselves by allowing developers to send free sms to their site on their site. The source code fo...

documentation - Missing comments on enumeration members in sandcastle docs -

I have noticed that there are no comments in my raincoat document which was kept on the counting member, but XML produced by Visual Studio Document document Take a look at the project.

Install custom Behaviour in Expression Blend 4 -

I have 4 installed blends and we've found that it does not include a GoToNextState or GoToPrevState behavior by default. I have been given a DLL named Gostostate Action, but I do not know what to do with it. This should include a wrong state, but how do I establish them?

Perform Task Just Before Windows Lockout -

I'm wondering if there is a way that a Windows session is about to close and essentially pop-just before we have There is an intranet punch / out feature, and many people forget to punch before or outside for lunch or for the day. Basically I'm exploring a way to give users the option to log out to lock their machines. I am completely open for the possibility that it is not possible due to security concerns, but I want to see what the community is taking on it anyway. Thanks! It has not tried, but in the classroom what you want is what you want. Specifically, you may want to try the incident. According to this bytes.com com, this should work:

javascript - Open window with specified width & height -

I am developing a safari extension and after clicking on a button I need to create a popup, Overlay Iframe But, the destination redirects the whole page, so I have been forced to use a popup. "window.open () Javascript method can not be used to open a new tab and widow with a global HTML file, or instead, the global file and extension bars are used for Safari applications, Safari Braver windows and Safari brasseratab have access to classrooms, with their methods and properties, you can work with windows and tabs. "() To open a window, you need Safari.APNP I can use the opiaprenobor (), but I can not find the documentation to specify the height / width of the window. Can someone tell me in the right direction? Thanks I took a quick look through the Safari extension reference and It seems that when you call openBrowserWindow, you get the reference of SafariBrowserWindow which has an active tab property that gives you SafariBrowserTab reference SafariBrowserTab ...

Why is it not possible to create a practical Perl to Python source code converter? -

It would be nice if a program exists that automatically converts the Perl code into Python code, resulting in the reading program Readable and satisfactory as the original one, keep working alone. The most obvious solution would be to call only through the perl dragon utils: #! / Usr / bin / python os.exec ("Tail-N-2" + __ file __ + "| Pearl-") ... the rest of the file is the original Perl program ... However, the resulting code is hardly a Python code, it is essentially a Perl code potential converter must convert the Python code to Perl construction and easy-to-read phrases, it must have variable and suburban name ( I.e. the result should not be ambiguous) and do not break too much wrokflow. This conversion will depend on clearly very difficult number of conversion of hardness Pearl features and syntax creative structures, which do not have an easy-to-read, Anbossketed Python equivalent. I believe that such a large amount of such automatic conversi...

html - Scroll page content within specific area? -

I am preparing a website that has fixed elements on the outer edges of the fixed width layout. A devil at the center is reserved for the material. When the user scrolls, I want to keep all those content (besides fixed external navigation elements) in the boundaries of that center element. > What I mean is a quick mockup: I could easily set the overflow property of the center element on auto, and everything remained inside though , It is very important that a scroll bar is not present at the edge of that element. Actually, I'm wondering how: Restrict that content area (maybe I can change the body's size and positioning - is that permission Use the Overflow to hide the scroll bar that appears inside the div: Auto Any help would be greatly appreciated! If possible So, you should break your fixed position elements into 4 different parts (top, left, right and bottom). Then just make sure you give the content area pad with their respective widths and height...

javascript - Why does IE8 fail to window.open() when viewing local HTML files (and how to fix it)? -

आदेशों के कारण, मैं स्थानीय फाइल सिस्टम से कुछ पृष्ठों का परीक्षण विंडोज एक्सपी और IE8 चल रहा है फ़ायरफ़ॉक्स और अन्य ब्राउजर नई खिड़कियों के निर्माण के लिए दस्तावेजों और जावास्क्रिप्ट देख सकते हैं। हालांकि, IE8 के साथ, मुझे कुछ डिफ़ॉल्ट त्रुटि संदेश से भरा हुआ नई विंडो मिलती है, "Internet Explorer वेबपेज प्रदर्शित नहीं कर सकता"। किसी भी तरह पहले "लांचर" html इस तरह से एक पथ में स्थित है: C: \ दस्तावेज़ और सेटिंग्स \ Tester1 \ My Documents \ Sites \ testite \ Launcher.html Launcher.html में लिंक है जो target.html के URL के साथ window.open () को कॉल करता है। यह विफलता का मुद्दा है खिड़की खुलती है, लेकिन इसमें केवल त्रुटि संदेश होता है। यह एक सुरक्षा सुविधा है इसलिए एक दुष्ट साइट ' आपकी मशीन पर दुर्भावनापूर्ण आदेशों को दबाएं और निष्पादित करें। मुझे लगता है कि आपका सर्वश्रेष्ठ शर्त XAMPP जैसे एक सरल सर्वर सेटअप करने के लिए है .. बस स्थानीय परीक्षण के लिए।

c++ - msvcp90d.dll is missing msvcr90d.dll -

I had a DLL project on a machine, and it was copied with the newly installed VS2008 in the second. Creates the project, but I can not debug it Dependecy Walker shows that my DLL sees msvcr90d.dll, but msvcp90d.dll does not see the same DLL . But if I open msvcp90d.dll in a separate window, then msvcr90d.dll is seeing msvcp90d.dll . This is clearly some Sax issue, but I do not know how to solve it. I tried several proposed improvements: googling: disable incremental link, delete and then include manifest creation from my document Delete the settings folder \ Visual Studio 2008 None of them works the same in status debug and release both. have you installed the service pack for VS 2008? Are you sure that this is the reason why you can not debug? Does anything in your DLL C library (MSVCP 90 DLD) depend on the C library (MSVCRDDDLL)? If nothing is not necessary, then it will not be associated with unnecessary code. Have you clearly disregarded this library in your...

foreach - Is there something better than a For loop in Java for iterating neatly through a collection? -

I have been screwed with C # along with Foreach, is there anything like this for Java? Yes, which was introduced in Java 1.5: List & lt; String & gt; String = getStringsFrom (from somewhere); For (string x: strings) {System.out.println (x); } This array and Iterable & lt; T & gt; Anything that implements (or raw Iterable type) works. See for more information.

c# - XDocument to dataSet, my nested nodes are getting treated as new tables? -

Text after "div class =" itemprop = "text"> Looping through the elements thinks that the child node is a table, when it should be just a column Most of the code is working well, as long as the code gets to this part: (All of my code is located below) New XElement ("TBL_Magic_TripCountries", LstCountry.Items .Cast & lt; ListItem & gt; () .Where (i = & gt; i.Selected) .Select (X => New XElement ("Country Code", x.Value)), I'm receiving The destination table can not access the 'ContraCode'. I have no idea why it thinks this is a table if its located within another node is . I am trying to set Contra Control with TBL_ Magic_TripCountries, but as I thought it was not working? Any Help XDocument xmlDoc = New XDocument (New XDeclaration ("1.0", "utf-8", "Yes"), New XComment ("Created:" + DateTime.Now.ToString New XElement ("Trip", "New Ticket" ), New Ex...

database - How to generate printable (and savable) forms with Java? -

This is my position I have written a database application in java. Now (unfortunately, as a post) I want to create a form with data pulling from the database. By form, I mean a useful and printable file (nothing to do with UIs or swings). Actually I want to take a template form and pull data from the data. Is there a simple API for this? I really do not care about the file format, it should be just necessary and printable (PDF, word, open office, act.) I have seen Apache Poi and some other APIs for MS Word docs and these are very painful. Is there any good experience with any particular API? Thank you for your help! I recommend iText because it gives you the functionality to write Graphics 2D on the PDF Canvas, Which means that you can easily embed images and, as in your form, A minor issue with the library is that the best example, I believe, is in the book "iText in Action" by Bruno Logji (ISBN: 1932394796), which is approximately $ 50 US. iText has a ...

javascript - Ext.Direct: matching return values to calls -

I ext. I am making a sequence of Ajax calls using the Direct Module. When I make every call, then save some data, and then match each call with the correct call. In the server call, Ext uses the mail return value to call a tid property (potential "transaction identifier"). The problem is that the documented method does not seem to capture outgoing calls for my client-side javascript to tid . The following method works, but it uses undocumented Ext.Direct.TID property assuming that my.namespace.my_action.my_method Is an Ext.Direct API call that is properly configured: // Set a global object, in which the pending call to the store is pending data = {} ; . . . // Call the server-side routine, and send the data to my.namespace.my_action.my_method (call_data) queue; Pending call [Ext.Direct.TID] = call_data; . . . // Handout of function of "data" event of Ext.direct.Provider = data (provider, data) {if data.type == "rpc" {// original call_da...

android - Launch of My Activity at startup with out using Action_boot_complete -

Instead of displaying a home screen for the first time, I want to display my activity for device activity when device_provisioned == 0. Yusuf You can not do this until you wait till the boot Will happen.

c++ - shared_from_this called from constructor -

I have to register an object on its construction in a container. Without smart pointers I use something like this: a_class :: a_class () {register_somewhere (this); } With smart pointers I should use shared_from_this but I can not use it in the constructor. Is anyone clean to resolve this problem ? What will you do in a similar situation? I'm thinking of starting a init method to call after making a composition and put everything in the factory function like this: boost :: shared_ptr & lt; A_class & gt; Create_a () {boost :: shared_ptr & lt; A_class & gt; PTR (new A_ class); Ptr- & gt; Init (); Return PTR; } Is it okay or is there a standard procedure to follow in such cases? Edit: Actually my case is more complex. I have 2 objects that will maintain every other pointers. The truth is that I am not "registering", but to make another object (let's say b_class ) for which it parameter is required as b_class receives a...

php - Error converting a numeric month into textural representation -

I use the following code in php in textural representation to change months in months. Date ('M', Strottomium (8)); But for every issue I am getting 'December' as my month. How should I work it Thanks Gyan But for each issue, I am 'December' as my month. It's no wonder: strtotime (8) will give you 0 - and it is January 1, 1970, 0:00 : 00 UTC, in your local time zone (where was still December at that point). You can use $ month = 8; Date ("m", strotomom ("1970-$ month -01")); ( 1970 is totally irrelevant - it can be any year.) Alternatively, maybe more beautiful, Use code> mktime () as shown by Nike.

How can I check if an object is of a certain type at runtime in C#? -

How can I check that there is a certain type of type on the runtime in an object C #? You can use the keyword . For example: using the system; Class CAPP {public static zero major () {string s = "fred"; Tall I = 10; Console.light line ("{0} is {1} an integer", s, (IsInteger (s)? "": "No")); Console.light line ("{0} {1} is an integer", I, (the director)? "": "No")); } Stable Boole Escessor (object obj) {if (obj int is? Obj is long) true back; Second false return; }} produces output: Fred is not an integer 10 integer

jQuery nth / Every 3rd -

मेरे पास कुछ मार्कअप है जो इस तरह दिखता है: & lt; h3 & gt; mgmt & lt ; / h3 & gt; & Lt; div वर्ग = "प्रबंधन ऑपरेशन" & gt; बीएलए bla & lt; / div & gt; & Lt; div वर्ग = "प्रबंधन ऑपरेशन" & gt; बीएलए bla & lt; / div & gt; & Lt; div वर्ग = "प्रबंधन ऑपरेशन" & gt; बीएलए bla & lt; / div & gt; & Lt; div वर्ग = "प्रबंधन ऑपरेशन" & gt; बीएलए bla & lt; / div & gt; & Lt; div वर्ग = "प्रबंधन ऑपरेशन" & gt; बीएलए bla & lt; / div & gt; & LT; h3 & gt; लोग & lt; / h3 & gt; & Lt; div वर्ग = "लोग" & gt; bla bla & lt; / div & gt; & Lt; div वर्ग = "लोग" & gt; bla bla & lt; / div & gt; & Lt; div वर्ग = "लोग" & gt; bla bla & lt; / div & gt; & Lt; div वर्ग = "लोग" & gt; bla bla & lt; / div & gt; & Lt; div वर्ग = "लोग" & gt; bl...

iphone - Three20 wont deploy to device -

I followed the issues of adding "320 to my project" and some deployment issues for a tee. I can run the iPhone app in the simulator without any issue, but when I try to run it on the device, I get the following error from "___ strore_vfp_d8_d15_regs", referenced: ..... I believe that my header is something with the search path that I have set. The header search path is currently set to: ../ three 20 / build / product / three 20 Will anyone tell me what my problem is? Thanks As far as I can tell, this header search path problem It will not be a different error message, try the following: Find out if you are using AdMob or not, I know that it causes the problem on iOS 4; Find out which OS you have on your device, make sure that you select Base SDK 4.0, and choose the deployment version in your device version; Then create each .xcodeproj manually in the three lists, which will create the same base SDK + deployment SDK in your project then build ...

python - Hyperlink in Tkinter Text widget? -

I am remodeling a portion of my existing software project, and instead of hyperlink I want to use button . I did not really want to use a text widget, but when I used to run this topic, I could get it. Anyway, I got an example of this, but get this error: TclError: bitmap "blue" not defined when I connect this line Code is located for the module (code using IDE ) hyperlink = tkHyperlinkManager.HyperlinkManager (text) And the code of the script is located Anyone have any ideas? The problem is giving, she says, foreground = "blue" , which is known as a color in the tanker, is not it? If you do not want to use the text widget, you do not need it, an option labeled Is to use and it's a mouse click pairing. Although it is a label, it still responds to events. For example: import tk class as vaccine class: def __init __ (auto, root): self.root = ("link 1", "Link 2", "link 3") for root: link = tk.Label ...

c++ - const_cast vs static_cast -

To add const to a non-concrete object, which is the preferred method? const_cast & lt; T & gt; or static_cast & lt; T & gt; In a recent question, someone has mentioned that they prefer to use the static_cast , but I would have thought that the code const_cast is more obvious Will intend So what is the logic of using static_cast to create a variable const? Start a const reference referenced to the object or not: T x; CONST T & amp; Xref (x); X.f (); // Call non-construction surcharge xref.f (); // call common overload or, use a implicit_cast function template like: T x; X.f (); // call non-present overload built-in_state & lt; Const T & amp; & Gt; (X) .f (); Looking at the choice between static_cast and const_cast , static_cast is definitely better: // call const overload const_cast should only be used for abandonment constness because it is the only artist who can do this, and in removing the console Naturally da...

java - using conditions in XPath expressions -

I need to parse an XML document in the database and there is a given expression in it, after that, String value must be returned if the given expression is present in XML, then I need to parse the next expression and another string value will be returned. I have received it using the following code: // An XML document is passed as a node when the getEntryType () method is public static The class is called XMLTextFields {public static string interrupts the inner type (node ​​target) XPathExpressionException {XPathFactory Factory = XPathFactory.newInstance (); XPath xpath = factory.newXpath (); String entry type = null; String [] expression = new string [] {"./libx:package", "./libx:libapp", "./libx:module"}; String [] type = new string [] {"package", "libp", "module"}; (XPathExpression expr = xpath.compile (expression [i]); object results = expr.evaluate (target, XPathConstants.NODESET); nodelist nodes = (for int i = 0...

c# - Basic & Digest Negotiation Authentication -

I am writing a WebDav implementation I have implemented both basic and digest authentication. My problem is that digest authentication has not been implemented by all customers (especially Dreamweaver) while Windows Web folders do not work when the original http challenge is sent. Is it possible to call client / server (HTP Negotiation / SPNEGO)? What do the headers look like? Web folders conversation often breaks on Windows (do not know which update is, but it does have some winks Constellations and both Vista and 7) Net access * The command line mostly works in my experience, even if the wizard is not connected. But to use Basic-Ath on plain HTTP, you have to change the registry described for Vista / 7.

ruby on rails - RoR call prompt in rjs -

In javascript, I can call this var retVal = prompt ("Enter new first name:"); How can I call the same prompt in RJ file I used, page Pages & lt; & Lt; "Quick ('Enter new first name:');"

c++ - How to apply overlay transparency to RGBA image -

This is my dilemma: I have RGBA raw images: a master image (first) and a subtitle track (second), and I want to overlay them in a different way depending on the alpha channel of the second image: if it is zero Take the pixels from the second image, if it is 0xFF, then take the pixels from the first image, otherwise create an overlay, first the second image on one here is the code used for it here: If (frame- & Gt; Bytes [PC + 3] == 0xFF) / * Overlay Image There is no transparency in it, which means: Overlay 100% * / {pFrameRGB- & gt; Data [0] [pc] = frame-> Bytes [pc]; // red pFrameRGB-> Data [0] [pc + 1] = frame-> Bytes [pc + 1]; // Green pFrameRGB-> Data [0] [pc + 2] = frame- & gt; Bytes [pc + 2]; // blue} and if (frame-> bytes [pc + 3]! = 0) / * overlay image it has full transparency, meaning: 100% * / {pFrameRGB -> Data [0] [pc] | = Frame-> Bytes [pc]; // red pFrameRGB-> Data [0] [pc + 1] | = Frame-> Bytes [pc + 1]; // Green pFrameRGB-> ...

tolower function for C++ strings -

Is there a built-in function for converting C ++ strings from upper case letters to lowercase letters? If it is not converted to seestring and is the only option to use a toller on each variable? Thank you very much earlier. If boost is an option: #include & lt; Boost / algorithm / string.hpp & gt; Std :: string str = "wHatEver"; Promote: to_lower (STR); Otherwise, you can use std :: transform : std :: string str = "wHatEver" ; Std :: conversion (str.begin (), str.end (), str.begin (), :: tolower); If you have some custom locale-aware tolower you can also use another function.

whether visual studio 2008 extensions available for sharepoint 2010? -

There is no plugins or extension (executable file) for SharePoint 2010 in Share Studio 2008 My favorite studio extension for SharePoint works on VS 2005/2008/2010 for SharePoint 2007/2010 But if you are going to develop the SharePoint 2010, it would be a shame to not upgrade to Awesome Studio 2010, where Microsoft finally did some SharePoint sub Rann made that work

mysql - Are multiple indices needed for multiple where clauses? -

I have a query like this: SELECT * from users where the user name = 'Test' and some = 'test' I'm thinking that both columns are necessary for the index for optimization. Does MySQL first find all the user names with all the "tests", and then searches for those results for some columns with 'exam'? Or does it happen together? Yes, you should combine each column and column that appears in the WHERE section, it is efficient Should be an indicator for search You take it away for primary key areas because the index is created due to a preference declaration key. Other columns require that you index them. So you have an index for the username and the name of the email. If the user name should be unique, its own index might be. / P>

iphone - adding uibutton to a detail view programatically -

How is it possible to add a UIButton, which can display a phone number and call that number See the table of the cell Thank you. Ask you to use the telephone: / / url scheme and it Gives a good example: NSString * phoneStr = [NSString stringWithFormat: @ "tel:% @", [auto contactDetails objectForKey: @ "phone"]]; NSString * escaped = [using phonestat string like display screen; encoding: NSUTF8StringEncoding]; [[UIApplication shared application] Opal: [NSL URL URL Authorization: Escape]];

How should i get started on Device Drivers -

I want to code drivers in C in Windows XP / VISTA / 7, though I think it is very difficult Can I get something as a sign of how to start or follow the books? Drivers can go from my USB port / PCI / PCI Express to PC !! I know where I can search for books, I would like to know what I should do with basic knowledge. Do I have hardware knowledge and which specific books are good for a novice like me? Very fist step is to download from Microsoft. There are several sample drivers in the WDK and there is a detailed documentation of the kernel API. In addition, the build environment and the compiler using the driver. With it, you can choose which driver model to use, which follow the API ... etc. The source on a great Web is with many articles and a community where there are answers to specific questions about driver development under Windows. For a specific question about what your basic knowledge should be. Multi-thrilling of multics / spinlock / concurrency Overall...

visual studio 2008 - Resharper "Debug Current Session" option or Keyboard Shortcut mapping -

Is there any "debug current session" option that "debugs the current session" or "selected test" ". I want to create a keyboard shortcut that debug an existing unit test session (or selected test), regardless of what is currently the focus AFAIK is not currently there and IIRC is in the list, but I am sure.

Get available clojure namespaces -

Is there an idiomatic way to use available namespaces? (All-N) Uses already used namespaces (package / getPackages) import >, but only those closure namespaces that are already being used. Then I stumbled, but it uses some classpath magic. So I want to get something like ('clojure.core' closure .set ... 'close' .contrab.aculator 'close'. Contrib.condition ...) If I have Closer.jar and contrib.jar on the class, but I have not used anything yet. You have to do "classpath magic". Since there is no type of registry, you have to walk a classpath and to find out what namespace is available, each closure must be displayed in the source file. (If files are not compiled by AOT, otherwise you will need a different estimate.) I think the best way to use in linked post is to: clojure.contrib search -name / search-namespace-on-class path . Closer 1.3.0; Now use with clojure.tools.namespace.find / find-namespaces and clojure.java.c...

c# - How do you implement the equivalent of SQL IN() using .net -

.net (c # या vb) अभिव्यक्ति में, आप एसक्यूएल की आसान IN () कार्यक्षमता कैसे कार्यान्वित करेंगे यानी मान = 1 या मान = 2 या मान = 4 या मान = 7 इसके बजाय मूल्य (1, 2, 4, 7) > सिस्टम का उपयोग कर; System.Linq का उपयोग कर; स्थैतिक वर्ग SqlStyleExtensions {सार्वजनिक स्थिर बूल में (यह स्ट्रिंग मुझे, पैरामीटर स्ट्रिंग [] सेट) {वापसी सेट.संगत (मुझे); }} उपयोग: यदि (Variable.In ("AC", "BC", "EA")) {}

java - Spring and Hibernate inside Axis2 inside Tomcat6 -

I am trying to create a web service base on axis2 (without a servicelettext). I have a code that works properly (Spring + Hebrietnet) and try putting it in AAR as mentioned here and do all the good work except Hibernate. I have: & lt; Bean id = "datasourcecommon" class = "org.apache.commons.dbcp.basicDataSource" deleted-method = "off" & gt; & Lt; Property Name = "driverClassName" value = "oracle.jdbc.OracleDriver" /> & Lt; Property name = "url" value = "jdbc: oracle: oci: @xxxx" /> & Lt; Property name = "user name" value = "xxxx" /> & Lt; Property Name = "Password" Value = "xxxx" /> & Lt; Property Name = "Maxactive" value = "10" /> & Lt; Property Name = "Default Auto Comet" value = "False" /> & Lt; / Bean & gt; & Lt; Bean id = "hibernate session factory" clas...

sql server - Which C# data types are not WCF serializable? -

We have C # unit classes that map some of our SQL Server database tables. We should be able to sort these sections in order to send the client back to the server via WCF. For each SQL Server data type, we have the corresponding C # CLR data type in the affiliate unit. We have some SQL Server data types, such as images and variables, which we need to map to the C # CLR data type, so we can send the data back to the customer. The problem is I am not sure how to use the CLR data type for these images and Verbriety SQL types, so that we can serial them through WCF. Thank you.

Using ruby object in views -

I am trying to display this object in my view - - - ruby ​​/ object: Customer Attributes: Country: United Kingdom last_name: a first_name: b attributes_cache: {} History: - ruby ​​/ object: history attributes: start_date: 11/03/2010 finish_date: attributes_cache: {} I thought that you can reach start_date by creating a & lt;% @ customer. & Gt%; & Lt;% = customer.histories.start_date% & gt; & Lt;% end% & gt; But me undefined method `start_date ' this is the search I used @customers = Customer.find (: All ,: conditions => ['customers.id IN (?)', Intersection] ,: included =>: history) What am I doing wrong? thanks customer's personalities one of the items Array, so you want something like this: & lt;% @ customers.each do | Customer; & Gt%; & Lt;% = customer.histories.first.start_date% & gt; & Lt;% end% & gt;

folder - How do we add a whole repository and not file by file in CVS? -

Hello, I am using a custom library that has many files now to use that library to use that library All files need to be added to the local CVS. So when I update the CVS, I see all the files unavailable on the CVS, and there are many files in this library. Therefore, I have to add a CV to the CVS and then comment again. For CVS, there is a way for most GUI frontend (CVS), there is a way for CVS and no file ?? NT) is a feature that does this. This is usually the easiest way. There is also cvs import command which is specifically for the third party code version inside your own stock, but it also has some quirks and properly Not particularly trivial to use, if all your files are not of the same type, it does not really work well when the folder hierarchy is added, already already in the version control folder and / or Files included Am I seeing the document for any kind of cvs import command. In addition to this, you will have to add a large amount of repeated iterations ...

c# - Connecting to Informix using .NET -

सर्वर सूचना सन माइक्रोसिस्टम्स इंक सनओस 5.8 जेनेरिक पैच अक्टूबर 2001 सर्वर : Informix डायनामिक सर्वर संस्करण 7.31.UD3 जानकारी: लिंक: लेख: मैं Visual Studio 2010 (C # 4.0) चला रहा हूं। मुझे परवाह नहीं है कि यह ODBC vs OLE DB है। मैंने इनफ़ॉर्मिक्स के लिए सभी क्लाइंट एसडीके की स्थापना रद्द की है। मैंने आसानी से आईबीएम इनफॉर्मिक्स सीएसडीके 3.5 को स्थापित करने के लिए तैयार किया है (यह लेख 2.9 का उदाहरण देता है, लेकिन मुझे वह कहीं भी नहीं मिल रहा है)। मेरे पास आलेख से नमूना कोड है। असल में, मैं Informix DB से कनेक्ट करने में असफल रहा था मैंने तब से क्लाइंट एसडीके के सभी लक्षण हटा दिए हैं I इस बिंदु पर, मुझे नहीं पता कि क्या करना है मैं नहीं जानता कि क्या मैं सही संस्करण कनेक्शनड्राइवर का उपयोग कर रहा हूं या नहीं, या अगर मैं किसी तरह डीएसएल का उपयोग कर सकता हूं और वीएसएनटीटी में कनेक्शन को आंतरिक रूप से स्थापित कर सकता हूं, लेकिन कुछ भी काम नहीं कर रहा है। काम करने के लिए कनेक्शन प्राप्त करने में कोई मदद महान होगी: (लेख से): सिस्टम का उपयोग कर; IBM.Data.Inf...

building a windows service using msbuild -

Does any tutorial indicate that helps in the creation of windows services using msbill requirements: - csproj file Should not be used - output should be similar to the published option in Visual Studio Updated question: We have a project Window Service our In this window service in solution, we are living on a different system Some libraries are referring (one of them is not kept firmly). This solution also includes other class libraries and website / web-applications. I am trying to write a custom build that produces an exquisite version of the website and an editable version of the window service. When I say service to windows, it appears on the Control Panel -> Service MMC. The website build was easy through MSBill ... though I'm struggling with windows service to build. So far, my fellow developers were using right-click on the project file, and click Publish to publish the service of windows. This creates the setup.exe file that helps administrators deploy t...

java - Best Platform and Programming Language for Network Mapper Software -

I want to project my final year, and plan to research and build a network mapping software, but I Do not know which programming is the best language (Java, C ++, C, Visual Basic) / platform (Linux, Unix, Windows) for this research software. Any suggestions please be highly appreciated. Inappropriate ... I'm familiar with Java but not good in C and C ++, but if I want to use it then I hope to make better. In the field of study, there is a degree in my computer network ... Ideas of a project other than the network mapper are also appreciated! In situations, I might work in Java for the last year's project, you reduce risk , And using a single language (most of the time) increase the risk of failing to complete the project for a long time (or to spend extra time on it, on which you should spend other things, which almost Can be worse).

c# - De-serializing some XML (via a Stream) into Parent/Child objects -

I have a fairly simple DAL assembly with a SalesEnquiry class in which vehicle category & lt; T & gt; We will receive XML files by email which I want to use to populate the examples of my sales class, so I was trying to use de-serialization. I am I've added the XMLRoot / XMLElement / XMLIgnore attributes for both classes that I think is appropriate. However, when I try to de-serializing, the original sales check is an object population but no child is a vehicle object. I understand that the de-serialing list & lt; T & gt; may be difficult, but I'm not sure how to avoid problems, or even if I'm struggling. While debugging, I have successfully sorted a vehicle object on itself, so I am assuming that I am going in the right direction, but when I have a SalesEnquiry XML (which includes one or more child vehicles ), Then the list & lt; Vehicle & gt; is not a population. Where am I going? Update : In a test project, I used to...

Why does SQL Server 2008 Express Management Studio change the password of a new login automatically? -

I created a new login using Express Management Studio and SQL Server authentication. When creating, the password changes automatically in some long form and I am not able to set the password using the newly created user. What do I have to do to use the same password which I set up and it does not tamper with? I think there is space on Frosso's comment. The SQL Server is not changing the password you entered, but SQL Server Management Studio (SSMS) is visually modifying the password and to confirm the password entry box to reveal it longer than what the password is is. Have you tried to create a new SQL account, have been trying to reconnect with the SQL server through SSMS and through SSMS. password? If this works, you know that you have created the account properly and that the password is actually correct. As Frosso also said, if you are unable to connect to the SQL Server database remotely, then it is most likely the fact that SQL Server Express Box Has not been ...

algorithm - RGB values of visible spectrum -

Sorry it was irrelevant: -] The connection between frequency and what is known as Hue, but for complex reasons of depth, monograph, gamut and calibration, the best is a gross estimate you can get out of expensive laboratory equipment. Look for mathematics, and note that you have to come up with your best guess for Huawei Frequency Mapping. I hope that this empirical mapping is anything but linear

How to load Model into Model in Codeigniter? -

How do I load a model in Codeigniter? You really should not load the model in other models. If the model sharing behaves you can use succession but the loading of the model should always be done within the controller.

session - Codeigniter: Set 'global variable' -

If I want to set a variable that can use my entire controller, how can I do this? Right now, in every function I $ id = $ this-> session-> Setting user data ('id'); I want to be able to access any work w / o to $ id from each controller that defines it. :) If there is a better way, then I'm all ears! I'm a Noble! To expand, you want to do something like this: Class extends yourController controller {// This is a property, public $ id = null accessible from any function in this category; // This is the constructor (outlined by Koo5) function __construct () {// like this you $ id within $ $ class - this-> Id = $ this- & gt; Session-> Refer user data ('id'); } Function getID () {// $ ID property return $ - this-> id; }} See the manual for more information about PHP. Hope that helps!

sql - Scripts for moving schema changes from development database to production database -

I'm trying to close this one from near. I have two database servers (DEV and PRD) and I have my database on the dev server. I am looking to employ v1 of my application on a PRD server The question is: In two months Say, I am ready to prepare v1.1 of my application, in which two new scenes, six new areas (three areas in each of the two tables, each) and one updated edition of my sproc which records the tables with new areas is My new schema DEV database, but the actual data in my PRD database, so I can not copy the .mdf file, because I want to take PRD data, but to join my new schema. I understand the initial composition of tables, ideas, sprocs through saved SQL files; But what I am thinking, is it possible to use the SPCS to make "operator table" scripts or do I need to do it manually? I have handled it with the Apple SQL script which applies the changes to the previous version. You have to either code it yourself or use one of the many to compare DBA tools ...

tfs2010 - TFS API VS2010 - How do I set the comment on a workitem revision? -

I'm killing my head against the wall and I can not understand it. I'll show you what I am saying, but I am a newbie;) once committed After you can not modify any comments on the comment

antivirus - Where can I buy a control set like NOD32 uses for its UI -

My master wants that our program wants to fly flyout menus with smooth changes like ESET NOD antivirus 4. Where can I buy a control set which looks similar and looks at it? I have never bought a purchase before and I do not even know which sites have started shopping. It has a super tab control, which is in the form of a part of that suite, which What does it look like? It is much cheaper than other suites if you are using .NET WinForms. You never specified.

c# - A "Google wonder wheel" or "visualthesaurus" like diagram control for .net? -

I'm looking for a graph control that works like Google Anch Wheel or ThinkMap Visual Thesaurus. I do not know what these types of diagrams are called. Any help would be appreciated. I have a series of non-hierarchical related data entities (should be shown as large and small circles) and I want to show their relationship (lines between circles). I think that you are after this effect, I do not even know that its a specific There is a name: It may happen in the WPF that it may be a floating source - or it may be. Reflector can help you to do this work how it is done. I have not seen any components that do this automatically, your best bet is to use one of several graph libraries on codeplex.com to create a graph like data structure and I am afraid that I None of them have used in depth , So can not recommend one over the other - be careful as they are issued under some different licenses. Hope this helps David

apache - Can I change the accepted extensions by PHP? -

I would like to accept other types of files that contain PHP code. For example, to read .aspx file by PHP It would be good to have it .php. To make HTML Parse as PHP, add it to your .htaccess file in Apache: / P> AddType application / x-httpd-php .html You can extrapolate what you need to do from there: -)

Why can you not declare constants in methods with Ruby? -

Consider the following, StubFoo is a foo of Foo, which I want to stub for some tests. class runner def run Foo = StubFoo using foo = Foo.new #Foo ... and end This generates the following error message Is: dynamic continuous assignment This should be an example "should be" Foo = StubFoo foo = Foo.new foo.to_s.should == "I'm stubbed!" Does this work with RSPC test case, but not the above version? As far as I know, "this" is only a method within RSPC, yet I am able to make a static redistribution within "method". I am doing this already want to know how joking is, etc. etc. ... in Ruby is different. I have heard that dynamic languages ​​are easy to fake / stub, and there are such guides on the internet, from which the simple class is handed over again. From my research in Ruby, it is not possible to declare a static within a method, yet I am confused as above. Edit OK, it's starting to understand more. I have yet t...