Posts

Showing posts from August, 2015

How is the best method to generate a url with ASP.NET? -

मैं इस विषय में आपकी help को सराहना करूंगा। मुझे एसईओ पोजिशनिंग में सुधार के लिए url rewriting का उपयोग करके मैत्रीपूर्ण यूआरएल के साथ एक साइट बनाने की आवश्यकता है। मैंने Torought वेब खोज रहा है और अंत में इस दो मुख्य विकल्पों की ओर इशारा कर रहा है: आईएसपीआई एक्सटेंशन के साथ एएसपी। नेट एएसपी .नेट एमवीसी हालांकि, मुझे दोनों मदों पर कोई अनुभव नहीं मिला है, इसलिए मुझे इस दो तकनीकों के बारे में और आगे बढ़ने के लिए मेरी जरूरतों के लिए सही निर्णय लेने के लिए आपकी सहायता करने की आवश्यकता है। धन्यवाद मान लें कि आपके पास मेजबान / सर्वर जो कि asp.net MVC (यानी एक है जिस पर .NET Framework 3.5 सर्विस पैक 1 स्थापित है) चला सकते हैं, आप एक वेब प्रपत्र वातावरण में ASP.NET MVC से रूटिंग इंजिन (System.Web.Routing) का उपयोग कर सकते हैं, फिल हैक के पास एक अच्छा अद्यतन walkthough है। एमएसडीएन पर भी है। एक आईएसएपीआई फिल्टर के विपरीत, यह आपको रूटिंग इंजन का उपयोग करने के लिए अपने आंतरिक लिंक के साथ-साथ जवाब देने में भी सक्षम बनाता है बाहर से अच्छी तरह से बनाई गई लिंक्स...

css - Two separate background images -

I have to create images with two backgrounds of my page: one on the other side at the top. I do not want them static, though. How do I do this? It really depends on what you need for a page and what's background images If you want to Solution , then you have to post in more detail with a composite image which should be visible to the page and an example of its own pictures. said that there are only one way: html {backgoround: trasnparent url (/ path / to / image) scroll no-top head center;} body {backgoround} : Trasnparent url (/ path / to / other-image) scroll no-noct Thomas Center;}

flash - How do I reverse my sound volume math for my volume slider? -

I am creating a video player and I have stopped a bit in the volume slider section. If the slider should be 100% in the volume of the top spot and if the slider is dragged to sound down position should be 0. Currently it is the opposite of what I want it to have a YouTube-style vertical slider, which means: ( , will sound louder drag the slider down, while pulling up it lowers. the volume is my code below dealing with the slider. // sound controller set NGC ······························ soundController = new soundController (); soundContrColor = soundController.colorChip; soundContrGray = soundController. GrayCover; soundContrGray.visible = false; soundController.visible = true soundController.buttonMode = true soundController.soundSlider.addEventListener (MouseEvent.MOUSE_DOWN, sliderDown); // SoundController button mouse events ··········· public function Slaiderdaun ( event: Mausivent): void {soundController.sound Slaiderktartdrag (false, Dragbond); sound controller. Soun...

c - malloc behaves differently on different machines -

I see completely different behaviors while running a part of the program that tries to cross the RSS on different machines. The code is something like this: ... char ** s = (char **) malloc (10000 * size (four *)); For (i = 0; i & lt; 10000; i ++) {s [i] = (four *) molk (1000 * 1000 * size (four)); If (S [i] == NULL) {printf ("s [% d] can not allocate memory"), i); Exit (1); }} Int j = 0; While (1) {for (i = 0; i & lt; 10000; i ++) {for (j = 0; j & lt; 1000 * 1000; j ++) {s [i] [j] = 1 ; } If ((i% 100) == 0) printf ("i =% d \ n", i); }} For (i = 0; i & lt; 10000; i ++) free (s [i]); Free (s); ... The above code attempts to allocate approximately 10GB of memory using malloc. The first two machines tried to run this code on Linux kernel 2.6 and the previous one ran the Linux kernel 2.4. Here are the behaviors I see on these machines: Machine1: Memory is allocated using the memory of redundancy, but when assigning a value to memory locations...

c# - Best way to take all querystring pairs and init a dictionary -

I want to store all key / value pairs in my query string: Www in a dictionary example.com/?a=2&b=3&c=34 is there a quick way to do this that to take a ride manually through all the objects is? Try HttpUtility.ParseQueryString () . This returns you the NameValueCollection of your keys and values.

R from within Java -

