Posts

Showing posts from August, 2010

Appcelerator. Twitter auth in webview -

मैं उत्कृष्ट Appcelerator टाइटेनियम में वेबदृश्य का उपयोग करके ट्विटर कनेक्शन करने की कोशिश कर रहा हूं मुझे पता है कि डेविड आर से बाहर एक महान पुस्तकालय है, लेकिन मैं एक पॉपअप का उपयोग नहीं करना चाहता और मुझे लगता है कि मुझे प्रवाह पर अधिक नियंत्रण की आवश्यकता है। मेरा प्रश्न यह है: प्रमाणीकरण प्रवाह के दौरान मुझे ज़रूरत है एक oauth_token प्राप्त करने के लिए जो (मेरी जानकारी में) उपभोक्ता कुंजी और अन्य मूल्यों का एक संयोजन है मैं यह कैसे कर सकता हूँ? मैं इस टोकन को कैसे उत्पन्न कर सकता हूं ताकि मैं प्रक्रिया जारी रख सकूं? मैं जावास्क्रिप्ट का उपयोग कर रहा हूँ। सभी इनपुट के लिए आभारी! यह OAuth 1.0 ऐप के आधार पर एक बहु-कदम प्रक्रिया है, आप विवरण में & lt; & gt; कुछ भी करने से पहले, आपको ट्विटर के साथ एक आवेदन रजिस्टर करने की ज़रूरत होगी और वे आपको एक ट्विटर एपीआई कुंजी और एक उपभोक्ता टोकन (कुंजी और गुप्त) प्रदान करेंगे। अगले चरणों के लिए, OAuthConsumer या कुछ अन्य लाइब्रेरी, लेकिन इन चरणों में से "अनुरोध टोकन" प्राप्त करने के लिए उचित अनुरोध जेनरेट करना...

What interpreted language can i leverage for debugging? -

I talked about developing a programming language. Instead of compiling it, I am considering to understand the meaning. So what I have to do, parse is to create the syntax itself, the AST in the current scripting language and the output source. What I want to know is what I can interpret for debugging? I would like to call a call stack, file / source name and row # to modify the variable on the fly. Which IDE should I use? I like visual studios but I think that does not mean any interpreted languages. Eclipse should use what you want Any interpreted language is supported and you can easily debug with debug perspective. The advantage of the Python language is that all open source are in fact, there is no problem and you can see the source code without problems.

c++ - Qt closing tray icon after application stops -

I have a small problem with the tray icon at the bottom of the windows After my Qt application stop (normal exit) the icon still The system stays in the bar. It disapears only when I move the mouse cursor over it. I tried to hide it in my window disaster but it failed: I tried .setVisible . Any thoughts? Thank you. P.S. I remember that I had the same problem with SWT / Java. I will not hide it in the destroyer. This will potentially be an invalid reference at that point. I will put it where the event is to "exit".

