Posts

Showing posts from August, 2014

What IDEs are available for R in Linux? -

What are the best IDEs for R in Linux? I have tried RCMDR and Eclipse, but there is no similarity to Tin-R in Windows. Are there any other options? In this scenario a newcomer, which looks very promising IMO - and below Buller - Relative to other existing IDEs such as Rutle and JGR, . It's free software, cross-platform, looks very polished, and even has features like automatic refacturing. Update 2012-04-12 : I'm a little bit on this one of our DB servers, and I like that it's a web app that saves your sessions, somewhere And starts again from Plotting requires not only X tunneling or PNG-writing but it is easy to use in comparison with out-of-the-box R. Getting up and running is very easy, and it comes with packages for Debian / Ubuntu (which I use). / P> The company / development is running very fast, aiming for the real standard IDE for all R users. If I am deep, then perhaps it is possible because after a long period of use of IDBI, I am surprised b...

doctrine - SQL How do i query a many to many relationship -

If there are many relationships between my posts and tags, how do I choose posts with a special tag? Update: The problem I have is that where tag.name = 'xxx' , only that tag is selected. All I want is to select all the posts, whose tags are specified, TGT with all their tags, like 1 post - & gt; Tag 1, Tag2 post 2 - & gt; Tag 1, tag3 post 3 - & gt; Tag 2, Tag 3 What do I currently get post 1 - & gt; Tag 2 // missing tag 1 post3 - & gt; TagSag Tag 3 Believing these tables: Post Tag: ID, name Post tag: post_id, tag_ id The last table is usually job table and facilitates many-to-many relationships between posts and tags. SELECT p = Pt.post_id pt.tag_id = t.id add tags. Name = 'SQL' In fact, think of multiple relationships as two-to-one relationships-no relationships, because they are commonly implemented in normal RDBMS gone. The above query breaks the post from the post-tag and includes one-to-many in the post...

c# - How to select a distinct list of elements contained in another list? -

मेरे पास निम्न कोड है नया शब्दकोश & lt; स्ट्रिंग, IEnumerable & lt; नियंत्रण & gt; & gt; (), {"दृश्य 1", नया नियंत्रण [] {सामग्री, भवन, दृश्य 1}}, {"दृश्य 2", नया नियंत्रण [] {सामग्री, दृश्य 2}}, {"दृश्य 3", नया नियंत्रण [] {इमारत, दृश्य 3 }} मैं linq का उपयोग करके सभी विशिष्ट नियंत्रणों की एक सूची कैसे प्राप्त करूं? परिणाम होना चाहिए: { सामग्री, बिल्डिंग, व्यू 2, व्यू 3} ऐसा कुछ: var अलग = शब्दकोष। मूल्य। चयन बहु (x = & gt; x)। निस्संदेह (); मैंने इस जवाब को रखने का फैसला किया है, हालांकि मार्क के बराबर होने के बावजूद - दोनों तरीकों को देखने के लिए यह शिक्षाप्रद है मेरे दृष्टिकोण में हम मानों का अनुक्रम लेते हैं- जिनमें से प्रत्येक एक IEnumerable & lt; नियंत्रण & gt; है और यह कहकर समतल है, "प्रत्येक मान के लिए, हम एक IEnumerable & lt; control & gt; / कोड> बस उस vaule को लेकर। " मार्क के दृष्टिकोण कुंजी / मान युग्म के अनुक्रम को लेता है और कहता है कि" प्रत्येक जोड़ी के लि...

c# - How can I implement a label file for regions that integrates well with MVC application structure? -

Background: I am working on a site that is available In many areas each region can have a different language, or may be spelled differently for the same language. We are planning to use an XML label file that will contain all the text that will be displayed for a given area. Then Area A Regional Balls. Will load Xml and all its text will come from it. RegionB regionBLabels.xml will load, and similarly. I plan to implement it by configuring the XML file so that it follows the same structure as my application. For example, & lt; Base & gt; & Lt; -! BaseController - & gt; & Lt; Home & gt; & Lt; -! HomeController - & gt; & Lt; HomePartial1 & gt; & Lt; LblFirstName & gt; The text for label with id lblFirstName & lt; / LblFirstName & gt; & Lt; LblLastName & gt; The text for label with id lblLastName & lt; / LblLastName & gt; & Lt; / HomePartial1 & gt; & Lt; HomePartial2 & gt; & Lt ;! - ...

iphone - plist data to a second view -

I have a view (text type) and a view shows a text view and label. I have got data from the same record in plist though it is the first opinion that links to a different view and want to have an info UIButton on some data displays from the same plist. I have all the work, but I am not able to pass that data in another view. Any sign / assistance is highly appreciated, Thanks you can open the same plast in the next scene and read the data in the same way: NSString * path = [[NSBundle main bundle] bundle path]; NSString * Lastpath = [Path Stringbacking Padding Contract: @ "Info.plist"]; NSDictionary * plistData = [[NSDictionary dictionary: true contentoff: lastpath] has been maintained;); You can create a singleton accessor class for your dictionary, and both view requests to gain access to the same data. Or if you create your thoughts program, you can create only one setter in your new view controller and you can pass a reference to your dictionary from...

c# - Nicer way of parameter checking? -

With C # 3.0, we use the .NET 2.0 framework (I think this is the last version of C # that can run on 2.0 version. correct me if I'm wrong). Is there something created in C # that makes this type of parameter validation more convenient? Public connection settings (string url, string username, string password, ball check permissions) {if (username == faucet) {new permutation fee exception ("username"); } If (password == faucet) {new argument (NullException) ("password"); } If (string.isnllquite (url)) {new logic expansion ("should not be empty or empty, it was" + (url == blank url: "blank"), "url"); } This.url = url; This.username = Username; This.password = password; This.checkPermissions = check chapter; } Such parameter verification becomes a normal pattern and many "almost boilerplate" codes are dropped into our public ways. If nothing has been made. Is there any great free library that we can use? I u...

gdb - Change the working directory in Xcode -

I have been able to run in Xcode using my C ++ project CMK-G Xcode. Now I would like to debug it, because it brings it back to good GDB. Although I need to change the working directory where GDB is executed otherwise it does not work (it needs to read some data from the files relative to the path of the working directory) GDB has created CD work_dir Type typing it off and then typing it manually manually. It works, but the Xcode will continuously complain and this is also not an elegant solution. Then somewhere in the build settings I should be able to set the work directory .. But where ?! itemprop = "text"> Get "Get Info" on the executable in the xcode and look at the first tab - a setting for the directory working there

c# - How ReferenceEquals can understand references belong same object? -

I'm just curious backgrounds of some sections and methods. In the net, I just wonder how ReferenceEquals Method how to understand 2 references Can the same thing or not? Because 'single object' means 'one place in memory' and operation is only a reference Can check the value of 'address'. , but then you never need to.