What is the best way to call R functionality from Java? I am exploring a quick, easy and reliable way to create standard 2D scatter plots and histogram using my Java applications. I was thinking that it would be most convenient to use the packages / interfaces in the quick Google search. I look forward to your suggestions! Use JRI :. It comes bundled with RJVA, which includes some examples of usage. A very simple example would be: import java.io. *; Import java.awt.Frame; Import java.util.Enumeration; Import org.rosuda.JRI.Rengine; Import org.rosuda.JRI.REXP; Import org.rosuda.JRI.RVector; Import org.rosuda.JRI.RMainLoopCallbacks; Public class rJavaTest {public static zero main (string [] args) {roengin ray = new regin (args, false, new text console ()); REXP x; Re.eval ("print (1: 10/3)"); Println (x = re.eval ("iris")); RV Actor V = X.Asactor (); If (v.getNames ()! = Null) {System.out.println ("names are:"); (Mathematics E = V.Getnam ()...

wcf - ReadAsDataContract exception while reading namespace -

I'm trying to use Twitter's Rest API using the WCF Rest Starter Kit. I am using the same object in the data content described in the article. [Collection Data Contract (name = " Status list, "Item name =" status ")) Public category status list: list & lt; condition & gt; {} public class user {public string id; public string name; public string screen_name;} public class status {public String id ; Public string text; public user user;} I am reading XML content using the RedAs Data Contract () method. HTTP client http = New HTTP client ("http://twitter.com/costs/"); Http.TransportSettings.Credentials = New network credentials ("{user name}", "{password}"); HttpResponseMessage resp = http.Get (" Friends_timeline.xml "); resp.EnsureStatusIsSuccessful (); Status list sList = resp.Content.ReadAsDataContract & lt; positioning & gt; (); I get the argument that I have not defined the following names...

hyperlink - How to combine URLs when the iframe inside of a mainframe changes -

How can I create a URL that will take the user to a specific iframe inside the mainframe, when the mainframe site originates Not the form? For example, if I have 3 iframe images on my site and I want to share one of the pictures with another user, then there is no way I can create a URL, Which specific IFrame would I choose to share the person? You can use javascript and just set my_iframe_elem .src = " ";

build - How to locate a compiler in a path with a version number in it? -

I am trying to design a scanstate file for an embedded system project. On my machine, the compiler is on "C: \ Program Files \ IAR Systems \ Embedded Workbench 5.4 \ arm \ bin", I have to create a build system to try toolback, even if another version of Embedded Workbench is installed , Or if the user has chosen to install it somewhere else. I would also be interested in the strategy used in makefile or ant files as they are also useful here. What are some strategies to do this? Do I have other options than searching the Windows Registry or "C: \ Program Files \ IAR System \ Embedded Workbench * * Hand \ Bin"? The easiest solution is to use an environment variable you still have to manually It has to be set, but build system is only required for environment variables, so it can be normal for all build hosts. For example, your case may be: EWBARM_V0504 = "C: \ Program Files \ IAR System \ Embedded Workbench 5.4 \ Hand \ Bin" And other ve...

after upgrading to xcode 3.2, can I still build projects into 3.1 simulator? -

I upgraded to xcode 3.2 and now in the encoded build option SDK only from the top left drop down menu 3.2 versions, although if I open a project I created in the previous version, then those options are still (or at least 3.1.2) anyway that option is 3.2.2 SDK? Thank you, hit CMD + I while selecting the project In the info window, find "Base SDK", then "Simulator - iPhone OS 3.1.2" Select

iphone - Bandwidth from headphone/microphone jack -

To check credit card data, I saw Square after using the headphone jack on the iPhone. What is the average bandwidth of the headphone jack on the iPhone, average notebook and average mobile device? Can it be doubled by sending different data streams on different channels? An issue is the bandwidth of audio cables, which I will not go to here. For audio ports, the maximum bandwidth of 22.05 or 24 kHz (with a maximum sampling rate of 44,100 or 48,000 samples / s on 16 beats / specimen / channel, as a result of which originally resulted, for the sound sampling, sampling signal to this theorem Continuous-dimension to apply) and transfer rate of 176.4 or 192 kbps for stereo. According to , line-in supports a maximum sample on the iPhone, the mic also runs at 48 kHz at a rate of 48 kHz, while the specimen of a 1 gene iPhone mic is at 8 kHz. is. I could not find a bit of a bit of iPhone for the iPhone, but I believe it uses a 16 bit sample. There is another possibility of 24-bit ...

Working with a directed graph using RGL in Ruby -

I have implemented a guided graph in Ruby using RGL, just to find out for a given node How difficult is the nodes with incoming connections and nodes with outgoing connections, I'm probably missing something simple. I could just run into this problem that this might possibly work, though this is the most beautiful approach Can not be: is required 'rgl / adjacency' requirement 'RGL / bidirectional' class RGL :: guided disableability graph DRAF_Ideal (V) rdg = self .reverse rdg.adjacent_vertices ( V) .size end def out_degree (v) self.adjacent_vertices (v) .size end end dg = RGL :: guided engage graph [1,2, 2,3, 2,4, 4,5, 6, 4, 1,6 ] P dg.in_degree (2) # = & gt; 2p dg.out_degree (2) # = & gt; 1p dg.in_degree (1) # = & gt; 0 p dg.out_degree (3) # = & gt; 0 The long answer is that it has not yet been implemented. The way it works, it's RGL :: bidirectional module, along with your guided graph class, it will give you all the important ...

c# - Dynamically Subscribing to Events in RhinoMocks -

We are currently migrating from NMock2 to RhinoMocks and we are having trouble copying this code: P> foreach (EventInfo e type type (MarketMapPopupIMVPView) .GetEvents () Expect.Once.On (mockView) EventAdd (e.Name, New Typemetre)); Originally it was placed inside the template for the template to ensure that the developers using the template were actually waving the event in the presenter, which was listed in the view Were. The problem is that we do not know the events in advance and hopefully can not replace the name that can not find a way to do it in Rhinomox. I have already done some stuff like this, but in most cases it is not worth it. is. Having less time and effort in writing your own stub will be more expressive and understandable. I wrote a post about it and could help.

What is considered fast performance for a single server request? -

I understand that there are many factors involved in making DB calls and the Internet, but I strongly recommend the methods Referring to the customer, roundtrip I am using a stopwatch to get an average range but I do not know what is generally considered to be fast or decent performance. 10ms 500ms? This is actually a subjective question, but I think it's valid. We all know that the speed of 4 miles per hour for the car is slow, while 150 miles per hour - lets go back to the server very fast now. DB takes about 20 ms faster (indexed) call Suppose we have them 5 is required. Storage latency is also about 5-10 milliseconds in which data data megabytes are throughput per second. Let's say that we need to read 1 MB should say that 10 milliseconds of 50 millisecond cpu is enough to create dozens of searches in different maps. Some of the 10-20 results are sufficient to fill the template effectively. That's why we get 20 * 5 (for DB) + 50 (file system) + 10 (in memory sear...

iPhone Debugging Error launching remote program: failed to get the task for process 907 -

An app has been created to install and install adhoc on iPhone but this installer is not working on the iPhone, Tried to connect to iCac "Error in launching a remote program: The process failed to get the job for 907." No, you can not debug an AdHoc build in XCode - Setting plus permissions in your entitlements. Plist originally says, "Do not allow the debugger to join it", and it is necessary for ADACH and AppStore. See or the documentation ...

richfaces - problem with h:inputtext in Rich:ModalPanel -

I am using the rich: ModalPanel to edit some values, when a user clicks on editing a popup Then with some prefilled values ​​will appear. I'm using the model panel for pop-ups, the problem is for the first time that it is making the right values ​​popular, but the input text value is not updating from second time, because of outputtext Trying to display the same values ​​using and then I'm getting the right value. Any suggestions are welcome! This may be one of the reasons for your model panel showing the prices set in Bean property.

actionscript 3 - Detect mouseUp on stage -

Is there a way to check this method that is linked to the forum? I have a platform as global. And some object on mouseup needs fire to function ... now it depends on 2 or 3 how many objects I add .. I want something .. ($ .Stage.hasEventListener (MouseEvent.MOUSE_UP, this.mouseUp) === Incorrect) {$ .stage.addEventListener (MouseEvent.MOUSE_UP, This.mouseUp); } Or a better way of handling it? I'm guessing you are adding the listener to each object, do not you? This means that every time you make an example of your object that you are adding another listener to the stage mouse up event. If you really only want a listener for this type of event, take him out of the realm of the object and only add the listener once.

Can't connect to local MySQL server through socket -

When I upload it or submit a page, I get the following error on my site: > What does this mean in the world? Instead of Mysql_real_escape_string () it means that you have mysql_connect (), because the error is being reported on the phone. In some circumstances, the mysql extension automatically uses the default settings in php.ini Will try to fail at my.cnf if they are not available - which are not clearly valid Is not or it may be that the settings are valid, but mysqld is not running. Did you find such scripts that are successfully adding to the database? Do you have a user name and password database? Try: Check_ring (); User $ = ''; // Fill out your details $ password = ''; // Fill out your details $ host = array ('localhost', '127.0.0.1', $ _SERVER ['HTTP_HOST'], $ _SERVER ['SERVER_ADDR']); Forex currency ($ $ additional as host) {try_con ($ addr, $ user, $ password); Try_con ($ addr. ': 3306', $ user...

teamcity - Publishing POMs via Maven and inserting build version info -

I am creating Maven projects through teamcity / guit and publishing the team ity build number in pom.xml Trying to make a successful build on my repositories unfortunately I can not determine how to publish a pom.xml with implants. My pom.xml contains such information: & lt; Version & gt; $ {Build .number} & lt; / Edition & gt; Where build.umber is provided by TeamCity. It all makes okay, and if (say) build.number = 0.1, then the deployment is a directory with a pom.xml 0.1. All well and good However, the deployed pom.xml has been replaced by pom.xml i.e. Maven is a suitable code With pom.xml is running, but deploys the initial version and so I last pom.xml . pom.xml ? How can I get the build version number in ? I will not use this approach as it builds a project out of SCM, which would make it possible without providing property build.number . I do not think this is a good thing, maybe I'm missing something, though Actually, w...

Datagrid cell's Numeric Validation in c# -

I want to validate a separate cell in the datagram. If I want only numbers in a particular cell in the datagram, how can I do it? For example: im using Datagrid View. I want to validate this phone number area with 3 columns, datagrid ID, name, phone number. If a user enters some other value from a number then I want to give an error message. This can be an easy task as it is very new to C #. Please help me with this problem. Thank you all Do you have a public boot valid phone (string phone Number) method? If so, drag an error provider control into your form, if so, you can call that method in the text_changed event of the phone number field. If this happens - ( phononumber = phononumbertaxbox. Text; if (valid phone (phone number) == incorrect) {errorProvider.SetError (phone number text box, "please call a valid phone Enter the number ");} If (valid phone (phone number) == true) {errorProvider.SetError (phone number number," ");} You can also call...

What is the "log4net.xml" file that gets added to your bin folder -

It is 1.3 MB large and when I compile my C # application it is automatically added. For whom is this? Is it necessary? Will this my installation package "blot" This is probably an XML documentation file, which includes XML comments It is not necessary for all members in the Log4net project to be installed, so if you wish, you can remove it. You can also tell the compiler not to emit the XML documentation for a project in that project's property.

sql - Microsoft Access 2003 - Laying out code correctly -

select DISTINCTROW [b / a question], add ([b / a question]] [SumOfLabor [SumOfLabor is the sum of money], sum insured ([SumOfLabor hour totals], Sum Assured ([B / A Question]. [SumOfGood Pieces]) [As SumOfScrap Pieces SumOfGood, One question]. [Scrap fragments]], Sum Assured ([B / A Question]. [SumOfMachine Hours]) [SumOfSumOfMachine Hours], Sum Insured ([B / A Question]. [Total Margin Hours] ) In form of [ SumOfTotal earning margin hours], [sum / b] a question] [b / a question] by the group [AS] by the expectation of the sum assured [[a question / a question] [standard PC expected]] Selection of (sum) + add (sorted) from [Shift report table] + add (straighten) + add (shine) + add (standardization) + add (retaining); Let's run this code, which creates a verbal American "Character foundations after the expiry of SQL descriptions". Does anybody adopt this code to conceive of avoiding any error? Do not allow questions You are pregnant In the same Windows two sel...

.net - multithreading loop effecient?right? -

I have the following multi threading function to apply to parse the difficulty content in the thread from the list of URLs. The code was suggested by a user and I want to know that this is an effective way of implementing me. I am running the code now and am getting errors on all the tasks which managed to fix the single thread. For example, for a list I now use to visit the URL; I was getting 'ArgumentOutRangeException - the capacity was lower than the current size'? / Now everything needs to be synchronized dim startwatch new stopwatch dim elapsedTime long = 0 dim urlCompleteList string as in the form of = String.Empty dim numThread integer = 0 Threadlist new list (thread of) as startwatch.Start () for completeList slow thread = new thread (AddressOf processUrl) thread.Start (link) ThreadList.Add (thread) next to each link) thread list Thread. Join () next to each thread in startwatch.Stop (elapsedTime = startwatch.ElapsedMilliseconds End Sub code here To enter the Pub...

php - How to create a datetime validator in a Zend Framework form? -

डिफ़ॉल्ट रूप से एक ज़ेंड फ्रेमवर्क दिनांक वैधीकरण दिनांक स्वरूप yyyy-MM-dd का उपयोग करता है: $ dateValidator = नया Zend_Validate_Date (); लेकिन मैं घंटे और मिनट सत्यापन जोड़ना चाहता हूं। दूसरे शब्दों में, मैं उपयोगकर्ता को घंटे और मिनट में प्रवेश करने की आवश्यकता करना चाहता हूं। लेकिन निम्नलिखित कार्य नहीं करता है: $ dateValidator = नया Zend_Validate_Date ('yyyy-MM-dd hh: ii'); अगर मैं 2010-02-01 दर्ज करता हूं, तो मुझे यह कहते हुए एक त्रुटि मिलती है कि तिथि प्रारूप में फिट नहीं है अगर मैं 2010-02-01 3 दर्ज करता हूं, तो यह शिकायत नहीं करता है यह क्या कर रहा है यह मान रहा है कि उपयोगकर्ता का अर्थ है 2010-02-01 03:00 लागू करने के बजाय उपयोगकर्ता उस दिनांक में दिए गए प्रारूप में प्रवेश करता है। मैं इसे कैसे लागू कर सकता हूं तिथि को दिए गए प्रारूप में दर्ज किया जाना चाहिए? कृपया देखें: असल में यह नीचे क्या आता है कि प्रारूप मान्यकरण के अधीन कोड सही ढंग से काम नहीं करता है सख़्त वैधता का उपयोग करने के बजाय, यह प्रदान की गई तिथि को वरीयता के लिए जरूरी ...

mysql - accessing database values in javascript -

OK The position we are using is mysql. We have written the questions and have achieved the result of the Assoc array. Now how do we use the results from Javascript. $ query = "Select the first name from the staff; $ result = mysql_query ($ query, $ resource); $ value = mysql_fetch_assoc $;); Remove ($ value); Now be a JavaScript code & lt; script type = "text / javascript" & gt; function a function () {var database field = document .getElementsByName ("firstname") value;} By the way, you must add the first name value to your PHP-generated HTML. Switch to the output can, or you can output it as a hidden INPUT field.

c++ - machine precision and max and min value of a double-precision type -

(1) I have met in many cases where a non-negative variable to guarantee non-negative value in Epislon has been added. So I wonder why not to add the minimum value of the appellan instead of the data type? What are the differences that these two can solve? Apart from this I have seen that the inverse of the maximum value of a double precision type is greater than its minimum value, and its minimum value is inverted inf, its maximum value than its maximum value is its max. And is it useful to calculate the interactive analysis of minimum values? (3) For the very least positive number of double types, to calculate its reciprocal, how small is it when it does not start mutually? Is it better to force upper bounds on reciprocity? How much bound? Thanks and relation You have to understand how floating point numbers are in CPU In the data type displayed, 1 bit is reserved for sign, i.e. this is a positive or negative number, (yes you can have positive and negative 0 in the floati...

c++ - inverse distance weighting interpolation -

I would like to calculate a weight in the mutual form of distance for something. double wgt = 0, wgt_tmp, results = 0; For (int i = 0; i & lt; num; i ++) {wgt_tmp = 1.0 / dist [i]; Wgt + = wgt_tmp; Results + = wgt_tmp * Value [i]; } Result = / wgt; Although the distance may be 0 and I need to make the weight suitable for compression. If only one distance is dist [i] , then 0 , I should have a corresponding value of value [i] dominant . If there are many distances, then 0 for the result, I would like to make their values ​​for contribute evenly , even if dist (i) is not zero, but very small, so I want to check it and make appropriate criteria for dealing with it. How to implement any idea? I do not see any other way than pieces - you get a different distance The simplest thing to do is simply cut off: modified_dist [i] = dist [i] & lt; MIN_DIST? MIN_DIST: dist [i] But if you want to, you can change this with a lack of (MIN_DIST + dist [i]) / 2 ...

java - Feed rendered jsp pages through htmltidy -

I have a Java project running on a glassfish that shows some ugly looking HTML for various internal and external JSP libraries. Its a side effect by using it. I would like to set some types of post-render filters which will feed the final HTML via HTTLDE so that the source is good and clean to help debugging. Is this possible? Is the mechanism designed to perform some actions after rendering JSP in HTML to the server? Can this action get the HTML generated as a string and manipulate it? Is there a few easy implicit options to do this without any additional coding?

.htaccess - Why does my wordpress 404 page appear blank? -

I have created some topics and have seen a 404 page uploaded once on my server. Never appear, they always do their local host setup, and themes work for others too. I do not see any reason for not doing this, I have mod_rewrite enabled for beautiful permalinks, but 404 does not want to redirection work. Is this a known issue? Is this my shy server with Streamline.net? Can anyone help? You can try to install your own error documents in .htaccess, You can override the settings and that point is "Error" or your 404.php in your theme error document 401 http://mydomain.com/error/ ErrorDocument 403 http: // Mydomain.com/error/ ErrorDocument 404 http: // Mydomain.com/error/ ErrorDocument 500 http://mydomain.com/error/ Edit: You have 404 of your subject. You can also make a redirect in the php file (yes, this ugly Need is ..) on your static error page: & lt ;? Php header ("Location: http://mydomain.com/error/"); ? & Gt; If that does not wo...

c# - In what order should we implement Asp.Net Mvc App -

This may be strange question but I just started a new medium size web application using an SP.NET MVC I am goig for it. Every person has his attitude towards solution, but always some practices are followed. BLO (Business Logic Layer + Business Objects) Front End ( Authentication, Testing (Integration) and Other etc ( Parallel unit test starts with BLL) Now I have completed MVC books and tutorials and work on application The database is already in. I am using LinqToSql for the Dal (model). Models , View And Controller . I am confused because all the tutorials have different perspectives. As with some routing starts with the table, some start with the controller component , Then touch the scene, then suggest logic to make changes to the model, "if the controllers While growing, ". Some of the administrators teach to work on the set -> refer to each process in the specification (s) -> model (model). I'm not sure what the ri...

Create a plist iPhone SDK -

I am trying to set up a method that is on a given file path. Plist creates the file, though my current code only works to modify a plast is an easy way to create a plast file? This is the first draft of the method, the last version will be a variable for the course_title. - (zero) writeToPlist {NSString * filePath = [NSString stringWithFormat: @ "% @ / course_title", DOCUMENTS_FOLDER] ; NSMutableDictionary * plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile: filePath]; [PlistDict Set Value: @ "1.1.1" forKey: @ "ProductVersion"]; [PlistDict writeToFile: File path atomic: Yes]; } Thanks for the code goes to an empty dictionary Use NSMutableDictionary * plistDict = [NSMutableDictionary dictionary]; Instead of reading it from the file then you proceed as you did earlier.

jquery - how to prevent users' interaction when waiting for ajax's response -

The scenario is such: I'm using the jacquery to apply some Ajax features. For example: When a user clicks on the "Get Data" button, the jazzery will perform a .jax function to fetch some data from the server. This process can take some time, so I added. Complete work to show some animation for the execendend and .exe waiting process (actually a 'loading data' gif, in which a div of within a jade-index: 999 Inside other divs). During the waiting process ('loading data'), I want to prevent users from clicking other buttons (for example: I have other tabs, small 'loading data' button below GIF). The way I got it: $ ("body"). AjaxSend (function () {$ (this) .append ('& lt; div id = "loading" & gt; Data $ ("div # error" is loading); $ (this). $ (This). Children (). No ('# loading'). CSS ({'opacity': 0.22});}); $ ("body"). AjaxComplete (function () {$ ("div # loading") R...

database - Downgrading DB on Android -

मैंने परीक्षण किया है कि एंड्रॉइड के पास newVersion & lt; पुराने संस्करण से SQLiteOpenHelper.onUpgrade () विधि, यानी। यह एप्लिकेशन को अपने डेटाबेस डाउनग्रेड करना चाहता है मैं इस मामले को संभाल नहीं करना चाहता, हालांकि मैं किसी भी तरह से उपयोगकर्ता को सूचित करना चाहूंगा कि मेरे आवेदन का एक नया संस्करण मौजूद है (जिसे उन्होंने जाहिरा तौर पर पहले स्थापित किया था) और यही वह होना चाहिए का उपयोग कर। कोई भी विचार यह हासिल करने का सबसे अच्छा तरीका क्या होगा? टोस्ट ? अलर्टडायलॉग (लेकिन किस संदर्भ में)? वास्तव में, आप उसे कॉल कर सकते हैं "पुराने" संस्करण से छोटा एक "नया" संस्करण के साथ विधि, लेकिन यह कब कभी नहीं होगा? जब तक आप अपने उपयोगकर्ताओं को मैन्युअल रूप से अपने ऐप को पुनर्स्थापित करने की उम्मीद नहीं करते हैं, तो इसे पहले एपीके के साथ लिखा जा रहा है, कोई ज़रूरत नहीं है इस बारे में सोचने के लिए।

xml - Do XPath on a Node with Java -

I have some nodes and I want to do XPath in this way: XPath Xpath = XPathFactory.newInstance (). NewXPath (); XPathExpression expr = xpath.compile ("// name"); Object result = expr.evaluate (SOMETHING_ELSE, XPathConstants.NODE); How do I change some nodes in SOMETHING_ELSE and can I XPath? what is wrong in object result = expr.evaluate (someNode, XPathConstants.NODE) is; ? XPathExpression takes an object as the first parameter, and you can pass any reference to a node, element, or attribute of your XML document.

jquery question... a way to automatically submit a form and move to the next step? -

Actually, I have a process that is divided into 4 forms (thus, 4 urls), but I Wish the third person completely left I can not really get the code myself because it is a third party provider and not open-source. What I was hoping to do was to use jQuery to automatically fill out and submit the form, For the third stage, and it does so quickly / automatically, the page itself is really ignored ... is there something like this capable of doing? So, here is a simple breakdown of the process ... One step: http://sample.com/step1.aspx & Lt; Input type = "submit" name = "steponesubmit" value = "submit" /> & Lt; / Form & gt; Two steps: http://sample.com/step2.aspx & lt; Form name = "step 2" & gt; & Lt; Input type = "text" name = "steptwo" value = "" /> & Lt; Input type = "submit" name = "steptwosubmit" value = "submit" /> & Lt; / Form & gt; ...

Why does Hibernate query have compile error in IntelliJ? -

मेरे पास हाइबरनेट कोड है: क्वेरी q = session.createQuery ("MyTable से जहां स्थिति =: स्थिति "); यह ठीक है और ठीक काम करता है .. लेकिन IntelliJ में मुझे इस त्रुटि की सूचना मिली: अभिव्यक्ति को हल नहीं कर सकता, प्रतीक 'माइटेबल' को हल नहीं किया जा सकता क्यों IntelliJ शिकायत कर रहा है ?? IntelliJ स्ट्रिंग के अंदर आपकी HQL क्वेरी को मान्य करने का प्रयास कर रहा है। ऐसा करने के लिए इसे अपने हाइबरनेट कॉन्फ़िगरेशन के बारे में जानने के लिए कॉन्फ़िगर किया जाना चाहिए ताकि मैपिंग को मैट करने के लिए मौजूद हो (यह रनटाइम पर करता है, जैसा कि आप जानते हैं - जैसा कि यह कार्यान्वित होता है!)। अपने परियोजना के लिए intelliJ में हाइबरनेट कॉन्फ़िग अनुभाग देखें संभवत: इसे बंद करने का एक तरीका है यदि यह मदद से अधिक बाधा है।

wxpython, dc.GetAsBitmap returns an invalid bitmap -

I'm trying to get a bitmap of the one which draws my DC, but when I change it to the image I am file: c: \ Python 25 \ lib \ site-packages \ wx-2.8-msw-Unicode \ wx \ _gdi.py ", line 618, convertro image return _gdi_.bitmap_ConvertToImage (* Args, ** kwargs) Wx._core.PyAssertionError: C ++ asserttion "bmp.Ok ()" has failed .. \. \ Src \ msw \ dib.cpp (148) wxDIB :: :: () : WxDIB :: Create (): invalid bitmap the attempt to draw another bitmap to the other DC I also remember this when I am doing so, so remember to read about how to store the image of Clintdice in MemoriDisi, then clean the clientand and drag the contents of the memorandum back to it. What is it? bitmap = wx.EmptyBitmap (width, height) memory = Wx.MemoryDC () Memory Selection Object (Bitmap) # Set Pen, Draw Memory. Selection object (wx.NullBitmap) img = wx.ImageFromBitmap (bitmap)

iphone - UITableViewController not redrawing new cell text label after popViewControllerAnimated -

मेरे पास एक समस्याजनक UITableViewController बच्चा दृश्य निकाल दिए जाने के बाद एक अद्यतन सेल को फिर से करने में विफल रहता है। यहाँ क्या हो रहा है बच्चे के दृश्य में डेटा बदलने के बाद, पैरेंट व्यू नियंत्रक स्रोत डेटा एरे पुनः लोड करता है और पोस्ट नोटिफिकेशन के माध्यम से [tableView reloadData] चलाता है ट्रिगर किए जाने के बाद, मैं पेरेंट UITableViewController पर वापस जाने के लिए popViewControllerAnimated का उपयोग करता हूं (यह स्टैक को बंद कर देता है, और नियंत्रक को एक स्तर ऊपर दिखाता है) हालांकि, मेरा अद्यतन डेटा पैरेंट व्यू नियंत्रक में प्रकट नहीं होता है! डीबगर के अनुसार, सेल के लेबल को अपडेट कर दिया गया है, लेकिन दृश्य लेबल बदल नहीं रहा है। हालांकि, अगर मैं तालिका को स्क्रॉल-फ़्लिक करता हूं, तो क्षणभर अपडेट किए गए सेल को देखने के बाहर ले जाता है, जब यह फिर से दिखता है कि लेबल अपडेट हो चुका है! मैं भी [tableview reloadData] के माध्यम से कॉल करने का प्रयास करता हूं viewWillAppear लेकिन यह समस्या अभी भी बनी रहती है। यहां कुछ अतिरिक्त जानकारी है जो मददगार हो सकती है। म...

sql - What will be the benefits of NHibernate in a data retrieval only scenario? -

We have been suggested to use NHibernate for our project. But the issue is that our application is only retrieving data from the database, so in this scenario there are benefits to using NIBNET? One more thing, what is the curio execution plan in NHABnet, such as a prepared statement or so-called pre-compliance statement. I agree with the above answers, but there is another reason to use Nhibernate there : Fully independent of your underlaying database system You can switch from mysql to oracle and change only what you need to do. Access to the database remains the same.

java - WebSockets served by a Servlet Container -

I was putting a look at WebSocket last week and some ideas about implementing server side with Java servlet API Done I did not spend too much time, but during some tests with Tomcat, participated in the following problems, which seems impossible to resolve without the patching of the container or at least the container is making specific modifications to the HTTPPreserveation implementation: WebSocket specification 101 mandates a message defined in HTTP response. HttpServletResponse.setStatus (int code, string message) has been deprecated without mentioning a useful replacement. After changing the default tomcat configuration, I assumed Tomcat as my message string, but since the method has been deprecated, I'm not sure That it will work with other servlet containers. WebSocket specification requires the specified command of some headers in the HTTP response to the connection upgrade request. Servicelet API does not provide a method to specify the order of the header of ...

design - Process flow - Is a flow chart still the best way to diagram it? -

I want to know that people use the initial process for technology, when the initial design phase is quite complex Web application? To be clear, I am talking about the route through a process from users perspective, and this decision is based on fat and conditions. I am not trying to model the underlying processes. Are there still best tool flow charts for this type of object? Maybe UML can be used for this? Is anything better? Can you recommend the best tools to use for your given answer (Windows based preferably). Thanks I want to go with pen and paper, or maybe That's a white board if you're feeling fancy. Elimination of a process flow on a computer is just a pain, as easy as touching a flow diagram on a paper, as long as you have to mess with ViaGio,

python - Rebuilding PIL with FreeType -

First I got a suggestion to install Freitipe dev files and to rebuild PIL again. But I do not know how to do it. Thank you for any help You do it the same way As you did before, but now is installed with FreeType-Dev files.

gridview - Using a session variable in the where clause of a LINQ statement -

Hello all. I select a text box desire for a material and how they look in a radiobutton list page displays data based on a gridview what user. To log in to this page, a session variable is created for MemberID, MemberKey. ContextTypeName = "VDSWeightsReportingService.CompleteWeightsDataContext" EnableInsert: I would like to do so can only be logged into that specific member sees your data LINQ statement this session variable is passed = "right" EnableUpdate = "right" TableName = "tblOnlineReportingCOMPLETEWEIGHTSFINALDEMOs" where = "MaterialText == @MaterialText & amp; amp; & amp; amp; Productpriority & amp; lt; = @Productpriority & amp; Amp; amp; MemberId == @ MemberId "& gt; & Lt; WhereParameters & gt; & Lt; asp: ControlParameter ControlID = "radMaterial" name = "physical text" Property name = "selected value" type = "string" / & gt; & Lt; as...

mapping - How to map single object of type x to array of object of type y using automapper -

मैपर। क्रिएटमैप & lt; ए, बी & gt; () .मेल मेम्बर (dest = & gt; dest.defs, opt = & Gt; opt.MapFrom (मूल = & gt; orig.abc)); जहां def def (def []) मैप कैसे करें? मैपर। क्रिएटमैप & lt; ए, बी & gt; () .मेल मेम्बर (dest = & gt; dest.defs, opt = & gt; opt.MapFrom (origin = & gt; नया [ ] {Origin.abc})); गंतव्य संपत्ति डीईएफ़ की सरणी है और इसलिए कुछ के स्रोत पुन: कुर्सियां ​​सरणी, इस तरह से स्वस्थापक समझता है ... यह काम करता है !!!

hierarchical data - SQL CTE counting childs recursion -

I would like (using whistle) In this way, the children at the original level Number of including their children Is there any sample available? create table t_parent (id INT not primary primary key, parentID INT not null) t_parent value INSERT (4, 2) InsertT_parent VALUES (5, 1) INSERT T_parent Value (6, 5) T-Family values ​​in InsertT_parent VALUES (2, 1) InsertT_parent VALUES (1, 0) in (1, 0) T- Enter into family values ​​(7, 5); As with q (Select ID, select all from t_parent UNIUS, Include q from P. ParentID, t_parent p ON p.id = q.parentID) by selection ID, ID (*) ID by ID

testing - what is mean by development site & customer site? -

In the testing process, the alpha testing is done in the development site and the beta test is carried out in the customer site. Please explain with the example of what "development site" and "customer site" mean. development site is where you are developing yourself. You may be testing on your own server alpha test is a test that is done by the development organization. Customer Site is where the customer will use the system you develop. This test is done on their server. Beta testing is a test that is done by users. They are those who have the ability to use and enable the system. For example, you are doing a program for Acme Corporation. You develop in your offices against the database server that you maintain. This is the development site that you are testing here. Then when you are happy with your test, you can deploy your application on a single corporation server. This allows the customer to have access to your program so they can test. It ...

php - How to show images uploaded by a specific user in Phocagallery - Joomla? -

I am using phocagallery to display images / images on my site and I want to show a link to the user Looking at the way the visitor takes the user to view the album created by a particular user. Currently I have found a way to show the current user's photos and more. But I need a way to see some specific user's pictures Is this possible? If yes then how. Developer responded to my query on my forum:

iPhone Live Video Stream Media Player -

I'm hoping to create an app that shows live videos in the streams that have been labeled and placed on top of its buttons I seeing . From its research and testing of the HTI Video Streaming feature (available since the iPhone 3.0 OS), it seems that you create a webview which indicates the index HTML in which the converting video stream is , And it displays a quicktime video in the app, that means I do not have control over the media player which has been opened. Does anyone know how you can control it? I know that the Movie Player sample code of Apple shows you how ideas are placed on a media player video, but how can this be done with the http live stream? Thank you in advance. Now there is a problem displaying a scene / label of the movie player at the top of the / button apple In the Movie Player sample project, you can add a scene above the video with this code: Movie Player AppDigit * App Delegate = (Movie Player Appendage *) [[UIApplication Shared Applicatio...

sql server - How to separate the string value and create temp to store separate string in temp table -

I am using SQL Server 2005. I have created a table with the column ID and courses . The records are as follows: ID & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Course 1. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Java, ASP.NET, C # 2. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Java; 3. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Java, C # 4. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Html course column type is varchar and values ​​are different from commas. I want to separate every word and store it in another or temporarily. Table The output should be like this: ID & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Course 1. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; Java 2. & nbsp; & Nbsp; & Nbsp; & Nbsp; ASP.NET 3. & nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; & Nbsp; C # 4. ...

c# - Retaining viewstate in textboxes found in a dynamically created table -

My problem is that I have an ASPX page that contains the ASP table: A column in the table contains text boxes, but when I write something on a text box and give a reason for postback, I'm unable to find the value I just entered. And after this the table is not displayed after postback. Can anyone help me? I want to keep table visibility with modified textbox values, so that when I post back to the server, I can stop these new values. To make sure rebuild the text box with the same ID same ID in advance, P> And then you should be able to get the value. For example, if you are using TextChanged events, these will be paused for as long as the text boxes are reproduced every time and there is only one ID.

Help with asp.net mvc select dropdown -

I have a marital status area in my host table, which is not yet the only thing, only to users I want to give four choices (married), single, widow and divorced) and I want to make the right choice when I am editing this form. Is this possible? help please. This will tell you in the right direction: & lt;% Select = (Html.DropDownList ("listName", new string [] {"married", "single", "widow", "divorced"} (m => New SelectListItem () {Selected = Model.MiritStats = = M, text = M, value = m})); & Gt%; Assuming that your model has 'MeritStats' field, selected = model. MeritalStatus == m By default, you will select the status of your model.

iphone - How to Get the Direct Access Index for NSDictionary of NSDictionary -

यहां कोड है: NSMutableDictionary * circuit_step = [NSMutableDictionary dictionary]; NSMutableDictionary * step_info = [NSMutableDictionary शब्दकोश]; [Step_info setObject: @ "खोज" के लिए की: @ "खोज-प्रकार"]; [Step_info setObject: @ "छोटा" forKey: @ "खोज-प्रारूप"]; [Step_info setObject: @Key के लिए "सर्दियों": @ "खोज-मौसम"]; [Step_info setObject: @ "पेड़" के लिए की: @ "खोज-स्थान"]; ** [सर्किट_स्टेप सेट ऑब्जेक्ट: सर्किट_स्टेप फॉरके: @ "01"]; ** [step_info setObject: @ "खोज" के लिए की: @ "सर्च-टाइप"]; [Step_info setObject: @ "सूक्ष्म" forKey: @ "खोज-प्रारूप"]; [Step_info setObject: @Key के लिए "गर्मी" @: @ "खोज-मौसम"]; [Step_info setObject: @ "झील द्वारा" के लिए: @ "खोज-स्थान"]; ** [circuit_step setObject: circuit_step forKey: @ "02"]; ** क्या शब्दकोश circuit_step कुंजी "01" पर एक सीधी पहुँच ...

WPF ListBox of Buttons: how to change selected item on click with XAML -

मेरे पास templated ListBox : & lt; ListBox ग्रिड। रोल = "0" ग्रिड। कॉलम = "1" पृष्ठभूमि = "पारदर्शी" बॉर्डरटिचनेस = "0" x: नाम = "मुख्य मेनू" आइटम स्रोत = "{बाध्यकारी स्रोत = {x: स्थैतिक स्थानीय: मेनू कॉन्फ़िफ.मुख्यमेनू}, मोड = वनटाइम} "आईएसआईसीननाइज्ड विथ कंटेंटआईटीम =" ट्रू "& gt; & LT; ListBox.ItemContainerStyle & gt; & Lt; शैली TargetType = "ListBoxItem" & gt; & Lt; इवेंटसैटर इवेंट = "पूर्वावलोकनसामाज़" हैंडलर = "चयनकूर्तइटम" / & gt; & Lt; / शैली & gt; & LT; /ListBox.ItemContainerStyle> & LT; ListBox.ItemsPanel & gt; & LT; ItemsPanelTemplate & gt; & Lt; स्टैकपैनेल ओरिएंटेशन = "क्षैतिज" & gt; & lt; / स्टैकपैनेल & gt; & Lt; / ItemsPanelTemplate & gt; & LT; /ListBox.ItemsPanel> & LT; ListBox.ItemTemplate & gt; & LT; DataTemplate & gt; & LT; बटन & gt; ...

Document viewer control? -

We are creating a custom document management application for which the user can quickly create a format through various documents Requires image files, .doc, .docx, .xls, .xlsx, .ppt, .rtf, .pdf). Is there any control that can handle this problem? If not, what approach would we recommend to you? Due to licensing concerns, we will not use any MS products (for example, embedded office audiences). There are many, yet, you should also go to them as a license. is one of the most popular options. The outside technology is a software development kit (SDK) that enables viewing, printing and copy / paste functionality of nearly 500 file formats, including an annotation API, to the developer Allows the highlighted, hidden, or inserted underlying native files without any document view. It is useful for solutions that can benefit from desktop viewing functionality. Include sample applications with source code

Are there any algorithms for removing lighting from a video? -

Are there any algorithms for removing light from the video? I have a video in which some objects are very great. How can I light out the objects without corrupting the whole thing? I doubt that the straight forward approach will be something like this: Select the pixels converted into each frame in HSL, which shine above a certain limit, those areas that are "large" extend those areas or soften them areas (soft mask, gaussian stigma ) Asserting the original image for that area, either the image on the back layer / original> original image

c# - Expand/collapse folders in the Outlook navigation pane programmatically -

I am writing to add-in for Outlook using C #. Is Outlook 2007 folders a way to expand and collapse the program in the navigation pane? Also, is an event removed when a folder is expanded? Outlook does not expose incidents that you may want to expand or collapse folders in the previewview. You can do this using the API.

Passing an object-string to a javascript-function -

I am trying to pass a string like this: {" Key ": undefined," key4 ": Undefined," key4 ": Undefined," key5 ":" value "} A JavaScript- Functions like: & lt; A href = "#" onClick = "myfunction (myString);" & Gt; But the right to escape can not be found. Is there a way to pass that object string to a function or do I need to change something? Greetings, selection 0 r edit: In the light of your recent comment, I went back to the browser and tried it (works for me): The change means that it is no longer being passed as a string, but in the form of an object parameter for my function.

mod rewrite - Zend MVC - htaccess redirect -

Text after " All, my Zend Framework application structure is like this: billingsystem - application -design --css --struct.css --icons --styles --images --js --common --thirdparty -public --index.php -. Htaccess -library - Zend My ApacheVehost is like this: & lt; VirtualHost *: 80 & gt; ServerAdmin webmaster@billingsystem.localhost DocumentRoot / opt / lampp / htdocs / XAMPP / billingsystem server name billingsystem errorlog log / billingsystem.localhost-error.log CustomLog log / billingsystem.localhost-access.logMemory & lt; Directory / opt / lampp / htdocs / XAMPP / billingsystem & gt; Follow Optional OptionsSend timeCancel all orders, Allow all to deny 127.0.0.1 from & lt; / Directory & gt; & Lt; / VirtualHost & gt; My .htaccess in the public folder is like this: # leading% {DOCUMENT_ROOT} is required on RewriteEngine when the VirtualHost reference is used in RewriteCond% {DOCUMENT_ROOT}% {REQUEST_FILENAME} -s [OR] rewrite code...

ruby on rails - Beginner's question on has_and_belongs_to_many -

मेरे मॉडल ऐसा कुछ दिखते हैं: अनुभाग has_and_belongs_to_many: ब्लॉग ब्लॉग has_and_belongs_to_many: sections has_many: posts पोस्ट संबंधित_to: ब्लॉग मैं एक निश्चित अनुभाग के ब्लॉग से सभी पोस्ट प्राप्त कर सकता हूं: section.blogs [n] .posts मेरा सवाल यह है कि कैसे एक अनुभाग से जुड़े सभी पदों (एक ब्लॉग के माध्यम से) पाने के लिए? मैं और ई जैसे कुछ: section.blogs.posts या घटना मीठा होगा: section.posts धन्यवाद! आप ऐसा कुछ करना चाहते हैं: अनुभाग है_और_बेलॉग्स_टो_माइं: ब्लॉग है_माध्यम: पद,: के माध्यम से = & gt; : ब्लॉग्स मैं वाकई निश्चित नहीं हूं कि वाक्यविन्यास बिल्कुल सही है, लेकिन विशेषता के माध्यम से आप क्या चाहते हैं।

windows - SVN diff flagging all lines of code as new when PC programmer updates file recently committed by Mac Programmer -

In this scenario, I am currently running: Programmer A (using Mac Version of Dreamweaver) edits client.php file and creates that file in the production section of Project FU repository Programmer B (using the Windows version of Dreamweaver) contains a bug in it Fix file to file client.php file After that, he takes the cp clientInfo.php ../prod-branch/clientInfo.php to move the production branch from copying his work. Programmer B. To see if any change is made by SNB, SVN says that it has changed every line in the file! Now, this is what I believe: When the file is edited by Mac, then the DreamWire on Mac can be used for new Mac characters Together all windows change new characters so that it is readable in Dreamweaver. In short, Dreamweaver has changed every line in the file. Now, once committed, svn sees that the every line of the file has changed and marks the fact below. When Windows programmers make changes and new characters change again, SVN thinks that, then,...

authorization - Twitter OAuth for Iphone apps, twitbird -

I'm thinking that someone has an idea how twitbird developers allow the user to authorize their app Used to give? (They say that they used Oyeuth) When I was trying their app, they used the username and password without redirecting to Twitter. I searched for a solution and there is no clear answer, as far as I know that oath does not allow third party applications to use the user's password. Thank you in advance In Twitter, there is a new tool called xAuth, it's your username and password Takes and exchanges once for Oath Access tokens, which is used for normal oath .

php - problem in showing 3 images in a row -

O people, I know this is a stupid question but I hung it in the resolve I code gt; sql_fetchrow ($ catinfo)) {echo '& lt; Td> & Lt; Ul id = "three-party" class = "press" & gt; & Lt; Li & gt; & Lt; Div class = "post-content" & gt; & Lt; One square = "zoom 1" href = "'. $ Galsettings [setImgDir].' / '. $ Cat [galCatLocation].' / '. $ Cat [galactic img].' & Gt; & lt; img src = "'. $ Galsettings [setImgDir]. ' / '. $ Cat [galCatLocation]. ' / '. $ Cat [Galactic IMG]. '"Alt =" Artistry (via PowerBook Parenren) "& gt; & lt; / a & gt; & lt; / div & gt;'; ($ I = 0; $ i & gt; ; 2; $ i ++) for {resonant "& lt; / Tr & gt; & Lt; Tr & gt; "}}} echo" & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Td> & Lt; / Tr & gt; & Lt; / Table> "; ...

gwt mvp - Some GWT MVP newbie questions -

I worked with ASP.Net (C #, Classic / MVC), Zengo (Python) and CI (PHP) But I'm totally new to GWT and JSP / servlets, and I've been asked to learn GWT MVP. Therefore, I read a tutorial from Google for GWT-MVP. I downloaded the project contact , which was used in that tutorial. After reading them, I could not understand the whole thing. These are my questions (I have Eclipse-Gallileo and Gwyleti Plugin / SDK installed): The translatable code specified as contacts, contacts.gwt.xml file What's in Javascript should be translated into code? what else? Which source tag should I include in it? How are path (attribute) mapped? I've found only one static HTML file in the War folder (contacts.html). It has the same name as the name of the project (in the case of the same letter). Is it necessary / rule? How do rootpayell know, which will wrap the html file? Is this the configuration? If so, then where? If I have multiple HTML files, how will I tell Root...

.net - How does WF hosted as WCF in IIS 6 resume after delay? -

What is hosted as WCF (.NET 3.5) in IIS 6 after the delay activity is persisted for SqlWorkflowPersistenceService is? And if so, what type of thread is being used (a background thread from ASP.Net Worker thread or IIS?) .NET code does not use "one thread from IIS 6", it is always an ASP.NET worker thread. There are two similarities in IIS 7.

sql server - Instead Of Triggers on Views - What's the Use Case? -

Our production database is 5-7 years old, and during this time, schema modifications are created in the hands of many people. . I've just discovered some of our ideas instead of triggering. I did not even know that this was possible. For those of you who have used ideas instead of triggers, what were you trying to solve? Thank you very much.

cocoa touch - Very odd iPhone - Server problem -

Basically I am sending data from an iPhone app to the Java Socket server, although something strange is not obtained Data until the iPhone application closes! I'm sure I'm missing something but I'm unable to find it, it's pretty weird. Here's how my connection is made: - (CFSocketRef) initSocket {CFSocketContext reference = {.version = 0, .info = self, .retain = NULL, .release = NULL, .copyDescription = NULL}; SOCKETI = CFOSCRECT (KCFLocator default, PFNATET, SOCACRM, IPPRTOOPCP, KCFSXDataCalac ^ KCFSC ConnectCactclubback, Socket Callback, and Present); Uint16_t Port = 4444; Struct sockaddr_in addr4; Membrane (& amp; addr4, 0, size (addr4)); Addr4.sin_family = AF_INET; Addr4.sin_len = sizeof (ADR4); Addr4.sin_port = htons (port); Const char * ipaddress = "192.168.1.5"; Inet_aton (ipaddress, & amp; addr4.sin_addr); NSDTA * Address = [NSDTATA DataWithbites: End Ender 4 Length: Psychophag (ADR4)]; CFSocketError Error = CFSocketConnectToAddres...

Passing arrays in ajax call using jQuery 1.4 -

The following code works for me using jQuery 1.2.6 but causes a broker error in 1.4. var item = new array (); Items [0] = "item 1"; Items [1] = "item 2"; Item [2] = "item 3"; Var dataToSend = {'_service': myService, '_program': my program, 'selection': item}; $ .AJX ({type: "post", url: myleal, data type: "text", data: datatused, success: function (request) {$ ('# result'). Html (request);} // Success }); // Last AZ method I get the error of the broker indicating what is being passed in the selection 'Selection []' Error: How to manage the jQuery array in an Ajax call? (Invalid character "[" field name "selection []"). it was done? Or was this the wrong way to pass the array? Any help would be appreciated. EDIT: With the "traditional" setting, the response from @JennaMa solved my problem. You can handle jQuery like the previous version. Here are som...

iphone - How to mix "Custom Section Header View(s)" and "Regular Header(s)" in a UITableViewController? -

Imagine a table ("Style Grouped") with multiple sections: There should be a few buttons between "regular section". Intensely, to define a section title, I use: (NSString *) tableview: (UITableView *) table view title ForHeaderInSection: (NSInteger) section To simulate more buttons, I create through custom UIViews: (UIView *) Table view: (UITableView *) The table view viewForHeaderInSection: (NSInteger) section The problem is that from the time you can start using viewForHeaderInSection , then titleForHeaderInSection working Does not stop ... This is understandable in some way because now we want to provide custom header view. The only problem is that there is no way to access the original UIView used to present "regular headers titles" by UIKit ... The world is not ending (i.e. UILBable and UIKit Look and feel), but I'm just wondering if I'm missing something (?) It seems that the heading of ViewForHeaderInSection ...

c# - Convert DateTime to yyyyMMdd int -

is the fastest way to convert a dated time to an integer of yyyyMMdd format. i.e. 01-Jan 2007 -> 20070101 (in int)? int x = date Year * 10000 + date Death * 100 + date Date

magento - Update left column for certain Category/how to set Category Id in layout file -

I want a block that displays slideshow on the left for some class. I found a slideshow block display in all the pages by referencing the left column in the layout file, although the slideshow is shown in only a few categories on the left (id 225) My Solution Road Map has so far Is: 1. Re-write the special category URL in my specific module / controller / action (test / index / index). 2. Layout file in test / index / index test.xml I want to override list header handle catalog_category_default (I found it by using Alan storm layout scenes) which will update the left column with my new slide show block. How does this look like my test.xml file This is giving me the following error: Critical Error: Call a member function getMetaTitle () By the error I have concluded that the handle is overheaded, but the category id is missing in I / O / I / I / I / because the line is 43: if ($ Title = $ this-> getCurrentCategory () -> getMetaTitle ()) { As you see, I have tried ...