.net - How to set focus to an object(textbox) in main form from another form (C#) -

Whatever problem I know, I should have trouble trying that my textbox is in a group box. I have a mainframe from which I go to any other form. When I come back to the mainfrom, I want to focus a particular object. How is this done? My main form is my code. Private Zero Button 1_Click (Object Sender, EventEurge E) {Form 1 FM = New Form 1 (); Frm.ShowDialog (); } Now that I come back from Form 1 on my main form. Private Zero Button 3_Click (Object Sender, EventArgs e) {this.DialogResult = DialogResult.OK; } I have textbox1 in the microform, except for Form1 and how to focus on TextBox 1 while entering the mainframe. I have textBox1.Focus (); and tried this. ActctControl = this.textBox1; Under load , show , active and enter the event still did not work Tried to make a public law and called it under the exit button of Form 1. like this. In the main form, public zero text Box1Focus () {textBox1.Focus (); } and then in Form 1, Private Zero Button 3_Click ...

file locking in php -

I had a newcomer (next door teenager) Write some php code to track some usage on my web site I'm not familiar with php, so I'm asking about concurrent file access. My original app (on Windows), sometimes kills the URL and puts some data in which my PHP script. The original application does not check returned data. $ fh = fopen ($ updateFile, 'a') or die ("can not open file"); FILIT ($ FH, $ IP); FILIT ($ FH, ','); FILIT ($ FH, $ date); FILIT ($ FH, ','); FILIT ($ FAH, FETलोड (',', $ _GET)); FILIT ($ FH, "\ r \ n"); Fclose ($ fh); This is a low traffic site, and data is not important. But what if two users try to bump and try to add a line in two example script files? Is there any hidden file locking in PHP? Is at least safe with code locking and never returning control to my user? Can the file be corrupted? If I have a file script above, then delete the file every month, what happens if another example of the scr...

Control rails application from Iphone's cucumber -

I am using franc to test the features of my iPhone app. The iPhone app is synchronizing the data with app rail and I want to cover the synchronization process with acceptance tests. I want to be able to use standard ruby ​​commands to manage the data of my rail app, for example, to create a table of products in the rail app, and then I can see that it becomes synchronized on the iPhone. (Or frank), then I have the product from the tests of my iPhone. Can I use fund_by_name ("product name")? I ended hacking this together: Paste this into frank / features / support I'm not a great rail developer. Someone might just clean it but it works for our purposes.

c# - Base classing a synchronous controller into an async controller to hide complexity -

वर्ग MyBaseController: AsyncController {// ...} वर्ग SimpleController: MyBaseController {सार्वजनिक ActionResult MySyncAction () {} } मैं हमेशा को एक काम करना है, OperationX () । यह सभी मेरे अनुरोधों के लिए एक लंबे समय से चलने वाला अभियान है यह कई चीजों पर आधारित मूल्यों को अलग करता है, लेकिन यह एक तकनीकी विवरण है। मैं एक एएसआईएनसी फैशन में ऐसा करना चाहता हूं, और फिर नियमित तरीके से नियंत्रक की क्रिया विधि को बुलाता हूं। हमारे पास सरल कंट्रोलर दुनिया में कोड का एक टन है, और हमारे पास सैकड़ों नियंत्रक और रूट आदि हैं, इसलिए यह सभी कोड को एएससीएन में कनवर्ट नहीं करना है। क्सीसिटन, इसलिए यह है कि मैं माइबस कंट्रोलर के मायसेंकएक्शन में आ रही किसी कार्रवाई को रोकता हूं और फिर MyBaseController के एसिंक क्रिया हमेशा को दबाता हूं, और उसके बाद केवल बेसकंट्रोलर में एसिंक कार्रवाई के पूरा होने पर, तब मैं सिंपलर कंट्रोलर के MySyncAction को कॉल करता हूं। क्या यह संभव है, सबसे अच्छा तरीका क्या है? यदि आप केवल SimpleController के MySyncAction कॉल करना चाहते हैं BaseController ...

OpenCV C++ and cvSmooth -

किसी को भी पता है कि समस्या क्या हो सकती है: cvSmooth (origImage, grayImage1, CV_BLUR, 3 ); मुझे त्रुटि मिली: त्रुटि: तर्क `1 'से` `cv :: mat'` const cvArr * अगर मैं का उपयोग करता हूं: cvtColor (origimage, cvsrr *, cvArr *, int, int, int, double, double) ग्रे इमेज, सीवी_BGR2GRAY); सभी ठीक काम किया कैप्चरिंग लैपटॉप कैमरे से है (वास्तविक समय)। सीवी :: मेट है ओपनसीवी के सी ++ संस्करण से एक नई संरचना। cvSmooth () पुराने सी एपीआई से है सी इंटरफ़ेस को सी ++ के साथ मिश्रण मत करो! मैं सुझाव देगी कि आप पढ़ने के लिए कुछ समय निकालते हैं। इसके अलावा, अगर आप opencv / modules / imgproc जांचते हैं /src/smooth.cpp आप देखेंगे कि cv :: boxFilter () के लिए समतुल्य है cvSmooth (CV_BLUR) नया C ++ इंटरफ़ेस पर।

Graph database functionality -

Recently I found out about the graph database. I have read that there are limited analytics in these databases. I have read that "Things like monitoring usage patterns and providing recommendations based on user history are the worst, and the worst, impossible, with such database platforms." 1 I do not understand why this analytics is limited here? 2 These database graphs can be used to store for Facebook, which saves all the posts by millions of users. How can this be done in the graph database? If you apply a strict property graph model, you will find that you have "data local" Operation, such as searching the data around the node, there are deepest hopes with relationships, however, like Global Operations such as "Give me all the nodes who have a merit name value, Tom '* in a graph model A complete scan of data is required. This theory has a limit in Practical (e.g.) Gr The Aaf engine is connected with global impermeability like lucin, berkl...

sql - Trying to get the next value in sequence from a postgres DB, with django -

I have defined a sequence in my database that I want to use in my own dengue application. I thought I could use the raw SQL method specified in the DNS document here:. My plan was to execute the following SQL statement: choose the next ('winner') Where the winning sequence is I want to get the next value Are from Here is my code: django.db Transaction from import connection ..... cursor = connection.cursor () result = cursor.exicute ("select next ('winner')") The result is not always of any kind, it seems very simple and simple, but I am not able to do this work. I have tried in the interactive console with the same result. If I look into the connection.queries object, I see it: {'time': '0.000', 'sql': "Choose the next ('winner')"} The generated SQL is valid. Any ideas? I am using: Django 1.1 Python 2.6 Postgrass 8.3 Psycopg2 Mac OSX cursor Always does not remove any returns. ...

php - Capture STDOUT from included file to variable -

How to capture all the things that include a file in a variable or another file Output buffering is the way to go. & lt ;? Php ob_start (); // start buffering output in '/ path / to / file /'; $ MyVariable = ob_get_clean (); // buffered output // to $ my $ varianable and clear // output buffer

mysql - Datastructure of a php tourney/cup -

I have started writing a cup tree and it works now. Now I want to ask a good database structure for a tournament. I thought this way: table participant -------------- ID of the player ID table table ---- ------- Player ID Round Table Cup Match ID of Cup ID ----------------- ID ID Cup ID Player A Number: BB Number Result Number Number B Is this a good design? Workflow: The first round: All the particles joined. Matches are produced for round one. The player enters the result (he has won). PlayerB acknowledges the Bayeux match is accepted, entered into the round. Player A is now in the next round. The next matches are created after entering the next match Why not store the round number in the attendee number table? I (A) see no reason to store this attribute in a separate table or (b) accumulating an entry for each round of entering each player. Maximum per-goal per player should be sufficient. In addition, on your application, you can add round number to a...

ios - UIWebview: Does not rotate and does not resize to fit the whole screen -

Image
आपकी टिप्पणी के लिए परीक्षण कोड उपलब्ध है। 1) रोटेशन समस्या: मैंने लागू किया है - (BOOL) होना चाहिएअथोरोटेटटोइंटरफेसऑरेंटेशन: (यूआईएनपरफेसऑरियन्टेशन) इंटरफ़ेसओरिएन्टेशन {// लौटें हां, समर्थित ओरिएंटेशन रिटर्न के लिए हां; } में WebViewController.m फ़ाइल है, लेकिन यह अभी भी घूमता नहीं है। (नीचे चित्र देखें) 2) आकार का मुद्दा जैसा कि आप चित्रों में देख सकते हैं , स्क्रीन का निचला हिस्सा रिक्त है (स्क्रीन का लगभग 25%)। मैंने xib फ़ाइल की जांच की है और UIWebView सही तरीके से सेट हो रहा है क्या मैंने कोई बहुत स्पष्ट गलती की है? आप अनुप्रयोग प्रतिनिधि में वेब दृश्य के लिए दृश्य नियंत्रक नहीं रख रहे हैं। को ठीक करने के लिए, [self.window addSubview: wvc.view] - & gt; [[स्वयं विंडो] सेटरूटिव्यूकंट्रोलर: वीवीसी];

ASP.NET MVC "search" should redirect to result or results -

I have a search function that takes search parameters. I have search results in the same result, and I want to redirect to a show action, and if there are many results then I want to direct the list action with all the results listed. I got a redirect to work, but not quite well. I do not know how to transfer the search results, should the first "search" action be taken out of the ID only, and then it depends on show or list action to extract more data based on IDE? How should my ID be transferred in concrete action? I probably have to submit a view to a search result with search results, if there are many results The list can reuse the view, if appropriate, but instead of attempting to redirect any other action with multiple ID it will be easy to display in case of the same result, for that action, Redirect may be appropriate Is obtained. This would mean that I would need to get enough data to populate the model for the list during the search. If a detailed action...

C Options Good Style? -

I'm new to C, and playing with some fun bitwall operation. What I'm doing seems to work, I'm just thinking that this is considered a good style. OK, so let's say that there are 3 command line options in my program, -a , -b , and -c . Before I perform 3 entities as a boolean, first called aflag , bFlag , and cFlag . Then when I call my processOpts (int * aFlag, int * bFlag, int * cFlag) function, then I'll call and eflag , and & amp; BFlag , and and cFlag , and set them as * aflag = 1 . This is my new way: 1 int * options to represent all the options, and treat it as an array of boolean, then set them to function For: case 'a': * options | = 1; break; Case 'B': * Options | = 2; break; Cases 'C': * Options | = 4; break; Then, back to (or wherever) in main , when I want to see that an option is selected: My question is: Which method is considered a better style? The first way can be more pronounced and less ...

ruby - How to stop God from leaving stale Resque worker processes? -

I am trying to understand how the rask worker should be monitored with God in such a way that God The stale worker will not leave the process. In the following, I am talking about the worker process, not the job procedures (i.e. the queue is empty all the time). When I start this kind of Rick Que employee manually: $ queue = builds rake resque: work I'll get the same process: $ ps x | Grape resque 7041 S001 S + 0: 05.04 resque-1.13.0:. Waiting for And as soon as this process goes away, I will stop working as a worker But when I am with God The only thing (i.e., basically the same thing) will start ... $ RAILS_ENV = Development God-c config / resque.god -DI [2011- 03-27 22: 49:15] Info: config / resque.god I Loading [2011-03-27 22:49:15] Information: Syslog is enabled. I [2011-03-27 22:49:15] INFO: Using the PID file directory: /Volumes/Users/sven/.god/pids I [2011-03-27 22:49:15] INFO: Started on Drununes: ///tmp/god.17165.sock I [2011-03-27 22:49:15] Infor...

iphone - App with Initial time-limited subscription then Auto-Renewable -

I have an app that I'm planning to present soon, but I still have to read everything There are some questions even after. Maybe I'm just stating that the app requires service subscription due to necessary server monitoring and analysis in the background. I would like to purchase the original app to include one year membership for the service and then allow the user to renew (preferably I would like to use the auto-renewal option) period. Can I just note in the iTunes Store app details that the purchase involves a one-year membership, then after that period is indicated with the renewal notice? I have seen some comments about offering the app with limited applicability, then making an in-app purchase, but I have to buy the app to the customers, avoid going through the initial steps , But I do not want to refrain from subscribing again. > Any suggestions would be appreciated. Do I just note in the iTunes store app details that include one year subscription in p...

How do I push new data to an Android SQLite database -

I am creating an app that will be a database of record album releases. The initial database will have a history of album releases over the past few years. I want to push data for the release of new album of application every week. How can I do this without republishing the entire app every week? Thanks in advance for any help. I recommend that you need a web service for updates. Your app can connect and ask for all the changes after its last investigation (to prevent all data retrieval), the new data will be replaced by existing code of existing code Base can be added to the INSERT (or with the UPDATE changes in existing rows) and later is available for offline use / search etc. For potential methods on a database, it is a good idea to use a transaction around it with written actions. The other possibility is to use Push on the device. But this will only be necessary if you want to inform the user, whatever new is available. Here's a good article about this: ...

python - Tkinter and detection of USB devices -

I would like to monitor the presence of USB devices and found modules such as Pujabi that serve this purpose. However, I do not know how to run USB detection services with the tanker main loop. Is this possible? Before starting teak menu, start some different threads that will monitor USB. Or you can try to use a vaccine alarm from time to time to check the USB.

multithreading - Write end dead exception using PipedInputStream java -

निम्नलिखित स्थिति में अंतिम अपवाद लिखें: दो थ्रेड: ए: PipedOutputStream Put = new PipedOutputStream (); स्ट्रिंग msg = "MESSAGE"; output.wirte (msg.getBytes ()); output.flush (); बी: पाइप इनटस्टस्ट्रीम प्राप्त करें = नया पाइप ऑउटपुटस्ट्रीम (एपुट); बाइट [] get_msg = नया बाइट [1024]; get.read (get_msg); यहाँ स्थिति है: ए और बी समवर्ती रूप से चलाते हैं, और ए पाइप को लिखता है और बी इसे पढ़ता है। बी सिर्फ इस पाइप के पाइप और बफर से पढ़ा है साफ है। फिर ए अज्ञात अंतराल में पाइप को संदेश नहीं लिखता है। हालांकि, एक पल में, बी पाइप फिर से पढ़ता है और java.io.IOException: लिखना समाप्त हुआ होता है, क्योंकि पाइप का बफर अभी भी खाली है और मैं सोना नहीं चाहता () थ्रेड बी को पाइप लिखने के लिए इंतजार करना, जो भी अस्थिर है। इस समस्या से कैसे बचें और इसे हल करें? धन्यवाद "अंत में लिखें" अपवाद उत्पन्न होंगे जब आपके पास होगा: एक पाइप इनटस्टस्ट्रीम एक पाइप ऑउटपुटस्ट्रीम से जुड़ा हुआ है और इन पाइपों की छोर दो अलग-अलग थ्रेडों द्वारा पढ़ / लिखी गई है धागे पाइप के अपने ...

iphone - move an UITableViewCell with animation between 2 sections in a UITableView -

In an app, there is 2 sections in a UITableView, I move a UTable viewpoint from one section to another section of the aviation in UITableView I hope to do it, is it possible? Any comment thanks UITableView is the answer: - (zero) insertRowsAtIndexPaths: (NSArray *) indexPaths withRowAnimation: (UITableViewRowAnimation) animation - (zero) deleteRowsAtIndexPaths: (NSArray *) indexPaths withRowAnimation: (UITableViewRowAnimation ) Animation Then, remove the entry from the first row and add it to the second. There are many animations that you can choose from. As an example (Sorry to do this without memory without a compiler) Beliefs: section0Data holds data for its first section, section1Data holds it for its second [self.section0Data removeObjectAtIndex: removeIdx]. [Self- insert section 1Object: entry on index: dot idx]; [Self.tableView deleteRowsAtIndexPaths: [NSArray arrayWithObject: [NSIndexPath indexPathForRow: removeIdx insection: 0]] withRowAnimation: UITable...

JPA/Hibernate one-to-one cascade removal in a modular application -

I have two multi-module applications in two unit classes with two different modules I one unit one on one another - There is a relationship with each other. The primary unit "song" is a module song-core and it is defined in such a way: @Entity Public Class Song {@ ID (strategy = Generation type Ind.TT Private Ent ID; The name of the private string; } and the next unit module called "Song Lyrics" is from the "song-song" module, which is defined in some way: @Entity Public Square Song Lyrics {@Id (strategy = GenerationType.IDENTITY) Private INAD; @OneToOne private song song; @column (drain = false, length = 1024) Private string song; } Since the SongLyrics unit is an optional "song-song" module, which may or may be available in the final app, there is a directional with the "song" unit in the Now I want the "Songline" body to be removed, whenever the "Song" unit is destroyed. But now what is happening ...

wpf - experiences with Intersoft ClientUI? -

Do anyone have the experience of using this WPF control library? From the Intel Company Memory consumption? Quality of control? Controls optimization? Thank you for both WPF and Sliverlight apps since October 2010 I am using ClientUI control I / P>

oracle - Convert Java String to CLOB -

Image
मेरे पास निम्न तालिका है: समस्या यह है कि जब मैं इस क्षेत्र में स्ट्रिंग सम्मिलित करने के लिए JDBC का उपयोग करने की कोशिश करता हूं तो मुझे हमेशा निम्न त्रुटि मिलती है: java.sql.SQLException: डाटा इस प्रकार के लिए अधिकतम आकार से भी बड़ा आकार: 6019 अब मुझे क्या करना चाहिए सम्मिलित उत्पन्न करने के लिए जावा कोड है निम्नलिखित: कनेक्शन conn2 = null; If (connection == null || connection.isClosed ()) {System.out.println ("कनेक्शन रिक्त है"); Conn2 = connectDB (); } // REPLACE MySQL से गैर मानक एसक्यूएल है, यह INSERT IGNORE स्ट्रिंग sql = "" का काउंटर भाग है; एसक्यूएल = "टेस्ट में सम्मिलित करें।" + tablename + "(" + क्षेत्रों + ") मान (" + fields.replaceAll ( "[^,]",) + '? "") "; System.out.println ("SQL:" + sql); तैयार किए गए स्टेटमेंट pstmt = conn2.prepareStatement (एसक्यूएल); // इंट ईवेंट पार्सिंग प्रारंभ करें = r.getEventType (); जबकि (सही) {// प्रत्येक के लिए तत्व चाहते थे (घटना == XM...

Permission problems with Git sharedRepository -

I am using Geothilate to manage my git repositories. And I also use a third-party web application to display the repository. However every time I do a git push --all git@myserver.com: myproject , then the third party web application can not access repository files That's why I need to run chmod go + rx -r / path / to / the / repository / folder to see the repository every time. I have set the git config core.sharedRepository all but do not remember permissions even after git push I How can I solve this problem? You update your non-fetched status (with the right ACL) from your bare repo managed by your gatelight One can define to. By the time you use (in Geollight V3), you can define a post-received hook in which you Will do it. It is being said, also check that your GitoliteRC has no effect on this issue: $ UMASK , The numeric, default 0077 uses the default UMASK that the gitolite makes all repos and their content is rwx ------ permissions. ...

iphone - I Need to make the call from the myapplication itself how is it possible? -

I want to call in my application and when the call is over instead of returning the application, is it possible is? Official Apple Link can be used for you Good luck

asp.net mvc 2 - Web based RTF editor solution -

I am researching about how to do this for a week and I think I am the best way I'm looking for I am trying to create a module in my website that can allow users to create forms in a viral type editor where there is the ability to insert variables. The required site from the list for the backend of the C # sub Industry and has been written in MVC 2. I have started writing this module in Silverlight and some such functionality has already been made such that using a WCF service, load a list of variables from DB and copy them into selected text in Rich Textbox which they choose with Silverlight It comes. I have written this module before using PHP and ckeditor, but the biggest problem with me is that after writing and editing the form it never looks like it was done in the WazeView editor. For this reason, I have decided to move towards controlling RTF or doc type files, I am trying to stay away from PDFs because the users base for using Microsoft Word / Open Office compared t...

networking - Interpreting CSN.1 notation from 3GPP standards 44.060 -

If someone can explain in clear English then the following CSN.1 means I would be very grateful. It has been taken in section 11.2.6 for EGPRS2 packet downex ACK / NAK type 2 information element. {0 | 1 & lt; EPD A / N Extension Type 2 Length: Bit (8) & gt; & Lt; Bit (wal (EPD A / N extension length) + 1) & amp; {& Lt; EPD A / N Extension Info Type 2 & gt; ! {Bit ** = & lt; Any string & gt; }} & Gt; } element described as a variable length set of EPD A / N extension type 2 information elements. Which means that I understand that the element is conditional if a 1 is present in the stream then after 8 bits of EPD A / N extension type 2 length, after a slight strings of this length + 1, But & amp; {& Lt; EPD A / N Extension Info Type 2 & gt; ? My impression is that it has been clearly stated that this bit string is an EPD A / N extension information type 2 notification element is it correct? I point you to monitor inter...

dom - Best Practice: Select by id or class with jQuery? -

Below each element of the dome has its unique class name: Is it better practice to use name names versus class names when selecting elements in DOM with jQuery? What is the benefit when using one on the other in jQuery? I have been told that getting a DOM element through ID instead of class is very fast and generally better practice, but is it also applicable to jQuery it happens? jQuery simply takes advantage of browser functionality Old browsers (IE & lt ; 9), there is no getElementsByClassName function, but almost every browser supports getElementById . On these browsers, jQuery has to cross the whole tree and find all the elements with the given classname. Therefore, the use of the ID will be faster. However, keep in mind that the ID must be unique, i.e. you can not have two elements with the same ID. This is not often advised, because components can be used in different contexts on the same page. Use of IDs in particular must be stopped.

php - Need an Array Count On Common Values -

I am using PHP and MySQL, Apache I have an array array ([2] => array ([0] => 6 [1] => 2) [1] = & gt; Hey ([0] = & gt; ; 6 [1] = & gt; 2)) Here is the Medium Container Document ID and the Last Child's User Ids, here I am going to measure general user id between all the different documents I want to find a way. Can anyone guide me to achieve this? Thanks in advance, Om / Div> $ Unique_users = array (); Forex currency ($ doc_id = & gt; $ user as $ document) {foreach ($ user_id as $ user) {if (! Isset ($ unique_users [$ user_id])) $ unique_users [$ user_id] = array ($ Doc_id); Other $ unique_user [$ user_id] [] = $ doc_id; }} Reckoning count ($ unique_users); // Number of users var_dump ($ unique_users [1]); // user_id # 1 is in the list of documents

Is there any problems when using Delphi to create Web-Service client? -

I plan to develop web service customers using Delphi X. I think web service customers at Delphi Making it easy is Is there any bug or problem while creating WebServity on Delphi XE? (WSDL is planning to create a web service to use the importer dialog) Please use the Delphi version, you have used the web service in reply For making. I have created many webservice-clients in Delphi, using all the WSDL me so far The problem has not come. I have had some minor problems, but it is not that Google or Stackoverflow can not be resolved with: -)

ruby on rails - SHA1 Encryption? -

I have the database with the following fields: id, q_id, text, session .. and I already have 2 records I want to encrypt each line (because every line is unique - id, session, course text ..) .. @w = digest :: SHA1.hexdigest ( Id + q_id instead it makes one. If that still is what you want to do, then my guess is that id and q_id are fixed and in string There is a need to convert. @ wa = digest :: SHA 1. HexDogest (Answer: id.at_s + anacid.tts_s + anonymoustext + integration) I also like to use the string because it makes it very clear that we are working with a string @w = digest :: SHA1 .hexdigest ("# {id} # {q_id} # {text} # {session}}")

ruby on rails 3 - Rails3: Getting "no attribute named..." in simple join -

After I'm trying to join for the first time in Rails 3, and can not get it The most basic thing to do is to work, so some prominent must be remembered. class members & lt; ActiveRecord :: base belongs_to: status ... end class status ActiveRecord :: base has_many: members ... end When I try to use a join, test in console An example optimized rail guide time_range = (Time.now.midnight - 1.day) .. Time.now.midnight Status.joins (members) .where ('member.created_at '= & Gt; time_range) I get an error message, ActiveRecord :: StatementInvalid: Mysql2 :: error: unknown column' member. 'Where segment' in created_at ': Include `statuses` * from` statuses` within `` members```status_id` = `statuses`.`id` (` members`.created_at` between members' 2011-03- 26 23:00 : 00 'and' 2011-03-27 23:00:00 ') Both models do is created_at column and it Works: member. Where (: created_at => time_arange) . I have tried many permu...

Is there any easy way to generate the Entity Framework Code-First classes? -

method - entity framework code-first - looks good but it is very difficult to create all classes for a larger database Is there an easy way to generate unit framework code-first class? EF code- The first issue is that if you define your domain model in code Your user interfaces and databases can easily be originated from that domain model. It has several advantages including reducing the amount of tedious code that should be written, and help ensure that your database, your domain model, and your UI match each other. However, is to write to your domain model - there is no way that "can be generated" (by which I think that you have been computer-generated ), Because it's private to your application. If I have misunderstood your question, please leave a comment and I will update my answer.

jsp - ShoppingCart in Java -

I have the product class and CartItem class that keeps the product , And a shoppingcart category that includes ways to add / remove items from the cart. I am currently using an XML file to store products. How do you reproduce through the list of products you will display a list of products in the JSP page, list the name of each product, description and size and price? How will you display a list of products in the JSP page each Use & lt; C: forEach & gt; Use EL $ {} to use and display the beam properties to iterate over a collection. HTML & lt; Table & gt; Use to markup as a table. & lt;% @ taglib prefix = "c" uri = "http: //java.sun .com / jsp / jstl / core"%> ... & lt; Table & gt; & Lt; C: forEach item = "$ {products}" var = "product" & gt; & Lt; TR & gt; & Lt; TD & gt; $ {Product.name} & lt; / TD & gt; & Lt; TD & gt; $ {Product.descriptio...

Resharper 5.1 crashes with Visual Studio 2008 SP1 -

I have problem that Resharper 5.1 crashed while VS 2008 SP1 tries to load it, I got an error message I am asking to stimulate some command line logic. I, I do not know, we have not read. Now I have problems that even a VS and / or Resharper re-install does not fix this problem. It seems that the plug-in is disabled. Anyone had a similar problem and what is to be done in this case, you know? Or can I ask for help on this? Br, David Please fix this bug

MongoDB: OR operator -

यह क्वेरी 3 ऑब्जेक्ट में परिणाम: db.list.find ({"दृश्यता ": 4}) यह अपेक्षित है अब, जब मैं इस क्वेरी को चलाता हूं तो मेरे परिणाम 0 ऑब्जेक्ट हैं: db.list.find ({"$ या": [{"दृश्यता": 4}]}) मुझे दोनों ही मामलों में, मेरी समझ में, एक ही परिणाम की अपेक्षा होगी, या यदि किसी एक स्थिति सही है तो यह सही होगा। तो .. क्या मुझे कुछ स्पष्ट है? मैंने किया है 1.6.5 मॉगो संस्करण में @AdaTheDev के रूप में एक ही परीक्षा और अपेक्षित परिणाम प्राप्त हुए। इसलिए मुझे लगता है कि आप 1.5.3 से पहले मानकोंडाब संस्करण का उपयोग कर रहे हैं जो $ या को बिल्कुल भी समर्थन नहीं देता है। $ या ऑपरेटर की मदद से आप क्वेरी करने के लिए एक बूलियन या अभिव्यक्ति का उपयोग करते हैं आप $ या अभिव्यक्ति की एक सूची दें, इनमें से कोई भी क्वेरी को पूरा कर सकता है। मोंगोडीबी 1.5.3 में नया

qt - Tool Palette like in MS Paint -

I'm trying to create a tool palette (?) In QT Designer, such as left in MS Paint or Adobe Photoshop Side, with different mouse click and selection tool) How do I do this? Is it using Toolbar? Thanks If I need to run in windows You can not use the toolbar, just use simple tool-buttons that were added to grid-layout frame (or widget) and Qt example (in the Qt SDK installation Included) that gives you very useful clues on Qt programming

objective c - Swing the iPhone like a golf club -

I understand that I have to use the UIKlorometer to find which angle will be present in the regular golf swing. The best equivalent that came to my mind is that I want to use the iPhone just like the Nintendo UI control. Is it possible for the iPhone to swing and fix like a golf club: This is an roughly precision swing (If this tennis is more like swing = throw error) Store angles of iPhone registers possibly on "back swing". If I store five values ​​in "every one second" on "back swing" and then checking these values ​​as thick swing I also need to decide how difficult the swing is, perhaps if I can see an instant for the iPhone's default position (start position before starting the swing movement). I know that I can not calculate the speed between the two positions with the UiKelarometer, but maybe I can solve it in some other way? Answer from Apple Review Team on this question Thank you for contacting the app review team...

ASP.NET Building Search, looking at Lucene.NET -

I'm looking for a search that has this basic search function Quick text Spell checker with search and maybe "Did you mean ..." Mask. So I'm looking at Lucene.net. Or just general full text indexing My database size is approximately 8000 companies records. Just thinking that HASTLE's are worth NAK LIGHT or I will just create a spell checker and mask search at the top of the usual SQL indexed search. We use Lucene within our ecommerce platform and we are 100% satisfied with it. Before we used to use a search functionality which simply used to query the database and this solution proved unacceptable for many reasons: It is not so fast, so we Can not imagine the kind of functionality of "Google Instant Search" (which we implemented after migrating into a Lucene based solution) Once the user becomes more complex (such as applying / filtering multiple search criteria), it becomes quite difficult to keep the response time relatively s...

iphone - Mutiple inputs for function -

Hello, I have a function as shown below and at this time I call it a variable to SearchTerm I want to pass it to another variable (another string) How do I do this? - (zero) GetYoutube: (NSString *) SearchTerm {} Thanks for your future help: p See below: (zero) GetYoutube: (NSString *) SearchTerm withOtherString: (NSString * ) MyOtherString {} will give you suggestions to go to obj-C ... thanks

objective c - ePub reader api For iPhone/iPad -

Is there any API reader API available for iPhones / iPads? If the app is essentially HTML then you can either use UIWebView to display it Or you can use a framework or an open source component to implement your own rendering.

Is it possible to create a Path in Silverlight solely using data bindings? -

I will dynamically create a path that is made up of many bezier signets. I would like to bind data as if my data source only needs to provide numbers. That means the app should not make any geometry objects in the code. Is this possible? Update: Here is an example for a certain number of paths: Segment: & lt; Path stroke = "black" & gt; & Lt; Path.Data & gt; & Lt; PathGeometry & gt; & Lt; Pathfinder Starpoint = "{Binding Calculation Pointe, Mode = Options}" & gt; & Lt; LineSegment Point = "{Compulsive Calculation PointB, Mode = OneWay}" /> & Lt; LineSegment Point = "{Compulsive Calculation PointC, Mode = Options " /> & Lt; LineSegment Point = "{Binding Calculation Pointe, Mode = Options}" /> & Lt; / PathFigure & gt; & Lt; / PathGeometry & gt; & Lt; /Path.Data> & Lt; / Path & gt; I want a variable number of segments. The answer to y...

c# - list.Sort ArgumentException error: IComparer doesn't not return 0(null) -

I have the following problem and I can not know where it comes from. I appreciate a lot of help. code: list & lt; Point & gt; Lst = new list & lt; Point & gt; (); Lst.Add (new point (0, -2)); Lst.Add (new point (-1, -2)); Lst.Sort (Rep (Point x, Point y) {if (xx == 0) Return -1; And if (yX == 0) Returns 1; Other {Double Rightwall 1 = xY * 1.0 / -xX; Double Retal 2 = YY * 1.0 / -x; Int Rated = - Math Sign (Rate Val1 - retVal2); Return Ritvail;}}); If executed, I get an argument exclamation that is saying that iCompair 0 does not return 0 (empty). However, it really can not return anything else, but -1, 0 and 1, or? Thank you very much for your help! Ah, I am using Net 3.5 on BTW. In fact the error message says: was not ICMPearer (or depends on ICOmable methods) Array back zero when array. CompareTo (X). X: '' Type of X: 'Point' iComfortire: 'System. Array + Future Compairer 1 [System. Drawing Point] ' . Objects are the same...

Understanding Kohana ORM Relationships -

I know that this question has been asked for a million times, but I think that really good to me I have a database with 5 tables: accepted_summation-submission_ad favorite favorite-username_id -submission_id ratings -user_id -submission_id just, favorites , ratings , and votes / code> is a primary key that contains each column in the table, so that a user can Mr. code several times to stop favoriting, the same user voting submission_id times more. I also believe that these areas are set using the foreign key which is the reference approved_submission and user in order to prevent invalid data in related areas . Using the DB module, I can not have any problems reaching and updating these tables. I really feel that the ORM can provide a more powerful and accessible way to complete the same things by using less code. Can you show me a submission_id ? Removing user favorite submission_id ? Is a user changing his rating on a particular submission_id ? In addi...

wpf - When to use Custom/User Control or Template/Style -

I am creating a logger application for learning WPF, and I want new messages below a scroll viewer Some listener raises a new message when I see that I want every message to create something that looks like this: =============== =========================== = Source | Message = = | = = | ==================================== I got it There are 2 WPF books here, and both "Warnings" are saying that in most cases there are other simpler and better mechanisms than custom / user controls. I was thinking that this can be solved using control templates, and If so, what basis should I use? Try using a ListView and a GridView Set its view on . & lt; ListView & gt; & Lt; ListView.View & gt; & Lt; GridView & gt; & Lt; GridViewColumn header = "source" width = "120" /> & Lt; GridViewColumn header = "message" width = "400" /> & Lt; / GridView & gt; & Lt; /ListView.View> & Lt;...

c# - Recursive Tree Mapping -

I've been working a lot with tree implementation lately and we represent and understand the trees. My focus has been focused on converting mathematical expressions into binary trees, I have called the problem of representing a tree in a linear form as a string or an array, while still important information about trees and its sub-trees Like I have actually developed a simple encoding for the binary expression tree though I have a There are some problems with implementing it effectively in Ravarati Manor, it seems to be a failed aspect behind this concept. The encoding is simple if the node remains in the form of a left child. Map of 1 if it remains in the right child, then it is given 0. This simple encoding allows me to encode whole balanced and unbalanced trees in this way: ## ## / \ / / 1 0 or 0 / / / / 10 10 01 00 01 00 for depth trees etc Does anyone have any suggestions as to how to create a recursive function which is this kind of mapping (example For ## 1 11...

iphone - Problem in showing subview as popover -

I want to show the subview of a scene in popover. To expand, I have a main view controller. I run a subview 'Song Listview' in this Main View Controller. I have a button named 'list' in 'mainViewController'. I want to show the song in popup to click on the button 'List'. So, how should I do this? You can use the code below as a reference to show pop over from a UIButton - (zero) Button: (ID) Sender {// Custom popover view UIViewController * popoverContent = [[UIViewController alloc] init]; UIView * popoverView = [[UIView alloc] initWithFrame: CGRectMake (0, 0, 200, 300)]; PopoverView.backgroundColor = [UIColor green color]; PopoverContent.view = popoverView; // popework view resize size by viewing popoverContent.contentSizeForViewInPopover = // CGSizeMake (200, 300); // Create a popover controller self.popoverController [[UIPopoverController alloc] initWithContentViewController: popoverContent]; // Populate shows non-modal views with butt...

c# - LINQ ; Search with culture invariant -

This is my problem. We've got a list of enterprises, users or anything else, and we've got it "Start" With "search type, so on our site, we did not find a text field like search fields, but we have got 27 buttons" # "," A "," B "," C ", [...] A search header with "Z" The problem is that if we click on the 'e' button, the user can click on the query to get the value from the database, ENTREPRISES names together, "a ??", "a ??" Yes, our site is in French, any idea of ​​how to do this in LINQ It is also important to know that we are using LLBLagen Pro. So I think it must be something that it can convert into a valid SQL query. The effort we have made here is: IList & lt; Enterprise & gt; Enterprise; Switch (searchChar) {[...] case 'E':. Enterprises select ourContext.Enterprises where ENT = "EAA © êë in ENT = any (param = & gt; ent.name [0] == Ultimat...

ruby on rails - How do I submit and save a Child form with the Parent as nested fields? -

मान लें कि आपके पास निम्न बाल वर्ग है: बच्चे & LT; एआर संबंधित_तो: मूल समाप्ति जो जनक वर्ग से संबंधित है: माता-पिता & lt; एआर has_many: बच्चों का अंत मैं एक ChildrenController की एक कार्रवाई / दृश्य के भीतर एक फ़ॉर्म बनाना चाहूंगा जो उपयोगकर्ता को एक नया बच्चे और एक नया माता-पिता अगर कोई भी नहीं नियुक्त किया गया है (मैं एक माता-पिता नियंत्रक नहीं चाहता है क्योंकि उसके पास आवेदन की समान प्रासंगिकता नहीं है )। मैंने new.haml.html दृश्य में एक सरल रूप बनाया है: = simple_form @child do | c | C.input: field_for_child c.association: माता पिता के | पी | P.input: field_for_parent नतीजा एक पैरामैश हैश है जो "child" = & gt; {"Field_for_child" = & gt; "मान 1", "अभिभावक" = & gt; {"Field_for_parent: = & gt;" value2 "}} " बाल "और" माता-पिता "को जितनी संभव हो उतनी कम लाइनों में सहेजने के लिए मैं क्या कर सकता हूं? @ child.parent_id = (पराम [[अभिभावक] [: field_...

ssh - debug1: Offering public key: username@hostname -

I am trying to configure my laptop with my old key though still a SSP key is missing. During an SSH-V connection, I still have the key available on my old machine, but not new: ... debug1: offering public key: username @ hostname .. . How do I export this key? Thank you! Someone should use all the available keys in the following top list: ssh-add -l This output is given, it is easy to track the used public / private key pair.

c++ - Is it ok to cast a STL container with Base type to Derived type? -

Is it ok to insert a STL container of a type of derivative type? For example, I have two vectors in the first class of a base class, the second is in the type of derivative class. class base {// code}; Class derivative: public base {// code}; Usage vector & lt; Base * & gt; * Vec_base = new vector & lt; Base *> // vec_base vector & derived * & gt; * Vec_derive = (vector & lieutent;> *) * (vec_base) add some derived type data to vec_base; // Using elements such as irreversible pointers works fine Is this OK? (It works fine, but I wanted to make some comment about it). Thanks a lot. Edit: Updating according to the answer Say if I use that vector carefully, and will not use it with multi-heritage and other than the Deriv type Will not include the objects, so is it okay? (I think it is not so) Thanks a lot for more answers This is definitely not right, and one of the examples of C-style is masking errors, "This works for me...

c# - Compare a string row -

Let's say I have a string that looks like this: string Widththtr = "0086; 0086; 0086; 0086; 0086; 0086; 0086; 0086; 0085;"; And then I'm picking up the first number: firstrollwidth = widthpad left. Substrings (0, 4); I have a question: is it possible to compare data that I found with the row below ( FirstRollWidthStr = WidthPadLeft.Substring (0, 4); ) With the rest? from FirstRollWidthStr = WidthPadLeft.Substring (0, 4); I got: 0086. And the string WidthStr has more numbers, and the final number is 0085, so it is different from 0086, so I want to select the numbers which are different from the first number. var number = width SRT (';'). Select (Double Purses). .Distinct () toArray (); Or if you need a number different from the numbers first (continue the previous code): var otherNumbers = numbers.Skip (1) . (Numbers.Take (1));

iphone - iOS UPnP Server -

I wrote UPnP controller to use Cyber ​​Garage for IOS on Obj-C and now I have the same app I want to add UPnP server for CGUpnpDevice * device = [[CGUpnpDevice alloc] using the same cyber garage library. But I found a problem: Except ControlPoint, no tutorials or good documentation were found. ] InitWithXMLDescription: @ ""]; [Device Set UDN: @ "UUID: 0000d8c8-20a0-00d8-9999-4858001808d8"]; [Device set device type: @ "vase: schema-opnip-ORG: device: media server: 1"]; [Device setFriendlyName: @ "OMG Server by Special"]; [Device Setuserdata: @ "Omji User"]; [Starting equipment]; NSLog (@ "Running:% i", (Boole) [Harrising Device]); It is running: 0 I do not know the correct XML for the constructor and if I use the default constructor [[CGUpnpDevice alloc] Init]; It crashes, is there anyone with a cyber-gauge programming experience? Any idea how to run server? This is probably the purpose of the port (I thin...

android - how to change tab of a tabactivity from an activity started by the tabactivity ? or change current tab -

सार्वजनिक वर्ग एचएमआईटीएबैक्टिवटी टैबएक्टिवटी बढ़ाता है {@ ओवरराइड संरक्षित शून्य को क्रिएट (बंडल से बचाया गया इन्स्टेंसस्टेट) {super.onCreate (savedInstanceState); अंतिम टैबहोस्ट टैबहोस्ट = गेटटैबहोस्ट (); TabHost.addTab (tabHost.newTabSpec ("कार्य") .सेटइंडिकेटर ("कार्य", getResources ()। GetDrawable (R.drawable.program) .setContent (नया आशय (यह, कार्य। वर्ग))); TabHost.addTab (tabHost.newTabSpec ("HMI") .setIndicator ("एचएमआई") .setContent (नया आशय (यह, HMI.class))); TabHost.addTab (tabHost.newTabSpec ("डायग्नोस्टिक्स") .सेटइंडिकेटर ("निदान", getResources ()। GetDrawable (R.drawable.diagnostics) .setContent (नया इंटेंट (यह, डायग्नोस्टिक्स। क्लास))); TabHost.addTab (tabHost.newTabSpec ("के बारे में") .setIndicator ("लगभग") .setContent (नया आशय (यह, कार्य। वर्ग) .addFlags (Intent.FLAG_ACTIVITY_CLEAR_TOP))); // WifiManager wifiManager = (WifiManager) getSystemService (संदर्भ। WIFI_SERVICE); // विधि [] ...

xaml - Silverlight 4 how to detect the screen size and bind to a grid -

I can not get my application to change the screen correctly here My xaml is here & lt; Grid X: Name = "Layouts" background = "white" datacentext = "{binding source = {static resource view model}}" minhite = "473" minwyth = "1200" MaxHyct = "600" MaxWide = "1366" & gt; ; & Lt; I: Interaction.Triggers & gt; & Lt; I: EventTrigger EventName = "SizeChanged" & gt; & Lt; Ei: CallMailAction MethodName = "WndSizeChanged" TargetObject = "{Binding}" /> & Lt; / I: EventTrigger & gt; & Lt; / I: Interaction.Triggers & gt; & Lt; Grid.ColumnDefinitions & gt; & Lt; Column width = "300 *" /> & Lt; Column width = "18 9 *" /> & Lt; Column width = "720 *" /> & Lt; /Grid.ColumnDefinitions> & Lt; Grid.RowDefinitions & gt; & Lt; Roadfinion height = "101 *" /> & Lt;...

assembly - How's RSP decreased here? -

Through debug, I've found that when func is passed to main , (gdb: RSP 8 to 0x7fffffe960 to 0x7fffffffe958 decreases) das assembler code for function function function: 0x0000000000400448 & lt; Function + 0> pushing;% RBP 0x0000000000400449 & lt; Event + 1>: mov% rp,% rbp 0x000000000040044c & lt; Function 4>: mov $ 0x1,% eax 0x0000000000400451 & lt; Func + 9>: leaveq 0x0000000000400452 & lt; Func + 10>: End of the Reticle Endler Dump (Gdb) main dump function of disas assembler code for main: 0x0000000000400453 & lt; 0 & gt; main + push;% RBP 0x0000000000400454 & lt; Main + 1>: mov% rp,% rbp 0x0000000000400457 & lt; Heading 4>: callq 0x400448 & lt; Function & gt; 0x0000000040045c & lt; Main + 9>: mov $ 0x6,% eax 0x0000000000400461 & lt; Main + 14>: leaveq 0x0000000000400462 & lt; Main + 15> retq why calla function will rsp by 8 After the This is because the return ...

php - wordpress - other posts of the same category on post page -

I need to link 5 posts of the same category after the content posted in WordPress. Anyone can help me? Thanks Announce a category before the loop that will create the post category. Query Post with that cat. Here's an example: & lt ;? Php $ cat_id = 0; // declare that var (if_posts ()): while (is_posts ()): // Are you usually $ cat_id = $ post- & gt; Postcards; Endwhile; end if; // Here you will receive the post and the HTML output can be $ last_in_cat = get_posts ('posts_per_page = 5 & amp; cat ='. $ Cat_id); Forex currency ($ last_in_cat as cat_post):? & Gt; & Lt; A href = "& lt ;? php $ cat_post-> guid? & Gt;" & Gt; & Lt ;? Php $ cat_post- & gt; Post_title? & Gt; & Lt; / A & gt; & Lt ;? Php endforeach; ? & Gt;

Oracle runtime of comparing numbers versus comparing strings using a LIKE operator -

My company's database contains 20 different string formats for their primary product labels. All 20 of them are stored in a separate look-up table 1 wire starting with 'w' starting with "TIC" There are strings starting with 3 'D' ... The label type is the 'type' attribute next to the attribute, which stores the number associated with the label corresponding to the prefix is. / P> I have been tasked with updating one of our modules for better runtime. In one of the questions I have run, one of the 'Tiac' labels in the form of the prefix is ​​one. However, instead of comparing it, that type is equal to number 2, it checks for a type of operation for each label that starts with TAIC. Now, my question is - Since my goal is to move better, should it be wise to perform a regular equality operation against the type character from such operators? It seems that running a regular expression-ish operation against a string takes a littl...

Using JAXB with Google Android -

I need to parse the Java-object which is passed through XML I have used JACB I want to use the framework, because I have been pre-annotated (using jaxb) java-class Is it possible in theory? InputStream input = entity.getContent (); JAXBContext Jesse = JAXBContext.newInstance (new class [] {Response.LoginResponse.class}); Unmarshaller un = jc.createUnmarshaller (); Login Response Response = (Login) un.unmarshal (input); In line 4, I have a warning: "Unable to resolve static method 282 JAXBContext ..." and then VM crashes Any problem about how to solve it? I am not solving your problem at all, but JAXB is not included in Android by default And the library will cost you 9 (!) MBK APK. Try instead its similar abilities are more lightweight.

jQuery: Any better way to write this? Multiple each() loops -

var वर्तमानतमतम = 0; यदि ($ जम्मू ("। प्रत्येक लाइटडेल") मौजूद है ()) {$ j (this)। बच्चे ()। ("परिणाम परिणाम")। प्रत्येक (फ़ंक्शन (i) {if ($ j (this)। () & Gt; वर्तमानतमतम) {currentTallest = $ j (यह) .height ();}}); $ J (this)। बच्चे ()। ("परिणाम परिणाम")। प्रत्येक (फ़ंक्शन (i) {if (! $ J.support.minHeight) {$ j (this) .css ({'height': currentTallest + 5});} $ j (this) .css ({'min-height': वर्तमानटेलास्ट});}); } अपडेट: सभी रचनात्मक टिप्पणियों को ध्यान में लेने के बाद, मैं निम्नलिखित के साथ आया हूं जो वांछित के रूप में काम करता है: $ j Fn.equalHeights = function (px) {$ j (this) .each (function () {var currentTallest = 0; var परिणाम; यदि ($ j ("। प्रत्येक लेतेडियल")। लंबाई) {परिणाम = $ j (" परिणाम, पता "," .eachLateDeal ");} अन्य {परिणाम = $ जे (यह)। बच्चे ();} $ जे.ईच (परिणाम, कार्य () (यदि ($ j (यह)। हल्का () & gt; वर्तमान न्यूनतम ) {CurrentTallest = $ j (this) .height ();}}); var cssProp = ...

SaaS / Multi-Tenancy approaches for Java-based (GWT, Spring, Hibernate) web applications -

I am currently trying to convert a single tenant Java based web-app that is in Spring, GWT, Hibernation Being, Jacobabit, uses Hibernate Search / Lucene (among others) in a fully developed SaaS style app. I stumbled across an article that highlighted the following 7 things "", as important changes to make a tenant app mother-in-law: AP Multi -Application should be done to assist the application. The app should have some level of self-service sign-ups. The application must be capable of scaling efficiently. There should be work to monitor, configure and manage applications and tenants. There should be a mechanism to support unique user identity and authentication. For every tenant there should be a mechanism to support certain levels of adaptation. Anybody near my question have anybody installed any of the above 7 in the Saas / Multi-tenant app using the techniques I have listed? As a start, I am pretty sure that I have a good handle on how I can do b...