c# - Is this too ... hacky? Xml to an object -

I am playing with my favorite thing, xml (please have me kill me) and the last goal is to save it Use more data in the house in another way (this is an export from other systems). I have found that works, but Meh, I think it can be much better. public state (idle element) {id = element.gate alimentbinnam ("id"); Title = element.GetElementByName ("title"); } I'm thinking of making it even more automated (Hami) represents data by adding data annotation to represent XML element, for example something like this. [XmlElement ("id")] public string id {get; Set; } [XmlElement ("title")] public string title {get; Set; } Then there is some reflection / mapper code to write but it seems both ways ... dirty should I take care of? Is there a better way? Probably deserialize is the right approach? I just feel like there is a mo bettaah way to do this. You can use the square and to control the serialization and disassembly of objects, ...

.net - What exactly is OData? -

To start learning this new concept, implementing the data service, and how important is otta really and essential? In addition to why WCF data services documentation is so tightly attached to the ODTA? EDIT: Based on the answer here is a follow-up question - I should not try to apply the WCF data services without audacity, or I can do this, but this means it is difficult (To answer the first question, Odata (or Open Data Protocol) is evolution. For WHAT, OData, in short, enabling data presentations, interrogation, optional formatting (JSON) etc. There is a set of nos. Here are the good resources to get you started:

asp.net mvc 2 - Telerik MVC: Generic Grid -

I'm wondering if I can prepare a general way to design a Taylor MVC grid. Example: The model is a list of fielddesigner. The name of a field descriptor, a value and a type. In this way I want to show the grid columns according to the data in the model - it depends on which fields come and what their type is. But the Taylor MVC grid knows only to create a column, if you clearly see a model property. I found a blog that told me what you think you are asking. When you do not know that the dynamic data will be displayed when the column runs until it's run. You can loop through the columns in the model to create a grid, then you can use AJAX to get the data. / P> Here's the link . Column (column = column = column = column = column = & gt; {foreach (System.Data.DataColumn column in Model.Column) {columns.Bound (column.DataType, column.ColumnName);}})

c# - Configure and expose a singleton to all modules in a MEF/PRISM application -

I have an application (only one test) which uses MEF and PISM. It is quite easy to export some exports that correspond to specific interfaces and load them to the manufacturer of the module being loaded, but I am trying to do something different. The application starts, when it imports an implementation of IControllerClient. The built-in example needs to be configured (for example by shell) after which each module should be used in the application. I do not want any public property on Shell or some supportive class that exposes this example, as possibly a bad practice ... and I really do not like it. Update: Returning the question given below We have several interfaces defined in an existing framework, mango They are loaded in various applications using MEF. I used to be able to load them into a glasses application, for example: [ImportingConstructorAttribute ()] Public HelloWorldView (IDataTransportService dataTransportService, IMessageFactory messageFactory, ID...

SSMS 2008 modify stored procedure refreshes Object Explorer -

I am using Microsoft SSMS (SQL Server Management Studio) 2008. When I have an object explorer and browse programmability> stored procedure folder. If you right-click on a stored proc and click Modify it opens the proc stored in a new window. But then when you go back to the object explorer, it has now been refreshed and it shows the root folder of the database that I am doing (it was not on the stored process folder). If you right-click on the stored proc and click the script> Structured Process as> New Query Window, it does not appear to do so Object Explorer stays on the same stored procedure folder. Is there a way to refresh the revised collection process in Object Explorer? I do not remember that this is happening in SSMS 2005.

osx - Script to logout user and perform background task -

I am trying to find a way when a user logs in to the system automatically to log off and A background script does Specifically, I'll need to delete the local user account but keep the home folder in place. It will need to be done only once, but I am not sure about the best approach. The purpose of logging is to use the account which is to be used once, however, as long as they are logged into the account, Can not remove. All systems are Mac OS X 10.5.8 or 10.6. You can get it by using the .bash_logout script. From Bash's manual page: When the login shell extends, it reads and executes the file with ~ / .bash_logout, if it exists.

java - How to access javax.faces.PROJECT_STAGE from the view/inside code? -

[मेरा सेटअप: जावा ईई 6 आवेदन, ईजेबी 3.1, सीडीआई / वेल्ड, जेएसएफ 2, ग्लासफ़िश 3.0.1 पर चल रहा है) मैं सिर्फ फीस प्रोजेक्ट स्ट्रेज पर पढ़ता हूं, जो एक अच्छी बात है इसलिए मैंने इसे मेरी वेब। एक्सएमएल में इसे डिज़ाइन करने के लिए कॉन्फ़िगर किया है: & lt; context-param & gt; & LT; परम-नाम & gt; javax.faces.PROJECT_STAGE & lt; / परम-नाम & gt; & LT; परम-मूल्य & gt; विकास & lt; / परम-मूल्य & gt; & Lt; / संदर्भ param & gt; अब मैं JSF दृश्य से प्रोजेक्ट स्टैज का उपयोग करना चाहता हूं (तदनुसार विशिष्ट UI घटकों की दृश्यता सेट करना)। इसलिए मैंने पहले से ही एक आउटपुट टेक्स्ट मान # {javax.application.projectStage} , जो रिक्त लगता है, और मैंने भी कई अन्य रूपों की कोशिश की, बिना सफलता के। मैं भी जावा कोड के भीतर से ProjectStage का उपयोग करने के लिए प्रबंधित नहीं है (फिर मैं एक बीन के साथ खुद को बेनकाब कर सकता हूं)। मैं अपने आवेदन के अंदर PROJECT_STAGE मान कैसे प्राप्त कर सकता हूं? समझे। दृश्य से, इसे यहां तक ​​पहुंचा जा सकता है: ...

ruby on rails - Relationship like Twitter followers/followed in ActiveRecord -

I am trying to represent a connection between the users present in my application where the user can have many followers And other users can follow. I would like to do something like user.followers () and user.followed_by (). Can you please tell me in details how does it represent to use ActiveRecord? Thank you. You need two models, one person and follow up Rail Model Build Person's Name: String Rail Model produces person_itin: integer follower_id: integer blocking: boolean and the following code in the model class Person and lieutenant; ActiveRecord :: Base has_many: followers ,: class_name = & gt; 'Follow-up',: foreign_key = & gt; 'Person_id' has_many: Following,: class_name = & gt; 'Follow-up',: foreign_key = & gt; 'Follower_id' termination and consistent in the follow up class that you write class follow-up You can clear the name of your choice (I especially do not like the follow-up code) - but you s...

javascript - Presentational js vs. functional js: Separate them? General architecture? -

This is a common type of question Many times, I have to type javascript for the web page. Keeping in mind the best practices, Vineet JS etc. I have my javascript in different * .js files. I found my JS file for each page. What was bothering me lately, this is a mix of current code with functional code that I always end up with. Therefore, for example, I will provide an .click handler to an element. On that click the element should change its appearance and make an AJMX call on the server. So, now, I want to put both of these inside the .click handler. It can be heavy depending on what is required to fulfill it when I come back after touching these blocks for a week, I think that when I only need to see some things, then I think it takes too much time through all the codes. > Anyway, any ideas on architecture / design for presentational js versus functional JS ? Put them in a file, but break into different functions? Break them into 2 separate files? leave them alone? ...

sql - How to separate this field into two columns -

I have found a simple problem to solve, which would normally be quite simple. I have a field that contains a DateTime part, as well as a trailing part. Now I need to split this field into two discrete areas - date time and worker. Now to capture a bit of the data, the data has been saved with two different date formats, which results in 'very' like this: revision --------- ----- --------------------------------------------- ----- ----- 30/07/2010 11:39:55: Change of booking status on cancellation option 5/5/2010 10: 1: 8: new As you can see, the dates are in two completely different formats. I would like to see it somehow like: dateofnote | pay attention ------------------------------------------------ - --------------------- 30/07/2010 11:39:55 | Change of booking status on cancellation option 05/05/2010 10:01:08 | = "text"> Easily? Yes, if we can do some assumptions, if this is the case that there is no colon in the text, then you can: declare ...

c# - Where are order IDs allocated? -

Sorry for the simple question; I am still working on understanding the DDD. Let's say I have a IOrderService . Is this the place where I will have a method GetNewOrderID ? Or, I think more generally, what is the correct way to allocate new orders in the DDD scenario? I like to hear words that use business. If they talk, for example, when ordering orders and phone orders are the source of both orders, I may have to order from an order rather than an OrderSitterSer or IOrderSource - instead of the previous business-speaking code-speaks If business people talk about obtaining an ID from their service, then I can have two implementations or only one, who uses the identifier to say "this is from the phone". So yes, do this, it is likely to be more, though they talk about getting an order from order sensor, sending it to the warehouse or forming an order form and getting the reference number. Can be the primary key from, but maybe this is not an ID. The language...

c# - Using ManagedInstallerClass.InstallHelper to install multiple services -

मैं वर्तमान में ManagedInstallerClass.InstallHelper का उपयोग कर एकाधिक सेवाओं को स्थापित करने का प्रयास कर रहा हूं। जब मैं पहली सेवा स्थापित करता हूं, तो कोड निष्पादन आसानी से हो जाता है, फिर एक त्रुटि बताती है कि एक ही नाम वाली सेवा पहले से मौजूद है। हालांकि, अगर मैं प्रोग्राम से बाहर निकलता हूं तो दूसरी सेवा से शुरू होने वाली एक ही प्रक्रिया को निष्पादित करता हूं, सबकुछ ठीक हो जाता है। मैं जो फ़ंक्शन उपयोग करता हूं वह यह है। ManagedInstallerClass.InstallHelper (arguments.ToArray ()); मैं 100% यकीन है कि तर्क सही हैं। अपवाद मेरे पास यह है: System.InvalidOperationException : "स्थापना विफल रही, और रोलबैक किया गया है।" आंतरिक अपवाद: "निर्दिष्ट सेवा पहले से ही मौजूद है" मेरी आंत की भावना यह है कि ManagedInstallerClass उसके पेट में कुछ रखता है और इसी प्रकार दूसरी प्रक्रिया को उसी प्रक्रिया में निष्पादित करते समय कुछ गलत हो जाता है। बहुत सारे परीक्षण के बाद, मैं अब भी इस समस्या को प्रबंधित इंस्टालर क्लास के साथ हल नहीं कर पा रहा था। मुझे ...

c# - StringLengthAttribute and Localized text -

निम्न कोड को एमएसडीएन से पकड़ा गया था: [मेटाडाटा टाइप (टाइपफ (उत्पाद मैटाडेटा)) ] सार्वजनिक आंशिक श्रेणी के उत्पाद {} सार्वजनिक वर्ग उत्पादमाताडेटा {[ScaffoldColumn (सच)] [स्ट्रिंग लैंग (4, त्रुटि संदेश = "थंबनेलफोटोफ़ाइलनाम का मान 4 वर्णों से अधिक नहीं हो सकता।")] सार्वजनिक वस्तु थंबनेलफोटोफ़ाइलनाम; } मैं त्रुटि संदेश के लिए टेक्स्ट को स्थानीयकृत (उदाहरण: संसाधन फ़ाइल से) कैसे लागू कर सकता हूं? अपनी संसाधन फ़ाइल को संदर्भित करने के लिए प्रॉपर्टी का उपयोग करें, और संपत्ति उस संसाधन फ़ाइल के भीतर स्ट्रिंग के नाम को संदर्भित करने के लिए। उदाहरण के लिए: [स्ट्रिंग लैंगिथ (4, एररमेस्सआरससोर्स टाइप = टाइपफ (आपकी आरएसओएसओफ़ाइलहायर), एररमेस्सेआरससोर्सएनम = "नेमऑफस्टरींगइरससोर्सफ़ाइल")] आप यह भी देख सकते हैं कि क्या आप अधिक उदाहरणों की आवश्यकता है

php - Control different access levels -

I am planning to use two tables (i.e. guest and staff), to control which User is available. The estimate can sign up for an account, while the employee can not have an employee's account entrusted with only one system administrator. The question I have received here is: Assume UserA is an employee and has a login username and password as 'password'. Now, an estimate comes on the website and as a password applies to a username with 'login001' and 'password'. Then User B can access method: Method one: whenever a user name is applied (does not matter or Employee), both the table estimates and the employee should check to ensure that there is no duplicate. Method Two: However, for the estimation, user_type can be assigned as GUEST and employee, user-type can be assigned as an employee. I do not know if the methods of the above version mean or not, if there is no good solution, please give me some direction so that I can do some good practic...

MySQL with C#, from a PHP Developer's Standpoint -

I understand that with PHP I can use mysql_query ($ sql); And mysql_fetch_array ($ result); Get some MySQL data and keep it in an array. How is it achieved in C #, where I can say, keep my data in the datagrid? This is probably the most specific ADO.NET code for filling the DataGrade Using: DataTable results = new DataTable (); (MySqlConnection conn = new MySqlConnection (connString)) (MySqlCommand command = new MySqlCommand (sqlQuery, conn)) {MySqlDataAdapter adapter = new MySqlDataAdapter (command); Conn.Open (); Adapter.Fill (result); }} SomeDataGrid.DataSource = Results; SomeDataGrid.DataBind ();

iframe - Adobe Air parent frame bridge -

I tried to follow the tutorial, but it just can not get it right. I have an app with a IFrame dynamically loading it in the iframe, there are pages of the website. To ensure a link to these pages in the native client browser, it is necessary to call a function in parent to launch the IFrame content as desired in the link. Therefore the children need to call the iFrame to the following function: Parent: Function OpenBrainer (URL) {air.navigateToURL (New Air. URLRequest (url)); } Greg. OK, I think the work of good old reading instructions! Although the above page is not there, but a link from that page ...; ( I followed the tutorial: And it worked very well! Greg.

php - How to construct the query -

I am confused about creating a query. I am implementing the search feature in a restaurant site. The user first searches for the area that he is searching for the restaurant and then he selects food types like Chinese, Japanese, Thai from the checkboxes. After selecting all these, the restaurants which provide selected food in the selected area will be displayed. I am creating two tables with the following fields; Restaurant_dp table PIN ID - ID restaurant_ iw table id - menu of restaurant menu - menu offers restaurants My confusion status can be obtained from both tables: podcast = user select pinch menu = userchurch menu plaz Any help would be appreciated select DISTINCT dp.id from Restaurant_ DP DP INNER JOIN restaurant_iw iw ON dp.id = iw.id WHERE dp.pcode = $ pcode and iw.menu = $ menu

Pattern Matching, F# vs Erlang -

In ERP, you are encouraged to not match the patterns that do not actually handle you. For example: Case (1st episode RIM 10) - & gt; {OK, 10} 9 - & gt; {OK, 25} end; There is a style that is encouraged, with the other possible result, the result is a "badmatch" result, in accordance with the philosophy of "crashing" in Erlang is. On the other hand, F # will issue an "incomplete pattern matching" in the same F # code, such as. Question: Why not F # warning effectively, each pattern . _ - & gt; Failed with "Badmatch" and what to "allow crash"? Edit : Two interesting answers so far: either to avoid the bug that probably does not handle all cases of algebraic datatype; Or because of the net platform. What is the default behavior in OCMM, if there is a way to check OSM? Edit : To delete the wrong people The issue of Erlang Darshan is bad code which is not always to cause accidents. This means the acciden...

database - Preferred syntax for adding SQL SUMs together -

To say that I want to return the total sales, Unit Pays + Tax Amount, for the entire data set, I call the SQL query I can send back in two different ways with the same result. or SELECT from the total sale of sales as a SELECT SUM (Unit Piece + Tax Amount) SUM (Unit Paris) + SUM (Tax Amount) Sales from AS 'Total Sales' Does any one of these questions reflect on other (performance or otherwise)? Or is it just a matter of taste? Use: SUM (UnitPix + tax) AMOUNT) using can return ... as "Total Sales" by SUM (SUM) + SUM (tax amount) NULL If you have more than one value, you can wrap them in COALESCE: SELECT SUM (COALESCE (UNITESPICE, 0) COALESCE (tax amount, 0)) update I do not see any difference between the two methods, and considering that SUM () + SUM () more secure Damage, it confiscates deal for me.

math - Calculating wage by hours worked -

Oh all, I am trying to explain how to calculate wages for an employee, The code that I am using is: The date given to date on the date as a startup date in the form of a static time as the total time string theStartTime = "16:11:06" End time = "18:22:01" total time = format (CDBL (end time - the starttime) * 24), "# 0.0") will be practical hours: 2 F 11 M Now, count up with my code, I get 2.2. What do I need to include to calculate the exact time of 2: 2 instead of 2:20? David note that 2.2 hours not 2 : 20, it's 2:12. Change format (CDBL (end time - the starttime) * 24), "# 0.0") to format (end time - the starttime, "h: mm") You are getting the right price, when you print, you can turn it off There is a time duration equal to the difference between theEndTime - theStartTime as you found, by multiplying 24, you will be given a different number of hours. However, you will have to use date / time f...

jquery - Discrepancy between outputs from firefox and chrome for 'console.log' -

Why does Firefox give me the correct output but does not chrome? I am trying to find the height of a div which is not specified in the stylesheet or elsewhere. Chrome gives me an integer value of '20', but firefox gives me the correct value (using firebug) 516. This is a console.log code that generates: var img_h = $ ("# pics"). Height (); Console.log (img_h); & Lt; Div id = "pics" width = "100%" & gt; & Lt; Img src = "image1.jpg" width = "45%" & gt; & Lt; Img src = "image2.jpg" width = "45%" & gt; & Lt; / Div & gt; Thoughts? If you want to load images, instead of document.ready Should be used, such as: $ (window). Load (function () {var img_h = $ ("# pics") .height (); console.log (img_h);}); The most notable difference is that the images (Dynamically not created!) Are loaded and ready when this code runs.

PHP arrange table content from horizontal to vertical -

मेरे पास एक स्क्रिप्ट है जो एक सीएसवी फ़ाइल पढ़ती है। & lt;? Php echo ' & Lt; तालिका सीमा = "0" सेलपैक्शन = "1" सेलपैडिंग = "1" वर्ग = "क्रमबद्ध" सीमा = "1" & gt; & lt; कैप्शन & gt; शीर्षक यहां & lt; / caption & gt; & Lt; thead & gt; & lt; tr & gt; & lt; th वर्ग = "हैडर" & gt; समय: & lt; / th & gt; & lt; th वर्ग = "हैडर" & gt; मान 1: & lt; / th & gt; & lt; th class = "मूल्य 2: & lt; / th & gt; & lt; th वर्ग =" हैडर "& gt; मान 3: & lt; / td वर्ग =" हैडर "& gt; & lt; th class =" header "& gt; मान 4: & lt; / Th> & lt; th वर्ग = "हैडर" & gt; मान 5: & lt; / th & gt; & lt; th वर्ग = "हैडर" & gt; मान 6: & lt; / th & gt; & lt; th class = "header" & gt; मान 7: & lt; / th & gt; & lt; ...

asp.net - Accessing html form elements with runat=server -

मेरे पास एक asp.net प्रपत्र में एक चयन बॉक्स है जैसे: & lt; फार्म क्रिया = "Process.aspx" विधि = "पोस्ट" & gt; & Lt; चयन करें नाम = "रेफरर" id = "रेफरर" चुनें "runat = server & gt; & Lt; विकल्प मान = "" & gt; कृपया एक चुनें ... & lt; / विकल्प & gt; & Lt; विकल्प मान = "ग्राहक" & gt; ग्राहक वापस & lt; / विकल्प & gt; & Lt; विकल्प मान = "रेफ़रल" & gt; क्लाइंट रेफ़रल & lt; / option & gt; & Lt; विकल्प मान = "व्यापार" & gt; व्यापार दिखाएँ & lt; / विकल्प & gt; & Lt; विकल्प मान = "खोज" & gt; खोज इंजन & lt; / option & gt; & Lt; विकल्प मान = "विज्ञापन" & gt; विज्ञापन & lt; / विकल्प & gt; & Lt; / चयन & gt; इस तरह से मैं एक ही नाम के साथ एक सत्र चर सेट कर सकता हूँ Process.aspx: निजी स्थिर स्ट्रिंग [] चाबियाँ = {"नाम", "ईमेल", "कंपनी"...

css - Can I use the display:inline with text-align: right? -

उदाहरण: & lt; td & gt; & Lt; img src = "..." / & gt; & Lt; img src = "..." / & gt; & Lt; div शैली = "पाठ-पंक्ति: सही प्रदर्शन: इनलाइन;" & gt; नमस्ते दुनिया! & Lt; / div & gt; & Lt; / टीडी & gt; ठीक है तकनीकी रूप से आप कर सकते हैं, लेकिन इसका कोई असर नहीं होगा। प्रदर्शन: इनलाइन डिवेल को एक इनलाइन तत्व के रूप में दिखाएगा (जैसे कि एक या अवधि) और इसलिए चौड़ाई नहीं है - यह पाठ को फिट करने के लिए छोटा होगा। यदि आप इनलाइन पाठ को प्रदर्शित करने का प्रयास कर रहे हैं फ्लोट: सही; का उपयोग करने का प्रयास करें, इसके अलावा, आपके कोड में आपको ";" पाठ के संरेखण के बाद: सही।

postgresql - Downloading and using a database from an untrusted source? -

If I had to obtain a database (in this case for postgrescale) from an untrusted source, Danger and asks it? There are very possible attack vectors, if you are asking this, here are some of those Perhaps the link from the database is actually linked to a hacked PDF file that exploits some vulnerabilities in your Acrobat plugin (your PDF plugin Patch is okay? It's a recent actually popular attack vector) If it zipped it If so, then this is actually a zip bomb. If this is a binary dump, then it is probably trying to take advantage of some bugs in the restoration process. Perhaps it is maliciously stored procedures that will leave your database or gather your password. It may be just a text dump that contains a bunch of drop statements. Speaking practically, this is actually not the result of low hanging. Postgrass is a niche product with limited listeners (developers who prefer postgrasses) I think It is not quite likely that a database dump will be use...

android - move the gallary elements automatically -

इस सवाल का पहले से ही एक उत्तर है: 5 जवाब हाय मैं अपने स्थानांतरित करना चाहते हैं ट्रैकिंग के बिना गैरी तत्वों। इसके लिए मुझे कुछ सुझाव और उदाहरण कोड दें। Adavance में धन्यवाद समाधान देखें में

JQuery Form Plugin with multiple submit buttons -

I am using the JQuery form plugin () to create an Ajax form. I am trying to submit two submit buttons to handle form submit and save form operations. Based on the operation I need to submit two different URLs: Submit or Save. I'm not sure how I can get the value of the actual submit button, and clicked, and then submit the form via AJAX based on this information. I need a little help with this. For the record, I am using code syntax similar to the version below (this is not the actual code): // Create Options Option Option Var == {Target: '#divToUpdate', url: 'comment.php', Success: Work () {Warning ('Thank you for your comment!'); }}; // Pass the AJAX form pass $ ('# myForm'). Alexfarm (option); thanks Maybe I did not research well before Done posting. Pardon. I resolved it (this is a code sample): var $ _ = jQuery; $ _ (Document) .ready (function () {$ _ ("# id_submitbutton_1"). Click (function () {$ _ ("# f...

.net - Architecture/patterns for pushing live data in client server application -

I have found a server that controls a complex industrial system. We have a remote client that can connect to the server and "inspect" its internal status. I need to work out: When the client connects How to install an existing status How to keep customers updated with changes on the server Do we copy all the objects / state to the server, or just a subset? My current approach is the handwriting code that sees the change in every object, sending them to the server and the client as a message. The customer receives those messages and applies those changes to their own local model. The problem is that there is a lot of manual coding involved, and I have three classes for each unit: server, message, and client I think getting it Should be a better, generalized way to? "Text"> What am I suggesting, can be very difficult to return to the existing system, but I think that this is an effective pattern, you can call it a "replica mode...

android - Determine free ports -

I was watching the API, and Ive tried to determine it: A given port However, check whether it is available or already some apps listen to it. Thanks, If you are binding on a specific port, then there is probably something wrong with your Android code; Most likely, you should only create an outbound connection. If you have to contact another Android device, consider both devices connected to a normal web service that pulls up the connection. Using the web service as an intermediate, the connection between the devices decouces and avoids common problems where router or firewall blocks incoming connections.

javascript - Trouble toggling the visibility of multiple divs, since toggle() tracks each element separately -

I have a series of input buttons, let's say for two simplicity. Each button has its own affiliate content in a separate division. Not all content is to start in invisible divs ( display: any ) If you click a button, its related content is displayed. If you click it again, the content disappears. This is done with toggle () . The problem is that if you click on a button and then click on the second button, then both devices are now visible then my main question is to solve this problem The best way to do it is to do it. The solution I tried, does not work, so if you have a new perspective, please tell me, or if you can refine my approach to working it, then it would be great to be okay, I tried to solve it To solve this, I use siblings () to make sure that all the contents divs are invisible first New material divs appear. So now, if I click on 1 it seems. If I click on 2, 1 disappears and 2 appears ... But now, if I click on 1 then nothing happens (because it...

ajax - serializing a form jquery -

I have to serialize my form data and send it through AJAX, I have used the serial array Which gives me the approval postcard. The code is as follows: var fields = $ ('# myform: input'). SerializeArray (); JQuery.each (field, function (i, field) {values ​​[field.name] = field.value}); I want to pass {code> values ​​[field.id] = field.value I want to use serializeArray () only the standard W3C for successful regulation Uses the rules to determine which element should be included in it. I think this is a better way to use jQuery form plugin: I have used successfully in many projects.

Passing array from JSP to Javascript(how to create a matrix in javascript) -

I get a list from my java code and I would like to create a matrix from this list. I have a selection in my JSP and I would like to display the values ​​of my matrix in respect of the value of my choice in a table My list of my food & Lt; Html: select property = "immeuble.zone" size = "1" style id = "area" style class = "saiege" & gt; & Lt; Html: optionsCollection property = "optionsZone" label = "libelle" value = "code" /> & Lt; / HTML: Select & gt; My limit in my JSP list options zone = new Arraylight (3); OptionsZone.add (new CodeLibelleBean ("1", "1")); OptionsZone.add (new CodeLibelleBean ("2", "2")); OptionsZone.add (new CodeLibelleBean ("3", "3")); In my wish list hashmark tarif = new hashmap (); Tarif.put ("1", "100"); Tarif.put ("1", "150"); Tarif.put ("1",...

latex - How to create product catalogue in pdf -

In this case I have XML data sources and external images, which represent the whole product list. Products I am searching the tool to convert the described data source to PDF document, primarily with basic navigation functionality and hierarchical structure . Maybe I can write the code in some script language to write this XSLT stylesheet, or to create a tax document. Can a good Latex style provide a product catalog or open source tool to create a PDF catalog? My suggestion is you famous PDF library generation. You can load the data from XML and generate any kind of PDF. To create these types of documents you have to write Java classes.

asp.net - How to bind AspxMenu by .xml file value -

एक्सईलेमेंट xml = नया एक्सईलेमेंट ("संपर्क", c से db.Categories आदेश के अनुसार c.CategoryID नए XElement का चयन करें ("संपर्क", नया XAttribute ("contactId", c.CategoryID), नया XElement ("प्रथम नाम", c.CategoryName), नया XElement ("lastname", c.description))); // एक फाइल को सहेजना, आप एक्सएमएल को सहेज सकते हैं। सहेजें (@ "सी: \ संपर्क। एक्सएमएल"); & Lt; dxm: ASPxMenu आईडी = "ASPxMenu1" runat = "सर्वर" & gt; & Lt; / DXM: ASPxMenu & gt; उपरोक्त सिंटैक्स का उपयोग करके मैं XML मान में तालिका मान को बचा सकता हूं। लेकिन मैं इस मान को aspxMenu bellow syntax show error में बाध्य नहीं कर सकता। ASPxMenu1.DataSource = xml; ASPxMenu1.DataBind (); मैं विशिष्ट स्थान में XML प्रारूप में डेटावैल्यू को सहेजने का प्रयास करता हूं, फिर इस फ़ाइल मान मान के साथ AspxMenu को बाइंड करना चाहते हैं। कोड सी ड्राइव में contacts.xml नाम की फ़ाइल है। मैं इस फाइल से मेनू बाँधना चाहता हूँ। ** मुझे बाँध...

c# - Reading RSA Private Key in PEM format And Reading public Key from certificate -

मैं एक पीईएम (X.50 9) प्रमाण पत्र (डिस्क पर एक privateKey.pem फ़ाइल में संग्रहीत) का उपयोग करने की कोशिश कर रहा हूं हस्ताक्षर संदेश। उसके बाद मुझे प्रमाण पत्र का उपयोग करके हस्ताक्षर को सत्यापित करना होगा (रिसीवर को भेजा गया)। इस के साथ सहायता, विशेषकर सी # और आरएसए एल्गोरिदम में कोड आपको सी # लाइब्रेरी मिल सकती है आपकी समस्या में मूल्य एक PEMReader वर्ग है जो आपकी PEM फ़ाइल में पढ़ने और सामग्री को Bouncycastle क्रिप्टोग्राफी ऑब्जेक्ट में परिवर्तित करने में सक्षम होना चाहिए। और Bouncycastle और .NET क्रिप्टोग्राफ़ी ऑब्जेक्ट के बीच एक पुल प्रदान करने के लिए एक डॉटनेटयूटीविज़ी क्लास है।

What does isa mean in objective-c? -

I want to know the meaning of the lines written below with an example. I am unable to understand what the lines really are Lines are from Google's objective-c coding guidelines. Start Do not start the variable 0 or zero in the init method; It is unnecessary. All memory for a new allocated object is initialized for 0 (excluding ISA), so do not dislodge the init method by starting the 0 or 0 variable again. Under the hood, objective-object is basically C structs. Each has a field called isa , which is an indicator of the class that is an example of an object (thus knowing the object and the object-c is the kind of runtime). In relation to the initialization of the variable: In Objective-C, the example variable can be automatically generated by 0 (C types such as int ) or zero (For Objectives-C objects) Apple's guidelines say that in your init methods it is impossible to start those eBooks, so do not do so, for example, say You have one such class: @...

datetime - Parsing a TeamCity (Java?)-generated timestamp in .NET? -

मैं टीमसिटी REST API के साथ एकीकृत करने का प्रयास कर रहा हूं। इसमें 20100804T104413 + 0100 के समय-चिह्न हैं। यह लगभग आईएसओ 8601 है, लेकिन इसमें हाइफ़न नहीं है। मैं इसे string से एक DateTime .NET में? मैंने कोशिश की है: दिनांकटाइम। पर्स ईकैक्ट (एस, "य्यायएमएमडीएचएचएमएमएसएस + ज़ज़ेज़", कल्चर इन्फ़ो। इन्विरियनटीकचर); (और + zzzz के बिना), लेकिन मुझे स्ट्रिंग को एक मान्य दिनांकटाइम के रूप में मान्यता नहीं मिली। यह मेरे लिए काम करता है: सिस्टम का उपयोग कर; System.Globalization का उपयोग कर; कक्षा परीक्षण {स्थिर शून्य मुख्य () {string text = "20100804T104413 + 0100"; दिनांकटाइम डीटी = दिनांकटाइम। पर्स एएक्सैक्ट (पाठ, "य्यायएमएमड'टी 'एचएचएमएसएमएसस्ज़ज़', कल्चर इन्फो। इन्विरियनटीकल्चर); Console.WriteLine (डीटी); }} आपको वास्तव में "टी" के आसपास उद्धरणों की ज़रूरत नहीं है, लेकिन मैं उन्हें स्पष्ट रूप से पैटर्न बनाने के लिए रखता हूं। इसी तरह "ज़ज़े" "ज़ज़ेज़" हो सकता है - लेकिन मुझे लगता है कि समस्य...

.net - Visual studio 2008 - Clearcase integration Checkout issue -

Image
I have explicitly integrated the plug-in in Visual Studio 2008. I'm facing a problem with the unchecked checkout option with the plugin. I modified, tool -> option -> rational scrutiny -> Clear user option I removed the "reserved" check under the "Operations" tab. I right click After this setting, I chose a file for checkout -> A popup demanded the comments, but, "checked" in the last window reserved for checkout is reserved . We do not ever check that the check is not being closed Pleaase help reference is the default for all files, and I am amending the settings to default on unsecured checkout in the CCRC. Thanks, Srinivas I have no problem in this plugin anymore Will appear. Note: The picture above is just for general illustration. It is not to say that you do not have an "Unreserved, Nonmastered" option: it is not related to your problem Can you check what file after clicking OK on the checkout dialog...

open source - Realtime Chat on a web browser -

Is there an open source application (or open source code) for implementing realtime chats on a webpage such as BaseCamp? Open Fire is an open source XMPP chat server. We've used it for years and we would love it. Are there. SparkWeb is their open source web-based chat client:

functional programming - Is there a Python idiom for evaluating a list of functions/expressions with short-circuiting? -

I have written a simple script to solve "logic puzzle", the type of puzzle from school where you have many rules and Then the problems should be able to find solutions such as "A, B, C, D, and E are five musicians playing in a concert, each plays one after the other ... if ABC goes first , And D is not the last ... who is the order of whose plays? "Etc. To evaluate possible solutions, I wrote each "rule" as a separate function that would evaluate that possible solutions (only representation in the form of strings) are valid, for example #Fifth slot B or DDR rule1 (solution) should be: Return solution [4] == 'B' or solution [4] == 'D' # There should be at least two spots between A B DR Rule 2 (Solution): Returns ABS (Solutions.ind Bus (A) - Smadhankindaks ( 'B')) & gt; = 2 # ATC ... I am interested in finding the pithic ways to test if the possible solution passes through all such rules, first to evaluate the rules afte...

asp.net - Ajax modal popup loads behind the activex control -

One page has an active X control, as well as a button on which onclick opens an AJAX modal popup The problem I have is that whenever the button is clicked on AJAX then the activation is loaded behind the control and thus it is hidden. So I'm not able to use that control at all. I have not found the correct solution I tried a solution where the status of a browser check was removed from the AJAXLoite code. But no luck using Ajax Toolkit version 3.0.30512.1. I know there is any solution to solve this problem. Any attempt to bring the DIV or any HTML element at the top of an Active X has no effect Does matter. An ActiveX always keeps on top even if it keeps a lot of life from an HTML element. The reason for this is that Explorer underlines its content. See . There are two types of controls: Windered and windowless elements, and they are rendered on different planes. Despite all the wishes of its container, all window elements tie themselves above all the windowless element...

How can I set the <body> class based on the view in Asp.Net MVC? -

Body & gt; Based on the view of the class as well I'm looking to set & lt Am I have read something about hard writing some pages, but nobody seems to be feeling well, or at least I do not know how to code I have seen that stack overflow does this, so it should be possible. Renewed: Getting the Error: Description: An error occurred while compiling the resources needed to fulfill this request. . Please review the following specific error details and modify your source code appropriately compiler error message:. CS1061: does not include a definition for 'System.Web.Mvc.HtmlHelper' 'body' and no extension method 'Body System.Web.Mvc.HtmlHelper' can be found to accept a first type of 'type' Code> body (if you are using an instruction or missing an assembly reference?) line namespace MySite.Helpers {public static Class HtmlHelpers {public static MvcHtmlString body (this HtmlHelper HtmlHelper) {string currentControllerNa...

errors porting C++ templates from GCC to Visual C++ -

जीसीसी में निम्नलिखित संकलन: cvec.hpp: टेम्पलेट & lt; कक्षा T & gt; वर्ग सीवीसी: सार्वजनिक डेक & lt; T & gt; {क्लास डेक & lt; T & gt; :: इटरेटर खोज (टी); }; cvec.cpp: टेम्प्लेट & lt; वर्ग T & gt; क्लास डेक एंड टीटीसी: :: इटरेटर सीवीसी & lt; T & gt; :: खोजें (टी तत्व) {} दृश्य सी ++ में, प्राप्त करें: त्रुटि C2242 "टाइप किए गए नाम क्लास / स्ट्रेट / यूनियन का अनुसरण नहीं कर सकता। मैंने "टाइप" नाम के लिए हैडर फ़ाइल में "क्लास" को बदल दिया है, लेकिन त्रुटि प्राप्त करने के लिए C3860 - टेम्पलेट तर्क सूची में टेम्प्लेट परम सूची में प्रयुक्त क्रम में पैरामीटर सूचीबद्ध होना चाहिए। इस मामले में केवल एक पैरामीटर है, टी। जब तक कम्पाइलर खोज (टी तत्व) के बारे में भ्रमित नहीं होता है? यह शीर्षक में क्या मतलब है: वर्ग डेक & lt; T & gt; :: इटरेटर खोज (टी); आप घोषणा नहीं कर रहे हैं एक वर्ग। typename कीवर्ड यहां मान्य होगा, लेकिन वर्ग कोई मतलब नहीं है। और .cpp फ़ाइल में भी यही सच है: टेम्पले...

.net - Are applications with many DLLs a bad thing? -

We have an entry web application that included 4 compiled components (DLLs). A year ago, we started implementing more granular components in an effort to reduce functionality, reduce coupling and reducing the risk of reconstructing and deploying a large part of the code. Although no one argues that this approach has given us much improved resilience and speed in the market, adding new functionality and patching bugs, but now it includes about 40 DLSs. We have a naming convention that works well to identify our components. My question is: Is there a dual-side (performance, maintenance, etc ...) to make an application with many DLSs? Editing: We are searching for the option of refactoring code in large components, which I think can be a kind of regression ... itemprop = "text"> My question is: Is there a downside (display, maintenance, etc ...) to make an application with many DLSs? A negative side with many DLLs? No - Is there a downside with many DLLs? S...

binding - Silverlight UpdateTarget() workaround for BindingExpression -

Do any suggestion to prepare a solution for the Silverlight update targeting method () that exists in WPF Could? Removing the current binding on the DP and manually setting the value is not an option for me. Thanks Try something like this in ImageBlobMember with your XML control x: Change name / name and image. With appropriate values ​​depending on the type of control to SourceProperty. Binding expansion bindexp = imageblog Gatebunging expansion (system.window.control.image.SourceProperty); Binding bind = bindexp Parentbanding; ImageBlobMember.SetBinding (System.Windows.Controls.Image.SourceProperty, Bind);

android: styling ListView items from custom CursorAdapter -

I have a custom cursor adapter that I want to increase custom item layout and style accordingly, as the code below Is shown in. My point is that sometimes the wrong style information is given, even if the data coming from the DB is correct (hence, for the example given below, I will get isEvent == true ) but on this style It will run as if isEvent == incorrect . Is this a known bug? Am I doing something wrong or what can I do to fix it? Private class event adapter cursor adapter {public event adapters (context reference) (su Override public view new view (reference references, cursor cursor, view group parent) {return getayoutInflater (. Layout). Event_view_list_item, parent, wrong); @ Override public zero-bound view (see View, context reference, cursor cursor) {last boolean isEvent = cursor.getInt (EventQuery.IS_EVENT) == Event.EVENT; last string eventName = cursor GetString (EventQuery.NAME); Last TextView Event NameView = (TextView) view.findViewById (R.id.eve) nt_name); ...

objective c - Mimicking "normal" view transtion when changing UITabBar's selected tab -

For very boring reasons to describe, I go to a different view programmatically to my Application Tab tab Changing. Unfortunately it's immediately and we want the normal snapshot load effect when you do pushViewController on a navigation controller. I am very inexperienced with the use of animation in OGJC C, I tried to use some code which I found here: CGContextRef reference = UIGraphicsGetCurrentContext ( ); [UIView Start Permissions: Zero References: Reference]; [UIView Set Animation Transition: UIViewAnimationTransitionFlipFromLeft forView: [Self View] Cache: Yes]; [UIView Set Animation Cave: UIViewAnimationCurveEaseInOut]; [UIView Set Animation Duration: 2.0]; [[[NAV] tabbar controller] Index selected from set: 2]; [UIView commitAnimations]; It does one type of animation, the nav bar appears mysteriously from the top, which I wanted, is not it :) The easiest way to do what you want your animation is to place it before the place you want it to come from That...

Python Pickle Help -

I'm not sure why this pickle example is not showing both definitions as I understand it, "now + "Means that the Pickle.dat file has been added and can be read from it. I am totally new to the coconut concept, but the tutorial on the net does not look beyond just the initial storage. import cickle def aspen_object (d, fname): "" "fname" with a pickle dash of dash "print" append_hesh ", open (fname, 'ab') with Flickr Adding as a picker: pickle.dump (D, picker) db_file = 'pickle.dat' cartoon = () Cartoon ['Mouse'] = 'Mikey' Append_Object (cartoon, db_file) Cartoon = {} Cartoon [' Bird '] =' Tweety 'Append_Object (cartoon, DB_file) Open with' loading from loader 'print (DB_file,' RB ') as picker: Cartoon = Picail. Ideally, I was hoping to make a dictionary using a dictionary for the loop and then the key: in the Pickle.dat file (Pikelar) print 'load', cartoon T...

php - zend framework problem with paths -

I have installed the Zend Framework on my local machine. I have configured a vhost in httpd.conf and my host file ( 127.0.0.1 mysite) has added a line. I'm running Windows 7 Everything works right The problem is that when I upload to a host server, the path is found. I am uploading a zf-framework on a remote DIR. I would like to type this URL to use the index page. This index displays the page, but when I add a link to the page, they are similar and actually it should be when it should be. I have found a job for this situation ... to use echo $ the-> baseUrl (link) I have layout in fluff. If it comes to submitting the form then the problem is more serious. I can not use baseUrl there .... or I do not know how to use it. Is there a way to write some common config accessories so that it can be automatically resolved by the framework. Do we call something in index.php or bootstrap.php, which will automatically correct the path? If you are using Zend_Application, add the fo...

jquery - Displaying random li's display's NULL -

How do I display a random set of list items, I think I have this down. Thanks! // Calculate the number of li in the list list = $ ("li.contentBlock", obj) .length; Generate a random number from the calculation of / / li's random random number = mathematical .floor (mathematics.rendum) * list count 1); // Generate a list of items based on the number of J.Le List = "& lt; li class = 'Content Block' & gt;" + $ ("Li: eq (" + randomListNumber + ")", obj). Html) + '& lt; / Li & gt; "; // target element in which the var place = $ (" ul ", obj) .html (); // Combine the UL compiler and create new newness = first list + location in the list; // current ul and Replace li with newly generated random list $ ("ul", obg) .html (new location); Is there something like this? Save it as an .html file gt; Top & gt; & lt; Script src = "http://code.jquery.com/jquery-1.4.2.min.js...

c# - Searching lists, ranges -

I have an ASP.NET application, which will need to find a VARCHAR (20) column using lists and categories. In other words, the input can be something like this: ABC, 444, CD-EF, 90-BA, HEage and the result is required The equivalent of: from SELECT * table where call 1 = 'ABC' or 'call1 =' 444 'or' call 'with' CD 'and' EF 'or call 1' Regular SQL column sorting order is acceptable for the range, here are two main pieces: For the category of 90 'and' BA 'or' Columns' = 'HIJ' ' ' Using the parameter in SP to search. I have suggested options which are not mutually exclusive: I can send the string as I like. There is no array [] = SPLIT (',', @query) or similar, so parsing will be low. I want to parsing on the .NET side. Convert XML to .NET side, convert it to table in SP. Use the cursor to move through the parameters Already in the table, separate inquiries, and merge the...

google app engine - Fastest way to check if an object exists -

I'm using GAE / Java with Objective, and I find the fastest way to check an object Trying to be present in thestore, the key given is what I am doing now, with .get with @ cached , but the way the whole thing is still , Which is unnecessary. Any ideas on how to do this with an index only hit? I was thinking about only one key, but I am seeing that latency is greater than found Any ideas on how to do this with an index hit? I was thinking about a key only the query A key only query is an index only the way to get hit, is faster than receiving it, the size of your unit and your Depends on the size of the index. In a trivial example, I get one for a query and is getting approximately 8ms for 13ms. You can use apps to find out if it's cheap for you with real data.

c# - Weird "Next" link on ebay? -

I am working on the web scrapping app and it was testing with eBay. The thing is that the application should follow the "Next" link (at the bottom of the page which should go to the next page of the results), but it remains on the same page (yes, I'm really sure about it Not that) If you try to open ebay and search for any post that will result in multiple pages, and then either copy the "next" link and paste it on a new window or right click it and click on a new one Choose Open in Tab / Window, it will be on the same page. I tested it on Chrome and IE8, so my question is, what are these browsers doing, when they actually follow the link (when I click it) so that I can do this with my scrapping app? (Oh, and the way I am working on C #) In the case of eBay Is just a general link (at least, for viewing), then the problem is probably with your code (are you collecting cookies for example?) From your description it seems that this is an AJAX request, whic...

Problem with Hibernate join query -

I have a problem typing a JOIN query in Hibernate, though I can write it in SQL. It looks like: Select from z * y, where z.id = y.id and t.id = z.id and z.id = 2 What will be the Hibernate equivalent? I went through the documentation but the examples were not very useful in my situation or I was getting strange results. Thanks for any help. You can use SQLQuery to use the same query. User SQL client that executes the query class. You can use the method of creating the user.

iphone - Is there a way to change page indicator dots color -

I am a newbie for iphone programming, I am trying to develop an app that uses page control. The background color of my scene is white and the page controller default is also white, which in turn controls the page control disappears, so I changed the back ground color of the page control so that it can be visible. Now, the scene patch looks bad and is there a way to change the dots color for page control? Thank you in advance We used UIPageControl for a custom image for the page indicator Optimized to use, I have listed the courage of the class given below ... GrayPageControl.h @Interface Grayz control: UIPEZ control ( UIImage * activeImage; UIImage * Inactive Image;} Grazage control.M - (id) with that codec: (Encoder *) Adicoder {Self- [Super Init With Codec: ADCoder]; ActiveIma Ge = [[UIImage imageNamed: @ "active_page_image.png"] Retention]; Passive Image = [[UIImage imageNamed: @ "inactive_page_image.png"] Retained]; Self return;} - (Zero) Updat...

javascript - How do I "get" the ID for a "clicked" tab in a dijit.layout.tabcontainer? -

I can not find a clearly defined solution for this. Most are incomplete snippets. Here is a simple sample DoSomething () comment: & lt; Head & gt; & Lt; Style type = "text / css" & gt; Body, html {font-family: helvetica, ariel, non-serif; Font-size: 90%; } & Lt; / Style & gt; & Lt; Link rel = "stylesheet" type = "text / css" href = "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css" /> & Lt; Script src = "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" djConfig = "parseOnLoad: true" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Dojo.require ("dijit.layout.TabContainer"); Dojo.require ("dijit.layout.ContentPane"); The function doSomething () {// click here which identifies the clicked tab and displays the ID in the warning alert below ("Hello World!"); } ...